Hi,
When using embedded Racket, I noticed it can write to stderr directly:
static void got_sigchld() XFORM_SKIP_PROC
{
if(-1 == write(2, "SIGCHLD handler called (some thread has SIGCHLD
unblocked)\n", 59)) {
}
}
Is it be possible to disable this for embedded configuration as it
messes up st
In addition to what Sam mentioned, if you use state in your function,
then the optimizer tends to give up early, so you can often stick a
set! that isn't doing anything to make it give up.
Robby
On Thu, Dec 6, 2012 at 12:27 AM, Denys Rtveliashvili wrote:
> Hello,
>
> Is there a way of disabling
I'm fuzzy on the details, but I believe recent versions of Windows
handle applications that to dump potentially conflicting things in
System32, by using a "side-by-side" configuration strategy? If so,
perhaps some of the items are in fact some variety of link rather than
a normal file. As Jay ment
It actually _is_ in my PATH already:
> (find-executable-path "javaw.exe")
#
> (getenv "PATH")
"...;C:\\Windows\\system32;..."
(Other members of PATH omitted.) Weird, huh? Something is wonky. I even
tried changing the capitalization of "system" on the off chance that case
mattered, but nope.
Ben:
On Thu, Dec 6, 2012 at 4:22 PM, Tim Nelson wrote:
> Thanks for the hint Danny. I didn't know about that function... but I'm
> sorry to say that
>
> > (find-executable-path "java.exe")
> #f
>
> whereas from cmd:
> > where java
> C:\Windows\System32\java.exe
>
> so the command line knows about it,
On 12/6/2012 2:13 PM, Tim Nelson wrote:
I'm stumped. I even tried to track directory-list to its source,
but lost the scent in pre-base.rkt.
pre-base.rkt makes my head hurt, too. It's in racket\src\racket\src\file.c.
Ben
Racket Users list:
http://lists.racket-lang.org/u
Oh! I just remembered that we recently patch Racket with Racket blinders so
that it doesn't acknowledge the existence of any language not implemented a
Racket macro. I think you're just out of luck unless you want to downgrade.
Jay
On Thu, Dec 6, 2012 at 4:22 PM, Tim Nelson wrote:
> Thanks for
Thanks for the hint Danny. I didn't know about that function... but I'm
sorry to say that
> (find-executable-path "java.exe")
#f
whereas from cmd:
> where java
C:\Windows\System32\java.exe
so the command line knows about it, and I can use it, but it is concealed
from Racket, even via find-execut
> One of my Racket projects scans the PATH directories to locate
> the Java executable, if one is installed.
>
If you're searching through PATHt, you should be able to use
find-executable-path.
http://docs.racket-lang.org/reference/Filesystem.html#(def._((lib._racket/private/misc..rkt)._find-exec
(directory-exists? "C:\\Windows\\System32") -> #t
(file-exists? "C:\\Windows\\System32") -> #f
You wrote: "(Yes, Windows 8, please don't laugh at me. :-) )"
I am laughing to myself, for I use windows 7 and windows XP :)
Jos
_
From: users-boun...@racket-lang.org [mailto:users-boun...
I don't think that the file (in this case, java.exe) is a symlink, and it's
definitely not a shortcut. What really worries me is that it doesn't come
up when calling (directory-list), which doesn't have as strong a filter as
file-exists?. Is directory-list supposed to ignore anything?
I could pipe
file-exists? checks if it a FILE, it returns false on directories, links
(shortcuts), special files, etc.
Could that be it?
Jay
On Thu, Dec 6, 2012 at 3:13 PM, Tim Nelson wrote:
> Dear Benevolent Racketeers,
>
> I just installed DrRacket 5.3.1 on my Windows 8 Laptop. (Yes,
> Windows 8, please
Dear Benevolent Racketeers,
I just installed DrRacket 5.3.1 on my Windows 8 Laptop. (Yes,
Windows 8, please don't laugh at me. :-) ) I have not checked
this on other operating systems or other versions of Racket.
One of my Racket projects scans the PATH directories to locate
the Java executable,
See
On Wed, Dec 5, 2012 at 10:27 PM, Denys Rtveliashvili wrote:
> Hello,
>
> Is there a way of disabling the inlining for recursive functions?
See the `--disable-inline` flag to `raco make`.
Sam
Racket Users list:
http://lists.racket-lang.org/users
Hello,
Is there a way of disabling the inlining for recursive functions?
This code:
(define (do_loop i)
(when (< i 100)
(do_loop (add1 i
Is compiled into this:
(begin
(module test3
(require (lib "racket/main.rkt"))
(define-values
(_do_loop)
(lambda
Reminder: If you need a space cadet keyboard to use an OS, it'll have
lower chances of long-term success...
However, the keyboard layout was pretty cool.
On Wed, 5 Dec 2012 20:59:44 -0800
Joe Marshall wrote:
> http://dspace.mit.edu/handle/1721.1/5731
>
> "Those who cannot remember the past
16 matches
Mail list logo