[racket-users] Re: Creating movable Fonts on a Canvas

2019-06-23 Thread Alex Harsanyi
Have a look at the `snip%` and `pasteboard%` classes: you can represent each glyph using a `snip%` and the pasteboard will handle the moving it with the mouse. You can derive the `snip%` and `pasteboard%` objects to add new functionality -- this is easier than implementing a mouse move operati

Re: [racket-users] Re: doing a "show hn" of your racket project

2019-06-23 Thread Eric Griffis
This is the kind of stuff I look for in my Twitter feed. If I knew how to subscribe to updates, I would. Eric On Fri, Jun 21, 2019 at 1:16 AM Dexter Lagan wrote: > > Once my git repos will be presentable, you can be sure I'll show it all to > HN. I'm a beyond-full-time Racket programmer and

[racket-users] Creating movable Fonts on a Canvas

2019-06-23 Thread Amir Teymuri
If i want to use fonts on a canvas in a way that each single Glyph/Font is movable around the canvas by mouse, is it a good idea to have a class drivative of canvas% for each new font and then override the on-event method of them to update its coordinates on the main canvas? Or is there a bette

Re: [racket-users] Relative Pathname problem

2019-06-23 Thread Sorawee Porncharoenwase
This is almost certainly due to Geiser and not Racket. IIRC, there are C-c C-a and C-c C-b. One of them works with Racket and the other does not. If you only work with Racket, I would recommend racket-mode instead of Geiser. It's far more integrated to Racket. On Sun, J

Re: [racket-users] managing competing access to filesystem within places

2019-06-23 Thread Robby Findler
On Sat, Jun 22, 2019 at 9:45 PM Matthew Butterick wrote: > > > On 06 22 19, at 6:14 AM, Robby Findler wrote: > > One thing you can do, when the place-specific communication takes > multiple steps is to, like you did in the first example, put the > channels into a hash, but then on each iteration

Re: [racket-users] Relative Pathname problem

2019-06-23 Thread Amir Teymuri
I have version 7.3. The problem was that i have to start the interactive racket from the scratch.rkt file which imports from other modules. I am using racket on Emacs with the Geiser mode. On Sunday, June 23, 2019 at 4:55:20 AM UTC+2, Ben Greenman wrote: > > I tried to reproduce this problem, bu

Re: [racket-users] Jupyter Racket Kernel - iracket

2019-06-23 Thread Arie Schlesinger
Hi, I am trying to install racket for jupyter on a mac, and from the github it is not clear for me how to do it. I use Dr Racket, still running "raco pkg install iracket" is not recognized in the mac shell. Thanks, Ari On Friday, May 4, 2018 at 9:57:42 AM UTC+3, Graham Dean wrote: > > Pleasu