138 lines
9.5 KiB
Plaintext
138 lines
9.5 KiB
Plaintext
|
CoreFusionX said I think it's just psychological manipulation by phone manufacturers.
|
||
|
|
||
|
The battery gauges in cellphones are manipulated in a way to please our small monkey brains.
|
||
|
|
||
|
Battery charge and discharge is not linear, and if your gauge weren't manipulated, that last 4% would last 20 times more than the first 4%.
|
||
|
|
||
|
But since it's manipulated to show in a more linear way, it's likely the phone was on its last legs for real.
|
||
|
|
||
|
The arbitrary prohibition on the torch? Probably some random crapple-like decision to justify some retarded marketing point about battery life...
|
||
|
|
||
|
I mean, my lineage OS displays real battery charge and I've had the last 1% last for more than one hour.,@Biggy
|
||
|
|
||
|
Hungarian notation mainly. Fucking hate it XD,Naisu.
|
||
|
|
||
|
BMW kicked ass but after shadow of the erdtree I had to purposefully gimp myself by not using magic or transformations because otherwise everything would fucking keel over in a minute.
|
||
|
|
||
|
Good thing too, so final boss wouldn't cockblock me XD,Dunno if it the same case, but it also happens to me with my wallet or keys sometimes.
|
||
|
|
||
|
From what I understand of anatomy, it doesn't need to be a pointy object (or at least not a needle-like object).
|
||
|
|
||
|
It just so happens that while you walk your gait makes it so the object repeatedly strikes the same point on your skin, and therefore the brain interprets it as something poking a needle there.
|
||
|
|
||
|
It doesn't happen when you change pockets because gait isn't symmetrical.
|
||
|
|
||
|
Also, the pain sensation even when the phone is on the desk and you are sitting is likely to be psychosomatic, just like phantom limb pain.
|
||
|
|
||
|
Of course, take this with multiple grains of salt since it's only an (educated) guess from me and my physiotherapist, doctor, and psychiatrist cousins.
|
||
|
|
||
|
A sample size of a few isn't at all representative.,@bazmd
|
||
|
|
||
|
Yeah, I think either you or the machine got the royal flush and poker chances/payoff switched up.
|
||
|
|
||
|
@retoor
|
||
|
|
||
|
I'm Spain at least slot machines are required by law to both:
|
||
|
|
||
|
- pay off at least 70% of income in prizes.
|
||
|
- have at least one "jackpot" every 20000 plays.
|
||
|
|
||
|
Of course, the whole "at least" is stupid, because obviously they adjust for the minimum always.,As per the json spec you don't have any limits really, so it all comes down to who is doing the marshalling.
|
||
|
|
||
|
If using SAX parsers you can have strings as big as your heap allows, since that's what's being kept in memory at a time.
|
||
|
|
||
|
If using other parsers you must ensure the whole json object fits in memory or it will turn out invalid.,@Demolishun
|
||
|
|
||
|
Constructors only run before main for global or static objects, and their order of execution is order of statements.
|
||
|
|
||
|
Did you mean static constructors?,@Demolishun
|
||
|
|
||
|
Aha, yes, the good ol' static initialization order fiasco.
|
||
|
|
||
|
Which is, in short, undefined behaviour, so if you are relying on it, you're walking on the edge.
|
||
|
|
||
|
It's a very big code smell and you should rework it ASAP.
|
||
|
|
||
|
Also, the way you declare your classes (in CPP struct just means public class) screams C coder left and right XD.,You can, by the way, solve this, by just encasing all these modifications you make of the global into a function each in its own translation unit, then have another function that calls these in whatever order you need. Call it first thing into main() or in a static constructor if you will, and there you go.
|
||
|
|
||
|
For reference, it's called the construct on first use idiom.,I did and I would never again, at least not with the current state of the industry.,@ars1
|
||
|
|
||
|
Well, op said to abstain from discussion, so I'll keep it short. Basically, video game industry today means insane, and I mean *insane* crunch, most likely being underpaid for market rate, and living in the edge of the next launch, which is usually ruined by suits that know nothing about making good games.,I don't know if you are a bot by now.
|
||
|
|
||
|
I mean, what's the point of posting such questions here if not for discussion.
|
||
|
|
||
|
There's the slight possibility of you being real, and really wanting to tally results easily, but then again, you have like 50 answers total. You could do it by hand. Fuck off.,@cprn
|
||
|
|
||
|
The best part is, at least for me, working with your teammates, because most of them share your passion for games.
|
||
|
|
||
|
I did work on something you or someone you know has most likely played. It's not the most famous MMORPG for nothing...
|
||
|
|
||
|
Can't really tell you about what you mean by "vanilla stack" since all the tools and the engine are in house.
|
||
|
|
||
|
As for your last point, know that you can most definitely build unity projects from the command line, and even fully customize the build behaviour implementing a BuildPipeline interface in a .cs script.
|
||
|
|
||
|
Assets are, at least by default, not included in .dll, that'd be insanely retarded. Scripts are, and are separated into different DLLs according to your build def assets.
|
||
|
|
||
|
And even then, unity is not "plain C#", nor mono, nor dotnet.
|
||
|
|
||
|
They use IL2CPP nowadays. They transpile C# to C++, and that might be why you have trouble.
|
||
|
|
||
|
They are making advances toward being able to run on .net core, but don't think it's happening soon.,@darksideofyay
|
||
|
|
||
|
Awesome.
|
||
|
|
||
|
On a side note, I will always think spinda is like drunk artist Pikachu.,This one is a toughie.
|
||
|
|
||
|
The worst, not really programmer, but sysadmin, I've met, would clearly be the sysadmin of a previous company.
|
||
|
|
||
|
He would systematically refuse to either give us access to the dev VMs or set up cloudwatch so we could have some observability on issues. (Namely because he didn't know how to).
|
||
|
|
||
|
He'd also keep all ssh keys for every VM in the bastion host of the vpc... Because he didn't know about ssh -J...
|
||
|
|
||
|
He'd also systematically fail to renew every certificate because he didn't know how to set up certbot. (Claimed that he didn't trust certbot, and that he had his own alarms set for it). Curious that they never worked...,The best, I'd have to say one guy that I completely lost track of, that worked with me on wowd/antrix/ascent before we both went on to actually work for the big B itself.
|
||
|
|
||
|
He could do fucking magic with networking code, and is still the guy I've learned the most from in that aspect.
|
||
|
|
||
|
With time, I've found out that I only find such gems more and more rarely, and it's too be expected.
|
||
|
|
||
|
I watch and learn like a sponge, so it was bound to come the time when I'm the one teaching, and not learning, which by all means I still do, but it's harder to do now unless I get into really specialized fields.,@lorentz
|
||
|
|
||
|
Msbuild in general has the nightmare of managing many different versions of msvc without having shit like symlinks, update-alternatives, or similar mechanisms.
|
||
|
|
||
|
The developer terminals for each VS made sure you wouldn't shoot yourself in the foot by automatically setting everything correctly so a call to msbuild would be repeatable and consistent.
|
||
|
|
||
|
Then again, I'm also baffled at anyone thinking PowerShell is good.
|
||
|
|
||
|
Like, sure, they have made advances, but as @retoor said, it could have just leaned on bash, but they went their own retarded way.
|
||
|
|
||
|
I mean, what kind of shell doesn't even allow stdin redirection in 2024?,Well, can't say from other sources, but at least in Spain, there has been this big prog left movement wanting to abandon Twitter and go to bluesky, because they are upset that Elon musk is no longer censoring opinions contrary to theirs.
|
||
|
|
||
|
Ironically, they, who claim to be antifascists, prove to be the most fascist, since from the moment they got there, the reports for "inappropriate content", (say: whatever they don't like) had multiplied like 100x.,@retoor
|
||
|
|
||
|
This was in a time certbot was the only option. So not really a choice.
|
||
|
|
||
|
-J in ssh is shorthand for proxyJump.
|
||
|
|
||
|
The only point of a bastion host is to bridge resources in a private subnet to a public subnet so they can be accessed.
|
||
|
|
||
|
But the way to do that, is that people hold the privkey to the bastion *and* to those resources they need to access, and you use ssh -J <bastion> <actual target>, to access, so that you first connect to the bastion, and from there, ssh connects to the resource only reachable from the private subnet.
|
||
|
|
||
|
If you store all the private keys to all the private resources on the bastion (moreso, on a publicly accessible directory), what's the point of having a bastion at all, you just made it so anyone with access to a single resource has access to them all.,As to socket buffer size, it's really a relic of old times, but can still bite you in the ass.
|
||
|
|
||
|
The official documentation says (for both BSD and Winsock) that the implementation can withhold recv calls until the recv buffer is full, and withhold sending until enough send calls fill the buffer.
|
||
|
|
||
|
That's, of course, still true, but it's a relic of a time where CPU cycles were at a premium, and it was in everyone's best interest to just move a whole ram page of socket data into ram or disk.
|
||
|
|
||
|
Modern solutions in kernels based on kqueue/epoll don't really need to rely on buffer size and if the CPU has the slightest amount of time available on the scheduler, you'll get your recv/send back in no time, no matter how small the payload is.
|
||
|
|
||
|
By the way, part of our breakthrough work in having antrix support up to hundreds of simultaneous clients without degradation was intimate knowledge of epoll and kqueue.,@retoor
|
||
|
|
||
|
Hahaha. Can easily answer that.
|
||
|
|
||
|
Don't really care about upvotes, and don't really care about political correctness.
|
||
|
|
||
|
That will drive any form of calculated or perceived support down.
|
||
|
|
||
|
You yourself (don't take this as a jab, please), skew the data by your own admission that you pretty much upvote everything.
|
||
|
|
||
|
I myself, for example, are much more limited in the updoots, because I hardly place any value in them.```
|