Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
planede
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
691.
▲
by
planede
4y ago
Just avoid PDEP/PEXT on AMD before Zen3, it's there, but it's emulated in microcode and slow.
692.
▲
by
planede
4y ago
https://en.wikipedia.org/wiki/Decimal_separator#Digit_groupi... They use spaces or dots.
693.
▲
by
planede
4y ago
> you can't use portably use `char` to hold a UTF-8 code unit That's not true, in C++ a byte is guaranteed to be able to hold a UTF-8 code unit. https://timsong-cpp.github.io/cppwp/n4868/intro.memory#1
694.
▲
by
planede
4y ago
I would say that these are context-sensitive, but it doesn't seem to be analogue to C++'s most vexing parse. In the most vexing parse case all identifiers are resolved to the correct kind (type name or variable name), yet it is st
695.
▲
by
planede
4y ago
ebay is basically a second price auction, although not sealed-bid. I try to follow the strategy to bid my true value near the end of the auction, this is my only bid. I bid at the end to minimize the effect my bid has on other bidders. Then
696.
▲
by
planede
4y ago
Am I the only one who doesn't get the multi-cursor hype? Having said that I never used it, so maybe I'm missing out.
697.
▲
by
planede
5y ago
What I don't get that we now have all the DMARC infrastructure, that should in theory enable to use the reputation of domains instead of IP addresses, but apparently nobody cares, and your IP has to be reputable, no matter what.
698.
▲
by
planede
5y ago
I think the most important thing is that the commit message should capture the high level intent of the change. I write "intent", because the actual effect and "intent" can differ, and commit messages are immutable. It
699.
▲
by
planede
5y ago
Spaces are the lesser evil. Try newlines in file names. Also try having a directory that contains ":" in PATH.
700.
▲
by
planede
5y ago
You also have to distinguish between the architecture, and an ABI targeting a specific architecture. I believe x86 exception handling is nothing like this on gcc/clang.
701.
▲
by
planede
5y ago
It's also something that could be somewhat easy to get a lot of learning material for.
702.
▲
by
planede
5y ago
Maybe it's an installed color profile thing, and colors from different sources get interpreted against different color spaces? PNGs typically have a well defined color space (implicit sRGB, or explicitly specified otherwise), but the b
703.
▲
by
planede
5y ago
It still feels like that sRGB is accidentally better here, but a different, non-linear colorspace could outperform it for this case.
704.
▲
by
planede
5y ago
Yes, but if you scale to half size (in linear size), then the overall luminance could go down by 1/2*1/2=1/4, not more, not less.
705.
▲
by
planede
5y ago
You are right. I wonder if it would make sense for distros to put processes that are critical for interacting with your computer in a cgroup with 0 swappiness, so your computer remains responsive, even if some processes gets dog slow. Some
706.
▲
by
planede
5y ago
Many displays are not calibrated well to do that test justice. Also if you have a high DPI display, then the browser could already scale that picture for you, screwing with the test. You should display those images with image pixels matchin
707.
▲
by
planede
5y ago
Linear interpolation in the HCL space is not equivalent to linear interpolation in a linear colorspace. For example in a linear colorspace if the interpolation goes from saturated blue to saturated yellow, then the the interpolation goes th
708.
▲
by
planede
5y ago
SVG gradient is specified to do the interpolation in sRGB space by default . However officially SVG 1.1 supports interpolation in linear colorspace, but no browser implements it AFAIK. https://www.w3.org/TR/SVG11/