On Friday, May 1, 2015 at 5:53:04 PM UTC-4, Greg Trzeciak wrote:
It's an old thread but just in case someone is looking for the answer Julia
has (now?) C API:
http://julia.readthedocs.org/en/latest/manual/embedding/
I hesitate to mention connecting Racket to Fortran some day but I wonder if
Since from his first months learning Racket, my son Alex immediately started
diving into the language-altering aspects of Racket, when you do develop a
tutorial/pedagogy for that, you might see what reaction he has.
On Thursday, March 26, 2015 at 8:18:53 AM UTC-4, Matthias Felleisen wrote:
On
Just the thing I need today for a Racket web-powered table of database info,
thanks all. --Geoff
On Thursday, June 11, 2015 at 1:55:35 PM UTC-4, Greg Hendershott wrote:
IIUC in SQL this would simply be:
SELECT student, AVG(rating)
FROM scores
GROUP BY student
Apparently a DSL for
Just a follow-up to say thank you again, the Slideshow presentation went very
well Saturday, plenty of applause from a tough audience (~100 CAP cadets ages
12-18). --Geoff
On Tuesday, November 10, 2015 at 9:44:17 PM UTC-5, Geoffrey Knauth wrote:
> Thank you Vincent, that worked, and
I tried:
(require (planet jaymccarthy/mongodb:1:12))
and got some errors about write permissions on both Windows and Mac OS X. The
console messages referenced "planet/300" so I wondered if the driver is stale.
Is this MongoDB driver incompatible with the Racket I'm using (6.3)? The docs
That did the trick, Jack, thanks. I should have realized raco was the answer,
but thank you! All's well now.
--
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
On Sunday, May 1, 2016 at 2:02:35 AM UTC-4, Neil Van Dyke wrote:
> Has anyone deployed Racket with Elastic Beanstalk (presumably using Docker)?
Not Racket (yet), but I have been deploying to EBS iterations of AWS Docker
images of Scala Play applications lately, so I'm getting to know what goes
Thanks Alex, Vincent and Robby [and Matthew]! I'll remember all your tricks.
What worked this time was the Matthew-trick Robby referenced about moving the
.app to the enclosing folder and then putting it back in the correct folder.
But it's good to know there are other ways.
Geoff
--
You
I downloaded the 20170118 nightly 64bit Mac version of DrRacket v6.8.0.2, and I
just can't open the application at all. It shuts down immediately. I've had
this with other applications on Sierra, and rebooting the Mac fixed the
problem, but this time I can't get the newest snapshot to start.
On Friday, September 23, 2016 at 12:41:46 AM UTC-4, johnbclements wrote:
> doesn’t ‘find-seconds’ do that?
>
> #lang racket
>
> (require racket/date)
>
> (define d1 (find-seconds 0 51 14 22 9 2016 #f))
It does indeed. Perfect, thank you!
--
You received this message because you are
I was using Racket's date. Then I found it was creating a local time when I
needed UTC. So I started using moments from (require gregor). Now I'm trying to
figure out how to get either a regular date from a moment, or better, how I can
get epoch seconds (from 1970-01-01T00:00:00Z) from a
Is it possible to build a sequence of moments? (require gregor)
I had a sequence of seconds (since the epoch), as in:
(in-range start-seconds end-seconds seconds-in-a-day)
If I use moments, I'm wondering what goes in place of _HMM_:
(in-range start-moment end-moment _HMM_)
--
You
I solved my immediate problem by going back to dates and using:
(seconds->date secs-n [local-time?]) → date*?
secs-n : real?
local-time? : any/c = #t
and supplying #f as local-time.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To
Now I see how silly I was in what I wrote above. In each case I specified time
14:51 and got 18:51, which means it is still interpreting my input as local
time. I want to be able to specify 1851Z and have it come out 1851Z, not
2251Z. I hope this makes sense.
--
You received this message
On Thursday, September 22, 2016 at 3:17:50 PM UTC-4, Jon Zeppieri wrote:
> Oh, sorry: I thought you wanted a sequence of moments from start and end
> *seconds*. If you're starting with moments, you could just repeatedly add a
> second (if that's the increment you want).
The increment is a day
Looks great, thank you!
--
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
After not getting what I wanted (I got epoch seconds reflecting an
interpretation of my input as Local Time), I got what I wanted (epoch seconds
interpreting my input as UTC), but now that it is working, using date* vs.
date, I'm not sure why, when I vary inputs, I see no change in the output.
Can the nightly builds be double-clicked to open, as with the pre-releases? I
just downloaded a nightly build (20161018-ddf6985, v6.7.0.1 for Mac OS X 64-bit
Intel), I'm running Sierra, and it doesn't seem to open on double-click. So
far, Sierra has been a little weird.
Geoff
--
You
On Tuesday, October 18, 2016 at 9:44:56 AM UTC-4, Matthew Flatt wrote:
> Nightly builds are not currently signed, so Sierra doesn't like them.
>
> Try this: Using Finder, drag the DrRacket icon out of its folder. Then
> drag it back in place. Then try double-clicking DrRacket. (Yes, that's
>
On Friday, October 13, 2017 at 1:06:15 PM UTC-4, Alexis King wrote:
>
> At this point, though it is indisputably evil, it seems more feasible
> to use some name mangling scheme than to expand to a submodule. That
> would be, of course, deeply unsatisfying, so I would very much like to
> have a
Thanks! In my case that turned out to be:
> (find-system-path 'pref-file)
#https://groups.google.com/d/optout.
I enjoyed your talk as well.
1. In my adopted family (cousins), I lost a sister and a brother to
cancer. The sister was a cancer researcher. The topic of your talk is
from a personal point of view very compelling, and it is compelling for
many people I know.
2. From a
Philip, thanks, that did it! I'll make a note of this in my hints file, in
case I have to do this again.
Geoff
--
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
When I use for, for/list, for/vector or for/hash, I get this indentation:
(for ([(i j) #hash(("a" . 1) ("b" . 20))])
(display (list i j)))
instead of this:
(for ([(i j) #hash(("a" . 1) ("b" . 20))])
(display (list i j)))
If I want the latter, is there a setting I can use to get the
Where is that possibly old preferences file? I looked under ${HOME} (on a
MBP) and didn't see anything obvious. Otherwise I'm running a very recent
nightly build.
Thanks,
Geoff
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe
Is it me, or is it Friday the 13th? (Or both?)
#lang racket/gui
(require table-panel)
leads to:
standard-module-name-resolver: collection not found
for module path: table-panel
collection: "table-panel"
in collection directories:
/Users/me/Library/Racket/snapshot/collects
I got it to work:
#lang scribble/manual
@(require scribble/core scribble/eval foo)
...
@(define my-eval (make-base-eval))
@interaction-eval[#:eval my-eval (require foo)]
@examples[#:eval my-eval
(magic)
]
Thank Ben Greenman for your 2017-09-24 reply to jos.koot ("repeated code
I hope this is an easy question for someone. I started a new foo package:
raco pkg new foo
I put my functions in foo/main.rkt. I saw a foo/scribblings/ dir, so I
created a file foo/scribblings/foo.scribl. I've got a nice little doc file
in there, which I can preview using:
cd
I missed this too but am very grateful for the YouTube link, after which
I'm sure I'll grok the version at RacketCon better than I would have
otherwise. Thanks!
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group
Jack, following your advice, I did need one additional change.
Previously I had:
@(define my-eval (make-base-eval))
@example-eval[#:eval my-eval (require foo)]
Using scribble/example instead of scribble/eval, this additional change
made things work:
@(define my-eval (make-base-eval
Here's a workflow that is working well for me, now that things have settled.
In a Racket window, I have my package foo's scribble source file open:
/Users/username/github/foo/scribblings/foo.scrbl
I have the Package Manager open, and I keep it open, with the checkbox
checked "Updates can
On Thursday, September 28, 2017 at 3:04:46 PM UTC-4, Ben Greenman wrote:
>
> Try adding `#:eval foo-eval` to `interaction`. (I'm guessing that would
> work.)
>
To close the loop, Ben, yes this also did work. Thanks!
--
You received this message because you are subscribed to the Google Groups
Jack, thanks, what you write makes a whole lot more sense and fits with
what I remember of scribble from the last time I scribbled, which was years
ago. I am delighted to find that scribble has many more interesting
features these days. My answers below:
On Friday, September 29, 2017 at
Thanks John! Good ideas, and no, nothing is too obvious for me! --Geoff
On Thursday, November 2, 2017 at 12:56:14 PM UTC-4, johnbclements wrote:
>
>
> One solution is to use a .gitignore. I have a convention that files ending
> with ‘private.rkt’ don’t go in the repo.
>
> Alternatively, you
Let's suppose I want to have a preferences file, e.g., "~/.dbaccess.rkt".
I used to have a module I would import via
"../some-relative-path/dbaccess.rkt", but I thought I would try
"~/.dbaccess.rkt" as a module path. It turned out a module path cannot
begin with "/", which happens with the
The following seems to work for me:
(require (file "~/.dbaccess.rkt"))
Is that normal / ok ? Just wondering what other people do.
Geoff
On Thursday, November 2, 2017 at 12:35:25 PM UTC-4, Geoffrey Knauth wrote:
>
> Let's suppose I want to have a preferences file, e.g.,
Awesome, Neil, great suggestions!
--
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
William, that's a neat idea, I'll try your package. Thanks! --Geoff
--
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.
This was a fun thread, thanks to everyone for sharing the plots, and for
pointing out pasterack.org!
--
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
On Sunday, April 1, 2018 at 12:57:46 PM UTC-4, Stephen Smith wrote:
>
> It's been a long tough road as to which implementation language to choose
> for it. I'm down to two now after much experimenting - Racket of course,
> and Smalltalk.
>
Now you have me wondering which is harder, implementing
I wondered where the term "warms the cockles of my heart" comes from:
https://en.wiktionary.org/wiki/warm_the_cockles_of_someone%27s_heart
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails
On Sunday, April 1, 2018 at 9:53:45 PM UTC-4, Neil Van Dyke wrote:
>
> A bonus of reading old Smalltalk-80 stuff is that you get exposed to a
> bit of some of the best and most optimistic visionary thinking about
> information technology, when people had grand ideas for how computers
> could
I understand the argument that strengthening our own CLI and shell-script
practice to guard against spaces in filenames is both learned and good
defense, as in, "don't go into battle without some armor protection." I do
that when I'm really worried, and if you want to see how big shell scripts
Very interesting, good to know when I'm writing my own scripts, vs. using
things others have written. Thanks.
On Saturday, March 31, 2018 at 6:58:04 AM UTC-4, HiPhish wrote:
>
> BTW, on the topic of writing robust shell scripts, I always have a linter
> run over my scripts when I save them. I
ket-lang.org/package/quickscript-extra
>
> It's not perfect but should still be helpful. In case it doesn't suit you
> needs, quickscript should allow you to easily write and test what you want.
>
> Any feedback is more than welcome of course.
>
> On Sat, Mar 31, 2018 at 11:31 AM,
Now that's a powerhouse combination of events! Last year I skipped Strange
Loop because I wanted to go to RacketCon more. (I always learn something
interesting from every RacketCon talk, and the community is the best.) Now
you've given them back my likely attendance and added ICFP. Thanks
Every time I download a new version of Racket, I put it in:
/Applications/Racket/
The first thing I do is replace the space in the name with a hyphen.
On the more comand-liney side of things, I put /usr/local/racket/latest/bin
in my PATH.
Currently I have:
$ which racket
This happens to me enough in DrRacket I thought I should ask. I'm looking
at some code. I want to scroll around or search in the file for something
to check, but later I want to come back to where I was. In Emacs I'd set a
mark and jump back to it. Was the subject of bookmarks ever
On Tuesday, May 14, 2019 at 11:23:37 AM UTC-4, Josh Rubin wrote:
>
> It just occurred to me that Haskell could be a powerful way to manipulate
> programs in other languages (like Scheme or Racket). Unfortunately, I don't
> know Haskell. Has anybody been down this path?
>
As John Clements said,
Using Racket to decode BUFR files from Deutscher Wetterdienst and produce
JSON for consumption by other processes.
ECMWF's eccodes also produces JSON but the JSON it produces is kind of
ridiculous.
Ridiculous as in starting a new array at each new element within an array,
making the JSON
50 matches
Mail list logo