Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pvillano
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
151.
▲
by
pvillano
2y ago
I try very hard to only commit code I understand.
152.
▲
by
pvillano
2y ago
A real pendant would handle collisions If Math.random() is truly uniform, it has about 53 bits of entropy. We can find the likelyhood of a collision with the birthday paradox ... the post ends here because WolframAlpha keeps choking on comp
153.
▲
by
pvillano
2y ago
I can say, infalsifiably, it will be computationally possible eventually
154.
▲
by
pvillano
2y ago
Speed cube robots are great for several reasons: * They move really fast * They necessarily look like science fiction reactors * if they jam the cube explodes
155.
▲
by
pvillano
2y ago
Ok but you shouldn't blast your eyes with the green light either?
156.
▲
by
pvillano
2y ago
Very helpful!
157.
▲
by
pvillano
2y ago
Very helpful!
158.
▲
by
pvillano
2y ago
How come {a:1}["a"] evaluates to ["a"] but ({a:1}["a"]) evaluates to 1?
159.
▲
by
pvillano
2y ago
TBT that guy that used a GET to open his garage door and found it randomly opening from pre-fetches(!)
160.
▲
by
pvillano
2y ago
That makes error driven development difficult. I think a compiler should attempt to emit one error message per human error
161.
▲
by
pvillano
2y ago
Looks like the word carries its original meaning non plus
162.
▲
by
pvillano
3y ago
It's maddening that they didn't check if it worked. It's like they don't care...
163.
▲
by
pvillano
3y ago
A landmine is an autonomous weapon. Landmines also kill a lot of civilians.
164.
▲
by
pvillano
3y ago
I think the codes follow the pattern 1111110xxxxxxx. 1111110 is the header, and xxxxxxx is the data. The program rotates the bit string until the first seven bits match the header. This always produces the same data because there isn't
165.
▲
by
pvillano
3y ago
Sometimes I use an anonymous scope instead of extracting a single use function. This is especially nice when you would otherwise have many parameters/returns
166.
▲
by
pvillano
3y ago
Donate your old phone and it will keep being used
167.
▲
by
pvillano
3y ago
I let out an "oh" so long and loud it revealed my location
168.
▲
by
pvillano
3y ago
I remember there was a writeup here of a bottled water brand that created N algorithmically generated unique designs. If you're doing something that scales linearly - inkjet/laser printing, textile manufacturing, 3d printing, etc.
169.
▲
by
pvillano
3y ago
It gets worse: parser differences can create security risks "An Exploration of JSON Interoperability Vulnerabilities" https://bishopfox.com/blog/json-interoperability-vulnerabili...
170.
▲
by
pvillano
3y ago
# Parsing JSON is a Minefield "The conciseness of the grammar leaves many aspects undefined. On top of that, several specifications exist, and their various interpretations tend to be murky." https://seriot.ch/proj
171.
▲
by
pvillano
3y ago
Is there a thing for a uniform API across multiple cloud service providers? Is that even a good idea?
172.
▲
by
pvillano
3y ago
For sharp bilinear, if you set the multiplication factor higher, it approaches nearest-neighbor. And, if the resolutions are very close, you still get softening on half the screen
173.
▲
by
pvillano
3y ago
Invoking Cunningham's, I'd guess it's memory mapped I/O occupying 0xE0000000 - 0xFFFFFFFF. That's the top ⅛ of the address space, which is every binary address starting with 111. In researching this I learned that s
174.
▲
by
pvillano
3y ago
The stork's last thought being "again???"
175.
▲
by
pvillano
3y ago
Does "common" hardware support nonstandard exponent lengths for floats?
176.
▲
by
pvillano
3y ago
We (consumers) don't need it, but companies like the idea of complete control over an app you never leave
177.
▲
by
pvillano
3y ago
Don't worry, the kids are on it
178.
▲
by
pvillano
3y ago
You can totally define division by zero. "There are mathematical structures in which [dividing by zero] is defined. [...] However, such structures do not satisfy every ordinary rule of arithmetic (the field axioms)." https:/
179.
▲
by
pvillano
3y ago
I could also imagine dumping binary to a file and expectingb the hashes to be equal.
180.
▲
by
pvillano
3y ago
The paperclip maximizer is a thought experiment described by Swedish philosopher Nick Bostrom in 2003. > Suppose we have an AI whose only goal is to make as many paper clips as possible. The AI will realize quickly that it would be much
More ›