frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Kagi releases alpha version of Orion for Linux

https://help.kagi.com/orion/misc/linux-status.html
94•HelloUsername•2h ago•42 comments

Mathematics for Computer Science (2018) [pdf]

https://courses.csail.mit.edu/6.042/spring18/mcs.pdf
224•vismit2000•7h ago•32 comments

Linux Runs on Raspberry Pi RP2350's Hazard3 RISC-V Cores (2024)

https://www.hackster.io/news/jesse-taube-gets-linux-up-and-running-on-the-raspberry-pi-rp2350-s-h...
64•walterbell•5d ago•19 comments

How wolves became dogs

https://www.economist.com/christmas-specials/2025/12/18/how-wolves-became-dogs
47•mooreds•3d ago•30 comments

When Kitty Litter Caused a Nuclear Catastrophe

https://practical.engineering/blog/2025/4/15/when-kitty-litter-caused-a-nuclear-catastrophe
16•tape_measure•4d ago•3 comments

Sorted string tables (SST) from first principles

https://www.bitsxpages.com/p/sorted-string-tables-sst-from-first
16•apurvamehta•3d ago•1 comments

How to Code Claude Code in 200 Lines of Code

https://www.mihaileric.com/The-Emperor-Has-No-Clothes/
609•nutellalover•19h ago•196 comments

Samba Was Written (2003)

https://download.samba.org/pub/tridge/misc/french_cafe.txt
96•tosh•5d ago•38 comments

European Commission issues call for evidence on open source

https://lwn.net/Articles/1053107/
314•pabs3•7h ago•211 comments

Embassy: Modern embedded framework, using Rust and async

https://github.com/embassy-rs/embassy
257•birdculture•15h ago•113 comments

Hacking a Casio F-91W digital watch (2023)

https://medium.com/infosec-watchtower/how-i-hacked-casio-f-91w-digital-watch-892bd519bd15
140•jollyjerry•4d ago•40 comments

Sopro TTS: A 169M model with zero-shot voice cloning that runs on the CPU

https://github.com/samuel-vitorino/sopro
287•sammyyyyyyy•18h ago•108 comments

What happened to WebAssembly

https://emnudge.dev/blog/what-happened-to-webassembly/
228•enz•7h ago•193 comments

Bose has released API docs and opened the API for its EoL SoundTouch speakers

https://arstechnica.com/gadgets/2026/01/bose-open-sources-its-soundtouch-home-theater-smart-speak...
2396•rayrey•23h ago•358 comments

Richard D. James aka Aphex Twin speaks to Tatsuya Takahashi (2017)

https://web.archive.org/web/20180719052026/http://item.warp.net/interview/aphex-twin-speaks-to-ta...
209•lelandfe•17h ago•73 comments

Photographing the hidden world of slime mould

https://www.bbc.com/news/articles/c9d9409p76qo
69•1659447091•1w ago•17 comments

Show HN: Executable Markdown files with Unix pipes

77•jedwhite•12h ago•59 comments

The Jeff Dean Facts

https://github.com/LRitzdorf/TheJeffDeanFacts
501•ravenical•1d ago•173 comments

The unreasonable effectiveness of the Fourier transform

https://joshuawise.com/resources/ofdm/
265•voxadam•19h ago•112 comments

AI coding assistants are getting worse?

https://spectrum.ieee.org/ai-coding-degrades
362•voxadam•23h ago•586 comments

1ML for non-specialists: introduction

https://pithlessly.github.io/1ml-intro
24•birdculture•6d ago•5 comments

He was called a 'terrorist sympathizer.' Now his AI company is valued at $3B

https://sfstandard.com/2026/01/07/called-terrorist-sympathizer-now-ai-company-valued-3b/
242•newusertoday•20h ago•319 comments

Why I left iNaturalist

https://kueda.net/blog/2026/01/06/why-i-left-inat/
226•erutuon•13h ago•126 comments

Mysterious Victorian-era shoes are washing up on a beach in Wales

https://www.smithsonianmag.com/smart-news/hundreds-of-mysterious-victorian-era-shoes-are-washing-...
50•Brajeshwar•3d ago•16 comments

Anthropic blocks third-party use of Claude Code subscriptions

https://github.com/anomalyco/opencode/issues/7410
453•sergiotapia•11h ago•369 comments

Systematically Improving Espresso: Mathematical Modeling and Experiment (2020)

https://www.cell.com/matter/fulltext/S2590-2385(19)30410-2
56•austinallegro•6d ago•12 comments

Google AI Studio is now sponsoring Tailwind CSS

https://twitter.com/OfficialLoganK/status/2009339263251566902
706•qwertyforce•19h ago•260 comments

Ushikuvirus: Newly discovered virus may offer clues to the origin of eukaryotes

https://www.tus.ac.jp/en/mediarelations/archive/20251219_9539.html
116•rustoo•1d ago•35 comments

Why is there a tiny hole in the airplane window? (2023)

https://www.afar.com/magazine/why-airplane-windows-have-tiny-holes
60•quan•4d ago•31 comments

Fixing a Buffer Overflow in Unix v4 Like It's 1973

https://sigma-star.at/blog/2025/12/unix-v4-buffer-overflow/
145•vzaliva•20h ago•37 comments
Open in hackernews

Strain gauge made out of PCB

https://github.com/vapetrov/PCB_strain_gauge
116•dr_coffee•8mo ago

Comments

fake-name•8mo ago
The challenge is that while you can make a strain gauge out of just about anything, making them repeatable over temperature, humidity (in the case of hygroscopic materials, like PCB FR4) and repeated flexing is where it gets difficult.

For this, while I'm sure it works, if the humidity and/or temperature changes, the same deflection will result in different readings.

If you can calibrate it immediately before each use, or you don't care about absolute values, this is a completely valid option.

"Real" strain gauges generally use a constantan resistive element to deal with the temperature variability, deposited on a plastic carrier film (typically polyimide). The film elements then get glued to the stress sensing member. They're fairly inexpensive too.

mofosyne•8mo ago
I'm sure there's a general rule of thumb where this approach works best as an approximation (such as a simple on/off switch)... which may give us opportunities to simplify the BOM list further with cheaper parts at cost to accuracy which wouldn't apply to PCB anyway.

Where I mostly seen this approach is with 3D printers where we just want to know if the nozzle is touching the print base.

But if we can quantify the general worse case variation between most PCBs then maybe we can create a recommended strain sensor element with a semi-quantified level of accuracy so it's not just an on/off sense.

greggsy•8mo ago
I figured that's why they put it in a sealed chassis in the demo.
margalabargala•8mo ago
All sensors are thermometers, some measure other things too.
kragen•8mo ago
I hadn't thought about the hygroscopic and expansion questions; I think FR4 is, like wood, almost immune to longitudinal variation with temperature and humidity due to its anisotropy. (But I haven't tried to measure that.) And strain gauges are low enough impedance that I'd expect the capacitive effects to matter.

The temperature coefficient of resistance of the strain element seems like a concern, though, and so do thermal EMFs. My kitchen scale zeroes when I turn it on, a procedure that should be able to cancel one of these two but not both. Maybe you could have a diode thermal sensor, as an MCXO does, to measure the temperature so you can cancel both?

This project seems to do the first-order temperature correction thing:

> The included sample firmware will wait until a serial console is opened, perform a 5 second offset calibration, then sample continuously at the lowest gain setting. The graph.py script can be used to display the output.

> For high sensitivity measurements, it's important to let the board reach a stable operating temperature for at least 5 minutes before calibrating

.

The thing I intuitively worry about here is creep. Does FR4 creep enough to worry about? Normally you make strain gauge bodies out of steel because it doesn't.

4gotunameagain•8mo ago
For temperature dependent effects there are things like self-compensated strain gauges (where their temperature related deformation counteracts that of a target material), or dual side measurement (sandwich a bar between two strain gauges, strain cause compression on one, elongation on the other, so +-/-+, while temperature compresses or elongates both (++/--), cancels out.)
kragen•8mo ago
You might be able to do that kind of thing with traces on both sides of the FR4?
knotimpressed•8mo ago
For a long time I've been trying to make a DIY milligram-accurate scale, and milligram-accurate strain load cells are expensive. Does anyone know if the resolution of this is high enough?
colechristensen•8mo ago
You can just buy strain gauges which are specially cut copper foils on a thin plastic substrate that you glue to something, like a metal strip. The resistance changes very slightly as the metal bends.

You measure the change in resistance with a wheatstone bridge tuned correctly.

You basically just need a strain gague (a few dollars), 4 resistors, an op-amp, and a microcontroller with an ADC.

Calibration is important and you'll run into things like the metal bar creeping, permanently bending as a result of weight being put on and off.

But also, milligram accurate scales are $20 on Amazon https://www.amazon.com/GRAM-PRES-Precision-Milligram-Reloadi...

kragen•8mo ago
Not every scale with milligram repeatability has milligram accuracy, and not every scale with milligram resolution readouts has milligram repeatability. You probably know that, but not everyone reading this does.

(This one might be fine? It does claim to have a 50.000g calibration weight, which is a good sign, but it doesn't say anything about metrological traceability, which is a bad sign.)

dogma1138•8mo ago
Precision and accuracy is very expensive there is a reason why high end measurement equipment costs as much as it does.
kragen•8mo ago
At some level it becomes expensive, but it's far from clear that five significant figures of mass is that level.

A US$2 quartz watch measures time to 5½ significant figures, US$10 multimeters routinely measure voltage to 4½, and US$5 GPS receivers can provide you with time measurements accurate to 40ns that inherit the drift of world metrology standards, a precision of 16 significant figures if you are measuring a long enough time interval (over 10 years).

userbinator•8mo ago
Where are you finding $10 4.5 digit multimeters?
kragen•8mo ago
Hardware store, usually. 3.5 digits is common, 4.5 digits less so.
userbinator•8mo ago
3.5 digit ones sell for far less than that (especially the infamous 830-series based on the ICL7106 and its clones). I haven't found any 4.5 digit ones at that price.
kragen•8mo ago
I might be misremembering. How much have you found 4½ digit multimeters to cost?
userbinator•8mo ago
Around $30 at the very, very least.
thirdhaf•8mo ago
As a quick and dirty rule of thumb measuring parts per million in anything except time or frequency will get expensive. Temperature drifts will cause expansions and contractions on that order if you’re measuring lengths.
kragen•8mo ago
Yes, but in this case we're measuring weights, not lengths, and we're looking for 5 sig figs, not 6.
colechristensen•8mo ago
>metrological traceability

It's a $20 scale, if you had need of metrology you wouldn't be buying a $20 scale. Most of us do not need metrology. I want to make small amounts of pickles with perhaps unreasonably precise measurements of salt at scales where half a gram or maybe a tenth of a gram is significant.

kragen•8mo ago
You said, "Milligram accurate scales are $20 on Amazon," and linked to that scale. I'm questioning whether it's really accurate to a milligram. It sounds like now you're questioning that, too. That's fine. But please don't pull this sour grapes bait and switch bullshit.
s0rce•8mo ago
My dad built one with an electromagnetic coil many years ago, can't find the design, capacity was limited but had 100? microgram resolution, maybe similar to this applied science video https://www.youtube.com/watch?v=ta7nlkI5K5g but I think simpler.

maybe something like this: https://www.erowid.org/archive/rhodium/chemistry/equipment/s... https://www.erowid.org/archive/rhodium/chemistry/equipment/s...

I found some old emails about the scale from 2005/6 but can't find the link and it would probably be gone anyways.

kragen•8mo ago
Thanks for the reference! If you do find the link maybe it will be in the WABAC machine.
stavros•8mo ago
That's the most interesting misspelling of "wayback" I've seen so far.
bialpio•8mo ago
TIL it may not necessarily be a misspelling: https://en.m.wikipedia.org/wiki/Wayback_Machine_(Peabody%27s...
flowerthoughts•8mo ago
In the video, the author tries it with a small component that I think is a SOT-323-5 or similar. Based on [1], that weighs about 5-8 mg.

[1] https://www.mccsemi.com/pdf/ComponentWeightInformation.pdf

kragen•8mo ago
My uninformed opinion based on no experience is that this will creep so you should use a Kibble balance instead. (See sibling comment by s0rce.) Or maybe use a lever arm to amplify milligrams into tens of milligrams of force. Or just a regular pan balance. How big a weight do you want milligram precision on?

If you have some way to cut a precise shape out of some kind of metal sheet of well-controlled thickness, could you cut out a milligram precision bismar balance or steelyard?

dogma1138•8mo ago
Probably not, PCBs are also terrible as load cells because fibers break.

In general if you want a precise and accurate strain gauge you’ll be paying a lot for it, especially for one that doesn’t need to be recalibrated before every use and after nearly every measurement.

stefan_•8mo ago
Shahriar has a video on repairing a milligram resolution scale: https://www.youtube.com/watch?v=Lz9mBc6FGzE

They don't tend to use strain gauges I think.

klysm•8mo ago
Milligram accuracy isn’t a really a direct property of the load cell. A lot of it comes down to creep and hysteresis behavior.
sadhorse•8mo ago
Use vibration to measure small masses. Measuring natural frequency can be very accurate and sensitive.
rolph•8mo ago
Piezoelectric or Strain Gauge Based Force Transducers?

https://www.hbkworld.com/en/knowledge/resource-center/articl...

Piezo vs. strain gauge https://www.kistler.com/US/en/piezo-vs.-strain-gauge/C000001...

amelius•8mo ago
> Thinner boards will result in a smaller output voltage swing.

For the same weight? I would expect the opposite.

qwery•8mo ago
For the same deflection, I assume.

The device effectively measures mechanical strain at the surface of the PCB. The surfaces of a thicker board will experience more strain from bending because the radius of the curve (at the surface) is greater.

amelius•8mo ago
Can anyone explain why the BRIDGE_SUPPLY voltage is connected to the voltage regulator output and PWM signal at the same time (through the FSA5157L6 analog switch)?
bitdivision•8mo ago
I don't think it is. PWM_BIAS is used as the select for the analog switch. High connects COM to B1 (GND) and low connects COM to B0 (BRIDGE_SUPPLY).
amelius•8mo ago
Ah yes, you're right, my bad.