[00:00:51] -nobody- Kebap23 has quit FREENODE (Ping timeout: 240 seconds) [00:05:05] *** Quits: Kebap (Max@RBOSE-a5rtsv.adsl.alicedsl.de) (Ping timeout: 241 seconds) [00:05:06] *** Joins: Kebap (Max@RBOSE-t5k0m0.adsl.hansenet.de) [00:05:56] -nobody- Kebap23 has joined on FREENODE [00:05:58] -nobody- mode change by ChanServ on FREENODE: +v Kebap23 [00:54:21] *** Quits: Cyclo (Cyclo@RBOSE-pdk.uv3.156.78.IP) (Connection closed) [01:54:38] *** Quits: elf-pavl1k (elf-pavlik@RBOSE-13qpka.org) (Connection closed) [02:07:23] *** Joins: elf-pavlik (elf-pavlik@RBOSE-13qpka.org) [02:55:19] -nobody- Calyp has quit FREENODE (Ping timeout: 240 seconds) [02:58:59] *** Quits: Caly (Caly@RBOSE.org) (Ping timeout: 241 seconds) [03:13:08] *** Joins: Hakufu_ (jonte@RBOSE-aa2ikg.bredband.comhem.se) [03:13:08] *** Quits: Hakufu (jonte@RBOSE-aa2ikg.bredband.comhem.se) (Connection closed) [03:17:20] -nobody- Calyp has joined on FREENODE [03:17:21] -nobody- mode change by ChanServ on FREENODE: +v Calyp [03:17:34] *** Joins: Caly (Caly@RBOSE-jq0gat.cust.telenor.se) [03:52:31] -nobody- DNS777 has quit FREENODE (Remote host closed the connection) [03:52:36] -nobody- DNS777 has joined on FREENODE [03:52:37] -nobody- mode change by ChanServ on FREENODE: +v DNS777 [03:58:53] *** Quits: lukas (lukas@RBOSE-gkfu2h) (Connection closed) [04:02:56] -nobody- Calyp has quit FREENODE (Ping timeout: 240 seconds) [04:06:34] *** Quits: Caly (Caly@RBOSE.org) (Ping timeout: 241 seconds) [04:15:39] -nobody- Calyp has joined on FREENODE [04:15:40] -nobody- mode change by ChanServ on FREENODE: +v Calyp [04:17:32] *** Joins: Caly (Caly@RBOSE-m414jb.cust.telenor.se) [04:48:26] *** Quits: kalken (default@RBOSE-1a724n.bredband.comhem.se) (Ping timeout: 241 seconds) [05:04:10] -nobody- Calyp has quit FREENODE (Ping timeout: 252 seconds) [05:07:40] *** Quits: Caly (Caly@RBOSE.org) (Ping timeout: 241 seconds) [05:21:33] -nobody- Calyp has joined on FREENODE [05:21:35] -nobody- mode change by ChanServ on FREENODE: +v Calyp [05:23:00] *** Joins: Caly (Caly@RBOSE-s2jsii.cust.telenor.se) [05:34:42] *** Quits: Caly (Caly@RBOSE.org) (Quit: Leaving) [05:34:43] -nobody- Calyp has quit FREENODE (Quit: Leaving) [08:19:36] *** Quits: DNS777 (DNS777@NetAdmin.RBOSE) (A TLS packet with unexpected length was received.) [08:20:52] *** Joins: DNS777 (DNS777@RBOSE-tqb8pp.superkabel.de) [08:28:28] *** Joins: lukas (lukas@RBOSE-gkfu2h) [10:58:25] http://bostonreview.net/BR33.6/stallman.php [10:58:27] Title:  Boston Review Richard M. Stallman: Not Free at Any Price (at bostonreview.net) [10:58:40] a sad story of One [10:58:49] a sad story of One Laptop Per Child* [12:26:00] *** Joins: Cyclo (Cyclo@RBOSE-pdk.uv3.156.78.IP) [12:51:02] *** Quits: Hakufu_ (jonte@RBOSE-aa2ikg.bredband.comhem.se) (Connection closed) [12:51:07] *** Joins: Hakufu (jonte@RBOSE-aa2ikg.bredband.comhem.se) [13:19:11] *** Joins: kalken (default@RBOSE-1a724n.bredband.comhem.se) [13:29:57] *** Joins: ZyaX (9jti8d8@RBOSE-5lntnm.bredband.comhem.se) [14:19:07] *** Joins: Caly (Caly@RBOSE-ulb8ot.cust.telenor.se) [14:19:14] -nobody- Calyp has joined on FREENODE [14:19:15] -nobody- mode change by ChanServ on FREENODE: +v Calyp [14:23:22] http://www.altruists.org/projects/proposals/sc/ [14:23:25] Title:  Vejrø - A Possible Site For A Forward Looking, Sustainable Community Development Project (at www.altruists.org) [14:26:07] *** Joins: kman (kman@RBOSE-hhm.9h0.94.93.IP) [14:34:08] "There's a common belief that cyberspace cannot be regulated-that it is, in its very essence, immune from the government's (or anyone else's) control. Code, first published in 2000, argues that this belief is wrong. It is not in the nature of cyberspace to be unregulable; cyberspace has no "nature." It only has code-the software and hardware that make cyberspace what it is. That code can create a place of [14:34:10] freedom-as the original architecture of the Net did-or a place of oppressive control." [14:34:26] from http://www.lessig.org/content/books/ [14:34:28] Title:  Lessig.Content: Books (at www.lessig.org) [14:34:51] -nobody- Calyp has quit FREENODE (Ping timeout: 240 seconds) [14:38:53] *** Quits: Caly (Caly@RBOSE.org) (Ping timeout: 241 seconds) [14:49:02] *** Quits: Cyclo (Cyclo@RBOSE-pdk.uv3.156.78.IP) (Connection closed) [14:49:08] *** Joins: Cyclo (Cyclo@RBOSE-pdk.uv3.156.78.IP) [14:50:51] -nobody- Calyp has joined on FREENODE [14:50:52] -nobody- mode change by ChanServ on FREENODE: +v Calyp [14:51:57] *** Joins: Caly (Caly@RBOSE-76947l.cust.telenor.se) [16:40:55] *** Joins: Hakufu_ (jonte@RBOSE-aa2ikg.bredband.comhem.se) [16:40:55] *** Quits: Hakufu (jonte@RBOSE-aa2ikg.bredband.comhem.se) (Connection closed) [17:16:05] lukas, DNS777 anyone of you got time to take a quick look at some code ? ._. [17:17:40] kman: yes [17:20:46] http://pastebin.com/mV92BdYD [17:20:48] Title:  [Python] Im not catching anything with the re.search variables. Im still working with the - Pastebin.com (at pastebin.com) [17:23:21] kman: two things for sure from my perspective [17:24:06] Bring it on! [17:24:55] is the datafile source of your data or is it the file which will be overwritten? [17:25:23] datafile is the one im reading from. [17:25:50] Nope! [17:25:55] ok [17:26:05] Wait a second here.. [17:27:23] kman: so you should replace "w" with "r" and do the opposite in lines 24, 25 [17:28:27] No im reading from outfile [17:28:42] ok, then it can stay like that [17:28:52] Yeah, but then im writing to the wrong file. [17:29:02] But i changed that now. [17:29:15] ok [17:29:46] next thing is that you defined a handler to the file, but did not read it in fact [17:30:34] I dont understand. [17:31:15] you miss something like: data = outfile.read() or data = outfile.readlines() depending on what you want to get (string/list) [17:32:02] outfile = open(outputfile, 'r') <--- this does not read actually anything [17:32:18] Hmm ok. [17:32:52] Well the outputfile.dat gets crated. [17:32:57] so after that you need to add that statement i wrote above and then loop over data [17:32:58] But your right, nothing is read. [17:33:21] I'll give that a try! [17:33:29] *Deep bow* [17:34:30] ok, you can always print data to screen just after you read it, so you know that you have what you need in that place before you execute the code further [17:34:58] Yep! [17:37:26] But no, wait. I dont understand why readfile = open(sys.argv[1], 'r') doesnt actually read anything. [17:37:58] Outputfile is defined in main as sys.argv[1], so wth? [17:39:50] your sys.argv[1] is just a string probably, and with open() you define something like an "anchor" to a file, finally there are many ways you could read the file (bit by bit, line by line, jump between bytes, etc.) [17:40:16] so therefore open() does not read anything by default [17:41:41] But how then can outputfile.dat be created if sys.argv[1] was just a string not related to a file? [17:44:02] not sure about the specific mechanics behind it, but i think the open() makes sure the files exists, either for read or write, and again no data is written neither read [17:44:52] Spend time meditating over this, i will. [17:45:18] Going for a bath. bbl. [17:45:25] Again, thanks for your help :) [17:45:41] after f = open() you need use f.read()/f.readlines() or f.write()/f.writelines() depending on what you want to do, or other methods [17:49:18] i think you will have there one issue more, but take the time to go through this first [18:28:34] http://truteknologyfiles.com/2011/07/13/treehouse-architecture-revisited-the-free-spirit-eco-sphere/#wrapper < interestin construction for a house :D [18:28:36] Title:  Treehouse Architecture Revisited: The Free Spirit Eco Sphere « tru:teknology files.com (at truteknologyfiles.com) [18:29:28] i think if the robin wood members would see that they will all build those haha [18:29:47] :) [18:31:14] robin wood are german "forest-activists" http://www.robinwood.de/ [18:31:18] Title:  Robin Wood » Startseite (at www.robinwood.de) [18:32:22] hahaha [19:38:52] DNS777, shout if you need mer umurmur testing [19:39:36] hm now i just wanted to go [19:39:52] but u can test with lukas and record it :D [19:39:54] hehe [19:40:01] ill bbl [19:40:05] cU [19:48:27] o// [20:18:29] -nobody- Calyp has quit FREENODE (*.net *.split) [20:19:49] lukas, so outfile = open(outputfile, 'r') [20:19:53] f = outfile.readlines() [20:20:00] Might get me somewhere? [20:20:10] -nobody- Calyp has joined on FREENODE [20:20:11] -nobody- mode change by kornbluth.freenode.net on FREENODE: +v Calyp [20:23:16] -nobody- ChanServ has quit FREENODE (*.net *.split) [20:23:21] -nobody- Out`Of`Control has quit FREENODE (*.net *.split) [20:24:19] -nobody- Out`Of`Control has joined on FREENODE [20:24:20] -nobody- ChanServ has joined on FREENODE [20:24:22] -nobody- mode change by kornbluth.freenode.net on FREENODE: +vo Out`Of`Control ChanServ [20:25:30] kman, yes, but i would change 'f' to 'data' to not confuse it with file [20:26:45] because in your case f becomes a list [20:29:28] Right, and re.search expects a string. [20:30:18] yes [20:30:59] but data = file.read() [20:31:09] stores the content of file in data as a string? [20:31:30] yes [20:35:21] *** Quits: Cyclo (Cyclo@RBOSE-pdk.uv3.156.78.IP) (Quit: Lämnar) [20:38:17] *** Quits: lukas (lukas@RBOSE-gkfu2h) (Quit: WeeChat 0.3.7-dev) [20:38:19] *** Joins: lukas (lukas@RBOSE-gkfu2h) [20:52:36] Bah.. When i try to store my match, i get thrown the error "TypeError: '_sre.SRE_Match' object is not iterable" [20:53:21] kman, what would you say about putting that code in gobby? :D [20:53:38] Could be done, yes :) [20:53:48] please do, i will join [20:53:51] guys, did any of you had a problem with registering to the wiki? [20:55:39] I registered like a year ago, but cant say there was any kind of prolbme them [20:56:00] prolbme them = problem then [20:57:43] i think the problem appeared lately, there was a bug i found today but invisible for a while, probably not allowing new people to register [21:00:14] kman: i'm waiting in gobby, let me know when you are ready [21:02:53] had to install [21:03:04] address/pwd? [21:07:45] lukas, ? [21:16:55] http://htcdev.com/bootloader/ [21:16:59] Title:  HTCdev - Unlock Bootloader (at htcdev.com) [21:17:15] wow, that means oss on mobiles maybe :DD [21:17:39] kalken: maybe :) [21:17:45] kman, sec. [21:21:43] kman: please check query :) [21:30:09] kalken: do you know if Fat64's box will be up again? [21:46:07] lukas, i put the code in kmansandbox.py [21:48:42] please have a look if you have time, im getting kind of frustrated with this. [21:48:44] :) [21:58:35] kman: sure, looking right now [22:07:54] kman: Some people, when confronted with a problem, think "I know, I'll use regular expressions." - Now they have two problems. [22:09:10] :) [22:09:21] seems like this can be easily done just with split() and strip() [22:10:52] Okay? [22:11:29] you know? [22:11:46] simple string processing [22:11:52] no regular expressions [22:13:33] Yeah i cant say that i know anything about when its actually appropriate to use regexp instead of simple stuff. [22:26:33] it is appropriate when you have already mastered the simple stuff ;) [22:26:50] how is your python skill coming along? [22:44:59] Um, well considering i havent had too much time working with the basics, its progressing but slowly. [22:45:05] Iv only written two simple scripts. [22:45:31] But every small accomplishment is a lot of fun ^^ [22:49:49] gn everyone. [22:50:45] good night :) [23:00:44] http://www.youtube.com/watch?v=ZlSm-wMf2yk [23:00:46] Title:  Manu Chao "La Vida Tombola" Video (featuring Diego Maradona) - YouTube (at www.youtube.com) [23:00:50] la vida es una tombola [23:01:05] gn8 kman :) [23:01:45] http://www.lowtechmagazine.com/2011/12/the-chinese-wheelbarrow.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+typepad%2Fkrisdedecker%2Flowtechmagazineenglish+%28Low-tech+Magazine%29&utm_content=FaceBook [23:01:45] kman's URL: http://x0.no/2rsn [23:01:47] Title:  Low-tech Magazine: How to downsize a transport network: the Chinese wheelbarrow (at www.lowtechmagazine.com) [23:01:49] Title:  Low-tech Magazine: How to downsize a transport network: the Chinese wheelbarrow (at x0.no) [23:01:50] Kind of interesting. [23:13:37] *** Quits: kman (kman@RBOSE-hhm.9h0.94.93.IP) (Quit: Leaving) [23:14:48] *** Quits: ZyaX (9jti8d8@RBOSE-5lntnm.bredband.comhem.se) (Ping timeout: 241 seconds)