Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ww520
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
391.
▲
by
ww520
3y ago
This brings back memory of one of my projects. After I had couple years of professional development under my bell, I started contract work on the side. I've done a project with a client and it was a success. They wanted me to tackle
392.
▲
by
ww520
3y ago
That was painful. Glad the alignment is fixed now.
393.
▲
by
ww520
3y ago
Was it how topology was invented?
394.
▲
by
ww520
3y ago
Go to hospital to get it checked out right the way. Go to ER if needed. Your body is desperately trying to tell you something. Listen to it.
395.
▲
by
ww520
3y ago
I have run Notepad++ with Wine on Linux before and it works well. Kate is awesome. It’s cross platform as well.
396.
▲
by
ww520
3y ago
This is a fantastic news. I got into Zig in the last two weeks and it has be a very pleasant language. The comptime is an ingenious invention. It enables type safe meta-programming and easy generic support, in the same language syntax.
397.
▲
by
ww520
3y ago
Does more exposure to sunlight help? I remember there’s UV light treatment that shines for a few minutes.
398.
▲
by
ww520
3y ago
F-35 is needed for its sensors, stealth, range, and weapons.
399.
▲
by
ww520
3y ago
iPhone has exceptional long lasting performance. I have a 5 year old iPhone and it still runs smooth like silk.
400.
▲
by
ww520
3y ago
Silicon is the perfect material for semiconductor. It has a low band gap energy between the valence band and conduction band. A small amount of energy, electricity applied to it, can knock its outermost valence electrons off and it becomes
401.
▲
by
ww520
3y ago
Sounds like the brain is doing garbage collection during sleep.
402.
▲
by
ww520
3y ago
Same here. I thought they sent that email out to incentivize me not to move to fiber. Turns out that FCC is the reason.
403.
▲
by
ww520
3y ago
Just this week I start looking into Zig. It's a joy to use the language. The compiler and the build tool come in one executable. Most of the needs to decide on the project structure are eliminated. The project scaffold including th
404.
▲
by
ww520
3y ago
Machines used to have limited memory. Distributed caching can utilize many machines to form the overall cache. Nowadays machines have plenty of memory with numerous cores and fast bandwidth. The need for large network of cache servers has
405.
▲
by
ww520
3y ago
Depending on how you do rendering, vanilla JS can be extremely fast. For most web apps, the initial layout and rendering take the biggest portion of the rendering budget. Subsequent changes are minimal and can be rendered very fast. If yo
406.
▲
by
ww520
3y ago
Based on the Windows CreateThread API [1], it doesn't say anything about memory synchronization guarantee. Does it do internally? [1] https://learn.microsoft.com/en-us/windows/win32/api/processt...
407.
▲
by
ww520
3y ago
CPU’s not running the main thread don’t care about the execution order of the instructions of the main thread. They only see their local caches of the same memory location got changed from 0 to 5, 5 to 0, and back to 5 repeatedly. When a ne
408.
▲
by
ww520
3y ago
See my last paragraph above.
409.
▲
by
ww520
3y ago
He just read OP's code, the C++/STL Standard, and the Microsoft Learn document and made that conclusion. That's a rather haste determination. Unless he read the actual Windows lock implementation and found a bug there, I do
410.
▲
by
ww520
3y ago
The main thread is running the child thread creation in an endless loop, repeatedly setting numThreads to 0 and to 5, back to 0 and to 5 again. Can the caches of the CPU's consistently keep up with the changes?
411.
▲
by
ww520
3y ago
The program has a bug. It's mixing atomic and non-atomic variables in the yield() checking loop. Non-atomic variables have no guarantee on cache consistency for different threads. This can cause the loop to run forever. struct
412.
▲
by
ww520
3y ago
Lock free has two advantages: the checking code can run in user mode and non-contested access is very cheap with just one instruction. To do it correctly, lock needs to be done in the kernel thus obtaining a lock requires calling into the k
413.
▲
by
ww520
3y ago
The second term is not a cross product. It's the exterior product (or bivector). Cross product only works in 3D. Exterior product can work in any higher dimension. A cross product of two 3D vectors is another vector, perpendicular to t
414.
▲
by
ww520
3y ago
SSD have very good bandwidth, in excessive of 10 GB/s. The bottleneck is often at the CPU. For a 10Ghz CPU, it can spend 1 cycle to process 1 byte. That’s the scale we’re at now. https://www.tomshardware.com/features&#x
415.
▲
by
ww520
3y ago
I have done a fair amount of Rust. The complexity is not in the borrow checker or lifetime. It’s in the combination explosion of the of generic, traits, lifetime, and constraints. When a struct takes on these, all functions and impls need
416.
▲
by
ww520
3y ago
RocksDB supports point query and range query. This only supports point query. Also I'm not sure whether FASTER supports transaction, as the paper didn't mention it.
417.
▲
by
ww520
3y ago
Does Kagi has an add-on system that allows 3rd party developers to customize their searching/indexing/ranking/etc?
418.
▲
by
ww520
3y ago
Does this affect voice only? Or affect both voice and cellular data?
419.
▲
by
ww520
3y ago
Land improvement is the easiest value creation. Turning unusable desert land into arable land creates huge long lasting benefits. The land has huge value increase. If the people doing the work are deeded the land, they become well off. Th
420.
▲
by
ww520
3y ago
Re2c only performs the tokenizing part, not the parsing part. Re2c should be able to run a regex to recognize N spaces and produces a n-space token. It will be up to the parser to use that to get the indentation of a statement.
More ›