MurphyA/hacker-news huggingface dataset:
by apatheticonion | 2025-06-07 07:43:26+00:00
God I hate multi-threading on the web/nodejs. Rather than implementing syncronization primatives like mutexes or rwlocks that capture the contained values and make them "transferrable" between JavaScript contexts (v8 isolates) - they introduced SharedArrayBuffer that is almost entirely unusable for anything meaningful.

Syncronizing between threads involves thunking and copying data through RPC layers.

Sucks for me because our production app has grown faster than we are able to rewrite it and uses 70-100gb of ram (written before my time). To try to get around this, we are investigating exotic solutions like using native code to manually manage pages of shared memory that contains custom data structures and as little serialization/deserializing logic as possible - but of course v8 uses utf16 for string encoding which means working with JavaScript values in the native layer is expensive.
by b112 | 2025-06-07 07:43:37+00:00
You know, I wonder if that's a sad but valuable trait for a politician.

Public opinion can change daily, and external events can appear with no warning. These things can make a prior path of action vanish, or even make it madness to pursue.

If you try to plan everything long term, I bet you hit a lot of disappoint as a politician. If you only see today, then you're not fighting for things that are now not possible.

I imagine one would be far less stressed as a result. And maybe more popular than otherwise.
by gametorch | 2025-06-07 07:45:16+00:00
Yes, but it's not perfect yet.

Here are two examples, from the live website. [1][2]

What you described is a really hard problem. I'm working on it every single day.

The bad news is we aren't really there yet. The good news is I have a lot of ideas to try out in my backlog.

1. https://gametorch.app/public/show_him_winking.mp4

2. https://gametorch.app/commons/spritesheets/1
by bawolff | 2025-06-07 07:46:57+00:00
That might be nice philosophically, but i don't think that is how the average human defines art.

Even people who like art don't really define it that way afaict. For example, "death of the author" is a hugely popular concept when it comes to art, where the idea is that what matters is what the art makes you feel, not what the author was trying to communicate.
by vineyardmike | 2025-06-07 07:49:10+00:00
> Although probably not the actual intended effect

This is actually a really common intention in laws like this. Get the tax cuts during your term, and then kick the can down the road so your successor's term is marred by the bad law. If your successor wants to fix it, they need to pass a different tax to recoup the costs, and incur the publicity of "raising taxes".
by intended | 2025-06-07 07:49:17+00:00
The fact that the crafting of the message and its match with the audience is poor, doesn’t mean that “Ends justify the means approaches always backfire”.

You can make a whole media empire that just spends its time saying that “The other sides is lying” and taking on the role of pointing out every crack and flaw in a wall, lavishing hours upon hours of coverage.

You can find just the right audience to support you, who themselves believe that the ends justify the means. Willing to rethink their lines in the sand for their team.
by a2128 | 2025-06-07 07:49:57+00:00
I think at this point we're reaching more incremental updates, which can score higher on some benchmarks but then simultaneously behave worse with real-world prompts, most especially if they were prompt engineered for a specific model. I recall Google updating their Flash model on their API with no way to revert to the old one and it caused a lot of people to complain that everything they've built is no longer working because the model is just behaving differently than when they wrote all the prompts.
by piva00 | 2025-06-07 07:50:15+00:00
The USA would get SpaceX but also have to deal with businesses getting spooked that the government can now nationalise private assets on a whim.

When that happened in Iran 1953 the CIA fostered a coup; Cuba is under embargo since the 60s triggered by Fidel nationalising sugar mills; Chile's coup in the 70s with CIA support was triggered by nationalisation of the copper mines; invasion of Panama in the 80s was from tensions with Noriega wanting to take over the canal's assets.

Venezuela's sanctions were because Chávez nationalised oil under PDVSA. The rift with Bolivia's Evo Morales was from gas nationalisation.

So if the USA just takes over someone's private company it will be absurdly hypocritical, and shatter even more the USA's international reputation, the added risk to businesses in the USA after this precedent opens will probably also be of concern.
Show HN: Swagger-RAG – Search Swagger API Docs with LLM
by njhyuk | 2025-06-07 07:52:01+00:00
A Kotlin + Spring Boot open-source project that parses Swagger (OpenAPI) JSON files, splits and embeds API documentation as natural language chunks, and enables Retrieval-Augmented Generation (RAG) Q&A via a CLI chatbot. Easily extensible to other interfaces (e.g., SlackBot).
by tim333 | 2025-06-07 07:53:19+00:00
>There's nothing "omniscient" or "dim-witted" about these tools

I disagree in that that seems quite a good way of describing them. All language is a bit inexact.

Also I don't buy we are no closer to AI than ten years ago - there seem lots going on. Just because LLMs are limited doesn't mean we can't find or add other algorithms - I mean look at alphaevolve for example https://www.technologyreview.com/2025/05/14/1116438/google-d...

>found a faster way to solve matrix multiplications—a fundamental problem in computer science—beating a record that had stood for more than 50 years

I figure it's hard to argue that that is not at least somewhat intelligent?
by cantrevealname | 2025-06-07 07:54:14+00:00
> Almost everything you sort out into a recycling bin gets dumped in the ocean

But the articles don't say that. They say that a lot of plastic is unsuitable for recycling and is therefore incinerated or dumped, like into a landfill or a big dirty pile of trash on the ground. Not one of the articles said that the plastic was being dumped into the ocean.

One of the articles makes an observation about beaches and ocean around one Cambodian recycling town covered with plastic trash. Certainly a careless and dirty operation there. But even that article doesn't claim that their modus operandi is to dump it into the ocean.

If those journalists had any evidence that ocean dumping was the goal, or even if they suspected it, then that would have been the highlight of the article and they would have said so explicitly. It would be a newsworthy scoop even.
by vineyardmike | 2025-06-07 07:55:56+00:00
Politics are complicated.

Generally, in tax bills they try to keep them "neutral" where any tax cuts or tax breaks are coupled with tax increases elsewhere BUT they tend to report the 10-year affect for whatever reason. This bill provided a ~30% cut in corporate tax on profits, with a delayed increase in tax cost on Software R&D pushed to the next term.

If the next party wants to reverse it, they'd have to find the money with an increase in tax - directly undoing it would be a ~50% increase in corporate tax rate, which (I guess?) would be a tough sell politically. Meanwhile, the tax code on software engineering sounds too niche to expend political capital on.

Either way, its another example of how corporate America is trading long-term growth (R&D, product development) for short term gain (lower taxes today).
by kuberwastaken | 2025-06-07 07:57:58+00:00
Just put out TREAT-CHOCOSYRUP (Trigger Recognition for Enjoyable and Appropriate Television) as an entry for the Hugging Face Gradio Agents & MCP Hackathon with a New and Improved Agentic Search feature to fetch content from the Internet Movie Script Database.

TREAT could only become what it has due to Hugging Face Spaces and this was indeed a satisfying adventure going back and trying to capture at least a spirit of TREAT and content moderation through open models - Llama 3.2 and Flan T-5 Large
by keyle | 2025-06-07 07:58:13+00:00
I'm still not sure where I stand with this. It reminds me a bit of the skeuomorphic days, where we went to flat design overnight and thanked the designers goodbye. Developers got tired of waiting for a button sprite to be designed for the website. In a way it was cleaner, leaner and faster. But we lost a lot of good work in the process (I was one of those designers).

I think where I stand is AI for supplementing, yes, for replacing, no. Extend from existing work, yes. But if you distance yourself so far from the art that you don't know how it's made, you'll be flying while running out air.
by djtango | 2025-06-07 07:59:22+00:00
I didn't read it as that - If I understood correctly, generated code must be quarantined very tightly. And inevitably you need to edit/override generated code and the manner by which you alter it must go through some kind of process so the alteration is auditable and can again be clearly distinguished from generated code.

Tbh this all sounds very familiar and like classic data management/admin systems for regular businesses. The only difference is that the data is code and the admins are the engineers themselves so the temptation to "just" change things in place is too great. But I suspect it doesn't scale and is hard to manage etc.
by snthpy | 2025-06-07 08:00:35+00:00
Very cool!

I have spent the last few months on and off thinking about creating something like this for some projects of mine. I've been looking into ATProto [0], IPFS [1], Radicle [2], and Iroh [3]. I was tending towards Iroh lately but I also like ATProto so going to check out this FAIR [4] protocol because I'm all for having widely adopted common protocols.

0: https://atproto.com/

1: https://www.ipfs.tech/

2: https://radicle.xyz/

3: https://github.com/n0-computer/iroh

4: https://github.com/fairpm/fair-protocol
by alkonaut | 2025-06-07 08:01:13+00:00
Apart from the reason of ”if they spy on this, who knows what else” and ”I don’t want to waste resources on telemetry” what is the reason to not allow a vendor to see which settings page you visit?

Obviously if you opt out (or rather, didn’t opt in) you shouldn’t be sending telemetry. But the line between a necessary network call and an optional one is often blurry.
by madaxe_again | 2025-06-07 08:03:52+00:00
They say “the only US alternative”, which is true, but it’s not the only alternative - nasa paid for seats on Soyuz for many years, and I’m sure they could go back to doing the same. Perhaps China would be willing to sell seats on their launches. Maybe India will be in a position to offer human launches to the U.S. fairly soon - should be up and running by 2027, and they seem to hit their objectives most of the time.

Cooperation with roscosmos seems to have been largely unimpeded by Russia’s political and military actions over the years, so these all seem like realistic possibilities.

Yes, it will be a shame if the U.S. has no launch capability of their own, but short term partisan political thinking is much more important to the electorate than long term national strategic interest.
by imjonse | 2025-06-07 08:04:30+00:00
"Across a decade working at hypergrowth tech companies like Meta and Pinterest, I constantly struggled with procrastination [...] I was not making progress on the things that mattered."

Maybe unless one can really convince themselves that their daily work matters (really matters and not just for their team/company metrics) one is bound to procrastinate as a symptom of some subconscious sense of pointlessness.
by kekebo | 2025-06-07 08:05:01+00:00
Is this intentional devils advocacy for the sake of balancing an expected narrative? Outside of the rarely normative definition threshold as to what constitutes spyware or not, on what data / references (if any) do you base your impression on?

And how does a perception of company trustworthiness correlate with telemetry ethics that don't infringe in some way on 'basic digital human rights' (as defined by GDPR et al, say)?
by verisimi | 2025-06-07 08:06:33+00:00
I agree. I even see support of this in the seasons. If you think about the difference in light between summer and winter, it is far more natural to be up and about when there is more light, and far more likely to be 'lazy' in the winter. The workweek however is constant, even though the quality of time is entirely different. So, in this example 'time' throughout the year is not the same - feeling less energetic in winter is perfectly acceptable, and not a problem.

You can characterise this real factor (quality of time over the year) as 'procrastination' but I think this is unfair. Other factors such as joy/depression, meaning in work, personal circumstances, etc also come in to play. But yeah, if 'work' is the highest principle one has, these are just excuses for procrastination.
by skissane | 2025-06-07 08:06:34+00:00
> But are they implemented as reading files backwards? Reading datasets in any direction is very normal because all our media is, for all practical purposes, random-access. Stepping through data backwards is just a special case of random access.

Well, of course they are reading the file backwards, in terms of making successive calls to pread/preadv/preadv2/aio_read/lio_listio/io_uring/etc with decreasing file offsets, or successive reads to an mmap-ed file with decreasing memory addresses.

And of course, you can't read a file backwards with fseek/fread (or lseek/read), except on a very limited number of platforms that support that – but a serious database is unlikely to be using seek+read begin with, except in unusual circumstances such as VSAM under z/OS (z/OS pread/etc only work with file descriptors, which are only supported for UNIX files, not MVS datasets)
by lawik | 2025-06-07 08:06:52+00:00
Seems smart to start by contributing a more openly governed path. If Matt starts to fight, sabotage and shut that down it gives the important yeah-we-did-try style cover to the reasonable next step of forking.

By being unreasonably reasonable in this way I would expect they bring the most members of the community with them if a fork has to happen.

They also leave a door open for Matt to leave this effort alone or even welcome it. A potential road to recovering trust over time.
by ttctciyf | 2025-06-07 08:08:35+00:00
> Demis Hassabis, the CEO of Google’s DeepMind, said the goal is to create “models that are able to understand the world around us.”

> These statements betray a conceptual error: Large language models do not, cannot, and will not “understand” anything at all.

While I find lots to agree with in TFA, this pedantry over "understanding" irritates.

While the "understanding" of LLMs is (I believe) a very different affair from human understanding, I wonder if the author can find a better word to succinctly convey what Hassabis is saying?

The problem here is not word choice but failure to recognise that the meaning of a word has changed when the context of its use changes. If I say "it thinks the db is down because it doesn't know the cache is out of date", no-one (or at least very very few!) would take issue with "thinks" and "knows" on the basis that a simple computer program doesn't have human-level knowledge and thought. The words serve to convey meaning, and the context is clear.

If the author doesn't recognise this typical feature of language, extending the meaning of existing words when they are used in new contexts, the "conceptual error" is on them.
by luckylion | 2025-06-07 08:09:47+00:00
I don't think it's likely that core will actively break these things. If they removed the ability to filter HTTP requests, they'd break a lot of plugins and likely a lot of sites, which would become a nightmare, because their main selling point is "one click install, never worry about it again" -- they primarily compete with Wix, Jimdo etc, not with other CMS.

If they changed their backend to disallow this implementation from accessing it, they'd also break it for older versions of WP (which feels like the majority) and cut off the upgrade-path for those sites.

WP's heavy use of filters & actions are what makes it bearable to work with for developers, and without the plugin ecosystem, Wordpress would be no serious competitor to anything.

I don't know if this will work out, the code looks worrying - they support all the way down to php 7.2, but OOP and composer don't require php8. On the other hand, so do most WP plugins, and core does too.
by vineyardmike | 2025-06-07 08:11:57+00:00
> If you want to view it that way, you can view the senate as "pre-gerrymandered".

That is quite explicitly the history of the US Senate (and House), FWIW.

The Connecticut Compromise was reached to give low-populations states outsized legislative power in the senate. This is the main reason the senate exists.

Building on that, the 3/5th compromise was reached as part of this to give slave states outsized legislative power in the house.

The state of Maine used to be part of Massachusetts, but it was later set up as an independent state in order to increase the number of anti-slavery states in the senate (the Missouri compromise).
by levmiseri | 2025-06-07 08:14:20+00:00
> It reminds me a bit of the skeuomorphic days, where we went to flat design overnight and thanked the designers goodbye

This didn't happen. Even if you consider only the 'aesthetic' part of design and ignore function (impossible, but for the sake of the argument) — the striving for reduction and removal of unnecessary real-world metaphors was a natural evolution driven by designers, not PMs, not engineers, nor any higher-ups. 'Flat' design was in hindsight inevitable, but you can't just get rid of decorations, ornaments and gradients and call it a day. All major digital products were and are designed by designers. Not by engineers who got tired of waiting for a button sprite.
by euroderf | 2025-06-07 08:14:54+00:00
Yes. It's funny how this kind of trick can instantly snap the entire working context back into your mind. Essentially leaving you free to forget about the context during your free time and overnight. Truly a useful "hack".

It's also useful to jot down a quick list of (say) three items that are at the top of your mind when you leave work for the day, and they too will help with a context restore.
by charcircuit | 2025-06-07 08:15:49+00:00
>for the sake of balancing an expected narrative?

Yes, because there are many people on this site who also believe a packet being sent to microsoft = spying. A lot of these people grew up with or were influenced by people who grew before the prevelance of the internet when software engineering was still immature when programs typically didn't communicate with the internet on their own.

>do you base your impression on?

My impression is based off the employees who work there who I would trust wouldn't add things like taking webcam screenshots and sending them back to Microsoft to look at.

>how does a perception of company trustworthiness correlate with telemetry ethics

Consumers and businesses will lose trust in a business if the telemetry data is not anonymized properly and put under strict privacy controls.
by AStonesThrow | 2025-06-07 08:16:16+00:00
What is the purpose of quoting "topic" as if it is a search keyword? Are you searching for this literal string in the logs? Why are you bundling it with the "site:" operator?

I got an empty search results error with your suggested turd.

https://support.google.com/websearch/answer/2466433?sjid=128...

Why not a blank search without it -- you do not need to specify any search term if using "site:[...]"

site:chatgpt.com/share/*

Quite fruitful -- I didn't need to put any quotes around yet
by alecco | 2025-06-07 08:18:43+00:00
HISTCONTROL=ignoreboth HISTIGNORE='rm *:ls *:cd *:cp *:builtin *'

The history file has ALL the lines prefixed by space. I curate it a lot, with most frequent/recent commands near the end. And I add a lot of comments to the file so things are easily searched. And search for things, for example /rsync to find the rsync quick backup snapshot lines so first comes one with -n to check what it would do, then if it looks OK I press 'n' (vi mode) and get the same line without -n, or another 'n' and I get the same without -n and with --delete.

(cd ~ && [ -d ~/backup_mnt/ ] && rsync -xav --delete --exclude='backup_mnt' --exclude='.debug' --exclude='.cache' "$HOME" ~/backup_mnt/backup ) # rsync DELETE (cd ~ && [ -d ~/backup_mnt/ ] && rsync -xav --exclude='backup_mnt' --exclude='.debug' --exclude='.cache' "$HOME" ~/backup_mnt/backup ) # rsync NO DELETE (cd ~ && [ -d ~/backup_mnt/ ] && rsync -n -xav --exclude='backup_mnt' --exclude='.debug' --exclude='.cache' "$HOME" ~/backup_mnt/backup ) # rsync LIST

For very long lines I always explain it in a comment.

When trying to modify a command, I remove the space, and when done I search for saving history and editing with '/_hi':

history -a ; vi ~/.bash_history && history -r

and voila.

I also keep the similar lines aligned with spacing to note the differences quickly. (e.g. the -n above)

When exiting a shell and there's nothing interesting, history -r; exit

Also always I go to the end of the file before quitting vi so next time I'm where it last ended and before the appended new commands.

It takes work upfront and discipline but the everyday use of shell becomes very fast and clean.
by mschuster91 | 2025-06-07 08:18:47+00:00
On the ADS-B receiver side, I'd add "Each ADS-B packet will be clearly heard by the on-ground receiver, there will be no other radio station sending an ADS-B packet when another station is actively transmitting" and "Only actual ADS-B stations use the 1090 MHz frequency, no one will attempt to maliciously jam the entire band".
Best place for small remote gigs?
by xucian | 2025-06-07 08:20:26+00:00
I'm doing solo dev, building and shipping several products, trying markets etc. I have some passive income here and there, but looking to up it a bit. I'll also visit SF for a while late June, so I can meet up to do in-person vibe check, discuss stuff and build my network

just wondering how are you guys earning on the side, I'm willing to go on the lower end of pay as I'm looking for fully remote async contract (b2b), low-intensity work (or at least not full 40h weeks). have 13y of exp as a generalist swe, started as a gamedev then expanded into devops, ai/ml, trading
by mrob | 2025-06-07 08:20:36+00:00
These are not pixel art because they don't use a regular pixel grid. Additionally, the style is inconsistent, and there are many obvious artifacts. They're also large, which means they don't have to rely so heavily on specialized pixel art techniques. When you're working with images as small as was common in the golden age of pixel art, you have to think carefully about the meaning of every pixel.

Good pixel art is designed around human interpretation of ambiguity. The clearest examine I can think of is in Chrono Trigger. The starting room contains a representation of a typewriter, where the keys are drawn as a checkerboard dither pattern. This doesn't look anything like a real typewriter keyboard. Only the context makes it clear what it is, and in a different context it could be interpreted as a flat expanse of color. I don't think the standard diffusion model architecture is capable of this kind of judgment.