[racket-users] Re: Blockly-Like Interface in DrRacket

2018-04-26 Thread Stephen Foster


I finally had some time to revisit this.  I'm hoping someone can help me 
out a bit more.


I made a basic renderer that takes arbitrary S-expressions and renders them 
as bricks.  I've made an interface for editing the bricks (and thus editing 
the S-expressions underneath).


What I would like to do now is seamlessly integrate these brick-expressions 
(B-expressions?) into arbitrary Racket files using some kind of custom 
snip%.


Here's a not-working prototype of what it should look like:





Notice that line #9 has the B-expression.  Line #7 has a comment showing 
the equivalent S-expression.  Also notice that the B-expression contains a 
reference to the constant defined in an S-expression on line #5.  And vice 
versa, notice that the S-expression on line #11 references the constant 
defined in the B-expression.  This two-way interoperability between 
B-expressions and S-expressions within the same file is something I think 
would be pedagogically valuable.


I'd love to implement this, but I'm looking for suggestions.


Let's just suppose I've implemented a special b-expression-snip% class.  (I 
haven't, but I think I could).


How might I go about getting the above to work.  Here are some random, 
vague, probably-misguided musings about implementations -- meant to 
stimulate discussion:


   - Get DrRacket to render the b-expression-snip% as an image but 
   otherwise treat it as a normal S-expression, just as if it had been written 
   as such.
   - Get the b-expression-snip%'s associated S-expression to be "evaled" in 
   the context of the module -- without having to wrap the snip in a helper 
   S-expression, e.g. (my-eval ...).
   - Get the b-expression-snip%'s presence to somehow "inject" its 
   S-expression into the module/file/etc.
   - Implement some kind of special *#lang racket-with-bricks* that 
   intercepts the code before execution and swaps all B-expressions for their 
   associated S-expressions.

Any ideas, pointers, references, etc. would all be appreciated.  Thanks in 
advance!


On Wednesday, December 27, 2017 at 8:30:16 PM UTC-8, Stephen Foster wrote:
>
> If I wanted to build a drag-and-drop, visual programming interface for 
> programming in DrRacket, is there any prior work I can build on?  Ideally, 
> I'd like to implement this as a DrRacket "snip", so that my students can 
> make programs that are partially text-based and partially visual.  Any 
> suggestions?  Has anyone done something in the ballpark?  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2018-04-26 Thread lolo sami
YouTube videos of



 U.S. Congress money laundering hearing


of

Saudi Billionaire  " Maan  Al sanea"

 with *bank of America*


and  The  owner of Saad Hospital and  Schools

 in the Eastern Province in *Saudi Arabia*



and the Chairman of the Board of Directors of Awal Bank  in *Bahrain*


With Arabic Subtitles


http://www.youtube.com/watch?v=mIBNnQvhU8s





*موقع اليوتيوب الذي عرض جلسة استماع الكونجرس الأمريكي *

* لمتابعة نشاطات غسل الأموال ونشاطات*



*السعودي معن عبدالواحد الصانع*



*مالك مستشفى  وشركة سعد  ومدارس سعد بالمنطقة الشرقية بالسعودية   ورئيس مجلس
ادارة بنك اوال البحريني*



*مترجم باللغة العربية*



http://www.youtube.com/watch?v=mIBNnQvhU8s

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: [racket] Socket error with distributed places example

2018-04-26 Thread Sumit Chaturvedi
Hello! 
For me the opposite problem is occurring. I get socket error while trying 
to connect to a remote host but not for a local host. I specify the remote 
hostname by replacing the "localhost" in the example by 
"pra...@xx.xx.xx.xx". Is this format correct?? 

On Thursday, 1 September 2016 23:32:30 UTC+5:30, Wayne Iba wrote:
>
> I'm encountering the same problem as Matt was.  Any help on that?  [racket 
> 6.6 on Ubuntu 14.04 and 16.04 (fails on both)]
>
> Incidentally, if I change "localhost" in the spawn-remote-racket-node to 
> some other host, the example seems to work correctly.
>
> This points to my more general problem.  I have a distributed program that 
> previously used the riot package but for which I'd like to use distributed 
> places.  However, the program needs to run both on a multi-core machine in 
> isolation, and on a set of distinct machines.  I was able to get a solution 
> working for separate machines but ran into these socket errors when trying 
> to make it work on a single machine.
>
> Thanks in advance!
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Numerical Methods in Functional Programming (CfP)

2018-04-26 Thread Dominic Steinitz


i’m the chair this year for the first(!) ACM SIGPLAN International Workshop 
on Numerical Programming in Functional Languages (NPFL), which will be 
co-located with ICFP this September in St. Louis, Missouri, USA.


Please consider submitting something! All you have to do is submit between 
half a page and a page describing your talk. There will be no proceedings 
so all you need do is prepare your slides or demo. We do plan to video the 
talks for the benefit of the wider world.


We have Eva Darulova  giving the 
keynote.


The submission deadline is Friday 13th July but I and the Committee would 
love to see your proposals earlier.

See here  for more 
information. Please contact me if you have any questions!


Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
Twitter: @idontgetoutmuch


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Numerical Methods in Functional Programming (CfP)

2018-04-26 Thread Dominic Steinitz
I’m the chair this year for the first(!) ACM SIGPLAN International
Workshop on Numerical Programming in Functional Languages (NPFL),
which will be co-located with ICFP this September in St. Louis,
Missouri, USA.

Please consider submitting something! All you have to do is submit
between half a page and a page describing your talk. There will be no
proceedings so all you need do is prepare your slides or demo. We do
plan to video the talks for the benefit of the wider world.

We have [[https://people.mpi-sws.org/~eva/][Eva Darulova]] giving the 
keynote.

The submission deadline is Friday 13th July but I and the Committee
would love to see your proposals earlier.

See [[https://icfp18.sigplan.org/track/npfl-2018-papers][here]] for more 
information. Please contact me if you have any
questions!

Dominic Steinitz
domi...@steinitz.org
http://idontgetoutmuch.wordpress.com
Twitter: @idontgetoutmuch

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.