--- Log opened Sun Nov 25 00:00:22 2012 |
00:34 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code |
00:43 | | You're now known as TheWatcher[T-2] |
00:45 | | You're now known as TheWatcher[zZzZ] |
01:32 | < celticminstrel> | Um... is it okay to call Popen.poll() twice, or should I call it once and then get the Popen.returncode attribute for subsequent times? |
01:32 | | * celticminstrel is in Python in case it's not obvious. |
02:36 | <@simon_> | hmm, something is wrong with the CWD of my shell script. |
02:37 | <@simon_> | http://pastebin.starforge.co.uk/546 |
02:38 | <@simon_> | >> dprint Cheesman-Mortensen-1987.pdf |
02:38 | <@simon_> | cat: 'Cheesman-Mortensen-1987.pdf': No such file or directory |
02:39 | <@simon_> | ah. |
02:39 | <@simon_> | I bet this is because the shell script doesn't understand the getopt quotes, but my interactive zsh does. |
02:41 | <@simon_> | changing the shell script to use #!/bin/zsh doesn't seem to work. |
03:25 | <@simon_> | (using GNU getopt) |
03:29 | <@syksleep> | simon_: uh, you're running the script in the same dir as the file aren't you |
03:32 | | syksleep is now known as Syk |
03:35 | | Kindamoody[zZz] is now known as Kindamoody |
03:57 | <@simon_> | Syk, when I make the script echo $(cwd), I get the directory with the file in it. |
03:57 | <@Syk> | hmm |
03:57 | <@simon_> | Syk, I suspect the problem is the single-quotes. |
03:57 | <@Syk> | i don't think so |
03:58 | <@Syk> | echo "lol" > file && cat 'file' |
03:58 | <@Syk> | this here returns lol |
03:58 | <@Syk> | (bash 4.2.24) |
03:59 | <@Syk> | and on most systems, isn't /bin/sh a symlink to bash |
03:59 | <@simon_> | Syk, if I make my dprint script echo what it intends to do, and I copy-paste that into my terminal, it works. |
04:00 | <@simon_> | Syk, the exact same string that won't work inside the script will work interactively. |
04:00 | <@Syk> | hmm |
04:00 | <@simon_> | so I thought either the path is wrong, or something is interpreted differently. |
04:00 | <@Syk> | this seems like a bit of a hack |
04:00 | <@simon_> | I added a --dry that prints what it intends to do instead. |
04:00 | <@Syk> | but does dprint '$(cwd)file' work |
04:00 | <@Syk> | so then it would make it a full path |
04:00 | <@simon_> | I'll try that. |
04:01 | <@Syk> | i dont know if thats the correct syntax |
04:01 | <@Syk> | but yeah, try joining the cwd and your file strings to give it an absolute path |
04:03 | < celticminstrel> | Well, I used returncode and it seems to work, so yay. |
04:04 | <@simon_> | ~ >> dprint /home/simon/indkob.txt |
04:04 | <@simon_> | Printing '/home/simon/indkob.txt'... |
04:04 | <@simon_> | cat: '/home/simon/indkob.txt': No such file or directory |
04:04 | <@simon_> | lpr: No file!?! |
04:04 | <@simon_> | it's not a path problem. |
04:04 | <@Syk> | owO |
04:04 | <@simon_> | also, you will notice the quotes around the filename. it thinks that the file is literally "'/home/simon/indkob.txt'" |
04:04 | <@Syk> | what shell is this? |
04:05 | <@simon_> | I tried with sh, bash and zsh. |
04:06 | <@Syk> | cat '/home/red/.bashrc' |
04:06 | <@Syk> | this works for me... |
04:06 | <@simon_> | also if you make a script and type that in it? |
04:06 | <@Syk> | echo "cat '/home/red/.bashrc'" > testscript.sh && bash testscript.sh |
04:06 | <@Syk> | works here |
04:06 | <@simon_> | yeah, that does work for me, too. |
04:06 | <@simon_> | so here's what won't work: |
04:07 | <@simon_> | #!/bin/sh |
04:07 | <@simon_> | FOO="'/home/simon/indkob.txt'" |
04:07 | <@simon_> | cat $FOO |
04:07 | <@Syk> | waitwaitwait |
04:07 | <@simon_> | and that's what I've got. getopt puts literal single-quotes in my string. |
04:07 | <@Syk> | okay |
04:07 | <@Syk> | try FOO="/home/simonetc" |
04:07 | <@simon_> | if I tell it to use -u (no quotes), hell breaks loose. |
04:07 | <@Syk> | cat '$(foo)' |
04:07 | <@Syk> | uh |
04:07 | <@Syk> | or however it is |
04:07 | <@simon_> | Syk, I can try that, but that won't change the return value of getopt. |
04:08 | <@simon_> | Syk, I wonder what the most neat way of removing those single-quotes is. if I should really do some substring-ing. |
04:08 | <@simon_> | or if I could "eval" the string. |
04:08 | <@Syk> | why don't you get rid of the quotes |
04:08 | <@simon_> | I should. |
04:08 | <@Syk> | use regular expressions |
04:08 | <@Syk> | whatever that thing is |
04:09 | <@simon_> | for cutting the first and the last character of a string? |
04:09 | <@Syk> | s/'//g , bam done |
04:09 | <@simon_> | umm |
04:09 | <@simon_> | what if the filename has a quote in it? :) |
04:09 | <@Syk> | then you're stuffed! |
04:10 | <@simon_> | ${FOO:1:-1} does the trick, I suppose. |
04:11 | <@Syk> | why does it have quotes to start with |
04:11 | <@simon_> | because if it didn't, handling shell arguments with spaces in them would go horribly wrong. |
04:12 | <@simon_> | the only issue is that I get shell syntax inside a string. shell scripting is generally good at letting you do crazy macro stuff with your data. |
04:13 | <@simon_> | if this were a shell built-in (like getopts, unlike getopt) I wouldn't have this problem I think. |
04:13 | <@simon_> | (GNU getopt offers some neater handling of multi-character arguments, though...) |
04:13 | <@simon_> | alright, that solves it. thanks! |
04:17 | <@simon_> | shell script is a weird, weird language. it is generally exploitable whenever you use a variable unless you take explicit measurements all the time. |
04:18 | <@simon_> | e.g. rm $FOO, if $FOO contains "-rf /"... |
04:18 | | * Syk is buying music online owO |
04:19 | <@simon_> | or cat $FOO > bar.txt, if $FOO is "; rm -rf /"... |
04:19 | <@simon_> | so you want to do something like cat -- "\"$FOO\"" > bar.txt :P |
04:20 | <@simon_> | so the general trick is, whenever you use variable, *always* enclose them in quotes. |
04:20 | <@simon_> | s/variable/variables/ |
04:20 | <@Syk> | "We could not process your order. The sale of MP3 Downloads is currently only available to US customers. Please refer to the terms of use of the MP3 store to determine the geographical restrictions." |
04:20 | <@Syk> | wtf is this |
04:21 | <@Syk> | amazon, what in the literal fuck :| |
04:22 | | Attilla [Obsolete@Nightstar-540a6080.range86-151.btcentralplus.com] has quit [Ping timeout: 121 seconds] |
04:24 | <@Tamber> | ahaha... |
04:26 | <@Syk> | it lets me get *right up to the cart* |
04:26 | <@Syk> | and then is like HA HA YOU POOR AUSTRALIAN PLEBIAN |
04:27 | <@Syk> | whilst twiddling it's british moustache and scarfing an american cheeseburger |
04:29 | <@Syk> | so now |
04:29 | <@Syk> | when I *ACTUALLY WANT* to buy music |
04:29 | <@Tamber> | Just going to do what you were going to do in the first place, and fire up the bittorrent? |
04:29 | <@Syk> | pretty much |
04:30 | < celticminstrel> | Heh. |
04:30 | <@Tamber> | (And, really, "only available to US customers"? They must think Britain is part of the US, then. ~.^) |
04:30 | <@Syk> | my options are BigPond (DRM to hell - in Windows Media format), iTunes (AAC, also requires Windows) and small stores that don't have anything by big labels |
04:30 | <@Syk> | Tamber: Amazon is in the UK too |
04:30 | <@Tamber> | I know. :p |
04:30 | <@Syk> | they just say "LOL US ONLY" still because the UK store only launched like a week ago |
04:30 | <@Syk> | and amazon don't know how to update their shit |
04:31 | < celticminstrel> | ...wasn't amazon.co.uk around for much longer than that? |
04:31 | | * Tamber is confused, has been buying MP3s via Amazon for quite some time. |
04:31 | <@Syk> | celticminstrel: Amazon yes, there's even Amazon Australia |
04:31 | <@Syk> | this is the MP3s |
04:31 | <@Syk> | since this is The Offspring, I might hunt down a CD once I'm in the city |
04:32 | <@Syk> | because The Offspring are good |
04:32 | <@Tamber> | ...although, interestingly, the Cloud Player thingy is saying that I bought all of them on the 17th of November. |
04:32 | <@Syk> | amazon operates in a time dilation field |
04:33 | <@Tamber> | Apparently so. |
04:34 | <@Tamber> | 3rd August 2011 is the oldest one I still have the email for; so I presume the Cloud Player thing is new, and counting the first time I accessed it as the purchase date. |
04:38 | <@himi> | There's an Amazon Australia now? |
04:39 | <@Syk> | himi: there has been forever |
04:39 | <@himi> | This is nice - it means we get to pay /Australian/ prices for stuff we'd normally be paying half as much for |
04:39 | <@Syk> | oh, no |
04:39 | <@Syk> | it's all imports still |
04:39 | | * himi didn't know there was one |
04:39 | <@Syk> | well |
04:39 | <@Syk> | i just tested it |
04:39 | <@Syk> | it actually forwards to amazon.co.uk |
04:39 | <@himi> | There's been an eBay Australia for ages |
04:40 | <@himi> | Hah |
04:40 | | * McMartin blinks |
04:40 | <&McMartin> | So, my geography's a little spotty when it comes to this |
04:40 | <@himi> | So we get to pay inflated European prices, rather than inflated Australian prices |
04:40 | <&McMartin> | But, um |
04:40 | <&McMartin> | Isn't Seattle closer to Australia than London is |
04:40 | <@Syk> | depends |
04:40 | <@Syk> | geographically, yes |
04:40 | <@Syk> | XCOM-style,nope |
04:41 | <@Syk> | (XCOM has a bug where the Skyranger will go to the north pole, pop out at the south pole and derp over to Sydney) |
04:41 | <&McMartin> | Of course XCOM has a hollow earth~ |
04:42 | <@Syk> | hehe |
04:42 | <@Syk> | ok so |
04:42 | <@simon_> | the only place I bought an MP3 was SoundCloud. |
04:43 | <@simon_> | wait... SoundCloud and BandCamp. |
04:43 | <@Syk> | i can do actual work, or fuck around and play games |
04:43 | <@Syk> | i've bought a few Renard albums from Bandcamp |
04:43 | <@himi> | Seattle is much closer to Australia than London is, Internet wise |
04:43 | <@himi> | So I have no idea why we'd be associated with the UK |
04:44 | <@Syk> | apart from, y'know |
04:44 | <@Syk> | the commonwealth |
04:45 | <@Syk> | (Except for Canada, as Canada is the US' hat) |
04:45 | <@himi> | Yeah, but we have as many commercial links with the US than we do with the UK |
04:45 | <@Syk> | isn't Canadia due to be annexed pretty soon |
04:45 | <@himi> | All we have that's unusual with the UK is historical links |
04:45 | <@Syk> | oh, 2067 |
04:45 | <@Syk> | so a while |
04:45 | <&McMartin> | Wat |
04:46 | <&McMartin> | Vancouver has secretly been becoming Every City In The World |
04:46 | <@himi> | I think the US had a pre-WWII plan for invasion by Canada |
04:46 | <@himi> | /By/ Canada, not /of/ Canada |
04:46 | <&McMartin> | One day they will show their true form, and All Will Bow |
04:46 | <@Syk> | well the US have been invaded by canada |
04:46 | <@Syk> | and canada pretty much won |
04:46 | <&McMartin> | Yeah, that's the only ground war in North America we've meaningfully lost |
04:46 | <@himi> | Weren't they only just the US at the time? |
04:47 | <@Syk> | no, they were canada |
04:47 | <@Syk> | oh you mean the US |
04:47 | <@himi> | When was this? |
04:47 | <@Syk> | yeah well the white house got burnt down |
04:47 | <&McMartin> | War of 1812 |
04:47 | <@Syk> | http://en.wikipedia.org/wiki/War_of_1812 |
04:47 | <&McMartin> | They weren't an independent Canada yet, I don't think. |
04:47 | <@himi> | Yeah, so a bit more than only just |
04:47 | | * himi nods |
04:47 | <&McMartin> | This is also where the poem that became our national anthem came from. |
04:47 | <@himi> | I was going to sya, it was only just the US, and it was the British doing the invading, /through/ Canada |
04:47 | <&McMartin> | But before we set it to a drinking song |
04:48 | <&McMartin> | We didn't lose the "suck it, Brits and associated mercenaries!" verse until WWI, IIRC |
04:48 | <@himi> | And the French helped out, didn't they? |
04:48 | <@himi> | The US, that is |
04:48 | <@himi> | So it was kind of the equivalent of a Cold War proxy war |
04:48 | <&McMartin> | They certainly did in the Revolution |
04:49 | <&McMartin> | The ones that were *really* proxy wars are the things we call here the "French and Indian Wars" |
04:49 | <&McMartin> | Which is taught everywhere else as the Wars of Austrian Succession, I think? Or maybe they were Spanish |
04:49 | <&McMartin> | And one of those was "The War of Jenkin's Ear" |
04:49 | <@himi> | . . . |
04:50 | <@himi> | History is so full of wonderfully fucked up shit like that |
04:51 | <@Syk> | lols |
04:51 | <@Syk> | man, doing actual work isn't very exciting right now |
04:51 | <@Syk> | i think that actually eating might help |
04:52 | <@himi> | (History is also full of Afghanistan, by the way - not in a very nice sense, either) |
04:52 | <@himi> | (Speaking of proxy wars, as we were) |
04:53 | <@Syk> | does turkey and cheese sound like a good combination? |
04:53 | <@himi> | Yes |
04:53 | <&McMartin> | You want a sharper cheese if you can swing it; cheddar is good |
04:53 | <&McMartin> | Also, dijon mustard is ++ with turkey |
04:53 | <@Syk> | i have uh |
04:53 | <@Syk> | cheese |
04:53 | | * Syk looks at the cheese |
04:53 | <@Tamber> | 'cheese'? |
04:53 | <@Syk> | it's 'tasty cheese' |
04:53 | <@Syk> | whatever that is |
04:53 | <@himi> | Do you mean turkey in a sliced turkey sandwich meat sense, or in a roast turkey dinner sense? |
04:54 | <@Tamber> | I presume neither tasty, or cheese. |
04:54 | <@Syk> | Tamber: i think its the more aged stuff |
04:54 | <&McMartin> | PROCESSED CHEESE FOOD PRODUCT |
04:54 | <@himi> | Syk is Australian - we don't sell that much totally fake cheese here |
04:54 | <@Syk> | it's actual cheese |
04:54 | <@Syk> | it's just not a type of cheese |
04:54 | <@Tamber> | : |
04:54 | <@Tamber> | :) |
04:54 | <@himi> | It'd just be generic cheddar |
04:54 | <@Syk> | apparently it's cheddar |
04:55 | <&McMartin> | (Fun fact: the cheese lobby in the US tried to get Processed Cheese Food Product officially called 'Embalmed Dairy' or similar) |
04:55 | <@Tamber> | ahaha |
04:55 | <@Syk> | embalmed dairy sounds worse |
04:55 | <@himi> | I'd recommend just eating the turkey with the cheese and enjoying it |
04:55 | <&McMartin> | Syk: Yes, that was the point |
04:55 | <@Syk> | i am going to get bread, turkey and cheese |
04:55 | <@himi> | Ah, the /real/ cheese lobby, not the "cheese" lobby |
04:55 | <&McMartin> | These were lobbyists from the *actual* cheesemakers, who didn't want competition. |
04:55 | <@Syk> | and make a toasted cheese and turkey sammich |
04:55 | <@Syk> | McMartin: ah |
04:55 | <&McMartin> | That is pretty excellent as a sandwich |
04:56 | <@Syk> | i think i also have some mustards |
04:56 | <@himi> | Yeah, nice |
04:56 | <@Syk> | or something |
04:56 | <&McMartin> | I do recommend mildly spicy mustard to go with it. |
04:56 | <&McMartin> | And maybe a little fresh lettuce |
04:56 | <@himi> | Mustard as well |
04:56 | <@Syk> | my family are incredibly unsophisticated |
04:56 | <&McMartin> | That's pretty much my lunch on days when I'm too lazy to have something fancy and just want something *good* |
04:56 | <@himi> | If you have any, some cranberry sauce goes well, too |
04:56 | <&McMartin> | Probably not with the mustard, though |
04:57 | <@himi> | Of course, my experience with buying cranberry sauce here is that you have to spend half an hour trolling through all the shelves in the supermarket to find it, and then you only have two options - expensive, and really expensive |
04:57 | <&McMartin> | Heh |
04:57 | <@himi> | Sandra ended up just making it herself last time we did a roast turkey |
04:57 | <&McMartin> | Is cranberry sauce considered specifically American/US? |
04:58 | <@himi> | Not really, it just seems to be specifically turkey related |
04:58 | <&McMartin> | Ah |
04:59 | <@himi> | Apparently turkey as a christmas thing dates back to the 17th century in England, so you can't really call it an American thing |
04:59 | | * himi was astonished by that, since christmas in Australia is generally a pork/lamb type of thing |
04:59 | <@himi> | I'd have expected the English tradition to be exported here, but apparently not |
05:00 | <@himi> | In any case, aren't cranberries native to the US? |
05:02 | <@Syk> | "Isn't RAM a turbo charger for your graphics card?" |
05:02 | <@Syk> | "LOL JK just trolling" |
05:02 | <@Syk> | i hate my brother |
05:03 | <@Syk> | himi: wut |
05:03 | <@Tamber> | "just trolling", in this case being, "I have said something stupid, and must recover!", I presume? |
05:03 | <@Syk> | himi: turkey and cranberry sauce is christmas here |
05:03 | <@Syk> | at least, in WA |
05:03 | <@Syk> | Tamber: no he's trying to troll me |
05:03 | <@Syk> | because he's an ass |
05:03 | <@Tamber> | Well, I know that. You've complained about him enough. :p |
05:04 | <@Syk> | :U |
05:05 | <@Syk> | ok so |
05:05 | <@Syk> | turkey, cheese in a toasted sammich, with mustard |
05:06 | <&McMartin> | himi: So are tomatoes and potatoes, that hasn't stopped the rest of the planet~ |
05:15 | <@Syk> | augh |
05:15 | <@Syk> | god damn it 3 year ago syka |
05:16 | <@iospace> | hahah |
05:16 | <@Syk> | why did i buy a tiny case :< |
05:16 | <@iospace> | because |
05:16 | <@iospace> | you touch yourself at night ^_^ |
05:16 | <@Syk> | its a standard desktop case, however |
05:16 | <@Syk> | but every 3rd party fan is GINORMOUS |
05:17 | <@iospace> | again |
05:17 | <@iospace> | you touch yourself at night ^_^ |
05:17 | <@iospace> | :P |
05:18 | <@Syk> | iospace: that has nothing to do with it :U |
05:18 | <@Alek> | well, as far as cranberry sauce, it seems to be traditional to use fruit sauces for meat dishes. |
05:19 | <@Alek> | see: ketchup. XD |
05:19 | <@iospace> | wat |
05:19 | <@Alek> | and cranberry has a strong flavor to contribute, given that turkey is bland-ish. |
05:19 | <@Syk> | ok so |
05:20 | <@iospace> | Alek: you realize this is #code right? |
05:21 | <@Vash> | Alek, did you see what I said in #crfh about SK? |
05:22 | <@Alek> | :P |
05:22 | <@Alek> | io: yes and? |
05:23 | <&McMartin> | iospace: And we got there from differing .au and .us prices |
05:23 | <&McMartin> | Relevant to coding and software! |
05:23 | <@iospace> | :P |
05:23 | <@iospace> | anyway |
05:23 | | * iospace yawns |
05:23 | <@Syk> | well |
05:24 | <@Syk> | we got to it from my sammich |
05:24 | <@Syk> | which i havent made yet as i am googling for what pci wifi adapters will work in my linux box |
05:24 | <&McMartin> | SAMMICH |
05:24 | <&McMartin> | THE PANINI COMMANDS YOU |
05:25 | <@Vash> | mmmm |
05:26 | <@Syk> | what is a panini |
05:26 | <@Syk> | whoo found a good card for $13 |
05:27 | <@Syk> | lol i like how adding a 2nd wireless adapter to the cart doubles the shipping cost |
05:27 | <&McMartin> | A specific kind of hot sandwich |
05:32 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
05:42 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
05:42 | | mode/#code [+o himi] by ChanServ |
05:42 | <@Syk> | ok so sammich time now :D |
06:04 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has quit [Ping timeout: 121 seconds] |
06:06 | <@Syk> | ok that was a good sammich] |
06:11 | <~Vornicus> | panini: put your sandwich in a foreman grill. |
06:11 | <@Syk> | yeah, I did :3 |
06:12 | <~Vornicus> | hooray |
06:20 | | VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [[NS] Quit: Program Shutting down] |
06:35 | | Kindamoody is now known as Kindamoody|out |
06:38 | <~Vornicus> | http://www.flickr.com/photos/7861878@N06/8215393307/in/photostream |
06:38 | <@Syk> | ooh |
06:38 | <@Syk> | shineh |
06:38 | <@Alek> | notbad.jpg |
06:41 | | Nemu [NeophoxProd@Nightstar-f983078e.asahi-net.or.jp] has quit [Ping timeout: 121 seconds] |
06:46 | | Vash [Vash@Nightstar-126b8874.wlfrct.sbcglobal.net] has quit [[NS] Quit: I lovecraft Vorn!] |
07:21 | | ErikMesoy|sleep is now known as ErikMesoy |
08:31 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has quit [[NS] Quit: KABOOM! It seems that I have exploded. Please wait while I reinstall the universe.] |
09:36 | | himi [fow035@Nightstar-5d05bada.internode.on.net] has joined #code |
09:36 | | mode/#code [+o himi] by ChanServ |
10:40 | | You're now known as TheWatcher |
12:09 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
12:30 | | Kindamoody|out is now known as Kindamoody |
12:33 | | Attilla [Obsolete@Nightstar-f2beb6f7.as43234.net] has joined #code |
12:59 | | Kindamoody is now known as Kindamoody|afk |
13:12 | | Attilla [Obsolete@Nightstar-f2beb6f7.as43234.net] has quit [[NS] Quit: ] |
13:20 | | Attilla [Obsolete@Nightstar-f2beb6f7.as43234.net] has joined #code |
13:47 | | Nemu [NeophoxProd@Nightstar-aa5bd92b.asahi-net.or.jp] has joined #code |
14:24 | | birthdaypux is now known as cpux |
14:54 | | Reiv_ [NSwebIRC@D4E70A.D52DB0.820B13.98C775] has quit [Ping timeout: 121 seconds] |
15:10 | | Attilla [Obsolete@Nightstar-f2beb6f7.as43234.net] has quit [Ping timeout: 121 seconds] |
15:14 | | Attilla [Obsolete@Nightstar-f2beb6f7.as43234.net] has joined #code |
15:45 | | celticminstrel [celticminst@Nightstar-05d23b97.cable.rogers.com] has joined #code |
15:53 | | Attilla [Obsolete@Nightstar-f2beb6f7.as43234.net] has quit [Ping timeout: 121 seconds] |
15:57 | | Attilla [Obsolete@Nightstar-42d751a8.as43234.net] has joined #code |
16:20 | | Attilla [Obsolete@Nightstar-42d751a8.as43234.net] has quit [Ping timeout: 121 seconds] |
16:21 | | Attilla [Obsolete@Nightstar-cd37fbe0.as43234.net] has joined #code |
16:31 | <@Syk> | fuckin' alsa |
16:32 | | Attilla_ [Obsolete@Nightstar-21fdeca2.as43234.net] has joined #code |
16:32 | <@Syk> | if any of you are alsa developers, you should feel very very disappointed in yourself |
16:32 | | * celticminstrel doesn't even know what that is. |
16:33 | <@Syk> | Advanced Linux Sound Architecture |
16:33 | | Attilla [Obsolete@Nightstar-cd37fbe0.as43234.net] has quit [Ping timeout: 121 seconds] |
16:33 | <@Syk> | advanced in sarcastic air quotes |
16:35 | <@gnolam> | fuckin' [current Linux sound system] |
16:35 | <@gnolam> | FTFY. |
16:36 | <@Syk> | well it's PulseAudio over the top of ALSA, IIRC |
16:36 | <@Syk> | and that's how it'll probably stay |
16:37 | <@Syk> | i hope |
16:37 | <@Syk> | unless the Wayland developers decide to derp on sound too |
16:39 | <@Syk> | it's just a big barrel of fuck and ass shoved into the kernel |
16:39 | <@Syk> | oh well at least it's not directsound |
17:13 | | Syk is now known as syksleep |
17:22 | <@EvilDarkLord> | For some reason my connection is very choppy on my Ubuntu installation, but not on my Windows installation. Any ideas about how to go about diagnosing this problem? |
17:46 | <@froztbyte> | start by running this: http://netalyzr.icsi.berkeley.edu/ |
17:52 | <@rms> | <Syk> well it's PulseAudio over the top of ALSA, IIRC <Syk> and that's how it'll probably stay <Syk> i hope <-- I hope not. Pulseaudio has a notable lag (20 secs) and has the most arcane initiation requirements I've seen yet. |
17:52 | <@rms> | ALSA just works. |
17:54 | <@froztbyte> | only recently, sometimes |
17:54 | <@froztbyte> | if you've got a 20s lag on PA, something is wrong |
17:54 | <@rms> | No shit. |
17:54 | <@froztbyte> | (with your computer/setup) |
17:54 | <@rms> | It was a fresh Slackware install. |
17:54 | <@froztbyte> | hell, you get PA in -rt flavour :D |
17:54 | <@froztbyte> | rms: well, there's your first 90 problems |
17:54 | <@rms> | Bah |
17:55 | <@rms> | Ever distro has issues |
17:55 | <@froztbyte> | yes |
17:55 | <@froztbyte> | source-compiled just sets out with more |
17:55 | <@rms> | Key is finding the least shitty one |
17:55 | <@froztbyte> | and a higher return of errors per update |
17:55 | <@rms> | Slackware is binary. |
17:55 | <@froztbyte> | (sorry, I just can't see the worth in them anymore) |
17:55 | <@froztbyte> | rms: eh, is it just unpacking these days? |
17:56 | <@rms> | It was always binary. |
17:56 | <@rms> | Are you confusing it with Gentoo? |
17:56 | <@froztbyte> | no, certainly slackware |
17:56 | <@froztbyte> | there were quite a bunch of things I ran into that had to sit around compiling shit |
17:56 | <@froztbyte> | maybe that was just all hardware related though |
17:56 | <@rms> | *Shrugs* |
17:57 | <@rms> | Slackware worked with all the hardware I gave it so... |
17:58 | <@TheWatcher> | IME most people's opinions of any given distro other than the one they are currently using is generally at least 1+ major versions out of date. |
17:58 | <@TheWatcher> | And genreally wrong |
17:58 | <@TheWatcher> | *generally |
17:59 | <@froztbyte> | haha |
17:59 | <@froztbyte> | most of the main distros track things pretty well |
18:01 | | * rms misses when Arch just worked :/ |
18:01 | <@rms> | Now I'm trying a bunch of shit |
18:01 | <&ToxicFrog> | Hasn't Arch's thing pretty much always been "you set up everything by hand"? |
18:02 | <@Azash> | What makes Arch better than Gentoo or LFS? |
18:02 | <&ToxicFrog> | Lack of $USE clusterfuck?~ |
18:03 | <@Azash> | From what I've heard Arch does not have a modest presence in the clusterfuck department itself though :P |
18:04 | | rms is now known as Vasi |
18:05 | <@Vasi> | All I know is Arch is repeatedly breaking libc and a bunch of the core stuff. |
18:05 | <@froztbyte> | Arch struck me as Fisher-Price: My First Gentoo |
18:05 | <@Vasi> | Arch is also a binary distro... |
18:05 | <@froztbyte> | these days I have a strong distrust for most "new" distros (anything under 2 years) |
18:05 | <@froztbyte> | because they just /do/ /not/ have the clue to do it right |
18:05 | <@Vasi> | Arch is at least 6 years old. |
18:05 | <@froztbyte> | and still paying their schoolfees, it would seem |
18:06 | <@Vasi> | No, they just got a new lead |
18:06 | <@froztbyte> | so they can keep doing that in a corner where I don't have to care |
18:06 | <@Vasi> | Then it all went to shit. |
18:54 | <@EvilDarkLord> | froztbyte: Cheers. http://n2.netalyzr.icsi.berkeley.edu/restore/id=43ca208a-1870-a01e6156-9366-42ee -8cf2/rd shows the results taken from inside Ubuntu and http://n3.netalyzr.icsi.berkeley.edu/restore/id=ae81b058-3334-ac1dafa2-ac23-4e72 -9d7f/rd shows the results from inside Windows. |
18:54 | | * froztbyte clicks |
18:55 | <@froztbyte> | your router, 10.0.0.2, seems to be a bit weird |
18:55 | <@froztbyte> | it can do DNSSEC validation, but not AAAA |
18:55 | <@froztbyte> | I'm guessing it might not have v6 upstream or something funky |
18:56 | <@froztbyte> | in ubuntu you have a very large chunk of packetloss |
18:56 | <@froztbyte> | is this over wifi? |
18:58 | <@EvilDarkLord> | No, it's a direct connection to a router which is shared by one other machine (which is virtually never on, though). |
18:58 | <@froztbyte> | your loss and latency are significantly larger in ubuntu than in windows |
18:58 | <@froztbyte> | do you know what network card you have there? |
18:59 | <@EvilDarkLord> | My device manager says "Realtek PCIe GBE Family Controller" under "network adapter", I presume that's it. |
19:00 | <@froztbyte> | in ubuntu, you can try see with `lspci`, or `lshw` |
19:15 | <@EvilDarkLord> | http://pastebin.ubuntu.com/1386034/ - here's the relevant parts, I think. |
19:17 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has quit [Ping timeout: 121 seconds] |
19:17 | <@EvilDarkLord> | (My replies are a bit delayed since one of the things that only works in fits and starts is my SSH connection) |
19:22 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code |
19:23 | | * EvilDarkLord eyeballs his results for the network tests. From Ubuntu the resolver reports a hostname of k4, but from Windows k8. Is that significiant or just normally OS-dependent? |
19:24 | <@EvilDarkLord> | *significant |
19:24 | | shawn-p1 [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code |
19:25 | <@froztbyte> | hmm, I don't know that card very well |
19:25 | <@froztbyte> | I'd suggest googling around to see if there are any known issues with that chipset in linux |
19:26 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has quit [Ping timeout: 121 seconds] |
19:29 | <@EvilDarkLord> | All right, thanks. |
19:57 | | Kindamoody|afk is now known as Kindamoody |
20:15 | | Kindamoody is now known as Kindamoody[zZz] |
20:19 | | shawn-p [Shawn@Nightstar-4db8c1df.mo.charter.com] has joined #code |
20:22 | | shawn-p1 [Shawn@Nightstar-4db8c1df.mo.charter.com] has quit [Ping timeout: 121 seconds] |
21:03 | <@AnnoDomini> | http://jekkilekki.wordpress.com/2009/01/05/changing-os-languages-in-windows-xp/ <- I'm amazed that it works. |
21:07 | <@froztbyte> | http://ctf365.com/ref/SRpsxK1fhB4nXArs1VxD |
21:09 | | Reiv_ [NSwebIRC@D4E70A.D52DB0.820B13.98C775] has joined #code |
21:10 | <@AnnoDomini> | What's this? Some kind of contest for security designers? |
21:11 | <@froztbyte> | well, anyone who's interested in playing, really |
21:12 | <@AnnoDomini> | I'm not quite sure what this is about. Cracking open systems |
21:12 | <@AnnoDomini> | ? |
21:16 | <@froztbyte> | http://thehackernews.com/2012/11/ctf365-capture-flag-next-generation.html |
21:16 | <@froztbyte> | but basically |
21:16 | <@froztbyte> | you get a few infosec wargames around |
21:16 | <@froztbyte> | meant for practice and such |
21:17 | <@froztbyte> | sometimes just as a pure challenge |
21:17 | <@froztbyte> | now and then someone puts one up with the side benefit of a possible job offer if you do crack it |
21:46 | | * TheWatcher readsup |
21:49 | <@TheWatcher> | EvilDarkLord: you might want to check your MTU on windows and linux - if windows is using a lower MTU, try setting the same in linux |
21:50 | <@froztbyte> | mmmm |
21:50 | <@froztbyte> | I tend to assume it's the same way around on 100Mbps ethernet, but I suppose it's fair to check anyway |
21:51 | <@TheWatcher> | (Yeah, it should be 1500 over a ethernet lan anyway, but Funky Shit Sometimes Happens) |
21:52 | <@froztbyte> | 1508 is fine if you have .1q-capable switches, or 9000 if you've got jumbo packets |
21:52 | <@froztbyte> | and then some other shit inbetween |
21:53 | | * TheWatcher did not know about 1508 |
21:53 | | Vasi is now known as rms |
21:58 | <@EvilDarkLord> | TheWatcher: ifconfig says 1500 over eth0 and 16436 over lo. |
22:13 | | VirusJTG_ [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has joined #code |
22:16 | | VirusJTG [VirusJTG@Nightstar-09c31e7a.sta.comporium.net] has quit [Ping timeout: 121 seconds] |
22:42 | | ErikMesoy is now known as ErikMesoy|sleep |
22:51 | <@simon_> | I am short of words. with regards to energy consumption of electronic circuits, there seems to be two factors involved: Landauer's limit, and the general inefficency of the materials. I don't know how to properly formulate the latter. |
22:56 | | Derakon[AFK] is now known as Derakon |
23:07 | <@EvilDarkLord> | simon_: Do you mean the heat produced by electrical resistance? |
23:07 | <@simon_> | electrical resistance, yes. thanks! |
23:26 | | * TheWatcher hairpulls at this mediawiki api code |
23:26 | <@TheWatcher> | How the fuck is this file page title getting a type extension added to it?! ARGH. |
23:40 | | You're now known as TheWatcher[T-2 |
23:40 | | You're now known as TheWatcher[T-2] |
23:42 | | You're now known as TheWatcher[zZzZ] |
--- Log closed Mon Nov 26 00:00:37 2012 |