code logs -> 2020 -> Sat, 10 Oct 2020< code.20201009.log - code.20201011.log >
--- Log opened Sat Oct 10 00:00:01 2020
02:20
<&McMartin>
Hm, I wonder if I can actually fit all the rest of this code into 1KB.
02:22
<~Vornicus>
[R]: oh neat
03:26 Degi [Degi@Nightstar-e6sath.pool.telefonica.de] has quit [Operation timed out]
03:28 Degi [Degi@Nightstar-4djf1f.pool.telefonica.de] has joined #code
03:29 McMartin [mcmartin@Nightstar-c25omi.ca.comcast.net] has quit [[NS] Quit: kernel upgrade]
03:33 McMartin [mcmartin@Nightstar-c25omi.ca.comcast.net] has joined #code
03:33 mode/#code [+ao McMartin McMartin] by ChanServ
05:09 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed]
05:20 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has joined #code
05:20 mode/#code [+qo Vorntastic Vorntastic] by ChanServ
07:01 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed]
07:01 VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code
07:01 mode/#code [+ao VirusJTG VirusJTG] by ChanServ
07:55 celticminstrel [celticminst@Nightstar-ke9gs7.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!]
08:18 SmithKurosaki [uid215460@Nightstar-0bi4dv.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
08:36
<&McMartin>
Hm. I am within striking distance of getting that Simulated Evolution program properly ported to the C64.
08:43
<&McMartin>
The stuff that's left, though, is about 75 lines of C, and that can get painful if I'm clumsy about it.
08:49
<&McMartin>
I'm *pretty sure* that I can fit that within the 1KB I'd like to fit it into
08:50
<&McMartin>
That would give the whole program a contiguous memory footprint of 14KB.
08:55
<&McMartin>
(This thing is the second most memory-hungry retro program I've ever written, and the first used the entirety of RAM as ring buffer)
10:04
< catalyst>
McMartin: wrt "this is hm interesting consequence but don't use it" I believe the C++ constexpr rules allow for side effects at compile time
10:05
< catalyst>
(unintentionally)
10:10
<&McMartin>
yikes
10:14
< catalyst>
https://web.archive.org/web/20200504145553/http://b.atch.se/posts/constexpr-counter/
10:19
<~Vorntastic>
Yikes
10:30 catalyst [catalyst@Nightstar-v6lb30.cable.virginm.net] has quit [Ping timeout: 121 seconds]
10:38 catalyst_ [catalyst@Nightstar-v6lb30.cable.virginm.net] has joined #code
10:40 Kindamoody is now known as Kindamoody|afk
11:07 Pinkhair [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
11:21
<@abudhabi>
Is it a bad thing that as I gain experience in LINQ expressions, I tend to use more and more of them, in more convoluted ways, which would be completely opaque for someone less experienced (like a past me)?
11:22
<~Vorntastic>
To be fair
11:23
<~Vorntastic>
The point of a linq excursion is to condense a much larger and generally less readable sequential process into something relatively concise that explains what you want and not how to get it
11:24
<~Vorntastic>
I would say that, well, most of the time linq is better than not linq just because you can skip the how
11:26
<~Vorntastic>
That said often is better to do, like, several expressions to get where you're going
11:28
<@abudhabi>
You mean I shouldn't one-line something like: x.Things.Where(t => t.Date > DateTime.Now).Select(t => t.Date).OrderByDescending(d => d.Value).FirstOrDefault();
11:28
<@abudhabi>
:V
11:29
<~Vorntastic>
Oh that's nothing
11:29
<@abudhabi>
It would have last year's me staring at it for an hour trying to figure out what it does.
11:34
<~Vorntastic>
The date of the biggest thing in the future?
11:36
<@abudhabi>
Latest date of the future ones.
11:36
<@abudhabi>
I think.
11:36
<@abudhabi>
This example doesn't make much sense, I think you can skip the Where clause.
11:40
<~Vorntastic>
Almost, it uses a default - or should, I would have imagined that would take an argument for what default exactly? - on cases where there are no future ones
11:41
<@abudhabi>
Mmm.
11:58 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code
15:51 celticminstrel [celticminst@Nightstar-ke9gs7.dsl.bell.ca] has joined #code
15:51 mode/#code [+o celticminstrel] by ChanServ
15:53 Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code
15:53 mode/#code [+qo Vornicus Vornicus] by ChanServ
17:50 Vorntastic [uid293981@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity]
18:30 gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has quit [[NS] Quit: Replacing cables]
18:31 Kindamoody|afk is now known as Kindamoody
19:51 gnolam [lenin@Nightstar-ik80lk.priv.bahnhof.se] has joined #code
19:51 mode/#code [+o gnolam] by ChanServ
20:50 Pinkhair [uid208117@Nightstar-h2b233.irccloud.com] has joined #code
22:04 catalyst [catalyst@Nightstar-v6lb30.cable.virginm.net] has joined #code
22:04 catalyst_ [catalyst@Nightstar-v6lb30.cable.virginm.net] has quit [Connection closed]
23:07 Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Sun Oct 11 00:00:03 2020
code logs -> 2020 -> Sat, 10 Oct 2020< code.20201009.log - code.20201011.log >

[ Latest log file ]