[racket-users] Assertion failures in bigfloat package

2019-04-18 Thread polarishehn
Hello everyone, I'm using Racket's MPFR bindings to build an application and encountered assertions failures like `../../src/get_str.c:153: MPFR assertion failed: size_s1 >= m`. Somehow I could not reproduce this error provided I set the random seed correctly. So I have two questions here, 1.

[racket-users] Logic Mentoring Workshop (LMW) 2019 Call for Participation

2019-04-18 Thread William J. Bowman
Please distribute this call widely; send it to your reading groups, your classes, and internal lab lists! Call for Participation LMW 2019 4th Logic Mentoring Workshop June 22, 2019, Vancouver, Canada

Re: [racket-users] db module + SQLite driver + 'ON CONFLICT' = syntax error

2019-04-18 Thread David Storrs
On Thu, Apr 18, 2019 at 5:42 PM Ryan Culpepper wrote: > Use "INSERT OR IGNORE" instead. See > https://sqlite.org/lang_conflict.html, 3rd paragraph. > Yep. Unfortunately, this was a simplified case of wanting to use OR DO UPDATE to make this actually an upsert. When I started seeing this issue

Re: [racket-users] db module + SQLite driver + 'ON CONFLICT' = syntax error

2019-04-18 Thread David Storrs
On Thu, Apr 18, 2019 at 4:48 PM Jon Zeppieri wrote: > It might well be the SQLlite version. This is a pretty new feature. It's > possible that the db library is using an older version than your CLI client. > Got it. Is there any way for me to address the situation aside from "Don't use that

Re: [racket-users] db module + SQLite driver + 'ON CONFLICT' = syntax error

2019-04-18 Thread Jon Zeppieri
It might well be the SQLlite version. This is a pretty new feature. It's possible that the db library is using an older version than your CLI client. - Jon On Thu, Apr 18, 2019 at 4:03 PM David Storrs wrote: > I'm having trouble with using the the 'ON CONFLICT' clause with a SQLite >

[racket-users] db module + SQLite driver + 'ON CONFLICT' = syntax error

2019-04-18 Thread David Storrs
I'm having trouble with using the the 'ON CONFLICT' clause with a SQLite database. Example: > (query-exec db "drop table if exists peers") > (query-exec db "create table if not exists peers (name text)") > (query-exec db "INSERT INTO peers ( name ) VALUES ($1)" "hqwt") > (query-rows db "SELECT *

Re: [racket-users] Documentation is not updating

2019-04-18 Thread David Storrs
Thanks, Matthew. We all really appreciate the work you do. On Thu, Apr 18, 2019 at 11:38 AM Matthew Flatt wrote: > The package-build service attempts to download from > mirror.racket-lang.org, but the machine serving that address died. > > We're working to get mirror.racket-lang.org restored,

[racket-users] From HtDP to Racket

2019-04-18 Thread Luis Sanjuán
The last month or so we all read some interesting posts about the convenience of examples or docs to facilitate the transition from other languages to Racket (from Python to Racket, from R to Racket, ...). Then I thought about another non-Racket languages that no one mention, if I recall well,

Re: [racket-users] Documentation is not updating

2019-04-18 Thread Matthew Flatt
The package-build service attempts to download from mirror.racket-lang.org, but the machine serving that address died. We're working to get mirror.racket-lang.org restored, but it makes sense at this point to use a different server for the package-build service. I've switched it over and started

Re: [racket-users] Racket News - Issue 6

2019-04-18 Thread Alexander Shopov
And a bit more popularity - there will be links from Linux Weekly News: Announcements -> Newsletters -> Developement to the news letter: Current edition - https://lwn.net/Articles/785683/, will be publicly available next week. Here is how it looks like: Development * Emacs News (April 15) *