Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
211.
▲
by
nayuki
1y ago
I skimmed the article and agree with it at a high level, though I haven't faced most of those problems personally. I have several gripes with NumPy, or more broadly the notion of using Python to call a C/asm library that vectorize
212.
▲
by
nayuki
1y ago
> I'm a bit unclear on how that isn't just a multi-layer perceptron. What's different about a Boltzmann machine? In a Boltzmann machine, you alternate back and forth between using visible units to activate hidden units, an
213.
▲
by
nayuki
1y ago
Oh, this is a neat demo. I took Geoff Hinton's neural networks course in university 15 years ago and he did spend a couple of lectures explaining Boltzmann machines. > A Restricted Boltzmann Machine is a special case where the visib
214.
▲
by
nayuki
1y ago
The 2D version of this coding game would be tixy: https://tixy.land/ , https://news.ycombinator.com/from?site=tixy.land , https://news.ycombinator.com/item?id=43942881 , https://
215.
▲
by
nayuki
1y ago
> I'd like to find a way to repair QR codes in a reliable way. Consider reading up on https://www.nayuki.io/page/creating-a-qr-code-step-by-step And I highly recommend QRazyBox for manual painting with automati
216.
▲
by
nayuki
1y ago
I agree very much with what you wrote. > the lack of any form of pattern matching for control flow Growing features after the fact is hard. Look at the monumental effort to get generics into Go. Look at how even though Python 3.10 introd
217.
▲
by
nayuki
1y ago
This kind of low-level protocol manipulation of DRAM has some similarities to rowhammer attacks.
218.
▲
by
nayuki
1y ago
This reminds me of the reverse, where music drives 3D animations. I remember Animusic from the early decade of 2000. https://en.wikipedia.org/wiki/Animusic , https://www.animusic.com/ , https:/&#
219.
▲
by
nayuki
1y ago
The article is essentially an instance of the debate about hierarchical folders vs. tags for organizing a collection of files.
220.
▲
by
nayuki
1y ago
Make-work is not a virtue - see https://en.wikipedia.org/wiki/Parable_of_the_broken_window . People want transportation, not necessarily cars. Cars also contribute to an immense amount of misery in society - the financ
221.
▲
by
nayuki
1y ago
Are you sure that enabling ZGC or Shenandoah requires UnlockExperimentalVMOptions ?
222.
▲
by
nayuki
1y ago
> GC pauses aren't really acceptable Java has made great progress with low-pause (~1 ms) garbage collectors like ZGC and Shenandoah since ~5 years ago.
223.
▲
by
nayuki
1y ago
The content was alright but the fade-in animation of every single paragraph was annoying. This is a text article, not a startup company's marketing page! It was especially bad when I was hitting Page Down quickly to try to skim the con
224.
▲
by
nayuki
2y ago
We've come a long way from Benjamin Franklin flying a kite into lightning. https://en.wikipedia.org/wiki/Kite_experiment
225.
▲
by
nayuki
2y ago
Thanks for the investigation. Oops, it seems like MSan (memory sanitizer) is the appropriate tool that detects uninitialized reads? https://stackoverflow.com/questions/68576464/clang-sanitizer... I only use UBSan
226.
▲
by
nayuki
2y ago
The problem is that after calling scanf(), the number of variables that are defined is a variable number. For example: int x, y, z; int n = scanf("%d %d %d", &x, &y, &z); At compile time, you can make no i
227.
▲
by
nayuki
2y ago
> The compiler has no way of knowing that the memory would be undefined Yes it would. -fsanitize=address does a bunch of instrumentation - it allocates shadow memory to keep track of what main memory is defined, and it checks every read
228.
▲
by
nayuki
2y ago
Any sane language would design a list iterator to follow the order of the list. No, the difference is when you're iterating over orderless hash-based sets or maps/dictionaries. Many languages choose to leave the iteration order un
229.
▲
by
nayuki
2y ago
You can pay for those features in debug mode or in chaos monkey mode. It's okay to continue to not pay for them in release mode. Heck, Rust has this approach when it comes to handling integer overflow - fully checked in debug mode, sil
230.
▲
by
nayuki
2y ago
> all these findings prove that the bug is NOT an issue with Windows 11 24H2, as things like the way the stack is used by internal WinAPI functions are not contractual and they may change at any time, with no prior notice. The real issue
231.
▲
by
nayuki
2y ago
Agreed. The fact that a pixel is an infinitely small point sample - and not a square with area - is something that Monty explained in his demo too: https://youtu.be/cIQ9IXSUzuM?t=484
232.
▲
by
nayuki
2y ago
It's not a unit of information. How many bytes does a 320×240 image take? You don't know until you specify the pixel bit depth in bpp (bits per pixel).
233.
▲
by
nayuki
2y ago
Never mind anamorphic DVDs, all of them use non-square pixels. The resolution of DVD is 720×480 pixels (or squared pixels, referring back to the article); this is a 3:2 ratio of pixel quantities on the horizontal vs. vertical axes. But the
234.
▲
by
nayuki
2y ago
pixel^(-2) is "per squared pixel". Analogously, 1 pascal = 1 newton / 1 metre^2. (Pressure is force per squared length.)
235.
▲
by
nayuki
2y ago
Or the fact that a 1 megapixel camera (counting each color-filtered sensing element as a pixel) generates less information than a 1 megapixel monitor (counting each RGB triad as a pixel) can display.
236.
▲
by
nayuki
2y ago
Explaining the joke: In standard Western music's 12-tone equal temperament scale, the pitch class E-natural is exactly the same as the pitch class F-flat. Putting it another way, look at an F key on a piano, flatten it by one semitone
237.
▲
by
nayuki
2y ago
The site specifies a base font size of 12px. The better practice is to not specify a base font size at all, just taking it from the user's web browser instead. Then, the web designer should specify every other font size and box dimensi
238.
▲
by
nayuki
2y ago
> The speed of light in glass or fiber-optic cable is significantly slower, at approximately 194,865 kilometers per second. The speed of voltage propagation in copper is 224,844 kilometres per second. If I understand correctly, the speed
239.
▲
by
nayuki
2y ago
Vihart's YouTube now has exactly one publicly visible video: https://www.youtube.com/@Vihart/videos , https://www.youtube.com/watch?v=hmKix-75dsg "On Gender" [2015-06-08]
240.
▲
by
nayuki
2y ago
From a decade ago, I remember the Chinese-made PPLive software which distributes pirated TV streams through your peer-to-peer client software. https://en.wikipedia.org/wiki/PPTV
More ›