--- Log opened Fri Sep 06 00:00:17 2019 |
00:16 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
01:23 | | celmin|away is now known as celticminstrel |
03:53 | <&[R]> | I'd go with ratpoison TBH, no window decorations, no panel, so all windows are fullscreen by default |
03:53 | <&[R]> | But you still can switch between them with a keyboard shortcut |
05:10 | | Derakon is now known as Derakon[AFK] |
06:11 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
06:58 | | Kindamoody[zZz] is now known as Kindamoody|afk |
08:02 | <@sshine> | Yossarian, re. me asking if you were a particular Yossarian: OK! and yes, I know the novel :) my Wikipedia handle is "Doc Daneeka". I seem to recall Milo Minderbinder the most. |
08:11 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
08:11 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
08:16 | <&McMartin> | Vorntastic: $FFD2/CHROUT and $FFE4/GETIN are both defaulted to screen and keyboard, yes, so A9 93 20 D2 FF is indeed PRINT CHR$(147); or CLS. |
08:16 | <&McMartin> | ("If you're really us, then what opcode are we thinking of?" "A HUNDRED AND SIXTY-NINE, DUDES!" "... whoa.") |
08:17 | <~Vorntastic> | Pfff |
08:23 | <~Vorntastic> | Had to actually check because 147 is actually just written in the petscii as clr/home (same as the other one in the lower part?) But it's actually the shifted version which clears the screen |
08:24 | <~Vorntastic> | Also I say petscii often enough that it's now in my autocorrect |
08:25 | <&McMartin> | 147 is CLR, yeah. I think... 19 is HOME? |
08:25 | <&McMartin> | This is also where quote mode is fun in BASIC |
08:25 | <~Vorntastic> | Think so. Would make sense |
08:25 | <&McMartin> | I know HOME renders as inverse-S and CLR as inverse-shift-S. |
08:26 | <~Vorntastic> | I never understood that when I was young but now, having not touched BASIC in 20+ years but having read the appendices I know how it works now |
08:26 | <&McMartin> | Because PRINT "{CLR}" is totally legal and puts the code on there, as opposed to clearing the screen mid-program line wiping out several minutes of work and type-checking because you hit quote one too many times not that I haven't done this FIVE THOUSAND TIMES |
08:27 | <~Vorntastic> | Indeed |
08:27 | <&McMartin> | Atari BASIC turns out to be similar, but instead of quote mode you can escape anything nit newline by hitting escape first. |
08:27 | <&McMartin> | And... wait a minute. |
08:28 | <&McMartin> | yes. |
08:28 | <&McMartin> | OK. |
08:28 | <&McMartin> | And newline is itself "inverse-video ESCAPE". |
08:28 | <&McMartin> | Literally every other code, however, can be typed at the keyboard, so as long as you never use the byte 0x9b you can just type machine code in directly. |
08:29 | <&McMartin> | (You also need to avoid 0x22 so that it doesn't close your string.) |
08:34 | <~Vorntastic> | What are those two? |
08:34 | <&McMartin> | 0x9b is their newline, for some godforsaken reason that I suddenly realize is probably it being the code for inverse-video-escape. |
08:34 | <&McMartin> | 0x22 is ", which ends strings. |
08:35 | <~Vorntastic> | I meant as opcodes really |
08:35 | <&McMartin> | Oh |
08:35 | <&McMartin> | Conveniently, neither is a valid 6502 opcode. |
08:36 | <~Vorntastic> | That is convenient |
08:36 | <&McMartin> | Meanwhile, 0D is ORA absolute and 0A is ASL A, both of which you would probably want. |
08:46 | <~Vorntastic> | It's kind of amazing how once you start naming pointers, the purpose of code becomes vastly clearer |
11:38 | | Degi [Degi@Nightstar-7citna.dyn.telefonica.de] has joined #code |
13:06 | | Degi [Degi@Nightstar-7citna.dyn.telefonica.de] has quit [Connection closed] |
13:23 | | celticminstrel [celticminst@Nightstar-6an2qt.dsl.bell.ca] has joined #code |
13:23 | | mode/#code [+o celticminstrel] by ChanServ |
14:03 | | celticminstrel is now known as celmin|away |
14:39 | | catalyst [catalyst@Nightstar-5dv16h.cable.virginm.net] has joined #code |
14:44 | < catalyst> | heya |
14:46 | < catalyst> | I started writing code again and I am immensely enjoying mysel |
14:46 | < catalyst> | thank you for coming to my TED talk |
14:47 | | catalyst [catalyst@Nightstar-5dv16h.cable.virginm.net] has quit [[NS] Quit: Leaving] |
14:47 | | catalyst [catalyst@Nightstar-5dv16h.cable.virginm.net] has joined #code |
14:48 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
14:48 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
15:33 | | Kindamoody|afk is now known as Kindamoody |
15:39 | | * ToxicFrog decorates catalyst with s-expressions |
15:50 | | * catalyst rolls around in lists |
15:51 | <@sshine> | sexpy! |
16:03 | < catalyst> | you know it |
16:13 | | Kindamoody [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Client exited] |
16:18 | | Kimo|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
16:18 | | mode/#code [+o Kimo|autojoin] by ChanServ |
16:18 | | Kimo|autojoin is now known as Kindamoody |
16:41 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
16:46 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has joined #code |
16:46 | | mode/#code [+qo Vorntastic Vorntastic] by ChanServ |
17:19 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
17:22 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
17:44 | | * jerith hugs catalyst. |
17:52 | | * catalyst hugs jerith |
17:58 | <&jerith> | What are you up to these days? Seems like forever since we last spoke. |
18:13 | <&jerith> | I don't want to muck about in Go code. I want to write a blog post. ;_; |
18:14 | <&jerith> | But footnotes are broken. ;_; |
18:14 | <&jerith> | (So are includes, but fixing that is probably more work and a symlink is an easy workaround.) |
18:54 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
19:21 | | Vorntastic [uid293981@Nightstar-6br85t.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
19:43 | | Degi [Degi@Nightstar-7citna.dyn.telefonica.de] has joined #code |
20:02 | | Derakon[AFK] is now known as Derakon |
20:06 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code |
20:26 | < catalyst> | I am slowly building a framework I can use for things like playing around with rendering tech |
20:27 | < catalyst> | and showing off |
20:27 | < catalyst> | https://www.google.com/url?q=https://paste.ofcode.org/JqpfwnnWb2KqUXHaEXAwks&sa=D&source=hangouts&ust=1567877678220000&usg=AFQjCNFFr9TeyOrH-E6A0YkqZ0PZcVABcQ |
20:27 | < catalyst> | oh |
20:27 | < catalyst> | well I suppose that link works |
20:27 | < catalyst> | https://paste.ofcode.org/JqpfwnnWb2KqUXHaEXAwks was what I really meant though |
20:40 | <&jerith> | With that much syntax, it must be either C++ or Scala.~ |
20:41 | <&jerith> | (Yes, I can recognise C++. Even if I can't quite understand it.) |
20:45 | | * McMartin is actually in the process of lowering his work system's use of C++ now. |
20:47 | <&jerith> | I'm guessing decltype() means "T must have this method" and declval() is "values of this type". |
20:56 | | Kindamoody is now known as Kindamoody[zZz] |
21:11 | < catalyst> | decltype means "don't eval this expression just work out what type it is and return that" |
21:11 | < catalyst> | declval means "pretend to construct an instance of this type for an expression even if there's no valid constructor" |
21:12 | < catalyst> | and SFINAE means that the function is deleted from the overload set if the type is invalid |
21:12 | < catalyst> | hence what that second type does, even though it has no name, is only allow the function to exist if there's an operator<<(std::ostream&, T&) that can be called |
21:12 | < catalyst> | which is such a roundabout way of doing it |
21:12 | < catalyst> | but hey, it works |
21:16 | < catalyst> | https://paste.ofcode.org/Cz5aL2W3f6m6vR4BZQGMrW |
21:17 | < catalyst> | I wonder if there's a way for me to write something like this |
21:17 | <&McMartin> | Also, because this is not a common mechanism in other languages: "SFNIAE" is the C++ template rule "satisfiability failure is not an error" |
21:17 | < catalyst> | I can't remember if there's a C++ type trait |
21:17 | < catalyst> | "not a common mechanism" ie "hack to make things work that probably shouldn't" |
21:21 | <&jerith> | Would that do a runtime check, or is the branch collapsed during specialization or whatever? |
21:23 | < catalyst> | if constexpr is compile time |
21:23 | < catalyst> | so it does the same thing of rendering the other branch uncompiled |
21:23 | < catalyst> | just much more neatly than using overloads |
21:24 | < catalyst> | I just don't know if there's a standard way of saying "is this expression valid" |
21:24 | <&jerith> | Propose one for C++22 or whenever the next version is due?~ |
21:33 | < catalyst> | x) |
21:47 | < catalyst> | once I work out how to implement it perhaps |
21:49 | <&jeroud> | Pah, details. B-) |
22:21 | | Degi [Degi@Nightstar-7citna.dyn.telefonica.de] has quit [Connection closed] |
22:42 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has quit [Ping timeout: 121 seconds] |
22:43 | | Pink [user1@Nightstar-g7hdo5.dyn.optonline.net] has joined #code |
23:38 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
--- Log closed Sat Sep 07 00:00:19 2019 |