MurphyA/hacker-news huggingface dataset:
by gpderetta | 2025-08-13 11:15:53+00:00
Handling allocators correctly it is actually quite problematic. In C++ you would placement-new into the raw storage, which ends the lifetime of whatever was there and start the lifetime of a new object, and as long as you use the pointer returned by operator new (or use std::launder), formally you are ok.

Famously you cannot implement an allocator in C into static named storage; I understand that on anonymous memory (like that returned by sbrk or mmap, or an upstream allocator) it should work fine, but, as a C++ programmer, I'm not familiar with the specific details of the C lifetime model that allow it. I understand that stores into anonymous memory can change the dynamic type (or whatever is the C equivalent) of the object.

In any case the issue is around object lifetimes and aliasing instead of pointer provenance: you can treat the anonymous memory is just a char array and you can safely form pointers into it and will carry the correct provenance information.
by logicprog | 2025-08-13 11:15:55+00:00
Hi from the other thread :P

If you'll forgive me putting my debugging hat on for a bit, because solving problems is what most if us do here, I wonder if it's not actually reading the URL, and maybe that's the source of the problem, bc I've had a lot of success feeding manuals and such to AIs and then asking it to synthesize commands or asking it questions about them. Also, I just tried asking Gemini 2.5 Flash this and it did a web search, found a source, answered my question correctly (ls -a, or -la for more detail), and linked me to the precise part of its source it referenced: https://kinsta.com/blog/show-hidden-files/#:~:text=If%20you'... (this is the precise link it gave me).
by dugmartin | 2025-08-13 11:15:59+00:00
In the US when I was a kid in a '70s most grocery stores and supermarkets had a Brach's candy bin/wall, labelled "Pick-A-Mix", where you could buy candy by weight. The only time we got any was when my grandmother was with us as she had a huge "sweet tooth". I think by the early 2000s they were all gone (at least I haven't seen any).
by amelius | 2025-08-13 11:16:02+00:00
Can anyone explain in layman's terms how this personality training works?

Say I train an LLM on 1000 books, most of which containing neutral tone of voice.

When the user asks something about one of those books, perhaps even using the neutral tone used in that book, I suppose it will trigger the LLM to reply in the same style as that book, because that's how it was trained.

So how do you make an LLM reply in a different style?

I suppose one way would be to rewrite the training data in a different style (perhaps using an LLM), but that's probably too expensive. Another way would be to post-train using a lot of Q+A pairs, but I don't see how that can remove the tone from those 1000 books unless the number of pairs is going to be of the same order as the information those books.

So how is this done?
by nottorp | 2025-08-13 11:17:12+00:00
Hmm. My home office is about the same length but double the width (room is like 10 sq meters). It only has computers and not music gear/flight sim controllers though, so less cluttered. And a proper ergonomic chair :)

But now that I think of it, most of the time I spend in there I'm sitting at my chair and looking at the monitors. I never look back. So I'm basically using the same space as this office.

Maybe subconsciously knowing i have some space behind me before I hit the wall helps...
by latexr | 2025-08-13 11:17:34+00:00
> “NSFW” is an initialism for “Not Safe For Work”.

> It is, IMHO, a lazy, unhelpful, even stigmatising, shorthand.

So is “IMHO” (lazy and unhelpful, not stigmatising), and I’d argue even more so. You’re posting about a subjective matter, to your own blog, under your own name. Of course it’s “your opinion” (if it were not, you could link to sources), and why is it “humble”?

I don’t recall ever seeing a helpful use of “IMHO”. “NSFW”, on the other hand, may be imperfect but at least carries a signal. We can debate if it is lazy or stigmatising (perhaps it is) but what it definitely is not is unhelpful.

> If the goal of the use of the “NSFW” tag is to help users decide whether or not to view the tagged content

It’s not. Or at least it’s not its only goal. The clue is in the words: Not Safe For Work. What it means is that if you want to look at the content, consider your environment. The initialism is there so you are not caught off guard seeing something risqué which may get you in trouble if anyone were to look over your shoulder at that exact moment. The term concerns itself with corporate desk work, it’s for content which could be problematic in strict work environments.

Furthermore, it exists precisely to be used in situations where a better tagging system isn’t available. Argue for social networks to have better tagging of fringe content, sure; but when they don’t, having a a vague and imperfect but instantly recognisable signal is extremely useful.
by conartist6 | 2025-08-13 11:17:36+00:00
Being alive in a fallable body isn't a limitation it's a huge huge huge huge huge huge advantage. It's the whole secret.

Why pretend that Nature itself is stupid and incompetent. The evidence is very much stacked against you and all the others who think evolution is some kind of hack job whose shoddy work we'll outdo in literally a few years of computation...
by rickdeckard | 2025-08-13 11:18:00+00:00
At a total contract value of £9 billion over five years they could at least demand interoperability of Microsoft with other systems and infrastructure, banding together with other countries (and the EU) maybe.

Otherwise I'll be looking forward to see how they ever want to break their systems and workflows apart again once the glue between Azure/Sharepoint/Office365/Exchange/PowerBI/Teams/Evolve/Copilot has fully dried.

It's already quite late anyway, but with the "MS Teams culture" not yet cemented in some sectors there's still a chance for it to be "mainly about MS Office and Outlook". Once all your employees shift daily communication to MS-Teams and all its integrated modules, you will have to deal with Office, Outlook, Teams+Sharepoint+PowerBI+Copilot+Azure+X...
by sparkie | 2025-08-13 11:18:19+00:00
It's not only your own software, but also its dependencies. The link above is for glibc, and is specifically addressing incompatibliy issues between different software. Unless you are going to compile your own glibc (for example, doing Linux From Scratch), you're going to depend on features shipped by someone else. In this case that means either baseline, with no SIMD support at all, or level A, which includes SSE4.1. It makes no sense for developers to keep maintaining software for 20 year old CPUs when they can't test it.
by rsynnott | 2025-08-13 11:18:54+00:00
> A lot of people also believe that global warming will cause terrible problems. I think that's a plausible belief but if you combine people believing one or another of these things, you've a lot of the US.

They're really quite different; precisely nobody believes that global warming will cause the effective end of the world by 2027. A significant chunk of AI doomers do believe that, and even those who don't specifically fall in with the 2027 timeline are often thinking in terms of a short timeline before an irreversible end.
by tetris11 | 2025-08-13 11:21:15+00:00
I'm a bit lost in this thread, but I've written up what I know for other dummies like me

Aapt2 is an x86_64 standalone binary used to build android APKs for various CPU targets

Previous versions of it used a simpler instruction set, but the new version requires an extra SIMD instruction SSE4. A lot of CPUs after 2008 support this, but not F-droid's current server farm?
by api | 2025-08-13 11:21:32+00:00
It was largely the same. A ton of Internet companies struggled to find a way to make money after the initial land grab, and most failed. The hype was breathless and over the top.

A lot of late 90s to early 2000s hype has come true. Today we have substantial companies with no physical office and that have never used physical mail, delivery for everything, and ubiquitous connectivity for devices. It just took about 15-20 more years to get there.

I suspect we will have AI replacing programmers on non-trivial and non-slop projects in 15-20 years.

The social optimism of the late 90s and 2000s about the Internet was mostly wrong though. We didn’t really anticipate either surveillance capitalism or mass disinformation breaking whole segments of the population off from reality. Like most well intentioned people we had trouble even imagining the uses that “dark triad” personality types would have for the technology.

The pessimism around AI is, I think, an overcorrection from the excessive optimism around the net and the web.
by miki123211 | 2025-08-13 11:22:00+00:00
The right way to do this would be to use longer, overlapping chunks.

E.g. do thranscription every 3 seconds, but transcribe the most recent 15s of audio (or less if it's the beginning of the recording).

This would increase processing requirements significantly, though. You could probably get around some of that with clever use of caching, but I don't think any (open) implementation actually does that.
by dietr1ch | 2025-08-13 11:22:23+00:00
I think that here is where things are lacking. There's not enough information that can be conveyed to the OS with just a number, and the number seems fixed and not tied to user input (active application, user just clicked, action blocking presentation).

It'd be cool if tasks told you about their workload in terms of latency throughput, and cadence required (hello skipping audio when you compile hard).
by atopal | 2025-08-13 11:22:49+00:00
Anchor positioning is part of Interop 2025. Firefox committed to shipping support for it this year: https://wpt.fyi/interop-2025

After that, it should take about 2.5 years for the feature to become Baseline widely available, and depending on your audience[0], you might be able to use it even sooner.

[0]: https://web.dev/blog/whats-my-baseline
by TheDong | 2025-08-13 11:23:10+00:00
The reason copy+pasting is risky is it builds a habit where you're vulnerable to phishing sites.

Use the browser extension for your password manager, it auto-fills based on URL, so if you're on "kagii.com", it won't auto-fill and you'll notice something is off, but if you're on "kagi.com" it will.

Auto-filling vs copy+pasting is a security feature.
by QuantumNomad_ | 2025-08-13 11:23:55+00:00
The custom keyboard that they have on the web page is pretty small compared to the OS keyboard on iOS, when I use the page on an iPhone.

If I could use the iOS keyboard I think I would get a much better speed. I usually type with fingers from both hands on iOS. With the custom keyboard that they have on the page I can only use one finger from one hand to type.
by Grokify | 2025-08-13 11:23:57+00:00
I enjoy the Go ecosystem quite a bit and haven't found many issues with documentation. I love how open source modules are documented on pkg.go.dev, including those from major providers, like AWS, Google, etc. Every library has the same references. When examples are useful, such as with charting modules, I've found that the projects do provide them. On the occasion where the README.md code is out of date, it's been easy for me to check pkg.go.dev and update it myself.
by rsynnott | 2025-08-13 11:24:17+00:00
I mean, this is the religion/philosophy which produced Roko's Basilisk (and not one of their weird offshoot murder-cults, either, it showed up on LessWrong, and was taken at least somewhat seriously by people there, to the point that Yudkowsky censored it. Their beliefs about AI are... out there.
by wizzwizz4 | 2025-08-13 11:24:50+00:00
I'd be more inclined to support your "multiculturalism" claims, if you weren't using language and rhetoric from a British hate group. Do you really say "LGB" in Norway?

> And most people don't feel this way when they reach adulthood, as it's _typically_ a part of puberty.

Most people don't feel this way in childhood, either – but most people who do feel that way in childhood, also feel that way in adulthood.

> Not to say gender dysphoria doesn't exist, but there's also no actual solution to it right now.

See, I can tell you haven't spoken much to trans folk, because that's not true. The only things we're missing are gonadal function, and natural erectile function in phalloplasties: everything else (including pregnancy, for trans women) is possible with current medical technology, albeit hideously expensive.

Most trans people don't opt for such interventions, because they don't care about them all that much – or because they carry risks, such as vocal surgery. The most common interventions (such as exogenous sex hormones) are extremely effective at alleviating treating gender dysphoria.

> Trans just has never been a thing culturally here.

Trans people are well attested in ancient Scandinavian cultures – way more so than in Ancient Britain, where we only have fragmentary evidence and some etymological fun facts. I know that has little bearing on your current cultural attitudes, which are as I understand quite rigid about the gender binary, but I'm a pedant.

> For one because we have strict laws of medical interventions on underage people,

Norwegian law allows puberty blockers for children in Tanner stage 2, and hormones at the age of 16, subject to medical gatekeeping (which, provided waiting lists are reasonable, isn't so bad). The laws prohibit treatment to non-binary people, which is pretty bad, but they're hardly as you've described them.
by bondarchuk | 2025-08-13 11:24:52+00:00
I don't understand how this would happen, though. It's not like it will mishear a dutch sentence as if it's english; it will correctly pick up the dutch sentence, but (since the language is auto-detected as english at the start of the segment), seemingly auto-translate that (correct and correctly heard) dutch text to english. All we need is a way to get the dutch text that's surely somewhere in there, before the translation happens.

Unless it was trained end-to-end on dutch-subtitled english text?? Which might make the translation a somewhat inextricable part of the model..? Does anyone know?
by majewsky | 2025-08-13 11:25:00+00:00
Zero values can, for the most part, be caught with a custom UnmarshalJSON implementation (and the new UnmarshalJSONFrom interface ought to remove most of the performance penalty associated with that). The one problem is what to do when the field is missing entirely, because then UnmarshalJSON(From) will never be invoked.

I have been thinking about suggesting a new struct field tag for JSON parsing: `json:',required'` that throws an error when the struct field is absent in the respective JSON object. The artifice is mostly in how to phrase that proposal in a way that makes it more likely for the Go devs to accept it. If I just come in like "I hate zero values", that may have some truth to it, but it's not going to be conducive to the discussion going the way I want.
by jeroenhd | 2025-08-13 11:25:19+00:00
I doubt Google even cares about F-Droid. The Play Store competes with the iOS App Store, Huawei's App Galery, and probably the Samsung Store long before F-Droid becomes relevant.

If they required a Google-specific Linux distro to build this thing or if they went the Apple route and added closed-source components to the build system, this could be seen as a move to mess with the competition, but this is simply a developer assuming that most people compiling apps have a CPU that was produced less than 15 years ago (and that the rest can just recompile the toolchain themselves if they like running old hardware).

With Red Hat and Oracle moving to SSE4.1 by default, the F-Droid people will run into more and more issues if they don't upgrade their old hardware.
by cluckindan | 2025-08-13 11:25:20+00:00
Even CLOCK_MONOTONIC doesn’t increase linearly, it is affected by NTP updates.

Apparently newer Linux kernels support CLOCK_MONOTONIC_RAW which is not affected by NTP, but even that may not increase linearly: it’s not updated when the system is in standby.

Then there is also CLOCK_BOOTTIME which is monotonic and accounts for time spent in standby.

Neither of these seem to be POSIX standardised, though.
by n4r9 | 2025-08-13 11:26:36+00:00
It certainly seems like you can get much longer words. I just had a quick go and came up with

0 1 0 2 0 1 2 0 1 0 2 0 2 1

but I stopped there because it gets tedious to check manually for repetition. Might be worth writing a little script to produce the word where each letter is the smallest possible number that doesn't create repetition.
by fuglede_ | 2025-08-13 11:26:53+00:00
I have lived in several parts of Denmark and never once encountered the notion of "lørdagsslik"; that concept sounds completely absurd and laughable. No, in every place I have stayed, kids would only ever have fredagsslik (Friday goodies), to be consumed while watching FredagsTamTam (https://www.dr.dk/drtv/serie/fredagstamtam_357146).
by rsynnott | 2025-08-13 11:27:27+00:00
I mean, cults have constantly shown up for all of recorded human history. Read a history of Scientology and you'll see a lot of commonalities, say. Rationalism is probably the first major cult/new religion to emerge in the internet era (Objectivism may be a marginal case, as its rise overlapped with USENET a bit), which does make it especially visible.
by literalAardvark | 2025-08-13 11:27:44+00:00
As others have said, because it's a key military capability.

Humanity is what humanity is, not what we wish it'd be, so key military capabilities need to be developed or you get razed by the guy who did develop them. Doubly so now that we've rediscovered that culture is much more resilient than we'd thought, and that different people want Earth to look in different ways.

Do we all wish we'd stop ecological collapse instead? Yeah. But it's not going to happen so it's irrelevant.
by i_have_an_idea | 2025-08-13 11:28:07+00:00
Sounds nice, in theory, but in practice I want to iterate on one, perhaps, two tasks at a time, and keep a good understanding of what the agent is doing, so that I can prevent it from going off the rails, making bad decisions and then building on them even further.

Worktrees and parallel agents do nothing to help me with that. It's just additional cognitive load.
by rickdeckard | 2025-08-13 11:28:23+00:00
> "Buying "off the shelf" (OTS) recognized and Industry standard proprietary solutions provides considerably better functionally, offers lower risks, and is more accepted by staff who use the same software at home."

> "Core digital and technology functions in government should be standard, using OTS software for major stuff like email and office productivity, focusing on innovative exploitation through recognised and proven tools, not using open source software."

The article seems to completely miss the issue of stickiness here. I agree with the stated benefits of OTS, but if the customer takes the comfort of "major stuff" OTS-software and doesn't use its leverage now to demand interoperability on the layers below, there soon won't be any room left for "innovative exploitation" with other suppliers.

There's no reason why a customer of this size shouldn't be able to e.g. award contracts for cloud infrastructure separately from "email and office productivity software", ESPECIALLY if its a government body.
by ptero | 2025-08-13 11:29:25+00:00
Indoors. There were decades of research leading to the recommendations of mask wearing when symptomatic and only indoors.

All that fell by the wayside when mask wearing became a covid-time cult. A friend (with a degree in epidemiology) told me that if she tried to argue those points and doubts outdoor mask mandates she will be the immediately out of her job.

The covid-time environment of shutting down scientific discussions because policymakers decided that we had enough science to reach a conclusion should not be forgotten, it was a reasonable concern turned into a cult. My 2c.
by mockingloris | 2025-08-13 11:30:31+00:00
A slight segue to this; I was made aware of the phenomena that - The language in which you think in, sets the constraints to which you level of expanse the brain can think and parse information in.

I think in English fortunately and it's an ever evolving language so, expanding as the world does. That is compared to the majority of people where I'm from; English was a second language they had to learn and the people that thought them weren't well equipped with the resources to do a good job.

│

└── Dey well; Be well
by v3ss0n | 2025-08-13 11:30:45+00:00
- Not everyone like EMacs , i am not going to open up another editor just to use orgmode .. it needs a lot of preparations.

- Orgmode format itself is a mess , it only good because Emacs's orgmode extension is very good working with Orgmode.

What would be really good is a Markdown-Compatible Todo System , with notes linking and tagging , and status/progress integration.

There was Dandrite, it was quite close to what needed but that project was abandoned.
by donatj | 2025-08-13 11:31:36+00:00
I know nothing about Whisper, is this usable for automated translation?

I own a couple very old and as far as I'm aware never translated Japanese movies. I don't speak Japanese but I'd love to watch them.

A couple years ago I had been negotiating with a guy on Fiver to translate them. At his usual rate-per-minute of footage it would have cost thousands of dollars but I'd negotiated him down to a couple hundred before he presumably got sick of me and ghosted me.
by tpdly | 2025-08-13 11:31:44+00:00
Thanks for the context.

The meat of their argument, in my opinion, relies on this:

> Nevertheless, it is noteworthy that the balance of empirical evidence in this area does not support the claim that social media use has a large impact on users’ political attitudes and behavior.

One such study they provide as a strong representative of the empirical evidence was by researchers collaborating with Meta where they did an RCT to test whether reverse-chronological vs ml algorithm feeds resulted int different political beliefs. I haven't looked into the study, but on its face that's an insanely stupid design; if my youtube feed became only reverse chronological one day I'd just open a different app after 40 seconds.

Content platforms' main product is their behavior-modulating feeds, their ability to hold your eyes for 4 hours a day. The idea that this wouldn't be effecting our politics is insane.
by msgodel | 2025-08-13 11:31:53+00:00
I think most people assume the individual satellites aren't synchronized well enough to produce a mutually coherent signal so the power from each of them will just be normally superimposed.

IE they're thinking of the individual phased arrays as just highly directional antennas for the satellites. The idea that they could be coherent actually means there could be more power than we might expect.