Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fizzynut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
fizzynut
4y ago
I'm curious why a lot of people get a 3x improvement. I get about 6.5-7x speed up, which suspiciously lines up with a 60hz vs 144hz framerate...
62.
▲
by
fizzynut
4y ago
Well, this paper found that a conservative underestimate of 15% of bugs would be saved through static typing: https://www.microsoft.com/en-us/research/wp-content/uploads/... I'm not sure what eviden
63.
▲
by
fizzynut
4y ago
I am curious for why people say this as in my experience when writing a function in a dynamic language that takes a variable as a parameter: The function will generally only work on a subset of types for given variable. If I don't chec
64.
▲
by
fizzynut
4y ago
It's like selling cigarettes to children using manipulative marketing specifically aimed at children like cute characters on the box and blaming the parents.
65.
▲
by
fizzynut
4y ago
Lots of people writing their own data structures and libraries should be a reflection of the different needs and diversity of the ecosystem, but if it's a reflection of difficulty then it tends to lead to a much narrower ecosystem. Tha
66.
▲
by
fizzynut
4y ago
Writing your own data structures allows you to write it to suit the specific needs/constraints of your problem/domain. Typically that means you get something that is significantly simpler, faster and with a different feature set.
67.
▲
by
fizzynut
4y ago
On the other hand, how do developers sleep at night after updating their dependencies as it will now be littered with new unknown vulnerabilities. The biggest correlated constant for bugs is that more lines of code = more bugs. As dependenc
68.
▲
by
fizzynut
5y ago
Something that works now and will continue to work for years without changing any code. To turn this on its head, if I'm creating a new product now, why invest time into an API where by the time the product would be ready with WebGL, i
69.
▲
by
fizzynut
5y ago
Maybe this article is way over my head, but is it not really simple? If my function to generate a circle is a simple for loop 0 to 2 PI. Then the inverse of that maps each point on the circle back to a line with points between 0 and 2 PI.
70.
▲
by
fizzynut
5y ago
In my experience Windows is the generally the best supported for general embedded work, video, graphics, audio, hobbyist, IDEs, etc. Linux has the best for server and server related hardware but is often pretty equal..ish? MacOS...has a mo
71.
▲
by
fizzynut
5y ago
Cheap tricks can create a much more responsive experience. Whenever a user interactable element will be ready in <~100ms, you can display it as ready now, because it is faster than the reaction speed of a human, which makes all interacti