Better HN
topnewbestaskshowjobs
Log inSign up

akiselev

13,790 karma · joined Aug 29, 2011 (15y ago) · 3,686 submissions

email: hn [at] {my HN user name} dot com

https://github.com/akiselev

Projects:

* ghidra-cli - cli to run ghidra headless for agents to reverse engineer stuff

* altium-cli - build and edit Altium PCB files with agents

* pcb-toolkit - PCB design library and CLI for calculating impedance, current capacity, via properties, etc

* debugger-cli - debugger CLI tool for agents to run and debug binaries

* datasheet-cli - search for components via Digikey/Mouser, download datasheets, and use Gemini to extract (semi-)structured data

Submissions

comment 3w ago · link · parent

Oh it gets better (not the OP but I think the following is even worse).

That DLL hooks into SCADA and sometimes sends updates to a PLC controlling safety critical equipment. When does it send updates versus just query the controller? No one knows. The guy who wrote it died in an (unrelated) industrial accident involving a runaway forklift after leaving the company. Even so much as debugging it would require shutting down the entire factory and replacing all the crucibles afterwards ($$$).

comment 1mo ago · link · parent

I've been working on using Svelte + Rust to make desktop apps with native UI frameworks [1], resuscitating a COVID era side project that I felt was intractable at the time. I havent updated the docs or README.md so you'll have to point an agent at it to figure it out, but so far GTK/QT are fairly complete and I'm working on WinUI/AppKit.

[1] https://github.com/akiselev/svelters

3.

Monthly API credits for Max and Team plans(support.claude.com ↗)

2 points · by akiselev · 1mo ago · discuss

comment 1mo ago · link · parent

> The East India Company was itself a highly effective quasi-governmental institution with a powerful military, a special relationship to a great power, and many other relationships to various kings and nobles who ran the local governments. It's not the best example for this type of phenomenon for this reason.

The EIC's first mint was operational in 1643, long before it became a quasi-state. It started to become a quasi-government more than a century later, when it started raising its first major army in the 1750s culminating in the Battle of Plassey and didn't really have the resources to fully become one until the diwani in 1765.

comment 1mo ago · link · parent

> I'm not sure how much value money would have without a government to back it up.

You don't need a government backed paper currency, you need a mint making precious metal coins. History has several examples like the mints at the Potosí silver mines or those by the East India Company that enabled trade without effective governments to back them up by just providing reliable coinage that spread to many other polities.

As long as there isn't some crazy inflationary force like colonizers arriving with an unlimited supply, we can use something as simple as beads or seashells for currency quite fine. It just means more labor overhead to create that currency in the first place.

comment 1mo ago · link · parent

Just found an amateur video of San Francisco from 1940: https://www.movingimagearchive.com/sources/amateur-film-san-...

And 1932! https://www.movingimagearchive.com/sources/san-francisco-by-...

comment 2mo ago · link · parent

Just to make sure I understand: Is the resizable BAR/MMIO a RAM buffer for PCie packets? Or does it have some deeper integration with DMA or something? I assume it's not like memory mapped peripherals on an AXI bus which is why you need the buffer?

comment 2mo ago · link · parent

Design means PCB routing. A schematic is the PCB equivalent to a Mermaid diagram.

comment 2mo ago · link · parent

Shameless plug for the slop coded CLI I use in my workflow: https://github.com/akiselev/datasheet-cli

It just sends the PDF to Gemini Flash and asks it to extract semi structured data (semi structured in the sense that it's not fully structured extraction, but its a JSON file to feed into the next step of the LLM design process).

Works pretty well in general, though I should update to the latest Gemini version.

comment 2mo ago · link · parent

> They use a high mghz signal to measure the tip temperature using impedance measurements IIRC. Then they control the tip temperature using a feedback control loop.

That's not how Metcal fixed temp induction soldering irons work. They don't have a control loop, which is what makes them so much better than other soldering irons.

They exploit the Curie temperature [1] of some alloys, in which the metal loses its inductive properties when it hits a certain temperature. A Metcal power supply pumps a simple 13.56 Mhz signal into the tip which heats it up and when it reaches its Curie temperature, it just stops heating. Since the signal is constant, whenever the temperature of the tip drops it just heats back up without any PID loop. The downside is that you have to switch tips (alloys) with a pair of pliers to change temperatures, but the upside is that there is no control loop delay.

It's also why their station are so reliable. There's basically no "modern" electronics in them and the worst you have to do to fix them is replace an electrolytic capacitor. I've got a power supply manufactured in the late 90s that's still as good as new and like you said, going back to a Hakko or any other soldering iron is downright painful.

(Side note to anyone who cares: when the patents expired, a couple of Metcal engineers left to form Thermaltronics, which sells cheaper stations and Metcal-compatible tips)

[1] https://en.wikipedia.org/wiki/Curie_temperature

comment 2mo ago · link · parent

I'd love to see that chat log, and the final board. To be fair I've only been testing on nontrivial PCBs with 6+ layers and I haven't had the luck you have.

> FWIW - Computer vision is also NP complete, but we do that all the time now.

I have no idea what you mean by this. What's your definition of NP complete?

comment 2mo ago · link · parent

> Yet, it's all the most likely token and my brain hurts trying to understand how that can be.

You and everyone else. That's the great mystery of transformer architectures as applied to language.

To be clear though, they're only good at schematic capture, which is very much a textual representation. Most of the data basically boils down to netlists, which are a text based format mapping connections between abstract pins that only later map to physical copper. The actual schematic portion is for human consumption and LLMs don't need to produce those to be useful.

Where LLMs completely break down is the next step, PCB routing. That's an NP-complete research problem that's been ongoing for decades without much progress. I've had some fun playing with using LLMs to better specify DRC rules in Altium so that the "classical" algorithms are more usable, but at the end of the day their geometric intuition is nonexistent.

comment 2mo ago · link · parent

Major ISPs in the US have been doing it for at least a decade. Xfinity Wifi [1] claims over 20 million wifi hotspots provided through customer routers.

[1] https://en.wikipedia.org/wiki/Xfinity#Xfinity_WiFi

comment 3mo ago · link · parent

It was donated without CCDs or electronics, which is what makes the difference between earth and space observation satellites. NASA only got the body and optics (mirrors), they had to provide their own sensors.

comment 3mo ago · link · parent

They've been used for over 20 years but until they became a weight loss drug recently, almost all of the research was on diabetics which introduces two confounding factors: diabetes and the diets diabetics already have to follow to manage the disease. It's hard to draw any conclusions when the results are muddied by those two factors.

comment 3mo ago · link · parent

> Can you give an example of an incomprehensible piece of writing (any writing, never mind a proof) that has commercial value commensurate with the costs involved here?

It depends on what exactly you mean by "commercial value commensurate with the costs involved" but I'd volunteer the 3G/4G/5G specifications and the other documentation required to implement the mobile network protocols. 5G is currently sitting at over 50,000 pages and it's one of the reasons Qualcomm/Broadcom/Apple are the only ones who can realistically make a mobile radio.

I don't think there is a single human to whom more than a few thousand pages would be comprehensible at a time except for the occasional genius.

comment 3mo ago · link · parent

I think we're underestimating just how much low hanging fruit there is. I've been trying to apply this LLM research process to physics (QM and solid state) and there is so much missing in Physlib and the rest of the Lean ecosystem that most of my work has been trying to formalize the theories and validating them against the specification problem (and mostly failing badly).

comment 3mo ago · link · parent

> The problem for regulating software development is still who gets to formally determine who the "good" people are. This kind of thing should clearly be objective and evidence-based but what useful evidence do we have available?

There is zero useful evidence because there is no one to collect it.

The Institution of Civil Engineers was founded in 1818, after decades of random civil engineering societies in Britain doing the exact same thing we are now (running around like chickens with their heads cut off). It wasn't until after the ICE's Royal Charter a decade later that civil engineering began to get really systematized into the "real engineering" we know today and that charter effectively established them as a regulatory body that allowed that to happen.

comment 3mo ago · link · parent

> This seems like a bad idea, what does local mean? Anything Grok can access locally? This seems like asking for trouble.

It means you put "i.swear.this.is.localhost [remote ip]" in your hosts file.

comment 3mo ago · link · parent

The important part of the professional certification like PE or MD is the liability that comes with it, which means that the professional has a lot more agency. A construction firm or hospital can't really force their professionals to do anything because the consequence is criminal prosecution (and a lot of legal liability for the employer).

Bring a software engineer into a courtroom as an expert witness, and the jury's eyes will glaze over. Bring in the PE who told their firm not to cut that corner, and the hammer comes down hard.

Even if the certification for software engineers starts as barebones as knowing what WASP is, it still provides an avenue for the feedback mechanism to work (the rules "written in blood"), so that the entire industry can study and learn from what happened, instead of this mess we have now, the peak of which is postmortem blog posts. Even now we have plenty of examples of regulatory frameworks where the regulations adapt to the field like the FDA where you've got a huge spectrum ranging from diagnostics to medical devices of which where are many classes, and drugs where every clinical trial can be tailored to the exact nature of the disease.

comment 3mo ago · link · parent

> They think they can just unload to some sucker for a big payday. See also the entirety of cryptocurrency.

That's also the entirety of the biotech VC industry, except even more so.

Biotech startups require far more capital to make it to market than tech startups, so biotech VCs take the role of early stage funding for R&D. Then the startup IPOs (with zero revenue and unlimited scientific risk) and uses that to fund its clinical trials, while the investors dump their stock. Then, because ramping up manufacturing and quality control takes even more money, the biotech startup sells out to a pharmaceutical company once its passed its trials or the results are promising enough to take the risk, closing the financing loop. Most of these startups stop existing before they even earn a single dollar in revenue, either because they fail or they're acquired by someone who can actually manufacture and distribute their product at scale. This has been the way of the industry for at least the last 20-30 years ever since the small molecule cliff hit like a brick wall.

So, the VC industry whose standard operating procedure is to unload companies onto public investors long before anyone even knows whether the drug or device would work, wouldn't touch Theranos with a thirty foot pole.

comment 3mo ago · link · parent

This is really cool!

I'm wondering what data you're using and if you can impose a more precise coordinate system into the visualizations with ways to track a specific point (perhaps starting from polygons or GPS coordinates). It seems the visualization includes sea level rise but it's hard to figure out if its getting other details right like the California’s Transverse Ranges uplift (~20 mYa to present) which moved the Los Angeles basin several hundred kilometers northwest all while San Diego and Baja California were also rearranged.

comment 3mo ago · link · parent

It wouldn't have worked, period. You can't use capillary blood for the kind of blood tests they were claiming to. It's statistically impossible because the sample isn't big enough and drawing more capillary blood doesn't improve the SNR. Two samples taken at the same time from different spots on the same finger can yield wildly different results.

Everyone in diagnostic medicine knows this (they've been dealing with this problem since the glucose finger prick test). That's why no biotech VC ever invested in Theranos and they had to get tech VCs and fancy board members like Henry Kissinger. A cursory glance at the proposal by someone qualified would have shut that down immediately, but tech VCs don't do due diligence anymore.

comment 3mo ago · link · parent

That's a well studied topic in military history/science called unit cohesion. The saying goes that morale gets the soldiers to the battlefield, cohesion is what keeps them there. In order to withstand the psychological horrors of combat, soldiers need that comradery otherwise they'll run off at the first chance they get. There needs to be some anchor keeping the soldier in the way of danger, whether that's social pressure or years of intense training together.

Brett Devereaux has talked about it multiple times on his blog in various different contexts (most recently two weeks ago)[1][2][3]:

[1] https://acoup.blog/2026/07/24/collections-pre-modern-armies-...

[2] https://acoup.blog/2022/07/01/collections-total-generalship-...

[3] https://acoup.blog/tag/cohesion/

12345
123