[racket-users] Racket for Smartphone Apps

2015-09-24 Thread Marc Kaufmann
Hi all, I am about to start writing an app. Really all it will have to do (for now) is to give the user a bunch of survey questions at several times (per day or week or whatever). It does matter quite a bit that it should work on both Android and iOS (and Windows phones, if it it must). For

Re: [racket-users] Redex, traces and Graphviz

2015-09-24 Thread Anton Podkopaev
Robby, thank you very much! BR, Anton Podkopaev 2015-09-23 23:48 GMT+03:00 Robby Findler : > Yes, but only in a fairly complex way. Your rendering function would > have to call out to graphviz, get the results back as a png, use > read-bitmap to get the png back

Re: [racket-users] Scribble: Typeset equations using Latex packages amsmath and amssym

2015-09-24 Thread Marc Kaufmann
Thanks Alex, To avoid dealing with escapes like that, you could use the raw-string > package, which lets you do this: > raco pkg install raw-string > > #lang raw-string/raw-string racket/base #\$ > > When I add the package via raco and change the #lang line as you suggest, I get the following

Re: [racket-users] [racket][FFI] memory management when making io ports in C

2015-09-24 Thread WarGrey Gyoudmon Ju
Okay, I am here again. No lucky, I cannot make it cooperate with the precision GC, even catching the signal does not work. The `xform` seems buggy in two ways I have encountered: 1. it may eat some module level non-static constants, say, to export `syslog` macros 'facilities', 'severities' and

[racket-users] Thanks for latest performance improvements

2015-09-24 Thread JCG
I just rewrote an existing C++ server in Racket in two days, dropping 2,000 C++ lines to 700 Racket lines. The architecture of the previous server was based on fine planning and implementation, but quickly degraded from an 18-month succession of band-aids. Having laid out a replacement plan,

Re: [racket-users] Generating preorders

2015-09-24 Thread erich
  Von: "Jerzy Karczmarczuk" An:"Racket Users" Cc: Gesendet:Thu, 24 Sep 2015 01:07:12 +0200 Betreff:Re: [racket-users] Generating preorders A general remark... Josh constructs the list of ALL combinations and all total preorders. Erich apparently tried the same, so it is OK, but the

Re: [racket-users] Scribble: Typeset equations using Latex packages amsmath and amssym

2015-09-24 Thread Alex Knauth
> On Sep 24, 2015, at 7:51 AM, Marc Kaufmann wrote: > > Ah, I actually had tried that and was about to send you the error code for > bad syntax. But then I realised that it complained about me defining $ as the > equivalent of math-inline, which of course clashes

Re: [racket-users] Scribble: Typeset equations using Latex packages amsmath and amssym

2015-09-24 Thread Norman Gray
Greetings, all. On 24 Sep 2015, at 13:12, Alex Knauth wrote: Ah, I actually had tried that and was about to send you the error code for bad syntax. But then I realised that it complained about me defining $ as the equivalent of math-inline, which of course clashes with #\$. Oh. Well, if

Re: [racket-users] Thanks for latest performance improvements

2015-09-24 Thread Matthias Felleisen
> On Sep 24, 2015, at 5:59 AM, JCG wrote: > > > I have no idea what networking implementation facts have changed between 6.1 > and this snapshot, but it's now about 20% faster than the C++ server. The > reimplemented service will remain in Racket. Wow. Did you test

Re: [racket-users] Racket Package Server Security Vulnerabilities

2015-09-24 Thread Michael Wilber
(sorry Sam, forgot to Cc list) Thank you for disclosing these vulnerabilities! Responsible disclosure helps everyone. Sam Tobin-Hochstadt writes: > * Check any packages you have uploaded to the site, to ensure that no > unexpected changes have been made to them. Is

[racket-users] My Racket Learning Feedback

2015-09-24 Thread Shuhan Zhang
My Racket Learning Feedback ## Little backgroud I 26 years old full-time software developer in China. My major programming language is C, C++, C# and python. ## Why I write this To some extent, you may see how a "average" programmer thinks about the Racket programming language. ;D ##

[racket-users] My Racket Learning Feedbacks

2015-09-24 Thread Shuhan Zhang
## Little background I 26 years old full-time software developer in China. My major programming language is C, C++, C# and python. ## Why I write this To some extent, you may see how a "average" programmer thinks about the Racket programming language. ;D ## Feedback ### Top1: Add Built-in

[racket-users] Racket for Smartphone Apps

2015-09-24 Thread mrmyers . random . suffix
I would personally caution against it, for the following reasons: 1. At least for Android, most of what you will need for this is interfacing with the respective gui libraries, which take a bit of getting used to, even just using Google's relatively helpful and complete documentation. Working

Re: [racket-users] Racket for Smartphone Apps

2015-09-24 Thread 'John Clements' via Racket Users
> On Sep 24, 2015, at 4:40 AM, Marc Kaufmann wrote: > > Hi all, > > I am about to start writing an app. Really all it will have to do (for now) > is to give the user a bunch of survey questions at several times (per day or > week or whatever). It does matter quite

[racket-users] Re: Redex: call for alpha-equivalence beta testers

2015-09-24 Thread 'William J. Bowman' via Racket Users
Paul asked me to forward this as racket-users is currently rejecting him: > On Sep 24, 2015, at 14:36, Paul Stansifer wrote: > > Sorry about that; it looks like I forgot to check the examples after > disabling 'rib'. The fix is to change all instances of 'rib' to 'shadow'.

Re: [racket-users] Racket for Smartphone Apps

2015-09-24 Thread j b
Another approach is to use something like cordova. It basically wraps an html/js app in a container that runs on the phone as an app. It's cross platform and exposes phone functionality through plugins. You could always write a racket webapi server if you needed server side processing. --

Re: [racket-users] Cover 3.0

2015-09-24 Thread 'John Clements' via Racket Users
> On Sep 22, 2015, at 1:03 PM, Spencer Florence wrote: > > Hi all, > > We're pleased to announce the release of Cover 3.0! > > Cover is an extensible multi-file code coverage tool for Racket. You can read > more about it in our > README at

Re: [racket-users] Thanks for latest performance improvements

2015-09-24 Thread John Griffin
It's pretty real world for me. The server offers coalesced data from Zacks, TradingEconomics, ETFdb, the Federal Reserve, the US Commodities Futures Trading Commission and about 10 other sources for consumption by our systems. Against that server, I'm running hundreds ETF models daily, each of

Re: [racket-users] Redex: call for alpha-equivalence beta testers

2015-09-24 Thread William J. Bowman
I get this error several times during the final `raco setup`: redex-examples/redex/examples/lazy-with-binding.rkt:30:38: define-language: expected a shadow, nothing, or nonterminal in: (rib x ...) compilation context...:

Re: [racket-users] Redex: call for alpha-equivalence beta testers

2015-09-24 Thread William J. Bowman
I just ported Cur to use this version of Redex (https://github.com/wilbowma/cur/tree/redex-with-binding), and was able to delete and simplify many lines of code and get all tests passing in minutes. Hurrah! Although, I do not have interesting binding structure. A few comments 0. Was very easy;

Re: [racket-users] Ambiguous binding error, and trying to add generic-interface inheritance

2015-09-24 Thread Alex Knauth
I've figured out where the error is coming from, but I still have no idea what's going on. racket/private/generic-methods.rkt starting on line 174: (define-syntax (generic-methods stx) (syntax-case stx () [(_ gen def ...) (let () (define info (get-info 'generic-methods