namingthingsiseasy

joined 1 year ago
[–] namingthingsiseasy@programming.dev 4 points 6 days 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 28 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, 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 1 week ago* (last edited 1 week 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 1 week 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.

 

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

 

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'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 ›