skysight-inc/HackerNews huggingface dataset:
Right now I am working on converting a front end application written in angualar/typescript using a monorepo technology called nx.dev into a micro-frontend architecture. All the teams that have been contributing code to the project never bothered to use nx in the way that it was intended and disabled linting for the entire project. The thing is if people had followed the linting rules it would have made my life 1000x times easier because now I have to take a scalpel to the monolith they've made and break it down into smaller parts. Linting rules would have told them to respect module boundaries and warned about circular dependencies. Now I have to clean up the mess.
I feel like I already spend 90% of my day gluing together various disparate APIs. Is this the logical conclusion to software development?

I adore the craft-like parts of software dev, wouldn't trade it for anything.
Oh wow. Thanks for the distinction. This cleared up something for me that was knocking in the back of my mind.

I had the same feeling having had a lot of blue collar jobs while studying. Discussions/management was scheduled around getting work done.

I was working as a cook once and the real chef (I was studying literature and history at that time) and I were doing reviews of the evening after the kitchen was closed, cleaned and we were sitting at the bar drinking our one final drink of the evening. It was a little bit like a sprint review with the sprint being just an evening long. Sprint planning so to speak happened before guests arrived and the restaurant opened.

We prepared the kitchen, chopped stuff for salads, prepared sauces and stuff and were discussing who would do what when the rush started. So even without knowing the actual ordering of dishes and the amount of every specific dish we roughly knew what to expect (how many orders aka tickets we would have in the sprint/evening).

So we had a sprint planning, a sprint and a (internal) review. And our service people would give us feedback on what went well and what went wrong also, because they had the direct guest feedback.
The customer review blurb on the site is the best I've seen:
"... has nothing in common with a good service and especially a high seriousness"
- AfD Lower Saxony
These things were debated ad nauseam in the 90s, I started to feel nostalgic. To me it seems like a semantic issue and, fortunately, we are free people and can use either name.

As for the "horrible implementation" part... People nowadays don't realize how it worked in practice. Many extensions, like in GCC, appeared because people needed them (and at least in the case of compilers they're clearly marked as such). Also, at the time the GNU utilities were superior to native tools. Many Solaris admins started by installing GNU tools to make the system more usable, for example. If GNU was really so terrible, why would they do that? It's very easy to criticize it now, but it was a huge effort by thousands of people and I'm vert grateful to all of them.
The clients also usually don't want to pay for a stable safe bridge because the collapsing one is good enough.
Er... sounds good, but first they say "All public transport in Austria with a single ticket", and later "...in a specific area for a year: regional, cross-regional and nationwide". And after that, there is only one price (with various rebates) listed for the "Klimaticket Ö". Are there cheaper versions planned which are limited to e.g. one ("regional") or two ("cross-regional") states (Bundesländer)? I checked the German version, it's not a translation mistake.

EDIT: Ok, found out myself, thanks Wikipedia! All but one (Kärnten) states already have a yearly public transportation ticket, with prices ranging from 365€ (Vorarlberg and Vienna) to 695 € (Oberösterreich). I guess these will be called "Klimaticket" too in the future. Might have made sense to mention this in the FAQ though...

BTW the introduction date, 26.10.2021, is the Austrian National Day.
> the senior engineer had defined every single service class as an interface and then implemented that interface in an actual @Service. The logic from the senior engineer was that the interface represented the “contract” and the class the business logic.

This is mentioned as bad thing, but having service interfaces really helped in a large Java project I worked, where we had to reimplement and extract some important code. Using the interface for the new code made it much simpler to use a radically different implementation, and also made devs think about what the real interface should be, vs just coupling to some implementation.
Or you can just compare them to software engineers that work on critical software like launch systems and nuclear reactors.

Software can be just as reliable when there is a need for it. Thing is, 99% of the time you don't need those extra 9s.
> maybe zheap will help?

According to Robert Haas, the zheap project is dead.
Never Lose Your Private Keys Again
LinkedIn Censors Journalists in China
Agreed on the wood chipper - we’ve fed vast volumes of organic waste through ours as we’ve 8ha of badly overdense and bramble/suspended dead wood choked woodland to manage, and the mulch is dead handy for paths and garden beds - our soil is very low in carbon, so everything helps.

Re: weaving, vines are impossible, rett them first - soak ‘em, maybe in lye, and then pound them with a rock to get fibres. Baskets, willow works great - we’ve goat willow all over, here, and use it for smaller stuff. Bigger stuff we use olive, as green it’s supple and dry it’s like a rock, and very rot resistant - we’ve made half baskets on a steep hill slope to catch runoff and encourage tree growth - the oldest ones (two years) are hosting self-seeded oak saplings now, which is kinda cool.
Energetically, yes, producing aluminum metal from bauxite/aluminum oxide is very difficult, requiring tons of heat. If this energy is sourced from coal power plants, it does emit something like 12 kg CO2 per kg aluminum.

However, there's no reason that the electricity has to come from fossil fuels. Aluminum refineries are an incredibly useful base load, able to turn up the heaters when energy is available and inexpensive, but to reduce the load when energy is less available and more expensive. This is highly compatible with renewable energy sources, providing a useful sink for excess capacity.

Aluminum production can and will continue well after fossil fuel energy sources are phased out, at which point it will have a lower environmental impact.

Also, aluminum is extremely easy and cost-effective to recycle.
That’s sort of the Tacoma Narrows Bridge story.
I'll stick with one for 10 years if I can. Smartphones are just not that interesting other than the fact they seem to become more and more important to live in these times. If anything, that's where FP shines; it's just good enough to not worry too much over.
The fact that the post does not link to https://www.gnu.org/gnu/gnu-linux-faq.en.html, makes it immediately suspect. That is a necessary resource to consult when talking about the GNU/Linux name.
There're many features that are useful for programming: variable expansion, pattern replacement, substing expansion, and others. Not only that but some bash built-ins essentially replace external processes leading to your script being faster and more portable (ironically).
I've tried it out, I'm still getting smaller AVIF files with dithering. Not like the saving you get by using a dithered png instead of a jpeg.

Depends on a lot of factors. You can keep turning the quality down on avif and get it lower than a dithered image. At some point I'd prefer the crispness of a dithered image over a blurry full color image.

Also, avif seems to do a really good job of lossy compression on dithered images.
Yale University's controversial Vinland Map is a fake, new study confirms
But if you only require local travel, why would you buy a national pass?
Genqlient: A truly type-safe Go GraphQL client
If the Kilmaticket is not the only pass now available in Austria, then it makes far more sense.
Maybe compared to America, but really, no, there's still a LOT of individualistic thinking here
Right, but have you ever worked in a place where no practices at all are being followed?
Where there are hacks after hacks, giant classes with giant methods, no interfaces, static methods, bad names everywhere, you need to find a bug? good look, you want to write a test to avoid regression? Ok that would take you 5 times more time.

I agree, following a “best practice” without understanding the “bad practice” that it’s trying to prevent is silly. But just discarding best practices because no one understands the reasons behind is also silly.
Having an interface let's you introduce versions or alternative implementations easily, this is important in a long run. It's much easier to handle the transitions, because you can have both versions in your code base and you can easily switch back to the old one if necessary. When you start with a class and you want to do similar thing, you either YOLO it and change everything at once, or you need to introduce an interface and replace every usage to use the interface to achieve a safer transition and you are back at the interface-class implementation with an extra pain.
Furthermore, there are far fewer physical constraints in software, so the range of possible designs is dramatically wider.

(Actually I dare say that sotware itself has no physical constraints at all: software artifacts and software executions do.)
No headphone jack? 555-COME-ON-NOW.

That said I really like Fairphone and its principles, but I wonder why they never partnered with the Linux on phone community.
I am pretty sure that you still can get a monthly/yearly ticket for your local area. These are usually between 50-100 € in Germany. In Vienna you pay 1 € per day, so around 350 € for a year.

The idea here is that you have one ticket that can be used everywhere in the country, so you probably would only get it if you travel more than a local commute on a regular base.
Ok, so the Austrian version costs less than a third of that for a considerably larger country. And the public transportation system is pretty good in Austria too...
> We just got stuff done because we didn’t know any better.

Despite knowing I'm more effective at avoiding major pitfalls, guiding the team in the right direction, building software that lasts.... I miss this feeling, so much.
I tried Ray-Ban's dystopian Facebook sunglasses, and someday you will, too
Wikipedia doesn't have an idiot problem. It has a smart people with an agenda problem.
Not quite, a governing body is what stipulates who can be called an engineer and who cannot (at least this is the case in Canada.)

Certainly those who did engineering-like work existed before governing bodies, you just never really knew whether they were any good, because there was no minimum set of competency defined.

Ironically, one might say this is what software development is like right now! It is both a blessing and a curse, the accessibility of modern software development is what makes it so great, pitfalls and all.
PgModeler [0], cannot recommend it enough. You have to compile yourself the free version (it's open source - you pay if you want to directly download the precompiled binaries) and it's a bit of work if you want to include the query optimizer plugin, but there's documentation and GitHub issues with solutions already in place.
Once you compile it for the first time and start using it, you'll keep doing it again with each new version. I haven't found a better Postgres tool yet.

edit: it's a cross-platform tool, supporting Linux, Mac and Windows (32/64)

[0]: https://pgmodeler.io/
Basically, hosted AdGuard Home?

https://github.com/AdguardTeam/AdGuardHome

I love AdGuard home and this might be useful to someone who doesn't want to set up a server. But for friends/family members/anyone who stumbles upon my website, I just hand out the IP/DoT url to everyone to change their DNS server if they'd like. Rarely do I have to whitelist a site and if I do it takes thirty seconds to sort by recently blocked and whitelist it.
It sounded like it's going to be the only pass available in Austria. I must've read the site wrong.
Mullvad Privacy Companion Beta
I’ve always liked Joel Spolsky’s “duct-tape programmer”.
Tangential-ish:

I used to live in a place where we had gas resources and gas stoves. Gas pipes would be painted yellow to stand out and people always had some sort of respect and caution around them - you don't mess with gas pipes - I learned that as a kid. At the slightest whif of gas people would light up a match or a lighter and run it along the pipe to check for leaks - I always thought this is what "smoke testing" meant (altho there would't be any smoke). I still don't know if this is safe or would even work or it's just something people did and keep doing... and I have no gas pipes around me anymore.
> When the original site is hot garbage I'd much rather see an alternative.

I find the experience worse than Twitter's default web view with the odd reformatting and wasted space around tweets — compared to the native view, I see 5/7 as much text on a page — and most thread unrollers intentionally obscure the original link to keep you on their site so you have to be familiar with their UI or scrub the links to find it if you want to interact with the tweet (a common use for social media).
The Church did hold the consensus opinion, and accepted the minority opinion, Copernicanism, as a hypothesis. At that time, the epicycic systems made better predictions than Heliocentrism with round orbits. Kepler's later elliptical models did fit and won out after Galileo's day. Also, while Galileo presented some compelling evidence from astronomical observations, he was the only one able to make them, which made his claims difficult to confirm. He stated that Copernicanism was not a hypothesis, the Church tried to get him to walk that back, but Galileo bitterly feuded with an initially sympathetic, but ultimately hostile Pope Urban VIII enough to get himself in trouble. He was persecuted for defying the pope, the science was only a proximate cause to the root cause of his problem which was that he was rude to the pope.

That points to a bad system, but one that has nothing to do with the modern world we live in, and which if applied by analogy will fit so poorly as to be a bad analogy.

Also the Church conducted scientific experiments regularly, since a number of priests through the ages were scientists, and it was a result of priests taking observations in later, better telescopes that updated the Church's position on heliocentrism.
>If my daily commute is a handful of bus stops and that guy's is a train for an hour from another city

If your daily commute is a handful of bus stops for instance in the Vienna metro, then you can buy a yearly ticket just for the Vienna public transport for 365€.

https://www.wienerlinien.at/web/wiener-linien/jahreskarte
In 2000, 80Gbps was the whole internet. Now a private link for one customer
Americans can't be told what to do is why. We can't even be told to wear masks in a pandemic.

Upside: this gave us rock and roll. Downside: -20 pandemic resistance.
Does YouTube really care if Russia does not use it? RT is propaganda. Period.
Its vids find their way on to youtube anyway under different guises. I say block Russia. Who cares.
I think there are two parts, one which is resolvable and one which isn't.

FB doesn't "do that much more today than in 2012" - completely resolvable. I hear statements like this all the time. FB/Google/Amazon don't do more, they just do it bigger, or they just hire engs to keep them from the competition, etc. FB had 3000 employees total at IPO. I can easily name 10 brand new things launched/acquired since IPO that each have a massive user base and at least 1000 engineers on them now. I'm sure people could do the same for Google, Amazon, Apple.

The unresolvable part - are the 60K employees at FB today individually doing as much as the 3K employees were at IPO? Personally, I doubt it. The luxury of being big means you can try more ambitious stuff that may never launch, overbuild on infra and process, etc. The flipside is that niche features you've never heard of can drive millions in revenue bc of the scale of the userbase and business customers.
I can't imagine someone arguing that avoiding tight coupling is a personal preference.
Tell HN: You can block YouTube ads on iOS 15 using Safari Extensions
I just upgraded my 7 year old iPhone 6S to iOS 15 and discovered that Safari Extensions now lets you block YouTube ads if you use YouTube via safari. This is one of the things I used android as my media consumption device and glad to see iOS allowing it too.
I used “Adblock Pro” which I got for free from App Store (I am not affiliated with them). Other adblocker should work too.
We don't have enough laws to protect consumers and the environment. Such laws actually help businesses that do want to do the right thing remain competitive. So how about a law that guarantees security updates for at least 5 years, so these phones don't become e-waste before their time? Or a law for user serviceable battery replacement?
Which is why I don't buy the "software has only been around for 70 years so give it time" argument. Software has nothing to be grounded in like other engineers do with physics. It's most likely always going to be endless cargo culting.
Just another manifestation of people realising their life of metropolitan decadence is wrong, lacks meaning and is damaging to the human spirit.
Best grad school application is maybe John Nash. His recommendation later just said that "he is a mathematical genius".
Primus / Les Claypool were also influenced by The Residents, another obscure band of inarguably talented musicians and artists creating art and music for a distinctly discerning and uncommon palate.

Gingerbread Man[0], as a visual and aural experience, is uniquely disturbing in a most enthralling fashion.

[0]: https://yewtu.be/watch?v=hr-I6-gxecg
The interwoven guitars in "Frame by frame" is my absolute favorite bit of music.
Having bought a Fairphone 2[1], I will never buy a Fairphone product anymore.

And I'm not a difficult customer here: I didn't mind paying twice the price, or software issues in their custom Android version. I'm only moderately annoyed having a proximity sensor that keeps keeps needing a reset, a phone that keeps rebooting for no reasons or a pretty bad power management (going from 15% to no-battery in less than a minute). They are a small company and have limited manpower, I can totally understand that.

What I'm really pissed off it them not fulfilling their promises. They sold me a modular phone, with the promise of hardware upgrades and maintenance. They sold me a “PC”-like smartphone, where there's no frequent release of new models but a continuously upgrade-able phone. But they didn't even try to deliver, and they didn't apologize.

[1]: in 2016, and I'm still using it btw, even if it's far from good at this point, because it “works” and I'm still pretty conscious about the environmental impact of smartphones.
Oh, I was using it _many_ years ago, glad it's still alive.

What I liked is that the projects are text-based and can be stored in Git. I.e., easily shared between apps, accessible for collaborative works, with changes history, etc. Essentially like a code.
I recommend reading the book from the studio engineer (Phill Brown) who worked on The Spirit of Eden, Laughing Stock and Mark Hollis' solo album:

Are We Still Rolling?: Studios, Drugs and Rock 'N' Roll - One Man's Journey Recording Classic Albums

There are three chapters only for these three albums, that open up the process and how crazy it all was to make. The whole group suffered from depression and PTSD when the sessions of Laughing Stock were over.

And yes, Laughing Stock might be my all time favorite album.

Edit: There's also a great talk with the engineer of Laughihg Stock on youtube: https://www.youtube.com/watch?v=5tqGekATrWg
Pete Sinfield's lyrics. He did a solo album in 1973. I think I still have my copy. You might enjoy it.

He's still alive, btw.
Hmmm, problem is if it would be the dominant way of buying tickets the transport organisation would loose even more incentive to be customer oriented. Many public transportation companies, for instance Deutche Bahn, are awful and rude. They are often semi-public and semi-monopolistic, imagine paying them a year budget up front, would make things even worse.
> How do they combine curses with their Christian belief? Doesn't the Bible condone magic?

I don't believe they are actually Christian or faithful, they are just using these 'rituals' as a sort of "look how silly i am, i am clearly insane, please dont sue or prosecute me" ruse which will turn into a "it was your fault you trusted a crazy person" argument when it gets to court
As if Burning Man itself isn't a LARP.
New Microscope Technique Provides Real-Time 3D Views
Pglogical, replicate to a new database server. There will be minimal downtime and it allows you to test the process thoroughly.
Yes, the program managers can assign work and they tend to work closely with the involved people managers to balance workload.
> Torvalds chose method 1;

Huh? Torvalds never intended to create an operating system, just a kernel, and that is true to this day.
The benchmark linked in the comments shows 7-38% improvements. Nothing to scoff at, but if you need PGBouncer that probably won't make enough of a difference.
It's not that they can't seal an ingress point so much as that every one they do adds cost and complexity.
> You can’t do it “correctly” if “correct” is “whatever the guy who’s been here longer wants.”

To be honest, "correctly" is whatever actually works. But since we as an industry haven't been around for a long time and don't collectively know what actually works, it is simply the case that we defer to those who have comparatively more experience, so that we may get decent solutions now, as opposed to excellent ones later.

It took the ancient civilizations hundreds if not thousands of years to perfect architecture to a reasonable degree, where it's possible to be fairly certain about the viability of most typical designs, as well as the tradeoffs that nonstandard ones might require.

Personally, i think that we'll only be able to talk about what truly works and what doesn't once the industry cools down - when there are new JS frameworks once a month or once a year as opposed to every day (or for any technology, really). When there are very few breaking framework changes, because the frameworks would finally be stable. When the primitives around doing web development, interfacing with devices and everything else have been distilled to their most usable possible forms. When a developer doesn't need 10 languages or 20 frameworks to do their job, but can instead rely upon a few, after most others would have died off after a sort of singularity of languages.

That's when useful certifications would be possible. That's when estimates wouldn't be guesswork. That's when the education systems could actually prepare people fully for working in the industry. That's when the development of projects wouldn't be such Wild West, but instead would be a process with far higher quality, a true engineering discipline even at the expense of projects taking longer to actually develop, much like you don't construct buildings in an ad hoc fashion.

Now, whether that will happen in a 100 years, a 1000 years or never, is another question entirely.
That’s cool but I’m not a lesbian. I’m a straight trans woman who just wants to live her life and not be bothered.
I never understood why vaccine mandates are so badly received. As long as there are solid exemptions in place, for proof of antibodies or twice a week testing, it should be normal to require it. The mandates themselves can be ok. I personally have a problem with the absolutely insane gaslighting that is happening in the US now. You are not allowed to question anything, or you get cancelled.
That would be acceptable. Having the option to filter any content myself is preferable to other ideas.