00:00:21 <esolangs> [[User:Pimpimling]] https://esolangs.org/w/index.php?diff=120285&oldid=120284 * Pimpimling * (+38)
00:07:17 <zzo38> I think that isn't a problem, since stdin is for input and not for output so you are not supposed to truncate it (and it might be a error instead of doing anything). Having a truncate function for FILE objects is mainly useful with open_memstream and fopencookie (although then will need another function such as fopencookie2 so that you can define the truncate function).
00:12:22 <zzo38> However, the operating system design that I was working on, does require different file access functions (although the kernel doesn't need them since it uses proxy capabilities instead, and user programs can also use proxy capabilities; what I mean is file access functions in the standard library which will call the capabilities), since the C functions, POSIX functions, etc are insufficient.
00:13:53 <zzo38> (There are no file names, files can have multiple numbered streams, file streams can contain both bytes and hard links to other files, and multiple objects can be locked at once, and transactions can be set involving multiple objects at once, etc)
00:17:27 <ais523> hmm, I wonder how many platfomts support reading from stderr when programs are run in the most normal way?
00:18:01 <ais523> (on Linux/UNIX, when stderr is a terminal (and it frequently is), you can read from it to read from that terminal even if input is redirected)
00:20:58 <zzo38> I don't know. Some might have separate functions/ports that only allow reading or only writing, so it is not possible.
00:38:04 <esolangs> [[Language list]] M https://esolangs.org/w/index.php?diff=120286&oldid=120276 * PythonshellDebugwindow * (+17) /* C */ add
02:11:55 <esolangs> [[Gregorovich]] M https://esolangs.org/w/index.php?diff=120287&oldid=79137 * Pimpimling * (-1) Punctuation fix (not code-related)
02:19:07 -!- wpa has quit (Quit: Connection closed for inactivity).
02:50:06 -!- ais523 has quit (Quit: sorry about my connection).
02:51:54 -!- ais523 has joined.
04:09:58 <esolangs> [[BF Lite]] M https://esolangs.org/w/index.php?diff=120288&oldid=96945 * PythonshellDebugwindow * (+104) Categories
04:32:25 <esolangs> [[Next]] https://esolangs.org/w/index.php?diff=120289&oldid=120275 * Hakerh400 * (+87)
04:50:39 -!- craigo has joined.
05:35:05 -!- craigo has quit (Quit: Leaving).
07:14:34 -!- ais523 has quit (Ping timeout: 276 seconds).
07:38:02 <esolangs> [[(top, height)]] https://esolangs.org/w/index.php?diff=120290&oldid=109082 * Squidmanescape * (+611) /* Finite-State Automaton */
07:48:42 -!- tromp has joined.
08:19:26 <esolangs> [[Language list]] M https://esolangs.org/w/index.php?diff=120291&oldid=120286 * Azwid * (+15) /* C */
08:53:27 -!- simcop2387 has quit (Read error: Connection reset by peer).
08:53:34 -!- perlbot has quit (Read error: Connection reset by peer).
08:58:15 -!- perlbot has joined.
08:58:38 -!- simcop2387 has joined.
09:35:55 <esolangs> [[HsifdaeD]] https://esolangs.org/w/index.php?diff=120292&oldid=116834 * Squidmanescape * (+0) Fixed spelling error (hsifdeaD -> hsifdaeD)
09:59:13 -!- Koen_ has joined.
10:12:01 -!- wib_jonas has joined.
10:17:46 -!- Lord_of_Life has quit (Ping timeout: 255 seconds).
10:17:49 -!- Lord_of_Life_ has joined.
10:20:48 -!- Lord_of_Life_ has changed nick to Lord_of_Life.
10:35:36 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
10:41:22 -!- tromp has joined.
10:42:37 <wib_jonas> re https://logs.esolangs.org/libera-esolangs/2023-03.html#lPH race condition in displaying the next stop or stops on displays in public transport vehicles. the race condition isn't solved, but they did patch a workaround for the most confusing case. the displays M4 metro used to change to the next station at the start of the door close warning,
10:42:38 <wib_jonas> which was way too early. now it changes to the next station a few seconds after the train starts to roll instead.
10:43:49 <wib_jonas> also on the M4 metro, in at least one station the led strip embedded in the platform now has two different colors of blue in different sections, presumably because they replaced some of the sections of the led strip that had too many burnt out leds.
10:52:07 <wib_jonas> ais523: re stderr readable, old versions of the Linux kernel like 2.4.0 have a funny sequence in init/main.c:init which says `(void) open("/dev/console",O_RDWR,0); (void) dup(0); (void) dup(0); return execve(shell, argv, envp_init);` (with no error handling) opening the console for the init process and duping it to the next two file descriptors.
10:52:08 <wib_jonas> this has been refactored since so it looks much less hilarious in modern kernel sources.
10:53:22 -!- Sgeo has quit (Read error: Connection reset by peer).
10:57:26 <wib_jonas> of course that isn't the typical case for how a process gets its standard handles, instead I think getty opens the terminal that init tells it to open, with separate getty processes for each virtual terminal, or these days an X terminal emulator or ssh or similar gives the client side of the pty for the process it spawns
11:02:24 <esolangs> [[Special:Log/upload]] upload * Alx * uploaded "[[File:Luapplogo.jpg]]"
11:17:25 <esolangs> [[RightSlash]] N https://esolangs.org/w/index.php?oldid=120294 * ChuckEsoteric08 * (+866) Created page with "'''RightSlash''' is esolang by [[User:ChuckEsoteric08]] with left-infinite tape with cells with values 0-F. [[User:ChuckEsoteric08]] forgot to save .txt file so not much specification is known. What is known that it has no increment/decrement commands, it use
11:27:03 <esolangs> [[RightSlash]] https://esolangs.org/w/index.php?diff=120295&oldid=120294 * ChuckEsoteric08 * (+253)
12:22:45 <fizzie> HackEso's init.c has https://github.com/fis/umlbox/blob/master/init.c#L73-L76 -- not quite sure why it *doesn't* do that trick of making them share an open file description.
12:28:09 -!- wib_jonas has quit (Quit: Client closed).
12:54:00 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
13:32:48 -!- FreeFull has joined.
13:44:55 <esolangs> [[Lua++]] N https://esolangs.org/w/index.php?oldid=120296 * Alx * (+13602) Created page with "= Lua++ = [[File:Luapplogo.jpg|frameless]] Lua++: The (in-development) Lua 5.1 superset, made by [[User: Alx]]. {| class="wikitable" ! Associated file extensions || Descriptor |- | <code>.lpp</code> || The non-compiled extension type recognised by the Lua++ interpreter. |
13:46:28 <esolangs> [[User:Alx]] https://esolangs.org/w/index.php?diff=120297&oldid=118058 * Alx * (+21)
13:51:58 <esolangs> [[BracketOnly]] https://esolangs.org/w/index.php?diff=120298&oldid=120269 * MihaiEso * (+2) /* Never Gonna Give You Up */ Corrected grammar.
14:07:28 -!- tromp has joined.
14:18:11 -!- Guest57 has joined.
14:18:38 -!- Guest57 has quit (Client Quit).
15:07:59 <esolangs> [[StackBit]] https://esolangs.org/w/index.php?diff=120299&oldid=109386 * ChuckEsoteric08 * (+143) /* StackBit minimalisation */
15:40:24 -!- __monty__ has joined.
16:58:36 <esolangs> [[UBLANG]] https://esolangs.org/w/index.php?diff=120300&oldid=102779 * ChuckEsoteric08 * (+442)
17:17:46 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120301&oldid=120209 * Infinitehexagon * (+61)
17:20:37 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120302&oldid=120301 * Infinitehexagon * (+38)
17:28:42 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120303&oldid=120302 * Infinitehexagon * (+151)
17:28:53 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120304&oldid=120303 * Infinitehexagon * (-1)
17:29:41 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120305&oldid=120304 * Infinitehexagon * (+8)
17:29:56 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120306&oldid=120305 * Infinitehexagon * (-6)
17:50:17 -!- Sgeo has joined.
18:04:30 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120307&oldid=120306 * Infinitehexagon * (+7)
18:04:51 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120308&oldid=120307 * Infinitehexagon * (+6)
18:05:09 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120309&oldid=120308 * Infinitehexagon * (-2)
18:05:19 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120310&oldid=120309 * Infinitehexagon * (-8)
18:06:08 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120311&oldid=120310 * Infinitehexagon * (-5)
18:29:17 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
18:36:56 -!- Hooloovoo has quit (Ping timeout: 256 seconds).
18:38:02 -!- Hooloovoo has joined.
18:48:06 -!- tromp has joined.
18:55:29 -!- chiselfuse has quit (Remote host closed the connection).
19:00:47 -!- chiselfuse has joined.
19:01:05 <esolangs> [[Talk:Quell]] N https://esolangs.org/w/index.php?oldid=120312 * Infinitehexagon * (+68) Created page with "Truth Machine: <pre>INP 0 loop: OUT 0 JNZ 0 loop JEQ 0 1 loop"
19:01:32 <esolangs> [[Talk:Quell]] https://esolangs.org/w/index.php?diff=120313&oldid=120312 * Infinitehexagon * (+37)
19:02:32 <esolangs> [[Talk:Quell]] https://esolangs.org/w/index.php?diff=120314&oldid=120313 * Infinitehexagon * (-2)
19:02:45 <esolangs> [[Talk:Quell]] https://esolangs.org/w/index.php?diff=120315&oldid=120314 * Infinitehexagon * (-1)
19:02:58 <esolangs> [[Talk:Quell]] https://esolangs.org/w/index.php?diff=120316&oldid=120315 * Infinitehexagon * (-2)
19:03:18 <esolangs> [[Talk:Quell]] https://esolangs.org/w/index.php?diff=120317&oldid=120316 * Infinitehexagon * (-12)
19:05:31 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120318&oldid=120311 * Infinitehexagon * (+467)
19:05:41 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120319&oldid=120318 * Infinitehexagon * (+9)
19:13:14 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120320&oldid=120319 * Infinitehexagon * (+332)
19:13:29 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120321&oldid=120320 * Infinitehexagon * (+1)
19:25:01 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120322&oldid=120321 * Infinitehexagon * (-460)
19:32:39 <esolangs> [[HTPF]] https://esolangs.org/w/index.php?diff=120323&oldid=120273 * Kaveh Yousefi * (+40) Rectified an unterminated documentation string in the Common Lisp implementation and amended its orthography.
19:34:20 <esolangs> [[Turi ip ip ip]] M https://esolangs.org/w/index.php?diff=120324&oldid=120239 * Kaveh Yousefi * (-4) Removed a superfluous and in the looping counter's introductory text.
19:37:26 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120325&oldid=120322 * Infinitehexagon * (+288)
19:37:40 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120326&oldid=120325 * Infinitehexagon * (-43)
19:37:56 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120327&oldid=120326 * Infinitehexagon * (-7)
19:39:09 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120328&oldid=120327 * Infinitehexagon * (-4)
19:39:20 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120329&oldid=120328 * Infinitehexagon * (+2)
19:40:15 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
19:40:47 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120330&oldid=120329 * Infinitehexagon * (-1)
19:42:27 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120331&oldid=120330 * Infinitehexagon * (-2)
19:43:18 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120332&oldid=120331 * Infinitehexagon * (-5) /* Truth machine */
19:43:45 -!- tromp has joined.
19:56:25 <esolangs> [[Threi]] https://esolangs.org/w/index.php?diff=120333&oldid=120332 * Infinitehexagon * (+12)
21:07:56 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
21:29:31 -!- tromp has joined.
21:32:15 <esolangs> [[Threi]] M https://esolangs.org/w/index.php?diff=120334&oldid=120333 * PythonshellDebugwindow * (+15) Formatting
21:34:54 <esolangs> [[RightSlash]] M https://esolangs.org/w/index.php?diff=120335&oldid=120295 * PythonshellDebugwindow * (+33) Stub, category
21:36:07 <esolangs> [[Searchfuck]] M https://esolangs.org/w/index.php?diff=120336&oldid=102834 * PythonshellDebugwindow * (+62) Categories
22:31:04 -!- Koen_ has quit (Quit: Leaving...).
22:34:54 <fizzie> Hm. Burlesque has the [r ("reduce") builtin, which is basically Haskell foldl1, but I can't find the scanl1 equivalent, and it's not real easy to construct if you're already using the global state stack for some other purpose.
22:35:01 <fizzie> I guess I could the undocumented s0 S0 g0 stuff, but it always feels a little cheaty, especially since it's not mentioned in the language reference.
22:44:47 <esolangs> [[Expressive]] M https://esolangs.org/w/index.php?diff=120337&oldid=117930 * PythonshellDebugwindow * (+53) Categories
22:52:02 -!- tromp has quit (Quit: My iMac has gone to sleep. ZZZzzz…).
22:54:16 -!- __monty__ has quit (Quit: leaving).
23:41:08 -!- rodgort` has quit (Quit: Leaving).