he/him
Nerd, programmer, writer. I like making things!
- 7 Posts
- 244 Comments
Gamma@beehaw.orgto Television@piefed.social•David Harbour Says Goodbye to Stranger Things: "After 10 Years, It’s Time to Move On"English3·5 days agoIt’s okay, I liked the last season a lot. It just takes FOREVER between seasons and then releases in weird chunks
Gamma@beehaw.orgto Television@piefed.social•‘Mr. Robot’ Is Coming to Netflix in JulyEnglish3·5 days agoCool! I watched the first episode and forgot to continue it
Gamma@beehaw.orgto Technology@beehaw.org•Telegram is indistinguishable from an FSB honeypotEnglish3·5 days agoIt seems like trusting the nicest voice in the room on a topic like security, rather than experts, could be a mistake
Neat!
Gamma@beehaw.orgto Technology@beehaw.org•ChatGPT 'got absolutely wrecked' by Atari 2600 in beginner's chess match — OpenAI's newest model bamboozled by 1970s logicEnglish16·8 days agoPretty much, but the marketers are still trying to tell people it can totally do logic anyway. Hopefully the apple paper opens some eyes
Oops, I wasn’t clear! I appreciate the thought process there, I’ll be more detailed.
My first note was for the type hint. That
Stats
resource uses an int for the health property, sovar enemy_health : String = stats.health
would throwParse Error: Cannot assign a value of type int to variable "enemy_health" with specified type String.
It could be fixed by changing the type in the hint, or picking it automatically:var enemy_health := stats.health
The confusion muddied up my second point, you can replace:
print("This enemy has ", enemy_health, " health!")
with:
prints("This enemy has", enemy_health, "health!")
Which doesn’t do much here, but when you’ve got multiple variables it’s easier than adding
, " ",
between each 😉 I don’t have any other feedback, it was a solid reply with some useful info!
You love to see it
Gamma@beehaw.orgto FediLore + Fedidrama@lemmy.ca•DBZer0 has begun banning people simply for believing in the concept of copyrightEnglish2·13 days agodeleted by creator
You might have to cast that health stat to string, since the type is hinted. You can also use
prints
to automatically insert spaces between argumentsGood advice! This is a great post
Stack Overflow has a whole network of Q&A sites. There’s places to post and answer puzzles, code golf, ask physics or political questions, etc. Lots of useful stuff not many people know about
This is a huge reason for the question decline! All the easy stuff has been answered, the knowledge is already there. But people are so used to infinite growth that anything contrary = death lol
People also blame ai, but if people are going to ai to ask the common already answered questions then… good! They’d just get hurt feelings when their question was closed as a dupe
Gamma@beehaw.orgto Linux@programming.dev•Steam’s May Client Update Improves Linux Game RecordingEnglish17·27 days agoAccording to a github comment, they’re currently blocked by a chromium pr
Gamma@beehaw.orgto 196@lemmy.blahaj.zone•Can't underulestand why they would leaveEnglish1·28 days agoStack Overflow
Gamma@beehaw.orgto 196@lemmy.blahaj.zone•Can't underulestand why they would leaveEnglish22·28 days agoBecause they don’t understand how SO works and had their feelings hurt by curation
Gamma@beehaw.orgto Linux@lemmy.ml•How to deploy Docker images to Raspberry Pi w/o using a image registryEnglish1·1 month agoYou put the restart policy in the compose file
Gamma@beehaw.orgto Linux@lemmy.ml•How to deploy Docker images to Raspberry Pi w/o using a image registryEnglish2·1 month agoCompose files would probably make more sense
Gamma@beehaw.orgto Technology@beehaw.org•Fortnite now lets you chat with Darth Vader using generative AI speech [Eurogamer]English3·1 month agoIt also makes it too difficult to know what is important. In most games you can talk to people and you usually knew if it’s chitchat or plot relevant, generated text blurs the line enough that it’s probably only really useful in specific games like Façade
Is there any reason piefed’s private votes don’t work for this?