IRC Logs

Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2012/11/14)2012/11/15 
mvrhel_laptop ok looks like I have the output intent issue resolved00:47.00 
  had to get sneaky with little cms to make sure of multiple rendering intents00:47.27 
  s/sure/use/00:47.34 
Robin_Watts nice00:48.01 
  I hate compiler bugs.00:48.15 
  Looks like the android ndk's version of gcc is borked when -pg is in play.00:48.42 
  Or at least the optimiser therein is.00:49.06 
mvrhel_laptop ugh00:53.23 
  this is crap00:53.26 
  so, when I added the windows phone emulator to visual studio it added hyper-v00:53.47 
  vmware and hyper-v apparently can not be on the same system00:54.07 
Robin_Watts oh, gee. I just love microsoft.00:54.47 
  hehe.00:54.52 
  I was about to say "install one in a virtual machine?" :)00:55.06 
mvrhel_laptop this looks like it is going to be a headache00:56.29 
  so when try to start my ubuntu machine in vmware I get the following00:57.25 
  VMware Workstation and Hyper-V are not compatible. Remove the Hyper-V role from the system before running VMware Workstation.00:57.28 
  "Remove the Hyper-V role from the system"00:57.43 
  I wonder what that means? Its role?00:57.53 
Robin_Watts AIUI, virtualisation requires a special feature in the CPU.00:58.21 
  I suspect that only one thing can be hooking that feature at once.00:58.36 
  and I bet Hyper-V and VMware both try to hook it.00:58.54 
mvrhel_laptop looks like some discussion here00:59.27 
  http://csi-windows.com/blog/all/27-csi-news-general/173-booting-hyper-v-and-vmware-on-the-same-headless-machine00:59.28 
Robin_Watts ha. I just pasted the same link :)00:59.55 
  So that looks like it can be done relatively painlessly.01:00.32 
  (At the cost of having to reboot when you want to use Windows Phone)01:00.46 
mvrhel_laptop yes. I am going to look this over carefully after dinner01:00.53 
Robin_Watts I'm off to bed. Thumb code swimming before my eyes... night01:01.53 
mvrhel_laptop have a good night01:04.27 
henrys marcosw:ping07:20.09 
kens I'm having some fairly serious internet problems, I may be here and gone a lot08:52.39 
chrisl Yes, it looks that way.....08:56.03 
  Local or "upstream"?08:56.26 
kens I can't tell if the problem is the powerline network, the router or the ADSL yet08:56.32 
  I 'suspect' its the router which is fairly old08:56.44 
chrisl Well, at least they're not too expensive these days08:57.04 
kens Yes, I'm seriously considering ordering another right now, just as a backup08:57.21 
  At the moment things seem to have settled down, but I don't trust it.08:57.42 
chrisl Oh god, how I hate Windows batch files.....09:17.04 
kens lET ME COUNT THE WAYS....09:17.15 
  I am going to prise the Caps Lock off this keyboard....09:17.30 
chrisl blue tack a drawing pin pointing upwards on it, you'll soon learn ;-)09:18.15 
kens Its in just the wrong place, I keep tapping an edge of it09:18.34 
chrisl So, it turns out a variable set in a batch file remains set when you run it the next time.....09:19.26 
kens I think variables are environment variables, once set they persist09:19.49 
chrisl Sure, which is fine, until a batch file sets a path variable only if it's not already set, and you move to a new version of the package with a new path09:21.01 
kens Careless on the part of the original programmer09:21.43 
chrisl Well, I have to fix this stuff every time I get a new sim from customer 532, so, not surprising :-(09:22.26 
kens Oh, them.....09:22.37 
chrisl Okay, so that wasn't too difficult09:53.04 
Robin_Watts Hmm. New ndk version out with a clang compiler option.10:28.19 
  I may be forced to try that to see if the compiler bug plaguing the current version is fixed.10:28.39 
kens worth a try I would thuink10:28.52 
  Anyone got a pile of cash ? :10:30.11 
  http://www.bbc.co.uk/news/uk-england-bristol-2032824710:30.11 
  OK I hope I've fixed my network....10:33.35 
Robin_Watts Hurrah. Latest NDK has 3 ARM toolchains.11:07.19 
  4.4.3 and 4.6 both have the same problem.11:07.56 
  and clang3.1 has a different one. Hurrah!11:08.07 
sebras Robin_Watts: what problem are we talking about?13:04.23 
  or rather -- you.13:04.32 
kens compiler bug13:04.38 
Robin_Watts I have an android ndk profiler working.13:04.48 
sebras Robin_Watts: ok, is this for the IRT-file?13:05.05 
Robin_Watts but if I try it with release code, I get compiler problems.13:05.07 
sebras or something completely different?13:05.15 
Robin_Watts not immediately for that, no.13:05.21 
sebras Robin_Watts: that's strange.13:05.43 
Robin_Watts but likely it will be used for that at some point.13:05.44 
  ARMs have a limited range of immediate constants that can be built into instructions.13:06.06 
sebras ok.13:06.23 
Robin_Watts So what I think is happening is that the compiler is generating code with this in mind.13:06.25 
  THEN the compiler comes along and instruments the code with the extra couple of instructions required for -pg.13:06.48 
  and that pushes the required offsets just out of range.13:06.58 
sebras Robin_Watts: oh.13:07.14 
  Robin_Watts: do we normally compile with -pg in release-mode13:07.33 
  Robin_Watts: I though this was for debug-builds only..?13:07.47 
Robin_Watts We don't usually compile with -pg.13:08.04 
sebras Robin_Watts: ok, so the only reason is for the profiling you're doing.13:08.21 
  that's good at least.13:08.37 
Robin_Watts Well, as far as I can tell, the clang toolchain doesn't work at all due to a missing as.13:10.09 
  I've copied as in from the gcc one, and it now gets all the way to the link stage, and then dies.13:10.31 
  trying a clean build now.13:10.35 
  http://code.google.com/p/android/issues/detail?id=39640&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars13:15.37 
  ok, even with a linker copied in it craps out.13:22.49 
kens No profiling then13:23.10 
Robin_Watts The clang toolchain (which they say is new and not stable yet) is therefore useless.13:23.20 
  I can profile, but not optimised code.13:23.27 
  Only debug code.13:23.36 
kens Hmm, good but not great13:23.40 
sebras Robin_Watts: they might fix this for the next release though.13:24.05 
Robin_Watts Oh sure, it may get fixed in future.13:24.27 
sebras Robin_Watts: at least we can use the clang-toolchain to iron out any issue clang detects that gcc doesn't.13:24.38 
Robin_Watts sebras: How? It won't link... or do you mean just for compiler warnings ?13:25.06 
  (it won't even compile as supplied)13:25.23 
sebras Robin_Watts: yes, exactly. it wont? even if you skip -pg?13:26.12 
Robin_Watts It has no assembler or linker supplied. Even without -pg this will present a problem :)13:27.03 
  If I copy the assembler and linker it, the link still fails, in ways that are (I believe) unrelated to -pg.13:27.39 
  s/it/in/13:27.49 
wart___ hi again. so i recompiled ghostscript-gpl with jpeg2k support, and reran the command: ~/Downloads/WADDING/test $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf test.pdf14:05.07 
  this time it seems to have worked, but as far as I can tell there is no noticeable difference in loading time when viewing the pdf.14:05.24 
Robin_Watts wart___: Why would you expect there to be?14:05.40 
wart___ so, i'm back where I started: any tips or tricks on how to convert some of my massive medieval manuscript pdfs into something that loads a little quicker.14:05.55 
Robin_Watts You're feeding in a PDF which basically has a big jpeg2k image on each page.14:06.11 
wart___ Robin_Watts: I made a (false) inference from the man page :-)14:06.17 
Robin_Watts Are the scans basically monochrome?14:06.52 
  I should say bilevel, really.14:07.08 
wart___ Robin_Watts: yep, that's what is going on. is there anything i can do? Yep, archive.org offers a b/w scan, but it is not any quicker than the color ones (see the link i posted yesterday).14:07.15 
  basically, in mupdf loading times per page avg about 20-30 seconds, which is driving me nuts.14:08.16 
  things are only slightly better in ezPDF on my android tablet.14:08.38 
Robin_Watts wart___: Well, if the scan resolution is too high, then mupdf will be wasting time loading it and decoding it at an unnecessarily high resolution.14:10.08 
  So the trick is to figure out what resolution you actually need the data at, and arranging for the files to be encoded at that resolution.14:10.43 
  Otherwise, I think you're probably running into just how long these things take to decode.14:11.04 
wart___ Robin_Watts: yeah, so is there a way to "pop out" each image and encode it at a smaller resolution. I thought /screen would lower the resolution, but i guess i was confused on that score.14:11.41 
Robin_Watts kens is the man to ask here...14:11.56 
kens I'm catching up the thread14:12.07 
wart___ i'm pretty certain i don't need the resolution as high as archive.org has it set at (or whoever scanned it originally).14:12.07 
kens You can decrease the reoslution of images. Do not use teh PDFSETTINGS stuff as it introduces many changes.14:13.01 
  You need to know if these images are in monochrome or colour (or gray)14:13.33 
  Don't be fooled by the on-screen, its perfectly possible to define a colour image which only contains grey values14:13.58 
wart___ kens: here's a link: http://archive.org/download/operaomnia12dunsuoft/operaomnia12dunsuoft_bw.pdf14:14.03 
  is there a command i can use to determine if the images are in monochrome, colour, o rgray?14:14.17 
kens I'll need a minute14:14.19 
  make that several minutes, this appears to be a huge file14:14.31 
wart___ kens: the master link is: http://archive.org/details/operaomnia12dunsuoft14:14.37 
kens Lets stick with one at a time for now14:14.55 
wart___ kens: yeah, sorry. i could do pdftk to cut out just a couple pages and post it on my server.14:15.00 
kens Its 90% now14:15.15 
wart___ kens: well on the master link, the _bw.pdf is the "B/W PDF" link.14:15.16 
kens Lets start with this one14:15.30 
  Its a pretty hidesou scan14:15.39 
wart___ (archive.org offers various formats, e.g., djvu, epub, color pdf, b/w pdf, etc.14:15.45 
  kens: tell me about it14:15.49 
  kens: i work with medieval manuscripts and early modern books, and this is par for the course14:16.01 
kens and teh compression ratio is cranked up too far so you can see visible artefcacts clearly14:16.14 
wart___ some of them were scanned using a decent method and load fine, but a good chunk of them are just like th eone i linked you to14:16.16 
kens And if they are monochrome, jpeg2k is a bad compression format to use14:16.31 
wart___ kens: that's useful sometimes, but i usually like .tiff format if i want to see the artifacts14:16.38 
kens The artefacts I mean are caused by the compression....14:17.00 
wart___ kens: ah, i thought you meant little chicken scratches in the margin :-)14:17.22 
kens Nope I mean the 'halo' around black/white transitions14:17.42 
wart___ my thoght is that granted i have these hi-res ones, i want to produce a *very low-res* alternative so i can quickly flip through and find the passage i want and then flip over to the hires if i can't quite read the passage14:18.00 
kens Drat, I've mislaid the file14:18.20 
  saved it and now can't remember where14:19.10 
wart___ kens: :-)14:19.39 
kens fetches it again14:19.40 
wart___ kens: you must have a decent internet connection :-)14:19.51 
kens Hmm, I get 17Mb14:20.01 
wart___ here in canada they like to throttle you14:20.03 
kens %4Mb file, no wonder it took a while14:20.35 
  5414:20.39 
wart___ yeah and that's just volume 12 out of 25 :-)14:20.54 
kens OK these appear to be in device gray14:21.35 
wart___ i dont mind having a hi-res version of the files (disk space is not the issue); but I need a version I can quickly read/peruse. the version you have (at least on my machines) takes 20/30 seconds to load each page.14:21.38 
kens Image width is 921, height is 136714:22.04 
  Ah, uses interpolation, which is always slow14:22.31 
  Its a text+image file too14:23.54 
  Not surprising I guess14:24.03 
wart___ :-)14:26.14 
kens The text is 'invisivle', its only there so searches work. Its laid on top of the image14:26.39 
  Oh god, it uses transparency14:27.15 
wart___ hehe14:28.13 
kens Its quite a ridiculous way to make a file, I can't thiunk what they are doing.14:28.36 
wart___ kens: like i said it seems par for the course14:29.45 
  i don't really need ocr / searchability 14:29.59 
kens The page contains 2 images (I'm not sure why), one of which has a soft mask (again, can't see why) and both images are heavily compressed using JPX which I woudl have said was a very bad choice for even a gray scale scan.14:30.53 
  If you can live without the searchging my advice is to render it to TIFF with GS, then use ImageMagick or something to convert the tiff to a new PDF.14:31.30 
  You have several performance problems:14:31.54 
  1) JPXDecoding is very heavily math oriented, and slow14:32.09 
wart___ kens: sounds promising14:32.12 
kens 2) transparency is slow14:32.16 
  3 interpolation (all the miages are interpolated) is slow14:32.33 
  If you render to a new image all those problems go away14:32.54 
  Let me see what I can make pdfwrite do with it14:33.22 
  well turning off transparency for rendering was a bad move :_)14:34.36 
wart___ heh14:36.59 
  which tiff output device do you suppose i should try?14:37.52 
  i guess i'll try them all and see which looks best14:37.58 
kens 8 bit14:38.01 
  tiffgray14:38.08 
  (do we have a tiffgray ?)14:38.18 
wart___ so 24nc?14:38.32 
kens no that's RGB14:38.41 
  (24 bits)14:38.45 
wart___ http://pages.cs.wisc.edu/~ghost/doc/AFPL/8.00/Devices.htm#TIFF14:39.11 
kens Don't know then14:40.15 
  wart___ : you oculd try this:14:43.57 
  gs -sDEVICE=pdfwrite -dDownsampleGrayImages=true -dGrayImageThreshold=1 -dGrayImageResolution=72 -dGrayImageFilter=/FlateEncode -sOutputFile=out.pdf14:43.57 
  It 'might' be a bit faster14:44.05 
wart___ testing it on pgs 1-7 of volume 1. still processing, but its throwing: **** Warning: considering '0000000000 XXXXX n' as a free entry.14:47.31 
  P14:47.34 
  probably safe to ignore14:47.35 
kens THat suggests a problem with teh PDF file structure as well14:48.12 
wart___ this isn't good either Can't find (or can't open) font file /usr/share/ghostscript/9.05/Resource/Font/NimbusMonL-Regu.14:50.05 
  Coh nevermind it found it, i think14:50.13 
  yep14:50.14 
kens In fact the current version of GS won't render page 1 from that PDF file you pointed me at14:50.26 
wart___ page 1 is just the book cover so i'm fine with that :-)14:50.43 
kens Yeah, but it indicates either a bug in GS or a bug in the PDF14:51.01 
wart___ good thing my wife works in quantified physics; if i get a method that works i'm gonna use her servers to convert en masse my files :-)14:51.10 
  cuz this is taking forever14:51.13 
  on just 7 pages14:51.16 
kens Well like I said, the file seems designed to be slow14:51.29 
  door....14:51.41 
wart___ door14:52.31 
  ?14:52.32 
  kens: wlell that method did speed things up; but it still takes 4-5 seconds to change pages in mupdf14:54.44 
  might be live-able; i'll try the pdf->tiff->pdf method you suggested and compare14:55.12 
  thanks a bunch14:55.17 
kens NP14:55.49 
  door = meter reading man knocking on my door14:56.06 
wart___ ah14:56.10 
  so for the conversion to tiff method, do you have any particular ideas? i was just gonna do this: -q -dNOPAUSE -sDEVICE=tiffg4 -sOutputFile=a.tif a.pdf -c quit14:56.47 
  and then tiff2ps and ps2pdf14:56.54 
  oh wait, there's a tiff2pdf :-)14:57.04 
kens THe only thing is that tiffg4 is black and white not grayscale, but you might be able to live with that.14:57.18 
wart___ boy this takes a long time :-)14:59.12 
kens try setting -r15014:59.43 
  to reduce the resolution14:59.52 
wart___ ok14:59.55 
kens YOu probably want to do this one page a t a time until you have a satisfactoty solution15:02.38 
  you may need to try different resolutions and devices15:02.52 
wart___ well i was doing 7 pages, but i accidently fed the full file as my input :-)15:03.17 
  oops15:03.20 
  even 7 pages takes a while15:03.24 
  still twiddling my thumbs15:03.30 
kens -dFirstPage=1 -dLastPage=115:04.51 
wart___ kens: i must be doing something wrong: ~/Downloads/WADDING/test $ gs -q -dNOPAUSE -sDEVICE=tiffg4 -sOutputFile=tiffoutput.pdf -dFirstPage=7 -dLastPage=7 combined.pdf15:06.17 
  15:06.20 
  that's taking a while...15:06.24 
  oh impatience15:06.32 
  its done15:06.41 
kens :-)15:06.49 
  Don't know what hte default resolution is there, night be 600 dpi15:07.07 
wart___ its almost legible15:07.25 
  could live with it, but it'd be nice to bump it just a little15:07.39 
kens That doesn't sound totally enthusiastric15:07.44 
wart___ should i try -r150?15:07.46 
kens Worth trying, if its worse try bigger numbers15:08.02 
wart___ worse15:09.09 
kens Hmm the screening is ugly15:09.10 
wart___ -r600 is nice15:10.37 
kens What is the speed like ?15:10.47 
  You could also try tiff24nc and see what that is like15:10.59 
  Might get better looking results at a lower resolution15:11.10 
wart___ well it is in TIFF format now; i haven't stitched it back to a pdf15:11.19 
  but it loads nice & fast as TIFF with sxiv!15:11.28 
kens thnks 600 dpi is naff too with tiffg415:11.50 
wart___ i'm just gonna do the same thing but s/7/6/ and then tiff2pdf both files then pdftk them together15:12.07 
  maybe there's an easier method?15:12.46 
  "naff"?15:13.11 
kens Err 'not goog', I won't put the original in a public forum, but you can google for it, its Polari15:13.40 
wart___ hehe15:14.05 
kens The colloquial meaning has shifted since then to mean 'poor'15:14.07 
  Try tiff24nc at 300 dpi15:14.21 
  Looks OK to me15:14.26 
wart___ not over here in canada just yet :p15:14.26 
  well its a little quicker; i can play around more. have to get back to some work just now.15:16.39 
  thanks a bunch; if you hit on something i'll be lurking so pop it in the channel.15:16.48 
kens OK15:16.58 
paulgardiner Robin_Watts, tor8: New commit on paulg/master.15:29.24 
chrisl huh, I think kens's network problems have migrated to my network - wireless died, and didn't come back until I changed the channel on the router.... strange15:32.40 
kens Mine is better now though so I'm happy15:32.59 
chrisl wonders who it will move to next15:33.25 
  I was going to order a disk drive and some other bits'n'pieces, but I think I'll put it off for a week or so - if the router throws another tantrum or two, I'll a new one to the order.15:36.42 
kens I was *so* close to ordering a new one today, but I'm not sure what kind of ADSK I have15:42.52 
  If its ADSL Max or ADSL2+15:43.01 
chrisl Ask plusnet?15:44.00 
kens Was about to, when I figured out it wasn't the router15:44.25 
henrys speaking of routers... anyone know if 802.11n or the newer ac routers are actually worthwhile. I'd like to get to the point where I could have the cluster machines wireless and not have all the cabling but the my old router speed/reliability would probably not be a good choice.15:55.59 
Robin_Watts henrys: IME, wireless is always pants.15:56.24 
chrisl I got a decent speed increase with 11n, but still nowhere near wired speeds - especially with more than one device connected.15:57.02 
kens WiFi works well for me15:57.02 
Robin_Watts henrys: You'd be better using powerline networking, (which would hide the cabling) rather than going wireless.15:57.08 
kens Robin_Watts : my problem thismornign was the powerline, teh WiFi worked flawlessly15:57.37 
Robin_Watts wonders if kens will be asking for a new keyboard for teh crihstmaz15:58.18 
henrys Robin_Watts:yes I should investigate that too.15:58.20 
chrisl The mains around here can be quite noisy, I don't know if that affects powerline networking15:58.41 
Robin_Watts henrys: Do you have to run the cables between rooms or something for the cluster stuff?15:58.55 
kens Robin_Watts : only if I can have a keyboard with built in autocorrect15:59.35 
  I did install Aspell BTW15:59.45 
Robin_Watts What editor do you use for git commits ?16:00.11 
kens git gui16:00.17 
henrys Robin_Watts:right now the cluster machines are in my office, I'd like to put them in the basement, well at least one of them since I hardly ever use it for anything else.16:01.00 
Robin_Watts henrys: Right. Powerline networking sounds ideal then.16:01.18 
henrys yes it does seem like a good fit.16:01.55 
Robin_Watts Do you have a surfeit of sockets in your basement?16:03.07 
  http://www.amazon.com/Netgear-85Mbps-Powerline-Network-Adapter/dp/B001AZUTCS/ref=sr_1_1?ie=UTF8&qid=1352995352&sr=8-1&keywords=Powerline+networking16:03.28 
  IF you have fewer sockets... http://www.amazon.com/ZyXEL-HomePlug-Powerline-Wall-Plug-Adapter/dp/B003ULOZ5W/ref=sr_1_10?ie=UTF8&qid=1352995352&sr=8-10&keywords=Powerline+networking16:04.13 
  And to avoid needing a switch: http://www.amazon.com/Rocketfish-RF-GUV1125-Powerline-Networking-Kit/dp/B004K9PH1O/ref=sr_1_14?ie=UTF8&qid=1352995352&sr=8-14&keywords=Powerline+networking16:04.47 
henrys Robin_Watts:i'll check it out. thanks. Are you using it for something?16:07.23 
Robin_Watts I use it in my parent-in-laws house for connecting their telly to the net so they can use iplayer.16:07.48 
  And in a friends house to connect their 'shed' to the house.16:08.10 
  (where 'shed' = office + cinema)16:08.29 
  I use plain cat5 here - wired it all up when I moved in before we had the building work done.16:09.13 
kens I have desktops on powerline, laptops, mobiles etc on WiFi16:12.28 
Robin_Watts kens: That seems a sensible way to work. Keep the wifi for stuff that actually needs to be mobile.16:14.51 
kens indeed16:14.58 
  problem previously was my daughter would have phone, laptop and home computer all on WiFi at same time16:15.16 
  no bandwidth left for me16:15.25 
Robin_Watts henrys: In my experience the powerline sockets really are plug and play.16:15.38 
  But the software to set passwords on them etc is shockingly poor.16:15.57 
  So if you want to do that, you might want to check for recommendations/reviews.16:16.12 
kens The encryption is wqhat fouled up for me this morning16:16.19 
Robin_Watts hopes kens/chrisl/paulgardiner have all gone along and voted for yet another elected official and associated staff today.16:55.47 
kens Not yet, but I will16:55.59 
  Nobody I want to vote for, but several I want to vote against16:56.21 
Robin_Watts indeed.16:56.42 
kens I'd like one of the candidates to be called Gordon though16:57.02 
Robin_Watts :)16:57.26 
  "If elected, I will change my name to Gordon for the duration of the term"16:57.46 
kens THat woudl work16:57.55 
  Gets my vote16:58.01 
  Typical line up hre, 4 Male wasps and one token woman16:58.46 
  Oh, and I see 4 out of 5 of our candidates live in East Sussex.17:00.44 
Robin_Watts The mean streets of East Sussex.17:03.07 
kens Yeah but I live in West Sussex...17:03.21 
Robin_Watts I have profiling of release code!17:05.11 
sebras Robin_Watts: how?17:05.17 
kens that was my question17:05.24 
Robin_Watts I disabled optimisation for one particular file.17:05.36 
  and that gets me past the compiler bug.17:05.46 
sebras Robin_Watts: nice. which file? one with assembler optimizations in it I guess..?17:06.01 
Robin_Watts sebras: No. res_shade.c17:06.14 
  Hmm. Profile results show all times as zero though :(17:07.13 
kens Goodnight folks....17:15.00 
sebras kens: bye.17:15.12 
mvrhel_laptop Robin_Watts: are you available for a few minutes to help me with a few things?17:25.55 
Robin_Watts mvrhel_laptop: Sure.17:26.07 
mvrhel_laptop great thanks17:26.12 
  so it would appear that with my machine set up as it is, I can't run VMware :(17:26.32 
  so I currently have two issues17:26.55 
Robin_Watts ok.17:26.55 
mvrhel_laptop I always did my cluster pushes from my ubuntu machine on vmware17:27.15 
  and for now I was going to go ahead and try to do them from ming with git17:27.31 
  if I recall you added that long ago17:27.46 
Robin_Watts ok.17:27.47 
  yeah.17:27.52 
  So that's issue 1. What's issue 2?17:28.06 
mvrhel_laptop put I need some help because I wasnt paying attention that day in class17:28.06 
  issue 217:28.11 
  is 17:28.13 
  that I thought ok. I will just dive into hyper-v and install ubuntu in there17:28.30 
  that went ok17:28.33 
  but I seem to be having issues with my .ssh keys17:28.44 
Robin_Watts ok.17:29.04 
mvrhel_laptop I copied the one from putty (after converting it) and the one from my casper account17:29.07 
Robin_Watts Urm...17:29.15 
mvrhel_laptop will that not work?17:29.25 
  or do I misunderstand how they work17:29.34 
  or both17:29.37 
Robin_Watts You're using the keys to let you log into the casper account, right?17:29.48 
mvrhel_laptop right17:29.53 
Robin_Watts So you have your private key on casper.17:30.00 
mvrhel_laptop yes17:30.04 
  in the .ssh folder17:30.10 
  id_dsa17:30.17 
Robin_Watts Sorry. I think I have that the wrong way around.17:30.19 
  You have a key, A, on casper, and a corresponding key B on your local machine.17:30.44 
mvrhel_laptop right17:30.52 
Robin_Watts You shouldn't need to copy A to your local machine.17:30.54 
  You just need to give B to your new ubuntu installation.17:31.22 
mvrhel_laptop ok17:31.31 
  B I thought was here as my private key in putty17:31.41 
Robin_Watts There are 3 possible formats of public/private keys.17:31.41 
  right, I believe that's correct.17:31.53 
mvrhel_laptop the one in the vmware ubuntu is not accesible17:31.53 
  ok so I had used the putty-gen tool to convert the putty key to an rsa id17:32.15 
Robin_Watts So, run puttygen, load the private.ppk file.17:32.48 
mvrhel_laptop let me go through that again17:32.52 
Robin_Watts under Conversions you have 2 export options.17:33.08 
mvrhel_laptop right17:33.12 
  3 actually17:33.16 
  oh no 217:33.23 
Robin_Watts Export OpenSSH or Export ssh.com17:33.27 
  I *think* it's OpenSSH you want17:33.34 
mvrhel_laptop oh ok 17:33.44 
Robin_Watts Is this something different to what you did before?17:34.02 
mvrhel_laptop I don't remember17:34.08 
  it was 12:30 am when I was fooling with thts17:34.16 
  and I was not happy17:34.21 
  I wonder if I should add a passphrase to this17:34.51 
Robin_Watts I can imagine.17:34.51 
mvrhel_laptop I have not had a passphrase in my key17:35.08 
  let me just keep it as it is for now17:35.26 
  ok key was saved17:36.47 
  now let me get it to my ubuntu install in the .ssh folder17:36.59 
  Robin_Watts: ok so I copied it. I also did a chmod 700 on it. last night I did not do that (as well as the .ssh directory and alarm bells went off when I tried to ssh17:39.19 
  let me try now17:39.26 
Robin_Watts perfect.17:39.32 
  mvrhel_laptop: any luck ?17:43.23 
mvrhel_laptop no17:43.28 
  trying to keep my cool 17:43.42 
  lets go and do the push from ming17:44.05 
  then I will come back to this17:44.15 
Robin_Watts Oh. hold on a tick. Let me start ubuntu here.17:44.33 
  Where have you copied the key to?17:45.00 
mvrhel_laptop ~/.ssh17:45.14 
Robin_Watts and called it what?17:45.22 
mvrhel_laptop I had this one call id_rsa217:45.47 
  let me name it id_rsa and copy over the old one17:46.02 
Robin_Watts It can be called id_rsa2 - we just need to announce it to the system or something.17:46.29 
mvrhel_laptop oh17:46.38 
Robin_Watts ssh mvrhel@ghostscript.com -i ~/.ssh/id_dsa217:47.35 
  Does that work for you?17:48.49 
  That works for me (with robin instead of mvrhel obviously).17:49.19 
  But I can also do: ssh robin@ghostscript.com because I've told Ubuntu about that key.17:49.36 
mvrhel_laptop no it is not working17:50.02 
Robin_Watts OK. Let's check the format of your key.17:50.27 
  Mine starts with:17:50.31 
mvrhel_laptop for some reason I can't even get into the .ssh folder now17:50.40 
Robin_Watts -----BEGIN DSA PRIVATE KEY-----17:50.45 
  ls -al ~/.ssh17:51.16 
mvrhel_laptop lots of Permission denied17:52.14 
  this is weird17:52.25 
Robin_Watts cd ~17:53.41 
henrys fwiw ssh -vvv usually gives a pretty good clue.17:53.45 
Robin_Watts ls -al .17:53.50 
mvrhel_laptop henrys: yes I ran with -v17:53.57 
  ok that gives drw-r-x---17:54.29 
  after I did a chmod to 65017:54.38 
  but if I try cd ~/.ssh it says permission denied17:55.12 
Robin_Watts yes.17:55.16 
  You need the x bit set on a dir to be able to cd into it.17:55.27 
henrys right you x bit17:55.30 
Robin_Watts chmod 700 ~/.ssh17:55.32 
mvrhel_laptop aha17:55.35 
henrys and .ssh shouldn't be group readable17:55.46 
mvrhel_laptop ok17:55.51 
  I am in how17:56.04 
  now17:56.07 
  ok so my key is different than what you have17:56.44 
Robin_Watts Ok. Does: ssh mvrhel@ghostscript.com -i ~/.ssh/id_dsa2 work now?17:56.48 
mvrhel_laptop oh let me try that17:56.58 
  :!:17:57.09 
  oops17:57.12 
Robin_Watts Damn. Maybe I picked the wrong one of the two :(17:57.17 
mvrhel_laptop phone hold on17:57.27 
  ok back17:58.58 
  yes17:59.41 
  I am in now17:59.43 
Robin_Watts OK, the key I have in Ubuntu is the key I get exporting to 'OpenSSH' from puttygen.17:59.50 
  Ah, awesome.17:59.52 
  So now all we need to do is to tell Ubuntu about that key, so you don't need to type it every time.18:00.09 
  Are you using Ubuntu 12 ?18:00.18 
  Is there a column of icons down the left hand side?18:00.28 
mvrhel_laptop yes. I installed the lastest18:00.29 
  yes18:00.31 
Robin_Watts Click on the top left icon to get the hud to appear.18:00.45 
  Then type 'key' in the searchbox.18:00.52 
mvrhel_laptop passwords and keys?18:01.11 
Robin_Watts That's it.18:01.15 
henrys mvrhel_laptop:has the windows cups stuff bit rotted? I thought kens or someone had cups working on windows at least for development stuff.18:01.26 
Robin_Watts Then click on My Personal Keys18:01.32 
  henrys: It works fine, why?18:01.37 
  Then File -> Import18:01.44 
mvrhel_laptop henrys: I dont think it has bit rotted. but I have to have a working version of ubuntu here to run valgrind and look at bugs that I occasionally get that only fail in ubuntu (or to find build issues that I make)18:02.18 
henrys I thought mvrhel_laptop was doing all this to debug a cups problem... sorry18:02.33 
Robin_Watts henrys: The cups device is not included in a standard windows build. If you want it, choose the 'Debug-cups' config and build that.18:02.37 
  Ah.18:02.44 
mvrhel_laptop henrys: no I made the mistake of installing the windows phone sdk in visual studio18:03.05 
Robin_Watts mvhrel: You should then have a "Secure shell key" listed in My Personal Keys.18:03.14 
mvrhel_laptop this requires hyper-v which actually makes windows 8 run under hyper - v18:03.41 
Robin_Watts Then you can close the Passwords and Keys window and hopefully ssh mvrhel@ghostscript.com should work.18:03.55 
mvrhel_laptop vmware will not let you run a 64 bit virtual machine in this case18:04.04 
  in fact I can't even update vmware any longer18:04.13 
Robin_Watts gotta love MS.18:04.42 
mvrhel_laptop Robin_Watts: so I am a little confuse on this passwords and keys application18:05.03 
Robin_Watts mvrhel_laptop: Ok...18:05.11 
mvrhel_laptop I dont see a file->import18:05.15 
Robin_Watts What do you see?18:05.25 
mvrhel_laptop there is a + button18:05.27 
  and it brings up a pile of options18:05.33 
Robin_Watts really?18:05.52 
mvrhel_laptop with a menu top that say select the type of item to create18:05.58 
  perhaps we can do this on the command line18:06.10 
Robin_Watts Hmm. Help -> About ?18:06.42 
mvrhel_laptop no help option18:07.13 
Robin_Watts Mine says Seahorse 3.2.218:07.19 
mvrhel_laptop maybe this is not the right application18:07.33 
Robin_Watts Crumbs. I have no idea how to do this on the command line.18:07.34 
  I mean, you can feed a key to ssh-agent, but it's not persistent across reboots etc.18:07.53 
mvrhel_laptop oh well I type seahorse it does come up with this app18:07.54 
Robin_Watts So what are the + options again ?18:08.16 
mvrhel_laptop 5 options18:08.28 
  Password Keyring18:08.35 
  maybe that is it18:08.40 
  Used to store applications and network passwords18:08.54 
  oh maybe not18:09.08 
Robin_Watts I have 3 tabs: Passwords, My personal Keys, Other Keys18:09.09 
  and it's My personal Keys we want to be in.18:09.18 
mvrhel_laptop maybe I need to update this18:09.56 
  oh18:10.26 
  I am so dumb18:10.29 
  I did not expect the menu to be way up at the top when the application window is in the middle of the screen18:10.57 
  sorry Robin_Watts 18:11.02 
  that is a bad UI18:11.15 
Robin_Watts Ah, mine isn't like that, so I'd have been confused by it 2.18:11.19 
mvrhel_laptop it is completely disjoint18:11.30 
Robin_Watts Yeah, having menus on the top bar is a crap UI choice. (<cough>MacOS</cough>)18:11.50 
mvrhel_laptop ok file->import18:11.53 
  hmm. I do I drill down into the .ssh folder in this gui mess18:13.26 
  ah18:13.39 
  show hidden files18:13.43 
henrys is having problems finding anyone with nice things to say about windows 8 - catastrophe seems to be a popular description.18:16.58 
mvrhel_laptop other than this one issue it has been ok. but this is a huge issue18:17.14 
  for me18:17.17 
  ok. I don't know if I have this imported properly or not18:18.02 
  of course now I need to get all the packages that i need18:18.38 
henrys much of the criticism I see is centered around the windows store - fear of a closed platform for developers etc.18:18.46 
Robin_Watts I wouldn't say that this was a typical issue. But the back and forth to the tile UI ruins the desktop experience.18:18.50 
  henrys: Oh, cos MS is so much more closed than Apple :/18:19.12 
mvrhel_laptop Robin_Watts: after you get things set up I only go to the tiles just as a start menu18:19.31 
  just hit the windows button and hit what I want to run18:19.43 
  In stead of going to the start button18:20.01 
henrys yes folks are horrified windows has emulated apple18:20.26 
mvrhel_laptop ok Robin_Watts: how about a refresher on the mingw cluster push18:21.07 
Robin_Watts so your ssh is sorted now?18:21.17 
  fab.18:21.22 
mvrhel_laptop well. I am not sure if I have a key in the system for good but I will figure that out now18:21.36 
  at least I know the key is good18:21.40 
Robin_Watts If your key is showing in seahorse, you should be golden.18:21.57 
  ok. I sent a list of instructions for setting up the git cluster stuff to tech on the 3rd July under the subject "Clusterpushing on windows (git based)"18:24.03 
mvrhel_laptop ok cool 18:24.09 
  I will step through that now18:24.14 
  thanks Robin_Watts 18:24.19 
  sorry to drag you into my issues18:24.28 
Robin_Watts mvrhel_laptop: If you hit problems, please say, cos then I can fix the instructions.18:24.37 
  No worries.18:24.43 
mvrhel_laptop ok 18:24.48 
Robin_Watts I wrote it down cos I have a crap memory.18:25.02 
henrys Robin_Watts:can we just check the instructions into the localcluster directory? Outsiders might need info too.18:34.55 
Robin_Watts could do.18:35.13 
mvrhel_laptop Robin_Watts: so everything went fine 18:39.33 
  except I can't find the .profile file18:39.40 
  to set CLUSTER_USER18:39.47 
Robin_Watts C:\Users\Michael\.profile ?18:40.06 
mvrhel_laptop no :(18:40.11 
Robin_Watts hold on, let me check.18:40.12 
  I have a C:\Users\Robin Watts\.bashrc18:41.05 
  in which I have:18:41.13 
  export GIT_SSH=plink.exe18:41.24 
  export EDITOR=emacs18:41.26 
  export CLUSTER_USER=robin18:41.28 
mvrhel_laptop oh I think I found it18:42.49 
Robin_Watts Where?18:43.10 
mvrhel_laptop well I only found a .profile in msysgit18:44.43 
Robin_Watts I think I made my own .bashrc18:44.55 
mvrhel_laptop C:\msysgit\etc18:44.58 
  but maybe that is not correct18:45.07 
Robin_Watts Suck it and see :)18:45.39 
sebras paulgardiner: what's and alert dialog? text input for forms?18:47.29 
mvrhel_laptop hmm no that is not correct18:47.38 
  it still is set to regression @18:47.51 
  when I do git remote -v18:47.59 
Robin_Watts ?18:48.06 
  mvrhel_laptop: Create a file C:\Users\Michael\.bashrc18:48.33 
mvrhel_laptop ok18:48.38 
paulgardiner sebras: displaying warnings issued by javascript18:48.40 
Robin_Watts and put: "export CLUSTER_USER=mvrhel" in there.18:48.48 
sebras paulgardiner: ah.18:48.53 
paulgardiner BTW, if that commit hasn't been pushed yet, best leave it for now.18:48.59 
Robin_Watts Then start a new msys shell and do echo $CLUSTER_USER18:49.04 
  paulgardiner: It hasn't.18:49.09 
sebras paulgardiner: I just fetched it and was a bit curious.18:49.27 
paulgardiner Good. It screws up when you rotate the screen18:49.29 
Robin_Watts I need to look at both tor's commits and yours, but this profiling stuff has me occupied.18:49.31 
paulgardiner Robin_Watts: I'm going to stick it on a subbranch until I fix the problems18:50.28 
Robin_Watts ok.18:50.34 
mvrhel_laptop Robin_Watts: ok that set it to mvrhel18:51.49 
Robin_Watts Ok. so remote -v should still show regressiokn@18:52.18 
mvrhel_laptop ok. I probably need to add in the plink.exe stuff18:53.51 
Robin_Watts Are you using plink or ssh from windows usually?18:54.10 
  I wouldn't expect you to have been set up on the regression user.18:55.06 
  so I suspect we'll need to do that.18:55.17 
mvrhel_laptop Robin_Watts: plink with tortoise git18:56.32 
Robin_Watts ok.18:56.39 
  So, can you: ssh -v regression@ghostscript.com18:56.50 
mvrhel_laptop when I just now tried git cluster pcl18:56.52 
  oh let me try that18:56.59 
  no18:57.15 
Robin_Watts Ah, you're using tortoise. I keep forgetting18:57.23 
  So can you: plink -v regression@ghostscript.com18:57.33 
mvrhel_laptop it did not like my keys18:57.34 
Robin_Watts I'd hope for the same error from plink.18:57.53 
mvrhel_laptop plink was not found18:57.55 
Robin_Watts OK, so let's leave plink for a mo.18:58.08 
  We'll try to get it working with ssh and then only move to plink if we have to.18:58.23 
mvrhel_laptop ok18:58.29 
Robin_Watts The first problem is likely to be that you have no key set up to get onto regression.18:58.52 
  The second problem may be that ssh will refuse to use the keys because it considers their permissions to be wrong.18:59.06 
  but we'll deal with that if we come to it.18:59.19 
  So... I need to put a public key on regression. Are you happy for me to copy your one from your directory on casper?18:59.41 
mvrhel_laptop ok. so should I copy the key we used earlier into the .ssh folder18:59.43 
  oh yes18:59.51 
Robin_Watts ok, try ssh -v regression@ghostscript.com19:03.16 
  The required key should be there at the other end for you now.19:04.40 
  but I don't know how to tell ssh to automatically use a key on the windows end. I use plink with Pageant for this reason.19:05.14 
mvrhel_laptop permission denied. don't I need to stuff my key into the .ssh folder here?19:05.25 
Robin_Watts mvrhel_laptop: Do you use pageant?19:05.25 
mvrhel_laptop Robin_Watts: yes19:05.31 
  it is running now19:05.33 
  with my key19:05.43 
Robin_Watts OK. I am tempted to move to using plink, cos it'll make everything much easier.19:05.49 
mvrhel_laptop ok . lets do that19:05.59 
Robin_Watts So, you've got a directory on your path where you put gitpush.sh?19:06.08 
  Can you put plink.exe there too ?19:06.14 
mvrhel_laptop just need msys to know where to find it19:06.15 
  yes19:06.30 
  aha!19:07.52 
  C:\Users\michaelv\AppData\Local\VirtualStore\Program Files (x86)\Git\bin19:07.54 
  this is where it went when I put it in /bin19:08.03 
Robin_Watts Yeah, that's the madness I was referring to in the notes that kens had with vista.19:08.21 
mvrhel_laptop let me copy plink.exe into there19:08.23 
  ok19:10.14 
Robin_Watts so plink -v regression@ghostscript.com should hopefully work now.19:10.51 
mvrhel_laptop hmm it can't find plink 19:11.31 
Robin_Watts yeah, I feared that.19:11.37 
mvrhel_laptop I see it in there though19:11.42 
  in /bin19:11.45 
Robin_Watts I suspect the virtual store can't hold binaries etc.19:11.58 
  I used explorer to copy it into a real dir.19:12.22 
  (I have C:\Program Files\bin on my path for all such useful utils)19:12.36 
mvrhel_laptop ok19:12.47 
  how do you add c:/bin to your command path names in mingw?19:13.28 
Robin_Watts Just add it to the standard windows path.19:13.43 
mvrhel_laptop ok19:13.46 
Robin_Watts Right click on "My Computer", then properties, then Advanced, then Environment Variables or something like that.19:14.06 
mvrhel_laptop right19:14.11 
  ok that works19:17.16 
  whew19:17.20 
  let me try the push now19:17.35 
  it seems to be working....19:18.49 
  Robin_Watts: thanks for all your help. sorry to drag you into my problems. now I will spend some time getting this ubuntu install working19:20.35 
  then I will need to do all of this on my desktop machine....19:20.47 
Robin_Watts no worries.19:20.50 
  oh, you installed windows phone SDK on both machines?19:21.04 
mvrhel_laptop :(19:21.15 
  it seemed like an ok thing to do at the time19:21.27 
Robin_Watts yeah.19:21.34 
mvrhel_laptop next time I will wait a few weeks between updating both machines19:21.46 
  I did not know there was an issue until I went to run the vmware ubuntu19:22.06 
  vmware is much better than hyper-v so this really stinks19:22.29 
  but life goes on 19:22.51 
Robin_Watts tor8: Your patches all look fine. I will pull/rebase/push at some point later - unless you beat me to it.19:35.57 
  tor8: Apparently we mustn't take paulgardiner's patch yet.19:36.14 
  Gah. I hate compilers. How hard is it for them to actually do what they advertise.19:44.52 
  #pragma GCC optimize("2")19:45.14 
mvrhel_laptop weird20:04.25 
Robin_Watts I've tried: #pragma GCC optimize("O2")20:05.09 
  #pragma GCC optimize("-O2")20:05.16 
  #pragma GCC optimize("2")20:05.18 
  all of which are defined to work.20:05.24 
  And eventually I think I've discovered that it likes #pragma GCC OPTIMIZE ON|OFF20:05.46 
  sorry, no GCC in that last one.20:06.00 
mvrhel_laptop which compiler is ths?20:06.12 
Robin_Watts the android ndk compiler20:06.22 
mvrhel_laptop ok20:06.29 
  tkamppeter: I just pushed a fix for the output intent20:06.57 
  hmm I thought the cluster had finished. I read the wrong email. hopefully the push comes back ok20:09.20 
  ok. looks like I was lucky on that one20:11.40 
  now 69343820:13.02 
  but lunch time now20:13.06 
tkamppeter mvrhel_laptop, thanks.20:20.25 
mvrhel_laptop please double check with you devices20:21.17 
  tkamppeter^^20:21.25 
  oy: so my new install of ubuntu keeps having issues and it is coming from colord/colord-sane21:28.36 
  is that your stuff?21:28.53 
  looks like I am not the only one with this issue21:30.02 
oy mvrhel_laptop, I work on Oyranos not colord21:32.01 
mvrhel_laptop ok. I could not remember 21:32.10 
oy http://www.oyranos.org , but hope to get that to ubuntu/debian soon21:32.33 
mvrhel_laptop removing colord since it is annoying21:34.37 
  maybe colord was the stuff that till have someone working on for the google summer of code21:36.10 
oy Oyranos and libCmpx was worked on, I mentored21:36.53 
mvrhel_laptop ok21:37.01 
oy http://www.oyranos.org/wiki/index.php?title=LibCmpx21:37.13 
  libCmpx wrapps a clear API around GS for handling the PDF OuputIntent workflow21:37.57 
  *clean21:38.03 
mvrhel_laptop ok21:38.09 
oy the workflow is described here: http://www.oyranos.org/wiki/index.php?title=Device_Settings#CUPS21:38.45 
  ... client side and server side21:39.02 
  ... and on both ends sits GS thanks to mvrhel_laptop 's awesome work :-)21:39.50 
mvrhel_laptop ha. thanks. I think I fixed the output intent issue with the RGB devices now the ghent tests should all work perfect21:40.25 
oy cool, updated my blog post21:44.12 
mvrhel_laptop bbiaw22:03.53 
 Forward 1 day (to 2012/11/16)>>> 
ghostscript.com
Search: