namingthingsiseasy

joined 2 years ago
[–] [email protected] 30 points 9 hours ago (1 children)

There may still be lawsuits, however. There are still many ways that he could lose a lot of what he gained.

[–] [email protected] 4 points 1 day ago

Why just 90%? Make it 99%! 100%! 150%!

[–] [email protected] 15 points 1 day 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] 10 points 1 week ago

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

[–] [email protected] 4 points 1 month 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 1 month ago

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

[–] [email protected] 3 points 1 month 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.

[–] [email protected] 17 points 1 month ago (1 children)

If you ever feel useless, don't forget that both true and false have manpages in Linux.

They even have --help and --version flags in case you need them.

[–] [email protected] 10 points 1 month ago

Looks like some people just don't learn from history.

I remember reading a blog post about how the Dutch kept meticulous records on citizens in the 1930s, including things like which synagogues people attended. Needless to say, that information became very interesting and useful to the visitors that arrived later in that decade. When comparing occupied countries during the Holocaust, the Netherlands probably was the country where the Nazis were the most successful in rounding up victims.

I can't find the exact blog post where I read this - I'm pretty sure it was on tutanota's blog, but I can't find it at the moment. Wikipedia however does include this line:

Several factors contributed to The Netherlands' higher death toll compared to other occupied countries. The governmental apparatus was left relatively intact after the royal family and government fled to London, and The Netherlands was not under a military regime. It was the most densely inhabited country of Western Europe, making it difficult for the relatively large number of Jews to go into hiding. Most Jews in Amsterdam were poor, which limited their options for fleeing or hiding. The country did not have much open space or forest for people to flee to. Also, the civil administration had detailed records of the numbers of Jews, and their addresses.

And now, they're making the same mistake again it seems.

[–] [email protected] 3 points 1 month ago

First, we'll take away the headphone jack.

Then, we'll remove everything else!

[–] [email protected] 9 points 1 month ago (1 children)

My understanding from what you're writing (and from this article) is that the phone number is really the account number. That's all well and fine, but then they force you to verify that the number is yours (or at the very least, one that you have access to because you need to receive a confirmation over SMS), so you can't use something more private. And sure, it makes it a little harder to find your new contact, but I don't think it's really that big of a deal - just exchange your other "account number" via some other channel.

Besides, don't think for a second that when this identifying information inevitably falls into the wrong hands that it will benefit you in any way. "What are you hiding, citizen?" and all that bullshit.

The part of it that bothers me is the sense of entitlement that these companies exhibit. The "Give us your phone number or fuck off" sentiment is something I just refuse to accept. If Google forces us to do the same and we refuse, what makes Signal think that we'll do it for them when they're so much smaller by comparison? Especially when you're trying to claim you're more secure and private to people that much more tech savvy than average, this just comes off as not understanding your audience very well. I'm sure I'm not the only one that is holding out against using Signal because of this.

[–] [email protected] 19 points 1 month ago (9 children)

I'm surprised this hasn't been said yet... but what I hate most about Signal is its requirement for a phone number. I don't want to be identified, and I want to be able to create multiple separate accounts with different identities if I want to.

I also hate the fact that it's a mobile-first service. Yes, there is a desktop application (and just one really crappy one at that), but it's clearly designed to revolve first and foremost around your phone and be virtually impossible to use without one. As someone who hates writing on a 3-inch screen, this is a also non-starter for me.

I understand the arguments about perfectionism, but this is too much. I'll stick with XMPP, Matrix and IRC, thanks.

 

"Wherever I go, I find myself confronted with the accusations of double standards," said EU foreign policy chief Josep Borrell at Oxford University in May. At last year's Munich Security Conference (MSC), French President Emmanuel Macron said: "I am struck by how much we are losing the trust of the Global South."

Eisentraut makes this clear in her brief: The criticism of Western double standards is often justified. For example, countries from the Global South point out that the US and other Western states insist on the principle of the territorial integrity in Ukraine, but did not respect this principle during the US-led invasion of Iraq in 2003. Western states have often disregarded human rights by carrying out illegal detentions as part of their war on terror. And the Europeans have made common cause with North African autocrats in order to prevent migration to Europe.

However, Eisentraut also points out that critics from countries such as China and Russia often use their accusations to relativize their own violations. Or they use them to justify an approach to foreign policy that is no longer based on moral principles at all, but only on their own interests. The result is that the value of universal rules is being questioned around the world.

 

A great introduction to what traces and spans are, how they work, and the OpenTelemetry Protocol

 

“We seem to have lost our belief in a market economy somewhat and our trust that letting go can lead to something great,” he said. “The government does not have to subsidise and compensate for everything. People flourish in freedom, as does innovation. And that is what we need to drive up productivity.”

Separate article with more details on the proposed budget.

 

The researchers found sweeping changes in overall brain neuroanatomy which unfolded week by week during the pregnancy.

Inside Chrastil's brain, grey matter volume, cortical thickness, white matter microstructure, and ventricle volume all changed.

The changes were all over the brain too — "over 80% of my brain regions showed reductions in grey matter volume," Chrastil said.

Neuroanatomical changes observed over the course of a human pregnancy. Published by Pritschet, L., Taylor, C.M., Cossio, D. et al. in Nature Neuroscience (September 2024). https://doi.org/10.1038/s41593-024-01741-0

1
submitted 8 months ago* (last edited 8 months ago) by [email protected] to c/[email protected]
 

I'm getting IP-banned using yt-dlp. It seems that this is a known issue. Have any of you run into this, and if so, what has been your solution?

I currently use a VPN via a VPS. I am able to view youtube via the web client and use youtube-dl without VPN, but I am only unable to get through using the CLI on the VPN. I have also tried fiddling with some CLI args (like --extractor-args "youtube:player_client=web") but that is also unsuccessful.

My next step is to try signing up for mullvad to see if I can get around it that way, but would like to hear if this is affecting existing mullvad users.

Open to hearing other solutions as well. Thanks!

 

This is a very easy-to-read book on the implementation of xv6, which is a basic unix-like operating system written for educational purposes. xv6 itself is a very simple and straightforward kernel and the source code can be found here.

I've been reading it casually over the past few weeks and found that it helped me get a better understanding of many basic operating system concepts. I've also enjoyed reading the source code to understand what a basic implementation of common system calls could look like.

152
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I've used a US-QWERTY keyboard layout my entire life. I've seen other layouts that do things like reduce the size of the enter/backspace keys, move the pipe operator (|) and can't wrap my head around how I would code on those.

What are your experiences? Are there any layouts that you prefer for coding over US English? Are there any symbols that you have a hard time reaching ($ for example)?

view more: next ›