• 0 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: January 25th, 2024

help-circle




  • And who says AI means neural network? That’s what we use, doesn’t mean that’s the only AI possible to write. There are a lot of different models, neural network is popular right now because it can learn from data without anyone having to teach it actual logic. An AI written by fictional character can be a deterministic kind with very similar logic to humans that you can inspect and write and give weights to things.


  • Yeah but the people who made it like that probably understand whether to trust it to write code or not. The AI Tony wrote, he knows what it does best and he trusts it to write his code. Just because it’s AI doesn’t mean it’s LLM. Like I trust the errors compilers give me even if I didn’t write them because it’s good. And I trust my scripts to do things that I wrote them for, specifically since I tested them. Same with the AI you yourself made, you’d test it, and you’d know the design principles.



  • I use emacs, and it can change font size and font face similar to the font color during syntax highlights. Like in markdown or LaTeX headings are larger font, math formula have their system where superscript and subscript have higher/lower baseline. In org mode it can even convert the whole latex snippet into formula and display as image, or show inline images. And in rust it has type hints and other information overlayed along side the code you wrote, it even adds little buttons on tests you can click to run them.

    So I think what you want can probably be made easily if you have a solid grasp of what you want. Emacs is basically extensible using a programming language (elisp) so technically there’s nothing you can’t do logic wise, there might be some limitations on displaying things though.





  • Yup. I made a scientific analysis program. Using CLI and your own editors you can do so much. And instead of focusing on making the algorithms, I had to focus on making a GUI for months because people need things to click.

    And then even with very responsive and easy GUI, with like just 5 types of “views” and probably like <5 buttons/inputs each, people are like “it seems complicated” within like 1 minutes of demo. They haven’t even tried to use it or tried to learn anything. I even modeled the views to be as similar to another software they use.

    I feel like people just don’t like computers.




  • You said you can type in markdown, convert it to PDF with pandoc and you like the results.

    Now all you need is an editor that can open two file side by side (anything works here, I use emacs), and needs to auto reload PDF on file change. And a tool that can run your configured command each time markdown file changes (I have my own program for this, but it’s a simple bash script as well if you want to write).

    Now with those two all you do is write in markdown and every time you save it the command will run, get the pdf and it’ll reload the pdf. Even if you don’t have the same program to open text and PDF you can just use two with split screen.


  • thevoidzero@lemmy.worldtolinuxmemes@lemmy.worldWindows VS Linux (part 2)
    link
    fedilink
    arrow-up
    2
    arrow-down
    5
    ·
    edit-2
    7 months ago

    A simple analogy is, would you rather have keyboard with a-z and symbols you can use to build words/sentences, or would you want a wordlist you can scroll and click, while expanding words in groups, and having to find non-frequent words with a lot of difficulty to make up sentences.

    Command line use is harder if you come from gui. But the main use case of command line are:

    • automation: anything you can do in a command line, can be copied in a script,
    • uniformity: every software now has almost the same format of use,
    • flexibility: gui almost always has less options than command line, and many times options are hidden within a lot of tabs and options.
    • Auto complete: whenever someone complains about terminal being hard to use and spelling mistakes I think about this. I think many people that come from GUI don’t know about auto-completion on terminal. It’s easy to see which options are available, easy to choose files, wildcards for multiple files, and all that
    • piping: command line allows you to chain one command with another. You have a command to list all your music files, chain that with a search command to search files within them. Now if you need to search in a python code, you use the same search command, just different command to read the file. You basically have lego blocks (old ones) that can be used to make anything.

    I can understand people being afraid of command line when they start, but I think many people come with biases and don’t use good terminal and other tools to make things easier.





  • I thought the most mode sane and modern language use the unicode block identification to determine something can be used in valid identifier or not. Like all the ‘numeric’ unicode characters can’t be at the beginning of identifier similar to how it can’t have ‘3var’.

    So once your programming language supports unicode, it automatically will support any unicode language that has those particular blocks.