frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Bridging Math and Code: Cute Layout Algebra in CuTeDSL

https://veitner.bearblog.dev/bridging-math-and-code-cute-layout-algebra-in-cutedsl/
1•ashvardanian•1m ago•0 comments

London's Water Pumps: Where History Flows Freely

https://londonist.com/london/features/london-s-water-pump
1•joebig•2m ago•0 comments

Agent Recursion

https://choly.ca/post/agent-recursion/
1•0x696C6961•2m ago•0 comments

Show HN: AI Mobile App QA on Real Devices

https://qualgent.ai/
2•ShivamHacks•3m ago•0 comments

Toony Eye – A fun browser extension with a blinking eye that tracks your cursor

https://github.com/DanteTheKing/Eye-Tracker
1•Dante_Ushin•5m ago•0 comments

UK overtakes China as second-largest US Treasury holder

https://www.ft.com/content/894c1ce3-23cc-4648-a468-542fff034ff2
1•paulpauper•6m ago•0 comments

Alone at Sea for 95 Days, a Peruvian Fisherman Clung to Hope

https://www.nytimes.com/2025/03/17/world/americas/peruvian-fisherman-95-days-lost-at-sea.html
1•bookofjoe•7m ago•1 comments

What Desi Arnaz Could Teach Hollywood Today

https://www.nytimes.com/2025/05/18/opinion/desi-arnaz-hollywood-rules.html
2•paulpauper•8m ago•0 comments

Big U.S. cities grew in 2024, reversing Covid-era population declines

https://www.washingtonpost.com/nation/2025/05/16/census-bureau-city-population-increase/
1•paulpauper•8m ago•0 comments

Life lessons from 90-year-olds who are still working, active, financially savvy

https://www.msn.com/en-us/news/other/ar-AA1EZjvI
1•domofutu•8m ago•0 comments

Why I Use WebAssembly

https://nasso.dev/blog/why-i-use-wasm
1•azhenley•14m ago•0 comments

Show HN: Texas Hold'Em Equity Training Game

https://www.pokerpercent.com/equity
1•rexthebuilder•14m ago•0 comments

Bay to Breakers

https://en.wikipedia.org/wiki/Bay_to_Breakers
1•kaycebasques•15m ago•0 comments

A Garbage Collection Strategy

https://irreal.org/blog/?p=12989
1•azhenley•18m ago•0 comments

Mapgen4 Trade Routes

https://www.redblobgames.com/blog/2025-05-08-mapgen4-trade-routes/
2•lnyan•19m ago•0 comments

The Beta Launch of Contexa AI

https://platform.contexaai.com/
1•akshay_galande•19m ago•1 comments

A collection of quotes on the design of notation as a tool of thought

https://github.com/kai-qu/notation
2•fanf2•19m ago•0 comments

Colima: Container runtimes on macOS (and Linux) with minimal setup

https://github.com/abiosoft/colima
1•vortex_ape•19m ago•0 comments

Hyper Typing

https://pscanf.com/s/341/
1•azhenley•19m ago•1 comments

Netflix has figured out a way to make ads even worse using AI

https://www.engadget.com/entertainment/streaming/netflix-has-figured-out-a-way-to-make-ads-even-worse-using-ai-180623064.html
3•belter•21m ago•1 comments

Google Cloud announces generative AI leader certification

https://cloud.google.com/blog/topics/training-certifications/new-google-cloud-certification-in-generative-ai
1•gnabgib•21m ago•0 comments

iOS Deep-Linking with Bevy in Rust

https://rustunit.com/blog/2025/05-18-bevy-ios-deep-linking/
1•todsacerdoti•23m ago•0 comments

We Built Enzzo – An AI Product Manager Agent

https://enzzo.ai/
2•lzbobr•25m ago•3 comments

US company claims nuclear battery breakthrough (2024)

https://www.world-nuclear-news.org/articles/us-company-claims-nuclear-battery-breakthrough
1•mpweiher•26m ago•0 comments

CIA Compliance Manager

https://github.com/Hack23/cia-compliance-manager
1•jamespether•28m ago•1 comments

NIST sets its new atomic clock in motion

https://www.washingtonpost.com/science/2025/05/17/nist-atomic-clock-time-cesium/
1•ternaryoperator•29m ago•0 comments

Biden Is Diagnosed with an Aggressive Form of Prostate Cancer

https://www.nytimes.com/2025/05/18/us/politics/biden-prostate-cancer.html
7•jmdelatorre•32m ago•1 comments

Show HN: Engine.codes – read OBD-II codes in the browser, no app, no cost

https://engine.codes
3•matthiasq•34m ago•1 comments

Computational Public Space [video]

https://www.youtube.com/watch?v=PixPSNRDNMU
2•wbrbr•36m ago•0 comments

Show HN: Python Simulator of David Deutsch’s "Constructor Theory of Time"

https://github.com/gvelesandro/constructor-theory-simulator
12•SandroG•38m ago•2 comments
Open in hackernews

$30 Homebrew Automated Blinds Opener

https://sifter.org/~simon/journal/20240718.html
106•busymom0•3h ago

Comments

allenrb•3h ago
Would measuring motor current be a better way to determine torque? Not an expert but seems like you could sense voltage across a fairly small shunt to do it.
01100011•3h ago
That's how we did it when I worked on a gate-arm/access control system. I'd monitor current and if a spike occurred I'd back the arm up because it likely hit something.
cpgxiii•3h ago
Motor current is a workable, but generally unsatisfactory, proxy for torque when using heavily geared motors. Far better to measure output torque directly if you can, which is what's being done here using what is essentially a series elastic mechanism (itself a very common way of implementing torque sensing).

To elaborate more, current sensing is only "better" in an ease-of-implementation sense, in that a lot of motor drivers already have current sensing built in/easily added. For some applications this is good-enough, but in terms of estimating "real number" torque from current, it can take a lot of work to characterize for geared motors.

buescher•2h ago
Motor current is an excellent way to measure torque and is what is done in real-world settings all the time. As a hobbyist you might have to settle for relative torque if you aren't in a position to characterize a motor or you don't have manufacturer's data for it.
cpgxiii•2h ago
I wouldn't say excellent. Motor current->torque is well correlated for motors in isolation, or with very low gear ratio. Not so with higher gear ratios. Can the current value be used to make control decisions for the motor? Yes. Does the current give you torque in Nm? No.

In the robotics world this is sometimes distinguished between actuators that report "effort" (i.e. a current-derived estimate) and actuators that report torque (i.e. actual torque sensing or direct-drive with current sensing). Both can be useful, but "effort" is not torque.

buescher•2h ago
Current will never directly give you torque in Nm which is a straw man argument - you will always have to know the motor constant, input voltage, coil resistance, and gear ratio to back out torque. That's characterizing the motor. Yeah, that's a lot of work for a hobbyist, but it's not at all unreasonable to consider a motor an excellent torque transducer - that's what it does.
cpgxiii•1h ago
If the current->torque behavior of motors with gearboxes could be generally well characterized, the entire distinct market sector of "cobots" would not exist because every industrial robotics vendor would have long had good torque modelling on their actuators.

As it stands, Universal Robots (and likely their clones) do use current->torque characterization for their actuators (which, amusingly, is then stored on a robot-specific USB drive or SD card), and their torque sensing is shit. Shit enough that for any useful force/torque application you still need a separate force/torque sensor. Schunk, for some of their electric parallel grippers with "force" feedback, only characterizes them at a single velocity and there is significant error in the force estimate at any other speed. Good current->torque characterization of a complete actuator is so difficult that approximately no vendors in the automation space are willing to do it.

numpad0•38m ago
There was a news story few days ago that Sony is launching an Ethernet controlled smart motor with integral reducer for robotics applications, and it has encoders on both sides of the reducer plus torque on output shaft. There's nothing so far on the English side of the public Internet about it, at all.

... so I doubt motor torque be end all be all. Especially when Sony does it like that.

theywillnvrknw•3h ago
Sorry, I had to post this :|

if Apple made window blinds...

https://www.youtube.com/watch?v=Hv6EMd8dlQk

neilv•3h ago
What are the child safety considerations to be careful of, with blinds, and with openers?

(I recall seeing warning stickers and design changes on ordinary miniblinds. I suspect that one of the changes involved having multiple pull cords be separate and loose, rather than a fastened together or a single looped cord. But I'd guess that's not the only safety design decision.)

madaxe_again•2h ago
I think the principle two things are “they can’t pull it off the wall and onto themselves” and “they can’t hang themselves”.

With automatic openers you add “they can’t get snarled up/lose a finger in the mechanism” and “they can’t electrocute themselves”.

I went extremely belt and braces with our blind opener - but it is toddler proof. Attached the lower end of the cord to the ceiling, attached a pulley that hangs on the cord, hung a 1kg weight from it, and used a solenoid from a broken linktap valve to pull a pin that allows the weight to fall and pull the cord.

Even with the blinds open the whole assemblage is entirely out of her reach, and it goes for the opposite effect to the poster’s implementation - blinds slam open in about half a second with a quiet whirr, as I prefer a jarring wakeup, and my wife would sleep through Armageddon. Reset is manual, but that’s fine, closing them is an optional and trivial activity.

AStonesThrow•2h ago
What are the safety considerations of smart blinds opening up a bedroom at inopportune moments, such as children playing outside while you're having sex or changing clothes?

Is there a lockout mode for "I/we are not decent" or do the blinds just sort of majestically reveal the bedroom to your backyard/parking lot observers like curtains opening on a feature film?

buescher•2h ago
UL 325 covers them and can be read (but not printed or saved) on UL’s website if you register. More dangerous than you might think though the real horror stories are with stage curtains. PSA for hacker news: Safety is the product of a process, not a feature, and standards are written in blood. You don’t get there by surmising, no matter how skilled, clever, or well-intentioned you are.
notpushkin•2h ago
It totally can be saved if you try hard enough (and are not afraid of a pretty scary legal warning in the free view feature).

If the UL devs read this: if you want to cut your AWS bill, perhaps don’t send the images as BMP?

AnotherGoodName•2h ago
Fwiw automated blinds in the bedroom are a 100% no brainer benefit. It's wonderful and better than an alarm clock with 0 mental load (set the times to open close across the week once and then never think about them again, you can keep the weekend manual if you like).

As in a lot of home automation actually makes things worse. Replacing a convenient light switch with an app? 100% terrible idea and actually makes things inconvenient, don't automate those.

But the blinds, specifically those in your bedroom? Do it! One of those life hacks that's really not that expensive and makes your life better with 0 cognitive load after initial setup.

dzhiurgis•1h ago
You are making assumption I want to wake up that early.

Quite opposite - I’m searching for way to completely black out the room since kids will wake up with slightest shred of light, far before daycare starts. And I’m not even living if far lats.

But yeah I still want them for convenience. Problem is I don’t want cables dangling around curtains and battery options are limited.

Etheryte•53m ago
This comment makes no sense. You choose when you want your automated blinds to open, if you don't want to wake up early, just don't set them to open early?
ranger_danger•3m ago
This comment also makes no sense... they said completely black out a room, which blinds alone cannot do.
cortesoft•55m ago
My blinds don’t work as an alarm clock for me at all. I sleep with a pillow over my eyes, no amount of light is going to wake me up.
sgt•41m ago
That'll just make it too easy for an assassin.
kulahan•36m ago
I use a silk sleep mask. They’re incredible. Added benefit is that it helps hold your eyelids closed on days when you’re not very sleepy. It’s also one thing I only do when actually attempting to sleep. I swear I get sleepy the second I feel that super-light tension on my head
goda90•6m ago
I've got Home Assistant set up and the app on my phone. But the only light switch I have automated is done with a standalone, battery powered timer with a motor to turn a dumb switch on and off. It's on my porch light so it turns on and off without me needing to be home or paying attention. Only have to override it on Halloween and shift it with the seasons.
WaitWaitWha•5m ago
> As in a lot of home automation actually makes things worse. Replacing a convenient light switch with an app? 100% terrible idea and actually makes things inconvenient, don't automate those.

The key to proper home automation is not to destroy the "normal" functions already in place, but to augment them with automation.

Smart switches that do not function without connectivity are not smart. I discourage new implementation of smart-bulbs too as they break the "normal" bulb-switch function. I discourage smart plugs for the same reason. Same thing with valves. Imagine a valve that cannot be turned on or off manually. Horrific.

J_Shelby_J•2h ago
I just want to share that these are by far the best home automation you can have. I love my smart lights, hacked together smart humidifier, smart fans (the vornado dc fans with outlet switches), intake air pump, and air quality monitoring.

But nothing has the quality of life impact of smart blinds. It’s the best, and probably only, way to reliably keep your sleep schedule in sync. Smart lightbulbs - four of the brightest you can buy - are nothing compared to a window on a cloudy day.

threatofrain•2h ago
Could we hear more about your home automation stack? I'm looking to get into this myself.
joshvm•1h ago
Can't speak for OP, but just get Home Assistant running and play around. It'll work in Docker in anything, but it's a good use for an old Raspberry Pi. There isn't much more of a stack than that, and HA is by far the most polished OSS solution.

It's got some sharp edges - every time I've done a major auto-update it's broken something critical. You can run it alongside other controllers like the Hue Bridge, which is nice to have as a backup (since 90% of what most people connect is smart lighting). Probably the most useful simple automation I have is an motion activated dim light in the bathroom at night, but that's using Hue.

Then look at ESPHome, which is an ecosystem for making your own DIY sensors and controllers that can feed into HA. For example we have a Sensirion air quality sensor that triggers a smart switch connected to a fan if the particulate level gets high when cooking. You can go a very long way with on/off to control non-smart devices, and your sensors don't need to be particularly accurate (like absolute PM2.5) as long as the conditon you trigger on is repeatable.

The only thing to think about is what hardware ecosystem makes sense for you. For example there's at least four different competing standards for connectivity (WiFi, Zigbee, Z-Wave, Matter/Thread, etc). So getting a Zigbee dongle isn't a bad idea because then you can connect any IKEA or Hue device (among others).

Larrikin•28m ago
Home Assistant is nice for this crowd in that you can actually use a real programming language to do the automations. I went with PyScript but NodeRed is very popular as well. No need for YAML
seanalltogether•2h ago
Automated blinds can also have a good effect on temperature control. In the summer you can have your south facing blinds automatically close when you leave the house to block out the sun.
TheKnack•2h ago
I have these on all of my blinds and they are amazing. You can sometimes get them on sale for $50-60 each. They come with a solar panel that keeps them charged. You can add a hub that makes them work with HomeKit.

https://us.switch-bot.com/products/switchbot-blind-tilt

xyst•2h ago
Person just wanted to automate a few "dumb" appliances but ended up building his own system (software and hardware) to do this.

I wish I had time to bike shed like this. Just learning, tinkering, and enjoying life.

asimpletune•2h ago
Does anyone know if something like this already exists for the heavy duty, built-in shutters they have in Italy? The kind that close and form a barrier over the window and are operated with a flat roll of fabric from inside.
notpushkin•1h ago
I’ve seen those somewhere in the Southeast Asia so I think I’ve got what you’re saying. The challenge would be to replace the stopper you currently have (because it’s hard to work around it with a motor) and replace it with something you can activate electrically.
patrickk•1h ago
They also have them in Germany. I used to have the manual "flat roll of fabric" in the past, and upgraded the entire rollers in the house to electric ones (I don't know if it's possible to only upgrade the fabric roll -> electric switch without upgrading the entire shutter).

After you have electric-controlled rollers, you can control them via any automation you want by installing a "Shelly Plus 2PM" device behind each switch.

I connect the Shellys to home assistant, and from there, trigger all the rollers to go down a certain number of minutes after sunset. They all rise at a certain time in the morning. You can always trigger them manually too, of course. ChatGPT can spit out very complex YAML for HA if you want to make life easier, your only limit is your imagination.

lultimouomo•1h ago
Yes, the keyword you are looking for is "tapparella motorizzata".
tayo42•1h ago
I need to figure something like this out. My bedroom has this arch window about 3-4ft wide that's over 10ft high that I've permanently blacked out so I can sleep in. I'd love an easy way to open it and get light in the day though.
ge96•1h ago
Funny I used that white magnetic encoder and now I see it everywhere
vanschelven•1h ago
I wondered what an "homebrew automated" was and by which mechanism it could blind the person who opened it...
ThrowawayTestr•1h ago
I love the choice of enclose.
KennyBlanken•31m ago
"I doubled up the relays feeding the main motor and the heating coil, which gives a lot more headroom on the amperage"

...That's not how that works. One of the relays is going to close first, and those set of contacts will take all the load. Similarly, one set is going to bear all the drama from breaking the connection (and with the motor, there's inductive kickback.)

The correct way to do this is to look up the motor rating for your relay and then size accordingly, not to do dumb shit like "oh I'll just double up these two relays."

Of course he fucks up and uses a resistor from mains to logic, too. Mains and logic should never, ever, ever come anywhere near each other. They're supposed to be physically isolated on a PCB, cutouts in the board, even.

Don't fuck with mains / appliances / HVAC / household water supply if you don't know what you're doing. This guy has no fucking idea what he's doing, and some winter day he's going to come home to a house that's 100 degrees inside and a flooded first floor (notice he didn't connect the water leak sensor?)

Home insurance is scummy, annoying, difficult and weasely in the best of circumstances. The second they figure out you had some chewing gum and duct tape hodgepodge running your dishwasher and that's what caused the flood, they will not only refuse to pay, they'll cancel your coverage on the spot.

Then you find out the joys of not having home insurance coverage on a house with a mortgage.

Edit: Holy christ I missed this part: "It seemed to be due to the push-on jumper cables either becoming too loose after years of jiggling or perhaps oxidizing and self-insulating a bit."

That is how you start a fire, people.