Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickcw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
nickcw
2y ago
I prefer to cut the connectors off with savage vengeance before tossing the faulty cable ;-)
122.
▲
by
nickcw
2y ago
> In technical terms, it’s basically a diode detector followed by a high-gain audio amplifier, which makes it safe to use without a risk of spurious harmonics or any other emissions from the (non existent) local oscillator. the down side
123.
▲
by
nickcw
2y ago
> But some environments are notoriously noisy. Many years ago I put a system using several Z80s and a PDP-11 in a steel mill. A motor the size of a house drawing thousands of amps drove the production line. It reversed direction every fe
124.
▲
Zen and the Art of Motorcycle Maintenance
(en.wikipedia.org)
1 points
by
nickcw
2y ago
|
0 comments
125.
▲
by
nickcw
2y ago
From the code in the issue // TODO: Make this actually random static int _initialSeed() => 0xCAFEBABEDEADBEEF; Oops.
126.
▲
by
nickcw
2y ago
Dijkstra's algorithm is used in the OSPF routing protocol which used to route traffic around large networks (think ISP internal network, or a large Enterprise).
127.
▲
by
nickcw
2y ago
I wonder if that includes the SFTP server component of openssh? If so it would be very useful for use with rclone. I back up my phone by running an sshd in termux then using rclone with sftp remotely. This works very well (until the phone d
128.
▲
by
nickcw
2y ago
The book makes a lot of things clearer than the film. Interestingly the book and the film were developed together by Kubrick and Clarke as a collaborative process. Usually the book comes before the film, but occasionally it comes after. I c
129.
▲
by
nickcw
2y ago
Debugging with print has one feature that debuggers will never match. You can send the binary or code with print/log statements to someone else who is experiencing the problem and get them to run it. Often I have to debug bugs I can&#x
130.
▲
by
nickcw
2y ago
I had a skim through the article in astronomy and astrophysics and I saw this > The ring’s appearance in the images reconstructed with different algorithms (MiRA and IRBis) lends support to it being real. However, as Fig. E.2 shows, the
131.
▲
by
nickcw
2y ago
I used to play conkers at school in England, however my children didn't. The reason? Schools have banned the game of conkers due to health and safety reasons. I asked my 17 year old this morning and he had never even heard of the game
132.
▲
by
nickcw
2y ago
Writing an rclone backend for borg is something I have wanted to do for a long time. However I found that the backends weren't well abstracted enough in v1 to make that easy. However for v2 Thomas Waldmann has made a nice abstracted in
133.
▲
by
nickcw
2y ago
The unique package is my top feature for go1.23. I've been experimenting with it in rclone. People often want to have millions of S3 objects in memory and reducing the memory used would be very desirable. I interned all the strings use
134.
▲
by
nickcw
2y ago
Apart from backwards compatibility, 32 bit apps can use less memory with half size pointers and ints than 64 bit apps.
135.
▲
by
nickcw
2y ago
Here is my favorite solution to this problem // CheckClose is a utility function used to check the return from // Close in a defer statement. func CheckClose(c io.Closer, err *error) { cerr := c.Close()
136.
▲
by
nickcw
2y ago
This is the DNS records expiring rather than the domain. On most providers DNS records are provided for free as part of having other services (eg a VM) so there is no incentive for the provider to nag you about your DNS records expiring. Th
137.
▲
by
nickcw
2y ago
I think the DNS provider is missing some due diligence. What happens is Alice creates some DNS records for example.com which is registered elsewhere. Everything is fine. At some point (maybe Alice forgets to pay the bill) the DNS records ex
138.
▲
by
nickcw
2y ago
That was a great read. All that linker wrangling is sure to break on the next version of go/rust/linker isn't it? I wonder if it would have been easier to disassemble the rust binary and turn it into Go assembly and use that.
139.
▲
by
nickcw
2y ago
Yes, I was thinking this would make a good basis for a Greg Egan story too.
140.
▲
Summary of Major Changes Between Python Versions
(nicholashairs.com)
84 points
by
nickcw
2y ago
|
22 comments
141.
▲
by
nickcw
2y ago
Here is an article on the Meta engineering blog about BOLT https://engineering.fb.com/2018/06/19/data-infrastructure/ac...
142.
▲
by
nickcw
2y ago
In libgmp I think the numbers have to be around 100,000 bits or 30,000 digits for FFT to be faster. https://gmplib.org/manual/Multiplication-Algorithms GMP has lots of other methods in between schoolbook multiplication
143.
▲
by
nickcw
2y ago
You can use this method to multiply long numbers together. The key insight you need is that polynomial multiplication is the same as normal long number multiplication without doing carrying. So suppose you have a 1000 digit number. You then
144.
▲
by
nickcw
2y ago
I'm not a big fan of auto generated commit logs - they just have too much noise in. You might as well look at the git history. Changelogs should be for users to read. I have a program which generates the first draft of the rclone chang
145.
▲
by
nickcw
2y ago
The main problem the method pointers solves for me is answering the question "can this object do X". The mere existence of a method you can type assert isn't enough. Returning a NotImplemented error isn't a great solutio
146.
▲
by
nickcw
2y ago
I used to use interface upgrades in rclone (a program which syncs your data to many different cloud providers) for all the optional features a backend (cloud provider) might have, for example renaming a file. However the proxy problem becam
147.
▲
by
nickcw
2y ago
If you are an electronics hobbyist but don't want to make/design your own surface mount boards (like me) there are lots of very accessible RP2040 boards at very low prices. I've used it in the Raspbery Pi Pico ($5) which come
148.
▲
by
nickcw
2y ago
I like this very much! pop is kinda like ! in FORTH and push is like @ so I think $foo would be more FORTHy as !foo and ^foo as @foo
149.
▲
by
nickcw
2y ago
James Maynard appears regularly on Numberphile so if you'd like to hear some accessible mathematics from one of the authors of this paper I suggest you check it out: https://www.youtube.com/playlist?list=PLt5AfwLFPxWJdw
150.
▲
by
nickcw
2y ago
Very interesting article thank you. Do you see this speeding up real world Go programs?
More ›