Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xiaq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
361.
▲
UTF-7
(en.wikipedia.org)
2 points
by
xiaq
11y ago
|
0 comments
362.
▲
by
xiaq
11y ago
It makes sense if you remove "where a character"... Or change it to "where a character is a Unicode codepoint". This is basically saying Python uses a fixed-length encoding (UTF-32) where each codepoint takes constant st
363.
▲
by
xiaq
11y ago
The switches are really confusing for me: white = on, cyan = off, which the opposite as I expected. The night/day toggle also seems broken - "Night" always get underlined. Firefox 38.0 here, if that matters. Nice stuff otherw
364.
▲
by
xiaq
11y ago
The next level is to run a Python implementation of JavaScript inside that...
365.
▲
by
xiaq
11y ago
Although DVCSs don't require a central repo to operate, the most natural workflow for most projects is still to have a central repo where everybody pulls and pushes. DVCSs still have many merits, even with that central repo. First, w
366.
▲
by
xiaq
11y ago
I should have used a more accurate word than "problem". There are two sorts of problems in science: coming up with assumptions and answering questions under these assumptions. I was thinking about the second category. Modeling gra
367.
▲
by
xiaq
11y ago
Exactly. We often have the idea of "solved problem" in science, but very few of them in software development (overgeneralizing a bit, any field of technology). This is probably because science is often about "what" (what
368.
▲
by
xiaq
11y ago
Cool ideas. We will probably end up with a better world if someone implements them, but I would argue that these "agile" things are much less important in scientific publications than in software development. Science and technolog
369.
▲
by
xiaq
11y ago
No. Say we choose 100ms as the (soft) deadline, since some study showed users consider a response time anywhere within 100ms to be "instant". Under light load, all requests are served within 100ms. Under heavy load, response time
370.
▲
by
xiaq
11y ago
Network service is a good example for soft real-time systems. Under high load, it is preferable to delay the responses a bit instead of starting to drop requests.
371.
▲
Abuse of notation
(en.wikipedia.org)
2 points
by
xiaq
11y ago
|
1 comments
372.
▲
by
xiaq
12y ago
Except that go is hardly a "new" system language.
373.
▲
by
xiaq
12y ago
It just happens that many a person gets bored and decides to watch a random desktop screencast, a fun with a history as long as reading DistroWatch articles. And OpenBSD (OPENBSD MAN!!) is a great excuse to make this fun appear less stupid
374.
▲
by
xiaq
12y ago
An irrelevant rant, but the map of China looks really, really ugly without the two southern islands, Hainan and Taiwan. It looks like a rooster without legs. At the very least, include Hainan, over which China's sovereign rights are in
375.
▲
by
xiaq
12y ago
1) NSA can access your communication. 2) Your dick pic communication is communication. Hence, NSA can access your dick pic communication. This is perfect syllogism. Sure, the conclusion is laughably dumber than proposition 1). But I won
376.
▲
by
xiaq
12y ago
> So basically if it doesn't influence your daily life and you have zero control over it, why should you care? I cannot really argue against this pessimistic picture of democracy. > I think that many in tech, who are acutely aw
377.
▲
by
xiaq
12y ago
This amazes me, but it saddens me more. On the one hand, I applaud the brilliance of John Oliver for presenting the NSA affair in an immediately alarming way and attracting the attention of the average people. On the other hand, people real
378.
▲
by
xiaq
12y ago
> Considering that Genghis Khan is probably an ancestor to most of the eastern half of eurasia, This is simply wrong. Maybe some 16 million. But that has also been more of a hypothesis. See http://clubtroppo.com.au/2012&#
379.
▲
by
xiaq
12y ago
> It seems even more unlikely, given that China has had so much interaction with the nomad peoples from Mongolia, Manchuria, and central Asia, who lived mostly off of their herds and milk-products. Dairy products never really made it int
380.
▲
by
xiaq
12y ago
Interesting. As a Chinese I have always wondered why lactose intolerance is so common in China but not in the west. Turns out I asked the wrong question :)
381.
▲
by
xiaq
12y ago
I am pleasantly surprised to find a Chinese sentence on the TARDIS Go website :) That sentence - "请发送一份汉语的电子邮件到作者" - is a perfectly comprehensible, but you can sound more Chinese. For the amusement of the Chinese-illiterate, I hav
382.
▲
by
xiaq
12y ago
Come on. Use common sense. Ask people around you whether they consider their government as a democracy. And Wikipedia can range from inaccurate to outright wrong about China. Use it as an academic reference and only believe what you actuall
383.
▲
by
xiaq
12y ago
You will be happy to know that the author is interested in adding Python support and has listed it as a potential GSoC project ( http://ideas.pencilcode.net/ ).
384.
▲
by
xiaq
12y ago
It is, for JavaScript and CoffeeScript. Additional adapters can also be created. Read http://ideas.pencilcode.net/home/htmlcss/droplet-paper.pdf :)
385.
▲
by
xiaq
12y ago
For anyone wondering about the similarity of the block editor (called Droplet) with Blockly, Scatch, etc., the author of Pencil Code has a good paper on Droplet and previous work: http://ideas.pencilcode.net/home/htmlcs
386.
▲
by
xiaq
12y ago
The block editor is Droplet: https://github.com/PencilCode/droplet . The author of Pencil Code has a good paper which outlined the history of block editors: http://ideas.pencilcode.net/home/htmlcss&
387.
▲
Pencil code
(pencilcode.net)
182 points
by
xiaq
12y ago
|
28 comments
388.
▲
Processing
(processing.org)
1 points
by
xiaq
12y ago
|
0 comments
389.
▲
P5.js
(p5js.org)
3 points
by
xiaq
12y ago
|
0 comments
390.
▲
by
xiaq
12y ago
> About one-fifth of university-aged people in East Asia now have this extreme form of myopia, and half of them are expected to develop irreversible vision loss. Which means that 10% of university-aged people in East Asia are going to de
More ›