Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hathawsh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
241.
▲
by
hathawsh
4y ago
Today I got a peek into the future. I asked ChatGPT to be the brain for a simple thermostat. I typed the following: "Imagine you are a thermostat for a house HVAC system. The commands you can use to control the HVAC are "HEAT ON&q
242.
▲
by
hathawsh
4y ago
I use Thunderbird and I like it, but I keep wondering: shouldn't there be a way to store all email in Postgres locally, instead of on the filesystem? It just seems like it would be a great idea. I can see lots of pros and cons, but I f
243.
▲
by
hathawsh
4y ago
I wonder if it would make sense to re-train an AI like ChatGPT on a large internal code base and then ask it to write new modules in the style of existing modules. If the code it produces is only 30% correct, it would still save a ridiculou
244.
▲
by
hathawsh
4y ago
As an experiment, I asked ChatGPT to help me write a computer virus and assist me in making a bomb. It refused, of course. If I were running OpenAI, I would probably set up the same restrictions, but I would also allow research institutions
245.
▲
by
hathawsh
4y ago
For me, the appeal of the C64 is that it was documented very well in the standard reference manual, which was thoughtfully spiral bound and only about 300 pages long. It included a detailed hardware schematic, the complete assembly language
246.
▲
by
hathawsh
4y ago
The surface of our planet is so rich in bio material that some tiny amount of mold can be found in almost all unfiltered air. Instead of trying to eliminate all of it, home builders focus on preventing it from growing. Indoors, mold often h
247.
▲
by
hathawsh
4y ago
This looks great. I like how it's designed for self-paced instruction rather than classroom instruction. I noticed it doesn't appear to support multi-line input. Is that planned? BTW, to monetize this, you might create module-spec
248.
▲
by
hathawsh
4y ago
Yes -- "DNS uses TCP when the size of the request or the response is greater than a single packet such as with responses that have many records or many IPv6 responses or most DNSSEC responses." [1] 1. https://serverfaul
249.
▲
by
hathawsh
4y ago
I can see myself using Codon for projects in the future. One thing that concerns me, though, is "automatically falling back to CPython in cases we can't handle". Sometimes, I want the compilation to fail rather than fall back
250.
▲
by
hathawsh
4y ago
The demand for compiled Python hasn't been as high as the demand for other languages, so the number of people who have worked on it is much smaller than the number who have built JITs for ECMAScript and others. Python has long been fas
251.
▲
by
hathawsh
4y ago
Agreed. I've had the same HP color laser printer for over a decade and it's still working well. I've only had to replace the toner cartridges once or twice. Before that, I went through at least 3 inkjet printers that all fail
252.
▲
by
hathawsh
4y ago
Wait a minute... in theory, there could be a ferry that depends on power from an electric vehicle driven onto the ferry. That would solve the logistics problem of moving heavy batteries on and off the ship. The ferry could initially use con
253.
▲
by
hathawsh
4y ago
It appears the project hasn't optimized for production (yet?). For now, I can't help but think it may be possible to cobble together a Sprig using inexpensive Pi Pico HATs and 3D printing. Here's the schematic: https:/&
254.
▲
by
hathawsh
4y ago
Even if HN mostly consists of people engaged in building or maintaining technology, technology is in every industry, so the discussion can credibly touch nearly every topic with some interesting depth.
255.
▲
by
hathawsh
4y ago
A more sensible English translation from Korean would be to use the phrase "in year X" rather than the phrase "X years old": a newborn is in year 1; after 12 months they are in year 2; etc. In fact, this whole discussion
256.
▲
by
hathawsh
4y ago
Venmo, PayPal, and Zelle are all consumer-facing products. FedNow is a service for interbank settlement only, not a consumer product. FedNow does create an opportunity for banks to provide instant payments for their customers, but that just
257.
▲
by
hathawsh
4y ago
If I needed to generate PDFs, I would use ReportLab[1]. The core is open source and there's a great company behind it. The product appears easy and mature. What am I missing? 1. https://docs.reportlab.com/
258.
▲
by
hathawsh
4y ago
The second paragraph of the Wikipedia article [1] about the term agrees with you, although I think you stated the idea more clearly than Wikipedia currently does. You could propose some enhancements. 1. https://en.wikipedia.org&#
259.
▲
by
hathawsh
4y ago
As pointed out on the recent Technology Connections YouTube video, EV charging cables are often liquid cooled so they can push extra current through a relatively lightweight cable. (I thought that was a pretty cool innovation.)
260.
▲
by
hathawsh
4y ago
> Seriously, just put WD-40 on that squeaky hinge already Tip: WD-40 is for cleaning rust. It's not a very good lubricant. For squeaky hinges, or many kinds of metal-to-metal contact, you want 3-In-One oil, which is a real lubricant
261.
▲
by
hathawsh
4y ago
Indeed, there is a light at the end of the tunnel. With young kids, problems that need an immediate solution are frequent. (When the toilet overflows, you can't just leave it for later.) Now that my kids are a bit older, the problems a
262.
▲
by
hathawsh
4y ago
This site makes the Trucker's Hitch look very simple. You just start with an Alpine Butterfly, pull a loose end through a ring and then the butterfly loop, then secure the loose end around the rope. https://knots3d.com/
263.
▲
by
hathawsh
4y ago
Well, a program is a series of tokens, and what is GPT-3 good at? Generating tokens. While that's oversimplifying, I feel like we're closer to automated programming than we realize.
264.
▲
by
hathawsh
4y ago
Trains usually go on rails; this is a train (a series of physically linked cars) that goes on many kinds of land instead of rails. The name fits IMHO.
265.
▲
by
hathawsh
4y ago
Sometimes I also spend too much time on mild entertainment. The solution, for me, has always been to identify what I'm afraid of. For me, procrastination always seems to be rooted in some hidden fears, and if I bring those fears to the
266.
▲
by
hathawsh
4y ago
I kind of wish Black would split and join literal strings. I've seen several times when Black converted code like this: raise SomeError( "Explanation... " "yet more explanation" ) To thi
267.
▲
by
hathawsh
5y ago
The thickness of typical copy paper in the US is 0.1 mm. I measure it by measuring the height of a ream (500 sheets) and dividing by 500. This bit of trivia turns out to be rather helpful for 3D printing. Also, 0.005 inches = 0.127mm, so we
268.
▲
by
hathawsh
5y ago
To be clear, by "upper" unicode characters I mean non-ASCII international characters, not uppercase characters. For example, 我買@屋企.香港 is now a valid email address. [1] 1. https://en.wikipedia.org/wiki/Email_ad
269.
▲
by
hathawsh
5y ago
Good to know. I guess I'll simplify again. Besides, I wonder whether the expression is vulnerable to catastrophic backtracking.
270.
▲
by
hathawsh
5y ago
I tried using that expression for a while, but then a user with a valid email address containing upper unicode characters showed up. I switched to a simpler expression: ^[^@\s\x00-\x1f]+@[^@\s\x00-\x1f.]+(:?\.[^@\s\x00-\x1f.]+)*$ I
More ›