MurphyA/hacker-news huggingface dataset:
by rurp | 2025-04-11 20:38:52+00:00
I fully expect to be disappointed but what should happen if Dems ever get back into power (and that's a definite `if`) is to immediately cut off all dealings this corrupt guy's companies. No more government agencies on twitter, no more massive government subsidies for his companies, no more special regulatory treatment, and so on. Dems being Dems, they will probably just muddle around and do absolutely nothing to address all of this insane corruption, if they even get a chance to.
by ekorz | 2025-04-11 20:38:57+00:00
I was also sad to hear about how much RNG is in the game, that is a detractor to what seems like a well put together experience otherwise. If you wanted to give something else a try, and have a PC, I made a first-person puzzle game that's (hopefully) more akin to Antichamber and the puzzle bits of Outer Wilds, called Chroma Zero. There's a demo on steam if you just want to dip your toe in. https://store.steampowered.com/app/3121470/Chroma_Zero/
by Melatonic | 2025-04-11 20:39:09+00:00
Windows 10 LTSC IOT has all the bloat and spyware stripped out and will get security updates for years. It's super lean.

Will third party apps keep installing updates ? Hard to say. The adobe suite already refuses to install the latest version on any LTSC (for no reason other than they don't want to support it - it works great) so who knows.

Suspect my next OS will be Windows 12 LTSC if I can hold out long enough - every other Windows version alway seems to be experimental crap going all the way back to ME (millennium edition)
by jfengel | 2025-04-11 20:39:53+00:00
"A leaked document seen by the climate website DeSmog reveals that helping to fuel this backlash was a PR firm, Red Flag, which represented the Animal Agriculture Alliance, a meat and dairy industry coalition set up to protect the sector against “emerging threats”, and which has staff from Cargill and Smithfield Foods – two of the world’s five largest meat companies – on its board."
by maeil | 2025-04-11 20:40:11+00:00
Chris Krebs just yesterday had his security clearance revoked solely for saying the 2020 election was fair and not rigged.

His coworkers at SentinelOne (almost certainly most of who are citizens) also had their clearances revoked, despite never speaking out on the topic, purely as a North Korea style "punish the whole family" approach to strike fear into people of guilt by association, so that those who have spoken out in any shape or form become social pariahs.

Citizens having their career taken away for saying an election wasn't rigged, or for happening to work at the same place as someone who said this.

If you think the status quo hasn't yet changed to "In countries like China, Russia and the US, speaking out against the government puts both your livelihood and that of those in your vicinity at serious risk", you're dead wrong.
by ninetyninenine | 2025-04-11 20:40:19+00:00
>I think Pike is acknowledging the practical realities of engineering at scale, and intentionally designed Go with simplicity in mind, which leads to more maintainable code and faster onboarding for new devs.

Doubt it. Read what he wrote. He's literally referring to people without much experience in programming. The stuff you said is literally NOT what he said.

>I'll also add that outside of the popularity metric, Go is not all bad. Fast compile times, readability, excellent standard library and toolchain, backward compatibility, to name a few things.

I agree with readability and fast compile times.
by bell-cot | 2025-04-11 20:40:29+00:00
> The agreement stipulates that the CSU will be in charge of the “super–high-tech ministry,” as party leader Markus Söder called it in a press conference this week. The CSU has not proposed a minister yet, but it’s widely expected that Dorothee Bär, who was in charge of “digital infrastructure” in previous governments under former Chancellor Angela Merkel, will get the nod.

https://en.wikipedia.org/wiki/Dorothee_B%C3%A4r

Sounds like her only non-political experience is working as a journalist.

It's arguable that the "corrupt" part was scrubbed off Wikipedia. But her credentials to lead a research / technology / aerospace ministry certainly sound underwhelming.
by sshine | 2025-04-11 20:40:36+00:00
> what about [...] if a process has taken an item off a queue and then crashes before having fully processed it

> you might not even know from the outside if it has been fully, partially, or not at all processed yet

Erlang does not propose a unique solution to distributed problems, just good primitives.

So the answer would be the same; you'd keep track in the queue if the element was partially popped, but not completed, and you report back to the queue that the processing failed and that the element should be fully put back.

So in Erlang you might monitor a worker process and requeue items handled by processes that failed.
by cosmic_cheese | 2025-04-11 20:40:47+00:00
That’s part of it, but it helps a lot that Procreate’s both extremely affordable and a single purchase. That’s a great combo when your target audience are artists, a crowd that is generally pretty cash-strapped. Creative Cloud’s cost is actually pretty steep over time.

It also helps that when Procreate adds features, it’s always stuff that’s desired by a large chunk of their users and is broadly useful. Contrast this to e.g. Photoshop, where for many of us eliminating 98% of the new features added since CS2 would make no material difference in day to day usage.

Adobe would be well served by building “heirloom” versions of their tools that are single-purchase, affordable, and have a fixed CS1/CS2-ish feature set with all development thereafter being put into optimization, stability, etc. That’d be plenty for even many commercial artists, let alone “prosumers” and more casual users.
by ern0 | 2025-04-11 20:41:14+00:00
Programming With AI: Forget "We Have Always Done It This Way", Enter "The Corpus Was Biased Towards This Way" (Case Study)

The term "prompt engineering" sounded like bullshit at first, but this study confirmed my suspicion that I was wrong. Programmers' jobs will not be taken away by retrained insurance agents.

"I was curious whether popular large language models can implement a simple audio effect in Python, and if yes, then how do they balance computational cost and audio quality, and how do their solutions compare to my handcrafted, non-AI-aided version."
by mschuster91 | 2025-04-11 20:41:28+00:00
> How to handle network and IP duplicates on cloned VMs

That is indeed what I would love to read the most! Because no matter what you do, it gets complex - if you tear down the network stack of the "old" VM, applications (like Minecraft) might be heading down into unstable territory when the listener socket disappears and the "new" VM has to go through the entire DHCP flow that may easily take a second or more, and if you just do the equivalent of S3 sleep (suspend to RAM), the first "new" VM will have everything working as expected but any further VM being spawned from the template will run into duplicate IP/MAC address usage.
by abeppu | 2025-04-11 20:41:37+00:00
... and you're absolutely right, innocent people had basically no recourse when Meta took down their content, or shadow-banned them etc on the claim that they were inciting violence, pro-terrorist, engaging in hate-speech etc. The accused cannot publicly point to their post which merely used a palestinian flag emoji, or mentioned an assassinated writer. The burden should have been much higher for Meta when casting such accusations about.
by EasyMark | 2025-04-11 20:41:40+00:00
with the current pattern by DOGE, I would say that it's likely they monitor grift and do audits of various departments. DOGE and Trump has been gutting many government oversight groups that are set up to prevent grift and fraud. I suspect 10 years down the road we'll find tons of grift under this administration after it's no longer in control
by submeta | 2025-04-11 20:42:05+00:00
> Lisp's dreaded Cambridge Polish notation is uniform and universal. I don't have to remember whether a form takes curly braces or square brackets or what the operator precedency is or some weird punctuated syntax that was invented for no good reason. It is (operator operands ...) for everything. Nothing to remember. I basically stopped noticing the parenthesis 40 years ago. I can indent how I please.

Well, that might be true for Scheme, but not for CL. There are endless forms for loops. I will never remember all of them. Or even a fraction of it. Going through Guy Steel’s CL book, I tend to think that I have a hard time remembering most of the forms, functions, and their signatures.
by nyrikki | 2025-04-11 20:42:07+00:00
This is one of the "costs" of reproducible builds, just like the requirement to use pre-configured seeds for pseudo random number generators etc.

It does hit real projects and may be part of the reason that "99%" is called out but Fedora also mentions that they can't match the official reproducible-builds.org meaning in the above just due to how RPMs work, so we will see what other constraints they have to loosen.

Here is one example of where suse had to re-enable it for gzip.

https://build.opensuse.org/request/show/499887

Here is a thread on PGO from the reproducible-builds mail list.

https://lists.reproducible-builds.org/pipermail/rb-general/2...

There are other costs like needing to get rid of parallel builds for some projects that make many people loosen the official constraints. The value of PGO+LTO being one.

gcda profiles are unreproducible, but the code they produce is typically the same. If you look into the pipeline of some projects, they just delete the gcda output and then often try a rebuild if the code is different or other methods.

While there are no ideal solutions, one that seems to work fairly well, assuming the upstream is doing reproducible builds, is to vendor the code, build a reproducible build to validate that vendored code, then enable optimizations.

But I get that not everyone agrees that the value of reproducibility is primarily avoiding attacks on build infrastructure.

However reproducible builds as nothing to do with MSO model checking etc... like some have claimed. Much of it is just deleting non-deterministic data as you can see here with debian, which fedora copied.

https://salsa.debian.org/reproducible-builds/strip-nondeterm...

As increasing the granularity of address-space randomization at compile and link time is easier than at the start of program execution, obviously there will be a cost (that is more than paid for by reducing supply chain risks IMHO) of reduced entropy for address randomization and thus does increase the risk of ROP style attacks.

Regaining that entropy at compile and link time, if it is practical to recompile packages or vendor, may be worth the effort in some situations, probably best to do real PGO at that time too IMHO.
by bealex | 2025-04-11 20:42:18+00:00
Thanks for the thoughtful comment! We’re not trying to convince anyone to switch—Home Assistant’s app is powerful, no doubt, and we’ve got a ton of respect for what the team has built. Our focus is a bit different: we’re building a clean, elegant dashboard that’s easy for anyone in the household to use, not just the HA admin. We also offer a few things that aren’t available out of the box with HA, or that take more effort to set up. Think of it more as a complement than a replacement.
by timewizard | 2025-04-11 20:42:48+00:00
> Not the case with Twitter.

I view content on X without an account every day.

> would not put information EXCLUSIVELY on a private

That's where they're being released. Literally anyone can copy that to whatever platform they want. This is how "press releases" work in the first place. Is there some assumption that the general public is refreshing the press release page every day to be informed?

> Which, btw, is not costly to do.

Have you worked in government before?
by ninetyninenine | 2025-04-11 20:43:03+00:00
>Why not?

TO prevent a runtime error. You say it Doesn't make any difference in practice meaning you never had a runtime error while running go? Impossible.

>A complete type system is insanely complex to implement and even harder to write against.

Who says you need a complex type system? You just need exhaustive evaluation of sum types. That's one feature that's it.

Removing run times errors doesn't mean building the most complex type system in the world.
by krferriter | 2025-04-11 20:43:22+00:00
The code is written the same way it is logically structured. `let` takes 1+ arguments: a set of symbol bindings to values, and 0 or more additional statements which can use those symbols. In the example you are replying to, `bar-x` and `quux-y` are symbols whose values are set to the result of `(bar x)` and `(quux y)`. After the binding statement, additional statements can follow. If the bindings aren't kept together in a `[]` or `()` you can't tell them apart from the code within the `let`.
by keeganpoppen | 2025-04-11 20:43:46+00:00
yes to all of this. i actually think my cat thinks i am dumb, because she often mimes out the thing that she wants me to do in increasingly unsubtle ways as she gets more and more frustrated as i don't get it-- like she is playing charades and i'm the useless teammate that isn't getting it (which i find absolutely hilarious every time, even if it is often something that is objectively annoying were i to forget that she is a cat and not a human). she also has an astonishing "vocabulary" of very different meow... tambres?... that it is very hard for me to think don't have _some_ purpose-- if they didn't, why wouldn't she just make the same or similar noises every time?
by NegativeK | 2025-04-11 20:43:51+00:00
More anecdote: a bunch of contractors were being fired (or whatever it should be called) because the project they were working on was a horrible shit show. I don't know what went wrong, but it was a lot of money that produced nothing and was publicly canceled.

A friend knew a hiring manager and was a quiet shoo-in for a job. HR dragged their feet for half a year and then, suddenly, moved at absolute light speed to get the job posting up, closed, and the shoo-in to be approved as much as possible.

It was because the contract was ending soon. Laid off workers (including contractors), veterans, and people with disabilities are given priority during the hiring process (which makes some kind of sense), but these contractors had such a stink associated with them that the HR people who presumably didn't want to work with the manager suddenly did, just to avoid hiring the contractors.
by bealex | 2025-04-11 20:43:53+00:00
Good question! We didn’t mean to hide the pricing. The reason we left it off originally is that app stores adjust prices by country, and we didn’t want to confuse people by listing just the US price or trying to maintain a huge list of 150+ regional prices. That said, we get that having a ballpark is better than nothing, so we’ve now added the US pricing to the site.
by fp64 | 2025-04-11 20:44:08+00:00
I have filled plenty of paperwork for customs, my employer explained me what I had to do, because I imported stuff on behalf of my employer. I could have also just tried to hide it in my luggage, but then it wouldn’t surprise me if my visa was revoked as well. Why would you mess with customs, in particular if you do this not for your personal fun?
by lambda | 2025-04-11 20:44:12+00:00
Huh? This is a paper published in Nature, and it does cite Olof Kindgren and SERV in the references: https://www.nature.com/articles/s41586-025-08759-9#Bib1

The paper itself is behind a paywall so I can't see it, but it looks from the references like they provided proper attribution.

It's unfortunate that some of the articles around it don't mention that, but it seems like the main point of this is discussing the process for building the transistors, and then showing that can be used to build a complete CPU, not the CPU design itself which they just used an off-the-shelf open source one, which is designed to use a very small number of gates.
by seba_dos1 | 2025-04-11 20:44:14+00:00
> An business should be able to buy cheap Android phones in bulk, install Linux

Good luck with that. Unless you settle for Android middleware underneath your OS (like some existing projects do), it's a massive undertaking. You still need to invest a lot into R&D while you lose what's differentiating you in the process (in case of Librem 5, there are things like hardware kill switches, PGP card reader, replaceable M.2 modules etc.) so you can chase SoCs that will already be considered obsolete once you're done with the software anyway. Even Purism with their prices couldn't afford to use an unsupported SoC and relied on NXP's upstreaming efforts.

I suspect that if I was wrong and it was actually a viable path it would already be taken by someone. Maybe we'll see something appearing in coming years, as these days more vendors actually started to care about mainline support, but as it is today the landscape is still not that great, especially when it comes to SoCs that are actually targeting smartphones.
by steve_adams_86 | 2025-04-11 20:44:18+00:00
Lead acid batteries still offer far better performance in cold conditions, voltage stability, burst current capacity, and ease of charging.

You can overcome most of these issues, but it comes at a significant cost. I think it could be worth it, especially when you factor in that the lithium ion battery could theoretically pay for itself in longer lifespan, but most buyers would prefer the cheap, familiar, reliable option.
by whorleater | 2025-04-11 20:44:27+00:00
One thing I haven't seen being discussed is the BEAM internals becoming a little long in the tooth. We still have static reductions before the scheduler switches to another task, the priority system in scheduling is a bit dodgy, flipping vmargs is kinda complex, lock counting and crash dump tooling kinda suck, etc.

BEAM is great, although it's definitely missing something like pprof for go or java flight recorder.
by rdtsc | 2025-04-11 20:44:58+00:00
> The end result is detention or deportation of a highly skilled professional with ongoing employment in the US.

Agree. However, this kind of visa is not necessarily for highly skilled professionals, it can be for general cultural exchange, even for au pairs. They have to be "sponsored" by someone. As such, it can also be a vehicle to get people in the country and overstay the visa, I know someone who did that. Then, once it's cancelled, the general rule is you can't enter into the country. To a port of entry person a J-1 for a nanny for a rich family is just as good as J-1 for a Harvard researcher. Except the Harvard researcher now did break some rule so is in a much worse position.

> at least when it comes to graduate level research.

Most definitely. There should be someone looking here and saying maybe these should different visa types and the requirement to leave sounds excessive. It shouldn't be the default, I think. Maybe with the most visible cases like these, there is more of a chance to change the rules.

> Neither is it clear why you would ever want to deny a visa to such a person to begin with.

They broke a rule or law and seemingly tried to hide it. At that point I guess it depends on the mood of the person at the port of entry. It shouldn't be like that but it is. There is no general right to have a visa or some way to compel the US government to give you one. A lawyer through a court could make a case here. But in general you can't show up and say "You owe me a J-1 visa" or "you'll un-cancel the previous one".
by 3minus1 | 2025-04-11 20:45:31+00:00
Some of my favorite qualities in various managers:

- Deep technical knowledge. Someone you can respect as a fellow engineer. - Really loud and forceful in meetings. Someone who can represent your work well to a team of other managers - A good friend - Super honest and transparent - Combination of deep technical knowledge and passion/involvement in the team's mission. This was my favorite because I felt the manager could truly appreciate the work I did.
by zX41ZdbW | 2025-04-11 20:45:41+00:00
Hacker News archive is hosted in ClickHouse as a publicly accessible data lake. It is available without sign-up and is updated in real-time. Example:

# Download ClickHouse: curl https://clickhouse.com/ | sh ./clickhouse local # Attach the table: CREATE TABLE hackernews_history UUID '66491946-56e3-4790-a112-d2dc3963e68a' ( update_time DateTime DEFAULT now(), id UInt32, deleted UInt8, type Enum8('story' = 1, 'comment' = 2, 'poll' = 3, 'pollopt' = 4, 'job' = 5), by LowCardinality(String), time DateTime, text String, dead UInt8, parent UInt32, poll UInt32, kids Array(UInt32), url String, score Int32, title String, parts Array(UInt32), descendants Int32 ) ENGINE = ReplacingMergeTree(update_time) ORDER BY id SETTINGS refresh_parts_interval = 60, disk = disk(readonly = true, type = 's3_plain_rewritable', endpoint = 'https://clicklake-test-2.s3.eu-central-1.amazonaws.com/', use_environment_credentials = false); # Run queries: SELECT time, decodeHTMLComponent(extractTextFromHTML(text)) AS t FROM hackernews_history ORDER BY time DESC LIMIT 10 \G # Download everything as Parquet/JSON/CSV... SELECT * FROM hackernews_history INTO OUTFILE 'dump.parquet'

Also available on the public Playground: https://play.clickhouse.com/
by EasyMark | 2025-04-11 20:45:49+00:00
I have no idea but I find it hard to believe that announcing government policy on a billionaire's platform is a really bad idea when a basic web page could do the same thing. How hard could it be to emulate a message stream on a .gov site that has the features of X? There have to be dozens of open source packages out there that could do it, and then they control it. At any point, twitter could shut down the stream and it would take weeks to months to set up a site to replace it.
by jrflowers | 2025-04-11 20:46:25+00:00
I am not sure that linking to one post that agrees with your decision to provide your own title for the article (in contradiction to one of HN’s core rules no less) in order to intentionally steer discussion away from the subject of the article is that compelling of a way to convince people that your editorial decision here was correct. It certainly does nothing to address a valid concern about the precedent that this sets.

Rather than taking on the task of manually editing headlines to be more sympathetic to Israel perhaps the site could implement a filter that disallows the word from being used in titles or posts altogether? If that is the aim, it would save you time having to answer questions about it.
by jfengel | 2025-04-11 20:47:23+00:00
We Gen X'ers fancied ourselves the Invisible Generation ever since we coined the term -- the entire point being that we didn't have an actual name of our own.

I will note that as far as the millennials are concerned, we are boomers. When they say "ok boomer" they include us. That's not entirely fair, but it's true that we didn't do a great job of preventing the boomers' excesses from creating the problems that now face the millennials.
by krferriter | 2025-04-11 20:47:29+00:00
Most of the code in most programs is not the part that is doing the I/O. It's doing stuff on a set of values to transform them. It gets values from somewhere, does stuff using those values, and then outputs some values. The complicated part is not the transfer of the final byte sequence to whatever I/O interface they go to, the core behavior of the program is the stuff that happens before that.
by xp84 | 2025-04-11 20:47:45+00:00
Edit: I'm deleting most of my post, to avoid politics part and only preserving my "point"

Basically I'm saying: Nobody has a right to free wide distribution of their thoughts on social media anyway, and also, those who provide these free ad-supported platforms have many reasonable motivations to remove content -- including the belief that the speaker is wrong/spreading lies and propaganda. That doesn't 'silence' them any more than not letting them into my house silences them.