MurphyA/hacker-news huggingface dataset:
by mapt | 2025-05-09 18:33:00+00:00
The container is the standardization. One container per unit of product. Containers ("bins") dimensioned in multiples of some standard unit that evenly divides a grid system on a rack. Stuffing looks like "a pallet of identical goods appears on one side of your workspace and 150 individual 100mm x 200mm x 400mm bins appear on the other side and the job is to put A into B". Storage operations look like they do now using the robot racks. Emptying looks like "Three bins of various sizes shows up on one side and a cardboard box appears on the other side". You divide the tasks up and have a different machine or human for each. The benefit is you always have a reliably identical picking and stuffing task per item, and there is never a bin of remainder items that has to be pushed back into the system. The cost is lowered storage efficiency. You don't even have to break a pallet at a DC, you can design for distribution of bins (at a higher transport cost).
by i_dont_know_any | 2025-05-09 18:33:37+00:00
re: syntax, I agree, it's stopped me from ever trying React/JSX-based frameworks, which I am sure is an over-reaction.

I have a POC syntax extension (babel parser fork) I named JSXG where I introduced "generator elements" which treats the body of the element as a JS generator function that yields JSX elements.

The simple/naive implementation of just running the generator was okay, but I (perhaps prematurely) worried that it would be not ideal to have the resulting list of child elements be actually dynamic-- as opposed to being fixed size but have false/null in place of "empty" slots and also using arrays for lists made by loops.

So, I also had a transform that followed conditional branching and loops etc. and made a template of "slots" and that resulted in a stable count of children, and that improved things a whole lot.

It's been a while since I revisited that, I should try and find it!

Comparisons below.

Aberdeen:

$('div', () => { if (user.loggedIn) { $('button.outline:Logout', { click: () => user.loggedIn = false }); } else { $('button:Login', { click: () => user.loggedIn = true }); } }); $('div.row.wide', {$marginTop: '1em'}, () => { $('div.box:By key', () => { onEach(pairs, (value, key) => { $(`li:${key}: ${value}`) }); }) $('div.box:By desc value', () => { onEach(pairs, (value, key) => { $(`li:${key}: ${value}`) }, value => invertString(value)); }) })

JSX:

<div> {user.loggedIn ? ( <button className="outline" onClick={() => user.loggedIn = false} > Logout </button> ) : ( <button onClick={() => user.loggedIn = true}> Login </button> )} </div> <div className="row wide" style={{ marginTop: '1em' }} > <div className="box"> By key <ul> {Object.entries(pairs).map(([key, value]) => ( <li key={key}> {key}: {value} </li> ))} </ul> </div> <div className="box"> By desc value <ul> {Object.entries(pairs).map(([key, value]) => ( <li key={key}> {key}: {invertString(value)} </li> ))} </ul> </div> </div>

JSXG:

<*div> if (user.loggedIn) { yield <button className="outline" onClick={() => user.loggedIn = false} > Logout </button> } else { yield <button onClick={() => user.loggedIn = true}> Login </button> } </*div> <div className="row wide" style={{ marginTop: '1em' }} > <div className="box"> By key <*ul> for (const [key, value] of Object.entries(pairs)) { yield <li key={key}> {key}: {value} </li> } </*ul> </div> <div className="box"> By desc value <*ul> for (const [key, value] of Object.entries(pairs)) { yield <li key={key}> {key}: {invertString(value)} </li> } </*ul> </div> </div>

Edit:

Come to think of it, I think it may have been <div*>...</div*> or even (:O gasp) <div*>...</div>.
by jebarker | 2025-05-09 18:33:47+00:00
> Ultimately most developers don't care, they want to collect a paycheck and go home. LLMs don't change this; the dev who randomly adds StackOverflow snippets to "fix" a crash without understanding the root cause was never going to gain a deeper understanding, the same way the dev who blindly copy&pastes from an LLM won't either.

I read this appraisal of what "most devs" want/care about on HN frequently. Is there actually any evidence to back this up? e.g. broad surveys where most devs say they're just in it for the paycheck and don't care about the quality of their work?

To argue against myself: modern commercial software is largely a dumpster fire, so there could well be truth to the idea!
by anigbrowl | 2025-05-09 18:34:11+00:00
No, you need to think about how to participate in street politics and explore legal avenues to throw sand in the gears of the economy. If you're represented by a Republican especially, you need to pester them regularly with complaints so they know that loyalty to the administration is going to exact an increasingly high price on their political future. Passively sitting things out until your ~biannual voting opportunity is about the worst thing you can do.
by zareith | 2025-05-09 18:35:29+00:00
This looks cool, love the API.

I don't any support for lifecycle hooks (eg. something like onMount when the returned node will be attached to the document) in the component api. In absense of those, I imagine integrating with vanillajs libraries will be difficult (eg. codemirror, slickgrid etc.) Curious what your thoughts in the matter are.
by sorcerer-mar | 2025-05-09 18:36:06+00:00
No no, for WaPo one need only know that Bezos spiked the Editorial Board's endorsement of Harris and then Blue Origin executives met with the Trump campaign literally hours later.

Oh yeah and that they wouldn't publish a cartoon poking fun at the kleptocracy. The artist resigned in protest and went on to win a Pulitzer, which WaPo had no problem taking credit for.

Is it fair to say that Navalny didn't fear Putin because he was actually quite vocal against Putin?
by nine_k | 2025-05-09 18:37:32+00:00
Yes, this is a given. I mean that replacing neurons may require a specific knowledge of this machine, and procedures unique to it.

If I were to create such a machine, I'd make the whole top part replaceable, with the bottom part electronic-only. When your neuron culture runs its course, you detach the top part and ship it back to the maker, and buy a new one, with a fresh culture, at a discount. They recycle the top parts by cleaning them and re-populating them with new neurons. The sourcing liability is on them, as is quality control.
by jackjoliet | 2025-05-09 18:37:56+00:00
Hi,

I built podcast.today because I love podcasts and think they’re one of the best sources of knowledge online but discovery is still broken. While building it, I found dozens of incredible shows I’d never come across otherwise, and I want others to have that same experience.

We’re starting with 8 daily newsletters, each curating standout episodes in different categories, and plan to expand quickly—there’s an overwhelming amount of valuable content being published every day.

The system uses a blend of keyword and semantic search, with LLM reranking to surface the most relevant episodes.

Would love any feedback or ideas for improvement.

Jack
by ZackG011 | 2025-05-09 18:38:00+00:00
The idea with this site is to create a community and implement a new way of ranking developers/portfolios.

You can rank other users' portfolios on the competition page and see a full ranking on the leaderboard page. Your dashboard will show you exactly where you stand.

The main purposes are: - Advertising your Portfolio - Getting Inspiration - Connecting with other Developers - Finding Developers for Hire (Not yet implemented, getting a community first)

Please take a look around the site, its easy and free and takes 30 seconds. Any and all feedback is appreciated at zacharygottlieb4@gmail.com. Especially at this stage it helps me fix what's in my blind spots!
by PaulHoule | 2025-05-09 18:38:39+00:00
If a message like

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

was repeated I’m sure most civilizations could figure out that it was a raster but if it is sent once the odds are awful. Past that what would they understand? If we sent it today we wouldn’t put Pluto on the planet list. Maybe 10k years from now there are a trillion people living on Ceres and it would be unthinkable to waste volatiles to fly to some dry spot like Earth and we’d again send a different message.

Figuring out the raster structure of NTSC television seems straightforward and even if they never figure out how color was encoded I think they’d still get a lot out of it even if their senses were different and they couldn’t “watch” TV. I am skeptical though that anybody would figure out how to decode the current ATSC signals, never mind the new ATSC 3 standard or 4G or 5G wireless signals that people stream TV over.
by kelnos | 2025-05-09 18:38:42+00:00
I don't particularly care about anything Trump says. He says a lot of things. A lot of what he says is just outright lies. A lot of what he says is just to make a particular audience happy at a particular point in time, and ends up having little relation to any actions he ends up taking. Even when it seems likely that something he says is something he actually wants to do, he'll walk it back in a heartbeat and pretend the opposite was his position all along, if he believes doing so will make him look better.

What actually matters is what he does. And nothing that he has done suggests to me that he will actually push for tax increases on the rich. It would be great to be proven wrong here, but I'm not holding my breath.

(Regardless, Trump can't raise taxes on anyone. Congress does that. On tax policy, it's not clear that even the MAGA fools in Congress will play ball if it upsets the rich people in their states.)
by snickerbockers | 2025-05-09 18:38:51+00:00
>That analogy is not valid. Protestants argue that catholicism does christianism in a sloppy way, whereas they do it right. If you're going with a programming language analogy, it's like a C++ programmer arguing that onboarding cppcheck and --Wall --pedantic is the only acceptable way to work with C++, and everyone else is doing it wrong.

Every sect within a religion is going to argue that they are the ones doing it right and the others are either wrong or at least suboptimal depending on the state of inter-sect relations. I would peg the Protestants as C and the Catholics as C++ in this analogy, as the chief defining feature of protestantism is that they do not acknowledge the legitimacy of just about everybody who has ever claimed to speak on God's behalf past a certain point; thus, like C, their view of religion is inherently stagnant. They don't necessarily deny that God continues to interact with his creations, but they've realized that statistically speaking any given prophet or saint has an approximately 0.0 probability of actually conveying messages from God so they'll just stick with the ones that are so old that just about everybody [who calls themselves christian] already agrees on them. This is similar to the way that many C programmers are really C++ programmers who got tired of all the dumb new C++2x bullshit and just want to write computer programs.

Both the protestant religion and the C programming language have viewpoints that make sense given the histories of their respective subjects, but the major drawback of these viewpoints is that they have chosen to limit themselves to only iterating through new interpretations of old ideas; both of them are fundamentally incapable of innovation because being incapable of innovation is the fundamental core of their belief systems. Thus, if God ever really does try to leave the protestants a voicemail or if bjarne stroustrup ever does come up with an idea that isn't terrible and needlessly complicated, both the protestants and the C programmers will miss out on it.

I will not even attempt to speculate as to which programming languages should represent islam and judaism in this analogy because i do not want to die or have my account banned.
by thisislife2 | 2025-05-09 18:41:05+00:00
All religion seem to be a "refactoring" of the core moral / ethical / ritualistic "codebase" of previous older religions. This is ofcourse most apparent when you study all the 3 Abrahamic religions (Judaism, Christianity and Islam). Some historians have even posited that the early ideas of Judaism ("chosen people", monotheism) actually originated from other African countries before finally arriving in Egypt and causing the religious discord in their society that lead to the emergence of Moses as a religious leader, and the birth Judaism. See this interesting Q&A - Were the Ten Commandments taken from the Egyptian Book of the Dead? - https://skeptics.stackexchange.com/questions/31534/were-the-... ... (While Egyptian history is popular because of the Roman connection and the fascination for Pyramids, Pharoahs and Moses, the history of other African empires are not quite well known because in many ways imperialism and colonialism still persists there).
by compiler-guy | 2025-05-09 18:41:24+00:00
Struct of arrays have the potential to be much more memory efficient if the original struct had padding.

struct Foo {

int64_t i; int8_t c; // 7 bytes of padding for alignment.

};

A Foo array will have seven bytes of wasted space per element. That can add up, and can even blow away what would be nice caching effects if looking at both elements.

Access patterns do matter a lot to this, but it isn't as easy as describing one. Always profile.

[Edit, I wish hn supported markdown.]
by satvikpendem | 2025-05-09 18:41:54+00:00
It's always funny to come across Anduril videos on YouTube and Instagram reels, they're produced as if they're a new product launch for some random Silicon Valley technology (which I suppose they are), yet they're weapons systems. The comments glazing them are even more hilarious.

https://www.youtube.com/watch?v=G05yUsHmd3M
by neonsunset | 2025-05-09 18:42:01+00:00
> Related features like TS Partial<> are missing, and that means that expressing concepts like POCOs that are in the process of being initialized but aren't yet is a real pain; most code that does that in the wild is not typesafe.

If it's an object, it's as simple as having a static method on a type, like FromA(A value) and then have that static method call the constructor internally after it has assembled the needed state. That's how you'd do it in Rust anyway. There will be a warning (or an error if you elevate those) if a constructor exits not having initialized all fields or properties. Without constructor, you can mark properties as 'required' to prohibit object construction without assignment to them with object initializer syntax too.
by dredmorbius | 2025-05-09 18:42:02+00:00
Slash the amount of money movies/books/etc make on average and you dramatically reduce the amount of movies/books/etc published.

Published for profit.

There are numerous other incentives to produce books.

Schopenhauer has something to say about publication for profit:

<https://en.wikisource.org/wiki/The_Art_of_Literature/On_Auth...>
Show HN: Scrape Creators – Real time Social media scraping APIs for devs
by CodeBrief | 2025-05-09 18:42:21+00:00
Hey HN!

I built Scrape Creators: a set of real-time scraping APIs that let you pull fresh data from TikTok, Instagram, YouTube, Reddit, Truth Social and more.

It's great for:

> Feeding social data into AI agents (e.g. summarize latest TikToks about a product) > Analyzing creators based on their posts, bios, hashtags, and music > Getting video transcripts, post captions, music metadata, and engagement stats in real time

No signup required to browse the docs: https://docs.scrapecreators.com/ Test it out: https://scrapecreators.com

Would love any feedback or questions!

– Adrian
by i_dont_know_any | 2025-05-09 18:42:35+00:00
Ah, the roadblocks are coming back to me.

The first was using </* as the marker for the end tag of a JSXG element. It worked, but it seemed like it wouldn't be too well received as parsers today treat /* as a comment in that spot iirc.

Edit: The other premature concern/feature was the ability to have a for loop NOT render to an array and rather be inline.

Normaly

for (...) { yield <>...</> } // becomes [[<>...</>, <>...</>, ...]]

But I added a mechanism using string directives that would inline it:

"use jsxg:inline" for (...) { yield <>...</> } // becomes [<>...</>, <>...</>, ...]
by jbverschoor | 2025-05-09 18:42:39+00:00
It’s all about message passing. Why not allow a compile time check if something respond to a message. Types/interfaces are good. Failing early is a good thing. The earliest you can fail is during editing, and then compile/interpret time.

In Objective-C, you also pass messages to an object, and it could be anything you want. But it would output warnings that an object/class did not respond to a certain message. You could ignore it, but it would always result in a runtime error obviously.

[someObject missingMethod]

Swift is a much nicer language in terms of typing, and I have started replacing some smaller Ruby scripts with Swift. Mostly out of performance needs though. (Single file swift scripts)

The lack of proper typechecking is one of the main reasons I would not use Ruby, especially in larger teams.

Unittests are fun and all, but they serve a different purpose.
by brendoelfrendo | 2025-05-09 18:43:16+00:00
"Ricardo Prada Vásquez was not on a government list of people sent to a mega prison in El Salvador. But hacked data shows he was booked on a flight to the country.

Ricardo Prada Vásquez, a Venezuelan man whose family says he was “disappeared” and who wasn’t included on a previously leaked government list of people sent to a notorious mega prison in El Salvador, was included on a private airline’s flight manifest to the country, according to hacked airline data obtained and analyzed by 404 Media."

Those are the first two paragraphs of the story, what do you think is missing that would help your comprehension of the situation?
by todsacerdoti | 2025-05-09 18:43:19+00:00
Pipedream has launched mcp.pipedream.com with dedicated MCP (Model Context Protocol) servers for 2,500+ integrated apps.

These servers enable AI assistants like Claude and Cursor to securely access and interact with 1000s of APIs through a standard protocol, or deploy Pipedream MCP servers to your agent and add 2,500+ APIs with 10,000+ tools in minutes.

Pipedream handles the auth and tooling so you can focus on shipping.

Docs - https://pipedream.com/docs/connect

Demo - https://chat.pipedream.com
by lormayna | 2025-05-09 18:44:01+00:00
I have tried to estimate when the Pope will be elected with a bayesian model, but it's failed predicting that the Pope will be elected at 7th ballot.

Proof: https://old.reddit.com/r/Catholicism/comments/1kgst9c/concla...

Maybe I can make a blog post, just for the sake of whom that are curious
by rrherr | 2025-05-09 18:44:02+00:00
Good question!

Leonardo Rizzo, one of the researchers, claimed on X.com that they published before the Pope was elected.

An X user commented:

> “Guessed” after the fact. Interesting nonetheless and worth sharing before the event next time!

Rizzo replied:

> Thanks a lot! We shared it the 8th morning on linkedin, the university website and few other sources (italian press). Next time I’ll also share it on X

https://x.com/LnrdRizzo/status/1920841806096343409

https://www.linkedin.com/posts/universita-bocconi_a-new-way-...
by paddy_m | 2025-05-09 18:44:33+00:00
So far as killing HP PA-Risc, SGI MIPS, DEC Alpha, and seriously hurting the chance for adoption of Sparc, and POWER outside of their respective parents (did I miss any)?

Thing is, they could have killed it by 1998, without ever releasing anything, that would have killed the other architectures it was trying to compete with. Instead they waited until 2020 to end support.

What the VLIW of Itanium needed and never really got was proper compiler support. Nvidia has this in spades with CUDA. It's easy to port to Nvidia where you do get serious speedups. AVX-512 never offered enough of a speedup from what I could tell, even though it was well supported by at least ICC (and numpy/scipy when properly compiled)
by jmclnx | 2025-05-09 18:44:57+00:00
>That wouldn't be a problem in the EU. Children are not able to consent to a contract.

Above from a comment by supermatt

This is much different than not having your name on the Credit/Debit Card. The EU law deals with contracts per responses in the responses.

I could have been clearer, but the speed at which posts are getting flagged here, I have been rushing all my responses :)
by delichon | 2025-05-09 18:47:13+00:00
Supreme Court justices are famous but not well known. Their names are familiar but not their faces. For this reason, David Souter and Stephen Breyer were frequently mistaken for each other. Once during his tenure on the court, Souter was driving from Washington to his home in New Hampshire, and he stopped in a little restaurant to get something to eat. A couple came up to him, and the man asked him a question.

"You're on the Supreme Court, right?" Souter nodded. "You're Stephen Breyer, right?"

Souter didn't want to embarrass the fellow in front of his wife, so he said yes, he was Breyer. They chatted for a little while, and the fellow asked, "Justice Breyer, what's the best thing about being on the Supreme Court?"

After a pause, the justice answered, "I'd have to say it was the privilege of serving with David Souter."

https://x.com/WakeUp2Politics/status/1920887550496927899
by yegle | 2025-05-09 18:47:20+00:00
If this monitor really uses the Kaleido 3 display as speculated in the article, the color would be very mute and it would only be suitable for reading Manga or magazines.

From what I can tell, the Kaleido display uses a filter on top of a black/white display to show different colors. That's why they can do 300ppi on black/white content, but only 150ppi on color content.

The Kindle Colorsoft uses the Kaleido screen, and it's the worst rated Kindle product on Amazon for a reason.

For high PPI color e-ink display, the only option today is the Gallery (https://www.eink.com/brand/detail/Gallery), and the only product that I know of is the reMarkable Paper Pro (reMarkable call it Canvas color play) which costs ~$600.
by tialaramex | 2025-05-09 18:47:27+00:00
"Ooh you should be concerned" made sense in October 2024. Since January 2020 when Americans accepted "OK, we're making the fascist leader the head of our army" there's no value in "consternation" the thing you want is a plan to leave.

At first this can be quite structured and casual like, I should look for life opportunities abroad. Ooh, I quite like France and this outfit in Brittany are hiring in my field, I will apply and see what happens.

Gradually leaving becomes more urgent, and eventually you should focus just on getting over the border even if you don't have specific plans for where you'll go or what you'll do after that. Countries immediately bordering a fascist state often don't have a lot of patience for refugees, but, hey, at least you're out.
by meesles | 2025-05-09 18:47:27+00:00
Nitpicking like this must be fair, if you look at typical AI code - styles, extra newlines, comments, tests/fixtures, etc. it is the same. And again LoC isn't a good measurement in the first place.

Not all my 5k lines are hand-written or even more than a character; a line can be a closing bracket etc. which autocomplete has handled for the last 20 years. It's definitely an achievement, which is why it's important to get clarity when folks claim to reach peak developer productivity with some new tools. To quote the curl devs, "AI slop" isn't worth nearly the same as thoughtful code right now.