jhass changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Crystal 0.35.1 | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
Stephie has quit [Ping timeout: 265 seconds]
Vexatos has quit [Ping timeout: 264 seconds]
Vexatos has joined #crystal-lang
_whitelogger has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 264 seconds]
FromGitter has quit [Ping timeout: 260 seconds]
oprypin has quit [Ping timeout: 240 seconds]
f1reflyylmao has joined #crystal-lang
Stephie has joined #crystal-lang
Stephie has quit [Excess Flood]
f1refly has quit [Ping timeout: 272 seconds]
Stephie has joined #crystal-lang
oprypin has joined #crystal-lang
FromGitter has joined #crystal-lang
chachasmooth has quit [Ping timeout: 244 seconds]
chachasmooth has joined #crystal-lang
avane has quit [Quit: ZNC - https://znc.in]
f1refly has joined #crystal-lang
f1reflyylmao has quit [Ping timeout: 258 seconds]
avane has joined #crystal-lang
postmodern has joined #crystal-lang
<FromGitter> <grkek> How is the require statement interpreted? and how can one create a different style of require statement which can import specific types from a file?
<FromGitter> <grkek> I just got a Google FooBar challenge pop-up
<FromGitter> <j8r> @grkek require can only import the whole file with everything inside
<FromGitter> <grkek> Wouldn't it be nice if we could import the only code we wanted?
<FromGitter> <j8r> that's why the only code we cant is usually in separate files
<FromGitter> <j8r> and usually one module/class/struct per file
<FromGitter> <j8r> in order to require only what we really need
deavmi_ has quit [Remote host closed the connection]
deavmi has joined #crystal-lang
<FromGitter> <grkek> That is quite interesting
<FromGitter> <grkek> I didn't think about that before
<FromGitter> <grkek> I mean I do it subconsciously but I haven't thought about that
alexherbo2 has joined #crystal-lang
postmodern has quit [Quit: Leaving]
HumanG33k has quit [Ping timeout: 272 seconds]
alexherbo2 has quit [Ping timeout: 260 seconds]
HumanG33k has joined #crystal-lang
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 258 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 265 seconds]
<FromGitter> <spTorin> Trying to make a simple http server example: ⏎ ⏎ ```code paste, see link``` ⏎ ⏎ If get URL `path = "/fio"` show list files in directory. Else show path. ... [https://gitter.im/crystal-lang/crystal?at=5f885d0d955f6d78a92ea05a]
alexherbo2 has joined #crystal-lang
<FromGitter> <Blacksmoke16> idt thats how HTTP handlers work
f1refly has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 256 seconds]
<FromGitter> <Blacksmoke16> youd want to pass an array with your static file handler in it
<FromGitter> <Blacksmoke16> when newing up the server
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #crystal-lang
<FromGitter> <spTorin> Tnx for info. Need some practice.
<FromGitter> <Blacksmoke16> 👍 np
tsujp has quit [Ping timeout: 246 seconds]
alexherbo2 has quit [Ping timeout: 258 seconds]
tsujp has joined #crystal-lang
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 265 seconds]
alexherbo2 has joined #crystal-lang
alexherbo25 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 260 seconds]
alexherbo25 is now known as alexherbo2
Flipez has quit [Read error: Connection reset by peer]
Flipez has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 272 seconds]
alexherbo2 has joined #crystal-lang
mistergibson has joined #crystal-lang
f1refly has joined #crystal-lang
f1refly has quit [Ping timeout: 260 seconds]
f1refly has joined #crystal-lang
f1reflyylmao has joined #crystal-lang
f1refly has quit [Ping timeout: 260 seconds]
f1reflyylmao is now known as f1refly
Liothen has quit [Ping timeout: 244 seconds]
Liothen has joined #crystal-lang
alexherbo2 has quit [Ping timeout: 256 seconds]
alexherbo2 has joined #crystal-lang
deavmi has quit [Read error: Connection reset by peer]
deavmi has joined #crystal-lang
deavmi has quit [Ping timeout: 272 seconds]
alexherbo23 has joined #crystal-lang
alexherbo2 has quit [Read error: Connection reset by peer]
alexherbo23 is now known as alexherbo2
FromGitter has quit [Ping timeout: 260 seconds]
oprypin has quit [Ping timeout: 246 seconds]
oprypin has joined #crystal-lang
FromGitter has joined #crystal-lang
HumanG33k has quit [Remote host closed the connection]
HumanG33k has joined #crystal-lang
yukai has joined #crystal-lang
yukai has quit [Ping timeout: 265 seconds]