Saturday, 2007-11-03

*** tpb has joined #tp00:00
*** ChanServ sets mode: +o tpb00:00
mithrobe back in 30 minutes, going to the shops....00:00
mithroback00:33
mithro~seen xdotx00:33
tpbmithro: xdotx was last seen in #tp 3 weeks, 0 days, 5 hours, 46 minutes, and 11 seconds ago: <xdotx> hahah00:33
mithro:/00:35
mithrollnz: so what are you up too this weekend?00:46
llnzbeen busy, about to go out for tea00:47
llnzbbl01:07
*** llnz has quit IRC01:08
mithroo so quiet03:50
mithrojotham: ping?03:50
*** llnz has joined #tp04:26
* llnz wanders off05:27
llnzlater all05:27
*** llnz has quit IRC05:27
CIA-10mithro tpclient-pywx-development * r7ab0e9914877 /windows/main/ (overlays/Systems.py panelStarMap.py): Only enable waypoint mode on objects which can move.06:11
CIA-10mithro tpclient-pywx-development * r8e35427a9912 /extra/wxFloatCanvas/GUIMode.py: Removed shift from ZoomIn.06:11
CIA-10mithro tpclient-pywx-development * ref57ec7b0484 /tpclient-pywx: Let the OnOrderSelect event be given a single slot.06:11
CIA-10mithro tpclient-pywx-development * r86b6b66f40d5 /windows/main/ (panelInfo.py panelPicture.py): Remove excess prints.06:11
CIA-10mithro tpclient-pywx-development * r43186a697fb3 /windows/main/ (5 files in 2 dirs): Started trying to get the Path overlay interactions working.06:11
CIA-10mithro tpclient-pywx-development * rf48f5d2ac25a /extra/wxFloatCanvas/ (FloatCanvas.py GUIMode.py): Fixed zooming using the keyboard so that the point under the mouse cursor stays under the mouse cursor.06:11
CIA-10mithro tpclient-pywx-development * rfa17315ae9e0 /windows/main/ (overlays/Path.py overlays/Systems.py panelStarMap.py): Make the path appear behind the other overlay.06:11
*** pschulz01 has joined #tp06:20
* pschulz01 idles through..06:20
mithropschulz01: so now you are here, wanna finish up that dependency thing for the debs?06:21
pschulz01mithro: Tricked I say!06:22
mithromuhahaha :P06:22
mithrothat was not my cunning plan06:23
mithroit just happened that way I promise!06:23
pschulz01mithro: Might have some time tomorrow.. I need to figure out how to get some software RAID properly configured.06:23
mithropschulz01: under Linux? I have setup a few Linux software raid's in my time06:24
pschulz01mithro: mdadm or LVM?06:24
mithromdadm mostly06:25
pschulz01mithro: I'm not a huge fan of LVM.. and currently have issues with mdadm.06:25
pschulz01mithro: What I want.. (is probably not what I'll get..)06:25
pschulz01mithro: RAID1 two disks together (aka hardware raid) and then partiton it up (including swap).06:26
mithropschulz01: is that all?06:27
* mithro has almost that identical setup here at home06:28
pschulz01mithro: At the moment this almost works.. I get fdisk showing partitions md0p1, md0p4 and md0p5, but then I don't get /dev/md0p1 or /dev/md0p5 in /dev as I would expect.06:28
mithrois this going to be the boot disk?06:29
mithrobtw it is pointless having swap on raid1 - linux already does things properly06:30
pschulz01mithro: Yep.06:30
pschulz01mithro: Server with two identical SAS drives.06:30
mithroif you want to be able to boot it you will have to partition first and the make each partition pair a raid device06:30
pschulz01mithro: Yes, I know.. I'm trying to make life simple for me when things go wrong, in lie of not having hardware raid.06:31
pschulz01mithro: That is what I have seen in all the examples so far.06:31
mithrothe other way will make it impossible to boot the box06:31
mithro(IE taking the two HDs, raiding them together and then partitioning)06:32
pschulz01mithro: RAID106:32
mithrobecause raid has a header which would overwrite the master boot record06:32
pschulz01mithro: OK.. do you have a reference? That's the sore of information I've been after.06:33
pschulz01sort06:33
pschulz01(Where does RAID store it's info?)06:33
pschulz01mithro: I have been able to do one interesting thing..06:33
mithroI guess you could tell linux to not put in the header using06:33
mithro       -B, --build06:33
mithro              Build a legacy array without superblocks.06:33
mithrobut then you have to specify the raidconfig on the boot options06:34
pschulz01mithro: Converted a ext3 to RAID1 (degraded).06:34
pschulz01mithro: .. and it booted :-) except that the ext3 and partition table reported two different sizes for the partition which caused the boot to stop on the warning/error.06:35
mithropschulz01: did you raid together /dev/sda and /dev/sdb or /dev/sda1 and /dev/sda206:36
mithroopps06:36
mithropschulz01: did you raid together /dev/sda and /dev/sdb or /dev/sda1 and /dev/sdb106:36
pschulz01mithro: There were (different) problems with both.06:36
mithroyou shouldn't be able to boot /dev/sda raided with /dev/sdb06:37
mithrobecause of the raid superblocks06:37
pschulz01/dev/sd(a|b) kind of works, but I can't then set the partition as 'Linux RAID automatic'06:37
mithropschulz01: yeah06:38
mithroso why don't you do the way I have it?06:39
mithrowith a partition on each device and then raid together individual partitions?06:39
pschulz01/dev/sd(a|b)1 works, except that I hit the problem of /dev/md0p1. It didn't appear in /dev, even though fdisk displays this as the parition name.06:39
pschulz01mithro: For recovery.. I wont to make it as simple as possible.06:39
mithropschulz01: restore process06:40
mithrodd if=/dev/sda of=/dev/sdc count=2  # copy partition table06:40
pschulz01mithro: eg. System turns into RAID1 (degraded). Replace drive.. and RAID build itself.06:40
*** CIA-10 has quit IRC06:40
pschulz01mithro: Yeah.. I know,06:40
pschulz01mithro: sfdisk works here.06:41
mithromdadm /dev/md1 --add /dev/sdc106:41
mithromdadm /dev/md2 --add /dev/sdc206:41
mithromdadm /dev/md3 --add /dev/sdc306:41
mithroetc06:41
pschulz01mithro: Yeah.. not as simple as I would like.. but doable.06:42
mithrodo not raid swap06:42
mithroas it will degrade your performance06:43
mithro(each swap write will cause twice as much traffic)06:43
pschulz01mithro: Overhead on system when swapping <--> system crash if error on swap drive06:43
mithropschulz01: raid1 also doesn't cover block-errors06:44
pschulz01mithro: ?06:45
mithrowhich is kind of sucky if you get a "partial" failure06:45
pschulz01mithro: RAID1 is mirror, yes?06:45
mithropschulz01: yes06:45
mithroraid1 does not have parity checks for each block06:46
pschulz01So what am I protesting against then?06:46
pschulz01protecting06:46
pschulz01harddrive failure?06:47
mithrocomplete harddrive failure06:47
mithronot partial failure06:47
pschulz01Hmm..06:47
mithroif a device starts silently corrupting data (and not reporting the errors correctly) you are fscked06:48
mithroi found that out the hard way06:48
*** CIA-10 has joined #tp06:48
pschulz01mithro: We have had that problem.. but i wasn't here then.06:48
pschulz01mithro: Corruption/errors on both sides. :-(06:49
mithrowell, even corruption on one side will cause you to get bad data half the time06:49
pschulz01mithro: Thanks.. I need to do some more reading.06:51
mithrofor real fault tolerance you probably want raid506:52
mithrowhich is 3 disks minimum06:52
pschulz01mithro: Yes.. and in hardware06:52
mithromost cheap hardware raid is pretty much software raid06:52
mithroif you have already invested in SAS (rather then SATA) probably worth investing in a proper raid controller06:53
pschulz01mithro: for me hardware RAID --> independant of OS06:53
pschulz01mithro: I inherited the hardware.06:53
mithropschulz01: any onboard raid is software raid06:54
mithropschulz01: raid1 is probably the best "no more cost" option06:56
pschulz01:-)06:56
pschulz01RAID1 or double my storage06:57
pschulz01or use this for a rsync'ed backup (which is the configuration of our current server).06:57
mithroI'm thinking of getting two 500g harddrives to replace all my current storage07:16
mithroor maybe I should get 4 and do raid507:16
*** Demitar has joined #tp07:30
CIA-10mithro tpclient-pywx-development * r5847c2eff8f9 /windows/main/ (overlays/Path.py panelStarMap.py): Make the Path use a state machine for the changes in state.07:42
*** jotham has quit IRC09:41
*** Epyon has quit IRC11:16
*** Epyon has joined #tp11:25
*** mithro has quit IRC12:49
tpbdisconnected from worldforge: Ping sent at 2007-11-03T19:22:15 not replied to.19:24
tpbtpb has joined on worldforge19:56
*** mithro has joined #tp21:11
*** greywhind_ has joined #tp21:14
mithromorning people21:25
greywhind_hey mithro21:25
mithrogreywhind_: how goes everything?21:26
greywhind_mithro: good... i was just thinking about pushing my changes so you could look them over and suggest any other improvements when you appeared21:28
mithrookay, that would be cool21:28
CIA-10mithro tpclient-pywx-incoming * r7ab0e9914877 /windows/main/ (overlays/Systems.py panelStarMap.py): Only enable waypoint mode on objects which can move.21:38
CIA-10mithro tpclient-pywx-incoming * r8e35427a9912 /extra/wxFloatCanvas/GUIMode.py: Removed shift from ZoomIn.21:38
CIA-10mithro tpclient-pywx-incoming * ref57ec7b0484 /tpclient-pywx: Let the OnOrderSelect event be given a single slot.21:38
CIA-10mithro tpclient-pywx-incoming * r86b6b66f40d5 /windows/main/ (panelInfo.py panelPicture.py): Remove excess prints.21:38
CIA-10mithro tpclient-pywx-incoming * r43186a697fb3 /windows/main/ (5 files in 2 dirs): Started trying to get the Path overlay interactions working.21:38
CIA-10mithro tpclient-pywx-incoming * rf48f5d2ac25a /extra/wxFloatCanvas/ (FloatCanvas.py GUIMode.py): Fixed zooming using the keyboard so that the point under the mouse cursor stays under the mouse cursor.21:39
CIA-10mithro tpclient-pywx-incoming * rfa17315ae9e0 /windows/main/ (overlays/Path.py overlays/Systems.py panelStarMap.py): Make the path appear behind the other overlay.21:39
CIA-10mithro tpclient-pywx-incoming * r5847c2eff8f9 /windows/main/ (overlays/Path.py panelStarMap.py): Make the Path use a state machine for the changes in state.21:39
CIA-10noegnud tpclient-pywx-incoming * r5ecf7ded1f81 / (10 files in 4 dirs): Merge with development branch.21:39
CIA-10noegnud tpclient-pywx-incoming * r09e182521ae9 /windows/ (main/winDesign.py xrc/winDesign.xrc):21:39
CIA-10Modified Design window to correctly position title and make its search21:39
CIA-10boxes functional.21:39
greywhind_mithro: did the patches work correctly?21:46
mithrojust checking now21:47
mithrogreywhind_: the title stuff isn't quite working21:56
greywhind_mithro: hmm... in what way?21:56
mithronot centered with the number to the right21:57
mithrothere is still a grey gap on the side too21:57
mithrothe filtering works a treat!21:57
greywhind_mithro: can you be more specific about how the title should look?21:57
mithro sure21:58
mithrothe title should be centered (both vertically and horizontally)21:58
mithrowhile the little green zero should be all the way to the right22:01
mithrowant me to send you a screenshot of what I have at the moment?22:03
greywhind_sure22:03
greywhind_i moved the number closer to the text because it seemed strange to have it all the way on the right... i'll put it back22:04
mithrothat number isn't really all that important22:06
mithrohttp://www.thousandparsec.net/~tim/Screenshot.png22:09
tpb<http://ln-s.net/Z2z> (at www.thousandparsec.net)22:09
greywhind_mithro: alright, so basically it should be changed so the number is moved farther right22:10
greywhind_and if possible, get the rest of it to take up all the space, with no gap on the right?22:10
mithrogreywhind_: yeah, it is definately possible to do it22:12
greywhind_mithro: i have to eat - i'll do it afterwards.22:13
mithrookay22:16
mithrogreywhind_: otherwise it is looking good!22:16
*** jotham has joined #tp22:28
*** greywhind_ has quit IRC22:28
*** greywhind_ has joined #tp22:28
mithrohey jotham22:40
jothamhey22:48
mithrojotham: how goes life?22:52
mithrojotham: looks like we might have another artist22:52
jothamcool22:53
jothamlife is stress city22:53
jotham3 weeks from delivery22:53
mithrojotham: will it be a bit less stressful after delivery? or are you straight onto another project?22:54
jothamwill be wrapping up and getting ready to quit my job22:54
jothamso it'll be less stressfulk22:54
mithrojotham: I have forgotten what your plans where? something with the gf for two weeks or something?22:55
mithrogreywhind_: ping?22:56
jothamgonna be able to work on other projects pretty much from december onward, but i have like a week of dedicated time somewhere around christmas22:56
greywhind_mithro: sup?22:56
mithrogreywhind_: so, the question is what do you want to work on next?22:57
greywhind_mithro: well, the overlay idea sounds good... we'll need to flesh out the details though22:58
mithrogreywhind_: well - maybe the first step would be to fix the resources overlay22:58
mithrothat will give you an idea on how the overlays work22:58
greywhind_mithro: i'll take a look at it22:59
mithroanother cool one to do would be "areas of influence"23:00
greywhind_mithro: yeah23:00
mithroKind of like http://home.scarlet.be/zoetrope/voronoi/23:00
tpbTitle: Zoetrope - Voronoi Diagrams in Python (at home.scarlet.be)23:00
mithrohttp://www2.toki.or.id/book/AlgDesignManual/BOOK/BOOK4/NODE187.HTM#voronoidiagrams23:00
tpb<http://ln-s.net/18O9> (at www2.toki.or.id)23:00
mithrojotham: I have the person who did the intro movie working on an intro movie for the battleviewer23:01
* mithro will have to run in a bit23:01
mithrogreywhind_: there are quite a few "cleanup" tasks that need to be done to release tpclient-pywx-dev too23:01
mithroless interesting, but probably more important23:01
mithrogreywhind_: also -> http://www.google.com.au/search?hl=en&q=closest+point&btnG=Search&meta=23:02
tpb<http://ln-s.net/18O$> (at www.google.com.au)23:02
mithrogreywhind_: anyway I have to go to a wedding23:03
mithrobe back later23:03
mithrojotham: good luck with work23:04
jothamcheers23:05
*** greywhind_ has quit IRC23:12
*** greywhind_ has joined #tp23:15
greywhind_sorry - somehow, a video trying to load on my web browser locked up my entire computer to the point where i had to restart23:16
*** greywhind_ is now known as greywhind23:25

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