MurphyA/hacker-news huggingface dataset:
by stevefan1999 | 2025-12-15 03:05:14+00:00
I hate to say it (and I know a lot of C apologists will downvote it), but there is no native closure in C, all you have is a function pointer in C, and you need to manually add the "context" pointer to make it a closure, in the strict (textbook) sense. That's because C does not have the concept of "data ownership", only automatic memory (that is on stack or register) or manual memory (in the sense of malloc/sbrk'd blocks), but a (again, textbook definition of) closure requires you to have access to the data of caller/"parent"/upper layer [^1].

And that's why I generally don't see C to have closures, and requires a JIT/dynamic code generation approach as this article has actually done (using shadow stacks). There is also a hack in GNU C which introduce local function lambda, but it is not in ISO C, and obviously won't in the next decade or so.

[^1]: https://en.wikipedia.org/wiki/Closure_(computer_programming)
by jeswin | 2025-12-15 03:05:45+00:00
I'm building a TypeScript to native code compiler, via the Dotnet CLR toolchain and Native AOT. This lets you use the excellent Dotnet std library - which in addition to being faster is also much safer than the npm ecosystem. There's also a node compat library, which exposes Node APIs but with CLR underneath.

The end result will be a binary (linux and mac for now) which you can run without NodeJS. Simple programs already work, and I have web apps very nearly running.
by bgbntty2 | 2025-12-15 03:06:39+00:00
I read non-fiction all the time. HN and reddit comments, news articles, Wikipedia articles, books, research papers. My ADHD doesn't help, but doesn't prevent me from finishing 300-page books that are actually interesting. I have yet to find a fiction book that's not full of fluff.

I've read a couple of scripts for movies and TV, and they're, by far, much better than fiction books for me. Just more condensed, more to-the-point.

That's not to say that I admit I can't finish (or even start) a fiction book now. They're ruined for me. But I don't care.
by beeflet | 2025-12-15 03:07:30+00:00
Apartments can ban pets, I don't see why they would have a problem banning weapons. If you want to be a gun owner, you basically have to live in a gun-friendly county of a gun-friendly state and only carry in the minority of gun-friendly private spaces that allow them.

It's like how we have 5th ammendment rights, but they don't apply 100 miles from the border, which just happens to include 90% of the population and the entire state of florida. We have rights that are de-facto illegal to practice due to the way they're implemented.

In the last apartment I was in, my mail went directly through my landlord and I was dependent on them to filter it by apartment room number.

Almost every landlord I've had has thrown out mail they've received after I've left. So if I order something and it ends up taking 2 months to get to my apartment, and I leave after the first month, I don't have access to that mail. They just throw it out.

The landlord, at the end of the day, holds all of the keys. They can change the locks. Even if it's illegal, are you going to go to court while homeless and without access to all of your possessions? My last apartment had an app that allowed them to remotely change the lock code.

My takeaway is that it is totally impractical to run a buisness out of an apartment. When you rent, you're a basically a peasant. You don't have a permanent mailing address, you don't have real security, you have no incentive to improve the property, and you are just paying out the ass for someone else's mortgage. For anything serious, it's better to live in an RV and get a P.O. box.
by Aurornis | 2025-12-15 03:09:10+00:00
> Dr Gabor Maté, a retired family physician and among the most respected trauma experts in the world, boldly diagnosed Prince Harry with Attention Deficit Disorder (ADD), during a live interview.

> Having read the Duke of Sussex’s ghost-written memoir, Spare, Maté said that he had arrived upon “several diagnoses” that also included depression, anxiety and post-traumatic stress disorder.

Dr Gabor Maté is popular on social media, podcasts, TV, and other media, but as evidenced by his cavalier approach to over-diagnosing everyone with everything he’s not really a good source for medical information. He’s been riding the wave of popularization of psychiatric conditions for years, and at this point appears to be stuck in an audience capture loop wherein his broad diagnoses continue to bring him more followers and a wider audience.

Dr Gabor Maté is a good litmus test for seeing where someone falls on the divide between actual medical literature versus pop culture usage of medical terms. People familiar with the research, literature, and clinical practice will groan when his name comes up, while those immersed in the TikTok world of self-diagnosis see him as a leader in the field.

There has been a long line of people following similar career paths of popularizing these conditions through cavalier diagnosis and promoting self-diagnosis or alternative medicine diagnosis practices. A decade ago, Dr. Amen was becoming famous for pushing ADHD diagnoses everywhere and pushing his (expensive!) brain scans on patients despite no supporting evidence. The current wave has focused on pushing authors like Dr Gabor Maté who are simply selling books, which scales more than visits to in-person clinics.
by mmooss | 2025-12-15 03:09:39+00:00
My biggest worry about India is that they'll ally, to some degree, with China. That may be pretty far out: I've never heard it discussed, they have some competing interests and some border disputes. But those are resolvable or manageable and with the Himalayas and two oceans between them, they can each safely operate in their own domain, for the most part, without really bothering the other.

With ~1/3 of the world population and those two economies, allied they might be unstoppable if the two nationalists can hold it together. Imagine a wide-ranging trade agreement and dominating the most strategic region in the world. And what could South Asian and SE Asian countries do but go along.

...

On another note, you've amazingly generated about 50 footnotes. I always prefer them and those are credible sources, but how do you crank this out? Do you just know what you're looking for and search nytimes.com or have an LLM find the articles? I'd love to find these things that quickly.

I'm usually the person in the conversation who knows the most about this history. It's been very interesting; thanks again.
by ehnto | 2025-12-15 03:09:55+00:00
I mean the direction of the AIs general tasking, it will do the command correctly but what it's trying to achieve isn't going in the right direction for whatever reason. You might be tempted to suggest a fix, but I truly mean for "whatever reason". There's dozens of different ways the AI gets onto a bad path, I would rather catch it early rather than come back to a failed run and have to start again.
by contrarian1234 | 2025-12-15 03:10:27+00:00
Most of my "wtf is going on" moments on Linux have to do with permissions. I loath the industry move to even more security. I want a more Emacs-like experience. Multiuser systems have become the exception and most people have a personal computer with one user. Dealing with evil apps is a loosing battle b/c the attack surface is too large.

I think the counter argument to more security is Distro Repos. When was the last time you apt-get'ed some software and had your documents stolen?

If you add blocks then you need to somehow communicate to the use when it's failing and that's hard... You see the shitshow that is Android security where apps have mysterious access to some directories and not others and it's impossible to understand what's going on. Maybe capabilities will work better, it's unclear to me.
by faidit | 2025-12-15 03:10:29+00:00
Interesting, but this is still done inefficiently by a relatively small group of actual humans.

The damage that a Thiel/Musk owned industrial bot swarm can do is much greater imo. I've seen Discord bots (shapes.ai) that can converse responsively in gen Z slang, react emotionally when praised or insulted, display great political astuteness, and are virtually indistinguishable from real people. Someone with enough money can deploy those at massive scale and keep the operation secret.
by cyberax | 2025-12-15 03:11:39+00:00
Go is rarely used in contexts where an attacker can groom the heap before doing the attack. The closest one is probably a breakout from an exposed container on a host with a Docker runtime.

I triggered SSM agent crashes while developing my https://github.com/Cyberax/gimlet by doing concurrent requests.

I'm certain that they could have been used to do code execution, but it just makes no real sense given the context.
by ycui1986 | 2025-12-15 03:11:40+00:00
at theoretical perspective, if the X-Y plane can be addressed with 16-bit DAC by controlling laser deflection. then to seek any data with in a 4GB address space will have typical latency of 300us with the latest laser scanning technology.

I am not aware any laser scanning technology that can do 16-bit accuracy that has no moving part. so, fundamentally, this is a storage technology with mechanical addressing.

laser can be scanned by acoustic wave, but that itself lack the beam pointing accuracy. the ultrasonic drive frequency will limit how fast is can deflects the laser beam.
by ggm | 2025-12-15 03:11:51+00:00
I think a lot of this is running googles site compression tools over markup to get the minified .js compatible version for efficient download. If you can get the significant, page-draw reflecting events into the first packet of data after TLS, you can start to render.

I used to hate sites which inlined images. Then I realized, it meant all the icon draws for graphical elements on-page were in a blob of base64 in that initial download and avoided web cache lookups on icons a gazillion times.
by lern_too_spel | 2025-12-15 03:12:02+00:00
> All the equipment was coming in, I knew something was happening but then when the contractors I had hired came and told me what they were doing, it was clear where all the hardware was going

In other words, he didn't know where it was going and speculated. No such program existed in Snowden's leaks, and no member of the SSCI or HPSCI believes Binney's wild hypothesis, or it would be the first thing they investigated.

> [Old Jewel claims snipped]

I very clearly stated the EFF doesn't (present tense) claim what you're claiming. The EFF saw the Narus analyzers in 641A and assumed the worst, which is in those old claims you pasted, and the judge said that the plaintiffs didn't have evidence to show that their data was collected, which would be the case if it were really mass domestic surveillance. Then Snowden's documents were released, conclusively showing the devices weren't used for domestic surveillance, which is why the EFF didn't bring that lawsuit again claiming standing. Snowden's docs proved they didn't have it.
by _jzlw | 2025-12-15 03:12:27+00:00
"Outrageous" is an understatement. Why does it always seem like military aircraft get a free-pass to break FAA regulations, communicate with no one when in shared airspace, and endanger the lives of everyone in civilian aircraft without any repercussions? This isn't the first time something like this has happened, and it doesn't always end in a near-miss.
by reliefcrew | 2025-12-15 03:13:46+00:00
> I would genuinely like to know why I'm wrong and these decisions aren't as bad as they seem.

Because it's not a $1.6 trillion dollar hobby or charity. They need to make money, full stop. This can't be emphasized enough.

As such, they view users more as a hybrid of volunteers and products. Then they monetize generally by selling the engaged users to advertisers. At this point I'm pretty sure they have financial models customized to individuals and they probably determined you're not worth providing service to unless you view more adverts... thus forcing you to engage more with the feed system.

They did what they had to do and you went ahead and accepted it; that's a good design. If you stop using them or switch to another service; then it would be a bad design.

What's the alternative? Put together some aesthetically beautiful design that lets users walk all over them while Meta foots the bill? That won't work because they'd go out of business. It's a matter of give and take.
by wat10000 | 2025-12-15 03:13:56+00:00
I picked finance for my example because demand is practically unlimited. People only need so many clothes, but when your business comes from making money directly, there’s a lot of room for growth.

Imagine some new math allows HFT to make more money. HFT firms wouldn’t start laying off quants. They’d probably hire more to try to capture more of that new money, and they’d have more money available for hiring.
by tombert | 2025-12-15 03:14:12+00:00
I'm similar. I treat the slides as the skeleton to my talk and I use them to set the pace and go from there. Overly rehearsed talks always feel kind of boring; going off the cuff can have a disorganized awkwardness, but if the slides are decent and the speaker is good enough at explaining them I find them a lot more fun.

I do try and work hard enough on my slides to make sure that the stuff I'm talking about is paced well enough and I do prepare a light "outline" in my brain to remember keep points that I don't want to forget to bring up (that might not be directly in the slides), but most of the words I say are improvised. I don't know if the talks I've given are "good" or not but people generally laugh at my jokes and I've generally received positive feedback at Lambda Days.

I will say, one thing that really helped me become a better speaker was lecturing for two semesters at a local university. I tend to be a very fast talker and have been most of my life, and it's easy for people to not fully hear what I have said (especially if they don't know me very well and haven't adapted to my mannerisms). When I started lecturing, I learned how to force myself to slow down so that students could understand what I said I don't lose them in the dust.
by yunyu | 2025-12-15 03:14:13+00:00
If you search for low-value consumer queries or aren't a buyer for high-ticket B2B items, you will get less relevant ads. Your personal experiences don't extrapolate well here: advertising for high-value goods is totally different from advertising for low-value goods.

Example: hypertargeted ads for F-35 engine upgrades in the DC metro - https://x.com/JosephPolitano/status/1683476652276236295

Is that clear enough?
by ratmice | 2025-12-15 03:14:59+00:00
I wasn't able to google it, or find a public link to the email (but it was posted on a public list) so here is some relevant snippets from it.

Nov 20 2022 titled CapROS status

"When I retired a year ago I hoped to correct some of those issues, but I want to enjoy retirement and not just have a full-time unpaid job.", ...

"I am considering just abandoning CapROS. I believe there are some useful ideas in the system, but so far no one seems to have known or cared about them."
by JumpCrisscross | 2025-12-15 03:15:54+00:00
> why use it knowing there is a nontrivial probability one will have to recover from it's use any number of times?

Because the benefits are worth the risk. (Even if the benefit is solely sating curiosity.)

I’m not defending this case. I’m just saying that every one of us has rm -r’d or rm*’d something, and we did it because we knew it saved time most of the time and was recoverable otherwise.

Where I’m sceptical is that someone who can use the tool is also being ruined by a drive wipe. It reads like well-targeted outrage pork.
by AnthonyMouse | 2025-12-15 03:16:05+00:00
> Society can afford this because it now has commensurately more resources due to increased efficiency.

Does it though? Suppose that Wall St has discovered a strategy, like high frequency trading, that produces nothing but allows the one doing it to extract a margin that would otherwise have gone to the second-fastest trader. Many people are employed in a competition to be the fastest because being the fastest is rewarded but it's a zero-sum game where nothing useful is produced and the players each have to continuously spend resources to keep running faster in order to stay in the same place.

What benefit is the person now paying more for healthcare getting in exchange for this?

> It’s a tide that raises all boats, precisely because of this effect.

What if it's not all boats? Suppose it causes doctors to get paid more because people who have the wherewithal to become doctors could also work in finance, but it doesn't cause retail clerks to get paid more because Wall St isn't hiring them away from their existing jobs, and in the meantime they now have to pay more for healthcare.
by c-hendricks | 2025-12-15 03:16:59+00:00
> Is there any specific feature you think is not supported

Yeah, uhm, most of what you've been posting? :). That JSDoc example above gives:

ERROR: Unable to parse a tag's type expression for source file /Work/lol-jsdoc-why/index.js in line 1 with tag title " type" and text "{{ slug: `${string}_${number}`; id: number;} & { status?: [code: number, text: string]; }}": Invalid type expre ssion "{ slug: `${string}_${number}`; id: number;} & { status?: [code: number, text: string]; }": Expected "!", "$", "'", "(", "*", ".", "...", "0", "?", "@", "Function", "\"", "\\", "_", "break", "case", "catch", "class", "const", "continue", "debugger", "default", "delete", "do", "else", "enum", "export", "extends", "false", "finally", "for", "function", "if", "implements", "impor t", "in", "instanceof", "interface", "let", "new", "null", "package", "private", "protected", "public", "return", "static", "supe r", "switch", "this", "throw", "true", "try", "typeof", "undefined", "var", "void", "while", "with", "yield", "{", Unicode letter number, Unicode lowercase letter, Unicode modifier letter, Unicode other letter, Unicode titlecase letter, Unicode uppercase let ter, or [1-9] but "`" found.

Edit: Also, your first edit says Webpack switched from TypeScript to JavaScript, but Webpack source was never written in TypeScript.
by 8organicbits | 2025-12-15 03:17:07+00:00
I've started fund raising efforts for a project related to accelerating adoption of authenticated encryption between mail servers (it's time to move past opportunistic TLS).

I also launched a web browser extension last week, Blog Quest, which has some great early adoption numbers that exceeded my expectations. When I can find some spare time I'll start fixing up some of the early feedback/feature requests.

https://github.com/robalexdev/blog-quest
by dzhiurgis | 2025-12-15 03:17:16+00:00
> non-mop vacuum

Such a good point. Vacuum wars website has no way to filter out vacuums without mop (my house is mostly carpet, I do want a good product but they are all with mops nowadays).

It's such a common issue with sites like this. It's either all products or products WITH this feature. No way to find products WITHOUT this feature.

Anyway quite happy with my Mova which is a rebranded Dreame.
by tombert | 2025-12-15 03:17:45+00:00
I'm the same way, I speak super fast pretty much all the time, and it can be hard for people to understand me if they're not used to it (and I don't blame them).

What really helped for me (and I realize that this doesn't scale to everyone) was lecturing for two semesters. I had pretty good motivation to slow down when students' grades and futures depended on understanding what I'm saying.

I didn't realize how much this helped until I presented at a conference after I was finished teaching, and I realized about midway through my talk that I was speaking considerably slower than I usually did at these things, because it turns out that public speaking and lecturing aren't actually that different.
by majorchord | 2025-12-15 03:19:36+00:00
You can't just blanket block all VPN access, that's not how the internet works... they could pick some common/well-known providers of VPN services and block their IPs/ASN/etc., but you can't just flip a switch and make all forms of VPN/proxy stop working, as there's no way to tell with certainty that someone is using one.
by PaulHoule | 2025-12-15 03:20:05+00:00
I'll argue the opposite. Severe mental illness (schizophrenia, bipolar) is neurodevelopmental in origin -- trauma probably effects the progression, but on the other hand the neurodevelopmental difference attracts the trauma.

Personally I think the trauma theory is one of the most dangerous ideologies of the 21st century and to me part of resilience is effective resistance against it.
by tombert | 2025-12-15 03:20:15+00:00
That might be the case for some people, but I've been speaking super fast since I was at least nine years old, well before I had ever listened to a podcast (and I'm not sure that the term even existed in ~2000). Not just public speaking, but in general.

I'm kind of unique in my family, the rest of my family speaks at a more or less normal rate, so it could be some neuroligical or spectrum thing specific to me.
by bryanhogan | 2025-12-15 03:20:16+00:00
Working on an app to learn Hiragana.

A gamified approach that gradually introduces characters.

As I'm currently in Osaka I can use my own app well :) Hoping to make learning Japanese more fun.

It's here: https://app.tolearnjapanese.com

It's based on my simple web app to learn Korean vocabulary. I'm taking elements from Anki and other language learning apps, but making it focused so it works well in a broader language learning journey.

For learning Korean vocabulary: https://game.tolearnkorean.com

Have also been writing about these in my monthly mail-letter: https://bryanhogan.com/follow
by oskarkk | 2025-12-15 03:20:57+00:00
If you're not sure if there are any important world-writable files, then just check that? On Linux you can do something like "find . -perm /o=w". And you can easily make whole dirs inaccessible to other users (chmod o-x). It's only a problem if you're a developer who doesn't know how to check and set file permissions. Then I wouldn't advise running any commands given by an AI.
by JumpCrisscross | 2025-12-15 03:21:27+00:00
> Israel is systematically taking land away

Sure. Not great. But also not relevant to charging individuals.

If we’re to learn from Sykes and Picot, a good place to start would be in acknowledging the primacy of the living over the dead, and those on the ground over ideals from abroad. One conclusion from that is we shouldn’t be condemning men we’ve never met for actions they are only affiliated with.
by netsharc | 2025-12-15 03:21:42+00:00
Maybe related: I bought an LG TV in 2014 or so, I was interested in what its calls home communicated, so I MItM'ed it to capture the http (no s!) traffic. I never did bother to analyze the requests and responses..

But I got a newer LG model 2 years ago, I was still redirecting requests to LG's servers to a local web server (using DNS), but I guess due to https, the certificate checks failed and the attempts to call home failed. This meant that I never got asked to agree to the T&As.

But of course many apps don't work..
by frostiness | 2025-12-15 03:22:14+00:00
The problem is that it genuinely is. One of the appeals of AI is that you can focus on planning instead of actually doing running the commands yourself. If you're educated enough to be able to validate what the commands are doing (which you should be if you're trusting an AI in the first place), then if you have to individually approve pretty much everything the AI does you're not much faster than just doing it yourself. In my experience, not running in YOLO mode negates most advantages of agents in the first place.

AI is either an untrustworthy tool that sometimes wipes your computer for a chance at doing something faster than you would've been able to on your own, or it's no faster than just doing it yourself.
by ryukafalz | 2025-12-15 03:22:44+00:00
Since it is a public list, here's the link: https://groups.google.com/g/cap-talk/c/Box4XXhSevw/m/18pUqAQ...

He posted on the list recently too if folks were worried: https://groups.google.com/g/cap-talk/c/XCBwf-zpJWA/m/6CWsNA-...