#endif

3 posts · Last used 26d

Replying to
Or you could do as I did when some annoying guy asked me to “help him” with CS homework (actually wanted me to write the entire app for him, and refused to actually learn). I don’t remember what it was actually about, but I sent him something like: import sys as s class Main: def __init__(slef, av): slef.teh_arguments =av; #enddef; def main(sefl): doSomething(); do_something_else(sefl.teh_arguments); pls_DontDothis(); #enddef; #endclass; if(__name__[2:6]== 'main' ): Main(s.argv).main(); #endif It didn’t go well with his professor. I wonder if he’s a vibe coder now
14
2
0
0
Replying to
@azonenberg@ioc.exchange @hazelnoot@enby.life#ifdef __ARCH_WANT_SYS_FORK SYSCALL_DEFINE0(fork) { #ifdef CONFIG_MMU struct kernel_clone_args args = { .exit_signal = SIGCHLD, }; return kernel_clone(&args); #else /* can not support in nommu mode */ return -EINVAL; #endif } #endif fork internally just calls clone with some default arguments
0
3
0
0