• 1 Post
  • 386 Comments
Joined 2 years ago
cake
Cake day: September 24th, 2023

help-circle



  • Nah AI can be extremely useful for learning technologies. You just need to be careful to verify they aren’t bullshitting you.

    For example find an explanation of PPM compression that is concrete and simple. As far as I can tell it doesn’t exist.

    But I could ask ChatGPT and it told me how it works (probably) in just a few seconds. I haven’t verified yet (at a BBQ) whether it is the correct algorithm but it’s certainly a plausible one that would work.

    It told me that you use a trie (typically) of symbol prefixes to record the probability of the following symbols, so for example you know that for the prefix “Th” the probability of “e” is 90%. Then you encode the symbol with arithmetic coding using the modelled probabilities. Apparently the typical max context length is 4-6.

    That would have taken me hours to find by reading code and ancient papers but I can verify it a lot quicker.






  • Not the case. There are binary components.

    It doesn’t matter though because the Clangd & CodeLLDB extensions completely replace it and are actually waaaaaaay better.

    With Microsoft’s C++ extension it always rinsed the CPU - there were files I had to avoid opening because then it would analyse them and I’d have to kill it. The code intelligence also seemed very “heuristic” and was quite slow.

    Clangd fixes all of that. It’s fast, doesn’t choke on huge files, and if you have compile_commands.json it’s actually the first properly fast and robust C++ IDE I’ve ever used. You know if you’ve used a Java IDE the code intelligence just works and is fast and reliable. It’s like that.




  • Pretty dumb not to use a forge. Adds a huge barrier to contribution for little benefit. None of the reasons he gives make sense.

    Maybe a good option for projects that you don’t want anyone else to contribute to, but then why make them open source in the first place?

    Not using GitHub because it’s proprietary is an especially illogical stance. Virtually all websites are proprietary.








  • No not in the same way Tony Stark did. But Tony Stark is imaginary. Obviously nobody can build an electric car or a rocket in the same way that Tony Stark does.

    Of all the criticisms of Musk this is the weakest. There are many way more valid ones… for instance:

    • He’s an arsehole.
    • He straight up called that diver a paedo, and even paid a scammer to investigate him.
    • The scummy lottery thing for votes for Trump. I don’t care if it ends up being technically legal, it’s clearly immoral.
    • Selling the promise of FSD for hard cash when it clearly is never going to happen as he claimed. I still don’t know why there’s been no class action suit over that.
    • Backing proper insane far right groups in Europe. These people are worse than Trump. I wouldn’t say he is backing neonazis, but he’s certainly in the vicinity.

    Despite all that he clearly has a pretty good handle on engineering and is definitely involved. He’s not just a figurehead.

    I know right, people are multidimensional. You can downvote if that blows your mind.


  • Be thankful we got Javascript. We might have had TCL! 😱

    Interesting footnote: the founding of Netscape occurred at the same time I was deciding where to go in industry when I left Berkeley in 1994. Jim Clarke and Marc Andreessen approached me about the possibility of my joining Netscape as a founder, but I eventually decided against it (they hadn’t yet decided to do Web stuff when I talked with them). This is one of the biggest “what if” moments of my career. If I had gone to Netscape, I think there’s a good chance that Tcl would have become the browser language instead of JavaScript and the world would be a different place! However, in retrospect I’m not sure that Tcl would actually be a better language for the Web than JavaScript, so maybe the right thing happened.

    Definitely dodged a bullet there. Although on the other hand if it had been TCL there’s pretty much zero chance people would have tolerated it like they have with Javascript so it might have been replaced with something better than both. Who knows…