2006-08-09T08:34:40  <ThomasWaldmann> moin
2006-08-09T08:35:10  <Kepplar> moin
2006-08-09T08:36:00  <Kepplar> xorAxAx: yea but having it stored on the filesystem as names stops it how?
2006-08-09T08:40:16  <ThomasWaldmann> it currently does not work like that and I suggest not to change that NOW.
2006-08-09T08:41:07  <Kepplar> ThomasWaldmann: I'm going to need to know the thinking behind it as I still need to impliment things in front of it so I need to generate this id :)
2006-08-09T08:42:26  <ThomasWaldmann> the id is kept in the cookie, thus the id is the access key to the user profile. it is also stored in edit-log.
2006-08-09T08:42:47  <Kepplar> does something in wikiutils generate it or something?
2006-08-09T08:43:16  <Kepplar> (so it can be sent as a cookie etc)
2006-08-09T08:43:18  <ThomasWaldmann> it is somewhat like time + random
2006-08-09T08:43:33  <Kepplar> ah yes yes
2006-08-09T08:43:48  <Kepplar> similar system to what I came up with for another project two years ago
2006-08-09T08:43:51  <Kepplar> I understand
2006-08-09T09:59:39  <xorAxAx> Kepplar: that would not be O(1) without a table (indirection) as i said
2006-08-09T10:32:03  <Kepplar> any reason why a table is bad? :)
2006-08-09T10:32:19  <xorAxAx> its not bad
2006-08-09T10:32:44  <Kepplar> Ok fair enough, just wanted to know the thinking behind why its implemented like this :)
2006-08-09T17:02:55  <xorAxAx> ThomasWaldmann: how often are the cgi wikis updated?
2006-08-09T17:03:19  <ThomasWaldmann> updated?
2006-08-09T17:04:20  <xorAxAx> with new hg changesets
2006-08-09T17:04:38  <ThomasWaldmann> on push
2006-08-09T17:05:51  <xorAxAx> indeed, forgot that :)
2006-08-09T17:10:50  <Kepplar> heh
2006-08-09T17:13:50  <fpletz> got a response from lh, she will forward it tho their marketing team
2006-08-09T17:17:35  <xorAxAx> wow, i synced the first page :)
2006-08-09T17:38:37  <ThomasWaldmann> hooray :)
2006-08-09T17:43:41  <Kepplar> xorAxAx: gj
2006-08-09T17:44:15  <xorAxAx> gj?
2006-08-09T17:44:21  <Kepplar> good job
2006-08-09T17:45:54  <xorAxAx> ah
2006-08-09T18:42:44  * xorAxAx tweaked util.diff3 a bit
2006-08-09T21:22:47  <ThomasWaldmann> re
2006-08-09T21:23:03  <Kepplar> Hi
2006-08-09T21:23:08  <Kepplar> I'm not happy with the lsat two days
2006-08-09T21:23:22  <Kepplar> discovering that users are stored in this way has forced me to put digusting hacks in
2006-08-09T21:28:58  <ThomasWaldmann> ?
2006-08-09T21:29:19  <Kepplar> the fact user is stored on the fs with some id
2006-08-09T21:29:28  <Kepplar> its thrown *half* my code as incorrect
2006-08-09T21:29:47  <Kepplar> well
2006-08-09T21:29:49  <Kepplar> incompatbility
2006-08-09T21:30:00  <Kepplar> i wont say incorrect because i believe its stupid to store it like that frankly
2006-08-09T21:30:13  <Kepplar> everything needs to be universal
2006-08-09T21:30:58  <ThomasWaldmann> well, that's the way it is since moin 0.1 I guess.
2006-08-09T21:31:16  <Kepplar> I'm still trying to think of a way to sort it out
2006-08-09T21:31:34  <ThomasWaldmann> i dont understand why that is a problem for you, though
2006-08-09T21:31:47  <Kepplar> Item name is what gets stored
2006-08-09T21:31:54  <Kepplar> Users items name must be the uid then
2006-08-09T21:32:04  <Kepplar> well
2006-08-09T21:32:07  <Kepplar> at least for legacy
2006-08-09T21:32:13  <Kepplar> that bit i've sorted
2006-08-09T21:32:17  <ThomasWaldmann> and?
2006-08-09T21:32:23  <Kepplar> the problem is the valid "name" code
2006-08-09T21:32:40  <Kepplar> I'm trying to figure out the best way of doing it
2006-08-09T21:32:42  <ThomasWaldmann> what valid name code?
2006-08-09T21:32:52  <Kepplar> validate the item name, which means wikiname and uid now
2006-08-09T21:33:01  <Kepplar> as well as converting it to fs friendly versions
2006-08-09T21:33:26  <ThomasWaldmann> i still dont see the problem
2006-08-09T21:33:54  <Kepplar> i hate using if as case switch for things like this (which is what im doing)
2006-08-09T21:33:56  <Kepplar> its ugly
2006-08-09T21:34:15  <ThomasWaldmann> file/line?
2006-08-09T21:34:37  <Kepplar> 426issh + on flatfile
2006-08-09T21:34:45  <Kepplar> its the functions i moved from Page
2006-08-09T21:35:01  <Kepplar> (aka don't moan at me its bad variable naming - i know :P)
2006-08-09T21:35:12  <Kepplar> i've put in a if statement at the top but its a hack and doesnt work
2006-08-09T21:35:29  <Kepplar> i need an elegent way to verify names going in
2006-08-09T21:35:33  <Kepplar> as well as convert
2006-08-09T21:35:38  <Kepplar> single function wont cut it out
2006-08-09T21:35:48  <Kepplar> especially for verification
2006-08-09T21:37:07  <Kepplar> im going to lie down for ten or so to think
2006-08-09T21:37:37  * ThomasWaldmann refuses to comment on code that has tabs
2006-08-09T21:38:28  <ThomasWaldmann> and other major bugs found by python.vim
2006-08-09T21:40:25  <Kepplar> kepplar@corus:~/dev/moinmoin/storage$ eric
2006-08-09T21:40:25  <Kepplar> Traceback (most recent call last):
2006-08-09T21:40:25  <Kepplar>   File "/usr/share/eric/modules/eric3.py", line 15, in ?
2006-08-09T21:40:25  <Kepplar>     from qt import QTextCodec, SIGNAL, SLOT, qApp
2006-08-09T21:40:25  <Kepplar> ImportError: No module named qt
2006-08-09T21:40:28  <Kepplar> thats why it has tabs
2006-08-09T21:43:18  <ThomasWaldmann> do you have vim?
2006-08-09T21:54:35  <Kepplar> before soc i did
2006-08-09T21:54:38  <Kepplar> then went to eric
2006-08-09T21:54:44  <Kepplar> now erics broken im using gedit
2006-08-09T21:55:02  <Kepplar> eric might have broken when i symlinks /usr/bin/python to 2.4 instead of2.3
2006-08-09T21:59:01  <ThomasWaldmann> you could use vim and the file attached to CodingStyle to avoid some obvious errors
2006-08-09T21:59:17  <Kepplar> im fixing eric now
2006-08-09T21:59:24  <Kepplar> that should resolve tabs instantly
2006-08-09T22:04:46  <Kepplar> I'm thinking that prehaps flatfile needs two objects
2006-08-09T22:04:57  <Kepplar> both inheriting from String
2006-08-09T22:05:05  <Kepplar> representing internal and filesystem names
2006-08-09T22:05:20  <Kepplar> and converting between them is done by methods instead of flat functions in FlatFileProxy

MoinMoin: MoinMoinChat/Logs/moin-dev/2006-08-09 (last edited 2007-10-29 19:18:58 by localhost)