--- Log opened Sun Jan 21 00:00:29 2018 |
00:07 | | celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has joined #code |
00:07 | | mode/#code [+o celticminstrel] by ChanServ |
00:10 | | * McMartin sips tea |
00:10 | <&McMartin> | I should work on fixing an ancient codebase |
00:10 | | * McMartin goes back to sipping tea |
00:10 | <@celticminstrel> | An ancient broken codebase? |
00:18 | <&McMartin> | I need to be more systematic about addressing that UQM/GCC compiler drift stuff from last week. |
00:24 | < Degi> | Compiler drift? |
00:25 | <&[R]> | It's where you give the compiler a BRK and TRN instruction at the same time. |
00:29 | <@TheWatcher> | http://i.imgur.com/BbgL7x3.gif |
00:29 | <&McMartin> | It's where what programs the compiler accepts changes over time |
00:30 | <&McMartin> | And in particular, the 0.7.0 UQM sources don't build on any GCC after about 4.3. |
00:30 | <&McMartin> | And starting at 7.x that changes from "trivial linker error" to "your header guard defines conflict with our internals so suddenly you're missing critical types and everything explodes." |
00:31 | <&McMartin> | Investigating the latter also showed that many of the header guards also conflicted with one another, and that this was maybe not the way to go |
00:31 | <&McMartin> | So I need to throw together a little guard generator and unleash it on the code, but that feels suspiciously like work so I haven't really been doing that. |
00:31 | | Kindamoody is now known as Kindamoody[zZz] |
00:46 | <@celticminstrel> | Heh. |
01:00 | | Jessikat [Jessikat@Nightstar-lrc3lo.dab.02.net] has joined #code |
01:32 | | * McMartin puts together a quick scanner. "Looks like 195 files need updating." |
01:32 | <&McMartin> | Time for me to remind myself how to use sed. |
02:42 | <&[R]> | I'm guessing for a non s/// usage? |
03:02 | | Namegduf [namegduf@Nightstar-08u.5uh.185.31.IP] has quit [Connection closed] |
03:11 | | Jessikat` [Jessikat@Nightstar-lmddef.dab.02.net] has joined #code |
03:13 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
03:13 | | mode/#code [+o mac] by ChanServ |
03:13 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
03:14 | | Jessikat [Jessikat@Nightstar-lrc3lo.dab.02.net] has quit [Ping timeout: 121 seconds] |
03:24 | <&McMartin> | It was in fact an s///g usage, but I needed to remember which option was -i and I also needed to re-confirm that \b was the thing I wanted it to be. |
03:24 | <&[R]> | Fair enough |
03:25 | <&McMartin> | (I don't use sed very much.) |
03:44 | | Degi [Degi@Nightstar-othrpl.dyn.telefonica.de] has quit [[NS] Quit: Leaving] |
03:58 | <&[R]> | Stack based math processors hurt my head |
03:58 | <&McMartin> | Like, RPN? |
03:58 | <&[R]> | Maybe? |
03:58 | <&[R]> | dc [+z1<r]srz1<rp |
03:59 | <&McMartin> | More or less. |
03:59 | <&McMartin> | https://en.wikipedia.org/wiki/Reverse_Polish_notation |
03:59 | <&McMartin> | Confirmed that this is what dc uses |
03:59 | <&[R]> | https://stackoverflow.com/questions/450799/shell-command-to-sum-integers-one-per-line <-- from that, search for obscurity |
04:06 | <&[R]> | Though I first encountered it in Factorization [the Minecraft mod] (though the system it appears in wasn't exactly user-friendly, and no-one uses it) |
04:06 | <&McMartin> | I first encountered it because it was how you operated HP's calculators back in the 1990s. |
04:07 | <&[R]> | O.o |
04:07 | <&McMartin> | But it made a Hell of a lot more sense than [+z1<r]srz1<rp. |
04:07 | <&McMartin> | And you can see your stack as it grows and shrinks. |
04:07 | <&[R]> | Yeah |
04:07 | <&McMartin> | (In part also why I figured I could just say "RPN" and be understood >_>) |
04:08 | <&[R]> | Yeah, I knew about RPN |
04:08 | <&[R]> | Factorization's (Fz) system gives you two constants to play with: 0 and 1. Which makes doing any form of math annoying as hell. |
04:09 | <&McMartin> | That is more constrained than one would like. |
04:09 | <&[R]> | Yeah |
04:09 | <&McMartin> | On the plus side, people who learned to program by way of Minecraft will discover that systems like the Z80 and 6502 are unimaginable luxury. |
04:10 | <&[R]> | Some of the redstone CPUs are crazy |
04:11 | <&[R]> | Though the main issue IMO is Minecraft has no nice way to display things |
04:11 | <&[R]> | Due to how dust and strong/weak signals work |
04:14 | <&[R]> | Input can be just as bad too actually |
04:44 | <~Vornotron> | [R]: having written arithmetic parsers it's *vastly* easier to handle stack-based. essentially what you do to handle regular infix stuff is turn it into a stack |
04:57 | <@mac> | McMartin: I recall when we first started looking at RISK assembler back in my university classes, the 'load constant' instruction was unaccountably left unmentioned. I spent some time puzzling out how you could program under those circumstances. I concluded you could use a comparison operation between register 0 (which always contains 0) and the PC register (which will always be >0) in order to generate a constant 1, then math your way to |
04:57 | <@mac> | whatever value you needed. |
04:57 | <@mac> | Via addition and multiplication, I mean. |
04:58 | <&McMartin> | addi r1, r0, #nnnn |
05:00 | <@mac> | McMartin: Constant value arguments weren't mentioned either. (Well they were, but not until later when I'd been informed of the load-constant functionality.) |
05:03 | <&[R]> | Vornotron: yeah, I don't doubt that |
05:05 | | Netsplit Krikkit.Nightstar.Net <-> Deepthought.Nightstar.Net quits: Vornlicious, @Alek, @mac |
05:05 | | mode/#code [+o mac] by ChanServ |
05:05 | | Netsplit over, joins: mac |
05:09 | | Derakon is now known as Derakon[AFK] |
05:10 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code |
05:10 | | mode/#code [+o Alek] by ChanServ |
05:10 | | Vorntastic [Vorn@Nightstar-totbi5.sub-174-210-6.myvzw.com] has joined #code |
05:48 | | celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
05:49 | | celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has joined #code |
05:49 | | mode/#code [+o celticminstrel] by ChanServ |
05:50 | | celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
07:40 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
08:26 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
08:26 | | mode/#code [+o macdjord] by ChanServ |
08:26 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
08:38 | | * macdjord :-/ |
08:38 | <&McMartin> | ? |
08:38 | <@macdjord> | Twice today, my Win10 laptop has totally frozen up while watching a YouTube video in Firefox. |
08:40 | <@macdjord> | I have no idea why. |
08:44 | <@macdjord> | No Windows updates installed since the 10th. |
09:35 | | Kindamoody[zZz] is now known as Kindamoody|afk |
09:35 | | Kindamoody|afk [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [[NS] Quit: Later!] |
09:41 | | Jessikat [Jessikat@Nightstar-se38os.dab.02.net] has joined #code |
09:45 | | Jessikat` [Jessikat@Nightstar-lmddef.dab.02.net] has quit [Ping timeout: 121 seconds] |
10:51 | < Mahal> | memory flash leak? |
11:19 | <@TheWatcher> | Youtube still serves flash video? O.o |
11:33 | | Degi [Degi@Nightstar-othrpl.dyn.telefonica.de] has joined #code |
11:54 | <&[R]> | Reminded of the guy who told me that learning C/C++ was useless, everything was going to be written in flash in the future. Even kernels. Even AAA video game titles. |
11:56 | <&[R]> | This was ~2004 BTW |
11:59 | < Jessikat> | lol |
12:03 | <@TheWatcher> | wat |
12:28 | < Vorntastic> | Lol. |
12:46 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
13:02 | | Kindamoody|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has joined #code |
13:02 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
13:58 | <&ToxicFrog> | ... |
13:59 | <@ErikMesoy> | megawat |
14:07 | < Degi> | The Future will be based on JavaScript! Even embedded µC's! |
14:31 | | Kindamoody|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has quit [Connection reset by peer] |
14:32 | | Kindamoody|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has joined #code |
14:32 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
14:43 | | Kindamoody|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
14:52 | | Kindamoody|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has joined #code |
14:52 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
14:59 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
14:59 | | mode/#code [+qo Vornotron Vornotron] by ChanServ |
15:00 | | celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has joined #code |
15:00 | | mode/#code [+o celticminstrel] by ChanServ |
15:44 | | Vornlicious [Vorn@Nightstar-dtmvdu.sub-97-33-192.myvzw.com] has joined #code |
15:44 | | Vornlicious [Vorn@Nightstar-dtmvdu.sub-97-33-192.myvzw.com] has quit [[NS] Quit: Bye] |
15:44 | | Vornlicious [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
15:47 | | Vorntastic [Vorn@Nightstar-totbi5.sub-174-210-6.myvzw.com] has quit [Ping timeout: 121 seconds] |
16:11 | | Jessikat` [Jessikat@Nightstar-shk563.dab.02.net] has joined #code |
16:13 | | Jessikat [Jessikat@Nightstar-se38os.dab.02.net] has quit [Ping timeout: 121 seconds] |
16:37 | | Kindamoody|autojoin [Kindamoody@Nightstar-v552ts.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
16:54 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Ping timeout: 121 seconds] |
17:48 | | * Tamber peers up, wats, headshakes sadly. |
17:48 | <@Tamber> | "We rewrote the kernel in Flash, because things were running too quickly." |
17:49 | <&[R]> | I know right? |
17:50 | <@Tamber> | "But your bootsplash screens now look fucking *amazing*." |
17:50 | <&[R]> | Not like that's something limited to flash |
17:51 | <@Tamber> | No, but if you're going to pull something that stupid, there may as well be one upside~ |
17:51 | <&[R]> | Fair enough |
18:18 | | Derakon[AFK] is now known as Derakon |
18:51 | | Jessikat` [Jessikat@Nightstar-shk563.dab.02.net] has quit [Ping timeout: 121 seconds] |
19:03 | | Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
19:03 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
19:03 | | Kindamoody|autojoin is now known as Kindamoody |
21:00 | <@TheWatcher> | Tamber: oh, so /that/ explains uefi~ |
21:01 | <@macdjord> | Mahal, TheWatcher: Not using flash video (though I think YT does still offer it as a legacy format). Besides, this was a /hard/ lock - total freeze, not even the capslock light responding, last 0.1s of audio playing in a continuous loop. A memory leak should not be able to do that. |
21:01 | < Mahal> | I've had my browser take down my PC before now |
21:04 | <&[R]> | Speaking of UEFI, should I put effort into learning how to boot through it, or continue using BIOS emulation? I'm not using systemd so I don't have those vulnerabilities to worry about. |
21:06 | <@macdjord> | Mahal: I probably have, but not often. (Well, not often in any modern Windows version.) |
21:26 | | Vornotron [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
21:31 | | himi [sjjf@Nightstar-ck9.otu.7.125.IP] has joined #code |
21:31 | | mode/#code [+o himi] by ChanServ |
21:44 | < Degi> | Once my PC sort-of froze in minecraft with an animation replaying over and over after a lightning strike hit near my home, which I guess corrupted parts of the memory or so. A restart fixed that though, no permanent damage. |
21:45 | <&ToxicFrog> | Yeah, that usually means the system has hardlocked but the sound hardware is still running and just endlessly replaying whatever was in the output buffer. |
21:54 | | himi [sjjf@Nightstar-ck9.otu.7.125.IP] has quit [Ping timeout: 121 seconds] |
21:54 | | * Mahal nods at ToxicFrog |
22:12 | | Jessikat [Jessikat@Nightstar-5pkm0j.dab.02.net] has joined #code |
22:17 | < Degi> | But the video hardware was also working and I think that part of the animation may have been CPU-based. Maybe the stack got garbled. |
23:46 | | Degi [Degi@Nightstar-othrpl.dyn.telefonica.de] has quit [Connection closed] |
--- Log closed Mon Jan 22 00:00:31 2018 |