Codaraxis has quit [Read error: Connection reset by peer]
dddddd has quit [Remote host closed the connection]
Codaraxis has joined #racket
Codaraxis has quit [Ping timeout: 244 seconds]
_whitelogger has joined #racket
Codaraxis has joined #racket
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iyzsong has quit [Ping timeout: 252 seconds]
revtintin has joined #racket
Nomenclatura has quit [Quit: q]
endobson has joined #racket
jao has quit [Ping timeout: 246 seconds]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bogdanp has joined #racket
_whitelogger has joined #racket
endformationage has quit [Quit: WeeChat 2.5]
endformationage has joined #racket
endformationage has quit [Client Quit]
mzan has joined #racket
bogdanp has quit [Ping timeout: 245 seconds]
Codaraxis_ has joined #racket
Codaraxis has quit [Ping timeout: 264 seconds]
iyzsong has joined #racket
Codaraxis_ is now known as Codaraxis
endobson has joined #racket
Fernando-Basso has joined #racket
revtintin has quit [Quit: WeeChat 1.9.1]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chiefgoat has quit [Ping timeout: 258 seconds]
m1dnight_ has quit [Quit: WeeChat 2.4]
chiefgoat has joined #racket
Sgeo_ has joined #racket
Sgeo has quit [Ping timeout: 245 seconds]
Codaraxis has quit [Read error: Connection reset by peer]
m1dnight_ has joined #racket
mzan has quit [Ping timeout: 245 seconds]
sameerynho has joined #racket
<sameerynho>
hey folks, is there anything like rubyenv or nodenv for racket lang to install different version of racket locally without root permissions ?
<sameerynho>
also should i use the regular version or CS ?
Codaraxis has joined #racket
Codaraxis has quit [Remote host closed the connection]
mzan has joined #racket
jao has joined #racket
dddddd has joined #racket
chiefgoat has quit [Read error: Connection reset by peer]
ng0 has joined #racket
chiefgoat has joined #racket
jao has quit [Ping timeout: 245 seconds]
lavaflow has quit [Ping timeout: 245 seconds]
lockywolf has joined #racket
lockywolf has quit [Read error: Connection reset by peer]
ZombieChicken has quit [Quit: WeeChat 2.5]
lockywolf has joined #racket
lockywolf has quit [Ping timeout: 245 seconds]
lockywolf_ has joined #racket
lockywolf_ has quit [Read error: Connection reset by peer]
lockywolf has joined #racket
lockywolf has quit [Read error: Connection reset by peer]
lockywolf has joined #racket
lockywolf_ has joined #racket
lockywolf has quit [Ping timeout: 245 seconds]
lockywolf_ has quit [Ping timeout: 245 seconds]
lockywolf_ has joined #racket
FreeFull has joined #racket
lockywolf_ has quit [Ping timeout: 245 seconds]
lockywolf_ has joined #racket
lockywolf_ has quit [Read error: Connection reset by peer]
lockywolf has joined #racket
lockywolf has quit [Ping timeout: 245 seconds]
YuGiOhJCJ has joined #racket
diip has joined #racket
efm has quit [Ping timeout: 244 seconds]
m1dnight_ has quit [Quit: WeeChat 2.4]
endformationage has joined #racket
sagax has joined #racket
jao has joined #racket
lockywolf has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
iyzsong has quit [Ping timeout: 245 seconds]
Fernando-Basso has quit [Remote host closed the connection]
lavaflow has joined #racket
analogue has joined #racket
orivej has quit [Ping timeout: 264 seconds]
diip has quit [Ping timeout: 258 seconds]
orivej has joined #racket
orivej has quit [Ping timeout: 268 seconds]
analogue has quit [Quit: Leaving]
ziyourenxiang has quit [Ping timeout: 248 seconds]
notzmv has quit [Read error: Connection reset by peer]
ubLIX has joined #racket
pie_ has quit [Ping timeout: 245 seconds]
orivej has quit [Ping timeout: 244 seconds]
endobson has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Zandose>
Can you dynamically allocate a list of variables? For example, in other languages I can make a struct with variables in it and then make a list of these structs-variables of any size.
<Zandose>
Or put more simply, can I make some kind of a list that holds variables and can change size?
<Zandose>
I'm trying to remake the game Space Invaders and was wondering about how to dynamically store the enemy invaders information/variables.
pie_ has joined #racket
diip has joined #racket
dyl_ has quit [Quit: ZNC 1.7.0+deb0+xenial1 - https://znc.in]
dyl has joined #racket
efm has joined #racket
ubLIX has quit [Quit: ubLIX]
<rain1>
variables aren't first class objects, symbols are though
<rain1>
you can make a lookup table from symbols to values
<rain1>
for example a hash table
pie_ has quit [Ping timeout: 268 seconds]
lavaflow has quit [Ping timeout: 246 seconds]
lavaflow has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 268 seconds]
casaca has quit [Read error: Connection reset by peer]
casaca has joined #racket
Ven`` has joined #racket
ng0 has quit [Quit: Alexa, when is the end of world?]
<Zandose>
So this is going to be harder then I thought.
<dzoe>
Why do you want to "allocate" such list?
<dzoe>
I can imagine (struct invader (x y whatever) #:mutable) should fit your needs for individual invaders.
<dzoe>
And for all of them, I guess you need a set of invaders and you want to populate it at the beginning and then remove them as they are zapped out?
<dzoe>
Adding some identifier to them means you can put them into a dictionary (like mutable hash) or set. And the identifier can easily be just a number.
<dzoe>
It can even be a simple (yes, immutable) list and you just filter out whatever you want to filter out.
<dzoe>
And adding a new invader then boils down to cons'ing it in front of the list.
lavaflow has quit [Ping timeout: 268 seconds]
<rain1>
Zandose: why harder
<rain1>
the way i explained is very easy
<Zandose>
I just don't understand and have to study more that's all.
lavaflow has joined #racket
<friscosam>
sameerynho: You should use the regular version. All of the downloads on the site allow you to install multiple versions side by side iirc.
<friscosam>
sameerynho: since you say "root" I'm guessing you're on Linux. The linux installer allows you to install to your home directory or some other place. You do need to change your PATH
orivej has joined #racket
ubLIX has joined #racket
analogue has joined #racket
YuGiOhJCJ has joined #racket
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mzan has quit [Quit: Leaving]
lavaflow has quit [Ping timeout: 245 seconds]
lavaflow has joined #racket
diip has quit [Ping timeout: 245 seconds]
dddddd has quit [Remote host closed the connection]
<lavaflow>
"The tab-panel% class does not implement the virtual swapping of the panel content when a new tab is selected. Instead, it merely invokes a callback procedure to indicate that a user changed the tab selection."