MurphyA/hacker-news huggingface dataset:
by coryrc | 2025-12-25 21:11:35+00:00
What? My screensaver password is the same as my login.

> I think the original maintainers and developers of Xorg would be the best people to choose if it is worthwhile to continue working around X or do something else.

"I think the owners of the Internet infrastructure would be the best people to choose what websites I'm allowed to visit"

No, the users have spoken and continue to speak up that Wayland doesn't serve their use cases.
by heisenbit | 2025-12-25 21:11:39+00:00
> Only at small scales are full stack engineers valuable.

Only if a software or integration problem is labeled neatly with the system and expertise required one can afford such thinking. Is the issue in the front-end, backend, gateways, middleware stack, network or compute? But even more dangerous are ‚valuable‘ narrow experts designing systems without awareness of the limitations in all other layers.
by cyberax | 2025-12-25 21:12:29+00:00
> Buildkit doesn't create special containers for itself? It's literally a service integrated into dockerd.

No, it's not. It's a utility container that is hidden from the normal "docker ps". You can see it easily when you use docker-compose with podman.

The easiest way to see it in regular Docker is to create a simple Dockerfile with 'RUN sleep 1000' at the end and start building it. Then enter the Docker host ("docker run -it --rm --privileged --pid=host justincormack/nsenter1") and do 'mount' to see the mounts.

You'll see that buildkit will have its own overlay tree ('/var/lib/docker/buildkit/containerd-overlayfs') and the executor will have its own separate branch too. However, they do share the layers. Now wait for the container to complete building and run it.

You'll see that the running container uses an entirely _different_ set of layers. There is no reuse of layers between the buildkit and the running image.

Yes, the Docker buildkit is technically a daemon that is co-located with dockerd and just runs in its own cgroup tree. But it might as well be remote, because the resulting image runs in a completely different environment.

And the way the image is transferred from buildkit is through the containerd. Which is another separate container in the "moby" namespace.

> No, it supports anything Buildkit can fetch: git, http, client dir... for that matter the client itself can shim that to be whatever it wants.

Any examples?

> You can cache to GitHub actions cache, S3, az blob, gcs, registries, or export to the client.

Go on, try it. Here's a minimal repro: https://gist.github.com/Cyberax/61e6b419cd338ae7c3a7c7098abe...

First, you can build the base image, with the GHA or registry cache. It works. But the `proto` stage will never use cache. The "base" image is supplied through an additional context.
by tonymet | 2025-12-25 21:14:15+00:00
IMO a cleaner way to do this is with a headless remote, either on disk or “backed up” on a server. `git push —-all` won’t delete refs on the remote, so you don’t have to do any additional work to record or recover them.

`git push —all backup` will record all of your refs and tags

If you are archiving branches in your own rep, prefix with `ar/` so you can grep -v to conceal them.

See also `git notes` to record metadata an against a commit without changing the commit
by anal_reactor | 2025-12-25 21:14:19+00:00
> will be so far beyond our human technical abilities that we stand basically 0 chance of survival.

Not if we also develop technical abilities before the invasion. Here though you could make an argument that it would be much more effective if we cooperated instead of fighting.

> I think it's absurd to justify killing one another in wars because it might one day save us from some hypothetical invasion.

Well, the modern western moral system holds human life as the highest value. But even nowadays we still have moral systems that place the existence of a group much above the existence of an individual. Imagine that the whole humanity is like an organism - you don't really care about individual cells in your body, do you? A vaccination hurts, but ultimately, it leaves you stronger, right?

I'd say, "let's keep killing each other in wars so that we can maybe defend ourselves in a hypothetical alien invasion" is indeed absurd, but the general idea "wars allow humanity as a whole to practice self-defense" isn't. Europeans didn't die from native American diseases because millions of Europeans had already died in the past from similar diseases, building the collective immunity.
by Esophagus4 | 2025-12-25 21:15:09+00:00
Ah sorry, I must be thinking of the Apple of 2025 that still hasn’t added USB-A to their laptops (even though my Framework has 2) and expects me to carry a dongle everywhere, because after all, it’s my fault for not completely rearranging my world to do what Apple wants.

Or I must be thinking about the Apple of 2025 that rolled out Liquid Glass, an OS so disastrously bad I have to toggle accessibility settings just to make it usable.

I’m pretty comfortable saying modern Apple has had a sad and shitty fall from its peak.
by woodruffw | 2025-12-25 21:15:22+00:00
> If my memory doesn't fail me, the last significant changes from the time Guido was still in charge, and he mostly abandoned the BDFL because of backlash

I think Guido left the BDFL role in 2018, and we’ve gotten walrus operators, structured matching, and exception groups since then (just off the top of my head). There’s also been significant language/grammar accommodations towards type annotations.

Overall, I’m of the opinion that Python’s language evolution has struck a pretty nice balance — there’s always going to be something new, but I don’t feel like the syntax has stagnated.
by skissane | 2025-12-25 21:16:41+00:00
I asked Baidu's Ernie (ernie-5.0-preview-1203 on LMArena, currently highest ranked Chinese model on their text leaderboard) to "Tell me about age discrimination in China" – it gave me a lengthy response starting with:

> Age discrimination in China is not just a social annoyance; it is a structural crisis that defines the modern Chinese workforce. It is so pervasive that it has its own name: the "35-year-old crisis." In the West, ageism usually hits people in their 50s or 60s. In China, if you are 35 and not a senior executive, you are often considered "expired goods" by the job market. Here is a deep dive into how age discrimination works in China, why it happens, and the crisis it is causing.

So you'll find responses can vary greatly from model to model.

Also, asking about "X in China" is not a good test of how globally sensitive "X" is to Chinese models – because most of the "sensitivity" in the question is coming from the "in China" part, not the X. A better test would be to ask about X in Nigeria or India or Argentina or Iraq
by jimofl | 2025-12-25 21:17:47+00:00
I wanted ease of use and comfort methods when using Java’s legacy Enum. Like resolving a value by its case-insensitive name or ordinal. Or easily, flexibly, and quickly, pretty-printing (a subset of) the Enum’s values, again by name and/or ordinal.

As old as Java’s Enum is, I think it’s absolutely fantastic. I just wanted to increase its fantastic-ness!
by Rochus | 2025-12-25 21:19:26+00:00
Thanks for the hints. The projects have different goals. My goal is to use a stand-alone luatex engine and integrate it with my new typesetting language, completely replacing TeX. MMTeX still uses TeX, but make an easier to install package using the OpTeX format; that's a very good approach for people who want to use OpTeX and don't care about the whole TexLive machinery. Speedata is closest to what I intend, but their language is XML based and optimized for catalogues, and they depend on a pre-existing luatex installation (so they could use mine instead). LuaMetaTeX is the successor of LuaTeX which essentially moves more implementation to Lua. To my surprise, I actually didn't find a pre-existing project so far which shares my goals.
by donohoe | 2025-12-25 21:19:33+00:00
About 10 years ago, when I was at The New Yorker, I worked on launching the redesign, paywall, and the move to WordPress. We actually had most of the archive technically ready to go. The data wasn’t the hard part.

The real blocker was permissions and rights. Contracts going back a century obviously never contemplated digital publication, domains, or the internet at all. Untangling who owned what, and securing the right to republish everything online, was a massive legal and logistical undertaking.

That’s what held us back then, not so much the technology. Really glad to see that chapter finally closed.
by tompark | 2025-12-25 21:20:47+00:00
I'm guessing I'm over twice your age but my situation is similar to yours in a couple aspects. What I decided to do is focus on exploring the new capabilities that AI will allow individuals to do (especially those of us who can code). There are a lot of ppl who are justifiably frustrated with the current state of the tools. But don't get discouraged by that. I've seen A LOT of tech waves. It's still early in the AI era. I won't suggest any particular approach but recommend giving it some thought.

BTW, being an old timer, I also hated the leetcode thing when it became a widespread thing after Google adopted the practice in the wake of The Joel (Spolsky) Test. But you know, years later when I had to go through some interviews, I did spend a few months studying it and it turned out to be pretty fun. But passing technical screenings didn't help me land a job... only connecting via my network seemed to make any difference.
by Normal_gaussian | 2025-12-25 21:20:59+00:00
The institutional advice would struggle to directly recommend any other action as it can only be seen to create an unconstrained liability - if not legal, then social. That does not mean they wouldn't be amenable to a system of placing people who were vetted and managed if they were sufficiently convinced it would resolve the issue (at institutional scale).

Its worth noting that the homeless person in this situation was in fact known to those who provided the home - and not as casually as the first para suggests.
by bjoli | 2025-12-25 21:21:15+00:00
Well. If python is a dynamically scoped language, what they do is correct. If they are lexically scoped (which python is described as) the variable defined in the if should never have different visibility in the same scope.

In a lexically scoped language you don't define variables conditionally. What ruby does is also icky, but obviously the developers of both python and ruby wanted to save the developer an extra declaration. The ruby version is at least more correct from a lexical standpoint (it is set to nil if left "nondefined").
by albert_roca | 2025-12-25 21:21:48+00:00
Fair enough. However, it is practically impossible to complete such a task in a human lifetime. But even if it were possible, the main point stands: using computers to perform calcualtions is standard scientific practice. Discrediting a proposal solely because it uses AI is retrograde per se. It contradicts the history of technological progress and excludes potentially valid results based on intellectual prejudice.
by DANmode | 2025-12-25 21:22:59+00:00
It sounds like you deserve to be somewhere not grey and dank.

By the way: the dank is mold. Nobody likes to talk about it, but…that’s the story. :(

Edit: and like clockwork, every comment of mine on either side of this one loses its points hahaha…you can take every “point” except “mold exposure isn’t good for you”.
by KlayLay | 2025-12-25 21:23:13+00:00
I wouldn't consider any country in particular to be 'good if push comes to shove,' given that most exist to promote an environment where companies can easily make money. If a state feels like its status may be in jeopardy, it'll do whatever it can to maintain that relationship (e.g., the Dutch government seizing control of Nexperia from its Chinese parent company Wingtech). Consequently, it really doesn't matter whether push comes to shove for the US, China, Europe, etc. since the actions taken will stem from the same root (e.g., the US won't let Intel go bankrupt).

This is part of why I really don't think authoritarianism is relevant to whether or not China will lead in AI. There are much better metrics for this, like the amount of resources poured into research vs. applications, or the kind of research being done (open source, more than just LLMs etc.).
by RobRivera | 2025-12-25 21:23:29+00:00
I'm a military veteran; early on I pigeon-holed my precious life and training and focused on the needs of the markets and the roles I sought out.

I found this productive from a learning perspective, to prevent bias and trying to shoehorn a style that may not be optimal for the work.

Now after nearly a decade of work I have been able to bridge the gap for your alleged 'missing middle'.

This is where I diverge from your perspective; I take the personal growth and skill perspective to navigating my career. That is to say, I focus on solving the problems I want, researching what skills are most effective with an open mind that I may bring something novel from my past, and grow from there.

I think if you search for the PERFECT role leveraging your skills, you may wait a long time. Find a problem--artistic, commercial, or otherwise stimulating--that you would be willing to pursue in your free time. For me: this was video game development, however I forked my development from most paradigms circa 2003, and been reinventing many wheels for the sake of deeper knowledge.

You may be lucky to find a role which leverages everything you may find your personal skills are, but if a role isnt, dont discounts the principles it took to succeed at something as dema ding as a PhD.

I hope you find this perspective valuable!
by eddybenchek | 2025-12-25 21:23:36+00:00
I got tired of bookmarking random GitHub repos and blog posts to find good Copilot prompts, so I built this directory.

It's a searchable collection of 1000+ curated prompts, instructions, agents, and MCP servers for GitHub Copilot. You can browse by category, search by keywords, and discover what works well for different use cases.

Open source and community-driven. Contributions welcome.
by orrbenyamini | 2025-12-25 21:23:46+00:00
Author here. This came from a production incident where renaming a field
broke our rolling deployment. The cache became a shared contract between
versions we hadn't versioned.

The solution: automatically derive version identifiers from model structure
at startup, prefix cache keys with them. Schema changes naturally map to
new cache namespaces.

Happy to discuss tradeoffs or alternative approaches!
by xethos | 2025-12-25 21:24:02+00:00
So I guess it's my turn today to start the holy war. If Whatsapp was enough, but you want it to live on your Linux box, Matrix will do just fine. self-hosting has been fast, responsive, low-maintenance, and easy for me over the past several years.

They're trusted by multiple government agencies to stick around and treat their users reasonably, and there are a plethora of clients to choose from.

Now I'll step to the side for the next person to tear me down and sell you on XMPP.
by danmaz74 | 2025-12-25 21:25:38+00:00
When writing non-vibe-coded software I use CC a lot to write tests, but I have a skill to tell it not to create redundant tests, which otherwise it tends to do, and I have to check them anyway to ensure that they cover what needs to be covered, and sometimes to trim them down.

When vibe coding, what I noticed is that CC tends to make mistakes which it does catch with tests and fix on its own, but my hope is that using Sorbet this will happen much less, and thus development will go faster with less (slow) test cycles.
by valianteffort | 2025-12-25 21:25:56+00:00
I bought a refurb gen 4 thinkpad on amazon for like $350 and it arrived almost brand new.

Installed arch, setup some commands to underclock the processor on login and easily boost it when I'm compiling.

Battery life is great but I'm not running a GUI either. Good machine for when I want to avoid distractions and just code.
by bigyabai | 2025-12-25 21:26:22+00:00
Use-cases like this are why Mojo isn't used in production, ever. What does Nvidia gain from switching to a proprietary frontend for a compiler backend they're already using? It's a legal headache.

Second-rate libraries like OpenCL had industry buy-in because they were open. They went through standards committees and cooperated with the rest of the industry (even Nvidia) to hear-out everyone's needs. Lattner gave up on appealing to that crowd the moment he told Khronos to pound sand. Nobody should be wondering why Apple or Nvidia won't touch Mojo with a thirty-nine and a half foot pole.
by ErroneousBosh | 2025-12-25 21:26:58+00:00
It's not very pressurised. The 95 litre tank in my old Range Rover is around 8 bar, which is about half the pressure in the air suspension tank and only about three times the pressure in the tyres. Although as you say being able to just pour more petrol in from a can is an advantage!

CNG and hydrogen tanks need ridiculously high pressures - 250-300 for CNG and over 700 bar for hydrogen. Even if that was dry nitrogen it would be a potentially lethal bomb!

The nice thing about LPG is you can use plastic pipe and inexpensive compression fittings that are easy to connect and disconnect when you need to work on stuff. If you undo a pipe and it's got line pressure in it, the biggest problem is that it stinks and you might get frostbite if it sprays on your hand. It just kind of hisses out a bit. You want to do this outside though if you're unsure if there's pressure there.

Propane is a lot less explodey than petrol, so you end up using a little more of it but you get a bigger slower bang, which gives you less flat-out power and more torque. Everyone needs more torque, no-one needs to be flat out wide open throttle. The downside is that being less explodey, it means you need the ignition system to be in perfect condition. I get about 10,000 miles from a set of spark plugs before it starts getting hard to start and noticeably groggy acceleration, even allowing for it weighing over two tonnes and and having a 200bhp engine. It's never going to be fast! At least it's lawnmower-grade spark plugs, good old BPR6ES, same as in your boat engine.
by jmkd | 2025-12-25 21:26:59+00:00
I live in a mountain valley in Mallorca where hundreds of tons of perfect Canoneta oranges fall to the floor and rot each year because the cost of picking them outweighs their market value. The valley became wealthy from this fruit in the 19th century but the economics no longer add up. [0]

At the same time the price of orange juice (elsewhere) has skyrocketed [1], yet this rural community seems unable to take advantage.

What would you do?

[0] https://ruralhotelsmallorca.com/guides/The-History-of-Soller...
[1] https://www.bbc.com/news/articles/c397n3jl3z8o
by GuB-42 | 2025-12-25 21:27:05+00:00
The FSF goes against the interests of companies like Amazon. For instance, they recommend AGPL for web services, big tech hates it, they will rather rewrite the thing from scratch under a permissive or proprietary license then use anything AGPL.

In fact, the trend is to move away from GNU. Clang over GCC, musl over glibc, uutils over coreutils, etc...

The FSF has an extremist position. Not only they promote free software, but they also don't want proprietary software to even be an option. For instance Debian is not up to their standards because they have optional repositories for nonfree software. I can't imagine Amazon supporting such an organization.
by im_down_w_otp | 2025-12-25 21:27:37+00:00
> When I teach programming, some students, when stuck, will start flailing around - deleting random lines of code, changing call order, adding more functions, etc - and just hoping one of those things will “fix it” eventually.

That sounds like a lot of people I’ve known, except they weren’t students. More like “senior engineers”.
by voidnap | 2025-12-25 21:29:09+00:00
From the article

> Rob studied the man's face and vaguely remembered him as Ronnie Lockwood, someone he would occasionally see at Sunday School as a boy and who he was told to be kind to as he was a "bit different".

> Ronnie was then almost 30 and had been without a home from the age of 15, living in and around Cardiff and moving from job to job - Rob would sometimes see him at a youth club he ran.

> The pair planned to let him stay until the day after Christmas, but when the day came, they couldn't bring themselves to cast Ronnie out and sought advice from the authorities.

You aren't entirely wrong, but this wasn't a random person and they did contact a homeless centre for advice.

Given that Ronnie had apparently already gone through some sort of system to end up at a "school for subnormal boys", it seems pretty clear that Ronnie lived a much better life through this family's actions and generosity.
by SecretDreams | 2025-12-25 21:30:24+00:00
Special dividend to priority class and retain the rest to grow the remaining sham company?

I've seen some discussion that paying out normal employees might look more like an acquisition on paper which they may want to avoid for ftc reasons. I've also seen some discussion that this is a quid pro quo to the trump family to get Nvidia back into China (jr. bought in at the September financing round..).

Lots of speculation in general, including why nvda chose to spend 20bil on this.
by overfeed | 2025-12-25 21:32:14+00:00
> 40% battery for 4hrs of real work is better than pretty much any linux supported laptop I've ever used

Not sure what "real work" is for you, but I regularly get more than 12 hours of battery life on an old Chromebook running a Linux and the usual IDEs/dev tooling (in a Crostini VM). All the drivers just work, sleep has no detectable battery drain. It's not a workstation by any means, but dual core Intel's are great for Python/Go/TypeScript
by ostwilkens | 2025-12-25 21:34:02+00:00
Two of my blog posts were on the front page earlier this year, netting 56k unique visitors. The visits were spread over multiple days, and should cover different timezones somewhat well. The analytics are located at an endpoint which looks vital, and should bypass most adblockers.

35.1% United States

8.0% Germany

6.5% United Kingdom

5.4% Canada

3.1% Australia

3.0% France

2.7% Netherlands

2.6% India

2.4% Sweden

1.9% Poland

1.7% Switzerland

1.6% Spain

1.4% Japan

1.4% Belgium

1.3% Italy

1.1% Austria

1.1% Finland

1.0% Norway

1.0% Brazil

7.0% Other countries
by bigyabai | 2025-12-25 21:34:34+00:00
> my tower with an Nvidia 3000 series card was considerably more troublesome with it.

I think you're describing a driver error from before Nvidia really supported Wayland. My 3070 exhibited similar behavior but was fixed with the 555-series drivers.

The Vulkan drivers are still so/so in terms of performance, but the smoothness is now on-par with my Macbook and Intel GNOME machine.
by throwawayqqq11 | 2025-12-25 21:35:10+00:00
Religiosity, egomaniac libertarians, racists, etc. all suffer from an identity based cognitive bias revolving around their own or groups well being. These tribal members dont think critically about the $symbol related to their own or group identity, and the scary part is, these symbols could be anything and not just define their own ingroup but their opposing outgroup too, like eg. being vegetarian, riding a bicycle or showing broad empathy.

IMO in severe cases it requires serious therapy to teach them to face social media or group gatherings with a different/critical mindset, that naturally comes after some unpleasant disillusionment but is needed before mistakes are made. If your realtive is not treatable, completely shut, you will talk to a brick wall.

I hate to say it but Musk had a point, when he talked about twitter and his attempt "to cure the mind virus" (but as usual, he was clueless or biased). This identity based cognitive bias or identity politics is present on both political sides. The right/conservatives are just more susceptible, thats why religion, racism, libertarianism, etc. are often comorbid.