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?
11mo ago·view thread
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…
11mo ago·view thread
comment
To be fair, the entirety of GP felt snarky to me, although I may be reading it wrong.
11mo ago·view thread
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…
11mo ago·view thread
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…
11mo ago·view thread
comment
vscode-server runs the LSP etc in the remote machine. The local machine is really just the UI.
11mo ago·view thread
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…
11mo ago·view thread
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…
11mo ago·view thread
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…
11mo ago·view thread
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 ;)
11mo ago·view thread
comment
Yeah, I have a function `whoseport` which is just your subcommand. I usually manually type kill or whatever I want with `$(whoseport 3000)`
11mo ago·view thread
comment
Apart from the extra verbosity, what gives?
11mo ago·view thread
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.
11mo ago·view thread
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'…
11mo ago·view thread
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…
11mo ago·view thread
comment
errgroup cancels the whole task if even one subtask fails however. That is not desirable always.
11mo ago·view thread
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 …
11mo ago·view thread
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?
11mo ago·view thread
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…
11mo ago·view thread
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.
11mo ago·view thread
comment
Please do!
11mo ago·view thread
comment
> -l Whoops, lol. > on its own Yes.. I'm aware, but that's more options, unnecessary too, just compose tools.
11mo ago·view thread
comment
Whoops, lol. Well that's unfortunate.
11mo ago·view thread
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…
11mo ago·view thread
comment
How is it easy to have an overflow? time.Duration is capped to +- 290 years IIRC.
11mo ago·view thread
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…
11mo ago·view thread
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: …
11mo ago·view thread
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…
11mo ago·view thread