MurphyA/hacker-news huggingface dataset:
by nonvibecoding | 2025-07-17 09:10:39+00:00
>No. But engineers who learn to work with LLMs will most probably outpace those who don’t.

I think that in a few years, programmers who wrote code before this 'AI era' (or whatever we will name it) will have an edge over those who were “born” into it. It’s a bit like learning to drive a manual before switching to automatic. You build a deeper connection with the machine. You feel how things work under the hood, Which makes you a better driver, even when the car starts doing most of the work for you
by jorvi | 2025-07-17 09:12:32+00:00
The problem is that people who want a small phone prioritize the size.

Most of them don't care about the premium features of larger phones. So the Mini was a weird niche within a niche. Small phone with premium price and features.

The Mini and SE2 were virtually identical in physical size. For the 16e they should have used the iPhone 12/13 Mini body and the 13 Mini screen. Use the 15 Pro SoC with 8GB memory, and the 15 camera. Sell it for an SE price. Now you have fused the small phone and budget iPhone markets.
by chneu | 2025-07-17 09:12:34+00:00
Autism is being over diagnosed in the US for sure. It might be different in Germany but I know plenty of folks who have been diagnosed autistic after just a conversation or two with their therapist.

I know multiple therapists who have had parents try to get their kids an autism diagnosis because they think it'll help on admissions to colleges.

So be aware that what YOU experience is not what is happening elsewhere.

Autism is super cool on social media right now. So while the people who likely should be getting diagnosed likely aren't, many people who don't have autism are happily getting the diagnosis so they can fit in a group or have that label. Be aware that in the US, many people shop around to get the diagnosis they want and many doctors have happy to appease them. That's why antibiotics are massively over rxed in the US. Mental health is no different.
by rafaelmn | 2025-07-17 09:12:50+00:00
I mean what happens is skilled workers from poorer countries (Croatia in my case) move to richer EU countries, then we have nobody to perform construction - and now we have issued work Visas for 5% of the population basically. And you see newspaper stories of these people basically being treated like slave labor (crammed in small apartments, completely dependent on the visa provider, often abused). Just a few days ago there was another story about an immigrant worker being raped by her employer - also an immigrant that was just done serving his previous rape sentence. And plenty of stories of these people not being paid for months, documents being held, etc.

The unions have no standing because theres nobody left to be a part of the union - most people already left for Germany/Switzerland/etc. So Germany is just riding on the EU migration for now - but considering population dynamics - that's a short wave.
by grvdrm | 2025-07-17 09:13:32+00:00
Such a smart point.

I see this in my own experience with therapy. Someone might ask: why wouldn't you be totally honest or transparent if you're paying someone to listen to you and offer advice?

Well, it's hard! Lots of topics are very uncomfortable. It can (and did) take time to draw out genuine feelings on my many topics.

And my therapist frequently presents counterpoints. Not arguments. Just, as you said, pointing out inconsistencies.

That said, I've used LLMs here and there for some specific theraputic things. Asked for a framework/some thinking around tackling imposter syndrome and thought it was productive. Not perfect. Not human. But, not ruminating in my own head.
by flohofwoe | 2025-07-17 09:14:15+00:00
My two 'language poles' are Typescript as the 'north pole', and C as the 'south pole', with Python, C++, Zig (and to a lesser extent, Rust and Odin) placed somewhere along the latitudes.

I think that of all those options, Typescript and Zig feel closest related. Zig has that same 'lightness' when writing code as Typescript and the syntax is actually close enough that a Typescript syntax highlighter mostly works fine for Zig too ;)
by dijit | 2025-07-17 09:14:19+00:00
Ok, so you're continuing to push the topic in a direction of methane and not inefficiency as we were discussing.

I think I'll conclude the conversation here as it's clear you're just conversing from an ideological point of view.

Methane is a problem, as discussed elsewhere in the thread, but the largest issue continues to be the fact we're digging up oil and feeding it to herds, you've not convinced me that this is not the largest issue, or not a larger issue than: air travel, cars etc;
by libertine | 2025-07-17 09:14:31+00:00
I didn't say "Russians" I said the Regime and a lot of Russians (extreme nationalist ones), which are the ones running the propaganda machine.

It has been used has a derogatory term, like other ethnic slurs.

> And ethnic slurs are not used in official language, you know. I mean Russian official language.

If they are part of the Russian State propaganda language, then they're part of the official language. You, in particular, might not like it and feel uncomfortable with it, but that doesn't mean it's not happening. So you're misguided in your assessment, the problem isn't the new derogatory meaning of the word "little russian", it's the people using it while supporting the genocide in Ukraine.

> As well as word "moskal'" in Ukranian. Do you know what it means?

Oh I'm sure there are plenty of slurs from Ukrainians towards the people invading their land, killing and raping, destroying their livelyhood and culture in an attempt to erase them from the map! How do you expect people to react towards the people committing war crimes, crimes against humanity, and genocide?

> I mean you can hate Russia for starting the war and turn a blind eye to Ukrainians killing Donbass people

So your take is still the propaganda hook? Russia has killed more Ukrainians in the Donbass than anyone else since 2014 - they're the only ones to blame. They can try to spin it, but all the evidence points in their direction.

As for "hating an historical word" I don't even know what that means. Words in itself are not subject of being hated, its the people who use them with bad intentions that are the problem here.
by GuB-42 | 2025-07-17 09:14:42+00:00
For me, it would be the Samsung Galaxy S5 but with modern hardware.

In addition to being small, with SD card and 3.5mm jack, it is water resistant and has a removable battery. It is also one of the most robust non-hardened phones. It has an IR blaster too if it matters to you.

It was a time when Samsung was known for its gimmicks, the one for the Galaxy S5 is "Air View", where it recognizes your finger hovers over the screen. It is actually a good one, because it supports the "hover" targets in web pages!

Most people find it ugly though, and I tend to agree, but if you use a case, like most people do, who cares what the phone inside looks like?
by pdimitar | 2025-07-17 09:15:20+00:00
A lot of stuff is quite commoditized already, and I never found the size of a user base a convincing metric to judge by (not to mention the chicken-and-egg problem that you just demonstrated).

People are doing genuinely hugely impressive production-grade work there, and I am currently looking at a SigNoz dashboard while >200 users are frantically clicking on dozens of places in our UI (contains many reactive bits); our code is nowhere near optimal and we very rarely get >150ms response times, most are 20-50ms, and we're talking some quite tame machines (2 of them) with 8GB RAM and 2 CPU cores... and even then 90% - 99% of the time is spent waiting on the database.
by pms | 2025-07-17 09:16:16+00:00
If an OS is used, then that's because people need it, not because they're fighting some imaginary fight in the jungle. It's their preferred OS. If the number of people using computers shrinks, because non-pro users move to mobiles, while the fraction of pros using Linux increases to 95%, or even 50%, I think that's a very clear win for Linux.

The reason why MacOS grew in popularity is because it started to be used by pros, myself included, i.e., I've switched from Linux to MacOS seeing many top computer scientists using MacOS. However, after over 10 years of using MacOS, I'm actually still not sure whether it was worth it, and I'm considering to go back to Linux since a few years. The main reasons stopping me from switching is a reliable Calendar app and concerns about battery life.
by supercoco9 | 2025-07-17 09:16:19+00:00
QuestDB. It is built for finance workloads (can be also used for other timeseries data, like energy, or aerospace, but has heavy optimizations for common finance data patterns), it is very performant, it has been in used for years at large finance entities, and it is Apache 2.0.

Full disclosure: I am a Developer Advocate at QuestDB.

The Open Source edition does not limit any commercial use or the size of the machine you can install, as per the Apache 2.0 license terms.

If you want more enterprise-y options, like single sign on, or RBAC, there is an Enterprise edition. But Open Source is as performant as the Enterprise version. Enterprise offers also things like replication and TLS on all endpoints, which can be somehow replicated in Open Source with manual sharding or proxies.
by GreenWatermelon | 2025-07-17 09:16:24+00:00
I'm looking less at Nations and more at the people in those nations. The richest country on earth, the one with the highest number of billionaires, is unable to put roofs over its citizens' heads, unable to provide them with food stability, and its health care is the laughing stock of the entire developed world. Hell I live in a shit 3rd world country and our healthcare is still miles better than the US. THIS to me is undeniable proof that technological advancement != Prosperity for people.

Unindustrialized nations fared worse due to the industrialized ones coming for their resources. I doubt farmer John on Yorkshire gave a shit about what the UK was doing in south Africa or india. Similarly for Farmer Louis in Leon, or Hans in Stutgart. It's all elite dick-measuring contests with the common man as the only loser.

> outsourcing all the economic benefits to China

Hell the US already outsourced all vital indiatries to China without banning shit. My main point is that the common man will not see any benefit from such technological advancement, since the major problem is who's holding the stocks. AI is just another measure of wealth concentration.
by vtuulos | 2025-07-17 09:16:48+00:00
I don't know if it's a coincidence but we just released a major new feature in Metaflow a few days ago - composing flows with custom decorators: https://docs.metaflow.org/metaflow/composing-flows/introduct...

A big deal is that they get packaged automatically for remote execution. And you can attach them on the command line without touching code, which makes it easy to build pipelines with pluggable functionality - think e.g. switching an LLM provider on the fly.

If you haven't looked into Metaflow recently, configuration management is another big feature that was contributed by the team at Netflix: https://netflixtechblog.com/introducing-configurable-metaflo...

Many folks love the new native support for uv too: https://docs.metaflow.org/scaling/dependencies/uv

I'm happy to answer any questions here
Graduate level topics in computer science and engineering?
by shivajikobardan | 2025-07-17 09:16:54+00:00
After taking the advice from fellow hackers, I've quit my job to self-teach computer science. I've a degree already though. I am looking forward to suggestions on specialized topics in computer science that demands some attention. I am not talking about subjects beyond the core computer science subjects (those taught in Undergraduate CS degree)

My interests lie in these fields:

- web security

- distributed systems

- blockchain

etc.
by dghf | 2025-07-17 09:17:14+00:00
Thank you! I was just thinking "how do I get this to display in Waybar", and now I don't have to spend time working on it.

EDIT: this is particularly timely because the UK Met Office has recently announced the retirement of the API I was previously using: https://www.metoffice.gov.uk/services/data/datapoint/datapoi...
by peter_vukovic | 2025-07-17 09:17:31+00:00
> To begin with, a planet can be "dirty" without any civilization. Most planets are.

They can also be clean. Look at Earth. Don't see an argument here. We are discussing whether civilization pollutes or not, not whether planets are inherently habitable or inhibitable.

> We have seen it is possible.

Where have we seen it possible?
by kleiba | 2025-07-17 09:17:34+00:00
I briefly worked as a teacher for comp sci, math, and physics at a local high school. Luckily, I hardly ever had to interact with people higher up in the education hierarchy (DOE) but everytime I did, there was this attitude of "you know nothing about how to teach, we know everything". Like, you have to use tablets in math class these days, what am I thinking suggesting that pen and paper is appropriate??

The more I think about it, I can't help but think that pedagogy is borderline quackery. If you read articles like this (and that's certainly not the only one), you realize pretty quickly that there is little scientific basis and a lot of it is just plain guess work. And it all comes with this air of self-confidence that is really not grounded in reality.

And don't get me wrong: I'm not against proposing a learning theory and then verifying or falsifying it empirically. But that's not really what's happening when you force some wild out-there method on a whole generation of students, only to find out years later that, oh, maybe that was all baloney. I mean, besides my foray into teaching I actually worked in academia for most of my career, and everytime you apply for funding for anything that's remotely related to user experiments, you must get ethics clearing, and that's not a joke. I'm amazed that new bogey teaching methods are so easily introduced and made mandatory in our school system with apparently no ethical considerations.
by quietbritishjim | 2025-07-17 09:17:45+00:00
> And the idea that MS spent a fortune trying to improve the look and ended up with the Arial they did is - interesting.

That doesn't match what the article says. It says that IBM, not Microsoft, originally commissioned Arial. It mentions that Microsoft may have adjusted the spacing to match Helvetica, but that's all. It also seems to imply that the main reason for creating Arial was to be legally distinct from Helvetica, rather being an improvement as such (though I doubt they specifically wanted it to look worse). Is there some other part of its history that you're referring to here?

To be fair, it would be in character with Microsoft to try and improve a visual style and make it worse. They have a treadmill of visual design changes, seemingly just so visual designers and product managers can claim to have make a mark rather than because they're actually better. That results in occasional successes (e.g., Win95 and Win7 compared to their predecessors) and some obvious flops (e.g. WinXP window borders, Win11 taskbar - not an exhaustive list!).
by pjmlp | 2025-07-17 09:18:30+00:00
You mean like it happens on many OSes that aren't GNU/Linux?

A language runtime remains one, independently on how it was linked into the binary.

A language runtime are the set of operations that support the language semantics, which in C's case are everything that happens before main(), threading support (since C11), floating point emulation (if needed), execution hooks for running code before and after main(), delayed linking, and possibly more, depending on the compiler specific extensions.
by sandworm101 | 2025-07-17 09:19:22+00:00
Bright, but it sounds like he was also overcompensating. Many celebs, leaders in thier respective fields, get there by being massive good at something. Often they get that good as mental cover for some other self-percieved failure. The drive required to be the absolute best is itself rather unnatural, requiring some sort of trigger. Being a totally friendly extrovert seems a logical cover for poor reading ability.
by sigi64 | 2025-07-17 09:20:00+00:00
I can compare programming and refactoring large code bases in C and C++, Rust, and Python, from system and parsing and protocol libraries to asynchronous multi-threaded servers in the mentioned languages.

Refactoring Rust projects is clearly the easiest because the compiler and type system ensure the program is correct at least in terms of memory access and shared resource access. It doesn't protect me from memory leaks and logical errors. But since Rust has a built-in testing framework, it's quite easy to prepare tests for logical errors before refactoring.

C/C++ refactoring is a nightmare - especially in older projects without modern smart pointers. Every change in ownership or object lifetime is a potential disaster. In multi-threaded applications it's even worse - race conditions and use-after-free bugs only manifest at runtime, often only in production. You have to rely on external tools like Valgrind or AddressSanitizer.

Python has the opposite problem - too much flexibility. You can refactor an entire class, run tests, everything passes, but then in production you discover that some code was dynamically accessing an attribute you renamed. Type hints help, but they're not enforced at runtime.

Rust forces you to solve all these problems at compile time. When you change a lifetime or ownership, the compiler tells you exactly where you need to fix it. This is especially noticeable in async code - in C++ you can easily create a dangling reference to a stack variable that an async function uses. In Rust, it simply won't compile.

The only thing where Rust lags a bit is compilation speed during large refactors. But that's a small price to pay for the certainty that your code is memory-safe.

Another area where Rust absolutely excels is when using AI agents like Claude Code. It seems to me that LLMs can work excellently with Rust programs, and thanks to the support of the type system and compiler, you can get to functional code quickly. For example, Claude Code can analyze Rust programs very well and generate documentation and tests.

I think Rust with an AI agent has the following advantages:

Explicit contract - the type system enforces clear function interfaces. The AI agent knows exactly what a function expects and what it returns.

Compiler as collaborator - when AI generates code with an error, it gets a specific error message with the exact location and often a suggested solution. This creates an efficient feedback loop.

Ownership is explicit - AI doesn't have to guess who owns data and how long it lives. In C++ you often need to know project conventions ("here we return a raw pointer, but the caller must not deallocate it").

Fewer implicit assumptions - in Python, AI can generate code that works for specific input but fails on another type. Rust catches these cases at compile time.
by xytofs | 2025-07-17 09:20:39+00:00
getClaims() uses a multi-level cache + WebCrypto API to verify JWTs signed with an asymmetric key locally.

Cache is this:

1. Origin server is always Supabase Auth, which like all auth servers is difficult to distribute globally. It serves /auth/v1/.well-known/jwks.json with a 10 minute cache-control header.

2. Supabase's Edge caches this response closest to where it was requested. Re-requesting within 10 minutes here can be as fast as 10ms but usually around 20ms. This latency comes from peering latency between whoever is hosting the server requesting the resource, and the edge.

3. This response is further cached in memory in the client library for 10 minutes.

Now when it's pulled from the memory cache, the latency is really the speed of the WebCrypto API which is super fast and done in microseconds (not milliseconds!).

Depending where you use getClaims(), the memory cache may not actually be used. For instance Vercel's Fluid compute has persistent RAM between requests so you're in for a super nice treat for most requests.

If not using Fluid compute, memory isn't shared between requests so only the Edge cache would apply. This means the values are cached close (but not inside) Vercel's network, so you'd see consistent 10-20ms (give or take, very approximate numbers) here.

Anyway, if 10-20ms is still not acceptable, you can pass an option to getClaims() with a static JSON Web Key Set configuration. No cache is used now and it all depends on the WebCrypto API -- so microseconds.

This isn't recommended (unless you absolutely know what you're doing) as key revocation will be difficult for you in the future. The client library does its best, but if the signing key has leaked you must manually revoke by updating your backends.
by blub | 2025-07-17 09:21:13+00:00
Many of us strongly prefer handling some complexity ourselves that we can then tackle with tests, CI, fuzzing, etc if it means we don’t have to jump through hoops to satisfy the compiler before we can even see our code running.

Yes, Golang and Python and Java are very easy to start programming in. And unless we’re dealing with some really complex problem, like next-gen cryptocurrencies ;), by the time the Rust teams have gotten their code working and nice and proper as any Rust code needs to be, the Golang/Python/Java teams have already released to customers.

If one wants to be super-cautios and move accordingly slower to be really really sure they have no memory errors then that’s fine. There’s a market for that stuff. But selling this approach as a general solution is disingenuous.
by franga2000 | 2025-07-17 09:21:46+00:00
I still see the value in robots.txt and DNT as a clear, standardised way of posting a "don't do this" sign that companies could be forced to respect through legal means.

The GDPR requires consent for tracking. DNT is a very clear "I do not consent" statement. It's a very widely known standard in the industry. It would therefore make sense that a court would eventually find companies not respecting it are in breach of the GDPR.

That was a theory at least...
by archievillain | 2025-07-17 09:23:07+00:00
The bots are called "crawlers" and "spiders", which to me evokes the image of tiny little things moving rapidly and mechanically from one place to another, leaving no niche unexplored. Spiders exploring a vast web.

Objectively, "I give you one (1) URL and you traverse the link to it so you can get some metadata" still counts as crawling, but I think that's not how most people conceptualize the term.

It'd be like telling someone "I spent part of the last year travelling." and when they ask you where you went, you tell them you commuted to-and-fro your workplace five times a week. That's technically travelling, although the other person would naturally expect you to talk about a vacation or a work trip or something to that effect.
by throwaway150 | 2025-07-17 09:23:21+00:00
Yes, absolutely. I certainly don't need an LLM to do something like that.

When I ask for the weather, I want to know exactly what the Met Office says the weather is. Not what an LLM guesses the Met Office might have said, with a non-zero chance of introducing a hallucination.

This habit of inserting LLMs into otherwise deterministic tasks is frustrating. Why take something that can be solved accurately and deterministically (like parsing the Met Office's data) and make it probabilistic, error-prone, and unpredictable with an LLM?

LLMs are appropriate for problems we cannot solve deterministically and accurately. They are not appropriate for problems we can already solve deterministically and accurately.
by Expurple | 2025-07-17 09:23:45+00:00
Rust doesn't need a formal document so badly, because (in safe code) the punishment for not following the rules is much more clear and small. It's either a logic bug that doesn't lead to memory-related vulnerabilities, or a readable compiler error. Of course, if your compiler doesn't catch and explain your errors to you, you need a separate book to help you with that!