Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
curtisf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
by
curtisf
5y ago
> These are 3D virtual world environments and people are using (VIRTUAL CURRENCY) to build an online economy. They are trading property, buying virtual artwork and creating galleries, setting up clubs and meeting spaces, etc. What you&#x
92.
▲
by
curtisf
5y ago
I think the reasoning here is flowing backwards. The writer wants to believe that C is a well-designed language suitable for writing large programs (because programmers understandably use it that way; there's not really an alternative
93.
▲
by
curtisf
5y ago
I've been very curious about this too. I believe there are two basic approaches. The first is "lenticular lenses" -- the same technology used to make those shiny postcards that change depending on what angle you tilt them at.
94.
▲
by
curtisf
5y ago
No, Karatsuba multiplication is not linearithmic. Karatsuba multiplication takes time about n^1.58 (as opposed to n^2 in naive multiplication)
95.
▲
by
curtisf
6y ago
Sign language is not a way to speak English using your hands -- it is a distinct language with distinct grammar and distinct vocabulary. If you are born Deaf, you will not have the opportunity to natively acquire a spoken language. Our brai
96.
▲
by
curtisf
6y ago
TypeScript _does_ detect some such impossible conditions (like `x === 1`), so this omission is intentional. I think this is partly necessitated by one particularly large soundness hole in TypeScript, which is that expressions are typed as t
97.
▲
by
curtisf
6y ago
No, they are not functions in the mathematical sense. It's not that they don't cover the output space, they don't cover the input space.
98.
▲
by
curtisf
6y ago
There are libraries that do type-safe schema validation (an article I found in a quick Google is linked below). That you can do something so sophisticated is a testament to TypeScript's type system. However, if you were writing JavaScr
99.
▲
by
curtisf
6y ago
I really don't like seeing this cited as a "proof" that 0-based indexing of lists is better. It is too shallow and ignores too many important facets of the question. The main contrast Dijkstra is drawing is between closed and
100.
▲
by
curtisf
7y ago
You can't manipulate ASTs (ie, Zig code), but nothing stops you from parsing string literals however you want. For example, I wrote a PEG-like parser combinator library in Zig. Using it currently [looks like this]( https://gi