Rust dev, I enjoy reading and playing games, I also usually like to spend time with friends.

You can reach me on mastodon @sukhmel@mastodon.online or telegram @sukhmel@tg

  • 0 Posts
  • 239 Comments
Joined 3 years ago
cake
Cake day: July 3rd, 2023

help-circle


  • I don’t think mutability is wrong as a concept, albeit I enjoyed learning and toying with Haskell, but I really think these functions in Python should have been two sets of operations, one set to do what a += b does and one set to do what a = a + b does.

    I’ve been doing C++ for quite some time and amount of implicit things that happen magically and not everyone get them right and this leads to bugs and confusion had really grown on me with time, and I feel like this is the same pattern here, where we get implicit magic instead of being clear with intentions and results








  • That’s nice, albeit I want to point out for anyone wondering that this is only conjectured and not guaranteed:

    One of the properties that π is conjectured to have is that it is normal, which is to say that its digits are all distributed evenly, with the implication that it is a disjunctive sequence, meaning that all possible finite sequences of digits will be present somewhere in it.

    There is no guarantee for any specific sequence to appear in π, but for short chunks chances are better (it’s not really a probability, but it’s simpler to say and I can’t explain in details anyway). That’s because (from wiki):

    It is widely believed that the (computable) numbers √2, π, and e are normal, but a proof remains elusive.











  • To be fair, this is what bothers me more than the supposedly non-existent benefits, because I’ve seen LLMs being useful as tools, but the impact on environment is not clearly communicated (I’d wager it’s because no one wants to admit that it’s enormous). For that reason I’m trying to use local LLM instead, and it is more limited in usefulness but that’s fine by me as it’s not the only tool I have