Ask HN: What did you find out or explore today?
21–30 of 446 posts
Re: Ask HN: What did you find out or explore today?
#22Re: Ask HN: What did you find out or explore today?
#23I found out I can automate my 5,12kWh house battery through local-only RS485 connection, and directly setting registers using ModbusTCP from Home Assistant. I then drafted an automation with hysteresis and damping that tries to aim for Net-Zero export/import (pv surplus/grid). It appears to work!
Re: Ask HN: What did you find out or explore today?
#24I found out today that the location header of an HTTP redirect can be a tel:+ URI and phone's will actually ask you whether you want to call that number.
Links can have that as their href and it will also work as you'd expect. It's the telephone equivalent of the more well-known mailto: scheme
Re: Ask HN: What did you find out or explore today?
#25Re: Ask HN: What did you find out or explore today?
#26The funny part is how far the mathematical version of the problem is from what measuretocut.com actually needs to output. In reality you have kerf, ugly offcuts, and the fact that nobody wants a cutting diagram that looks like a circuit board. We really have to take into consideration a 2nd optimization, it needs to be an output that a person in a shop can glance at and immediately understand.
Re: Ask HN: What did you find out or explore today?
#27I don’t even want to use it, I just want to get legacy code building on a modern version of Vite without rewriting a couple thousand lines of code. Aaaargh
Re: Ask HN: What did you find out or explore today?
#28Re: Ask HN: What did you find out or explore today?
#29That lodash-es doesn’t ESM lodash/fp, which means there is no straightforward way of using it with Vite after version 5. God help me. I don’t even want to use it, I just want to get legacy code building on a modern version of Vite without rewriting a couple thousand lines of code. Aaaargh