[00:01] <R1cochet> Odd-rationale: i still am not sure how to go about modding it
[00:01] <R1cochet> nor does the device show in the interfaces file
[00:02] <Odd-rationale> R1cochet: what manual settings are you trying to set?
[00:02] <R1cochet> ipv4
[00:02] <R1cochet> manaul
[00:04] <Odd-rationale> well... idk then... doesn't it use ipv4 by default?
[00:05] <grap> barack obama is a monkey
[00:05] <Odd-rationale> !offtopic | grap
[00:05] <R1cochet> yea but its on automatic and i need to make it manual and have it save it after restart
[00:07] <R1cochet> bbs
[00:08] <Armada> Hey. I need some help getting Xubuntu to boot from a USB HDD for the first time. It's kind of a unique situation. PM me if you might be able to help.
[00:19] <aldo65> How might one set the default behaviour of emptying the trash to use sdelete?
[00:22] <R1cochet> got it fixed
[00:22] <R1cochet> 1 more thing
[00:26] <R1cochet> i have 2 internal hdd formatted NTFS and have them mounted by the nftsconfig tool. they show up in /media but i was wondering if i could get them to show on desktop and places menu as a drive and not a folder
[00:28] <DaDa|Urka> help! my symbols and panels are gone!
[00:28] <DaDa|Urka> :D
[00:28] <R1cochet> rt click
[00:28] <DaDa|Urka> ?
[00:28] <R1cochet> right click on mouse
[00:28] <R1cochet> does it bring up a menu?
[00:28] <DaDa|Urka> no effect
[00:28] <DaDa|Urka> nope
[00:29] <R1cochet> alt-f2
[00:29] <DaDa|Urka> i can start terminals
[00:29] <DaDa|Urka> :)
[00:29] <R1cochet> xfce4-panel
[00:29] <DaDa|Urka> Alt+F2 dosnt do anything
[00:29] <DaDa|Urka> k
[00:29] <DaDa|Urka> and my desktop?
[00:29] <R1cochet> did u get panels?
[00:30] <DaDa|Urka> yes
[00:30] <R1cochet> what u mean desktop?
[00:30] <DaDa|Urka> no everything okay
[00:30] <DaDa|Urka> but
[00:30] <DaDa|Urka> why did that crash?
[00:30] <R1cochet> i dunno
[00:30] <DaDa|Urka> :D
[00:31] <R1cochet> ive had it happen a couple times and lucky enough i came across that command 2 days ago
[00:31] <DaDa|Urka> mh
[00:31] <R1cochet> does xfce manage the desktop?
[00:31] <DaDa|Urka> "let xfce4 handle my desktop" the hook alsways disappears
[00:31] <DaDa|Urka> at the moment yes
[00:32] <R1cochet> compiz?
[00:32] <DaDa|Urka> nope
[00:32] <DaDa|Urka> no nautilus
[00:32] <DaDa|Urka> just xfce
[00:32] <DaDa|Urka> :-(
[00:33] <R1cochet> well in display options under behavior there is option for menu on rt click
[00:33] <DaDa|Urka> yes
[00:33] <DaDa|Urka> hooked
[00:35] <DaDa|Urka> Save Session automatically on quit?
[00:35] <R1cochet> thats up to u
[00:35] <R1cochet> i get it where i like and save 1 time
[00:35] <DaDa|Urka> mhhh
[00:36] <DaDa|Urka> logging out and in again
[00:36] <DaDa|Urka> everything okay, but nm-applet
[00:39] <DaDa|Urka> thx R1cochet
[01:16] <J0nii> Anyone around?
[01:17] <Odd-rationale> no
[01:17] <J0nii> I need some help
[01:17] <Odd-rationale> :P j/k
[01:17] <J0nii> np
[01:18] <J0nii> I am a complete Linux newbie
[01:18] <Odd-rationale> just ask! if someone know the answer, they will help. :D
[01:18] <Odd-rationale> !ask
[01:19] <J0nii> I think Ubuntu has detected my NIC card, but i wont get a DHCP address
[01:19] <Odd-rationale> J0nii: i suppose you are not on that machin atm?
[01:19] <J0nii> I am
[01:19] <J0nii> Booted to XP
[01:19] <Odd-rationale> oh ok...
[01:20] <Odd-rationale> is this wired or wireless connection?
[01:20] <J0nii> Wired
[01:21] <Odd-rationale> ok. well. perhaps the easiest way would be to do this.
[01:21] <Odd-rationale> (might want to write some of this down)
[01:21] <J0nii> rgr
[01:21] <Odd-rationale> First, open a terminal from the Applications menu.
[01:22] <Odd-rationale> then, to see if you card is detected, run "ifconfig". it should return at least two device: lo (loopback) and another for your ethernet card, usually eth0
[01:23] <J0nii> It can see wth0
[01:23] <J0nii> eth0*
[01:24] <Odd-rationale> if it is detected. then try "sudo dhclient -x eth0" to release any connection it might have.
[01:25] <Odd-rationale> then try "sudo dhclient eth0" to try to get an address from the dhcp server...
[01:26] <J0nii> The DHCP server is Windows 2003 Server, is than an issue?
[01:26] <Odd-rationale> nope, shouldn't be
[01:29] <J0nii> I have also tried with manual settings "<IP_ADDRESS> / 255.255.250"
[01:29] <J0nii> With DNS & Gateway set to the router
[01:29] <J0nii> it says connected but i can't ping anytihng
[01:29] <Odd-rationale> J0nii: did "sudo dhclient eth0" give any error message?
[01:30] <batcoder-7> what is the best xubuntu ish way to see what system services are running and which ones i could turn off ?
[01:30] <J0nii> Odd-rationale: I will try those commands out and come back on here to let you know
[01:31] <J0nii> thanks for your help so far
[01:31] <Odd-rationale> batcoder-7: i use htop. cli app
[01:31] <Odd-rationale> J0nii: no
[01:31] <Odd-rationale> problem
[01:31] <J0nii> k
[01:31] <batcoder-7> i mean for the turning off Odd-rationale?
[01:32] <Odd-rationale> batcoder-7: turning off? you mean like kill?
[01:33] <batcoder-7> Odd-rationale: making them so they dont start anymore
[01:33] <batcoder-7> like i am not using wifi so i dont need wpa supplicant
[01:33] <Odd-rationale> oh i see.
[01:34] <J0nii> what were those commands again?
[01:34] <J0nii> Sorry
[01:34] <Odd-rationale> J0nii: sudo dhclient -r eth0; sudo dhclient eth0
[01:34] <J0nii> Ty
[01:34] <J0nii> BRB
[01:36] <Odd-rationale> batcoder-7: well, i'm not using a debain-based system atm... so i'm not 100% sure how that is done. somthing like "update-rc.d -f <daemon> remove"
[01:37] <batcoder-7> yea hmmm
[01:37] <batcoder-7> casue with the 8.10 update xubuntu atleast on my end got a bit more bloated
[01:38] <batcoder-7> or amybe just ubuntu in general
[01:38] <batcoder-7> but i could prolly turn off alot of stuff
[01:38] <batcoder-7> wigi stuff for one
[01:38] <batcoder-7> bluetooth stuff as well
[01:38] <Odd-rationale> batcoder-7: can i pm you real quick?
[01:39] <batcoder-7> sure
[01:55] <J0nii> hey
[01:55] <J0nii> I did the commands you suggested, and saved a complete log file if that helps
[01:57] <J0nii> No DHCPOFFERS received.
[01:57] <J0nii> No working leases in persistent database - sleeping.
[01:57] <J0nii> You there Odd?
[01:57] <Odd-rationale> yeah
[01:58] <Odd-rationale> J0nii: well, the probably has to be with your dhcp server now...
[01:59] <J0nii> I thought that, but should manuel settings not work?
[02:00] <Odd-rationale> J0nii: again, that can depend on your server..
[02:00] <J0nii> I can use Manuel settings with windows and everything works fine
[02:11] <Overshee> in xfce, how do I get the 'taskbar' back?
[02:17] <Odd-rationale> Overshee: try "alt+f2" and run "xfce4-panel"
[02:17] <Overshee> command not found
[02:18] <Odd-rationale> xfce-panel ?
[02:19] <Overshee> -bash: xfce-panel: command not found
[02:19] <Overshee> im sshing in, if that matters
[02:20] <Odd-rationale> ok. i just totally forgot the command... try doing xfce4<tab><tab> and see what tab completion gives you...
[02:20] <Overshee> cannot open display
[02:21] <Overshee> oh
[02:21] <Overshee> new question
[02:21] <Overshee> more important
[02:21] <Overshee> can i change my resolution from terminal
[02:21] <Odd-rationale> yeah... sometimes... what resolution do you wnat?
[02:22] <Overshee> uh
[02:22] <Overshee> idk, i was experimenting on how high i could set it
[02:22] <Overshee> and i got one out of range
[02:24] <Odd-rationale> try running "xrandr" from the terminal and see what options ar available.. then try something like "xrandr -s 1200x1050"
[02:24] <Overshee> can't open display
[02:24] <Odd-rationale> :?
[02:25] <Overshee> lol
[02:25] <Overshee> i just changed my resolution lol
[02:26] <Overshee> suggetions?
[02:27] <Overshee> im in pure terminal btw
[02:27] <Overshee> becuase the GUI was out of range
[02:30] <Overshee> oh bajeesus
[02:30] <Overshee> linux kills me sometimes
[02:30] <Odd-rationale> Overshee: maybe reboot into recovery mode, and select, fix x ?
[02:30] <Overshee> how do i do that?
[02:31] <Odd-rationale> when grub is loading press esc. then choose recovery mode from the grub menu. then select fix x. then reboot...
[02:32] <Overshee> ty
[02:32] <Overshee> wish there was an easier way to find my max res
[02:32] <Overshee> on this tv
[02:33] <Overshee> oh
[02:33] <Overshee> found it XD
[02:35] <Overshee> hmmm
[02:35] <Overshee> it dodesnt have 1366x768...
[02:35] <Overshee> @60
[02:36] <Overshee> can i add it?
[02:37] <Overshee> of course ubuntu forums are down
[04:29] <DarkTan> ok, somehow i managed to make all my menus, task bars and what have you dissapear
[04:29] <DarkTan> how  di i get them back?
[04:29] <j1mc> DarkTan: did you have a lot of custom settings in your task bars?
[04:30] <DarkTan> no, i was going through the display themes when everything bu my open Konversation dissapeared
[04:30] <j1mc> you use konversation on xubuntu?
[04:30] <DarkTan> yeah
[04:30] <DarkTan> i also have kubunto installed
[04:30] <j1mc> oh, ok
[04:31] <DarkTan> i also don't like pidgin for IRC
[04:31] <j1mc> xchat is the default irc client for xubuntu
[04:31] <DarkTan> hmm...never noticed that one on there
[04:31] <j1mc> just started including it in xubuntu 8.10
[04:31] <DarkTan> ahh, i have 8.04
[04:32] <DarkTan> so any ideas how to get my menu's back?
[04:32] <j1mc> do you think you could file a bug?  will logging out and logging back in bring them back?
[04:32] <DarkTan> well i can't log out
[04:33] <DarkTan> unless i cold-boot it
[04:33] <j1mc> press alt-f2
[04:33] <j1mc> and then enter, "xfce4-panel" into the menu that comes up
[04:33] <DarkTan> w00t, that fixed it
[04:34]  * DarkTan files that down for remembering
[04:34] <j1mc> coolness
[04:34] <j1mc> :)
[04:34] <DarkTan> thanks
[04:34] <j1mc> not sure why it crashed, though.
[04:34] <DarkTan> maybe i was scrolling through the themes too fast
[04:34] <j1mc> maybe... you can try again and see if it crashes on a certain theme.
[04:35] <DarkTan> on a different note, is there any way to pick my own color scheme, rather than use the supplied themes?
[04:35] <DarkTan> well i don't really like any of 'em
[04:35] <DarkTan> want my own colors
[04:39] <j1mc> you could modify one of the theme files, but you'd kind of need to know what you're doing.
[04:39] <j1mc> otherwise, for a selection of other themes, check out xfce-look.org
[04:39] <j1mc> a good number of themes from gnome-look.org will also work.
[04:40] <DarkTan> ok
[04:40] <DarkTan> will do, thanks for the help
[04:40] <j1mc> :)  yw
[04:53] <R1cochet> i have a couple screensavers that dont show up in xscreensaver setup. how can i get them to list in screensaver setup
[04:57] <R1cochet> they show in gnomescreensaver and they are in /usr/lib/xscreensaver and /usr/share/xscreensaver/config
[05:00] <j1mc> R1cochet: xscreensaver and gnomescreensaver are two different apps, and they aren't able to always use the screensavers that the other one uses.
[05:00] <j1mc> for example, gnome-screensaver doesn't display the "phosphor" screensaver
[05:01] <R1cochet> ok but xscreensaver used to display it
[05:01] <R1cochet> just b4 i did a fresh install
[05:01] <j1mc> it used to display a screensaver, and now no longer does?  same one?  same name?
[05:02] <j1mc> there are some extra screensavers that aren't included by default
[05:03] <j1mc> xscreensaver-data-extra and xscreensaver-gl-extra
[05:03] <j1mc> try installing those two packages, and see if that helps
[05:03] <R1cochet> and if i click on settings>advanced in xscreensetup and change the command to what i want it will run it just fine
[05:03] <R1cochet> i have both of those
[05:03] <R1cochet> the screensaver i want is matrixview
[05:05] <j1mc> perhaps file a bug against the xscreensaver package?
[05:05] <j1mc> sounds like a bug
[05:05] <R1cochet> well do u have it?
[05:06] <j1mc> i can select "matrixview" from my xscreensaver setup
[05:07] <R1cochet> i think i might remove all then reinstall
[05:09] <j1mc> R1cochet: i just tested it, and it worked ok.  :/
[05:09] <j1mc> what version of xubuntu are you using?
[05:09] <R1cochet> 8.1
[05:09] <R1cochet> 8.10
[05:09] <j1mc> do you also have gnome-screensaver installed?
[05:09] <R1cochet> nope
[05:09] <j1mc> that's ok - good
[05:09] <R1cochet> well i removed them all
[05:10] <R1cochet> should i restart b4 i reinstall?
[05:10] <j1mc> type "apt-cache search xscreensaver --names-only" and make sure that you have all of those packages installed
[05:10] <j1mc> all of the ones that come up in the list.
[05:11] <j1mc> you can even do "sudo apt-get install (names of programs) --reinstall"
[05:11] <R1cochet> well i already completely removed through synaptic
[05:12] <R1cochet> so can i just reinstall or should i reboot
[05:12] <j1mc> reinstall those programs?
[05:13] <j1mc> sure
[05:13] <j1mc> logging out would suffice, anyway... you wouldn't need to fully reboot for this.
[05:13] <R1cochet> the screensavers that i want to show up were not removed
[05:14] <R1cochet> can i delete the two xscreensaver folders?
[05:14] <j1mc> sure
[05:15] <R1cochet> ok brb
[05:15] <keb> is there a way to get a minimal xscreensaver that just fades to black and then turns off the monitor
[05:16] <j1mc> keb: yes, just select the top option from the screensaver menu...
[05:16] <j1mc> blank screen
[05:17] <keb> ok but then can the rest be deleted
[05:17] <j1mc> keb: any special reason why you want to delete the others?
[05:17] <R1cochet> ok should i apt-get or synaptic?
[05:17] <keb> waste of disk space
[05:18] <j1mc> R1cochet: if you're comfortable typing or copying and pasting the commands, apt-get would be fine
[05:18] <j1mc> synaptic is a graphical front-end to apt-get
[05:19] <keb> if you prefer curses you could use aptitude
[05:19] <R1cochet> so can i get all at once or should i get one then the next?
[05:20] <R1cochet> if so should i log  out between
[05:20] <j1mc> R1cochet: you can type all of the package names into the same command - just put a space between them.
[05:20] <j1mc> sudo aptitude install xscreensaver xscreensaver-data-extras ... etc
[05:20] <R1cochet> i nkow
[05:20] <R1cochet> know
[05:21] <R1cochet> but should i just do one at a time logging out between
[05:21] <j1mc> no, it's ok.  :)
[05:22] <R1cochet> still the same
[05:23] <R1cochet> not there
[05:24] <R1cochet> hmm i no longer have the file at all
[05:25] <j1mc> the matrix view one?
[05:25] <R1cochet> yep
[05:25] <R1cochet> note that when i installed the packs again it grabed from cache and didnt dl them
[05:26] <j1mc> R1cochet: try installing "rss-glx"
[05:27] <j1mc> try "sudo apt-get install rss-glx --reinstall"
[05:27] <keb> didnt there used to be a xscreensavers-gl package
[05:28] <R1cochet> there still is
[05:29] <j1mc> R1cochet: did that help?
[05:30] <R1cochet> well it installed them but they still dont show in screen setup
[05:37] <R1cochet> still not there
[05:39] <R1cochet> are u on x64 or i386
[05:39] <keb> [00:31] * j1mc has quit ("leaving")
[05:42] <R1cochet> oh well
[05:42] <R1cochet> i thank him anyway
[05:43] <R1cochet> i think i mighta found an answer tho :)
[05:44] <keb> great
[05:47] <R1cochet> bbs
[08:15] <jxander> is there a way to browse gvfs in xfce? (8.10)
[08:17] <jxander> could i use nautilus in xfce without changing my desktop?
[08:18] <maxamillion> jxander: technically yes, but you have to run it from a terminal or edit the command in the launcher to be 'nautilus --no-desktop'
[08:19] <jxander> maxamillion: thanks!
[08:20] <jxander> any ideas why gvfs volumes don't work in xfce only in gnome?
[08:21] <maxamillion> no idea, never messed with gvfs volumes
[08:21] <maxamillion> i assume they just don't automount in Thunar but they do with Nautilus
[08:21] <maxamillion> so you would probably have to mount it by hand and then browse with Thunar
[08:22] <jxander> well... that nautilus thing fixed this too :)... nautilus sees my gvfs volumes...
[08:25] <jxander> maxamillion: do you by any chance know how to fix the video playback as it looks like the frames don't complete and the next frame comes over... some horizontal lines appear in movies. like it would run on a really old computer. any idea?
[08:26] <maxamillion> jxander: what graphics chipset do you have?
[08:27] <jxander> maxamillion: ati mobility radeon x1400 graphics card... all the 3d games work fine, compiz too. i don't use compiz though.
[08:27] <maxamillion> strange
[08:28] <maxamillion> generally if compiz works you shouldn't have any video quirks ... what media player are you using?
[08:28] <jxander> vlc and smplayer, but even with totem is the same thing :(
[08:29] <maxamillion> i think totem and smplayer rely on some of the same stuff, but vlc is completely different so that rules that out
[08:29] <maxamillion> i honestly don't know ... i've never heard of video playback issues while the 3d drivers are in place
[08:29] <jxander> i thought the codecs have something to do with it, but i don't know how to get other codecs...
[08:29] <maxamillion> jxander: have you tried other distros to see if it is just some ubuntu-base issue?
[08:30] <jxander> well... not in a long time...
[08:30] <maxamillion> i don't either, i don't do much with media on my computers and i don't run *buntu so i can't be sure
[08:30] <maxamillion> i used to dev for xubuntu ... long story, but i like the people so i stick around
[08:30] <jxander> oh... :)
[08:31] <maxamillion> i'm a fedora developer now and i'm currently studying to become an upstream kernel dev ... those will be the days :)
[08:32] <jxander> nice... you do this for a hobby, right?
[08:33] <maxamillion> yeah
[08:33] <maxamillion> i'm a college student, computer science undergrad currently, then off for my masters and hopefully for my phd ... i'd like to make a living doing all of this one day, but right now its just a pipe dream
[08:35] <jxander> :)... lol... i'm in the 3rd year at computer science and information technology...
[08:36] <maxamillion> jxander: where at?
[08:36] <maxamillion> i graduate in may with my undergrad :)
[08:38] <jxander> europe ;)... Technical University of Cluj-Napoca, Romania... it's in Transylvania :P
[08:40] <maxamillion> ah ok
[08:40] <maxamillion> i'm in the states
[08:40] <maxamillion> Texas to be exact
[08:40] <maxamillion> school called Sam Houston State University
[08:40] <maxamillion> i just don't sleep much :/
[09:33] <JHook101> Hello, Does anyone have a moment to assist me?
[13:45] <jarnos> What makes Xfce so much slower to start than LXDE in ubuntu 8.10?
[13:46] <TheSheep> jarnos: awesomness ;)
[13:49] <jarnos> TheSheep: Could you be a little bit more specific?
[13:50] <TheSheep> jarnos: how am I supposed to know what is started on *your* system?
[13:51] <TheSheep> jarnos: you have all the tools needed to check it
[13:52] <TheSheep> I wonder if bootchart would work at this stage too
[13:54] <jarnos> TheSheep: bootchart?
[13:54] <TheSheep> !info bootchart
[13:54] <TheSheep> jarnos: but simple top running on a separate console would be enough, I suppose
[13:57] <jarnos> TheSheep: Like in a console that you get by e.g. Ctrl-Alt-F1?
[13:58] <TheSheep> yeah
[15:28] <alienkid> Hi guys I need my mom's windows XP to print to my HP PSC 750 on my Ubuntu samba server
[15:28] <alienkid> when I try and set it up on windows it tells me "access denied,  unable to connect to printer"
[15:29] <alienkid> I think I have samba set up correctly aand I can print to it just fine
[15:31] <alienkid> anyone know why I am getting access denied?
[15:41] <charlie-tca> Anybody tried Xubuntu Jaunty? I seem to have lost the desktop; After the login, I get a blank
[15:41] <charlie-tca> screen.
[16:26] <Grab> hello
[16:27] <Grab> hello, does xubuntu close all running apps if cpu goes 100% ?? i was running a terminal when suddenly it disappeared??!!
[16:28] <jarnos> Grab: no
[16:29] <Grab> jarnos, what can i do to understand why the terminal window disappeared ?
[16:30] <Grab> helloooo ?
[16:30] <jarnos> Grab: Maybe it crashed.
[16:30] <Grab> yeah.. :(
[17:38] <adrift> hello all. I have a very simple question (I think).   Having inserted a new disk, nothing appears on the drive :(
[18:30] <Araneidae> The file manager sees it as empty, as does the program I'm trying to use to read it.
[18:31] <charlie-tca> try going to /media/cdrom
[18:31] <TheSheep> type 'eject' in a terminal or alt+f2 dialog
[18:32] <Odd-rationale> use a paper clip! :D
[18:33]  * TheSheep uses a paper clip on Odd-rationale
[18:33] <Odd-rationale> ouch!
[18:33] <TheSheep> Odd-rationale: I see you are writing an e-mail, would you like me to help? (yes|yes please|argh please stop it)
[18:35] <Araneidae> Alas, I've tried all of those things (including umount -l, which probably really got me into trouble)
[18:35] <Odd-rationale> Araneidae: a paper clip never fails...
[18:35] <TheSheep> make sure you power off the computer when you use it, thoug
[18:35] <Araneidae> It wouldn't open the tray (though I'd already managed to remove the disk eaarlier)
[18:35] <TheSheep> h
[18:35] <Odd-rationale> just unbend it a little and stick it in the hole.
[18:36]  * charlie-tca likes a paper clip
[18:36] <Araneidae> Ahhh... No, I'm not at the switch the machine stage off yet -- I'm trying to complete a two dvd install!
[18:36] <Araneidae> So trying the paper clip with power on probably wasn't very clever
[18:36] <Odd-rationale> i've used the paper clip even though the machine was on...
[18:36] <batcoder-7> i still think 8.10 has become more resouceful
[18:36] <Araneidae> Well, doesn't seem to have broken anything.
[18:37] <charlie-tca> Doing the paperclip with power off won´t let the drawer close when you hit the button!
[18:37] <TheSheep> Araneidae: so it won't open because there is an application using it...
[18:37] <Araneidae> I think what's happened is that `umount -l` let me remove the disk ... but now I've put a new disk in I guess the application (a wine game) that's clinging onto the old mount won't let it mount properly.
[18:38] <Araneidae> Yep, think that's the shape of things.
[18:38] <TheSheep> report a bug in the windows application XD
[18:39] <Araneidae> hahaha
[18:39] <Araneidae> I mean, there is a wine problem here, clearly
[18:39] <TheSheep> ah, so now it's problem with wine
[18:39] <Araneidae> But there's also a bit of a subtle interaction mixed in
[18:39] <Araneidae> Yeah, well, I guess wine is at the heart of the problem
[18:40] <TheSheep> I still think it's the problem with the application you are trying to run :)
[18:40] <Araneidae> Well, whinging about Windows applications is going to get me precisely nowhere!
[18:41] <TheSheep> especially here :)
[18:41] <Araneidae> heh
[18:41] <TheSheep> you might ask on #wine
[18:41] <TheSheep> maybe there is a workaround
[18:42] <batcoder-7> top is not showing anything crazy
[18:42] <batcoder-7> resource wise
[18:43] <TheSheep> batcoder-7: what about powertop?
[18:43] <Araneidae> `lsof /media/dvd` is showing steam.exe clinging desperately onto the file
[18:43] <TheSheep> aargh, kill it! with a crowbar!
[18:43] <Araneidae> Unfortunately there's nothing there, and there won't be anymore ... so I guess that's that
[18:43] <batcoder-7> TheSheep: i dont have powertop enabled
[18:43] <Araneidae> Has to be a crowbar, quite so!
[18:44]  * Araneidae is installing HL2 -- hope to meet some headcrabs
[18:45] <batcoder-7> i wonder wy my swap is being used ?
[18:46] <Araneidae> Crowbar not required: cancel => lets go nicely.
[18:46] <batcoder-7> gome system monitor is using 8 percent of my cpu
[18:46] <batcoder-7> is that thing needed?
[18:47] <batcoder-7> what exactly is gnome system monitor doing ?
[19:11] <batcoder-7> i take gnome-system0notifier is pretty much a really needed thing to have running huh ?
[19:19] <batcoder-7> what is the default theme xfce uses in xubuntu ?
[19:21] <jarnos> Anybody tried midori on 8.10? No address bar!
[19:22] <BlueLaguna> Hmm, for some reason my top xubuntu panel randomly screwed up.  The application menu is missing and my other apps on the top suddenly disappeared
[19:22] <BlueLaguna> Anyone know what causes this?  This isn't the first time this has happened
[19:28] <jarnos> BlueLaguna: Is the panel still there?
[19:29] <BlueLaguna> Yeah, the panel itself is still there.  My CPU usage randomly got high and then my application menu and all the other apps on top panel disappeared except firefox, help, and system tray
[19:30] <BlueLaguna> http://www.pastethat.com/7EEto
[19:31] <BlueLaguna> This has also happened on my Xubuntu laptop several times before.  Usually I just delete the panel folder in .config and restart, but this has gotten annoying so I'm trying to figure out what's causing this
[19:37] <AndyIB> anyone able to point me in the direction of slightly less than volatile NTFS read drivers?
[19:38] <AndyIB> as in, I'd prefer not have my laptop combust during my first attempt.
[19:40] <Odd-rationale> ntfs-3g is quite stable now...
[19:40] <Odd-rationale> !ntfs-3g
[19:43] <AndyIB> hmm
[19:43] <AndyIB> someone just told me to go with fuse
[19:43] <AndyIB> !ntfs-fuse
[19:44] <AndyIB> guess I'll go with 3g
[19:44] <AndyIB> thanks
[19:45] <Unggnu> hi all
[19:45] <Unggnu> Does Xubuntu have Synaptic installed per default?
[19:48] <charlie-tca> Unggnu: yes
[19:48] <charlie-tca> if you mean synaptic package manager
[19:48] <Unggnu> yes, thx
[20:23] <retour-away> Easiest way to disable user from changing Xfce setup? Mostly not to change/install wallpaper?
[20:25] <batcoder-7> that default pdf viewer that comes with xubuntu
[20:26] <batcoder-7> that thing for 1 mb pdf file uses 60 mb of ram
[20:26] <retour-away> what about xpdf?
[20:27] <retour-away> but for advanced PDF formats Adobe is still best
[21:37] <TUW> I'm using compiz on xubuntu (installed xfce from ubutnu) and compiz can't or rather, won't let me use more than two workspaces
[21:37] <TUW> when I use xfwm4 I can use as many workspaces as I want
[21:37] <TUW> google's failed me, which is why I'm here
[21:38] <TUW> so humour me, or I'll have to go back to gnome. Compiz without the cube isn't fun at all :|
[21:58] <Odd-rationale> TUW: install compizconfig-settings-manager, open it (applications --> Settings), then go to General Options --> desktop size
[21:58] <Odd-rationale> TUW: set horizontal to 4, vertical to 1, and no. of desktop to 1.
[22:00] <Odd-rationale> (we need a factiod for that...)
[22:10] <cawvavino> hello
[22:10] <cawvavino> I need some help removing a potential virus from my xubuntu system
[22:11] <vinnl> A virus?
[22:12] <DaDa|Urka> lol
[22:12] <DaDa|Urka> tell me more! :D
[22:12] <cawvavino> I think so, or something went wrong with my system,(bear in mind I am kinda new to linux) All my windows keep going to sleep(turning gray and not allowing me to do anything, and my browser keeps telling me that that i might need virus software but i know that it is a trap.
[22:12] <vinnl> cawvavino, do you have Compiz installed?
[22:12]  * CppIsWeird facepalms
[22:12] <cawvavino> I don't know, let me check
[22:13] <vinnl> Rest assured that it's not a virus though
[22:13] <cawvavino> yes i do have compiz
[22:14] <vinnl> Then that's the reason it's turning gray: when a window's busy and doesn't allow for interaction, Compiz does that
[22:14] <vinnl> Without Compiz, you wouldn't see anything strange but you still wouldn't be able to interact with the window
[22:14] <cawvavino> Oh, well that makes sense.
[22:15] <cawvavino> then maybe i need to clean some stuff up, cuz it didn't really do it that often until today
[22:15] <vinnl> Hmm, I guess
[22:16] <cawvavino> well thanks for the info guys
[22:16] <vinnl> np


[07:34] <mup> Bug #2025225 opened: package maas-dns 1.9.5+bzr4599-0ubuntu1~14.04.3 failed to install/upgrade: サブプロセス インストール済みの post-installation スクリプト
[07:34] <mup> はエラー終了ステータス 1 を返しました <apport-package> <i386> <trusty> <maas (Ubuntu):New> <https://launchpad.net/bugs/2025225>
[10:05] <mup> Bug #2025244 opened: Incorrect handling of virsh `domblkinfo` output <MAAS:Triaged by igor-brovtsin> <https://launchpad.net/bugs/2025244>
[10:29] <mup> Bug #2025247 opened: Failing to deploy Lunar (23.04) and Mantic (23.10) <MAAS:New> <https://launchpad.net/bugs/2025247>
[17:43] <inscw00table> Anyone know a way to use the API to clean/re-deploy an existing allocated MAAS resource without releasing it and re-allocating it?
[17:43] <inscw00table> Or alternatively, a way a non-admin user could release an allocated resource and then deploy it without the potential for some other user to allocate it in the interim?


[09:29]  * ZAXSES wonders where is every one
[09:45]  * ZAXSES now goan go out with his family fro some urgent work


[00:46] <mgagne> for what it's worth: bz #1168444 => https://bugzilla.redhat.com/show_bug.cgi?id=1168444
[08:56] <kodokuu> hi, Is it possible to execute local script with cloud-init ?


[03:54] <lamont> very unpromising
[03:54] <lamont> more fans good.  less fans bad.
[03:54] <lamont> maybe I put too many disks in the machine. :-(
[04:14] <lamont> jbailey: perl broke things because I'd held it.  cleaning up that mess
[04:25] <lamont> Total 3660 package(s) in state Installed.
[04:25] <lamont> Total 3628 package(s) in state Needs-Build.
[04:25] <lamont> more packages installed than needs-build.  woot!
[04:26] <lamont> (102 building (mostly failures), and 247 depwait, 54 failed)
[04:38] <lamont> du -sh pool/*
[04:38] <lamont> 4.7G    pool/main
[04:38] <lamont> 969M    pool/multiverse
[04:38] <lamont> 104K    pool/restricted
[04:38] <lamont> 9.5G    pool/universe


[20:00] <ClassBot> Logs for this session will be available at http://irclogs.ubuntu.com/2010/10/09/%23ubuntu-classroom.html following the conclusion of the session.
[20:01] <pedro3005> Hello folks
[20:01] <pedro3005> Anybody out there?
[20:01] <pedro3005> erm
[20:01] <pedro3005> my fail
[20:02] <pedro3005> ok, I'm in -chat now
[20:02] <pedro3005> Alright, let's begin
[20:03] <pedro3005> Last class we were talking about functions and list comprehension
[20:03] <pedro3005> now these are difficult subjects
[20:03] <pedro3005> I gave some examples but I realized they might've been unclear
[20:04] <pedro3005> Functions are used a lot in programming
[20:04] <pedro3005> List comprehension isn't used as much, but it still is used not rarely
[20:05] <pedro3005> The purpose of functions is simple
[20:05] <pedro3005> When we are doing one procedure over an over, we can direct it to a function to avoid code repetition
[20:06] <pedro3005> For instance, suppose we are coding a little greeting program, which talks to the user
[20:07] <pedro3005> the user gave you his name, something like "Mr. H" or "Mrs. K"
[20:07] <pedro3005> Now, suppose you have many lines which are oriented by gender
[20:08] <pedro3005> before each of these lines, you are doing:
[20:08] <pedro3005> if name.startswith("Mr."):
[20:08] <pedro3005> bla
[20:08] <pedro3005> To avoid all this code being repeated over and over, you might use... functions!
[20:09] <pedro3005> as we learned last class, you can define a function with the keyword def
[20:09] <pedro3005> All functions return a value
[20:09] <pedro3005> but some functions return Null
[20:10] <pedro3005> Functions may or may not receive parameters, which are kind of like informations about the things it's supposed to do
[20:10] <pedro3005> In our case, it makes sense that our function receives as a parameter the name of the person
[20:11] <pedro3005> So it can determine the person's gender
[20:11] <pedro3005> Enough talk, let's get dirty
[20:12] <pedro3005> >>> def gender(name):
[20:13] <pedro3005> ...     if name.startswith("Mr."):
[20:13] <pedro3005> ...             return "male"
[20:13] <pedro3005> ...     elif name.startswith("Mrs."):
[20:13] <pedro3005> ...             return "female"
[20:13] <pedro3005> ...
[20:13] <pedro3005> you can observe it returning
[20:13] <pedro3005> >>> gender("Mr. Rob")
[20:13] <pedro3005> 'male'
[20:14] <pedro3005> Now, let me share a dirty little secret with you
[20:15] <pedro3005> In this function, we're just assuming the parameter <name> is a string
[20:15] <pedro3005> what happens if we call it with an integer, for instance?
[20:15] <pedro3005> >>> gender(2)
[20:15] <pedro3005> Traceback (most recent call last):
[20:15] <pedro3005>   File "<stdin>", line 1, in <module>
[20:15] <pedro3005>   File "<stdin>", line 2, in gender
[20:15] <pedro3005> AttributeError: 'int' object has no attribute 'startswith'
[20:16] <pedro3005> But, worry not, my lad
[20:17] <pedro3005> You, sir, are the programmer
[20:17] <pedro3005> You know better than to pass an int into your function expecting a string
[20:17] <pedro3005> But you must be careful with user values
[20:17] <pedro3005> If the user typed a value, you should NEVER assume it is what it's meant to be
[20:17] <pedro3005> We've discussed that previously, I just wanted to stress it again
[20:19] <pedro3005> We can also have functions with no parameters
[20:20] <pedro3005> As an example, we have the print_help function
[20:20] <pedro3005> Our program could have a help message
[20:20] <pedro3005> and we want to create a function to display it
[20:20] <pedro3005> But I don't really have any parameters, I just want the damn thing to print it
[20:20] <pedro3005> >>> def print_help():
[20:20] <pedro3005> ...     print "rtfm"
[20:22] <pedro3005> You may ask: what does this function return?
[20:22] <pedro3005> I didn't tell it to return anything
[20:22] <pedro3005> Well, we can tru to assign it to a variable
[20:23] <pedro3005> try*
[20:23] <pedro3005> >>> a = print_help()
[20:23] <pedro3005> rtfm
[20:23] <pedro3005> >>> print a
[20:23] <pedro3005> None
[20:23] <pedro3005> You can note that the function returns None
[20:24] <ClassBot> TrueCryer45 asked: None as value? not Null?
[20:24] <pedro3005> Yeah, I got the name wrong on the first time
[20:24] <pedro3005> :P
[20:24] <pedro3005> It's None
[20:25] <ClassBot> matematikaadit asked: none is none
[20:25] <pedro3005> >>> None is None
[20:25] <pedro3005> True
[20:25] <pedro3005> does that answer your question?
[20:26] <pedro3005> We also talked about the scope of functions
[20:26] <pedro3005> A function has its own scope of variables
[20:27] <pedro3005> for instance, if you declare a variable inside a function, it doesn't exist outside that function
[20:27] <pedro3005> if you declare variables outside the function, you can access the variable from within the function, but you cannot change it (unless if you call it global)
[20:27] <pedro3005> let's go over that
[20:28] <pedro3005> >>> def a():
[20:28] <pedro3005> ...     n = 1
[20:28] <pedro3005> ...
[20:28] <pedro3005> >>> a()
[20:28] <pedro3005> >>> n
[20:28] <pedro3005> Traceback (most recent call last):
[20:28] <pedro3005>   File "<stdin>", line 1, in <module>
[20:28] <pedro3005> NameError: name 'n' is not defined
[20:28] <pedro3005> Here, we can clearly see the effects of this
[20:28] <pedro3005> n is not defined outside the function
[20:29] <pedro3005> >>> n = 1
[20:29] <pedro3005> >>> def a():
[20:29] <pedro3005> ...     print n
[20:29] <pedro3005> ...
[20:29] <pedro3005> >>> a()
[20:29] <pedro3005> 1
[20:29] <pedro3005> here, we show that you can access the variable even though it wasn't defined in that very function
[20:29] <pedro3005> >>> def a():
[20:29] <pedro3005> ...     n = 2
[20:29] <pedro3005> ...
[20:29] <pedro3005> >>> a()
[20:29] <pedro3005> >>> n
[20:29] <pedro3005> 1
[20:30] <pedro3005> But here, you see that you cannot change n
[20:30] <pedro3005> When you try to define a new value to n, you are actually creating a new, different n
[20:30] <pedro3005> this n exists only inside a()
[20:30] <pedro3005> when you get out of that function
[20:30] <pedro3005> there is another n
[20:30] <pedro3005> which is still 1
[20:30] <pedro3005> it was not changed
[20:31] <pedro3005> We can use the global keyword to identify it as a global variable
[20:31] <pedro3005> >>> def a():
[20:31] <pedro3005> ...     global n
[20:31] <pedro3005> ...     n = 2
[20:31] <pedro3005> ...
[20:31] <pedro3005> >>> n = 1
[20:31] <pedro3005> >>> a()
[20:31] <pedro3005> >>> n
[20:31] <pedro3005> 2
[20:31] <pedro3005> Are we clear on this, everyone?
[20:34] <pedro3005> Good
[20:34] <pedro3005> Let's introduce a new subject then
[20:35] <pedro3005> Named parameters
[20:35] <pedro3005> this is useful for holding default values
[20:36] <pedro3005> for instance, suppose you have a help function
[20:37] <pedro3005> if you call that with a certain command, it displays help about the command
[20:37] <pedro3005> if you call it by itself, it displays a general help message
[20:37] <pedro3005> we can accomplish this with named parameters
[20:38] <pedro3005> >>> def p_help(command=None):
[20:38] <pedro3005> ...     if command == None:
[20:38] <pedro3005> ...             print "general help message"
[20:38] <pedro3005> ...     else:
[20:38] <pedro3005> ...             print "specific help about %s" % command
[20:38] <pedro3005> ...
[20:38] <pedro3005> >>> p_help("ls")
[20:38] <pedro3005> specific help about ls
[20:38] <pedro3005> >>> p_help()
[20:38] <pedro3005> general help message
[20:39] <pedro3005> if you don't pass anything, command gets the default value of None
[20:42] <pedro3005> >>> def p_help(command=None, detailed=None):
[20:42] <pedro3005> ...     if command == None:
[20:42] <pedro3005> ...             if detailed:
[20:42] <pedro3005> ...                     print "detailed general help message"
[20:42] <pedro3005> ...             else:
[20:42] <pedro3005> ...                     print "general help message"
[20:42] <pedro3005> ...     else:
[20:42] <pedro3005> ...             if detailed:
[20:42] <pedro3005> ...                     print "detailed help message about %s" % command
[20:42] <pedro3005> ...             else:
[20:42] <pedro3005> ...                     print "help message about %s" % command
[20:42] <pedro3005> ...
[20:43] <pedro3005> >>> p_help(detailed=True)
[20:43] <pedro3005> detailed general help message
[20:44] <pedro3005> So as you see in this last function, you can use named parameters to only pass a certain value to the function
[20:44] <pedro3005> Any questions?
[20:45] <ClassBot> OttoBusDriver asked: Can you call functions with named parameters with positional paramters? EG p_help('command', True)
[20:45] <pedro3005> Yes
[20:45] <pedro3005> >>> p_help("ls", True)
[20:45] <pedro3005> detailed help message about ls
[20:46] <ClassBot> OttoBusDriver asked: And can you define a function with positional and named parameters?
[20:46] <pedro3005> didn't we just do that?
[20:46] <pedro3005> def p_help(command=None, detailed=None):
[20:48] <pedro3005> Good
[20:48] <pedro3005> It seems we are all clear on this subject
[20:48] <pedro3005> Let me see if there's anything more of functions I should go through today
[20:50] <pedro3005> Oh yes
[20:50] <pedro3005> this looks hard but it is actually quite easy
[20:50] <pedro3005> Python has a shortcut for easy, one-expression functions
[20:50] <pedro3005> if you have a function that just grabs a value x and adds 2, for instance
[20:50] <pedro3005> or grabs the value x and calls some_random_function(x)
[20:50] <pedro3005> you can use lambda expressions
[20:51] <pedro3005> >>> a = lambda x: x + 2
[20:51] <pedro3005> >>> a(40)
[20:51] <pedro3005> 42
[20:52] <pedro3005> lambda of x is x + 2
[20:52] <pedro3005> the syntax is a bit different from the def keyword
[20:52] <pedro3005> you must assign it to a variable, as you see
[20:52] <pedro3005> the x is actually the parameter
[20:52] <pedro3005> not the function's name
[20:52] <pedro3005> lambda expressions can take in multiple parameters
[20:53] <pedro3005> >>> a = lambda x, y: x + y
[20:53] <pedro3005> >>> a(2, 3)
[20:53] <pedro3005> 5
[20:53] <pedro3005> >>> a = lambda x=1, y=2: x + y
[20:53] <pedro3005> >>> a()
[20:53] <pedro3005> 3
[20:53] <pedro3005> >>> a(2)
[20:53] <pedro3005> 4
[20:53] <pedro3005> And you have named parameters with lambdas ^
[20:54] <pedro3005> Lambda comes from functional programming, which (obviously) bases itself heavily on functions
[20:54] <pedro3005> so it was needed to create a shorter path to small functions
[20:54] <pedro3005> thus lambda
[20:55] <pedro3005> It's not used much outside of FP (functional programming), but I wanted to go over it because FP knowledge is important to any decent programmer
[20:55] <pedro3005> Any questions?
[20:57] <pedro3005> Alright
[20:57] <pedro3005> this is it for functions
[20:57] <pedro3005> I mean, there is more to it, but I think I have explained most of it
[20:58] <pedro3005> you should play with functions, use them in your programs, get used to them
[20:58] <pedro3005> they are really important in programming
[20:58] <pedro3005> Also reference to last class where I explained functions as well
[20:58] <pedro3005> (to find out that a function can receive another function as argument)
[20:59] <pedro3005> But let us continue on exploring data structures
[20:59] <pedro3005> We've been talking about lists
[20:59] <pedro3005> they are ways of sequencing things
[20:59] <pedro3005> you can create a list for instace
[20:59] <pedro3005> instance*
[21:00] <pedro3005> numbers = [1, 2, 3, 4, 5]
[21:00] <pedro3005> And we went over various things you can do with lists
[21:00] <pedro3005> grab elements
[21:00] <pedro3005> numbers[0] being the first
[21:00] <pedro3005> put in new elements, with numbers.append(6) or numbers.insert(0, 0)
[21:00] <pedro3005> (insert 0 at the position 0)
[21:01] <pedro3005> http://docs.python.org/tutorial/datastructures.html#more-on-lists
[21:01] <pedro3005> those are all the methods you have with lists
[21:01] <pedro3005> I want to go over a new type today
[21:01] <pedro3005> it is called a dict
[21:01] <pedro3005> short for dictionary
[21:02] <pedro3005> let's think about real dicitonaries
[21:02] <pedro3005> they have a word and a definition
[21:02] <pedro3005> so they are kind of like mapping tools
[21:02] <pedro3005> they link one thing to another
[21:02] <pedro3005> in our case, a word to a definition
[21:02] <pedro3005> In python, we have that
[21:03] <pedro3005> we have dictionaries that map a string to an object
[21:03] <pedro3005> but get this
[21:03] <pedro3005> everything is an object
[21:03] <pedro3005> a fuction is an object, a list is an object, they're all objects
[21:03] <pedro3005> so a dict maps a string to pretty much anything
[21:03] <pedro3005> let's go over the syntax
[21:04] <pedro3005> imagine you have three users, Rob, Joe and Max
[21:04] <pedro3005> and they have user ids of 1, 2 and 3 respectively
[21:04] <pedro3005> let's create a dictionary which maps user to user id
[21:05] <pedro3005> users = {"Rob":1, "Joe":2, "Max":3}
[21:05] <pedro3005> Notice we use {}
[21:05] <pedro3005> We can access an element of this dict by calling: users["Rob"]
[21:05] <pedro3005> that will return 1
[21:06] <pedro3005> because Rob is mapped to 1
[21:06] <pedro3005> >>> users["Rob"]
[21:06] <pedro3005> 1
[21:07] <pedro3005> Questions?
[21:07] <pedro3005> Good
[21:08] <pedro3005> In Python terms, "Rob", "Joe" and "Max" are keys of the dict users
[21:08] <pedro3005> And how do you get all the keys in users?
[21:08] <pedro3005> >>> users.keys()
[21:08] <pedro3005> ['Max', 'Rob', 'Joe']
[21:09] <pedro3005> But hey, wait a minute!
[21:09] <pedro3005> I put in Rob _first_
[21:09] <pedro3005> Why did I get Rob in second?
[21:09] <pedro3005> What the hell is python thinking?!
[21:09] <pedro3005> It's simple
[21:10] <pedro3005> they're random
[21:10] <pedro3005> You see, Python doesn't guarantee that your dict will be in the order you left it
[21:12] <pedro3005> The function of dicts is to relate string to anything
[21:12] <pedro3005> and that function is kept
[21:12] <pedro3005> I think python 3 will have ordered dicts
[21:12] <pedro3005> or was that 2.7?
[21:12] <pedro3005> not sure
[21:12] <ClassBot> matematikaadit asked: is it possible a key related to nothing?
[21:13] <pedro3005> well, sure
[21:13] <pedro3005> but in python we call nothing None :)
[21:13] <pedro3005> >>> a = {"a": None}
[21:13] <pedro3005> >>> a["a"]
[21:14] <pedro3005> Questions?
[21:14] <pedro3005> Good
[21:16] <ClassBot> matematikaadit asked: users.keys() is for calling the key, how about the value?
[21:16] <pedro3005> As TrueCryer45 lovely pointed out, users.values()
[21:16] <pedro3005> You can use the method .has_key() to check if a dict has a certain key
[21:16] <pedro3005> >>> users.has_key("Rob")
[21:16] <pedro3005> True
[21:17] <pedro3005> example:
[21:17] <pedro3005> >>> if users.has_key("Rob"):
[21:17] <pedro3005> ...     print "Rob is here. His ID is %s" % users["Rob"]
[21:17] <pedro3005> ...
[21:17] <pedro3005> Rob is here. His ID is 1
[21:18] <pedro3005> Here we are mapping a string ("Rob", "Joe", whatever) to an int (1, 2, 3 ..)
[21:18] <pedro3005> But who's to say we can't map strings to lists, for instance?
[21:18] <pedro3005> We can!
[21:19] <pedro3005> >>> boxes = {"box1": ["a key", "an old cd"], "box2": ["three coins", "a phone"]}
[21:19] <pedro3005> >>> boxes["box1"][0]
[21:19] <pedro3005> 'a key'
[21:21] <pedro3005> Hell, we can map strings to functions, other dicts, other dicts that have dicts within them, other dicts with dicts with dicts within..
[21:21] <pedro3005> in short, we can map strings to practically anything
[21:21] <pedro3005> with dictionaries
[21:22] <pedro3005> What if we wanted to print each user's name and id?
[21:22] <pedro3005> We need to iterate over this dict
[21:22] <pedro3005> we would use a for loop (I hope you all remember the for loop class)
[21:23] <pedro3005> >>> for user, id in users.iteritems():
[21:23] <pedro3005> ...     print user, id
[21:23] <pedro3005> ...
[21:23] <pedro3005> Max 3
[21:23] <pedro3005> Rob 1
[21:23] <pedro3005> Joe 2
[21:23] <pedro3005> now, let's analyze that
[21:24] <pedro3005> do you guys remember tuples? they we're like (1, 2)
[21:24] <pedro3005> sort of like lists
[21:24] <pedro3005> I taught that we could unpack these tuples into variables
[21:24] <pedro3005> x, y = (1, 2)
[21:24] <pedro3005> x = 1 and y = 2
[21:24] <pedro3005> this is exactly what happens in the for loop
[21:25] <pedro3005> the function returns something like ('Max', 3)
[21:25] <pedro3005> and it's unpacked into user and in
[21:25] <pedro3005> id*
[21:25] <pedro3005> then we print these
[21:25] <pedro3005> Questions?
[21:27] <pedro3005> Ok, good
[21:28] <pedro3005> Now
[21:28] <pedro3005> Let's turn our attentions to something more tangible
[21:28] <pedro3005> Hang in there guys
[21:28] <pedro3005> we're nearly getting over the basic python
[21:29] <pedro3005> Programs usually have a functionality of reading and writing to files
[21:29] <pedro3005> so let's learn how to do that in python
[21:29] <pedro3005> All this time, you've been reading and writing to files and you didn't know it
[21:30] <pedro3005> print "bla"
[21:30] <pedro3005> this writes "bla" into the file stdout
[21:30] <pedro3005> which in our case is the terminal
[21:30] <pedro3005> when you call raw_input() you're reading from stdin
[21:30] <pedro3005> how cool is that?
[21:30] <pedro3005> When we change to other files, it's not much different
[21:31] <pedro3005> We use the open() function to open a file
[21:32] <pedro3005> We do it like this:
[21:32] <pedro3005> f = open("some_text_file")
[21:32] <pedro3005> notice that we didn't define a mode here
[21:32] <pedro3005> by default, it is in reading mode
[21:32] <pedro3005> that is equivalent to
[21:33] <pedro3005> f = open("some_text_file", "r")
[21:33] <pedro3005> now you can do things with f
[21:33] <pedro3005> for instance, let's read our file
[21:33] <pedro3005> f.read()
[21:34] <pedro3005> this returns a string with the entire file
[21:34] <pedro3005> it will not remove newlines ("\n") etc
[21:34] <pedro3005> Let me quote the python docs
[21:34] <pedro3005> To read a file’s contents, call f.read(size), which reads some quantity of data and returns it as a string. size is an optional numeric argument. When size is omitted or negative, the entire contents of the file will be read and returned; it’s your problem if the file is twice as large as your machine’s memory. Otherwise, at most size bytes are read and returned. If the end of the file has been reached, f.read() will return an emp
[21:34] <pedro3005> ty string ("").
[21:37] <pedro3005> You may call f.readline() to read just one line
[21:37] <pedro3005> and you can iterate over the file
[21:38] <pedro3005> >>> for line in f:
[21:38] <pedro3005> ...     print line
[21:38] <pedro3005> ...
[21:38] <pedro3005> this
[21:38] <pedro3005> is
[21:38] <pedro3005> a
[21:38] <pedro3005> file
[21:39] <pedro3005> iterating over f will give you line by line
[21:39] <pedro3005> Questions?
[21:41] <pedro3005> Good
[21:41] <pedro3005> Writing to files is just as easy
[21:41] <pedro3005> Open it in "w" mode
[21:41] <pedro3005> f = open("some_file", "w")
[21:41] <pedro3005> and then call write()
[21:41] <pedro3005> f.write("blablabla")
[21:42] <pedro3005> when you're done, don't forget
[21:42] <pedro3005> f.close()
[21:42] <pedro3005> remember that you must call write with a string
[21:42] <pedro3005> so imagine you have
[21:42] <pedro3005> answer = 42
[21:43] <pedro3005> you can't do
[21:43] <pedro3005> f.write(answer)
[21:43] <pedro3005> because answer has type int
[21:43] <pedro3005> convert it to string
[21:43] <pedro3005> f.write(str(answer))
[21:44] <pedro3005> There are more methods to files
[21:44] <pedro3005> these are the most used
[21:44] <pedro3005> http://docs.python.org/tutorial/inputoutput.html#methods-of-file-objects
[21:44] <pedro3005> I recommend you read this
[21:46] <pedro3005> Given this, I think now you are experienced enough to try your hands at a challenge
[21:46] <pedro3005> http://ubuntuforums.org/showthread.php?t=884394
[21:48] <pedro3005> OH, I forgot to mention
[21:48] <pedro3005> files also havc the append mode
[21:48] <pedro3005> which is similar to write
[21:48] <pedro3005> but you begin writing where the file stop
[21:48] <pedro3005> whereas the file is cleared if you open it in write mode
[21:48] <pedro3005> f = open("bla", "w")
[21:48] <pedro3005> and f = open("bla", "a")
[21:48] <pedro3005> Is that clear?
[21:50] <ClassBot> There are 10 minutes remaining in the current session.
[21:55] <pedro3005> So just for recalling
[21:55] <ClassBot> There are 5 minutes remaining in the current session.
[21:55] <pedro3005> so far we went over variables, user input, outputting (print), types, type checking & conversion, boolean expressions, if blocks, for and while loops, functions, lists and dicts, list comprehension, files
[21:56] <pedro3005> So it'd be good if you all were sharp on these subjects
[21:58] <pedro3005> I think in the next class I will present a program, so we can study how to actually develop full stuff
[21:58] <pedro3005> But anyway
[21:58] <pedro3005> Time for us to call it a day
[21:58] <pedro3005> I hope this was of some use
[22:00] <ClassBot> Logs for this session will be available at http://irclogs.ubuntu.com/2010/10/09/%23ubuntu-classroom.html


[01:57] <nhaines> Meeting time soon!
[02:03] <nhaines> #startmeeting
[02:03] <darthrobot> Meeting started Mon Sep 18 02:03:18 2017 UTC.  The chair is nhaines. Information about MeetBot at https://wiki.ubuntu.com/meetingology.
[02:03] <darthrobot> Available commands: #accept #accepted #action #agree #agreed #chair #commands #endmeeting #endvote #halp #help #idea #info #link #lurk #meetingname #meetingtopic #nick #progress #rejected #replay #restrictlogs #save #startmeeting #subtopic #topic #unchair #undo #unlurk #vote #voters #votesrequired
[02:03] <nhaines> Hi everyone!
[02:03] <nhaines> And welcome to the Ubuntu California meeting for September 17th.
[02:03] <nhaines> Tonight's agenda is available here: https://wiki.ubuntu.com/CaliforniaTeam/Meetings/17September17
[02:03] <darthrobot> Title: [CaliforniaTeam/Meetings/17September17 - Ubuntu Wiki]
[02:04] <nhaines> Is anyone present?
[02:08] <nhaines> Okay, since there is no agenda and no one is present, this meeting is canceled.
[02:08] <nhaines> Have a good week, everyone!  :)
[02:08] <nhaines> #endmeeting
[02:08] <darthrobot> Meeting ended Mon Sep 18 02:08:22 2017 UTC.
[02:08] <darthrobot> Minutes:        http://ihas.5cat.com/~darthrobot/ubuntu-us-ca/2017/ubuntu-us-ca.2017-09-18-02.03.moin.txt
[02:20] <nhaines> pleia2: are you going to the Ubuntu rally in New York next week?
[02:21] <pleia2> Ubuntu rally?
[02:21] <pleia2> but no
[02:21] <nhaines> Aw.
[02:21] <pleia2> (and sorry re: meeting, on my way out the door)
[02:22] <nhaines> Yeah, it's a week-long hackathon.  I guess they're doing software and snappy sorts of things?
[02:22] <pleia2> ah, clearly I'm quite far out of the loop :)
[02:22] <nhaines> They asked me to attend to work on community things instead, so I don't think I'll spend too much time on software stuff, but I *will* spend all the time eating the catering.  :)
[02:22] <pleia2> no travel for the next two weeks for me though, rosh hashanah and yom kippur
[02:22] <nhaines> I'll send an email to the ML a bit later.
[02:23]  * pleia2 nods
[02:23] <nhaines> https://insights.ubuntu.com/2017/09/01/ubuntu-rally-in-nyc/
[02:23] <darthrobot> Title: [Ubuntu Rally in NYC | Ubuntu Insights]
[02:23] <pleia2> that's cool, have a nice time :)
[02:23] <nhaines> Thanks.  :)


[02:55] -GitHub[m]:#mir-server- **[MirServer/mir]** RAOF opened [pull request #2721](https://github.com/MirServer/mir/pull/2721): Wayland generator: Use core interfaces from libwayland-server... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/06cd0366563ed91ec4fed5cf14f210679b757e9d>)
[05:54] -GitHub[m]:#mir-server- **[MirServer/mir]** RAOF removed RAOF review needed from [issue #620](https://github.com/MirServer/mir/issues/620): Mir-kiosk Numlock LED not change
[05:54] -GitHub[m]:#mir-server- **[MirServer/mir]** RAOF unassigned RAOF from [issue #620](https://github.com/MirServer/mir/issues/620): Mir-kiosk Numlock LED not change
[05:56] -GitHub[m]:#mir-server- **[MirServer/mir]** RAOF removed RAOF review needed from [issue #1267](https://github.com/MirServer/mir/issues/1267): Investigate claiming to be Compiz
[06:00] -GitHub[m]:#mir-server- **[MirServer/mir]** RAOF removed RAOF review needed from [issue #829](https://github.com/MirServer/mir/issues/829): Mir doesn't use libwayland-server's `wl_*_interface` definition
[08:34] <alan_g[m]> egmde-confined-desktop has 9 users (including me on several test devices) and mircade 7 users (ditto). I don't think either serves a purpose anymore. Shall I set about removing all trace of them? Or are they potentially still useful for testing automation of USN handling?
[15:54] -GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** graysonguarino opened [issue #99](https://github.com/MirServer/ubuntu-frame/issues/99): Throw mir::AbnormalExit if bad configuration options given... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/c13a5418b88e9bc840e978470af2ca590d1e473f>)
[16:08] -GitHub[m]:#mir-server- **[MirServer/mir]** wmww opened [pull request #2722](https://github.com/MirServer/mir/pull/2722): Move XKB modifier tracking from Wayland frontend to KeyMapper... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/220173c03484e2ec58c615f764eb8b36add85134>)
[17:09] -GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** graysonguarino closed [pull request #97](https://github.com/MirServer/ubuntu-frame/pull/97): Fix crash from directory passed as diagnostic file
[17:33] -GitHub[m]:#mir-server- **[MirServer/ubuntu-frame]** graysonguarino opened [pull request #100](https://github.com/MirServer/ubuntu-frame/pull/100): Separate paths for relative and absolute diagnostic path
[17:33] -GitHub[m]:#mir-server-
[17:33] -GitHub[m]:#mir-server- > Fixes both #93 and #94 by clearly separating the codepaths for absolute and relative path checks on `--diagnostic-path`. The absolute code path is triggered if the path starts with a `/`. Otherwise, it assumes a relative path was provided.


[22:01] <m4v> !log
[22:02] <m4v> somebody should probably update that since locobots are to be phased out.
[22:03] <Pici> m4v: Where are the older logs right now?
[22:04] <m4v> Pici: ok, point taken.
[22:22] <lubotu3`> In #ubuntu-gr, alkisg said: !sch-scripts is http://wiki.ubuntu-gr.org/sch-scripts
[22:34] <valix> hi, have been approved as an Ubuntu member today, for the Cloaks have to ask here?
[22:36] <valix> This is my launchpad page https://launchpad.net/~valix
[22:50] <IdleOne> jussi topyli tsimpson elky ^^
[22:57] <topyli> valix: great
[22:58] <valix> topyli, thanks
[22:58] <topyli> staff around? could we have an ubuntu/member cloak for valix here please?
[22:59] <topyli> tomaw seems awake, let's mention tomaw :)


[03:09] <ebattleon> Hi, I have been trying to register for the mate forums for past week and the confirmation email never gets sent to my email acc. If this not right place for this I apologize but thanks in advance if you sort this out.
[06:39] <mate|379> can somebody help me get steam working on ubuntu mate
[06:40] <mate|379> I tried install it in the made terminal and changed my graphics driver to Nvidia
[06:40] <diogenes_> mate|379, and?
[06:40] <mate|379> and when I run it as administrator the program dosent start
[06:41] <diogenes_> mate|379, what do you mean as administrator?
[06:41] <mate|379> right click the steam file and choose the option run as administrator
[06:42] <diogenes_> are you on windows? i never seen such a thing on linux
[06:42] <mate|379> all I see when I do is a small black window in the left corner of the screen which appears and quickly dissaperas
[06:43] <mate|379> no I am on Ubuntu mate
[06:43] <diogenes_> mate|379, open a terminal
[06:43] <mate|379> I want steam so I can run hitman on linux
[06:43] <mate|379> temrinal open
[06:43] <mate|379> terminal
[06:44] <diogenes_> type in steam and hit enter
[06:45] <mate|379> done, it shares a line 444: no match: ssfn* response
[06:45] <mate|379> Steam runtime isenabled automattically
[06:45] <diogenes_> so did it open or what?>
[06:45] <mate|379> and it installed a breakpad for the steam exception handler
[06:45] <mate|379> no it did not
[06:47] <mate|379> symbol lookup error: /usr/lib/i386-linux-gnu/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
[06:47] <diogenes_> mate|379, run this: sudo aptitude purge steam steam:i386
[06:47] <mate|379> command not found
[06:48] <diogenes_> run: sudo apt purge steam steam:i386
[06:49] <mate|379> this was working
[06:49] <diogenes_> is it done?
[06:49] <mate|379> yes it told me some files had to be removed manually though
[06:50] <mate|379> but it installed alot of files
[06:50] <diogenes_> run: sudo apt install steam-launcher libatk-bridge2.0-0
[06:51] <mate|379> The following packages were automatically installed and are no longer required:
[06:51] <mate|379>   libgl1-mesa-glx:i386 libxinerama1:i386 libxss1:i386
[06:52] <mate|379> sudo apt autoremove
[06:52] <diogenes_> just accept and hit y
[06:52] <mate|379> it accepted itself
[06:52] <diogenes_> is it installing?
[06:52] <mate|379> yes it installed something
[06:53] <diogenes_> is it done?
[06:53] <mate|379> yes
[06:53] <diogenes_> now type in steam and hit enter
[06:54] <mate|379> symbol lookup error: /usr/lib/i386-linux-gnu/libxcb-dri3.so.0: undefined symbol: xcb_send_request_with_fds
[06:54] <mate|379> same error persist
[06:54] <mate|379> s
[06:54] <mate|379> Do I need windows installed secondarily for it to work properly?
[06:56] <mate|379> maybe i need some drivers for my graphics card
[06:56] <mate|379> or different ones
[06:58] <diogenes_> mate|379, unfortunately i need to leave now, i hope someone will try to help you here but also you can ask in /j # steam
[06:59] <mate|379> thanks
[07:43] <adry> hello?
[07:43] <adry> soy nuevo en esto
[07:44] <sixwheeledbeast> !es
[07:44] <sixwheeledbeast> !ask
[07:44] <adry> vale gracias
[14:11] <greenmanspirit> Good day, I am trying to find a way to trigger the HiDPI settings in mate-tweak when my thunderbolt dock is plugged in and pulled out. I don't see a way to trigger the change from the command line using `mate-tweak -whatever` and I also searched the source and couldn't see how handles the scaling changes to try and add a command line flag. Any guidance will be appreciated. Thank you!
[14:23] <vkareh> greenmanspirit: mate-tweak is mostly just a front for gsettings. Try this from the command line: gsettings set org.mate.interface window-scaling-factor 2
[14:23] <vkareh> (2 is for HiDPI, 1 for regular, 0 for auto-detect)
[14:24] <greenmanspirit> Thank you vkareh, I was thinking that but didn't see gsettings in the source. I am guessing it is in one of the imports.
[17:22] <adry> hello
[17:24] <adry> I would like to know how to download Google Chrome
[17:24] <adry> please
[17:25] <diogenes_> adry, here: https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
[17:26] <vkareh> adry: have you tried Chromium? It's the open source base of Chrome, and available in the ubuntu repositories
[17:29] <adry> thank you diogenes
[17:29] <adry> vkareh I think we already do it
[17:30] <adry> thank you
[18:31] <adry> can someone tell me how to install youtube / instagram or whatsapp please.
[18:31] <adry> I'm new to this operating system and I still do not control it well
[18:39] <vkareh> adry: youtube/instagram are not apps, they are websites. Use Firefox/Chromium to go to their respective urls. For whatsapp, there are some in the snap store: https://snapcraft.io/whatsdesk and https://snapcraft.io/ubuntu-social-kit - never used any of those (I don't use whatsapp), so I cannot comment on them.
[18:49] <adry> thank you
[23:22] <pi__> well heres something I dont do ofter, I just found an image of ubuntu mate for raspberry pi 3 b +


[15:20] <lewq[m]> how can I see which version of a charm (e.g. `cs:~kubeflow-charmers/minio-8`) is _currently running_ in a juju deployment?
[17:31] <pmatulis> lewq[m], `juju status minio-8` should say
[17:32] <pmatulis> (Rev = version)
[21:09]  * lewq[m]  < https://matrix.org/_matrix/media/r0/download/matrix.org/EbdwGLvTLkemrkZnBfOvbYIR/message.txt >
[21:39] <pmatulis> that, i do not know