frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Vulnerability reports are not special anymore

https://words.filippo.io/vuln-reports/
267•goranmoomin•9h ago•148 comments

Raspberry Pi Pico W as USB Wi-Fi Adapter

https://gitlab.com/baiyibai/pico-usb-wifi
131•byb•6h ago•43 comments

Why eval startups fail (2025)

https://thomasliao.com/eval-startups
18•jxmorris12•1d ago•14 comments

Jerry's Map

http://www.jerrysmap.com/the-map
463•turtleyacht•14h ago•54 comments

Show HN: An ASCII 3D Rendering Engine

https://glyphcss.com
124•apresmoi•3d ago•37 comments

FUTO Swipe – A new swipe typing model

https://swipe.futo.tech/
535•futohq•15h ago•169 comments

In memory of the man who put red and green squiggles under words

https://devblogs.microsoft.com/oldnewthing/20260622-00/?p=112451
371•saikatsg•15h ago•62 comments

Qwen-AgentWorld: Language World Models for General Agents

https://arxiv.org/abs/2606.24597
103•ilreb•7h ago•28 comments

"Fix" MacBook Neo Cursor Lag: Record 1 Pixel of the Screen Every 10 Seconds

https://gist.github.com/retroplasma/ec21767d0a8380c7ea9c2fbee1c7d6bf
91•retroplasma•6h ago•34 comments

Remaking BBC test cards to teach you video processing

https://www.youtube.com/watch?v=U_6HxPkrgcg
38•unleaded•2d ago•1 comments

Ashby (YC W19) Is Hiring EMEA Engineers Who Can Design

https://www.ashbyhq.com/careers?ashby_jid=87b96eef-edc1-4de4-adb6-d460126d02f8&utm_source=hn
1•abhikp•2h ago

Printing Gaussian Splats

https://www.patreon.com/DanyBittel/posts/printing-splats-161333338
300•ilnmtlbnm•2d ago•32 comments

Rhombus Language 1.0

https://blog.racket-lang.org/2026/06/rhombus-v1.0.html
161•Decabytes•1d ago•42 comments

Swift Package Index joins Apple

https://swiftpackageindex.com/blog/swift-package-index-joins-apple
205•JDevlieghere•15h ago•66 comments

A man was gifted his dream car by Kevin Mitnick, who he helped put in prison

https://www.thedrive.com/news/this-man-was-gifted-his-dream-car-by-the-notorious-hacker-he-put-in...
174•mauvehaus•1d ago•107 comments

Usbliter8: an A12/A13 SecureROM Exploit

https://ps.tc/pages/blog-usbliter8.html
140•givinguflac•5d ago•27 comments

Show HN: TikZ Editor – WYSIWYG editor for figures in LaTeX

https://tikz.dev/editor/
390•DominikPeters•19h ago•71 comments

The worthlessness of Vitamin D is mildly exaggerated

https://dynomight.net/vitamin-d/
293•surprisetalk•17h ago•207 comments

Vector Graphics in Lil

http://beyondloom.com/blog/vectorgraphics.html
3•RodgerTheGreat•1d ago•0 comments

Dirty Little Zine – a tool for making an 8 page printable Zine

https://dirtylittlezine.com/
124•cianmm•3d ago•18 comments

Lithp.py (~2008)

https://fogus.me/fun/lithp/
20•wglb•2d ago•4 comments

Meta Pauses Employee-Tracking Program Following Internal Data Leak

https://www.wired.com/story/meta-pauses-employee-tracking-program-following-internal-security-bre...
241•1vuio0pswjnm7•9h ago•165 comments

Millimeter wave technology drills 100 meters into granite

https://www.thinkgeoenergy.com/quaise-energy-achieves-100-meters-of-drilling-using-millimeter-wav...
155•Jimmc414•3d ago•52 comments

Show HN: Graphical SQL Builder and Debugger

https://github.com/webofmarius/SQLJoiner
9•matei88•2d ago•2 comments

The Teensy Executable Revisited

https://www.muppetlabs.com/~breadbox/software/tiny/revisit.html
37•ankitg12•7h ago•3 comments

Fired by Google for creating the Google workspace CLI

https://twitter.com/JPoehnelt/status/2069482265953087602
530•justinwp•15h ago•305 comments

Inventing the Future, One Lisp Machine at a Time

https://www.patrickdomanico.com/bpm/2026/06/16/inventing-the-future-one-lisp-machine-at-a-time/
100•pamoroso•1d ago•14 comments

F* file system – file search that reads SSD directly bypassing OS kernel

https://github.com/dmtrKovalenko/ffs
70•neogoose•2d ago•41 comments

The Low-Tech AI of Elden Ring

https://nega.tv/posts/low-tech-ai-of-elden-ring.html
148•g0xA52A2A•21h ago•84 comments

DiffusionBench: Towards Holistic Evaluation of Generative Diffusion Transformers

https://github.com/End2End-Diffusion/diffusion-bench
34•ilreb•7h ago•1 comments
Open in hackernews

Strain gauge made out of PCB

https://github.com/vapetrov/PCB_strain_gauge
116•dr_coffee•1y ago

Comments

fake-name•1y 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•1y 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•1y ago
I figured that's why they put it in a sealed chassis in the demo.
margalabargala•1y ago
All sensors are thermometers, some measure other things too.
kragen•1y 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•1y 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•1y ago
You might be able to do that kind of thing with traces on both sides of the FR4?
knotimpressed•1y 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•1y 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•1y 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•1y ago
Precision and accuracy is very expensive there is a reason why high end measurement equipment costs as much as it does.
rolph•1y 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•1y ago
> Thinner boards will result in a smaller output voltage swing.

For the same weight? I would expect the opposite.

qwery•1y 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•1y 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•1y 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•1y ago
Ah yes, you're right, my bad.
kragen
•
1y 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•1y ago
Where are you finding $10 4.5 digit multimeters?
kragen•1y ago
Hardware store, usually. 3.5 digits is common, 4.5 digits less so.
userbinator•1y 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•1y ago
I might be misremembering. How much have you found 4½ digit multimeters to cost?
userbinator•1y ago
Around $30 at the very, very least.
thirdhaf•1y 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•1y ago
Yes, but in this case we're measuring weights, not lengths, and we're looking for 5 sig figs, not 6.
colechristensen•1y 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•1y 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•1y 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•1y ago
Thanks for the reference! If you do find the link maybe it will be in the WABAC machine.
stavros•1y ago
That's the most interesting misspelling of "wayback" I've seen so far.
bialpio•1y ago
TIL it may not necessarily be a misspelling: https://en.m.wikipedia.org/wiki/Wayback_Machine_(Peabody%27s...
flowerthoughts•1y 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•1y 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•1y 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_•1y 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•1y 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•1y ago
Use vibration to measure small masses. Measuring natural frequency can be very accurate and sensitive.