[00:44] my computer won't let me make a usb startup disk [00:45] cheri703: what application are you using? [00:46] the startup disk creator in ubuntu [00:46] I have been having strange problems with my computer all day [00:46] cheri703: what error are you getting? [00:47] well, when I choose my iso, the make startup disk button is greyed out, and I only have "erase disk" [00:47] (the usb) [00:47] ok, weird [00:47] when I chose erase disk before it gave me an error, this time it might be working, one sec [00:47] ok, now it's working [00:48] sorry... [00:48] cheri703: unmount the usb, use gparted to format the usb, remove the usb from system, plug in again and run [00:48] oh ok,cool [00:48] I was having an issue earlier that it wasn't recognizing my onboard sound card, was directed to do pulseaudio --kill and then start, that worked this morning, but computer froze up this afternoon and when I rebooted, it had disappeared again. I did the kill/start again, and no luck [00:49] so I'm just scrapping it and reinstalling ubuntu [00:49] I was messing with a bunch of audio stuff trying to get a usb mic working the other night [00:49] so I may have screwed something up [01:05] so my computer doesn't want to boot from the usb...also, I can't install oss4-dkms, I keep getting errors whenever I try, even when I downloaded it from the website [01:21] grats stlsaint [01:22] Vantrax: thanks [02:11] hey all, i'm needing some help w/ getting the network icon back onto my top panel, can anyone help? [02:13] i made sure i had a notification area, so that's taken care of. [02:13] nUboon2Age: network icon [02:13] the internet thing you mean? [02:14] hey zkriesse, uh, its been a while since i've seen it [02:14] i can't remember what it looks like. [02:14] i had wicd in there for a long while [02:15] huh [02:15] and now i'm trying to get NetworkManager working again [02:15] alright folks, ill be back in an hour [02:16] i guess its the wireless icon [02:16] nUboon2Age: ok [02:17] hello kevin___ [02:17] hey zkriesse [02:17] sorry, I'm messing with xchat [02:17] i think i just stumbled on the answer... [02:17] and I don't know how to stop it from connecting [02:18] kevin___: auto joining on ya? [02:18] yeah, it's seidos [02:18] kevin___: oh hey dude [02:19] kevin___: go to XChat -> Network List -> Freenode -> Edit... -> Connecting -> Un-check "Auto connect to this network at startup" [02:19] i reinstalled the gnome-network-manager package and then in a terminal typed 'nm-applet' [02:20] nUboon2Age: ok [02:20] now i need to know how to make sure it starts up automatically [02:20] zkriesse, yeah, I was hoping I wouldn't have to do that, oh well. thanks [02:20] kevin___: yup [02:21] looks like its working. I just switched from wired to wireless... [02:21] now i need to know how to make sure it starts up automatically [02:24] cool, i just went to System->Preferences->Startup Applications and found there was an unchecked item for Network Manager. Whew! fixed (i think -- fingers crossed). [02:25] now i'll check it by rebooting... cya l8r [02:30] yup, it worked. I'd removed NetworkManger and replaced it w/ wicd, but when checking on some odd behavior with ubuntu One, (thanks to Kermiac) i found out that it was relying on NetworkManger to do some of its work, so i have to put it back and cope with the other previous problem separately (i can't recall for sure, but i think it was a USB sync problem with Palm or iPod). [02:31] is wicd really that much better? I mean I know it's prettier, but is it doing anything different under the hood? I don't know, I've only used it very briefly [03:29] seidos: i know it worked pretty well for most things, [03:31] nUboon2Age, it == network manager? [03:57] hi, what is netstumbler analouge for ubuntu? [04:10] nulify0: not sure what you mean? [04:15] i"d like to know where is best wifi signal at home, good program for such is netstumbler, it shows graph with strenth of signal (win only) , so i need something like that for ubuntu [04:17] nulify0: you on gnome or kde? [04:18] nulify0: for gnome there is: wavemon, for kde is:kwavecontrol [04:18] gnome, but if kde wont crash this time (it crashed on my notebook,but recently i updated kernel) i might install kde [04:19] nulify0: for gnome there is: wavemon, for kde is:kwavecontrol [04:21] ok, i installed it, but cant find in menu [04:23] call it from terminal [04:26] called, but interface not very convinient )) is there some graphical program? [04:29] nulify0: i dont use anything particular [04:34] i see, i googled for netstumbler alternative and read that kismet is good, installed kismet, but cant guess what i should write on its config(about source wlan) to run it. === bgs100 is now known as bgs000 [05:28] seidos: to clarify what i said earlier: wicd was not only pretty, but worked pretty well for most everything you'd need it for, except i found out that ubuntu One is relaying on Network Manager for some of its services, and i don't know if you can have both NM and wicd working simulataneously. at least i wasn't successful in getting them both to work. [05:31] I was wondering if someone could help me with my problem ... I accidentally enabled the magnifier for the login screen and it's blocking everything, including the icon which I first enabled it from (it's not actually magnifying anything useful). How can I disable it, or reset the login screen? === steemed is now known as st33med [07:37] hello everyone [07:37] i have a software question, [07:38] On my mac I had a small program called TweetmyMac. It allowed me to control my Mac via a twitter account and tweet basic UNIX commands. I was wondering if there was a program similar to that for Linux [07:38] I have linux on a laptop and it would be nice to be able to turn it off remotely from a web browser rather then needing to install software (this is because I would do it from a random computer/school/library) [07:45] hmmm there should be....lets find out.... [07:48] Somedude: Gnome RDP might be what you are looking for [07:50] SomeDude: you could also check out KontrolPack.... [07:51] SomeDude: there is also KRDC [07:53] SomeDude: Remmina Remote Desktop Client... [07:54] SomeDude: Remote Desktop viewer [07:55] SomeDude: Secure Shell.... [07:55] SomeDude: are these anything you are looking for? [08:03] thanks for the help everyone [08:03] going to bed, adios === swoody is now known as Guest50088 === swoody_ is now known as swoody [12:43] morning all [12:44] hey [12:44] duanedesign: what's up? [12:49] hi guys, been a while [12:50] heyya isiah [12:50] what you been up to paultag? [12:54] isiah: nada, how have you been? long time no see [12:57] finished the EE degree and job searched [12:57] killer [12:57] looks like i landed something [12:57] whatcha looking for a job in? [12:57] nice! doin what? [12:57] EE [12:57] well duh! [12:57] but that's a big field [12:57] electrical safety standards engineering [12:58] perfect job for an OCD engineer [12:58] ah cool [12:58] solid, congrats isiah [12:58] thankx [12:58] I was trying to get a former classmate to work on that business idea I had a while back. [12:59] hell yeah [12:59] thinking about giving it more time and just put up an ad in the college job board as an internship [13:02] isiah: I've forgotten where you live [13:02] buffalo NY [13:02] ah right right right [13:03] the real edge of western civilization [13:03] isiah: bullshit [13:03] isiah: I'm in cleveland [13:03] isiah: that's just barely civilization [13:03] over yonder horizon lies the barbarian forces of the Canada [13:03] isiah: aye aye [13:04] much like the roman legionnaire us buffaloions are all that is stopping them from stroming the gates [13:04] hahaha [13:05] what are you doing in cleveland? I thought you hailed from West Virginia for some reason [13:06] isiah: no sir [13:06] isiah: Bosoton by birth [13:06] oh [13:06] you got a job there? [13:07] isiah: still in school [13:07] isiah: last year :) [13:08] nice for what? [13:08] isiah: math + comp-sci [13:08] single degree [13:10] isiah: I'm a nerd :) [13:16] I am going back part-time to school [13:16] hope to pick up first comp engineering, then math degrees [13:17] aye [13:17] CE is fun [13:17] it's a cross between CS and EE [13:17] I think it is only 3 classes extra for me [13:17] lots of Firmware, but higher level then FPGA [13:17] yeah, it's no sweat for you [13:17] I took discreet mathematics already [13:17] well I'd hope so [13:18] so it should only be comp sci 1,2 and that database class [13:18] comp-sci is easy if you like philosiphy [13:18] grr [13:18] philosophy [13:18] at UB its basically object-orientated programing with java [13:19] oh man [13:19] that's nothing [13:19] I tutor jocks into doing that frak to fill out a lab class [13:19] it's nothing [13:19] trivial [13:19] I took it for 3 weeks and dropped it [13:20] why? [13:20] I couldnt get the pre-built objects to work on my home computer, the computer labs dated from 1991 and were beyond slow [13:20] its a weed-out course so the professor was trying to fail 25% of us [13:21] I didnt want a bad grade [13:21] the TAs were students who took the course a year ago [13:22] and seemed very smug with there tiny fraction of knowledge they knew more then us [13:22] assholes [13:22] isiah: if you need help, I tutor Uni students in this stuff. [13:22] just everything about the class sucked [13:22] isiah: seriously [13:23] it just didnt work [13:23] I am going to have to try it again [13:23] OK [13:25] also, I never worked with objects before [13:25] :( [13:25] isiah: they are actually really really neat [13:25] isiah: are you a C programmer? [13:25] duh, fpga [13:25] isiah: so, what's a struct [13:26] all I have ever really messed with is basic C++ and assembly [13:26] sure [13:26] oh and a little bit of Lips [13:26] isiah: so, what's a struct? [13:26] umm its in C right? [13:27] haha, right, let's go back a level [13:27] i think its like a model [13:27] isiah: so, stuff in memory is stored in 1D, right? [13:27] close enough [13:27] on the HD at least [13:28] isiah: so, if you want to define a blob of things, do it along that line. Usually you say [x|y|z] memory addr 0x01 is x, 2 is y, 3 is z ( 0 is NULL ) [13:28] ok [13:28] isiah: what you can do is define a "template" to place stuff in memory. Say OK, the template should look like [x|y|z] [13:28] so...... [13:29] isiah: and so you can say I want a new alphabet-template at memory location 0x1 [13:29] isiah: and you can access "x" because it knows the offset based on the squence of stuff in the template [13:29] so anything at memory location x must be a number? [13:29] rules like that? [13:29] isiah: well everything's a number [13:29] isiah: yes!! exactly!! [13:29] so you can say: [13:29] struct foo { [13:29] int x [13:29] and y = x + 1 [13:29] int y [13:29] } [13:30] and then make new object of that struct, and access struct->x [13:30] isiah: that syntax is off, but it makes things easy to grab [13:30] isiah: still with me? [13:30] ok so this struct says that everything at memory address Foo is three spaces long [13:30] and must be a an integer [13:30] ? [13:31] isiah: structs can hold anything [13:31] but this struct [13:31] isiah: yes :) [13:31] ok [13:31] isiah: so when you hit struct->y, you know it's struct + sizeof(int) [13:31] isiah: still with me? [13:31] hit? [13:32] isiah: access [13:32] ok so I call in the program the struct [13:32] and access it like an array? [13:32] isiah: it's exactly like an array, but it can have mixed types and pointers with real objects and stuff [13:32] isiah: it encapsulates stuff [13:32] ok [13:32] isiah: it's like a big blob that holds frak [13:33] so a struct is like a template and a location [13:33] yes!! [13:33] it defines a type and where it is [13:33] isiah: and if you make "struct1" and "struct2" and change "struct1->y" you will not touch struct2->y [13:33] still with me? [13:33] like saying "Bob is a person who is male, 6 feet tall, and has red hair he lives at 770 main st." [13:34] PERFECT! [13:34] isiah: Objects are fancy structs, and in addition to holding vars, it can hold functions [13:34] when you say struct2 its a diferent guy [13:34] isiah: perfect, yes, spot on [13:34] ooo, C class going on [13:34] ok so the struct2 is ted [13:34] isiah: but with classes you can set up these templates to pull from eachother and automate code generation and stuff [13:34] isiah: yeah :) [13:35] so the struct-people can talk etc.? [13:35] isiah: yip! [13:35] isiah: you can even have an array in the struct [13:35] isiah: and the array can be of other people pointers [13:35] isiah: and say that's your "friendsS" [13:35] but....wouldnt you need a higher level for that? [13:35] something that holds the structs together? [13:36] isiah: well, you create structs in the C code [13:36] hmm [13:36] isiah: so yo would say struct_name bob = (struct_name *)malloc(sizeof(struct_name)); [13:36] isiah: and then you can say bob->friend[0] = roger; [13:37] isiah: where roger is a pointer to another struct [13:37] In this case you're creating some struct with typedef, right? [13:37] pedro3005: yeah, but let's not talk syntax just yet [13:37] pedro3005: :) [13:37] ok so parts of the struct can interact with other structs? [13:37] isiah: well structs can't have code in them [13:38] isiah: you can only "play" with them [13:38] ok, just attributes? [13:38] isiah: yyup [13:38] paultag, can they have functions? [13:38] isiah: if you add functions you have... "Classes" and "Objects" !!! [13:38] pedro3005: structs? [13:38] yeah, in C [13:38] pedro3005: they can have function pointers [13:38] pedro3005: but never actual code [13:38] ok [13:38] ok so i have two structs bob and ted. I can make a bigger structure to hold both [13:38] and make them do stuff to each other? [13:38] isiah: sure, "people" [13:38] isiah: not automaticly [13:39] isiah: that's why classes and objects came about [13:39] isiah: because you can start to say "bob->visit_friends();" [13:39] isiah: and bob can then run code inside his blob [13:39] isiah: and access his vars in the "struct-type-thing" using a pointer to it's self ( "this" ) [13:39] so a struct is an object or class? [13:39] bob is a pointer to struct_name? [13:39] isiah: so bob->friends == this->friends inside a method [13:40] pedro3005: yes [13:40] isiah: struct is neither [13:40] paultag, so if we alter bob we're altering struct_name [13:40] isiah: if you add functions, it becomes a class [13:40] pedro3005: does not matter [13:40] ok, so we modify the struct to allow Bob to go to work [13:40] why make bob a pointer and not just a new struct? [13:40] isiah: and when you create a "new" class in code, it becomes an "object" [13:40] now it is class [13:40] pedro3005: we can talk later, isiah is trying to learn OOP [13:41] isiah: yep [13:41] ohh, I see [13:41] isiah: so now its not "struct bob {}" [13:41] isiah: but "class person" [13:41] its class person () [13:41] yup! [13:41] fill in attributes [13:41] isiah: and you can start to move code out of the main code loop and into those blobs [13:41] isiah: so you can have it "copy and paste" code when you have a new object [13:42] class person ( height, age, hair color, gender) [13:42] with a method that makes class person go to work? [13:42] isiah: sure, it would look like: [13:42] class person { [13:42] int height; [13:42] int age; [13:42] char * hair_color; [13:42] bool gender; [13:43] void go_to_work() { print "I'm at work"; } [13:43] } [13:43] isiah: so you can create a new "person" and call person->go_to_work(); [13:43] isiah: and that will print "I'm at work!" [13:43] and when I fill in those that is "instatuation"? [13:43] isiah: even easier :) [13:43] isiah: when you create a new person, it's instantiation [13:44] person bob = new person(); [13:44] isiah: instance == instantiation [13:44] that goes on top of the program? [13:44] thats like an int x; [13:44] isiah: yup, that would be in the "main" method [13:44] right? [13:44] isiah: yip!! [13:44] isiah: not to hard, right? [13:44] ok, but later in the program I fill it in, or let the user fill it in [13:45] isiah: you can do either :) [13:45] isiah: or you can create a "constructor" [13:45] isiah: that's required arguments for the object creation [13:45] person bob = new person ( 6, 16, red, male) [13:45] isiah: yup! [13:45] isiah: that would just look like a [13:45] class person { [13:45] person( int x, int y, char * color, char * gender ) { [13:46] this->height = x; [13:46] ... [13:46] ... [13:46] } [13:46] .... [13:46] .... [13:46] } [13:46] so how do I make bob go to work? [13:46] isiah: remember, this-> is a pointer to the memory address of the starting addr of the current object [13:47] isiah: bob->go_to_work(); [13:47] pointers? I thought OO-programming didnt have that [13:47] isiah: or bob.go_to_work(); [13:47] isiah: oh no! we love pointers :) [13:47] so java has them? [13:47] isiah: not programmer modifiable [13:47] oh [13:47] isiah: but they exist ( you can still get a NullPointnerException ) [13:47] isiah: by doing a : [13:47] person bob; [13:47] bob.go_to_work(); [13:48] you never said bob = new person( .... ); [13:48] so there is no mem addr, and bob = 0x00; [13:48] like using x, without writing int x; [13:48] ? [13:48] isiah: yup [13:48] ok, these sound a lot like function calls in C++ [13:49] isiah: there are a lot of nuances [13:49] except.........in C++ I would do methods by passing a number [13:49] right :) [13:49] isiah: think this over, and always think about them in terms of "blobs" of memory, or "chunks" [13:49] isiah: that are just designed to always look a certen way in RAM [13:50] so, once I make a template (read class) I can create an infinite number of people [13:50] all unique [13:50] right [13:50] and make them do stuff with method calls [13:50] isiah: person1->blah(); [13:50] isiah: yeah [13:50] or person1.blah(); [13:50] depending on language and status of the thing ( pointer or object ) [13:51] ok, but we are missing a few things [13:51] isiah: OK, what are we missing [13:51] 1. how do we know what methods are available to us? [13:51] isiah: ahha [13:51] isiah: well how do you know you have a function in C ? [13:51] if you define "void do() { printf("Foobar\n");}" [13:51] I look in the header files [13:51] isiah: right [13:51] isiah: same thing with a class [13:52] fair enough [13:52] 2. the real trick would be to get the people to do stuff to each other? [13:52] isiah: hehe, yep [13:52] isiah: so you can give pointers to functions [13:52] isiah: say, here's the memory address of jill [13:53] isiah: and use the given memory address and say "arg->date()' [13:53] arg? [13:53] isiah: if that was a function with the signature of: [13:53] void date ( person * arg ) { [13:53] ... [13:53] } [13:53] then you could say [13:53] bob->date( jill ); [13:54] jill->reject (bob); [13:54] :D [13:54] would that work? [13:54] how would I make jill reject bob if he asks her out? [13:54] sure, but since jill's request was called by bob, you don't have access to "jill" [13:55] isiah: so in jill's rcv_date_request method she would say [13:55] isiah: if ( requester->name == "bob" ) { this->reject( requester ); } [13:55] isiah: where rcv_date_request has a passed arg requester which is a ptr to bob [13:56] so, we defined a template for people [13:56] yu[ [13:56] yup [13:56] give them two methods [13:56] ask out, and reject [13:56] create two people [13:56] and then define there interaction [13:57] yup [13:57] but..... [13:57] I dont want Bob to be able to control Jill [13:57] however, they need a way to communicate [13:57] isiah: each object has levels of access [13:57] so Bob and Jill have a perdefined relationship? [13:57] isiah: you can say a method is "public" ( anyone can call ) "private" ( only from "this" ), "protected" ( any object that extends it ) [13:58] isiah: so you can say "accept_date" is protected or private [13:58] isiah: and bob can't call accept_date [13:58] what would be public? [13:58] like seeing her wearing clothing? [13:58] isiah: anyone can call it [13:58] isiah: yeah [13:58] isiah: or getHeight [13:58] isiah: but not changeHeight [13:59] so bob and jill can see each other [13:59] both can ask each other out [13:59] and both can reject each other after being asked [13:59] yeah [14:00] OK, sec isiah [14:00] and this portected public stuff goes in the class definition? [14:00] isiah: http://paste.ubuntu.com/467987/ [14:01] isiah: http://paste.ubuntu.com/467988/ [14:01] lol I was just doing that [14:01] isiah: that might help :) [14:01] isiah: you see how [14:01] isiah: you see how int height; [14:01] const char * name; [14:01] isiah: are private [14:01] isiah: that mens bob can't access jill->height; [14:01] isiah: but jill can get to "this->height" [14:02] still soemthignis bugging me [14:02] its like they have a realtionship [14:02] they can pass information to each other [14:02] isiah: well they are both "person" types [14:02] they cant change each other [14:02] isiah: they can't unless you tell them to [14:02] is there a name for this? [14:02] isiah: name for them talking? [14:03] isiah: using pointers :) [14:03] ok, a fridge needs a compressor or there is no fridge, but a person doesnt need a fridge however they can interact [14:04] isiah: run that by me one more time, I'm lost :) [14:04] or in our analogy, Bob needs a head [14:04] OK, yip [14:04] so object bob and object head have a relationship [14:04] that is much different then Bob and Jill have [14:04] isiah: want me to do that? [14:04] isiah: aye [14:04] paultag, if you're using namespace std why std::cout and not cout? [14:05] pedro3005: habbet, classes should not be in std namespace [14:05] isiah: sec [14:07] isiah: http://paste.ubuntu.com/467992/ [14:07] isiah: http://paste.ubuntu.com/467993/ [14:08] so there is no name for this? [14:08] I kind of remember something about this [14:09] isiah: it's called object inheritance [14:09] isiah: and using a person as a "alive" object ( and you can ) it's called "polymorphism" [14:09] assoactive? [14:09] hey paul good to see you are on again [14:09] I think that was the word they used [14:09] madhatter84gn: :) [14:10] isiah: not really used [14:10] isiah: mostly object inheritance [14:10] which is? [14:10] isiah: that person is both person and alive [14:11] ok i think [14:11] cool :) [14:11] so we could build up a huge hierarchy [14:11] isiah: yup! [14:11] hey paul just about done going through the all the test to verify mono is up and running [14:12] madhatter84gn: killer! [14:12] will start today figuring out the road to getting the source code for Banshee and start looking it over [14:12] we could define methods for every body part, attributes that each has. That insinuate the objects creating two people that have defined ways of interacting [14:13] isiah: yup! and *that* is Object Oreanted programming :) [14:13] still missing something [14:13] what about the platypus? [14:14] isiah: it can extend alive and animal [14:14] isiah: but not person [14:14] I mean it would be member of class mammal [14:14] isiah: yup! [14:14] but it lays eggs, which mammals cant do [14:15] I wouldnt want to re-write the entire class mammal to allow this [14:15] is there a way of forcing this exception? [14:15] isiah: so have it extend egg-layer [14:16] hmm [14:16] by re-writing the code? [14:16] and then releasing a patch [14:17] I guess you can do it that way [14:17] is there a better oo-programming way? [14:17] isiah: extend egg-layer [14:18] where would that be written? [14:18] isiah: oh wait that's what you were saying [14:18] isiah: yes, in the code [14:18] when you insinuate it [14:18] or in the template? [14:18] isiah: template === bgs000 is now known as bgs100 [14:18] isiah: you should have these templates dictate behavior and just play with them in code [14:19] can objects through there interactions change permission statues of attributes? [14:19] say for example Bob gets lucky and gets to see Jill naked [14:20] isiah: not really, but jill can have code that "forwards" data via method callbacks [14:20] ok [14:21] but the data would still be private without that forward call? [14:21] isiah: data is meaningless, you can send it via a return without it caring [14:22] isiah: since it's all running on the same processess, it's shared memory [14:22] I suppose I could then go on to define a class town [14:22] sure [14:22] and give it my own number of people [14:22] that holds houses [14:22] hmmm [14:23] sounds complicated [14:23] all these objects that can be defined to interact in different ways [14:23] isiah: we start to get into data structures and that gets fun [14:23] isiah: yeah, well that's programming :) [14:24] ok, another thing I noticed in the 3 weeks in that java class was that the programs didnt really stream [14:24] it was more like a modern video game [14:24] isiah: what do you mean stream? [14:25] in my engineering programming class and on my internship I needed to optimize work [14:25] say you got to multiply a series of numbers by .7 from a .txt. file [14:25] so the whole program would be in one loop [14:25] well no [14:25] and after it was done it would ask me if i want to run it again [14:25] your program would be in one loop [14:26] I guess, like those old BASIC video games [14:26] isiah: right [14:26] so in java stuff it is different? [14:26] isiah: not really [14:26] I dont remember any real big loops [14:27] the applets just kind of ran forever [14:27] isiah: but you can make it nicer, say create a class for "storage" that can read flat file, berkleydb, or pickle'd file, and have the class have a "getNext();" call that gets the next line in the queue [14:27] isiah: and you can usually hook things up to callbacks and save CPU + RAM [14:28] hmmm [14:28] isiah: but logic is logic === pjarnahomzz is now known as pjarnahom [14:28] is it possible to make an object with really not knowing or being able to know how the object internally works? [14:28] isiah: yeah :) [14:28] say I can make Bob off of code I cant see [14:28] isiah: just like C you can move the .h file out of the implemtnation [14:29] isiah: so that you have the .h as a ref with no code [14:29] isiah: and you can even use a -llib to compile against a binary to do stuff that you don't have source to [14:29] makes sense [14:29] now inheritance [14:29] isiah: we were just talking about that [14:30] isiah: alive --> person [14:30] so Bob's head can have hair. If on the top layer i say bob has hair [14:30] red [14:30] it goes down [14:30] and each focial gets red colored [14:30] but on top I dont have to say he has hair [14:30] I can just say "red hair" [14:31] and have it generate it lower down [14:31] that is inheritance? [14:31] isiah: no [14:31] isiah: it's saying bob's a person, and a person's alive [14:31] isiah: therefore bob is alive [14:31] ah [14:31] isiah: and you can call alive methods on person [14:32] ok, this is pretty cool [14:32] you can make functions do stuff without passing in a controlling number [14:32] isiah: yeah if you access instance vars using "this" [14:33] this could have other uses [14:34] say, i believe knowing his arm length could be useful one day, and I build an algorithm that makes it based off of height and gender. I wouldnt have to touch the whole class town program [14:34] but one day I could change how the object people interact based off of it [14:35] isiah: yup. [14:35] isiah: that's what makes it rock [14:35] which would make the object town act different [14:35] isiah: yup [14:35] isiah: that's what's known as code maintainability [14:35] so, one day you are playing my simtown game [14:35] and I (work for microsoft) so i make you download a patch [14:35] that uses this data [14:36] and your town game changes [14:36] yeah === pjarnahom is now known as pjarnahomzz [14:36] I could also make a database containing what i think are useful classes and let people download them [14:37] each one with its own methods [14:37] paultag, one curiosity, I had this problem with python and I wonder how C++ handles it. Say you have one class with a constructor method and then create a new class inheriting from it with another constructor method. When you instantiate the second class would you pass it the arguments to both the constructors or just the second class' constructor? [14:37] and that is what java did [14:37] brb....bathroom [14:37] isiah: yeah [14:38] pedro3005: ah, with C++ it sucks [14:38] pedro3005: with python, use super().__init__(); [14:38] yeah, I heard about super() [14:46] sec [14:46] brb [14:51] backs [14:54] actually not, i got an appointment [14:54] ttyl [15:19] Hola === pjarnahomzz is now known as pjarnahom === pjarnahom is now known as pjarnahomzz === pjarnahomzz is now known as pjarnahom === pjarnahom is now known as pjarnahomzz [17:17] that is not dead which can eternal lie yet with strange aeons even death may die [17:54] is there a per-application volume slider/mute thingy out there? [17:55] go into more details about what you need please [17:55] to for instance 'mute' my browser [17:55] so you want one volume control? [17:55] well, it would be handy if there was a little program that could be able to have a volume control per application [17:55] yes :) [17:56] but which lets me chose what application to mute [17:56] oh, I see. Instead of the typical control already there you want one per process [17:56] yes? [17:56] yes [17:56] are you using gnome? [17:56] yes [17:57] you know where the normal volume control is? [17:57] you know, like the one I've seen in windows 7 pictures [17:57] for the whole computer [17:57] yes [17:57] don't tell me it's already in there... [17:57] right click on it and go to sound preferences [17:57] then click the application tab [17:57] how do I add applications to that? [17:58] I only have ALSA plug-in and Rhythmbox [17:58] are you current applications listed? [17:58] no, just those two I just mentionned [17:58] no listing of other apps [17:59] so for example you have an im client running and it isnt listed? [17:59] I've looked there already [17:59] it isnt listed no [17:59] I am running Pidgin and Opera, amonst other things [17:59] they are not listed there [17:59] ok, lets do this together [17:59] open a terminal please [17:59] ok [17:59] and type in: apropos sound [18:00] isn't there just a little addon that lets me do this, or is this an adon? [18:00] o, brb ! [18:00] I am not sure, I am trying to figure this out myself [18:02] sorry, somebody was at the door :) [18:03] its fine [18:03] ah, it's just an output [18:03] I see [18:03] ok I am trying a program called gnome-volume-control [18:03] I typed in: man gnome-volume-control [18:03] don't go and try out programs for me :o [18:03] and am reading the documentation [18:03] I can read, Sir/Ma'am [18:07] it mentiones gnome-volume-control --name=NameOfApp [18:08] but that does nothing [18:08] what are you typing in exactly? [18:08] gnome-volume-control --name=Opera [18:09] ...that might be me being a bit dumb tho :) [18:10] ok, I am playing around with it [18:10] and it looks like certain programs only show up on that list when the program is making sound [18:10] does this make sense in your case? [18:11] it does, in that those programs don't make sound atm [18:11] oh wow [18:11] hmmm, well a really bad solution would be to run the programs and then adjust [18:11] I tried going to a website with audio [18:12] it works, it's in the list now [18:12] there should be a way to do this from the command line [18:12] will it be muted forever? [18:12] I dont know [18:12] because I don't mind [18:12] let me check [18:12] if we figure it out [18:13] closing and opening Opera again [18:13] we can make sure it works that way [18:13] ...and it's right there, and it's muted [18:13] petty there isnt just a list from which we can chose [in sound preferences] [18:14] but, this works fine, as long as a program outputs audio, it will show up in the applications list [18:14] and, it seems to remember the choice [18:14] :) [18:15] Opera shows up in SP --> Applications tab as: ALSA-plug-in [operapluginwrapper-ia32-linux] [18:16] if that's of any help to you for future reference [18:16] ah [18:17] it's "ALSA plug-in [etc here]" without the first hyphen [18:17] still bothers me [18:18] you should be able to set this from the command line [18:18] haha [18:18] and use it in application luancher [18:18] it would be easier to be able to do it beforehand, so you are not surprized by audio from some random app [18:18] isiah: I'm a mouse user :) [18:18] I don't know anything about the CLI [18:18] well we could write the script [18:18] so that way it will run it when you click on the ico [18:19] icon [18:19] slash that 'we' [18:19] I can't script nor program [18:19] ok, if i can figure out the command line syntax [18:19] I can show you [18:19] I like GUI solutions better anyways [18:20] so I'd like to have a standard list added to the Applications tab in Sound Preferences so you can set the volume per app, even when it's not making sound at the time [18:21] hey, I have yet to thank you for your help :) [18:21] so, thanks ! :) [18:21] oh np [18:21] ok, let me look at the docs more. Figure this out [18:21] well, I'm not really interested in it anymore, I've accomplished what I wanted, with your help [18:22] ok [18:22] I am now only interested in adding the before said feature to the Sound Preferences app [18:23] so if any program is ever ran it will be on the list [18:23] even if never ran before? [18:23] if it's installed, yes [18:23] see, I am not sure about that [18:23] I am fairly sure that programs generate sound by interrupts [18:23] well, maybe just a standard list, like browsers etc [18:24] I don't know what that means :\ [18:24] trying to guess which ones will call it before hand would be a challenge [18:24] well, maybe just the option for browsers and IM clients then [18:24] :) [18:24] that would be a fine start [18:24] an analogy "your dad controls the thermostat but thermostats can be used by anyone at any time" [18:25] and the thermostats cant guess when they will be adjusted [18:25] I don't understand that [18:25] an interrupt is when a program just says "hey do something" [18:25] ok [18:25] and the OS sees if it will allow it [18:26] ok [18:26] like flipping a switch [18:26] this program seems like it waits for something to use the speakers and then identifies the name [18:26] well, we know that certain types of applications can make sound, we could only list those [18:27] a cludge solution would simply run every program at once and set it [18:27] :) [18:27] I am not a programmer [18:27] LOL [18:27] that would be fun tho :D [18:27] haha [18:27] just click on everything [18:27] haha [18:27] ...amazingly stupid, but fun :D [18:28] well we dont want to screw around with any drivers [18:28] but we want a rule [18:28] like [18:28] "if the program has never been run before it will get volume level x" [18:28] besides, not all programs make sound all of the time, only some of the time, like a browser [18:28] isiah: could work [18:29] hmm [18:29] trying to think how to go about this [18:29] are you a programmer? [18:30] I couldnt program a pointer to hit the broad side of a barn from the inside [18:30] the thing is, I ask/say silly things, because I am not a programmer, in any sense of the word at all [18:30] so I also don't know how to think like one [18:31] this will take some thinking [18:31] I could explain it a bit more, maybe with some home made pictures of what I exactly mean [18:32] try [18:32] first, I have to do some groceries :) [18:32] brb [18:54] I am having troubles with my lan connection on my computer [18:54] last night it works fine [18:55] but today on the morning it didn't connect to internet(Yes there is internet) [18:55] have you checked the UTP connectors? [18:55] yes [18:55] my computer has windows on int [18:56] and on windows i have internet [18:56] well, then I'm out [18:57] i did an ifconfig [18:59] http://pastebin.com/8dkb28VT [18:59] and thats what i have [19:01] isiah: http://i.imgur.com/vS2Kd.png and so on :) [19:02] arrr here be the dastardly program that plays so loudly, I banish thee to davy jone's locker! [19:02] how do I convert wma files to mp3 [19:03] isiah: just a couple of standard programs in there, so one can at least mute some of the nastiness out of hand [19:03] or general groups like 'browsers' and 'IM apps' [19:04] so one tick will do for Fx, Opera, Chrome, etc [19:05] I'm asking a lot, aren't I... [19:05] this isnt the irc room you are looking for [19:05] helllo kh9.... [19:05] waves hand in front of face [19:06] hmm, didnt wait very long for an answer :( [19:06] oh [19:06] indeed [19:06] ok, basically the trick now is to either A find a program that does it B. re-write one so it does [19:06] I was about to post this: http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/Convert_WMA_to_MP3 [19:07] isiah: aye [19:07] so wanna try A first? [19:07] you already found A, didn't you [19:08] well, I dont think this program has folders etc. [19:08] Phrea: ahh, that is a good one [19:08] it should just look for installed programs, so we can chose from that list [19:08] Phrea: i was gonna post http://ubuntuforums.org/showthread.php?t=37793 [19:09] duanedesign: first hit on google... [19:09] but i am partial to nautilus-scripts [19:09] :) [19:09] oh, I only checked it briefly, to see if it was easy enough to do for a new user [19:10] I'm not familiar with any kind of script, duanedesign [19:10] I'm a 'dumb' user [19:12] as in that I don't script or program :) [19:12] Phrea: nautilus scripts are neat. There is a folder in your home directory where you can put scripts. Then you can right-click > scripts and use them [19:12] such as bash scripts or so? [19:13] or am I totally off again? [19:13] I have one that opens a terminal in that directory, one that opens the file as root in Gedit [19:13] Phrea: yep [19:13] ah, handy [19:13] Phrea: you can find a bunch already made for you [19:13] I still do sudo nautilus, then go to the file I need [19:13] duanedesign: I know :) [19:14] GAH! [19:14] Phrea, sudo nautilis?! [19:14] :P [19:14] >:( [19:14] I'm not very handy with scripts and the like [19:14] paultag: what's wrong with that? [19:14] over here :) [19:14] it's the only way I know [19:14] Phrea, you hit delete on accedent and you can fsck up your system [19:15] Phrea: if you want the Gedit root one ill put it on my people.ubuntu site [19:15] Phrea, it's not like running as a windows administrator [19:15] well, it's the only wey Iknow how to do it [19:15] Phrea, sudo is very very VERY powerful. [19:15] hey i gots to head out. Just wanted to say thankx again paultag_ [19:15] duanedesign: it's ok for now [19:15] isiah, sure bud [19:15] bai! [19:15] oh, he's already gone :\ [19:16] I wanted to say bye, he helped me earlier [19:16] i got one nautilus-script called 'shred' that attempts to removes all traces of a file [19:16] paultag_: I don't even know the difference between gksu[dp], sudo, etc [19:16] gksudo is when you use anything graphical [19:17] so, Nautilus, for instance? [19:17] you should use gksudo nautilus instead of sudo nautilus [19:17] why does sudo nautilus work too then? [19:17] can you explain why? [19:17] because it works fine, it opens nautilus under root [19:18] which is what we want, no? [19:18] Phrea: it works and a lot of times will cause no difficulties [19:19] Phrea: but their are times when it can [19:19] ok, but what is the difference then? [19:19] both commands open Nautilus under root [19:19] be it gksudo or sudo [19:21] Phrea: http://www.psychocats.net/ubuntu/graphicalsudo if you've not read it before. [19:21] By default, sudo does not reset the the $HOME environment variable. So, in some cases, you may end up with files owned by root in your user's home directory. [19:21] yes that is a good one [19:22] aha, so sudo nautilus is more or less just an improper way of launching nautilus under root [19:22] reading on... [19:22] I'm getting it [19:22] thanks, that's very handy to know ! [19:23] sorry for being so ignorant :) [19:23] Phrea: yes, i did not know that for a long time when i started using Ubuntu [19:23] and Ubuntu you use sudo a lot so it is important [19:24] so it sais in the documentation, yes [19:24] but this is actually quite important [19:24] Phrea: some peeps get away with it othere end up with dmrc errors or ICEauthority problems [19:24] I will never recommend sudo again, I swear ! [19:25] and gksudo and gksu are the same thing? [19:25] Yep [19:25] In kde it would be kdesu [19:25] :) [19:26] trying to remember :) [19:27] let me try, checking an md5sum is done within the terminal, so you'd use sudo [not that it's needed with md5 checking, but you get my drift] [19:29] and, gksudo is ONLY used to open an app under root priveledges and nothing more [19:29] [a graphical app that is] [19:30] Phrea: correct. If what you are running has a gui use gksudo, e.g gedit nautilus etc [19:30] I learned an important lesson today :) [19:30] thanks :) [19:31] Dont run gksu firefox or else your profile will end up being owned by root. [19:31] I would never run a browser as root... [19:31] According to lovinglinux [19:31] why would one? [19:31] people have when they've had a problem [19:32] Then they come to the forums with the problem [19:32] I don't see how running any browser as root would help troubleshooting any kind of problem [19:34] I've been using Ubuntu exclusive now for a year, and I still don't know this stuff, that's just bad [19:35] anybody followed the discussion I had with isiah earlier? [19:37] about controlling audio PER application without them having to run AND making sound [19:38] I had to open Opera AND set it to a site that made sound, for me to be able to mute it via sound preferences under the application tab [19:41] http://i.imgur.com/vS2Kd.png --> I want that [19:41] sorry for the bad gimp, but I'm a bit lazy :D [19:42] the man for gnome-volume-control did not help at all [19:55] BEER o'clock bye guys [19:55] later [19:55] See ya [19:55] thanks for your explanations :) [19:55] unaffiliated? [19:56] he should be a member, if you ask me [20:13] drat missed philinux [20:40] hi can someone help me with a grub menu problem? [20:43] can try [20:45] dean__: what is the problem ... === zz_severity1 is now known as severity1 === Phrea is now known as _Phrea_ === _Phrea_ is now known as Phrea