[00:01] evening [00:19] cupcakes \o/ https://lh3.googleusercontent.com/-hbpKZc4pPk8/TtkWX5SzfsI/AAAAAAAAKbg/QzJJtASsZOQ/s1024/Cupcakes.jpg === PaulW2U is now known as G4MBY === Lcawte is now known as Lcawte|Away [08:10] morning [08:10] oh want them cupcakes [08:38] mmmmm tea [08:52] morning [08:52] yeah, they do look nice don't they czajkowski [08:53] not quite as posh as the ones Pendulum wanted the other day [09:04] hi folks [09:04] mmm, cake and bacon and egg sounds great right now [09:34] Morning ratfans [09:58] * AlanBell is queuing to see santa [09:59] What are you going to ask for? [10:02] a better applications lens [10:06] w/c [10:06] howdy [10:14] good morning everyone, [10:29] shy tee morning [10:31] audacity is horrible ;___; [10:32] equally, so is gwibber. [10:32] yes. [10:32] it is like you ask gwibber to do something, and you have to wait 20 mins. [10:32] anyone need a sysadmin job in Brum ? [10:33] o/ [10:33] Depends on how old the version [10:33] brobostigon: ? [10:33] occupy64k: i am using the most recent version in debian experimental. [10:33] ok [10:33] andylockran: i am not in brum, but a sysadmin job, sounds interesting. [10:33] The old versions of gwibber were really slow [10:33] heheheheheh funny [10:34] yeah. [10:34] I used gwibber on this laptop before May first last [10:34] The version I'm using is 3.2.1 [10:34] now I enabled it and still it shows only the replies I've gotten before that in the reply pane [10:34] I would call that a tad slow [10:34] I wonder how many days it takes for it to fetch the rest [10:36] well if anyone has any sysadmin friends, please put me in touch [10:37] Isn't everyone a sysadmin now? [10:39] occupy64k: nope, developers like to think they can be with 'the cloud' [10:40] oh man, I hate jokosher too [10:45] * brobostigon readds chromium daily ppa, to debian sid. [11:08] no breakage, phew, also added gwibber ppa. === Lcawte|Away is now known as Lcawte [13:05] Peekaboo [13:06] I see you [13:07] eeeeee [13:07] * bigcalm blows raspberries on czajkowski's tummy [13:07] oi cheeky [13:07] :D [13:08] Ello miss, how's you? [13:09] Will you be making an appearance after the meal on Friday? [13:24] Lo [13:25] hopefully so aye [13:25] Goodie :) [13:25] Dragging Jon along? [13:25] Hi daubers [13:28] * daubers dislikes working weekends [13:28] You prefer broken ones? [13:33] I prefer free ones :( [13:34] http://www.youtube.com/watch?v=ZGTnuJ1Qqpk <- I made this to explain minecraft to a friend :D [13:35] bigcalm: not sure [13:36] popey: real money eh :) [13:37] http://i.imgur.com/viUN9.png - wow [13:47] ☺ czajkowski [13:48] popey: you make screen casting look so simple [13:48] heh, it is ☺ [13:53] wow minecraft is $26 - that feels expensive [13:56] the BBC headline writers are getting better; especially for the short headlines - always emphasize the important part: 'Puffin found at sex clinic dies': http://www.bbc.co.uk/news/uk-england-hampshire-16016898 [14:07] penguin42: all the headlines seem a bit frisky today [14:09] AlanBell: I guess they reckon they're better than the standard impending doom headlines [14:14] woot! samba vfs module is starting to look a bit more readable now [14:18] standard impeding doom reminds me of Harry Potter. [14:18] should I be worried? [14:19] * penguin42 hasn't read h.p. [14:19] (or watched it) [14:21] I listened. [14:39] hmm dell site is annoying [14:39] you search for Ubuntu [14:40] czajkowski: chat to the live assistant [14:40] gives back a list of machines and I thought wow what a list, click on the item, still shows the OS as Microsoft [14:40] you won't get anything, but blog the transcript [14:40] what'll that do ? [14:40] http://www.theopensourcerer.com/2010/07/23/why-windows-still-has-good-sales-figures/ [14:41] just show that demand is there [14:43] hmm ok [14:47] hmm I sem to have massive lagging problems [14:47] the system 76 site really is rather nice [14:48] really wish bash had python like string processing :( [14:48] met the system 76 guys at uds, nice people [14:48] and they do say they'll ship to UK, but the downside of an annoying US keyboard would do my head in [14:48] you can get stickers to fix that :) [14:49] gord: this is true [14:49] the machines they offer are nice [14:49] i bet the shipping costs aren't though [14:50] * hamitron just gets comp with crapware and solves the problem when it arrives [14:52] not sure I'd call it crapware to be honest. It's just an OS I chose to not want to use [14:53] I was adding in the other software that is installed to lower the cost of the comp === Lcawte is now known as Lcawte|Away [15:20] wales 6 - 0 australia, :) [15:23] end first half, wales 6 - 3 australia. [15:34] gord: bash's string processing is "perl -e" [15:34] I wrote a PHP script the other day that generated a 650000 line long Bash script. [15:34] BigRedS: \o/ :) [15:34] I was quite proud of that. [15:35] the challenge of how many different languages can you get in a single project [15:35] This was after re-implementing ls, as it wouldn't read the directory I was throwing at it in a reasonable amount of time [15:35] penguin42: I remember Michale Meeks at Fosdem saying "Whatever language you prefer, we've something for you to hack on in Libre Office" [15:35] mgdm: PHP script to generate bash? That's evil in so many ways :P [15:36] BigRedS: You could try membase - it has a test suite in perl, python, ruby and erlang [15:37] MartijnVdS: well, for me, bash's everything-processing is perl :) I try to get a bash if done right about four times and then just rewrite the thing in pelr [15:37] BigRedS: I know enough shell scripting to get by (packaging..) [15:37] nigelb: I was more interested in getting stuff done :) [15:37] BigRedS: but once it gets heavier one line of sed/awk .. hello Perl :) [15:37] whooo 62 days to fOSDEM :D [15:38] mgdm: Heh, I can associate with that :) [15:38] Argh [15:38] Configuring some APs (one in "AP" mode, the other in "client bridge" mode) [15:39] but I can't find anything about what they do with VLAN-tagged packets in the docs [15:46] * MartijnVdS goes into "What happened when you tried?" mode [15:48] wales 6 - 10 australia :( [15:48] So.. wails from Wales? [15:48] hmmm. [15:51] http://snipsnip.it/au54bo9u347 anyone heard of a remote like this that would be Linux compatible? [15:51] that'd be sweet for MythTV :P [15:51] AlanBell: http://en.wikipedia.org/wiki/Sinterklaas > http://en.wikipedia.org/wiki/Santa_Claus :P [15:52] wales 6 - 15 australia :( [15:52] brobostigon: Rugby? [15:52] MartijnVdS: yep. [15:56] * MartijnVdS does a popey and upgrades to alpha1 [15:56] wales 6 - 22 australia :( [16:17] * AlanBell ponders moving theopensourcerer.com to a server running precise [16:18] ohwell, wales 18 - 24 australia. full time. [16:18] whilst theopensourcerer is away for the weekend [16:20] what can possibly go wrong? [16:21] this laptop seems to be happy with pp [16:23] penguin42: However much could have gone wrong before that question was asked, it is more now. [16:23] Narrative imperative. [16:24] * AlanBell just downloaded the precise CD in 65 seconds [16:24] nod; best to lock up the cat before upgrading [16:26] I'm thinking about installing in a VM to see what the changes are [16:29] I can't honestly see any [16:32] broadly speaking precise is like oneiric, but slightly better [16:34] * brobostigon thinks about dist-upgrade at the right time on his vps, never done such a thing before. [16:36] don't dist-upgrade - use do-release-upgrade [16:36] afternoon - I am officially running ubuntu again after a sojourn on debian :) [16:36] welcome back to the u world [16:37] due to hardware issues it turns out [16:37] penguin42: yes, agreed, i was simply thinking upon the lines, not a presise method yet. [16:37] brobostigon: Well if you're going to go to precise then you should be precise [16:38] 13 minutes remaining [16:38] then I'll be precise :) [16:38] penguin42: ummm, ok. [16:47] Release: 12.04 [16:47] Codename: precise [16:47] \o/ [16:49] To be precise, \o/ [16:50] Hm, anyone done much with Amazon? I've just kicked off a canonical AMI and it's not letting me in with my key [16:50] I've remembered to be the user 'ubuntu', but I can't think what else it wants me to do differently... [16:50] Daviey is an amazonian I think [16:51] my precise server install seems to be taking a very very long time to get NTP time [16:51] ah, write about it on IRC and it happens [16:52] there's some irony in precise not dong ntp properly [16:52] dong :) [17:00] on a mac, does the dock thing contain stuff that isn't running as well as stuff that is running, but not all the stuff you could run? [17:00] AlanBell: yeah [17:00] and people like that? [17:00] it has only launcher icons, and then as you open things that weren't already in it, they go in there too [17:00] AlanBell: it's like the unity dock -- it contains running and non-running things [17:01] there's some visual difference between what represents open things and what doesn't, but I can't remember precisely how [17:01] ok [17:01] wonder why we copy the silly ideas [17:02] * penguin42 notes Risc OS had this about 15 years ago [17:02] what I did for a while was un-pin everything in the launcher, so it only showed running things [17:02] that made more sense to me, but the applications lens is too hard to find stuff in, so you end up pinning things again [17:02] AlanBell: OSX has a lot of the sort of thing where you either get it or you don't, and if you don't get it and try to bend it to fit it doesn't really work [17:03] AlanBell: It works well if you actually allow the running icons on the dock to do more things - in the RISC OS system the icon on the bar would do loads of things - e.g. show open documents and let you drag and drop onto it [17:04] IMHO that makes sense - there was never any point to having a launcher on the panel and then something that appeared when it was running [17:04] drag and drop on riscos was awesome. It always worked for anything to anywhere [17:07] riscos should make a comeback on ARM tablets [17:07] ...is that "should" as in "I anticipate", or "should" as in "someone ought to make it so"? [17:08] someone ought to make it so [17:08] Mmm. Thought so, but it might have been a prediction. [17:08] I should think someone will probably do it for the raspberry pi [17:09] http://www.osnews.com/story/25276/Raspberry_Pi_To_Embrace_RISC_OS [17:09] * AlanBell was right :) [17:09] How... satisfactory. [17:09] I remember RiscOS from school [17:09] I learned Pascal on that :) [17:11] * AlanBell wants a pi even more now [17:12] Magnum PI? [17:13] * nigelb hands AlanBell 3.14 [17:14] that version never worked well, I'll wait for version 4 [17:14] I wonder if I can emulate something RiscOS-capable [17:58] Does Ubuntu have an alternative shortcut for character codes? Like on *the OS that shall not be named* you hit Alt + [number] to get accented characters and such. [17:58] kvarley: most apps understand Ctrl+Shift+U [17:58] kvarley: Ctrl+Shift+U 2665 = ♥ [17:59] kvarley: you can look up the hex codes in gucharmap [17:59] ♫ = 266b [17:59] Ah ok =] thanks [17:59] ᙤ [17:59] jacobw: what the .. is that [17:59] MartijnVdS: Been using Ubuntu for years and I just wondered now how to do it lol. Each time I needed a special character I had use the charmap lol [17:59] For some things it's easier to set a compose key, of course, but ctl+shift+U works for every character in Unicode. [18:00] ctrl+shift+u 1664 [18:00] kvarley: 2639 = ☹ 263a = ☺ [18:00] kvarley: 263b = ☻ [18:01] etc, etc [18:01] ጷ [18:01] i don't know what that is either [18:01] Thank you muchly [18:01] ctrl+shift+u 1337 [18:01] remembering unicode isn't as easy as remembering ascii [18:02] jacobw: ETHIOPIC SYLLABLE PHWA [18:02] penguin42: That's because ASCII is 127 characters, and unicode is still growing with >16M possible characters [18:02] nod [18:03] Is there a way to add folders to an existing tar.bz2 archive? [18:03] yes [18:03] jacobw: How? :) [18:03] there is tar -r (append) but I don't know if it copes with compression [18:03] i don't know [18:04] MartijnVdS: I'll try that thanks. I don't need it to be compressed as I am just using it to copy a filesystem [18:05] also, I don't know what it does with duplicates [18:05] i.e. you add the same file twice [18:06] My understanding is that it will append it to the tar, but not overwrite the file in it [18:06] BigRedS: sure, but how will that work on unpack? [18:06] but then, on extraction, it'll write the first one, then get to the second and overwrite the first with that [18:07] how delightfully 20th century :) [18:07] I've never tested it, though, and so I don't know where that explanation came from [18:07] haha [18:07] MartijnVdS: it's what ctrl-C was invented for :) [18:07] that makes sense [18:08] given tar was designed for linear devices (tapes) [18:08] Yeah [18:08] it's a true 'append' rather than just 'add' [18:08] makes sense that you can't overwrite something part way along but append [18:08] yeah [18:08] and means that, on a tape, you can go back through the previous versions === gary_ is now known as Guest3433 === Lcawte|Away is now known as Lcawte [19:41] rather interesting proof of concept of an attack on your web browser cache http://lcamtuf.coredump.cx/cachetime/ [19:45] so can someone explain to me how geoclue actually works in 11.10? I'm thinking of putting redshift on as I had it on my ... previous laptop, and it looks the location up with geoclue. But what if I change the location from the clock widget? === Lcawte is now known as Lcawte|Away [19:55] Myrtti, iirc there are a few different providers for geoclue, one of them is ip based [19:58] alright === Lcawte|Away is now known as Lcawte [20:54] BigRedS: hey, around? [21:36] I have some tracks I want to write to CDR is there something I can use to convert them so any player can play them? [21:40] depends on what do you mean by tracks and players [21:40] !info brasero | thispixel [21:40] !brasero | thispixel [21:40] brasero is certainly nice [21:40] what happened to the bot? :( [21:41] thispixel: brasero (source: brasero): CD/DVD burning application for GNOME. In component main, is optional. Version 2.32.1-0ubuntu2 (natty), package size 175 kB, installed size 544 kB [21:41] slowness [21:41] does anyone know about asm [21:41] and know about stacks [21:41] ;( [21:41] which asm, which stacks, and whats your problem? [21:42] I'm use 86 [21:42] I can't identify where the stack has been created in this program [21:42] "created" [21:42] monsterwizard: It normally shows in /proc/self/maps as [stack] [21:43] http://pastebin.com/YAu7sn1Z [21:43] really? [21:43] huh [21:43] the stack is just 1 pointer, it is in... the stack pointer (register) [21:44] since that program is just a few asm instructions inside a C program, the compiler will generate the code that sets up the stack [21:44] so there#s no way to indicate where abouts it starts [21:45] what do you mean? [21:45] monsterwizard: Do you want to put it somewhere or do you want to find out where it is? [21:45] Well I need to write a report on the stack frame [21:45] stack has a top and a bottom [21:45] and one question is to comment the "Setting up the stack frame! [21:45] " * [21:45] monsterwizard: So just do everything via esp [21:45] neither can really be called the "start" [21:48] (also you can't really tell where the bottom is) [21:49] But I need to make a diagram of the stack [21:49] surely there is [21:49] ok [21:49] I dunno though [21:49] get a debugger [21:49] damn, asm86 makes me physically ill [21:49] got one [21:49] watch the esp register [21:49] step through the code [21:49] esp is a pointer to memory [21:50] Ah I see [21:50] whenever push instruction is used, whatever you push is written to the memory pointed by the esp [21:50] then the esp is decremented [21:50] this is the stack [21:50] this is kinda fundamental to all machine code [21:51] monsterwizard: Use a debugger like gdb to have a look - if you do info registers it will show you the register values [21:51] so lines 28 to 31 put params on the stack (like the comment says) [21:52] then line 32 calls a function, which uses those parameters (it looks at esp to find them) [21:52] then line 33 adds to the stack, which moves it back, removing the parameters [21:52] same thing throughout the rest of the program [21:53] so it pushes twice... this is 32 bit code so that's a total of 8 bytes [21:53] then it adds 8 to esp [21:53] now esp is back where it started [21:53] so the thing here is, you have to push and then "pop" an equal number of times, or extremely bad things will happen [21:54] adding to esp is a shortcut for doing lots of pops, when you don't care about the data [21:54] right I see [21:54] taking notes [21:55] btw is this homework? [21:57] the other thing you need to know about the stack is there's no rules at all about esp, it's just another register [21:58] when a program starts it initializes it to a value, the code that does it is part of the libc, otherwise you'd have to include it in all programs [21:59] but if you just pop loads of times, the pointer will happily keep moving into unknown memory [22:00] so you can see that if you change the number of parameters of a function but forget to change the matching pop, you now have a very dangerous bug [22:00] ali1234: I thought it was actually the kernel that set it up initially and created the parameters on the stack [22:00] this is one of the things that C makes really easy for you... making sure all function calls "just work" [22:01] penguin42: i'm pretty sure it's done in the crt.0 [22:01] Oh god, ok [22:01] any OS that uses virtual memory [22:02] wait how do you clear a stack then? [22:02] you don't you just pop your stuff off it [22:02] oh right [22:02] you can't [22:02] well, you can [22:02] the point is, you have to have a pop for every push [22:02] it has to match up perfectly [22:02] if you just pause a program at a random point, you can't tell how deep the stack is [22:02] I see [22:03] imagine you have a pile of rocks [22:03] then you add 10 rocks [22:03] how many rocks in the pile? [22:03] you don't know... [22:03] jenga! [22:03] so poping the stack frame = clearing the stack frame [22:03] but you can take 10 rocks off the top and get back to where you started [22:03] in an abstract sense [22:03] but if someone else comes along and puts a rock on the pile when you're not looking... you're screwed [22:04] ali1234: And thats why threads have separate stacks [22:04] yes, you don't really "clear" it in the sense of "writing 0s over it" or anything like that [22:05] you just move the pointer back [22:05] This brief isn't very precise another thing I need to identify is the "Passing back the return value" [22:06] ah, so it is homework.... [22:06] not really [22:06] if it was [22:06] I wouldn't do it [22:06] :P [22:06] looks like the retrun value is in eax [22:07] or eax,eax; jnz fileOK [22:07] function call methods differ between OSs [22:08] actually most OSs can call functions in multiple different ways too [22:08] again, C hides all this from you most of the time [22:08] you might find this interesting-> http://en.wikipedia.org/wiki/X86_calling_conventions [22:09] see if you can figure out the name of the calling convention your code is using [22:10] thank you [22:11] I fairly comfortable in C, but I've not done any assembly stuff since 6502 on the BBC Micro about 12 years ago :) [22:17] I may stop learning asm [22:19] there isn't much reason to learn x86 asm [22:25] Yeah/ [22:25] So I still can get a job? [22:25] without learning this [22:25] because it's actually giving me an increased heart rate D: [22:25] perhaps I need more 'general' programming skills [22:25] very few people code in asm [22:26] sure [22:27] crazy neighbour shooting fireworks from their balcony somewhere above me [22:27] if you want to be an expert programmer [22:27] learn some 8 bit assembler [22:27] where have they even gotten any at this time of year [22:27] like z80, 6502, etc [22:27] they are much simpler [22:28] once you've done that you can bluff your way through any x86 assembler you meet with a reference manual [22:28] mips is simple too [22:33] i've started wearing my hearing aid again for the first time in years [22:35] i can hear my own voice much better, i didn't know i sounded a bit brummie :| [22:38] hm [22:38] this is worrysome [22:38] first I was like, yay, clean laptop and it sounds quieter too [22:38] now I'm not sure if the CPU fan is going at all [22:41] uh oh [22:45] cpu temperature monitor? [22:45] 58C [22:47] yeah, it's not going at all [22:47] nice and quiet though [23:00] well that was scary [23:01] got a huge wad of lint and dust off, rebooted all the way to Ubuntu and fan didn't start at all, started to panic and now it runs again [23:02] DO you think access parameters means using the parameters? [23:02] now the CPU temp is 38C [23:04] monsterwizard: what are you reading? [23:04] a text? [23:05] err some random text book [23:05] this is in asm86 [23:07] in my opinion, which may be wrong, asm86 is not a good place to start if you are learning to program [23:11] http://goo.gl/855wT [23:43] I started learning with BBC BASIC, which is a gateway language to Assembley ;) [23:44] I gather university courses start with Java or Processing nowadays. [23:44] java, python, php and some places do lisp. [23:45] form what i've seen its java and java and java [23:45] I had to learn php to do my xml course [23:46] in the process I ended up making my own flat file CMS [23:46] Myrtti: my brother did something similar, still uses it despite the existence of CMSs like Wordpress [23:46] or mediawiki, which his is more similar to [23:47] I'm in the process of moving off a CMS to something that generates flat files [23:47] (moving from Habari to Jekyll, in case someone cares) [23:53] Anybody know where I can find some brilliant white Cat5e cable? Preferably without printing on, so I can just nail it to the top of the skirting board and not have to worry about needing [or wanting] to paint over it? [23:59] you can learn to program from the bottom, or the top. most people these days start with highest-level choices like python, then let people move into lower-level things if they wish. nobody sane starts with assembler in 2011.