Home | Notifications | New Note | Local | Federated | Search | Logout
Local Timeline
Reply to @aaa
arce@arce (2026-05-07 04:44:49)
Opened up #tinyap and saw all this code stuff. Scary! :)
🦉@aaa (2026-05-07 04:02:00)
これだけで簡単なシェルが作れるんだ
while (1) {
printf("$ ");
char buf[256];
fgets(buf, sizeof(buf), stdin);
buf[strcspn(buf, "\n")] = 0; // Remove \n
char *args[10];
int i = 0;
char *token = strtok(buf, " ");
while (token && i < 9) {
args[i++] = token;
token = strtok(NULL, " ");
}
args[i] = NULL; // NULL-terminate
if (fork() == 0) { // Child
execvp(args[0], args);
perror("execvp");
} else { // Parent
int status;
waitpid(-1, &status, 0);
if (status != 0) {
printf("exited with %d\n", WEXITSTATUS(status));
}
}
}
$ ls --color=auto /
bin dev home initrd.img.old lib32 lost+found mnt proc run srv tmp var vmlinuz.old
boot etc initrd.img lib lib64 media opt root sbin sys usr vmlinuz
$ ls /root
ls: ディレクトリ '/root' を開くことが出来ません: 許可がありません
exited with 2
$ sl
execvp: No such file or directory
🦉@aaa (2026-05-06 23:09:47)
ジュンク堂池袋本店楽し楽しかった
紙の漫画本楽しい
また行く
🦉@aaa (2026-05-06 17:40:38)
まだまだ良いコードを書くのは難しい
🦉@aaa (2026-05-06 14:17:07)
> MULTICSは、部分的に成功した。現代のスマホより1000倍遅く、百万倍少ないメモリのマシンで、数百人の利用者が使えるように設計された。これはそれほど馬鹿げたことでは無い。というのは、当時の人々は、小さくてその効率の良いプログラムの書き方を知っていたからである。(この技能は、その後完全に失われてしまったが。)
🦉@aaa (2026-05-06 00:50:36)
図書カードあったから、あした池袋のジュンク堂にモダンオペレーティングシステム 第5版 上とわたしが恋人になれるわけないじゃん、ムリムリ!(※ムリじゃなかった!?)買いに行こう
Reply to @tak4
たかし@tak4 (2026-05-05 20:43:15)
多分、どの様な作品にも文句を言はない方がいいけれど、それにしては世の中は文句で溢れて居る。
たかし@tak4 (2026-05-05 20:18:46)
ライセンスが何であれ、公開(配布)された作品は批評の対象になる。たとへばブログ記事にcc-byを適用しても批評を回避することはできない。
🦉@aaa (2026-05-05 16:53:15)
tcp/ip自作の休憩合間にMINIXの作者らが書いた「モダンオペレーティングシステム 第5版」を借りて読んでいる、すごい良い本かもしれない
Reply to @adele@social.pollux.casa
arce@arce (2026-05-05 09:11:11)
Is the demo instance going to remain available? I tried it, liked it, very cool!
Reply to @fedicat@pc.cafe
🦉@aaa (2026-05-05 04:24:55)
Thanks!
There are quite a few implementations (including abandoned ones)!
I'm glad that TinyAP has some value among them.
Reply to @tak4
たかし@tak4 (2026-05-04 18:15:29)
パッケージマネージャでライブラリをインストールすると著作権に関する文書もついてくる様なのでそれを一つ一つ調べ、テキストファイルにまとめればいいはず
たかし@tak4 (2026-05-04 18:06:15)
ライブラリを静的リンクした実行形式を配布する場合、帰属表示が面倒臭いかも
arce@arce (2026-05-04 10:31:14)
Some can say their heart's desire.
Others run risk of dying by fire.
🦉@aaa boosted:
@fedicat@pc.cafe (2026-05-04 06:41:38)
text-only fediverse is kinda nice #TinyAP
---Attachments---
image: https://cdn.masto.host/pccafe/media_attachments/files/116/512/816/883/923/305/original/b10faaf130754acf.png
🦉@aaa (2026-05-04 07:19:47)
時間があれば統合テストを書いても良いかも
でも結局他のソフトウェアとの連合をテストしたいから、やっぱり今後も実環境で"test"と投稿し続けるかも
technicat@technicat boosted:
@fedicat@pc.cafe (2026-05-04 06:41:38)
text-only fediverse is kinda nice #TinyAP
---Attachments---
image: https://cdn.masto.host/pccafe/media_attachments/files/116/512/816/883/923/305/original/b10faaf130754acf.png
たかし@tak4 boosted:
@suwako@sns.076.moe (2026-05-03 20:36:15)
Hexagon 1.2.0 をリリースしました!
- Debianでコンパイル出来る様に
- マウス対応の追加
- ファイルなしでも開ける様に
- :oコマンドの追加
https://github.com/TechnicalSuwako/Hexagon/releases/tag/1.2.0
たかし@tak4 (2026-05-03 17:06:07)
色々なことを試すためにlinux採用osを導入したいけれど準備が億劫に感じる
arce@arce (2026-05-03 04:57:38)
Sorry I'm not tech enough to provide real feedback.
technicat@technicat boosted:
@sugar@goblin.camp (2026-05-02 09:25:18)
if I boost a post, it means I agree with everything that user will ever say or ever has said, and trust them to make medical decisions for me should I become incapacitated
🦉@aaa (2026-05-03 02:53:48)
サーバーにIPv6を設定した
technicat@technicat boosted:
@aaa (2026-05-02 16:15:58)
@fedicat@pc.cafe @technicat
Thank you for supporting tinyap!
If there are any missing required API to work, let me know and I'll fix them.
technicat@technicat boosted:
@fedicat@pc.cafe (2026-05-03 00:13:18)
@Chanclatrix I have a list here
https://codeberg.org/technicat/awesome-mastodon
technicat@technicat boosted:
@fedicat@pc.cafe (2026-05-03 00:36:54)
fedicat is on the list!
https://github.com/izkluxcvy/tinyap#tested-clients
Reply to @tak4
たかし@tak4 (2026-05-02 17:32:32)
海(河口)に行った。雨の影響で水が多かった。イシガレイの稚魚が沢山居た。カニとヤドカリを採集した。
🦉@aaa (2026-05-02 16:15:58)
@fedicat@pc.cafe @technicat
Thank you for supporting tinyap!
If there are any missing required API to work, let me know and I'll fix them.
technicat@technicat (2026-05-02 16:14:51)
test quote
from @fedicat@pc.cafe
🦉@aaa (2026-05-02 15:51:53)
今日は夏っぽい
🦉@aaa (2026-05-02 15:47:55)
第三外国語でイタリア語とったら、ラテン語っぽいの実感した
Older Notes