[racket-users] Ubuntu PPA updated to v7.6

2020-03-08 Thread Asumu Takikawa
On 2020-02-13 20:27:40 -0500, 'John Clements' via users-redirect wrote:
> Racket version 7.6 is now available from

The Ubuntu PPA was recently also updated to v7.6, sorry for the delayed
update this time.

Install instructions are on Launchpad as usual:

  https://launchpad.net/~plt/+archive/ubuntu/racket

Please report any packaging-specific issues on Github:

  https://github.com/takikawa/racket-ppa

Cheers,
Asumu

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200309011258.bril3lwnycg7fopx%40simplyrobot.org.


Re: [racket-users] Using DrRacket interface language with scribble

2020-03-08 Thread Chongkai Zhu
Thanks. Robby, but the output in DrRacket is coming from 
https://github.com/racket/string-constants/blob/master/string-constants-lib/string-constants/private/simplified-chinese-string-constants.rkt#L1592
 
and working ...


在 2020年3月9日星期一 UTC+8上午2:38:04,Robby Findler写道:
>
> I hate to be a party pooper here but I think the first response is 
> incorrect. None of the programming language proper is translated; just the 
> IDE. I think this one translation is probably not what was intended. 
>
> Maybe someday someone can take on a Chinese version of the teaching 
> languages, hopefully!
>
> Robby
>
> On Sun, Mar 8, 2020 at 10:47 AM Chongkai Zhu  > wrote:
>
>> In DrRacket, if I set interface language to Chinese, I can get
>>
>> > (check-satisfied 1 odd?)
>> 测试通过!
>>
>> That is, the output of check-satisfied is also in Chinese. But with 
>> scribble/eval (https://docs.racket-lang.org/scribble/eval.html), in the 
>> .html generated by scribble, I always get
>>
>> > (check-satisfied 1 odd?)
>> The only test passed!
>>
>> How could I get the same Chinese output in the html output? Thanks.
>>
>>
>> -- 
>> 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...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/racket-users/c608fcea-a770-4c57-ab2a-90da49c0508a%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/557bf94e-a27c-4b55-ba12-ef4e8edf81c6%40googlegroups.com.


Re: [racket-users] why is glCreateVertexArrays absent?

2020-03-08 Thread Hendrik Boom
On Sun, Mar 08, 2020 at 02:27:56PM -0700, Sorawee Porncharoenwase wrote:
> Have you tried this? https://github.com/dbenoit17/dynamic-ffi

It looks useful.  Thank you.

But I suspect using one of the existing XML readers and either compiling 
them into specfile format or using code from the existing specfile 
reader to produce the right Racket code will likely be more reliable.

I can test it on an older XML files that are close to the specfile in 
the Racket openGL module and looking for discrepancies.

The XML stuff is *very* similar to the existing specfile format.  Just a 
different surface syntax.

-- hendrik

> 
> On Sun, Mar 8, 2020 at 5:52 AM Hendrik Boom  wrote:
> 
> > On Sat, Mar 07, 2020 at 07:32:01AM -0800, Sorawee Porncharoenwase wrote:
> > > I know nothing about OpenGL, but the autogeneration
> > > 
> > > seems to read the information from this directory
> > > ,
> > > which was last updated 7 years ago (2013). OpenGL 4.5 was released in
> > 2014
> > > .
> > >
> > > I’d suggest you to contact the maintainer  > >
> > > of the package to update it. Note, though, that the maintainer doesn’t
> > seem
> > > to be active in GitHub for almost two years now. In case you can't
> > contact
> > > the maintainer, you might need to fork the package to update it.
> >
> > I woildn't mind forking it, even just locally, but I haave not been able
> > to find current versions of the specfiles it uses.  The README says they
> > originated at http://www.opengl.org/registry/ , but I've been unable to
> > find them there.  For all I know Khronos might no longer be using that
> > form of definition.  Everything serious there appears to be a
> > human-readable pdf now.  Or a C .h file.
> >
> > So far it looks as if I may have to reverse-engineer the specfiles from
> > the .h files.
> >
> > Or maybe I'm just not good at searching.  Google has found me some even
> > more obsolete versions.  I guess I'll keep looking.
> >
> > I suppose I could try patching in the particular function specs I need
> > until I manage to get world from the maintainer.
> >
> > -- hendrik
> >
> > >
> > > On Sat, Mar 7, 2020 at 6:57 AM Hendrik Boom 
> > wrote:
> > >
> > > > Is there any technical reason why glCreateVertexArrays is missing from
> > > > the Racket OpenGL package?
> > > >
> > > > The documentation at https://docs.racket-lang.org/opengl/index.html
> > > > says that "Being automatically-generated means that it is quite
> > complete."
> > > >
> > > > So I would have expected it to be present.
> > > >
> > > > But it is not present either in the implemetation or in the
> > > > documentation ( https://docs.racket-lang.org/opengl/glC___.html )
> > > >
> > > > I do have openGL 4.5 on my system, so it's not because the opengl
> > > > library is too old (which did happen on an older computer).
> > > >
> > > > Would bringing it up-to-date perhaps interfere with the operation of
> > > > other packages?
> > > >
> > > > -- hendrik
> > > >
> > > > --
> > > > 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.
> > > > To view this discussion on the web visit
> > > >
> > https://groups.google.com/d/msgid/racket-users/20200307145657.gq7xgysyvkz5yn7y%40topoi.pooq.com
> > > > .
> > > >
> > >
> > > --
> > > 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.
> > > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/racket-users/CADcuegsktFyB2iRV0-nV018mFOeO8Fhqe6mbp_4_ksesXX%3DZtQ%40mail.gmail.com
> > .
> >
> > --
> > 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.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/racket-users/20200308125229.gn37sgshwijpuaqq%40topoi.pooq.com
> > .
> >
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/CADcuegtcB6wuk%3DcaBZn%2BMHSAYNmT8EUrNQO3HRg3uFeKyFUekw%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from 

Re: [racket-users] why is glCreateVertexArrays absent?

2020-03-08 Thread Sorawee Porncharoenwase
Have you tried this? https://github.com/dbenoit17/dynamic-ffi

On Sun, Mar 8, 2020 at 5:52 AM Hendrik Boom  wrote:

> On Sat, Mar 07, 2020 at 07:32:01AM -0800, Sorawee Porncharoenwase wrote:
> > I know nothing about OpenGL, but the autogeneration
> > 
> > seems to read the information from this directory
> > ,
> > which was last updated 7 years ago (2013). OpenGL 4.5 was released in
> 2014
> > .
> >
> > I’d suggest you to contact the maintainer  >
> > of the package to update it. Note, though, that the maintainer doesn’t
> seem
> > to be active in GitHub for almost two years now. In case you can't
> contact
> > the maintainer, you might need to fork the package to update it.
>
> I woildn't mind forking it, even just locally, but I haave not been able
> to find current versions of the specfiles it uses.  The README says they
> originated at http://www.opengl.org/registry/ , but I've been unable to
> find them there.  For all I know Khronos might no longer be using that
> form of definition.  Everything serious there appears to be a
> human-readable pdf now.  Or a C .h file.
>
> So far it looks as if I may have to reverse-engineer the specfiles from
> the .h files.
>
> Or maybe I'm just not good at searching.  Google has found me some even
> more obsolete versions.  I guess I'll keep looking.
>
> I suppose I could try patching in the particular function specs I need
> until I manage to get world from the maintainer.
>
> -- hendrik
>
> >
> > On Sat, Mar 7, 2020 at 6:57 AM Hendrik Boom 
> wrote:
> >
> > > Is there any technical reason why glCreateVertexArrays is missing from
> > > the Racket OpenGL package?
> > >
> > > The documentation at https://docs.racket-lang.org/opengl/index.html
> > > says that "Being automatically-generated means that it is quite
> complete."
> > >
> > > So I would have expected it to be present.
> > >
> > > But it is not present either in the implemetation or in the
> > > documentation ( https://docs.racket-lang.org/opengl/glC___.html )
> > >
> > > I do have openGL 4.5 on my system, so it's not because the opengl
> > > library is too old (which did happen on an older computer).
> > >
> > > Would bringing it up-to-date perhaps interfere with the operation of
> > > other packages?
> > >
> > > -- hendrik
> > >
> > > --
> > > 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.
> > > To view this discussion on the web visit
> > >
> https://groups.google.com/d/msgid/racket-users/20200307145657.gq7xgysyvkz5yn7y%40topoi.pooq.com
> > > .
> > >
> >
> > --
> > 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.
> > To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/CADcuegsktFyB2iRV0-nV018mFOeO8Fhqe6mbp_4_ksesXX%3DZtQ%40mail.gmail.com
> .
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/20200308125229.gn37sgshwijpuaqq%40topoi.pooq.com
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CADcuegtcB6wuk%3DcaBZn%2BMHSAYNmT8EUrNQO3HRg3uFeKyFUekw%40mail.gmail.com.


Re: [racket-users] Using DrRacket interface language with scribble

2020-03-08 Thread Robby Findler
I hate to be a party pooper here but I think the first response is
incorrect. None of the programming language proper is translated; just the
IDE. I think this one translation is probably not what was intended.

Maybe someday someone can take on a Chinese version of the teaching
languages, hopefully!

Robby

On Sun, Mar 8, 2020 at 10:47 AM Chongkai Zhu 
wrote:

> In DrRacket, if I set interface language to Chinese, I can get
>
> > (check-satisfied 1 odd?)
> 测试通过!
>
> That is, the output of check-satisfied is also in Chinese. But with
> scribble/eval (https://docs.racket-lang.org/scribble/eval.html), in the
> .html generated by scribble, I always get
>
> > (check-satisfied 1 odd?)
> The only test passed!
>
> How could I get the same Chinese output in the html output? Thanks.
>
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/c608fcea-a770-4c57-ab2a-90da49c0508a%40googlegroups.com
> 
> .
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAL3TdOP2yKqcd%2B9JFdACANPyRiUtL6ztL6XqHumsP6BTQa%3Dd_w%40mail.gmail.com.


[racket-users] Using DrRacket interface language with scribble

2020-03-08 Thread Chongkai Zhu
In DrRacket, if I set interface language to Chinese, I can get

> (check-satisfied 1 odd?)
测试通过!

That is, the output of check-satisfied is also in Chinese. But with 
scribble/eval (https://docs.racket-lang.org/scribble/eval.html), in the 
.html generated by scribble, I always get

> (check-satisfied 1 odd?)
The only test passed!

How could I get the same Chinese output in the html output? Thanks.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/c608fcea-a770-4c57-ab2a-90da49c0508a%40googlegroups.com.


[racket-users] ANSWER, not solution: why opengl module not up-to-date

2020-03-08 Thread Hendrik Boom
On Sat, Mar 07, 2020 at 07:32:01AM -0800, Sorawee Porncharoenwase wrote:
> I know nothing about OpenGL, but the autogeneration
> 
> seems to read the information from this directory
> ,
> which was last updated 7 years ago (2013). OpenGL 4.5 was released in 2014
> .
> 
> I’d suggest you to contact the maintainer 
> of the package to update it. Note, though, that the maintainer doesn’t seem
> to be active in GitHub for almost two years now. In case you can't contact
> the maintainer, you might need to fork the package to update it.

It turns out there *is* a technical reason why the machine-generated 
opengl binding is not up-to-date.

As stated in 
https://community.khronos.org/t/new-xml-based-api-registry-released/70176
the specfiles are no longer being produced.  Instead, they are providing 
the same information coded as XML.

(I've also seen a few very old comments indicating that the old 
specfiles has serious bogs in them; indeed, setphanh42 had to patch 
those official specfiles before they were usable.)

It looks as if these XML files are used to produce the official C 
header files, so there is a chance they're correct.  And there appears 
to be a python script to produce those headers, so there's hope.

So the entire program converting specfiles to Racket code will have to 
be rewritten.

Or perhaps I just need a compatibility shim to translate the xml into 
specfile format... xml is at least a fairly well-supported notation.

Or maybe their python code can be repurposed.
Will look into it.

-- hendrik
> 
> On Sat, Mar 7, 2020 at 6:57 AM Hendrik Boom  wrote:
> 
> > Is there any technical reason why glCreateVertexArrays is missing from
> > the Racket OpenGL package?
> >
> > The documentation at https://docs.racket-lang.org/opengl/index.html
> > says that "Being automatically-generated means that it is quite complete."
> >
> > So I would have expected it to be present.
> >
> > But it is not present either in the implemetation or in the
> > documentation ( https://docs.racket-lang.org/opengl/glC___.html )
> >
> > I do have openGL 4.5 on my system, so it's not because the opengl
> > library is too old (which did happen on an older computer).
> >
> > Would bringing it up-to-date perhaps interfere with the operation of
> > other packages?
> >
> > -- hendrik
> >
> > --
> > 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.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/racket-users/20200307145657.gq7xgysyvkz5yn7y%40topoi.pooq.com
> > .
> >
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/CADcuegsktFyB2iRV0-nV018mFOeO8Fhqe6mbp_4_ksesXX%3DZtQ%40mail.gmail.com.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200308135200.otesyvatbtpwvqdk%40topoi.pooq.com.


Re: [racket-users] why is glCreateVertexArrays absent?

2020-03-08 Thread Hendrik Boom
On Sat, Mar 07, 2020 at 07:32:01AM -0800, Sorawee Porncharoenwase wrote:
> I know nothing about OpenGL, but the autogeneration
> 
> seems to read the information from this directory
> ,
> which was last updated 7 years ago (2013). OpenGL 4.5 was released in 2014
> .
> 
> I’d suggest you to contact the maintainer 
> of the package to update it. Note, though, that the maintainer doesn’t seem
> to be active in GitHub for almost two years now. In case you can't contact
> the maintainer, you might need to fork the package to update it.

I woildn't mind forking it, even just locally, but I haave not been able 
to find current versions of the specfiles it uses.  The README says they 
originated at http://www.opengl.org/registry/ , but I've been unable to 
find them there.  For all I know Khronos might no longer be using that 
form of definition.  Everything serious there appears to be a 
human-readable pdf now.  Or a C .h file.

So far it looks as if I may have to reverse-engineer the specfiles from 
the .h files.

Or maybe I'm just not good at searching.  Google has found me some even 
more obsolete versions.  I guess I'll keep looking.

I suppose I could try patching in the particular function specs I need 
until I manage to get world from the maintainer.

-- hendrik

> 
> On Sat, Mar 7, 2020 at 6:57 AM Hendrik Boom  wrote:
> 
> > Is there any technical reason why glCreateVertexArrays is missing from
> > the Racket OpenGL package?
> >
> > The documentation at https://docs.racket-lang.org/opengl/index.html
> > says that "Being automatically-generated means that it is quite complete."
> >
> > So I would have expected it to be present.
> >
> > But it is not present either in the implemetation or in the
> > documentation ( https://docs.racket-lang.org/opengl/glC___.html )
> >
> > I do have openGL 4.5 on my system, so it's not because the opengl
> > library is too old (which did happen on an older computer).
> >
> > Would bringing it up-to-date perhaps interfere with the operation of
> > other packages?
> >
> > -- hendrik
> >
> > --
> > 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.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/racket-users/20200307145657.gq7xgysyvkz5yn7y%40topoi.pooq.com
> > .
> >
> 
> -- 
> 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.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/CADcuegsktFyB2iRV0-nV018mFOeO8Fhqe6mbp_4_ksesXX%3DZtQ%40mail.gmail.com.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200308125229.gn37sgshwijpuaqq%40topoi.pooq.com.