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
acarrico has quit [Ping timeout: 250 seconds]
acarrico has joined #racket
jao has joined #racket
pierpal has joined #racket
shinzo has joined #racket
orivej has joined #racket
<shinzo> Hi, posted this on #scheme:
<shinzo> Hi, need help with excercise 498 from htdp https://htdp.org/2018-01-06/Book/part_six.html#%28part._sec~3atrans-accu%29 - having trouble understanding the accummulator statement and what's the hint of the hint?
<shinzo> part of the accumulator statement: the second accumulator stands for the tallest branch in the part of abt0 that is to the left of abt.
tennix has quit [Ping timeout: 245 seconds]
tennix has joined #racket
tennix has quit [Quit: WeeChat 2.2]
shinzo has quit [Quit: leaving]
Petit_Dejeuner has joined #racket
jao has quit [Ping timeout: 245 seconds]
Petit_Dejeuner has quit [Quit: Leaving]
dddddd has quit [Remote host closed the connection]
iyzsong has joined #racket
keep_learning has quit [Remote host closed the connection]
YuGiOhJCJ has joined #racket
iyzsong-x has joined #racket
iyzsong has quit [Ping timeout: 245 seconds]
g00s has quit [Quit: Textual IRC Client: www.textualapp.com]
davidl has quit [Quit: WeeChat 2.1]
_whitelogger has joined #racket
buyfn has joined #racket
ZombieChicken has quit [Ping timeout: 256 seconds]
iyzsong-x has quit [Remote host closed the connection]
iyzsong has joined #racket
ng0 has joined #racket
buyfn has quit [Quit: buyfn]
mzan has joined #racket
dddddd has joined #racket
buyfn has joined #racket
ski has joined #racket
buyfn has quit [Quit: buyfn]
jao has joined #racket
lavaflow has quit [Quit: WeeChat 2.2]
lavaflow has joined #racket
buyfn has joined #racket
mahmudov has quit [Ping timeout: 245 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
buyfn has quit [Quit: buyfn]
buyfn has joined #racket
buyfn has quit [Quit: buyfn]
iyzsong has quit [Read error: Connection reset by peer]
iyzsong has joined #racket
buyfn has joined #racket
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
buyfn has quit [Quit: buyfn]
pierpal has quit [Quit: Poof]
pierpal has joined #racket
buyfn has joined #racket
Blackbeard has joined #racket
buyfn has quit [Quit: buyfn]
buyfn has joined #racket
<rain1> hey everyone
<rain1> https://github.com/rain-1/racket-peg I am going to make a new release of this library
<rain1> do you have any feature requests or suggestions?
logicmoo is now known as dmiles
ZombieChicken has joined #racket
hjek has joined #racket
<hjek> hi, is there a function for getting the MIME type of a given file?
<hjek> When serving files from a static dir in teh Racket web server, the server responds with an appropriate MIME header. But is there a way to set this MIME header when your file is not served as a normal static file, but stored somewhere else, in my case an SQLite database?
<jcowan> Seems to me what you want is to instruct the web server what Mime-Type: header to supply. You'd need to keep that in the database too, to say how the blob is to be interpreted by the recipient.
<hjek> Yea, I keep that in the database now, and it works fine, because most browsers send appropriate MIME types
<hjek> I just wondered if there was a way to check it in Racket. Because not all web browsers send correct MIME types. For example Links.
<hjek> ... and because the Racket static file server does a good job of this already.
<hjek> ... without the MIME type being stored anywhere
<jcowan> it probably uses /usr/share/file/magic/*
YuGiOhJCJ has joined #racket
buyfn has quit [Quit: buyfn]
hjek has quit [Quit: Leaving.]
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
hjek has joined #racket
ubLIX has joined #racket
vraid has joined #racket
mzan has quit [Quit: Leaving.]
orivej has quit [Ping timeout: 240 seconds]