--- Log opened Thu Mar 08 00:00:36 2018 |
00:01 | <&McMartin> | Oh, wiki, except it's not "oh, wiki" |
00:01 | <&McMartin> | "This article is about the video codec. For the Star Wars character, see..." |
00:01 | <&McMartin> | ... turns out the codec was in fact named for the Star Wars character |
00:02 | <&McMartin> | ""Vorbis" is named after a Discworld character, Exquisitor Vorbis in Small Gods by Terry Pratchett.[9] The Ogg format, however, is not named after Nanny Ogg, another Discworld character; the name is in fact derived from "ogging", jargon that arose in the computer game Netrek." |
00:02 | <&ToxicFrog> | I've played netrek, but have no idea what ogging is |
00:03 | <&McMartin> | The wiki page for netrek says it's their name for some kind of kamikaze attack |
00:03 | <&McMartin> | "A player obtains "kills" either by killing an enemy ship or by bombing enemy armies. The number of kills decides how many armies a player's ship can carry. The player's kill count resets back to 0 each time their ship is destroyed, requiring them to obtain more kills before they can carry armies and capture planets. Consequently, people with 2 or more kills are often targeted for "ogging" (a kind of |
00:03 | <&McMartin> | kamikaze attack) just to remove the threat of them carrying armies." |
00:05 | <&McMartin> | This seems to be the source: http://www.netrek.org/about/akira-history-of-ogg.php |
00:06 | <&McMartin> | "The process of cloaking and appearing adjacent to enemy while firing torps and tractoring on to him." |
00:24 | | macdjord is now known as macdjord|slep |
00:49 | | celticminstrel [celticminst@Nightstar-gil1m1.dsl.bell.ca] has joined #code |
00:49 | | mode/#code [+o celticminstrel] by ChanServ |
01:17 | | Derakon[AFK] is now known as Derakon |
01:29 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
01:29 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
01:29 | | mode/#code [+o mac] by ChanServ |
01:32 | | macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
01:44 | | VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has joined #code |
01:46 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
01:46 | | mode/#code [+o macdjord] by ChanServ |
01:47 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Ping timeout: 121 seconds] |
01:48 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
02:25 | | Kindamoody is now known as Kindamoody[zZz] |
02:25 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
02:25 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [Connection closed] |
02:25 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
02:28 | | VirusJTG_ [VirusJTG@Nightstar-q9r0g8.clt.hostedsolutions.com] has quit [Ping timeout: 121 seconds] |
02:29 | | VirusJTG__ [VirusJTG@Nightstar-42s.jso.104.208.IP] has quit [[NS] Quit: Leaving] |
02:29 | | VirusJTG [VirusJTG@Nightstar-42s.jso.104.208.IP] has joined #code |
02:29 | | mode/#code [+ao VirusJTG VirusJTG] by ChanServ |
03:10 | | himi [sjjf@Nightstar-q5ar7s.optusnet.com.au] has joined #code |
03:10 | | mode/#code [+o himi] by ChanServ |
03:25 | | himi [sjjf@Nightstar-q5ar7s.optusnet.com.au] has quit [Ping timeout: 121 seconds] |
04:50 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
04:50 | | mode/#code [+o mac] by ChanServ |
04:53 | | macdjord [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Ping timeout: 121 seconds] |
05:04 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has joined #code |
05:04 | | mode/#code [+o himi] by ChanServ |
05:12 | | Derakon is now known as Derakon[AFK] |
05:24 | | Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
05:24 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
05:37 | | 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!] |
06:22 | <&[R]> | TIL: attempting to replace libc.so on a 3.x system with a libc from a 4.x system will cause an immediate crash of some sort, I am uncertain if the initrd replaced the new libc with a working version, or if the copy failed immediately but rebooting has the working libc in /lib/libc.so.6 |
06:22 | <&[R]> | Things I should've done first: run the new libc directly |
06:23 | <&[R]> | Since it spews an error about being unable to dlopen() __vdso_time which should've clued me into the fact that the kernel was too old. |
06:30 | <&[R]> | (For the curious, the update system on that system is broken.) |
06:43 | | Vornlicious [Vorn@Nightstar-tfchnc.sub-174-211-6.myvzw.com] has joined #code |
06:44 | | Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
06:45 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
07:04 | | Kindamoody[zZz] [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has quit [Ping timeout: 121 seconds] |
07:42 | | Kindamoody|autojoin [Kindamoody@Nightstar-eubaqc.tbcn.telia.com] has joined #code |
07:42 | | mode/#code [+o Kindamoody|autojoin] by ChanServ |
08:45 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has quit [Connection closed] |
08:49 | | Alek [Alek@Nightstar-7or629.il.comcast.net] has joined #code |
08:49 | | mode/#code [+o Alek] by ChanServ |
09:08 | | Netsplit Golgafrincham.Nightstar.Net <-> Krikkit.Nightstar.Net quits: @PinkFreud, @Syloq |
09:20 | | Netsplit over, joins: Syloq |
09:37 | | * Vornlicious frustrates in general at coming up with a toolchain for programming on a cellphone |
10:42 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has joined #code |
10:43 | | Kindamoody|autojoin is now known as Kindamoody |
10:48 | | Degi [Degi@Nightstar-msqm4o.dyn.telefonica.de] has joined #code |
11:06 | | Jessikat [Jessikat@Nightstar-o6lihd.dab.02.net] has joined #code |
11:31 | <@mac> | Roll 1d100. If you get a number <= k, stop, otherwise, roll again. What is the average number of rolls required, as a function of k? |
11:32 | <@mac> | The obvious answer is '100/k', but I'm not sure that's right. |
11:33 | < simon_> | mac, https://topps.diku.dk/torbenm/troll.msp |
11:34 | <@mac> | simon_: I have no idea how to express 'roll until you get less than k' in that. |
11:39 | < Vornlicious> | That is correct |
11:40 | < Vornlicious> | https://en.wikipedia.org/wiki/Geometric_distribution |
11:41 | < Vornlicious> | The median is harder. |
11:44 | <@mac> | Vornlicious: Danke. |
12:14 | | Degi_ [Degi@Nightstar-ve55hn.dyn.telefonica.de] has joined #code |
12:17 | | Degi [Degi@Nightstar-msqm4o.dyn.telefonica.de] has quit [Ping timeout: 121 seconds] |
13:55 | | Jessikat` [Jessikat@Nightstar-ciba2l.dab.02.net] has joined #code |
13:56 | | Degi_ is now known as Degi |
13:56 | | Jessikat [Jessikat@Nightstar-o6lihd.dab.02.net] has quit [Ping timeout: 121 seconds] |
14:23 | | Jessikat` is now known as Jessikat |
15:07 | <@ErikMesoy> | Monte carlo testing indicates mean is indeed 100/k. Median shows up as 1 for k down to 51, 2 for k 50..30, 3 for k 29..21, 4 for k 20..16, 5 for k 15..13, and at the low end turns into (k:median) 10:7, 9:8, 8:9, 7:10, 6:12, 5:14, 4:17, 3:23, 2:35. I don't recognize this pattern, but it looks vaguely like 70/k |
15:21 | | Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
15:42 | | Degi [Degi@Nightstar-ve55hn.dyn.telefonica.de] has quit [Connection closed] |
15:54 | | mode/#code [+o Syloq] by ChanServ |
16:27 | | Vornlicious [Vorn@Nightstar-tfchnc.sub-174-211-6.myvzw.com] has quit [[NS] Quit: Bye] |
16:27 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
16:45 | | Vornlicious [Vorn@Nightstar-tfchnc.sub-174-211-6.myvzw.com] has joined #code |
16:47 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Ping timeout: 121 seconds] |
18:18 | | Vorntastic [Vorn@Nightstar-q2mlre.sub-97-46-131.myvzw.com] has joined #code |
18:20 | | Pandevornium [Vorn@Nightstar-tfchnc.sub-174-211-6.myvzw.com] has joined #code |
18:21 | | Vornlicious [Vorn@Nightstar-tfchnc.sub-174-211-6.myvzw.com] has quit [Ping timeout: 121 seconds] |
18:22 | | Vorntastic [Vorn@Nightstar-q2mlre.sub-97-46-131.myvzw.com] has quit [Ping timeout: 121 seconds] |
19:15 | | Pandevornium [Vorn@Nightstar-tfchnc.sub-174-211-6.myvzw.com] has quit [[NS] Quit: Bye] |
19:15 | | Vorntastic [Vorn@Nightstar-1l3nul.res.rr.com] has joined #code |
19:38 | | Degi [Degi@Nightstar-ve55hn.dyn.telefonica.de] has joined #code |
19:57 | | Degi [Degi@Nightstar-ve55hn.dyn.telefonica.de] has quit [Ping timeout: 121 seconds] |
20:00 | | macdjord|slep [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has joined #code |
20:00 | | mode/#code [+o macdjord|slep] by ChanServ |
20:02 | | macdjord|slep is now known as macdjord |
20:02 | | mac [macdjord@Nightstar-a1fj2k.mc.videotron.ca] has quit [Connection closed] |
20:12 | | Degi [Degi@Nightstar-ve55hn.dyn.telefonica.de] has joined #code |
20:13 | | Degi_ [Degi@Nightstar-ve55hn.dyn.telefonica.de] has joined #code |
20:25 | | Jessikat` [Jessikat@Nightstar-9tj7ln.dab.02.net] has joined #code |
20:27 | | Jessikat [Jessikat@Nightstar-ciba2l.dab.02.net] has quit [Ping timeout: 121 seconds] |
20:47 | < Vornicus> | http://nodesource.com/blog/is-guy-fieri-in-your-node-js-packages/ |
20:48 | <@gnolam> | Who's Guy Fieri? |
20:49 | <&McMartin> | just this Guy you know? |
20:49 | <&McMartin> | Wiki tells me that he's associated with the Food Network. |
20:49 | < Vornicus> | Guy Fieri is the host of a show called Diners, Drive-Ins and Dives, where he goes to various greasy spoons throughout america |
20:50 | < Vornicus> | He wears sunglasses on the back of his head, has frosted tips, and says (among other things) "Welcome to Flavortown" |
20:50 | <@ErikMesoy> | http://knowyourmeme.com/photos/1336704-guy-fieri |
20:52 | <@abudhabi> | The pandragon crits! Only an interpretive dance can save you now! |
21:04 | | Degi_ [Degi@Nightstar-ve55hn.dyn.telefonica.de] has quit [The TLS connection was non-properly terminated.] |
21:38 | | Jessikat` [Jessikat@Nightstar-9tj7ln.dab.02.net] has quit [[NS] Quit: Bye] |
21:48 | | Jessikat [Jessikat@Nightstar-9tj7ln.dab.02.net] has joined #code |
22:04 | | Jessikat [Jessikat@Nightstar-9tj7ln.dab.02.net] has quit [[NS] Quit: Bye] |
22:11 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
22:37 | | himi [sjjf@Nightstar-v37cpe.internode.on.net] has quit [Ping timeout: 121 seconds] |
23:03 | | Emmy [Emmy@Nightstar-9p7hb1.direct-adsl.nl] has quit [Connection closed] |
23:04 | | Degi [Degi@Nightstar-ve55hn.dyn.telefonica.de] has quit [Connection closed] |
23:31 | <&[R]> | <CSharpIsDull> i had the weirdest C# bug today. I had a string class which I filled with a db retrieved string, like "21", and then used this string to insert into another. |
23:31 | <&[R]> | <CSharpIsDull> string shareID=getTHeShareID(); |
23:31 | <&[R]> | <CSharpIsDull> string SomeStringDeepInAClass = "S" + shareID" + somethingElse; |
23:31 | <&[R]> | <CSharpIsDull> I'll be damned if all the output stuffed into SomeStringDeep got the LAST setting of shareID. As if it stored the OBJECT in the string, not the object's contents!??! |
23:31 | <&[R]> | ^ that seems insane |
23:32 | <&McMartin> | "When is string interpolation computed/recalculated" is a thing that if you can worry about it, you have to. |
23:33 | <&McMartin> | My experience with that is in Inform 7, not C#, but certain things embedded in strings there are basically "call this function at print time and embed the string it returns" |
23:33 | <&McMartin> | This is not at all an unreasonable feature, but you have to know that's what you're doing. |
23:34 | <&[R]> | That seems like a bunch of work that'd be massively more confusing than beneficial |
23:34 | <&McMartin> | Inform 7 is a domain-specific language for text adventures, where up-to-date descriptions of the current world state are usually precisely what you want. |
23:35 | <&McMartin> | (And also where the lifetime of any given interpolated string literal is "it is created, handed directly to I/O, and then destroyed") |
23:35 | <&McMartin> | *is usually |
23:35 | <&McMartin> | But, e.g., you would set the header text to "Score: [score] Turns: [turns]" |
23:35 | <&McMartin> | Once |
23:35 | <&McMartin> | And they'd update as needed from there on out. |
23:35 | <&[R]> | Right, but not something you'd expect as default in a general purpose language |
23:36 | <&McMartin> | I have no reason to believe that the person quoting is using default behavior~ |
23:36 | <&McMartin> | a priori, anyway |
23:36 | <&McMartin> | My usual experience with C# strings is that they were basically Java strings, which don't do that. |
23:37 | <&McMartin> | So my expectation would be that every time you called toString() on the core model object, you might get a different value out, so the question is what your call history really is. |
23:38 | <&McMartin> | I have found https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/interpolated-strings |
23:39 | <&[R]> | He gave some more detail: |
23:39 | <&[R]> | <CSharpIsDull> string shareId ; foreach ( Tshare in shares ) { shareId=Tshare.getShareId(); someCollection.str = "S" + shareId + ":" + Tshare.SerialNum; } then later: foreach ( Tcoll in someCollection ) { print Tcoll.str ; } |
23:39 | <&[R]> | <CSharpIsDull> so I see share ID's of 20,21,22. ALL the print's come out with 22. |
23:39 | <&McMartin> | My new expectation would be that the interpolated string will be re-interpolated with current values independently each time it is converted to "string" or "IFormattable", and is otherwise conceptually closer to a closure that may be repeatedly invoked. |
23:40 | <&[R]> | <CSharpIsDull> string shareId ; foreach ( Tshare in shares ) { shareId=Tshare.getShareId(); string temp = shareId; someCollection.str = "S" + temp + ":" + Tshare.SerialNum; } then later: foreach ( Tcoll in someCollection ) { print Tcoll.str ; } |
23:40 | <&[R]> | <CSharpIsDull> woiks. |
23:40 | <&[R]> | So basically string concatination creates a closure? |
23:41 | | Vornicus [Vorn@Nightstar-1l3nul.res.rr.com] has quit [Connection closed] |
23:41 | <&McMartin> | I dunno. |
23:41 | <&McMartin> | I'd doubt it |
23:42 | <&McMartin> | But then I'd also expect no difference there becuase I'd assume string was a reference type, but it clearly isn't or "temp = shareId" would be a no-op |
23:42 | <&McMartin> | I'd like to note that I am somewhat boggled by "someCollection.str = " being repeatedly called. |
23:42 | <&McMartin> | Since apparently that isn't overwriting the same field repeatedly? |
23:43 | <&McMartin> | Is it creating and then reusing some shell object when adding values to the collection? |
23:43 | <&[R]> | I think he's cutting out a bit of intermediate code |
23:43 | <&McMartin> | In that case, most likely culprit is some case of unintended aliasing |
23:43 | <&[R]> | Someone suggested it mgiht be a delegate |
23:43 | <&[R]> | http://www.c-sharpcorner.com/UploadFile/d6fefe/delegate-anonymous-function-and-lambda-expression-in-C-Sharp/ |
23:50 | <&McMartin> | Yeah, there are two classic ways you can end up with something like that happening, and one involves bindings inside lambdas |
23:50 | <&McMartin> | And then the other involves directly aliasing a value instead of evaluating it inside the loop and copying the value out before the next iteration |
23:51 | <&McMartin> | (Really, the first is an instance of the second, but they usually look a lot different) |
23:51 | <&McMartin> | JS in particular when you're creating an array full of function objects is vulnerable to that |
--- Log closed Fri Mar 09 00:00:37 2018 |