

I intended this an sarcastic example; I think it’s worse than putting the main outside of the branch because of the extra indent-level. It does have an upside that the main()
doesn’t exist if you try import this as an module.
I mean no harm.
I intended this an sarcastic example; I think it’s worse than putting the main outside of the branch because of the extra indent-level. It does have an upside that the main()
doesn’t exist if you try import this as an module.
Btw, ld.so
is a symlink to ld-linux-x86-64.so.2
at least on my system. It is an statically linked executable. The ld.so
is, in simpler words, an interpreter for the ELF format and you can run it:
ld.so --help
Entry point address: 0x1d780
Which seems to be contained in the only executable section segment of ld.so
LOAD 0x0000000000001000 0x0000000000001000 0x0000000000001000
0x0000000000028bb5 0x0000000000028bb5 R E 0x1000
Edit: My understanding of this quite shallow; the above is a segment that in this case contains the entirety of the .text
section.
I would put my code in a def main()
, so that the local names don’t escape into the module scope:
if __name__ == '__main__':
def main():
print('/s')
main()
(I didn’t see this one yet here.)
Do you know about ortho/para-H2O? It only gets weirder.
They got credited for scientific research: link
what the actual fuck. 🤮
$ gdb -ex 'file /bin/gdb'
run
corrupted double-linked list
Thread 1 "gdb" received signal SIGABRT, Aborted.
Yeah, try debug that.
Well I meant two weeks is the longest period i can leave the system without updating and have no problems. And i have yet to break it with 300 pkgs updating at once.
Arch maintenance: 0. Install it once. (The proper way)
pacman -Syu
I don’t get what is with this so hard? Yes, configs can be undecipherable but 90% time the merge involves just deleting the .pacnew versions.
A kernel was released that changed how the hash value got computed for casefolded filenames. (used for better windows compatibility) That kernel then went into production. This unfortunately split some file-systems that supported this into two incompatible versions, breaking the kernel rule 1.
There might now exist file-systems were created/modified with this bug present that the old/fixed kernels can’t understand.
MSRs have negative temperature reactivity coefficient and outlet temps around 700C at atm pressure. PWR is at measly 300C and 150 Bar.
If all control is lost, the salt expands as it heats up pushing the expanded volume out from the reactor core. The fission stops once the fuel is leaves the core region where the moderator is. Reverse is also true: you pull heat off from the loop, so the fuel-salt becomes denser, increasing reactivity. MSRs can naturally “follow” the load, if done right.
When I read this originally, it was a nice example how programmer brain can be applied IRL. Also works when trying to find something and I see the listing is someway sorted, like time tables and eshop product categories.
Too much water. And it’s all either fresh, slush or solid.
Because of the lack of salt, we have salmiakki. /s
I was reluctant to take this project, knowing well I would end up deleting nearly all existing code I would have to touch, all while having just mediocre skill writing its successor, if it ever becomes one.
I can no longer escape from this project, nor do have I will to.
deleted by creator
Sugar is half bad, half good: the glucose part causes no harm and whole body can use it. The fructose part on otherhand is bad and has to/can only be processed by the liver first.
Yeah, it feels like I blinked and it’s now October already…
(2024 was and still is a heck of an year for me. I have almost climbed out of the ditch on this year. Yay!)
100% Nope: A episode from supernatural, where ghouls half way succeed to eat Sam. (I consider it as the most gruesome horror I have ever seen, and I don’t think I have the stomach to see it ever again. The blood draining is a … no.)
Yellow brick road on otherhand hits the weird places spot of SCP, which I can’t get enough. (not horror really, but still)
No mention of KDevelop? ;__;
I like it because it is the pretty much only FOSS graphical IDE where the edit-compile-debug cycle works. I’m been using it for last 10y for C/C++/Python, and it recently gained LSP support. (ported from Kate)