namingthingsiseasy

joined 1 year ago
[–] namingthingsiseasy@programming.dev 4 points 1 week ago (1 children)

The difference is how you interact with the browser engine. Blink is very easy to embed into a new browser project. I've seen it done - if you're familiar with the tools, you can build a whole new browser built around the Blink engine in a few hours. You can write pretty much whatever you want around it and it doesn't really change how you interact with the engine, which also makes updates very simple to do.

With Firefox, it's practically impossible to build a new browser around Gecko. The "forks" that you see are mostly just reskins that change a few settings here and there. They still follow upstream Firefox very closely and cannot diverge too much from it because it would be a huge maintenance burden.

Pale Moon and Waterfox are closer to forks of Firefox than Librewolf for example, but they've had to maintain the engine themselves and keep up with standards and from what I've read, they're struggling pretty hard to do so. Not a problem that Blink-based browsers have to deal with because it's pretty easy and straightforward to update and embed the engine without having to rewrite your whole browser.

Unfortunately, since Google controls the engine, this means that they can control the extensions that are allowed to plug into it. If you don't have the hooks to properly support an extension (ie. ublock), then you can't really implement it... unless you want to take on the burden of maintaining that forked engine again.

That said, Webkit is still open source and developed actively (to the best of my knowledge - I could be completely wrong here). Why don't forks build around Webkit instead of Blink? Not really sure to be honest.

[–] namingthingsiseasy@programming.dev 7 points 1 week ago* (last edited 1 week ago) (4 children)

I chuckled a bit while reading this, because what you wrote is exactly where Blink came from. It was a fork of webkit, which in turn was derived from KHTML. Then again, the fact KHTML was discontinued does support your point to an extent too, I guess.

But the point is, Chrome is doing exactly this - providing the engine free as in beer and letting people embed it however they like. And yet, what you're predicting, ie. not using the original but just using forks instead, doesn't seem to be happening with Chrome - they still enjoy a massive fraction of the market share. There's no reason to believe that this couldn't happen at Mozilla as well. People usually want the original product, and it's only a small fraction of people that are really interested in using the derivatives.

[–] namingthingsiseasy@programming.dev 5 points 1 week ago (1 children)

I actually agree (more or less) with everything you're saying. But the problem is, I don't think it really matters to anyone. I think there's still one point that people still don't seem to be understanding:

Inflation and economic issues trump (pun not intended) all of the things you listed. We have to eat every day. And when you're living on the edge, every meal, every time you eat, you're constantly reminded of how precarious your life is. All the things you mentioned are great, but frankly they don't matter when you're just worried about whether you're still going to be able to afford food at the end of the week.

Revolutions are not started by people who don't have healthcare or education, or any of those other abstract things that may affect them in the future. They come from people who are hungry. And stressed. Stress and hunger really start eating your brain after a while, and people experiencing that start doing very nasty, desperate things like resorting to the kinds of demagoguery that the far-right is pushing. And this is what I mean when I say nothing is getting better under liberals - more and more people are falling into the cracks day by day, and if you don't address this, then none of the other things don't matter. Yes, in theory, all the economic policies that liberals propose should help with that, but if the effect is not immediate, then it's not happening fast enough and people will continue to revolt.

I really think people who keep bringing up how this will ultimately hurt their voters need to understand this better. They're not wrong, but I do think they're missing the point. The standard of living in the west has been declining for a long time as I alluded above, and that's why people are starting to do desperate things - because they've run out of patience and have seen the status quo for long enough, they'll take any alternative and have no choice left but to overlook all of the criminal things these despots say and do. Maybe they do care about all those criminal things, or maybe they don't, but what really matters is that they want drastic action to take place. They don't want policies - they want results and they want it fast.

And I don't think liberals understand or care to understand this. That's what I mean when I say that liberals are making things worse. Until you stop the tide of more and more people falling behind economically, none of the things you pointed out are ever going to matter to people. You're not going to win elections that way - even against the likes of Donald Trump.

[–] namingthingsiseasy@programming.dev 27 points 1 week ago (1 children)

Ironically, the anti monopoly lawsuit against Google will end this.

People are quick to assume this, and there's a very good chance that they're right, but I don't think we should take it as a given. It's always possible that there could be some sort of court decision that allows Google to keep funding Mozilla after the "breakup" is complete.

In any case, we don't yet know what the outcome of the antitrust case will be, so I think it might be best to avoid making statements of certainty like this until we see how things really shake out.

We should definitely take the possibility of this happening very seriously though.

[–] namingthingsiseasy@programming.dev 20 points 1 week ago* (last edited 1 week ago) (8 children)

You're right about the fact that building an engine is hard, but Socraticly speaking, then why are there so many blink-based browsers and so few gecko-based ones? The answer is because blink is easy to embed in a new project and gecko isn't.

If Mozilla really wants to take back the web (and I honestly don't think they actually do), then what they should really be doing is making gecko as easy to embed in a new browser as blink is. They don't do this, and I suspect that they have ulterior motives for doing so, but if they did, I think we would be much closer to breaking chrome's grasp on the web.

Because let's face it: Mozilla makes a pretty damn good browser engine. But they don't really make a compelling browser based off it. Ever noticed how Mozilla has been declining ever since they deprecated XPCOM extensions? It's because when they provided XPCOM, it enabled users to actually build cool and interesting new features. And now that they've taken it away, all innovation in browser development has stagnated (save for the madlads making Vivaldi).

They need to empower others to build the browser that they can't. That's what would really resurrect the glory days of Firefox in my opinion.

Of all the things they learned from this election, it's how to make excuses when they lose. Somehow, my opinion of the Liberal party continues to sink even lower. I didn't even think that was possible...

[–] namingthingsiseasy@programming.dev 7 points 1 week ago (4 children)

A lot has been said about how shocking and awful the results are, and I do agree with them. I definitely do not condone any of the far-right parties, their representatives, or their policies.

But what hasn't been said (and might be a bit controversial) is the fact that liberal parties are the biggest problem that the world is facing right now. It's the parties that pretend to be an opposition force, but in reality they just keep shitting on voters, making broken promises, and saying "it'll be better next time, just one more term!" They keep trying to convince people that the system works and that iterative changes will make things better. But in reality, things have actually been getting worse for 10, 15, maybe even 20 years... (the exact number depends on where you live and what you do for a living).

After a while, people stop believing in those broken promises. And the longer they refuse to put up any real opposition, the more and more they empower the far right.

In Canada, Trudeau needs to implement proportional representation NOW. If he doesn't want to do that, he might as well just come out and endorse Poilievre, because he damn well knows what will happen if he doesn't give people a real alternative (even he can't pretend it's any other way at this point). And no, ranked choice voting is not the answer here.

In the US, I have to be honest: it's not a country anymore. It's several countries, all jammed into one, and half of whom hate each other with no limit. And to be honest, this is how it's supposed to work!!! This is how the constitution is framed! Federal government is supposed to be weak and state governments are supposed to fill that void, but the States refuse to actually work that way and keep looking to control a Federal government in a way that they'll never be able to.

The USA really ought to break into constituent countries. The West Coast is a country. The Northeast is at least one country, maybe 3-4. And you can slice up the red states however you like - I honestly don't care. Maybe this way, they can finally actually get shit done in a way that starts making people happy, because there's far too much animosity between different and disparate parts of the "country" in its current form. It's definitely not going to come from the Federal government.

I know that none of these things are going to happen, so things will just continue getting worse and worse over the next decade or two. Fair warning to everyone: we're not even close to rock bottom yet.

[–] namingthingsiseasy@programming.dev 6 points 1 week ago (2 children)

You're doing amazing work here. Not enough people are trying to make an effort to understand far right voters. You don't have to agree with the policies, but you do still have to make an effort to understand why they appeal to people and makes them want to vote that way.

Liberal parties (Democrats, LPC, etc.) have been ignoring this for far too long and in my opinion, that's why they keep losing. They lose and blame the voters for not seeing the world the way they do, but they don't have any understanding or perspective of what the world looks like through the eyes of these voters. That's why they don't have any appeal and things are just going to continue getting worse as long as they continue ignoring the real issues that affects voters.

(Unless a real alternative party emerges, I suppose....)

[–] namingthingsiseasy@programming.dev 3 points 2 weeks ago* (last edited 2 weeks ago) (6 children)

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.

[–] namingthingsiseasy@programming.dev 1 points 2 weeks ago (1 children)

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.

 

"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

 

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.

 

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 ›