RE: [racket-users] Re: Surprising but convenient

2021-12-20 Thread Jacob Jozef
Thanks George,I got it now and after some experimenting have seen what you describe.Jos PS,I do close the port after killing the thread and deleting the file. I came across this because I have an object that is written on about two pages with sharing enabled, but takes more than GBs to write without sharing enabled. I included my thread as an example. It is in file The-Little-LISPer.rkt on joskoot/The-Little-LISPer (github.com). The object is the result of having a meta-recursive interpreter interpret its own source code. Following the style of the book by Danial P. Friedman and Mathias Felleisen, non primitive functions are represented by symbolic expressions. In the same GitHub is file interpreter.rkt which represents functions by procedures. The latter writes “#” when interpreting its own source code. (When you want to run my code, you may have to install my package test, which also is in my GitHub repositories (documentation included)). Jos  From: George NeunerSent: lunes, 20 de diciembre de 2021 5:37To: racket-users@googlegroups.comSubject: [racket-users] Re: Surprising but convenient On Sun, 19 Dec 2021 17:50:11 +0100, Jacob Jozef wrote: >I start a thread printing a file. When the file will be very long (say>50 GB) the thread takes too much time and I kill it when it takes>more time than I want to permit. Outside the thread I clean up.>Closing the output-port before deleting the file takes much time. But>to my surprise I can delete the file before closing the port, which>hardly takes time. It will take less time to stop the thread if you work line by line, orin small(ish) groups of lines, and flush the output port each time yougo back for more input. As for deleting the file, all you have done is remove the directoryentry ... the file itself won't go away until the last open handle onit is closed.  That particular behavior /is the same/ in Windows andUnix/Linux.  >After deleting the file, the port remains open, but writing to it does>nothing. Correct? No. Your program still has an open handle to the file and it is stillreading from it.  Only the file's directory entry is gone. You need to close the open file handle in your program in order totruly delete the file.  Depending on your code, simply killing thethread may not do that.  >Thanks, Jos Hope this helps,George -- 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/2h10sgt81h7nim2ps3dfak2te00m3724hv%404ax.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/9F26A2E2-6547-4611-9961-0C696E5ACDC7%40hxcore.ol.


RE: [racket-users] Surprising but convenient

2021-12-19 Thread Jacob Jozef
Thanks to Bruce and Sage. I work with DrRacket 8.3 CS under windows 10. Indeed, I can see that during closing the port before deleting the file, there is activity on the output device for some time. Probably because of flushing buffers. I have experimented a bit with output of 1 GB to a 16 GB USB stick. I have no idea where buffers with capacity of 1 GB or more may reside. I can see that after deletion and closing, the 1GB is freed.  Jos From: Bruce O'NeelSent: domingo, 19 de diciembre de 2021 18:19To: Sage GerardCc: racket-users@googlegroups.comSubject: Re: [racket-users] Surprising but convenient HI, It is a touch unclear what you mean by deleting the file and on which OS you are using. On Linux and similar OSes  the rm command just calls the unlink system call.  This removes the file from the directory and if the link count is now 0 then the file is removed from disk.  But this last part happens only if the file is not open.  If it open you get a situation where it is still on disk but not visible in any directory. As long as the process does not close the file then all is good.  You can write and read to the file with no problems.  But when the file is closed then the file will disappear from disk. More than once in my life there has been the "where did all the disk space go?" conversation that has resulted in a multi megabyte, multi gigabyte or now multi terabyte file being found and deleted.  Without figuring out that it was open and therefore won't go away until some process is killed as well. Now none of the above could apply to Racket.  One would need to know the gory details of how file writing is implemented.   But this would explain what you see. cheers bruce  On 2021-12-19T18:08:13.000+01:00, Sage Gerard  wrote:If I understand this correctly, there's a difference between deleting a reference to 50 GB (like an inode), and actually writing 50 GB.When you write to an output port, you are writing to a buffer in memory. This prevents the slow downs you've witnessed, because storage mediums are comparably slow. "Flushing" with (flush-output) or plumbers on port closure actually sends bytes outside of the process.I wouldn't try using the same port after deleting a file. If Racket and the operating system initially agreed on a file descriptor that is now invalid, then you'll need to address that by opening a new port.Note that I don't Racket's implementation details here. I'm recalling what I've seen happen across languages.On 12/19/21 11:50 AM, Jacob Jozef wrote:Hi I start a thread printing a file. When the file will be very long (say 50 GB) the thread takes too much time and I kill it when it takes more time than I want to permit. Outside the thread I clean up. Closing the output-port before deleting the file takes much time. But to my surprise I can delete the file before closing the port, which hardly takes time.Nice.Is this intended behaviour?After deleting the file, the port remains open, but writing to it does nothing. Correct? Thanks, Jos-- 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/EEC04679-E526-4215-B4DE-502B5B10567A%40hxcore.ol.-- 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/076c95f8-1d49-4294-9df8-73b1b39b1f01%40sagegerard.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/59d8fba7f9183f7acfabd8f7689d032b%40mail.infomaniak.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/87C71C0A-6FBA-4701-97AA-18782A253BE2%40hxcore.ol.


[racket-users] Surprising but convenient

2021-12-19 Thread Jacob Jozef
Hi I start a thread printing a file. When the file will be very long (say 50 GB) the thread takes too much time and I kill it when it takes more time than I want to permit. Outside the thread I clean up. Closing the output-port before deleting the file takes much time. But to my surprise I can delete the file before closing the port, which hardly takes time.Nice.Is this intended behaviour?After deleting the file, the port remains open, but writing to it does nothing. Correct? Thanks, Jos



-- 
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/EEC04679-E526-4215-B4DE-502B5B10567A%40hxcore.ol.


RE: [racket-users] Looking for system admin help for the package system

2021-12-07 Thread Jacob Jozef
HiI have no experience with system admin, web servers, the Racket web server,AWS, Docker, but may be there are simple things I can do, for example adjust documentation.Jos   From: Sam Tobin-HochstadtSent: martes, 7 de diciembre de 2021 21:31To: Racket UsersSubject: [racket-users] Looking for system admin help for the package system Currently, the implementation of https://pkgs.racket-lang.org as wellas https://pkg-build.racket-lang.org (see Notes) is primarilymaintained by Matthew Flatt, although much of it was originallywritten by Jay McCarthy and Tony Garnock-Jones (for pkgs inparticular). Matthew of course wears a lot of hats and maintains lotsof things, and he's tired of this job. As a result, I'm going to take over the sysadmin role, but I'm lookingfor additional people who can help out as well -- this is a key partof Racket infrastructure and one person is probably not enough. Anyonewith experience with system admin, web servers, the Racket web server,AWS, Docker, etc would be great, or but expertise is _not_ required,just a willingness to help out. Of course, there are many ways to improve the system as well, andhelping to maintain it is a great way to get started on that. If you're willing to volunteer some time to help with this, let meknow, either here or by messaging me (@samth) on Discord or Slack. Sam ### Notes: The implementation of pkgs.racket-lang.org is a front-end here:https://github.com/racket/racket-pkg-website and a backend here:https://github.com/racket/pkg-index/. They both run on the same EC2instance, and store almost all of the state (including the index ofpackages) in S3. The implementation of pkg-build.racket-lang.org is a separatecontinously-running EC2 instance running the `pkg-build` package,implemented here: https://github.com/racket/pkg-build -- 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/CAK%3DHD%2Ba5zFaHMGijuhCZ_jb7g1aEmukMwyXfxHYiErEWU%2B5aFQ%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/D5B5F133-B46C-4A5B-9FA5-B3DE18D78A5D%40hxcore.ol.


RE: [racket-users] question: make-parameter and prop:custom-write

2021-12-03 Thread Jacob Jozef
Thanks for your prompt answer.No problems on 8.3 BC.If I am well informed CS is the recommended version???No problems either with 7.9.Problem starts at 8.0.Thanks for your offer to look at the full program,but if possible I want to spare you the trouble.If you desire so, I can put the code and tests on GitHub. Thanks again, Jos   From: Sam Tobin-HochstadtSent: viernes, 3 de diciembre de 2021 20:15To: Jacob JozefCc: Racket UsersSubject: Re: [racket-users] question: make-parameter and prop:custom-write Lots of things have happened since 7.2 that might be relevant, rangingfrom the switch to Chez Scheme as a back end to minor details ofparameters. Have you tried with the BC version of 8.3? Alternatively,have you tried with any versions in between? I'd be happy to look at the full code, even without reducing it, ifyou're willing to share it. Sam On Fri, Dec 3, 2021 at 1:40 PM Jacob Jozef  wrote:> > > > Hi> > > > I have a program that runs well with version 7.2, but does not run starting from version 8.0.> > I can make the program running on 8.3 by eliminating small parts of the code.> > > > Details:> > > > I have a meta-recursive interpreter that uses structs with prop:custom-write.> > It has a trace option showing subexpressions being evaluated and their values.> > When the interpreter interprets its own source code with tracing enabled,> > the printer given to prop:custom-write must be disabled, of course,> > for otherwise an infinite loop occurs (the body of the printer being traced too,> > causing the tracer to trace itself)> > Therefore I use a parameter that disables tracing within a prop:custom-write printer.> > This works fine in 7.2.> > However, in 8.3 it does not work. DrRacket closes entirely within a second.> > When I change tracing such as to not print values, 8.3 works fine.> > > > Have things been changed with parameters that may cause my problem?> > I have seen a name argument has been added to make-parameter,> > but that can’t be the problem I think.> > > > If you need more info, I can try to prepare a minimal code that produces the problem,> > but this requires some work and probably is not easy.> > May be, the brief info in this email is enough for someone to direct me to an answer.> > > > Thanks, Jos> > > > > > --> 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/9115D0EA-764E-453D-A09F-B981D002DD5B%40hxcore.ol. 



-- 
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/555A138B-4424-4111-9116-990BA28B1114%40hxcore.ol.


[racket-users] question: make-parameter and prop:custom-write

2021-12-03 Thread Jacob Jozef
 Hi I have a program that runs well with version 7.2, but does not run starting from version 8.0.I can make the program running on 8.3 by eliminating small parts of the code. Details: I have a meta-recursive interpreter that uses structs with prop:custom-write.It has a trace option showing subexpressions being evaluated and their values.When the interpreter interprets its own source code with tracing enabled,the printer given to prop:custom-write must be disabled, of course,for otherwise an infinite loop occurs (the body of the printer being traced too,causing the tracer to trace itself)Therefore I use a parameter that disables tracing within a prop:custom-write printer.This works fine in 7.2.However, in 8.3 it does not work. DrRacket closes entirely within a second.When I change tracing such as to not print values, 8.3 works fine. Have things been changed with parameters that may cause my problem?I have seen a name argument has been added to make-parameter,but that can’t be the problem I think. If you need more info, I can try to prepare a minimal code that produces the problem,but this requires some work and probably is not easy.May be, the brief info in this email is enough for someone to direct me to an answer. Thanks, Jos  



-- 
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/9115D0EA-764E-453D-A09F-B981D002DD5B%40hxcore.ol.


RE: [racket-users] future question

2021-11-12 Thread Jacob Jozef
Hi DominicThanks very much for your prompt reply.Your response works very well.I didn’t know there is a distinction between semaphores and fsemaphores.You have helped me a lot.Thanks again, Jos   From: Dominik PantůčekSent: viernes, 12 de noviembre de 2021 18:59To: racket-users@googlegroups.comSubject: Re: [racket-users] future question Hi, you are looking for make-fsempahore[1] and related: ===#lang racket (define sema (make-fsemaphore 1)) (define (make-th i) (λ ()   (let loop ((a 0))(when (zero? (modulo a #e1e6)) (fsemaphore-wait sema) "do what you have to do without disturbing other futures" (fsemaphore-post sema))    (loop (add1 a)(for ((i (in-range (processor-count (future (make-th i)))(sleep 10)(exit)=== The above updated source spins all your cores just fine.  Cheers,Dominik[1] https://docs.racket-lang.org/reference/futures.html#%28part._.Future_.Semaphores%29  On 12. 11. 21 18:44, Jacob Jozef wrote:> #lang racket> > (define sema (make-semaphore 1))> > (define (make-th i)> > (λ ()> >    (let loop ((a 0))> > #;(when (zero? (modulo a #e1e6))> >      (semaphore-wait sema)> >      "do what you have to do without disturbing other futures"> >      (semaphore-post sema))> >     (loop (add1 a)> > (for ((i (in-range (processor-count (future (make-th i)))> > (sleep 10)> > (exit)>  -- 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/cc8c5754-9354-6367-7c62-b8c12cb60cd4%40trustica.cz. 



-- 
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/3150F731-CB07-4078-9044-755ACDFE13DC%40hxcore.ol.


[racket-users] future question

2021-11-12 Thread Jacob Jozef
Hi The following runs 100% of my CPU, but when I uncomment the when-clause nothing happens (0% CPU)(processor-count) yields 8 on my PC. #lang racket (define sema (make-semaphore 1)) (define (make-th i) (λ ()  (let loop ((a 0)) #;(when (zero? (modulo a #e1e6))    (semaphore-wait sema)    "do what you have to do without disturbing other futures"    (semaphore-post sema))   (loop (add1 a) (for ((i (in-range (processor-count (future (make-th i))) (sleep 10)(exit) Can’t I use semaphores in futures? Help please.I have used semaphores earlier without trouble.Jos (Jacob J. A. Koot) PS My version:Welcome to DrRacket, version 8.2 [cs].Language: racket [custom]; memory limit: 6000 MB. 



-- 
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/2E9C7601-1AC5-42A3-BA23-0B759791CD1B%40hxcore.ol.


RE: [racket-users] How to define a function that can be used both in syntax transformers and ordinary code?

2021-05-09 Thread Jacob Jozef
Another solution: #lang racket (define-syntax (def-both-phases stx) (syntax-case stx ()  ((_ rest ...) #'(begin (define rest ...)     (define-for-syntax rest ...) (def-both-phases (my-function x) (+ x 1)) (define-syntax my-macro  (lambda (stx)    (datum->syntax stx (my-function (cadr (syntax->datum stx)) (my-macro 5)(my-function 7) Jos From: Yushuo XiaoSent: domingo, 9 de mayo de 2021 10:00To: Racket UsersSubject: [racket-users] How to define a function that can be used both in syntax transformers and ordinary code? I am using syntax transformers to define macros in Racket. I want to create some helper functions to help me manipulate the syntax. However, the functions I defined outside the syntax transformer are not available inside the syntax transformer. For example, in the following code (define (my-function x) (+ x 1)) (define-syntax my-macro  (lambda (stx)    (datum->syntax stx (my-function (cadr (syntax->datum stx)) I got the error "my-function: reference to an unbound identifier at phase: 1; the transformer environment". After some searching, I am able to write the following code so that `my-function` is available inside the syntax transformer. (begin-for-syntax  (define (my-function x) (+ x 1)))(provide (for-syntax my-function)) (define-syntax my-macro  (lambda (stx)    (datum->syntax stx (my-function (cadr (syntax->datum stx)) But the problem is, `my-function` is not available outside the syntax transformer this time. Sometimes I want to check those helper functions in ordinary code, so I need to be able to call it from both inside and outside the syntax transformer, just like the function `cadr`. How can I achieve that? I know my question has something to do with Racket's syntax model, in particular the concept of "phase level", but I never really understand it. If you could provide some easy-to-follow tutorials explaining it I would even be more grateful. (Also, I have asked the same question on StackOverflow before I am aware of this Google group. Is this place more suitable for asking Racket questions like this than StackOverflow? Should I delete the question on StackOverflow?)-- 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/244a3fc8-e24f-4121-a09f-3bd6d2c6b140n%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/ADFCA8F8-72A0-4F1F-89B1-CE28BBEF4017%40hxcore.ol.


RE: [racket-users] How to define a function that can be used both in syntax transformers and ordinary code?

2021-05-09 Thread Jacob Jozef
You can put your function in a module and require it both normally and for syntax.#lang racket (module my-function racket (provide my-function) (define (my-function x) (+ x 1))) (require 'my-function (for-syntax 'my-function)) (define-syntax my-macro  (lambda (stx)    (datum->syntax stx (my-function (cadr (syntax->datum stx)) (my-macro 5)(my-function 7) See also cross phase persistent if you want one instantiation only.Jos   From: Yushuo XiaoSent: domingo, 9 de mayo de 2021 10:00To: Racket UsersSubject: [racket-users] How to define a function that can be used both in syntax transformers and ordinary code? I am using syntax transformers to define macros in Racket. I want to create some helper functions to help me manipulate the syntax. However, the functions I defined outside the syntax transformer are not available inside the syntax transformer. For example, in the following code (define (my-function x) (+ x 1)) (define-syntax my-macro  (lambda (stx)    (datum->syntax stx (my-function (cadr (syntax->datum stx)) I got the error "my-function: reference to an unbound identifier at phase: 1; the transformer environment". After some searching, I am able to write the following code so that `my-function` is available inside the syntax transformer. (begin-for-syntax  (define (my-function x) (+ x 1)))(provide (for-syntax my-function)) (define-syntax my-macro  (lambda (stx)    (datum->syntax stx (my-function (cadr (syntax->datum stx)) But the problem is, `my-function` is not available outside the syntax transformer this time. Sometimes I want to check those helper functions in ordinary code, so I need to be able to call it from both inside and outside the syntax transformer, just like the function `cadr`. How can I achieve that? I know my question has something to do with Racket's syntax model, in particular the concept of "phase level", but I never really understand it. If you could provide some easy-to-follow tutorials explaining it I would even be more grateful. (Also, I have asked the same question on StackOverflow before I am aware of this Google group. Is this place more suitable for asking Racket questions like this than StackOverflow? Should I delete the question on StackOverflow?)-- 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/244a3fc8-e24f-4121-a09f-3bd6d2c6b140n%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/874CCB4A-0952-4E7A-9DA5-279C4578B1DE%40hxcore.ol.


[racket-users] stream leaking memory #2870

2021-04-27 Thread Jacob Jozef
Because the issue is closed I express my thanks to Matthew here.I am not sure it is allowed to add thanks to a closed issue.Jos  



-- 
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/BAB7B133-A299-468C-823C-09262D62A49E%40hxcore.ol.


RE: [racket-users] defmodule question

2021-04-25 Thread Jacob Jozef
Thanks for your prompt answer.When I locally make my documentation, I am not installing a package.I simply open my scribble/manual module in DrRacket and press Scribble HTML.When I install my package from GITHUB, I use the package manager in the file menu of DrRacket.Thanks again, Jos.   From: Sorawee PorncharoenwaseSent: domingo, 25 de abril de 2021 16:09To: Jacob JozefCc: Racket UsersSubject: Re: [racket-users] defmodule question It looks like you are implying that @(defmodule circuit-simulation/circuits #:packages ()) doesn’t work locally on your computer, but it should (provided that you raco pkg install it properly). On Sun, Apr 25, 2021 at 9:05 PM Jacob Jozef <jos.k...@gmail.com> wrote:Hi I have a #lang scribble/manual module in a file called ‘circuit-manual.scrbl ‘.It contains: @;@(defmodule circuit-simulation/circuits #:packages ())@(defmodule "circuits.rkt" #:packages ()) When I open it in DrRacket and press the scribble HTML button,A neat HTML document is generated. When I put my stuff on GITHUB in a repository called ‘circuit-simulation’,I must uncomment the first line and comment out the second lineor else the package manager cannot correctly install my package.In the document all links to the documented items are lost. The info module is:#lang info(define scribblings '(("circuit-manual.scrbl" ( Can I avoid the necessity to comment and uncomment the defmodule form?Do I something wrong? May be I need to put more info in the info module? Thanks, Jos -- 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/E175DF73-9A99-4C48-A9AA-432C52DB25F0%40hxcore.ol. 



-- 
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/B972D931-9220-4858-9135-E2FE71701A9A%40hxcore.ol.


[racket-users] defmodule question

2021-04-25 Thread Jacob Jozef
Hi I have a #lang scribble/manual module in a file called ‘circuit-manual.scrbl ‘.It contains: @;@(defmodule circuit-simulation/circuits #:packages ())@(defmodule "circuits.rkt" #:packages ()) When I open it in DrRacket and press the scribble HTML button,A neat HTML document is generated. When I put my stuff on GITHUB in a repository called ‘circuit-simulation’,I must uncomment the first line and comment out the second lineor else the package manager cannot correctly install my package.In the document all links to the documented items are lost. The info module is:#lang info(define scribblings '(("circuit-manual.scrbl" ( Can I avoid the necessity to comment and uncomment the defmodule form?Do I something wrong? May be I need to put more info in the info module? Thanks, Jos 



-- 
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/E175DF73-9A99-4C48-A9AA-432C52DB25F0%40hxcore.ol.


[racket-users] mircrosoft edge shows blank page for https://racket-lang.org/

2020-10-08 Thread Jacob Jozef
Windows 10.Never seen this problem before.Mircrosoft edge shows blank page for https://racket-lang.org/Internet explorer and Google chroome do not have this problem.I use Microsoft edge as default browser and would like to keep it that way.Any suggestions?Thanks, Jos 



-- 
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/1459C5C6-90C4-4701-9BE2-EEB8598E7537%40hxcore.ol.


RE: [racket-users] #:kind (list ... ) in defthing and defproc

2020-10-07 Thread Jacob Jozef
Thanks Matthew, that’s great.Jos From: Matthew FlattSent: miércoles, 7 de octubre de 2020 15:40To: Jos KootCc: Racket UsersSubject: Re: [racket-users] #:kind (list ... ) in defthing and defproc A recent commit added a contract on `defthing` and `defproc` to enforcethe documented constraint that `#:kind` should be a string. But theimplementation is happy with content in the sense of `content?`. Since it's easy to adjust the contract and documentation to restorethis capability, I'll do that, and then this example works again. Matthew  



-- 
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/EE56067B-3201-410E-B1F7-66C8C0DCC059%40hxcore.ol.


RE: [racket-users] strange error message with debugging enabled

2020-09-26 Thread Jacob Jozef
Thanks Robby.Yes, it has been fixed. No problems in v7.8.0.10.Jos From: Robby FindlerSent: viernes, 25 de septiembre de 2020 19:03To: Jos KootCc: Racket UsersSubject: Re: [racket-users] strange error message with debugging enabled Thanks, Jos. I think that this has been fixed (recently, since 7.8 was released). You might try a snapshot build and see if things are better for you there: https://snapshot.racket-lang.org/ Robby 



-- 
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/3F6FFD4E-53E9-41F4-9A1D-447025793021%40hxcore.ol.