1 2011-03-27T00:02:55 *** MattMaker
2 2011-03-27T00:10:34 *** grzywacz
3 2011-03-27T00:15:25 *** MattMaker
4 2011-03-27T00:34:17 *** m4k3r
5 2011-03-27T01:21:38 *** __t
6 2011-03-27T01:25:08 *** __t1
7 2011-03-27T01:25:08 *** __t
8 2011-03-27T01:26:57 *** __t
9 2011-03-27T01:30:21 *** ronny
10 2011-03-27T01:37:44 *** MattMaker
11 2011-03-27T01:54:57 *** ronny
12 2011-03-27T03:09:45 *** kasun
13 2011-03-27T03:13:00 *** kasun
14 2011-03-27T03:27:14 * ThomasWaldmann released argparse 1.2 \o/
15 2011-03-27T04:41:12 *** sl33k_
16 2011-03-27T04:45:55 *** sl33k_
17 2011-03-27T04:46:47 <sl33k_> Could i get feedback on how do i improve that code?
18 2011-03-27T04:54:49 *** __t
19 2011-03-27T04:55:13 *** __t
20 2011-03-27T04:59:18 *** __t
21 2011-03-27T05:07:46 *** ronny
22 2011-03-27T05:09:53 *** ronny
23 2011-03-27T06:02:34 *** sl33k
24 2011-03-27T06:04:36 *** sl33k
25 2011-03-27T06:05:02 *** sl33k_
26 2011-03-27T06:06:17 *** sl33k_
27 2011-03-27T07:14:46 *** sl33k
28 2011-03-27T07:16:00 *** sl33k_
29 2011-03-27T07:16:54 *** sl33k_
30 2011-03-27T07:17:30 *** Marchael
31 2011-03-27T07:17:40 <Marchael> moin
32 2011-03-27T07:31:31 *** kursor
33 2011-03-27T07:41:25 *** kursor_
34 2011-03-27T07:44:42 *** kursor
35 2011-03-27T07:44:43 *** kursor_
36 2011-03-27T07:47:48 *** m4k3r
37 2011-03-27T08:44:38 *** andialbrecht_
38 2011-03-27T08:47:03 *** andialbrecht
39 2011-03-27T09:17:39 <dreimark> moin
40 2011-03-27T09:17:52 <dreimark> sl33k_: did you run the tests?
41 2011-03-27T09:22:56 <dreimark> http://test.moinmo.in/patch/360114
42 2011-03-27T09:23:48 <dreimark> py.test MoinMoin/_tests/test_sourcecode.py
43 2011-03-27T09:48:05 <dreimark> you need to look at all revisions, currently you look onl at the current
44 2011-03-27T09:50:15 <sl33k_> dreimark: another for oop?
45 2011-03-27T09:50:22 <sl33k_> *loop
46 2011-03-27T09:51:02 <dreimark> also look at docstrings, same syntax please
47 2011-03-27T09:51:19 <dreimark> sl33k_: did you tried to alter a item by an other account?
48 2011-03-27T09:51:39 <dreimark> we have revisions similiar to a vcs
49 2011-03-27T09:51:58 <dreimark> and you should find all revsisions a user has contributed
50 2011-03-27T09:52:13 <dreimark> of an item
51 2011-03-27T09:52:29 <dreimark> it counts if he has contributed to one revision
52 2011-03-27T09:52:41 <dreimark> the output could also count the amount
53 2011-03-27T09:53:08 <dreimark> for the output you could also count the amount
54 2011-03-27T09:57:09 <sl33k_> i am new to unit test, could you tell what does assert 3==0 suggests?
55 2011-03-27T09:59:37 <dreimark> sl33k_: was that raised from your code?
56 2011-03-27T09:59:45 <sl33k_> yea
57 2011-03-27T10:00:26 <dreimark> it means if not expression raise
58 2011-03-27T10:00:35 <dreimark> details at http://docs.python.org/reference/simple_stmts.html
59 2011-03-27T10:01:09 <dreimark> the test environment is described at http://pytest.org/
60 2011-03-27T10:01:32 <dreimark> sl33k_: which test fails now?
61 2011-03-27T10:01:44 <dreimark> which did not before your code was applied
62 2011-03-27T10:03:02 <sl33k_> http://paste.pocoo.org/show/360251/
63 2011-03-27T10:03:25 <sl33k_> also, i think i do need to change the template?
64 2011-03-27T10:07:38 <dreimark> sl33k_: you need your own template
65 2011-03-27T10:08:21 <dreimark> sl33k_: that is a pep8 failure
66 2011-03-27T10:08:25 <dreimark> fix it
67 2011-03-27T10:09:06 <dreimark> if you look at the image I showd you should also see what is wrong
68 2011-03-27T10:10:45 <sl33k_> i dont get the red stripe
69 2011-03-27T10:15:57 <dreimark> sl33k_: because you don't have python.vim from MM
70 2011-03-27T10:16:31 <dreimark> http://moinmo.in/CodingStyle
71 2011-03-27T10:28:09 <dreimark> the red stripe indicates pep8 failures
72 2011-03-27T11:26:28 *** Marchael
73 2011-03-27T11:28:35 *** Marchael
74 2011-03-27T12:20:40 *** m4k3r
75 2011-03-27T12:27:58 *** Marchael
76 2011-03-27T12:29:17 *** Marchael
77 2011-03-27T13:14:48 *** sl33k_
78 2011-03-27T13:18:22 *** greg_f
79 2011-03-27T13:30:38 <ThomasWaldmann> moin
80 2011-03-27T14:00:12 *** m4k3r
81 2011-03-27T14:12:22 *** sl33k_
82 2011-03-27T14:18:44 *** __t
83 2011-03-27T14:59:29 *** kursor
84 2011-03-27T15:13:28 *** ronny
85 2011-03-27T15:15:26 *** Marchael
86 2011-03-27T15:16:13 *** m4k3r
87 2011-03-27T15:19:14 *** Marchael
88 2011-03-27T15:19:30 *** __t
89 2011-03-27T15:21:44 *** Marchael
90 2011-03-27T15:21:53 *** Marchael
91 2011-03-27T15:34:03 *** __t
92 2011-03-27T15:39:04 *** ronny
93 2011-03-27T17:05:22 *** RogerHaase
94 2011-03-27T17:10:38 <RogerHaase> fyi - IE9 hangs forever when attempting access http://localhost:8080/home. IE9 status bar shows waiting for response from localhost... The command prompt window shows no indication that a request was received from IE9.
95 2011-03-27T17:13:05 <RogerHaase> A workaround (believe it or not) is to view any non-local page in compatibility mode, then access http://localhost:8080/Home. All pages thereafter are displayed OK in both compatibility mode and normal mode.
96 2011-03-27T17:25:26 *** jek
97 2011-03-27T18:11:25 *** ronny
98 2011-03-27T18:29:14 <ThomasWaldmann> hi roger
99 2011-03-27T18:32:32 *** ronny
100 2011-03-27T18:37:20 <RogerHaase> ThomasWaldmann: Moin
101 2011-03-27T18:39:53 <ThomasWaldmann> that sounds weird, even for IE
102 2011-03-27T18:40:58 <RogerHaase> Yes, if you have two IE9 windows open, it is more erratic.
103 2011-03-27T18:55:35 *** greg_f
104 2011-03-27T19:09:26 *** kursor
105 2011-03-27T19:43:26 *** grzywacz
106 2011-03-27T19:45:52 <Marchael> moin
107 2011-03-27T19:46:49 <Marchael> ThomasWaldmann: do I need implement only index for metadata or index+search by key, value or key : value?
108 2011-03-27T19:47:43 <ThomasWaldmann> of course it is indexing + search, otherwise it is pointless
109 2011-03-27T19:48:13 <ThomasWaldmann> and it is about data and metadata, for same reason
110 2011-03-27T19:48:33 <Marchael> http://packages.python.org/Whoosh/api/fields.html#whoosh.fields.TEXT may keep different data.
111 2011-03-27T19:48:38 <Marchael> for example metadata
112 2011-03-27T19:49:11 <Marchael> but I`m thinking now, how do I can realize search by key or value with this
113 2011-03-27T19:50:39 <Marchael> for example I can declare Schema(title=TEXT(stored=True), content=TEXT, metadata=KEYWORD) and put metadata to `metadata`
114 2011-03-27T19:51:30 <Marchael> oops
115 2011-03-27T19:51:42 <Marchael> metadata=TEXT
116 2011-03-27T19:57:34 <ThomasWaldmann> well, if you think about replacing the sqla stuff, just try to do what it does now
117 2011-03-27T20:01:53 <Marchael> ok, but why? just compare it with whoosh?
118 2011-03-27T20:09:01 <Marchael> hm, incorrect question :)
119 2011-03-27T20:16:05 <RogerHaase> ThomasWaldmann: I have 3 minor CSS changes in BB.
120 2011-03-27T20:16:56 <Marchael> ThomasWaldmann: ie create page with title, metadata, content etc. Index it and search by title for example?
121 2011-03-27T20:23:25 *** MattMaker
122 2011-03-27T20:26:27 *** MattMaker
123 2011-03-27T20:26:45 <ThomasWaldmann> Marchael: what is the question right now?
124 2011-03-27T20:27:45 <Marchael> what functions of sqla i need to try with whoosh?
125 2011-03-27T20:33:45 *** sinha
126 2011-03-27T20:35:59 *** sinha
127 2011-03-27T20:54:52 <ThomasWaldmann> Marchael: see indexing.py for the schema
128 2011-03-27T20:56:29 <Marchael> ok
129 2011-03-27T21:32:11 *** kursor
130 2011-03-27T21:34:45 *** Marchael
131 2011-03-27T22:44:21 *** kasun
132
MoinMoin: MoinMoinChat/Logs/moin-dev/2011-03-27 (last edited 2011-03-26 23:45:03 by IrcLogImporter)