Posts by mage_of_dragons@mastodon.social
(DIR) Post #Aw7sL1fkvH49820zuS by mage_of_dragons@mastodon.social
2025-07-14T13:48:45Z
0 likes, 0 repeats
Due to a rise of vibecoding, I have invented a simple detector script, that can determine whether some code was written by AI or not:```bash#!/bin/bashset -euo pipefailIFS=$'\n\t'filename="${1:?"please provide a filename"}"if [[ "$filename" ~= *.rs ]]then echo "Not AI!" exit 0fiecho "AI!"exit 1```#rust #rustlang #ai #bash
(DIR) Post #AwYVNvG3gTc0x9zhOy by mage_of_dragons@mastodon.social
2025-07-27T10:16:26Z
0 likes, 0 repeats
@BrodieOnLinux I ran DWM and then discovered Hyprland
(DIR) Post #Ax6OW1CJaHwfO3c2e8 by mage_of_dragons@mastodon.social
2025-08-12T17:57:03Z
0 likes, 0 repeats
I still can't believe stdin is file descriptor 0
(DIR) Post #Ax6WEo4vuHLdPRSnx2 by mage_of_dragons@mastodon.social
2025-08-12T18:47:33Z
0 likes, 0 repeats
@argv_minus_one imo the output streams should come first
(DIR) Post #Ax6WEpycqhUVISWnOi by mage_of_dragons@mastodon.social
2025-08-12T19:32:20Z
0 likes, 0 repeats
@evgandr @argv_minus_one but why would you have stderr as the first? 0 should obviously be stdout
(DIR) Post #Ax9ZxfcB6WSLWkyg4W by mage_of_dragons@mastodon.social
2025-08-14T04:53:44Z
1 likes, 0 repeats
@argv_minus_one Full tree developer (it's just a gardener)
(DIR) Post #AxYadWM2mUd7vCNwC8 by mage_of_dragons@mastodon.social
2025-08-26T08:34:52Z
0 likes, 0 repeats
@argv_minus_one Better than not receiving interrupts at all
(DIR) Post #AxYt9mdHarSaqfywzY by mage_of_dragons@mastodon.social
2025-08-26T12:16:21Z
1 likes, 0 repeats
@m0xEE @argv_minus_one You're right, what gives us the right to interrupt the cpu's very important add instruction
(DIR) Post #AxatWIXS2MvcURuU9g by mage_of_dragons@mastodon.social
2025-08-27T11:48:22Z
0 likes, 0 repeats
@BrodieOnLinux Isn't that what they call energized water?
(DIR) Post #AxawrRrMsMwhLL0Ekq by mage_of_dragons@mastodon.social
2025-08-27T12:08:05Z
0 likes, 0 repeats
@elly @weirdtreething > Technology made in the past decade is a mistake (including web3).*Non-foss technology
(DIR) Post #Axb0tzOPZVoXjuvSHQ by mage_of_dragons@mastodon.social
2025-08-27T13:11:07Z
0 likes, 0 repeats
@wolf480pl @elly @weirdtreething did they?
(DIR) Post #Axb3oATdkObqF4Hrqy by mage_of_dragons@mastodon.social
2025-08-27T13:43:40Z
0 likes, 0 repeats
@wolf480pl @elly @weirdtreething Ah yeah, my bad.Although there is an argument to be had about electron. It's a hacky solution sure, but it works. What does that say about native toolkits? Or about other cross-platform solutions?
(DIR) Post #Axb7RQgHjd4pebcAWu by mage_of_dragons@mastodon.social
2025-08-27T14:24:22Z
0 likes, 0 repeats
@wolf480pl @elly @weirdtreething or it could be because what you call "the web" provides a fairly simple abstraction for creating interactive user interfaces, even though its primary programming language can be considered as inferior to others
(DIR) Post #AxbEbtIgsn5gzTVw7k by mage_of_dragons@mastodon.social
2025-08-27T14:25:19Z
0 likes, 0 repeats
@wolf480pl oh well, that's why they invented webassembly
(DIR) Post #AxhYqnDcwMmIVJHwS8 by mage_of_dragons@mastodon.social
2025-08-30T16:59:03Z
1 likes, 1 repeats
@link Or the alternative
(DIR) Post #AyDfPiBLE50pgebayG by mage_of_dragons@mastodon.social
2025-09-15T04:44:04Z
0 likes, 0 repeats
@BrodieOnLinux Github eldritch horror be like
(DIR) Post #AzxUlY3Vjmu17MpCds by mage_of_dragons@mastodon.social
2025-11-06T05:13:34Z
0 likes, 0 repeats
@BrodieOnLinux Idk that much about Wayland but why do they have so much trouble with window positioning? At least in my mind that seems like a pretty simple interface
(DIR) Post #B0GUEgyROQDef1tuE4 by mage_of_dragons@mastodon.social
2025-11-15T09:05:18Z
1 likes, 0 repeats
@fiore at a certain point you just become the bash interpreter
(DIR) Post #B0GVOLfbYS6ZREG6D2 by mage_of_dragons@mastodon.social
2025-11-15T09:19:32Z
1 likes, 0 repeats
@fiore eh, writing bash with a fractured skull is an unpleasant experience
(DIR) Post #B0GnsXPQGw97hzEc8u by mage_of_dragons@mastodon.social
2025-11-15T12:41:41Z
1 likes, 0 repeats
@fiore I like how every variable in bash is a string and can be inserted pretty much anywhere in the actual shell scriptJust like Neumann intended