Await is usually there either because the performance doesn’t matter and the legibility is much higher with it, and/or because there are a series of asynchronous actions that depend on each other and await lets you write them as if they are sync because related to each other they are.
- 0 Posts
- 52 Comments
You will find yourself being that next person when you haven’t touched the code for a week and come back to add something and are like wtf.
Luvon@beehaw.orgto Programming@programming.dev•What's the dumbest reason you've learned a programming language?5·1 year agoThere’s a game called something like “oh no the farmer is gone” which is about programming a little robot to harvest the fields and the programming is built directly into the game
I always do, I love having ligatures
Having ≠ looks much nicer then !=
Luvon@beehaw.orgto Programming@programming.dev•Oracle Java license teams set to begin targeting Oracle users who don't think they use Oracle14·1 year agoAnd that’s why we use temurin
Luvon@beehaw.orgto Technology@beehaw.org•Spotify Premium User Slams App Over Audiobook Feature13·1 year ago“the 15 hours customers get free with premium equates to two audiobooks” Is the average audiobook really that short!
For eragon it would takes months to finish.
The hobbit is 10 hours.
Think most of the books I’ve listened to have been over that length, but I don’t use Spotify. Self hosting for the win. No time limits in prologue
Luvon@beehaw.orgto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•is Privado VPN good?English4·1 year agoEbooks, audiobooks, music, could all work in that realm
Luvon@beehaw.orgto Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ@lemmy.dbzer0.com•Godzilla Minus One becomes the most pirated movie in the world - DexertoEnglish41·1 year agoI don’t think it even played in my country so…. How do they want me to buy it exactly…
Luvon@beehaw.orgto Gaming@beehaw.org•Alan Wake II Has yet to Recoup Development and Marketing Expenses; Tencent Raised Stakes in Remedy to 14%2·1 year agoIt looks like Linux support is going to be actually actively looked at again soon with playnite 11, so there is still hope
https://github.com/JosefNemec/Playnite/issues/59#issuecomment-1083572073
Luvon@beehaw.orgto Gaming@beehaw.org•Alan Wake II Has yet to Recoup Development and Marketing Expenses; Tencent Raised Stakes in Remedy to 14%1·1 year agoI use playknight, though I still don’t buy from epic.
Play knight gives me an overview of all humble keys I haven’t used as well as gog, steam, epic, etc.
Just helps me make sure I don’t buy a game on sale that I own
Luvon@beehaw.orgto Technology@beehaw.org•Cops can force suspect to unlock phone with thumbprint, US court rules1·1 year agoFor me it’s much easier to lock the phone by holding any volume and power then to remember the sequence needed to force power of the phone.
Clicking 5 times on power is probably faster, but I forgot that existed and if I’m trying to do something quickly essentially squeezing my phone is easier than trying to tap the correct side 5 times quickly under pressure. And much easier to me then trying to remember the force power off sequence and performing it without looking under stress.
Especially on the iPhone 15 pros there is now another button so getting the up down up power means finding the correct up button.
I’ve looked up that sequence numerous times when I’ve needed to force reboot and I still forget it half the time.
Luvon@beehaw.orgto Technology@beehaw.org•Cops can force suspect to unlock phone with thumbprint, US court rules9·1 year agoCan they force you to look at your phone though? Attention aware Face ID requires eyes ball on screen.
And as others have stated, holding volume up and power u til the iPhone vibrates locks the phone requiring the passcode.
Luvon@beehaw.orgto Technology@beehaw.org•Cops can force suspect to unlock phone with thumbprint, US court rules3·1 year agoSure but holding volume up and power until the phone vibrates is a much faster and easier method and there is little worry you might accidentally call 911. It’s also easier to do without looking.
It has a countdown before calling with vibrations on every number.
Luvon@beehaw.orgto Technology@beehaw.org•Apple pulls WhatsApp, Threads and Signal from app store in China15·1 year ago🙄 sideloading alt store at least does not void your warranty.
Software in general won’t void your hardware warranty. That’s ridiculous.
Luvon@beehaw.orgto World News@lemmy.ml•The truth about organic milk: cows are suffering on even the most “humane” dairy farms2·1 year agoA lot of the store brand ones uses enzymes to sweeten it without adding sugar. There is an enzyme that breaks down some of the oats to sugar.
Also it is shelf stable for like a year at least.
Luvon@beehaw.orgto Technology@beehaw.org•I see your Outlook (new) and I raise you Microsoft Teams classic (work or school)10·2 years agoI had this as well, it’s because the pinned version will still be pointing to the old version even after you agreed to upgrade.
You have to unpin the old version, and pin the new version.
Reallllly stupid upgrade from them.
Luvon@beehaw.orgto Gaming@beehaw.org•Valve's taken down Portal 64, a passion project to demake Portal for the Nintendo 640·2 years agoFrom what I read of the portal64 project it did require owning the original (or having a copy of it) because it patches the assets from the base game.
Luvon@beehaw.orgto Technology@beehaw.org•Not even Notepad is safe from Microsoft’s big AI push in Windows1·2 years agoSearch, I’m a programmer and frequently need clips of text I’ve used before, especially with some sap stuff I do. I don’t need to edit that much, but I do pin, tag, and label snippets a lot.
Sap backend data has a lot of “keys” related to my test user that I need repeatedly, the key for the user, the key for their position, the department, etc. and having them all in my clipboard is very practically.
Kitten + lamb = litten or kamb