Re: [racket-users] Re: Slack team for racket

2015-07-31 Thread J Arcane
Wow, is it two way then? On Fri, Jul 31, 2015 at 9:03 AM, Jack Firth wrote: > On Monday, July 27, 2015 at 1:15:31 AM UTC-7, mazert wrote: > > Le 27/07/2015 04:13, Jason Yeo a écrit : > > > Hi Everyone! > > > > > > For anyone out there who finds IRC too daunting and difficult to use, > there's a

Re: [racket-users] What limits would you put on racket?

2015-07-23 Thread J Arcane
> > > * Browser-side AJAX-y apps, both underlying browser stuff and layered > frameworks/libraries. Developing for this is largely about cursing > frequently -- every time you're reminded that people who have little idea > what they're doing have now determined the platforms that everyone must > b

Re: [racket-users] Re: How to draw a 3D ball?

2015-07-20 Thread J Arcane
The images/icons library contains some tools for generating shaded shapes which may be of use to you. It's what I used to generate my personal icon. http://docs.racket-lang.org/images/Icons.html?q=images On Mon, Jul 20, 2015 at 12:03 PM, Mianlai Zhou wrote: > Hi, > > Thanks for your answer. I me

Re: [racket-users] SteamOS / Steam Machine

2015-07-05 Thread J Arcane
Should be pretty easy. SteamOS is just a front-end running on top of Debian Wheezy, to my understanding. Even uses APT. I don't know what they've changed compared to the standard distro, but you can probably even just do "apt-get install racket". You could always give it a try: http://store.steamp

Re: [racket-users] infix

2015-05-30 Thread J Arcane
Alex Knauth did up a simple infix solution for Heresy, based on the Maya mini-DSL for Clojure, which I've finally got round to merging into the main tree. No docs yet, but you can see the code: https://github.com/jarcane/heresy/blob/master/lib/infix-math.rkt And the test cases should make the func

Re: [racket] Greetings!

2015-03-19 Thread J Arcane
I will second that. The performance difference between the racket dedicated executable, and running something under a DrR REPL can be surprisingly huge. It's one of the reasons why I've been slowly transitioning to using racket-mode under Emacs instead. On Thu, Mar 19, 2015 at 1:25 PM, Neil Toront

Re: [racket] Crowdsourcing Pict3D's design

2015-03-09 Thread J Arcane
I'm really curious about this. I've never touched 3D, partly because most 3D frameworks/libraries are hardcore C/C++. A 3d big-bang gives me happy thoughts. On Mon, Mar 9, 2015 at 9:37 PM, Alexander D. Knauth wrote: > Is there a good way to draw a smooth curved cylinder? > > On Mar 8, 2015, at

Re: [racket] try-racket alternative

2015-02-25 Thread J Arcane
Oh wow! This is quite lovely. Definitely an improvement so far, in my book. I believe that the one included in try-racket is mostly based upon the Quick Guide: http://docs.racket-lang.org/quick/ The examples are largely similar, I think just a few things were tweaked or abbreviated. The state of

Re: [racket] Documentation not building on the pkg.racket-lang.org

2015-01-07 Thread J Arcane
Wheyhey! Heresy has pretty Scribble docs online now: http://pkg-build.racket-lang.org/doc/heresy/index.html Thanks! On Wed, Jan 7, 2015 at 6:32 AM, Jack Firth wrote: > So *that's* why none of my docs were updating > > On Tue, Jan 6, 2015 at 8:25 PM, Matthew Flatt wrote: > >> A power failure to

Re: [racket] Why does (case ...) quote its matching value expressions?

2014-12-24 Thread J Arcane
That is a lot more brief than mine. I just adapted a naive, unquoted version from the Racket case: (define-syntax my-case (syntax-rules (else) [(_ val ((mtch ...) expr) rest ... (else expr2)) (if (my-comp val (mtch ...)) expr (my-case val rest ... (else expr2)))] [

Re: [racket] Why does (case ...) quote its matching value expressions?

2014-12-22 Thread J Arcane
there for Heresy's (select case ...) Thanks! On Mon, Dec 22, 2014 at 5:20 PM, Matthias Felleisen wrote: > > Look for evcase. -- Matthias > > > On Dec 21, 2014, at 11:58 PM, J Arcane wrote: > > > Up with a horrible ear-ache this morning I decided to include a FizzBuzz &

[racket] Why does (case ...) quote its matching value expressions?

2014-12-21 Thread J Arcane
Up with a horrible ear-ache this morning I decided to include a FizzBuzz example in Heresy, the Racket #lang I've been working on, and ran into an unexpected behavior in the (case ...) statement. In many languages with case, you can make the testing value a constant, and then make the matching cla

Re: [racket] Splicing a variable to serve as let declarations

2014-12-11 Thread J Arcane
(foo) > (define-syntax-parameter dave '((is 4) (fat 6))) > (letexpand dave is fat)) > > (foo) > > > > Tue, 9 Dec 2014 06:33:14 +0200 от J Arcane : > > Hmm. That does appear to work at a global level, but then when you attempt > to use it inside of a fu

Re: [racket] SOURCES FOR BUILDING BASIC WEB APPLICATIONS

2014-12-08 Thread J Arcane
try-racket's a bit dependent on external JavaScript libraries and other oddness to get at the basics. I'd instead suggest as Neil does, try the tutorials on the main Racket page. I've also done HateStack, which is a far simpler application example for a simple disposable blog like thing: https://

Re: [racket] Splicing a variable to serve as let declarations

2014-12-08 Thread J Arcane
pand > (syntax-parser > [(_ alst body ...) > (with-syntax ([alst (syntax-local-introduce #`#,(eval-syntax > #'alst))]) >#'(let alst body ...))])) > (letexpand dave is fat) > > On Dec 8, 2014, at 2:46 AM, J Arcane wrote: > > > I've be

[racket] Splicing a variable to serve as let declarations

2014-12-07 Thread J Arcane
I've been experimenting with a new feature for Heresy, and I find myself in need of a macro that can insert the contents of an a-list into a let syntax to serve as its definitions. I am utterly failing to accomplish this. It seems like it should be simple enough to splice a variable's contents into

Re: [racket] jQuery.console or Racket code?

2014-11-26 Thread J Arcane
Hello, I'm the webmaster/maintainer for try-racket at the moment. The JQuery console is used to provide the console interface, but this is indeed only an interface. I/O is passed via JSON to a running Racket sandbox provided by the server application (itself also written in Racket). Racket does al

Re: [racket] Providing/importing user lang modules.

2014-11-23 Thread J Arcane
he racket/base and racket languages. > (Perhaps it has more intermediate steps that I missed.) > > > https://github.com/plt/racket/blob/master/racket/collects/racket/private/base.rkt > > Gustavo > > > On Sat, Nov 22, 2014 at 3:47 PM, J Arcane wrote: > > Today I

[racket] Providing/importing user lang modules.

2014-11-22 Thread J Arcane
Today I decided to set about writing some standard library functions for Heresy. My goal is to write as much as I can in Heresy proper, only falling back to the Racket core when I need to provide a missing feature. The trouble I'm having though, is in making any of this code available to other Her

Re: [racket] way off-topic but fun Re: Can't get my language package to work

2014-11-18 Thread J Arcane
Realm of Racket is quite good. I wish the sections on macros and languages could've been longer, they went a long way to finally demystifying them for me! On Tue, Nov 18, 2014 at 3:59 PM, Matthias Felleisen wrote: > > On Nov 18, 2014, at 5:58 AM, J Arcane wrote: > > > I

Re: [racket] Can't get my language package to work

2014-11-18 Thread J Arcane
= > Byron Davies, Ph.D. — 480-276-4285 > Chief Learner and Director of K-12 Innovation > bdav...@starshineacademy.org > http://StarShineAcademy.org > > > On Nov 16, 2014, at 10:00 AM, users-requ...@racket-lang.org wrote: > > Message: 2 > Date: Sun, 16 Nov 2014 11:20:0

Re: [racket] Can't get my language package to work.

2014-11-16 Thread J Arcane
can find it on Github: https://github.com/jarcane/heresy On Sun, Nov 16, 2014 at 12:20 PM, Konrad Hinsen wrote: > J Arcane writes: > > > I've been tinkering about with a BASIC-inspired Lisp syntax in Racket > to practice > > macros. I've now got all the basic defi

[racket] Can't get my language package to work.

2014-11-16 Thread J Arcane
Greetings, I've been tinkering about with a BASIC-inspired Lisp syntax in Racket to practice macros. I've now got all the basic definitions established and wanted to thus start working on making it usable as a language, at least with #lang s-expr but I'm failing even at that. I can't even get my f

Re: [racket] Electric-pair like setting for square brackets in DrRacket on Windows?

2014-11-05 Thread J Arcane
er wrote: > I just push a fix for one such bug: when you type control-[ in that > mode, then you (used to) get only one bracket. Is that what you're > found? > > Robby > > > On Tue, Nov 4, 2014 at 11:47 AM, J Arcane wrote: > > Greetings, > > > > I star

[racket] Electric-pair like setting for square brackets in DrRacket on Windows?

2014-11-04 Thread J Arcane
Greetings, I started Lisping on Emacs and grew to rather appreciate the electric-pair-mode method for automatically inserting a closing parens and other symbols; I had mine set to auto close (), [], and "" at a minimum, and sometimes set others when I was working in other languages. DrRacket has

[racket] Unquoting a variable without unquoting its contents?

2014-09-25 Thread J Arcane
http://try-racket.org continues to splutter to life, but there's still something of a glaring error in that it doesn't really like list or quote at all. AlexKnauth has narrowed the problem down here: https://github.com/jarcane/try-racket/issues/4#issuecomment-56751603 It seems that unquoting a va

Re: [racket] Hosting the try-racket REPL.

2014-09-22 Thread J Arcane
something wrong? > > -- > *From:* Jay McCarthy > *To:* J Arcane > *Cc:* Racket Users ; Robby Findler < > ro...@eecs.northwestern.edu>; Marc Burns > *Sent:* Monday, September 22, 2014 12:05 PM > *Subject:* Re: [racket] Hosting the try-racket REPL. &

Re: [racket] Hosting the try-racket REPL.

2014-09-22 Thread J Arcane
That does sound an awful headache for something that otherwise doesn't seem to be using X for anything other than dependency expectations. It seems like there should be a non-X-dependent way to do it. On Mon, Sep 22, 2014 at 9:52 AM, Neil Van Dyke wrote: > Amir Ansari wrote at 09/22/2014 02:28 A

Re: [racket] Hosting the try-racket REPL.

2014-09-21 Thread J Arcane
I had not actually heard of Xvfb before now, but that could be a good solution. I balk at using full X11 with only 512MB of RAM, but that could be enough to satisfy the original code's expectations. I will have to experiment with it. On Mon, Sep 22, 2014 at 9:28 AM, Amir Ansari wrote: > Have you

Re: [racket] Hosting the try-racket REPL.

2014-09-21 Thread J Arcane
; > connection. > > > > On Mon, Sep 22, 2014 at 12:12:37AM +0300, J Arcane wrote: > >> Greetings, > >> > >> For some time now, it's bothered me a bit that Racket doesn't have an > >> online REPL currently hosted anywhere. There's one w

[racket] Hosting the try-racket REPL.

2014-09-21 Thread J Arcane
Greetings, For some time now, it's bothered me a bit that Racket doesn't have an online REPL currently hosted anywhere. There's one written here: https://github.com/voila/try-racket But no one's hosted it anywhere. So I took it upon myself to fix that. I've purchased try-racket.org and a basic Di

Re: [racket] Keyboard polling and user packages

2014-08-10 Thread J Arcane
Well, thanks to CharTerm, I have made it work. However, in adding some error handling routines for the runtime I've run into a weird bug. You can see the full code here: https://github.com/jarcane/MicroMini/blob/master/main.rkt The relevant bit, however, is the (crash-handler) function. For some

[racket] Keyboard polling and user packages

2014-08-10 Thread J Arcane
Hello, I've been working on a learning project, a simple 8-bit virtual stack machine, (code so far is here: https://github.com/jarcane/MicroMini/blob/master/main.rkt) and I've run into a bit of a snag when it comes to getting input. I'm trying to set up basic character terminal I/O. The spec I'v