Re: [racket-users] Re: Boot To Racket

2017-07-11 Thread jukka . tuominen
I've been following this discussion with keen interest. Although my Liitin.org project is far from minimal in size (viable sized by design), it does have some common objectives. Racket is used as "the native language" that is meant to be able to control all areas of the cloud-based, native Li

Re: [racket-users] Order of argument conventions, or ... conventions of argument ordering

2016-04-22 Thread Jukka Tuominen
Not to give an excuse to design the argument order poorly... it would be great if DrRacket could display named place-holders for each argument dynamically. Then you wouldn't need to guess or try to remember illogical set of parameter orders. The argument name could be taken dynamically from the

Re: [racket-users] Custodian problems/ IoT service

2015-12-13 Thread jukka . tuominen
The previous code was messy all over the place. This one seems to work, although I'm not sure whether it can keep the services securely sandboxed as intented and won't run out of memory at some point. Revised code: - #lang racket ; tested in Linux (define target-mode #f); #f/ "service-1"/

[racket-users] Custodian problems/ IoT service

2015-12-12 Thread jukka . tuominen
Hi all, I want to make a custodian-protected, remotely-controlled service switcher but there's something wrong with my code. The behaviour isn't reliable and it leaves traces behind filling the memory eventually. I've included the code below. TBH, I may have a less optimal approach to it in

Re: [racket-users] Anybody done some "Internet of Things" stuff with Racket?

2015-11-10 Thread Jukka Tuominen
I'm currently experimenting with Tony's racket/stomp package that you might want to check out, too. The idea is to provide more generic messaging services for liitin.org project, not just IoT but also between people, software services, cloud computing and such. Initial target is an easy-to-use

Re: [racket-users] Time-limited evaluation

2015-11-07 Thread jukka . tuominen
Hehe, I think I need a faster computer, because that was the intention. Anyhow, I'm glad it's working. I think what happened was that initially I didn't have it right and lowered the number to make debugging faster. Then tested with another function and got confused. Thank you Matthew for

[racket-users] Time-limited evaluation

2015-11-07 Thread jukka . tuominen
Hi all, I'm probably doing something wrong here, but for some reason "custodian-shutdown-all" doesn't always interrupt the execution as the last test case below shows. It continues execution until finished. Any ideas how to get this working? br, jukka --- #lang racket/load (require math

Re: [racket-users] racket users fight for their right to colon keywords

2015-10-14 Thread Jukka Tuominen
Yoda like that would, but to me it looks backwards. How about...? key: value br, jukka UX Manager :) Sent from my iPhone > On 14.10.2015, at 18.50, Neil Van Dyke wrote: > > We are conducting a highly scientific poll. > > The question we want to answer is whether people would like for the Rack

[racket-users] Racket education & activities in greater Helsinki area?

2015-10-14 Thread jukka . tuominen
Hi all racketeers in Helsinki or nearby, I wonder if there are any Racket courses or other Racket-related activities available in Helsinki or the surrounding areas? I'm mainly interested in open university type-of CS lessons, or Internet of Things kind-of hobby activities, but anything really.

Re: [racket-users] Re: Eval namespace revisited ...again

2015-09-26 Thread Jukka Tuominen
ce)) > > ;; Test it > (custom-eval '(+ 1 2 3)) > > > 2015-09-26 13:56 GMT+02:00 Jukka Tuominen : > >> >> In case it should be of help to anyone, using #lang racket/load solved >> the >> problems and things run smoothly now. >> >> br, ju

[racket-users] Re: Eval namespace revisited ...again

2015-09-26 Thread Jukka Tuominen
In case it should be of help to anyone, using #lang racket/load solved the problems and things run smoothly now. br, jukka > Hi all, > > I'm working on a generic solution to distributed computing/ IoT/ M2M/ > scheduled task handling etc. basing on messaging. The emphasis is on > usability so it

[racket-users] Eval namespace revisited ...again

2015-09-19 Thread Jukka Tuominen
Hi all, I'm working on a generic solution to distributed computing/ IoT/ M2M/ scheduled task handling etc. basing on messaging. The emphasis is on usability so it is essential to allow running functions identically despite of where they are run. The obvious thing to expect is that when sending an

Re: [racket-users] RCP over racket-stomp

2015-08-07 Thread Jukka Tuominen
br, jukka > On 08/07/2015 03:19 PM, Jukka Tuominen wrote: >> =ERROR REPORT 7-Aug-2015::22:00:25 === >> Channel error on connection <0.5764.4> ([client-ip]:59326 -> >> [server-ip]:61613, vhost: '/', user: 'device7'), channel 1: >> {amq

Re: [racket-users] RCP over racket-stomp

2015-08-07 Thread Jukka Tuominen
> On 08/07/2015 12:43 PM, Jukka Tuominen wrote: >> "Disconnected before receipt "R14642" was received" > > What shows up in the RabbitMQ logs around the time that the > disconnection happens? Often a bunch of detail is logged that is not > passed on to

Re: [racket-users] RCP over racket-stomp

2015-08-07 Thread Jukka Tuominen
end, no error is signalled but nothing is retuned either. Taking away "(receipt ,receipt)" from send had no effect. br, jukka > On 08/06/2015 02:03 PM, Jukka Tuominen wrote: >> From a generic STOMP documentation I’ve understood that I should send a >> ”reply-to” header item

Re: [racket-users] RCP over racket-stomp

2015-08-06 Thread Jukka Tuominen
on from-device7)"); place-holder only for now. Sign and encrypt also before placing open air. (define secured-message3 "(instant-notification notification-content from-device7)"); place-holder only for now. Sign and encrypt also before placing open air. (define secured-message4 "(devi

[racket-users] RCP over racket-stomp

2015-08-06 Thread Jukka Tuominen
Hi, I’m trying to set up RCP communication by using racket-stomp messaging, but I can’t seem to find neither documentation nor a sample code that would show how to accomplish this. For example, I’d like to send a target computer a message containing a quoted function, say ’(+ 1 2 3) and I should

Re: [racket] Initial environment

2015-03-01 Thread Jukka Tuominen
tial prompt with > a message "Interactions disable! Press the RUN button!" (or a > friendlier version) like when you run #lang racket/kernel > > Gustavo > > On Sun, Mar 1, 2015 at 6:52 PM, Robby Findler > wrote: >> You might also consider making a new

Re: [racket] Initial environment

2015-03-01 Thread Jukka Tuominen
ractions window should behave similarly to if you > appended it into the file. And running the file should have the same > behavior as running it with the command-line racket. Having DrRacket > insert > requires silently would violate this. > > On Sun, Mar 1, 2015 at 1:55 AM, Jukka

Re: [racket] Initial environment

2015-02-28 Thread Jukka Tuominen
Just to clarify my previous message... Say, I want to include 2htdp/image and 2htdp/universe libraries so that once I start DrRacket, I can type "circle" in the interactions pane even before pressing the "run" button. The same libraries should be available directly for racket and gracket, as well

[racket] Initial environment

2015-02-28 Thread Jukka Tuominen
If I want to ensure that certain libraries get automatically included (required) in the initial racket/gracket/drracket environments, where should I add them? I tried /racket/collects/init.rkt but that didn't seem to work. I didn't remove the .zo file though... br, jukka

Re: [racket] try-racket alternative

2015-02-26 Thread Jukka Tuominen
Since the topic is expanding further away from "try", I may also add that even though native Linux, Liitin also has an html5 web interface. It provides a personal cloud desktop and storage with Racket integration, and you can also share Racket code easily. See the web login page at https://liitin

Re: [racket] Search & wrap

2015-02-24 Thread Jukka Tuominen
wise it seems like you are asking for something that precludes > separate compilation and has effects that cross module boundaries... > sounds > unpleasant if not terrible. > > > Andrew Mauer-Oats > Mathematics Ph.D. > Chicago Public Schools: Whitney Young > > O

[racket] Search & wrap

2015-02-24 Thread Jukka Tuominen
This is something I've been wondering for years and always ended up doing it manually. So, why not ask it out loud... I wonder whether it would be possible to search and wrap all definitions that reside outside a specified function, other than those contained in #lang racket? Say, (search&wrap '

Re: [racket] Updated Liitin project page

2015-02-09 Thread Jukka Tuominen
Based on the feedback, I have added a little screen capture strip explaining how this Liitin storage works from the user's perspective. It shows each step starting from boot, how to run a stored object (Racket program: Eliza), view its source code, and how you could modify it to your liking. Not r

[racket] Updated Liitin project page

2015-02-01 Thread Jukka Tuominen
Dear Racketeers, for those interested in Liitin development, the project home page has just been updated. "Liitin is a profoundly new approach to computing aiming to make the Future Internet more useful by means of improved compatibility of software and hardware and providing permanent data sto

[racket] Racket & OpenStack/ Swift

2014-10-24 Thread Jukka Tuominen
Hi all, I wonder if anyone has experience in or pointers to using Racket with OpenStack? Particularly, I'm currently interested in client-side object storage (Swift) interfacing and server-side middleware scripting. E.g. I'm trying to figure out the most efficient way to PUT/GET Racket objects s

Re: [racket] Internet of Things

2014-02-15 Thread Jukka Tuominen
ion definition on the client side is somehow invalid. Any idea what I'm doing wrong? Br, jukka > On 18.11.2013, at 20.42, Jukka Tuominen wrote: > > Hi Tony, > > >> On 18.11.2013, at 16.13, Tony Garnock-Jones wrote: >> >> Hi Jukka, >> &g

Re: [racket] Internet of Things/ Marketplace

2013-11-29 Thread Jukka Tuominen
ote: > > Sorry, email weirdness: > > https://github.com/jeapostrophe/zguide/tree/master/examples/Racket > > > >> On Fri, Nov 29, 2013 at 6:47 AM, Jay McCarthy wrote: >> Hi Jukka, >> >> These are the examples that I test with: >> >> &

Re: [racket] Internet of Things/ Marketplace

2013-11-27 Thread Jukka Tuominen
mples working with the racket 5.3.6 & zeromq 4.0 either. My windows just crashed, so it's propably just me... sigh I wonder if anyone has some code made for these planet versions 1.0 or 2.0 that you are willing to share? br, jukka > > >> On Wed, Nov 27, 2013 at 10:02 AM

Re: [racket] Internet of Things/ Marketplace

2013-11-27 Thread Jukka Tuominen
> On Wed, Nov 27, 2013 at 10:02 AM, Jukka Tuominen > wrote: >> Jay, >> >> I've tried numerous version combinations of Racket/zeromq/your API on >> ubuntu 10.04 but can't get any to work. These are the versions I've >> tried: >> &g

Re: [racket] Internet of Things/ Marketplace

2013-11-27 Thread Jukka Tuominen
ckage has had a lot of change in > particular and perhaps this has gone away for you: > > http://pkgs.racket-lang.org/#[zeromq] > > But also make sure that your library loading environment variables are > set up right > > Jay > > On Sun, Nov 17, 2013 at 8:07 AM, Juk

Re: [racket] Internet of Things/ Marketplace

2013-11-18 Thread Jukka Tuominen
Hi Tony, > On 18.11.2013, at 16.13, Tony Garnock-Jones wrote: > > Hi Jukka, > >> On 2013-11-16 1:48 AM, Jukka Tuominen wrote: >> I was happy to hear about the package Marketplace [...], and I wonder >> if it could be used as a starting point? > > Marke

Re: [racket] Internet of Things/ Marketplace

2013-11-17 Thread Jukka Tuominen
e in > particular and perhaps this has gone away for you: > > http://pkgs.racket-lang.org/#[zeromq] > > But also make sure that your library loading environment variables are > set up right > > Jay > > On Sun, Nov 17, 2013 at 8:07 AM, Jukka Tuominen > wrote:

Re: [racket] Internet of Things/ Marketplace

2013-11-17 Thread Jukka Tuominen
There's also Jay's port to zeromq, which is looking very promising. However, when I try to run it (racket 5.3.5/ Ubuntu 10.04) by... #lang racket (require (planet "main.rkt" ("jaymccarthy" "zeromq.plt" 2 1))) ... it displays the following error: ffi-lib: couldn't open "libzmq.so" (libzmq.so: c

[racket] Internet of Things/ Marketplace

2013-11-15 Thread Jukka Tuominen
Hi all, some time ago I built a simple client/server proof-of-concept for the Liitin project ( www.liitin.org ) http://lists.racket-lang.org/users/archive/2011-June/046372.html Although this is still valid for a direct, one-way device/service communication, I now have a more generic and UX-orien

Re: [racket] Save/open MrEd Designer project

2013-02-02 Thread jukka . tuominen
nd me your .med file? >> >> Also, can you try with the head in the git repo, to see if that makes a >> difference? >> https://github.com/Metaxal/MrEd-Designer >> >> Cheers, >> Laurent >> >> >> On Sat, Feb 2, 2013 at 1:15 PM, Jukka Tuominen >&g

[racket] Save/open MrEd Designer project

2013-02-02 Thread Jukka Tuominen
Hi, I was going to experiment with the latest MrEd Designer and made a quick test GUI. I then saved the project (.med), but couldn't open it again from the file. I tried with Racket 5.1 and 5.3.2, Linux and Windows, but without luck. Are others experiencing the same problem? Any ideas how to get

[racket] System-wide keyboard shortcuts

2012-07-21 Thread Jukka Tuominen
Hi all, I'm trying to figure out how to capture keyboard events system-wide. I tried searching the documentation, but AFAIU the events are limited to the window in focus. Does this require talking with the system below (Linux/Ubuntu/Gnome), or is there a direct way from Racket? Any help or pointe

Re: [racket] Redefinition of initial bindings/ Resessive genes in GP

2012-07-08 Thread jukka . tuominen
Not that I would understand any of this, but it works perfectly! Thank you so much Jens, Danny and Eli! br, jukka > 2012/7/8 : >> >> I came across this "mutable-define" by Eli (3+ years back)... >> >> ;; http://paste.lisp.org/display/67203 >> ;; this is a PLT version, translate as necessary

Re: [racket] Redefinition of initial bindings/ Resessive genes in GP

2012-07-08 Thread jukka . tuominen
I came across this "mutable-define" by Eli (3+ years back)... ;; http://paste.lisp.org/display/67203 ;; this is a PLT version, translate as necessary (define-syntax-rule (define-mutable name expr) (begin (define b (box expr)) (define-syntax name (syntax-id-rules (set!)

Re: [racket] Redefinition of initial bindings/ Resessive genes in GP

2012-07-06 Thread jukka . tuominen
>> The offspring is basically a module source code. Due to GP's crossover >> and >> mutation functions, the offsprings source code can suggest function >> redefinitions in (atleast) two ways. For example > > You might consider a customized module language that's more amendable > to the kinds of c

Re: [racket] What math do you want to do in Racket?

2012-07-01 Thread jukka . tuominen
Slightly off-topic propably, but to be able to create generic math user interfaces easily (for non-racketeers), infix->prefix and prefix->infix helpers would be great. Infix->prefix should be tolerant to expected human-input variations (e.g. white space usage, math-symbol variants), and the outpu

[racket] Redefinition of initial bindings/ Resessive genes in GP

2012-06-30 Thread jukka . tuominen
Dear list, regarding my Genetic Programming hobby, I have a question about redefinitions in the source code. Just briefly, the process goes so that a GP individual is given a chance to reproduce an offspring by executing its function X. At another point of time the offspring is given a change to

Re: [racket] `def' ?

2012-05-11 Thread jukka . tuominen
ve a bunch of > equivalent keywords for binding variables. But > readability/familiarity/understandability is not one of them. I would be > flabbergasted if the words {"let", "var", "val", "def", ...} were > confusing > to any beginner. >

Re: [racket] `def' ?

2012-05-11 Thread Jukka Tuominen
I can't say I like the idea for usability and compatibility reasons. Usability: - Try this idea exaggerated: def lmbd cwcc cdr cond tgt gg param ... Maybe for hard core pros, but this doesn't make the language very approachable for the beginners. I made a few new ones so even the pros

Re: [racket] REPL "Organism" <=> The Borg?

2012-05-02 Thread Jukka Tuominen
Hi Olwe, Liitin (liitin.finndesign.fi) wasn't originally designed to assimilate humankind, but now that you mention it, it seems like a perfect means to it. Feeding new data and functionality and distributing them is made easy, versatile networking and parallel computation are also built-in. Ther

Re: [racket] DrRacket needs work

2011-11-14 Thread Jukka Tuominen
Hi all, I wish I had more time for this thread topic at the moment since it's extremely interesting to me because usability and visual GUI design is my daily work and passion, but also because I'd also like to improve the Racket IDE and hopefully even see a GUI builder integrated into it event

[racket] More interfaces to/from Liitin

2011-10-27 Thread Jukka Tuominen
Hi, I wonder if there is anybody with Liitin account and access to a x-server enabled client that could test the following shell command: (OSX in particular haven't been tested, Ubuntu should work) ssh -X -l USERNAME liitin.finndesign.fi /afs/finndesign.fi/service/liitin/racket/bin/gracket -f /a

Re: [racket] Serving multiple, read-only Racket versions?

2011-10-24 Thread Jukka Tuominen
Sorry, meant to reply to the list, also :) -Original Message- From: Jukka Tuominen [mailto:jukka.tuomi...@finndesign.fi] Sent: 24 October 2011 22:52 To: Neil Van Dyke Subject: RE: [racket] Serving multiple, read-only Racket versions? > -Original Message- > From: Neil Va

[racket] Serving multiple, read-only Racket versions?

2011-10-24 Thread Jukka Tuominen
Dear list, I wonder if it's possible to place multiple, read-only Racket versions on a server and have users executing them directly without needing to install them individually? I think this is possible, but I'd like to know for sure that it won't cause any unexpected problems. The idea is to p

Re: [racket] Concurrent execution

2011-10-03 Thread Jukka Tuominen
Beautiful! the results are much clearer this way, and it's good to know why. I noticed (googled) that you have had this figured out long ago :) This was a great learning excercise, and I'm glad I was on the right track. br, jukka > -Original Message- > From: Eli Barzilay [mailto:e...@

Re: [racket] Concurrent execution

2011-10-03 Thread jukka . tuominen
factorial lst4)(display "map4: ")(display (- (current-seconds) start-time))(newline)) (begin (set! start-time (current-seconds))(par-map my-factorial lst4)(display "par-map4: ")(display (- (current-seconds) start-time))(newline)) )) (test) --- > On Mon, O

Re: [racket] Concurrent execution

2011-10-02 Thread Jukka Tuominen
Sorry for thinking aload again, but I'm learning these issues myself in the background, and I wonder if something like the following might work? Concurrent List Processing -idea Two phase process 1) Distribution phase Create a recursive procedure combining cons and threads so that each item in

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-10-02 Thread jukka . tuominen
I wasn't going to press the send button, but now that Neil brought it up... (read: Neil's fault!) ... > First, I apologize. I play "catch up" on the weekends with this list, and > sometimes find myself responding to threads that have long ago gone far > afield... > > Second, sarcasm is used far

Re: [racket] Poll: Does anybody besides Doug use 'plot'?

2011-10-01 Thread jukka . tuominen
Hi, sorry for adding more noice. My message concerns the "meta" side of the discussion, i.e. whether to preserve functional compatibility or the original name. This is a central issue in Liitin ( http://liitin.finndesign.fi ), so I've given a lot of thought about it, but this topic/noise served a

[racket] FW: Seamless Prolog integration

2011-09-20 Thread Jukka Tuominen
(Sorry, meant to reply to the list, also) Thanks, great information and sounds overall feasible, too. > > -Original Message- > From: w...@dualtech.com.pl [mailto:w...@dualtech.com.pl]On Behalf Of Wojciech > Kaczmarek > Sent: 19 September 2011 18:06 > To: Jukka Tuom

[racket] Seamless Prolog integration

2011-09-19 Thread Jukka Tuominen
Hi, inspired by the Datalog discussion, I'd like to understand better what kind of challenges I could expect when trying to create a proof-of-concept about integrating prolog-type-of functionality to Liitin. This would also serve as an example/ stepping stone for others to create something more u

Re: [racket] Code compiled for version ~a, not ~a

2011-09-17 Thread Jukka Tuominen
I think I have had similar errors, but these were outside drracket. I can't recall exactly, but I think they were either commandline raco compilations or commanline gracket executions. I had to remove all compiled directoried manually an rerun the command to bypass the situation. That I recall c

[racket] returning values in #lang racket/load

2011-09-13 Thread Jukka Tuominen
Hi, I wonder if there's a way to return values in #lang racket/load other than specifically printing them out? I noticed that side effects (like print, display, GUI) work as usual, but there's no actual return value. e.g. (in definitions pane) (+ 1 2 3) >> _ (display (+ 1 2 3)) >> 6 (purple r

Re: [racket] Locating substring with reserved characters

2011-09-03 Thread Jukka Tuominen
gt; Sent: 03 September 2011 11:03 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [racket] Locating substring with reserved characters > > > Jukka Tuominen wrote at 09/03/2011 03:56 AM: > > I'm trying to locate a substring that I want to be treated just &g

[racket] Locating substring with reserved characters

2011-09-03 Thread Jukka Tuominen
Hi all, I'm trying to locate a substring that I want to be treated just as a string rather than regexpr notation. The used strings are dynamic and there's no control over their content. This is propably something simple, but I can't seem to get it right. Any ideas? #lang racket (regexp-match-

Re: [racket] doubly linked list lib

2011-09-02 Thread Jukka Tuominen
aurent.ors...@gmail.com] Sent: 02 September 2011 13:25 To: Marijn; Jukka Tuominen Cc: Vincent St-Amour; users@racket-lang.org Subject: Re: [racket] doubly linked list lib On Fri, Sep 2, 2011 at 12:16, Marijn wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Vincent,

Re: [racket] Neophyte Alert

2011-08-31 Thread Jukka Tuominen
> > A few minutes ago, Neil Van Dyke wrote: > > Josh Tilles wrote at 08/31/2011 01:03 PM: > > > -- Is there any sort of general practice or prevailing taste in when > > > to use (for example) *null* vs *empty* vs *(list)*? What about *(let > > > ([...]))* vs *(local (define ...))*? > > > > I think

Re: [racket] Mediawiki dedicated to Liitin/Racket/Scheme code + more

2011-08-27 Thread Jukka Tuominen
st from videos like that), and the wiki is to trying to offer good starting points. br, jukka > -Original Message- > From: Daniel Silva [mailto:dan...@danielsilva.org] > Sent: 27 August 2011 07:02 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [ra

[racket] Mediawiki dedicated to Liitin/Racket/Scheme code + more

2011-08-25 Thread Jukka Tuominen
Hi all, I have just founded a new mediawiki page as an attempt to offer a light-weight forum to share free (LGPL) Liitin/Racket/Scheme content. You can contribute anonymously and no Liitin account is required. It doesn't matter if a new topic starts messy or incomplete. The threshold to place so

Re: [racket] Additional GUI components?

2011-08-19 Thread Jukka Tuominen
Moro Tomppa, I second the desire for more GUI components. I hacked earlier a DIY version of the accordian panel, but I'd rather use a single container rather than construct it from many components. The GUI behaviour seems to work through Ext Liitin connection, unlike the functions that call some

Re: [racket] About modes (was: match in Advanced Student?)

2011-08-19 Thread Jukka Tuominen
al Message- From: Rodolfo Carvalho [mailto:rhcarva...@gmail.com] Sent: 19 August 2011 06:15 To: Jukka Tuominen Cc: users@racket-lang.org Subject: Re: [racket] About modes (was: match in Advanced Student?) Hello Jukka, I don't know to which extend my contribution is useful to the

Re: [racket] About modes

2011-08-19 Thread Jukka Tuominen
sbl...@adelphi.edu] Sent: 19 August 2011 04:32 To: Jukka Tuominen Cc: users@racket-lang.org Subject: Re: [racket] About modes On Aug 18, 2011, at 9:11 PM, Jukka Tuominen wrote: I see you use heavily different language modes for teaching in different phases. Usability-wise it'

[racket] About modes (was: match in Advanced Student?)

2011-08-18 Thread Jukka Tuominen
Hi, About language/UI modes. Since my contribution to CS is thin due to lack of CS education, I hope I can contribute in usability instead, with some more background. I see you use heavily different language modes for teaching in different phases. Usability-wise it's usually worth being careful

Re: [racket] pretty-big->#lang (was: External connectiontoFinndesign Liitin)

2011-08-11 Thread Jukka Tuominen
ample. br, jukka > -Original Message- > From: Matthew Flatt [mailto:mfl...@cs.utah.edu] > Sent: 11 August 2011 07:12 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [racket] pretty-big->#lang (was: External > connectiontoFinndesign Liitin

Re: [racket] pretty-big->#lang (was: External connection toFinndesign Liitin)

2011-08-10 Thread Jukka Tuominen
still would be nice to find a solution or atleast an explanation of what is going on. br, jukka > -Original Message- > From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] > Sent: 10 August 2011 17:24 > To: Jukka Tuominen > Subject: Re: [racket] pretty-big->#lang (w

Re: [racket] pretty-big->#lang (was: External connection toFinndesign Liitin)

2011-08-10 Thread Jukka Tuominen
ed to move named-lambda definition earlier in the lib file (in case it matters), without effect. Why is it unbound? br, jukka > -Original Message- > From: users-boun...@racket-lang.org > [mailto:users-boun...@racket-lang.org]On Behalf Of Jukka Tuominen > Sent: 10 August 201

Re: [racket] pretty-big->#lang (was: External connection to Finndesign Liitin)

2011-08-10 Thread Jukka Tuominen
ize' have corrected the situation... until now. It doesn't explain how it manages to get half ways, though... Do you have any exotic dots left for this situation :) br, jukka > -Original Message- > From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] > Sent: 10 August 20

Re: [racket] Adding raw string syntax

2011-08-10 Thread Jukka Tuominen
Not much of an analogy, but I've always found the following thought inspiring: "People that are busy trying to convince something cannot be done, mustn't disturb the ones that are already doing it!" (Sorry, could't find who's quote it is). Racket seems to be the tool for the doers - the threasho

[racket] pretty-big->#lang (was: External connection to Finndesign Liitin)

2011-08-10 Thread Jukka Tuominen
Hi, coming back to pretty-big->#lang issue. I just noticed a weird thing. Once I changed the external connection source files to '#lang racket' format (updates attached), this is what happens: 1) Just evaluate the environment i.e. just [Run] the liitin.rkt without any example procedures (or [

Re: [racket] FW: External connection to Finndesign Liitin

2011-08-04 Thread Jukka Tuominen
ight be able to handle atleast some of the mentioned requirements. br, jukka -Original Message- From: Rodolfo Carvalho [mailto:rhcarva...@gmail.com] Sent: 04 August 2011 19:54 To: Jukka Tuominen Cc: users@racket-lang.org Subject: Re: [racket] FW: External connection to Finndesign Liitin

Re: [racket] FW: External connection to Finndesign Liitin

2011-08-04 Thread Jukka Tuominen
ers to explore things further. Also, IDE and GUI tools require lots of work to ease bringing in more content. Both pro and Scratch-type of approaches. br, jukka -Original Message- From: Rodolfo Carvalho [mailto:rhcarva...@gmail.com] Sent: 04 August 2011 05:13 To: Jukka Tuominen

Re: [racket] FW: External connection to Finndesign Liitin

2011-08-03 Thread Jukka Tuominen
sivity and redefinition settings can somehow be included so that the user wouldn't need to worry about them either? br, jukka > -Original Message- > From: Vincent St-Amour [mailto:stamo...@ccs.neu.edu] > Sent: 04 August 2011 01:03 > To: Jukka Tuominen > Cc: users@racket-l

[racket] FW: External connection to Finndesign Liitin

2011-08-03 Thread Jukka Tuominen
Sorry, I meant to reply to the mailing list, also. br, jukka -Original Message- From: Jukka Tuominen [mailto:jukka.tuomi...@finndesign.fi] Sent: 03 August 2011 21:43 To: rafk...@cs.utah.edu Subject: RE: [racket] External connection to Finndesign Liitin Did you set DrRacket's lan

[racket] External connection to Finndesign Liitin

2011-08-03 Thread Jukka Tuominen
Hi all, I would just like to inform you that you can now make a read-only connection to public Liitin objects even if you don't have a Liitin account. We have tested this with Windows XP and Ubuntu 10.04 with R 5.1 so far, but hopefully it works with many other systems, as well. I'd appreciate an

[racket] RPC client/server (was: Limiting net-repl provided functions)

2011-06-29 Thread Jukka Tuominen
To setup a RPC client/server system, I ended up tweaking Matthew's example from "More: Systems Programming with Racket", now that I understood better what was needed. http://docs.racket-lang.org/pdf/more.pdf Below is the actual code, in case somebody else finds it useful (tested in Linux env. o

Re: [racket] Limiting net-repl provided functions

2011-06-28 Thread Jukka Tuominen
> -Original Message- > From: Eli Barzilay [mailto:e...@barzilay.org] > Sent: 28 June 2011 13:56 > To: Jukka Tuominen > Cc: Sam Tobin-Hochstadt; users@racket-lang.org > Subject: RE: [racket] Limiting net-repl provided functions > > > Three hours ago, Jukka Tuo

Re: [racket] Limiting net-repl provided functions

2011-06-28 Thread Jukka Tuominen
FYI, this works nicely in Linux (where intented), but when tested inside Win XP/ Racket 5.1., it gives the following error: file-exists?: `exists' access denied for C:\Program Files\Racket\lib\libeay32.dll br, jukka > > limited.rkt --- > #lang racket/base > (provide >;; special

Re: [racket] Limiting net-repl provided functions

2011-06-28 Thread Jukka Tuominen
system by utilizing some 'invisible' features? Is this also bullet-proof? br, jukka > -Original Message- > From: Eli Barzilay [mailto:e...@barzilay.org] > Sent: 28 June 2011 10:33 > To: Jukka Tuominen > Cc: Sam Tobin-Hochstadt; users@racket-lang.org > Subject: RE

Re: [racket] Limiting net-repl provided functions

2011-06-28 Thread Jukka Tuominen
> -Original Message- > From: Eli Barzilay [mailto:e...@barzilay.org] > Sent: 28 June 2011 09:45 > To: Jukka Tuominen > Cc: Sam Tobin-Hochstadt; users@racket-lang.org > Subject: RE: [racket] Limiting net-repl provided functions > > > About a minute ago, Jukka Tu

Re: [racket] Limiting net-repl provided functions

2011-06-27 Thread Jukka Tuominen
> > The sandbox is working in an isolated world (by design, of course), so > you need to do the (require "sb-functions.rkt") inside the sandbox. > For example, just use (sb-eval '(require ...)). > > -- > ((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay: >

Re: [racket] Limiting net-repl provided functions

2011-06-27 Thread Jukka Tuominen
d ) --- > -Original Message----- > From: sam...@gmail.com [mailto:sam...@gmail.com]On Behalf Of Sam > Tobin-Hochstadt > Sent: 27 June 2011 17:40 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [racket] Limiting net-repl provided functions > > > On M

Re: [racket] Limiting net-repl provided functions

2011-06-27 Thread jukka . tuominen
n 27, 2011 at 8:48 AM, Jukka Tuominen >> wrote: >>> >>> The basic client/server functionality is already working, but it's too >>> big a >>> security risk outside LAN use. It seems to be easier to add >>> functionality >>> than

Re: [racket] Limiting net-repl provided functions

2011-06-27 Thread Jukka Tuominen
Great, thanks again! It will take a while to digest and try this out in practise. br, jukka > -Original Message- > From: sam...@gmail.com [mailto:sam...@gmail.com]On Behalf Of Sam > Tobin-Hochstadt > Sent: 27 June 2011 17:40 > To: Jukka Tuominen > Cc: users@racket-

Re: [racket] Limiting net-repl provided functions

2011-06-27 Thread Jukka Tuominen
---Original Message- > From: sam...@gmail.com [mailto:sam...@gmail.com]On Behalf Of Sam > Tobin-Hochstadt > Sent: 27 June 2011 16:53 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [racket] Limiting net-repl provided functions > > > On Mon, Jun 27, 20

Re: [racket] Limiting net-repl provided functions

2011-06-27 Thread Jukka Tuominen
e- > From: sam...@gmail.com [mailto:sam...@gmail.com]On Behalf Of Sam > Tobin-Hochstadt > Sent: 27 June 2011 16:10 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [racket] Limiting net-repl provided functions > > > On Mon, Jun 27, 2011 at 8:48 AM, Jukka Tuomi

Re: [racket] Limiting net-repl provided functions

2011-06-27 Thread Jukka Tuominen
Haa, so you know Matthias but won't tell!? :) The problem is not to make it work (since it works already), but to restrict what it provided over TCP. br, jukka > -Original Message- > From: Matthias Felleisen [mailto:matth...@ccs.neu.edu] > Sent: 27 June 2011 16:04 > T

[racket] Limiting net-repl provided functions

2011-06-27 Thread Jukka Tuominen
Hi, if I was to provide public NET-REPL servers (available at PLaneT), I wonder if there's an easy and secure way to limit the provided functions per server? Say, I have defined functions f1, f2, and f3, and would only like to provide them over a TCP connection, but nothing else. Not even the ba

Re: [racket] Gambit Scheme for the iPhone and iPad

2011-06-05 Thread Jukka Tuominen
... > > Next what Marc Feely's app needs is some sort of community, like > Scratch, so people can share their wizardry, but for that the > ability to organize and modularize scripts would need to be > improved. The downside is if people get too clever, Apple could > get hyperparental and pul

[racket] Modified #%top and namespaces

2011-04-13 Thread Jukka Tuominen
Hi, as part of a visual programming study, I have a piece of code that generates some GUI controls dynamically based on the number of arguments a procedure takes. You can input a new procedure, and it will transform the GUI on-the-fly accordingly. The problem I have, is that the code works fine

[racket] Modifying source code, keeping comments and formatting intact

2011-04-04 Thread Jukka Tuominen
Hi, I seem to be coming back to this problem repeatedly. I need to modify source code by code so that the outcome is the modified source code with the original formatting and comments. For example... BEFORE: ";; comment1 (list 'a ;comment2 'b ;comment3 mentions 'a )" >> (a b) ~TWE

Re: [racket] Metadata idea

2011-03-31 Thread Jukka Tuominen
x); associated test cases to assure ... ; bugfree and compatible updates )) Then the helpers could do all the work needed. br, jukka > -Original Message- > From: users-boun...@racket-lang.org > [mailto:users-boun...@racket-lang.org]

[racket] Metadata idea

2011-03-31 Thread Jukka Tuominen
Hi, I've been thinking of adding the following metadata 'feature' to Liitin, but I wonder if this could be of more generic use. What do you think about the idea? (meta ((tooltip "This is a tooltip"); plain text (manual (fetch-manual-chapter 'object-x)); Rich-text format (self-test

Re: [racket] racket and OS threads

2011-03-19 Thread Jukka Tuominen
e- > From: Matthew Flatt [mailto:mfl...@cs.utah.edu] > Sent: 19 March 2011 23:43 > To: Jukka Tuominen > Cc: users@racket-lang.org > Subject: Re: [racket] racket and OS threads > > > That works for me in Mac OS X. For Linux, though, I have to enable > subprocess groups

  1   2   >