[01:06] <nlsthzn> *lurk*
[01:12]  * aveilleux rolls a 17. Spots nlsthzn!
[01:12] <nlsthzn> bugger!
[01:12] <nlsthzn> :p
[01:13] <nlsthzn> guess it could have been a natural 20 seeing as you have all night (please note I have never played and games that needed 20 sided dices)
[01:15] <aveilleux> nlsthzn: It would be a "take 20"
[01:15] <aveilleux> nlsthzn: a "natural 20" is when you roll 20 on an immediate check; it means flying success
[01:15] <nlsthzn> aveilleux: K... just remember my one friend always telling me about their games etc... I mostly just nodded :)
[01:15] <aveilleux> nlsthzn: A "take 20" means you take however long you need to do the job
[01:16] <nlsthzn> but thanks anyhow, knowledge is power
[02:09] <shahan> I am suffering too much with my ISP
[02:09] <shahan> its creating problem from the beginning
[02:42] <shahan> how to check the default eth I am using?
[02:48] <aveilleux> shahan: type "ifconfig"
[02:49] <shahan> aveilleux, http://paste.ubuntu.com/547848/
[02:51] <aveilleux> shahan: I'd say eth0, since eth1 doesn't show any transmissions
[02:52] <shahan> aveilleux, hmm
[02:53] <shahan> aveilleux, tnx
[03:01] <shahan> aveilleux, but the network manager says there is no connection but I can browse the net.
[03:01] <shahan> http://img375.imageshack.us/img375/1783/netmanager.png
[03:01] <aveilleux> shahan: It's probably not managing the connection.
[03:03] <aveilleux> shahan: http://ubuntuforums.org/showpost.php?p=6809436&postcount=8
[04:09] <Cheri703> is there an easy (or relatively easy) way to split a LONG text file into multiple?
[04:09] <zkriesse> Meaning?
[04:10] <zkriesse> Just take some of it and paste into a new text file?
[04:10] <Cheri703> well, I have an exported text file that has 862 separate recipes in it. trying to import into a different software, that is WAY TOO MUCH text for it to handle. I need to break it up into separate files. I don't want to go through it by hand if at all possible
[04:11] <Cheri703> groups of 20-30 might be manageable, even 50
[04:11] <zkriesse> yeah
[04:12] <zkriesse> Just copy and paste I guess
[04:12] <zkriesse> Seems like the most viable option
[04:12] <zkriesse> HI! nit-wit
[04:12] <Cheri703> :(
[04:12] <Cheri703> was hoping for some sort of batch editing thing
[04:13] <zkriesse> Not that I can think of off the top o' my head
[04:13] <nit-wit> zkriesse, hello
[04:20] <geirha> Cheri703: What's the format of the file?
[04:20] <Cheri703> geirha: .txt
[04:20] <geirha> Cheri703: How do you determine where a recipe begins and ends?
[04:21] <Cheri703> there is a +++ at the end and rpw------- at the beginning
[04:22] <geirha> Cheri703: A line containing only +++ signifies the end?
[04:23] <geirha> If so, this should output the 20 first;  awk '/^+++$/ && ++i == 20 {exit} 1' file.txt
[04:23] <Cheri703> ok
[04:23] <Cheri703> do I put that into terminal?
[04:23] <aveilleux> Cheri703: Yes, awk is a command-line utility
[04:25] <Cheri703> ok,thanks :)
[04:26] <Cheri703> it outputs: awk: /^+++$/ && ++i == 20 {exit} 1 awk:                            ^ invalid char '�' in expression
[04:26] <aveilleux> Cheri703: Did you just copy and paste? Don't do that.
[04:27] <Cheri703> ok, I dunno, never used awk :/
[04:27] <geirha> Argh, sorry, my bad
[04:27] <geirha> Hitting alt gr+space makes a non-breaking space instead of a regular space
[04:27] <aveilleux> Cheri703: You'll generally not want to copy and paste from chat, just in case things like this happen
[04:27] <Cheri703> well yeah
[04:27] <geirha> retype the space after }
[04:28] <Cheri703> ok
[04:28] <aveilleux> Cheri703: Not to mention accidentally copying newlines and such
[04:28] <geirha> I think it was when I upgraded to Lucid that alt gr+space suddenly started making nbsp; ... has given me loads of programming errors.
[04:29] <Cheri703> I know enough (I think) to recognize some of the potentially hazardous possibilities, and I only do it if I (at least vaguely) recognize the sn :)
[04:29] <aveilleux> geirha: Do you generally lean on the altgr key when you hit space?
[04:29] <Cheri703> sn = nick
[04:29] <Cheri703> whoa, that did stuff :)
[04:29] <Cheri703> can I make it output that into a file?
[04:30] <geirha> aveilleux: I need alt gr to type { [ ] }, so a space following one of those will often be coupled with alt gr
[04:30] <Cheri703> or just copy/paste from terminal?
[04:30] <geirha> If so, this should output the 20 first;  awk '/^+++$/ && ++i == 20 {exit} 1' file.txt > testfile.txt
[04:30] <Cheri703> k
[04:30] <geirha> Oops, forgot to remove the first part ^^
[04:30] <aveilleux> Cheri703: Just do an output redirect, like > filename.txt
[04:30] <Cheri703> kk
[04:31] <aveilleux> geirha: How strange. Non-English keyboard?
[04:31] <Cheri703> nope, that put them ALL in that file :(
[04:32] <geirha> aveilleux: Yeah, I should learn to use english layout ... at least for programming. Programming in norwegian keyboard layout requires alot of finger gymnastics.
[04:32] <geirha> Cheri703: Ok, are you absolutely certain there are lines containing only +++, no spaces or anything else?
[04:33] <Cheri703> yes
[04:33] <geirha> Hm. Maybe it has dos line endings.
[04:34] <geirha> head file.txt | cat -e   #  do you see any ^M ?
[04:35] <Cheri703> yes
[04:35] <aveilleux> Ahhh, that would do it
[04:35] <geirha> Ok, then it's a dos text file. The lines end in \r\n. In linux, they only end in \n.
[04:35] <aveilleux> Silly Windows and its not following standards
[04:36] <stlsaint> aveilleux: geirha is secretly linux guru ;) (nobody knows yet so sshhhhhhh)
[04:36] <Cheri703> it's a HORRIBLE program that exported them :( getting my mom set up in gourmet recipe manager
[04:36] <Cheri703> the old program looks like it's pre-windows 95
[04:36] <Cheri703> but it's been updated relatively recently, and it is absolute trash. :(
[04:36] <Cheri703> so she's excited for ubuntu and grm
[04:37] <geirha> Well, it doesn't matter. You just need to decide if you want to convert it to unix, or deal with it as is.
[04:38] <Cheri703> converting is completely fine
[04:40] <geirha> printf 'g/\r$/s///\nw' | ed -s file.txt    # that will edit the file in place, removing \r from the end of each line.
[04:41] <Cheri703> ok, cool
[04:41] <geirha> If you want to keep the original;  sed $'s/\r$//' file.txt > newfile.txt
[04:41] <Cheri703> eh, I have it saved elsewhere
[04:42] <Cheri703> that previous command still gave me all of them :/
[04:44] <geirha> grep -m1 +++ file.txt | od -An -tx1  # does that output 2b 2b 2b 0a  ?
[04:45] <Cheri703> 2b 2b 2b 0d 0a
[04:46] <geirha> Oh 0d is \r. It still has dos line-endings.
[04:48] <geirha> Oh, darn.   printf 'g/\r$/s///\nw\n' | ed -s file.txt
[04:48] <geirha> Was missing a \n.  ed is picky.
[04:49] <Cheri703> Woo!
[04:49] <Cheri703> so now how do I repeat for 21-40? and so on?
[04:49] <Cheri703> thank you geirha!
[04:49] <Cheri703> this will help a TON
[04:49]  * aveilleux must learn how to use sed and awk
[04:53] <aveilleux> and Arabic
[04:58] <Cheri703> not trying to be annoying, because you guys have been SUPER helpful so far :) but is there a way to continue the process for further groups of 20 or so?
[05:00] <bodhizazen> Cheri703, what process ?
[05:00] <bodhizazen> paultag, ping =)
[05:00] <Cheri703> I have join/part turned off, so I don't know when you came in, but geirha was helping me separate a massive text file into groups of 20 or so
[05:00] <aveilleux> Cheri703: awk '/^+++$/ && i = 20 && ++i == 30 {exit} 1' file.txt > output.txt
[05:01] <geirha> Cheri703: exec 3>outfile01.txt; i=0 n=20; while read -r; do printf '%s\n' "$REPLY" >&3; if [[ $REPLY = +++ ]] && ((++i % n == 0)); then exec 3> "$(printf "outfile%02d.txt" "$((i/n+1))")"; fi; done < file.txt
[05:01] <Cheri703> geirha: that will do groups of 20?
[05:01] <geirha> Yes, putting the first 20 into outfile01.txt, next into outfile02.txt etc
[05:01] <Cheri703> ok, AWESOME!!
[05:02] <Cheri703> thank you!
[05:17] <stlsaint> bodhizazen: yo yo yo
[05:19] <bodhizazen> hey stlsaint , how goes ?
[05:19] <bodhizazen> I have squid set up
[07:14] <Jason> hello
[07:17] <Guest89387> any smart folks want to help a linux beginner (me) figure out why ubuntu netbook 10.10 is giving me so many problems on my wife's netbook?
[07:17] <bioterror> !ask Guest89387
[07:17] <ubot2> Factoid 'ask Guest89387' not found
[07:17] <bioterror> damn
[07:17] <bioterror> !ask | Guest89387
[07:17] <ubot2> Guest89387: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)
[07:18] <mysteriousdarren> Guest89387: What is your problem?
[07:19] <Guest89387> ok. My wife has a toshiba nb305. I've already wiped win7 off of it and attempted to install ubuntu-netbook 10.10 on it 3 times (2 from USB and 1 from CD) it appeared to hang up both times with the usb, and took forever with the CD. I finally got it to boot off the hard drive, but it takes over 15 mins just to boot and performs incredibly slow.
[07:22] <mysteriousdarren> well i have a older toshiba and had alot of trouble with it. I went to use ubuntu 10.10 netbook several cds later I used a stripped down version of lubuntu 10.10
[07:22] <Guest89387> I had ubuntu on a desktop several years ago (installed by a friend who was very linux savvy) and it far outperformed windows on that platform. I expected the same difference on the netbook. Are my expectations too high, or did I do something wrong?
[07:22] <mysteriousdarren> did u test the cd before installing?
[07:23] <mysteriousdarren> or use the text based install?
[07:23] <Guest89387> yes. I checked the MD5 on the .iso file, and used the verify function on the burning software. Not sure how to verify beyond that tho
[07:24] <mysteriousdarren> well check the disk when it boots up?
[07:24] <bioterror> hmmm
[07:25] <mysteriousdarren> sometimes the builds are bad, and its just the fact of installing another one, ive downloaded several bad builds
[07:25] <bioterror> nope
[07:25] <bioterror> you're feeding fud now
[07:25] <bioterror> problem is that toshiba
[07:26] <mysteriousdarren> well in my experience that is what happened. No i am not spreading fud that is a simple fact. bioterror what do u recommend?
[07:27] <bioterror> I recommend trying out Natty Alpha 1 or something like that
[07:27] <bioterror> which has a newer kernel
[07:27] <aveilleux> Toshiba laptops have a lot of problems with Ubuntu
[07:27] <bioterror> and then I suggest to throw that piece of garbage out of window or using windows :-)
[07:28] <Guest89387> damn. The main reason I wanted to switch is cause they loaded the thing with win7 for some reason. I dont understand why they wanna put such a resource hog OS on a machine designed to be light on power.
[07:28] <Guest89387> ran slow with win7, was hoping for better results on Ubuntu. Bio, what's Natty Alpha 1?
[07:28] <mysteriousdarren> true, I installed backtrack4 r2 to mine and it worked like a charm if u like kde, windows? why would u ever want to use it unless you had to, or gaming. what are the specs?
[07:29] <bioterror> Guest89387, next version of ubuntu
[07:29] <aveilleux> Guest31799: Have you tried the desktop version of Ubuntu, or anything lighter? Netbook remix is surprisingly heavy,
[07:29] <aveilleux> .
[07:29] <Guest89387> I use windows on my laptop because I play games when I'm in the desert, but she just browses and such, so linux is fine for her. Hence the change.
[07:29] <Guest89387> aveilleux, no. Assumed netbook would be lighter.
[07:29] <bioterror> Guest89387, http://cdimage.ubuntu.com/releases/natty/alpha-1/
[07:30] <aveilleux> Whoops. Wrong guest number
[07:30] <bioterror> worth of try
[07:30] <mysteriousdarren> bioterror did you try it?
[07:30] <aveilleux> Guest89387: You'd think that, but no.
[07:30] <bioterror> mysteriousdarren, I checked forums
[07:30] <mysteriousdarren> ubuntuforums?
[07:30] <bioterror> mysteriousdarren, but I'm running 32bit natty on my laptop and I've got no probs
[07:30] <UndiFineD> bioterror, I would not recommend natty yet
[07:30] <UndiFineD> because I can run it, does not mean everyone can
[07:31] <bioterror> no probs with i686 :D
[07:31] <mysteriousdarren> I am sorry but I have to agree. I was not stable enough for my toshiba
[07:31] <UndiFineD> Guest89387, instead of ubuntu netbook edition, why not try alternatives
[07:32] <UndiFineD> !alternatives
[07:32] <ubot2> To change the default applications system-wide, use 'sudo update-alternatives --all' in a terminal.
[07:32] <UndiFineD> huh
[07:32] <Guest89387> thanks everybody. I'll give 10.10 desktop a try, if I still get no love, I'll try natty.
[07:35] <bioterror> oh
[07:35] <bioterror> he might want to change some sata settings in BIOS ;)
[07:35] <mysteriousdarren> yup, bio can we talk in chat?
[07:36] <mysteriousdarren> private?
[07:36] <bioterror> we can talk on -team
[07:38] <mysteriousdarren> -team?
[07:39] <aveilleux> mysteriousdarren: #ubuntu-beginners-team
[09:52] <Tbruff13> yes can i have some help
[09:52] <Tbruff13> with changing portiaons on gparted
[09:53] <hobgoblin> what's the issue?
[09:54] <Tbruff13> i just finised a duel boot i have used gparted to get rid of windows
[09:55] <Tbruff13> i need help how do i move my free space
[09:55] <hobgoblin> booted with the livecd? or a partition editor as a livecd?
[09:56] <Tbruff13> no i had a duel boot with wubi i got rid of windows after installing gparted on ubuntu
[09:58] <Tbruff13> hello
[09:59] <hobgoblin> you had wubi and deleted windows?
[09:59] <hobgoblin> or you had wubi delted windows and reinstalled ubuntu?
[10:01] <bioterror> nope
[10:02] <bioterror> he booted wubi and wants to remove indows to get moar space
[10:02] <bioterror> why not just install from a cd or usb stick
[10:02] <bioterror> that sounds so complicated
[10:02] <hobgoblin> then wubi has to be moved to a real install and then delete windows ...
[10:02] <bioterror> mmmm
[10:02] <bioterror> :D
[10:03] <hobgoblin> gone anyway ...
[10:08] <iTV> help i screw up my dual boot after the ubuntu 10.10 update
[13:16] <_H> hi
[13:16] <_H> anyone know if you can use blackberry messanger or talk to people on blackberry messanger without owning a blackberry?
[13:30] <Puck`> well _H, can the blackberry messenger be installed on some any other phone os? (:
[13:30] <_H> puck pidgin?
[13:30] <Puck`> _H: I never owned a blackberry phone so i have no clue if it uses it's own protocol or not ..
[13:31] <bioterror> haha
[13:31] <bioterror> own stuff
[13:31] <bioterror> BlackBerry® Messenger is an instant messaging app just for BlackBerry® smartphone owners. With a chat style layout, and unlimited characters, BBM™ makes it easy to share with the people who matter.
[13:31] <bioterror> I dont matter
[13:31] <bioterror> :D
[13:31] <bioterror> my phone has MSN Messenger and Skype
[13:31] <bioterror> and IRC!
[13:32] <Puck`> well yeah, and gtalk
[13:32] <Puck`> :P
[13:46] <duanedesign> hello Puck` bioterror
[13:47] <duanedesign> hope you both had/having a wonderful holiday
[13:51] <Puck`> duanedesign: *bows*
[13:51] <Puck`> yeah i did, i'm finally home with my family in romania (:
[13:54] <bioterror> I'm at work atm :D
[13:54] <bioterror> 6mins and I'm off
[13:54] <bioterror> but I think I should go and buy a trackball mouse
[13:54] <bioterror> I've bee wanting one for long
[14:09] <duanedesign> bioterror: ahh. Yes. trackball mice are nice. IMHO :)
[14:10] <bioterror> logitech mx570 is interesting :D
[14:12] <duanedesign> iti had a kensington, kinda like http://tinyurl.com/26uc45s
[14:13] <duanedesign> and a logitech kinda like, http://tinyurl.com/25chh3j
[14:14] <duanedesign> two really different designs. I seem to remember not really having a preference
[14:14] <bioterror> that logitech looks better
[14:15] <bioterror> logitech m570 is interesting, but I would prefer USB cable over some bluetoothstuff
[15:47] <shahan> Need help from internet connection expert for 10MB/s. full duplex mode connection for getting connected on maverick
[15:48] <jdeslaur> what happens if you set it to auto?
[15:48] <shahan> jdeslaur: it connects and disconec
[19:16] <kristian-aalborg> holstein: ping
[19:17] <kristian-aalborg> not to make you responsible for my messed up sound ;)... but re. your suggestion that there is a conflict about "being default card"
[19:18] <kristian-aalborg> cat /proc/asound/pcm says "1" for both cards - do you think it should be interpreted as being said conflict?
[19:21] <holstein> kristian-aalborg: plausible
[19:22] <holstein> id probably try and get an alsa guy to confirm that
[19:22] <holstein> i not the best at interpreting that info
[23:03] <kristian_> hi ppl
[23:04] <kristian_> I borked my grub
[23:07] <swoody> kristian_: hello :) is it giving you any error messages?
[23:09] <kristian_> hi swoody
[23:13] <swoody> kristian_: Do you have an Ubuntu liveCD you can use? The simplest fix I've found for most grub issues is to reinstall grub
[23:13] <swoody> it's outlined nicely here: https://help.ubuntu.com/community/Grub2#Reinstalling%20GRUB%202
[23:16] <nit-wit> kristian_, how did you bork it per say
[23:18] <kristian_> hi nit-wit
[23:18] <kristian_> sorry, was reading up on it and getting advice
[23:19] <nit-wit> kristian_, hi have you fixed the grub
[23:20] <kristian_> not really ;)
[23:20] <kristian_> swoody, I'll have a look at that link
[23:20] <nit-wit> kristian_, I use the booyscript to get to the bootom of this sort of stuff have you done this before
[23:21] <nit-wit> *bootscript
[23:22] <nit-wit> kristian_, here is a link to the script and instructions it may help you personally but you can rub it and pastebin for us to looks at.http://bootinfoscript.sourceforge.net/
[23:22] <nit-wit> *rub=run
[23:23] <kristian_> nit-wit, I have been fighting grub before, but never spent more time with it than I was forced to ;)
[23:24] <kristian_> I may or may not have partially fixed something... bbl
[23:33] <kristian2> hi, I somewhat fixed it :)
[23:35] <nit-wit> kristian2, okay what was the problem
[23:35] <kristian2> I dunno... I just kept trying things
[23:36] <kristian2> grub is one of the things I doubt I'll ever fully comprehend
[23:36] <nit-wit> kristian2, that will do it you, you, rebel.:)
[23:37] <nit-wit> kristian2, only a few do but there are some basics that are pretty easy.
[23:40] <kristian2> yes, I learn a bit about it each time
[23:41] <kristian2> so I'm not totally clueless like a few years back... but I don't speak grubbish fluently either ;)
[23:42] <bodhizazen> LOL grub 2 is not *too* bad, but it is more complex then it needs to be, and IMO need a graphical front end
[23:42] <bodhizazen> Basically you tell your machine
[23:42] <bodhizazen> 1. What partition to use as root
[23:42] <bodhizazen> 2. what kernel to boot
[23:43] <bodhizazen> 3. what initrd to use, if any
[23:43] <aveilleux> bodhizazen: Startup Manager can do some of that
[23:43] <bodhizazen> You repeat the root partition again in the kernel line, lol
[23:43] <bodhizazen> Oh, cool
[23:43] <bodhizazen> have not tried it recently
[23:44] <flourishing7> Merry Christmass
[23:44] <swoody> glad to see they've updated it, when I was using it when grub2 first came out on Ubuntu there was very little support for startupmanager
[23:45] <flourishing7> Hi, using ubuntu 1010 - I have update keyring problem:
[23:45] <ubot2> Ubuntu bug 1010 in drivel (Ubuntu) "out-of-date (heat: 1)" [Medium,Fix released] https://launchpad.net/bugs/1010
[23:45] <flourishing7> GPG error: http://extras.ubuntu.com maverick Release: The following signatures were invalid: BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <ftpmaster@ubuntu.com>
[23:45] <flourishing7> W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/maverick/Release
[23:45] <aveilleux> !pastebin | flourishing7
[23:45] <ubot2> flourishing7: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.
[23:45] <bodhizazen> kristian2, this page goes through grub2 =)
[23:45] <bodhizazen> https://help.ubuntu.com/community/Grub2
[23:46] <flourishing7> Thank you, Do you know how I can fix the keyring problem
[23:46] <aveilleux> flourishing7: Here's your solution, though. Open Terminal and type in: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 3E5C1192
[23:48] <nit-wit> bodhizazen, I love grub2 lfe just makes sense now.:)
[23:48] <nit-wit> *life
[23:49] <bodhizazen> LOL
[23:49] <nit-wit> bodhizazen, a little os-prober it's painless really
[23:50] <nit-wit> if every thing is there though
[23:50] <bodhizazen> nit-wit, grub2 is painful when os-prober faile =)
[23:51] <nit-wit> bodhizazen, argh thats when we be bringun out the bootscript
[23:53] <flourishing7> aveilleux -  the result for the keyring command is at: http://paste.ubuntu.com/548094/
[23:54] <aveilleux> flourishing7: Weird. Run an apt-get update.
[23:54] <aveilleux> sudo apt-get update
[23:57] <flourishing7> aveilleux: the result for sudo apt-get update is at: http://paste.ubuntu.com/548095/
[23:58] <aveilleux> flourishing7: http://www.uluga.ubuntuforums.org/showpost.php?p=10278181&postcount=9