[racket-users] Stack overflow developer survey

2020-03-06 Thread Stephen De Gabrielle
https://stackoverflow.blog/2020/02/05/the-2020-developer-survey-is-now-open/

Represent!

-- 
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/8c31861b-172e-4d3d-8397-e220511d46bc%40googlegroups.com.


Re: [racket-users] "invalid memory reference" issue

2020-03-06 Thread hashim muqtadir
I decided to build Racket CS from github and it works. Thanks!

On Thursday, 5 March 2020 23:42:34 UTC+5, Matthew Flatt wrote:
>
> I've pushed a repair for the development version of Racket CS. The 
> problem was related to computing a hash code of an object (i.e., an 
> instance of a class). 
>
> If you need a workaround to keep using the released version of Racket 
> CS, it may involve supplying explicit equality and hash-code functions 
> for your `Equal%` class. 
>
> Thanks for the report! 
>
> At Thu, 5 Mar 2020 04:07:48 -0800 (PST), hashim muqtadir wrote: 
> > Hello, 
> > 
> > I have some code that uses my library, "remap". It previously used to 
> work, 
> > but in Racket CS 7.6, it fails saying "invalid memory reference.  Some 
> > debugging context lost". 
> > Clicking the crosses in DrRacket gives this backtrace: 
> > 
> > invalid memory reference.  Some debugging context lost 
> > 
> > /home/hashim/racket/collects/racket/private/for.rkt: 2020:10 
> > (hash-set table key val 
> > 
> > /home/hashim/racket/collects/racket/private/for.rkt: 1503:16 
> >   (let-values ([(fold-var ...) (let () expr1 expr ...)]) 
> >   (values fold-var ...)] 
> > 
> > /home/hashim/racket/collects/racket/private/for.rkt: 1543:38 
> >   #'(let-values ([(fold-var ...) 
> > (for/foldX/derived 
> > [orig-stx inner-recur nested? #f ()] 
> >   ([fold-var 
> fold-var] 
> > ...) 
> >   next-k break-k 
> > final?-id 
> >   rest expr1 . 
> body)]) 
> > (if (and post-guard ... (not 
> > final?-id)) 
> > (for-loop fold-var ... 
> loop-arg 
> > ... ...) 
> > next-k))) 
> > 
> > My tests, that use the library functions, seem to work, but for some 
> reason 
> > when I'm building a hash from my structures. 
> > The file found 
> > 
> https://gitlab.com/hashimmm/remap/-/blob/96f1db518c4d9bb8f2da44ae403ab50332212c
>  
> > 9c/issue.rkt 
> > is present in the "issue" branch in my repo and running this file in 
> > DrRacket will reproduce the problem. 
> > 
> > From the file, removing the measurement-units table definition and its 
> > references fixes the problem (the memory error then no longer occurs). 
> > 
> > Any ideas what's up with this? I'd be happy to provide more information 
> to 
> > narrow this down, but I'm not really sure how. 
> > 
> > -- 
> > 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/afec7b07-7f96-4d7f-ac59-8eb54446
>  
> > 2709%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/839ec6d6-8c55-4a94-8090-09255d56a9c2%40googlegroups.com.