jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.18.7 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
Philpax has joined #crystal-lang
Oliphaunte has joined #crystal-lang
cristianoliveira has joined #crystal-lang
aeosynth has joined #crystal-lang
<aeosynth> if a c function gives me a pointer, and i only need the value, is there any reason to keep the pointer?
<aeosynth> should i be passing the pointer or the value to other functions
cristianoliveira has quit [Ping timeout: 240 seconds]
cristianoliveira has joined #crystal-lang
eserror has joined #crystal-lang
Kurisu has joined #crystal-lang
cristianoliveira has quit [Ping timeout: 252 seconds]
eserror has quit [Read error: No route to host]
willl has quit [Quit: Connection closed for inactivity]
eserror has joined #crystal-lang
pawnbox has quit [Ping timeout: 272 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pabs has quit [Ping timeout: 240 seconds]
pabs has joined #crystal-lang
aeosynth has quit []
Oliphaunte has quit [Remote host closed the connection]
eserror has quit [Ping timeout: 264 seconds]
pabs has quit [Ping timeout: 258 seconds]
pabs has joined #crystal-lang
Kurisu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Kurisu has joined #crystal-lang
soveran has joined #crystal-lang
iwwi has joined #crystal-lang
soveran has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
wiiw has quit [Ping timeout: 264 seconds]
iwwi is now known as wiiw
Kurisu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox_ has joined #crystal-lang
Kurisu has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
mark_66 has joined #crystal-lang
cristianoliveira has joined #crystal-lang
cristianoliveira has quit [Ping timeout: 258 seconds]
Philpax has quit [Ping timeout: 260 seconds]
mentero has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
ponga has joined #crystal-lang
ponga has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<BlaXpirit> hm, how can I tell Crystal to load dynamic libraries relative to the current folder and not from global locations?
<BlaXpirit> so far, only specifying LD_LIBRARY_PATH outside of the process has worked
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<BlaXpirit> yeah, I'm having real trouble with this. I want to somehow ship a C library together with my shard
<BlaXpirit> and use it without installing the C library globally
matp has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
zodiak_ has joined #crystal-lang
zodiak has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
matp has joined #crystal-lang
gewo has joined #crystal-lang
tamole has joined #crystal-lang
<BlaXpirit> alternatively, how to make crystal use libraries from a specified folder? tried CRYSTAL_PATH= but that overrides even the standard libraryu
trapped has joined #crystal-lang
<RX14> BlaXpirit, you'll want to append to CRYSTAL_PATH
<RX14> like you do with PATH
<BlaXpirit> RX14, how, if it's initially empty
<RX14> uhh
<RX14> oh
<RX14> BlaXpirit, re: libraries you can just specify link args
<RX14> you work out the path from inside crystal somehow
<RX14> then macro into the link annotation
<RX14> adding too the linker args
<BlaXpirit> RX14, linker args must be a string literal
<RX14> but you can macro a string literal
<RX14> because it's before that stage
<BlaXpirit> I don't think any manipulations are possible there
<RX14> they are
<RX14> i've seen it done
<jhass> BlaXpirit: just generate a full path to it using __DIR__ at compile time and pass it to @[Link()]
<BlaXpirit> strange, I used string interpolation and it told me a String must be used.
<BlaXpirit> must be something else i did wrong
<jhass> BlaXpirit: {{__DIR__}} != #{__DIR__}
<BlaXpirit> i wrote like here
Philpax has joined #crystal-lang
Kurisu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<BlaXpirit> so when i compile my game in release mode, the colors in it seem to switch channels - and differently every time. so that's fun.
<BlaXpirit> but i guess that's to be expected with all the dirty hacks i did
steenuil has joined #crystal-lang
ponga has joined #crystal-lang
cristianoliveira has joined #crystal-lang
Oliphaunte has joined #crystal-lang
eserror has joined #crystal-lang
eserror has quit [Client Quit]
eserror has joined #crystal-lang
tamole has quit [Quit: away]
matp has quit [Remote host closed the connection]
matp has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
tamole has joined #crystal-lang
onec has joined #crystal-lang
onec has quit [Remote host closed the connection]
Oliphaunte has quit [Remote host closed the connection]
Oliphaunte has joined #crystal-lang
Oliphaunte has quit [Remote host closed the connection]
Raimondii has joined #crystal-lang
Yxhuvud has quit [Read error: Connection reset by peer]
Yxhuvud has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vKrgD
<crystal-gh> crystal/master 30fdda9 Ary Borenszweig: Merge pull request #2991 from crystal-lang/feature/ecr_dash...
<crystal-gh> [crystal] asterite closed pull request #2985: ECR: suppress newlines (master...suppress-new-lines) https://git.io/vKcRn
Raimondii is now known as Raimondi
fryguy9 has joined #crystal-lang
onec has joined #crystal-lang
fryguy9 has quit [Client Quit]
Philpax has quit [Ping timeout: 252 seconds]
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
trapped has quit [Read error: Connection reset by peer]
<travis-ci> crystal-lang/crystal#30fdda9 (master - Merge pull request #2991 from crystal-lang/feature/ecr_dash): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/145831252
Raimondii is now known as Raimondi
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
paulcsmith_ has joined #crystal-lang
Oliphaunte has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox_ has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
eserror has quit [Read error: No route to host]
eserror has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Raimondii has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
Raimondi has quit [Ping timeout: 240 seconds]
Raimondii is now known as Raimondi
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
tamole has quit [Quit: bye]
soveran has quit [Remote host closed the connection]
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulcsmith_ has joined #crystal-lang
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mark_66 has quit [Quit: Leaving.]
Kurisu_ has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
grindhold has quit [Ping timeout: 240 seconds]
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 240 seconds]
Oliphaunte has quit [Remote host closed the connection]
Kurisu_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomchapin has joined #crystal-lang
paulcsmith_ has joined #crystal-lang
ponga has quit [Quit: Connection closed for inactivity]
steenuil has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has quit [Remote host closed the connection]
grindhold has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
pawnbox has joined #crystal-lang
<FromGitter> <sdogruyol> hey all
<FromGitter> <sdogruyol> sup?
Oliphaunte has joined #crystal-lang
<RX14> i should stop watching films and work on multipart
<FromGitter> <sdogruyol> haha
<FromGitter> <sdogruyol> tbh i'm waiting on that :P
<RX14> yeah...
<FromGitter> <sdogruyol> it's the most crucial feature missing from Kemal atm
<RX14> i decided to marathon all the marvel universe films
<FromGitter> <sdogruyol> that's cool
<FromGitter> <sdogruyol> i mostly get bored after 1 film
<FromGitter> <sdogruyol> 2 hours is pretty darn enough for me
<RX14> i've been watching about 3 films a day
<FromGitter> <sdogruyol> :D
<FromGitter> <sdogruyol> meanwhile i need a shard for detecting the mime-type of a file
<FromGitter> <sdogruyol> ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=578e65cd2d04e058518b85b1]
<FromGitter> <sdogruyol> i am doing something like this to send a file to the client
<FromGitter> <sdogruyol> not sure if it's the best way though
<FromGitter> <sdogruyol> seems like i am copying the IO
trapped has joined #crystal-lang
<BlaXpirit> sdogruyol, strange that one doesnt seem to exist. libmagic binding seems trivial to me
<BlaXpirit> a libmagic reimplementation could be nice
<BlaXpirit> because its database is the valuable part
<FromGitter> <sdogruyol> well both of them are OK since none is existent
<FromGitter> <sdogruyol> i am surprised by the shit loads amount of weird mime-types out there
<pabs> i wrote a binding, it's sitting in one of my projects
<pabs> (for libmagic)
<BlaXpirit> pabs, y u no publish
<FromGitter> <sdogruyol> yeah
<pabs> i can rip it out and put it on github, it doesn't have any tests or anything though
<pabs> BlaXpirit: the source for it is in https://git.pablotron.org/guff/tree/src/guff/libmagic.cr and https://git.pablotron.org/guff/tree/src/guff/magic.cr if you're interested, like i said i can rip it out and make it a standalone library if you're interested
<BlaXpirit> pabs, i am not likely to need such a library but i think it's essential, would be really nice if you published it on github
<BlaXpirit> sdogruyol seems to need it though
<FromGitter> <sdogruyol> pabs that'd be great for me
trapped has quit [Read error: Connection reset by peer]
<FromGitter> <sdogruyol> i just added send_file stuff to Kemal but mime_type is missing
<pabs> ok
<BlaXpirit> well, at least my lib works well on llvm 3.8
<BlaXpirit> so hard to diagnose the problem, just random byte being changed to a random value
<FromGitter> <sdogruyol> pardon my question but where's the mime db stored in libmagic?
<BlaXpirit> sdogruyol, /usr/share/file/misc/magic.mgc on my system
<FromGitter> <sdogruyol> uhh
<FromGitter> <sdogruyol> so i have to make everyone install libmagic?
<RX14> if you use libmagic yes
<BlaXpirit> sdogruyol, yes. well that's the point of a binding, anyway
<RX14> if you reimplement it then you can bundle your own
<BlaXpirit> it's ubiquitous though
<RX14> well
<FromGitter> <sdogruyol> well, i don't think i can force people to do that
<RX14> well crystal already does
<RX14> for many other libs
<RX14> one more, especially one so ubiquitous is fine
<BlaXpirit> nano and subversion depend on file/libmagic :D
<BlaXpirit> but yeah it's not a nice position for a pure crystal lib to get such a dependency
<FromGitter> <sdogruyol> i actually don't like it
<FromGitter> <sdogruyol> wish we had more people porting stuff over like in Go-land
<FromGitter> <sdogruyol> but yeah we're not 1.0 yet
<RX14> libmagic is owned by the "file" package on arch
<RX14> which is part of core
<RX14> and the `file` util is on every linux server
<FromGitter> <sdogruyol> yeah
<FromGitter> <sdogruyol> well libmagic is ok but there are lots of other stuff you know
<RX14> i wish we could drop some deps too
<FromGitter> <sdogruyol> i'm really curious what would it take to rewrite libssl in pure Crystal :P
<jhass> time and knowledge
<FromGitter> <sdogruyol> that equals money :(
<RX14> we'll probably end up dropping boehm eventually
<RX14> libssl isnt such an issue
<RX14> because it's so universal
<jhass> yeah, already got rid of libpcl
<RX14> did we!?
<jhass> long time ago in fact
<jhass> around 0.7 iirc
<RX14> oh
<RX14> i confused pcre with pcl
<RX14> lol
<jhass> haha
<jhass> yeah I guess pcre would be good to be gone
<RX14> i knew we got rid of the coroutunes lib
<RX14> it's just a few buts of inline ASM now really isnt it
<RX14> lines*
<jhass> yeah
<jhass> libxml2 should go too
<RX14> huh
<jhass> and I guess gmp
<BlaXpirit> pcre would not be good to be gone :< i like it so much
<RX14> uhh
<BlaXpirit> reimplementation is crazy hard to make
<RX14> you never know
<jhass> libpcre has wildly different behavior depending on compile time flags used
<RX14> well
<jhass> and no, there's no standard among distros or sane defaults
<BlaXpirit> jhass, true. not its fault though
<RX14> thats weird
<RX14> it kidna is for exposing said options
<RX14> as compile time
<BlaXpirit> true too
<jhass> BlaXpirit: it's partly its fault for having stupid defaults forcing maintainers to make the decision
<BlaXpirit> some decade pcre2 may become a thing
<RX14> can crystal be statically linked like go?
<jhass> with some effort
<jhass> you need static versions of the stuff
<RX14> hmm
<FromGitter> <sdogruyol> gosh, i really need to get out of this web development mind-set
<BlaXpirit> uh probably
<FromGitter> <sdogruyol> i really want to dive into compiler stuff or something like making static linking happend :/
<jhass> it's possible, making it effortless will require reimplementing libc in Crystal. And libevent2 and other stuff
<FromGitter> <sdogruyol> jhass i know that in theory it's possible but i don't have a clue about how
<FromGitter> <sdogruyol> lol
<FromGitter> <sdogruyol> jhass what's your main feat for your daily job? I mean is it web, embedded e.g
<jhass> still looking
<jhass> trying to find something web based I think, but more backend work
<FromGitter> <sdogruyol> really?
<jhass> yes
<FromGitter> <sdogruyol> i feel sad for the companies who're not picking you up right now
<BlaXpirit> alright, I got my example isolated, and it wasn't my crazy bindings' fault after all!
<BlaXpirit> on crystal master, llvm3.5, --release
<BlaXpirit> outputs a different value of @g every time on the last line
<BlaXpirit> would be grateful for confirmation first of all
<jhass> uh
<BlaXpirit> what
<jhass> mh, no, always 110/228 for me
<jhass> ah wait, only master?
<BlaXpirit> not sure yet
<BlaXpirit> same on crystal-0.18.7
<BlaXpirit> running as crystal run --release bug.cr
<jhass> ah yes, with release
<jhass> seems to work with 3.8
<jhass> so not sure if worth fixing
<BlaXpirit> indeed it does
<BlaXpirit> of course it's worth fixing, ubuntu won't magically get llvm 3.8
<jhass> xenial has it
<FromGitter> <sdogruyol> thanks pabs
<BlaXpirit> it's a terrible hidden bug
<jhass> omnibus will link against a 3.8
<pabs> no documentation or tests, only the minimal amount of binding done (the open, close, file, and error calls, basically)
<FromGitter> <sdogruyol> well i just need to get the proper type that's it
<FromGitter> <sdogruyol> lemme give it a try
<jhass> it's not unlikely that'll we'll drop < 3.8 support soonish
<BlaXpirit> jhass pls
<pabs> sdogruyol: ok
<pabs> sdogruyol: the example from README.md should do what you want
<jhass> xenial is LTS
<BlaXpirit> pabs, good, thanks. i suggest name: libmagic as per https://github.com/crystal-lang/shards/blob/master/SPEC.md#name
<BlaXpirit> jhass, precise is travis
<FromGitter> <sdogruyol> uhh, ld: library not found for -lmagic
<FromGitter> <sdogruyol> so seems like not everyone has libmagic by default :/
<jhass> BlaXpirit: irrelevant, the compiler links statically against LLVM
<BlaXpirit> :(
<jhass> you don't need it to compile crystal programs
<pabs> sdogruyol: i had to install libmagic-dev (debian) for it to link
<pabs> err, libmagic1-dev
<FromGitter> <sdogruyol> uhh, that's a bummer
<pabs> but end users wouldn't need that
<jhass> depends on what you consider end users
<FromGitter> <sdogruyol> i consider developers as the end users in this case :P
<jhass> ;)
<FromGitter> <sdogruyol> and i don't want to enforce libmagic on them
<RX14> i thought `file` depended on libmagic
<FromGitter> <sdogruyol> why?
<RX14> it does
<RX14> oh yes
<pabs> you could call exec /usr/bin/file -bi /path/to/file
<RX14> the dev package
<RX14> derp
<RX14> i'm used to arch
<jhass> yeah, thanks debian!
<FromGitter> <sdogruyol> well, i'm on OS X
<FromGitter> <sdogruyol> ..
<jhass> how do they even manage to break linking?
<jhass> without -dev
<RX14> magic
<FromGitter> <sdogruyol> it gives you hell if you try to mess up with defaults
<BlaXpirit> jhass, no i don't think it's broken
<jhass> I mean, no header files, I follow
<jhass> BlaXpirit: it is
<RX14> it's not technically broken
<jhass> the linker doesn't find stuff without the -dev package
<RX14> it doesn't work
<BlaXpirit> i see no proof that linking to libmagic is broken on debian without libmagic-dev
<jhass> it's a general thing debian breaks
<BlaXpirit> well if you're so sure, ok
<BlaXpirit> i didn't know
<RX14> you need the a files
<jhass> no, .a is for static linking
<RX14> oh
<BlaXpirit> you don't need anything except for .so
<FromGitter> <sdogruyol> Phone: Do not even think of telephoning me about this program. Send cash first!
<FromGitter> <sdogruyol> ROFLMAO! This is on libmagic README
<BlaXpirit> it's an old program alright
<pabs> sdogruyol: if you don't want to depend on libmagic you can exec "/usr/bin/file -bi /path/to/file", that removes the dep (but you'll have an exec every time you need to do that instead of just using the database directly)
<FromGitter> <sdogruyol> lol, it's my first time seeing stuff like this
<jhass> ldd /usr/bin/file | grep magic
<jhass> libmagic.so.1 => /usr/lib/libmagic.so.1 (0x00007f0c62861000)
<jhass> libmagic seriously is ubiquitous, libmagic-dev not quite
<pabs> i agree it should be there, he said he was worried about the dependency so i'm trying to give him options
<FromGitter> <sdogruyol> jhass ldd /usr/bin/file | grep magic zsh: command not found: ldd
<FromGitter> <sdogruyol> OS X!
<jhass> otool -L
<pabs> from my 5 seconds of google research it looks like you have to use homebrew and "brew install libmagic" on osx
<FromGitter> <sdogruyol> yeah lol
<FromGitter> <sdogruyol> fuck, i'm just using it for the slick hardware
<FromGitter> <sdogruyol> other than that it's getting on my nerves
<BlaXpirit> ...
<pabs> ?
cristianoliveira has quit [Ping timeout: 276 seconds]
cristianoliveira has joined #crystal-lang
<RX14> i had hoped the surface/surface book would become MS's answer to macbooks
<jhass> MS just has to please too many stakeholders in order to deliver a consistent product. Hardware or software
<FromGitter> <sdogruyol> what do you guys use as a daily notebook?
ylluminate has joined #crystal-lang
<FromGitter> <mose> you mean what laptop?
<FromGitter> <sdogruyol> y
<FromGitter> <sdogruyol> yeah
<FromGitter> <mose> I got 3
<FromGitter> <sdogruyol> i mean as main notebook
<FromGitter> <sdogruyol> *
mentero has quit [Quit: Connection closed for inactivity]
<FromGitter> <mose> the tiny one is a macbook the one with only a usb-c port
<FromGitter> <mose> and the main one is a thinkpad x240
<FromGitter> <mose> thinkpads are very reliable
soveran has quit [Remote host closed the connection]
<FromGitter> <mose> but the macbook is lighter
<FromGitter> <sdogruyol> Yeah
<FromGitter> <mose> but I only use it for communication not coding
<RX14> i don't even have a daily laptop
<RX14> i don't go out
<FromGitter> <mose> haha here is the real geek caveman talking
<RX14> well i'm basically in what americans would call high school
<RX14> i go to that
<RX14> but i don't need a laptop for it
<RX14> so my only laptop is a singlecore celeron m with 1.5gb of ram and a batter that lasts 30 mins at best
<RX14> so i'm hardly a shutin just don't need a laptop
<RX14> when i go to uni in a year i'll need one
<FromGitter> <mose> yeah I rarely move my thinkpad too
<RX14> a self-built desktop is more efficient on my allowance
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<RX14> i had the monitors already and It's just cheaper
<FromGitter> <mose> makes sense
<FromGitter> <mose> when I went to univ there was no laptops
<FromGitter> <mose> hahaha
tomchapin has joined #crystal-lang
<FromGitter> <mose> kinda scary when I think about it now
<BlaXpirit> how to copy a crystal object (Reference) by simply copying all the bytes?
willl has joined #crystal-lang
<BlaXpirit> ah, seems like that's the default behavior https://github.com/crystal-lang/crystal/blob/68783f1e/src/reference.cr#L39
<RX14> yup
<BlaXpirit> OK but if I want to do this but then also do some rearrangements?
<BlaXpirit> - then I would call super - but what if I want to do this in a subsubclass?
<BlaXpirit> bleh, why not just copy this line
tomchapin has quit [Quit: Textual IRC Client: www.textualapp.com]
<FromGitter> <sdogruyol> boehm is so simple yet so useful, astonishing
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Ven has joined #crystal-lang
ylluminate has quit [Quit: Textual IRC Client: www.textualapp.com]
paulcsmith_ has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
<FromGitter> <jwoertink> lol searching for `crystal boehm` is hard
<FromGitter> <jwoertink> got a lot of facebook profiles though!
<jhass> this boehm
<FromGitter> <jwoertink> ah cool. Thanks!
<FromGitter> <jwoertink> omg. That's the thing I'm having issues with! lol
<FromGitter> <jwoertink> `dyld: Library not loaded: /usr/local/opt/bdw-gc/lib/libgc.1.dylib` haha
soveran has quit [Remote host closed the connection]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <cjgajard> lol, i've just had an `undefined method `includes?'` error in ruby.. i'm already more used to crystal :-P
<FromGitter> <jwoertink> :joy:
paulcsmith_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<RX14> >> :TEST == :TEST
<DeBot> RX14: # => true - https://carc.in/#/r/14c2
<RX14> >> :TEST.same? :TEST
<DeBot> RX14: undefined method 'same?' for Symbol - https://carc.in/#/r/14c3
<RX14> thats a bug
<RX14> or is it that same? isn't defined for all structs
<BlaXpirit> >> 5.same?(5)
<DeBot> BlaXpirit: undefined method 'same?' for Int32 - https://carc.in/#/r/14c4
<RX14> yeah
<RX14> so should be doesn't work on nice things
<RX14> BlaXpirit, where's your "assert" issue :/
<RX14> expectations are dumb
<BlaXpirit> i thought you would write it
<RX14> i thought you would write it
<BlaXpirit> i picked an example
<BlaXpirit> now, where was it xD
<RX14> i thought you converted it
<BlaXpirit> oh i did
<RX14> well
<BlaXpirit> hm that's not exacly it
<RX14> i wonder if I should make a generic-format http header parser
<RX14> because there are a lot of headers in the value; arg=val; arg=val format
<BlaXpirit> line 124, in particular, has been fixed upstream :3
<RX14> well if i'm honest BlaXpirit it would be nice if you made the issue because i'm busy on multipart
<BlaXpirit> sigh i'm busy on unrelated things
<RX14> fiiine
<BlaXpirit> RX14, well last time we ended the conversation on the thought that power_assert might need to be improved first
<RX14> yeah...
<RX14> well
<BlaXpirit> (my remarks linked above)
<RX14> the [] fix
<RX14> right
Oliphaunte has quit []
greengriminal has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
<RX14> de-quoting header vcalues going to be hard
<crystal-gh> [crystal] asterite pushed 3 new commits to master: https://git.io/vKoxS
<crystal-gh> crystal/master fe2b9fe Ary Borenszweig: Compiler: clean and document Crystal::Command
<crystal-gh> crystal/master e08dd27 Ary Borenszweig: Compiler: clean up and document Compiler code
<crystal-gh> crystal/master 3445d6d Ary Borenszweig: Doc: simpler code to write templates
Philpax has quit [Ping timeout: 252 seconds]
eserror has quit [Remote host closed the connection]
<travis-ci> crystal-lang/crystal#3445d6d (master - Doc: simpler code to write templates): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/145959215
crystal-lang018 has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 1 new commit to master: https://git.io/vKKUS
<crystal-gh> crystal/master d777ce2 Ary Borenszweig: Fixed #3014: Bug when casting from a pointer to abstract class
eserror has joined #crystal-lang
eserror has left #crystal-lang [#crystal-lang]