MurphyA/hacker-news huggingface dataset:
by JoshTriplett | 2025-06-19 00:37:30+00:00
The issue is that some features of glibc want to dlopen additional libraries, most notably NSS. If you call `gethostbyname`, even a static glibc will try to dlopen NSS libraries based on /etc/nsswitch.conf, and if the dynamic NSS libraries are incompatible with your statically linked glibc, you'll have problems.

musl, by contrast, doesn't support NSS at all, only /etc/hosts and DNS servers listed in /etc/resolv.conf, so whether you statically or dynamically link musl, you just won't have any support for (for instance) mDNS, or dynamic users, or local containers, or various other bits of name resolution users may expect to Just Work.
by Daub | 2025-06-19 00:37:35+00:00
> especially since there’s no real science or theory behind it (that I know of).

The literature on hue harmony is fuzzy, but there are a few gems.

Check out Matsuda [1] who tracked the colors of what his female students were wearing, and tried to identify any principles informing their color choice. My criticism of him is that he plotted hue distribution on the RGB color wheel. The RYB wheel would have been a far better choice. His paper is in Japanese, but is summarized in multiple places. Below [2] is a link to 2 pages from a lecture I gave which summarizes his findings.

I'm sure you also know of Kuehni's classic tome on color spaces [3]. A fun and informative read.

There has been no research on hue antagonism (which is the idea that underpins complementary pairs). This is crazy, as it would be a very easy subject to investigate. To me it is obvious that there is a special relationship between antagonistic pairs above the fact that they mix to neutral. Supporting this is the fact that Leondro DaVinci documented this relationship even before hue circle was invented [4]!

As for the mystical dimension of color harmony... this has been assumed since the dawn of color science. Newton himself believed that there was seven colors in his hue circle for no other reason than this was a spiritually significant value [5]. Itten [6], Goethe [7] and Kandinsky [8] all absolutely believed in the spiritual dimension of color. Personally, I believe that their work has had nothing but a destructive impact on how artists and designers use color. It is wildly inconsistent, vague and often plain wrong.

[1] Matsuda: Color Design. Asakura Shoten (in Japanese). (1995)

[2] https://www.dropbox.com/scl/fi/4ac93etjyg0z5y2ouq5ge/matsuda...

[3] Kuehni, R.: Color Space and its Divisions: Color Order from Antiquity to the Present. Wiley-Interscience, Hoboken (2003)

[4] Leonardo da Vinci, Trans. J. F. Rigaud, A Treatise on Painting (London: J.B. Nichols & Son, 1835).

[5] Matt Chamings “Why are there seven colours in a rainbow?” New Scientist, Last Word, 2021.

[6] Johannes Itten, The Art of Color: The Subjective Experience and Objective Rationale of Color (New York: Reinhold Publishing Corporation, 1961).

[7] J. W. v. Goethe, Goethe's Colour Theory, Trans. C. L. Eastlake (London: John Murray, 1840).

[8] Wassily Kandinsky, Trans. Michael Sadler, Concerning the spiritual in art (Penguin UK, 2024), p. 59.
by nodesocket | 2025-06-19 00:38:08+00:00
A recommendation for Portainer if you haven't used or considered it. I'm running two EC2 instances on AWS using portainer community edition and portainer agent and works really well. The stack feature (which is just docker compose) is also super nice. One EC2 instance; running Portainer agent runs Caddy in a container which acts as the load balancer and reverse proxy.
by qingcharles | 2025-06-19 00:40:18+00:00
This is the problem we have right now. Cheap nasty displays that put HDR on the box and are totally trash. Most people aren't buying $4000 Sony OLED TVs, they're buying the $300 SANGUULQ brand on Black Friday sale at Wal-mart.

One reason for keeping Apple hardware around is a decent display test bench. I do the best I can with image work, but once it leaves your hands it's a total lottery.
Show HN: AI Illustrated Stories for Stuffed Animals
by donkey_wobble | 2025-06-19 00:41:53+00:00
This is my attempt to do something fun with generative AI. I've tested this with some family members and their kids seems to love it. It's a bit pricey to make the stories and I've gone back and forth a bit on pricing models. I've settled on free for now and if it gets traction I can solve that problem later.

I would love to get your feedback on the site!

For the technical details - this was built with NextJS, hosted on Vercel, and coded with Cursor + Claude Code. We're not allowed to use Cursor or Claude Code at work, so this has been quite eye opening to see how good this stuff actually is. I work with React professionally but it's internal tooling so we don't use SSR. It was nice to get hands on with it.
by csomar | 2025-06-19 00:42:36+00:00
I’ve been maintaining rust-starter[!] for quite sometime now. It is kind of the equivalent of fang but for Rust. It uses Clap which is the equivalent of Cobra; though I don’t think Clap has the same kind of fancy output?

Throughout these years, I have found that cross-compiling is the most challenging part of creating a CLI. When you are building a web back-end, you control the execution environment (usually linux). For CLIs, your users could be on Linux, macOS or Windows. You need to get three x2 binaries (so a total of 6) to have a fair coverage.

I’ve tried cross, but for Windows and macOS you need licenses. There is no straightforward way to give your users Docker images and have them running in a few commands. You can compile on GitHub action machines, but that’s a very slow feedback loop. I wonder if things are better in Go land.

!: https://github.com/rust-starter/rust-starter
by DigitallyFidget | 2025-06-19 00:43:48+00:00
My only tip isn't really useful. Just avoid going to that hostile country for now. Unless there's a specific necessity. And if that's the case, then change all your social media accounts info, change the name, change birthdates, missmatch as much info as possible. Delete photos of yourself/family. Then for 'burner' accounts, make them on a different social network, like bluesky, myspace (they're still around), and then use an AI to generate ideas for posts and just make those as posts for the next while. The problem will be making a realistic timeline/history for new accounts. Alternatively "your kids aren't allowed to use social media", and that clears up a lot of work. But honestly just avoid the risk of traveling there in the first place, is it worth the risk of being detained?
by kulahan | 2025-06-19 00:44:07+00:00
It’s actually probably pretty benign psychology in my opinion.

Nobody on your own team is really gonna notice if you’re cheating unless it’s speed hacks or something. So your own team is hyping you up for being a god, and it feels good.

Plus a lot of people like you - trying it out for the novelty. Most people aren’t doing it, but seeing it once ever 20 games would probably be enough to drive you insane.
by ezschemi | 2025-06-19 00:44:16+00:00
I see. Need to check Ebay then.

I am interested in a productized version - but only with x64 boards like the Steam Deck or one of the Framework mainboards. I don't want to deal with 3D printing and all that. The latter are larger than the Steam Deck, though. No battery for me though: I would use it after work, when I am near an outlet anyway.
Ask HN: Is AI 'context switching' exhausting?
by interstice | 2025-06-19 00:44:51+00:00
I've always had this distinct struggle when switching in and out of being 'in charge', the best example I can think of is the difference between a driver vs a passengers awareness of the road.

Using AI for code has reminded me of this sensation, switching in and out of 'driving' feels more exhausting than being 100% one or the other. I have a theory that enforcing reduced engagement has all sorts of side effects in any format.

Wondering if anyone else has run into this feeling, and if so have you tried anything successfully to address it?
by surgomat | 2025-06-19 00:44:52+00:00
not "really" let's say but we chose PostgreSQL mainly for scalability and flexibility long-term.

Features like JSONB, advanced filtering, full-text search, and complex joins are key to how we handle (-exercises specifically- but also user data, and routines in the future)

That said, I totally get the appeal of SQLite for quick local setups. I might add an experimental SQLite mode in the future for simple and/or personal use cases but for now, PostgreSQL is required to support the full feature set

Appreciate the interest (and open to suggestions on making setup smoother) :D

Cheers
by rytuin | 2025-06-19 00:45:57+00:00
> Software only ever does what it's told to do.

There is no software. There is only our representation of the physical and/or spiritual as we understand it.

If one fully were to understand these things, there would be no difference between us, a seemingly-sentient LLM, an insect, or a rock.

Not many years ago, slaves were considered to be nothing more than beasts of burden. Many considered them to be incapable of anything else. We know that’s not true today.

Maybe software will be the beast.
by ajxs | 2025-06-19 00:46:10+00:00
Lots of sources online say it was shot on the disused platform at St James, but that was the subway scene in the second film. Some sources say it was shot at a freight siding at White Bay. If that's true then the actual station must be a set piece. You can find some behind-the-scenes footage online[1], and you can see that the staircase down to the platform is real, so that makes me doubt it was White Bay. Whatever the case, it's not at St James. You can find lots of pictures of the disused platforms online[2], and you can see the roof is totally different. I'd love to know what the actual truth is!

[1]: https://www.youtube.com/watch?v=2f79nuDTcCA

[2]: https://commons.m.wikimedia.org/wiki/File:Disused_platform_S...
by vmurthy | 2025-06-19 00:46:15+00:00
I would also pair this article with "Stolen Focus" ( a book I am currently reading -- fascinating read ) [0] . I am only 10% in and the book is captivating. Read the book to understand the "whys" of this article .

[0]https://www.amazon.com.au/Stolen-Focus-Attention-Think-Deepl...
by dkjaudyeqooe | 2025-06-19 00:47:11+00:00
> it does help you avoid being IP-banned

Actually all it does is get everyone behind the CGNAT banned. I've lost access to the WSJ and NYT recently, and other websites over time. For every Cloudflare backed website, I have to pass a captcha on every access.

Fuck those people doing "adversarial interoperability as a client", AI scraping, et al, who take away from thousands of people for profit, then move on to the next pool of victims.
by rtaylorgarlock | 2025-06-19 00:48:01+00:00
THANK YOU. For example, I'm currently a user of an android app (installed thru Play Store) which I found through front page; cool. The headline: "I developed <insert FOSS app which meets regular value prop> and didn't use <insert commonly used framework>". Tragically, I care less about framework than I do about functionality, and ever since installing, i've been left wondering how many of the hundreds of upvoters tried running what I describe as the single buggiest app on my phone. I've rage uninstalled multiple times in hopes of fixing issues which are sometimes only fixed by clean installing. My point: Guiding philosophies are important, and evaluating them at scale is critical* work.

*see what i did there
by throwaway422432 | 2025-06-19 00:48:36+00:00
Return of the Jedi (6) was perfectly fine. More like 7 which was ok as a nostalgic cameo vehicle, but resulted in throwing away the Rogue Squadron arc which should have always remained canon.

But not like that hadn't happened before. Anyone remember Splinter of the Mind's Eye, the original sequel to Star Wars?
by Zaheer | 2025-06-19 00:48:44+00:00
Original DHS Announcement on Social Media Screening: https://www.uscis.gov/newsroom/news-releases/dhs-to-begin-sc...

State Dept on what is considered Antisemitism: https://www.state.gov/defining-antisemitism/

These definitions are intentionally broad and designed to censor criticism of Israel. You have more freedom to criticize the US Government than to criticize a foreign country.
by insane_dreamer | 2025-06-19 00:50:09+00:00
> the rule of law completely breaks down

pretty hard to argue that the rule of law as completely broken down in the US

> ICE has the legal authority to arrest without warrants in many cases

yeah, you're probably right about that though I think it's more "some" cases than "many" (they can't enter your house to search for someone without a warrant); due process still holds though
by neomantra | 2025-06-19 00:50:12+00:00
Golang itself bundles a toolchain and can cross compile to a many target OSes and architectures. I use Goreleaser [1] to create GitHub releases, Homebrew packages, Docker images, and Linux packages. Goreleaser Pro can also create MSI packages.

ETA since I just saw Christian chime in: the Goreleaser author works at Charm.sh =)

[1] https://goreleaser.com
by remram | 2025-06-19 00:51:28+00:00
Note that this is not the only meaning of "virtual hosting". It is very commonly used with different addresses or ports. For example, the Apache `<VirtualHost addr:port>` block. It gets confusing because this is the same block that was used for "named-based virtualhost" (different `ServerName` in the same `<VirtualHost>`). See https://en.wikipedia.org/wiki/Virtual_hosting
by sokoloff | 2025-06-19 00:51:50+00:00
Think of Google searching circa 2010 (before they completely screwed it up for profit). The best Google search user was way more effective than a mediocre searcher, even on the much simpler task of searching.

I don’t think you’re giving yourself enough credit for understanding enough about system design to be able to effectively prompt and guide the LLM.

John Carmack* is going to be at least twice as good at making a game with LLM coding assistants as a mediocre prompt engineer will be. Guido van Rossum* and Rich Hickey* will be over 2x a mediocre prompt engineer at language creation. Linus Torvalds* will create the first version of git far faster than any mediocre prompt engineer (who will never complete that task). And on and on…

* replace with whomever you think is “best” in the field you’re comparing.
by theshackleford | 2025-06-19 00:52:00+00:00
Not op but...

It started out originally that I just needed a UNIX/Linux like but I also needed at the time better support for some propietary stuff than linux had, which is how I entered the fold.

What has kept me a customer has been their quality of service over the 15 years I have been a customer, which has more than made up for the extra cost of their hardware.

I get an OS I find reasonable to use, in a hardware package I like (give or take quite a few years there) and generally at this point still know that if something goes wrong the apple of today (but maybe not tomorrow) will look after me as a customer. If this changes, i'll go elsewhere, shunt OSX off and just go back to linux on the desktop I suppose. I'm not wedded to them. If they had'nt released the silicon variants when they did I was already getting to jump ship over to Lenovo/Dell land (at the time.)

Phones are a bit different, i've still received brilliant service from them in that regard, but I tend to flip back and forwards between android and iOS depending on my mood at the time.
by derektank | 2025-06-19 00:52:01+00:00
Obviously not by this administration, but if we are creating new powers, the question of the principle is relevant and its potential use by a Democratic administration is also relevant.

I, personally, don't see a problem with creating an ideological test for certain kinds of visa holders or permanent residents. As Karl Popper noted in outlining the paradox of tolerance, unlimited tolerance can lead to the destruction of tolerance itself. I think it's worth exploring ways for the government to prevent enemies of liberalism from entering the country, even if we already face illiberalism at home.

That being said, I think this specific proposal threatens personal privacy far too much to be justified.
by andy99 | 2025-06-19 00:52:53+00:00
I had a vibe-coding phase that I think largely followed the popular arc and timeline from optimism through to disappointment.

Definitely felt some burnout or dumbness after it, trying to get back into thinking for myself and actually writing code.

I think it's like gambling, you're sort of chasing an ideal result that feels close but never happens. That's where the exhaustion comes from imo, much more than if you were switching from manager to IC which I don't find tiring. I think its more a dopamine withdrawal than context switching.
by chasd00 | 2025-06-19 00:55:10+00:00
Thanks for some actual information. I’m trying to find the directive to force student social media profiles to be public but can’t find anything yet. This article mentions everything in the wsj article that I could read (no sub) but makes no mention of requiring profiles be “public”. https://www.politico.com/news/2025/06/18/social-media-screen...
by lucyjojo | 2025-06-19 00:58:20+00:00
there is a giant split between people.

some people only consider their in-groups as worthy of having rights.

others consider all human beings as worthy of having rights.

you see that schism in play everyday almost everywhere. i fear it is not a resolvable tension (without some kind of mass severe brainwashing). it is a core beliefs kind of thing.
by ryukoposting | 2025-06-19 00:58:56+00:00
There are a few obvious ones I knew would be bad for me - the Linux user agent, for example. My canvas also came up unique and I'm betting Dark Reader had something to do with that.

But then there's other things that don't make any sense. How is "NVIDIA Corporation" only 0.74% for "WebGL Vendor?" Why does navigator.hardwareConcurrency even exist?
PrivacySDK – Privacy scanner for Gitlab/GitHub CI/CD (12 langs, AI-powered)
by nabanitade | 2025-06-19 00:59:05+00:00
Hi HN,

I just released PrivacySDK — a privacy + security vulnerability scanner that plugs directly into GitLab, GitHub and various development CI/CD workflows. It scans your codebase for GDPR, CCPA, HIPAA, and security violations using a combination of AI (Google Gemini via Vertex AI) and hardcoded rule engines.

Think: linting, but for privacy compliance.

Key features:

Works with GitLab CI/CD, GitHub Actions, & various development workflows

Scans 12+ programming languages (JS, Python, Go, Java, etc.)

AI + rule-based detection (fallback-ready for production reliability)

Catches privacy risks with severity levels

Offers specific privacy recommendations

Educates developers on privacy best practices as they code

Real-time merge request comments, auto-issue creation, and CI pipeline enforcement

Helps enforce privacy-by-design automatically

Live website interface: Upload your code and get instant privacy reviews

Fully documented, tested, and ready for DevSecOps teams

Open source for personal/non-commercial use

Repo: https://gitlab.com/tnabanitade/privacysdk Commercial license info: Apply here : https://privacylicense.ai/contact or reach out at https://www.linkedin.com/in/nabanitaai/

It’s open source for non-commercial use (MIT + Commons Clause). Would love your feedback, ideas, and contributions—or thoughts on how this could evolve.

Thanks! – Nabanita De, Founder and CEO, https://privacylicense.ai/
by eikenberry | 2025-06-19 00:59:52+00:00
Parent said nothing about upgradability, it was about repairability. Modularity supports both but I buy framework laptops for the repairability. I stopped buying laptops for real work a long time ago as they were to fragile and had to be sent back to the manufacturer for repairs. Having a modular (repairable) laptop means I don't need a desktop computer just to reliably have a computer.
by its-summertime | 2025-06-19 00:59:55+00:00
I get what is being put down, but, hypothetical of, what if I wake up blind? (wouldn't be the first time for me), I turn on my computer and I ain't got no idea of when plymouth is ready, I could wait for 15 minutes and then start typing, and then after that, when is the login screen ready? At this point I know I can press a hotkey to get some response but I don't know what it is, and then I get into my session, press the same hotkey I hope, can then enable the screen reader but is that a full comprehensive screen reader or sorta only for gnome reader? Do I need to install more things?
by dnemmers | 2025-06-19 01:01:31+00:00
Another random user asked Grok yet another follow-up, writing “@grok do you agree with what Elon Musk just said”? But Grok again didn’t provide an answer that Musk would like. “I don’t fully agree with Elon Musk’s claim that my analysis was ‘objectively false or ‘parroting legacy media,'” the AI wrote.

Love the clapback by Grok after Elon’s reply.
by disambiguation | 2025-06-19 01:02:16+00:00
I think its matter of "least common denominator" as in the sum of all fields will surely be unique, but what's the _minimum_ number of fields needed to isolate one user? You can download the JSON from each test and compare the diffs yourself - there's a lot of noise from "cpt" and "ratio" fields, but some that stand out are "referer" and "cookie" fields as well as a few SSL attributes. Not sure if controlling for those is all it takes to de-anonymize, but either way it's not great.
by fc417fc802 | 2025-06-19 01:02:20+00:00
Speaking for myself I have an HN account but why would I want those other two? And I certainly don't have any "social" accounts under my legal name.

I'm not even comfortable with ICANN based DNS given that the identity requirements amount to an impressum. That's fine for business dealings but interpersonal communications (including the metadata) should be private from outside observers.
by nfriedly | 2025-06-19 01:03:24+00:00
The iPhone 8 has the unpatchable checkm8 bootrom vulnerability, so while it doesn't say this in the article, the author could have jailbroken the device to run whatever software they want without paying any Apple fees.

That vulnerability was a huge win. It just recently stopped, with the final vulnerable device (7th gen iPad) not getting the iPad OS 26 update.
by johnwalkr | 2025-06-19 01:05:21+00:00
That's really cool. I don't think you should support another keyboard, there may be better ones from a certain POV but I don't think there's a better one that's not significantly thicker and any keyboard options will quickly multiply complexity with any SBC/computing options. You will go down a rabbit hole if you start taking requests here. I think steamdeck internals plus rpi5 plus latest framework internals with no other configs is ambitious but not too ambitious.

My hobby is miniaturizing everything. If I were to fork this project (and I would love to after about 10 other projects are complete), I would think about selecting one good dongle, "shucking" it any other needed things, integrating them, and then finding the minimum volume to fit my preferred travel controller[1] and preferred travel mouse[2]. Then, I would consider customizing the housings of those things to be even slimmer without customizing any electronics except for maybe making sure everything gets charged while stowed. I would also consider minor mods to the keyboard to get rid of the bulk of the usbc cable. Pogo pins plus some 3D printing should do the trick.

[1]https://www.youtube.com/watch?v=55DO1HDeCHQ. No longer available new but this is the only good slim dual analog controller I have found.

[2]Still looking for a good one