[00:36] hello, good night! [00:37] I'm currently trying to get my ubuntu to recognize my notebook's Disk reader/writer drive. But I'm out of luck [00:37] I'll be glad if someone can give me some tips [00:38] rafaviana: you mean a burner? what have you tried? [00:39] hey, I have tried looking for drivers [00:39] I'm currently on a Vostro 33000 [00:39] oops [00:39] 3300 [00:40] Let me get the drive model [00:40] TSSTcorp DVD+-RW TS-U633F [00:41] When I put in disks, I was hoping they would be read out of the box [00:41] It's an ubuntu 12.04 installation [00:42] directhex: yes, it's a burner [00:42] rafaviana: audio discs, or data discs? [00:43] tried both [00:43] dvd movies, audio disks and data disks [00:43] rafaviana: if you go into nautilus (the home folder icon on unity), you don't see the disc listed on the left next to your hard drive, when you've inserted it? [00:43] the drive pops open when I push the button, and the disk even spins [00:44] No, it doesn't show up there [00:44] let me give you more details [00:45] This ubuntu is currently running off of an external HD, and it was installed into this HD from another PC [00:45] I'm afraid the driver for the burner may have not been installed or something [00:46] it's not a driver issue. [00:46] ok [00:49] directhex: do you have a suggestion for what I should do next? [00:50] i'm trying to think of suggestions which are appropriate for your level of experience [00:50] alright [00:51] I've fiddled a bit with terminal commands [00:52] can you try "sudo mount /dev/sr0 /mnt" with a data disc (i.e. not an audio cd) in the drive? [00:52] alright [00:55] directhex: it says the device /dev/sr0 doesn't exist [00:56] hmph [00:56] and scd0 ? [00:56] ok, hold on [00:57] directhex: same [00:57] hm [00:57] is your cd drive bay removable? can you remove & reconnect? [00:58] no, it's integrated [01:00] i wonder if it's powered. [01:01] I guess it is, because it spins the disk [01:01] and it opens after I push the button [01:02] i'm going to go to bed now. [01:02] directhex: alright man, thanks for the help [01:03] directhex: I'll keep trying here [01:03] directhex: good night! [01:03] rafaviana: you know you won't get many replies at 2am, right? [01:03] yea, I'm in a different time zone hehe [01:04] anyhow, thanks for the effort [05:48] morning all [06:57] aloha [06:58] howdy [07:31] Morning all [07:57] I know it's a security risk [07:58] But what's the easiest way to make it so my user account can read and write to /var/www ? [08:00] kvarley: it's not a security risk if you do it right [08:00] kvarley: what I usually do, is make everything in /var/www in the "www-data" group, then add my user to the www-data group [08:00] and chmod g+s /var/www so that all new files created are in the www-data group by default [08:00] Azelphur: Long time now see =] Ah, ok, that seems reasonable =] [08:00] :) [08:02] Morning [08:05] hi folks [08:15] hello all [08:20] morning [08:25] bug 1005433 [08:25] Launchpad bug 1005433 in gnome-control-center (Ubuntu) "No freedom of movement in g-c-c displays applet" [Undecided,New] https://launchpad.net/bugs/1005433 [08:26] videobugs++ === schwuk_away is now known as schwuk [08:34] Morning all [08:53] good morning everyone. [08:58] my imapfilter now filters away new mailing lists that i get subscribed to automatically without my intervention, gonna get down to inbox 0 some day! [08:59] heh [09:07] whats the general opinion of the playbook. ? [09:08] dead [09:09] i am just curious to havbe a play with qnx, than the the hw. [09:12] i recall playing with qnx probably over 10 years ago on a floppy disk they used to put out as a promo of how lean their OS was [09:12] http://toastytech.com/guis/qnxdemo.html [09:12] popey: yup [09:13] I think they still have a single-floppy demo [09:13] it was surprisingly usable [09:13] popey: i tried that also, it was very impressive. [09:13] if they had a commercial desktop version I'd probably have bought it [09:13] gordonjcp: now that would be cool. [09:15] it was fast and stable, even on a single floppy [09:15] gordonjcp: and nice and slim and speedy. [10:15] anyone using gnome classic? have a weird issue [10:16] do you mean gnome fallback? [10:16] when i click on another window, chromium hops to the bottom of the screen [10:16] popey, yes [10:16] ah, not just chromium but all windows [10:16] well pidgin too [10:17] gonna log off again [10:19] hmm wonder if it's an incompatibility with plank dock [10:26] using docky instead, seems better now [10:29] Getting permission denied when I try and write a file using PHP code. I have set apache2 to have the web root in my home folder, how can I give it permissions? [10:33] Nvm, got it. Was a simple group issue. Added the correct groups for www-data and it works. [10:39] morning all [10:47] o/ [10:47] g [11:00] popey: is uupc down [11:00] * popey checks [11:03] popey: is it down for me is struggling [11:03] yeah, working on it [11:11] davmor2: should be back [11:11] popey: yay [11:20] http://www.reddit.com/r/opensource/comments/u7onz/iama_mono_maintainer_in_debian_and_ubuntu_ama/ [11:34] Managing my email has become significantly easier since I switched back to mutt [11:37] ok, this is weird, wifi connects fine, try to ping out, nothing, traceroute, nothing. i then go up to my dad, try ping on his machine, and it pings out. [11:52] Good read directhex , seems a fair bit of support [11:55] might've gotten a different reaction in /r/linux [11:55] might cross-post for the lulz [11:55] is using ping -I reliable. ? [11:56] do you have multiple interfaces up brobostigon ? [11:57] popey: yes, i am connected to our routers wifi, and tethered via my mobile, trying to work out, why the adsl is messing around. [12:21] afternoon [12:27] https://answers.launchpad.net/ubuntu/+question/198576 oh dear [12:29] czajkowski: Haha? [12:30] jpds: there are some interesting questions in my queue toady [12:30] czajkowski: Feels like what I get everyday. [12:30] seriously?? [12:31] he accidentally installed ubuntu? [12:31] he accidentally the whole thing [12:31] i know windows users are famous for just cliicking through installers without reading anything at all but come on [12:31] ali1234: it's easy to do by accident [12:31] jpds: https://answers.launchpad.net/ubuntu/+question/198556 [12:31] you only need to click about a dozen "OK" buttons and enter a username and password [12:32] and set up your partitions [12:32] wubi [12:32] many fewer questions [12:32] ha, wubi was always a bad idea [12:33] czajkowski: I read that as he was installing ubuntu on his iphone [12:33] wubi just always seemed like the bastard child of mulinux and ubuntu [12:33] DJones: I did too as well [12:33] an ill-starred coupling if ever there was one [12:53] lol [12:56] i installed ubuntu by accident 8 years ago and still can't get out! halp! [13:05] lol [13:05] gord: Don't worry, it'll be EOL anyway [13:06] gord will be EOL'd? oh noes. [13:15] 8 years is pre 4.10 :) [13:16] maths is difficult on a monday :( [13:17] or it feels like eight years, take your pick [13:21] hmmm I've not had a single tea all day today [13:22] * diplo is on about his tenth [13:22] :( [13:22] czajkowski: that's why you are so quiet then you should do it more often [13:23] * czajkowski ppeeers at davmor2 [13:23] yes dear [14:07] anyone got a contact who's involved in U3 in Manchester ? [14:08] czajkowski: try the mlug [14:09] i have found a weird bug, when i ping out, over the wifi, i get huge lag. i am on my tablet, same wifi, no lag. and when i tether my mobile via usb, also no problem. [14:09] davmor2: I know they re on the Ubuntu uk list as they have U cubed events :/ [14:10] any test suggestions ? [14:12] brobostigon: is this on a laptop [14:12] davmor2: yes, eeepc [14:13] brobostigon: what kinda wifi is it and is it plugged in? [14:14] davmor2: wpa2, and power plugged in, no ethernet. [14:15] brobostigon: no what wifi card is in the eeepc you have sorry [14:16] davmor2: atheros ar242x/ar542x [14:20] brobostigon: possibly an issue with the driver for the card, I'm pretty sure there is an app similar to top but for networking that might give you more info other than that try the regular channels like askubuntu, wiki, forums for that card on 12.04 and see if anyone has a fix for it or has reported it [14:21] davmor2: ok, thanks. i have tried another wifi usb adapter, and get the same thing, so i dont think it is limited to driver. [14:22] brobostigon: unless the usbadapter has the same chip in it [14:23] davmor2: let me look. [14:23] brobostigon: I had the issue while my system is unplugged from the mains [14:23] but it only ever effected me once [14:24] davmor2: the other adapter is a rtl8187l [14:38] davmor2: i htink i have narrowed it down abit, because if i disble the atheros, and use only the other adator, is does behave abit better. but not aswell. so i think it could be difinate to the atheros drivers. [14:49] bbc news on top form again ;) http://www.eurogamer.net/articles/2012-05-28-bbc-news-mistakes-halo-unsc-logo-for-un [14:54] lmao [14:54] ⢁D === nn is now known as Guest7496 [15:50] i think the bug i found earlier is new, i have found nothing on the kernel bug tracker, not launchpad. [15:50] nor* [15:59] * daubers has just been given whiskey from Japan [15:59] sorry, whisky (no e in this one) [16:00] daubers: http://www.youtube.com/watch?v=_saLrADKqNM ? [16:00] MartijnVdS: http://www.thewhiskyexchange.com/P-2941.aspx [16:00] daubers: I only know that one (from Lost in Translation) :) [16:00] i have backports repo enabled, but only v0.85 gets installed ...why's that? http://paste.ubuntu.com/1011494/ [16:00] heh :) [16:01] ^^ trying to install v0.91 of gnome-do [16:01] oimon: you might need to specify you want a backport [16:01] oimon: because of default pinning [16:03] MartijnVdS, oh thanks. how? [16:03] oimon: debian or ubuntu backports? :) [16:03] software centre is ebnabled [16:03] ubuntu [16:03] https://help.ubuntu.com/community/UbuntuBackports [16:03] apt-get install packagename_here/distro-backports [16:04] so oneiric-backports [16:04] or precise-ba[Dckports [16:04] etc. [16:04] sudo apt-get install gnome-do/precise-backports [16:04] sweeet/ thanks [16:31] hi there! [16:31] * stilia-johny is anyone that know about opencv? === Lcawte|Away is now known as Lcawte [16:49] stilia-johny: i can't see an irc channel or a mailing list referenced on their website [16:49] stilia-johny: just a yahoo group [16:52] A group of yahoos then? [16:52] presumably :) === schwuk is now known as schwuk_away [17:51] * popey thinks gord might want to vote for this T-shirt to made. http://www.threadless.com/submission/426127/Boba_Fett_BAMF [18:02] [Tony] Cookie monster - http://tonywhitmore.co.uk/blog/2012/05/28/cookie-monster/?utm_source=rss&utm_medium=rss&utm_campaign=cookie-monster [18:02] [Jono Bacon] Ubuntu Accomplishments Web Gallery: Django Developers Needed! - http://www.jonobacon.org/2012/05/28/ubuntu-accomplishments-web-gallery-django-developers-needed/ === Lcawte is now known as Lcawte|Away [18:38] still got issues lol [19:08] Azelphur: what's up? [19:09] uhh good question, I have no recollection of typing that or any idea why I typed it [19:09] maybe it was a wrong window and I didn't realise...weird [19:18] Anyone got a "sorting" algorithm? I have a set of data (csv) with an id column and a parentid column. There may be multiple levels of parent-child relationship. I need to get the data ordered so that the "top-level" parents come first. [19:20] b-tree? [19:20] I'm not even sure if there is a name for what I am trying to do. Is that what a b-tree is? [19:21] not really [19:21] i'm not 100% clear on what you mean [19:21] actually, i'm not 100% clear why you want that [19:21] So I have a shedload of companies in a csv file. [19:22] they have an id and some have a parent id (a company within a company like a department for example.) [19:22] the parent id is the id of another row in the csv [19:23] so you want to sort the items by depth in the tree [19:23] you want to sort by depth? [19:23] Dunno? DO i? [19:23] yes [19:23] sorry Do I? [19:23] yes you do :) [19:23] TheOpenSourcerer: You want to sort based on the colour of the logo? [19:23] :-) [19:24] penguin42: that hurt my brain just then :p [19:24] so, my question is why do you want to do this? [19:24] jacobw: I didn't assume any of his previous statements about his CSV had any implication on what he wanted to do with it! [19:25] :) [19:25] Because the application I to which I am sending this data, really doesn't like it when a row wants to have a parent that doesn't exist yet. [19:25] i see, fair enough [19:25] so you don't actually need what you originally asked for :) [19:25] DOn't I? [19:26] you just need to make sure that a given node is always after it's parent [19:26] so the way you do this is load all the items then walk the tree depth first (which is the easiest way) outputting the items [19:26] OK - And is there a name for that kind of sort? [19:26] no, cos it isn't a sort at all [19:26] it's just depth first tree walking [19:27] TheOpenSourcerer: Construct a column that is currentrow-parentcolumn, and sort on it [19:27] hmm - can you do that? [19:27] i don't understand that [19:27] penguin they are not numerical like that. [19:27] thinking about it, I'm not sure I do now :-) [19:28] what language? [19:28] so what determines the parent relationship? [19:29] I have it as a csv, Don't really care about language but as I am using Talend a java routine would be helpful. But know I know what it is called I google for it ;-) [19:29] this is what you need to do: load all the items one by one into a dict/hash/associative array/ whatever your language calls it [19:29] Thanks. [19:29] indexed on the ID [19:30] then iterate the items and build a tree structure from it [19:30] basically that means for each item, add it to it's parent [19:30] TheOpenSourcerer: alternatively do a multi-pass import [19:30] if no parent add it to a special root node [19:31] * jacobw really wants to do a CS degree sometime [19:31] so import once, some will fail, import again (don't import successful imported rows) and more will succeed, keep going until the number of imported records matches the number you wanted to import [19:31] then starting at the root node output the first child. terminate on leaf nodes etc [19:31] AlanBell: yuck [19:31] yeah, yuck, but simple and effective for a once only data load [19:32] not really. how do you tell if any failed? [19:32] what if the software just bombs out horribly? [19:32] doesn't matter, you just keep going until no more additional rows get added [19:32] ow [19:32] what if it just adds duplicates? [19:33] well don't add duplicates :) [19:33] that's not good for time complexity [19:33] you can then export the whole thing and compare against the original data [19:33] argh [19:33] depends what time you are optimising, computer time or human time [19:34] ali1234's method would run in linear time for the number of items [19:34] human has to sit and do it too [19:35] the duplicate problem is already a counter example requiring a new operation for each item [19:35] anyhow, as long it works for the person concerned it's good :) [19:35] and something that should probably be easy/already done [19:35] anyhow, it is just one possible strategy [19:35] yeah, i would think this a common requirement [19:36] One would have thought so... [19:36] what value is used when there's no parent? [19:37] are there any items with a non existant parent? [19:37] there must be at least one [19:37] it could be cyclic [19:37] it could be [19:38] but that would make it impossible to import [19:38] at least with alanbell's method :) [19:38] yeah, what i mean is do all items without parents have a property that only items without parents have or do they have some other unpredictable property [19:39] it's csv so i'm guessing it's just null or 0 or something [19:39] i.e. is the parent relationship property null or invalid in the propsed tree? [19:39] * jacobw hopes so [19:40] ali1234: Yes. Rows without a parent have a empty value in the "parent" column [19:42] hmm is a python list inside a tuple mutable? [19:42] so sorting by that and doing all the unparented nodes first would get fairly close if most things are not two level nested [19:43] http://paste.ubuntu.com/1011860/ [19:43] i think so [19:43] i forgot import sys [19:44] that should do it though [19:44] kewl - thanks ali1234 [19:45] you must fix get_ids to actually get the ids [19:45] they don't need to be numeric though [19:51] TheOpenSourcerer: fixed up version http://paste.ubuntu.com/1011869/ [19:51] heh, argh it stil has bugs [19:52] http://paste.ubuntu.com/1011872/ [19:56] is a python list in a tuple mutable? [19:56] yes it is [19:56] how mutable? [19:56] completely mutable [19:56] can you add new items or just modify existing items [19:56] ok, cool :) [19:57] this makes sense [20:16] ali1234: That is very cool - thanks a bunch. The output looks perfect. [20:18] * AlanBell applauds ali1234 for the not quick-and-dirty solution [20:18] but still quite quick [20:19] i bet it was quicker than importing multiple times and then manually checking everything is ok :) [20:19] bloody quick actually. >11000 rows in about a second. [20:19] yeah, not really any reason for it to be slow. there is no sorting at all [20:19] Plus the 30 minutes or so trying to grok what I was trying to do. [20:20] well, i suppose the dict is sorted [20:20] sort-of anyway [21:11] evening chaparoos [21:12] hullo czajkowski [21:13] AlanBell: eh o [21:13] eh o lala [21:13] :) [21:15] * AlanBell wonders if tellytubbies is still going [21:15] hmm, stopped in 2002 after 365 episodes, I suspect I have seen them all [21:16] "in the night garden" is pretty much the same show [21:16] yeah, but iggle piggle is more obnoxious [21:38] * AlanBell is going to http://www.royalalberthall.com/tickets/go-surrey/default.aspx tomorrow [21:39] enjoy. [21:53] oh man I love random shuffle play [21:54] "AKAI_AX73_Factory_Patch_Tape.mp3", I love that tune [21:54] on heavy rotation [21:55] AlanBell: well yeah [21:55] everybody needs some earsplitting FSK tones [21:55] sometimes i get transcription mp3s [21:55] it is where dubstep came from [21:55] i dunno who thought up this idea of having the computer automatically index everything [21:55] but it really sucks [21:58] i hate when i'm busily working on some code and realise i've been listening to a lecture about obstetrics for 20 minutes [22:02] Ello :) [22:03] yo bigcalm_laptop [22:03] Howdy popey :) [22:05] Hotel wifi is costly. Thank goodness for 3g teathering [22:05] ali1234: lol [22:13] I've updated my slides from the weekend from flossie if anyone is looking for them http://ubuntuone.com/6g8b4YTsYZVtfLJDbcFsZj - Baby steps into an open source community. [22:15] czajkowski: hello from NI o/ [22:15] czajkowski: we're visiting Dublin on Wednesday :D [22:16] bigcalm_laptop: evening [22:35] https://plus.google.com/108463274542772401626/about [22:37] bigcalm_laptop: don't do it. the sun's made them crazy! [22:40] ali1234: who he? [22:40] popey: he's the king of pascal! [22:40] of course [22:41] * popey clicks "add to circles" [22:41] he's a relatively famous usenet guy from back in the day [22:42] profile says it all really [22:45] this is where g+ is winning: it appeals to people who rolled their eyes and carried on walking when facebook came out [22:46] they're not really winning. it's not like they have any competition. all the other social networks are picking up young people who never used the internet before. [22:47] Sleepy time :) [22:47] Toodles! [22:50] g+ is actually pretty nifty, I just don't like that it's google's. I prefer to keep them at a safe distance. they already know too much [22:51] yeah there is that [22:51] apparently not a common stance tho, given the amount of data people are willing to feed facebook === nn is now known as Guest73448 [22:53] old timers are pretty comfortable with the knowledge that every hop between you are the server can see everything [22:53] * penguin42 works on the basis that google knows everything else about me so what the heck [22:58] hm......... so, which is preferable: a library in non-free due to a closed-source but distributable component, or the library in main with a chunk of functionality removed by force? [22:58] depends how important the functionality is [22:58] but i'd say non-free [22:59] directhex: Can you split the package so that you get the functionality if you install the non-free bit? [23:00] penguin42, no. it's a core requirement and cannot be split [23:00] well, not cleanly [23:00] hmph that sucks [23:00] it can be split violently and without caring about the bleeding [23:00] * penguin42 hands directhex an axe and gaffer tape [23:00] which is option 2 [23:01] directhex: What's the package, what's the functionality and what's the non-free bit? [23:02] penguin42, monogame, a library which enables development (and porting) of XNA games. fr'example, there's an unofficial port of Terraria to linux via monogame. the closed-source component is the joypad support [23:02] and in what way is it closed-source - where did it come from under whatlicense? [23:03] is it closed source and distributable or closed-source hard luck? [23:03] https://github.com/mono/MonoGame/blob/develop/ThirdParty/GamepadConfig/License.txt [23:04] ah...mono [23:04] can't it check for the assembly at runtime? [23:05] ali1234, in theory, but it hasn't been written to do it like that, and existing games wouldn't run since they link directly against the lib rather than runtime loading it [23:06] directhex: so in practice is everything going to want gamepad support and therefor it's useless to have a package without it? If so then just go with the non-free [23:06] so how would you make a "free" version? just put in a stub assembly that does nothing? [23:06] ali1234, yep [23:06] yeah i have to say non-free [23:06] penguin42, well, that's what i'm not sure about. [23:07] anyone who cares about the difference between free and non-free probably isn't using mono anyway [23:07] directhex: I'm not a gamer, gamepads sound kind of useful to it though, although I guess some are keyboard/mouse/joystick/mindcontrol playable [23:08] ali1234, i've done a copyright audit on 450 source files tonight. how's your day going? :p [23:08] i mended a fence [23:09] were the planks Free? [23:09] i dunno [23:11] directhex: They had a clause that disallowed you using them to create a walled garden [23:12] penguin42, that doesn't sound very liberal. people should be free to build the gardens of their choice! [23:28] speaking of mono, I enjoyed your AMA directhex :) [23:29] shauno, utterly exhausting! [23:32] it was mildly entertaining to see the questions turn into "how do you sleep at night" as soon as you cross-posted /r/linux too [23:33] 56 replies on /r/opensource, 47 on /r/linux [23:33] that takes a while to type [23:33] even if the answers are short [23:34] /r/linux was obviously going to be a more hostile audience. i expected that. [23:34] well, thumbs up. it was interesting [23:41] I don't need thumbs, I need upvotes! precious upvotes!