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