Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kragen
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
781.
▲
by
kragen
1y ago
Interesting, thanks!
782.
▲
by
kragen
1y ago
This is far from true in my experience. I'm no Lisp hater (I wrote a self-compiling compiler in Scheme) but different syntaxes have dramatically different degrees of familiarity, like Latin letters and Cyrillic. How long do you think
783.
▲
by
kragen
1y ago
In Python or Icon (or Unicon) that's lower_bound < x_coordinate < upper_bound except that usually you want lower_bound <= x_coordinate < upper_bound which is also legal. In Python this is a magical special
784.
▲
by
kragen
1y ago
For now. It will return unless we end the careers of the politicians who were grasping for such absolute surveillance powers.
785.
▲
by
kragen
1y ago
But if you apply a frequency-dependent phase shift to the triangle wave, nobody will be able to tell the difference unless the frequency is very low.
786.
▲
by
kragen
1y ago
Oh, it turns out that complex exponentials are the eigenfunctions of linear time-invariant systems, and sound transmission is full of linear time-invariant systems. So surely ears cannot be perfectly detecting sinusoids, but there's a
787.
▲
by
kragen
1y ago
The 50-cycle hum of the transformer outside your house. Tinnitus. The ≈15kHz horizontal scanning frequency whine of a CRT TV you used to be able to hear when you were a kid. Of course, none of these are completely nonlocalized in time.
788.
▲
by
kragen
1y ago
It's very unlike both of those, as the nice diagrams in the article explain; not only is what it is saying not obvious to you, it is apparently something you actively disbelieve.
789.
▲
by
kragen
1y ago
Yeah. But a really annoying thing about the STFT is that its temporal resolution is independent of frequency, so you either have to have shitty temporal resolution at high frequencies or shitty frequency resolution at low ones, compared to
790.
▲
by
kragen
1y ago
Many solutions to differential equations are thoroughly derived from the Fourier transform too, and so is Heisenberg's uncertainty principle. That doesn't mean they're the same thing.
791.
▲
by
kragen
1y ago
I think those bursts ("action potentials") happen at continuously varying times, though.
792.
▲
by
kragen
1y ago
> turning discrete samples into intensities at frequencies This description applies equally well to the discrete wavelet, discrete Gabor, and maybe even Hadamard transforms, which are definitely not, as you assert, "95–99% the sam
793.
▲
by
kragen
1y ago
You mean the desired position. If you were always picking the pixel closest to the desired slope , your lines would all be at multiples of 45°. I agree that the lack of division is surprising and beneficial.
794.
▲
by
kragen
1y ago
No, he's a competent programmer.
795.
▲
by
kragen
1y ago
Computer memory is already a big array. Probably what you are thinking of is that processing array items sequentially is a lot faster than following pointers, but in the cases I'm talking about, you end up using array indices instead
796.
▲
by
kragen
1y ago
blojo? Ask him and report back.
797.
▲
by
kragen
1y ago
Which one, Erlang, Lisp, or ML?
798.
▲
by
kragen
1y ago
Rust is not very suitable for functional programming because it is aggressively non-garbage-collected. Any time Rustaceans want to do the kind of immutable DAG thing that gives functional languages so much power, they seem to end up either
799.
▲
by
kragen
1y ago
I haven't actually talked with Henry Poole about the subject, but I'm pretty sure that was not his intent when he wrote it.
800.
▲
by
kragen
1y ago
Delighted to help! I've never implemented it myself.
801.
▲
by
kragen
1y ago
Yes, it does, although it's almost like horizontal microcode; it can do several things in a clock cycle other than the instruction itself. I didn't mean to imply that you could bitbang 100BaseT with a Padauk PFS150 or a PY32. The
802.
▲
by
kragen
1y ago
Heckbert's median-cut algorithm usually does a great job. See https://web.cs.wpi.edu/~matt/courses/cs563/talks/color_quant... . There's probably something improved since then, though.
803.
▲
by
kragen
1y ago
The US does in fact have customs and immigration laws; are you claiming that those laws were not properly passed, under some kind of anarchist or Sovereign Citizen kind of theory? Or that the State has not charged ICE with enforcement of t
804.
▲
by
kragen
1y ago
There are different levels of "counterfeit". There's the clearly labeled and advertised GD32F103 style clone which is pin-compatible, supports higher clock speeds than the original STM32F103, but takes much longer to power on
805.
▲
by
kragen
1y ago
I think zozbot was talking about the position and not the color, and they are correct that the positions of the pixels that get drawn in Bresenham are the nearest neighbors of the ideal positions, rather than having any sort of dithering ap
806.
▲
by
kragen
1y ago
I think that's probably true for Padauk's PFS150 and similar, but I think the 14¢ https://www.lcsc.com/product-detail/Microcontrollers-MCU-MPU... and the 9¢ https://www.lcsc.com/product-detail
807.
▲
by
kragen
1y ago
It's error-diffusion dithering. You maintain an error accumulator from one pixel to the next, which keeps track of your departure from the desired slope, and you make a diagonal rather than paraxial move when it overflows. (Or is tha
808.
▲
by
kragen
1y ago
I think it's reasonably common for accepting external contributions to an open-source project to be more trouble than it's worth, just because most programmers aren't very good.
809.
▲
by
kragen
1y ago
Thanks! I didn't know about Strimzi!
810.
▲
by
kragen
1y ago
That would be just an integrator connected to a digital pulse signal ("square wave"), wouldn't it? Like https://tinyurl.com/28tcwwqc ?
More ›