Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nickcw
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
nickcw
1y ago
I've used Smith charts many times on my NanoVNA analysing antennas, but despite being mathematically inclined I never thought of the complex plane mapping involved f(z) = (z − 1)/(z + 1) The Smith chart is useful to electronic eng
92.
▲
by
nickcw
1y ago
Ha ha! I did notice one use of the F-word. Then again if you understand Morse code you are probably happy to hear anything you understand in the chaos!
93.
▲
by
nickcw
1y ago
That is quite fun! Not a lot of people know morse code so there is a lot of QRM (man made interference). It is amazing how good the human brain is picking out signal from the noise. I did spot one other Ham a fellow Brit (G4) but didn'
94.
▲
by
nickcw
1y ago
Cost. The wiring for 48V can be a lot thinner than it is for 12V. As there is a square law involved for resistive heating it turns out that wiring for 48V can use 1/16th of the weight of copper as that for 12V. A switchmode converter c
95.
▲
by
nickcw
1y ago
I'm looking forward to the v2.7.0 - I think this will fix the glacial scrolling on Android which is great!
96.
▲
by
nickcw
1y ago
Hmm, Gaussian elimination over GF(2). Let's go! ...Some time later... This is quite hard! I think thinking about this puzzle as Gaussian elimination is not helpful! I think the controls would work better if you dragged the row/col
97.
▲
by
nickcw
1y ago
gcd(0x2200,0x7800) = 512 So some part of the chain with 512 byte buffer size corrupted the data. It doesn't look like a memory corruption but if this were my computer I'd run the equivalent of memtest86 on it. It looks like a fili
98.
▲
by
nickcw
1y ago
On my phone at least, the morse code audio is very wrong. The spacing between the elements is too long, so H sounds like EEEE etc.
99.
▲
by
nickcw
1y ago
From the f-strings PEP 498 https://peps.python.org/pep-0498/ > This PEP is driven by the desire to have a simpler way to format strings in Python. I think f-strings have become the thing they were trying to replace
100.
▲
by
nickcw
1y ago
I love errgroup, though I always use it like this g, gCtx := errgroup.WithContext(ctx) And then use gCtx in the g.Go function calls. That would have avoided the problem. Perhaps worth a submission to https://staticcheck.
101.
▲
Faced with £40B budget hole, UK public sector commits £9B to Microsoft
(theregister.com)
5 points
by
nickcw
1y ago
|
0 comments
102.
▲
by
nickcw
1y ago
This story definitely resonates with me. While I don't think we've ever merged a pr with ide files, we do merge the .gitignore part when people put them in their commits which has lead to growth over time... https://git
103.
▲
by
nickcw
1y ago
This has the potential to break rclone's oauth mechanism as it relies on setting the redirect URL to localhost so when the oauth is done rclone (which is running on your computer) gets called. I guess if the permissions dialog is sensi
104.
▲
by
nickcw
1y ago
You can do large multiplications with a convolution and do the carry afterwards. A convolution can be done with FFT, pointwise multiply, inverse FFT which is O(n log n) rather that O(n^2) for traditional multiplication. The bits in each lim
105.
▲
by
nickcw
1y ago
When you are looking through commit messages, "Why?", Is the question you want answered. The diff contains "What?" and "How?". Assuming that the commits in this repo were generated by this tool it is missing th
106.
▲
by
nickcw
1y ago
No `git rebase`? Here are my stats for my last 300 or so git commands from my history $ history | grep git | awk '{print $3}' | sort | uniq -c | sort -rn 71 log 44 show 34 diff 26 co # alias for checkout
107.
▲
by
nickcw
1y ago
In my opinion, not allowing circular dependencies is a great design choice for building large programs. It forces you to separate your concerns properly. If you get a circular dependency something is wrong with your design and the article d
108.
▲
by
nickcw
2y ago
I think Go (as a better C) addressed one of C's weaknesses - only being able to return one value. The C ABI is quite capable of it provided you dress it up into a struct, you just can't do it without defining that useless one off
109.
▲
by
nickcw
2y ago
The geometry will reduce the accuracy of the fix though as all the satellites will be in the same 8 degrees of the sky. I wish they had said in the article what the accuracy is!
110.
▲
by
nickcw
2y ago
After going through all the appliances in my Grandad's house and re-wiring them to have the correct mains plug pinout I can understand the reason for that law! It is actually quite difficult to wire up a UK mains plug really well!
111.
▲
by
nickcw
2y ago
Having mended a few toasters in my time I salute this effort. Cheap toasters are very difficult to take apart and mend. The toasting mechanism on this one looks great. Cheap toasters only last a few years before dying. Usually because someo
112.
▲
TrapC proposal to fix C/C++ memory safety
(infoworld.com)
1 points
by
nickcw
2y ago
|
0 comments
113.
▲
by
nickcw
2y ago
It sounds quite nice. It is also about the same bitrate as RTTY which was invented in 1922 and is still in use by radio amateurs round the world. Here is what that sounds like https://youtu.be/wzkAeopX7P0?si=0m0urX7sDp6Jojqe
114.
▲
by
nickcw
2y ago
Power = volts * amps Volts is as supplied by the utility company. Amps are monitored per rack and the usual data centre response to going over an amp limit is that a fuse blows or the data centre asks you for more money! The only way you ca
115.
▲
by
nickcw
2y ago
I wrote one in 68000 assembly on my Atari ST which implemented the life rules using bitwise logic. That meant I could do 32 cells in parallel in a kind of primitive SIMD! The most mind blowing algorithm has to be hashlife though. Well worth
116.
▲
by
nickcw
2y ago
Haven't seen a cgi-bin for a long time!
117.
▲
by
nickcw
2y ago
I feel like this ship has sailed. SQL has been around for more than 50 years and everyone who needs to generate it has already put that extra `if` statement in to suppress trailing commas. What annoys me far more often is the lack of suppor
118.
▲
by
nickcw
2y ago
I loved reading this write-up. It was a wonderful trip down memory lane. Writing a PASCAL compiler is very impressive. I only got as far as the assembler! In 1989 I designed and built a board with 3 transputers on it as part of my (physics)
119.
▲
by
nickcw
2y ago
Contexts implement the idea of cancellation along with go routine local storage and at that they work very well. What if for the hypothetical Go 2 we add an implicit context for each goroutine. You'd probably need to call a builtin, sa
120.
▲
by
nickcw
2y ago
I think this is the important part > Today we continue to see that benefit in regions where our diversity of customers helps convince regional telecoms to peer with us locally, continuing to drive down our unit costs of bandwidth If you
More ›