Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
krut-patel
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
krut-patel
4y ago
> TigerBeetle writes to disk for long-term storage But how does it determine when it should write to disk? Does every write to a potentially OOM operation get preceeded by a check? Take the case of a HashAggregate. The DB clearly cannot
2.
▲
by
krut-patel
4y ago
And I am not the only one :) https://old.reddit.com/r/Zig/comments/11vbiv1/the_curious_ca...
3.
▲
by
krut-patel
4y ago
Thanks for the pointers! > use a GeneralPurposeAllocator and setting "enable_memory_limit" and "requested_memory_limit" Interesting! I hadn't looked at GeneralPurposeAllocator too closely, but yes these seem like
4.
▲
by
krut-patel
4y ago
Will do, I have just been procrastinating too much!
5.
▲
by
krut-patel
4y ago
In case you were referring to the footnote, it suggests "freeing the input would not lower the printed memory usage". Let me know if you need a full explanation as to why.
6.
▲
The curious case of a memory leak in a Zig program
(iamkroot.github.io)
168 points
by
krut-patel
4y ago
|
74 comments
7.
▲
by
krut-patel
5y ago
> Github Dark is now a site native Personally, I still prefer the user style over Github's solution. I find the official black theme has too much contrast (it was probably made for amoled), and the bluish-black variant looks ugly to
8.
▲
by
krut-patel
5y ago
> (I work at Microsoft). Just in case you didn't know, since the SolarWinds debacle from last year, Microsoft has completely blocked authorisation for corpnet and other tools on anything other than enrolled devices. And since they o
9.
▲
by
krut-patel
5y ago
> the problem I have is that sometimes the devices lose sync with each other if they've been off for any length of time. Opening the KDE Connect settings typically fixes this, but it's not ideal! A slightly better solution I ha
10.
▲
by
krut-patel
5y ago
They have come up with a workaround for this. Instead of actively monitoring your clipboard in the background, there now exists a "Send Clipboard" button/intent that shares the current clipboard value with the other device(s)
11.
▲
by
krut-patel
5y ago
I'm someone who always tries to use the "right tool for the job", CLion for C/C++ (large projects), VSC for Rust (the inline type hints from Rust Analyzer are to die for), and ST for Python. I tried out the python exper
12.
▲
by
krut-patel
6y ago
"Open image in a new tab" to the rescue! The extension I use (Dark Reader) didn't force dark mode for images, which means I can see the labels just fine in these cases.
13.
▲
by
krut-patel
6y ago
I was looking for something similar (client side text search) and landed upon MiniSearch[0]. While it doesn't support some of the advanced features of lunr (like wildcard search), it was perfect for my needs. The accompanying blog post
14.
▲
by
krut-patel
6y ago
There's also confuse[0], used by beets. I've found it to be a good way to handle configuration when the end-user is not a programmer. [0] - https://github.com/beetbox/confuse
15.
▲
by
krut-patel
6y ago
I could swear I've seen challenges with night scenes (low light conditions) in the wild. Those were definitely not present earlier.
16.
▲
by
krut-patel
7y ago
> I can envision tools that allow a sign in a store front to change from "Coke" to "Pepsi" automatically. This was literally the project I worked on this summer, as an application of GANs for "image translation&q