qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<crystal-gh>
[crystal] asterite pushed 4 new commits to master: http://git.io/vGKL3
<crystal-gh>
crystal/master 2c7db51 Ary Borenszweig: Allowing passing URI to `HTTP::Client.get` and related methods
<crystal-gh>
crystal/master a9dd952 Ary Borenszweig: Docs: don't show ancestors past Object.
<crystal-gh>
crystal/master aea39a9 Ary Borenszweig: Docs: simplified args to_s code by reusing a method
kyrylo has joined #crystal-lang
<travis-ci>
manastech/crystal#799b539 (master - Documented HTTP::Client and put some type restrictions and return types. Also hide HTTP::Content from docs): The build passed. https://travis-ci.org/manastech/crystal/builds/78327577
waterlin1 has joined #crystal-lang
waterlink has quit [Ping timeout: 264 seconds]
kyrylo has quit [Ping timeout: 244 seconds]
fowlduck has quit [Remote host closed the connection]
waj has joined #crystal-lang
<dyulax>
is this the CSS you guys have been implementing for API docs?
blue_deref has quit [Quit: Taking myself out of hear.]
waj has quit [Read error: Connection reset by peer]
waj_ has joined #crystal-lang
leafybasil has quit [Remote host closed the connection]
waj_ has quit [Read error: Connection reset by peer]
waj has joined #crystal-lang
waj has quit [Read error: Connection reset by peer]
waj_ has joined #crystal-lang
ssvb has quit [Ping timeout: 240 seconds]
ssvb has joined #crystal-lang
havenwood has joined #crystal-lang
waterlin1 has quit [Quit: leaving]
waj_ has quit [Remote host closed the connection]
<crystal-gh>
[crystal] ktaragorn opened pull request #1349: Fix all cases of "Missing hash value" to "Missing hash key" (master...fix_hash_key_error_message) http://git.io/vGKwS
dylanmei has joined #crystal-lang
<dzv>
is there a way to get a branch running on travis without sending a PR?
havenwood has quit [Ping timeout: 252 seconds]
havenwood has joined #crystal-lang
fowlduck has joined #crystal-lang
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 250 seconds]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
leafybasil has joined #crystal-lang
leafybasil has quit [Ping timeout: 260 seconds]
BlaXpirit has joined #crystal-lang
<jhass>
dzv: enable Travis for your repo, edit .travis.yml and remove the notifications section, add your branch to the branches whitelist, be careful to not push master while travis is enabled
ssvb has quit [Ping timeout: 252 seconds]
<crystal-gh>
[crystal] jhass pushed 2 new commits to master: http://git.io/vG6mk
<crystal-gh>
crystal/master 9e1095b Jonne Haß: Merge pull request #1349 from ktaragorn/fix_hash_key_error_message...
<crystal-gh>
crystal/master 6ce0b72 Karthik T: Fix all cases of "Missing hash value" to "Missing hash key"
ssvb has joined #crystal-lang
<crystal-gh>
[crystal] jhass pushed 3 new commits to master: http://git.io/vG6Yp
<crystal-gh>
crystal/master 944bd54 Guilherme Bernal: DRY on HTTP::Response.from_io
<crystal-gh>
crystal/master d171c7a Guilherme Bernal: Fix behavior of HTTP::Response with headers without content-length...
<crystal-gh>
crystal/master f7b3260 Guilherme Bernal: Fix UnknownLengthContent read/write to not require a count argument
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven has joined #crystal-lang
ylluminate has joined #crystal-lang
leafybasil has joined #crystal-lang
Ven has quit [Ping timeout: 264 seconds]
tatey_ has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
<crystal-gh>
[crystal] PragTob opened pull request #1350: We can use llvm 3.5 or newer to build crystal (gh-pages...llvm-version-doc-update) http://git.io/vGifi
trapped has joined #crystal-lang
Ven has joined #crystal-lang
<crystal-gh>
[crystal] phortx opened pull request #1351: Implemented %W and %U time format pattern (master...feature/time-format-week-of-year) http://git.io/vGikY
willl has quit [Quit: Connection closed for inactivity]
Ven has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 244 seconds]
BlaXpirit_ has joined #crystal-lang
BlaXpirit_ has quit [Ping timeout: 244 seconds]
BlaXpirit_ has joined #crystal-lang
Ven has joined #crystal-lang
Ven has quit [Ping timeout: 250 seconds]
<BlaXpirit_>
can I bypass GC when creating an Object?
<BlaXpirit_>
i.e. allocate memory and properly initialize an object and manually delete it when i want
waj has joined #crystal-lang
<jhass>
mmh, not sure
<jhass>
>> class Foo; def initialize(@bar, @baz); end; end; sizeof(Foo)
<asterite>
And then you could probably do `foo = malloc(instance_sizeof(...)) as Foo; foo.initialize`... but not sure
<jhass>
as Foo*).value, no?
<crystal-gh>
[crystal] jhass closed pull request #1350: We can use llvm 3.5 or newer to build crystal (gh-pages...llvm-version-doc-update) http://git.io/vGifi
<asterite>
Mmm... I'm confused :)
<jhass>
well, malloc returns Void*, cast it to Foo*, get its value to get the object, .initialize it
<jhass>
>> Libc.malloc
<DeBot>
jhass: Error in line 4: undefined constant Libc (did you mean 'LibC'?) - http://carc.in/#/r/dki
<jhass>
>> LibC.malloc
<DeBot>
jhass: Error in line 4: wrong number of arguments for 'LibC#malloc' (0 for 1) - http://carc.in/#/r/dkj
<jhass>
good, still there
<jhass>
>> class Foo; def initialize(@foo); end; end; foo = (LibC.malloc(instance_sizeof(Foo)) as Foo*).value; foo.initialize("hey"; foo
<DeBot>
jhass: Syntax error in eval:4: expecting token ')', not ';' - http://carc.in/#/r/dkk
<jhass>
>> class Foo; def initialize(@foo); end; end; foo = (LibC.malloc(instance_sizeof(Foo) as Foo*).value; foo.initialize("hey"; foo
<DeBot>
jhass: Syntax error in eval:4: expecting token ')', not ';' - http://carc.in/#/r/dkl
<jhass>
wat
<jhass>
oh
<jhass>
>> class Foo; def initialize(@foo); end; end; foo = (LibC.malloc(instance_sizeof(Foo)) as Foo*).value; foo.initialize("hey"); foo
<DeBot>
jhass: Error in line 4: argument 'size' of 'LibC#malloc' must be UInt32, not Int32 - http://carc.in/#/r/dko
qard has quit [Read error: Connection reset by peer]
qard has joined #crystal-lang
<waj_>
jhass: I don't know if you read my messages last night. I debugged a little bit the problem in 32bit and it seems something is going on with the backtraces
icebattle has quit [Quit: Page closed]
<jhass>
yeah, saw that but don't have much to reply tbh :)
<waj_>
no problem
<waj_>
I changed the code so it doesn't use libunwind at all
<waj_>
but now it segfaults instead of looping forever
<waj_>
I'll call this an improvement! :D
<waj_>
seems like the stack is corrupted
<waj_>
something that bothers me is that I cannot reproduce the same problem in a 32bit box, only while using linux32
<jhass>
mmh
<jhass>
but I mean it should work regardless, no? :P
<waj_>
yes, but I wonder if is something related with that