--- Log opened Thu Dec 03 00:00:47 2020 |
00:08 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has quit [Connection closed] |
00:31 | | mac [macdjord@Nightstar-re5.7if.45.45.IP] has joined #code |
00:31 | | mode/#code [+o mac] by ChanServ |
00:35 | | macdjord|slep [macdjord@Nightstar-re5.7if.45.45.IP] has quit [Ping timeout: 121 seconds] |
00:46 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [Ping timeout: 121 seconds] |
00:56 | | macdjord|slep [macdjord@Nightstar-re5.7if.45.45.IP] has joined #code |
00:56 | | mode/#code [+o macdjord|slep] by ChanServ |
00:59 | | mac [macdjord@Nightstar-re5.7if.45.45.IP] has quit [Ping timeout: 121 seconds] |
01:35 | | Degi_ [Degi@Nightstar-tt040l.pool.telefonica.de] has joined #code |
01:37 | | Degi [Degi@Nightstar-n9ugh0.pool.telefonica.de] has quit [Operation timed out] |
01:37 | | Degi_ is now known as Degi |
01:41 | | Kindamoody is now known as Kindamoody[zZz] |
04:59 | | NSGuest13138 [uid208117@Nightstar-h2b233.irccloud.com] has joined #code |
04:59 | | NSGuest13138 is now known as Pinkhair |
06:24 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed] |
06:25 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
06:25 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
06:30 | <&jerith> | Day 3 was... not quite what I expected it to be. |
06:39 | <&McMartin> | I have been learning more things about std::String! |
06:46 | <@celticminstrel> | ? |
06:57 | | celticminstrel [celticminst@Nightstar-26ueug.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
07:43 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
07:43 | | mode/#code [+o himi] by ChanServ |
08:13 | <&jerith> | Rust is one of the few languages where I feel a mutable string type is sensible. |
08:36 | < catalyst> | and yet it's not big on letting you mutate them |
08:36 | < catalyst> | why do we call them strings when 'text' is right there anyway |
08:37 | <&Reiver> | IIRC, because strings were strings of ... stuff, not always characters? |
08:37 | <&Reiver> | It just happens to be that we now pretty much always mean a string of characters, which is, indeed, otherwise known as 'text' |
08:46 | < catalyst> | https://www.sitepoint.com/why-is-a-string-called-a-string/ |
08:46 | <&jerith> | Maybe because "text" used to (and still does, if you dig deep enough) describe part of the program structure? |
08:47 | < catalyst> | oh, another excellent point |
08:48 | <&Reiver> | ... both of those are pretty compelling |
08:49 | <&jerith> | "by essentially tricking a little bit of sand into remembering numbers" <3 |
08:49 | <&Reiver> | And indeed, make one think of, uh |
08:49 | <&jerith> | I have no idea where I found it, but one of my favourite quotes is "Behold! We have tamed lightning and used it to teach sand how to think!" |
08:50 | <&Reiver> | "We need a word for text." "Why not, you know, 'text'?" "Already using it." "Oh. Huh. Uh... 'String'? Like in the old printing press days?" "Huh. You know what, sure, that works." |
08:51 | <&Reiver> | It is also, hm |
08:51 | <&Reiver> | A good term |
08:51 | <&Reiver> | Especially in the early days |
08:51 | < catalyst> | "I am a programmer, which means I force lightning to do math" |
08:51 | <&Reiver> | "You may have a string of text, up to X characters long..." |
08:51 | <&Reiver> | Printing presses inherently measured length in strings, so when in the same mindset... |
08:52 | < catalyst> | Reiver: I recommend reading the article if you're interested |
08:52 | <&Reiver> | I did :) |
08:52 | < catalyst> | righto |
08:52 | <&Reiver> | I'm just musing on ancillary, uh |
08:52 | <&jerith> | justice? |
08:52 | <&Reiver> | oh no wait |
08:52 | <&Reiver> | I only read half of it |
08:52 | < catalyst> | I need to read the |
08:52 | < catalyst> | that |
08:53 | <&Reiver> | I saw lengthly italics with videos at the bottom and assumed that was the end of the article and start of the ads-slash-comments -_- |
08:53 | <&Reiver> | And it had precisely reached a neat and tidy point to start that explained the /historical/ point, but not how it relates to modern programming, hence the (now pointless) musing~ |
09:14 | < catalyst> | =l |
09:14 | < catalyst> | =) * |
09:14 | < catalyst> | no worries |
09:16 | | Vornicus [Vorn@ServerAdministrator.Nightstar.Net] has joined #code |
09:16 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
09:24 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer] |
09:24 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
09:48 | | Kindamoody[zZz] is now known as Kindamoody |
10:11 | | catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
10:12 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection reset by peer] |
10:15 | | catalyst_ [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Ping timeout: 121 seconds] |
10:26 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
10:54 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has joined #code |
12:12 | | Kindamoody is now known as Kindamoody|out |
12:23 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has joined #code |
12:27 | | Pinkhair [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
15:32 | | Pinkhair [uid208117@Nightstar-h2b233.irccloud.com] has joined #code |
16:08 | | bin [hallkev025@Nightstar-m19.afm.112.107.IP] has joined #code |
16:29 | | bin [hallkev025@Nightstar-m19.afm.112.107.IP] has quit [Connection closed] |
17:02 | | KiMo|autorejoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
17:02 | | mode/#code [+o KiMo|autorejoin] by ChanServ |
17:03 | | Kindamoody|out [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Operation timed out] |
17:40 | <@abudhabi> | Arghle. |
17:40 | <&jerith> | Barghle. |
17:41 | <@abudhabi> | I have a very simple use case: Repeating reminders that pop up a window, for linux. |
17:42 | <@abudhabi> | There's a myriad calendars, organizers and planners. But most of them don't have such a built-in functionality, and the ones that do are either giant resource hogs for other desktop environments or no longer maintaned. |
17:42 | <&jerith> | Do any of them have an API? |
17:43 | <&jerith> | If so, maybe write some glue scripts to hook them up to a notifier? |
17:43 | <@abudhabi> | Have no idea. |
17:44 | <@abudhabi> | Simplest thing that fits most of what I want is the alarm applet. |
17:44 | <@abudhabi> | That lets me configure a sound and/or to run a command. |
17:44 | <&jerith> | Best of luck on your quest. |
17:44 | <@abudhabi> | I suppose I could make some bullshit command that pretends it's a prompt. |
17:45 | <&jerith> | I unfortunately can't offer much in the way of specific advice, because I don't know any of the current tooling. |
17:50 | <@abudhabi> | Hmmm. There's `zenity --info --text="whatever"` |
17:51 | <&ToxicFrog> | If you don't need user interaction and just need a notify popup, this is exactly what `notify-send` is for |
17:52 | | Pinkhair [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
17:59 | | KiMo|autorejoin is now known as Kindamoody |
18:08 | <@abudhabi> | That's not actually installed. |
18:10 | <@abudhabi> | Probably because XFCE. |
19:08 | | celticminstrel [celticminst@Nightstar-26ueug.dsl.bell.ca] has joined #code |
19:08 | | mode/#code [+o celticminstrel] by ChanServ |
19:44 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has quit [Connection closed] |
19:44 | | catalyst [catalyst@Nightstar-ejd4sd.cable.virginm.net] has joined #code |
20:29 | <@abudhabi> | I need some Excel/Gnumeric magic. |
20:30 | <@abudhabi> | I have a list of dates in column A. These are NOT unique. Associated with those dates are values in column B. |
20:30 | <@abudhabi> | I would like to make another column, where the values from column B were averaged, grouped by distinct values of column A. |
20:31 | <@abudhabi> | Is there some formula for that? |
20:38 | | Pinkhair [uid208117@Nightstar-h2b233.irccloud.com] has joined #code |
20:48 | <@abudhabi> | I'm currently *sort of* doing this by simply averaging two rows in a separate column, seeing as so far there are two rows per date. |
20:54 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
20:55 | <&McMartin> | Some kind of collation operation? |
20:55 | <&McMartin> | I'll ask my local excel wizard |
21:11 | | * Vornicus excels |
21:11 | <~Vornicus> | that's a pivottable |
21:14 | <~Vornicus> | I don't know if gnumeric has that but it's super powerful. https://imgur.com/Qa90LWe set it up like this. |
21:16 | <@abudhabi> | Mmm. Thanks! I'm not sure if gnumeric implements those, indeed. |
21:16 | <~Vornicus> | if you're running a recent enough excel you can also do this with actual formulas, but I don't know if gnumeric has sort and unique as formulas |
21:18 | <@abudhabi> | I guess my improvised solution that assumes a regular amount of rows per date will have to do for now. |
21:19 | <~Vornicus> | sumif and countif help |
22:51 | <&McMartin> | Yeah, my contact replied with =SUMIFS(B2:B13,A2:A13,D2)/COUNTIF(A2:A13,D2) as a sample code unit |
23:30 | | Emmy [Emmy@Nightstar-l49opt.fixed.kpn.net] has quit [Ping timeout: 121 seconds] |
23:35 | | himi [sjjf@Nightstar-1drtbs.anu.edu.au] has joined #code |
23:35 | | mode/#code [+o himi] by ChanServ |
23:48 | | Pinkhair [uid208117@Nightstar-h2b233.irccloud.com] has quit [[NS] Quit: Connection closed for inactivity] |
23:54 | | FLHerne [flh@Nightstar-6tv.748.10.86.IP] has quit [Operation timed out] |
--- Log closed Fri Dec 04 00:00:49 2020 |