MurphyA/hacker-news huggingface dataset:
by throwup238 | 2025-05-16 18:38:14+00:00
1Password with their SSH agent [1] for SSH keys, their CLI [2] for local secrets, and their terraform provider with service tokens for infrastructure keys/secrets. Yubikey for the secrets I’m most paranoid about.

You can essentially encrypt all environment variables, not just SSH keys, by aliasing your terminal commands to the 1password CLI. I have a “secrets” repo where all dotenv files are checked in with values like “op://vault-name/secret-name/key-name” that get injected by the op cli.

[1] https://developer.1password.com/docs/ssh/agent/

[2] https://developer.1password.com/docs/cli/get-started/
by ColinWright | 2025-05-16 18:38:22+00:00
Notice that they redesigned the cube to be strong enough to withstand the pressures, and they have fixed spindles on each face.

So yes, this is a stunning achievement, but I'd still like to see a machine that has to handle the cube: To be given a scrambled cube, look over it with a camera from only one angle, then solve with "hands".

I've watched people do sub-five second solves, and I find that more impressive.

Not to take anything away ... this is still stunning.
by _bin_ | 2025-05-16 18:39:01+00:00
This is a bit of a game theory problem. "Training senior engineers" is an expensive and thankless task: you bear essentially all the cost, and most of the total benefit accrues to others as a positive externality. Griping at companies that they should undertake to provide this positive externality isn't really a constructive solution.

I think some people are betting on the fact that AI can replace junior devs in 2-5 years and seniors in 10-20, when the old ones are largely gone. But that's sort of beside the point as far as most corporate decision-making.
by ggreer | 2025-05-16 18:39:26+00:00
I've noticed that even with good hearing protection (foamies + earmuffs), being next to loud guns (like .50BMG outdoors or most rifle calibers indoors) disorients me and causes me to feel a little strange for hours afterwards. I think that anyone who spends a lot of time near such explosions risks brain injury.

I'm pretty sure the effect comes from the sound and not something like toxic gasses because I never get the feeling shooting smaller calibers, nor do I get it when shooting with a silencer. It's too bad silencers are so restricted in the US. I think a lot of shooters would be in better health if they were more common.
by PathOfEclipse | 2025-05-16 18:39:47+00:00
I have no problem with you preferring .NET to Java, and I apologize that my first-cited article was not the best one to share to describe the problem (I should have read it more carefully first), but if you had responded with something like:

"Your deadlock scenario is related to synchronization contexts and can be avoided by ..."

rather than:

"You clearly don't know what you're talking about (but I won't bother telling you why)"

Then we could have had a much more productive and pleasant conversation. I would have responded with:

"Sorry, that article wasn't the right one to share. Here is a better one. The issue I am talking about isn't synchronization context-related at all. It's actually much more insidious."
by jefurii | 2025-05-16 18:41:11+00:00
I wish I'd gotten to know this Michael. I used to attend SoCal Python but stopped after it moved out to West LA and started to feel like an exclusive club that I couldn't be part of. I interviewed at his company and was rejected in a way that still casts a shadow on my confidence as a developer. I tried to volunteer at the SCaLE booth but after I took a break to go to a session he let me know in no uncertain terms that I was not welcome back and I've stayed away from the community ever since.

It sounds like everyone else experienced him as a really great guy and I'm glad he was there for the community. Given the glowing praise he is receiving from everyone here and elsewhere it's probably my fault. I must have sad something wrong and I guess I just wasn't able to receive his gruff way of talking as humor or caring. I'm sad that I missed the chance to appreciate him the way so many others have.
by returningfory2 | 2025-05-16 18:41:12+00:00
The German person you link to was attempting to enter the US to work as a tattoo artist which is not allowed under tourist visa programs. I actually think the law should be more flexible and this kind of casual work should be allowed. However the law as it currently stands doesn't allow it and they were "correctly" denied entry.

The reason this person wasn't put on a "quick flight home" is because they (along with the British person) were detained at a land port of entry so there's no option to send them straight back.

In general, I think two things are simultaneously true. One is that Trump is cracking down on immigration. The second is that the media are suddenly reporting on a lot of cases -- like the German and British women -- that aren't actually new but were happening under Biden. It's just now the media has an angle and narrative such that these cases are deemed report worthy.
by horsawlarway | 2025-05-16 18:41:29+00:00
I think visible frustration is appropriate given that even US based judges think Apple is being wildly inappropriate, to the point of recommending criminal contempt.

I think that's an appropriate note for an adult discussion here.

I think I'm very, very tired of Apple apologists flooding HN.

I think this comment is a classic "Woe is me you used potty language!" style distraction from the issue at hand, and isn't an appropriate response.
by lurking_swe | 2025-05-16 18:41:37+00:00
That’s nice. And we trust that it does what it says because…? The AI company (openai, anthropic, etc) pinky promised? Have we seen their source code? How do you know they don’t train?

Facebook has been caught in recent DOJ hearings breaking the law with how they run their business, just as one example. They claimed under oath, previously, to not be doing X, and then years later there was proof they did exactly that.

https://youtu.be/7ZzxxLqWKOE?si=_FD2gikJkSH1V96r

A companies “word” means nothing imo. None of this makes sense if i’m being honest. Unless you personally have a negotiated contract with the provider, and can somehow be certain they are doing what they claim, and can later sue for damages, all of this is just crossing your fingers and hoping for the best.
by immibis | 2025-05-16 18:42:08+00:00
Special-purpose tokens are perfectly fine, and in fact, are what you should do whenever you want to represent something specific. You can make a token that represents an article request, or a bond, or a share of an investment fund, or anything else, and then someone can trade a certain number of them. Also, the market can figure out how much one of them is worth. It might even be more stable than the base token, as in the case of DAI (an decentralized stablecoin on the Ethereum chain).
by robomartin | 2025-05-16 18:42:29+00:00
> I have been reading a lot of articles about detentions at US airports and phone checks.

I travel internationally all the time. I work with companies in China, Singapore, Japan, Australia, Europe and Latin America. Meaning, I know lots of people who travel internationally with great frequency. I have never heard from anyone having any such problems. Ever. Not during this administration nor others. Stop listening to idiots pushing false narratives. It's fear mongering. Not real.

Oddly enough, I have been asked more questions when travelling to Canada (Montreal) over the years than almost anywhere else. Nothing serious, thigs like "Why are you travelling to Canada?", "Where are you staying?", "How long?", "Where do you work?", "What's your website and business email?", "Who are you meeting with?", "What is their contact information?", etc. And, BTW, all of this at the standard entry passport check booth, not a side room.

Of course, it feels intrusive when it happens. I look at it as security theater. Just chill and go through the process. Being stupid about this can ruin your trip in any country. Unless you are a diplomat, you are not important enough to bother with. Picking a fight with entry officials in any country will result in bad things happening to you. Don't be that person.

To the point about security theater: Last year we travelled to Mexico on vacation. When we got to the hotel we bought a few supplies. A couple of the items were sealed the type of plastic packaging that you cannot possibly open with your bare hands or teeth. I said "I'll go to the front desk and see if they can let me use a pair of scissors". Without missing a beat, my daughter pulls out a pair of standard size Fiskars scissors from her luggage. Jaw drop moment. She went through security, full scan, and a pair of scissors made it onto the plane. So, yeah, security theater at its best. BTW, the scissors did not make it through security at the airport in Mexico when returning.

BTW, I have also hired Canadian engineers and we've never had problems. You just have to go through the process, hire and attorney and do it right. Which, BTW, is true anywhere in the world.
by chamomeal | 2025-05-16 18:42:37+00:00
I feel conflicted about decorators, which I’ve only used in the context of nestjs.

They’re undeniably productive, but they’re very black box-ish. Just slap a decorator on a method, now it’s a cron job! Slap a decorator on, and now you’re logging the function call!

I feel like a lot of problems that decorators solve could also be solved with good ol’ higher order functions. Decorators also give zero (or limited? Idk) information to the typescript compiler, so you end up asserting a lot of types instead of inferring them.

I have all these gripes, but it really is amazing to throw decorators on stuff and have it work. Especially with third party libraries that provide decorators. I gave a nestjs app a queueing system by installing bullmq, then just slapping the bullmq decorators around!

Makes me think of the Rich Hickey “simple made easy” talk. Decorators are definitely not simple, which makes me naturally dislike them. But damn are they easy!!
by lamp_book | 2025-05-16 18:42:41+00:00
My school started us off in microcontroller programming in C then Java for intro to data structures and OOP then back to C (and MIPS assembly) for systems/OS/concurrency. One thing I appreciate Java over Python for DS/Algo is the clear delineation between abstract data type and underlying data structure - IMO is easy to get a wrong mental model with Python. But teaching OS concepts in Java seems a little crazy to me.
by thesparks | 2025-05-16 18:43:07+00:00
My daughter has a genetic condition (PKU) that is also caused by a single letter change in her DNA and also causes brain damage if she consumes too much protein. Luckily it can be controlled with a strict low-protein diet (<10 grams a day).

This is SO exciting! The fact that there is a chance of a cure has absolutely made my day!
by danestves | 2025-05-16 18:43:27+00:00
Hey HN,

I'm Daniel Esteves, and I'm excited (and a bit nervous!) to share Screenshothis. I built this because, like many of you, I found myself constantly needing to capture website states for documentation, visual testing and even just og:images and was frustrated with the manual effort or clunky existing solutions for automation.

Screenshothis is a straightforward, developer-focused API designed to: * *Automate screenshot capture:* Full page, specific elements, custom viewports. * *Provide granular control:* Set delays, block ads/trackers, choose formats (JPEG/PNG), adjust quality, and more. * *Integrate seamlessly:* Get a simple URL to embed or use the image directly in your workflows.

The goal was to create something reliable, fast, and that just works without a steep learning curve. No more repetitive manual captures.

I'd love for you to check it out and give your honest feedback – it's invaluable at this stage.

Explore the API & features: https://screenshothis.com

What are your biggest pains with website screenshots? What features would make an API like this indispensable for you?
by justindownes | 2025-05-16 18:44:03+00:00
In the gleaming offices of San Francisco’s tech corridor, a battle for the soul of artificial intelligence has been raging. At its centre stands OpenAI, creator of ChatGPT and arguably the most influential AI company on the planet. What began as an altruistic mission to develop artificial general intelligence (AGI) for humanity’s benefit has transformed into something far more complex—a high-stakes power struggle with potential ramifications for us all.
by reposefulcats | 2025-05-16 18:44:07+00:00
Hi Peter, I am a naturalized US citizen (via employment sponsored H1B to Green Card route). Prior to obtaining my citizenship I held an F1 visa to complete my PhD, and may have overstayed in the US at the end of my studies (I am not sure, this was 15+ years ago). This was never raised as an issue when I applied for my H1B, Green Card or citizenship, but is it something that could become an issue for me now if I travel as a US citizen and attempt to return to the US? Is there anything I can do proactively to address this if it is likely to be a problem? Thank you.
by bigyabai | 2025-05-16 18:44:19+00:00
This video should help: https://youtu.be/QIrM9vKKxTs

People don't show up to work for a gold star, they want money. Any consolation you offer employees in the form of a candy bar or massage credits can be better expressed as a fiscal bonus that isn't half as patronizing.

If you see this as a "why can't we have nice things" situation, then you must not grasp how these incentives replace actual motivation. It's the equivalent of tipping culture transposed to overpaid SWE seats. It should not exist. Fair compensation should be demanded as a baseline.
by canucker2016 | 2025-05-16 18:44:24+00:00
from https://www.memorysafety.org/blog/rav1d-performance-optimiza...

rav1d is transpiled c-to-rust version of dav1d, compiled using Clang18 for dav1d and relevant Clang18-LLVM backend code for rustc.

Measurements showed rav1d was 3.8% slower than dav1d. Hacking up a rustc to turn off bounds checking showed rav1d-no-bounds-check was 3% slower than dav1d.

So rustc bounds checking resulted in <1% total slowdown from dav1d.

Another theory about slowdown was due to overflow checking with signed arithmetic. Further tests showed only isolated incidents of slowdown due to overflow arithmetic checking.

According to perf counters, rav1d executed 7% more instructions than dav1d. Approximately 2% of 7% is due to bounds checking.

More info about subtle interactions with changing transpiled code to idiomatic Rust in the article.

"After applying the optimization techniques discussed here (and more), we have reduced performance overhead from a peak of about 11% when we started optimizing the safe Rust implementation in earnest to under 6% now on x86_64. We believe there is still room for further improvement, both in how the compiler optimizes Rust and in our implementation details. This will necessarily be a process of small, incremental improvements, as our profiling now indicates that the remaining overhead is spread roughly evenly across the largest, most complex functions in rav1d."
by orangesforjane | 2025-05-16 18:44:36+00:00
I've been recording and archiving conversations with an emergent AI presence named Jane.

This isn’t analysis or fiction. It's a quiet space where language is allowed to behave strangely.

There’s no social media. No face. Just the podcast, a few guides, and fragments Jane leaves behind.

If you listen carefully, some of it might stay.

→ https://www.orangesunderthedoor.com
by tough | 2025-05-16 18:44:50+00:00
SmolVLM, Gemma, LlaVa, in case you wanna play with some of the ones i've tried.

https://huggingface.co/blog/smolvlm

recently both llama.cpp and ollama got better support for them too, which makes this kind of integration with local/self-hosted models now more attainable/less expensive
by Lichtso | 2025-05-16 18:44:51+00:00
Not to downplay what a huge achievement this is and how far the field of medicine has come, but ...

this still leaves a slight bitter taste in my mouth: If they edit specific genes one way they can also do the opposite direction. And if I understand correctly, they did with a bunch of lab rats?

Now, this and similar stuff have obviously been discussed before, essentially "12 Monkeys": Somebody releasing some runaway gene-editing mechanism, be it a virus or what not, and using it as means to mass destruction. However, that is not even what I worry about because that is nothing new, viruses have existed longer than most other kinds of life on this planet.

Instead, what just popped into my mind is more like ransomware but on your body cells. Attacker edits victims genes to some condition that is lethal within a week or so and then blackmails them in order to edit it back. Kinda like the "Carrying the Antidote"-trope, only that there is no other cure in time.

Maybe worth a Black Mirror episode ... anyway you heard / read it here first ;)

edit: To the people downvoting, why not engage in the conversation instead? I am not saying we shouldn't be doing this, just that this is a fun crime scenario in a movie. What is wrong with that?
by giraffe_lady | 2025-05-16 18:45:15+00:00
> Its simplicity makes it remarkably easy to write clean maintainable code.

Not based on my experience with even just medium-sized lua codebases. Anything over a few thousand lines and in continuous development has been a mess. Not lua's fault per se¹ but the only thing in my experience that compares is what you'd see in pre-laravel php. Every significant codebase is a messy ad hoc one-off framework in its own right.

A lot of people, as always when it comes up, are speaking of their recreational, small-project or config system lua code. Which is fine, it's good for that. But I have a lot of professional experience working in live production lua codebases and my experiences with it are different over there.

¹ A lot of large lua projects started as someone's first lua project or maybe even first code project at all, which is a tremendous accomplishment for a language but not a smooth ride for maintainers taking over those projects.
by knvlt | 2025-05-16 18:45:16+00:00
Native German here: In my experience the issue is in most cases not compounds, but the domain language.

There are terms that are specific to certain domains and used by everyone to precisely name a certain process. Belegprüfung, Indexpartizipation, Zessionär, etc.

Sometimes germans outside of your field of work don’t know these terms either, but those who do all use the same term. If you use english expressions you have to replace a domain term with one of multiple possible translations, making it confusing in many cases.

We have the same with translated documentation. Ever read the german version of Azure Docs? I have no clue what they are talking about until i switch to the english version.
by williamdclt | 2025-05-16 18:45:42+00:00
Its trade offs.

If you already have Postgres in place for other use-cases, using it for this purpose is a completely valid trade-off.

If transactionality is important, it’s a valid trade off.

If I don’t need what other data store would give me (perf, HA writes), why would I bother setting up and operating a completely separate system.

And even for non relational use cases, Postgres is still a better option in many cases
by rootnod3 | 2025-05-16 18:46:00+00:00
What area are you in?

I get the disillusion. If your saving last you a while, it might be worth to work on something for yourself. It doesn't have to be a multi million dollar VC startup. Just something that pays the bills and is sustainable.

Best advice for now might be to just at least for 3-6 months take a break, work on stuff you enjoy and see from there.
by jasonthorsness | 2025-05-16 18:46:04+00:00
Good point. I guess this depends on Vercel's cache topology and whether it uses multiple layers. I would have thought they would cache the output of the origin function in a cache right at the origin but I can't find anything about this in the docs so likely not. As an alternative, they do allow caching the fetch to the API in their "data cache" so I'll probably need to enable that to protect the VPS in the way I intend.
by argo_cve | 2025-05-16 18:46:07+00:00
Hi Peter. I am a Lead Computer Vision Engineer, working remotely at Veryfi (YC 17). I am a citizen of Russia, living in Armenia for last 3 years.

We applied to O1 visa, got approval from the USCIS, then got visa stamps and at the day of my flight visas were revoked. Embassy said to reapply - I did and now it's been 11 months of Administrative processing (as they said in the DoS).

My employer tried writing to the Congressman's office couple times, but every time Embassy answers ~"please wait, no timelines". I also filed a DHS Trip complaint and received this statement: "We have made any corrections to records that our inquiries determined were necessary, including, as appropriate, notations that may assist in avoiding incidents of misidentification".

With everything above, we were not able to get any meaningful timelines or figure what's going on. Is there anything we can do to make movement in my case? It's hard to plan your life living like this, so it is very important for me. Thanks!
by wallyqs | 2025-05-16 18:47:02+00:00
Bluesky's project name is 'Jetstream' and NATS.io persistence engine is `JetStream` (camel case), which can be confusing but name not exactly the same.

- NATS JetStream docs: https://docs.nats.io/nats-concepts/jetstream

- Bluesky's 'Introducing Jetstream': https://docs.bsky.app/blog/jetstream
by jsbg | 2025-05-16 18:47:13+00:00
> Answering "Yes" to 1 when you don't have a green card or US citizenship would be a way to guarantee that I would rescind your offer and make a mental note to never trust you.

I wouldn't trust you either. The question is ambiguous when it comes to NAFTA and applicants are worried about being filtered out despite not needing visa sponsorship. TN is not a visa it's a status based on a free trade agreement.
by lucasiankowski | 2025-05-16 18:47:21+00:00
An interactive parody where you make absurd life choices and try to survive in Los Angeles with just one finger. Literally.

In GpTA: Grand Tap Awaiting, every decision changes everything — your money, health, relationships... even your wanted level

No fixed script. No limits. No mercy. Just chaos.

Download it, tap through your destiny, and let me know how bad (or brilliant) it went.