| 22 May 2025 |
| @qbig:matrix.org joined the room. | 19:22:27 |
| @qbig:matrix.org left the room. | 19:44:42 |
| 23 May 2025 |
raboof | whoa is that // a sort of alternative shebang? what's that called? TIL | 08:00:34 |
Alyssa Ross | I think it's relying on being run by a shell | 08:04:08 |
Alyssa Ross | And then it's just an absolute path | 08:04:15 |
Alyssa Ross | i.e. execve wouldn't work, but shells usually fall back to executing as a shell script and that would work. | 08:05:06 |
raboof | ah ofc... neat trick though | 08:06:03 |
Alyssa Ross | It also takes advantage of shells executing line by line, so it can just tell the shell to exit before encountering the Java code that would be a syntax error. | 08:09:03 |
Alice | we thought that java supports standard shebang syntax? | 08:14:06 |
raboof | it does, but that doesn't seem to work together (yet?) it seems (gives "error: no class declared in source file" when the shebang exists) | 08:49:14 |
msgilligan | I learned the trick from JBang, see https://www.jbang.dev/documentation/guide/latest/usage.html | 12:13:53 |
msgilligan | JBang is available in Nixpkgs and is worth checking out. (I may send them a PR to their documentation to add Nix as an installation method) | 12:15:49 |
| 29 May 2025 |
| Oscar Vargas Torres joined the room. | 04:26:13 |
| @deeok:matrix.org joined the room. | 16:46:44 |
| 1 Jun 2025 |
| Sean Thawe joined the room. | 23:38:12 |
| 2 Jun 2025 |
| Frédéric Christ changed their display name from Frédéric Christ (🧳 12.05. - 02.06.) to Frédéric Christ. | 07:02:38 |