BehindTheBarrier

joined 1 year ago
[–] [email protected] 4 points 4 months ago (1 children)

Working on a blog(entirely for fun), found out the server backend, actix-web, does not handle early termination of a stream well. Wanted to stop an upload if the file size turned out to be too large, but you have to consume the entire upload before returning an error. If not the client will never see the connection close. I guess there is a way to check the size beforehand, but sucks that you can't stop a stream in progress.

Apparently a long standing issue.

[–] [email protected] 4 points 4 months ago (1 children)

It is not a defense of the manufacturers, but EVs are still damn expensive to make. And they are completely at fault for that too, because everyone except Tesla dragged their feet about making the EV transition.

[–] [email protected] 3 points 4 months ago

I'll take any birds like that, hell even crows, but I got seagulls and they scream from the top of their lungs at 5am.

[–] [email protected] 2 points 5 months ago

I use phone every day at office so I don't need to get the wallet out of my jacket when going to the canteen to buy lunch. It's literally the reason I started using my phone to pay. Too many times I forgot my card...

[–] [email protected] 11 points 5 months ago (1 children)

Easily achievable if you only take calls in working hours. Then all working hours will have more than average calls per hour for a day.

[–] [email protected] 19 points 5 months ago (2 children)

New car smell, it's awful. Sort of stale plastic if I were to describe it.

Amplified by long trips on bad roads as kid. Guaranteed to make you feel like vomiting on some sections. Now when I anticipate/pack for a trip I tend to smell that again even though I'm not even in a car.

[–] [email protected] 6 points 5 months ago* (last edited 5 months ago) (1 children)

It's not that universal, but we have named a few things "Engines", for example Balancing Engine. We also use services, but they are actually independent programs that performs jobs. Engine are used in other places, such as the ViewModels, or in the services.

We put them in the DomainModel project which most things reference though. That's were most basic functionality and shared resources end up if they are used across Client/Service/Backend projects. So Domain / DomainModel might be a thing to use as well, if you want a specific namespace for that kind of use.

[–] [email protected] 3 points 5 months ago* (last edited 5 months ago)

It's worth adding I greatly prefer MS Auth style authentication, since I don't have to find the right entry to read the Auth code and then write it on the other computer. Instead MS pops a notification and you either type or select the right number, verify with fingerprint and done. Much more convenient.

It often tells you what you login into and where you are attempt to log in from, so it's a few extra layers of security for those that have that awareness to check those details.

[–] [email protected] 5 points 5 months ago

A lot of external drives are just internal devices with another controller and casing around. I had a 4TB I used with my laptop, and tore apart the casing and just plugged it into my desktop when I built one. Unless you start hammering the external case around, the drive will be fine.

[–] [email protected] 7 points 5 months ago

Played a lot of rainbow six siege, where you have to shoot those 360° security cameras when you are attacking. So, now I'm trained to spot those on instinct.

[–] [email protected] 21 points 5 months ago (4 children)

Pretty sure that site is satire, iirc with some right leaning bias but my memory is vague.

So it's political ads, but at least fake politics :P

[–] [email protected] 8 points 5 months ago

Pretty much anything in katakana in Japan is loanwords.

Very interesting about flew markets though, Norway is the same as Sweden here.

view more: ‹ prev next ›