Text
I’d need to try write this for myself but how I think I would go about this is accumulate what needs to go in the final file in an array and then just add that to the file also (and this is something I believe is just good practice) open the file like | with open(“filename”,’r’) as file:
File.write(array)
|
Opening a file with “with” is safer and looks a bit cleaner than manually opening and closing a file because it keeps the context constrained to the with block.
I have a love-hate relationship with Python
16 notes
·
View notes
Text
Can you please explain what that instruction does? My only asm experience is in a self written instruction set, RISC, and TIS-100
The problem with genAI is that it's very useful and informative until it isn't, and then it will spout incorrectness. The issues with relying on it are the same as relying on a classmate who has read ahead in the literature but haven't internalized the trickier details.
In other words it will help you find the relevant loops and switch statements in ARM assembly, but then fail to explain a "ldr r1 [pc, #40]" four times in a row. Confidently giving different explanations each time.
3 notes
·
View notes
Text
Nine little German boy don’t go into zat veed cave
little german boy revisits the cave of blüntsmoken! Happy 4/20 ;)
71K notes
·
View notes
Text
The way back machine and internet archive are very special to me because they preserve history and things that otherwise become lost to the sands of time
🚨 🚨 🚨 🚨 🚨 🚨 🚨 🚨
40K notes
·
View notes
Text
Not a joke, not unreality-
It's coming up a lot right now so please know this blog posts some political humor and its writer is a leftist Jew who's on at least 3 different spectra, who holds strong political views against trump, nazism, fascism, zionism, terfs, racists, misogynists, and other such stuff, and regrets he can do little more about the world right now than write a blog, so the blog will continue not to hide my views.
If you can't take political humor right now for your mental health, I understand and recommend monitoring my tags or unfollowing if needed to stay safe and sane, with my respect and best wishes.
If you can't take political humor because you think there's such a thing as neutrality and polite apoliticality, please look up some clever quotes/essays about how silence endorses the oppressor and such.
If you can't take my politics here because you support trump, nazism, fascism, etc, please unfollow and shut up forever. Just take a vow of silence and never speak or type or otherwise spew your infectious idiocy again, especially in my inbox. Just listen for once and learn about the harm you've done to everyone and everything good in the world instead.
TL;DR blog run by lefty, unfollow as needed.
747 notes
·
View notes
Text
Un-ironically going to send this to her
hey girl can i (checks notes) sit on a discord vc with you while we both do completely different things and we don't even have to talk i just like knowing you're there with me
77 notes
·
View notes
Text
Ah the duality of front end vs backend developers is at it again, my evil secret is that my front end is just my backend because I’m developing my Ui with tkinter and the OpenGL api library
Crazy how doing backend feels like such a huge and intimidating task that I dread and despise but then I get to frontend and the vibes have never been better. Everything is nice and pretty and the world is amazing
This image sums up pretty well how I feel about it
Thank god I don't mind backend on my personal projects or I'd be misserable
15 notes
·
View notes
Text
I always love seeing this cosplay
🦉🛸🦌
(cosplay, photos, & photo edits by me. character is ?????? from Outer Wilds: Echoes of the Eye)
478 notes
·
View notes
Text
this is beautiful and i propose that we make this the standard for expressing error management.
just a lil poem(?) about coding
9 notes
·
View notes
Text
i like
Procreate drawing test feat. the pookie <333
#outer wilds#outer wilds echoes of the eye#dlc#spoiler#outer wilds spoiler#fanart#go play outer wilds + dlc right now 🫵
375 notes
·
View notes
Text
it was actually a really simple program not sure why anyone hasn't come up with it sooner
Hey kids! compile and run this on your home computer. Nothing bad will happen. :)
94 notes
·
View notes
Text
i plugged this into my program that tells me if a program will halt or not and it tells me that it wont halt, you cant fool me
Hey kids! compile and run this on your home computer. Nothing bad will happen. :)
94 notes
·
View notes
Text
no, it is a custom written instruction set written in c++, that was supposed to be used in a Minecraft computer that me and a friend were working on but never finished
here is a self modifying program that i wrote 3-4 years back that loops n number of times
8 notes
·
View notes
Text
Honestly it’s not that bad if you are making something simple just plan out your circuits on something like circuit verse, design your alu and your encoders and decoders along with designing your memory I went with a simple rom
heh lower level learning where instead of learning x86 I invent an instruction set and its processor. surely it shouldn't be hard if I learned digital system design and computer architecture right? I still have the textbook.
or maybe a processor isn't very necessary considering my time frame, i'll see how it goes i guess 😬
10 notes
·
View notes
Text
here is a self modifying program that i wrote 3-4 years back that loops n number of times
#self modifying program#computer science#insane#machine code#programming#see if you can figure out how many times this loops
8 notes
·
View notes
Text
I mean this is just the process of making a Minecraft computer
heh lower level learning where instead of learning x86 I invent an instruction set and its processor. surely it shouldn't be hard if I learned digital system design and computer architecture right? I still have the textbook.
or maybe a processor isn't very necessary considering my time frame, i'll see how it goes i guess 😬
10 notes
·
View notes