MurphyA/hacker-news huggingface dataset:
by UltraSane | 2025-04-29 04:10:35+00:00
Sonnet 3.7 non-reasoning got it right.

I'll think this through step by step. When you place a coin in a cup and slam it upside-down on a glass table, the coin will be between the table surface and the cup. When you look at the reflection in the mirror beneath the table, you're seeing the bottom side of the coin through the glass. Since the mirror shows heads, you're seeing the heads side of the coin reflected in the mirror. In a mirror, the image is reversed left-to-right, but the "heads" and "tails" sides of a coin would not be flipped in this reflection - you'd still recognize heads as heads. If you take away both the cup and the mirror, you'll see the opposite side of the coin compared to what you saw in the mirror. Since the mirror showed heads, you'll see tails when looking directly at the coin from above the table.
by RandyOrion | 2025-04-29 04:11:17+00:00
YMMV.

Parameter efficiency is an important consideration, if not the most important one, for local LLMs because of the hardware constraint.

Do you guys really have GPUs with 80GB VRAM or M3 ultra with 512GB rams at home? If I can't run these ultra large MoEs locally, then these models mean nothing to me. I'm not a large LLM inference provider after all.

What's more, you also lose the opportunities to fine-tune these MoEs when it's already hard to do inference with these MoEs.
by 20after4 | 2025-04-29 04:11:28+00:00
Lead acid batteries are not exactly what I would call reliable. They require a lot of constant maintenance to ensure that they will work when you need them and they can easily degrade in such a way that they maintain voltage and appear to be good but then fail to deliver the needed amps when you demand them. This is made much worse in cold weather. Finally, if allowed to freeze when they are moderately drained, then the accumulated water inside will freeze and drastically shorten their life span.

I think I'd take Lithium Ion batteries over lead acid for almost every conceivable use-case. They are superior in almost every way. Lighter, less likely to leak acid everywhere, better long term storage (due to a low self-discharge) and better cold weather discharge performance. The only drawback would be a slightly increased risk of fire with Lithium.
by ryao | 2025-04-29 04:11:57+00:00
Most C++ code I have seen uses the STL. As for “hyper optimized” data structures, you already have those in C. See the B-Tree code those binary search routine I patched to run faster. Nothing C++ adds improves upon what you can do performance wise in C.

You have other sources of slow downs in C++, since the abstractions have a tendency to hide bloat, such as excessive dynamic memory usage, use of exceptions and code just outright compiling inefficiently compared to similar code in C. Too much inlining can also be a problem, since it puts pressure on CPU instruction caches.
by gdudeman | 2025-04-29 04:12:24+00:00
My definition is that heavily using AI for autocomplete or to write well defined methods is using AI, but vibe coding is instructing AI agents to complete a task and squinting at the multi-file results (e.g. "Now plan out how we will store this data... <mild feedback to the plan> Now execute that plan.").

Claude Code is very vibe code.
by m463 | 2025-04-29 04:12:41+00:00
I think (loosely) of another published paper:

https://pmc.ncbi.nlm.nih.gov/articles/PMC2997957/

“Why I Hate the Index Finger” by William L. White, M.D., was originally published in Orthopaedic Review, Volume IX, No. 6 (June 1980) pp. 23–29.
by vlovich123 | 2025-04-29 04:13:50+00:00
> I would consider AES-CBC+HMAC to be an AEAD construction

OK fair.

> and I would consider whatever "secret key" you pass into HMAC along with the ciphertext to be the "associated data"

The secret key isn't associated data. You take your base HKDF key and expand new crypto for an authenticated cipher from the offset as info (+ maybe other parameters like file name). That key is then used to decrypt. If you squint I guess you could call that AD but it's functionally a very different role.

> because cryptographic libraries will often implement AEAD constructions to fail in constant time, where as your scheme will take longer if post-decryption validation of contextual data encoded in the plaintext fails compared to if decryption fails.

I think you've misunderstood what I said. As I repeat above, the AEAD key is derived from the offset. There's no post-decryption validation of contextual data because the plaintext is empty. HKDF derivation is constant time and authenticated decryption is constant time. Once decrypted you have a valid block at that location. There's nothing extra left to validate (or perhaps the decrypted contents, but that's irrelevant for cryptographic purposes).

My broader point is that I have yet to encounter a use-case for a non-empty AD string.
by sherdil2022 | 2025-04-29 04:15:16+00:00
I usually read up on various DevBlogs like:

* https://devblogs.microsoft.com/dotnet/

* https://devblogs.microsoft.com/visualstudio/

* https://devblogs.microsoft.com/dotnet/author/toub/ (for perf improvements by .NET version)

* https://dotnet.microsoft.com/en-us/apps/aspnet (of course!)

But it takes a while to catch-up if you are not keeping up-to-date on what is happening or coding in C#/.NET on a day-to-day basis
by skissane | 2025-04-29 04:15:46+00:00
> 2003 was over two decades ago. Most people didn’t have mobile phones let alone smart phones.

Maybe it depends on the country, but my memory of 2003 is almost every non-elderly adult I knew (in my own upper-middle class milieu) already had a mobile phone. Not a smart phone as we understand the term today, but a lot of phones back then had primitive smarts that are now largely forgotten, such as WAP/WML browsers (which maybe not many people used, but I certainly remember using one), JavaME applets (vaguely remember using them too-maybe post-2003, but higher end 2003 phones definitely could run them), vendor-specific mobile app formats such as Symbian
by tptacek | 2025-04-29 04:16:23+00:00
The core idea, one that PGP does not "get" (except in newer, non-compatible implementations) is simply that of ciphertext authentication. Once you have authentication, the Associated Data construction is pretty easy to get; put differently, almost immediately after we "had" widespread authenticated encryption, we had AEAD. PGP finds these problems difficult to solve (and so simply doesn't solve them) because it confuses error-detecting integrity checks, signatures, encryption, and message authentication, which are 4 different things. But PGP also predates our modern understanding of the differences between those 4 things.
by openWrangler | 2025-04-29 04:18:20+00:00
I'm currently working with Coroot, which is an open source project trying to create a solution for this issue of logs and other telemetry sources being too much for any team to reasonably have time to parse manually. Data is automatically imported using eBPF and Coroot will provide insights into RCA (with things like mapped incident timeframes) to help with anything overlooked in dumps.

GitHub here - hope the tool can help some folks in this thread: https://github.com/coroot/coroot
by tptacek | 2025-04-29 04:18:24+00:00
There are several of them on this thread. For example: encrypt a 10 gigabyte file. You'll need to chunk it; each chunk will exist at an offset. Encode the chunk offset into the Associated Data. Notice that you never store this Associated Data; you simply have it in the context of encrypting and decrypting the file. But the AEAD MAC captures it, and now you can't cut and paste chunks of a ciphertext.
by squigz | 2025-04-29 04:18:50+00:00
Quoting from GP, the article literally is wrong:

> The Fast Company article says “Republicans in Virginia just passed a law to make it a punishment for repeated traffic violations.” But the Virginia legislature is currently controlled by the Democrats. And the delegate quoted in this local news story is a Democrat

And from other GP:

> Just reading phrases like "sky-high rate of crash deaths", "Blazing-fast vehicles" (and similar ones throughout the article) makes it very clear that this is not an attempt to report news, but push an agenda.

The agenda is one of fear and distrust.
by necovek | 2025-04-29 04:20:01+00:00
It's funny to see this: after avoiding the Windows world for the last 25 years, back in the corporate world in the last few, I see this pattern with Microsoft tools all the time.

Teams not loading due to security issues, but notifications coming through with full content of messages. Ability to type a handful of words in cloud version of Word (or paste full documents) before security check catches up and requires me to set up a sensitivity label. Etc.

It mostly tells me about MS doing very bad software architecture for web apps, though apparently the desktop apps are not immune to it either.
by paradite | 2025-04-29 04:21:15+00:00
Thinking takes way too long for it to be useful in practice.

It takes 5 minutes to generate first non-thinking token in my testing for a slightly complex task via Parasail and Deepinfra on OpenRouter.

https://x.com/paradite_/status/1917067106564379070

Update:

Finally got it work after waiting for 10 minutes.

Published my eval result, surprisingly non-thinking version did slightly better on visualization task: https://x.com/paradite_/status/1917087894071873698
by anotherbuilder | 2025-04-29 04:21:29+00:00
Companies are hemorrhaging money on inefficient AI usage without even realizing it.

After watching countless teams, and myself, struggle to manage ballooning AI costs across multiple platforms (juggling between billing portals, losing track of spending, getting surprised by bills), I decided to build.

After ~1 week, I launched (first launch) an MVP for AIBillingDashboard.com.

What I built:

A unified dashboard that tracks spending across all major AI providers (OpenAI, Claude, Gemini, Tavily, Pinecone, Make.com, n8n, HuggingFace, etc).

Cost comparison tools that show which models give best value for specific use cases

Usage analytics that identify cost-saving opportunities across your AI stack

Billing cycle tracking and payment alerts to avoid surprise charges

I'm essentially replacing the chaotic spreadsheets and custom scripts that I and teams use to track AI spending with something more simple / straightforward.

Additionally, I built this because while AI adoption is skyrocketing, cost management tools haven't really kept pace, is extremely siloed, and/or create new points of failure such as having usage/analytical requests sent out first to track usage before sending out the prompt for completion.

Would love feedback from the community and/or any AI power users out there!

Anyone else building tools for the AI ecosystem? What cost management challenges are you facing (if any)?
by tptacek | 2025-04-29 04:21:42+00:00
No plausible advance in nanotechnology could produce a violin small enough to capture how badly I feel about out professional being "plagiarized" after decades of rationalizing about the importance of Star Wars to the culture justifying movie piracy.

Artists can come at me with this concern all they want, and I feel bad for them. No software developer can.

I disagree with you about the "plagiaristic" aspect of LLM code generation. But I also don't think our field has a moral leg to stand on here, even if I didn't disagree with you.
by DavidPiper | 2025-04-29 04:22:13+00:00
For Category IV people out there, I think the key takeaway from the whole article is actually in an almost throwaway phrase down the bottom:

> One evening, at a dinner with a few other abolitionists, ...

Category IV success is only achievable in groups or teams. And our education and capital systems, as well as our social and media systems, are increasingly pushing us towards more isolation:

- University graduates get earn more money with lower risk in consulting or finance than entrepreneurship (highlighted in the article)

- High level academia is basically an independent game from my understanding, with some exceptions like some security labs where the same people consistently work together

- Business structures tend to be designed for maximum specialisation and work extraction of the individual, not teams

- Third spaces are disappearing outside of work and home

- In-person relationships are being replaced with social media relationships and parasocial fandoms

- Politics is being replaced with drama

> But if that’s irritating to hear – and I imagine it might be – then by all means, prove me wrong. I have learned that there are always exceptions, and I want to show that you can be that exception. It’s never too late to step up.

It seems the author may not be aware of this though, and ultimately just ends up selling a different brand of individualist grindset.
by gus_massa | 2025-04-29 04:22:16+00:00
Good question, but no.

For example you can make a very similar system with a positron and an electron https://en.wikipedia.org/wiki/Positronium . It's stable for a while, and it has very similar properties and levels like an Hydrogen atom. So the "second law" should apply too. But it has a mean lifetime of only 0.12 ns (1.2E-10s).

The second law consider also the properties of the materials. For example there are small bags with sodium acetate that are used as hand heaters https://en.wikipedia.org/wiki/Sodium_acetate#Heating_pad https://www.youtube.com/watch?v=Oj0plwm_NMs You put them in hot water, the content dissolves, and you let them cold to room temperature. When you click the metallic part, they crystallize and release heat.

Another example is connecting a small lamp to a battery. It release light and heat, specially if you can get an old incandescent light bulb.
by zeroq | 2025-04-29 04:22:25+00:00
Short answer - RGB is really convenient for lighting up sub pixels on your LCD screen, but it's utterly terrible at conveying information about relation between colors. HSL is a clever hack to quickly answer which color is slightly dimmer or brighter than this color, but again, it's quite terrible at conveying information about difference between colors.

I encourage you to think about two random colors and imagining a gradient between them and then drawing said gradient in RGB and HSL color spaces. In both cases it will be wildly different from what you'd expect or could create with two blobs of oil paint on canvas.

Long answer - unfortunatelly it's quite hard to convey why we need a better color space in twitter-space but this video (while 40m long it's quite condensed) is an excellent explainer: https://www.youtube.com/watch?v=gnUYoQ1pwes
by photonthug | 2025-04-29 04:25:08+00:00
Well, the news says that doge randos are potentially exfiltrating the details of systems like that as well as financial details of many Americans, including those who hold machine guns and probably suffer from substandard pay and bad economic prospects/job security as much as anyone else does.

Perhaps the safest assumption is that system reliability ultimately depends on quite a lot of factors that are not purely about careful engineering.
by HideousKojima | 2025-04-29 04:25:17+00:00
>Consequently there is a natural monopoly here, and if we have too many providers we will block out the sky[1] and risk creating the Kessler Syndrome[2].

The orbits Starlink sats are at won't cause Kessler syndrome. Even if the entire constellation exploded right this instant, all the debris would deorbit within about 5 years
by kazinator | 2025-04-29 04:26:45+00:00
I've rolled a successful caching mechanism for configure artifacts, in my biggest project. You install it as a git hook: post-checkout. The cache is keyed on a SHA256 sum taken over the configuration inputs. (The ones in the repo, not the environment. The host environment is assumed to be static.) These inputs do not change for many commits at a time when the configure system isn't touched. During a bisect operation, the cache can be expected to quickly warm up, reducing the number of configuration operations needed, even on the host where repository was just cleanly cloned and the cache is empty.

It's not parallel config, but it's pretty cool. In some ways it's better because when there's a hit it's instant.

It's quite synergistic with ccache as well. You navigate to a commit. You are informed that cash config info was retrieved successfully, so you skip configure and run make. All the objects are retrieved from ccache.
by perilunar | 2025-04-29 04:28:15+00:00
> Nevermind that the HTML is now a mess where you've got more CSS classes than content!

It shocks me how bad most HTML is. I just had a look at Twitter, and a single post in my timeline (a paragraph of text, an image, and ~10 linked icons) was 254 lines and 21.8 kB for just the HTML, and had 104 nested divs and 860+ classes!

That's more classes than characters of text content. About 9 kB of class names alone. And that is then repeated for every post in the timeline.

It should be a few divs max, a couple of classes (+ one for each icon), and a few lines of CSS. Seriously. You could style every post in the timeline with fewer characters than in the class names on one single post.

I don't understand how professional developers can make something so obscenely bloated.
Show HN: POC to scrape and structure HTML into JSON for RAG
by nirvanist | 2025-04-29 04:29:14+00:00
Hey all,

I built a quick PoC that scrapes a webpage, sends the content to Gemini Flash, and outputs a clean, structured JSON — ready for RAG workflows.

In my case, I’ll use this structured data to enhance models by integrating external knowledge sources during the generation process.

Curious if you think this has potential or if there are any use cases I might have missed. Happy to share more details if there's interest!
by ethbr1 | 2025-04-29 04:30:01+00:00
A dog whistle is speech that's ambiguous enough for a speaker to claim "Well I wasn't talking about that" whenever they receive blowback for a thing they said, but mean it and communicate their meaning if there's no blowback.

To parent's point, the bullshit of the right's current definition of wokeness is that it's "things we don't like."

Which is about as useful as people calling something "problematic."

If there were firmer ideological underpining to the right's platform, I'd be willing to listen.

But currently, more words are spent complaining about and accusing others than talking about what they want to do.

> [woke is] using victimhood as the means to justify(?) their ephemeral power(?) in whatever context they deem fit?

Isn't that what the right is doing now?

I.e. we're victims, so we're justified in using our temporary political power to do whatever we want
by duskwuff | 2025-04-29 04:30:20+00:00
Nor does it make sense to measure the efficiency of a boost converter as a single, static number. In the real world, that'll depend on 1) the input and output voltages, 2) the load, 3) the switching frequency, and 4) the parameters of the inductor (like its resistance and saturation current).

(A big missing piece here is regulation - all of the test circuits are running open-loop with a 1 kHz square wave switching waveform. Real switching regulators observe the voltage at the output and adjust the switching duty cycle and/or frequency to hit the target voltage.)
by bruce511 | 2025-04-29 04:30:50+00:00
It depends on your time scale.

As an employer we're not just looking for someone to fill a role now, we're considering the person's potential to grow and move onto more challenging roles.

As an employee money is clearly a driving factor, but other things also impact quality of life. Working conditions, work-life-balance, annual leave, scope for advancement, company structures etc all make a difference.

Yes money matters, but if you choose only based on that you end up in places where people (co workers and managers) only care about money. YMMV.
by WalterBright | 2025-04-29 04:31:02+00:00
You are correct, the official moniker is Bf-109, but the Allies referred to it as the Me-109.

BTW, since we are Birds of a Feather, I bet you'd like the movie "The Blue Max". It's really hard to find on bluray, but worth it! The flying sequences are first rate, and no cgi.
by redbackthomson | 2025-04-29 04:31:14+00:00
Hmm that's strange. Perhaps you have two Google accounts with different subscriptions? When you sign in I grab your subscribed channels and that's what I send when you categorise. You can check the "Subscriptions" page to see exactly what data we pulled.

I did say Chrome browser because with the deprecation of manifest v2, I had to make a choice about which to support. I decided given Chrome's larger market share that it would benefit the most people sooner. However I'm building it in such a way that porting to Firefox shouldn't require much additional work.
by kragen | 2025-04-29 04:32:02+00:00
It's not how you're imagining.

I do in fact have some brass and alpaca "silverware". Because of the nickel, the alpaca stuff doesn't corrode; the brass stuff does, and if I don't keep the corrosion scrubbed off with steel wool, not only does it look like shit, acidic foods like yogurt taste bad. But I haven't gotten sick from it. It's probably not impossible to get sick that way, but it's challenging because of the short contact time, the low temperature, the small contact area, and the nasty taste.

Boiling tomato sauce down in a copper pot for a couple of hours is a different situation, and I wonder if this may have contributed to the early modern belief that tomatoes were poisonous. But the toxicity of copper acetate from vinegar (verdigris, used as a pigment) was already well-known.

Unplated copper pots have been commonplace for centuries and in use for millennia, and the most common way to get poisoned by them is to neglect to scrub off the blue-green basic copper carbonate that forms eventually from exposing wet copper to air. The carbonate is enormously more reactive to acids than the bare metal. My father-in-law related an incident from his childhood where a girl in his village got in a lot of trouble by poisoning half the village by cooking in unscrubbed copper!

Nobody died, though. Heavy metal poisoning from copper is not the same kind of menace as lead, arsenic, cadmium, and mercury. We can tolerate much higher levels, and it doesn't bioaccumulate.
by VirusNewbie | 2025-04-29 04:32:04+00:00
oh, for L3 or entry level, I'm sure they do. But they didn't even ask me about a degree, in fact my boss didn't ask until a year after i'd been working for him.

So yes, there isn't a degree requirement, and for senior+ people, they don't care at all. For lower then that, I can't say, i'm sure it matters more the lower the level.
by nailer | 2025-04-29 04:32:16+00:00
Yes, I would consider an adult that bangs their head to stim to have profound autism.

Yes, RFK said that and then I do think some extreme members of the autism community are conspiracy theorists. Literally nothing that he has said that you have quoted indicates that he wants to create concentration camps or kill everyone or anything else said on the autism community channels we have both read.
by Enginerrrd | 2025-04-29 04:32:22+00:00
It's not just MS. I think they might have fixed it now, but my personal favorite was when Google photos would send me a notification with a preview of an AI generated album of my photos they made for me even though the app did not now, nor ever have permissions (on Android) to look at said photos. And it too would then "catch up" and ask permission to see my files and I'd say "no" and then the preview would go away.