Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jjnoakes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
511.
▲
by
jjnoakes
7y ago
Forget seeing random nudity, I don't even want to see a video of my husband's or kids' face on my phone unexpectedly. Why should my phone be displaying something chosen by someone else unless I explicitly opted to engage with
512.
▲
by
jjnoakes
7y ago
Don't worry, I haven't. And limiting it to contacts doesn't solve the problem.
513.
▲
by
jjnoakes
7y ago
I'd rather ignore a call by looking at my screen, seeing a name/number I don't recognize, and swiping it away. This sounds like I'd have to look at my screen and see something I potentially do NOT want to see before I ca
514.
▲
by
jjnoakes
7y ago
People may do it wrong in rust but I personally like that rust gives me the tools to handle errors in my preferred way: explicitly passing them up the stack with minimal verbosity (using ?) or explicitly having to handle them in some way. I
515.
▲
by
jjnoakes
7y ago
It seems quite doable to handle "shirt without stripes" in the following way: 1) Gather all items labeled as "shirts" (among other labels) 2) Filter out any labels that includes "stripes" A shirt doesn't h
516.
▲
by
jjnoakes
7y ago
They are different though - shirts with patterns (hawaiian, tie-dyed, etc) are "shirts without stripes" but they are not "solid-colored shirts".
517.
▲
by
jjnoakes
7y ago
I just searched google images for "cheese" and "cheese without holes" and I got roughly the same results (about 1/3 of the images had holes in both cases).
518.
▲
by
jjnoakes
7y ago
I personally like a conversation bubble as a reply icon.
519.
▲
by
jjnoakes
7y ago
Whoops! I was indeed talking about the animation in the video, my mistake.
520.
▲
by
jjnoakes
7y ago
There's a solid dodecahedron with a cube-shaped hole removed from it, and unfolding that dodecahedron to remove the cube from the cube-sized hole gives 6 "flaps" but none of them are flat, each is a piece of the solid part of
521.
▲
by
jjnoakes
7y ago
Any languages explore both? Compile to native and run with a jit which profiles and optimizes further based on runtime behavior?
522.
▲
by
jjnoakes
7y ago
Sure, but when reading code you didn't write, you have a whole list of things you need to spend extra time on - the style, the way functions are broken up, how data types are organized... if you come across one or two new language feat
523.
▲
by
jjnoakes
7y ago
I don't think this is true, is it? Most mathematical models I've seen definitely have a much lower number of total infected when the curve is flattened significantly.
524.
▲
by
jjnoakes
7y ago
Now you're entering a bit of a philosophical or subjective area in my opinion - I personally would want any code which is incorrect by construction to fail to compile (if possible) even if it was impossible to reach the code in questio
525.
▲
by
jjnoakes
7y ago
For me: the ability to self-host and the ability to read through the code.
526.
▲
by
jjnoakes
7y ago
print vs print() is what I think the parent comment was referring to.
527.
▲
by
jjnoakes
7y ago
It is possible that the compiler simply rejects any definition of a function that has a use after free, which would both uphold the compiler's claim and also not prove or disprove the goldbach conjecture.
528.
▲
by
jjnoakes
7y ago
I personally would want code like this flagged by static analysis. I would fix the code by not calling free in the second 'if' body if needfree was already false (just like the call at the end of the function is guarded).
529.
▲
by
jjnoakes
7y ago
Thanks; I was aware of this but last I checked it only supports a subset of LLVM (whatever Julia needed).
530.
▲
by
jjnoakes
7y ago
I wonder how much it would cost to sponsor compiles-via-c support. I'd love to use zig-the-language but I need to compile for platforms that LLVM does not support, so I would need to use the native C toolchain (assembler/linker at
531.
▲
by
jjnoakes
7y ago
The 1.7m was pre-rewrite and the quote about using os libraries was post-rewrite; it doesn't prove they counted the libraries in the 1.7m metric but it does imply they bundled more before.
532.
▲
by
jjnoakes
7y ago
If the language was meant to be run on unix machines for web services, it shouldn't support anything else in a half-done manner with silent errors and corruption. The situation as it is now is just poor language and/or library des
533.
▲
by
jjnoakes
7y ago
unlink(2) returns EISDIR (on Linux at least) if you try to unlink a directory. I'm not sure if you can still do it, but long ago you could unlink(2) a directory as root, but it was not a good idea since it did not recursively free up t
534.
▲
by
jjnoakes
7y ago
The article does mention one usage, near the end, starting with the text "The “abstract” socket feature..."
535.
▲
by
jjnoakes
7y ago
Does bigsudo have a license? I admit I only glanced quickly, but I didn't see one in the repository.
536.
▲
by
jjnoakes
7y ago
The whole state of the game doesn't need to be copied per se - if you use efficient functional data structures then only the parts of the state you modify are copied, the rest of the unchanged data structure is referenced directly.
537.
▲
by
jjnoakes
7y ago
In my experience static types increase my development velocity. I can make changes and find many bugs at compile time without writing tests. I still write tests of course but I have to write fewer, and I rarely waste time fixing trivial thi
538.
▲
by
jjnoakes
7y ago
I find one's point of view on the matter is largely colored by one's experience. For example, I personally love static types. In your example I would prefer modelling people as a list of structs, each one with a required "nam
539.
▲
by
jjnoakes
7y ago
You are close, but a little off. Your first citation is correct - we have to perform the usual arithmetic conversions. In your second citation, though, you missed the very first paragraph in your picture: > The integer promotions are per
540.
▲
by
jjnoakes
7y ago
Promotion rules are more complicated than just left to right. In this example both sides are promoted to int.
More ›