/srv/irclogs.ubuntu.com/2010/12/11/#ubuntu-uk.txt

kaushalHi00:55
kaushalI have Dell Laptop A860 Core2 Duo wishing to install Ubuntu 10.1000:55
kaushalis it better to go with 32 Bit or 64 Bit01:04
hamitronif you intend to install on a system with 4Gb or more ram, often better on 64 bit01:09
hamitronalso need to check your cpu supports it01:14
kaushalI have lm flag in cpuinfo01:15
kaushalthe Video RAM is shared in system Memory01:16
kaushalright ?01:16
hamitronI believe so01:17
hamitronI'd guess 32 bit is best looking at google01:17
hamitronbut in terms of selecting 32/64 bit, shared video memory is of no worry01:18
kaushalok01:18
kaushalhamitron: bit confused01:18
hamitron32 bit is able to used upto 4Gb RAM01:19
hamitronuse*01:19
kaushalat the moment I am running 32 bit OS01:19
hamitronI'd stick with 32 bit then01:19
hamitron:)01:19
kaushalso it shows only 3.4 Gigs RAM01:19
kaushaland 600mb is lost01:19
hamitronoh01:19
hamitronwell, you will gain some memory by using 64 bit then01:20
kaushalyes01:20
kaushalsince Video is consuming 256 mb ram01:21
kaushalcat /var/log/Xorg.0.log | grep -i RAM01:21
kaushalso out of01:21
kaushal3.4 Gigs 256 is used by Video RAM01:22
hamitronI've never been lucky enough to have that much RAM :)01:23
n1md4kaushal: aptitude search `uname -r`-bigmem I think...02:00
n1md4...or the pae extension.02:00
Azelphurhttp://hacknmod.com/hack/100-software-based-arduino-simulator/02:02
Azelphur:O02:02
Azelphurif it doesn't have a Linux version I'm going on a killing spree02:02
Azelphurno Linux, failed.02:03
hamitronAzelphur: doesn't it destroy the point of the board?02:03
dutchieAzelphur: ah, just the man02:03
Azelphurhamitron: *shrug*02:03
Azelphurdutchie: I'm the man?02:03
dutchieAzelphur: did you say you had l4d2/steam running ok under wine?02:03
Azelphuryup, use it every day02:04
dutchieany fiddling to tell me about?02:04
Azelphurnothing besides fonts no02:04
dutchiefonts?02:04
hamitronmscore things?02:05
Azelphurdutchie: the default font that wine uses looks really bad02:05
Azelphurso you need tahoma.ttf and arial I think02:05
AzelphurI just copy and pasted all my windows fonts into wine :D02:05
dutchiei no longer have any windows fonts02:05
Azelphurbut yea besides that it should still work02:05
Azelphurunless your using ATI02:06
dutchiethanks02:06
dutchienope, intel02:06
Azelphurin which case...your screwed!02:06
Azelphuryour very screwed.02:06
Azelphurnvidia > ati > intel a handy guide to Linux gaming02:06
AzelphurI've never got anything at all to work on intel xD02:06
dutchieyay02:06
hamitron:/02:06
dutchiethis will be fun02:06
Azelphurindeed02:06
Azelphurtry it by all means but I'm not hopeful02:06
Azelphurintel integrated graphics for gaming?02:07
Azelphurdutchie: why not pick up a cheap graphics card02:07
* hamitron made his sister get nvidia graphics in her laptop so he can buy it off her later ;)02:07
Azelphurhaha02:07
dutchieAzelphur: laptop \o/02:08
Azelphurah \o/02:08
hamitron:\02:08
* Azelphur made special care that his laptop had an nvidia card in it02:08
dutchie<-- glutton for punishment02:08
Azelphurhehe02:08
AzelphurIntel/ATI are best for desktop use because of the open drivers02:08
Azelphurbut for gaming in wine, the nvidia proprietary drivers are pretty much the only way to go02:09
hamitronI am still tempted to get some intel one02:09
Azelphurtry it though, it has been a while, maybe you'll get lucky02:09
hamitronjust for reason Azelphur said02:09
hamitron:)02:09
Azelphurhehe02:09
* dutchie is about to try it02:09
hamitronAzelphur: but about the arduino...02:10
hamitronsurely the whole point is to build something with it?02:10
Azelphurtrue but it'd be good for prototyping or people that don't have the money to get an arduino02:10
hamitronguess so02:11
hamitronjust didn't want you getting lazy ;)02:12
mhadping03:24
mhadping raax.com03:24
mhadexit03:24
skybinarywhat can i do to hide the cursor when using ffmpeg x11grab for a screen-cast ?06:21
MartijnVdShttp://stackoverflow.com/questions/660613/how-do-you-hide-the-mouse-pointer-under-linux-x1106:41
MartijnVdShttp://www.ibiblio.org/pub/X11/contrib/utilities/unclutter-8.README :)06:42
exobuzzMartijnVdS, cept that doesnt seem to work when i tried it recently06:45
exobuzzcould have been me though.06:46
exobuzzaah sorry it works. but i remembered wrong.. i had a different use case, where i wanted no mouse pointer whether its moved or not.06:48
skybinarythanks MartijnVdS , i found that link its doesnt seem to be an easy task to hide the cursor07:02
MartijnVdSeasiest way is to screencast only part of the screen and keep the mouse outside that area :)07:03
skybinaryit would be nice to have a compiz macro to hide the cursor, just like the one to show sparkles07:03
skybinaryin windows i could replace all the cursor icons with blanks07:12
skybinaryi just tested using another cursor theme and in the resultant video that theme is not recorded, just the basic pointer is there07:13
MartijnVdSWayland should make this easier ;)07:29
Phineasi am back at this early hour08:13
Phineaseveryone seems to be asleep this morning08:18
Phineashow come my vurtual box makes ubuntu run slowly sometimes08:19
kaushalcan someone please guide me to install Flash on firefox 64 Bit, I am on 10.10 64 Bit08:28
_Hevery time I use skype I have to agree to the t&c again08:32
Phineashow come my vurtual box makes ubuntu run slowly sometimes08:41
Phineasfire fox sometimes says the server is taking too long to respond but when i press refresh it seems to work, is this a bug08:46
Phineas?08:48
Phineashi everyone08:57
AlanBellmorning all08:58
PhineasAlanBell,  morning08:59
ryan_Good morning everyone09:00
Phineasryan_,  morning09:00
AlanBellPhineas: you need to provide more information when asking questions09:01
AlanBellinstead of " how come my vurtual box makes ubuntu run slowly sometimes"09:01
PhineasAlanBell,  how come my vurtual box makes ubuntu run slowly when the vurtual matchine is not doing much09:03
AlanBellI have a desktop/laptop with xGB of memory and processor Y it is running Ubuntu version foo and N virtualbox guest sessions, each running operating system bar and having bas GB of ram assigned. I timed a particular operation and it took this long with the VM running and that long with it stopped.09:04
AlanBellfill in the blanks09:04
AlanBelland what is the HDD light doing09:05
alexcckllHi all...09:12
alexcckllCan anyone shed light on what is going on with Systems Updates at the moement?  I've tried twice - and had to abort as the "Check" phase failed twice...09:12
PhineasAlanBell,  I have a laptop with 80GB of memory and Intell pentimum dual-core cpu it is running ubuntu (the latest) and vurtual box ose guest sessions, each running operating system wondows xp  and having 993.0mb of ram (out of 1Gb of ram) assigned. I timed a particular operation and it took about 3mins with the vm running and 30secs with it stopped. the hdd light is blinking (fast)09:13
alexcckllAfter getting that to run successfully on third attempt - the "Install" phase had to be cancelled out (Obviously, i told my computer not to continue applying anything until the Update manager process runs cleanly)09:13
Phineasby memory thats hdd space09:14
alexcckllI had 36 updates to collect, pulled 35 of tem.. but the 36th stopped dead in its tracks... while waiting of rit to download09:14
ryan_phineas, can you run 'free -m' both when the vm is running and when it's stopped ? This will show whether the hdd activity is due to memory swapping09:15
Phineasryan_,  no idea what free -m is09:15
alexcckllWhy are my Systems Updates not coming down cleanly?09:16
Phineasalexcckll,  i notaced that09:16
alexcckllHas there been a major release?09:16
ryan_phineas, apologies/ You need to open a terminal window (accessories - terminal) and type free -m in that09:17
Phineasryan_,  no vm running less then a seccond09:17
alexcckllOr should I attempt updates midweek rather than at the weekend?09:17
AlanBellPhineas: you have 1GB of physical ram and you assigned 993MB to the guest?09:17
PhineasAlanBell,  i think so09:18
AlanBelland you see no issue with that09:18
ryan_phineas, you could also try running vmstat 5 300. If you see large numbers under the si and so columns it means your ubuntu computer is swapping. It appears you have assigned too much vm memory (993 M) when your ubuntu machine only has 1000M09:18
AlanBellthere are 1024 MB in a GB09:18
ryan_phineas, that would only leave ~ 18MB for your ubuntu os. Hence the use of the swap memory09:19
AlanBellyou have left 31MB for the host09:19
Phineasryan_,  during the vm running free -m took about a seccond09:20
PhineasAlanBell,  yeah and its 'skippy09:20
AlanBellPhineas: try changing the ram allocation to the guest to around 400MB09:21
PhineasAlanBell,  ubuntu that is, well sometimes it is and sometimes it isn't09:21
PhineasAlanBell,  forgive me i just booted the vm09:21
PhineasAlanBell,  hum thats is weird my copy of windows did not pass validation09:24
ryan_AlanBell, I do stand corrected. There are indeed 1024MB in 1 GB.09:24
ryan_phineas, when you run free -m, what does the total swap and used swap values say ?09:24
Phineasryan_,  5 (no vm) 267 (with vm09:25
ryan_Sorry, what do the numbers 5 (no vm) 267 (with vm) refer to ?09:26
dwatkinsGB vs GiB09:26
Phineasryan_,  amount of swap in use09:27
AlanBellPhineas: if you give almost all your ram to the guest the host will have none left, does this make sense?09:27
PhineasAlanBell,  yes09:28
AlanBellso don't do that!09:28
dwatkinsor get more RAM09:28
ryan_phineas, thanks for that. You should try to use less memory assigned to your vm guests. If you run 1 guest, I would suggest 512 MB. If you run 2 I would suggest 256MB each09:28
alexcckllI seem to recall when we used VMWare on Linux boxes at work - the boxes were really loaded for bear... and the guests had about 400Mb each09:29
ryan_phineas, that way your host ubuntu OS will have enough memory to run without resorting to writing to and from the swap partition. Swap partition access is always slower than physical memory access hence the performance issue you are seeing09:30
Phineasoh ok09:30
ryan_phineas, the ideal situation would be to put more RAM in the box because if you assign too low a memory to your guests then they may themselves start to swap. Does this make sense ?09:31
Phineasryan_,  yeah but i only have 1GB of physical ram09:32
alexcckllOh - also probably a good idea to have swap on a different spindle to the VMs themselves..09:32
ryan_phineas, as a starting point I would suggest trying to run 1 guest only with 512MB of memory assigned to it. Can you let us know if you see the same issue when you do this ?09:33
alexcckllUmm - folks... any light shed on the Update Manager issue this morning?09:34
Phineasryan_,  will do when i get round to doing it09:34
dwatkinsI upgraded my host to have 8 GB of memory just to be able to run more than 1 vm09:34
ryan_phineas, I've run windows xp guests with 512MB assigned in a host with 1GB a few years back so you should be fine09:35
alexcckllbrb09:35
ryan_dwatkins. How many guests do you run with that 8GB ?09:36
Phineasoop everything just sped up when i hit shutdown09:36
dwatkinsryan_: I only just did the upgrade, but at least 2 or 3, I'm sure.09:37
ryan_Great. I bet you have a meaty processor to go with all that memory too ;o)09:37
dwatkinscore i709:38
dwatkinsI work with server software and need to reproduce customer environments.09:39
popeymorning ratfans09:45
Phineaspopey,  morning09:56
AlanBellPhineas: did changing the ram allocation to the guest fix it?09:58
PhineasAlanBell,  havn't tried yet09:58
AlanBellissyl0 is off doing awesome stuff again http://rewiredstate.org/events/dotgovlabs_weekender10:11
=== thunder is now known as Guest25977
Phineas2 peope don't have a nick in here10:17
AlanBellwhat do you mean?10:18
PhineasAlanBell,  2 people are knowen is guest10:20
AlanBellyeah, that is fine10:21
* Phineas has just found something he wants for his birthday in 3 days time10:24
MartijnVdSA pony?10:25
PhineasMartijnVdS,  nope, a Phineas and Ferb T-shirt and some other stuff10:26
Phineaswhich is cool10:27
PhineasMartijnVdS,  and nah i don't want a pony10:29
nigelbI think you folks will find this one funny :) http://notalwaysright.com/accentuating-the-problem/885110:32
issyl0AlanBell: oh thank you :)10:32
Apacheukhas the UbuntuOneMusic store had an upgrade recently, seems very fast this morning?10:34
MartijnVdSApacheuk: everyone who's on natty has broken u1ms.. maybe that's speeding it up? :)10:34
ApacheukMartijnVdS, could be.... either way I like it :)10:36
MartijnVdStime for some more GT5ing :)10:37
MartijnVdSAny other PS3/PSN users in here?10:37
nigelbAlanBell: heh, we all know issyl0 is awesome ;)10:37
ApacheukMartijnVdS: am trying to convince my wife I NEED a PS3 for Christmas10:37
MartijnVdSApacheuk: It's one of the cheapest blu-ray players10:38
MartijnVdSApacheuk: need more convincing? :)10:38
ApacheukMartijnVdS: she does..... I already have a X360, Wii and a Blu-ray player.... any other suggestions?10:39
ApacheukI have to say I love the Rhythmbox integration  to the notification area in 10.1010:40
PhineasApacheuk,  i don't10:41
ApacheukPhineas: reasons?10:42
PhineasApacheuk,  don't use rythembox10:42
ApacheukPhineas: OK, good reason :)10:42
daubersMorning10:44
czajkowskialoha10:45
Phineasorning10:45
Phineasmorning10:45
Apacheukhello10:47
bigcalmHi10:47
Phineashi10:47
issyl0nigelb: aww :)10:53
daubersBah, python still building according to Ubuntu+1 :(10:59
=== denny- is now known as denny
a931bwwho'sfrom UK?11:03
Phineasnot me11:05
Phineasa931bw,  what do you want to know about the uk (even tho i don't live in the uk)11:07
a931bwregistering somewhere and there is : half of your password will be sent by text message to this phone11:08
a931bwits UK only11:08
a931bwi though maybe someone could help11:08
Phineasa931bw,  well one of my friends lives in the uk11:09
a931bwcould he help?11:09
Phineasa931bw,  yeah11:09
a931bwwhats his name?11:10
Phineasa931bw,  nick?11:10
a931bwyeah11:11
Phineasa931bw,  he is Heinz_Doofensmirz (on irc11:11
a931bwhe's not on?11:12
Phineasa931bw,  he will be soon11:12
Phineasthere he is11:13
Heinz_Doofensmirm11:13
Phineasa931bw,  he is on now11:14
Phineasa931bw,  did he help11:21
a931bwyes11:21
Phineasa931bw,  good to here that11:22
Phineasl11:23
Phineask11:23
Phineasi'm starting to run out of ideas on what to do on the computer]11:59
Phineasany ideas?12:05
ApacheukPhineas: Have you tried sitting on it? :)12:05
PhineasApacheuk, thats not fun12:06
Apacheukerm....12:06
Apacheukwhat do you normally do on it?12:07
PhineasApacheuk,  youtube play games12:08
jacobwread up on an interesting subject on Wikipedia12:16
Phineasdone that12:18
daubersPhineas: Triage some bugs12:22
Phineastyiage12:23
* daubers ponders a brie and ham snadwhich12:29
UndiFineDhug-a-bug :)12:29
daubersYou know when you have a moment of sudden realisation about things... I've suddenly realised why I've struggled so much learning to program in various languages12:56
daubersreally really wish the odd bits of tuition I had weren't of the order of "In VB you need to do this to make the GUI refresh" or "We do this here and this here to do this" and more of the "This is a class, it's a definition of an object"12:57
daubersHaving now gone back and tought myself all those more abstract bits, every language seems to make a lot more sense12:58
MartijnVdSMeta-knowledge :)13:07
AlanBellteaching vs training13:29
AlanBellhttp://beta.ubuntu-uk.org/ page peel :)13:33
popeyAlanBell: i think we should just make the site live13:35
popeyand then ask people to help fix stuff :)13:35
daubersAlanBell: Psychodelic!13:42
MartijnVdSpsychodalek!13:43
daubersHAH!14:08
MartijnVdS?14:08
daubersStartup this weeks podcast, and from the other room I hear yelled "GEEK TIME" as the the song starts14:08
MartijnVdShaha14:08
AzelphurI'm having a problem with my joggler running ubuntu 10.10, http://pastebin.com/MWAUCjGy14:14
Azelphurlook at line 832 to 84014:14
Azelphurit's remounting / as read-only, so I can't do much.14:14
AlanBelldaubers: it is a bit loud14:14
AlanBellI failed in my various attempts to do it tastefully and neatly14:15
AlanBellso decided to go the other way and invite someone else to do it better14:15
daubersHeh :)14:15
ali1234Azelphur: drive has a bad block in the journal. tbh you're lucky it works at all...14:18
_Hcan I encrypt my home folder with aes256 and unmount it automatically on log out and mout at log in?14:18
Azelphurali1234: so it's a physical fault?14:18
MartijnVdS_H: when you install Ubuntu there's an option to encrypt your home folder14:18
_Hhttp://www.linux.com/archive/feed/5282014:19
ali1234yes14:19
Azelphurali1234: it's a microsd in a usb reader, think it's card or reader?14:19
Azelphuror no idea14:19
ali1234card14:19
_HI saw this see and I don't know how to take away the encryption14:19
Azelphurrighto14:19
_HI don't know the encryption standard14:19
ali1234end_request: I/O error, dev sda, sector 4067136 - this is the sector which failed14:19
_Hthat's why I want to use aes25614:19
MartijnVdS_H: "take away the encryption"? what do you mean>14:20
_Hthe home folder is encrypted14:20
jpds_H: Cool.14:20
MartijnVdSyes, and it's unlocked on login and re-locked when your last sessions logs out14:20
_Hyes14:21
MartijnVdSso what's the problem?14:21
_Hthat's what I want to do. but I want to use encryption standard aes25614:21
_Hyes it may be slower but its unbreakable14:21
_Hnearly*14:22
jpds"unbreakable" - debatable.14:22
daubersHah! "Very difficult to break" yes, unbreakable..... not convinced14:22
MartijnVdS_H: http://blog.dustinkirkland.com/2009/06/migrating-to-encrypted-home-directory.html14:22
jacobwunbreakable within practical paramteres :)14:23
_Hhttps://secure.wikimedia.org/wikipedia/en/wiki/Advanced_Encryption_Standard14:23
MartijnVdSit don't know if you can set the cypher using ecryptfs-setup14:23
_Hit'd get me 9 months in prison for not giving the codes over14:24
daubers_H: Things are only unbreakable until modern computing catches up in speed terms to brute force them.14:24
MartijnVdSapparently AES256 is the default when using encrypted home already14:24
MartijnVdS_H: Enough torture and you'll give them your password :)14:24
daubersThe lead pipe attack almost always works :)14:24
daubershttp://xkcd.com/538/14:25
OmNomSequiturDoes Ubuntu 10.10 have TRIM support?14:30
jpdsOmNomSequitur: Yes.14:30
OmNomSequiturDoes Ubuntu 10.10 have DVD playback support?14:37
BigRedSI don't think it does 'out of the box'14:38
BigRedSyou need to enable the non-free repositories14:38
OmNomSequiturAh.14:38
MartijnVdSbut it's easy to install14:38
BigRedS(free as in freedom - they don't cost anything, they just don't let you alter them)14:38
OmNomSequiturWhat about Blu-ray support?14:38
MartijnVdSI think it can play unencrypted DVDs out of the box14:38
MartijnVdSblu-ray is harder14:38
BigRedSI've no idea. I've still never seen a real-life blu-ray :)14:38
OmNomSequiturYou don't have a PS3? :O14:38
BigRedSno, the only games console I've got is my mega drive14:39
BigRedSMega Drive > PS314:39
BigRedSor so I tell myself14:39
domjohnsonWhich linux commands would you say need a GUI frontend?14:40
OmNomSequiturYou can't decode h.264 with a Mega Drive.14:40
OmNomSequiturBelieve me, I've tried.14:40
BigRedShaha14:40
OmNomSequiturdomjohnson, the answer would be "nothing", in theory.14:41
OmNomSequiturThe GUI should just be a front-end for the CLI.14:41
jacobwI would have thought the GUI is more a tool for people who don't know exactly what they want to do, but the CLI is a tool for people who already know exactly what they want to do14:45
jacobws/but/whereas14:45
BigRedSjacobw: there's several GUIs I use where I know exactly what I want to do14:48
BigRedSI don't believe the whole "GUIs are never as good as CLIs" line at all. There's no reason a GUI couldn't have the same advantages as a CLI14:50
ali1234yes there is14:50
BigRedSwhat's that reason?14:50
ali1234scripting a GUI is overcomplicated and requires the GUI to be specially coded in the first place14:50
popeypipes14:51
popeyand redirection14:51
popeytwo reasons alone for not using GUIs14:51
ali1234right, you can't make a log from a GUI14:51
AlanBellgimp14:52
ali1234you can't explain to people how to use it without screenshots etc14:52
AlanBelland inkscape14:52
popeyText mode gimp14:52
popeyGo north 10 pixels14:52
popeypen down14:52
popeyactually, that's logo :)14:52
AlanBellthere actually is a cli interface to gimp14:53
ali1234the choice between CLI and GUI is almost always an obvious one14:53
ali1234there is no way you can say one is better than the other, or even that they are equal14:53
popeyi can understand GUI for creative tasks14:53
BigRedSYou could do redirection in a GUI, though it'd probably be clumsy. But there's no reason you couldn't script a GUI in the same way as you script, say, Gimp or Office14:53
popeygraphics and audio for example14:53
ali1234scripting in gimp and office is over complicated and bears to tresemblance to normal usage of the program14:54
popeywell, indeed, the mac has Automator built in for exactly taht14:54
ali1234scripting the CLI is identical to using the CLI14:54
BigRedSwell, basic scripting is14:54
BigRedSmost people don't have loops in normal usage and the like. but if you're going to be scripting productively, you're going to be learning how to do that14:55
ali1234the other great thing about the CLI is it hasn't changed in 20 years, unlike UIs, which for some reason have to be totally redesigned every few years to look fashionable, and then everyone has to relearn it14:55
BigRedSbut there's no reason a GUI wouldn't have a way of sticking a bunch of tasks in for, while, find etc. loops.14:56
ali1234you miss the point14:56
ali1234a GUI can only do that if the author of the program spent time to actually create it14:56
BigRedSyeah14:57
BigRedSas in, if they bothered to make a good GUI14:57
ali1234which 99.99% of developers will never do14:57
popey(they do on OSX) :)14:57
BigRedSI've not tried to say there *is* a good GUI. Just that the crap GUIs are crap because they're crap, not because they're GUIs.14:57
ali1234this just proves the point that it is easier to make a good CLI than to make a good GUI14:57
BigRedSBut, say, AD is a pretty good GUI for what it's doing, and it has good text-based tools for when that's what you're after14:57
ali1234what is AD?14:59
BigRedSMS Active Directoryu15:00
BigRedSI say 'good', I mean 'workable'15:00
ali1234never used it15:00
daubersBigRedS: Urgh, AD's gui is horrid. Open Directories is much nicer15:00
ali1234closest i got to it was the permissions GUI on win2k, which is an abomination15:01
BigRedSOK, so that's a better ldap-y gui :)15:01
ubuntuuk-planet[Matt Daubney] Training vs Teaching - http://daubers.co.uk/2010/12/11/training-vs-teaching/15:10
ali1234the problem is that learning the theory of programming is extremely hard if you don't have anything to relate it to15:18
BigRedSyeah, I've had way more trouble getting the hang of oop than I should have done because I kept reading the theory and not just writing the code15:19
ali1234oop in particular is something that only really clicks when you have already encountered the problem it is designed to solve15:19
BigRedSyeah, that was my problem. Only about three weeks ago I basically looked up and went "Aha!", as it just made sense15:20
BigRedSthat was awesome.15:20
ali1234if you learn the theory of oop and try to apply it without the necessary experience, you end up with code that is just as bad as if it did not use oop at all - with hundreds of pointless classes and lots of abstraction for no reason15:20
MartijnVdSali1234: it helps if you have someone around who can set a good example :)15:20
MartijnVdShttp://c2.com/cgi/wiki?PrinciplesOfObjectOrientedDesign :)15:20
ali1234yeah see, that page does not actually teach you anything, it's just a bunch of complicated words...15:22
MartijnVdSali1234: unless you start reading the linked pages15:22
MartijnVdSali1234: things like "law of demeter"15:22
ali1234"Each responsibility should be a separate class, because each responsibility is an axis of change. "15:22
ali1234lol this is just meaningless nonsense15:22
popeythat's just a jumble of words to me15:22
MartijnVdSIt's "Model one thing in one class", but wordy15:23
BigRedSyeah, that's what I found. You just need to create some objects, fiddle with them, then stumble across soemthing that requires what you've learnt from teh fiddling15:23
ali1234right, why can't they just write that then?15:23
BigRedSrepeatedly15:23
BigRedSwhich is approximately how I managed procedural programming15:23
ali1234is it perhaps because it's obvious?15:23
MartijnVdSali1234: what about this guy's presentations then? http://www.youtube.com/watch?v=wEhu57pih5w http://www.youtube.com/watch?v=4F72VULWFvc http://www.youtube.com/watch?v=RlfLCWKxHJ0 http://www.youtube.com/watch?v=-FRm3VPhseI15:25
* MartijnVdS learned a lot from those15:25
ali1234also to say "a class should model one thing" s not really useful15:26
ali1234because how do you define a "thing?"15:26
MartijnVdSexplaining "Global state is best avoided" with "Running the test suite cost me $100" is good :)15:26
ali1234most "things" in the real world need several classes to model them15:26
MartijnVdS(credit card processing)15:26
ali1234if you take it to the logical extreme of each class only representing one "thing" then you might as well say don't use classes at all, just use int, float, char... because anything more complicated than those is more than one "thing"15:27
ali1234none of this stuff is the least bit useful if you don't know how to even write a simple program15:29
MartijnVdSSUre, but I thought we were talking about becoming a better programmer15:30
MartijnVdSnog becoming a programmer in the first place :)15:30
MartijnVdSnot*15:30
ali1234no, we are talking about becoming a programmer in the first place15:30
BigRedSare we?15:32
BigRedSwell, you15:32
MartijnVdSbut that's the easy bit. Becoming a good one is the hard part :)15:32
BigRedSI'm not saying much15:32
_Hmy ubuntu desktop freezes often15:32
ali1234specifically i'm talking about this teaching-vs-training blog post by daubers, linked above ^15:33
BigRedSwhich is about him becoming a better programmer?15:34
MartijnVdSI thought it was.. :)15:34
ali1234"They were doing the training first in the hope it would teach you  something. What they should be doing is teaching you the concepts (all  the “meta”) and the[n] train you in the language."15:34
ali1234i posit that this is wrong, and that teaching theory of oop (for example) must happen after basic language training, otherwise it is just a lot of meaningless words15:35
BigRedSyeah, that makes sense15:39
BigRedSBut I, and apparently MartijnVdS , thought we were talking about this in teh context of a programmer learning more programming15:39
BigRedSnot someone new to programming15:39
ali1234not at all, no15:39
BigRedSOh, well in that case I'm not sure anyone's disagreed with you yet15:40
BigRedS'cause we've both been talking about something else :)15:40
ali1234except daubers :)15:40
BigRedSOh yeah, we disagree on what daubers was talking about :)15:41
BigRedS_H: is there any pattern at all to the freezing? Only when particular apps are open, say?  What actually happens when it freezes? Does it ever unfreeze?15:41
_HBigRedS: http://paste.ubuntu.com/542305/15:49
daubers15:35 < ali1234> i posit that this is wrong, and that teaching theory of oop (for example) must happen after basic language  training, otherwise it is just a lot of meaningless words15:49
daubersali1234: In some cases true, but an argument by example....15:50
matti;]15:51
daubersali1234: At Uni (lat year this is) we where taught VB6. The university upgraded all the PC's in the suite we where using and could no longer get licences for VB6 so we we're given VB.net. 90% of the people in the group got completley lost as they had no idea about basic things like what an integer really is, or what a class really is. They where just following by example as they had had none of the "meta" stuff at all. If we'd had the meta stuff then it 15:51
daubersali1234: In a lot of cases I can see it as a chicken and egg thing, but I think I mae the point in that we were given _none_ of the teaching stuff, just trained to use VB6. You need lots of teaching stuff and probably the same amount of the practical stuff as one without the other is meaningless15:52
* daubers is not very good at making his points clear (and or coherant)15:53
ali1234i don't see how that could happen unless 90% of the people on your course were just cheating and copying the work from someone else15:53
daubersali1234: It was a physics course and they'd thrown in some programming stuff at the end.15:54
ali1234physicists don't know what an integer is?15:54
daubersMost people just bumbled along extending examples15:54
daubersali1234: Funnily enough, some physics students (in some unis) don't15:54
dutchiethe physicists at my university were being made to write C in their first term :)15:54
dutchiebut then, oxford15:55
daubersdutchie: Yes, but you're at Oxford....15:55
daubersdutchie: I made the argument at Uni that VB is a stupid language for scientific stuff15:55
ali1234most people's first experience of programming is modifying an example program... it's the first thing i do when kicking the tyres on a new language...15:55
dutchieit wouldn't have been my first thought, no15:55
daubersBut got ignored as everything else was "too difficult for the average student"15:55
MartijnVdSali1234: that and Hello World :)15:55
ali1234nobody starts by writing hello world, they start by modifying hello world15:56
daubersali1234: Mine is normally either a book or a website.. then playing with hello world15:56
MartijnVdSali1234: copying it from the textbook ;)15:56
ali1234you can't really learn theory without this experience15:56
* jacobw just copied Hello World from a Java textbook15:57
daubersali1234: No, but you're not really learning anything about how things work. You're learning how to modify someone elses program15:57
ali1234and what is wrong with that?15:57
dauberswhich is why most people struggled in moving to a slightly different language15:57
MartijnVdSali1234: it's a start, but it's not a complete (self-)education :)15:58
daubersali1234: Interestingly the 10% who didn't struggle did a CS module in the basic "meta" stuff of computing that involved no programming15:58
ali1234correlation is not causation15:58
ali1234they probably already knew it all and just did that module as a skive15:59
daubersali1234: No, but it can be used as some evidence towards that end15:59
daubersali1234: THere is also the old adage that everyone learns differently. I learn best by understanding what's going on, rather than just how to do something16:01
ali1234to make a car analogy, this is rather like going to your first driving lesson and getting a lecture on organic chemistry and how the internal combustion engine works16:01
daubersali1234: Bit of an extreme car lesson. My first driving lesson did involve a short lecture on how the clutch connects to the gear box and what a syncromesh does though16:02
MartijnVdSsame for me16:05
MartijnVdSalso, "power steering explained" was a nice lesson :)16:06
daubersYeah, that was quite useful too16:06
ali1234how is it useful?16:07
MartijnVdSali1234: if you know how it works, you know how it breaks16:07
ali1234does it help you in any way if, for example, you need to drive a car which is left-hand drive?16:07
daubersali1234: No, but it is useful if you go from a car that has no power steering to one that does. Lets you know what to expect16:08
MartijnVdSsame with gearboxes16:08
daubersali1234: Was also quite useful when my astra power steering went and I managed to figure out what was wrong by working up from the principles given16:08
ali1234don't get me wrong, i'm not saying this should not be taught16:09
ali1234but imagine if they made you learn all this stuff before they even let you get in a car16:09
ali1234or, more aptly, if they tried to explain it to you before you had even *seen* a car16:09
daubersali1234: Right, which is why you get that information before doing that specific bit16:09
daubersali1234: Gearbox/syncromesh stuff really helped me get clutch control right, and I was taught that before starting the engine16:10
MartijnVdSSomeone could teach it to a passenger while driving though16:10
ali1234well you can;t start the engine if you don't know how to use the clutch, it will just stall16:10
MartijnVdSthat would be even better16:10
MartijnVdSali1234: some starter motors are strong enough to start through handbrake and first gear :)16:11
MartijnVdSali1234: I've seen the wall16:11
ali1234lol16:11
MartijnVdS(someone in my street did that)16:11
ali1234not in learner cars presumably16:11
* daubers needs to get the thud board out16:12
MartijnVdSoh sure, but those tend to have two sets of pedals over here, so the instructor can avoid mistakes like that16:12
daubersDoes mean moving the telle :(16:12
daubersMartijnVdS: Dual controls are scary16:12
MartijnVdSdaubers: They16:12
MartijnVdSahem16:13
daubersMartijnVdS: Dads car has those, and I'm terrified of driving it with a passenger in case they do the "Side seat driver" thing16:13
MartijnVdSI think they're mandatory here (for learner cars)16:13
daubersMartijnVdS: No idea, the old mans a driving instructor and has them. I think they're an insurance condition .... not sure about legally mandatory though16:14
MartijnVdSdaubers: .nl might have different rules16:14
ali1234they should put them on all cars16:14
ali1234for the lulz16:14
MartijnVdSali1234: and in the back as well16:15
MartijnVdS(imagine the taxis)16:15
ali1234natch16:16
Azelphurwhat should I use to securely share a single file with one client on LAN? :p17:26
Azelphuratm I keep pushing the single file with scp, but that's kinda lame17:27
brobostigonafternoonings all.17:28
Azelphurafternoonings :)17:29
Azelphurbrobostigon: you just missed my question, what should I use to securely share a single file with one client on LAN? :p17:29
brobostigonAzelphur: define share? do you jutwant copying, or full blown synchronisation?17:30
Azelphurit's a sync thing17:30
Azelphurit's so my PC can pass info to conky on my alarm clock :)17:30
brobostigonso you want both to be equalallthe time?17:31
Azelphuryup17:31
Azelphuratm I scp but it's kinda slow17:31
brobostigonmaybe you could setup rsync to automaticlly keep both ends equal?17:32
brobostigon!info rsync17:32
lubotu3rsync (source: rsync): fast remote file copy program (like rcp). In component main, is standard. Version 3.0.7-2ubuntu1 (maverick), package size 333 kB, installed size 684 kB17:32
AzelphurI was thinking a simple network share type thing would be more sensible17:32
Azelphurlike nfs or something17:32
brobostigonwill be more setup though, thanthe basic sshfs or scp you have already done.17:34
Azelphurindeed, but faster17:34
brobostigontradeoff, energy - time.17:35
Azelphurhehe17:35
Azelphurbrobostigon: did you see my Linux powered alarm clock btw?17:35
brobostigonAzelphur: sorry, no.17:35
Azelphurhttp://dl.dropbox.com/u/3832397/Photos/December%202010/IMG_20101208_021003.jpg :D17:35
* BigRedS wants one17:38
brobostigonAzelphur: a joggler with ubuntu, :)17:38
Azelphurindeed, and conky :D17:38
Azelphurmakes a good little alarm clock17:38
Azelphurhttp://dl.dropbox.com/u/3832397/screenshots/November%202010/2010-11-12-215806_800x480_scrot.png there's the activity log in action :P17:39
BigRedSthat font would irritate the crap out of me within about ten minutes, though17:41
AzelphurBigRedS: yea, the font looks cool but isn't that practical, I need to change it17:43
dogmatic69does anyone know why, every second / third time i install or upgrade something it installation hangs17:49
dogmatic69this happens with shell and the update manager17:49
dogmatic69then i cant install anymore because the files are all locked17:49
BigRedSdogmatic69: what's the 'something'?17:59
dogmatic69BigRedS: "anything"18:01
dogmatic69general updates18:02
dogmatic69random programs18:02
dogmatic69been happening since i installed 10.1018:02
BigRedSOh, so not OS upgrades18:02
dogmatic69np18:02
dogmatic69actual apps18:02
BigRedSWhereabouts in the installation does it hang? Same place every time?18:02
dogmatic69today its ssh18:04
dogmatic69http://pastebin.com/Sar160cL18:05
BigRedSyeah, but how far through? Are you doing this in a terminal or through a gui app?18:05
BigRedSaha!18:05
dogmatic69had to delete the lock files quick18:05
BigRedSis it always at the unpacking stage?18:05
dogmatic69i think so18:06
BigRedSdoes an `apt-get upgrade dpkg` work?18:06
dogmatic69last time it was suck unpacking header files18:06
popeyis your cpu overclocked?18:06
BigRedSer, apt-get install dpkg18:06
dogmatic69popey: it is :/18:08
brobostigonman made curry, i reckon, :)18:08
dogmatic69just a little though18:08
dogmatic69BigRedS: no it does not18:10
dogmatic69same thing18:10
bigcalmWhile using tar, how might I deflate an archive without preserving the tree?18:10
popeydogmatic69: wind down the overclocking18:11
dutchiebigcalm: what do you mean deflate? do you have a tar archive, or do you want to createone all in one go18:11
dogmatic69:(18:11
popeydogmatic69: to test, if that "fixes" it then you know the problem18:11
dogmatic69ye18:11
popeyhardware problem, not software18:11
dogmatic69well never had an issue on 9.0418:11
bigcalmdutchie: I have a .tar.bz2 that I need to unpack/deflate. But I want all of the files to end up in one directory, not in a preserved tree18:12
dogmatic69*10.0418:12
popeystill, try it and see18:12
dogmatic69only since using 10.1018:12
dutchiebigcalm: there is an option to do arbitrary sed transforms on the paths of the files as it's being extracted18:12
dogmatic69if it is the issue im getting better ram18:12
BigRedSbigcalm: deflation's normally creating the tar file18:12
dogmatic69brb18:12
bigcalmSorry, inflate then :)18:13
BigRedShaha18:13
BigRedSI remember there being an option, but I just failed to find it in man tar18:13
dutchiebigcalm: --transform or --xform18:14
bigcalmdutchie: neither turn up in the tar man page18:16
dutchiebigcalm: they are on my man page18:17
bigcalmI was using google'd pages18:18
bigcalmOk, I still don't know how to use sed :)18:18
dutchiesed also has a man page18:19
bigcalmBored now18:20
dutchiei suspect some way to get it to call basename would be easiest unless you fancy twisting your mind with regexps18:20
dogmatic69popey: it worked18:20
dogmatic69how you figured that out, idk18:20
dutchiebigcalm: alternatively, untar it then "find . -type f -print0 | xargs -0 mv -t ."18:23
dutchiemight be worth checking for unique filenames though...18:24
bigcalmTa18:24
bigcalmNope, I want to overwrite them18:24
popeydogmatic69: :)18:28
dogmatic69mad skills18:28
sam_010203is there anyway to have ubuntu in the "arabic hebrew" layout but without changing the language...?18:38
n3oi dunno but i visited israel recently man, and hebrew well looks like alien writing man thought i was entering district 9 at the airport i swear ;). looks like a cool language though18:39
BigRedSsam_010203: which bit of the layout are you after? (I can't help but I'm intrigued :)  )18:41
AlanBellsam_010203: you mean rtl?18:43
sam_010203AlanBell,  yeah18:44
sam_010203i know i can change it all myself  but its a bit of a pain to move it all. lol18:44
AlanBellsam_010203: have you tried changing the language?18:45
AlanBellthere isn't that much actually translated18:45
sam_010203AlanBell,   i did but hebrew is all pretty much in hebrew and my hebrew isnt that good.  or there is arabic, and i dont understand a word.18:45
AlanBellI tried both and some others when testing the Ubuntu font18:46
sam_010203the hebrew font looks nice.    just so many words i dont understand.18:47
czajkowskiI offically hat epacking20:00
czajkowski*hate packing20:00
BigRedSYeah, I've stopped unpacking when I move20:00
BigRedS'cause I know I can't be arsed to pack it up again when I move again20:00
czajkowskithis is just for going home20:01
czajkowskiwon't be in this place for 3 weeks20:01
BigRedSOh, that sort of packing?20:01
TheOpenSourcererTHREE WEEKS!20:01
BigRedSI find that really easy. But I'm both male and simple :)20:01
TheOpenSourcererwhat about work czajkowski?20:01
czajkowskiTheOpenSourcerer: in bath for a week working20:01
TheOpenSourcererAh20:01
BigRedS$days * (t-shirt, trousers, pants, socks) in a bag20:01
czajkowskithen working from home in ireland thanks to a nice understanding boss20:01
TheOpenSourcererlol20:02
czajkowskiTheOpenSourcerer: cost of flights went up closer I stayed over here to xmas20:02
czajkowskiand the mothership would flip if I didnt go home20:02
TheOpenSourcererWe have a paddy stying with us over Christmas.20:02
TheOpenSourcererwife's sister's hubby.20:02
czajkowskiTheOpenSourcerer: your sister in laws hubby20:03
czajkowski:)20:03
TheOpenSourcereryeah.20:03
czajkowskiTheOpenSourcerer: have the drink stocked up20:03
TheOpenSourcererHe's not much of a drinker actually. More into cycling and fitness stuff.20:04
czajkowskiyou sure he's Irish20:04
TheOpenSourcererRight - off to put kiddies to sleep then drink with the missus and write christmas cards.20:05
YaManicKillhey geeks! hows it going20:16
freesitebuildergeeks? where? who let 'em in?20:17
=== david is now known as Guest81121
YaManicKillheh :-P20:17
* kvarley just bought the Winterwarmer package! Hoodie and cup! :)20:19
OmNomSequiturEach package comes with a lock of Shuttleworth hair.20:22
popeyheh, good luck with that20:22
popeylast time I saw him it was very short20:22
popeymaybe it was all cut off to go in the package!20:23
nperryUbuntu one music store download goes toward uk charts, doesn't it?21:04
* Nafallo listens to the latest podcast, and feels the dns discussion is very very old news ;-)21:07
Nafallopeople had seperate root servers online at least 5-6 years ago when I saw it :-)21:07
Nafallohttp://en.wikipedia.org/wiki/Alternative_DNS_root21:08
gordnumber of times gord fell over on the ice: 1. number of times gord fell over on his hard wood floor in wool socks, countless :(21:08
czajkowskihmmm may have been wise to test vpn earlier on in the week rather than today21:18
BigRedSNah, it'd only have broken in the interim that way21:18
Nafallopopey: your home router thingie doesn't do .lan or something? :-)21:21
_HI wish to down load a video flash from a site how can I do this?21:35
Flashtek_H: wget ?21:35
_Hgets the whole page21:36
_Hnot the video21:36
_HI want/need the video alone21:36
suprengr_H: http://tinyurl.com/2wyavxv     ???21:40
_Hsuprengr:  takk but http://svtplay.se/v/2264028/wikirebels___the_documentary?cb,a1364145,1,f,-1/pb,a1364142,1,f,-1/pl,v,,2264028/sb,p118750,1,f,-121:43
_Hwon't support it21:43
jacobw_H: use the video downloader extention for Firefox21:45
ali1234_H: you can try this also: http://al.robotfuzz.com/~al/random/ffcache.py21:47
ali1234go to video page, pause video, wait for it to fully buffer, then run the script and look for files of type FLV21:47
ali1234or "Macromedia Flash Video" etc21:48
awilkinsI had a shell script somewhere21:49
ali1234^ that's a nice easy GUI21:49
awilkinsYou used to be able to copy them out of /tmp21:49
ali1234yeah i think mine checks /tmp too21:49
ali1234and it scans using the file command21:50
awilkinsNow it deletes the temp file as soon as the video starts21:50
awilkinsSo you have to copy them out of the kernel file handles list21:50
ali1234mine still seems to work for youtube, at least some videos21:50
ali1234heh, that's a good idea, scan /proc too21:50
ali1234i might add that...21:50
awilkinsFind the ones that are from libflashplayer.so21:50
_Hahh takk21:51
_Htack så mycket21:52
awilkinsali1234, Next time I'm at my other machine, I'll send you my shell script that does just that and copies the file to /Video21:54
* jacobw is sending back a faulty laptop :(22:00
penguin42jacobw: What's up with it?22:09
jacobwit takes about 20 hours to charge and has a wireless range of about 5ft22:11
jacobwprobably a power problem, not enough power getting to battery or the wireless card22:11
penguin42weird22:14
jacobwunfortunately, the sellers return policy seems to wash their hands of faulty products not diagnosed as faulty within 7 days of purchase, i purchased on last sunday (5th)22:34
Neil3jacobw, i think trading standards would have something to say about that22:34
Neil3purchase of goods act etc?22:34
jacobwso unless i can get it diagnosed as faulty tommorow it is down to the manufacturer22:34
Neil3i believe the seller is responsible22:35
Neil37 days = crap22:35
jacobwi may have to go down that route :(22:36
Neil3jacobw, http://www.direct.gov.uk/en/Governmentcitizensandrights/Consumerrights/DG_18293522:36
zleapjacobw, surely its 7 working days22:37
jacobwi would hope so zleap, but http://www.saveonlaptops.co.uk/returns doesn't specify22:38
macotheyre not even accounting for shipping time?22:38
zleaphmm22:38
zleapi think consumer law can overrule their own rules if their rules are wrong22:38
jacobwyes, there is no way that i am keeping this faulty laptop22:39
macoim surprised you have to take it somewhere for diagnosis22:40
macoid figure just telling them "it doesnt work like it should" would count22:40
zleapby not working does that mean won't turn on,  get error beeps other error22:41
jacobwi don't have to take it anywhere, i need the fault confirmed by the maufacturers technical support, and then i need to pass that reference number on to the seller22:41
macozleap: scroll up22:41
zleapok22:41
zleapsorry22:41
macooh wait you joined later22:41
zleapyeah22:41
macozleap: he said it takes 20hr to charge22:41
zleapouch22:41
macoand the wireless only works within 5ft of the AP22:41
jacobwit takes 20 hours to charge and wifi range is ~5ft22:41
jacobwat least saveonlaptops has a contact number so i can phone them up and frighten a representative22:48
ali1234doesn't sound like a fault to me22:49
ali1234just sayin...22:49
zleapcould be a faulty battery if its taking 20 hrs to charge22:50
ali1234"not enough power" would make it not work at all...22:51
jacobwwhy not? the charge time is stated 2.5 hours in the specifications and the range of is 802.11n 100's of feet22:51
jacobwa faulty battery would still be a fault22:51
ali12345ft wireless range could be caused by any number of things, not least interference and incompatible equipment22:51
ali1234wireless is basically a mess and never works right, in my experience22:51
ali1234have you tried charging while both switched on and switched off?22:52
ali1234because both can run at a different rate depending on how the hardware works22:52
jacobwit has an intel wifi link 5100 exactly the same as my laptop, it won't see wireless networks in same positions as my laptop will22:52
jacobwyes, i have ali123422:52
jacobwand on different power outlets22:53
ali1234big deal, i have two identical wireless cards here, one randomly drops packets on linux, the other works fine...22:53
ali1234both atheros, supposed to be well supported22:53
jacobwwell one of them must be faulty22:53
ali1234maybe, it sure is an odd fault though22:53
zleapwhen you tell them its faulty let them know what you have done to help diagnose, so charged with laptop on and off22:56
zleapwhich you say you have done22:56
jacobwyeah, it will be a fustrating phone call because they'll be asking me to do all the things i've already done22:57
jacobw*sigh* i'll deal with it on Monday23:00
* jacobw goes back to studying his Java textbook23:00
ali1234can anyone recommend a good 23" monitor?23:01
MartijnVdSdell monitors are nice23:01
ali1234i want one that doesn't have a huge horrible bezel on it23:01
ali1234i don't really care about anything else :)23:01
MartijnVdSdell again :)(23:01
daubersjacobw: Why java ooi?23:02
ali1234MartijnVdS: any real difference between the ultrasharp and profession series?23:05
ali1234U2311H looks like the one for me...23:07
MartijnVdSno idea23:07
ali1234ultrasharp seems to have better colour gamut23:07
ali1234so better colour reproduction23:07
MartijnVdSwe have those at work23:07
jacobwdaubers: because i want to get a degree in computing from the open university, and they teach java23:07
MartijnVdSthey're great23:07
ali1234ah, the ultrasharp has HDMI and usb 2.0 x4 as well23:08
ali1234seems like overall pretty nice monitor23:08
jacobwdaubers: also, because out of the c++ book and the java book i ordered from amazon on tuesday, the java book has arrived23:08
Azelphurali1234: I just got the same io errors on a different microSD with a different reader :(23:08
ali1234Azelphur: how so?23:08
ali1234same type of reader?23:08
ali1234if so, maybe it's one of those ones that lies about the disk size23:09
Azelphursame type of card 223:09
Azelphurtoo23:09
Azelphurhttp://pastebin.com/PEVBcqyD23:09
AzelphurI bought 2 readers and 2 microSD's from the same place23:09
jacobwjava seems to be a good language to start with, because it has the core syntax of c/c++ with all the object orientated features of more modern languages23:09
daubersjacobw: I see :) How far down the OU route are you?23:09
MartijnVdSpython is a good language to start with imho :)23:10
jacobwdaubers: i'm starting the level 1 courses in February23:10
MartijnVdSjava is so very extremely verbose23:10
ali1234Azelphur: that's a different sector23:10
daubersjacobw: OOooh23:10
* daubers is jealous23:10
Azelphur+1 for python, jacobw java is weird now with oracle23:10
ali1234did you buy cheapola SD cards?23:10
ali1234from ebay?23:10
* Azelphur hides23:10
Azelphurali1234: worse, china.23:10
daubersjacobw: How many are you doing at once?23:10
ali1234Azelphur: everything comes from china...23:10
Azelphurali1234: I got it from dealextreme which is some chinese drop shipping company23:11
jacobwdaubers: i'm doing two at once, i've already studied a level 2 course in cisco networking on the OU so i think i'll be able to handle two courses23:11
Azelphurthat said the microsd cards are SanDisk class 423:11
Azelphuryou'd think they wouldn't both die23:11
MartijnVdSnever believe chinese companies ;)23:12
jacobwdaubers: one of the courses is called 'networked living', i've already got a BTEC in communications technology so it should be fairly straightforward23:12
ali1234sandisk aren't exactly known for being the best anyway23:12
AzelphurI see23:12
Azelphurthe readers are very cheap crap though23:12
Azelphurthey was like $223:12
ali1234SD readers are not complex though23:12
daubersjacobw: Are you paying for it personally?23:13
ali1234does it always fail on same sector with same card?23:13
Azelphurthey also get rather hot23:13
ali1234yeah mine do too23:13
Azelphurali1234: not sure, guess I'll wait for the error to happen again and let you know23:13
jacobwdaubers: i've applied for and got financial support for one (i.e. they pay themselves for you to do it)23:14
ali1234you probably shouldn't be using a journalling filesystem on SD card anyway23:14
jacobwdaubers: HOWEVER, after that i realised that due to both modules having their last presentation in February, to get the full points at level 1 i needed to do the other course at the same time23:14
Azelphurali1234: Ubuntu for joggler only comes in btrfs or ext423:15
jacobwdaubers: this was after the application deadline for financial support, so i had to pay for that one23:15
ali1234btrfs is supposed to be better for flash memory23:15
AzelphurI see23:15
Azelphurthe joggler page said that ext4 is faster23:15
Azelphurbut yea I can switch to btrfs I guess23:15
daubersjacobw: i'd be very interested in how it goes. I want to do that course at some point when I'm not saving up for a mortgage23:15
ali1234better not necessarily faster23:16
Azelphurhehe23:16
exobuzzyou can run ext4 without the journal of course. but then its less safe23:16
Azelphuroh hey, it's exobuzz :p23:16
ali1234Azelphur: did you fix your arduino board yet?23:16
exobuzzbtrfs in ssd mode has some performance issues currently..23:16
Azelphurali1234: no rofl, I really need to get back on that23:16
Azelphurexobuzz: I feel the need to wind you up by saying "YOU BROKE 2 MICROSD CARDS YOU OWE ME MONIEZ."23:17
Azelphurhehe.23:17
Azelphurali1234: I guess I'll grab another microsd card and try with btrfs see how it goes, any recommendations?23:17
ali1234not really23:18
jacobwdaubers: i've learnt a lot from reading Dougie Richardson's experiences of the OU at http://blog.lynxworks.eu/ou/23:18
Azelphurhaha23:18
exobuzzfrom joggler.exotica.org.uk "The Ext4 journal may wear out your usb flash drive faster however." :)23:18
ali1234heh, exactly :)23:18
exobuzzits not like i didnt mention it23:18
Azelphurexobuzz: haha yea I know, these are cheap crap that I picked up from some chinese store for $423:19
AzelphurI'm not surprised they went south23:19
ali1234from the error, it looks like bad block in the journal area, so this is exactly what happened i would say23:19
daubersjacobw: Hmmm.... might see what the christmas bonus lets me afford23:19
Azelphurhehe23:19
exobuzzhaving said that, my usb sticks used for development have had a lot of use and lots of writes including running journalled filesystems and still going23:20
jacobwdaubers: you might want to look in to financial support23:20
Azelphurexobuzz: do you have really tiny ones by chance?23:20
exobuzzsome cheap 4gb usb pen drives23:20
AzelphurI bought mine because they look flush with the joggler, http://dl.dropbox.com/u/3832397/Photos/December%202010/IMG_20101208_021003.jpg23:20
Azelphuryou can barely even see it, they do look good23:20
jacobwdaubers: i think i got it pretty automatically earning ~12k in the last tax year and having no A levels or degree23:21
exobuzzyou could run btrfs without compression but with ssd mode. just rsync the stuff off and change the mount options in fstab reformat and rsync it back23:21
jacobwand having a disability, irrelevant to OU study but it still ticks a box somewhere23:21
exobuzzAzelphur, what read speed did you get from them out of interest ?23:22
Azelphurexobuzz: hehe don't really need the performance, it's for a clock, EXT4 was silly :)23:22
Azelphurexobuzz: no idea23:22
daubersjacobw: Yeah, I looked, but what they're offering me wasn't worth the paperwork (specially as my pay goes up in january again)23:22
ali1234Azelphur: why even use ubuntu for that?23:22
exobuzzAzelphur, tried jolicloud yet ?23:22
Azelphurali1234: conky alarm clock? who wouldn't want it :p23:22
Azelphurexobuzz: nope23:22
ali1234use gentoo, make a readonly rootfs with tmpfs mounts23:23
exobuzzhttp://joggler.exotica.org.uk/jolicloud/ - some nice points about it..23:23
exobuzzsome bad too23:23
jacobwdaubers: the cisco networking course i did on the OU didn't have much OU study material, all the material came from the cisco networking academy, so i can't really comment on the quality of OU courses yet23:23
ali1234you wont have to worry about wearing out the sd cards23:23
Azelphurexobuzz: fun, is it more suited for touch screens?23:23
exobuzzfor some stuff yeh23:23
Azelphurali1234: could do, that'd take long though, plus I like using it for mythtv23:23
ali1234also i would throw in Qt and build my UI in QML rather than conky23:24
AzelphurI was thinking about porting it to pyqt23:24
ali1234actually you may as well put meego on it23:24
ali1234handset is designed for touchscreen23:24
Azelphurhow is meego doing now?23:24
Azelphurlast I checked it wasn't ready23:24
ali1234meh23:24
ali1234it's still not ready23:24
Azelphurhaha23:24
Azelphurali1234: http://www.amazon.co.uk/Samsung-MB-MP4GEU-Micro-Extreme-Memory/dp/B00462RBLY/ref=dp_ob_title_ce how about this? :)23:25
ali1234class 6 is good, sure23:25
Azelphurthat's what I figured :)23:25
ali1234but i would just buy another cheap one and set it up so it isn;t constantly writing logs to the rootfs23:25
ali1234btw did i mention i got a meego ideapad at the conference?23:26
exobuzzthe journal is more damaging than the logs. one issue with tmpfs stuff is that joggler has quit limited ram too.. well only 512mb..23:26
exobuzzwhich isnt much once you got Xorg etc loaded23:26
Azelphurali1234: jelous, mucho jelous :p23:26
daubersjacobw: CCNA?23:26
exobuzzread only fs would work of course, but limit what you can do with it23:26
ali1234not really23:26
Azelphuryea23:26
ali1234you could have mythtv, browser, alarm clock app...23:27
ali1234no problem at all23:27
exobuzzyeh but you need to pre-set it up..23:27
AzelphurI think I'll start with btrfs and a microsd card that cost more than a cup of coffee23:27
Azelphurand if it still causes problems I'll go further23:27
ali1234even better, network filesystem23:28
exobuzzperhaps microsd is more sensitive to write wearing than other types.. depending whats underneath hardwarewise23:28
Azelphurhaha, that did actually pop into my head23:28
Azelphurexobuzz: would it be easy to netboot a joggler?23:28
jacobwdaubers: yeah, i've not taken the CCNA exam yet though23:28
ali1234yes, i think usb flash controllers have a lot better wear levelling than sd cards, which are very simple23:28
exobuzzwell. you could have a little dist that starts up then mounted root over the network easily enough.. but its going to be slow over wireless :)23:29
daubersjacobw: It's quite easy23:29
ali1234i think someone told me that once, i can't remember who it was though23:29
Azelphurhehe23:29
Azelphurthat'd be a win win solution then23:29
ali1234you only need to network mount /home23:29
AzelphurI can easily get an ethernet cable next to my bed23:29
ali1234to save settings23:29
exobuzzi was looking at http://www.supertalent.com/products/stt_usb_detail.php?type=Pico as my perhaps next buy23:30
Azelphurhehe23:30
ali1234bake all software into the image23:30
exobuzzsmall enough .. and pretty quick23:30
ali1234mount /var and /tmp as tmpfs23:30
exobuzzali1234, IF you dont intend to install more software etc23:30
ali1234you can always bake a new image23:30
Azelphurexobuzz: other thing I could do is use a laptop drive and a right-angle cable in the joggler23:31
Azelphurwould be just as small, could mount the drive behind the joggler and it'd be much more resiliant23:31
ali1234actually as long as /var and /tmp are mounted on tmpfs you won't need to make ro partitions23:31
exobuzzsure.. well. you could have all your porn i mean media files local too then23:31
Azelphurhaha23:31
Azelphurdecisions :p23:32
exobuzzhttp://www.lacie.com/us/products/product.htm?pid=11572 are quite small23:34
exobuzzi heard they are not that quick either23:34
exobuzzprobably faster than a microsd though23:35
Azelphurthey look like they right sort of size23:36
Azelphuralthough I don't like the silly thing poking out the back23:36
exobuzzif you got with usb hd, you need a powered hub of course or some other power source23:36
jacobwdaubers: what programming language did you learn first?23:37
ali1234instead of buying SD cards, why not buy a USB flash drive?23:37
exobuzzi have a black one of these http://www.amazon.co.uk/Trust-Vecco-Port-Mini-17014/dp/B003H78V7W23:37
jacobwdaubers: i've attempted to learn c++ many times in the past and given up at learning how pointers work23:38
exobuzzali1234, my link was a usb flash drive23:38
ali1234yeah23:38
exobuzzwith that small hub, you can have everything behind anyway23:38
dutchiejacobw: they point to stuff \o/23:38
ali1234jacobw: get K&R, read chapter 723:38
jacobwi should get K&R23:39
ali1234yes, you should get K&R23:39
jacobwthere are a lot of prgramming books i should get, i seem to have the ones that i shouldn't get23:39
ali1234K&R is the only programming book you need23:39
ali1234it's also the shortest one i've ever seen23:39
exobuzzthere are lots of tutorials online about pointers23:39
ali1234i've never seen a better or more concise explanation of pointers than the one in K&R23:40
ali1234see, they resist the "memory is like a row of boxes" metaphor23:40
exobuzzi dont agree with the whole k&r preaching. i mean sure its "the" book. but its not good for learning from imho..23:40
ali1234i really really hate that one23:40
exobuzzas a beginner for example23:40
penguin42jacobw: What is it that you don't get about them?23:40
ali1234it's great for learning from23:40
exobuzzi think it jumps in quite quickly.. i know plenty of people who wouldnt manage it as the first book23:40
ali1234like it says on page 1, "C is not a large language and it is not served well by a large book"23:41
exobuzzi have the book, but i dont have the comp.lang.c mentality, which is not a good one imho :)23:42
jacobwi think i will read K&R once i've finished with this Java book23:42
exobuzzprogrammers are the worst for being anti social, opinionated, and stubborn. not understanding anything else but their way and expecting everyone to understand the world as they do :)23:43
ali1234well i can;t argue with that23:43
ali1234what java and C++ books did you get btw?23:44
exobuzzdont mention it if you have a book by Herbert Schildt just because ali1234 is about to tell you in that case how terrible it is, and then im going to switch off also :-)23:45
jacobwali1234: herbert schildt23:45
ali1234for real? never heard of him...23:46
jacobw(i've already been lambasted on ##java for that decision today)23:46
exobuzzhttp://www.seebs.net/c/c_tcn4e.html23:46
ali1234lol23:46
ali1234sounds bad23:46
exobuzzi actually like much of the book. and i dont care..  :)23:46
jacobwexobuzz: what i've read of the java book that i've got, i like it too23:47
jacobwi think his writing style is good23:47
urakenhello all does anyone have any experience of random music playing on ubuntu ?23:47
jacobwi'm not a fan of the 'sacred texts' style of learning to do things23:47
daubersjacobw: The first language I learnt was Sinclair BASIC23:47
MartijnVdSnot English? :P23:47
exobuzzdaubers, extend mode symbol shift 4ever23:48
* MartijnVdS started on GW-BASIC23:48
daubersjacobw: Pointers confused the hell out of me for ages until I took a step back and tried to understand what they did23:48
exobuzzi learnt speccy basic also23:48
MartijnVdSthen qbasic, quickbasic, turbo pascal, C, perl23:48
daubersexobuzz: I've got a broken speccy waiting for me to have some time to give it some love23:48
urakeni am convinced i have a problem on my pc (running ubuntu) as my mouse keeps moving and i just switched it on and opened firefox and music started to play?23:49
ali1234the key to understanding pointers (and most things) is not to try to use them until you encounter the problem they solve23:49
Daraeluraken: tab from a saved session with something that plays music in it? (eg youtube video)23:50
daubersI think mine went Sinclair BASIC, PHP, VBA, VB, C(bits of), Python, C (proper), Fortran (bits of) and now C++ :)23:50
urakenumm not sure maybe darael?23:50
exobuzzdaubers, they need love.. and kinky rubbery sex23:50
daubersali1234: You can hit that issue quite quickly though, when you need to pass a pointer of an array to a function23:50
daubersexobuzz: ...... maybe not as this is a 48k+. So no rubbery keys23:51
* penguin42 could suggest learning some assembler; once you've done assembler pointers are just intuitive23:51
DaraelMine went Python, common lisp, C (bits of), VB (awful computing AS-level course), java (bits of).  People tend to ask why on earth I did CL.23:51
exobuzzdaubers, its rubber underneath! ;-)23:51
daubersHmmm, pass a pointer to an array23:51
daubersexobuzz: As are most keyboards these days23:51
exobuzzdaubers, i got a 128k+ with +D.. not used it for a little while. also needs some love23:52
daubersOh! I did do a bit of C# on my gap year for some ASP.Net stuff23:52
exobuzzDarael, python then VB.. that's just weird :-)23:52
daubersexobuzz: Mines probab;y having it's mobo ditched and a modern one put in it :) Hoping I can convince the keyboard to work through USB or somesuch23:52
exobuzzyou are travelling backwards in time!23:52
Daraelexobuzz: Not my choice.23:52
exobuzzdaubers, what problems does it have. mine works great actually. it only needs love in the attention type, not fixing.23:53
urakendarael thats exactly what it was ...paranoid or what thanks mate23:53
Daraelexobuzz: I was really annoyed when I found out that this year the teacher had got fed up with VB and moved to Python.  If only he'd done so a year earlier.23:53
exobuzzsome stuff is fixable..23:53
Daraeluraken: No probs.  It happens to me quite often :P23:53
exobuzzDarael, sounds like was clinging on like ie6 :)23:54
daubersexobuzz: No power supply and some of the buttons are worn23:54
exobuzzyou can get replacement membrane for keyboard for about £14 btw if some keys dont work23:55
jacobwone of my motivations for learning Java is that my company has a number of horrific Java applications and i want to fix them :p23:55
ali1234all java applications are horrific...23:55
Daraelexobuzz: Funny you should say that - my VIth form tried changing to Firefox but the tech couldn't work out how to lock it down so they went back to IE.  At least they went to IE7...23:55
exobuzzpower supply.. its erm 9v 1a or so i htink. you can get a generic one to use im sure.23:55
exobuzzunregulated23:56
jacobwali1234: i suppose in the fullness of time i could reimplement them in C++23:56
jacobwjEdit is a non-horrific Java application23:56
dutchiei fail to see how re-implementing a java app in c++ would make it less horrific :)23:57
daubersHmmmm23:57
jacobwmemory usage23:57
daubersMight have a play with that then23:57
daubersanyway23:57
daubersoff to bed I think23:57
daubersnight all23:57
exobuzzyou should recode it in 68000 assembler. then realise you are spoilt with so many registers and do it in 6502 asm23:57
jacobwnight daubers23:57
jacobwha, i was born in '91, that is not a suitable task for a person of my age :)23:58
Daraeljacobw: I, born in '92, will now have to code whatever it is in 6502 asm just to disprove that statement.23:59
exobuzz:)23:59
DaraelI'm not particularly happy about this.23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!