• 9 Posts
  • 252 Comments
Joined 2 years ago
cake
Cake day: September 7th, 2023

help-circle












  • Vim when I can, and when I can’t, Neovim with plugins (LazyVim). Both are fast. I have had troubles with Neovim and configuration, and it does some things that really annoy me (like autoclosing parentheses - it just messes up everything). Honestly, the only feature that I really need is Go To Definition.

    But vim - I absolutely love it. I started using it nearly 20 years ago and it still does everything one could want if you’re willing to learn the keymaps and commands. Macros, ci), block indentation and so on. It’s even great for editing XML. If the codebases I’m working on these days weren’t so large and complicated, I would still be using it with very little configuration in my .vimrc.





  • I’ve never had the chance to use a functional language in my work, but I have tried to use principles like these.

    Once I had a particularly badly written Python codebase. It had all kinds of duplicated logic and data all over the place. I was asked to add an algorithm to it. So I just found the point where my algorithm had to go, figured out what input data I needed and what output data I had to return, and then wrote all the algorithm’s logic in one clean, side effect-free module. All the complicated processing and logic was performed internally without side effects, and it did not have to interact at all with the larger codebase as a whole. It made understanding what I had to do much easier and relieved the burden of having to know what was going on outside.

    These are the things functional languages teach you to do: to define boundaries, and do sane things inside those boundaries. Everything else that’s going on outside is someone else’s problem.

    I’m not saying that functional programming is the only way you can learn something like this, but what made it click for me is understanding how Haskell provides the IO monad, but recommends that you keep that functionality at as high of a level as possible while keeping the lower level internals pure and functional.





  • Right, but I don’t think it’s explicitly clear - today, the US is dominant in movies for example. Supporting alternative industries could start to chip away at that dominance, and if a day comes when nobody outside the USA cares about their movies anymore because they have their own industries, that would do a lot more damage.

    I think we’re in agreement, but I just want to point it out in case anyone missed that point. By promoting alternatives, getting to the point where nobody cares about US media anymore is really the ultimate goal if you’re trying to do maximum damage.

    (And to be honest, American movies are really not that good. They’re very formulaic and predictable. That’s why I wouldn’t bother watching them, even if I wanted to download them for free.)


  • Don’t forget that the EU Commission funded a report to document the impact of file sharing and then buried it when they found out that it was actually beneficial to the creators. So if you want to engage in file sharing, you’re actually helping them.

    Do what you will with that information. If you really want to boycott, then boycott the content altogether. If you can’t hold back, then download them, but you’re helping them out anyway by doing that.

    The best thing you can do is support your local art scene and find better alternatives.


  • I’m not sure I agree with that. Before suggesting someone wield that kind of power, consider how you’d feel about it if the opposition parties did that too.

    At this point, I think the USA is better off just reforming its constitution. And possibly splitting the union into 5-10 separate smaller countries. The country is clearly not an effective union anymore, and to be honest, hasn’t been for a very long time. This isn’t the first time there’s been a north-south divide and it certainly won’t be the last, so why prolong the suffering? Just break it up and be done with it. Everyone will probably be much happier that way.