Profile

Cover photo
Oldřich Vetešník
Worked at Tapmates
65 followers|24,869 views
AboutPostsPhotosVideos+1's

Stream

 
I like the way functional languages make you separate your stuff. #racket-lang
1
Add a comment...
 
Hello, fuzzy newbie question ahead:

I wrote a simple move-ufo-by-keys experiment (based on the Realm book) and wanted to see if I can compile it and send it to someone who can play it without the Racket distribution installed.

I managed to make a distribution (GRacket + Distribution in DrRacket), sent it, and the person said the program complained about missing image file. (I currently don't have a backtrace but will ask for one.)

My question is: Am I missing something important? I tried messing with define-runtime-path but the bitmap function complained when I gave it a path object). I also tried googling but wasn't very successful (I'm not sure what to search for).

This is the code and the image:
https://github.com/ollie/racket-experiments/tree/master/ufo

Some other possibly useful info:
I work on OS X, the person has Win 7 64 bit but I have a Win 7 32 bit PC nearby so I installed Racket on it, downloaded the files and made the package. Funny part is when I tried to run the exe on the same machine, it worked.

Right now I am somewhat confused as I don't know what the real issue is:
* Is the image cached somewhere on my local Win PC so it finds it and not finds it on the remote Win PC? (Not likely.)
* Is the code wrong so that it doesn't know about the image file and must be marked somehow so that the compiler includes it somewhere?
* :( ?

Thank you
1
Chris McClelland's profile photoOldřich Vetešník's profile photo
4 comments
 
Was finally able to do it thanks to this https://github.com/Metaxal/towers/blob/master/towers/base.rkt - a separate module for images with define-runtime-paths and bitmaps which is then imported into the game. Compiles and runs fine.
Add a comment...

Oldřich Vetešník

Shared publicly  - 
 
ArnoldC langauge :D

IT'S SHOWTIME
TALK TO THE HAND "hello world"
YOU HAVE BEEN TERMINATED
1
Add a comment...

Oldřich Vetešník

Shared publicly  - 
 
Hehe "rb_warning("%sexists? is a deprecated name, use %sexist? instead", s, s);" :-)
1
Add a comment...

Oldřich Vetešník

Shared publicly  - 
 
 
Open a shell:

$ python -m antigravity

:D
1
Add a comment...
Have him in circles
65 people
Adam Konrád's profile photo
Lumír Krátký's profile photo
Jitka Ptáčková's profile photo
Jakub Husák's profile photo
 
Cool article from a 1995 web startup using Lisp http://www.paulgraham.com/avg.html
1
Add a comment...

Oldřich Vetešník

Shared publicly  - 
 
 
If you don’t deal with Ruby gotchas, they will lead to more headaches and hard-to-debug cases. Read Karol's post for best practices! #ruby #gotchas
1
Add a comment...
 
Sad to see "Chunky Bacon!" references diminish over time. We need another _why genius. :-) Speaking of which, I wonder how Ryan Bates is doing.
6
Kryptyk Physh's profile photoOldřich Vetešník's profile photo
2 comments
 
Kinda sad, really. On the other hand there is Code School and try.whatever.com apps, but they aren't that cute and fun.
Add a comment...
 
Brilliant :)
 
Why my programming language is obviously better than yours.
1
Add a comment...
People
Have him in circles
65 people
Adam Konrád's profile photo
Lumír Krátký's profile photo
Jitka Ptáčková's profile photo
Jakub Husák's profile photo
Basic Information
Gender
Male
Work
Occupation
Ruby Hillbilly
Employment
  • Tapmates
Oldřich Vetešník's +1's are the things they like, agree with, or want to recommend.
Pro Git - Pro Git Book
progit.org

Pro Git. professional version control. Home; Book; Blog; About; Support Us; GitHub; Twitter. This is the website for the Pro Git book, writt

Fakta o ACTA
plus.google.com

Fakta o mezinárodní dohodě ACTA a jak zasáhne do vašeho života.

Radíme jak na Facebook reklamy? | Facebook-Reklamy.cz
www.facebook-reklamy.cz

Co je to reklama na Facebooku (Facebook Ads), jak si nějakou založit a jak vyhodnotit úspěšnost? Přečtěte si u nás.

Samuel L Ipsum | Alternative Lorem Ipsum Generator
slipsum.com

Samuel L Ipsum is an alternative Lorem Ipsum Generator, it uses quotes from films which Samuel L Jackson has starred in place of the standar