MurphyA/hacker-news huggingface dataset:
by trhway | 2025-04-07 09:09:46+00:00
>the onus is on everyone in the chat to call that out as wrong

that would be in a group of even minimally qualified professionals, not the clowns who got their jobs on a whim of the bigger clown. You know the monkey with a nuclear bomb. I hope we wouldn't see how they handle the real bomb, and for now just the tariffs have like an extremely large nuke just wiped $10T+, and it isn't "just stock market", it is large complicated efficient logistics chains and trade relations that were built over years and were powering this civilization. To compare, the damage from the Ukraine war - you'd need several tens of nukes to produce such damage - is just around a "meager" $1T.
by mubou | 2025-04-07 09:10:01+00:00
> I'm referring to the fact that the rust code panics at the slightest sign of discomfort.

That's kind of up to you as the developer though. I generally avoid writing functions that can panic -- I'd even argue any non-test code that panics is simply poorly written, because you can't "catch" a panic like you can in a high-level language. Better to return an error result and let the calling code decide how to handle it. Which often means showing an error to the user, but that's better than an unexpected crash.
by azornathogron | 2025-04-07 09:10:23+00:00
USB-C can handle 24W on a normal thin cable because the voltage can be ramped up to provide more power at a safe current level. It's high current that makes connectors and cables heat up and creates risks, not high power overall.

Supporting that higher voltage requires hardware support on both ends and also active negotiation on both ends so the devices can agree what voltage to use. (Without that it falls back to the old USB default 5V and a much lower max power)
by tokioyoyo | 2025-04-07 09:10:45+00:00
I mentioned this before, and once again, it makes more sense if you look at all of this as side effects of the American population and leaders not accepting that they have lost global leadership by any meaningful metrics. It’s like everyone is freaking out, getting angrier and angrier, and throwing the sink out as well. From outside, it just looks sad. All I can think is, they’re trying to rewrite the rules that they came up with, but this time around, it is less likely for others to fold.

I might be wrong. Well, I actually hope I’m wrong. But it is what it is.
by mingtianzhang | 2025-04-07 09:11:23+00:00
Hi Imanari! That’s essentially one of the key challenges we’re aiming to address with our PageIndex package.

We’ve designed two LLM functions:

a. LLM Function 1: init_content -> initial_structure

b. LLM Function 2: (previous_structure, current_content) -> current_structure

The idea is to split a long document into several page groups (each within the context window size). You first apply Function 1 to the first group to get the initial structure, then use Function 2 in a for-loop over the remaining page groups to recursively build out the rest of the structure.

This approach is commonly used in representation learning for time-series data. We'll be releasing a technical report on it soon as well.

Mingtian
by 0x0 | 2025-04-07 09:11:45+00:00
I recently ran into an issue with this because building an iOS .ipa from the command line with xcodebuild apparently ends up shelling out to call rsync to copy some files between local directories, and because I had homebrew rsync earlier in $PATH, it would end up running homebrew rsync, but xcodebuild passed an openrsync-only command line argument "--extended-attributes" that homebrew rsync doesn't understand and would exit with a failure.
by jtsaw | 2025-04-07 09:11:56+00:00
I’d say it’s more like Waymo’s world model. The main actor uses a latent vector representation of the state of the game to make decisions. This latent vector at train time is meant to compress a bunch of useful information about the game. So while you can’t really understand the actual latent vector that represents state, you do know it encodes at least the state of the game.

This world model stuff is only possible in environments that are sandboxed. Ie you can represent the state of the world in an and have a way of producing the next state given a current state and action. Things like Atari games, robot simulations, etc
by HenryBemis | 2025-04-07 09:12:24+00:00
(I assume/will try to interpret as...) Meaning that the role has some rules (written and unwritten). I can gossip about what went wrong at work today when out drinking with friends without breaking any laws/contracts, or I can just shut up and not gossip/brag that "today we killed 100 people", especially when celebrating the death of people.
by Cthulhu_ | 2025-04-07 09:12:47+00:00
Lack of oversight, too much power, failing checks and balances.

It's not unique either; the former prime minister of the Netherlands, Rutte, insists on using a Nokia phone and plain text messages, refusing to divulge what is in those messages and deleting them as there's limited space, thus not adhering to any archival requirements.
by hollerith | 2025-04-07 09:13:18+00:00
>Do we actually want "I just want a stable job" people being a significant part of the federal governments workforce?

Yes we do.

Software development is unusual in that if a coder's mind goes off the rails and he starts committing bad code, the organization can easily use `git reset` to revert his changes.

Most jobs aren't like that. For example, on the factory floor, if a machine operator gets too creative, inspired or enthusiastic about the work, people tend to start losing limbs. And the managers of the factory floor are keenly aware of that, which is why passion is not a quality they want in their machine operators and neither is wanting to change the world.
by bayindirh | 2025-04-07 09:13:52+00:00
As a counterpoint, many daemons or programs (e.g.: sshd, ssh, slurm, munge to name a few) expect their files to have specific users, groups and modes for security and behavioral guarantees, and flat out refuse to run if these requirements are not met.

When installing these things from archives or moving/distributing relevant files to large fleets, I expect the file contents and all metadata incl. datestamps to be carried the way I want, because all of that data is useful for me and the application which uses the file.

If the user doing the copying has no right to copy the file exactly, I either expect a loud warning or an error depending on the situation.
by squiggleblaz | 2025-04-07 09:14:11+00:00
> GNU did not have a working system until Linus released Linux in 1992. They had pieces and components which were worthless on their own.

People were installing GNU onto existing Unix systems because GNU was better than they were distributed with. Maybe they did that with components of BSD Net/1 - no one has ever told me they did but it probably happened - but that was definitively post GNU.

Anyway, I'm not sure if this matters so much to the debate. Stallman was reacting to a change. He rambled politically and wrote some code to back it up because he used to be able to do things, and now he could only do them if he would write some code and win some allies.
by subscribed | 2025-04-07 09:14:42+00:00
Yeah, and this myth of never charging until empty has persisted through the 3 decades of the battery technology changes.

Not sure what would work for EVs too? I'd suggest education from the ev manufacturer is better (eg by repeating to the driver the first 50 times how and why to prepare for changing), and by the technical means (doint it automatically if possible).

Creating yet another "rule" that will then persist as the downright counterproductive or maybe even harmful myth decades later is not a good solution IMO.
by goku12 | 2025-04-07 09:16:25+00:00
There is something bigger at play when so many people make mistakes all at once. Considering the seriousness of the topic, wasn't there any sort of protocol or monitoring system that would alert them that the information is too privileged for that medium? I have seen ordinary institutions behave more sensibly. I don't have any experience in national security matters. But even as a tech professional, I would expect at least one dedicated official to be watching the channel for compliance. How does such an experienced institution make such fundamental mistakes?
by NoboruWataya | 2025-04-07 09:16:35+00:00
I use Arch on my personal laptop daily but have Debian installed on a VPS, and this is one aspect of Debian that bugs me (though I totally understand why they do it). I am so used to having the latest version of everything available to me very quickly on Arch, I am quite commonly stung when I try to do something on my VPS only to find that the tools in the Debian repos are a few versions behind and don't yet have the features I have been happily using on Arch. It's particularly frustrating when I have been working on a project on my personal laptop and then try to deploy it on my VPS only to find that all of the dependencies are several versions behind and don't work.

Again, not a criticism of Debian, just a friction I noticed moving between a "bleeding edge" and more stable distro regularly.
by DonHopkins | 2025-04-07 09:18:14+00:00
I prefer ITS DDT (aka HACTRN), with its built-in PDP-10 assembler and disassembler, that lets you do things like your login file customizing your prompt in assembly code to print the time by making system calls, without actually spawning any sub-jobs to merely print the time:

https://gunkies.org/wiki/ITS_DDT_Guide

..PROMPT holds the instruction which DDT uses to type out a "*". You can replace it with any other instruction. To use "%" instead of "*", deposit $1#%$> in that location ($> to avoid clobbering the opcode without having to know what it is)

If you have to use arcane syntax and grawlix profanity, you should at least have direct efficient access to the full power of the CPU and operating system.

https://en.wikipedia.org/wiki/Incompatible_Timesharing_Syste...

https://en.wikipedia.org/wiki/Dynamic_debugging_technique

https://web.archive.org/web/20061011004003/http://www.sigfs....

https://its.victor.se/wiki/luser

https://www.hactrn.net/sra/alice/alices.pdp10

https://gunkies.org/wiki/Incompatible_Timesharing_System

(I recognize that photo I took of MIT-MC at the MIT-AI Lab!)

https://gunkies.org/wiki/File:Mit-mc.jpg

Even the Apple ][ Integer Basic monitor ROMs had a build-in mini assembler and disassembler.

https://www.ldx.ca/notes/apple2-notes.html
by disgruntledphd2 | 2025-04-07 09:18:17+00:00
Because otherwise China will sell all of their tarrifed goods into the EU, undercutting local producers.

Note that the EU is also removing their di minimus loophole (with a longer lead time, announced last month). See the tarriffs on BYD for likely moves on other goods.

And yes, this is a bad idea. But it's the least worst idea available right now.
by Jean-Papoulos | 2025-04-07 09:18:17+00:00
The other day I had to go through 15 years old PowerPoint files to grab the originals of pictures made by a guy extremely proefficient at creating detailed artwork from PowerPoint forms that's now retired. Was can now render them to full-hd PNGs instead of the 256x256 BMP files we were using before.

Storing "useless" data makes financial sense.
by libertine | 2025-04-07 09:18:21+00:00
I agree with that, but that wasn't the point of my comment to say that any amount of disinformation is a product of propaganda.

My point is that there's a new Institutional crisis being exacerbated by conspiracies, disinformation, and misinformation. A lot of people have strong opinions based on a shallow perception of reality.

This contributes to the acceleration of Institutional collapse (like Democracy, Public Health, Public Service...), and it's being amplified by foul actors to feed back more into this nonsense. This feeds into distrust or even irrational hate of institutions that contributed to the success of Western countries.

I just gave a few concrete examples, with sources, of such an activity.

I'm not saying everything is right, or that there aren't problems, like corruption, opacity, etc. But it doesn't warrant destroying everything for the sake of an aesthetic or a misplaced sense of resentment acquired on social networks.
by LadyCailin | 2025-04-07 09:18:45+00:00
Given how it’s mostly states that take more from the federal government than they give, that are trying to destroy the federal government, my view on keeping the federal government has begun to soften. If Mississippi actively wants to shoot themselves in the foot, at some point, you just have to give up trying to disrupt their plan. Of course not everyone in Mississippi wants that, and many people who don’t will be seriously negatively affected, and won’t have the means to move, so they are why my position hasn’t changed yet.
by Cthulhu_ | 2025-04-07 09:20:08+00:00
Sure, but the use case of Signal isn't for secret communications, so the stakes of adding the wrong person should be a lot lower in normal use.

If it was intended as a secure communications platform for government use, they wouldn't be using phone numbers and an address book that can have incorrect information.

I did read Signal was being used in the military etc, but only as a notification system that they should check their actually secure communications thing.
by volleyball | 2025-04-07 09:20:13+00:00
We have video footage of Israeli soldiers sniping a 12-year old boy setting off fireworks near the west-bank wall. To those asking "How do we know if it was IDF that shot the boy" there is video footage of Israeli security minister congratulating and praisingthe shooter. [1]

We have video footage of IDF raping prisoners[2] and we have footage of one of the rapists being treated like a celebrity and getting standing ovations on Israeli national tv [3][4].

If i had to list all the video footage just from the last 18 months alone, i would be here all day and it would likely ruin your day. If anyone has still not woken up to the reality of what Israel is, its not for lack of video footage.

[1] - https://www.youtube.com/watch?v=JBkNDNj05XA [2] https://www.theguardian.com/world/video/2024/aug/08/israeli-... [3]https://www.youtube.com/watch?v=1UNWxLz6_ME [4]https://www.youtube.com/watch?v=1UNWxLz6_ME
by d1sxeyes | 2025-04-07 09:20:19+00:00
I think the problem is that because of the huge disparity between the cost of imported and domestic goods which has developed over decades, the choice that people face is not 'oh, now imported goods are a little more expensive, I will instead buy American', it's 'now I can't afford to buy anything at all.'

You have to get more money into the hands of the consumers in order to be able to implement something like this.
by danijar | 2025-04-07 09:20:48+00:00
Hi, author here! Dreamer learns to find diamonds from scratch by interacting with the environment, without access to external data. So there are no explainer videos or internet text here.

It gets a sparse reward of +1 for each of the 12 items that lead to the diamond, so there is a lot it needs to discover by itself. Fig. 5 in the paper shows the progression: https://www.nature.com/articles/s41586-025-08744-2
by tmnvix | 2025-04-07 09:21:19+00:00
Yeah, I've seen my share of those.

I sort of assumed that Air NZ started this trend because of all the hype surrounding the first ones. There's an article covering the history of these here: https://www.rnz.co.nz/news/the-wireless/374709/feature-a-bri... (they claim the first was in 2009, so a couple of years after the earliest one mentioned in tfa).

I find them downright annoying now. The cringe factor makes them uncomfortable to watch which is not what you want from a safety video. It feels as though they jumped the shark.
by wraaath | 2025-04-07 09:21:47+00:00
All of the major Wall Street banks called in their staff over the weekend. Lots of margin calls going out due to the market losses so far. Monday will be another bloodletting day, so there will be a chance that some customers may go unrecoverable net negative. This raises the issue of counterparty risk, and everyone tightens up as a result. Capitalization then becomes key, and with losses flying around, the first one to breach will end up cascading the risk to others. 2008 all over again, and oh yeah, weren't there mass layoffs on the government regulators side a few months ago - so who's answering the phone or running due diligence on the government side to figure out who is salvagable and who isn't?
by varispeed | 2025-04-07 09:22:29+00:00
The idea that IR35 only affected people "skirting too close to employment" is the exact narrative big consultancies wanted the public to believe. It reframes trust-based, long-term client relationships - the lifeblood of any good business - as suspicious when delivered by individuals, but completely acceptable when delivered by large firms.

Here's the reality: a one-person limited company providing services to a council for several years is treated as "dodgy" or "cheating the tax system." But if a big consultancy sends in a contractor to sit at the same desk for the same duration, it's completely exempt from IR35 scrutiny. The only difference? Ownership. The first is worker-owned, the second is not.

IR35 doesn't prevent "disguised employment." It just channels it through structures that protect and enrich corporate intermediaries. And those same intermediaries are often billing 2–3x the rate a direct contractor would charge—while extracting value from someone else's labour, then exporting the profits.

You also dismiss repeat clients as a sign of disguised employment - but by that logic, any successful small business with loyal customers should be disqualified from existing. Long-term client relationships are the goal of any serious enterprise. It's only when those relationships threaten the margins of large incumbents that they suddenly become suspect.

IR35 wasn't about fairness or tax efficiency. It was about reclaiming market share - removing small, independent operators who were too competitive, too flexible, and too accountable to clients, and replacing them with firms who could play the compliance game and charge more for less.

So no—IR35 didn’t just "clean up abuse." It entrenched it. It created a two-tier system where actual independence is punished, and corporate dependency is rewarded. That's not reform - that's capture.
by 3D30497420 | 2025-04-07 09:22:32+00:00
> I'm expecting the tariffs on Chinese EVs to be rolled back in EU after the US tariffs.

I doubt it. This would likely have a significant negative impact on domestic EU car companies, most of which are considered cornerstones of their local country's economy. Now, whether this should happen (to benefit consumers/the environment) is another argument.
by on_the_train | 2025-04-07 09:23:45+00:00
This usually interests hn folks. Working there, I can say that mirror metrology (i.e. measuring the mirrors during production), the shape of the mirror and how they're controlled during operation etc are all technically much much more advanced and expensive/secret than polishing.

Also the info is a bit old: high na is all the rage tech wise, although customers are going back to older tech because it's more affordable.
by pjc50 | 2025-04-07 09:24:01+00:00
Could you give an example of "clever" (bad) vs "simple" (good)?

In my experience C has a lot of simple grammar, a commonly-held simple (wrong) execution model, and a lot more complexity lurking underneath where it can't be so easily seen.

(One of my formative learning books was https://en.wikipedia.org/wiki/C_Traps_and_Pitfalls , valid in the 90s and mostly still valid today)
by kharak | 2025-04-07 09:24:34+00:00
In my mind, this generalizes to the same problem with other non-stochastic (deterministic) operations like logical conclusions (A => B) .

I have a running bet with friend that humans encode deterministic operations in neural networks, too, while he thinks there has to be another process at play. But there might be something extra helping our neural networks learn the strong weights required for it. Or the answer is again: "more data".
Show HN: Modify Codeblock CSS in Hugo with Simple Render Hooks
by thisdougb | 2025-04-07 09:24:48+00:00
Hi,

Latest task in solo-building a tech business. Creating a statically generated blog that fits seamlessly alongside a dynamically generated main website.

There's not much around about Hugo static site generation while not using themes. I found opting out of themes much simpler overall. And it then didn't take long to understand how Hugo actually works.

I'm still not 100% decided on .html extensions, but pretty much decided against Hugo's default of a trailing slash on page urls.
by piva00 | 2025-04-07 09:25:38+00:00
Last year I finally got to read a copy of Hunter S. Thompson's "Hell's Angels" that I had purchased while on a trip in San Francisco back in 2015, and just last week I bumped into this quote that is absolutely prescient for the current state of American society which gave power to Trump:

> "To see the Hell’s Angels as caretakers of the old 'individualist' tradition 'that made this country great' is only a painless way to get around seeing them for what they really are, the first wave of a future that nothing in our history has prepared us to cope with. The Angels are prototypes. Their lack of education has not only rendered them completely useless in a highly technical economy, but it has also given them the leisure to cultivate a powerful resentment... and to translate it into a destructive cult. The people who are being left out and put behind won't be obvious for years. Christ only knows what'll happen in, say, 1985 — a million Hell's Angels. They won't be wearing the colors; they'll be people who are just looking for vengeance because they've been left behind."

The USA in its everlasting quest of creating wealth without caring for the effects of blind wealth accumulation on its citizens, where good financial outcomes trumps over good societal outcomes, has created this monster. People who are left behind won't be all re-trained to do high-skill jobs, they will be poor, uneducated, they will be angry and resentful, they will want vengeance.

This is the vengeance, the wrath from a system who doesn't care for you as a person, only caring for you as means of production.

Like you said, the whole system was engineered by the same nation who now hates the system because their leaders focused on perpetuating the system's worst sides in pursuit of wealth instead of caring for them.
by MrMcCall | 2025-04-07 09:25:38+00:00
All his ideas are fantastic, and are obviously the result of long experience in a seasoned and highly successful project. He is sharing techniques that simply work for large, complex codebases. Ignore them at your peril!

Specifically, though, these sections are related, in my experience:

> Avoid "bad" functions

> Buffer functions

> Parsing functions

> Monitor memory function use

These related aspects are why I tend to wrap many library functions that I use (in any language environment) with my own wrapper function, even if it's to just localize their use into one single entry/use point. That allows me to have one way that I use the function, thereby giving my code a place to not only place all best practices for its use, but to allow me to update those best practices in one single place for the entire codebase. And it is especially helpful if I want to simply rewrite the code itself to, for example, never use scanf, which I determined was a necessary strategy many, many moons ago.

Now, when a single function needs to accomodate different use cases and doing such separate kinds of logic would incur too much logical or runtime cost, a separate wrapper can be added, but if the additional wrappers can utilize the cornerstone wrapper, that is the best, if feasible. Of course, all these wrappers should be located in the same chunk of code.

For C, especially, wrapper functions also allow me to have my own naming convention over top of the standard library's terse names (without using macros, because they're to be avoided). That makes it easier for me to remember its name, thereby further reducing cognitive load.