MurphyA/hacker-news huggingface dataset:
by exceptione | 2025-12-13 19:34:10+00:00
For Jetbrains: if LLM's are such a terrific productivity booster, why don't you put it to work to speed through all your open tickets and get the product in top shape? In the time you saved you can build agentic whatevers.

Or LLM's aren't really that great after all? Then focus on your damn IDE. Leave refactoring by hallucination to the electron kids and just provide stable and performant editors and analyses around Abstract Syntax Trees.
by mettamage | 2025-12-13 19:34:21+00:00
> Avoid React, or anything with a build step. The problem with React is that JSX requires a build step, which makes everything massively less convenient. I prompt “no react” and skip that whole rabbit hole entirely.

I haven’t found too many issues with loading React and Babel from a CDN. I find React easier to read than straight HTML/JS. I find it more annoying to code in but seeing what state is needed in what components is a pleasant reading experience for me with single file tools.
by cooljoseph | 2025-12-13 19:34:34+00:00
I've done something similar for a couple tools.

I tend to make them as Python servers which serve plain html/js/css with web components. I know this is a bit more complicated than just having a single html file with inline js and css, but the tools I made were a bit too complicated for the LLMs to get just right, and separating out the logic into separate js files as web components made it easy for me to fix the logic myself. I also deliberately prompted the LLMs to avoid React because adding I didn't want to need a build step.

The only one I actually still use is the TODO app I made: https://github.com/cooljoseph1/todo-app It stores everything in a JSON file, and you can have multiple TODO lists at once by specifying that JSON file when you launch it.
by j45 | 2025-12-13 19:35:16+00:00
I'm sharing this more for folks who might have looked in a lot of places and are still seeking answers.

There has been a lot more science in this area it seems in the last 5 years, maybe it's just me, and the attention to do with long covid, or other things that cross the blood/brain barrier.

It's encouraging to see articles like this, since there is no single measure or signal of this, its really about considering brain health in general, and doing everything that is possible to eliminate neuroinflammation that can be.

The challenge for folks suffering with symptoms that includes a neurological thing like brain fog is the challenge of usually having to be the Quarterback integrating between specialists, because specialists don't necessarily integrate. For someone with cognitive fatigue, since it's differnet for everyone on different tasks, it can be a lot.

It's been eye opening to learn how many specialists first overlook proper neck posture and position since it can have a direct effect on what's getting into/out of the brain and downstream symptoms. Advocating for the basic inputs first before trying things is critical.

Additionally, tools like QEEG and FMRI are promising, not super mainstream yet but appear to have decent information it can provide of what is happening in the brain. In addition to this, the area of neurofeedback (devices like mendi, bellabee, etc seem to have some promise to help in some cases).

Another thing that too often gets missed is first ensuring things are OK physiologically. A simple xray of the neck and where nerves, blood and more go up into the brain is too often a step that's missed, and quite often there might be some compression, tightness or pinches there limiting the brain to recieve what it normally may have - and instead effort is spent trying to figure out how to get the brain operating better with a garden hose that's been slightly pinched.

Fatigue to the extent I understand it neurologically seems to at least two sided dice: energy and nutrition being available when and where it's needed on one side, and the things needed in place to use that energy effectively.

Chronic depletion or deficiencies in certain vitamins, amino acids, etc can also build up over time. Doing what we can for nutrition is critical, including any research backed neuroinflammation reducing supplements (magnesium threonate, saffron, omega 3, tumeric, etc).
by tirant | 2025-12-13 19:35:32+00:00
I don’t care if German prices for electricity are below inflation. They’re just still expensive. As an EV owner is difficult to find an electricity provider with costs below 0,25€/kWh, and most of them go beyond 0,30€. While I had prices in other European countries for around 0,05€/kWh at night for example.

Not only that, Conservatives, Socialists and the Green all managed to increase our electricity CO2 footprint by moving from nuclear to coal/lng.
by fortyseven | 2025-12-13 19:35:59+00:00
You know, sometimes things just work. They get whittled way at until we end up with a very refined endpoint. Just look at cell phones. Black rectangles as far as the eye can see. For good reason. I'm not saying don't explore new avenues ( foldables, etc. ), but it's perfectly fine to come to settle into a metaphor that just works.
by someNameIG | 2025-12-13 19:36:25+00:00
OP is in Australia. Most stores that sell gift cards have loyalty cards that give points for gift card purchases. And a few times a year they give bonus points (e.g. 10x) on gift cards, that can result in an equivilent 10-15% saving.

You can even use this to get an effective discount on hardware, as you can use your Apple account balance to buy from Apple.
by jeroenhd | 2025-12-13 19:36:42+00:00
You can just install it outside of Azure: https://learn.microsoft.com/en-us/java/jaz/overview#install-...

Note: the tool calls out to Microsoft but the docs don't say what data is shared ("telemetry"), better make sure your firewalls are functioning before running this tool.

Not sure what the source license story is.
by nixpulvis | 2025-12-13 19:36:47+00:00
Author tries to avoid a database for storing tokens while the client is disconnected and ends up storing them in a pub/sub provider.

There's no solution other than to store the tokens somewhere, or drop them. You have to make a choice how long you want to allow reconnects for. And this is all pretty independent of the transport layer, as the author even mentioned themselves, you can resume even a new session as long as you have a prompt ID or something to tie it back to the original request.

I don't know enough about how the LLM providers stream results, but the original claim that inference is more expensive than transport is a good point, and caching tokens seems like a smart move. Unfortunately, we pay by the token, so I don't see the incentive for providers to spend time and money doing this for us.
by mbrumlow | 2025-12-13 19:37:28+00:00
I really hate this type of blog. It pollutes the world with this attitude of “I messed up, how I have to frame the problem in a way, and write a blog that lets my ego stay intact”, which results in blogs like this showing in decision making process as “why you should not use go”. And mostly people never look past the title.

The fact is go is portable, it provides the ability to cross compile out of the box and reasonably executed on other platforms it supports. But in this case, a decision that had little to do with go, the desire to use c code, a non go project, with their go project made things harder.

These are not “just a set of constraints you only notice once you trip over them”, this is trivializing the mistake.

Entire blog can be simplified to the following.

We were ignorant, and then had to do a bunch of work because we were ignorant. It’s a common story in software. I don’t expect everybody to get it right the first time. But what we don’t need is sensational titled blogs full of fluff to try to reason readers out of concluding the obvious. Somebody in charge made decisions uninformed and as a result the project became more complicated and probably took longer.
by f33d5173 | 2025-12-13 19:37:33+00:00
Ordinary backups don't aim to replace the full service. When you have a stock of food, you don't have enough to last you a lifetime. You have enough to weather a storm. The equivalent for tech would probably be having an offline copy of your "essential" data, but not of every photo you ever took. It would protect you from temporary internet disruption, or if a provider suspended you for a few days, but not if they banned you completely with no recourse.
by busterarm | 2025-12-13 19:37:34+00:00
It's not just west coast jazz. Music journalists snub their nose at anything that doesn't have the "right pedigree". If it doesn't fit their narrative for what jazz should be, it might as well not exist.

That included decades of Japanese jazz musicians, conservatory-trained session wizards without a hard-luck backstory like Michael Brecker, etc.

As much as modern music sharing/streaming has its downsides, the best thing it ever did was make everything discoverable and make the opinions of gatekeeping assholes irrelevant.

You don't need respect. Respect doesn't even pay the bills. You just need listeners and a way to sell to them.
by WJW | 2025-12-13 19:37:48+00:00
There are (some) guards available though? You could rewrite your example as:

case x { n if x < 0 -> ... n if x > 10 -> ... n if x <= 10 -> ... }

Guards are a bit limited in that they cannot contain function calls, but that's a problem of the BEAM and not something Gleam could control.
by Gabrys1 | 2025-12-13 19:37:58+00:00
But gift cards aren't supposed to work that, right? If it wasn't "legal" or "okay" to have a 500 dollar card, they shouldn't be sold. They are available, therefore they should be perfectly usable.

I don't want to speculate more, but one of the use cases for them is for people that choose to not use cards online (or even don't have credit cards at all) to be able to buy digital goods with cash.

Either way, if we're questioning buying/using the gift card, we're blaming the victim
by reneberlin | 2025-12-13 19:38:07+00:00
The last one i knew was: https://serveo.net/ and it seems to be gone. The decline came in waves. First he made a full-stop, then put in some mittigations and gave up in the end.

https://github.com/milio48/serveo

It think you could ask politely for his ride on GH? milio48
by evanelias | 2025-12-13 19:38:12+00:00
I said it affects how trustworthy I find the article, when considered in combination with other aspects of this situation that don't add up to me.

After going through my technical bookshelf I can't find a single example that follows this header/bullet style. And meanwhile I have seen countless posts that are known to be AI-assisted which do.

Apparently we exist in different realities, and are never going to agree on this, so there is no point in discussing further.
by xorbax | 2025-12-13 19:38:20+00:00
They also seemed to basically do it for two weeks and then stop because the rats "aged out" - despite it supposedly working well and achieving concrete results.

I know rats aren't long-lived, but I would be interested to know how they determined the rats 'aged out'.

Could also be a complete failure they spent considerable effort in with zero results, and are hand waving and constructing a way to quit while claiming success.

I could see the rats not really connecting things and just puttering around. It's a pretty involved setup and I poor uptake on the part of the rats would be a steep disappointment.
by tymscar | 2025-12-13 19:38:21+00:00
I was also pretty surprised about the performance. It's not C, but it's so much faster than I'd guessed.

I do agree the language server is great. And it works in basically any IDE, which is another huge bonus.

With regards to having to type `list.map`, you actually don't need to! You can do this:

import gleam/list.{range, map} import gleam/int pub fn main() { range(0,10) |> map(int.to_string) |> echo }

Some libraries just aren't there, and I do wonder how hard it would be to port C libraries over. Something I want to play with!
by cogman10 | 2025-12-13 19:38:45+00:00
Actually, this sounds like your java devs have misconfigured containers.

Java will happily eat all the memory you throw at it. The fact that it isn't means they are probably relying on the default JVM settings. Those are too conservative inside a container, especially if they are running on older JVM versions.

What you'll find is the JVM will constantly have "waste" due to it's default configuration. The question is if it ends up throwing out of memory exceptions due to the lower memory limit.

If your devs haven't looked at the heap allocation of a running application, there's no way to know if this is too much or too little memory.

Go/python much more readily give memory back to the OS.
by vlovich123 | 2025-12-13 19:39:09+00:00
Go is not a memory safe language. Even in memory safe languages, memory safety vulnerabilities can exist. Such vulnerabilities can be used to hijack your process into running untrusted code. Or as others point out sibling processes could attack yours. This underlying principle is defense in depth - you make add another layer of protection that has to be bypassed to achieve an exploit. All the chains combined raise the expense of hacking a system.
by lesuorac | 2025-12-13 19:39:09+00:00
Curating HN to only be tech-specific topics is protected by 230. Literally the history of 230 is there were 2 lawsuits [1].

1. Website was sued over having "defamatory" content posted by a user and website won because they had no moderation (minus illegal stuff).

2. Website was sued over having "defamatory" content posted by a user and website lost because they had moderation (curated to be "family friendly").

Politicians (and less importantly, the general public) like the idea of websites being able to be "family friendly".

So forums and blogs can still exist but if you do any sort of not strictly legally required moderation you have legal liability for all content without 230.

[1]: https://en.wikipedia.org/wiki/Section_230#Background_and_pas...
by kstrauser | 2025-12-13 19:39:26+00:00
You can always set shell=True and pass in an entire command line as a string, but… don’t do that. It seems really nice until the first time you get the shell escaping wrong, and then it’s something you tend never to do again.

For example,

subprocess.run(“rm -rf ~/ some file”, shell=True)

and

subprocess.run([“rm”, “-rf”, “~/ some file”])

have significant different behavior.
by lopatin | 2025-12-13 19:40:01+00:00
Can you talk a bit more about the incentives to trade latency sensitive strategies on IEX in the first place? Is it still lucrative for its liquidity despite them artificially slowing down orders? Does a meta game evolve with HFTs all working around their system, essentially making it still a HFT playground but with extra steps? Do you think their unexpected latency increase for you guys was intentional, to free the water from sharks?
by Amezarak | 2025-12-13 19:40:47+00:00
Dictators, despite the name, cannot do whatever they want. That’s even moreso the case with long democratic or republican histories and in large modern states with enormous political machineries. They require backing from large swaths of the population and have to subvert the existing institutions to their will, which requires a delicate hand.

Already having a legal infrastructure and social expectation that offensive speech is criminal is an enormous help to dictators.
by kburman | 2025-12-13 19:40:58+00:00
- Modern DL frameworks (PyTorch DataLoader, WebDataset, NVIDIA DALI) do not require random access to disk. They stream large sequential shards into a RAM buffer and shuffle within that buffer. As long as the buffer size is significantly larger than the batch size, the statistical convergence of the model is identical to perfect random sampling.

- AI training is a bandwidth problem, not a latency problem. GPUs need to be fed at 10GB/s+. Making millions of small HTTP requests introduces massive overhead (headers, SSL handshakes, TTFB) that kills bandwidth. Even if the storage engine has 0ms latency, the network stack does not.

- If you truly need "arbitrary subsetting" without downloading a whole tarball, formats like Parquet or indexed TFRecords allow HTTP Range Requests. You can fetch specific byte ranges from a large blob without "coupling" the storage layout significantly.
by Aurornis | 2025-12-13 19:41:00+00:00
I always buy Apple gift cards when there's a deal on them. A few weeks ago you could buy an Apple gift card and get $10-15 of Amazon credit, so I bought the gift card and loaded it into my account.

I do this all the time and I've done it for years.

I once bought thousands of dollars of Apple gift cards, $500 at a time, by redeeming credit card reward points that could be spent like cash at a couple of select retail stores for 2X their points value.

It's a common practice. The edge cases are scary when you see them reported on Reddit, but they really are rare and generally get resolved after follow up (however inconvenient).

Some people go to extremes to do things like buy Apple gift cards at stores that give them a small discount on gas purchases or something. I'm not nearly extreme enough to do that entire process, though. Having the money loaded on to a Gift Card is inherently risky and I need some significant upside before I'll do it.
by dhosek | 2025-12-13 19:41:18+00:00
There are few (maybe no) moments of Dick Van Dyke that aren’t a joy to watch. I grew up on reruns of the Dick Van Dyke Show and discovered Andy Kaufman thanks to Van Dyke’s short-lived variety show, Van Dyke and Company. Watching his dance moves (it’s a little amazing to realize how many dance numbers the Dick Van Dyke Show featured) is like watching an animated character dance, he was able to move his body in ways that suggest he has no bones. As a kid, I wanted to be Dick Van Dyke when I grew up and as an adult, I want to be Dick Van Dyke when I’m old.
by lesuorac | 2025-12-13 19:41:48+00:00
I mean we don't know it for sure; but we do know it.

It's like saying repealing laws prohibiting dumping lead into drinking water (ex. Prop 67) won't cause companies to dump lead into water. But like we passed prop 67 because companies were dumping lead. Section 230 of the Communications Decency Act was added because people were sueing websites over comments not made by staff in their comments section.
by karolinepauls | 2025-12-13 19:42:42+00:00
> Python: ~60% waste (Mostly sized for startup spikes, then idles empty).

I understand we're talking about CPU in case of Python and memory for Java and Go. While anxious overprovisioning of memory is understandable, doing the same for CPU probably means lack of understanding of the difference between CPU limits and CPU requests.

Since I've been out of DevOps for a few years, is there ever a reason not to give each container the ability to spike up to 100% of 1 core? Scheduling of mass container startup should be a solved problem by now.
by kxrm | 2025-12-13 19:43:17+00:00
If you are consistent with how you do your projects you shouldn't need to update CLAUDE.md nearly every day. Early on, I was adjusting it nearly every day for maybe a couple of projects but now I have very little need to make any adjustments.

Often the challenge is users aren't interacting with Claude Code about their rules file. If Claude Code doesn't seem to be working with you ask it why it ignore a rule. Often times it provides very useful feedback to adjust the rules and no longer violate them.

Another piece of advice I can give is to clear your context window often! Early in my start in this I was letting the context window auto compact but this is bad! Your model is it's freshest and "smartest" when it has a fresh context window.
by dhosek | 2025-12-13 19:43:32+00:00
Good starting points would be the Christmas Special (Alan Brady Presents), “It May Look Like a Walnut” and “That’s My Boy” (just off the top of my head). There are two episodes where we got to see Van Dyke’s Stan Laurel impersonation which was absolutely amazing. Given how much he drank and smoked back in the 60s and 70s it’s a miracle he’s still on earth, but he is definitely a treasure.
by nuancebydefault | 2025-12-13 19:44:12+00:00
Interesting to read that people like that you answer in milliseconds to their questions or suggestions.

I very often interrupt people when eagerly fitting into a conversation. That happens almost automatically and sometimes I apologize and say, sorry i was interrupting what you are saying... Often they don't continue where they got interrupted but don't seem annoyed.

Maybe it has to do with those emerging doorknobs i noticed and couldn't resist in grabbing.
by f33d5173 | 2025-12-13 19:44:17+00:00
Self custody of cryptocurrency, for the vast majority of people, is riskier than putting their money in the bank. Most people lack the technical competence to keep their crypto secure, and the downside of losing access is much more significant. Notice that the stories regarding banks go "I had to sue them to get it back". With cryptocurrency, in the vast majority of cases, it would instead be "the money was gone for good".
by OneMorePerson | 2025-12-13 19:44:28+00:00
I was at a waterpark as a young teen and ended up trying the wave pool, but even being tall for my age I was shorter than a typical adult. When I first went out the waves weren't turned on/going yet, but once the waves started everyone moved forward and the crowded pool compressed even more, plus I got pushed even deeper into the deep end, and basically I sank down because I couldn't really get any space to swim and everyone else was standing. It was so packed with people that eventually (without my realizing at the time) it became impossible to move arms and legs enough to stay up, kinda like a crowd surge but in the water.

I must have been too shy to think of climbing onto the person next to me. My best guess is that I was "jumping" up off the bottom to get brief bits of air while hoping it wasn't in the middle of a wave. After doing this for a bit, could be just seconds, I started to panic (I really couldn't tell you how long, felt like forever). I heard a whistle and somehow this lifeguard was there through the crowd within seconds (they had been standing along the wall of the pool but I was more in the middle).

The people all around me shoulder to shoulder hadn't even noticed what was going on, I still feel amazed the lifeguard could pick me out from thousands of heads and get to me.

(I don't know if this can be considered "nice" cause it was their job, but it's something that has always stuck with me).
by socalgal2 | 2025-12-13 19:44:30+00:00
There's a corelation between how nice people are in general and how well laws are enforced. More consistent enforcement means people trust that other's are not getting away with stuff and so they can settle into assuming the best most often, instead of having to worry.

I feel like many places have forgotten that. Maybe law enforcement got too expensive or there were too many corrupt police but so much now is no longer enforced and so the selfish "it's okay if I can get away with it" types are winning.
by evanelias | 2025-12-13 19:44:36+00:00
AI used em-dashes initially in that type of sentence structure, but more recently moved to a mix of semicolons and commas, at least from what I've been seeing.

I never claimed the author doesn't exist.

$500 is objectively a large amount for a gift card. Off-the-shelf gift cards with predetermined amounts are almost always substantially less than this.
by cafebeen | 2025-12-13 19:44:36+00:00
Thanks for your work great work on Claude Code!

One other feature with CLAUDE.md I’ve found useful is imports: prepending @ to a file name will force it to be imported into context. Otherwise, whether a file is read and loaded to context is dependent on tool use and planning by the agent (even with explicit instructions like “read file.txt”). Of course this means you have to be judicial with imports.