MurphyA/hacker-news huggingface dataset:
by mst | 2025-04-20 14:02:29+00:00
I remember some years ago we got somebody joining irc.perl.org #perl to ask for help replacing perl with lua as a game scripting system.

Obviously, a few people were like "uh, why would -we- want to help you with that?"

As soon as I saw an example of this existing code, however, I told said people to STFU ... because for some arsef_cked reason I don't understand at all, they'd used EmbPerl of all things for the scripting, which is basically "PHP for mod_perl" and exactly as horrible as you might imagine even when used for its actual purpose rather than in this case for something completely unrelated.

Even if sensible perl would've been an acceptable approach (and speaking as a veteran perl programmer, I would still consider lua to be more suitable; I strongly consider an importand part of the Zen of Perl to be knowing when to use something else) the approach they had taken was an abomination unto Nuggan and very much deserved to die.

What they had was very definitely the sort of perl code that justifiably contributes to people hating perl, and I considered it a service to perl to help them rip it out in favour of lua code that actually made sense.

(I, personally, think perl works very well as a scripting layer for e.g. irssi, though you might come away disagreeing if you read the average irssi script rather than ones written with a little care and concern ... but for a game? Nah, lua all the frigging way)
by Spooky23 | 2025-04-20 14:02:45+00:00
The thing about these situations is that it’s a small world, and the interviewer isn’t necessarily your friend. That cuts both ways. The interviewer may know people at your place and love/hate them. You may be the 25th person from your company to come through the place for all you know. Demonstrate that you add value and GAF.

Having been in this situation, the way I handled it was treating it as a business problem. My story was that I loved the work and feel a great reward from delivering great products/outcomes, but we got pulled into a bad cycle of poor time management that compromised the work. You’re here to deliver excellence. It’s not about blame, it about finding a place to win.

If you can deliver a narrative like that which doesn’t sound bitchy, it’s really powerful.
by ben_w | 2025-04-20 14:03:23+00:00
> I don't find them weird at all, but there's a good chance it'll offend you:

It does not offend me. I cannot say if I would be upset if this were to be turned from idea to reality because the closest thing in reality is quite upsetting; but because I think that the only part of a body capable of suffering is the CNS, I also regard any potential upset on my part about a realisation of your idea as a "me problem", not a "you problem".

That said, I don't know how far we are from being able to perfom what you suggest, even in principle.

It may well be the case that growing a full human without a CNS is harder than solving 3D bioprinting.

One downside of such a degree of biological mastery, is that it does to trust in real life what AI is currently doing to trust online.
by futureshock | 2025-04-20 14:03:46+00:00
An interview is a sales pitch for a product. The product just happens to be you. Set aside whatever negative feelings you have about this previous job or the people you worked with there. The interviewers care if you will do their job well and with consistency and professionalism. Your personal feelings are irrelevant as long as you can keep them to yourself, or maybe tell your dog.

ANY negativity during a job interview is going to work against you. It is expected that you find a way to spin every situation and every project in some kind of positive light. Even when interviewers ask for weaknesses or about conflict, the “right” answer is to be able to talk about that negative thing in a way that lets your true brilliance shine through. Skilled candidates know how to inject just the right amount of humanity and relatability in an otherwise perfect employee.

If you are having trouble separating your feelings from your ability to keep to your talking points, then a good therapist may be able to help you learn better emotional regulation skills.

In the future, keep working to proactively manage your career. Keep yourself in roles where you are learning and thriving. When you feel burnout creeping in, deploy strategies to counter it or at least get yourself into a new situation.
by alphazard | 2025-04-20 14:04:16+00:00
This kind of forced practice can create the appearance of a certain level of competence, but it rarely produces a deep understanding or innate appreciation of any of those subjects.

Take music, for example. Many high schoolers play an instrument as part of the college admissions game. Almost none of those kids can play music with their friends and just enjoy it. To them music is this structured activity where they get paper with dots on it, and they have to play the right notes at the right time to pass the class. These kids never develop a true understanding or appreciation for music. They don't keep their instruments or practice as adults.

There's so many things to learn to be good at, why not find something that you actually like?
by sabslikesobs | 2025-04-20 14:05:29+00:00
The app looks and feels great. Very smooth, I can see you were considerate of the zen experience. It's very easy to misread the name as -isv.

Small ux bug: when starting a new chat, the title field gets focus, but if I start typing before the UUID slug in the URL changes, it'll cut out a chunk of my input.

Also very similar to a lot of Obsidian plugins I've seen going around recently---that will be one of your competitors.
by porridgeraisin | 2025-04-20 14:05:31+00:00
Again, if you let the unethical ones exist, they will win.

> Popular among users

Google is popular due to their superior search capability/really good workspace product and of course youtube is brilliant. The whole point is to try and achieve these same things while also maintaining ethics, even if it takes a century longer. Like I said in a previous thread, you wouldn't enslave people to work on Google's TPUs, would you? Even if it would help us achieve AGI in one week.

You can't say, let the users decide, when there is information asymmetry. No one using a phone today is aware of the slavery in the rare metal industry in Congo etc, as much as they are aware of the number of megapixels in their camera.

If you are really in the "let the users decide" camp, then there must be 100% information symmetry. Add to the iPhone box a detailed report of every single part of the supply chain. Add a video of the slave in the mines, not just the PPE suit in the high-tech-looking lab.

Google search should market themselves as selling your ad information to various businesses.

You can't let businesses push the positive side of their business more than the negative side, cause an information asymmetry, and then say that users should be allowed to decide.

If the negative side of the business is hidden in a T&C document, then the positive side should also be forced to be in a T&C. They should be on equal footing. This would mean effectively banning marketing. Which of the alternatives do you prefer?

Back to the point, If you disallowed intrusive/targeted ads, then purely ad supported journalism would be unsustainable, thereby forcing businesses to charge for most of their news. Copy this ditto for other industries.

Doing good things like this could also naturally facilitate other desirable things such as a simple payment system for internet services and remove other blockers needed for the system to work, which we don't have today despite all the trillion dollar tech companies. Why? They have the brightest minds, but the economic incentives need to be set exactly right. Today, those bright minds are being used to add dark patterns to user interfaces, deceive or even outright lie to users, and doing cunning things like tracking my location using their Wi-fi SSID even when I explicitly turned off location. These tracking systems didn't come out of nowhere, nor are they easy to build. They exist because the incentives let them, caused them to exist. If the incentives instead caused more ethical businesses to exist, the same human/otherwise capital would be converted to more ethical systems.
by simonw | 2025-04-20 14:05:55+00:00
The official announcement of the QAT models happened on Friday 18th, two days ago. It looks like they uploaded them to HF in advance of that announcement: https://developers.googleblog.com/en/gemma-3-quantized-aware...

The partnership with Ollama and MLX and LM Studio and llama.cpp was revealed in that announcement, which made the models a lot easier for people to use.
by BrandoElFollito | 2025-04-20 14:06:30+00:00
I learned that race on the US is declarative (I am French). Why not.

Now, coupled with the fact that it may give you advantages, say at the university, what stops a guy like me (blond, fair haired) to claim that he is Asian, Black or whatever "race" is the most interesting in that case at that moment?

Will someone tell me I am not Latino enough?
by ternaryoperator | 2025-04-20 14:06:58+00:00
In the abstract, I think I agree with you. But in reality, what I see is that go projects use far fewer packages than, say, programs in Java. Many go projects use one or two omnibus packages--principally, I expect, to avoid having to worry about circularity issues.

By forcing this design pattern on developers (something no other language does), I think the result has been overall worse code rather than better.

Perhaps a warning, rather than stop-the-compiler error would have been a better choice. Not sure.

Either way though, I wholly agree that the compiler gives too little information, which is curious because it knows the needed data and should easily be able to present it in a useful way.
by rainsford | 2025-04-20 14:07:16+00:00
You're right that defections haven't totally gone away, but I think the current Congress actually emphasizes how rare they are now. The only reason things aren't passing is because the house is so close that a tiny percentage of Republicans defecting can sink a bill. But the vast majority of Republicans follow the party line and basically none of the Democrats are willing to cross over either. In a system with realistic local representation you'd expect a lot more crossover in both directions.
by AlfeG | 2025-04-20 14:08:26+00:00
This is my problem in every situation.

Want a car? Here are thousands of options. Want a fridge? Good luck in market research. Want a TV? Nope, I will not help. Too many variables. Bottle of water? Here are hundreds of options. Let's guess why one bottle can cost x100 times more than another.

Sometimes I just want simple things ... Like to drink a cup of coffee.

In my student time. There was a shop where we bought "Beer", "Cognac" or "Vodka", with corresponding simple labels. No trademarks, no info on producers. Very easy to choose.
by gcr | 2025-04-20 14:08:35+00:00
isn’t having a functioning uterus a hard prerequisite to the ability to produce ova?

“is developed to produce ova” is a statement about current capability. If they meant to include women with hysterectomies, they would have worded it differently, like “is or once was developed to produce ova;” if they meant to include women with non-functioning wombs, they would have written more broadly, like “is of the type that usually produces ova” or something.
by lordfrito | 2025-04-20 14:09:46+00:00
> Those laserdisc players are cantankerous, mechanical beasts and even the industrial grade ones will likely be a constant point of failure across enough 80-hour operating weeks

They were notoriously unreliable, so much so it killed the laserdisc arcde fad that lasted about a year.

Part of the problem was the way the games used the laserdisc. The games spend most of their time randomly playing different video tracks as gameplay changed (a-la Dragons Lair). The players were designed for "linear" playback -- like a CD, you move the head to a track, then slowly move the head forward play the track. Seeking a new track is a (relatively) infrequent operation -- but the laserdisc games hammered the players with constant track seeks, moving the head back and forth so many times it quickly wore the mechanism out. Player failure rate was so high operators started bailing on the tech.

Funny story is that Atari looked into laserdisc games in the late 70's... Decided the tech was unreliable, but went ahead anyways. As Owen Rubin recanted:

I spent two summer sessions at MIT in 77 and 78 (or maybe 78 and 79) educating myself on laserdisc games and technology in the Architecture Machine Group (later to become the Media Lab), and basically came back to Atari and suggested that we did NOT do any games with laserdisc. Bottom line, the technology would not survive the arcade environment, was slow and unreliable, and was very expensive for what you really got out of it. And I was right, but we started several games anyway.
by fluidcruft | 2025-04-20 14:11:19+00:00
Unless I misunderstood something, the comment you replied to has a link to HPE selling packs of 20 new LTO-6 cartridges (2.5TB x 20 = 50TB) for $60 (i.e. $3 per 2.5TB cartridge) which is far cheaper than a hard drive.
by zomglings | 2025-04-20 14:11:27+00:00
Apologies for the late reply. My kids demanded my attention yesterday.

It doesn't seem to have included any points on style or workflow in the context. Most of my context documents end up including the following information:

1. I want the agent to treat git commits as checkpoints so that we can revert really silly changes it makes.

2. I want it to keep on running build/tests on the code to be sure it isn't just going completely off the rails.

3. I want it to refrain from adding low signal comments to the code. And not use emojis.

4. I want it to be honest in its dealings with me.

It goes on a bit from there. I suspect the reason that the models end up including that information in the context documents they dump in our sessions is that I give them such strong (and strongly worded) feedback on these topics.

As an alternative, I wonder what would happen if you just told it what was missing from the context and asked it to re-dump the context to file.
Serving Open Graph to Bots at Hey.xyz: Our Client-Side SPA Approach
by yoginth | 2025-04-20 14:12:47+00:00
At hey.xyz, we built a client-side SPA using Vite and React Router 7. But this created a challenge - how do you serve proper metadata to social media crawlers and search engines when your app renders client-side?

Read more here: https://world.hey.com/yoginth/serving-open-graph-to-bots-at-...
by BrandoElFollito | 2025-04-20 14:12:58+00:00
I don't. This is simply not the place for that.

If they were bad, I would say that they were not (whatever you seek - technical or challenging or whatever) and move on. I will mention that I did them right and I am looking for a more (take your pick from above) position.

Really, this is not a psychologist cabinet.

FWIIW, I hire technical or semi-technical people for my teams, from besides basic to get senior. Not a lot because people tend to stay a long time - one of the things I am truly proud of (just after having a fantastic team)
by Zambyte | 2025-04-20 14:13:12+00:00
FWIW I'm getting 29 TPS on Ollama on my 7900 XTX with the 27b qat. You can't really compare inference engine to inference engine without keeping the hardware and model fixed.

Unfortunately Ollama and vLLM are therefore incomparable at the moment, because vLLM does not support these models yet.

https://github.com/vllm-project/vllm/issues/16856
by GTP | 2025-04-20 14:13:23+00:00
Yes, checking a specific false positive would be trivial and extremely fast[0], as it's just about summing two numbers. But, if the server doesn't do the check, having the site report a counterexample to Goldbach's conjecture would be an easy prank to pull off.

[0] Verifying that those two numbers are actually primes may take more time, but it seems to me that we're still dealing with number sizes for which primality testing isn't that hard. After all, the code here seems to just be using Erathostene's sieve to find primes.
by pjmlp | 2025-04-20 14:13:50+00:00
It was a common way to structure enterprise C code during the 1990's, and the snarky remark is how the anti-enterprise culture from Go ends up adopting the same big corporation principles, given enough wind behind its sails.

Yourdon is the big wave of enterprise methodologies immediately predating the OOP wave with Booch, UML, GoF and friends.

I can gladly bet there are some Go pattern books around the corner as well.

As for the book paywall, it is certainly available in many libraries, given its age.
by simonw | 2025-04-20 14:14:22+00:00
I think gemma-3-27b-it-qat-4bit is my new favorite local model - or at least it's right up there with Mistral Small 3.1 24B.

I've been trying it on an M2 64GB via both Ollama and MLX. It's very, very good, and it only uses ~22Gb (via Ollama) or ~15GB (MLX) leaving plenty of memory for running other apps.

Some notes here: https://simonwillison.net/2025/Apr/19/gemma-3-qat-models/

Last night I had it write me a complete plugin for my LLM tool like this:

llm install llm-mlx llm mlx download-model mlx-community/gemma-3-27b-it-qat-4bit llm -m mlx-community/gemma-3-27b-it-qat-4bit \ -f https://raw.githubusercontent.com/simonw/llm-hacker-news/refs/heads/main/llm_hacker_news.py \ -f https://raw.githubusercontent.com/simonw/tools/refs/heads/main/github-issue-to-markdown.html \ -s 'Write a new fragments plugin in Python that registers issue:org/repo/123 which fetches that issue number from the specified github repo and uses the same markdown logic as the HTML page to turn that into a fragment'

It gave a solid response! https://gist.github.com/simonw/feccff6ce3254556b848c27333f52... - more notes here: https://simonwillison.net/2025/Apr/20/llm-fragments-github/
by fn-mote | 2025-04-20 14:15:48+00:00
I guess you already know what a “Functional API” is and feel patronized. Also possibly you dislike the “cute analogy” factor.

I think this could be solved with an “assume the reader knows …” part of the prompt.

Definitely looks like ELI5 writing there, but many technical documents assume too much knowledge (especially implicit knowledge of the context) so even though I’m not a fan of this section either, I’m not so quick to dismiss it as having no value.
by LunaSea | 2025-04-20 14:15:55+00:00
> If there was an option to have zero, zero, even minutely intrusive ads/tracking, then I will be willing to pay a price for it. If this is not an option, then I have zero remorse for your wasted efforts/loss of revenue.

This is already the case for most newspapers. Helas, most users prefer the free but ad-ridled version.

> Even the ones that _do_ have a half-decent, "ad-free", paid option, if you actually pay and visit their website, you will be sure to see ads related events in the network tab. Disqualified.

You should report this to the publishers. This is usually and genuinely not what they would like to happen if they provide a paid version.

> For the case of tracking, like I (again) stated above: if my library goes over to my travel agency telling them what travel guides I have been looking at, I have zero remorse for the library's revenue stream, even if they satisfy all of the requirements above (such as offering a completely intrusive-ad-free paid subscription).

Most of the time the data itself will never be sold. What happens is that a brand or ad agency will buy pre-filtered traffic or ask the publisher to operate a campaign on specific user segments. This means that the data never leaves the site that collected it.

There are of course external companies that become third-party data providers as a business model like credit card companies or telecoms. But even then, data providers try to protect their own data by operating campaigns themselves rather than selling the data.

> If there are alternatives that don't indulge in these completely unethical practices, I would love to, and I do, use them. However, there are exactly zero news websites like that, so it leaves me with no choice but to "steal" whenever I read an article.

Just as an added piece of context, due to publishers surviving (and I really mean it) thanks to advertisement income, they also have little in-house tech talent that can actually make sur that things like "absolutely 0-tracking if it's a paying user" is correctly implemented.

Do what you will with this information.

> Finally, if your company ever does something like using Wi-fi SSIDs as an alternative.

Only mobile apps might have the SSID (and only with granular user consent on app install). Websites do not have access to this information.
by timcobb | 2025-04-20 14:16:34+00:00
> A very small minority of kids will do all of that easily and for the fun, but you can't rely on it

This may be true, but explain to me what are the returns you get on forcing math (or anything) on kids? They won't like it, they won't learn it intimately, the won't internalize it, it'll be unusable knowledge and mostly a waste of time with lots of bad vibes and probably even a little trauma...

I spent a lot of time with math in high school and college but that was because I had a couple teachers who really elucidated why *I* might find math to be interesting (in my case, it was physics and computing). Forcing people to do anything generally leads to nothing worthwhile.
by perihelions | 2025-04-20 14:16:37+00:00
Not sure what geometry you're thinking of. Whatever idea it is, you're stuck dealing with Kirchoff's law, which says optical emissivity and absorptivity are the same number at any given wavelength. I.e., you can't create "one-way trap doors" for heat flow—that would be a Maxwell's demon. Stacking multiple surfaces isn't a way to circumvent this.

If it's just an asymmetric shape, with different material surfaces pointed in different directions, than that of course is permitted.

https://en.wikipedia.org/wiki/Kirchhoff%27s_law_of_thermal_r...
by kQq9oHeAz6wLLS | 2025-04-20 14:17:24+00:00
> that other books should be distrusted at risk of harms to yourself? Say, the Christian Bible

A bit off topic, but I find it interesting that the Christian Bible is always the example of a "bad" book, when there are other, very popular, religions whose books literally tell them that non-adherents are worthy only of a grisly death.
by aa-jv | 2025-04-20 14:18:20+00:00
The only thing that matters in all of this is the fact that there are still new things being developed for old computers.

Like, delightful and whimsical things.

Just look at this years 10LINEBASIC competition entries, for example, to see why information just wants to be free. PAC10Liner says wa'!?!?

https://bunsen.itch.io/pac-10liner-atari-8-bit-by-vitoco

Oh, lest we forget, some space indvader'ing:

https://bunsen.itch.io/wave-invaders-sinclair-zx-spectrum-by...

These symbols are very, very fairly used these days.

(NB; - these aren't the winners, just my favourites, go check out the rest here: https://homeputerium.de/)
Ask HN: Are deep research AI tools changing the way you evaluate SaaS products?
by galby | 2025-04-20 14:18:41+00:00
I am using these tools more and more but so far not for anything substantial or with consequences. Curious about the HN crowd: are these tools starting to impact how you evaluate / acquire saas products?

It's early days still but it seems like optimizing AI SEO is going to increasingly be a thing, and having llms.txt or similar will be tablestakes. Makes me think the internet pretty soon will just be robots talking to each other.
by WindowsDev | 2025-04-20 14:19:58+00:00
FYI your link says "In December 2024, a threat actor conducted a software supply chain attack using compromised developer accounts to distribute malicious browser extension updates from the Chrome Web Store".

The version I base my decompilation on is a v6.1.2 sourced from the Web Store on August 9, 2024. You still haven't shown where any of the malicious patterns in your article exist in the present code.