1 2012-03-11T01:22:34  * ThomasWaldmann registed at shiningpanda.com, we are in the waiting queue at place 55...
   2 2012-03-11T03:54:38  *** sudo_dirk has quit IRC
   3 2012-03-11T04:43:20  *** kanha has joined #moin-dev
   4 2012-03-11T05:59:43  *** kanha_ has joined #moin-dev
   5 2012-03-11T06:01:53  *** sudo_dirk has joined #moin-dev
   6 2012-03-11T06:09:48  *** kanha_ has quit IRC
   7 2012-03-11T06:10:12  *** kanha has quit IRC
   8 2012-03-11T06:10:41  *** kanha__ has joined #moin-dev
   9 2012-03-11T06:15:23  *** kanha has joined #moin-dev
  10 2012-03-11T06:54:19  *** kanha has quit IRC
  11 2012-03-11T06:57:54  *** kanha__ is now known as kanha
  12 2012-03-11T07:28:26  *** kanha_ has joined #moin-dev
  13 2012-03-11T09:06:42  <dreimark> moin
  14 2012-03-11T09:08:29  <dreimark> sudo_dirk: yes, descibe the new feature
  15 2012-03-11T09:35:16  <dreimark> if his dyndns server is online we should get this one http://pypi.python.org/pypi/jpeg/0.1.4
  16 2012-03-11T09:38:11  <dreimark> or this may archieve it too
  17 2012-03-11T09:38:14  <dreimark> http://www.fetidcascade.com/pyexif.html
  18 2012-03-11T09:38:21  *** kanha has quit IRC
  19 2012-03-11T09:39:41  <dreimark> http://www.fetidcascade.com/public/minimal_exif_writer.py
  20 2012-03-11T09:41:15  <dreimark> unfortunately no licese info and needs refactoring which is no issue if it has the right license
  21 2012-03-11T09:42:05  <dreimark> +in that
  22 2012-03-11T09:44:13  *** brunomartin has quit IRC
  23 2012-03-11T09:47:46  <kanha_> In bug https://bitbucket.org/thomaswaldmann/moin-2.0/issue/157/html-content-type-with-div-is-not-rendered the problem is when html tag is used it gets converted to P tag
  24 2012-03-11T09:58:49  <kanha_> if input is given as <html><h1>foo</h1><div>foo</div></html> in UI then after saving the source code value of html_str is <p> 	&nbsp;</p> <h1> 	foo</h1> <div> 	foo</div> and html_tree.tag.name is div.the html tag gets converted to P tag
  25 2012-03-11T10:02:36  *** greg_f has joined #moin-dev
  26 2012-03-11T10:08:37  <kanha_> which part of the code converts html tag to P tag?
  27 2012-03-11T10:09:34  <dreimark> sudo_dirk: http://code.google.com/p/thebigpicture/ that is already GPL, may be we can parts of that for the images which don't have any exif
  28 2012-03-11T10:34:54  <sudo_dirk> moin
  29 2012-03-11T10:36:08  <sudo_dirk> dreimark: the feature is easyly described. i think for moin1 we just need to change orientation information in the pic, if the user clicks on rot_left/ rot_right. to have the requested orientation.
  30 2012-03-11T10:37:06  <sudo_dirk> pic name and tags is much easier in moin2 and a search for all pics having one tag is a horror if it is in the picture.
  31 2012-03-11T10:38:33  <sudo_dirk> thbigpicture is possibly to experimental. we possibly can keep the original picture but that doubles needed disk space.
  32 2012-03-11T10:38:42  <dreimark> no
  33 2012-03-11T10:38:53  <sudo_dirk> no for what?
  34 2012-03-11T10:39:05  <dreimark> we don't need to double
  35 2012-03-11T10:39:39  <dreimark> it is on the right path and we need to improve it if we want something independent from various libraries
  36 2012-03-11T10:39:40  <sudo_dirk> he describes that a corruption of the file can apear
  37 2012-03-11T10:40:03  <dreimark> we don't know what that means
  38 2012-03-11T10:40:40  <sudo_dirk> so you think to improve it first and then use it.
  39 2012-03-11T10:40:46  <dreimark> yes
  40 2012-03-11T10:41:05  <dreimark> and we also don't need to write it to the original file
  41 2012-03-11T10:41:13  <dreimark> we can add it to the thumbnail
  42 2012-03-11T10:42:14  <sudo_dirk> ok good idea. if we don't change the original file we can test the implementation and use it if it stable enough, right.
  43 2012-03-11T10:42:41  <dreimark> we also can save there all data (datetime, etc) we need
  44 2012-03-11T10:43:22  <sudo_dirk> so it'll be faster
  45 2012-03-11T10:43:47  <dreimark> currently a thumnail has not any information
  46 2012-03-11T10:43:57  <sudo_dirk> right
  47 2012-03-11T10:45:06  *** angela has joined #moin-dev
  48 2012-03-11T10:45:13  <dreimark> we have also another possibility in moin2, we can rotate by the browser
  49 2012-03-11T10:45:40  <dreimark> e.g. by using svg rotate function
  50 2012-03-11T10:45:41  <sudo_dirk> why in moin2 and not moin1
  51 2012-03-11T10:46:07  <dreimark> because for that we have to completly rewrite arnica
  52 2012-03-11T10:46:28  <ronny> arnica?
  53 2012-03-11T10:46:49  <dreimark> ronny: http://moinmo.in/ReimarBauer/HelpOnArnica
  54 2012-03-11T10:47:51  <sudo_dirk> so if some clears the cache, is the thumb deleted as well? then we loose the orientation information...
  55 2012-03-11T10:49:21  <dreimark> that is the drawback of this solution.
  56 2012-03-11T10:50:32  <sudo_dirk> deletion of the cache is for one page only, right
  57 2012-03-11T10:50:43  <dreimark> no, you do it on migration time
  58 2012-03-11T10:51:00  <dreimark> moint ... maint cleancache
  59 2012-03-11T10:51:16  <dreimark> the page cache is independent for thumbnails
  60 2012-03-11T10:51:43  <sudo_dirk> ok, so in a running system the cache is never deleted
  61 2012-03-11T10:53:11  <dreimark> you can do by renew=True
  62 2012-03-11T10:53:16  <dreimark> or you change the sizes
  63 2012-03-11T10:53:39  <dreimark> so saving it in the original image is always the best solution
  64 2012-03-11T10:54:02  <sudo_dirk> yes but i am not brave enough...
  65 2012-03-11T10:54:03  <dreimark> also we need to save any meta of moin2 in the image if we save the item
  66 2012-03-11T10:54:28  <dreimark> we should look if we can store the info we need in that comment attribute
  67 2012-03-11T10:54:40  <dreimark> and read from that if it is available
  68 2012-03-11T10:55:15  <sudo_dirk> comment is for a page with hundreds of pics. or is there a attachment comment.
  69 2012-03-11T10:55:20  <dreimark> if the orientation is wrong in the original tag we can ignore tgat
  70 2012-03-11T10:55:29  <dreimark> comment in that lib
  71 2012-03-11T10:55:44  <sudo_dirk> ahh
  72 2012-03-11T10:56:00  <sudo_dirk> ok. need to go. bbl
  73 2012-03-11T10:56:09  <dreimark> http://code.google.com/p/thebigpicture/wiki/Usage
  74 2012-03-11T11:18:30  *** angela has quit IRC
  75 2012-03-11T11:59:24  <kanha_> moin
  76 2012-03-11T12:02:50  <sudo_dirk> moin kanha_
  77 2012-03-11T12:03:21  <kanha_> In bug https://bitbucket.org/thomaswaldmann/moin-2.0/issue/157/html-content-type-with-div-is-not-rendered the problem is when html tag is used it gets converted to P tag
  78 2012-03-11T12:04:25  <sudo_dirk> dreimark: i think there is no advantage (for orientation), if we store exif in thumbs. we also can just rotate thumb- and webnail.
  79 2012-03-11T12:14:38  <sudo_dirk> dreimark: for the moment i download thebigpicture to get an impression how experimental it is. i would prefer to change exif in the picture itself.
  80 2012-03-11T12:35:18  <dreimark> you need convience from the happy camel lib too
  81 2012-03-11T12:35:48  <dreimark> bbl
  82 2012-03-11T12:48:54  *** kanha_ has quit IRC
  83 2012-03-11T12:49:41  *** kanha has joined #moin-dev
  84 2012-03-11T13:03:37  *** yufra_ has joined #moin-dev
  85 2012-03-11T14:30:41  <kanha> moin
  86 2012-03-11T14:32:36  *** kanha has quit IRC
  87 2012-03-11T14:35:59  *** kanha has joined #moin-dev
  88 2012-03-11T15:03:18  *** sudo_dirk has quit IRC
  89 2012-03-11T15:14:46  *** kanha has quit IRC
  90 2012-03-11T15:34:27  *** RogerHaase has joined #moin-dev
  91 2012-03-11T15:41:02  *** sudo_dirk has joined #moin-dev
  92 2012-03-11T17:55:07  *** greg_f has quit IRC
  93 2012-03-11T19:12:22  *** yufra_ has quit IRC
  94 2012-03-11T19:15:56  *** yufra_ has joined #moin-dev
  95 2012-03-11T22:06:06  <RogerHaase> ThomasWaldmann: transclusion patch ready for review:  http://codereview.appspot.com/5797063/
  96 2012-03-11T22:08:03  <RogerHaase> I think this is an improvement, but some issues with transcluding images remain: I opened #164.
  97 2012-03-11T22:09:00  <ThomasWaldmann>  hi RogerHaase
  98 2012-03-11T22:12:33  <RogerHaase> moin:)
  99 2012-03-11T22:15:03  <RogerHaase> ThomasWaldmann:  I have wondered about the word "transclude" and "transclusion".  It that intended to mean something different from "include" and "inclusion"?
 100 2012-03-11T22:18:17  *** kursor has joined #moin-dev
 101 2012-03-11T22:28:04  <ThomasWaldmann> it is a quite similar meaning
 102 2012-03-11T22:28:26  <ThomasWaldmann> not sure, but maybe it also means a bit that the object could be remote
 103 2012-03-11T22:29:07  <ThomasWaldmann> that changeset is rather big
 104 2012-03-11T22:29:33  <ThomasWaldmann> i am wondering a bit whether we need such a lot of code to deal with a rather simple thing?
 105 2012-03-11T22:34:53  <RogerHaase> ThomasWaldmann:  the changeset is from my repo of last July with a few fixes required by changes made by #28.
 106 2012-03-11T22:36:19  <RogerHaase> It creates a transclude button, and you toggle the display of the overlay icons on and off.
 107 2012-03-11T22:37:05  <RogerHaase> transclude/Transclusions
 108 2012-03-11T22:43:20  <RogerHaase> ThomasWaldmann: http://test.moinmo.in/TransImage
 109 2012-03-11T22:46:07  * ThomasWaldmann commented on #164
 110 2012-03-11T22:52:45  <RogerHaase> ThomasWaldmann:  One of the causes of the big changeset is making sure the Firefox MMB works. :-D
 111 2012-03-11T22:58:30  <RogerHaase> Another cause is rewriting #28 code to deal with moving the overlay wrapping to Javascript.  A complication is that without a pointer to the parent in emeraldtree, the Python code cannot determine whether to use a span or div to wrap the transcluded element.
 112 2012-03-11T23:09:18  * ThomasWaldmann is still reviewing, 2nd pass
 113 2012-03-11T23:17:04  <ThomasWaldmann> done
 114 2012-03-11T23:17:59  <ThomasWaldmann> i didn't review much on a semantic, high-level, though
 115 2012-03-11T23:27:32  <RogerHaase> ThomasWaldmann: in html5, any attribute beginning with data- is valid:  http://dev.w3.org/html5/spec/global-attributes.html#embedding-custom-non-visible-data-with-the-data-attributes
 116 2012-03-11T23:29:21  <ThomasWaldmann> ah, interesting
 117 2012-03-11T23:30:03  <RogerHaase> gtg, will work on fixes later, Monday, next weekend...
 118 2012-03-11T23:30:28  *** kursor has quit IRC
 119 2012-03-11T23:30:46  *** RogerHaase has left #moin-dev
 120 

MoinMoin: MoinMoinChat/Logs/moin-dev/2012-03-11 (last edited 2012-03-11 00:45:03 by IrcLogImporter)