Hi all.
I'm using racket to connect to mysql using the db library. I'd like to
do something like:
--8<---cut here---start->8---
`sqlalchemy.create_engine(SQL_URI+'?charset=latin1_unicode=0')`
--8<---cut here---end--->8---
Great, I'm glad it was useful!
Ryan
On Sat, Jul 11, 2020 at 12:27 PM Peter W A Wood
wrote:
> Dear Ryan
>
> Thank you for both your full, complete and understandable explanation and
> a working solution which is more than sufficient for my needs.
>
> I created a very simple function based on
Dear Ryan
Thank you for both your full, complete and understandable explanation and a
working solution which is more than sufficient for my needs.
I created a very simple function based on the reg=exp that you suggested and
tested it against a number of cases:
#lang racket
(require
I'm running headless Racket from a Docker container for auto-grading
assignments in Gradescope.
The students are writing BSL programs with 2htdp/image. This does not cause
any problems for most of them.
Two students, however, get an error in file loading with the error message
in the subject
The usual solution to this problem is to use xvfb to create a virtual
display, which works great in this situation when the display is not really
needed anyway. This is how we run the handin server headless and how all
the racket CI works.
Sam
On Sat, Jul 11, 2020, 12:26 PM Shriram Krishnamurthi
At Sat, 11 Jul 2020 09:26:47 -0700 (PDT), Shriram Krishnamurthi wrote:
> I'm running headless Racket from a Docker container for auto-grading
> assignments in Gradescope.
>
> The students are writing BSL programs with 2htdp/image. This does not cause
> any problems for most of them.
>
> Two
At Sat, 11 Jul 2020 10:36:33 -0600, Matthew Flatt wrote:
> Following up on Sam's suggestion, I recommend `xfvb-run` as something
> like
>
> xfvb-run racket -l handin-server
Should be `xvfb-run`. I always have trouble getting those letters in
the right order.
--
You received this message
My reading of the documentation for `nested-flow`
https://docs.racket-lang.org/scribble/core.html#%28def._%28%28lib._scribble%2Fcore..rkt%29._make-nested-flow%29%29
is that I can use 'inset as the first argument. However, when I try to do
so, I get a contract error:
make-nested-flow: contract
At Sat, 11 Jul 2020 10:41:27 -0700 (PDT), Shriram Krishnamurthi wrote:
> My reading of the documentation for `nested-flow`
>
> https://docs.racket-lang.org/scribble/core.html#%28def._%28%28lib._scribble%2Fc
> ore..rkt%29._make-nested-flow%29%29
>
> is that I can use 'inset as the first argument.
The db library expects to talk to the MySQL server using utf8. If you
manage to change the connection encoding (eg with SET NAMES), it is likely
to confuse the db library and either corrupt data or make the connection
fail with an error.
Can you explain what you want to accomplish?
Ryan
On Sat,
At Sat, 11 Jul 2020 11:47:22 -0600, Matthew Flatt wrote:
> To construct a style that has 'nested as a property, use `(style #f
> '(nested))` with `style` from `scribble/core`.
Wrong again: That should have been be 'inset as a name, not 'nested as
a property, so `(style 'inset ())`.
--
You
Has anyone run into an out of memory exit when calling racket_boot on mac
os x?
Mine was working fine until i turned system integrity protection back on,
now i can't seem to get it to work.
Anyway, just wanted to check here before i dig further. Please lmk if you
have run into this...
Nate
--
12 matches
Mail list logo