[02:18] LaserJock: [02:20] hi ace_suares [02:36] just saying hi [04:37] I'm adding groups in jaunty server and I looked at the /etc/group file and I'm wondering why most groups have an "x" as the second value and the groups I just added have an "*" as the second value. Anyone know? [04:54] For example, a line in the /etc/group file looks like this: [04:54] staff:x:50: [04:54] I know that "staff" is the name of the group, [04:54] "50" is the Gid [04:54] but what does the "x" represent? [04:57] Nothing [04:57] as in "empty"? [04:57] Nominally, it's a password field for if you wanted passwords for group changes. [04:57] But that's more historical than anything else. [04:58] hmmm... so if instead of an "x" it has an asterisk then that might be KUser's way of doing the same thing? [04:58] right. [04:59] There's no "set standard" of what placeholder character could go there [04:59] it's just ignored. [04:59] man 5 group [04:59] Thanks!!! [05:00] sbalneav: hey, Scotty, did you see that we'll have Ollie at the hackfest ? [05:00] No, I didn't, but that's awesome news! [05:00] yup [05:00] I'm looking forward to seeing all my pals again :) [05:00] BTW sbalneav, I just dropped my daughter at Tache hall--nice place :) [05:01] Ah, took a look around the campus, did you? [05:01] Nice place. The admin building in the centre's quite nice to wander about in. [05:01] Indeed,nice place [05:02] Sorry about the mosquitoes. The sudden spat of warm weather's brought them out in force :( [05:02] I didn't have time to go much inside buildings, but it has a friendly, community feel to the campus. [05:02] It wasn't a pleasent weekend at the cottage. [05:02] they were crazy!!! reminded me of canoeing in the Quetico in the spring [05:03] The mosquito's the provincial bird of manitoba :) [05:04] We sometimes say the same in Minnesota :) [05:04] * stgraber suddenly knows where he's not going to be on holiday :) [05:24] I'm making a csv file to batch add users to the server. One of the fields to add is the groups to add the user to. [05:25] dgroos: heh, I'm making a python script to batch import users from a csv file these days. Nice coincidence :) [05:25] I've added the users to these groups, sound right?: audio, dip, video, sambashare. [05:26] alkisg: good evening/morning :) [05:26] Hello [05:27] It does seem like this is a pretty basic need in education. [05:27] The default groups are there: `grep group /etc/gnome-system-tools/users/profiles` [05:27] Thanks, I'll check it out. When does your school year commence? [05:28] School year is Sep => Jun, then 2 months of vacations. [05:28] interesting--same schedule here in US. [05:30] I skipped a few of these groups such as floppy, tape, cdrom as we don't have these on the thin clients [05:32] it also includes, adm and lpadmin which sound like admin groups--is this correct? [05:32] The first line, groups=cdrom,floppy,dialout,tape,dip,adm,plugdev,fax,fuse,video, is for "desktop users" [05:33] The second line is for "admins" [05:33] que vale el que sabe :) [05:33] Δεν κατάλαβα γρι :) [05:33] * alkisg google-translates.... :D [05:34] (that's greek to me :) [05:34] Ah, google says that you said "worth who knows"... heh [05:35] * alkisg just said that he didn't understand what you wrote [05:35] and google said you said, "I did not understand purse". [05:36] Purse? [05:36] Heh ... nah, it doesn't know the word "γρι", it isn't really a formal word [05:36] I used google translate quite a bit with the file you sent me on customizing the firefox about:config file--it was great. [05:37] Did you manage to make an english version out of it? I think it would be nice to have it in the edubuntu wiki... [05:38] pretty much. I'll pastebin a copy of what I've got, can you check to see that I didn't do something really weird? [05:39] Uh, can we leave it for some other time? I'm in a hurry to go to work [05:39] que vale el que sabe means something like, 'he who knows is very valuable' [05:39] Nice :) Google is the most valuable thing :) [05:39] For sure, and I to go to bed... :) [05:39] OK, good night, cu tomorrow [05:40] have a great day! [05:40] Thanks :) [05:42] alkisg: So, I've been digginging into the whole lack of putXXent() problem in glibc [05:42] Oooo nice :) Any news? [05:43] What, as in solving it? [05:43] Or, as in putting the solution in a timeframe or at least in a people-frame :P [05:43] Hell, that'll take years :) I'm suspecting the problem goes all the way to the posix(1) standard. [05:44] However, from a TECHNICAL standpoint, I think it's quite doable. [05:44] damn beurocracy (I can't even spell it right :)) [05:45] I'm coding up an "example" ldap_putpwent() function that we can do an LD_LIBRARY_PATH= in front of something that calls putpwent. [05:45] It seems so... unorthagonal that we can have nss funtion for the getXXent operations, but not the put. [05:46] This will be.... a long term project. [05:46] But for instance: your script... [05:47] You just want to bulk add users. It's a simple thing that's been implemented about 1*10^60 times. [05:47] (right... even though I can't find anything on google that fits my needs :( :)) [05:47] Oh, wait, now you want to use LDAP at your location: ok, change the script, become an expert in LDAP [05:48] Oh, now the school wants to use Postgres or Radius as an auth mechanism: change it again [05:48] and again [05:48] and again. [05:48] I understand what you're saying. It would be *most* simple to use putpwent() and some ldap configuration script to specify its behavior... [05:48] why> [05:48] Well, that part should be INVISIBLE to you... [05:49] Except for the configuration file, which the admin would be able to edit, right? [05:49] if you set up your NSS stuff correctly, why should you CARE about the internals of where things are stored? [05:49] alkisg: sure, but do it ONCE, rather than have to worry about it for... [05:49] the gui user add tool [05:49] Yup, I get it. [05:49] the command line add too [05:50] the bulk add tool, ad nauseum [05:50] They should all respect that line of thought, I agree. What I can't understand is how these things work in Gnu/Linux - i.e. you find a "correct way to do things", you implement it, then what? [05:51] Who will "approve" your implementation? The distro managers? The users? [05:51] Well, depends. [05:51] If it's something like this that may affect posix compliance: [05:51] first step would be to ensure that it doesn't. [05:52] if it does, it's a non-starter: glibc maintainers won't break posix compliance, no matter how "justified" the reason may be. [05:52] So, at that point, I'd have to make an application to the posix committee to change it. [05:53] If it's NOT a compliance issue, [05:53] then hit the upstream glibc maintainers with patches. [05:53] Usually, after talking about it with them first. [05:53] That sounds difficult to get accepted... but not undoable [05:54] Distros are the LAST place to make changes like this, since they're just wanting to package upstream's goodies. [05:54] * sbalneav shrugs. [05:54] It's a process [05:54] You follow it, and see where it leads. [05:54] First is to do some proof-of-concept code, which I'm working on now. [05:55] Yeah, but giving away your free time to write patches and then get a "no, we won't accept it" is really tiring :( [05:55] Been there [05:55] done that [05:55] Still doing it :) [05:55] One thing you learn is persistence :) [05:55] ...and we thank you for it :) [05:56] Ahhh, I wouldn't make a very good Don Quixote if I didn't have a windmill to tilt at. :) [05:56] Ouch, it's the first time I'm reading Don Quixote's name in English, I almost didn't understand it! :) [05:58] Heh, we jokingly call him "Quick-oats" here in Canada :) [05:59] * alkisg has to get to work... be back in ~1 hour (I like the easy-going first school days that are spent python-hacking....) [06:00] Okie, off to bed for me. [06:00] Night. [06:00] Good night sbalneav, bye all :) [07:10] Good morning [07:20] morning alkisg [14:52] Morning all [18:33] Need help in setting up a new Edubunta LAb [18:34] tubmangray_: anything specific? [18:34] Is there someone or a resource that can walk me through it (new user!), thanks [18:34] I need the basic network topology, software best for server, and for client users. [18:35] Is that a normal edubuntu lab, or does it involve ltsp? [18:35] I was hoping to use ltsp, as the client computers are mostly Pent3, and some 4s, server is a P4 [18:36] The edubuntu handbook was what you needed once... unfortunately, it's been a long time since it was last updated [18:36] To serve a school in remote Liberia. Headed there in a few weeks, and hoping to set up this in my house before packing it up to take with us. [18:36] You can find some ltsp info in http://wiki.ltsp.org/twiki/bin/view/Ltsp/LtspDocumentationUpstream [18:37] thanks. [18:39] Do you know if Edubunto server 7.1 is gui or not? [18:39] 7.10? that's ancient :) [18:39] You'd better use 9.04 [18:40] I know, but the only documentation I've found that pertains to setting up a simple lab uses that version. Here lies my problem :( [18:40] Heh. No, you *shouldn't* use 7.04. You should either use 8.04 (=lts version) or 9.04. [18:41] ok, i will pursue LTS version. [18:44] ver 8.1 ok to use as well? [18:45] 8.10? You don't really have any reason to use that. I'd suggest that you used 9.04. [18:46] tubmangray_: you may try it now in your house, and if you have any questions, you could just ask here again... [18:46] last question and sorry to be so ignorant: is LTSP on an alternate 9.04 install disk? [18:46] As for the software, the teachers will tell you what they want. [18:46] Yes, to install LTSP the best way is to use the alternate cd and press F4 while booting from it [18:47] thanks! I found those instructions with earlier versions, but never assumed same held true with 9.04. Off to work on this, and many, many thanks [21:01] alkisg: Hey [21:01] "Try this" [21:01] Hi sbalneav [21:01] "Ok, I tried , it didn't work" [21:01] "No, try this" [21:02] "Ok, I tried , still doesn't work" [21:02] "sigh" [21:02] heh, you're having fun with that monitor fellow, eh? [21:02] Heh yeah it's really tiring :-/ [21:02] Do it for 20 years. :) [21:03] I have :( (ok 17...) [21:03] lol [21:03] And people wonder why us computer sysadmins become bitter :) [21:04] Do they have the equivalent to "PEBKAC" in Greek? [21:05] * alkisg googles... [21:06] Heh. Not really, I've only heard that in english-lang forums or irc... [21:07] sbalneav: do you have any time these days to help me work out the import/export users utility I've been telling you about? [21:07] Surely. I can set aside some time tomorrow [21:08] I imagine a simple pygtk/glade dialog, with 2-3 buttons (import/export/help), and one treeview to display the users [21:08] Can I send you an email with what I've got so far? [21:08] bah glade [21:08] nubae: i'm open to new ideas... and also help :) [21:09] alkisg: I commented my pyqclic extremely cause Im gonna turn it into a tutorial [21:09] why dont u peruse through that [21:09] Nice! [21:09] What are you using, if not glade? Plain pygtk code? [21:09] of course [21:10] otherwise how are u gonna learn/understand? [21:10] alkisg: Of course. [21:10] sbalneav@ltsp.org [21:10] glade is kinda pointless anyway, unless u are doing a massive project [21:10] nubae: I understand the need to learn, but a proper way to do things weights more in my point of view :) [21:10] proper way? [21:11] sbalneav: ty, I will (be gentle, it's my first time :)) [21:11] since when is glade "the proper way?" [21:11] nubae: seperating the UI from the code, for once... [21:11] heh, but it doesnt really [21:11] it just gives u that illusion [21:11] u're far better off doing that yourself with good code [21:12] NP, if you send it out today, I'll poke around with it at home tonight, and we can hack about a bit tomorrow. [21:12] I don't know if it is accepted as the proper way or not. I'm just expressing my thoughts here... E.g. in Delphi programming, where I'm experienced, forms are also seperated from the code. [21:12] pygtk= code for ui [21:12] sbalneav: nice, thanks, I'll try to gather what I have in a presentable way [21:12] how do u want to seperate the code from that exactly? [21:12] nubae: so your pygtk code is on a different file than the rest of your python code? [21:12] seems kind of silly to me [21:13] its ALL pygtk, if u are manipulating a window based program [21:13] So, my example code for the blog post I'm going to do (a putpwent that's ldapified) has already surpassed 300 lines LOL. [21:13] or whatever library u are using for the widgetry [21:13] 300 lines doesn't seem too bad if it going to fix such a major problem :) [21:13] think of it this way... its gtk... and if u want to properly understand it... then do it manually [21:14] nubae: I don't know.. I've developed large apps, with many many lines of code... Merging UI code with logic results in unreadable projects [21:14] yeah, I'm at 1000, but I've finally modularised it [21:14] alkisg: whether u code with glade or without it [21:14] u'll get the same thing [21:15] the difference being... its like comparing using openoffice or vi to edit a lightly formatted document [21:15] if u have a large program, with a complex ui, its probably worth it [21:15] Not really. UI can be maintained by non-programmers, translators etc - code has to be maintained by a programmer [21:16] but from what u described above, its serious waste of time [21:16] and a bad way to learn [21:16] Well I guess we have different opinions on this :) [21:16] yeah right, I'd like to see someone other than a coder maintain complex glade ui [21:17] E.g. one app may be 20.000 lines, and the UI code another 20.000 lines. *Not* having to worry about syntax errors in the later is a good thing... [21:18] to me using glade is like using visualbasic, with the disadvantage that you dont learn anything new at all using glade, it just adds another layer of complexity to an already complex beast [21:19] and if u want to do anything different than the basics, like inheritance of widgets and such, forget it [21:20] Again, I don't really think so... I've implemented a lot of new components in Delphi, and that didn't stop me from appreciating the fact that I can graphically design my forms [21:20] to me gtk is a little like putting puzzle pieces together [21:20] delphi=!glade/gtk [21:21] Why is it so different, as to change the way I think? [21:21] delphi integrates the ui and code, glade doesnt, its totally different [21:22] OK I think we should just leave it at "we have different opinions on this" :D [21:22] I've used delphi too, had to manage a real estate program that was coded in it for my company years ago [21:22] well I think you are not seeing the differences [21:22] u need a visual delphi manager to understand its code [21:23] u dont need that for python+gtk+cairo, etc [21:23] gtk is really simple in terms of layout, u have 4 methods... vertical and horizontal boxes, [21:23] tables [21:24] fixed positions [21:24] and shit... i forget the 4th, cause i never use it [21:24] I think I understand the differences, and they don't seem so important to me - neither C# seems radically different, neither Qt (as little as I have seen it), neither Vb (for the UI/code seperation part). But yeah, I don't think I understand your point... [21:24] anyway, its like the difference between using dreamweaver vs vi [21:25] thats a better comparison [21:25] E.g. "u need a visual delphi manager to understand its code" ==> what does that mean? [21:25] imagine u required dreamweaver to read html... that u couldnt just cat it [21:26] hell its like using command line vs managing everything through system and preferences [21:26] I also think that html is no programming :) [21:27] It's ui... [21:27] yeah, so is pygtk [21:27] even MORE so than html [21:28] no if I wanted to do a complex table layout that I new had to be pixel perfect, yeah I'd use dreamweaver [21:28] And why wouldn't you use it for simple pages? [21:28] after I'd learned how to do it without it, ie, I knew all the tags, understood the underlying language [21:28] because its a waste of time and it adds useless code [21:29] makes it unreadable for the most part [21:29] I think you shouldn't involve the learning part on "what's the best practice" part... [21:29] let me give another example... [21:30] locate '*.glade' | wc -l ==> 374... so all these apps have useless code in them? [21:31] * alkisg thinks we should better start an editor war... [21:31] way to go for generalisations... [21:31] I hear that emacs would be a great os, if it had a decent editor :P [21:31] its not about that... u're creating an app with 2-3 widgets at most... what do u need glade for? [21:31] what advantage does it bring? [21:32] Extensibility [21:32] huh? [21:32] I may want to add 100 scripts later on [21:32] oh and u can't do that with a plain editor? [21:32] and... is that REALLY the case? [21:32] I'd prefer my co-devs to contribute glade files than plain code that I would have to read [21:33] but your code is 3 widgets, their contributions are hardly gonna be glade files [21:33] Yes, it is. I want to develop a users manager but I don't have the time now. But the import/export thing is needed now. So it'll be a base that I hope will be extended over time [21:33] I would hope at least [21:34] anyway... do as you will... but I'm not the only person that thinks this way, I'm sure if u peruse the web u'll find plenty of reasons [21:34] E.g. each script in http://users.sch.gr/alkisg/temp/users-manager.png would probably contain a glade file, to ask the user some specific input [21:35] yeah anyway I don't think it's important that we persuade each other :) [21:37] looking at your png I can seperate it into its gtk components off the top of my head without touching glade... can you? [21:38] I can seperate it into delphi components. Nope, not gtk components, I have a hard time remembering them :) [21:38] and it is 3 sets of widgets in the end... a menubar, toolbar, and a treelist [21:38] But my co-devs will be teachers or admins; I don't expect them to be able to do that either :) [21:38] and window to hold them in if u want to count that too [21:38] there's no need for glade there [21:39] Why not graphically design something, instead of code it? [21:39] I also prefer to write my docs in openoffice instead of latex or docbook... [21:39] if a person can't figure out that gtk.ToolBar is a toobar, they have no business coding [21:39] because its already been made super easy in the code [21:39] its unnecesary for what you are doing [21:40] even if u added 100 scripts, your glade wouldnt change [21:40] And you think that e.g. /usr/share/synaptic/glade/dialog_changelog.glade is more complex and it justifies using glade? [21:40] need to add an item to a toolbar.... gtk.toolbar.insert(item1, position) [21:40] *Each* script would come with its own glade file [21:41] its really not hard at all to visualise, like I said before... easier than html even [21:41] E.g. a script to add a bookmark would have an edit box to paste the bookmark [21:41] yes, synaptic's menu is far more complex [21:41] The changelog dialog? [21:41] its the whole thing, u cant look at one item in it [21:42] either u use it or u dont, its not I'll use it for this little bit here [21:42] anyway, enough arguing... go forth and enjoy glade :-) [21:43] I wonder how much the pygtk and gtk reference manuals will help you though... [21:43] "its not I'll use it for this little bit here" yup, /me also thinks so... That's why I want to use it in all my projects, not only the big ones :) [21:43] no... I was talking about per project [21:43] not as a general rule of thumb [21:43] use it when its needed [21:44] nubae: don't worry. I may be new to linux, python, *and* gtk, but I've learnt a dozen or so languages in the past, I don't think it'll give me a too hard time... :) [21:44] Heck, I've made my own ncurses interface before linux made the kernel :) [21:44] do u also use the systems and preferences managers for all your computer management? [21:45] *library [21:45] since its an all or nothing thing it seems [21:45] anyway, this discussion is getting pointless... [21:46] Yup. OK, let's cut it here :) [21:46] I've got an opinion and I wont change it and neither will you [21:46] Right... /me goes back to glade... [21:46] * nubae goes back to vi :p [21:47] * nubae lies... he's actually using gedit [21:47] Heh lier [21:47] :p [21:47] *liar [21:48] I'd use vi, if I knew all its intricate details, but I don't [21:48] I don't even want to try to learn it... :D [21:48] so things like searching and replacing quickly without looking it up are a pain for me in vi [21:49] well its nice for quick editing and for the fact that you absolutely know with all certainty its gonna be on every system [21:49] non windows of course [21:49] I don't know... I think it's a relic from old times :) [21:49] I've had it a couple of times sshing into a server and only having vi there [21:49] ...when esc was where tab is now :P [21:50] I've learned my basic search & replace in vi, but only because I couldn't find any hex editor that did what I wanted :( [21:51] i've learned and unlearned it too many times to remember [21:52] but it is indeed kind of pointless to use vi, if u have to look up a reference via a web browser :p [21:52] I think I already have about 3.768 different shortcuts in my mind... I could store another 1.000 needed for vi :P [21:53] *couldn't [21:54] btw, this really helped me with pygtk: http://zetcode.com/tutorials/pygtktutorial/ [21:54] very easy to understand [21:55] Danke :) [21:55] ah alignment was teh last layout method... for some reason never use it [23:04] btw alkisg, Ahmuck, if its not too much trouble, would u guys mind quickly just running my program and seeing if anything strikes you as missing, odd, or just plain wrong... [23:05] all u have to do is: git clone git://git.sugarlabs.org/pyclic/mainline.git [23:06] and then run python pyclic.py [23:06] * alkisg leaves that for another day - 1.06 am here :) g'night all! [23:06] it would give me immense pleasure and peace of mind if I knew your thoughts [23:06] oh well, tomorrow then ;-) dnight [23:33] what is your program /