MurphyA/hacker-news huggingface dataset:
by snapplebobapple | 2025-04-02 16:59:37+00:00
search isn't the biggest pain for me. The biggest pain is seeing how google maps has gone to total crap for routing. It still has the best data by far but the routes I get out of it are often total nonsense (taking me through some rando residential for no reason, doing the staircase left/right turn for several blocks, etc). I end up using google for looking up a real address and then putting that into magic earth for much better routing results. Now if only magic earth had all the updated place data google maps has.
by beAbU | 2025-04-02 17:00:32+00:00
> there definitely is an opportunity for another company to come in and position themselves as quality electric vehicles without the politics.

Nissan Renault Hyundai Kia MG BYD

Honestly, there is no "opportunity" for an incumbent alternative to step in here, there are literal dozens of alternatives available right now for every taste and preference, sans any of the fascist political connotations.
by philistine | 2025-04-02 17:00:34+00:00
> At the time I though "pedo diver" was more throwing around stereotypes about Thailand and the kinds of people who travel there

You removed all the context. He replied to a professional diver, who dismissed Elon's useless submarine idea, with the genius retort that he was just a pedo guy. If that context doesn't change your view, then you must be fun at parties where it's fine to call people pedo if they have technical oppositions to your ideas.
by ohgr | 2025-04-02 17:00:34+00:00
Unfortunately no it's not a joke. It's really fine for big infrastructure companies, think Google etc. But a lot of people will design complicated shit due to architectural ignorance or to make their resume look good and this will result in Kubernetes looking like a good idea to run the resulting large amounts of complicated shit. Then you realise it's complicated and lots of people need to look after it which escalates the problem.

After a few years you work out that holy shit we now have 15 people looking after everything instead of the previous 4 people and pods are getting a few hits an hour. Every HTTP request ends up costing $100 and then you wonder why the fuck your company is totally screwed financially.

But all the people who designed it have left for consultancy jobs with Kubernetes on their resume and now you've got an army of people left to juggle the YAML while the CEO hammers his fist on the table saying CUT COSTS. Well you hired those feckin plums!

etc etc.

Lots of them are on here. People have no idea how to solve problems any more, just create new ones out of the old ones.
by Ancapistani | 2025-04-02 17:00:42+00:00
I mostly agree - but not entirely.

Use Django if Django fits your use case. It's really as simple as that. Django is awesome: its features are well-considered, mature, and easy to learn and use. The "batteries included" philosophy means that as long as you're on their happy path, everything will go smoothly and you'll end up saving ridiculous amounts of time.

The problem starts when you try to bend Django to fit your use case, instead of vice-versa. Then all the benefits Django brings to the table turn into things you have to intentionally and carefully work around.

I've used Django ORM without using Django itself several times. It's been a while since I had that particular need, but at one point I'd built out a whole set of in-house ETL pipelines and all their supporting infrastructure using it. Most of that code was in data processing scripts that were only ever called via CLI - but because that company didn't have a ton of Python experience (it was an "enterprise" company circa 2008), and I chose Django ORM because we'd already our people already had experience with it; our reporting system was a Django project. Why require the whole team to pick up another ORM when they already knew one that would work just fine?

I've also used Django without the ORM. I really only wanted a quick web UI that wrapped an existing internal API for a dashboard. I could have used any web framework - or none at all. In fact, the whole thing _could_ have been built in CI and deployed as a static site. I used Django instead because we already had several Django projects in production - so we had documented processes in place to deploy/monitor/manage Django projects, CI templates, and an infrastructure team that we at least knew wouldn't have to get five levels of approval to deploy a "new type of application".
by zitterbewegung | 2025-04-02 17:01:11+00:00
If you were troubleshooting this and I know what I’m saying is with 20/20 hindsight why wouldn’t you try to test this on someone else’s machine to see if it is an environment issue ? They seemed to get use extensive analysis at that point. Also I’ve seen Jenkins deployments that have test runners that would run JS unit tests.
Ask HN: AI – Notetaker
by tommat32 | 2025-04-02 17:01:16+00:00
Hey HN,

While searching for my next role as a PM in Blockchain + AI, I started building an AI-powered notetaker. The idea is simple: you input your thoughts, and AI helps you complete or modify them.

If you decide to test it, try using the prompt: "Keep this text and…" (add budget, complete list, organize alphabetically, add their translation, etc.).

The first big release is all about modifying your notes with AI prompts. The next big step? Capturing thoughts directly from the mind using brain-to-text technology.

What do you think about mind-reading tech? The state of Colorado is already passing laws around it: [https://www.youtube.com/watch?v=jlyRvT92_zA&t=9s](https://www.youtube.com/watch?v=jlyRvT92_zA&t=9s)

Curious to hear your thoughts!
by colechristensen | 2025-04-02 17:02:25+00:00
I think it goes one layer further, everyone is worried that everyone else is worried that colors don't sell. "I like this used bright pink Honda, but I'm worried no one else will buy it if I want to sell so I'm not going to buy it"

Like it's a perceptual disease where there's a difference between real preferences and perceived preferences and people are making decisions based on their wrong assumptions about everyone else, and when everyone is doing it it becomes true even though we're collectively all making less optimal choices.
by nseshasai | 2025-04-02 17:02:31+00:00
Location: Hyderabad, India

Remote: Yes

Willing to relocate: No

Technologies: Java, Spring, Spring Boot, Spring Security, Spring JPA, Postgres

Résumé/CV: https://drive.google.com/file/d/1RyJe56IJYAT1P12Suk332V1NGVZ...

Email: private.seshasai@gmail.com
by ashoeafoot | 2025-04-02 17:03:09+00:00
Anxiety is a normal stress related state, whats not normal is that in modern life the stressors never end. Which is why a ton of people go into extreme sports, to hard reset what the mind percieves as a "stressor". If you climb and a SLCD gives, all the other stress in the world falls away forever . And it doesn't become as important after that ever again. After this Startups are bad for anxiety because half of them are basically cults, but if you are uncultured , you can sell your services as a service . Do that with some other webdevs together and you can hire somebody to do the paperwork ..
by sitkack | 2025-04-02 17:03:41+00:00
For someone looking for the visualization, here it is.

// foo [1.006s] // bar [1.006s] // baz in bar [1.006s] // working in baz 3 [1.006s] // baz [1.006s] // working in baz 2 [1.006s] println!("{tree}");

Would it be possible to render the tree using a flamegraph?
by owlstuffing | 2025-04-02 17:03:41+00:00
Agreed. Type providers bring metaprogramming to F# in a way that’s both powerful and innovative. The concept is amazing, enabling a new frontier for dynamically extending type safety. My only surprise is how little fanfare it has received since its introduction.

For a more pragmatic take on static metaprogramming, the manifold project[1] for Java is worth a look. Unlike F#, which leans toward expansive schemas, Manifold focuses on contained, compile-time integrations—handling JSON, XML, SQL, GraphQL, and even other languages in a seamless, type-safe way.

1. https://github.com/manifold-systems/manifold
by dragonwriter | 2025-04-02 17:03:48+00:00
> A somewhat shallow comment, but why do post-Cold War U.S. weapon systems have such intentionally bland names? ATACMS, HIMARS, etc?

Maybe because so many of them from the late Cold War on got cancelled between the stage where they would previously get a “friendly” (hostile?) name and deployment that they just stopped doing that as much and kept the development project name. But I think you exaggerate the significance of the change.

> Abrams and Bradley are now HMMWV and MRAP.

HMMWV was deployed during the late Cold War. And that name with the pronunciation “Humvee” is a lot like the classic GPW “Jeep”.

More similar to the M1 Abrams tank and M2 Bradley personnel carrier in the post-Cild War world are the (cancelled late in the program) M8 Buford armored gun system; the newer M10 Booker assault gun, the Stryker infantry carrier vehicle, etc. All of which got names.
by JKCalhoun | 2025-04-02 17:03:51+00:00
Wow, so much to rage about from the article.

I am a huge fan of color and go out of my way to buy bright colored cars, phones, etc. (Not like I had any viable options for my MacBook Pro though).

Resale value, it hides dirt well are some of the sadder excuses I hear for buying gray and "silver" cars (wouldn't be cool if they really were silver, not "metallic gray"). Meanwhile you spend your entire time owning the car and driving around like a brooding storm cloud.

Color grading might be the most evil thing to descend on film making. It's to the point of distraction now. Like it draws attention to itself. (Watching "Mickey 17" in a theater and a scene comes on that screams "color graded!" and then it's become all I can see. Kind of like the nausea-inducing, shaky "hand held camera" thing that was so predominate some decades ago. Good riddance to that.

Oh well, I guess all I can do is to keep voting with my shopping preferences.
by RiverCrochet | 2025-04-02 17:03:59+00:00
Random thoughts.

Movies: Movies descended from live theater, which was not realistic by definition, so things had to be attention-getting in order to draw people into the reality of the story, including use of color. Older movies, and older colorful movies, were closer to that tradition and therefore kept some of that impressionism, which faded as "realism" became the thing to do in movies.

Cars: Searching online I found this chart: https://www.reddit.com/media?url=https%3A%2F%2Fexternal-prev... - and ... it seems that people stopped buying green and purple cars and are buying black, white, and silver instead, with red/burgundy varying somewhat over time. A paragraph here - https://www.colorwithleo.com/why-isnt-green-a-popular-car-co... - provides something insightful:

"Historical Perceptions of Green Cars

For many decades, green was seen as an unappealing and sometimes odd choice for vehicle color. Back in the 1950s and 1960s, green was associated with military and industrial vehicles, which didn’t make it an attractive option for personal cars. The green paints used on older vehicles also tended to fade and discolor over time, giving the color a reputation for looking worn and dated. This perception lingered for many years, and made consumers wary of choosing green for their own cars."

But not sure how true that is and not sure it would apply to the 90's--the starting time that the chart covers. I really don't remember anyone in the 90's having a green car at all, to be honest.

Logos: Company logos have been getting simpler for a long time, almost to the point where it's pretty much it's the brand name in a specific font in most cases. I recall reading about an "anti-branding" trend in logo design - https://shapesofidentity.substack.com/p/the-rise-of-anti-bra... - and that's because of lowered trust in brands overall - which is true. Brands aren't worth a damn if they can be bought and sold and the company beneath them change without notice.
by carlsverre | 2025-04-02 17:04:04+00:00
If you're doing volume per user, but also want to do cross-user collab you might want to change the model slightly. Rather than one volume per user, consider one volume per "access unit". For example a document or group could be a volume.

As an example, let's say your building something like Google Sheets on top of Graft. Each document would be an independent Volume. This matches how Sharing works in Google Sheets, as each user added to the Volume could either be granted read or write permissions to the entire sheet.
by whilenot-dev | 2025-04-02 17:04:36+00:00
Besides those performance considerations, the article starts off with you need a data access layer, but has no idea about controllers and middleware? Seeing stuff like...

if (!(user.isAdmin || document.authorId === user.id)) { forbidden(); }

makes me almost a bit angry.

Isn't every contemporary authorization system shifting towards ReBAC (based on Google's Zanzibar paper)? The ReBAC paradigm favors the segregation of authorization logic from business logic. It'd even be possible to reimplement ABAC/RBAC-styles if you prefer to do so, but your application layer shouldn't need to care.

// this one is usually done in middleware layer const user = await resolveUser(req); if (!user) { return res.status(401); } // this one is usually done in the controller layer const canReadDocuments = await auth.canReadDocuments(user); if (!canReadDocuments) { return res.status(403); } // all from here is usually done in the service layer const canReadAllDocuments = await auth.canReadAllDocuments(user); if (!canReadAllDocuments) { return findManyDocuments(user); } return findManyDocuments();

How is protecting individual queries (after retrieval!) more scalable?
by MD87 | 2025-04-02 17:06:00+00:00
The difference is that `ls` is specified in POSIX and everyone has roughly the same expectations of what it does.

Nothing specifies what a binary called `sl` does. The user didn't "overwrite" anything. They just had an `sl` binary that was not the `sl` binary Jest expects. Arguably they had the more commonly known binary with that name.
by nonethewiser | 2025-04-02 17:06:10+00:00
I too have found the discourse around tariffs lacking. This is a common and blatant logical fallacy I see:

- Tariffs are bad. They hurt the country enacting overall it in the long run.

- It's correct to respond to the US tariffs with tariffs in response.

Additionally, people seem to not understand that a country that exports more to the US than it imports stands to lose more when the US/that country have the same level of tariffs.

At a large scale, if global trade breaks down the United States will be comparatively (not absolutely) better off because they can support themselves (consumption, food, raw materials).

None of this is an endorsement of tariffs. I think the US is in a pretty good spot and things could get a lot worse. Tariffs absolutely will make expensive things more expensive, and it will hurt. But the discussion I've seen online has reduced itself to some sort of weird orthodoxy that doesnt even make sense.
by nyrikki | 2025-04-02 17:06:46+00:00
The same applies to risk-adverse, high profit genres and/or producer heavy ones like pop country. Obviously zeitgeist and even conventions and music theory play a role.

Sir Mashalot had a few videos a while ago.

https://youtu.be/FY8SwIvxj8o

The Blues Traveler trolling with the song Hook using the melody from Pachelbel's Canon with lyrics explicitly calling this out wasn't noticed by almost anyone.

https://youtu.be/pdz5kCaCRFM

Obviously Pop heavily samples too, E.G. Tom Tom Club Genius of Love being used by Mariah Carey's Fantasy, but it goes beyond sampling.

The Rolling Stones pulling from artists like Fred McDowell and Led Zeppelin settled copyright suits on Lemon Song, Whole Lotta Love, Bring it on Home and Dazed and Confused etc...

The invention of the Fairlight Sampler may have lead to groups like the Pet Shop Boys sampling dozens of other works, but as the Stones and Led Zeppelin show it wasn't unique.

Well I guess the Pet Shop Boys were inspired by Grandmaster Flash, and if you listen to the original recording of West End Girls you can hear James Brown samples...not sure if that counts as "hip-hop" in that case or not.

https://youtu.be/PKB2bYYYTYw

As a bad guitar player, I can understand why even Rock and Roll pretty much grew out of artists copying R&B/Gospel artists like Sister Rosetta Tharpe, but inspiration vs copying is a fuzzy line.

But basically the tooling changed, not the methods which have complex and intertwined causes, motivations, and effects.
by Willingham | 2025-04-02 17:07:06+00:00
I too am interested in learning more about the other side of the debate.

"He who knows only his own side of the case knows little of that. His reasons may be good, and no one may have been able to refute them. But if he is equally unable to refute the reasons on the opposite side, if he does not so much as know what they are, he has no ground for preferring either opinion" --John Stuart Mill
by airstrike | 2025-04-02 17:07:06+00:00
That argument doesn't hold. HN itself has no obligation to be a political forum. There are many other forums for that already.

It's good to compartmentalize topics. Your argument is like complaining you're not learning Geography in your Physics class. The subject of the site is not politics and that is by design.

This design has absolutely nothing to do with the merits of any given submission related to the topic of politics. Conflating "people who want to keep conversations on-topic" and "people who support policy X" is not fair, helpful or accurate.
by mncharity | 2025-04-02 17:07:09+00:00
> center is sharp and the periphery is extremely blurry. I was told this is to save on video processing resources.

It's caused by the panel/lens hardware. Center resolution is laptop-like, but by 35ish degrees off center that's down by ~half.[1]

[1] line graph in https://kguttag.com/2023/08/09/apple-vision-pro-part-5b-more... . General caveat that Guttag's "not possible"s sometimes have an implicit "if you're not doing anything weirdly off-VR-mainstream". Monitor replacement has very different constraints than mainstream gaming - like, refresh rates (and thus bandwidths) of 60 Hz and lower (even 20 Hz) can be fine, while for VR games that'd be absurd.
by pcthrowaway | 2025-04-02 17:07:22+00:00
I think this is only the case if there aren't replacements available from other countries.

I feel like China is going to be the biggest winner of this tariff war.

Just as an example (from Canada), we had long had a 50% tariff on Chinese EVs which helped U.S. EV manufacturers stay competitive. Now I think we're going to relax that (which IIUC was only implemented to appease our relationship with the U.S. in the first place) and cheaper Chinese EVs should start appearing on the market.

Good for Canadians, good for China. Not as good for the U.S.
by pumnikol | 2025-04-02 17:07:35+00:00
Yeah don't. Like many metals, finely dispersed iron can self-combust on air. I'd suggest an air-tight packaging filled with CO2, or, if your food is susceptible to acid, N2, if at all feasible. Industry uses additives similar to hydroquinone, mixed directly into, e.g., plastics. Plenty of them are food-safe, but I wouldn't know where to buy them if you aren't a business.
by deadbabe | 2025-04-02 17:07:48+00:00
Colors aren’t cool. You know what’s cool? Clean perfect lines, rich texture and materials. Imagine a cube of polished concrete stone, with a wood plank sanded and stained to a warm perfection, basking in the glow of a square window at a perfect 45 degree angle. Beautiful, it can move you to tears.

This worship of color is how you end up with Gen Z who paint over beautiful bare wood furniture and cabinets. Enraging.
by Jun8 | 2025-04-02 17:07:51+00:00
The article talks about violin shoulder rests manufactured in Canada. Maybe I’m not understanding the details but I think that this particular product is a bad example to showcase the damage of tariffs:

(1) This sounds like a product that can’t be easily interchanged with competitors’ offerings since Chinese competitors offer “crude imitations”, at least for now

(2) From a Google search I see that the price of this product is in the range $25-250. It’s hard to see violins students who plunk down hundreds, if not thousands, of dollars for their instrument try to save tens of $s for a subpar shoulder rest. Unless perhaps it breaks weekly or something.
Show HN: Arrakis – Open-source, self-hostable sandboxing service for AI Agents
by abshkbh | 2025-04-02 17:08:07+00:00
Hi HN!

My name is Abhishek. I've spent my career working on Operating Systems and Infrastructure at places like Replit, Google, and Microsoft.

Today, I'm excited to launch Arrakis: an open-source and self-hostable sandboxing service designed to let AI Agents execute code and operate a GUI securely.

GitHub: https://github.com/abshkbh/arrakis

Watch Claude build a live Google Docs clone using Arrakis via MCP – with no re-prompting or interruption. https://www.youtube.com/watch?v=IZ5cAnhAdPQ

Key Features

- Self-hostable: Run it on your own infra or Linux server.

- Secure by Design: Uses MicroVMs for strong isolation between sandbox instances.

- Snapshotting & Backtracking: First-class support allows AI agents to snapshot a running sandbox (including GUI state!) and revert if something goes wrong.

- Ready to Integrate: Comes with a Python SDK (https://pypi.org/project/py-arrakis/) and an MCP server (https://github.com/abshkbh/arrakis-mcp-server) out of the box.

- Customizable: Docker-based tooling makes it easy to tailor sandboxes to your needs.

Sandboxes = Smarter Agents

As the demo shows, AI agents become incredibly capable when given access to a full Linux VM environment. They can debug problems independently and produce working results with minimal human intervention.

I'm the solo founder and developer behind Arrakis. I'd love to hear your thoughts, answer any questions, or discuss how you might use this in your projects!

Get in touch

- Email: abshkbh AT gmail DOT com - LinkedIn: https://www.linkedin.com/in/abshkbh/

Looking forward to your feedback!
by teknominds | 2025-04-02 17:08:38+00:00
Little Bird | Senior ML Engineer | SF/remote + Full-Time | https://www.joinlittlebird.com/

Little Bird is a personalized AI assistant for productive people, starting with Mac and Android. We're focused on building a product for everyone, that is contextually aware, learning from your past work, and helping you prioritize what's important. We're ~16 people from around the globe, well-funded, and working on fun problems such as conversational reasoning, hybrid search, and NLP. For more info about our stack, check the job description below.

Senior ML Engineer(s) - full details here - https://scarlet-magician-747.notion.site/Senior-AI-ML-Engine...
by ProjectArcturis | 2025-04-02 17:08:40+00:00
From a realpolitik perspective, the US would like this war to go on forever. Under Biden, the war was grinding up enemy Russian troops and not-really-an-ally Ukrainian troops, weakening both strategically while costing us no troops and 0.2% of GDP. Plus we were able to expand NATO and give Russia an ongoing PR nightmare.

Obviously they can't say any of that out loud, but the underlying strategy is sound.
by PaulHoule | 2025-04-02 17:08:46+00:00
For more than 10 years I used Skype on a tablet as my ‘mobile’ phone which worked great for many purposes although some services would not send texts to a VoIP number.

When I heard Skype was ending I decided to get an iPhone from a real carrier (my impression is that MVNO service sucks, I used to have Tracfones that didn’t work reliably either in Upstate or NYC.). At the AT&T store the salesperson had never transferred a phone number over from Skype but looked up in a manual about how to do it. She said it was the easiest number porting she’d ever done.

So if you want to port your Skype number, just do it!