frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Claude Code IDE integration for Emacs

https://github.com/manzaltu/claude-code-ide.el
547•kgwgk•12h ago•179 comments

Project Hyperion: Interstellar ship design competition

https://www.projecthyperion.org
125•codeulike•4h ago•106 comments

Rules by Which a Great Empire May Be Reduced to a Small One (1773)

https://founders.archives.gov/documents/Franklin/01-20-02-0213
27•freediver•1h ago•2 comments

Litestar is worth a look

https://www.b-list.org/weblog/2025/aug/06/litestar/
164•todsacerdoti•5h ago•45 comments

The Inkhaven Blogging Residency

https://www.inkhaven.blog/
15•venkii•1h ago•5 comments

You know more Finnish than you think

https://dannybate.com/2025/08/03/you-know-more-finnish-than-you-think/
38•infinate•2d ago•9 comments

A fast, growable array with stable pointers in C

https://danielchasehooper.com/posts/segment_array/
123•ibobev•7h ago•52 comments

Writing a Rust GPU kernel driver: a brief introduction on how GPU drivers work

https://www.collabora.com/news-and-blog/blog/2025/08/06/writing-a-rust-gpu-kernel-driver-a-brief-introduction-on-how-gpu-drivers-work/
206•losgehts•9h ago•27 comments

The Bluesky Dictionary

https://www.avibagla.com/blueskydictionary/
82•gaws•4h ago•28 comments

We'd be better off with 9-bit bytes

https://pavpanchekha.com/blog/9bit.html
77•luu•5h ago•151 comments

301party.com: Intentionally open redirect

https://301party.com/
55•nahikoa•4h ago•12 comments

Show HN: Kitten TTS – 25MB CPU-Only, Open-Source TTS Model

https://github.com/KittenML/KittenTTS
765•divamgupta•20h ago•322 comments

Multics

https://www.multicians.org/multics.html
89•unleaded•8h ago•20 comments

A Man Who Beat IBM

https://every.to/feeds/b0e329f3048258e8eeb7/the-man-who-beat-ibm
28•vinnyglennon•2d ago•11 comments

Jules, our asynchronous coding agent

https://blog.google/technology/google-labs/jules-now-available/
211•meetpateltech•9h ago•152 comments

Why Building Billing Systems Is So Painful (2024)

https://www.dmitry.ie/2024/why-building-billing-systems-is-so-painful
9•Rafsark•2h ago•0 comments

Comptime.ts: compile-time expressions for TypeScript

https://comptime.js.org/
90•excalo•3d ago•11 comments

Git-fetch-file – Sync files from other repos with commit tracking and safety

https://github.com/andrewmcwattersandco/git-fetch-file
20•andrewmcwatters•2h ago•6 comments

Breaking the sorting barrier for directed single-source shortest paths

https://www.quantamagazine.org/new-method-is-the-fastest-way-to-find-the-best-routes-20250806/
132•baruchel•10h ago•41 comments

Zig Error Patterns

https://glfmn.io/posts/zig-error-patterns/
119•Bogdanp•10h ago•30 comments

Automerge 3.0

https://automerge.org/blog/automerge-3/
226•surprisetalk•3d ago•18 comments

Converting Existing Users to systemd-homed

https://systemd.io/CONVERTING_TO_HOMED/
23•modinfo•3d ago•34 comments

303Gen – 303 acid loops generator

https://303-gen-06a668.netlify.app/
168•ankitg12•12h ago•59 comments

Rethinking DOM from first principles

https://acko.net/blog/html-is-dead-long-live-html/
173•puzzlingcaptcha•18h ago•145 comments

Vibe coding the MIT course catalog

https://stackdiver.com/posts/vibe-coding-the-mit-course-catalog/
67•low_tech_punk•7h ago•18 comments

The new shape of Mixxx 3.0 – Open Source DJing

https://mixxx.org/news/2025-08-06-qml-project/
69•SamWhited•3h ago•17 comments

Out-Fibbing CPython with the Plush Interpreter

https://pointersgonewild.com/2025-08-06-out-fibbing-cpython-with-the-plush-interpreter/
10•Bogdanp•2h ago•0 comments

The arcane alphabets of Black Sabbath

https://fontsinuse.com/uses/35835/the-arcane-alphabets-of-black-sabbath
54•speckx•6h ago•4 comments

Analyzing Control Flow More Like a Human [video]

http://wonks.github.io/germane/summer2025/2025/08/06/germane.html
11•matt_d•4h ago•1 comments

Why is it worth spending time on type theory? (2013)

https://math.stackexchange.com/questions/567265/why-is-it-worth-spending-time-on-type-theory
72•mindcrime•2d ago•34 comments
Open in hackernews

Fire hazard of WHY2025 badge due to 18650 Li-Ion cells

https://wiki.why2025.org/Badge/Fire_hazard
34•fjfaase•18h ago

Comments

fjfaase•18h ago
There has been some controversy surrounding the use of 18650 Li-Ion cells in the design of the WHY2025 hacker camp badge and questions have been raised whether it is safe to hand out badges to participants including children starting from age 7.
jon-wood•17h ago
Please don't post LLM summaries without any additional context. If I wanted one I'd ask my nearest LLM for it.
fjfaase•16h ago
Sorry, but I was not aware that the text with the submit (which I wanted to keep short) appears as a comment, otherwise, I would have given more details or left it out.
jon-wood•13h ago
Fair enough, I didn't realise you were the original poster and that's what happened.
mtlynch•15h ago
You're replying to the author/submitter of the post. I don't think this is LLM-generated.
bravetraveler•17h ago
That's a lot of juice for a trinket. Shorted a 'mitigated' battery of these in a charger once, was enough to reconsider vaping entirely
pjc50•16h ago
Given how much torch you can power off one of these, I'm not clear why you'd need two of them for a badge, since any conceivable use for that much current is going to start heating up the badge PCB fairly quickly. They're usually sized for >1A each, and you can get >10A off them for short periods, which is very lively for a badge pinned to flammable clothing.
arghwhat•16h ago
Assuming decent cells with low ESR (say, <30mOhm), one such cell will deliver hundreds of amps when shorted, making things a little bit more lively than your estimation. :)

(A few hundred amps isn't a lot for a shorted battery, but these are tiny cells so that's what you'll get.)

Two cells was probably selected for one of: Voltage to avoid boost converters, capacity to avoid having to do extensive power optimization to make it run the whole event, balance to make it hang even off your neck.

piva00•15h ago
Quite oversized amounts of power for 2 ESP32s running, last I measured a ESP32 board I have running it would consume some 120-180mA.
arghwhat•14h ago
That is highly dependent on the exact ESP32 model and current power state. They can use in excess of 500mA with peaks of 800mA, and can easily use >250mA constant at 3.3V. Some draw much more than that.

A board with a few bits and bobs on and a single 18650 cell might only last, say, 8 hours on a charge.

Now, a well optimized board with a low-power ESP32 and proper use of sleep states would make that number go from 8 hours to over a week, but that does take a lot of extra effort and may not be worth it over just slapping on another cell.

phire•11h ago
2 ESPs and a 4” color LCD screen (and a keyboard).

Depending on how bright the backlight was, that could eat through battery. And if they were using the wifi for any active communication, that increases power too.

I suspect they wanted it to last the entire weekend with the display always on. The original design probably only had one cell (maybe even smaller battery with built-in protection) and they hurriedly switched to two 18650 cells at the last moment.

They probably went with parallel because that seemed easier, no need to switch to another voltage regulator and charge controller.

bsder•17h ago
> The WHY2025 badge was designed to be powered by 2 Li-Ion 18650 battery cells connected in parallel.

Wait, what?

I was under the impression that Lithium batteries were really difficult to put in parallel without a LOT of engineering work.

The discharge curve for Lithium batteries is super flat. If you put them in parallel, even a small differential between the two means that one battery will completely discharge simply trying to bring the voltage of the other up to match. This is very different from the discharge curve from alkaline which has a nice slope and the batteries can equalize without burning up very much of their capacity.

These don't look like they're matched in any way. The connection between them doesn't like very big--I suspect a non-trivial voltage drop if one battery tries to empty into the other.

If you need the power, it's much better to put them in series and use a buck converter to bring the final value where you want it.

This seems more like a fundamental engineering flaw rather than a fault in the boards (although, to be fair, the creepage and clearance don't look great).

exmadscientist•17h ago
Li-Ion chemistry is pretty happy with 1S2P configurations. (That doesn't necessarily mean you should do it.) 2S1P is where the fun starts.
rollulus•17h ago
It’s what I thought as well, but I’m not too much into electronics to hold an opinion. It looks like there’s a balancing resistor between them: https://gitlab.com/why2025/team-badge/Hardware/-/blob/main/C...
bsder•17h ago
With floating grounds due to those MOSFETS adding 50 milliohms or so (on the order of the internal resistance of the batteries!)!

YIKES!

eqvinox•16h ago
Putting the protection circuit* on the battery's negative pole is standard best practice (due to NMOS efficiency, and it not being a problem in the slightest), and the 50mΩ actually improves balancing. Please avoid making comments like this based on half knowledge.

[*] I do wish it were an actual full protection circuit. It isn't. Then again a run of the mill protection circuit commonly doesn't cover reversed polarity [between protector and cell], which is rather important for this specific appliation.

bsder•16h ago
> Putting the protection circuit* on the battery's negative pole is standard best practice

Pointer? Especially since LiPol paralleling seems to want to use bus bars to minimize wiring resistance.

Admittedly my experience is all about avoiding parallel LiPol batteries ...

eqvinox•16h ago
https://www.ti.com/lit/gpn/bq77908a

https://www.diodes.com/assets/Datasheets/products_inactive_d...

Look at the reference circuits, it's a pair of antiserial NMOS on the negative pole.

(Those 2 protection circuits are at the opposite ends of complexity & features)

To be clear, using 2 PMOS on the positive pole is also quite common, my choice of words with "standard best practice" might be a bit misleading.

> use bus bars to minimize wiring resistance.

Those come after the protection circuit, there should always be 2 MOSFETs in series with the individual Li-Ion cell in a design like this (specifically: user swappable cell).

(Protecting paralleled cells together is kinda nonsensical because you also want to protect them from each other, I don't think I've ever seen a 2P combined protection circuit.)

bsder•16h ago
Those datasheets show creating a series pack/cell. They don't show the circuitry to then parallel the packs together.

I guess I need to do more research on this.

eqvinox•16h ago
> Those datasheets show creating a series pack/cell.

You seem to only have looked at the TI one, the Diodes one is for a single cell.

& if the cells are "permanently" connected in a pack, you wouldn't have individual cell protection and just have them properly balanced before connecting them in factory.

> parallel the packs together

You parallel cells, not packs.

pjc50•16h ago
Is it just me or is that schematic hard to read due to bits of text being on top of each other? Also "LED will burn when battery wrong way round" .. how about fixing this problem which you have acknowledged? What happens to your balancing resistor when you put one battery one way round?
ajb•15h ago
"LED will burn when battery wrong way round" .

I don't know about the rest of it, but I think this is just an idiosyncratic translation of "LED will light when battery wrong way round" - IE it's a warning LED.

eqvinox•17h ago
It doesn't matter what happens in the 10 to 90% range, if one discharges before the other, it's perfectly fine. It's not like this is an application that needs the combined current capability of both cells. What does matter is that neither cell is overcharged nor deep discharged, and the [dis]charge curve is absolutely not flat in those areas.
stavros•16h ago
The GP is talking about the case where you plug in two batteries of varying charge levels or health, which I agree is not an amazing thing to do.
eqvinox•16h ago
That's not obvious from the comment and logically inconsistent with parts of it; if the trace between the cells is small it would act as an auxiliary fuse, and there is that balancing resistor (whose value I can't read because whoever drew that schematic didn't bother repositioning overlapping labels.) I'm also a bit confused about the 2 polyfuses.

That said you're right and I was focusing a bit too much on my reading/interpretation of the GGP post. I'm not sure I've ever seen a 1S2P LiIon configuration with individually user swappable cells. In the 2-cell design I did, I specifically decided to go for 2S1P and have the balancing circuit, to avoid this exact issue. It does have the downside that you need both cells, the WHY design works with only one populated... (which is what I'd recommend doing in any case.)

[ed.: the balancing resistor seems to be 200Ω. The polyfuses are 15mΩ. So I guess it's designed to trip one or both polyfuses if the cells are imbalanced. That's an... "odd"... design.]

stavros•15h ago
> That's not obvious from the comment and logically inconsistent with parts of it

I agree, but personally I decided to go with the most charitable interpretation, and that's the one that made the most sense to me.

jacquesm•16h ago
Paralleling 18650's is relatively easy. You need to match voltage to within a few mV and make sure the connection is really solid (welded) to ensure they stay paired perfectly. Flaky connections, putting cells in series, impact damage, bad chargers etc are the risky bits, a solidly connected pair of 18650's is to a close approximation just as safe as a single cell, but it does have twice the short circuit current so you are going to have to be more careful around them. But at least the casings will be at the same potential.

I've built a 17P10S pack which was a pretty interesting (and scary) effort but it has been working flawlessly for years now with just one inspection of the guts after two years to make sure that nothing was coming loose (it's on an s-pedelec e-bike). In a big pack like that it's the spaces between the alternating blocks of cells and on top where the interconnects are that the real risk lies, besides the fact that the short circuit current of that pack is just shy of a kilo ampere so you really don't want to drop a tool or a piece of interconnect strip on that.

ajsnigrutin•16h ago
Many devices have parallel lipo cells, from powerbanks to electric cars, nothing special here.

If one cell is weaker, the other provides more current, there is no "one discharging/emptying into the other" during normal work (read below). No real need for any proper matching either, if you only care about capacity (if you care about current, you don't want to get into a situation where any of the cells has to provide more current than designed for and safe.

The only "problematic" part of parallel batteries is making the first connection, where one might be at a much higher voltage than the other. Usually this is mitigated by equalizing voltages (either dis/charging to a fixed voltage, or do a parallel connection through a proper resistor), and after they're safely connected in parallel, it doesn't matter.

On the other hand, two cells, user removable and replacable can cause exactly this issue, where the user removes one, recharges it in an external charger and replaces it (while the other, empty one, still stays inside)... but maybe there's a diode somewhere that prevents reverse currents.

exmadscientist•17h ago
> The WHY2025 badge was designed to be powered by 2 Li-Ion 18650 battery cells connected in parallel. The cells provided to visitors are of the "unprotected" kind

...I am going to put on my "client-facing consultant" hat for a moment, which means skipping the expletives, and just say that not only is this a Very Bad Design, it is such a Very Bad Design that someone should really have noticed this and not let it happen.

Because this really is a Startlingly Bad Idea.

fjfaase•17h ago
An earlier design by Badge.Team [1] did not use these cells and Badge.Team (no longer associated with WHY2025) strongly advised against the use of these cells.

The earlier design has been matured into Konsool [2] and is available as Tanmatsu [3].

[1] https://badge.team/

[2] https://badge.team/docs/badges/konsool/

[3] https://nicolaielectronics.nl/tanmatsu/

stavros•16h ago
Why was that advice ignored?
eqvinox•16h ago
WHY2025 orga has been a shitshow on the social & interpersonal level. The badge team was one of the casualties. (And triggers, from what I've heard they weren't paragons either, but that's even more hearsay.)

(Source: I'm in c3noc/Internetmanufaktur, though not attending WHY. TBH I saw the shitshow coming and decided I don't need it in my life.)

fjfaase•16h ago
Often it is the case that safety concerns are overruled by less technical savvy managers for some lesser critical reason.
ginko•14h ago
But surely two 18650s are just overkill. I might understand switching from the recommended LiPo cell to a single 18650 for cost cutting reasons (even though that's still probably a bad idea safety-wise), but why two?!
slacktivism123•17h ago
What's with the mock-security-advisory with logo for the 'vulnerability' (Heartbleed, anyone?)

Why is the important safety advice buried in a bunch of interpersonal drama and administrivia?

Juerd•16h ago
Author here. I didn't add the logo, but it's a wiki so others can theoretically change things.

I think the logo is cute though, so let's keep it. I think it was made with the WHY2025 logo generator at https://design.why2025.org/

eqvinox•17h ago
I'm confused that noone is pointing out most protected 18650 cells won't even fit in those holders, since protected cells are generally in the 18690…18700 pseudo size range. That's too long to get into those holders.

Source: the holders are likely Keystone 1042 [https://www.keyelco.com/product.cfm/product_id/918], which I've worked with before. For a protected cell, cf. for example https://imrbatteries.com/products/panasonic-ncr18650b-3350ma... - note 69.41mm length.

[ed.: it's the China equivalent of a Keystone 1042, https://www.lcsc.com/product-detail/C2988620.html - I can't confirm but am 95% confident a protected cell won't fit; if it would, the hold on an unprotected 18650 cell would be quite loose.]

supakeen•16h ago
Sure, that means the idea of using unprotected cells was already there when the holders were selected :)
eqvinox•16h ago
Yeah, I'm just saying, you can't even buy regular protected cells and put them in, because they won't fucking fit. I do think "actual" 18650 protected cells exist, but they would be rare and expensive because you can't build them out of mass manufactured bare 18650 cells (for obvious reasons of where do you put the damn protection circuit.)
supakeen•16h ago
Ah yea then I misunderstood. That's right you can't easily switch out the cells for protected cells yourself :(
unwind•15h ago
That is mentioned in the article, although could perhaps be more emphasized since it does mean the "obvious" fix is not possible:

Commonly available protected 18650 cells don't fit in the badge's cell holders because they are slightly longer.

eqvinox•14h ago
I did indeed totally miss that, thanks for pointing it out!
ryao•15h ago
At work, whenever we design hardware that uses Li-Ion cells, I always discuss safety before we even have done the design work so that we build something that is safe. Why did these guys not do that? Did they only learn about videos of li-ion explosions/fires after design this?

By the way, they probably should have used a LiFePo4 chemistry instead. It would not have the same runtime, but it would be much safer in worst case scenarios.

burnt-resistor•15h ago
Why the fuck didn't they just use say 4 safe(r) CR2032s or simply have only +5V USB-C power in?

They could've eliminated most of the risk by simply ripping the 18650 holders off the badges and rely on USB power.

andrewstuart•15h ago
Avoid battery fires: design your boards for alkaline batteries.

They’re safer and in many cases just fine for the job - for example a conference badge needs nothing more than alkaline batts.

Also, alkaline batteries are not an expensive nightmare to ship.

burnt-resistor•13h ago
Rechargeable safe(r) chemistries. Alkaline batteries are insta-e-waste. Like the common form-factors of AA/AAA Ni-MH that are acquirable locally.
charcircuit•15h ago
Hopefully, they get sued to clearly set the precedent that this is not acceptable. Just because it may be a devkit, targeted towards knowledgeable individuals, or amateur made that doesn't mean that they should be distributing unsafe electronics like this because it's cheaper than making a safe version.