MurphyA/hacker-news huggingface dataset:
by haberman | 2025-10-15 21:03:16+00:00
I agree, but in my experience arena allocation in Rust leaves something to be desired. I wrote something about this here: https://blog.reverberate.org/2021/12/19/arenas-and-rust.html

I was previously excited about this project which proposed to support arena allocation in the language in a more fundamental way: https://www.sophiajt.com/search-for-easier-safe-systems-prog...

That effort was focused primarily on learnability and teachability, but it seems like more fundamental arena support could help even for experienced devs if it made patterns like linked lists fundamentally easier to work with.
by Sharlin | 2025-10-15 21:04:06+00:00
> Task switching is.. not good? I don't get window previews I can switch through when I hover over the dock, but I do on Linux.

That just sounds like being accustomed to one way of switching tasks, honestly. If I want previews, I use Expose (three-finger swipe up/down or ctrl-up/down). But mostly I just use cmd-tab and haven't really needed to see previews there. Because macOS switches between applications, not windows, often there isn't single window to preview, and I'm not sure showing all the windows would work well either. For Expose it works well because the it can use the entire screen to show previews.
by supongo | 2025-10-15 21:04:12+00:00
I went to a DoD school from fourth grade until my second semester of 11th grade. After that, we moved to the U.S.

We moved to a good school district in the U.S, so the quality of the education remained the same. The most startling difference in a U.S public school was in how we were viewed by admin.

Compared to DoD schools, administrators in U.S public school system weren't too different from middle management at $corp. We were numbers on a spreadsheet.

A good analogy - U.S school admin acted like the kind of "manager" who judges you by the lines of code you produce and the number of commits you make. DOD school admin were the kind of people who judge you by the impact you made.

DoD schools respected our autonomy - we were treated like humans. Non-DoD schools treated us like cattle.
by nawgz | 2025-10-15 21:05:18+00:00
Yes, it is open source, and Docker containers are freely accessible too

https://github.com/hasura/graphql-engine

https://hub.docker.com/r/hasura/graphql-engine

I run v2.x images myself, not sure what v3 and DDN are, besides monetization efforts for the company*.

Also the migrations are just `up.sql` and `down.sql` files, there is nothing coupling you to a proprietary migration format, the value Hasura offers is generating them for you and tracking their application thru their CLI.
by andy99 | 2025-10-15 21:06:16+00:00
I’d personally like to see these posts banned / flagged out of existence (AI posts, not the parent post).

It’s sort of the personal equivalent of tacky content marketing. Usually you’d never see an empty marketing post on the front page, even before AI when a marketer wrote them. Now the same sort of spammy language is accessible to everyone, it shouldn’t be a reason for such posts to be better tolerated
by toast0 | 2025-10-15 21:06:59+00:00
> You're just creating a massive single point of failure and potentially massively weakening encryption.

It need not be a single point of failure. You can set these things up with redundancy. There's certainly an element of adding risk, your interception box is a big target to do unauthorized interception or tampering; but there's also an element of reducing risk --- you'd be potentially able to see and respond to traffic that would be opaque otherwise.
by amiga386 | 2025-10-15 21:07:14+00:00
The project was proposed in 2015 but it didn't seriously start until 2020. That's purely politics.

I'd say the lion's share of time was spent seeking planning permission, writing environmental impact documents, planning the route, building the justification for any compulsory purchases, consulting with interest parties, etc. Some of that would be NIMBYs, but I don't think there was a sustained campaign to hold back EGL2, it just took a lot of bureaucracy, and effectively "death by a thousand cuts". A project gets to be 5 years late one day at a time.

See the timeline and some of the documents here: https://www.easterngreenlink2.co.uk/project-to-date
by Maxatar | 2025-10-15 21:07:14+00:00
I treat std::variant the same way I treat std::tuple, which is that I use them internally/privately and don't expose them as part of a public API.

If I want to expose a std::variant publicly then I take the effort to emulate Rust, which I think everyone agrees has an incredibly useful and elegant enum type so it looks like this:

int main() { auto s1 = ConnectionState::Disconnected(); auto s2 = ConnectionState::Connecting(3); auto s3 = ConnectionState::Connected("192.168.1.5", 8080); for (const auto& state : {s1, s2, s3}) { state.visit( [](Disconnected) { std::cout << "Disconnected\n"; }, [](int retries) { std::cout << "Connecting (" << retries << " retries)\n"; }, [](const IpAddress& ip) { std::cout << "Connected to " << ip.host << ":" << ip.port << "\n"; }); } }

To implement that I currently do need to write out boilerplate like below, but with C++26 I will be able to use the upcoming reflection feature to automatically implement the bulk of this code by reflecting on the std::variant directly:

class ConnectionState : private std::variant<std::monostate, int, IpAddress> { public: static auto Disconnected() { return ConnectionState(std::monostate{}); } static auto Connecting(int retries) { return ConnectionState(retries); } static auto Connected(std::string host, uint16_t port) { return ConnectionState(IpAddress{std::move(host), port}); } template <typename... Fs> decltype(auto) visit(Fs&&... fs) const { auto visitor = Overload{std::forward<Fs>(fs)...}; return std::visit(visitor, *this); } private: using std::variant<std::monostate, int, IpAddress>::variant; }; using Disconnected = std::monostate;

...
by UncleOxidant | 2025-10-15 21:07:40+00:00
> annoying enough having to switch from one LLM ecosystem to another all the time due to vague usage restrictions

I use KiloCode and what I find amazing is that it'll be working on a problem and then a message will come up about needing to topup the money in my account to continue (or switch to a free model), so I switch to a free model (currently their Code Supernova 1million context) and it doesn't miss a beat and continues working on the problem. I don't know how they do this. It went from using a Claude Sonnet model to this Code Supernova model without missing a beat. Not sure if this is a Kilocode thing or if others do this as well. How does that even work? And this wasn't a trivial problem, it was adding a microcode debugger to a microcoded state machine system (coding in C++).
by thomassmith65 | 2025-10-15 21:08:21+00:00
How close are you?

Oh right, Anthropic doesn't tell you.

I got that 'close to weekly limits' message for an entire week without ever reaching it, came to the conclusion that it is just a printer industry 'low ink!' tactic, and cancelled my subscription.

You don't take money from a customer for a service, and then bar the customer form using that service for multiple days.

Either charge more, stop subsidizing free accounts, or decrease the daily limit.
by themafia | 2025-10-15 21:09:44+00:00
> Easy peasy. /s

It actually is though. I don't need to build a custom upload client, I don't need to manage restart behavior, I get automatic restarts if any of the background workers fail, I have a dead letter queue built in to catch unusual failures, I can tie it all together with a common API that's a first class component of the system.

Working in the cloud forces you to address the hard problems first. If you actually take the time to do this everything else becomes _absurdly_ easy.

I want to write programs. I don't want to manage failures and fix bad data in the DB directly. I personally love the cloud and this separation of concerns.
by cudgy | 2025-10-15 21:10:07+00:00
OK, but would these children have done better without using the screens? That is the question not whether students can possibly do well with screens. For example, what if the students at the top are less impacted by using screens and would’ve done just as well with books. And at the same time, some of the students in the middle would’ve done better when using books. The analysis you suggest would not catch that.
by apatheticonion | 2025-10-15 21:10:08+00:00
Wake me up when I can play video games on my MacBook and I'll upgrade my MacBook M1 Pro.

Until then, I take a mini PC with me along with my M1 when I travel and use game streaming for gaming and offload dev and AI work via ssh + ssh remote tools.

To me, M5 has amazing hardware, but they put square wheels on a Ferrari
by drivers99 | 2025-10-15 21:10:16+00:00
I wasn't familiar with (or had forgotten) those acronyms nor Archy. Looks like RCHI stands for Raskin Center for Humane Interfaces. THE stands for The Humane Environment which is what Archy used to be called. https://en.wikipedia.org/wiki/Archy_(software)

Sounds like it had the problem of not using a custom keyboard.
by singron | 2025-10-15 21:10:19+00:00
These days at many airports, precheck has the same procedures as normal screening. You keep your shoes on, laptops and liquids stay in the bag, and you don't show a boarding pass. And the lines are the same length.

Global entry is a real difference, but you need to travel internationally quite a bit to make the application/renewal process worth it (conditional approval backlog is 12-24 months now, although it seems you skip to the front just in time to do interview-on-arrival on your next trip).
by aDyslecticCrow | 2025-10-15 21:10:20+00:00
> Especially if you do meaningless computations in between to mask it

I think this will do the trick against coding agents. LLMs already struggle to remember the top of long prompts, let alone if the malicious code is spread out over a large document or even several. LLM code obfuscation.

- Put the magic array in one file.

- The make the conversion to utf8 in a 2nd location.

- Move the data between a few variables with different names to make it loose track.

- Make the final request in a 3rd location.
by spacechild1 | 2025-10-15 21:10:24+00:00
> I will boldly state that std::variant makes all code worse and it is always better to not use it.

And I will boldly state that your comment is again completely hyperbolic.

> std::variant is fundamentally broken because it uses types as its discriminant.

In my experience, the typical use case for std::variant is static polymorphism. For this purpose it works just fine because the type is the discriminator.

Another popular use case is tagged unions for non-POD types. In this case, you probably access the active member with std::get. This even works with duplicate types, if you access by index.

Would proper sum types and pattern matching be nice? Of course! But does this mean that std::variant is fundamentally broken? I don't think so.
by pjdesno | 2025-10-15 21:10:40+00:00
When I was an intern in the mid-80s we were cross-compiling for a 68000-based device (on a VAX, no less) but had our own version of the C library, supposedly because of some legal issues with the compiler vendor.

Part of this library was the routine to divide 32-bit integers, since the only native divide was 16x16 -> 32. Our implementation was the textbook shift-and-subtract algorithm, which took something like 1000 cycles on that CPU. Our routing algorithm did enough division that this ended up being a big deal, so they asked their intern to optimize it.

I came up with a version using the hardware instruction that was maybe 5-10x faster; they tested it a bit and sent a software update out to customers, after which the "phone home" monitoring (using real phone lines and modems in those days) started blowing up.

If you divide by zero, naive shift-and-subtract will return MAXINT, while the hardware instruction will raise a divide-by-zero exception. On startup we had a bunch of averages that were default-initialized to zero, and we'd divide by some of them. Getting 32-bit MAXINT wasn't a really big deal - it put a big spike into some moving averages, which decayed pretty quickly. An unexpected exception, though, was a big problem...
by kondro | 2025-10-15 21:10:48+00:00
That doesn’t make much sense to me, there are literally billions of phones that people are using all the time.

Apple has over 2.3 billion active devices of which a small percentage are Macs (an estimated 24 million were sold in 2024 and around twice that in iPads).

The most difficult to scale part of a cell network is number of devices connected, not bandwidth used anyway and cellular Macs aren’t going to add significantly more load to a network. And that assumes that Apple even cares what a carrier thinks.

I’m in Australia, not the USA, and for all people like to complain about internet here, we have excellent mobile coverage and it’s relatively affordable, but it’s all priced by usage.

I have 4 devices on my plan with shared 210GB of 4G usage between them for around AUD$200 (USD$130) a month on Australia’s best network (Telstra). I work remotely from cafes a lot (probably around 20-30 hours a week) as a developer and get nowhere close to that usage. I update all my apps, download all my podcasts, listen to lossless music and stream video whenever I want during breaks (although I’m not a huge out-of-home video consumer). I do literally nothing to limit my bandwidth usage and am lucky to use 30-40GB a month across all my devices.
by AndrewDucker | 2025-10-15 21:11:10+00:00
The two key snippets from Wikipedia:

"PEAR conducted formal studies on two primary subject areas, psychokinesis (PK) and remote viewing" ... "PEAR's results have been criticized for deficient reproducibility.[16] In one instance two German organizations failed to reproduce PEAR's results, while PEAR similarly failed to reproduce their own results.[13] An attempt by York University's Stan Jeffers also failed to replicate PEAR's results.[9]"

https://en.wikipedia.org/wiki/Princeton_Engineering_Anomalie...
by gabiteodoru | 2025-10-15 21:11:32+00:00
I agree with you, though in the q world people tend to take it to the extreme, like packing a whole function into a single line rather than a single screen. Here's a ticker plant standard script from KX themselves; I personally find this density makes it harder to read, and when reading it I put it into my text editor and split semicolon-separated statements onto different lines: https://github.com/KxSystems/kdb-tick/blob/master/tick.q E.g. one challenge I've had was generating a magic square on a single line; for odd-size only, I wrote: ms:{{[(m;r;c);i]((.[m;(r;c);:;i],:),$[m[s:(r-1)mod n;d:(c+1) mod n:#:[m]];((r+1)mod n;c);(s;d)])}/[((x;x)#0;0;x div 2);1+!:[x*x]]0}; / but I don't think that's helping anyone
by godelski | 2025-10-15 21:12:00+00:00
> two Firefox windows onto different desktops

My favorite is how it'll force move your workspace if you get a popup.

To reproduce, get a second monitor, throw your web browser onto that second monitor (not in full screen), and then open a application into full screen on your laptop's screen (I frequently have a terminal there). Then go to a site that gives you a popup for OAuth or a Security Key (e.g. GitHub, Amazon, Claude, you got a million options here). Watch as you get a jarring motion on the screen you aren't looking at, have to finish your login, and then move back to where you were.

> Mac are truly a mystery to me

Everyone tells me how pretty and intuitive they are yet despite being on one for years I have not become used to them. It is amazing how many dumb and simple little problems there are that arise out of normal behavior like connecting a monitor. Like what brilliant engineer decided that it was a good idea to not allow certain resolutions despite the monitor... being that resolution? Or all the flipping back and forth. It's like they looked at the KDE workspaces and were like "Let's do that, but make it jarring and not actually have programs stay in their windows". I thought Apple cared about design and aesthetics but even as a Linux user I find these quite ugly and unintuitive.
by tgma | 2025-10-15 21:12:01+00:00
Windows, huh?

Pulled shenanigans wrt TPM requirements for Windows 10 and 11. Actively trying to make sure people login to a Microsoft Account and making it hard to use Local Accounts.

> Mac developers are all too used of having to constantly keep up with whatever crap Apple has changed and moved around this time.

Mmm...

Win16 API Win32 API (including variants like GoodLuckSystemCallExExEx2W(...)) MFC ATL .NET WinForms .NET Avalon/WPF Silverlight MAUI ...
by eqvinox | 2025-10-15 21:12:42+00:00
I'm curious what this data would look like collated by drive birth date rather than (or in 3D addition to) age. I wouldn't use that as the "primary" way to look at things, but it could pop some interesting bits. Maybe one of the manufacturers had a shipload of subpar grease? Slightly shittier magnets? Poor quality silicon? There's all kinds of things that could cause a few months of hard drive manufacture to be slightly less reliable…

(Also: "Accumulated power on time, hours:minutes 37451*:12, Manufactured in week 27 of year 2014" — I might want to replace these :D — * pretty sure that overflowed at 16 bit, they were powered on almost continuously & adding 65536 makes it 11.7 years.)
by strcat | 2025-10-15 21:13:08+00:00
GrapheneOS isn't a product or a business. It's partnership between a non-profit organization (GrapheneOS Foundation) obligated to pursue the defined mission and a for-profit Android OEM making hardware. It's not a for-profit venture from the GrapheneOS side.

There are no closed source components in kernel space for Pixels and won't be for other devices we support either. Hardware and firmware is closed source in practice for all modern computers. Open source doesn't mean something is inherently more private or secure. In the case of hardware, you also can't verify it matches the sources in a similar way as software.

Firefox has poor security, but especially on Android where it doesn't implement sandboxing yet let alone site isolation. It has much worse exploit protections and other security protections than Chromium-based browsers.

Using web apps over native apps makes sense for reducing their access but has privacy downsides too such as trusting the servers rather than having signed releases able to provide more meaningful end-to-end encryption. Not everything can be done with web apps, especially in Firefox where there's no WebUSB, etc. as alternatives to installing native apps providing much less access to other things beyond what's required. For example, Firefox can't be used to install GrapheneOS on a device via the easy to use web installer due to lack of WebUSB despite Mozilla coming up with the early version of it as part of FirefoxOS.
by vel0city | 2025-10-15 21:13:43+00:00
I'm down for endpoints having to report whatever metrics to whatever servers and have their transactions highly audited. I'm down for their connectivity to be highly locked down. It's important to know what's happening on your systems and where data is flowing, I agree!

But in the end of I want Alice to talk to Bob and know they and only them are talking I'd like to guarantee that. Instead companies are spending tons of money and work hours doing Eve's work for her, installing her tools and getting it all nicely configured for when she logs in.

How many times do we have to backdoor our crypto systems to realize we're not building doors for just us but for everyone else as well?
by taf2 | 2025-10-15 21:13:45+00:00
I just don't find the benchmarks on the site here at all believable. codex for me with gpt-5 is so much better then claude any model version. I mean maybe it's because they compare to gpt-5-codex model but they don't mention is that high, medium, low, etc... so it's just misleading probably... but i must reiterate zero loyalty to any AI vendor. 100% what solves the problem more consistently and of a higher quality and currently gpt-5 high - hands down
by tmtvl | 2025-10-15 21:14:33+00:00
> There's no [...] good-looking "dark teal".

> light [themes] can't look good. Science

Sorry, but 'my preference is x. Therefore y. Science' is not how any of this works. I get that it's a joke, but considering light themes are objectively superior (c. ref. <https://journals.sagepub.com/doi/abs/10.1177/154193121360181...>), I take umbrage.
by NortySpock | 2025-10-15 21:14:36+00:00
Endless Sky seemed like a nice refresh when I tried it a few years ago, did a few initial quest lines.

It was interesting how the different faction technologies had different power/mass/volume/hardpoint production and consumption ratios, so there was a real nudge towards having tech all from one faction, and gently discouraging min-maxing the build using a Frankenstein of gear sourced from the far-flung-corners of the galaxy. At least that was my recollection.
by andy99 | 2025-10-15 21:15:20+00:00
Even now, I think many people are not literate enough to see that it’s bad, and in fact think it improves their writing (beyond just adding volume).

Maybe that’s a good thing? It’s given a whole group of people who otherwise couldn’t write a voice (that of a contract African data labeller). Personally I still think it’s slop, but maybe in fact it is a kind of communication revolution? Same way writing used to only be the province of the elite?
by aeonfox | 2025-10-15 21:15:57+00:00
According to the original article (looks like it's changed):

> But some conservationists alarmed by the proposed rollout of large solar projects in Nevada and other Western states celebrated the demise of Esmeralda 7, saying as designed it took up up far too much land.

> “Friends of Nevada Wilderness is thrilled that this poorly sited project is dead,” said Shaaron Netherton, the group’s executive director.

> “In the push to get this particular project through, the BLM ignored the importance of this region’s cultural significance, biological significance and the fact that it is one of the most intact landscapes remaining in Nevada,” Netherton added.

I have two conflicting opinions on the conservation value of the land. It might be that some significant part of it is worth saving, or perhaps FONW have become corrupt.
by mrguyorama | 2025-10-15 21:16:01+00:00
Youtube might not really care about accurate view counting in that way. In fact, Youtube likely does not care at all about traffic that won't view an ad, and they have demonstrably been hostile to that traffic for a while. Someday youtube hopes that nobody with an adblocker ever views any video, and has no intention to track their view attempts.

If that causes a problem with Youtubers making a paycheck from external sponsors, Youtube really really does not care, because sponsorships are money that youtube doesn't get!

Youtube is downright hostile to creators who don't make the "right" content, which means new videos at a perfect schedule that all have the exact same "taste" such that viewers can mindlessly consume them in between the actual ad breaks youtube cares about. The more and faster people accept this, the more likely we get improvements.

It took over a year for youtube to agree to let people swear in videos without punishment, including videos that are set as "These are not intended for children", after they unilaterally introduced this swear downranking several years ago.

Youtube cares about Mr Beast and that's about it. If you do not run your channel like Mr Beast, youtube hopes you die painfully and think about your mistake. Youtube actively drives creators making actual art, science, knowledge, and other types of videos to burnout, because Youtube considers creators to be a renewable resource worth exploiting, because there will always be 15 year olds who want to become influencers.

It is not "deeply invasive tracking" or "programmer thinking", it's entirely business. Google's business is ad views, not video views. They want to measure what they care about