Newest at the top
2024-11-14 20:02:33 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 20:02:05 +0100 | housemate | (~housemate@146.70.66.228) (Max SendQ exceeded) |
2024-11-14 20:01:39 +0100 | <sm> | stack provides the `script` command specifically for this purpose - it will shout at you if you leave anything unspecified, so you won't forget |
2024-11-14 19:59:40 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 19:59:10 +0100 | housemate | (~housemate@146.70.66.228) (Max SendQ exceeded) |
2024-11-14 19:58:19 +0100 | <sm> | nice |
2024-11-14 19:58:14 +0100 | chele | (~chele@user/chele) (Remote host closed the connection) |
2024-11-14 19:58:03 +0100 | <geekosaur> | salesman, actually, but for a company that sold electronic (for 1980 values of electronic) parts to industry |
2024-11-14 19:57:45 +0100 | <sm> | tomsmeding yes exactly, that's why stack/cabal scripts are important |
2024-11-14 19:57:31 +0100 | <tomsmeding> | (not that anybody does that) |
2024-11-14 19:57:25 +0100 | <tomsmeding> | sm: re base versions with scripts: a cabal script has a build-depends block at the top, so you can put a version constraint on that ;) |
2024-11-14 19:57:19 +0100 | <geekosaur> | well, OSI SuperBoard II (the mainboard minus components), then he bought the components separately and had someone at work wave-solder it all together |
2024-11-14 19:57:08 +0100 | <sm> | was he a scientist ? |
2024-11-14 19:56:47 +0100 | <sm> | ohhhh |
2024-11-14 19:56:44 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 19:56:39 +0100 | <geekosaur> | I had that at home courtesy of my father |
2024-11-14 19:56:15 +0100 | <sm> | sweet. Commodore Pet & 6502 checking in! |
2024-11-14 19:56:02 +0100 | <geekosaur> | teaching myself Z80 assembly language |
2024-11-14 19:55:53 +0100 | <geekosaur> | banging on a TRS-80 Model I during off periods |
2024-11-14 19:55:53 +0100 | housemate | (~housemate@146.70.66.228) (Max SendQ exceeded) |
2024-11-14 19:55:17 +0100 | Tuplanolla | (~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla |
2024-11-14 19:55:08 +0100 | <geekosaur> | sophomore in high school |
2024-11-14 19:55:03 +0100 | sm | was 12 and about to see a computer next year |
2024-11-14 19:54:36 +0100 | <shapr> | haha |
2024-11-14 19:54:33 +0100 | <sm> | I was a small child too when I was a lad |
2024-11-14 19:53:44 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 19:52:37 +0100 | <shapr> | I was a small child when #! was added |
2024-11-14 19:52:03 +0100 | <shapr> | ooh this is a fun read https://en.wikipedia.org/wiki/Shebang_%28Unix%29#Version_8_improved_shell_scripts |
2024-11-14 19:51:53 +0100 | housemate | (~housemate@146.70.66.228) (Max SendQ exceeded) |
2024-11-14 19:51:24 +0100 | <geekosaur> | os/2 used to have EXTPROC |
2024-11-14 19:51:17 +0100 | <geekosaur> | I think powershell has something vaguely shebang-like, cmd doesn't |
2024-11-14 19:50:58 +0100 | sm | wonders what shebang line works in native windows shells (cmd, powershell) - none ? |
2024-11-14 19:50:40 +0100 | <geekosaur> | back then sh's idea of a comment was :, and it was actually a null command so you needed to quote any special characters in the "comment" |
2024-11-14 19:49:44 +0100 | housemate | (~housemate@146.70.66.228) housemate |
2024-11-14 19:49:43 +0100 | <shapr> | sm: yeah, I'll mention that |
2024-11-14 19:49:32 +0100 | <shapr> | wow, thanks |
2024-11-14 19:49:26 +0100 | <geekosaur> | yes |
2024-11-14 19:49:24 +0100 | <sm> | just remember it's very easy to write a runhaskell script, add some standard-looking imports, then share it or come back in a few months and find it depends on packages which are no longer installed or installed but changed |
2024-11-14 19:49:22 +0100 | <geekosaur> | on sh there was a libc hack, if exec() failed it retried it via sh |
2024-11-14 19:49:21 +0100 | <shapr> | oh wow, so csh had # comments before #! was magic bytes? |
2024-11-14 19:49:01 +0100 | <geekosaur> | it was a comment… for csh |
2024-11-14 19:48:53 +0100 | housemate | (~housemate@146.70.66.228) (Max SendQ exceeded) |
2024-11-14 19:48:42 +0100 | <shapr> | Yeah, I just realized I don't know whether # was a comment BEFORE it #! was the magic bytes for "this is an executable" |
2024-11-14 19:48:23 +0100 | <geekosaur> | (shebangs originated on BSD) |
2024-11-14 19:48:11 +0100 | <sm> | 👍🏻 |
2024-11-14 19:47:58 +0100 | <geekosaur> | -S word-splits the parameter |
2024-11-14 19:47:49 +0100 | <geekosaur> | historically the entire shebang line after the interpreter name was passed as a single parameter |
2024-11-14 19:47:33 +0100 | <geekosaur> | the former |
2024-11-14 19:47:21 +0100 | <sm> | I think env requires -S on *bsd (& mac) to allow extra arguments after the executable, GNU/linux doesn't. Or vice versa. |
2024-11-14 19:47:11 +0100 | <geekosaur> | (but some systems that require it don't have it. then again I'm not sure how many people run Illumos) |