Imgflip Logo Icon

zamn AI got it right

zamn AI got it right | Fixing a kernel bug on the first try; Adding printf statements everywhere to find the issue | image tagged in memes,drake hotline bling | made w/ Imgflip meme maker
86 views 4 upvotes Made by Goldside543 6 months ago in MS_memer_group
Drake Hotline Bling memeCaption this Meme
9 Comments
1 up, 6mo,
2 replies
every programmer ever 😭😭😭
1 up, 6mo
realized today bot wasnt working cus i had an "if not" instead of "if"
1 up, 6mo,
1 reply
I hardly use a debugger anymore

you know why Goldspace prints so much shit while booting? because that's how I find where exceptions and faults happen
1 up, 6mo,
1 reply
i at least remove them when i fix the issue lol
1 up, 6mo,
1 reply
you never know when shit can happen

unlike your fancy ass Python code, bare-metal code (like C and assembly) does different things depending on the system

it might work in Virtual x86, but then it'll fail on real hardware, and it might work in QEMU and fail in Bochs, shit like that
0 ups, 6mo,
1 reply
hmmm. fair enough. definitely a lot more support for python
0 ups, 6mo,
1 reply
also, Python has "if" and "if not"?

is it like C's "if", "else if", and "else"? what does "if not" do?
0 ups, 6mo,
1 reply
"not" is another operator, inverts any true or false.
so

if not (condition1):
do (code1)
else:
do (code2)

is the same as

if (condition1):
do (code2)
else:
do (code1)
0 ups, 6mo
which isnt a very good use for it, its better for string matching like
"if not 'word' in string:"
Drake Hotline Bling memeCaption this Meme
Created with the Imgflip AI Meme Generator
IMAGE DESCRIPTION:
Fixing a kernel bug on the first try; Adding printf statements everywhere to find the issue