skysight-inc/HackerNews huggingface dataset:
Okay, so when I worked at Sony about 25 years ago, I got assigned this project to fix our order management system, which was extremely slow, and kept crashing.

I jumped in and started digging around, and to my horror, the OMS was a giant set of shell scripts running on an AIX server, which evolved over a decade and was abandoned. It was over 50,000 lines of code! It was horrendous and shit kept timing out everywhere -- orders, payments, and other information were moved from server to server over FTP, parsed with complicated sed/awk, and inventory was tracked in text files (also FTPd around.)

At the time, perl seemed like the most practical way for me to migrate the mess -- I rewrote all of the shell piece by piece, starting with the simplest peices and replaced them with small perl modules as part of a larger perl application, refactoring along the way. It took me 3 months and I moved the whole thing to about 5000 lines of perl, and it ran 10-100x faster with almost none of the failures in the original system.

As terrible as it was, it's one of the most satisfying things I've ever done. :-)
In my experience they do. Could it be related to strict bash mode?
Related:

https://news.exeter.ac.uk/faculty-of-environment-science-and...

from https://news.ycombinator.com/item?id=37934146

Previous:

https://news.ycombinator.com/item?id=41431901 - Sept 2024 (2 comments)

https://news.ycombinator.com/item?id=37934139 - Oct 2023 (1 comment)
For what use is this?
Note that a pathological kind of "social justice" that alienates a bunch of people who the ingroup considers irredeemable is simply known as sociopathy.
Please, ban all these synthetic food dyes.
Absolutely do not do this. That’s all well and good until you clone a repo that ‘scripts/ls’ => install_ransomwhere().
I’m 35. I survived 80% layoffs because I’m one of the lowest paid people in my grade and office.

Im still earning way less than what I see reported on Blind and what my coworkers make.
The C-Lion1 cable that was cut was reported buried 1 meter below the seabed.

Unfortunately, that wasn't deep enough since heavy ship anchors which can dig in deeper than that.
Ada 2022/SPARK has plenty of complex language features, not sure why callout to generics in particular.

Using C++23 modules (import std) is quite fast, even more so with binary libraries, or the proprietary C++ Builder packages, and has been proven that the reason Rust is slow is the amount of unoptimized IR code the frontend shoves down into LLVM backend, and not the type system.

What I argue is the lack of investment in compiler tooling, once upon a time IBM and Lucid, showed the world how to have a Smalltalk/Lisp Machine like experience with C++ for example.
Ask HN: FastAPI + Supabase = Overkill?
So I have my API built with FastAPI on top of PostgreSQL. Everything except auth is ready. I love FastAPI, but I miss a killer feature from Django: the admin panel over my data. I saw a few options for FastAPI like SQLAdmin, but I’ve never tried Supabase (or Directus). They seem to have feature-rich admin dashboards and built-in auth systems. Would it be a good idea to use Supabase as an admin panel for my project while keeping everything else in FastAPI as it is? Can I use my existing database with Supabase without breaking everything? Also, is it possible to integrate their auth system with FastAPI endpoints? Or will it end up being a mess? Maybe there are other options?
Threadripper was an entire product line launched from below at AMD, famously.

https://www.forbes.com/sites/antonyleather/2017/09/05/amd-ry...
Banned since ‘94 in the EU, also banned in Japan, China, and Australia
> > A lot use recruiters to reach out to talent, that is how I got my current job.

As an employer, I’m flummoxed that a recruiter with a human fibre is required. It means instead of paying higher salary, 20% goes to the pocket of the intermediary the first year.
Yes, this was literally from today:

https://programming.dev/post/22539101

Turn on shellcheck and you'll realise that nobody could get it right without tool assistance. In programming languages with "standard" quoting (Python, JavaScript, Rust, Go, C, etc.) you don't even really need to think about it.

> What are the chances your scripts are still going to work in 2 years? 5 years? 10 years?

100% because I'll maintain them.

> Suppose you’re in a large enterprise embedded project which needs to work for 10 years or more, and the project uses shell scripts for infra tasks. Would you recommend to migrate those to Deno or Python?

Absolutely yes. In fact the longer you expect it to last the stronger my recommendation would be. A shell script with 10 years of tech debt is a scary prospect.
Why not debate the points in the article on their own merits? Which parts do you agree or disagree with, and why?
This is my current setup as well. While on the subject of Raspberry Pi 5, if you are using RPi5 with Raspbian as a Moonlight client and want to capture window manager shortcuts like `alt+tab` but unable to do so, Wayland is the problem. I'm trying to put this knowledge out their in the hopes of a search engine indexing it.
You could put `.$MY-SECRET` it `PATH` and selectively symlink this to vetted script directories
M&M just added back Red Ones, wonder if they used #3
I'm guessing security would see you filming and come for a chat. Probably other patrons too, if that's the culture of the venue.
from collections import Counter

if not Counter(str1) - Counter(str2): # success, they are anagrams
Software engineers will do anything to not pay for software.
Who edits history? Politics and business in the pages of Wikipedia
Refreshers are priced at when they were granted and compound 4 years. So you have 4 years of compounding growth. Refreshers also stack, creating more compounding.

Once they vest, you can sell them to match snp500 past the 4 years.
Fails at criteria 6.
> the guys operating recon drones in Ukraine are not in permanent PTSD at the horrors and evil of the "drone warfare", it's the highlight of their day if them looking at mostly nothing for hours can help their countrymen who are fighting in much more exposed roles.

These are not mutually exclusive
Which leak are you referring to?
I was just saying it's counter-intuitive that the "source" of any training data would ever matter as much as the "correctness" of the data; but you're right, that was very sloppy wording on my part, sorry.

Here's a longer, related post, from me (albeit also confusing, haha):

https://news.ycombinator.com/item?id=42352759
If everyone use their own idiosyncratic algorithm for choosing OSS to donate to, it's going to be awfully hard to exploit.
> Finite interval doesn’t mean it can’t be arbitrary

Skim the paper. Numerical noise means you cannot calculate the 3-body problem to an arbitrary length. There is a finite, mathematical limit even with perfect knowledge of initial conditions.
"Word probability matrices" is definitely lacking something. A lot of human thinking is more along the lines of shape rotating and sounds and smells and other stuff.
The article says single-tenant, so that would be a waste of 32 cores for just one VM? Seems a lot.
The advantage that CRDTs have is they have a complete replay. In theory you could do some clever stuff with that.
As a Lisbon native, please don't feel like you're part of the problem. We've painted ourselves into a corner by failing to build more than a couple of thousand homes per year for a decade. I'm not even exaggerating, a few thousand new units per year is our current rate of building as a mega-popular European capital, home to 3 million people.

At the same time as we've completely failed to expand housing stock, we invented a new visa to allow wealthy foreigners to immigrate without a hitch. Then later a new visa to allow anyone who wanted to immigrate without a hitch (which about 600k people from developing economies took advantage of in the last five years).

There is nothing about our situation that has been worsened by tourism. It's the one economic sector driving the country forwards and I'm personally very grateful it has developed so much. A large part of my extended network can only make ends meet because of jobs created by tourism.
You can put .scripts last in PATH (or first - whichever disallows scripts/ls to take precedence over /usr/bin/ls)
Can we ban FD&C Red No. 40 too?
“Compound returns” are exponential returns. Is there another definition of exponential that im not away of?
> Also if that sounds like a useful feature, consider using Make

Just not having that feature is _the_ defining difference in design between the two. If just were to ever add that it would likely kill its appeal. Not having that is what keeps the logic of a just invocation simple and what keeps Justfiles from devolving into the mess that Makefiles tend to with entangled build targets.
The Making of Sam Altman
Skyway (https://skyway.cloud) | Full-Stack (or Backend) Engineer | ONSITE, San Francisco, CA | Full-time

Founded by myself and Corey Quinn of The Duckbill Group/Last Week in AWS, we're building a cloud cost management product based on our six years of experience consulting directly in the space for hundreds of clients.

We're looking for a full-stack or backend engineer to help us build the early product. There are three other engineers on the team already. We've got solid distribution via our existing clients, multiple design partners, and a clear roadmap.

Stack: AWS, ClickHouse, Python+Flask, React+Typescript.

Past experience working on cloud cost tools, whether at a vendor or internally, is a huge bonus. If not already in San Francisco, we'll help with relo. Email your resume to mike@skyway.cloud.
The US car makers are also doing their best to screw it up.

Chevy had an EV, the Bolt, that gets pretty good reviews. They had some kinks the first few years but seem to have gotten them worked out. And with the tax EV tax incentives a Bolt was around $20k (around $28k without incentives). Range of around 250 miles (400 km).

Then they announced in early 23 that it was being discontinued to make room for their "new generation" of EVs. That newer generation was going to be bigger cars and more expensive cars with nothing comparable to the Bolt.

They did later add a next generation Bolt to the plans, with manufacturing to start in 2025 for the 2026 model year, and supposedly it is still going to be around $28k. The next generation uses their "Ultium" architecture which is probably a good thing--they are using that in all kinds of products, including military products, so it will probably have good long term support. But they are also dropping CarPlay and Android Auto, instead going with some in-house system, and those generally don't have a great track record compares to CarPlay or Android Auto.

Still, even if the 2026 Bolt turns out well they did introduce a 2 years gap where no Bolt was available. The only Chevy EV choices are the $42k Equinox, the $49k Blazer, and the $96k Silverado.

If instead of discontinuing Bolt and then scheduling a reintroduction for 2026 they had continued making the current generation and just rolled out the 2026 as the next generation (like basically every other auto maker does when they change generation) I'd seriously be looking at getting one now. I had planned on an EV sometime in the next 4 years, but with the incentives likely to go away under Trump moving that up to now could make sense. But Bolt, at $28k before incentives, was the cheapest EV on the US market.

Second cheapest is Nissan Leaf at just a little more than a Bolt, but it only has 150 miles of range and they still use an air cooled battery. After that was Mini Cooper SE Hardtop at $32k. That thing is cute, but only 114 miles of range, and I'm rather large so even if I fit in the thing it would probably feel claustrophobic.

So, in summary, Chevy had the lowest cost reasonable EV on the US market, and nobody was really even challenging them for that...and they just gave that up.
Hey HN community, thanks a lot for your great feedback and actionable critique!

It was a simple MVP for personal OSS donations, and I have many considerations on how to evolve it and especially to prevent it from becoming a victim of Goodhart's Law at scale. Some of them:

1) Value and Risk scores shall include more metrics: dependencies, known funding, time since the last dev activity, active contributors, etc. A wider set of connected but relatively independent metrics is harder to fake. Also, it will help to exclude edge cases — for instance, I auto-donated to Pydantic (it's a great OSS), but such support is unlikely needed as they have raised $12.5M Series A from Sequoia this year.

2) Algorithmic does not mean automatic. While I see a strict, measurable, and ideally fully transparent methodology crucial for donating, it does not mean that all inputs shall be automatically generated. For instance, in the stock ETF world, one can generally rely on such metrics as "annual financials" for trading because they are annually audited (although it does not prevent fraud in 100% of cases). In the OSS world, data from trusted ecosystem actors can also be part of the equation.

3) Many guardrails are possible: limited budget per project, manual checks of top repos with the most anomalous changes in metrics. Also, if we target the sustainable maintenance of OSS the world relies on (I do!), then new projects (1-2 years) will unlikely get high scores - that adds another protection layer.

Given the interest in this topic, I am going to continue developing this algorithm further and expand it to other ecosystems (e.g. JS/TS and Rust). Your feedback here is very valuable to me, and those who would like to help make the algo better or donate through it are invited to the newly created gist:

https://gist.github.com/vinogradovkonst/27921217d25390f1bf5e...
The russian govt are basically the nazis of the 21st century. And hes a sympathizer to them. Hence: Nazi sympathiser.
Ah, thanks. Here I thought that the distance that you’re not driving at full speed would be equal in both cases, in which case you want to “minimize the minimum speed time”, but the situation you present, where the distance you drive at minimum speed is equal, makes much more sense of course.
Also, Berlin has many clubs where clubbing culture and kinky/fetish/sexpositive cultures come together. Like KitKat or Berghain.

In those clubs it's more necessary to prevent photos obviously, and that habit makes it more acceptable in regular clubs.
> the same as FARA in the US.

WRONG
https://civil.ge/archives/591175
I own the domain and delegate hosting to a trusted, local provider with known human support. Of course it's also backed from my side up to avoid data loss.

If an issue occurs then I can call a human and will likely be able to regain access. If the company ceases to exist, I "just" need to reconfigure my DNS records and import my backup into a new provider. It's not the cheapest and certainly not free solution but it will be works for me, it has survived at least two migrations between providers.

I can highly recommend mailbox.org and mbsync. Fastmail and other providers who support custom domains will also suffice, pick your poison. If you want (human) support, be ready to pay a small bonus for it.
Notre Dame Cathedral reopens
Gridfinity – The modular, open-source grid storage system for workshops
I'll take the win, but this seems very narrow in scope.

I have a bigger issue with chick-shaped marshmallow figurines with incredibly long shelf life and kid-targeted marketing than I do with the color red.

All this cheap, low value, post-war "food" needs to go. America needs more real food in general and the fact that the general population doesn't understand this problem is a much more important issue to tackle.
It's possible yes. You can also take the phone out of the case. I do this sometimes when i need to scan a QR or something.

It doesn't stop people from doing it deliberately but it prevents the discussion between people holding up a phone and someone else thinking they're being filmed. If someone does that without the sticker it is immediately cause for calling security.
I thought to add more answers based on popular demand or questions people repeatedly ask after seeing it. So feel free to suggest anything you would be curious about.

I have a couple ideas I may add.

1. Interactive game that I like.

2. Timezone comparison tool for potential hiring people.

3. Example of shows, design, tools, etc I use in an interactive way perhaps?

I like your website too. The color scheme and simple focus on content. I’m a huge fan of minimalism.
Don't worry, thanks to Chevron this just needs to get put in front of the right judge and we can get it tossed out in no time at all.
If you see honey at a supermarket, no you don't, that's sugar syrup.

I get my honey from a local beekeeper who delivers to my door. He welcomes people to tour his farm to see how it's produced.

He also sells his honey in the local chain supermarkets. Your broad generalization is false.
Your effort to make these posts consumable by the masses doesn’t go unnoticed. It’s clear you put a great deal of work into them, and the quality you achieve raises the bar in many ways for what to expect when learning about the web. If only all educational materials on MDN could reach these heights.
I frequent a night-club that doesn't allow photography, but doesn't put stickers. People (esp. non-regulars) will occasionally take a photo because they forgot and it's such a normal thing they do in their lives. Removing a sticker requires significant more intentionality.
From the article.

> People violating the rule will be "politely asked to stop", says Abbott. "If you are seen doing it again, you will be asked to leave the venue."

I'm past my clubbing days but can attest to seeing this in practice at a couple venues. Someone started filming one of their friends and both got promptly escorted to the door.
Would that help with Wine?
Not really? You can mitigate this risk by purchasing an existing company with revenue.
What I find puzzling is that around 10 years ago Audi and VW committed fully to electric vehicles, investing $100 billion(?). So why do people now claim they missed the boat on EV development?
You could if you want.

If you don't want just to search outside of your project folder then don't set fallback in your project root justfile and it stops there.
According to the article, no he isn't
Stable yes. Buggy yes. There are all sorts of problems it gets stuck on. solve() is terrible.
A 90s percent of honey is fructose, glucose, and water. A very high 90s percent of corn syrup is fructose, glucose, and water. Getting the ratios the same is trivial. There is nothing magical about fructose or glucose from different sources, they’re exactly the same simple molecule.

If you had very clean corn syrup, you could undetectably dilute honey and it would be quite the same. Lab tests being what they are these days, someone could probably make a part per billion analysis that would be very hard to evade, but the difference is emotional not practical.

People have wrong ideas that honey is so much healthier than corn syrup when it is indeed very similar. Not that i support selling corn syrup as honey, but it wouldn’t make any actual difference other than diluted flavor.
Various clubs and parties in the NYC scene, too, going back well over a decade. I'm genuinely surprised to read there is some (perhaps exaggerated) controversy over this in the news. The places that have strict no photo / no video policies like this pretty explicitly _don't want_ a patron who became interested in attending primarily because they saw a video of the dance floor on Instagram, they cater to scenes and communities where word of mouth and reputation are more than enough to fill the room.
Yes I agree. But remember: but git will automatically merge concurrent changes in most cases - since most concurrent changes aren’t in conflict. You’re arguing you want to see & review the merged output anyway - which I agree with.

Ideally, I want to be able to replace git with something that is built on CRDTs. When branches have no conflicts, CRDTs already work fine - since you merge, run tests, and push when you’re happy.

But right now CRDTs are too optimistic. If two branches edit the same line, we do a best-effort merge and move on. Instead in this case, the algorithm should explicitly mark the region as “in conflict” and needing human review, just like git does. Then humans can manually review the marked ranges (or, as others have suggested, ask an llm to do so or something.). And once they’re happy with the result, clear the conflicting range markers and push.
Russian users report Gazprombank outages amid alleged Ukrainian cyberattack
I think the typical presentation of 4NF makes more sense when you consider the ergonomics of data processing systems when relational modeling emerged. Predating computing, data processing was all centered around "records." Relational databases are often also described in terms of "records," relational modeling emerged out of an attempt to formalize data processing practices, the practitioners of the era were learning relational modeling from a data processing background, so it's no surprise that relational concepts are often presented "as opposed to" the way things were done in data processing.

In traditional data processing systems, a "record" was far more independent than we think of in a relational database. Records were hand-punched onto cards or keyed onto magnetic tape to be sorted, summarized, or whatever operation you cared about by a data processing machine. In this environment, joins were extremely expensive operations, often requiring that the operator feed the card stack over and over again (a rather literal O(n^2)). So, the "weird composed" schema is absolutely what you would do. And a lot of computer software was built around the exact same concepts, which made sense anyway as computers often continued to use sequential-access storage devices with similar (but less severe) problems around joins. This era famously persisted for a long time, with relational modeling as an academic concept well predating successful implementations of relational databases.

One could argue that all of the normal forms are pretty much "stop doing it the old sequential access (card-stack) way and use random access concepts (keys and joins) instead."

Of course that leaves the question of whether or not we should teach it that way... we don't tend to tell students about how memory is now random access, so perhaps by the same turn the historical approach isn't useful for teaching here. But it would undoubtedly be more effective if you give a little of the history.
Yes it's terribly buggy. Incorrect answers sometimes depending on release versions and solve gets stuck all the time. I tend to use Xcas/GIAC instead where I can. Also bundled on my calculator (HP Prime).

It's so bad that the university I "loosely associate" with have their own patched version to fix a load of problems with it.