https://github.com/kelseyhightower/nocode/issues/3#issuecomment-363611612
The no code framework is extremely flexible, and you can actually write unit tests with no code as well. Many very large projects apparently implement all of their unit tests using no code.GitHub
No examples of unit testing · Issue #3 · kelseyhightower/nocode
I’d like to make sure my code changes are bullet proof, do you have examples?
https://github.com/kelseyhightower/nocode/issues/1705
████████████████https://github.com/kelseyhightower/nocode/issues/1987#issuecomment-368089562
████████████████
███████
████████████████
████████
██████
████████
█████
████████████
███████████████████
███████████████████
That's the point!
By writing no code, we save them a lot of precious data space!!!
https://github.com/kelseyhightower/nocode/issues/717GitHub
███████████████████████████? #1705
████████████████ ████████████████ ███████ ████████████████ ████████ ██████ ████████ █████ ████████████ ███████████████████ ███████████████████
B ͑̎űͤt̑̽ ͣ̚ ͯ̓ ͯ̚ ́͑wͬ̑ ҉̵͠h̑̉ỹ͌?ͪ̚ ̪ ͑ͬ ͣ̄W̃̌hͤͭy̓͗ ̠̗ ̑̎ ͑ͩW̄͗ ̉ͥOͭ͌ ͆̚Uͣ͋ ҉҉̶͝L̇̋D̽ ̐̇ ̑̌y͒͒҉͉̠ȍ͗ȕ̈ ̰ ̯ ̫̹ ̇̈́d́̈o͋ͧ ͯͩ ͬͤt͑̋ ͨͤ҉͡͞hͥ͗҉̷̡āͣ ̉̀҉̸͉t͊͐ ̼͉?ͯ̀ ̔͋ ̈́͟🤣
Aͭ̽̾̏ͨ͋̃̚͘҉̷͉͓͓̦̘̞̬͖̜̕ ̠̭̟̯̹A͒ͦ̓̚ ͣ͛ͮ̂̐ͣ̉̾̋́̈́̌̔͢͏̢͈͞ ̥͙̲̺͔̥Ä̵̰̲̱̭͕́͆͑̽̀̀̽̅̎̂̍̈͢͠ ͓ͅǍ͊̌ͬ̓ͦ͏̷̧̭̣̭̥͔͍̯̙̩̻̪̤̗͢ ͎̼͖Á̐ͨͣ̉̔̔̚ ̵̡̢̯͕͔̬̗̜̟̫̬̲͚͚͑ͫͯ́͑̕͡ͅȀ̡̱̯͓̱̐̉́͛͑Aͫͫ̅́ͫ̏͆͑ ͖̹̗͎͛͌̍ͪ̆ͤ̃̚͜A̶͓͎ͭͤ͊́́̚ ̖̱͚̟͖̼͎̥À̡̧̢͚̤̺̜͖̺̄̆̉̐̍ͨ̅͆̏ͥͥ̍͒̚̚ͅA̒͌̍̃̋ ͋͛͒̏̎ ̸̴̼̯͉̯͚͉̯͇̲͕̺̼͗͛̓̅ͬͤͬ͜͞A̢̡̠̟͈̺̦̟̩̣̓͂̀͊̒̏̂͌͗͗ͫ̅̎̒͞ͅÁ͈̮̻̺̜̠̯̤́ͩͯ͜A̷̢̞̠̝̟͚͕̤̫̟ͫ̓̐͋͂͂ͫA̢̛̻̦̺̰̝̞̣̗̰͚͈̍ͩ̇ͭ̃ͅ ̫ͅA̷̖͈̲̙͕̫̤̼̩̖̙͚̜̓̓͑̽̎̅ͫ̓̂̄͒ͭ̔͌ͪͥ͝A̐ͪ͂ ̶ͥ̌̋̋̾͑̓̎҉̖͓̝ͅA̅̎ͬ̐͂͑ ͪ̋ͧ̇̂ ̶͋ͯ̋̂͏͉̱̖̤̲̗͙̪̦̰͔̱A̵̘̯̟̝̻̦͓͔̗̹ͧͯ̔̆̎̄ͮ͂͊̽̂̌́̀͝͝ͅA̷̡͖̫̰̗̞͕̤̪̖͈͍̤̻̫ͮ̎̉ͤͣ͆͌̒ͥ̾͢͢͜Aͤ̑ ̡̭̻͔̹̮̬̫̞̰͚͙͔͎̻̺͈̮̪ͧͯ͑̕͟͟Ä̷̻̤͔̗͐̑̐ͫ̃̉́̀̚͢͟ ̮͈̟͖̣͔̰̹̘̦̘͍ͅA̒͛͊̈͒ͩͦ ̆ ̨̧̧͔͕̜͙͎͊͑͋͛̒̽ͦ͘A ̡̲͕͉͖͈͈̘̺̎ͪͤͬ̒͋̅ͭ͒ͭͯ̍̾ͯ̇̀̕͜Ą̶̢̯̦̞̩̻͓̮̱̮̲̗̞͚ͫͥͥ̈͢͢ͅǍ͛ ̨̧͉͇͓̼̬̞ͫ̓̽̀͞ ̟͚̞̥͚̞͚̭A͑̀ͬ͒͊ͦ̀ͫͤ̽͊ ̧̫̗̝̞̘͓̥̘̦͇̭̼͉͎͇̦̼̫ͮ̓͒͌͑̈́͞Â̍ͩ̂͒ͨ̓ ̵̞̫͈̺͎̝̝͈͌ͮ͡Á̷ͣ́̏̓̑ͮ̚͏̝̖̭̣͓͈͓̗͇Aͪ̎ͪ̈ͪ̋ͩ͆̌҉҉̤̙͚̩̻̹͇̘̞̻̤̝̠͔̯͇̯A̡͈̜̦̦͔̠̠̓͑̈́̈́ͨ͊̇͑͊ͥ̈̍̌͗͛͗͂͆͢A̎ ̨̣̱̺̜͇͕̗ͧͤ̋̀͜Ä̵́ͨ̂̑͋̏̅͗͏̶̨̖̲̺̣̺͖ͅͅA ͣ̎̆͒͘͡҉҉̟̼̞̻̩̤͇A̽ͩ̔̀ͣ̄ͧ̄̍̌̀ͦ̀͑̀̂ ҉̶̴̡͉̥̯̞̲̪̠̦̦̰͟ ̜͙Ȃ͊ͮ̄̀ ̬̯͓̗̦̙̺̩͓̫̽͊ͩͦ̐͛ͣ̀͢A͉̰̖̩̼͙̮̬̝͈̤͍ͩ͗̈́ͯ́̕̕͞Ḁ̵̴̛̩̱͈̼̬̯̭̭̈̽ͣ̌͢A̸̞̱̹͔͔̟͕͍̅̑̎ͪͦ͛̒̕͞A͊̇ͤ̾̋ͣ̒ͭ̍ͦ͜͝҉͕̲̦̠͚̣A̴̡͈̞̣͇̲̙̻̲̐̾͗̐̄̏̎ͦ̽̈ͭͫ͟͠Ȃͣͤ̀̓̀ͣ̚ ̔̆̓̉ͣͨ͊̀͏̝̖͎̗̗͚̯͕̭̞͍̼̜͘͢͞͡Aͦ ̉̐͌̽ͫ̋̽͌ͫ͑̒̾̀̇̌̌͊͘҉̴͠ ̻͈̗͉̤͕̫̜̟͕͙͕̙͇
LWL 的基地台
我是不是对 htop 有什么误解……?
因为它现在挂起了啊,其实之前写的 E2IM,一个请求 root 权限的
AlertDialog 我也不应该跑 while 空循环的,这样空转很无聊,我应该用 notify() 和 wait() (... 貌似 #Javaduangsuse 是暂时无法理解文件系统和内核驱动的事情、ring0 和处理器特性方面也不是很了解,之前连 AVX 都不知道,现在也才只记得不是一个平台扩展呢
duangsuse::Echo
现在可以用内联汇编写 Hello world 了吗?duangsuse 试试
#include <stdio.h>
/* inline */ void printf_asm(char *message) {
const char *fmt = "%s";
int i;
__asm__ volatile
(
""
);
__asm__ volatile
(
"call printf"
);
}
int main(int argc, char *argv[]) {
printf_asm("Hello, world!");
}
[DuangSUSE@duangsuse]~/Projects% gcc hello_asm.c
[DuangSUSE@duangsuse]~/Projects% ./a.out
Hello, world!%
... 不行,这也太作弊了 😶 不能这样!!!
#include <stdio.h>
/* inline */ void printf_asm(char *message) {
const char *fmt = "%s\n";
int dummy;
__asm__ volatile
(
"push %[msg]\n\t"
: "=r" (dummy)
: [msg] "b" (message)
);
__asm__ volatile
(
"push %[fmt]\n\t"
: "=r" (dummy)
: [fmt] "b" (fmt)
);
__asm__ volatile ("call printf");
}
int main(int argc, char *argv[]) {
printf_asm("Hello, world!");
}
zsh: segmentation fault (core dumped) ./a.out
哭哭