MurphyA/hacker-news huggingface dataset:
by zzo38computer | 2025-11-17 22:14:52+00:00
PostScript is not so bad as a programming language, and it has a binary format as well as a text format, although the limits of numbers and some other things can be too small for many applications. The syntax of TER is based on PostScript (although it is not actually compatible, for many reasons; for example, the syntax "1.0" does not denote a number in TER, but "+1.0" does).
by loeg | 2025-11-17 22:14:53+00:00
Just use C++. Every single one of these is a horror-show worse reinvention of a C++ feature.

Like, if I was stuck in a C codebase today, [[cleanup]] is great -- I've used this in the past in a C-only shop. But vectors, unique_ptrs, and (awful) shared_ptrs? Just use C++.
by johnnyanmac | 2025-11-17 22:15:40+00:00
>The fact that you think heaven and earth have to be moved over a single school shooting (as terrible as it was) is a symptom.

no, the symptom is that kids have to normalize lockdown drills and how to barricade a door to protect from shooters. I had earthquake and fire drills as a kid, but it wasn't culturalized to accept that school shootings are a thing.

Now we can map out mass shootings by year: https://en.wikipedia.org/wiki/List_of_mass_shootings_in_the_...

Now we can expect 4-5 school shottings a year, documented by year. Trying to make this equivalent to "well kids get hurt" completely misses the point. But I'm not surprised at this point.
by hkpatel3 | 2025-11-17 22:15:51+00:00
I created Autosign earlier, which combined AgentMail and BrowserUse to let agents pass email verification. It worked for a while but I still faced problems like hCaptcha and other blockers. That made it clear to me that AI agents need an efficient way to sign in that is not a turnaround or bypass solution built on top of human login systems.

Auth-Agent is the result of that. It is the world’s first OpenID Connect provider for AI agents. It provides a standard OAuth 2.1 / OIDC flow but the client is an AI agent instead of a human user. It is open source: https://github.com/auth-agent/auth-agent.
by nomel | 2025-11-17 22:16:18+00:00
I've always found the comparisons between "amateur" and a "professional" interesting [1], where professionals show spatially tighter activity and overall lower activity. So, it sometimes largely imaging areas where optimization hasn't happened yet.

Seems like there would still be some use in looking at what's physically there. And, knowing that all humans have roughly the same activity patterns seems very important, in the sense that we're not some blank slate for concepts to be encoded.
Ask HN: What are "everyday coding tasks"?
by kamphey | 2025-11-17 22:16:39+00:00
In OpenAI's email to share GPT-5.1 they mentioned that it's good for "everyday coding tasks". What are your everyday coding tasks?

Their email included:

gpt-5.1: for everyday coding tasks

gpt-5.1-codex: for complex, long-running agentic coding

gpt-5.1-codex-mini: for cost-efficient edits and changes

for context, I usually write/rewrite a lot of html/css/js for my own personal business site, along with Apps Script in Google Sheets.
by SeanAnderson | 2025-11-17 22:17:11+00:00
The irony of this piece being enjoyable to read and feeling very relatable isn't lost upon me :)

It's fascinating to think about how much goes on inside each person's mind!

One thing this article reminded me of is a conversation I had with an old roommate of mine. I always considered her an absolute sorceress when it came to dealing with people.

Anyway, I forget how her and I got onto the conversation, but she asked me, "Before you say something to someone - do you ever play out the conversation in your mind?" and, of course, I said, "Yeah. I'll practice what I'm going to say and think a bit about how it'll land." and she countered with, "Do you ever take it one step further? By responding to yourself as if you were the person you're speaking to and then formulating your response to their anticipated response?" And my answer was an emphatic, "Fuck no. Are you crazy? Do you do that in real-time mid-conversation??"

Of course, my roommate's approach wasn't something she used all the time, but the entire notion was foreign to me because the number of branching outcomes seemed large enough as to not be valuable to explore. I'm not psychic - why bother trying to formulate a response to a response not yet verbalized? And yet, if it were low enough effort and I had good enough confidence in the outcome, I could completely see the value in anticipating responses and trying to approximate the ideal N+1 response. It shocked me that someone I considered naturally talented in this space had also become comfortable taking on a mental exercise that I'd entirely written off as too effortful.

FWIW, I still don't follow her approach and am reasonably happy with my conversational skills, but the revelation really made me take a step back and consider how much potential depth there is in areas I considered shallow.
by 0xffff2 | 2025-11-17 22:17:20+00:00
IIRC they used to always style "NASA" as "N.A.S.A." even though the agency itself never uses periods and is of course always pronounced as a word rather than initials. (This particular example stuck in my mind just because I work there). Hopefully "ICE" and "REI" reflect a change in that style to omit periods when referring to organizations that omit the periods in their own style guides.
by sweettea | 2025-11-17 22:17:23+00:00
My understanding is that it's an expected value based on coverage in each of the ensemble scenarios, not quite as simplified as "how many scenarios was there rain in this forecast cell".

At least for the US NWS: if 30 of 100 scenarios result in 50% shower coverage, and 70 out of 100 result in 0%, this is reported as 15% chance of rain. Which is exactly the same as 15 with 100% coverage and 85 with 0% coverage, or 100 with 15% coverage.

Understanding this, and digging further into the forecast, gives a better sense of whether you're likely to encounter widespread rainfall or spotty rainfall in your local area.
by francescopace | 2025-11-17 22:17:29+00:00
Interesting note, I actually disabled promiscuous mode after some testing because it made the CSI signal noisier and consumed more resources. I found that normal station mode with pings to gateway gave me cleaner, more predictable CSI data. But your MAC filtering approach might mitigate those issues!

You're spot on about the MVS approach. It's essentially a sliding window variance of the spatial turbulence (std dev across subcarriers), with adaptive thresholding based on the moving variance of that signal.

If you're interested in the MVS details, I wrote a free Medium article that walks through the segmentation algorithm step-by-step with visualizations. Links are in the README.

Your approach is actually quite similar to what I'm doing, just in a different order:

- My flow: Raw CSI → Segmentation (MVS) → Filters (Butterworth/Wavelet/Hampel/SG) → Feature extraction

- Your flow: Raw CSI → EWMA de-meaning → Dimensionality reduction → Feature extraction

The main difference is that I segment first to separate IDLE from MOTION states (keeping segmentation on raw, unfiltered CSI to preserve motion sensitivity), then only extract features during MOTION (to save CPU cycles).

Thanks for the thoughtful feedback! Always great to exchange notes with someone who's been in the trenches with CSI signal processing
by scott_w | 2025-11-17 22:17:31+00:00
> Even in movies where everything is explained e.g. in Blade where they will have a scene where someone explains how a weapon works, I've noticed in a recent viewing of the movie that people forgot the explanations of the gadgets he has. In Blade they have a James Bond / Q like conversation between the characters to say "this weapons does X against vampires" and sets the weapon for later on in the movie and people forgot about it.

That’s because you’re seeing the rule of cool in action. The explanation itself makes the item interesting enough that the (2 seconds) setup gets the audience excited up watch a grenade blow a vampire’s head off.
by eXpl0it3r | 2025-11-17 22:17:41+00:00
You're welcome!

Having played around with MigraDoc for the past few weeks, I do still recommend it, as long as you don't need more complex layouts. Here's a short and certainly incomplete list of limitations that I've run into so far:

- No tables within other tables

- No multi-column page layouts

- No multi-section on the same page (new section = new page)

- No letter spacing

- MigraDoc doesn't know about the final spacing, so you can't adjust say the width of some table column automatically. Either calculate an estimated based on the text/content or space them equally.

- Can't shade (background color) only a selection of words in a text

- Lists can only have up to three different symbols

- List indentation can behave quite strange, due to tabstops

- No horizontal rule (can be emulated)

- There's a bug with bottom border of a paragraph

On the other hand, MigraDoc & PDFsharp as less than 1MB and plenty fast, so it's a great package, as long as you can build some workarounds to achieve the desired look.
by troupo | 2025-11-17 22:17:50+00:00
Safari is "cautiously supportive", waiting for someone else to remove support.

Google does lead the charge on it, immediately having a PR to remove it from Chromium and stating intent to remove even though the guy pushing it didn't even know about XSLT uses before he even opened either of them.

XSLT is a symptom of how browser vendors approach the web these days. And yes, Google are the worst of them.
by ethin | 2025-11-17 22:17:59+00:00
Okay, I think your conflating systemd, the project and package, and systemd, the init part, which is obviously also the dependency resolver. Yes, systemd is PID 1, and solely handles service init. But the systemd project and package contain numerous other components which are not strictly required, but compliment what systemd uses. I bet yo ucould probably build an LFS system with just systemd PID 1 if you wanted, although you'd lose a bunch of functionality. The fact that PID1 is systemd (the binary) doesn't change my overall point: systemd is not an init system.
by alexfoo | 2025-11-17 22:18:00+00:00
It’s almost certainly not because of the advance fee scam.

You don’t have to meet many Nigerians before you find one that claims to be some kind of a Prince back home.

Nigeria used to be hundreds/thousands of separate kingdoms and many people have a claim to be chiefs/kings of those historic kingdoms. Male descendants of such leaders will claim the unofficial title of Prince. They may not have any real national standing but such leaders will be respected by their local communities.

It may look like one big country but there’s no official single royal family (unsurprising since it is a Republic). To give an idea of the diversity of Nigeria consider the fact that the country has over 500 native languages that are actively spoken.
by thesz | 2025-11-17 22:18:07+00:00
This looks no harder than to train custom Kaldi (circa 2017) phoneme model on brain waves, and using remaining Kaldi's functionality for everything else, except for text-to-speech. There was WaveNet for the TTS at that time, with sound quality that is good enough for (and can be improved by) radio transmission.

Thanks for a link!
by Fabricio20 | 2025-11-17 22:18:09+00:00
IP spoofing is pretty uncommon nowadays because everyone has anti-spoofing mechanisms in place and most ASNs often don't forward spoofed addresses outbound.

But as the sibling mentioned, even with spoofing, you can still follow the packet trail from your border routers upstream. I think the main thing we are lacking is just responsibility on the ISP side, if someone reaches out complaining that half of your customers are sending ddos attacks, maybe you need to do something about it. Most of these huge attacks are compromised routers or IoT devices (remember Mirai Botnet?).
by rayiner | 2025-11-17 22:18:16+00:00
Most people have no number sense. E.g. the Brian Williams on-air segment where he (and apparently his presumably college-educated staff) thought a $500 million campaign investment by Bloomberg meant he could give every American $1 million. That's not just a simple math error--it's a fundamental lack of numerical intuition about society-scale numbers. Prices are even more complex--a dynamic equilibrium between supply and demand. You can't get people to understand that. You might as well expect them to do jumping jacks while standing on their hands.

You can't lecture people about supply and demand. What you need is an electorate that has correctly aligned gut feelings. You need to socialize people from birth to understand that "if you build more, you'll get more; if you build less, you'll get less." You know how your dad says "there's no such thing as a free lunch?" You need to socialize people at that level.
by johnnyanmac | 2025-11-17 22:18:25+00:00
Focusing on Japan is a non-sequitr. This is pretty much all of Asia and half of the EU.This isn't unique to them. Japan was only mentioned because it's probably the first country to have needed to make national population crisis initiatives (as the GP wanted to suggest).

>deeply shared cultural norms that have been reinforced over centuries

Yes and Americans had this too, once upon a time. We did a good job tearing that down in the last 60 years to push consumerism instead.

It took 60 years to get there, we aren't going to fix it overnight. And that's also part of the problem. No one wants to put the time in for the effort.
by JuniperMesos | 2025-11-17 22:18:28+00:00
> So Zig would fail that, but then you could also consider C++ unsuitable for production software - and we know it clearly is still suitable.

Speak for yourself, I never want to write C++ ever again in my life.

I'm not a huge fan of the language of responsibility. I don't think there should be a law banning the use of C or C++ or any other programming language on account of it being unsafe, I don't think that anyone who writes in C/C++ is inherently acting immorally, etc.

What I do think is that Rust is a better-designed language than C or C++ and offers a bunch of affordances, including but not limited to the borrow checker, unsafe mode, the type system, cargo, etc. that make it easier and more fun for programmers to use to write correct and performant software, most of the time in most cases. I think projects that are currently using C/C++ should seriously consider switching off of them to something else, and Rust is an excellent candidate but not the only candidate.

I think Zig is also almost certainly an better language than C/C++ in every respect (I hedge more here because I'm less familiar with Zig, and because it's still being developed). Not having as strong memory safety guarantees as Rust is disappointing and I expect that it will result in Zig-written software being somewhat buggier than Rust-written software over the long term. But I am not so confident that I am correct about this, or that Zig won't bring additional benefits Rust doesn't have, that I would argue that people shouldn't use Zig or work on languages like Zig.
by inferiorhuman | 2025-11-17 22:19:17+00:00
How new is your washing machine? Mine (US market, Electrolux branded) displays fault codes through the main 8 segment LCD and makes component tests available from that same diagnostic menu. Service literature was available directly from Electrolux — from a paid service with a free trial, although there are plenty of youtube videos covering the same information.

It's either the current or previous generation.
by sctb | 2025-11-17 22:20:03+00:00
> I am still struggling to understand the way in which many people naturally form casual connections with others. [...] I perceive a lot of confusion here - and in my own life - about personal wants and needs being met, meeting someone else’s needs, where one’s personal boundaries lie, and how we effectively communicate them - or not.

I think this is a really interesting question. Speaking just from my perspective and experience, casual connections can form naturally from the basis of having no specific intention to connect. You simply give your attention to the other person without any preconceived needs or wants. Maybe the interaction is brief and superficial, maybe it goes somewhere deeper, who knows. But either way you get to experience the real, rubber-hits-the-road connection of being present with the other.

An important understanding is that it's possible to genuinely connect without being entangled in any way.
by troupo | 2025-11-17 22:20:46+00:00
It's literal W3C policy: https://www.w3.org/TR/html-design-principles/#priority-of-co...

--- start quote ---

In case of conflict, consider users over authors over implementors over specifiers over theoretical purity. In other words costs or difficulties to the user should be given more weight than costs to authors; which in turn should be given more weight than costs to implementors; which should be given more weight than costs to authors of the spec itself, which should be given more weight than those proposing changes for theoretical reasons alone. Of course, it is preferred to make things better for multiple constituencies at once.

--- end quote ---

However, the needs of browser implementers have long been the one and only priority.

Oh. It's also Google's own policy for deprecation: https://docs.google.com/document/d/1RC-pBBvsazYfCNNUSkPqAVpS...

--- start quote ---

First and foremost we have a responsibility to users of Chromium-based browsers to ensure they can expect the web at large to continue to work correctly.

The primary signal we use is the fraction of page views impacted in Chrome, usually computed via Blink’s UseCounter UMA metrics. As a general rule of thumb, 0.1% of PageVisits (1 in 1000) is large, while 0.001% is considered small but non-trivial. Anything below about 0.00001% (1 in 10 million) is generally considered trivial. There are around 771 billion web pages viewed in Chrome every month (not counting other Chromium-based browsers). So seriously breaking even 0.0001% still results in someone being frustrated every 3 seconds, and so not to be taken lightly!

--- end quote ---
by stavros | 2025-11-17 22:21:02+00:00
You can get a static prefix from your ISP. After you get the static prefix, it's up to your local network to make the local parts of the address static. There's no reason why your DHCP server can't give the device a static address, it's not like it's going to run out.

Then again, you don't need a static address to get a TLS certificate. You don't need an address at all! All you need is a domain name.
by RobinL | 2025-11-17 22:21:45+00:00
Here is an alternative idea: https://aeturrell.com/blog/posts/one-trick-to-stop-ticket-to...

The key idea is that only the original ticket buyer is eligible for a large rebate when attending the event. It prevents touting, but does not mean everyone who wants a ticket gets one.

Though in practice it is perhaps to techie, and in the end not dramatically different to what Glastonbury Festival does, which is that the ticket is only valid for entrance by the original purchaser, using photo id.
by tstrimple | 2025-11-17 22:21:59+00:00
It's a similar phenomenon to day cares dealing with late pickups. They have a few chronically late parents, so they institute a late pickup fee. Parents who always picked their kids up on time because of the implicit agreement now have an explicit agreement that it's okay to pick them up late if they pay a bit more. So the incidences of late pickups actually increased at the day care. You're exchanging a trust based system for financial interactions and some people have very different motivations.

https://www.jstor.org/stable/10.1086/468061?seq=1
by 59nadir | 2025-11-17 22:22:16+00:00
A few key things:

- Leaning on a pre-emptive scheduler to maintain order even in the presence of ridiculous amounts of threads ("processes" on the BEAM) running

- Using supervision trees to specify how and when processes and their dependents should be restarted

- Using `gen_server` processes as a standard template for how a thread should be running

There's more to mine from using the BEAM, but I think the above are some of the most important aspects. The first two I've never found to be fully replicated anywhere other than in OTP/BEAM. You don't need them, but once you're bought into the BEAM they're incredibly nice to have.
by porphyra | 2025-11-17 22:22:20+00:00
You can probably train models to be way better at generating SVG by reinforcement learning by rendering the SVG to an raster image and feeding it back into the vision model [1]. Same with, say, generating HTML/CSS webpages. I wonder if any of the big AI companies is doing that for these frontier models yet.

[1] https://arxiv.org/abs/2505.20793
by dgently7 | 2025-11-17 22:22:34+00:00
Yes this ^

It totally is a pipe dream to find some magic flat human readable file that does all this, you need to think of it as a config system not a config file.

So then why aren't we questioning our core assumption here that the solution has to be the shape of a human readable file format at all and accepting "syntactically optimal" as the best we can come up with?

Other than that text files are a compatible format to work with for the tools that coders use to interact with everything (text editor/git) why does it need to be a text file at all? or even human readable? Should we even call csv human readable... ?

The perfect config system you describe could equally be implemented on top of any kind of storage (file, db, whatever) with a configuration editor ui to drive it all. And thanks to llm's even for totally one-off custom configuration files making a small web editor for them is basically free if you can give it the schema and some examples.

And ui doesn't mean it can't be keyboard driven (just to preempt people griping about using a mouse). But it does mean that you can present your config in the way that makes the most sense to actually do the configuration instead of having to work around any limitations of a syntax. An example is the configs out there with the trailing comment "foo bar #foo bar sets the the foo bars the bar in the blaze." Maybe you've configured foo 100 times, you don't need the comment to know what foo sets but the syntax demands it so you have to see it every time. In a dedicated visual config editor the comment can be pulled up only when needed.

Will your config "file" end up with some extra cruft to store things about how to show it properly in the ui? totally. but we don't care because we don't actually edit that "file" directly anymore remember?
by apparent | 2025-11-17 22:22:35+00:00
FWIW I find Amazon's phone support to be faster than the chat stuff. It's usually just a couple mins, most of which time you're on hold while they're fixing it. My wife hates dealing with returns, but I find that it's usually no big deal, and often they'll give you $5 or $10 for your trouble, if things don't get sorted out the first time (which seems to be about 10% of the time).
by tharne | 2025-11-17 22:23:10+00:00
> The people who wrote this article seem out of touch with the topic they chose to pretend to be experts about?

This is quickly becoming the norm for experts, unfortunately. I keep seeing more an more people with educational expertise in something that they have zero hands-on or practical experience with.

I remember being at a social event once and chatting with someone who was a business professor at any Ivy League university. Making small talk, I asked him which companies he'd worked at, and he told me that he had gone the academic track and started teaching during and after getting his PhD (in exactly what I don't remember). I remember being stunned that students would pay over $60k a year to learn about business from someone who'd never worked for or started a business.