--- Log opened Wed Sep 03 00:00:05 2014 |
00:39 | | Derakon[AFK] is now known as Derakon |
01:05 | <@RchrdB> | Tarinaky, 2 reasons: 1. it's a comment, nothing executes it, they don't care, 2. so that you can't accidentally pick up an isolated file without the license by accident. ;P |
01:06 | <@RchrdB> | I don't entirely agree with 2 because the default stance under the Berne convention is that, if you haven't seen the license then you have NO license and may not copy the file that you have read anyway until you go hunt down a license which permits it. |
01:29 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
01:53 | <@Alek> | ahehe |
01:54 | <~Vornicus> | Alek! For once in my life I need your input on something! |
02:10 | | thalass [thalass@Nightstar-cssru1.bigpond.net.au] has joined #code |
02:10 | | mode/#code [+o thalass] by ChanServ |
02:43 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has quit [[NS] Quit: Leaving] |
02:46 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
02:48 | <@Alek> | Vorn! |
02:48 | <@Alek> | what was it? sorry. |
02:50 | <@Alek> | aaaand I can't believe I didn't notice before, but Syka... how do you pronounce that? |
02:51 | <~Vornicus> | Alek: you attended school in russia for a time, yes? |
02:53 | < [R]> | Pronounce what? |
02:55 | <@Alek> | er, 2 years of school, sure. |
02:55 | <@Alek> | R: her nick. |
03:01 | | thalass is now known as Thalass|naptime |
03:05 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
03:07 | <~Vornicus> | Alek: were flags common in classrooms? |
03:07 | <~Vornicus> | And was there anything like the pledge of allegiance? |
03:07 | <@Reiv> | Certainly wasn't here, that's for sure |
03:07 | <@Reiv> | We learned the national anthem as part of Singing and that was about it |
03:10 | <~Vornicus> | Reiv: yeah, I heard from Mahal about that. I was looking for Yet Another Country |
03:10 | | macdjord|slep is now known as macdjord |
03:17 | <@Reiv> | bah |
03:20 | | thalass [thalass@Nightstar-cssru1.bigpond.net.au] has joined #code |
03:20 | | mode/#code [+o thalass] by ChanServ |
03:40 | | thalass [thalass@Nightstar-cssru1.bigpond.net.au] has quit [[NS] Quit: ok actually sleeping now. >.>] |
03:59 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: sleep] |
04:04 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
04:32 | <@Alek> | well, uh. keeping in mind it was over 25 years ago... ISTR the Soviet flag, a portrait of Lenin (and possibly Stalin and whoever the current leader was), and singing the Internacionale (in Russian) as the pledge. |
04:33 | <@Alek> | but my memory is iffy. |
04:33 | <@Alek> | I'll ask my dad. |
04:36 | <~Vornicus> | Alek: that is exactly what I was hoping for, thank you |
04:37 | <~Vornicus> | (hahaha, you're the only one who's said that the flag was prominent in a place outside the US... and it's the USSR. Awesome.) |
04:39 | <@Alek> | well, it WAS pretty much a culture of jingoism. |
04:39 | <@Alek> | Young Pioneers and all that. |
04:39 | <@Reiv> | Oh look |
04:40 | <@Reiv> | The two nations staging an international ideological pissing match against one another for fifty years happen to be the ones that encouraged ultra-patriotic indoctrination |
04:40 | <@Reiv> | Can't possibly imagine how that came about |
04:40 | <~Vornicus> | Yeah, color me surprised~ |
04:41 | <@Reiv> | (PROTIP: You're not asking people from North Korea or Iran...) |
04:41 | <@Alek> | the Young Pioneers (kinda like the Boy Scouts, but much more jingoistic) even put out a children's magazine, with "history" and "current" stories of all kinds. I got one issue, and it actually contained a plastic record, with Internacionale, on it. |
04:41 | <~Vornicus> | Reiv: it's true, but I don't know anyone from North Korea or Iran. |
04:42 | <@Reiv> | Correct, but also my point |
04:42 | <@Reiv> | The ultrapatriotic nations tend to be the isolationists |
04:42 | <@Reiv> | And in a sense, USA and USSR were, um, assertively isolationist? |
04:43 | <@Reiv> | One shouts about how great ones country is when one is concerned the populace might believe someone else is better. |
04:43 | <@Reiv> | In the USA and USSRs case, it was simply That Guy instead of Everyone Else. |
04:43 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
04:44 | <@macdjord> | Reiv: More... /inclusively/ insolationist. They wished to have no buisness with Outsiders, but instead of cutting off the buisness they went about it by reducing the amount of 'outside'~ |
04:45 | <@Alek> | Russia hyped up China, and their relationship, a lot. |
04:46 | <@Reiv> | US did the same with UK & Europe. |
05:00 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has quit [[NS] Quit: Leaving] |
05:03 | | Derakon is now known as Derakon[AFK] |
05:08 | | Kindamoody[zZz] is now known as Kindamoody |
05:12 | | Zemyla [zemyla@Nightstar-gvhusa.compute-1.amazonaws.com] has quit [Operation timed out] |
05:18 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has joined #code |
05:22 | | celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has quit [[NS] Quit: And lo! The computer falls into a deep sleep, to awake again some other day!] |
05:28 | | Harlow [harlow@Nightstar-pq0497.il.comcast.net] has quit [[NS] Quit: BED] |
06:38 | | Thalass|naptime is now known as Thalass |
06:42 | | macdjord is now known as macdjord|slep |
06:47 | | Turaiel is now known as Turaiel[Offline] |
07:14 | | Kindamoody is now known as Kindamoody|afk |
07:26 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
07:29 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
07:29 | | mode/#code [+o Alek] by ChanServ |
07:33 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has quit [Ping timeout: 121 seconds] |
08:06 | | Thalass [thalass@Nightstar-cssru1.bigpond.net.au] has quit [[NS] Quit: omgherd] |
10:16 | | RchrdB [0x2ba22e11@Nightstar-952.jvr.168.194.IP] has joined #code |
10:16 | | mode/#code [+o RchrdB] by ChanServ |
10:26 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
10:26 | | mode/#code [+o Checkmate] by ChanServ |
10:41 | < Syka> | someone tell alek when they return that it's sigh-kah |
11:42 | | VirusJTG [VirusJTG@Nightstar-6i5vf7.sta.comporium.net] has joined #code |
13:00 | <@Tamber> | Syka: More like *sigh*-kah, right? :p |
13:08 | | Desktop_Caboose [IceChat9@Nightstar-b61.us5.3.174.IP] has joined #code |
13:10 | | Desktop_Caboose [IceChat9@Nightstar-b61.us5.3.174.IP] has left #code [] |
13:13 | <@gnolam> | NGhgsgrfffrtgnyARGH |
13:17 | <@gnolam> | That sound was brought to your courtesy of Qt's styling. |
13:19 | | * TheWatcher patpats |
13:20 | <@TheWatcher> | So how much hair have you lost so far? |
13:31 | <@gnolam> | I'm currently on a rage break. |
13:31 | <@gnolam> | Because I was in actual danger of punching through my workstation's screen in a fit of rage. |
13:33 | < Syka> | Tamber: :| |
13:34 | <@TheWatcher> | gnolam: that's less satisfying with flat panel screens. try to find a crt, they stand up to raeg better, and make a more satisfying smashing sound |
13:35 | <@RchrdB> | TheWatcher, oh god, 24"+ CRT screens make the best noise when you smash them with an axe |
13:35 | <@RchrdB> | a giant inverse KABOOM |
13:36 | <@RchrdB> | like, MAAWHOOMP |
13:36 | <@RchrdB> | the implosion as the vacuum tube fills with air is glorious |
13:44 | | Orthia [orthianz@Nightstar-v47jcs.callplus.net.nz] has quit [Ping timeout: 121 seconds] |
13:45 | | Orthia [orthianz@Nightstar-k7q.die.224.119.IP] has joined #code |
13:45 | | mode/#code [+o Orthia] by ChanServ |
14:49 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has quit [Ping timeout: 121 seconds] |
15:36 | | * TheWatcher hates all over autoconf |
15:37 | <@TheWatcher> | It should not take lover to do the fucking config step than it does to compile the actual project, ffs. |
15:37 | <@TheWatcher> | *longer |
15:44 | <&ToxicFrog> | To be fair, autoconf works by compiling a shitload of tiny programs and seeing which ones build and run successfully, because in a lot of places there's no other reliable way to tell if feature X is available. |
15:45 | <&ToxicFrog> | That said, if it's taking longer to configure than to build, the developer could probably have gotten away with disabling most of the features of autoconf~ |
15:50 | <@TheWatcher> | fuck |
15:50 | <@TheWatcher> | anyone know ruby to hand? |
15:50 | <@TheWatcher> | specifically, how do I rebuild a gem that is not in a standard install location? |
15:56 | | celticminstrel [celticminst@Nightstar-ak6p6n.dsl.bell.ca] has joined #code |
15:56 | | mode/#code [+o celticminstrel] by ChanServ |
16:02 | <@RchrdB> | TheWatcher, you can make Ruby gems isolate itself from the system gem store by setting the GEM_HOME environment variable. I've done this for things before. |
16:03 | <@RchrdB> | I wonder if 99% of autoconf test time could be replaced by compiling and running *one* program of moderate size that subsumes most of the tests? |
16:03 | <@TheWatcher> | Riwhere should it normally install to? |
16:04 | <@RchrdB> | Don't know, it's bee na while. |
16:04 | <@RchrdB> | I'm have only a glancing familiarity with Ruby. :| |
16:05 | <@TheWatcher> | RchrdB: yeah, me too |
16:05 | <@TheWatcher> | which is a problem right now |
16:05 | <@TheWatcher> | like, a major one |
16:05 | <@TheWatcher> | >.< |
16:06 | <@TheWatcher> | there |
16:06 | <@TheWatcher> | fucking ficked it |
16:06 | <@TheWatcher> | shit |
16:06 | <@TheWatcher> | That should not be that hard |
16:20 | | Kindamoody|afk is now known as Kindamoody |
17:14 | <&ToxicFrog> | Well this is bizarre. |
17:14 | <&ToxicFrog> | I have a WAV file: AcrossTheBog.wav: RIFF (little-endian) data, WAVE audio, Microsoft ADPCM, stereo 22050 Hz |
17:15 | <&ToxicFrog> | I encode it to FLAC (using ffmpeg, because flac(1) can't understand it): AcrossTheBog.flac: FLAC audio bitstream data, 16 bit, stereo, 22.05 kHz, 3201968 samples |
17:15 | <&ToxicFrog> | And the result is three times larger than the WAV. |
17:18 | <&ToxicFrog> | Oh, it looks like ADPCM is actually some kind of microsoft-specific lossy compression format. |
17:18 | <&ToxicFrog> | Joy. |
17:22 | | Kindamoody is now known as Kindamoody|afk |
17:55 | | Reiv [NSwebIRC@Nightstar-q8avec.kinect.net.nz] has quit [Ping timeout: 121 seconds] |
18:04 | <&McMartin> | WAV is indeed technically a container format like .AVI or .OGG |
18:05 | | * Tamber cries a little at code. |
18:05 | <@Tamber> | I just realised the hex-to-int function in this codebase uses /eval/. |
18:05 | <&McMartin> | Sounds like a prime candidate for quiet reimplementation~ |
18:06 | <@Tamber> | eval("0x" + str, {}, {}) replaced by int(str, 16) |
18:06 | <&McMartin> | PULL REQUEST ACCEPTED |
18:07 | <@RchrdB> | Tamber, which program please so that I can avoid it forever? |
18:07 | <@Tamber> | Someone noticed it in pyobd. |
18:07 | <@Tamber> | I only noticed it because I'm trying to grab all the good bits of the Billions and Fucking Billions of branches. |
18:14 | <@celticminstrel> | Those {} mean you couldn't've used it to inject any function calls though, right? Though, there are plenty of other things that would be bad... like something involving ** or comprehensions... |
18:14 | <@Tamber> | I don't know enough python to say for sure. |
18:14 | <@Tamber> | But using eval for something like that just makes my skin crawl. |
18:15 | <@celticminstrel> | Yeah, it's kinda stupid. |
18:15 | <@Tamber> | I mean, the actual impact of a vulnerability in that is ... eh... it's not exactly trivial to exploit. But still. |
18:15 | <@Tamber> | (You'd either have to be attacking yourself, or the on-board diag. system of your car would have to be attacking you.) |
18:16 | <@celticminstrel> | As I recall, the extra parameters to eval are the environment, so passing {} means that even the built-in functions are unavailable. |
18:16 | <@Tamber> | (And in the latter case, it's got easier ways to do you in.) |
18:16 | <@celticminstrel> | Hm? Wait, what is pyobd? |
18:16 | <@Tamber> | Software to access data from the OBD2 interface in a vehicle, given an ELM-based adapter-y thing. |
18:17 | | * celticminstrel has no idea what OBD2 or ELM means either. |
18:17 | <@celticminstrel> | I suppose I could look those up... |
18:17 | <@RchrdB> | on-board computers in cars |
18:17 | <&ToxicFrog> | celticminstrel: without built-in functions you can still deploy an infinite loop or similar, though |
18:17 | <@RchrdB> | the ones that do all the magic shit |
18:18 | <@Tamber> | OBD2: Second revision of the On Board Diagnostics standard. The one you have a mechanic use a computer with some very expensive software to read the state of the car's on-board computer. |
18:19 | <@Tamber> | (It's "Standard", in that the basic stuff is standardised; but everything else is 90% Vendor-Specificite~) |
18:19 | <@RchrdB> | celticminstrel, actually, python's __builtins__ is available anyway |
18:20 | <@RchrdB> | celticminstrel, eval('__builtins__["__import__"]', {}, {}) â <built-in function __import__> â game over. |
18:25 | <&ToxicFrog> | welp |
18:37 | <@RchrdB> | e.g. eval('__import__("subprocess").Popen(["firefox", "http://www.theregister.co.uk"]).wait()', {}, {}) |
18:37 | <@RchrdB> | and now your computer is reading a news website |
18:38 | <@Tamber> | Scary. You might learn something. |
18:54 | <&ToxicFrog> | Eh, it's the Register~ |
18:55 | <&McMartin> | cold~ |
18:57 | <&ToxicFrog> | Oh goddamnit C++ |
18:58 | <&ToxicFrog> | The type of (x || y) where x and y both have type T* is bool >.< |
19:00 | <@celticminstrel> | Huh, I guess you're right then. |
19:00 | <@celticminstrel> | Yes ToxicFrog, || is a purely logical operator in C++. |
19:04 | <&ToxicFrog> | celticminstrel: most of the time I work in languages where this is not the case. |
19:17 | <@RchrdB> | FWIW, the Register is more or less the best news website that I'm aware of the existence of. |
19:17 | <@RchrdB> | also, the Register is a total cess pit. |
19:18 | <@Tamber> | i.e. "That ain't a high bar"? :p |
19:25 | <@RchrdB> | Quite. |
19:40 | | RchrdB [0x2ba22e11@Nightstar-952.jvr.168.194.IP] has quit [[NS] Quit: Leaving] |
19:50 | | Kindamoody|afk is now known as Kindamoody |
20:13 | < [R]> | <RchrdB> I wonder if 99% of autoconf test time could be replaced by compiling and running *one* program of moderate size that subsumes most of the tests? <-- or better yet, have it cache that info. |
20:24 | | Checkmate [Z@Nightstar-484uip.cust.comxnet.dk] has joined #code |
20:24 | | mode/#code [+o Checkmate] by ChanServ |
20:49 | | Kindamoody is now known as Kindamoody[zZz] |
21:12 | <&McMartin> | Death to autoconf |
21:12 | <@TheWatcher> | Can we start a pitchfork-waving mob to that effect? |
21:13 | <@TheWatcher> | Please? |
21:13 | <&McMartin> | You'd think pitchfork mobs would be the easiest thing to crowd source |
21:13 | <&McMartin> | Get the crowd and there is no step 2, right? |
21:13 | <&McMartin> | But no! |
21:14 | <&ToxicFrog> | [R]: issue there is that you're checking for, say, 20 different things, and any one of those missing will cause the build to fail, but you have no of knowing if that isn't hiding other failures. |
21:16 | <&McMartin> | I have no real issue with non-autoconf configure scripts |
21:24 | | RchrdB [0x2ba22e11@Nightstar-qe9.aug.187.81.IP] has joined #code |
21:24 | | mode/#code [+o RchrdB] by ChanServ |
21:32 | | * Tamber ...s at this codebase a little more. |
21:40 | <@TheWatcher> | ? |
21:41 | <@Tamber> | Found more eval usage, and a nice little comment along with it. |
21:41 | <@Tamber> | # silly type safety, we don't want to eval random stuff |
21:41 | <@Tamber> | Then why are you using eval?! |
21:43 | <@TheWatcher> | They tought it was a good idea to being with, and then ran with it. |
21:43 | <@TheWatcher> | *thought |
21:44 | <@Tamber> | Apparently. |
21:44 | <@Tamber> | But they should remember what they were told about running with chainsaws. |
21:45 | <@Tamber> | (Also, I think I can replace the function with: `return "{0:b}".format(int(str, 16))` ) |
21:45 | | mac [NSwebIRC@Nightstar-jenfln.hospital.uic.edu] has joined #code |
21:49 | | mac [NSwebIRC@Nightstar-jenfln.hospital.uic.edu] has quit [Ping timeout: 121 seconds] |
22:45 | | Alek [omegaboot@Nightstar-c8t.a00.36.73.IP] has joined #code |
22:45 | | mode/#code [+o Alek] by ChanServ |
23:53 | | Vornicus [vorn@ServerAdministrator.Nightstar.Net] has joined #code |
23:53 | | mode/#code [+qo Vornicus Vornicus] by ChanServ |
--- Log closed Thu Sep 04 00:00:21 2014 |