Better HN
topnewbestaskshowjobs
Log inSign up

shevy-java

2,067 karma · joined Mar 7, 2023 (3y ago) · 2,930 submissions

Submissions

comment 1y ago · link · parent

> I think there is probably a lot of work to do to fully pry the .mozilla folder apart.

So, things change over time. The question is: is the codebase at Mozilla still "living" in that it can adjust or be adjusted?

https://www.linuxfromscratch.org/blfs/view/svn/xsoft/firefox...

Requiring a mozconfig file shows that the code base has failed to transition to cmake or meson/ninja (directly; there is some python wrapper which may help here but I refer to the primary configuration). Mozilla gave up on Firefox a long time ago already.

comment 1y ago · link · parent

Not bad - with a delay of only 21 years, Firefox is just about to make a strong come back now. :D

comment 1y ago · link · parent

It is also a tool to cut costs for corporations.

The whole word is not only now a buzzword too but one that thinly tries to disguise some underlying strategies. And it is also a bubble, part of which is currently breaking - you can see this at the stock market.

I really think society overall has to change. I know this is wishful thinking, but we can not afford those extra-money to a few superrich while inflation skyrockets. This is organised theft. AI is not the only troublemaker of course; a lot of this is a systemic problem and how markets work, or rather don't work. But when politicians are de-facto lobbyists and/or corrupt, then the whole model of a "free" market breaks away in various ways. On top of finding jobs becoming harder and harder in various areas.

comment 1y ago · link · parent

Poor Europe - lobbyists make sure that Europe stays weak.

That statement includes Ursula by the way.

comment 1y ago · link · parent

Personally I do not use thunderbird, but one elderly relative requires thunderbird. So I am all in favour of thunderbird getting better. Not everyone is able to use emails in a much simpler way. I actually, back when I was using gmail still, had some +4000 unread messages. I simply can not keep up with regular mail.

comment 1y ago · link · parent

Is this good?

This is a genuine question. I am not sure whether this is good or not.

It seems to only extend existing options? Or is there some trade-off?

comment 1y ago · link · parent

GIMP really has tons of issues. I can barely compile it these days.

GIMP 2.x was IMO better. Also much easier to compile and get running. Fewer things to worry about.

I think you paint a rather selective picture here though. Quite a lot open source software is really really bad.

comment 1y ago · link · parent

What can be created with blender is quite cool, but I remember having used it in the past, it was very complicated. I was a lot more productive with Wings 3D; this lacks in functionality compared to Blender, but using it was so much easier.

These days I wouldn't want to bother doing manual animations or mesh creation. The computer must do this for us.

comment 1y ago · link · parent

10 years leading. I would have fatigued.

Mastodon needs to push for more activity and users though. I kind of know what it is, but I am not really using it. We could need, say, some replacement of Twitter-owned-by-billionaires.

comment 1y ago · link · parent

> I'm happy my Tesla

I'd never give my money to the mass-fire-people-at-DOGE billionaire.

What I did, however had, notice, is that people are a LOT more easily distracted these days. Smartphones play a big role, but I also think something changed in the brain. This may be better or worse, but it definitely is very different now from, say, the 1980s. It almost feels as if humans are now +100 years different from the people in the 1980s rather than +40 or +50.

comment 1y ago · link · parent

Mostly the newer ones try to improve the older ones.

I guess at some later point one will dominate and the others will go sleep mode. Just like in the movie Highlander - there can only be one. (I couldn't name offhand which JIT is the main one right now ... I always think it is from Takashi Kokubun but that may now be outdated. MJIT YJIT ZJIT HUJIT WAJIT WTFJIT GRANDMAJIT - too many JITs.)

comment 1y ago · link · parent

I don't think it has really descoped. They just want the transition to be smooth. So they start slowly. The lead japanese dev will most likely in 2026 go for more extension, and I also think this kind of has to be synced a bit with ractor (I think?).

Ractor is also strange. Do many people use ractors? I rarely see them used in actual ruby code out there. Right now it seems to me as if ractors are used by only ... say ... 1% or fewer of the ruby developers out there. A bit more than refinement users ... :P

comment 1y ago · link · parent

It is 4.0.0 largely because matz created ruby 30 years ago.

matz is no longer the youngest - although he does look young, he is already 60 years old. He also said he has a retirement plan, e. g. avoiding a situation such as when Guido quit (or semi-quit) from Python (due to fatigue/frustration; Guido is not 100% retired but he is also not necessarily the solo-design-dev either, so it is a bit of a semi-retirement). So we won't know how long matz will be the lead designer of ruby - and who will succeed. Which may be reason to worry depending on who it would be. Imagine DHH takes over - man, there would be an insta-exodus of people ...

So while this release does not have a lot of content as such, one thing that is quite big, even though right now it is not, is Ruby::Box. There are many who don't understand it. The thing is ... I understand the use cases for it. I was not involved in any way with regards to its design, mind you - that was mostly a japanese-group in design. But there are objective use cases for it.

Many years ago I recall on IRC (we oldschool people used IRC back in the pre-discord stone age) some C# hacker said he won't use ruby because there are no strong namespaces, that is, someone else can just overwrite things and then nothing works. Although I think he was a drama guy, and any "danger" to be minimal, objectively he has had a point, simply because ruby had no strong concept of isolation here. Lateron there came refinements. Now refinements are strange, because while I think the use case makes sense, the syntax is strange. Syntax is one huge reason why I do not use refinements; but also because I try to avoid putting my own modifications all over the place, largely because I'd have to distribute that too, and also because modifying core classes, while that has a use, should not be done excessively, IMO.

Ruby::Box kind of builds on that and makes the refinement use case more generic (eventually; I am aware that right now this is not the case but you need a transition stage. Syntax-wise Ruby::Box is also weird, so hopefully the syntax gets easier too, but I instantly understood the use cases. Many people don't, in particular about 95% who demanded a name change away from Namespace to something else, really don't understand the underlying use case.)

Now - making isolated per-project changes is not the only use case. For instance, ractors could be simplified if you know that there are separate ruby processes; ruby threads probably too. These I consider secondary benefits though (and yes, that may be far in the future, who knows; when python removed its GIL though, it put ruby under pressure, aka shape-up-or-go-extinct mode).

One thing I would complain a lot is that on rubygems.org, before RubyCentral went shopify-controlled-only, that people would occupy namespaces. Such as Configuration. I wanted to have a project called Configuration so I can do Configuration.new or Configuration.parse_this_file(). This is possible of course, but when it comes to distributing code, who owns that toplevel namespace? Normally the one who occupied the name first on rubygems.org, sort of. Via Ruby::Box, it should be possible to have ownerships. This could be strong or weak; weak as a hint, aka "psych is owned by ruby core ownershiper but it can be modified", or strong aka making it immutable. Both have use cases. Could also be both. Having this more organized would be really convenient for developers. I would not have to worry whether anyone else uses that "namespace". And of course we need a way to query this state from within ruby code too aka, say immutable:

"If psych is owned by ruby-core, continue to use it."

psych (for yaml) is not a good example here but you can think of any other namespace where you may only want to consider some gems/projects but not others. (Again, the use case may differ between strong and weak ownership, but the thing is that this is an improvement over the prior status quo.)

There are several additional use cases to be had but I'll stop here. What I find strange is that many people who complain, don't refer to the old issues and discussions. We had discussions before refinements were added. About 80% of the people involved, DON'T EVEN KNOW THESE OLD DISCUSSIONS. Either they have dementia, or these are young ruby users who never were active in the old days. It's very strange.

I am not saying all is perfect about Ruby::Box, in particular syntax-wise I'd like improvements, but many people don't seem to understand the use cases, and this is very very strange.

comment 1y ago · link · parent

> Newer evidence suggests that ditching tough-to-attain goals > can actually be good for us.

> adjusting our goals in response to stress or challenges, rather than grinding on, is often “a more appropriate and beneficial response.”

It depends a lot on the goals. I give up often and quickly. One reason is ... lack of time. (And also lack of discipline, but lack of time is really one key reason I toss away many things these days. You live only once, at the least most of us.)

There is, however had, one interesting study from psychology. I forgot the name, but they showed tests with kids as to "if you eat this now, you won't get an additional reward, but if you won't eat it for an hour, you get more lateron". Now this was not the setup, I am just quoting this from memory. The adults left the room so only the kid was there and some sweets on the table.

It was quite convincingly shown that the kids with more discipline and will-power, aka who refused the sweets in order to get more reward lateron, were also more successful on average lateron. Or, at the least, avoided some problems such as drug addiction and what not. So I think the "benefits of giving up" has to be put in context. It depends on what and how you give up. I may not give up on A, but then I may not be able to do B, because of lack of time, lack of resources and so forth. So these are just trade-offs, but discipline and will-power are just about almost always really excellent traits to have or train for.

comment 1y ago · link · parent

It was ended by force in Tirol in 1933 though:

https://de.wikipedia.org/wiki/W%C3%B6rgler_Schwundgeld#Proze...

States are very brutal even when you show them alternatives.

comment 1y ago · link · parent

> A software engineer may be slicing and dicing nanoseconds

People typically live only once, so I want to make the best use out of my time. Thus I would prefer to write (prototype) in ruby or python, before considering moving to a faster language (but often it is not worth it; at home, if a java executable takes 0.2 seconds to delete 1000 files and the ruby script takes 2.3 seconds, I really don't care, even more so as I may be multitasking and having tons of tabs open in KDE konsole anyway, but for a company doing business, speed may matter much more).

It is a great skill to be able to maximize for speed. Ideally I'd love to have that in the same language. I haven't found one that really manages to bridge the "scripting" world with the compiled world. Every time someone tries it, the language is just awful in its design. I am beginning to think it is just not possible.

comment 1y ago · link · parent

Agreed. However had it should also be mentioned that this originated from rails.

Many bad things originate from the rails ecosystem. (Arguably some good too, but I am very pessimistic ever since shopify's recent powermove and DHH side-line commenting off-the-fence while being on shopify's board.)

comment 1y ago · link · parent

> I'm 100% convinced that every Ruby developer has at least once made a bug where they tried to access a hash entry using a symbol, where the key was actually a string or vice-versa.

Yeah, that is true. It adds a cognitive load onto the ruby developer writing the code as well. Personally I prefer symbols as keys in a Hash, mostly because I like symbols, I assume it may be faster usually (this depends on factors, such as how many symbols one uses, the garbage collection kicking off and so forth, but by and large I think for most use cases, Symbols are simply more efficient). We also have abominations such as HashWithIndifferentAccess; Jeremy wrote an article why that is not good (indirectly, e. g. the article he wrote was about Symbols more, their use cases and differences to Strings, but from this it follows that HashWithIndifferentAccess is not a good idea. While I agree, I think some people simply don't want to have to care either way).

If I need to query a hash often, I tend to write a method, and the method then makes sure any input is either a string or a symbol for that given Hash.

> It would be great if Ruby would finally have immutable strings by default

But it has. I still use "# frozen_string_literal: true", but if you omit it, the Strings are frozen by default. People could set "# frozen_string_literal: true" in a .rb file if they want to retain the old behaviour.

> it would be possible to make symbols be strings.

But Symbols are not Strings. And bugs based on x[:foo] versus x['foo'] are always going to happen. They are very easy to avoid though. I don't really run into these in my own code, largely because I settled on symbols as keys for a Hash.

> And also keeping the memory "optimized" by reusing a single immutable string.

But a Symbol is not a String. Not even an immutable String. I understand what you mean (and internally it may be that way already, actually), but it is not a String.

comment 1y ago · link · parent

I try the other way around: I am fine. It is everyone ELSE who is insane!

I learned this from the old movie called The Shining, by the way.

comment 1y ago · link · parent

I always found the steps to assembler harder. I'd wish we could have both a hardware interface that is resembled at the same level as the software - but super simple. With that I mean super-simple to understand and write; assembler is simple but not easy to understand. The complexity scales quickly. That's why C was successful - it was much easier to reason about the system in C than it was in assembler/assembly.

comment 1y ago · link · parent

> According to the prevalent narrative in North Korea, the war was won by the communists.

Well - it depends on how one wants to call the result of the war.

I think there was not necessarily a winner; there was a stalemate/truce, with China guaranteeing North Korea to not lose, but not necessarily win either. That does not mean North Korea won, but I don't think one can necessarily say that they lost the war either.

I am fully aware of how the propaganda in North Korea works, but some articles are also heavily biased. The biggest danger to North Korea actually comes from the success model in South Korea, as well as the internet. The internet kind of nerfed Scientology (see what Ron Miscavige said and described how Scientology changed over the years, so if one of the big guys can quit, the whole business model they established decades ago, is dead and decaying). Sooner or later Kim Jong Fat will also lose out to the internet. You can not permanently cut off million of people, with the assumption they won't be able to understand how strategic lies work. It also does not work in Russia either, though Russia is of course nowhere near as isolated as North Korea right now.

comment 1y ago · link · parent

SpyApps everywhere.

Hopefully one day we not only have open software, open hardware but also reproducibly guaranteed secure systems. Now I don't have any idea how this could be verified (and no, Microsoft's "Trusted Computing" is not what I have in mind), but I hope we'll see to this eventually.

comment 1y ago · link · parent

Alright but why do we not have more search engines that are actually good?

I'd love to cut myself off from Google, including Google Search, but any alternatives manage to be even worse. Consistently so. It's as if Google won the war by being just permanently slightly better - while everyone is actually really crap. That wasn't the case, say, 10 years ago or so.

comment 1y ago · link · parent

Good. Now please someone replace Google's search engine.

I am always annoyed using it, how bad it is these days. Then I try the alternatives such as Duck Duck Go and they manage to be even worse.

Qwant is semi-ok but it also omits tons of things that Google Search finds (and also is slower, for some weird reason).

Google's UI nerf is also annoying - so much useless stuff. In the past I could disable that via ublock origin but Google killed that for chrome.

We need to do something against this Evil that Google brought into this world.

comment 1y ago · link · parent

Well - the systems presented here are about the init part, not anything else. Systemd includes more functionality than merely init-stuff, so any comparison here was always biased and unfair. If you compare 5_000 lines of code to 500_000 lines of code, the comparison won't work. Systemd assembled numerous things (weed-collection via systemd-homie, for the home setup and I think you can also accidentally delete your home directory, with the systemd devs claiming this is a feature). None of those "features" listed is what I consider needed or necessary. All daemon-startup I already did via ruby as wrapper over the underlying system. For a campus site with many computers, systemd simplified managing them. I don't really see the same benefit for people who know more about computer systems at home - all the complexity is a trade-off with regard to having to learn, understand and apply what systemd brings to the table.

"It's deeply entrenched in every major distro that it's impossible to administer a linux system without it"

That's a non-sequitur, aka an after-the-fact claim made. Not every distribution transitioned into forcing systemd onto everyone - granted, the majority did, but you can find distributions that did not surrender user's rights here, be it devuan, slackware, void, gentoo (https://wiki.gentoo.org/wiki/Gentoo_without_systemd). But admittedly it takes more effort than going into systemd. Note that many of the statements made there such as "hardening options", is just buzzword promo for systemd. It just means nothing. What should "hardening" even mean? Also, it is perfectly fine to use linux on a non-systemd system. People used to do this for decades before systemd infected the linux world. It's a smaller crowd though compared to systemd-using systems and users indeed nowadays.

comment 1y ago · link · parent

Systemd isn't merely an init system though, so I always find these comparisons unfair.

They should focus on one simple and good alternative to the startup-functionality for non-systemd infected systems though. Void has one advantage: they have many clever people, a bit like how Arch used to be before they succumbed to systemd (today's arch is different from when Judd was in charge).

comment 1y ago · link · parent

I've had various issues installing Void so I succumbed to Manjaro, which works surprisingly well. I have noticed in general that many non-systemd distributions work less well over time for some reason. Slackware is the best example - one release per decade means it is factually dead, but even trying more modern variants simply no longer works as it once used to work. At the same time there is less and less adapted documentation to be found. It seems the non-systemd distributions not only declined in absolute numbers but also in regards to manpower and time investment. MX Linux also lags behind updating versions of numers programs: https://distrowatch.com/table.php?distribution=mx - it has gotten a bit better after libretto, but it still lags behind compared to e. g. Fedora.

comment 1y ago · link · parent

I do agree with this, but there are some caveats. At the end of the day it is time people invest into a project. And that is often unpaid time.

Now, that does not mean it has no value, but it is a trade-off. After about 14 years, for instance, I retired permanently from rubygems.org in 2024 due to the 100k download limit (and now I wouldn't use it after the shameful moves RubyCentral did, as well as the new shiny corporate rules with which I couldn't operate within anyway; it is now a private structure owned by Shopify. Good luck finding people who want to invest their own unpaid spare time into anything tainted by corporations here).

comment 1y ago · link · parent

> Claude’s version is pretty close to the blob-util version (unsurprising, since it was probably trained on it!).

AI are thieves!

> I don’t know which direction we’re going in with AI (well, ~80% of us; to the remaining holdouts, I salute you and wish you godspeed!), but I do think it’s a future where we prize instant answers over teaching and understanding.

Google ruined its search engine years ago before AI already.

The big problem I see is that we have become WAY too dependent on these mega-corporations. Which browser are people using? Typically chrome. An evil company writes the code. And soon it will fire the remaining devs and replace them with AI. Which is kind of fitting.

> Even now there’s a movement toward putting documentation in an llms.txt file, so you can just point an agent at it and save your brain cells the effort of deciphering English prose. (Is this even documentation anymore? What is documentation?)

Documentation in general sucks. But documentation is also a hard problem.

I love examples. Small snippets. FAQs. Well, many projects barely have these.

Look at ruby webassembly/wasm or ruby opal. Their documentation is about 99% useless. Or, even worse - rack in ruby. And I did not notice this in the past, in part because e. g. StackOverflow still worked, there were many blogs which helped fill up missing information too. Well all of that is largely gone now or has been slurped up by AI spam.

> the era of small, low-value libraries like blob-util is over. They were already on their way out thanks to Node.js and the browser taking on more and more of their functionality (see node:glob, structuredClone, etc.), but LLMs are the final nail in the coffin.

I still think they have value, but looking at organisations such as rubygems.org disrupt the ecosystem and bleeding it dry by kicking out small hobbyists, I think there is indeed a trend towards eliminating the silly solo devs who think their unpaid spare time is not worthy of anything at all, yet the big organisations eagerly throw down more and more restrictions onto them (my favourite example is the arbitrary 100k download limit for gems hosted at rubygems.org, but look at the new shiny corporate rules on rubygems.org - this is when corporations take over the infrastructure and control it. Ironically this also happened to pypi and they admit this indirectly: https://blog.pypi.org/posts/2023-05-25-securing-pypi-with-2f... - of course they deny that corporations control pypi now, but by claiming otherwise they admit it, because this is how hobbyists get eliminated. Just throw more and more restrictions at them without paying them. Sooner or later they decide to do something better with their time.)

comment 1y ago · link · parent

AI? I may be missing something. You are talking about whom here? The blog author?
1
919293
98