N [email protected] wrote:
>Send Programming mailing list submissions to > [email protected] > >To subscribe or unsubscribe via the World Wide Web, visit > http://jsoftware.com/cgi-bin/mailman/listinfo/programming >or, via email, send a message with subject or body 'help' to > [email protected] > >You can reach the person managing the list at > [email protected] > >When replying, please edit your Subject line so it is more specific >than "Re: Contents of Programming digest..." > > >Today's Topics: > > 1. Re: Fractals Visualization and J (greg heil) > 2. Re: J701 released (Raul Miller) > 3. Re: J701 released (bill lam) > 4. Re: Clipboard in J701 (Leigh J. Halliwell) > 5. Re: Clipboard in J701 (bill lam) > > >---------------------------------------------------------------------- > >Message: 1 >Date: Tue, 1 Feb 2011 18:53:09 -0800 >From: greg heil <[email protected]> >Subject: Re: [Jprogramming] Fractals Visualization and J >To: Programming forum <[email protected]> >Message-ID: > <[email protected]> >Content-Type: text/plain; charset=ISO-8859-1 > >Sorry the computational photography link is http://u.tgu.ca/Levoy_cam2 > >greg >~krsnadas.org > >-- > >from bill lam <[email protected]> >to [email protected] >date 1 February 2011 18:01 >subject Re: [Jprogramming] Fractals Visualization and J > >platimg addons aims at using native os graphic library, quartz in mac, >gdiplus in window, there is no native graphic library for linux, but >gtk+ is widely used enough. Also it use cd calls to dll/shared >library. Therefore I don't think platimg is a suitable host for dcraw, >but may be as a new addon. > >-- > >???, 01 ??? 2011, greg heil ?????(?): > >DC can be captalised as it the initials of the, continuining, author >Dave Coffin. > > http://en.wikipedia.org/wiki/Dcraw > > Where did you get the file from? The definitive (?) place is > > http://www.cybercom.net/~dcoffin/dcraw/ > > It provides no UI, only file IO, as a good unix citizen ... and is >therefore supported by all platforms. When it is compiled a available >to a platform with a good UI it is perhaps superior to even the >various camera manufacturers proprietary converters, and certainly >more permanent and encompasing. > > Computational photography (http://u.tgu.ca/levoy+cam2) can be >obtained in J ... with an IO to sources and a UI to the user. > > my primary concern now is with the N900 which has a Maemo OS, a Linux >type. As the only available Frankencamera >(http://u.tgu.ca/Frankencamera_lite) it is a major step for the >computational photography community. Is it possible to put J on the >N900? > > Can DCraw be added in the media/platimg addon ? > > greg > ~krsnadas.org > > -- > > from Tikkanz <[email protected]> > to Programming forum <[email protected]> > date 1 February 2011 11:37 > subject Re: [Jprogramming] Fractals Visualization and J > > The media/platimg addon (available on J6 but not yet J7) provides >native platform support for reading and writing many common image >formats (not raw though). > > -- > > from David Mitchell <[email protected]> > to Programming forum <[email protected]> > date 1 February 2011 11:28 > subject Re: [Jprogramming] Fractals Visualization and J > > I could not find a DCRaw library. > > I found dcraw.c and compiled it: > > C:\Users\me\Downloads\dcraw>cl dcraw.c /DNO_JPEG /DNO_LCMS /O2b2 /Gry > > Microsoft (R) C/C++ Optimizing Compiler Version 16.00.30319.01 for x64 > Copyright (C) Microsoft Corporation. All rights reserved. > > dcraw.c(360) : warning C4133: 'function' : incompatible types - from 'UshORt > *' > to 'char *' > dcraw.c(360) : warning C4133: 'function' : incompatible types - from 'UshORt > *' > to 'char *' > dcraw.c(8607) : warning C4133: 'function' : incompatible types - from >'UshORt *' > to 'char *' > dcraw.c(8607) : warning C4133: 'function' : incompatible types - from >'UshORt *' > to 'char *' > Microsoft (R) Incremental Linker Version 10.00.30319.01 > Copyright (C) Microsoft Corporation. All rights reserved. > > /out:dcraw.exe > dcraw.obj > > I put in in my path and ran it from J7: > > f=:'Z:\My Pictures\2011\2011 01 29\_MG_1078.CR2' > spawn_jtask_ 'dcraw -6 -T -o 3 -w -v "',f,'"' > Loading Canon EOS DIGITAL REBEL XT image from Z:\My Pictures\2011\2011 01 > 29\_MG_1078.CR2 ... > Scaling with darkness 257, saturation 4095, and > multipliers 2.351670 1.000000 1.350688 1.001965 > AHD interpolation... > Converting to WideGamut D65 colorspace... > Writing data to Z:\My Pictures\2011\2011 01 29\_MG_1078.tiff ... > > It seems to work fine this way, but it does not seem to provide general image > support, only raw image conversion. > > -- > > from greg heil <[email protected]> > to Programming forum <[email protected]> > date 31 January 2011 20:58 > subject Re: [Jprogramming] Fractals Visualization and J > > Perhaps an interface to the DCRaw library would be MUCH more useful >as a general tool.. > > greg > ~krsnadas.org > > -- > > from Devon McCormick <[email protected]> > to Programming forum <[email protected]> > date 31 January 2011 18:58 > subject Re: [Jprogramming] Fractals Visualization and J > > I think reading and writing images are all I use from image3, so this >may be sufficient for my purposes. I'll have to try some conversions >to see if this is the case. > > >------------------------------ > >Message: 2 >Date: Tue, 1 Feb 2011 22:08:25 -0500 >From: Raul Miller <[email protected]> >Subject: Re: [Jprogramming] J701 released >To: Programming forum <[email protected]> >Message-ID: > <[email protected]> >Content-Type: text/plain; charset=ISO-8859-1 > >On Tue, Feb 1, 2011 at 9:29 PM, Devon McCormick <[email protected]> wrote: >> What is the purpose or benefit of having J as a Windows Service? > >Simplicity. It (the jhs server) could start when windows starts, >without needing >a separate step. > >-- >Raul > > >------------------------------ > >Message: 3 >Date: Wed, 2 Feb 2011 11:19:16 +0800 >From: bill lam <[email protected]> >Subject: Re: [Jprogramming] J701 released >To: [email protected] >Message-ID: <[email protected]> >Content-Type: text/plain; charset=utf-8 > >I also run a j web server as window service, the primary benefit is can run >as local system without user login. > >The 15MB FireDaemon seems bloated, a wrapper for service can be quite >slim. I use srvany/instsrv from Microsoft of combined size 50KB. > >???, 01 ??? 2011, Devon McCormick ?????(?): >> What is the purpose or benefit of having J as a Windows Service? >> >> On Tue, Feb 1, 2011 at 12:00 PM, Raul Miller <[email protected]> wrote: >> >> > On Tue, Feb 1, 2011 at 8:29 AM, Dan Bron <[email protected]> wrote: >> > > Raul wrote: >> > >> A jhs service would be nice, and probably >> > >> easy to do, with a screen or two of non-J >> > >> code to get it started, I might try that >> > >> in a week or two. >> > > >> > > Reading your message, I was reminded of FireDaemon, which is a tool that >> > can >> > > turn any application into a Windows service. I downloaded the trial >> > version >> > > here: >> > > >> > > http://www.firedaemon.com/download-firedaemon.php >> > > >> > > installed it, and in 3 minutes I had a fully running JHS Windows Service. >> > > No code required. >> > >> > Yes... and it should be possible to make j.dll installable as a >> > service (or multiple services based on different .ijs scripts) without >> > any extra downloads. But this may save me the time of writing the bit >> > of code that I was going to write. >> > >> > -- >> > Raul >> > ---------------------------------------------------------------------- >> > For information about J forums see http://www.jsoftware.com/forums.htm >> > >> >> >> >> -- >> Devon McCormick, CFA >> ^me^ at acm. >> org is my >> preferred e-mail >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > >-- >regards, >==================================================== >GPG key 1024D/4434BAB3 2008-08-24 >gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > >------------------------------ > >Message: 4 >Date: Tue, 1 Feb 2011 22:31:53 -0500 >From: "Leigh J. Halliwell" <[email protected]> >Subject: Re: [Jprogramming] Clipboard in J701 >To: "'Programming forum'" <[email protected]> >Message-ID: <7D7265DC42FA414C956FC6B1C2587A75@LJHLLC> >Content-Type: text/plain; charset="iso-8859-1" > >I can find no 'clipread' and 'clipwrite' functions in the locales or in the >scripts. Where are they? > >-----Original Message----- >From: [email protected] >[mailto:[email protected]] On Behalf Of chris burke >Sent: Tuesday, February 01, 2011 6:37 PM >To: Programming forum >Subject: Re: [Jprogramming] Clipboard in J701 > >clipread/clipwrite. No "wd" since there is no wd in J701. > >On Wed, Feb 2, 2011 at 7:04 AM, Leigh J. Halliwell <[email protected]> >wrote: >> Dear J Forum: >> >> How does one use the Windows clipboard in J701? ?What has replaced >> wdclipread and wdclipwrite, so that I can pass data to and from J with the >> clipboard? ?Thanks. > > > >------------------------------ > >Message: 5 >Date: Wed, 2 Feb 2011 11:48:36 +0800 >From: bill lam <[email protected]> >Subject: Re: [Jprogramming] Clipboard in J701 >To: [email protected] >Message-ID: <[email protected]> >Content-Type: text/plain; charset=utf-8 > >These verbs are provided by gtk addons, if you run jconsole, you need to >load gtk before using them, > > require'gtk' > gtkinit_jgtk_'' > clipwrite 'abc' >3 > clipread '' >abc > >Note that it cannot run without x11 in linux. > >???, 01 ??? 2011, Leigh J Halliwell ?????(?): >> I can find no 'clipread' and 'clipwrite' functions in the locales or in the >> scripts. Where are they? >> >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On Behalf Of chris burke >> Sent: Tuesday, February 01, 2011 6:37 PM >> To: Programming forum >> Subject: Re: [Jprogramming] Clipboard in J701 >> >> clipread/clipwrite. No "wd" since there is no wd in J701. >> >> On Wed, Feb 2, 2011 at 7:04 AM, Leigh J. Halliwell <[email protected]> >> wrote: >> > Dear J Forum: >> > >> > How does one use the Windows clipboard in J701? ?What has replaced >> > wdclipread and wdclipwrite, so that I can pass data to and from J with the >> > clipboard? ?Thanks. >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > >-- >regards, >==================================================== >GPG key 1024D/4434BAB3 2008-08-24 >gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3 > > >------------------------------ > >---------------------------------------------------------------------- >For information about J forums see http://www.jsoftware.com/forums.htm > >End of Programming Digest, Vol 65, Issue 8 >****************************************** ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
