namingthingsiseasy

joined 2 years ago
[–] [email protected] 2 points 3 months ago

It's also important to note that Putin intentionally keeps all other leaders in Russia as weak as possible to maintain his iron grip. Unless he has a very good succession plan, things could become quite a clusterfuck before the dust settles.

[–] [email protected] 16 points 3 months ago

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.

[–] [email protected] 15 points 3 months ago (2 children)

In my opinion, it's most important for kids to learn to use these tools above all. Schools need to take the charge on using products like these instead of corporate offerings. Once that takes place, I think (hope) the floodgates will open and that we'll finally start breaking free of the shackles of these kinds of corporate software.

[–] [email protected] 2 points 3 months ago (1 children)

Sad to see that Ecosia and Qwant don't seem to work without Javascript. I'll stick with DDG, and may consider using Mojeek more in the future. The fact that DDG doesn't have its own index does bother me a bit.

[–] [email protected] 5 points 3 months ago* (last edited 3 months ago)

It's a review of the Tuxedo Computers Infinity Book Pro 14 (Gen 9), for those who didn't want to click the link to find out.

https://www.tuxedocomputers.com/en/TUXEDO-InfinityBook-Pro-14-Gen9-Infinitely-portable-and-still-lightning-fast.tuxedo

[–] [email protected] 10 points 3 months ago

Sounds like a great deal... TORILLE!!!

[–] [email protected] 6 points 3 months ago

Agreed, but on the other hand, maybe this could push them to be better involved in the collective defense of Europe, not just for new arms but older ones as well. The more countries that contribute to Europe's collective defense, the better.

[–] [email protected] 6 points 4 months ago* (last edited 4 months ago)

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.)

[–] [email protected] 17 points 4 months ago (2 children)

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.

[–] [email protected] -2 points 4 months ago (2 children)

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.

[–] [email protected] 13 points 4 months ago

If they all weren't a bunch of cowards, they would have stood up to him already.

[–] [email protected] 3 points 4 months ago

What kind of programming work are you doing?

I've thought about situations like yours and what I would do if I were in that situation someday. For me, the plan is to try doing as much in the console as possible, which means Vim/Neovim for development and Tmux for window management.

view more: ‹ prev next ›