HackerTrans
TopNewTrendsCommentsPastAskShowJobs

gobblegobble2

no profile record

comments

gobblegobble2
·7 mesi fa·discuss
Do you have a domain name registered with them? It may be just RDRP mandated by ICANN, not KYD.
gobblegobble2
·anno scorso·discuss
The delay is certainly frustrating. I use a patched version of kitty terminal that moves starship prompt to the bottom of the window, similar to vim and emacs. Since modeline updates are asynchronous, the shell prompt is very snappy even in big git repos. The downside is that you have to patch kitty and I never bothered to test my personal pet project on anything else than Linux.

https://github.com/mbachry/kitty-modeline
gobblegobble2
·anno scorso·discuss
This is amazing. Thank you!
gobblegobble2
·anno scorso·discuss
Same and it's my favourite Kobo feature. I hope Mozilla releases Pocket source code for people willing to self-host it. Kobos are highly hackable and I'm sure the community will find a way to change getpocket.com domain in the built-in Pocket app, even if Rakuten chooses not to provide this option.
gobblegobble2
·anno scorso·discuss
The article says "[she] was told she should have applied for a working visa, instead of a tourist visa", so it's fair to assume she had a proper B2 tourist visa, which lets you stay for 6 months.
gobblegobble2
·anno scorso·discuss
It may work for top, but not ps among others. The only reliable way is clobbering argv. That's just the way it is. In my opinion, glibc should finally provide setproctitle(), so programs like postgresql or chrome (https://source.chromium.org/chromium/chromium/src/+/main:bas...) don't have to resort to argv hacks.
gobblegobble2
·2 anni fa·discuss
> Fortunately, despite the scary log entries showing attempts to change privileges and delete critical folders, it seemed that all the malicious activity was contained within the container.

OP can't prove that. The only way is to scrap the server completely and start with a fresh OS image. If OP has no backup and ansible repo (or anything similar) to configure a new home server quickly, then I guess another valuable lesson was learned here.
gobblegobble2
·2 anni fa·discuss
Supported by both gcc and clang, so portable enough for most people. I also like glib's cleanup attribute wrappers: https://docs.gtk.org/glib/auto-cleanup.html.
gobblegobble2
·2 anni fa·discuss
It's not an extension. It's a standalone app that connects to postgres and listens to a replication stream.
gobblegobble2
·2 anni fa·discuss
> Notably I thought the issue would be the throwing of `std::bad_alloc`, but the new version still implements std::allocator, and throws bad_alloc.

The new version uses `FMT_THROW` macro instead of a bare throw. The article says "One obvious problem is exceptions and those can be disabled via FMT_THROW, e.g. by defining it to abort". If you check the `g++` invocation, that's exactly what the author does.