samth changed the topic of #racket to: Racket v7.4 has been released: https://blog.racket-lang.org/2019/08/racket-v7-4.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
FreeFull has quit []
lavaflow has joined #racket
Fare has joined #racket
mzan has joined #racket
dvdmuckle has quit [Quit: Bouncer Surgery]
dvdmuckle has joined #racket
mzan has quit [Quit: Leaving]
DGASAU has quit [Read error: Connection reset by peer]
DGASAU has joined #racket
pera has quit [Quit: leaving]
catonano_ has joined #racket
catonano has quit [Ping timeout: 240 seconds]
catonano_ is now known as catonano
tazmanoo has joined #racket
efm has joined #racket
jao has quit [Ping timeout: 276 seconds]
efm has quit [Ping timeout: 276 seconds]
tazmanoo has quit [Ping timeout: 240 seconds]
vraid has quit [Ping timeout: 252 seconds]
pmatos has quit [Ping timeout: 240 seconds]
ziyourenxiang has joined #racket
notzmv has joined #racket
badkins has quit [Remote host closed the connection]
evdubs has quit [Remote host closed the connection]
evdubs has joined #racket
<ZombieChicken> is there a simple way to determine a file's type without having to hope there is a valid extension?
tazmanoo has joined #racket
tazmanoo has quit [Ping timeout: 240 seconds]
aidalgol has quit [Remote host closed the connection]
<aeth> ZombieChicken: If you want to call out to the Unix shell, you can use the unix utility called file
<aeth> It should give you one line that you can parse, but if you want to e.g. determine the programming language from parsing the file without a valid extension, that's a tougher problem
Nomenclatura has joined #racket
orivej has quit [Ping timeout: 268 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 240 seconds]
dddddd has quit [Remote host closed the connection]
Nomenclatura has quit [Quit: q]
aidalgol has joined #racket
tazmanoo has joined #racket
endformationage has quit [Ping timeout: 265 seconds]
tazmanoo has quit [Ping timeout: 240 seconds]
ZombieChicken has quit [Remote host closed the connection]
ZombieChicken has joined #racket
theruran has joined #racket
sauvin has joined #racket
ZombieChicken has quit [Remote host closed the connection]
Fare has quit [Ping timeout: 240 seconds]
sword865 has joined #racket
johnjay has quit [Ping timeout: 240 seconds]
johnjay has joined #racket
pmatos has joined #racket
tilpner_ is now known as tilpner
Sgeo_ has joined #racket
aeth has quit [Ping timeout: 240 seconds]
Sgeo__ has quit [Ping timeout: 240 seconds]
tazmanoo has joined #racket
aeth has joined #racket
tazmanoo has quit [Ping timeout: 265 seconds]
mzan has joined #racket
Fernando-Basso has joined #racket
rgherdt has joined #racket
ng0 has quit [Remote host closed the connection]
ng0 has joined #racket
euhmeuh has joined #racket
rgherdt has quit [Quit: Leaving]
tazmanoo has joined #racket
ng0 has quit [Quit: Alexa, when is the end of world?]
tazmanoo has quit [Ping timeout: 252 seconds]
aidalgol has quit [Remote host closed the connection]
ng0 has joined #racket
iyzsong has joined #racket
mzan has quit [Quit: Leaving]
_whitelogger has joined #racket
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 250 seconds]
Sgeo_ has joined #racket
dddddd has joined #racket
Sgeo__ has quit [Ping timeout: 250 seconds]
mzan has joined #racket
tazmanoo has joined #racket
keep-learning[m] has quit [Remote host closed the connection]
MrAxilus has quit [Read error: Connection reset by peer]
olavx200 has quit [Write error: Connection reset by peer]
BitPuffin has quit [Remote host closed the connection]
Sgeo_ has quit [Read error: Connection reset by peer]
Sgeo_ has joined #racket
ArthurStrong has joined #racket
jao has joined #racket
BitPuffin has joined #racket
vraid has joined #racket
sdu has joined #racket
olavx200 has joined #racket
MrAxilus has joined #racket
tazmanoo has quit [Ping timeout: 276 seconds]
orivej has joined #racket
nullman has quit [Ping timeout: 276 seconds]
nullman has joined #racket
sword865 has quit [Quit: Connection closed for inactivity]
even4void has joined #racket
iyzsong has quit [Quit: ZNC 1.7.1 - https://znc.in]
tazmanoo has joined #racket
notzmv has quit [Ping timeout: 240 seconds]
Sgeo__ has joined #racket
Sgeo_ has quit [Ping timeout: 265 seconds]
Fare has joined #racket
badkins has joined #racket
odanoburu has joined #racket
endformationage has joined #racket
ziyourenxiang has quit [Ping timeout: 240 seconds]
<fftww> but there are some third-party (non-racket) libraries which do this for some programming languages, ZombieChicken
efm has joined #racket
<nisstyre> file is your best bet
<nisstyre> other than that, you can't really tell unless you know which bytes to look for
<nisstyre> that's basically what file does, it has a database of magic bytes to look for to guess the type
<nisstyre> if you're curious
even4void has quit [Quit: Textual IRC Client: www.textualapp.com]
sdu has quit [Remote host closed the connection]
vraid has quit [Quit: Leaving]
Fare has quit [Ping timeout: 265 seconds]
Sgeo_ has joined #racket
Sgeo__ has quit [Ping timeout: 265 seconds]
mzan has quit [Ping timeout: 276 seconds]
mzan has joined #racket
nullman has quit [Ping timeout: 250 seconds]
nullman has joined #racket
rgherdt has joined #racket
pera has joined #racket
Fare has joined #racket
FreeFull has joined #racket
Fare has quit [Ping timeout: 268 seconds]
sauvin has quit [Read error: Connection reset by peer]
Fare has joined #racket
ober has joined #racket
mzan has quit [Quit: Leaving]
jao has quit [Remote host closed the connection]
aidalgol has joined #racket
jao has joined #racket
urbanslug has joined #racket
tazmanoo has quit [Ping timeout: 252 seconds]
urbanslug has quit [Ping timeout: 240 seconds]
urbanslug has joined #racket
urbanslug has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 245 seconds]
vraid has joined #racket
efm has quit [Ping timeout: 265 seconds]
efm has joined #racket
rribeiro has joined #racket
rribeiro has quit [Remote host closed the connection]
efm has quit [Ping timeout: 265 seconds]
Fare has quit [Ping timeout: 265 seconds]
jao has quit [Remote host closed the connection]
jao has joined #racket
Fare has joined #racket
Fare has quit [Ping timeout: 268 seconds]
Fernando-Basso has quit [Quit: Leaving]
hjek has joined #racket
tazmanoo has joined #racket
orivej has joined #racket
vraid has quit [Quit: Leaving]
ziyourenxiang has joined #racket
odanoburu has quit [Quit: Connection closed for inactivity]
tazmanoo has quit [Quit: Lost terminal]
tazmanoo has joined #racket
Fare has joined #racket
orivej has quit [Ping timeout: 240 seconds]