[racket-users] What is the best way to internationalize a multi-files racket software ?

2015-07-08 Thread mazert
Hello, I'm looking for a way to internationalize a software developped in Racket, and after took a look on the doc, i read this : http://docs.racket-lang.org/string-constants/index.html?q= But it seems to be specific to Drracket, so I thinked about a new way : Each files has a (require

Re: [racket-users] plot: change pen cap?

2015-07-08 Thread Benjamin Greenman
Yes, I guess it is a clipping issue. Along the same lines, I had wanted to make a few plots with the same plot area, but these plots had different width y-axis labels so plot-width and plot-height did not help (neither did padding the smaller labels with \u00A0). Can I open some github issues for

[racket-users] Re: could i get some feedback and help on a graphical editor project?

2015-07-08 Thread copycat
What i meant to say was implementing a -interactive- canvas showing a giant high resolution image. -- 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

Re: [racket-users] plot: change pen cap?

2015-07-08 Thread Neil Toronto
No problem. For the plot area issue, please set me as responsible. I'm mulling over the design of functions that return the pieces of a plot as picts so you can superimpose and append them any way you like. Neil ⊥ On 07/08/2015 09:22 AM, Benjamin Greenman wrote: Yes, I guess it is a clipping

[racket-users] could i get some feedback and help on a graphical editor project?

2015-07-08 Thread copycat
Hello all, feedback is most appreciated. I had a lot of fun writing this small program (see bottom for details and repository link), and i want to improve my skills so i can write idiomatic Scheme/Racket code one day. Particularly helpful would be suggestions as to where i can use macros to

Re: [racket-users] could i get some feedback and help on a graphical editor project?

2015-07-08 Thread Stephen Chang
The Style Guide is a good place to start for learning Racket conventions: http://docs.racket-lang.org/style/index.html Overall, things look good! Your code already uses many Racket idioms. Some things that caught my attention on first glance: - The code is wider than typical. Though tastes

[racket-users] Diagnosing a segfault in production

2015-07-08 Thread Scott Bell
Hi all, We're experiencing a crash on our web app on a daily basis with the following message: Seg fault (internal error) at 0x81a728000 gdb -c racket.core doesn't offer much insight: Core was generated by `racket'. Program terminated with signal 6, Aborted. #0

Re: [racket-users] Diagnosing a segfault in production

2015-07-08 Thread Neil Van Dyke
Scott Bell wrote on 07/08/2015 09:23 PM: [...] ... #6 0x00080153e004 in strlen () from /lib/libc.so.7 #7 0x000800a72bf3 in scheme_make_byte_string_without_copying () from /usr/local/lib/libracket3m-6.1.1.so #8 0x000800ade3f2 in c_to_scheme () from

Re: [racket-users] Diagnosing a segfault in production

2015-07-08 Thread Neil Van Dyke
Does adding the executable pathname to the `gdb` command line (i.e., format `gdb EXECUTABLE-FILE CORE-FILE`) give you the symbols? If that doesn't give you symbols, you can check the symbol info of your Racket debug build by running (without the core file) briefly under `gdb`. If I had to

[racket-users] Re: Diagnosing a segfault in production

2015-07-08 Thread Juan Francisco Cantero Hurtado
On 07/09/2015 12:22 AM, Scott Bell wrote: Hi all, We're experiencing a crash on our web app on a daily basis with the following message: Seg fault (internal error) at 0x81a728000 gdb -c racket.core doesn't offer much insight: Core was generated by `racket'. Program terminated

Re: [racket-users] Rebuild html documentation

2015-07-08 Thread Gustavo Massaccesi
Thanks. I think that the problem was a weird configuration of the package system. I'm not sure about the steps to reproduce it, but I reinstalled everything and it's *apparently* fixed. The problem was that I was editing a .scrbl file of the racket-doc package. Idea of the main steps, (I'm no

Re: [racket-users] Diagnosing a segfault in production

2015-07-08 Thread Scott Bell
On Wednesday, July 8, 2015 at 3:48:22 PM UTC-7, neil wrote: Does adding the executable pathname to the `gdb` command line (i.e., format `gdb EXECUTABLE-FILE CORE-FILE`) give you the symbols? Ah, of course. Yes, now we're getting somewhere: #0 0x00080146b6ca in thr_kill () from

Re: [racket-users] Diagnosing a segfault in production

2015-07-08 Thread Scott Bell
On Wednesday, July 8, 2015 at 4:05:20 PM UTC-7, Scott Bell wrote: On Wednesday, July 8, 2015 at 3:48:22 PM UTC-7, neil wrote: Does adding the executable pathname to the `gdb` command line (i.e., format `gdb EXECUTABLE-FILE CORE-FILE`) give you the symbols? Ah, of course. Yes, now we're

Re: [racket-users] plot: change pen cap?

2015-07-08 Thread Asumu Takikawa
On 2015-07-08 12:06:53 -0400, Neil Toronto wrote: I'm mulling over the design of functions that return the pieces of a plot as picts so you can superimpose and append them any way you like. Ooh, this sounds really nice. I recently wanted to use plot for a talk-related thing, but one issue was I