lexi-lambda changed the topic of #racket to: Racket v7.1 has been released: http://blog.racket-lang.org/2018/10/racket-v7-1.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
pierpal has joined #racket
pierpal has quit [Read error: Connection reset by peer]
pierpal has joined #racket
libertyprime has joined #racket
dbmikus_ has joined #racket
selimcan has quit [Ping timeout: 268 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
efm has quit [Ping timeout: 250 seconds]
keep_learning_M has joined #racket
efm has joined #racket
efm has quit [Ping timeout: 250 seconds]
efm has joined #racket
sebastianlin has joined #racket
rlavery has joined #racket
<rlavery> Has anybody else had issues with `raco exe' and `typed/racket'? I'm getting `instantiate: unknown module.' doesn't happen when I run from DrRacket or if I compile with typed/racket/no-check.
<rlavery> I'm on `7.2.0.5--2019-02-15(edeae791ab/a), english.'
badkins has joined #racket
<rlavery> this is the code. sorry it's so messy. i got my gui version of Game of Life to be more performant when i converted a couple of functions to tail recursion. http://pasterack.org/pastes/51739
<rlavery> in the process of making it I inadvertently learned about backgrounding racket processes on windows haha. TIL you have to define on-close specifically to call `exit' unless you want racket to stay open in the background. makes sense though.
ng0_ has joined #racket
<Duns_Scrotus> I'm writing a webapp and would like to make sure transactions are rolled back if there's an exception while i'm processing a request. Should I use dynamic wind, or a catch-all exception handler that rolls back the transaction and rethrows
ng0 has quit [Ping timeout: 256 seconds]
<Duns_Scrotus> oh
<Duns_Scrotus> there's call-with-transaction, and it does the latter
<Duns_Scrotus> not sure how I missed that
<rlavery> rubber ducking is a powerful method
<Duns_Scrotus> it's not even rubber ducking, it's i looked through the docs a million times then asked and then looked through the docs one last time
pera has quit [Ping timeout: 258 seconds]
<rlavery> that's the thing though. i'm never as good at finding things in documentation as I am seconds after capitulating and asking somebody else
<Duns_Scrotus> rubber ducking is when you explain something and it clarifies your thinking, this phenomenon isn't as wholesome
<rlavery> i'll take whatever I can get
casaca has quit [Quit: leaving]
casaca has joined #racket
efm has quit [Remote host closed the connection]
efm has joined #racket
efm has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
efm has joined #racket
FreeFull has quit []
pera has joined #racket
pera has quit [Ping timeout: 245 seconds]
pie__ has joined #racket
pie_ has quit [Ping timeout: 245 seconds]
_whitelogger has joined #racket
sebastianlin has quit [Ping timeout: 256 seconds]
<rlavery> My google searches are all returning cursedly short result pages full of purple links. Here's the output I get when I try to `raco exe` a program that uses typed/racket: http://pasterack.org/pastes/43584
<rlavery> I get the exact same error trying to `raco exe' the program `#lang typed/racket'. (I mean a file containing only that langline.) I do not get the error if I use `#lang typed/racket/no-check'.
dbmikus_ has quit [Ping timeout: 250 seconds]
pera has joined #racket
jao has quit [Ping timeout: 255 seconds]
ym555 has quit [Quit: WeeChat 2.3]
libertyprime has quit [Ping timeout: 258 seconds]
<rlavery> just verified the behavior on another machine. typed/racket won't compile with embedded dlls in raco exe or drracket
<rlavery> raco make works, typed/racket/no-check works, racket foo.rkt works, launcher exe works
soegaard has joined #racket
sauvin has joined #racket
soegaard has quit [Quit: soegaard]
pierpal has quit [Read error: Connection reset by peer]
endformationage has quit [Ping timeout: 246 seconds]
soegaard has joined #racket
pera has quit [Ping timeout: 268 seconds]
pera has joined #racket
pera has quit [Client Quit]
soegaard has quit [Quit: soegaard]
pierpal has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
keep_learning_M has joined #racket
jrslepak has quit [Ping timeout: 246 seconds]
jrslepak has joined #racket
Falacer has joined #racket
ubLIX has joined #racket
ubLX has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
ubLIX has quit [Ping timeout: 255 seconds]
keep_learning_M has joined #racket
keep_learning_M has quit [Quit: This computer has gone to sleep]
widp_ has quit [Ping timeout: 272 seconds]
ubLX has quit [Quit: ubLX]
widp_ has joined #racket
eush has joined #racket
soegaard has joined #racket
YuGiOhJCJ has joined #racket
widp_ has quit [Ping timeout: 246 seconds]
dddddd has joined #racket
pierpal has quit [Quit: Poof]
pierpal has joined #racket
ng0_ is now known as ng0
jao has joined #racket
q9929t has joined #racket
q9929t has quit [Quit: q9929t]
widp_ has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
soegaard has quit [Quit: soegaard]
sz0 has joined #racket
casmajavi has joined #racket
casmajavi has quit [Remote host closed the connection]
casmajavi has joined #racket
casmajavi has quit [Client Quit]
selimcan has joined #racket
casmajavi has joined #racket
casmajavi has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 255 seconds]
endformationage has joined #racket
sleepnap has joined #racket
casmajavi has joined #racket
casmajavi has quit [Quit: Page closed]
casmajavi has joined #racket
m4110c has joined #racket
<m4110c> Hi, can someone tell me how I can get the result of (/ 365 9) as a decimal number?
<m4110c> I tried (/ 365.0 9.0) but still the output is 365/9
<casmajavi> Try (/ 365 9.0)
<m4110c> casmajavi: still not working
<m4110c> I get 365/9
<m4110c> Is there a dedicated function? I couldn't find anything in the racket documentation
<m4110c> I'm using the "Advanced Student"...version?
massimo_zaniboni has joined #racket
<m4110c> I just saw, that at the top of the file it says:
<casmajavi> m4110c: Thats weird. It works for me, but in the shell. Are you using DrRacket?
<m4110c> (htdp-settings #(#t constructor repeating-decimal #t #t none #f () #f)))
<m4110c> repeating-decimal could be the culprit, right?
<selimcan> m4110c, it might be that the number is just *shown* as a fraction. In DrRacket's interactions area, try to right click on it
<selimcan> and select "view as decimal expansion"
<m4110c> selimcan: That's it! Thank you very much :-)
<m4110c> It can even show in mixed fraction
<m4110c> nice
<selimcan> np
<selimcan> In the main dialect of Racket (#lang racket), (/ 365 9.0) gives a decimal
<selimcan> (without an option to choose fraction view or decimal view etc)
<selimcan> which is logical
<m4110c> When I execute it from within vim, it still shows only the fraction...but I'll find out how to rectify that, too. Thanks again. Have a good day
m4110c has left #racket [#racket]
<selimcan> (not saying that advanced student mode is illogical)
<selimcan> Already in 80s, programmers were dreaming of a world where they wouldn't have to use vi
<selimcan> but it's still used today
sagax has quit [Ping timeout: 250 seconds]
YuGiOhJCJ has joined #racket
eush has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
soegaard has joined #racket
endformationage has quit [Quit: WeeChat 2.3]
endformationage has joined #racket
<dTal> ironically nerds are the biggest luddites
<dTal> they hate to see technology go obsolete
Falacer has quit [Ping timeout: 255 seconds]
YuGiOhJCJ has quit [Remote host closed the connection]
dbmikus has joined #racket
soegaard has quit [Quit: soegaard]
soegaard has joined #racket
orivej has joined #racket
sauvin has quit [Remote host closed the connection]
soegaard has quit [Quit: soegaard]
jao has quit [Remote host closed the connection]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
acarrico has quit [Ping timeout: 255 seconds]
FreeFull has joined #racket
evdubs_ has quit [Quit: Leaving]
evdubs has joined #racket
jao has joined #racket
casmajavi has quit [Remote host closed the connection]
soegaard has joined #racket
paulharris has quit [Ping timeout: 264 seconds]
ubLIX has joined #racket
acarrico has joined #racket
ym555 has joined #racket
endforma1 has joined #racket
endformationage has quit [Ping timeout: 255 seconds]
efm has quit [Ping timeout: 246 seconds]
cantstanya has quit [Remote host closed the connection]
cantstanya has joined #racket
selimcan has quit [Ping timeout: 255 seconds]
selimcan has joined #racket
rlavery has quit [Quit: Page closed]
selimcan has quit [Ping timeout: 264 seconds]
soegaard has quit [Quit: soegaard]
selimcan has joined #racket
selimcan has quit [Remote host closed the connection]
selimcan has joined #racket
efm has joined #racket
dbmikus has quit [Ping timeout: 246 seconds]
endforma1 has quit [Quit: WeeChat 2.3]
endformationage has joined #racket
selimcan has quit [Ping timeout: 246 seconds]
acarrico has quit [Ping timeout: 272 seconds]
sleepnap has left #racket [#racket]
sz0 has quit [Quit: Connection closed for inactivity]
massimo_zaniboni has left #racket [#racket]