Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
starmole
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
starmole
6y ago
This is pedantic BS that has nothing to do with the issue in the article. The article talks about a very specific issue of offsets in practice cases. This is equivalent to somebody talking about simple circuits and then complaining that &qu
32.
▲
by
starmole
7y ago
Much better curves for editing are k-curves (see http://faculty.cs.tamu.edu/schaefer/research/kcurves.pdf ) which are starting to pop up in all new Adobe tools also.
33.
▲
by
starmole
7y ago
That's a way to loaded and bait like question. Why not ask for "the most elegant snippet" instead? There are beautiful code bases like DOOM source or SAT solvers that are like super models beautiful. Complete and hard to impr
34.
▲
by
starmole
7y ago
That was the first thing that came to my mind as well. There are two definitions of what a hash function is, and they are almost always under specified. (1) Map key to an integer (2) Map key to a uniformly distributed integer In case of (1)
35.
▲
by
starmole
7y ago
84% - 0%: Non native speaker. Have to brag :) And I beat my native speaker partner who had 86% - 13% = 73%. :)
36.
▲
by
starmole
7y ago
The elephant in the room here is strong cryptography. We now have the technology that makes this kind of interop pretty much impossible.
37.
▲
by
starmole
8y ago
I hope you are just trolling. Homogeneous coordinates are for projection, not for selecting translation.
38.
▲
Ask HN: Good investment lawyer in SF
1 points
by
starmole
8y ago
|
0 comments
39.
▲
by
starmole
8y ago
This should be the top comment. INTEGERS are not a field. But that kind of makes the 0 choice worse? Even cpus always throw on integer divide by 0, so i don't really see the low level optimization. Does it enable some higher level opti
40.
▲
by
starmole
8y ago
Integers are perfectly fine in math. But they are not a field. Integers modulo something are also well understood in math - but again not a field.
41.
▲
by
starmole
8y ago
One thing this all seems to miss that this is about INTEGER division. So any field argument does not apply?!?
42.
▲
by
starmole
8y ago
Related: http://emilydamstra.com/news/please-enough-dead-butterflies/
43.
▲
by
starmole
8y ago
See also: https://www.jwz.org/hacks/youtubedown
44.
▲
by
starmole
8y ago
Meh? I tried to make a hole in the sphere, and the result was not pleasant.
45.
▲
by
starmole
8y ago
I worked at a few startups over ten years ago. As a SW engineer I had unique value to the company back then - me being able to hand optimize code better was what set the company apart from the competition. But SW has grown up a lot since th
46.
▲
by
starmole
9y ago
I'm not sure I follow. To me dithering comes from quantization. I don't think you should think of dithering in frequency space. https://bjango.com/images/articles/gradients/dithering-extre... Illust
47.
▲
by
starmole
9y ago
Two modern use cases where dithering is more important than ever: - Tone mapping hdr to display colors - Alpha style transparency in deferred rendering Also one case I heard about but don't know much details is audio. Dithering is impo
48.
▲
by
starmole
9y ago
I found the story: https://www.wired.com/2017/02/russians-engineer-brilliant-sl... And yes, PCG is harder to exploit in this way than the Twister, but you still really should not bet money on it!
49.
▲
by
starmole
9y ago
It still includes interactivity & scripting ( https://www.w3.org/TR/SVGTiny12/script.html )! Even audio etc.! So that's probably why it didn't get traction.
50.
▲
by
starmole
9y ago
As an engineer who switched to PCG: - PCG is not crypto, everybody should understand that. It's for simulation and rendering. - PCG mainly replaces Mersenne Twister which is in c++11. The Twister has a LOT more state and is a LOT slowe
51.
▲
by
starmole
9y ago
This showcases what's wrong with SVG: It does way too much! To be useful as a vector image format, there should be strict rules (and less cruft). Why is there no libsvg like libjpeg or libpng? Why have interaction as part of an image f
52.
▲
by
starmole
9y ago
This is interesting. How much of this is to blame on GIT? Getting used to big changes and no good graphical diff by default? In GIT command line it is easy to accept, but quite cumbersome to reject. So auditors tend to just trust by person,
53.
▲
by
starmole
9y ago
I'm trying my hardest to understand how this is a novel problem. Maybe somebody can help me? If I control the stack pointer and can write to where it points, I can write to arbitrary in process memory. Sure! Is that just valuable as a
54.
▲
by
starmole
10y ago
Adobe VoCo does something like that. Demo: https://www.youtube.com/watch?v=I3l4XLZ59iw
55.
▲
by
starmole
10y ago
https://www.reddit.com/r/BearJokes/ ... get your funny bone mauled!
56.
▲
by
starmole
10y ago
I got that. I think I provided a trivial way to do that. I might be wrong but how/why? Pick the new end point at p'(a) = curve(a), a[0..1], multiply the curve by 1/a. Same curve, new endpoint?
57.
▲
by
starmole
10y ago
"you can move an endpoint along the curve without changing the remainder of the curve" Is trivial true. Think of a curve as t(0..1)->p as a function. Change (0..1) to (0..a) with a<=1. It's the same function, just scale
58.
▲
by
starmole
10y ago
But isn't there a fundamental difference between labeling and compression? For compression I would like stable guarantees for all data. For labeling it is enough to do better. Think of the classic stereotype that all asian faces look a
59.
▲
by
starmole
10y ago
But there is also a long history of novel compression schemes loosing to fine tuned classic schemes in the general case. Remember fractal or wavelet image compression? On the other hand I like your sentiment - I am just be more cautious.
60.
▲
by
starmole
10y ago
Important quote from the paper: "The next challenge will be besting compression methods derived from video compression codecs, such as WebP (which was derived from VP8 video codec), on large images since they employ tricks such as reus
More ›