Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bxparks
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
151.
▲
by
bxparks
3y ago
I think computed-GOTO is easier to understand and more flexible than Duff's device, but computed-GOTO is not part of the C standard. It is sometimes available as a non-portable extension, e.g. https://gcc.gnu.org/online
152.
▲
by
bxparks
3y ago
I sold my RPi3B for the same price that I paid 6 years ago. No more unused Pi's in my drawer.
153.
▲
by
bxparks
3y ago
> It not only runs (included) ROM code from the HP-45, but also the HP-35 and the HP-80 I thought that ROM code is copyrighted and cannot be redistributed without permission. Maybe they got that permission from HP. The TI calculator emul
154.
▲
by
bxparks
3y ago
Dell Precision 77xx, 5750, 5760, 5770: https://en.wikipedia.org/wiki/Dell_Precision (No first-hand experience with any of those.) (Updated: to add more models.)
155.
▲
by
bxparks
3y ago
I didn't even realize that "Whatever" was the dismiss button. The Kill Sticky bookmarklet is your friend: https://alisdair.mcdiarmid.org/kill-sticky-headers/ There's a newer version, but it breaks a
156.
▲
by
bxparks
3y ago
I don't recommend doing this. I followed those instructions to the letter, and got a completely broken Nexus 7. I somehow managed to recover enough to reinstall the factory image, but it took many many iterations and blind shots in the
157.
▲
by
bxparks
3y ago
Can't believe someone downvoted your perfectly reasonable comment.
158.
▲
by
bxparks
3y ago
Ha, 125% for most things, except HN where I need to use 170%
159.
▲
by
bxparks
3y ago
You get an upvote for teaching me a new word today, "imprimatur". It looked like a typo.
160.
▲
by
bxparks
3y ago
Your TI calculator use 4xAAA batteries, yes? Why not use NiMH rechargeables instead of disposables? NiMH are so cheap these days that they pay for themselves after only a handful of recharge cycles. The other advantage of NiMH is that they
161.
▲
by
bxparks
3y ago
No you are not being irrational. Customs and Border Protection have been known to detain and force US citizens to reveal their passwords: https://arstechnica.com/tech-policy/2017/02/what-could-happe... The ch
162.
▲
by
bxparks
4y ago
The MacBook Pro 2015 (13 and 15) are amazing, but they have glued-in batteries. iFixIt says it would take 45min to 2h to replace, and it is rated "Difficult". It's the only reason why I won't buy them on eBay. https:&#x
163.
▲
by
bxparks
4y ago
I see 3 countries with negative DST in their RULE records: * Eire after 1971: https://github.com/eggert/tz/blob/main/europe#L526 * Morocco after 2019: https://github.com/eggert/tz&#x
164.
▲
by
bxparks
4y ago
My ~/.ssh/known_hosts used to look like that, but now it looks like the host part is encrypted? It looks like: |1|{base64-encoded-string?}|{another-base64-encoded} ssh-rsa AAA{long-string} This is on Ubuntu 22.04 (Linux Min
165.
▲
by
bxparks
4y ago
The best experience of stackoverflow is when I search a problem, and the top search result is a stackoverflow link, I click on it, and... it's been closed by the mods with no answer or pointer to a solution. "But I have the exact
166.
▲
by
bxparks
4y ago
That is a very interesting observation. I am starting to have a similar distaste for the visual noise caused by the ':' in my fully type-annotated Python code. This is particularly noticeable after spending a few weeks writing Gol
167.
▲
by
bxparks
4y ago
I crashed at 2499.1 mph by going sideways for a long long time. How accurate is your physics? If I hit orbital velocity, will I just orbit the moon? What if I hit escape velocity?
168.
▲
by
bxparks
4y ago
I went off screen, turned around and crashed at 394.6 MPH.
169.
▲
by
bxparks
4y ago
Awesome, the highest crash landing speed I was able to achieve was 97.7 MPH after about 20-30 attempts.
170.
▲
by
bxparks
4y ago
Yeah, I've been looking at those TI calculators for a few years, hoping to dabble in some Z80 assembly programming for nostalgia. I've also been eyeing their TI-92, 92II, 92Plus, and Voyage 200 series of calculators. They use the
171.
▲
by
bxparks
4y ago
Are there any readily available dev boards using these classic microprocessors (6800, 6502, 6809, Z80) that have the various peripherals (UART, serial USB, flash and static memory) already installed? A quick search on Amazon or eBay did not
172.
▲
by
bxparks
4y ago
Your post is a great example why I wish Go lang was named something different. Because you use the lower cased versions java, rust, js, ts, nodejs, deno, etc. But all your 'go' refer to the verb, not the Go language.
173.
▲
by
bxparks
4y ago
As far as I understand, that's a consequence of the automatic insertion of trailing semicolon by the lexer, not a decision by gofmt. It's explained here: https://go.dev/doc/effective_go#semicolons
174.
▲
by
bxparks
4y ago
I find this useful in unit tests where I often find myself duplicating blocks of assertions multiple times. The {block} helps to prevent accidentally reusing variables which are defined by previous blocks of assertions. I rarely use a free-
175.
▲
by
bxparks
4y ago
Yup. I keep a cheap backup Android phone with Google Authenticator installed just for this purpose. Every time I add a 2FA code, I add it to the backup phone. I also print out the QR code, but a backup phone is far more convenient. I droppe
176.
▲
by
bxparks
4y ago
The macOS version of GNU Make is stuck at 3.81, which I discovered does not print the information needed by vim's quickfix feature when traversing subdirectories using `make -C`. Installing the latest version of GNU Make (4.4) using `b
177.
▲
by
bxparks
4y ago
I map 'S' to this in my .vimrc: nmap S :wall<cr> which saves all changed buffers into their respective files. It is probably the single most productive customization in my .vimrc file. I save my files very often, an
178.
▲
by
bxparks
4y ago
I don't have an iPhone, so I would say that the lightning symbol and the plug icon means the cable is connected and charging.
179.
▲
by
bxparks
4y ago
You are not wrong about WiFi. But sometimes worse is better. :-) With WiFi, I don't need any other technology stack, no hubs, no bridges. I can use my existing network infrastructure. The data packets from the ESP8266 devices get deliv
180.
▲
by
bxparks
4y ago
People do say that WiFi reconnect can be done in 2 seconds, but I have never been able to achieve that myself on my network, no matter the signal strength. I tried static IP, static subnet, and various configs before going to sleep (to reta
More ›