<hmans>
If there's no blog post about 0.19, maybe at least change this channel's topic...? :>
<hmans>
bitch, bitch, bitch all day, it's all I can
dhk has joined #crystal-lang
<BlaXpirit>
hmans, yeah this release wasnt done properly
<BlaXpirit>
also no docker image
<BlaXpirit>
and it was done too soon imho
<hmans>
I still love you
soveran has quit [Remote host closed the connection]
BlaXpirit has quit [Quit: Bye]
BlaXpirit has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
soveran has joined #crystal-lang
pawnbox has joined #crystal-lang
Philpax has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
badeball_ is now known as badeball
FromGitter has quit [Remote host closed the connection]
BlaXpirit has quit [Quit: Bye]
FromGitter has joined #crystal-lang
pawnbox has joined #crystal-lang
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
BlaXpirit has joined #crystal-lang
BlaXpirit has quit [Client Quit]
BlaXpirit has joined #crystal-lang
globalkeith has joined #crystal-lang
pawnbox has joined #crystal-lang
bott has joined #crystal-lang
bott has quit [Client Quit]
pawnbox has quit [Ping timeout: 264 seconds]
LastWhisper____ has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
ruby_ has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
akwiatkowski has quit [Ping timeout: 244 seconds]
<asterite>
I uploaded docker images yesterday, before that I had some troubles with docker for mac
mgarciaisaia1 has joined #crystal-lang
mgarciaisaia1 has left #crystal-lang [#crystal-lang]
pawnbox has joined #crystal-lang
m4t has joined #crystal-lang
<m4t>
Hi, I'm trying to convert a ruby app and I'm stuck trying to find an equivalent of « send("attribute_#{i}") » to set and get object attributes
<FromGitter>
<sdogruyol> You don't have send in Crystal
<RX14>
m4t, can you give us an idea of exactly what you're trying to do?
ponga has quit [Quit: Connection closed for inactivity]
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<asterite>
m4t: maybe you can replace that with an array? i looks like an index
<m4t>
the idea is to access attributes from a string. My app have some attributes named « pit_1, pit_2 etc... » and I want to manipulate it inside a loop like [1,2,3].each {|i| object.send("pit_#{i}") }
<m4t>
my english is not terrible sorry
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/vilDf
<crystal-gh>
crystal/master 4d69af6 Ary Borenszweig: Compiler: support same type names modulo case. Fixes #3116
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/vilDk
<crystal-gh>
crystal/master fbb5b16 Ary Borenszweig: Added missing spec for HTTP::ChunkedContent
<crystal-gh>
[crystal] asterite opened pull request #3279: Add file-private types. Part of #2950 (master...feature/file_private_types) https://git.io/vilDx
<asterite>
m4t: case i; when 1; pit_1; when 2; pit_2
ruby_ has quit [Remote host closed the connection]
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
<FromGitter>
<jwoertink> Has anyone attempted to add something like GDB in to crystal yet?
<FromGitter>
<jwoertink> Like a shard, or even in to the language itself....
<BlaXpirit>
jwoertink, i think generic debugger for llvm works
<BlaXpirit>
or what do you mean
<BlaXpirit>
sdogruyol, I don't think the 'to' macro does anything
<FromGitter>
<jwoertink> I'm not too familiar with debugging in a static language outside of using something like XCode where you click and have a debugger
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<FromGitter>
<jwoertink> I want to use something like Pry from ruby. I know GDB can do all that stuff
<FromGitter>
<jwoertink> like remote debugging, and setting breakpoints, etc..
<BlaXpirit>
adding prints is state of the art anyway
<FromGitter>
<sdogruyol> BlaXpirit well i want to call and return the proc with to("index_route")
<FromGitter>
<sdogruyol> any ideas?
mark_66 has quit [Remote host closed the connection]
aaaaaaaaaaaaaaaa has joined #crystal-lang
aaaaaaaaaaaaaaaa has quit [Client Quit]
Philpax has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
globalkeith has joined #crystal-lang
pawnbox has joined #crystal-lang
dhk has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
globalkeith has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 265 seconds]
soveran has quit [Remote host closed the connection]
globalkeith has joined #crystal-lang
LW___ has joined #crystal-lang
LastWhisper____ has quit [Ping timeout: 244 seconds]
qard has joined #crystal-lang
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
akwiatkowski has joined #crystal-lang
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
georgiev has joined #crystal-lang
<georgiev>
Hello
<georgiev>
Anybody up?
<FromGitter>
<sdogruyol> yo
<georgiev>
I would like to ask if crystal is featuring garbage collector
<georgiev>
and if there is possibility for manual memory managment
<asterite>
georgiev: crystal has a GC, you can use struct and tuple to avoid heap allocations. And you can invoke LibC.malloc if you really want to
<georgiev>
Thank you for your answer
<georgiev>
May I ask what algorithm is used to implement the GC?
<georgiev>
or I should dig into the cod
<georgiev>
code*
<BlaXpirit>
boehm/libgc
<georgiev>
Thanks again
pawnbox_ has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
<crystal-gh>
[crystal] bcardiff pushed 1 new commit to master: https://git.io/vi8Zx
<crystal-gh>
crystal/master 7cd0fa6 Brian J. Cardiff: Add WeakRef class (#3276)...
georgiev has quit [Quit: Page closed]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 240 seconds]
LW___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Ven_ has joined #crystal-lang
LastWhisper____ has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<BlaXpirit>
so I need to store a diff of two texts in memory
<BlaXpirit>
so maybe I can call `diff` but only one of the files that it accepts can be stdin
onethirtyfive has quit [Ping timeout: 240 seconds]
mkl0501 has joined #crystal-lang
Val has joined #crystal-lang
<FromGitter>
<jwoertink> when I run `crystal build whatever.cr -d` I get a bunch of `Unsupported type for debugging` notices... Not sure if they're errors or warnings
<FromGitter>
<jwoertink> is that something that should be reported?
globalkeith has joined #crystal-lang
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vonKingsley has joined #crystal-lang
<vonKingsley>
Quick Q, Precompiled binaries pick up the libs directory, but when I build from source It doesn't pick up the libs directory from `pwd`. Is there anything I need to add to get that behavior?
<BlaXpirit>
vonKingsley, I don't think precompiled binaries are supposed to pick up anything
<BlaXpirit>
I don't understand
<vonKingsley>
BlaXpirit I compile from source and then alias as ccrystal, when I use this to build outher projects, from the project root directory, I always get an error while requiring "xxxxx": can't find file 'xxxx' relative to `my current path`
<BlaXpirit>
vonKingsley, do you alias ccrystal='/full/path/to/crystal/bin/crystal' ?
<vonKingsley>
alias ccrystal='/Users/vonkingsley/Code/Crystal/current_crystal/crystal'
<BlaXpirit>
vonKingsley, I don't understand what all these directories are.
<BlaXpirit>
vonKingsley, inside the crystal folder cloned from github, you run `make`
<BlaXpirit>
and use 'bin/crystal'
<vonKingsley>
after running make the binary ends up in .build/crystal, for some reason I cannot remmeber any more, i move that over to the path you see above
<BlaXpirit>
vonKingsley, well don't do that!
m4t has quit [Quit: Lost terminal]
<vonKingsley>
LOL yup I just ran the one in bin/crystal and it works and is the same version
<vonKingsley>
ill redirect my alias and it should work
<vonKingsley>
thanks
pduncan has joined #crystal-lang
vonKingsley has quit [Quit: Page closed]
zacts has joined #crystal-lang
akwiatkowski has quit [Ping timeout: 244 seconds]
onethirtyfive has joined #crystal-lang
onethirtyfive has quit [Ping timeout: 255 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]