Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mark-r
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
mark-r
1y ago
I would have thought such a simple combination would have been worked out much earlier. But I checked my 1993 copy of Robert Ulichney's "Digital Halftoning", and it only mentions 4. Floyd and Steinberg (1975), Jarvis, Judic
122.
▲
by
mark-r
1y ago
They don't make nostalgia like they used to.
123.
▲
by
mark-r
1y ago
Don't snakes find their victims more by smell than sight? Do they even see in color? It seems that "don't eat me" coloration might work for the newts.
124.
▲
by
mark-r
1y ago
This is great! Now where's the same thing for time zones?
125.
▲
by
mark-r
1y ago
Take a look at the way Python handles integers for an excellent example. Early Python integers had a limited range, similar to other languages. They also had a special type of integer with unlimited range, but it required special syntax t
126.
▲
by
mark-r
1y ago
Given the kind of scrutiny that Google faces from regulators all over the world, you can be 100% sure there is no physical record of the apology. They wouldn't allow it.
127.
▲
by
mark-r
1y ago
You're talking about the difference between Average amplitude and Peak amplitude. Yes, the peaks will be higher than the average, but not by a constant amount unless you're working with a pure constant sine wave. It will depend
128.
▲
by
mark-r
1y ago
My favorite comment: > But on the other hand I think it won't create terminators. Just some silly roombas. I watched a roomba try to find its way back to base the other day. The base was against a wall. The roomba kept running int
129.
▲
by
mark-r
1y ago
Looks like it was just for the convenience of specifying each color with 3 hex digits instead of 6. I doubt it was a requirement, just a nice to have. And the difference between 12 and 24 bits is negligible in this application.
130.
▲
by
mark-r
1y ago
USED to be a website? Aww, I did pretty well there - going to miss it.
131.
▲
by
mark-r
1y ago
Not to mention that it's almost impossible to make a living designing fonts.
132.
▲
by
mark-r
1y ago
True, but does it suffer in efficiency? I wish they had included the pure Python version in their benchmark.
133.
▲
by
mark-r
1y ago
Yeah, utcnow is completely broken. They should have fixed it when they created datetime.timezone.utc, but they didn't. The recommendation is to use datetime.datetime.now(datetime.timezone.utc) instead. utcnow should be deprecated an
134.
▲
by
mark-r
1y ago
Is there any part of the Python standard library written in Rust? I would see that as a big impediment to having Whenever adopted as standard.
135.
▲
by
mark-r
2y ago
But you had to read past 2/3 to find out how the book got its title. The bit in the beginning about the moon breaking into 7 pieces was just a bit of subterfuge.
136.
▲
by
mark-r
2y ago
No weirder than measuring things by feet.
137.
▲
by
mark-r
2y ago
I remembered Don Tarbell's name, but it took me a few minutes to remember why. I didn't read forward until I remembered it was the tape controller. But I didn't think he was so influential to be leading the article.
138.
▲
by
mark-r
2y ago
Some things in the real world simply take longer than milliseconds; this is not a failing. I'm working with a system that takes over 10 seconds to get a list of wifi access points, and you bet we throw up a spinner while that's h
139.
▲
by
mark-r
2y ago
How do you propose that punishment make the AIs "get better"? From their perspective they're already as good as they can be, based on their training.
140.
▲
by
mark-r
2y ago
Found it. The parameters are B=0 C=0.5458 in the Mitchell-Netravali formula to emulate Lanczos-3. It's not a perfect match, but I dare you to see the difference.
141.
▲
by
mark-r
2y ago
I don't know why they would have hidden the fact that smallpox was included, anti-vax wasn't a thing at the time. But I'll admit the possibility.
142.
▲
by
mark-r
2y ago
There's a pair of parameters that make Mitchell-Netravali nearly identical to Lanczos-3, but my grep-fu is failing me at the moment. I'll try to find it later.
143.
▲
by
mark-r
2y ago
I think what you're seeing is aliasing. You need to filter for the Nyquist frequency of whichever is smallest, the input or the output. When upscaling the input is always smallest so it's easy. But when downscaling you need to
144.
▲
by
mark-r
2y ago
They made a big deal of it, our entire elementary school got it at the same time. And they specifically said it was for German Measles, I don't think MMR had been invented yet. This would have been before 1970.
145.
▲
by
mark-r
2y ago
My upper left arm scar wasn't made by TB vaccine though, it was Rubella vaccine. I didn't associate it with aftereffects of the vaccine itself, it was the unique method of delivery - an airgun instead of a needle. Never seen tha
146.
▲
by
mark-r
2y ago
Thanks for digging that up! I'm quite sure that Jeff Atwood's blog is where I first heard about Fizzbuzz, but it never occurred to me that he had attributions.
147.
▲
by
mark-r
2y ago
A more generous interpretation is that they started writing this a week after the event, while it was still fresh, but didn't finish it until a month had passed. Or perhaps it was a week ago when they realized they had been ghosted.
148.
▲
by
mark-r
2y ago
I'm curious, when was the FizzBuzz problem invented? And how did it get publicized to the wider world? If you can come up with a URL the Internet Archive will probably have a copy.
149.
▲
by
mark-r
2y ago
Planes are safe because investigators were diligent about going to every crash and investigating to find the root cause. That's a lot more difficult when your evidence is dispersed to the stars or burns up on re-entry.
150.
▲
by
mark-r
2y ago
I've found the WCAG contrast ratio to be almost worthless. Unless you have a legal requirement to use it, I'd stay away.
More ›