Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
feffe
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
feffe
5y ago
Yes, I'm probably wrong on the semantics of lock free. I should read up on that. My point was that maybe you can gain a factor of 2 by using atomic ops in a "lockless" fashion compared to mutexes but it still scales extremely
62.
▲
by
feffe
5y ago
It's a lock associated with the cache line that the atomic operation operates on. This is because they are built on top of the cache coherency mechanism, a synchronous blocking operation on the hardware level to implement an asynchrono
63.
▲
by
feffe
5y ago
A pet peeve of mine is calling something using atomic operations lock less. It's very common but once it click that atomic operations are just locks on the instruction level it feels very wrong to call most algorithms lock less. There&
64.
▲
by
feffe
5y ago
This is how I think about Go slices (may help other understand them). A slice itself is just a window into a backing array of fixed size. The slice carries three data members. The pointer to the backing array and its remaining capacity and
65.
▲
by
feffe
5y ago
The article is not about Go, although that was my guess before reading it as well.
66.
▲
by
feffe
5y ago
Maybe because blue is the most visible color against a white background, except for black? Like blue and black are the two most common pen ink colors.
67.
▲
by
feffe
5y ago
JPEG is quite old by now. The reason I shoot RAW is mostly to adjust contrast, saturation, white balance and recover some highlight and shadow details. If there where some lossy image format that recorded the image in YUV (or some similar c
68.
▲
by
feffe
5y ago
The core dump contains information for fault analysis. There is another aspect, C and C++ are not memory safe languages so the bug may not be particular logical (i.e. some kind of memory corruption). In these cases I actually prefer somethi
69.
▲
by
feffe
5y ago
I think so. Although I had a C64, I cut my teeth on programming the Atari ST in assembler. The 68k is so much nicer to program than the 6502. The graphics and sound capabilities of the x16 is more in line with a turbo charged Atari ST or Am
70.
▲
by
feffe
5y ago
The memory latency hiding also works with 2-way SMT. I worked on a networking software doing per packet session lookup in large hash tables. SMT with a Sandybridge core in this application gave 40% better performance which is higher than us
71.
▲
by
feffe
6y ago
I don't think this is a good example of proving the point that Go is difficult to read. Isn't it expected to internalize the semantics of basic language primitives when learning a new language, or does people just jump in guessing
72.
▲
by
feffe
6y ago
These are my stats from 2 identical sticks of 250 GB Samsung SSD bought in the summer of 2018. So yea, Apple probably want to tweak some settings. I use my computer a lot, Linux more than the Windows install which is mostly for gaming. Wind