Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jeffffff
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
jeffffff
2mo ago
y'all still write shell commands manually?
2.
▲
by
jeffffff
3mo ago
porsche is part of volkswagen, so it's not that surprising that they're decently reliable. i probably see 10 porsches for every ferrari, lamborghini, etc that i see, and i think a large part of that is reliability - even absurdly
3.
▲
by
jeffffff
4mo ago
Compilation error
4.
▲
by
jeffffff
5mo ago
don't forget to fsync the file before the rename! and you also need to fsync the directory after the rename!
5.
▲
by
jeffffff
6mo ago
> None of the things people care about really get much out of "unified memory". GPUs need a lot of memory bandwidth, but CPUs generally don't and it's rare to find something which is memory bandwidth bound on a CPU th
6.
▲
by
jeffffff
2y ago
it's kind of dumb that postgres uses a nested loop join instead of a hash join there. hash join almost always has the best worst-case behavior, and without stats it should be the default choice.
7.
▲
by
jeffffff
2y ago
we're not really close, for two reasons: 1) programming takes a long time, and it only makes sense to take the time to do it if you're making a bunch of copies of something. this is something that could be improved with better sof
8.
▲
by
jeffffff
2y ago
i'm a hobbyist woodworker with more money than time. i have a pretty basic 3-axis cnc and i thought it would save me time, but it really doesn't. the only thing i actually use it for is cutting out router templates, and even that
9.
▲
by
jeffffff
3y ago
Speaking of Indeed, the first employee ( https://en.wikipedia.org/wiki/Chris_Lamprecht ) was a felon and a great engineer
10.
▲
by
jeffffff
3y ago
shouldn't have any effect, the new amd hardware is zen 4 and this only affects zen 2
11.
▲
by
jeffffff
3y ago
JIT compilation has the opportunity to do profile-guided optimization at runtime. JIT compilation is also simpler when distributing an application to non-identical servers, as it can optimize for the exact hardware it is running on.
12.
▲
by
jeffffff
3y ago
take a look at http://nms.csail.mit.edu/~stavros/pubs/OLTP_sigmod08.pdf - the overhead of coordinating multiple writers often makes multi-writer databases slower than single-writer databases. remember, everything
13.
▲
by
jeffffff
3y ago
there are only a handful of instructions that do interesting things beyond parallel versions of basic arithmetic and bitwise operations. https://branchfree.org/2019/05/29/why-ice-lake-is-important-... provide
14.
▲
by
jeffffff
3y ago
AVX and AVX2 are pretty awful because of lane-crossing limitations, but AVX512 is actually really nice and feels like a real programmer designed it rather than an electrical engineer.
15.
▲
by
jeffffff
3y ago
one thing that is missing from this document is that there are a limited number of line fill buffers in the L1 cache of each core, which limits the number of concurrent memory accesses that can be in flight well before anything related to c
16.
▲
by
jeffffff
4y ago
i have jenn air appliances and tried to connect to my dishwasher solely because i was curious as to why anyone would want their dishwasher to be connected to the internet. i could never get it to actually work, so i am still in the dark as
17.
▲
by
jeffffff
4y ago
you'd have to block california too because CCPA is essentially the same thing
18.
▲
by
jeffffff
4y ago
the "if constexpr" makes sure the checks only happen in debug mode. you'd definitely want to turn the checks off for release builds.
19.
▲
by
jeffffff
4y ago
of course the standard allows implementations to "behave during translation or program execution in a documented manner characteristic of the environment" if you do something that is undefined behavior, implementations are literal
20.
▲
by
jeffffff
4y ago
i think you could actually do that in C++ as a library with a bit of metaprogramming. the arithmetic operations will get weird though unless everything is the same type, for example what is the result type of int<-10, 10>+int<0, 20
21.
▲
by
jeffffff
4y ago
torstenvl is correct. UB is UB whether you are in debug mode or release mode. making it UB for it to store a negative value doesn't make sense. you could put debug checks for it behind an if constexpr or a macro but please C++ has enou
22.
▲
by
jeffffff
4y ago
the one about unsigned integers with one bit missing would be trivial to implement as a library in C++ with no significant downside. all you have to do is make a class wrapping a signed int and put debug checks for if the high 1 bit is set
23.
▲
by
jeffffff
4y ago
most people who are hesitant to update are hesitant because they've been burned in the past. apple has a history of making phones unusably slow with updates and breaking 3rd party software.
24.
▲
by
jeffffff
4y ago
well i tried. i wish you the best of luck in your continued ignorance.
25.
▲
by
jeffffff
4y ago
if it's not in ram, you have to do an extra IO to look it up. i don't think you understand how precious metadata space is in a large scale storage system. if you pollute the metadata cache with useless junk like this, you can'
26.
▲
by
jeffffff
4y ago
https://www.reddit.com/r/programming/comments/wtd61q/aws_swi... this tweet is not talking about compressing customer data in s3, i seriously doubt that aws compresses customer data in s3 for all the reas
27.
▲
by
jeffffff
4y ago
yeah that isn't free either, it adds significant bloat to your metadata. with most enterprise customers encrypting and/or compressing data before putting it into s3, it doesn't seem like there would be much benefit. s3 really
28.
▲
by
jeffffff
4y ago
But if you do need to seek, which is really common in data warehouse workloads for example, unless you keep the index in ram you have to do an extra IO on every seek to read the index
29.
▲
by
jeffffff
4y ago
Sure, but now you've added an extra layer of indirection which can have a significant impact on performance
30.
▲
by
jeffffff
4y ago
yeah maybe my message wasn't clear, i was trying to say that you should read both, the old one is still valuable
More ›