MurphyA/hacker-news huggingface dataset:
by primitivesuave | 2025-05-14 06:31:00+00:00
Completely agree. Even with the basic LLMs in the $20/month Cursor plan, I can work 10x faster on TypeScript codebases than I could otherwise, while for Python that multiple feels more like 2-3x. The autocompletions are especially impressive when there is a well-organized type system.

Also in response to adjacent commenters - many mission-critical TS codebases will disable the use of an explicit "any" with eslint - https://typescript-eslint.io/rules/no-explicit-any/.
by globular-toast | 2025-05-14 06:31:28+00:00
This post covers one thing they don't tell you about coffee, namely that it doesn't have to taste like generic burnt plant matter.

The other thing is you don't have to like espresso. It took me a while to realise this. Espresso is everywhere because it's easy to mass produce. They just press a button basically. But it basically all tastes the same (IMO). You might like filter or cafetière coffee even if you don't like espresso.

Espresso made with burnt beans, e.g. Starbucks, is naturally the worst of the worst. There's a reason their drinks are mostly milk and sugar.
by vessenes | 2025-05-14 06:31:33+00:00
Karpathy nerdbaited me on this last week! I'm almost done with aidocs and aidd.

The aidocs server: keeps track of generated llm-friendly docs for any github repo.

The aidocs daemon (aidd) is resident, and can watch a repo, find imports in a number of languages, request the docs from aidocs, serve them up in mcp, and/or put them into a directory in your repo. Planning on generating docs for a codebase and incremental docs creation later.

I could use a couple beta testers -- lmk if you're interested. macos for now, although the daemon is written in go and should be portable.
by bambax | 2025-05-14 06:32:14+00:00
I used to like Airbnb. It's not better or cheaper than hotels, but when travelling with kids it makes a big difference.

Until I had a bad experience, that turned horrible. I saw a side of the company that made me think "never again".

I rented a place from a "superhost" that looked very nice on paper. It was in fact very bad. Everything in the description was misleading, photos were doctored to look nice, "windows" opened to a wall on the next building two feet away, there was mold everywhere, the shower flowed into the bedroom, etc.

At this point it wasn't the end of the world; I stayed two nights and went home. Then I wrote a bad review. It was simply descriptive and contained no harsh language of any kind.

The review was immediately taken down; I asked why, and received a barrage of emails from Airbnb (some automated, some maybe not) saying that they were very sorry, they understood this wasn't the outcome I expected, but they couldn't publish it.

Turns out, Airbnb will go to extreme lengths to protect their hosts, because they are much more valuable to the company than one random customer.

But if the reviews are fake or filtered, then I can't trust the platform.

I went back to booking.com; they now have properties in addition to hotels, and are much more professional.
by mrtksn | 2025-05-14 06:32:27+00:00
AFAIK it’s the same in places with high security risks, like Turkey&Israel.

I despise this, not because I’m worried about the government but because it makes me feel restrained to act in a specific manner because this is not my space and I’m being watched. It’s dehumanizing.

In most of the Europe you feel like you own the place even if there are many rules. In Eastern Europe it’s even better, you feel free and nobody is watching you. The government and the wider system feels non-existent(which is the other end of the spectrum and can result in unmaintained infrastructure but it does have its charm).
by benjaminwootton | 2025-05-14 06:32:33+00:00
I started out loving AirBNB. Then I had quite a few bad experiences and flipped back to hotels as the price equalised. In the last year or two I’ve gone back to AirBNB as the hosts seem to have professionalised and hotel prices have headed north.

Hotels.com also cancelled a brilliant loyalty programme of buy 9 nights get the 10th free which was another motivation to look elsewhere.
by riffraff | 2025-05-14 06:33:00+00:00
I had a related experience where the host asked me to change my average review, but didn't try to bribe me (Italy, booking.com).

A friend of mine had the same bribe experience (Airbnb, Israel) with a terrible accommodation (moldy, dirty etc).

In hindsight, why wouldn't they? Even if their reviews tank they can just register again with different credentials.
by jillesvangurp | 2025-05-14 06:33:23+00:00
I like this; it's smart. It's a low tech solution that simply coordinates transit based on demand and self optimizes to serve that demand.

The value of buses and trains running on schedule is mainly that you can plan around it. But what if transit worked like Uber. Some vehicle shows up to pick you up. It might drop you off somewhere to switch vehicles and some other vehicle shows up to do that. All the way to your destination (as opposed to a mile away from there). As long as the journey time is predictable and reasonable, people would be pretty happy with that.
by arghwhat | 2025-05-14 06:33:38+00:00
CPU vulnerabilities are first fixed through kernel mitigations, only sometimes through microcode.

But security research should be done against the current state. Something as simple as a performance optimization can end up affecting the exploitability, and while that doesn't change whether the CPU is vulnerable it does change the conclusion.

Evaluering if a particular old, forked codebase is security-wise is identical is a fools errand, and then that doesn't answer whether an equivalent Red Hat kernel is vulnerable as that's a different fork with different backports and local patches. Mainline is the shared base.
by NitpickLawyer | 2025-05-14 06:33:50+00:00
> features that trade that extra 1% of safety for 90% extra learning curve.

I remember both MS and goog having talks about real-world safety issues in the range of 50% of cases were caused by things that safe rust doesn't allow (use after free, dangling pointers, double free, etc). The fact that even goog uses it, while also developing go (another great language with great practical applications) is telling imo.
by probably_wrong | 2025-05-14 06:34:33+00:00
I think you are seeing it as a software developer as opposed to (say) a biologist on the first year of their PhD who just wants to keep their scripts safe. Mercurial's strong point (IMO) was to cater to the 90% of developers who work with two-to-three colleagues on a single branch - you could always make things more complex if needed (as evidenced by Firefox doing just fine), but the defaults were always more user-friendly than git's.

For a more time-appropriate critique, this post [1] from 2012 gives an overview of what working with Git felt like at the time when git was being popularized as an alternative to Subversion (including a frequent comment of "use Mercurial instead!"). It's also worth noting that git's error messages have become more helpful since - while the documentation for git-rebase used to be "Forward-port local commits to the updated upstream head", it now reads "Reapply commits on top of another base tip".

[1] https://stevebennett.me/2012/02/24/10-things-i-hate-about-gi...
by sieve | 2025-05-14 06:34:53+00:00
I read it to see if the evidence shown at the two press conferences by the Indian DGs of Operations and Modi landing on the Adampur Airbase (which was supposed to be heavily damaged) and giving a speech with the S-400 system (which was supposed to be destroyed) behind him was covered in the article.

It isn't.

The only thing covered is claims by a state known for its pathological lying and its all-weather ally. So, more of a press release than journalism.

Hardly a surprise.
by globular-toast | 2025-05-14 06:35:05+00:00
There are certainly better options if you're at home but brewing coffee like this has worked for me before. You don't even have to filter it. You can just put ground coffee in a cup, add hot water, stir it to make the bites go to the bottom and drink it very carefully to avoid churning up the sediment. It's worked for me before when travelling.

If you plan to make coffee while camping you might as well bring a Moka pot, though. But do learn how to use it first.
by al_borland | 2025-05-14 06:35:26+00:00
- Not Chromium based, there are too many of those already.

- Effective ad-blocker, cookie notification auto-decline, and general annoyance blocker.

- The ability to set my own search engine via a simple query string. No need to build anything fancy or pick for the user.

- I’d have a hard time using a browser without my password manager being able to integrate, which would mean 3rd party extensions, as much as I hate to say it.

- Cross platform (including mobile with sync), if it’s going to be a daily driver. Mobile really complicates things these days when talking fast, simple, and private.

- But most of all, don’t listen to me or all the comments here. Keep your vision pure. Most browsers start off simple and fast, which is why people start using them. Then they carelessly add feature after feature in response to user demands, the vision gets compromised, and they end up another bloated mess. Be bold enough to accept that your browser isn’t for everyone. It will have its true fans (if it’s good), and for people who want all the features, other browsers exist for them.
by rcarmo | 2025-05-14 06:36:05+00:00
There’s an additional dimension to this: the elderly are hopelessly confused by 2FA and how inconsistently it’s used or applied. 3D Secure auto has pretty much blocked my parents from making online purchases, and I spent a frustrating hour on the phone the other evening just talking them through a failed attempt to the find right authenticator app their bank in the Play Store in a sea of spoofs.
by keiferski | 2025-05-14 06:36:32+00:00
I liked Gatsby in school, but I really didn't get it until living outside of America for awhile. To me it's the perfect encapsulation of the American experience: striving to escape the past while inevitably being pulled down by it.

This is, of course, the obvious thesis of the book. But it didn't really hit me until I looked at America from the outside, as this Thing existing with its own rules and ecosystem, separate from but still exerting a massive influence on the rest of the world. Before that point, it was a bit like a fish thinking about water.

Later I found out that Fitzgerald wrote most of the novel while in southern France, which makes perfect sense.

So if you ever find yourself as an American abroad – definitely read Gatsby.
by arghwhat | 2025-05-14 06:36:54+00:00
They are running their LTS distro's LTS kernel, but that us not an upstream thing

On an LTS, you'll be running a Canonical kernel, or a Red Hat kernel, or a SuSE kernel, or an Oracle kernel, or...

Each will have different backports, different hardware enablement, different random patches of choice, and so different bugs and problems.

Unless were evaluating the security of a particular distro release, mainline is what is Linux and will ultimately be the shared base for future releases.
by doctordemen | 2025-05-14 06:37:10+00:00
> Animals don't synthesise B12, bacteria does.

Yes, that's technically correct.

> Animals cumulate it from eating food grown in soil.

No.

Animals provide a hospitable environment (gut) for said bacteria to exist and synthesize. So while technically the animal's cells are not the ones directly synthesizing B12, the bacteria and animal gut are working in harmony to do so.

These facts are tangential to my point. The commenter I responded to said that people don't need to eat animal products to live at optimal health, which is laughable, and this is an incredibly clear example of why. A quick google search will illuminate the dangers of B12 deficiency.

And one more thing to consider, if humans coevolved with the animals they eat, how can we be so certain that simply supplementing a few vitamins found in animal products is a sufficient replacement? We hardly understand human metabolism at its most basic level, it's quite a stretch to think that we've cracked the code on the "essential" nutrients we would have received from consuming animals.
by thiht | 2025-05-14 06:37:23+00:00
I just read half of the article and this is painful to read. They’re asking for something relative simple as a take home, that just requires a little bit of imagination to fill the gaps. Why does the candidate have to be so fussy about details? Do the best you can, fast, and don’t announce you’re gonna be 2 days late for a take home!

To work in a startup you have to embrace the "just do it" mindset, you have a brain to fill the gaps, and you can always iterate later. I’d be more interested in getting the result of the take home quickly, obviously in a working state, but with a documentation explaining trade offs because of lack of time, ideas for future improvements, design choices, stuff not included (ie. a pretty UI) etc.

My take: they’re literally asking for a CRUD (if you decouple well, you can easily replace the DB with SMTP/IMAP later) with basic email features: send (to, cc, bcc), fetch, reply, reply all, transfer. That’s it, you can do it in 2 hours. Add folders, signatures, "send later", authentication, or whatever if you want to show off.

--

Additionally as an experimented Go developer (8 years working with Go as my main language), the code is not great and tbh I would have rejected it if I received this technical test where I work.

In 5 minutes of reading the code:

- lots of commented out test stuff, don't leave that in a take home or I'm gonna assume you'll do the same in your commits

- lots of println but no logging

- relative imports (eg "mymail/app/router"), don't do this

- weird choice of relatively big dependencies (turso? pocketbase? negroni?)

- no architecture or decoupling, everything is in the router

- bad use of the context (getEmails)

- no tests (no need to test everything for a take home but at least some things can be tested)

People say languages are interchangeable and you're never a "xxx" dev, but that's not true. They asked for "Proficiency in Go" and the candidate is not proficient in Go, that would be the number 1 reason for rejection.
by grumpy-de-sre | 2025-05-14 06:37:49+00:00
I mean the public transport infrastructure here is great, and there's a lot to love about the place (it's why I'm still here after all).

But spot on about the mentality. A lot of that great infrastructure here was inherited, and the attitude around it's continued development has been super conservative. Not to mention the Berlin government is borderline insolvent.

Just look at the cluster fuck that was car free Friedrichstr.

Warsaw is great, need to visit Poland again, have a huge soft spot for pączki.
by microtonal | 2025-05-14 06:38:25+00:00
So? Get the 10 Euro/Dollar Apple USB-C to stereo connector? Works with other phones as well and supposedly has an acceptable DAC. If you really want to charge at the same time and wireless charging is not acceptable, there are also some companies that make small connectors with USB-C power in and stereo out.

The reason the jack is gone is that the vast majority of people use wireless buds or headphones. It's the smartphone equivalent of complaining that MacBooks do not have DVD drives anymore.

(I like the stereo jack, but I have accepted that I'm a small minority.)
by azalemeth | 2025-05-14 06:39:26+00:00
At least he was apologetic about the shitty toilet.

The last time I ever directly gave Airbnb money the host accused my female work colleague of blocking the toilet with menstrual products and charged us 400CAD for a plumber to "fix" it. My colleague was incensed -- she angrily stated that the chronology was wrong, demonstrated that no aforesaid items were in her possession, but the host didn't believe it. We ended up with my card being billed before claiming successfully on travel insurance. I can't believe that happened in Toronto -- Canada is one of the nicest places on the planet -- but (US) Airbnb support took the hosts side instantly and wouldn't budge. We had a shitty toilet for a week!

The last time I stayed in one was in a urine soaked crash pad with cardboard covering the broken windows in Montréal. We spent five hours there around the unsafe electrical unit before they did actually sort something else out. The host didn't reply to emails and it later turned out had been arrested, explaining both his silence and the less than salubrious people we'd previously been sharing with.

I deleted my account and refuse to go in airbnbs now. Booking.com is far from brilliant but at least it's scatologically free so far...
by jajko | 2025-05-14 06:39:43+00:00
Lol what, just try it ffs. I dont get why people make up such elaborate claims and never bother to test them trivially.

One example - I did ie yesterday shower at gym after workout, after sauna, but didnt have shampoo so just water, cold and warm. Then washed just my hair at home. Hair and skin without any oil in gym, but very different feeling and also behavior of hair when combing. Shampoo makes hair much smoother for example, also less tough / more bendy.
by astrange | 2025-05-14 06:42:12+00:00
In the US, it's mostly because the urban planning field was extremely embarrassed about "urban renewal" (rightly so) and switched to a new ideology that just completely forbids ever doing anything in case it's bad for anyone.

It's also partly because they read The Population Bomb in the 70s and literally decided to ban housing/transit in order to stop people from having kids.
by brazzy | 2025-05-14 06:42:40+00:00
That "period" is actually the real killer: thinking that human error is a valid reason to explain a disaster. It never is. Never.

Because humans are fallible. They will always make mistakes, especially under stress. The only way to achieve real safety is to build a system that works despite humans making mistakes. Pinning blame on individuals is how you avoid the hard work of actually improving safety.

You mentioned that they ignored the storm. There are multiple systemic ways to prevent that: clear rules that make it mandatory to avoid storms. Empowering the first officer to question unsafe decisions from the captain. A pre-takeoff checklist that requires the pilots to check weather conditions and discuss how to handle them. And of course training and certification procedures that ensure these things are actually done.

Yes, the pilot made grave errors. But not for the first time. It was the airline's job to notice that, put him into more intense training and if he really proves unable to improve, put him in a non-flying position. They completely failed to do any of that.

And the insidious thing is that if training and enforcement of safety procedures are lax, it creates an atmosphere where unsafe behavior is normalized and spreads, where people who know better are hesitant to point it out for fear of being seen as troublemakers.
New Technical Book on Distributed Computing
by kenluck2001 | 2025-05-14 06:42:48+00:00
Good morning,

My free book on Distributed Computing is available in draft format.

https://kenluck2001.github.io/blog_post/book_launch_published_a_free_technical_book_on_distributed_computing.html

Kenneth Odoh

Software Engineer https://kenluck2001.github.io/
by rcarmo | 2025-05-14 06:43:02+00:00
Both major app stores have of late gone further and further down the rabbit hole of enforcing platform entitlements, and it feels like Google is catching up to the point where the Play Store is nearly as hostile to advanced functionality as Apple.

Most people don’t even know F-Droid exists, so the only real way is to fix this at the platform level—-maybe with an additional app review tier for specialized apps, or just a better process that doesn’t feel as if you’re talking to a generalist call center or untrained staff…
by penguin_booze | 2025-05-14 06:43:22+00:00
As long as its primary/blessed development language remain Kotlin, the Android ecosystem will remain inaccessible to me. It's not that I can't learn Kotlin, but I don't want to. When I want to develop an application on my desktop, it boils down to just `g++ ...` it, if I chose to. That is to say, I don't need GBs worth of download and a blessed IDE and gluttonous build system (the abomination called Gradle) to make my application. So, Android spreading everywhere is not good news for me. It's OK on my phone - I only use it, not do much development on it. Well, I could have, but not with something I consider as reasonable effort.
by joshka | 2025-05-14 06:43:29+00:00
I wanted to do something like this as a TUI, but was annoyed that the API for handling notification states was not available. I.e. you can't mark a PR as done and then actually search that status or detect it in the API results. That was somewhat annoying. I see this kinda side steps that by keeping state locally and doing a bunch of things to work out whether you're the next action... I like it :)
by vessenes | 2025-05-14 06:45:00+00:00
my experience - yes! but. It's more of an edit - compile - fix loop than a write (seemingly) correct code on the first try. This might be a feature.

There is a little occasional difficulty on syntax with rust, but there are often the same sort of logic errors / getting lost an llm would have on another codebase -- the compiler helps catch many of these.
by tylerhou | 2025-05-14 06:45:17+00:00
GVN and CSE only identify duplicate/common subexpressions. They do not tell you where to place the computation of the common subexpression.

The canonical algorithm to do that is to compute the dominance relation. A node X dominates Y if every path to Y must go through X. Once you have computed the dominance relation, if a common subexpression is located at nodes N1, N2, N3, you can place the computation at some shared dominator of N1, N2, and N3. Because dominance is a statement about /all/ paths, there is a unique lowest dominator [1]. This is exactly the "lowest single common ancestor."

Note that dominance is also defined for cyclic graphs. There may be faster algorithms to compute dominance for acyclic graphs. Expressions in non-lazy programming languages are almost always acyclic (e.g. in Haskell, you can write cyclic expressions).

[1] Claim. Let A, B, and C be reachable nodes. Suppose A and B both dominate C. Then either A dominates B or B dominates A.

Proof. We prove the contrapositive. If neither A dominates B nor B dominates A, then there exist paths a, b from the root such that path a passes through A but not B and path b passes through B but not A. If there is no path from A to C, then A cannot dominate C as C is reachable. Similarly, if there is no path from B to C, then B cannot dominate C. So assume there are paths a' from A to C and b' B to C. Then the path b.b' witnesses that A does not dominate C, and the path a.a' witnesses that B does not dominate C.

(There might be a bug in the proof; I think I proved something too strong, but I'm going to bed.)
by microtonal | 2025-05-14 06:45:44+00:00
Agree with Pixel < 9. Pixel 9 has an ultrasonic fingerprint reader. The modem is also upgraded to an Exynos 5400, which is much better. Even Pixel fans were complaining about the modems in Pixels, but pretty much everyone is positive about the modem in the Pixel 9.

Beware though that the Pixel 9a still uses the old modem and an optical fingerprint reader.

Until the 9a prices drop it probably doesn't make sense to get a 9a anyway, since the 9 is barely more expensive on a discount.
by thinkingemote | 2025-05-14 06:46:26+00:00
It was triggered by press release from them possibly embargoed so they could prepare the article on time. So it's not really an ad but driven by promotion. Without the PR there would be no article.

The PR pack contain actual ad for the company announcing API platform etc. this was submitted to HN at the same time by a few different people.

Most press just replicate whatever is in a press release from a company but some, better, publishers use it to write an article.