MurphyA/hacker-news huggingface dataset:
by GeneralMayhem | 2025-09-01 09:27:01+00:00
Yeah... I'm far from an expert on state-of-the-art ML, but it feels like a new embedding would invalidate any of the layers you keep. Taking off a late layer makes sense to me, like in cases where you want to use an LLM with a different kind of output head for scoring or something like that, because the basic "understanding" layers are still happening in the same numerical space - they're still producing the same "concepts", that are just used in a different way, like applying a different algorithm to the same data structure. But if you have a brand new embedding, then you're taking the bottom layer off. Everything else is based on those dimensions. I suppose it's possible that this "just works", in that there's enough language-agnostic structure in the intermediate layers that the model can sort of self-heal over the initial embeddings... but that intuitively seems kind of incredible to me. A transformation over vectors from a completely different basis space feels vanishingly unlikely to do anything useful. And doubly so given that we're talking about a low-resource language, which might be more likely to have unusual grammatical or linguistic quirks which self-attention may not know how to handle.
by closewith | 2025-09-01 09:27:03+00:00
> I'm not sure you're approaching this metaphor the right away. The point is that coding manually is great cognitive exercise which keeps the mind sharp for doing the beautiful stuff.

No, I'm challenging the metaphor. Working the trades isn't exercise - it's a grind that wears people out.

> Again, you're maybe being too literal and missing the point. No one is destroying their minds by coding. Exercise is good.

We actually have good evidence that the effects of heavy cognitive load are detrimental to both the brain and mental health. We know that overwork and stress are extremely damaging to both.

So reducing cognitive load in the workplace is an unambiguous good, and protects the brain and mind for the important parts of life, which are not in front of a screen.
by ForHackernews | 2025-09-01 09:27:25+00:00
Because Europeans need gas to heat their homes and run their economies. They have rapidly built new LNG terminals to diversify away from Russian gas pipelines: https://www.cleanenergywire.org/factsheets/liquefied-gas-doe...

Morality has nothing to do with it, no democratic government will survive freezing its own people for some abstract principle.
by ehnto | 2025-09-01 09:27:26+00:00
You might be thinking of the discussion around the weavers and storytellers, which I only just realised the connection between The Weave and weavers.

The idea helps when talking with autistic people who might have quite extreme versions of weaving. A conversation between two weavers is kind of an exchange of blunt facts about their world views, which does sound a lot like disparate unrelated tidbits. In contrast to storytellers, who have a discrete path and story to tell, with a start and a finish.
by usrusr | 2025-09-01 09:28:04+00:00
Was about to write roughly the same.

But it's much more than that I think: when the stuff you sell to the other side can easily be substituted, from another supplier, domestically or by changing to ways that get by without, where's the benefit of stopping trade? Those 0.5% the other supplier has been more expensive (if it even is, might very well have just been inertia keeping them buying from you) won't meaningfully harm their war effort.
by KingMob | 2025-09-01 09:28:41+00:00
Any of them. All of them. (Maybe not remote changes, but that's way less safe to attempt, even if possible.)

Which is what `jj undo` does, and why I brought it up.

I'm well aware git doesn't have a unified concept of undoing, but I'm equally aware that it's possible. (Even before jj, GitUp and git-branchless offered universal undo.)
by jvanderbot | 2025-09-01 09:29:41+00:00
My current pattern is to manually craft during the first half of the day when I enjoy that, and during the second half when I'd be normally burnt on hard thought and not quite up for another coffee, pomodoro, theanine deep dive, I can start tackling tests, exploratory data analysis, or small bugs, and these tasks are 50% or more LLM.

So yeah, 30%-50% seems right, but it's not like I lost any part of my job that I love.
by pjerem | 2025-09-01 09:30:36+00:00
Aren’t we talking about video out from the dock ?

Because it wasn’t possible for Switch 1. After some time, some alternative USB-C hubs supported the Switch video output but it was basically reverse engineering and I totally remember this first "compatible" hub back in the early days of the console which happened to brick consoles.

Nintendo is like Apple they :

- Don’t want you tu use the Switch in unpredictable ways : with the switch on the dock the cooling is guaranteed to be efficient, even on Switch 1 because it meant that the console wasn’t lying on a blanket.

- Don’t want you to buy anything else than their expensive dock.
by andersmurphy | 2025-09-01 09:32:54+00:00
Not sure what you are talking about? In WAL mode (which is what you should be using) writes don't block reads and reads don't block writes. If you are connections pooling (which you should) the cache will stay hot.

Sqlite (properly configured) will outperform "proper databases" often by an order of magnitude in the context of a single box. You want a single writer for high performance as it lets you batch.

> 256 hardware threads...

Have you tried? I have. Others have too. [1]

> Additionally, SQLite lacks a bunch of integrity checks, like data types and various kinds of constraints. And things like materialised views, etc.

Sqlite has blobs so you can use your own custom encoding which is what you want in a high performance context.

Here's sqlite on a 5$ shared VPS that can handle 10000+ checks per second over a billion checkboxes [2]. You're gonna be fine.

- [1] https://use.expensify.com/blog/scaling-sqlite-to-4m-qps-on-a...

- [2] https://checkboxes.andersmurphy.com
by guidopallemans | 2025-09-01 09:33:40+00:00
I listened to the same podcast, and agreed with the points that Casey made. However, there were some aspects of version control that were glossed over.

What was described was actually quite close to developing through a Dropbox folder + (implied) tooling. And that makes a lot of sense for Casey Muratori's current work, which I believe is a small 5-10 person team doing game (engine) development. Such teams can quite easily work all in the same source branch (and this could in fact be preferred, e.g. for large assets in gaming).

However, as organizations grow, you want different levels of staging (that could be provided by your version control). A split between local and _the common_ stream, release branches, splits between projects or features, review states, etc.

So I believe the optimum is somewhere in the middle, and jj does take a step towards it. But still some friction remains.
by alpaca128 | 2025-09-01 09:34:52+00:00
I also found out the hard way that many modern powerbanks will shut themselves off if the charged device doesn't draw enough power, which means many smartwatches will simply not get charged by default. Supposedly that behaviour can be turned off by pressing/holding the power button the right way, but telling non-tech people "with this specific device you just have to remember to first do this arcane ritual before it works" is usually not received well.
by GuB-42 | 2025-09-01 09:36:02+00:00
With the root of trust and original software wiped, what used to be, say, an iPhone stops being an iPhone. It becomes a generic computer with the same hardware. All the software designed to run on iPhones like the App Store is likely to stop working. You won't fool the user for long.

And this attack is already doable by simply replacing the iPhone with a fake. It won't fool the user for long either, but you get to steal a real iPhone in exchange for a cheap fake.
by arghwhat | 2025-09-01 09:36:11+00:00
There's a lot of misunderstandings about USB PD communication, in particular Vendor Defined Messages. The LTT video kept making this mistake, and mixing in misunderstandings around messages to the eMarker chip itself (SOP'). It was a painful watch.

Vendor Defined Messages have is part of any normal PD exchange, as they're simply anything that isn't defined by the PD spec itself. You'll see VDMs when connecting any device supporting more than just dumb charging, as it's used for all sorts of things like DisplayPort, Thunderbolt, eMarker identification, etc. - stuff we'd expect ehre.

The quote from Antak refers to just a single, possibly/likely proprietary, message. This could be to ID the dock on the basis of e.g. rejecting the switch 1 dock should one cram it in, or to reject switch 1 dongles. Maybe it's Nintendo speak for "dock capabilities: cooling", with the switch having no mode for docked gaming with reduced performance without cooling.

Intentional incompatibility, yes, but it's 1 message of an unknown type within bog standard USB-PD, not a "vendor defined lanugage" or "over 30 proprietary messages".
by account42 | 2025-09-01 09:36:23+00:00
> Bots aren't people.

I am though and I get blocked by these bot checks all the time.

Buddha, what makes us human?

That's simple, running up to date Chrome on with javascript enabled does.

I want to be able to enjoy water fountains and libraries without having to show my ID. Somehow we are able to police those via other means, so let's not shit up the web with draconian measures either.
by contrarian1234 | 2025-09-01 09:37:26+00:00
I'd be curious to hear what Europeans actually think of it on the ground. Is it not a major domestic issue that your governments are funding a genocidal regime? Do people just kinda pretend it's not happening b/c it's inconvenient to talk about? Just kinda blush, say sorry, and carry on?

I don't really understand the psychology of it. Are people for instance actively trying to use less gas in their personal lives?
by marcyb5st | 2025-09-01 09:38:32+00:00
I use CodeCompanion on neovim. My workflow for text fixtures is basically:

""" Given these files: file1, file2, ... (these are pulled entirely into the LLM context)

Create a test fixture by creating a type that implements the trait A and should use an in memory SQLite DB, another one that implements Trait B, ...

"""

Of course there is a bit of back and forth, but I find that using Interfaces/Traits/ABCs extensively makes LLMs perform better at these tasks (but I believe it is a nice side-effect of having more testable code to begin with).

However, wiring with IoC frameworks are a bit of a hit and miss to be honest so often I still have to do these parts manually.
by xethos | 2025-09-01 09:40:03+00:00
This would be fair if Google hadn't altered the deal only after creating the circular "People only upload to YouTube" / "All the viewers are on YouTube"

YouTube would not be effectively the only game in town if Google hadn't underpriced their product to drive out competitors

In short: If Google had played fair from the beginning, I would have the option to watch streaming semi-pro video elsewhere.
Show HN: AI Icons with Nano Banana – Weekend Project
by red545 | 2025-09-01 09:40:19+00:00
I wanted to build something small with Nano Banana and scratch an itch I hit in almost every project: sometimes my go-to icon sets (Heroicons & Phosphor) just don’t have the exact icon I need/want.

VibeIcons generates style-consistent SVG icons from a text prompt.

It’s not always perfect but it gets you surprisingly good results.

Along the way I realized it’s already a halfway-decent logo sketcher too.

Let me know what you think.
by reisinge | 2025-09-01 09:41:22+00:00
I've been working in the sysadmin/devops/cybersecurity domains. I came to Go from Bash/Perl/Python. It took me quite some time to get productive in Go but now I'm using Go (+ some Bash for smaller tasks) most of the time - for building tools, automation and platforms. I created a three-part series for people like me that could help them to start learning Go. This is the first part.
by poszlem | 2025-09-01 09:41:59+00:00
They can and they already do, LNG from the US is flowing in. But swapping dependence on Russia for dependence on the US isn’t the clearcut win people imagine. Washington is in the middle of its own trade war, and Europe is one of the targets. Pax Americana is over, and Europe is treated less as an ally than as a vassal. The US openly exploits Europe’s fear of Russia, turning a legitimate threat into a lever for domination. What Europe gets is dependency and vulnerability, while the US extracts obedience and profit.

The irony is that the US slaps higher tariffs on most European countries than it does on Russia itself. As the old saying goes, "it may be dangerous to be America’s enemy, but to be America’s friend is fatal".
by motorest | 2025-09-01 09:42:17+00:00
> It avoid instantiating the same templates over and over in every translation unit, instead caching the first instantiation of each. ccache doesn't do this: it only caches complete object files, but does not avoid repeated instantiation costs in each object file.

I'm afraid this feature is at best a very minor improvement that hardly justifies migrating a whole compiler. To be blunt, it's not even addressing a problem that exists or makes sense to even think about. I will explain to you why.

I've been using ccache for years and I never had any problem getting ccache to support template code. Why? Because the concept of templates is ortogonal to compiler caches. It matters nothing, if you understand how compiler caches work. Think about it. You have the source file you are compiling, you have the set of build flags passed to the compiler, and you have the resulting binary.

That's the whole input, and output.

It's irrelevant if the code features templates or not.

Have you checked if the likes of zapcc is fixing a problem that actually doesn't exist?
by zeristor | 2025-09-01 09:42:25+00:00
There was the largest one in Scotland a few months ago.

These are, dare I say it, the easy wins. Reusing the infrastructure from a demolished coal fired power station.

However I have yet to see Battery storage feature in the charts for UK energy usage yet.

I’m guessing that there are a lot of similar such sets that are being, or could be repurposed for battery storage.
by m101 | 2025-09-01 09:44:32+00:00
Yes, agree that suggesting "true" is unclear, and in fact in science doesn't really talk about true things but rather than ability to predict the way things behave. We are still in the dark about the fundamental nature of reality. Science is still useful of course, but only insofar as it has a useful purpose. It's more like an engineering subject.

I think what I've just said foots with your calculus comment, and also a Wolfram-like interpretation is closer to "truth" and your point on discretisation.

Why do you think discretisation/quantisation is necessary for the "physical"?

What can I search for to find his comments on this subject?
by LinXitoW | 2025-09-01 09:45:58+00:00
Ironically, e-bikes, at least in the EU, are having the exact opposite effect. More people that don't normally ride bikes are using e-bikes to get about. The motor functions not as a replacement, but as a force multiplier. It also makes "experimenting" easier, because the motor can make up for any mistakes or wrong turns.

Caveat: In the EU, an e-bike REQUIRES some physical effort any time for the motor to run. Throttles are illegal.
by perihelions | 2025-09-01 09:46:34+00:00
Or just switch to Kagi and cease twisting yourself into pretzels to get software that doesn't want to do what you want, to do what you want. Kagi simply does what you want.

https://help.kagi.com/kagi/settings/widgets.html ("Each widget can be individually toggled")

No Kagi experience to date has led me to think words like "...in a fit of rage against Kagi search" or attempt to swear at it. Software shouldn't do that.
by cesarb | 2025-09-01 09:47:20+00:00
> Putting out any voltage before detecting a sink is breaking the standard

To be pedantic, I believe that only applies to USB-C sockets; AFAIK, a USB-C plug (like on a USB-A to USB-C cable) can in some cases put out 5V (but only 5V) before detecting a sink.

> but if your device breaks just because it sees a regular PD VBUS voltage (5-20V) then it means that it was designed badly

The standard was designed so that devices never see anything over 5V unless they ask for it, so why should a non-PD device (for instance, a mouse) care about it? In some cases (like a USB-A mouse plugged into a USB-A to USB-C adapter), the device might even have been designed and built when USB was 5V only.
by Cthulhu_ | 2025-09-01 09:48:32+00:00
That's it, every line of code is an implicit requirement, based on explicit requirements; when you have a codebase that needs to be maintained or replaced, as a developer it's your job to determine which of the implicit requirements in code are explicit requirements for what the application does.

I do think that in a few years time, next generation coding LLMs will read current-generation LLM generated code to improve on it. The question is whether they're smart enough to ignore the implicit requirements in the code if they aren't necessary for the explicit ones.

(this comment makes sense in my head)

Most if not all of my professional projects have been replacing existing software. In theory, they're like-for-like, feature-for-feature rewrites. In practice, there's an MVP of must-have features which usually is only a fraction of the features (implicit or explicit) of the application it replaced, with the rewrite being used as an opportunity to re-assess what is actually needed, what is bloat over time, and of course to do a redesign and re-architecture of the application.

That is, rewriting software was an exercise in extracting explicit features from an application.
by smagin | 2025-09-01 09:49:03+00:00
hm, I sort of agree with the train of thoughts but not with the conclusion. Maybe it's "is my blue your blue" situation. I talked to people while working on this post and some said e.g. grid with cards is way easier to them to scan through than grid without cards; other people feel the opposite and complain about too many things on the page that are not content. I'm in the latter category, but wondering if I could make an experiment, or if anyone made it already.

Thanks for getting me thinking this way.
by m101 | 2025-09-01 09:49:27+00:00
I've heard of it but I'm not very familiar, or have a deep understanding of it. I buy into things like Wolfram physics for explaining how the universe actually works, with equations/calculus being limited to approximations to an error in measurement. The hidden variable theory seems to mostly covers physics unlike what Wolfram covers, so it's useful for a purpose but it still seems to be going down a similar rabbit hole to where normal physics ends up.
by sharperguy | 2025-09-01 09:49:52+00:00
While you have a point there is another aspect to this: If our current situation were already different, netflix and banks would not be able to pull these things in the first place.

E.g. if using open free platforms was already the norm, netflix requiring a verified OS would just result in netflix becoming unusable for most people rather than just killing a couple edgecases used by a relatively small number of people. And so it would no longer be in their financial interest. It's why we've had desktops for so long without this happening, although the pieces are finally being put in place to make it a reality.
by alecco | 2025-09-01 09:50:03+00:00
I strongly disagree.

First line is a reasonable very rigid schedule where you sleep 8hs, exercise/walk in the morning, and contain your distractions to a specific time in the day. A strict healthy diet. Plan when to interact with people and when to go to nature. Do a lot of visualization of what you want the day to be like (be reasonable). Time-blocking is very good (see Cal Newport)

IMO, only when you mastered the basic of a routine like that you should try prescription drugs. And even when you do, figure out how to need the least possible dosage. For example, eating a high-protein breakfast 1 hour before taking the medication and zero/low carb until evening. Then taking vitamin C foods with dinner to clear it out and prevent crashing or insomnia. Try well-timed over-the-counter supplements to improve how the medication works (magnesium, tyrosine, etc). IF YOU DON'T DO IT THIS WAY YOU WILL GET LESS DESIRABLE EFFECTS AND MORE SIDE EFFECTS. And you will risk spiraling into more and more mg and addiction. Remember: if you have ADHD you are very, very prone to addiction!

Ask your psychiatrist for a slow-release medication (Lisdexamfetamine or XR). And time how you react to it so it matches your ideal schedule. Have detox and reset days where you don't take the medication and don't study/work. (e.g. weekends or at least Sunday)
by dyauspitr | 2025-09-01 09:50:03+00:00
I have a hard time believing wrapping up your poop in 2 factory produced dog bags and then a non biodegradable chip bag that will end up in a landfill is better for the environment than just digging a hole.

Best thing I can imagine, especially if you’re car camping and have the room is to have a post hole digger and then dig a hole 2 foot down in less than a minute, poop in it and then cover it up.
A CPU-only demo of ThorVG, a high-performance 2D vector graphics engine
by hermet | 2025-09-01 09:50:10+00:00
I’ve built a demo app to showcase the performance of the ThorVG engine. Key features:

- Each enemy consists of 86 particles, with up to ~300 enemies on screen.

- Full-size (2K) subtle halo glow background bitmap image and 4 × 100 star layers.

- Real-time DropShadow and BlurEffects for ships, missiles, GUI, and outlines.

- At peak load, ~25,000 drawing objects rendered together.

- Runs fully stable at 120+ FPS with the Software Renderer on 2K resolution (tested on Apple M2 Pro).

Demo video: https://www.youtube.com/watch?v=jdnnzmtHy9k

Repo: https://github.com/thorvg/thorvg.janitor

This demo specifically highlights the Software Renderer (CPU only). GPU backends (OpenGL/WebGPU) are supported, but optimization work is ongoing.

ThorVG is an open-source high-performance 2D vector graphics engine designed for embedded, mobile, and web systems. This demo is intended as a performance showcase and stress test. Feedback and contributions are welcome!
by LinXitoW | 2025-09-01 09:50:32+00:00
I've used the 200 bucks Claude Code account, and while that's pretty great, it's definitely not "fire and forget". It often requires a completely different skill set. You basically need to develop a feeling for what the agent can do automatically and what needs extra prompting.

If you want a perfect investment imho, get Supermaven. It's autocomplete is 99% perfect.