back
user profile
porridgeraisin
1,979karma·1,375submissions·March 26, 2023
recent activity (1,375 total)
comment
Will framework be able to do what ThinkPad $model did with the additional battery slot? Just curious, if anyone in the know is hanging around here. Is the 100wh FAA restriction across batteries?
comment
> 4000x worse You cannot compare using a technical metric a geofenced pre-mapped self driving technology and a general self driving technology. You can hate on their dishonest marketing all you lik…
comment
To be fair, the entirety of GP felt snarky to me, although I may be reading it wrong.
comment
Yeah of course the compositor can do anything, but that's completely useless. Community applications need to be able to do it. Such applications are easily the most popular productivity applicati…
comment
This should be possible on X11 using standard extensions. XCompositeRedirectWindow to render your window to a virtual buffer, get pixmap, bind pixmap to new croppedWindow as a GL texture, here apply a…
comment
vscode-server runs the LSP etc in the remote machine. The local machine is really just the UI.
comment
Yeah if index + count(*) works fine, then that is enough. This will usually not be a purely index-only scan though in practice, in MVCC databases. Since it sometimes has to inspect the actual row to s…
comment
In general counts are just so commonly needed in 1:N relationships. Specifically counts grouped by "status" of the object on the N side of the relationship. I've never seen a CRUD app w…
comment
The winner (financially, and DAU-wise) is not going to be the one that moves slowly because they are building a secure product. That is, you only need security when you are big enough to either have B…
comment
> aging ... UML Oh don't worry... they still cram that down our throats in CS undergrad in one of the courses.... Forget which one. I did my UG from 2020-24 ;)
comment
Yeah, I have a function `whoseport` which is just your subcommand. I usually manually type kill or whatever I want with `$(whoseport 3000)`
comment
Apart from the extra verbosity, what gives?
comment
Here the main issue is humidity. Even on low temp days (relatively speaking) if it's humid you usually need AC to be comfortable. And it's humid a lot of the time.
comment
> regularly over 20C I chuckled. Here in Chennai we (speaking for my family and a few others, I didn't ask everyone) set the AC to 24C when we use it, and don't really use AC when it'…
comment
Love this. Majority of concurrency in a usual web service is implemented using waitgroups IME (see below) This will greatly simplify it. var wg sync.WaitGroup
wg.Add(1)
go func(){
callServ…
comment
errgroup cancels the whole task if even one subtask fails however. That is not desirable always.
comment
55-60wh battery unfortunately. That cuts off 2.5hrs-ish of usage on linux, compared to 85wh laptops. Didn't hear great things about the build quality and touchpad although these were just reddit …
comment
I always wondered how routines like this work (not the activities themselves, but the timings) If you swim till 9.45, how are you out, bathed, dried, changed, home, and at your table by 10?
comment
I am still in the market for a laptop that a) has good linux drivers b) has a big battery ~80wh or more c) metal build d) good touchpad, screen, keyboard, e) strictly no dGPU. I genuinely don't…
comment
Actually I was also under OPs impression... can you tell me few specific problems with using rust for systems programming? BTW, I have only ever done something that resembles systems programming in C.
comment
Please do!
comment
> -l Whoops, lol. > on its own Yes.. I'm aware, but that's more options, unnecessary too, just compose tools.
comment
Whoops, lol. Well that's unfortunate.
comment
That is consistent though. Constants take type based on context, so 8 * time.Hour has 8 as a time.Duration. If you have an int variable hours := 8, you have to cast it before multiplying. This is also…
comment
How is it easy to have an overflow? time.Duration is capped to +- 290 years IIRC.
comment
Personally I never understood the problem with tar balls. The only options you ever need are tar -x, tar -c (x for extract and c for create). tar -l if you wanna list, l for list. That's really i…
comment
I wrote a small explainer on the typed-vs-untyped nil issue. It is one of the things that can actually bite you in production. Easy to miss it in code review. Here's the accompanying playground: …
comment
> std-lib Yes, My favourite is the `time` package. It's just so elegant how it's just a number under there, the nominal type system truly shines. And using it is a treat.
What do you mean…