--- Log opened Fri Apr 10 00:00:58 2015 |
00:04 | | Thalass [thalass@Nightstar-h1qmno.eastlink.ca] has quit [Operation timed out] |
00:10 | | [R] [rstamer@Nightstar-d7h8ki.org] has joined #code |
00:23 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
00:23 | | mode/#code [+o Checkmate] by ChanServ |
00:35 | | thalass [thalass@Nightstar-h1qmno.eastlink.ca] has joined #code |
00:35 | | mode/#code [+o thalass] by ChanServ |
00:36 | | thalass is now known as Thalass|kindahere |
00:40 | | Derakon[AFK] is now known as Derakon |
00:49 | | Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited] |
01:55 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has joined #code |
01:55 | | mode/#code [+o himi] by ChanServ |
01:55 | | Thalass|kindahere is now known as Thalass |
02:07 | | Turaiel is now known as Turaiel[Offline] |
02:47 | | Turaiel[Offline] is now known as Turaiel |
03:00 | | Thalass [thalass@Nightstar-h1qmno.eastlink.ca] has quit [Connection closed] |
03:40 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
03:40 | <~Vornicus> | ಠ_ಠis a valid identifier in js. |
03:40 | <@Reiv> | What does it do |
03:41 | <~Vornicus> | same thing that, say, k, would do |
03:42 | <&Derakon> | I guess that makes sense. |
03:43 | <&Derakon> | I wouldn't recommend ever doing it, but naming a variable "k" is a bad idea anyway, outside of triply-nested for loops, which tend to be bad ideas themselves~ |
03:43 | <~Vornicus> | I start with k and work my way down, personally |
03:49 | <@Reiv> | 'k |
03:51 | <~Vornicus> | (â¯Â°â¡Â°)â¯ï¸µ â»ââ» is not. |
04:13 | <&McMartin> | The ( |
04:23 | <~Vornicus> | Also, um, all the other characters |
04:25 | <&McMartin> | What's wrong with â¯Â°â¡Â°? |
04:26 | < Shiz> | it's not in the unicode groups allowed |
04:27 | <&McMartin> | Aha. |
04:30 | < [R]> | s = '(â¯Â°â¡Â°)â¯ï¸µ â»ââ»'; for (var i = 0; i < s.length; ++i) { try { eval(s[i] + ' = 1') ; console.log(s[i])} catch (e) { console.log(e) } } |
04:30 | < [R]> | If you want to try it out |
04:30 | < [R]> | Formatted to actually display the error in node.js' REPL |
04:31 | < [R]> | Basically it outputs nothing but exceptions |
04:32 | <&McMartin> | Heh |
04:34 | < [R]> | Wish there was a simple way to tell the REPL to stop eating exceptions. |
04:34 | < [R]> | simpler* |
04:34 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed] |
04:54 | < Shiz> | seems like a quality REPL |
04:55 | < Shiz> | interestingly, it seems python scans identifiers for forbidden characters right-to-left |
04:57 | <~Vornicus> | https://mothereff.in/js-variables |
04:58 | <&McMartin> | That is a fine hostname |
04:58 | <~Vornicus> | you're mothereff.in right |
05:01 | < Shiz> | https://up.shiz.me/NThiNGU0.png |
05:01 | < Shiz> | neat |
05:01 | <~Vornicus> | what's that say? |
05:02 | < Shiz> | good morning |
05:08 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
05:08 | | Derakon is now known as Derakon[AFK] |
05:14 | | Syloq [Syloq@Nightstar-hco.fem.152.204.IP] has joined #code |
05:14 | | mode/#code [+o Syloq] by ChanServ |
05:16 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has quit [Ping timeout: 121 seconds] |
05:23 | < [R]> | Shiz: it does that so it can provide multi-line input. |
05:23 | < [R]> | Of course that doesn't work all the time. |
05:23 | | Syloq [Syloq@NetworkAdministrator.Nightstar.Net] has joined #code |
05:23 | | mode/#code [+o Syloq] by ChanServ |
05:23 | < Shiz> | ? |
05:23 | < Shiz> | python repl allows multi-line input |
05:23 | < Shiz> | does not eat exceptions |
05:23 | < [R]> | Yeah, but python was actually designed with the REPL |
05:24 | < [R]> | It only eats syntax error exceptions, assuming that further code concatinated to the end will make the exception go away. |
05:25 | < [R]> | Python's also got simpler syntax. |
05:25 | < Shiz> | it doesn't do that at all |
05:26 | < [R]> | ? |
05:26 | < Shiz> | it doesn't eat syntax error exceptions |
05:26 | < Shiz> | the repl just has knowledge of the grammar |
05:27 | < [R]> | <[R]> [node.js' REPL] only eats syntax error exceptions, assuming that further code concatinated to the end will make the exception go away. |
05:27 | < Shiz> | oh |
05:27 | < Shiz> | i assumed we were still talking about python's repl |
05:28 | < [R]> | Ah, sorry for the confusion |
05:30 | <~Vornicus> | your mom's repl eats syntax error exceptions |
05:33 | | Turaiel is now known as Turaiel[Offline] |
05:40 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
07:02 | | Orthia [orthianz@Nightstar-3ki.kvk.224.119.IP] has quit [Ping timeout: 121 seconds] |
07:06 | | Kindamoody[zZz] is now known as Kindamoody |
07:08 | | Orthia [orthianz@Nightstar-nbs.tff.224.119.IP] has joined #code |
07:08 | | mode/#code [+o Orthia] by ChanServ |
07:25 | | celticminstrel [celticminst@Nightstar-ad92nc.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
08:05 | | Kindamoody is now known as Kindamoody|afk |
08:27 | | himi [fow035@Nightstar-dm0.2ni.203.150.IP] has quit [Ping timeout: 121 seconds] |
08:29 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has quit [Connection reset by peer] |
08:47 | | AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has joined #code |
10:13 | | AverageJoe [evil1@Nightstar-2ofrtr.ph.cox.net] has quit [[NS] Quit: Leaving] |
11:13 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
11:32 | <@Tarinaky> | Gah, what does it mean for odds to get longer and shorter? |
11:32 | | himi [fow035@Nightstar-v37cpe.internode.on.net] has joined #code |
11:32 | | mode/#code [+o himi] by ChanServ |
11:34 | <@TheWatcher> | shorter odds = better chance of happening/winning, longer odds = less chance of happening/winning |
11:35 | <@Tarinaky> | Cool. |
11:35 | <@Tarinaky> | According to the bookies the chances of a Conservative win are trending down while the chances of a labour win are trending up. |
11:36 | <@Tarinaky> | Tories are at 1/2, Labour 6/4 depending on the bookie. |
11:38 | <@Tarinaky> | Assuming I remember correctly that 1/2 is £1 payout for every £2 wagered (plus the original wager) on a payout. |
11:39 | <@Tarinaky> | For those who're bored of me being obsessed with the GE it'll be over in about a month :P |
11:46 | <@TheWatcher> | implied probability is 100 * ( denominator / (denominator +numerator)), so 1/2 is 100 * (2 / (2+1)) = 66.67%, while 6/4 is 100 * (4/(4+6)) = 40% |
11:48 | <@Tarinaky> | I didn't know that. |
11:49 | <@Tarinaky> | But the site I was looking at had seperate data for whether the odds were longer or shorter than the last sample. |
11:50 | <@Tarinaky> | Umm... |
11:50 | <@Tarinaky> | Problem with your implied odds... |
11:50 | <@Tarinaky> | 66.67% + 40% = 106.67% |
11:50 | <@Tarinaky> | Shouldn't it add up to less than 1? |
11:51 | <@Tarinaky> | s/implied odds/implied probability/ |
11:52 | <@TheWatcher> | I'm no expert on betting stuff, but my understanding is that they're treated independently by the bookies |
11:53 | <@Tarinaky> | That... doesn't sound right. |
11:54 | <@Tarinaky> | They need to keep the book balanced or they can be gamed by just betting on all outcomes. |
11:54 | <@Tarinaky> | OR at least, unbalanced in their favour. |
12:14 | <@Orthia> | <Reiv> What are the odds for a hung parliment or minority? Those get factored into the adding-to-one too. |
12:14 | | Orthia is now known as Reivles |
12:15 | <@Reivles> | Someone check my math for me: 3/8 odds on a dice with a reroll is 1-(5/8^2) right? |
12:24 | <@Wizard> | Correct |
12:24 | <@Wizard> | Or, well |
12:24 | <@Wizard> | 1 - (5/8)^2 |
12:24 | <@Wizard> | But you probably meant that |
12:50 | | * TheWatcher eeeughs at this CODICIL WINTER HILL feature |
12:52 | <@TheWatcher> | They want me to add feed digest emails, allowing anyone to subscribe to feed updates via email, with anonymous users able to set an email address to subscribe via, and logged-in users to either use their default address or an alternative one. |
12:55 | | * TheWatcher looks into generalising the registration email confirmation code to handle subscriptions |
13:40 | <@Tarinaky> | Orth: 'Winning' is defined as the party with the most seats, rather than a majority... which means you can win and still have a hung parliament or minority. |
14:13 | | Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code |
14:51 | <@Tarinaky> | http://www.metacademy.org/browse |
14:58 | <@Tarinaky> | William-Hill are now posting odds of Labour 11/10 and Tori 8/11. |
14:58 | <@Tarinaky> | *TOry |
15:13 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
15:13 | | mode/#code [+o Checkmate] by ChanServ |
15:51 | | Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has quit [Client exited] |
16:49 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [Connection closed] |
16:55 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
17:30 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
17:34 | | macdjord|slep is now known as macdjord|wurk |
17:41 | | Checkmate [Z@Nightstar-ev6.6um.94.83.IP] has joined #code |
17:41 | | mode/#code [+o Checkmate] by ChanServ |
18:13 | | Meatyhandbag [sebastianfe@Nightstar-dk0.5eb.224.136.IP] has joined #code |
18:18 | | Turaiel[Offline] is now known as Turaiel |
19:31 | | Kindamoody|afk is now known as Kindamoody |
19:55 | | Derakon [chriswei@Nightstar-5fqf0m.ca.comcast.net] has joined #code |
19:55 | | mode/#code [+ao Derakon Derakon] by ChanServ |
19:55 | | * Derakon writes a module to switch the application from a high-contrast, bright mode to a low-contrast, dark mode. |
19:55 | <&Derakon> | This is, naturally, the DaytimeNighttime module. |
19:56 | <&Derakon> | (I was tempted to name it the BlackHeron module, but that's going a bit far, I suspect) |
20:15 | | celticminstrel [celticminst@Nightstar-ad92nc.dsl.bell.ca] has joined #code |
20:15 | | mode/#code [+o celticminstrel] by ChanServ |
20:26 | | thalass [thalass@Nightstar-h1qmno.eastlink.ca] has joined #code |
20:26 | | mode/#code [+o thalass] by ChanServ |
20:34 | <@froztbyte> | McMartin: seen 8088 MPH yet? |
20:34 | <@froztbyte> | (I'm catching up to the week) |
20:38 | <@froztbyte> | https://www.youtube.com/watch?v=yHXx3orN35Y && http://trixter.oldskool.org/2015/04/07/8088-mph-we-break-all-your-emulators/ |
20:39 | <@froztbyte> | https://www.youtube.com/watch?v=gdb3AQ14iVc |
20:40 | <@froztbyte> | http://www.reenigne.org/blog/1k-colours-on-cga-how-its-done/ |
20:41 | <@froztbyte> | http://www.reenigne.org/blog/8088-pc-speaker-mod-player-how-its-done/ |
21:12 | <&McMartin> | I've seen it but not the writeups |
21:12 | <&McMartin> | Busy day today, gonna read up on the CGA one |
21:12 | | Vash [Vash@Nightstar-uhn82m.ct.comcast.net] has joined #code |
21:12 | | mode/#code [+o Vash] by ChanServ |
21:12 | <&McMartin> | I've seen CGA colorbreak before, but not how it's done |
21:12 | <&McMartin> | I've seen PC speaker mod players before; both Star Control II and Eric the Unready had them. |
22:17 | | celticminstrel is now known as celmin|away |
22:20 | | Turaiel is now known as Turaiel[Offline] |
23:14 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:14 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
23:37 | | celmin|away [celticminst@Nightstar-ad92nc.dsl.bell.ca] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
23:37 | | celticminstrel [celticminst@Nightstar-ad92nc.dsl.bell.ca] has joined #code |
23:37 | | mode/#code [+o celticminstrel] by ChanServ |
23:42 | | Kindamoody is now known as Kindamoody[zZz] |
--- Log closed Sat Apr 11 00:00:14 2015 |