HNHacker News
TopNewBestAskShowJobs

kpw94

1,044 karma · joined April 21, 2023

submissionscomments
kpw94··on Document poisoning in RAG systems: How attackers corrupt AI's sources
That's a big flaw of LLMs, not limited to RAGs: it lacks the fundamental understanding of "good and bad", like Richard Sutton said in that Dwarkesh podcast.

So if you flood the Internet with "of course the moon landing didn't happen" or "of course the earth is flat" or "of course <latest 'scientific fact' lacking verifiable, definitive proof> is true", you then get a model that's repeating you the same lies.

This makes the input data curating extremely important, but also it remains an unsolved problem for topics where's there's no consensus

kpw94··on Pass-Through of Tariffs: Evidence from European Wine Imports
"water is wet" kind of study, as tariffs are precisely supposed to increase price for consumers for imported goods... But the last 3 paragraphs are interesting:

- Importers raised the price more than needed (i.e. blame tarifs to increase their profit margin)

- Price increases took one year to fully reflect to the customers, and persisted nearly one year after the tariffs expired.

- chicken-tax-like loopholes implemented wherever possible (for wine apparently it's raising the ABV to more than 14%)

kpw94··on Qwen3.5 122B and 35B models offer Sonnet 4.5 performance on local computers
On my 32GB Ryzen desktop (recently upgraded from 16GB before the RAM prices went up another +40%), did the same setup of llama.cpp (with Vulkan extra steps) and also converged on Qwen3-Coder-30B-A3B-Instruct (also Q4_K_M quantization)

On the model choice: I've tried latest gemma, ministral, and a bunch of others. But qwen was definitely the most impressive (and much faster inference thanks to MoE architecture), so can't wait to try Qwen3.5-35B-A3B if it fits.

I've no clue about which quantization to pick though ... I picked Q4_K_M at random, was your choice of quantization more educated?

kpw94··on Blue light filters don't work – controlling total luminance is a better bet
> Basically, I was told to make it so that my phone's camera could see something on the screen and my desk at the same time without washing out

+1. The low-tech version of this I've heard and I've been doing is:

Hold a printed white paper sheet right next to your monitor, and adjust the amount of brightness in monitor so the monitor matches that sheet.

This of course requires good overall room lightning where the printed paper would be pleasant to read in first place, whether it's daytime or evening/night

kpw94··on Qwen3.5: Towards Native Multimodal Agents
Per https://github.com/QwenLM/Qwen3.5, more are coming:

> News

> 2026-02-16: More sizes are coming & Happy Chinese New Year!

kpw94··on European Alternatives
> However Germany and it's infrastructure can not be compared to the Netherlands. I refuse to take trains through that country anymore.

In which country are the trains bad? Netherlands or Germany? Do you care elaborating why? is that punctuality? strikes? decaying infrastructure?

kpw94··on alpr.watch
Very cool! And important for sure, thank you.

Few questions:

- is the stack to index those open source?

- is there some standardized APIs each municipality provides, or do you go through the tedious task of building a per-municipality crawling tool?

- how often do you refresh the data? Checked a city, it has meeting minutes until 6/17, but the official website has more recent minutes (up to 12/2 at least)

kpw94··on Mistral releases Devstral2 and Mistral Vibe CLI
> I've personally decided to just rent systems with GPUs from a cloud provider and setup SSH tunnels to my local system.

That's a good idea!

Curious about this, if you don't mind sharing:

- what's the stack ? (Do you run like llama.cpp on that rented machine?)

- what model(s) do you run there?

- what's your rough monthly cost? (Does it come up much cheaper than if you called the equivalent paid APIs)

kpw94··on The last-ever penny will be minted today in Philadelphia
> $1 and $2 coins in wide circulation (instead of worn-out $1 bills).

This has its own pros/cons...

One advantage of $1 bill over coin is the majority of people in US don't need a wallet with zipper to hold coins. Five $1 bills is much less bulky and much lighter than five $1 CAD or five 1€ coins

kpw94··on Using Generative AI in Content Production
> one can absolutely check the text to remove all occurrences of Indiana Jones

How do you handle this kind of prompt:

“Generate an image of a daring, whip-wielding archaeologist and adventurer, wearing a fedora hat and leather jacket. Here's some back-story about him: With a sharp wit and a knack for languages, he travels the globe in search of ancient artifacts, often racing against rival treasure hunters and battling supernatural forces. His adventures are filled with narrow escapes, booby traps, and encounters with historical and mythical relics. He’s equally at home in a university lecture hall as he is in a jungle temple or a desert ruin, blending academic expertise with fearless action. His journey is as much about uncovering history’s secrets as it is about confronting his own fears and personal demons.”

Try copy-pasting it in any image generation model. It looks awfully like Indiana Jones for all my attempts, yet I've not referenced Indiana Jones even once!

kpw94··on My trick for getting consistent classification from LLMs
Nice!

So the cache check tries to find if a previously existing text embedding has >0.8 match with the current text.

If you get a cache hit here, iiuc, you return that matched' text label right away. But do you also insert a text embedding of the current text in the text embeddings table? Or do you only insert it in case of cache miss?

From reading the GitHub readme it seems you only "store text embedding for future lookups" in the case of cache miss. This is by design to keep the text embedding table not too big?

kpw94··on Teardown of Apple 40W dynamic power adapter with 60W max
A workaround: Long press on image, "open image in a new tab"
kpw94··on AI web crawlers are destroying websites in their never-ending content hunger
Yeah the landscpe when there were many more Search engines must have been exactly the same...

I think the eng teams behind those were just more competent / more frugal on their processing.

And since there wasn't any AWS equivalent, they had to be better citizens since well-known IP range ban for the crawled websites was trivial.

kpw94··on Marines being mobilized in response to LA protests
> military forces exist to protect the country from existential threats — such as an invasion or rebellion — not to enforce the law.

serious question: are Countries such as Italy, France etc not a democracy?

All of them are, verbatim from wikipedia, "a military force with law enforcement duties among the civilian population.". Ditto for spain Guardia Civil, and many of the countries listed in that same wiki page: Algeria, Netherlands, Poland, Argentina, Romania, Turkey, Ukraine, Chile, France, Italy, Portugal, Spain, ...

https://en.wikipedia.org/wiki/Gendarmerie

kpw94··on A thought on JavaScript "proof of work" anti-scraper systems
Books have a back cover for that reason: so you can read it before buying.

Long-form articles could have a back cover summary too, or an enticing intro... and some substack paid articles do that already: they let you read an intro and cut before going in the interesting details.

But for short newspapers articles it becomes harder to do based on topic. If the summary has to give out 90% of the information to not be too vague, you may then feel robbed paying for it once you realize the remaining 10% wasn't that useful.

kpw94··on Owen Le Blanc: creator of the first Linux distribution
So first linux distribution was this one Feb 1992.

And first linux distribution with a GUI was "TAMU linux", 3 months later: https://lwn.net/Articles/91371/

Both were released by universities

kpw94··on Netflix buffering issues: Boxing fans complain about Jake Paul vs. Mike Tyson
yep, especially knowing this isn't their first rodeo... 18 months since https://time.com/6272470/love-is-blind-live-reunion-netflix/

> But the real indicator of how much Sunday’s screw-up ends up hurting Netflix will be the success or failure of its next live program—and the next one, and the one after that, and so on. There’s no longer any room for error. Because, like the newly minted spouses of Love Is Blind, a streaming service can never stop working to justify its subscribers’ love. Now, Netflix has a lot of broken trust to rebuild.

kpw94··on When To Do What You Love
> But when people talk about "fairness", it usually means quality of life right?

Seems you're focusing on the Floor whereas pg refers to a Ceilings?

It's normal that enterprise sales lovers ends up as taller poppies than pottery lovers. You could take it a step further and say: it's normal than Tom Brady and Ronaldo ends up rich but mediocre football players make $0 from football, even though both have interest in football.

That's the typical Ikigai diagram stuff: if someone's "what you love" naturally aligns with "what you can be paid for", pg point is that this person will be richer. (On top of this, if someone's "what you're good at" also aligns naturally with "what you can be paid for", they'll also be richer).

But you're approaching a different question: do pottery lovers have a good enough quality of life? Do they deserve one if nobody needs any of their pottery stuff?

Does everyone's deserve a good quality of life regardless of what their passion is? What about people with antisocial passions (crime, exploiting others etc)?

kpw94··on Boeing workers vote to strike
> France is not very accommodating to non French speaking foreigners. Trying to get around in life with just English there outside of Paris is not easy.

I don't really get this kind of comments... Usually people also say the same thing when visiting Japan. "This restaurant only has menu in Japanese and staff only speaking Japanese!!".

That's true a bit everywhere in the world, isn't it? In the US, apart from places with say huge Spanish speaking presence, you better interact in English.

Try "getting around in life" using only say French, or Portuguese, or Japanese in a random US city like Portland, NYC, or Chicago.

kpw94··on Clojure Desktop UI Framework
I'm sure Clojure is a great language for some tasks...

But, looking at the examples (picked the Wordle one since I know that game): https://github.com/HumbleUI/HumbleUI/blob/main/dev/examples/...

I find it extremely hard to read. Even small snippets, say line 56 to 74 which define this "color", "merge-colors" and "colors"... then the "field" one lines 76 to 117 is even harder.

is it more natural read for people familiar with writing functional programs? (am I permanently "broken" due to my familiarity with imperative programing?)

I wonder what the same Wordle example would look like in, say pure Flutter.

Also wonder how would that code look with external dependencies (say hitting a server to get the word of the day), and navigation (with maintaining state in between those pages)

kpw94··on BMW Overtakes Tesla in European EV Sales for First Time
They're easy to spot, at least for recent sedans & suv, they're the ones with a front grille looking like beaver teeth and the grille look more solid vs traditional vent (which make sense since there's no combustion engine that needs cold air intake to cool down)

https://www.google.com/amp/s/www.businessinsider.com/bmw-ix-...

kpw94··on DOJ sues realpage for algorithmic pricing scheme that harms renters
> I think they’re talking about more sensitive internal numbers. What are the costs and margins on the unit? How quickly are units moving at a certain price? What’s the turnover at particular prices?

Yeah that's my understanding of it too "competing landlords who agree to share with RealPage nonpublic, competitively sensitive information about their apartment rental rates and other lease terms".

I.e. realPage has an oracle view of all the lease ending times etc, so it knows for instance, this next July there's going to be very few availability, so boost all the rents by X%

I guess there's a "private price" if the apartment complex share what, after all negotiations, the renter ended up signing for. It can be more than what was on the public website, if they ended up signing for a shorter lease, or less if the apartment ended up needing to throw in "first month free" etc.

There's also private price of lease renewals done before the unit is put for rent on the website.

kpw94··on DOJ sues realpage for algorithmic pricing scheme that harms renters
Many listings for apartments are on on-site.com (which is "a RealPage company") and are publicly available...

So it could be argued it's not

"private prices" + "autoaccept" + "compliance"

But rather

"public prices" + "autoaccept" + "compliance"

Still problematic behavior (and probably add "private knowledge of inventory forecast" on top of that), but I'd argue price signaling of the available inventory isn't the main issue.

kpw94··on How to build quickly
The author provides an example of the bad "Loading bar writing" but unfortunately not a good example of what they call "Outline speedrunning writing"

pg, who's good at writing essays, does provide a good example of the latter, with https://byronm.com/13sentences.html.

This is the writing process that lead to https://paulgraham.com/13sentences.html. (the https://code.stypi.com/hacks/13sentences?doomed=true URL on pg's blog is a now a dead link. Previous discussion: https://news.ycombinator.com/item?id=6993060).

kpw94··on Writing a Unix clone in about a month
> I also finally learned how signals work from top to bottom, and boy is it ugly. I’ve always felt that this was one of the weakest points in the design of Unix and this project did nothing to disabuse me of that notion.

Would love any resources that goes in more details, if any HN-er or the author himself knows of some!

kpw94··on People who don't want to learn how to program can always find a reason not to
patio11's thread on that topic was quite interesting. His move to Japan was apparently 90% motivated by the wrong prediction of all the jobs moving abroad:

https://twitter.com/patio11/status/1779978518656332212

kpw94··on LLaMA now goes faster on CPUs
Great links, especially last one referencing the Goto paper:

https://www.cs.utexas.edu/users/pingali/CS378/2008sp/papers/...

>> I believe the trick with CPU math kernels is exploiting instruction level parallelism with fewer memory references

It's the collection of tricks to minimize all sort of cache misses (L1, L2, TLB, page miss etc), improve register reuse, leverage SIMD instructions, transpose one of the matrices if it provides better spatial locality, etc.

kpw94··on My sixth year as a bootstrapped founder
No question, always nice to read your yearly updates.

Last year looked really promising , your revenue already high but profits not there yet, but I'm happy to see you turned a nice profit this year! Congratulations!

kpw94··on iPhone that fell from hole in Alaska 737 MAX flight is found, still open to Mail
My guess is, given state of the charging connector still attached but ripped off (https://news.ycombinator.com/item?id=38914210):

The entire thing fell out of plane (phone + charging cable plugged), then landed in a tree, where the charging cable got tangled in branches and that's when phone broke out of it and fell in grass.

So phone was able to release kinetic energy in 2 big events (+a few branches hit maybe), not a direct splash on the ground.

Wonder if somehow they can analyze the accelerometer data of the phone and figure out if that correlates with that scenario.

kpw94··on Procrastination is connected to perfectionism
> It's the reason they ...

A recent nytimes opinion on the subject: https://twitter.com/emmma_camp_/status/1726390207740608823

>> It's generally a sign of progress when diagnoses that were once whispered in shameful secrecy enter our everyday vocabulary and shed their stigma. But especially online, where therapy "influencers" flood social media feeds with content about trauma, panic attacks and personality disorders, greater awareness of mental health problems risks encouraging self-diagnosis and the pathologizing of commonplace emotions what Dr. Foulkes calls "problems of living." When teenagers gravitate toward such content on their social media feeds, algorithms serve them more of it, intensifying the feedback loop.

← PreviousPage 2 of 4Next →