Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xiaq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
181.
▲
by
xiaq
8y ago
Re. "null protection": It is kind of hard to fit non-nullable pointers into Go. The fact that non-nullable pointers do not have a natural initial value and always require an initial assignment is especially problematic in Go'
182.
▲
by
xiaq
8y ago
If I try to connect the facts presented in this article, I don't get to quite the same conclusions. Let me walk through the article: The article presents a chart of top investments. The top 3 are all in Malaysia, costing from $8.4B to
183.
▲
Elvish 0.12 Release Notes
(elv.sh)
1 points
by
xiaq
8y ago
|
0 comments
184.
▲
Tree-Sitter, a parser generator tool and an incremental parsing library
(tree-sitter.github.io)
1 points
by
xiaq
8y ago
|
0 comments
185.
▲
by
xiaq
8y ago
Function calls use stacks. It is not the same thing as heap allocation.
186.
▲
by
xiaq
8y ago
Since nobody has mentioned it, a French postman was known for building a palace with stones he picked up during work over 33 years: https://en.wikipedia.org/wiki/Ferdinand_Cheval
187.
▲
by
xiaq
8y ago
I don't dispute your principles. I do also believe that the benefits you argue for are likely marginal for much of the intended audience.
188.
▲
by
xiaq
8y ago
If the website were a static one it would make sense to make it separate pages (one era per page, for instance).
189.
▲
by
xiaq
8y ago
Heh, should have thought twice before posting that from a fairly high-end Android phone :)
190.
▲
by
xiaq
8y ago
As much as I would love to see websites working without JavaScript, that ship sailed years ago. What I call HTML fundamentalists - those who believe that content should be in HTML and JavaScript are for interactive features only - make up a
191.
▲
by
xiaq
8y ago
Amazingly well implemented website. * Works well on mobile * Does fancy tricks with scrolling without breaking normal scrolling behavior or turning into a performance nightmare * Good design and very readable (when many other websites see
192.
▲
by
xiaq
8y ago
Funnily enough, “cheese hotpot” is exactly how many Chinese call fondues.
193.
▲
by
xiaq
8y ago
The way I explained how "else" pairs with "if" in preceding inner block is more of a mnemonic device than anything; "logically" was probably the wrong word. Python is probably not as simple as some like to clai
194.
▲
by
xiaq
8y ago
It is useful when the "normal" flow is to terminate the loop early with a break. For instance, in a linear search algorithm: for x in li: if x == to_find: print("found") break else:
195.
▲
by
xiaq
8y ago
It is perhaps a niche use case here on HN, but as someone who regularly reads Chinese text, Retina has totally changed my reading experience. Pre-HiDPI you basically have to use a bitmap font (meh).
196.
▲
by
xiaq
8y ago
Thanks! The entire site is very interesting.
197.
▲
by
xiaq
8y ago
I cannot find the link now, but I remember reading a recent article saying that what VSCode does is basically storing some context information for each line. When input changes, the line is reparsed, and then the context provides enough inf
198.
▲
by
xiaq
8y ago
I get the quest for more elegant and powerful parsing techniques, but it seems that some very interesting real-world problems - mostly arising in code editors - don't get enough academic love: * Fast re-parsing when part of the input c
199.
▲
Microsoft vs. MikeRoweSoft
(en.wikipedia.org)
1 points
by
xiaq
8y ago
|
0 comments
200.
▲
by
xiaq
8y ago
> There isn't really a similar way of doing this for French and Spanish. You can't just take a Spanish work, pronounce it using a French pronunciation, and then voila have a French work. It's not even entirely clear for al
201.
▲
by
xiaq
9y ago
https://en.wikipedia.org/wiki/List_of_mathematical_symbols Also, if I were you, I would always look up introductory textbooks before trying to read math literature. The example you gave is conditional probability; any
202.
▲
by
xiaq
9y ago
Exactly. MVS may sounds weird at first, but in practice it works identically to having a Lockfile (which is becoming the standard these days), just simpler.
203.
▲
by
xiaq
9y ago
Tail call optimization is a neat idea, but I have always felt that it is too magical. You cannot opt out of it. Clojure's approach strikes a good balance: Clojure doesn't do TCO, but it gives you "recur" as an explicit w
204.
▲
by
xiaq
9y ago
A hopefull adequate comparison would be this: you are a technical lead of at a company, you get really really high pay and you have a lot of fellow engineers under your command. You get handed a legacy system, and there are all all kinds of
205.
▲
by
xiaq
9y ago
The industry does not lack programmers who can clean up technical debt or outright rewrite a legacy system. At least, I’m pretty sure that Apple doesn’t lack such programmers. A VP’s job is to find those people and give them the correct inc
206.
▲
by
xiaq
9y ago
> "It was slow, when it worked at all," Williamson said. "The software was riddled with serious bugs. Those problems lie entirely with the original Siri team, certainly not me." Wow. It those were his original words,
207.
▲
by
xiaq
9y ago
A module can contain multiple packages. You can have a dependency graph like F/a -> G/a -> F/b.
208.
▲
by
xiaq
9y ago
Pandoc's tex_math_dollars, tex_math_single_backslash and raw TeX mode makes it possible to fallback to TeX whenever you need: https://pandoc.org/MANUAL.html#math-input A Markdown -> LaTeX -> pdf pipeline was how
209.
▲
by
xiaq
9y ago
One thing not mentioned in the release note is that the plugin package now supports macOS: https://godoc.org/plugin Also, "[this package] has known issues" was removed from the doc.
210.
▲
by
xiaq
9y ago
It is more like polyfills that serve to defragment different shells and provide more modern constructs.
More ›