[-] namingthingsiseasy@programming.dev 2 points 1 day ago* (last edited 1 day ago)

What is so bad about virtual environments? I found them to be really nice and useful when I developed in Python over about 5-ish years. It was really nice being able to have separate clean environments for installing libraries and executing things.

Granted, I only used Python as a solo developer, so if there are shortcomings that emerge when working with other developers, then I would not be aware of them....

Edit: also, performance is a bit more of a subtle topic. For numerical logic, Python actually is (probably) much better than a lot of its competitors thanks to numpy and numexpr. For conditional logic, I would agree that it's not the best, but when you consider developer velocity, it's a clearly worthwhile tradeoff since frameworks like Django are so popular.

True, but if you're looking at a Python library that doesn't have type hints in 2024, then chances are that it's not very good and/or not very well maintained.

Website redesigns. Just more whitespace all over the place, less information on the screen, and more trouble trying to get anything done.

Github is especially bad about this. I'm so tired of only being able to fit about 50 lines of code on the screen at a time, or issues with a similar lack of information density. I can understand this paradigm for websites that you only use once every year or so, but for something that most people use regularly every day, it's such a backwards anti-productivity trend. I hate it... hope it dies someday.

The comic states that Firefox is a crown jewel of open source, not the crown jewel.

That said, I agree that if I had to pick only one, it would definitely be Linux over Firefox.

77
submitted 1 month ago* (last edited 1 month ago) by namingthingsiseasy@programming.dev to c/world@lemmy.world

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

18

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

18

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

182

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

8
submitted 3 months ago* (last edited 3 months ago) by namingthingsiseasy@programming.dev to c/privacy@programming.dev

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!

Don't worry everyone, I'm here to help:

Mail

Garbage

Outlook

Hot Garbage

Outlook (new)

Shit-tier garbage

Glad to be of service! Until next time....

42

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.

[-] namingthingsiseasy@programming.dev 304 points 5 months ago

Your Steam games will go to the grave with you

Great, then I'll finally have some time to play them....

The best part of all of this is that now Pichai is going to really feel the heat of all of his layoffs and other anti-worker policies. Google was once a respected company and place where people wanted to work. Now they're just some generic employer with no real lure to bring people in. It worked fine when all he had to do was increase the prices on all their current offerings and stuff more ads, but when it comes to actual product development, they are hopelessly adrift that it's pretty hilarious watching them flail.

You can really see that consulting background of his doing its work. It's actually kinda poetic because now he'll get a chance to see what actually happens to companies that do business with McKinsey.

Sounds to me like these tech workers could really use a good union to protect them.....

All your points are sound. The issue that I have with this is that remote disable functionality is not necessary to achieve any of these aims. Before they were connected to the internet, people were still able to rent/lease autos and the world managed to survive just fine. There were other ways for lenders to get remunerated for breaking lease terms - they could issue an additional charge, get a court order for repossession, etc. Remote disable was never needed or warranted.

So let's start by considering the due process here. Before, there was some sort of process involved in the repossession act. With remote disable however, the lender can act as judge, jury and executioner so to speak - that party can unilaterally disable the device with no oversight. And if the lender is in the wrong, there is likely no recourse. Another potential issue here is that the lender can change the terms at any time - it can arbitrarily decide that it doesn't like what you're doing with the device, decide you're in breach, and hit that remote kill switch. A lot of these things could technically happen before too, but the barriers have been dramatically lowered now.

On top of this, there are great privacy concerns as well. What kinds of additional information does the lender have? What right do they have to things like our location, our habits, when we use it, and all of the other personal details that they can infer from programs like this?

There are probably lots of other issues here, but another part of the problem is that we can't even start to imagine what kinds of nefarious behaviors they can execute with this new information and power. We are well into the age where our devices are becoming our enemies instead of our advocates. I shudder to think what the world would look like 20 years from now if this kind of behavior isn't stopped.

Despite that success, and the App Store’s role in making it possible, Spotify pays Apple nothing.

That's because Spotify doesn't owe you anything. If I release a piece of software for Apple, Android, Linux, Windows, etc., I don't owe these OSes anything for that. Apple makes plenty of money selling hardware, that's good enough for them.

These delusional bastards really need a few slaps around their heads to get this concept to sink in.

17
133
submitted 9 months ago* (last edited 9 months ago) by namingthingsiseasy@programming.dev to c/programming@programming.dev

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

[-] namingthingsiseasy@programming.dev 122 points 10 months ago

However bad they may make it, it can't possibly be worse than it is for non-adblock users.

But hey, if they want to torpedo their own services, have at it. It's not like they have a reputation for it or anything....

[-] namingthingsiseasy@programming.dev 71 points 1 year ago* (last edited 1 year ago)

If the infrastructure can't handle it, then upgrade the fucking infrastructure! Politicians will fall at voters' feet to build new roads, highways, etc., but when it comes to the green energy transition, there's no problem too minuscule to be ignored!

I'll happily admit that there are going to be many issues in the green energy transition; we should acknowledge them, but we should also strive to address them, rather than throwing our hands up in the air and idly promulgating the status quo.

view more: next ›

namingthingsiseasy

joined 1 year ago