Re: [racket-dev] lib changes between versions

2015-01-07 Thread Tobias Hammer
I usually use this macro in a wrapper that require/provides the libs and provides compatibility wrappers when needed ;; compile time version switch (define-syntax (version=? stx) (syntax-case stx () [(_ min-version body body-else) (if (string=? (version) (syntax-e #'min-version))

Re: [racket-dev] SGC as default

2014-08-13 Thread Tobias Hammer
. _ Racket Developers list: http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev -- Tobias Hammer DLR / Robotics and Mechatronics Center (RMC) Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.de

[racket-dev] ffi sizeof bool

2014-04-04 Thread Tobias Hammer
Hi, i guess this shouldn't happen: $ cat s.cc #include stdio.h int main() { printf(%zu\n, sizeof(bool)); } $ g++ s.cc -o s $ ./s 1 Welcome to Racket v6.0.0.5. - (require ffi/unsafe) - (ctype-sizeof _bool) 4 Tested with multiple unix/linux OS, all gcc 4.3.4 Tobias

Re: [racket-dev] ffi sizeof bool

2014-04-04 Thread Tobias Hammer
. I'll add a `_stdbool` that corresponds to `bool` from C99's stdbool.h, which I imagine must be the same as `bool` in C++. At Fri, 4 Apr 2014 08:56:18 +0200, Tobias Hammer wrote: Hi, i guess this shouldn't happen: $ cat s.cc #include stdio.h int main() { printf(%zu\n, sizeof(bool)); } $ g

Re: [racket-dev] package system, minimal builds and more

2013-10-07 Thread Tobias Hammer
All in one answer On Tue, 01 Oct 2013 15:30:11 +0200, Neil Toronto neil.toro...@gmail.com wrote: On 10/01/2013 09:20 AM, Tobias Hammer wrote: * monolithic math currently math is one big package and installing it pulls in nearly everything through the docs. Is it planned to split it into -lib

[racket-dev] package system, minimal builds and more

2013-10-01 Thread Tobias Hammer
Hi, i played a bit with the new package system, minimal installs and cross compiling. It works pretty good but i have a few problems and remarks/questions. I start with a fresh yesterdays minimal source (min-racket-5.90.0.9-src.tgz), build it (natively for linux) and try to install

[racket-dev] behavior of 'local-transformer-expand' changed

2013-08-01 Thread Tobias Hammer
Hi, Commit e51ac9cc [1] from about a month ago changed the allowed values for local-transformer-expands context-v argument. It now refuses 'module and 'module-begin. Previously i could simply pass the result from syntax-local-context. I am not sure what i should pass now and what

Re: [racket-dev] behavior of 'local-transformer-expand' changed

2013-08-01 Thread Tobias Hammer
to use 'module and get the same effect as wrapping the form with `begin-for-syntax', expanding with `local-expand', and removing the expansion again. Do you have an example where you use 'module? At Thu, 1 Aug 2013 10:12:16 +0200, Tobias Hammer wrote: Hi, Commit e51ac9cc [1] from about a month

Re: [racket-dev] Generics updates

2013-07-24 Thread Tobias Hammer
, and weak variants that inter-operate. If there are no serious issues brought up in the next day or two, I'll push it to the development branch, since our current release process isn't following HEAD. Carl Eastlund -- - Tobias Hammer DLR

[racket-dev] Symlink trouble

2013-04-17 Thread Tobias Hammer
be viable? They shouldn't be too hard to implement i could create a patch if one of them seems ok. Tobias -- - Tobias Hammer DLR / Robotics and Mechatronics Center (RMC) Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail

Re: [racket-dev] Symlink trouble

2013-04-17 Thread Tobias Hammer
on linux and they all seem to set PWD. But i can't tell if thats the default or specific to my installation. At Wed, 17 Apr 2013 12:06:29 +0200, Tobias Hammer wrote: Hi, i am currently implementing an application that heavily relies on rackets great serialize functionality to exchange data

Re: [racket-dev] Symlink trouble

2013-04-17 Thread Tobias Hammer
On Wed, 17 Apr 2013 17:25:02 +0200, Matthew Flatt mfl...@cs.utah.edu wrote: That matches my observations. Files accessed via collection always keep their paths 'as is'. But it is enough to start a program via racket file instead of racket -l what/ever to break this. I should have mentioned

Re: [racket-dev] amd64 out of memory

2013-04-16 Thread Tobias Hammer
~raring_FAILEDTOBUILD.txt.gz https://launchpadlibrarian.net/137533283/buildlog_ubuntu-raring-amd64.racket_5.3.4.3-20130416%7Eraring_FAILEDTOBUILD.txt.gz -- - Tobias Hammer DLR / Robotics and Mechatronics Center (RMC) Muenchner Str. 20, D-82234

Re: [racket-dev] Compilation of 5.3.2 fails on some compilers

2013-02-15 Thread Tobias Hammer
defaults. You are probably right. We will most likely have to carry gccs default i386 burden around until 32bit platforms die out. Tobias At Sat, 2 Feb 2013 01:26:06 +0100, Tobias Hammer wrote: Thanks for the detailed explanation. It's a lot clearer now why it's needed. But i figured out

[racket-dev] make-log-receiver changed behavior in 5.3.2

2013-01-18 Thread Tobias Hammer
notes to save others from spurious exceptions. Tobias -- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.de _ Racket

Re: [racket-dev] make-log-receiver changed behavior in 5.3.2

2013-01-18 Thread Tobias Hammer
I of course meant the result vector of a sync on a log-receiver. On Fri, 18 Jan 2013 16:30:45 +0100, Tobias Hammer tobias.ham...@dlr.de wrote: Between 5.3.1 and 5.3.2 the result value of make-log-receiver changed from a guaranteed 3 element vector to a 4 element vector. That's

Re: [racket-dev] replacing current-load/use-compiled

2013-01-17 Thread Tobias Hammer
executables? -- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.de _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] How to avoid to modify .gitignore when pull request

2012-12-13 Thread Tobias Hammer
? -- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.de _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] Identifier macros

2012-12-05 Thread Tobias Hammer
the documentation for identifier macros and why does that documentation imply that normal transformers can't handle bare references? Carl Eastlund -- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Muenchner Str. 20, D-82234 Wessling Tel

Re: [racket-dev] FFI: pointer to an array in a C struct type

2012-12-03 Thread Tobias Hammer
-- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.de _ Racket Developers list: http://lists.racket-lang.org/dev

Re: [racket-dev] for loop singleton optimization

2012-11-29 Thread Tobias Hammer
Is this easily added to for.rkt? -Ian _ Racket Developers list: http://lists.racket-lang.org/dev _ Racket Developers list: http://lists.racket-lang.org/dev -- - Tobias Hammer DLR

Re: [racket-dev] cstruct and properties

2012-11-12 Thread Tobias Hammer
On Sun, 11 Nov 2012 17:39:07 +0100, Matthew Flatt mfl...@cs.utah.edu wrote: At Wed, 7 Nov 2012 20:00:51 +0100, Tobias Hammer wrote: i am currently playing around with properties attached to cstructs and ran into some problems. Normally, with racket structs, i can access a property without

Re: [racket-dev] Planet 2 Beta Release

2012-11-08 Thread Tobias Hammer
Just out of curiosity: What are your / the teams objections against some kind of real versioning system that allows to * specify a version number without creating a new package * specify dependencies based on minimal version * keep/pin a package at some particular version (maybe your code

[racket-dev] cstruct and properties

2012-11-07 Thread Tobias Hammer
prop ...) -- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.de _ Racket Developers list: http

[racket-dev] crash with subprocess

2012-08-30 Thread Tobias Hammer
-- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Muenchner Str. 20, D-82234 Wessling Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.dehangs, ctrl+c not working, unexpected error from waitpid(138321064[1]): 10 unexpected error from waitpid(8345[1]): 10 unexpected error from waitpid(8344[1

Re: [racket-dev] crash with subprocess

2012-08-30 Thread Tobias Hammer
' implementation that cooperates with places. Does your program use multiple places, or just one? If it uses multiple places, does it use `subprocess' in multiple places? Is your platform 32-bit Linux? At Thu, 30 Aug 2012 13:38:23 +0200, Tobias Hammer wrote: Hi, i am experiencing random crashes when

Re: [racket-dev] raco make cannot marshal value error

2012-07-27 Thread Tobias Hammer
likely, I think you want to generate an expression that constructs an `s' instead of generating an `s' instance in the macro expansion. At Thu, 26 Jul 2012 14:59:41 +0200, Tobias Hammer wrote: Hi, i have the following two files, one that only requires the other and calls a macro and the other one

[racket-dev] raco make cannot marshal value error

2012-07-26 Thread Tobias Hammer
-- - Tobias Hammer DLR / Institute of Robotics and Mechatronics Tel.: 08153/28-1487 Mail: tobias.ham...@dlr.de _ Racket Developers list: http://lists.racket-lang.org/dev

[racket-dev] Strange error with gui and ffi

2012-01-19 Thread Tobias Hammer
Hi, i am getting a strange error message from racket if i use racket/gui in the main module and only racket in a required one. If i load another shared lib in the required module i get the following output: jpeg: unsupported library version: unknown === context ===

Re: [racket-dev] Strange error with gui and ffi

2012-01-19 Thread Tobias Hammer
Am 01/19/2012 02:02 PM, schrieb Matthew Flatt: At Thu, 19 Jan 2012 13:30:40 +0100, Tobias Hammer wrote: i am getting a strange error message from racket if i use racket/gui in the main module and only racket in a required one. If i load another shared lib in the required module i get

[racket-dev] raco make broken

2011-12-13 Thread Tobias Hammer
Hello, raco make --no-deps seems to be broken: default-load-handler: cannot open input file: racket-5.2.0.6/collects/compiler/cffi.rkt (No such file or directory; errno=2) === context === standard-module-name-resolver racket-5.2.0.6/collects/compiler/compiler-unit.rkt:82:2: core50