Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Rangi42
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
Rangi42
11y ago
Thanks for that info. I didn't know the module was written in C.
62.
▲
by
Rangi42
11y ago
I don't see what this improves over standard JSON. Just add a comma at the end of each line and wrap the whole Lines file in brackets, and you have a valid JSON file. You can petition spreadsheet makers to support this subset of JSON f
63.
▲
by
Rangi42
11y ago
HTTP/1.1: 1.53s, 1.97s, 1.32s, 1.65s, 1.48s = average 1.59s HTTP/2: 1.09s, 0.87s, 1.19s, 0.92s, 1.30s = average 1.07s The slowest of five HTTP/2 results is still faster than the fastest HTTP/1.1 result, and on average it
64.
▲
by
Rangi42
11y ago
I downloaded the source code on principle. It's good to know there are plenty of online copies.
65.
▲
by
Rangi42
11y ago
This wasn't a thorough deletion. The shadowsocks-iOS project has been switched to the 'rm' branch, but the 'master' branch still contains all the source code: https://github.com/shadowsocks/shad
66.
▲
by
Rangi42
11y ago
"An octopus is probably something like an unruly parliament of snakes ruled by a dog." —Andreas Schou
67.
▲
by
Rangi42
11y ago
> The Android emulator system images and developer preview system images have been updated for supported Nexus devices (Nexus 5, Nexus 6, Nexus 9 & Nexus Player) to help with your testing. The Nexus 7 is pointedly absent. Will they e
68.
▲
by
Rangi42
11y ago
This already is a nice template. Plain text that responds well to zooming by the user; default colors that are easy to read and make links obvious; a few important images that are large enough to see, but don't take up half the scree
69.
▲
by
Rangi42
11y ago
The highest one I see is a 94% tax on income over $200,000 in 1945. First of all, that was towards the end of a World War during which we developed an entirely new kind of bomb. Nothing our government is currently doing requires that level
70.
▲
by
Rangi42
11y ago
Rational fiction does not depend on the entire world being rational, only the main characters. Choosing to make the main characters unusually rational is no worse a sin than making them the "prophesied heroes of destiny," or any o
71.
▲
by
Rangi42
11y ago
In J, you can square a vector and get a vector of the squared entries. So "sum under square" really is doing "sqrt(sum(square(vector)))", and more generally "(a under b) x" does "b^-1(a(b(x)))".
72.
▲
by
Rangi42
11y ago
An analogy that might help morale about the reverse split: "Instead of each getting eight pizza slices (opening price $0.25, strike price $1), you each get one pie (opening price $2, strike price $8)."
73.
▲
by
Rangi42
11y ago
But then, to see what the allow-no-harm rule could accomplish in the face of a moral dilemma, he presented the A-robot with two H-robots wandering into danger simultaneously. Now how would it behave? ... In almost half of the trials, the A
74.
▲
by
Rangi42
11y ago
If you #define END as "return(0);}" and put "int main(){" at the bottom of basic.hpp, you can have a complete BASIC program with #include "basic.hpp" at the top as the only indication that it's C++.
75.
▲
by
Rangi42
11y ago
I disable any hardware in VMware guests that I don't need, like printers, speakers, or USB devices, to avoid exploits like this.
76.
▲
by
Rangi42
11y ago
Try substituting a particular action like "hit." It becomes easier to imagine: > If everyone hits everyone who hits them, then everyone is hit by everyone whom they hit. Or: "If everyone hits back, then everyone gets hit b
77.
▲
by
Rangi42
11y ago
Which is not actually meaningless. Technical features like "root user" or "wheel group of root-capable users" have political implications. From `info su` [0]: > Sometimes a few of the users try to hold total power ove
78.
▲
by
Rangi42
11y ago
"If Al Gore were so profoundly afraid of climate change, he wouldn't fly in a private jet or have a huge mansion with massive electrical consumption. Since he does those things, then he's obviously not convinced that human a
79.
▲
by
Rangi42
11y ago
How does the discovery that one culture's beliefs about medicine were less accurate than expected, make you think that a different culture's beliefs are more accurate? It's not like eastern and western medicine are binary o
80.
▲
by
Rangi42
11y ago
That makes more sense; I didn't think Perl was as slow as he claimed. You can even get a similarly-structured program in C with macro abuse and C99's compound literals: #include <stdio.h> #define NUMARGS(...)
81.
▲
by
Rangi42
11y ago
A straightforward translation of the first program to Python 3 runs in 11 seconds: digits = set(range(10)) def choose(choices, fn): for value in choices: fn(value) def guard(condition, fn):
82.
▲
by
Rangi42
11y ago
I made a table of all four possibilities: A_coin B_coin A_guess B_guess H H ? ? H T ? ? T H ? ? T T ? ? Then I tried to fill in the gues
83.
▲
by
Rangi42
11y ago
I expected that clicking on a easing function would use that function to transition to its detail page. Instead, it uses what looks like easeInOutQuint for all of them.
84.
▲
by
Rangi42
11y ago
There is value in doing your legal duty, even if some people think your duty is to do a bad thing. "I was just doing my job" is not considered a sufficient defense of Nazi actions because their actions were so terrible that being
85.
▲
by
Rangi42
11y ago
That screen looks too small for me to reliably input anything except bottom-left and bottom-right corner (1 bit per tap). In the long run it's probably easiest to learn a new input format. Some suggestions: • Draw a shape with your fin
86.
▲
by
Rangi42
11y ago
"The algorithm detects the face and then from there it can compress everything else but the face so that you keep the quality of the face while technically lowering the quality in a way that is not noticeable to the human eye." Th
87.
▲
by
Rangi42
11y ago
Right. A simple example to show that induction does not work to infinity: 0 < 1 For any natural n, if n-1 < n, then n < n+1 (proof: add 1 to both sides of the given inequality) By induction, for all natural n, n &
88.
▲
by
Rangi42
11y ago
This is a great idea! It didn't behave the way I expected with some URLs as input, though: http://example1.org/path/index.html http://www.example2.org/path/index.html http:/&#x
89.
▲
by
Rangi42
11y ago
Making something intelligent does not automatically give it desires. But as you said, there is every reason to expect that we would build AI to achieve our goals, which means making it (a) desire to achieve a goal we share and (b) intellige
90.
▲
by
Rangi42
12y ago
I had already set up our computer to mirror-reverse all websites for today, so ironically com.google looks normal.
More ›