<flaviu>
Ctags isn't particularly effective though, especially on short identifiers.
<flaviu>
I use pt as a searching tool, and ctags is only a little better then dumb text search.
<flaviu>
"out foo" is a clever idea!
shama has quit [Remote host closed the connection]
c355E3B has joined #crystal-lang
<datanoise>
ctags displays method/class definitions, with grep you have to waddle through all call sites, which is too much in most projects
asterite has joined #crystal-lang
bcardiff has quit [Quit: Leaving.]
bcardiff has joined #crystal-lang
asterite has quit [Ping timeout: 246 seconds]
shama has joined #crystal-lang
Cidan is now known as zz_Cidan
<flaviu>
well, you can hack around that most the time with clever queries
shama has quit [Remote host closed the connection]
mdz_ has joined #crystal-lang
kulelu88 has quit [Quit: Leaving]
mdz_ has quit [Ping timeout: 264 seconds]
bcardiff has quit [Quit: Leaving.]
<crystal-gh>
[crystal] waj pushed 1 new commit to master: http://git.io/vIOdt
<crystal-gh>
crystal/master 04fb587 Juan Wajnerman: Process both read and write events coming from libevent in the same call (should fix crystal-redis/issues#2)
shama has joined #crystal-lang
pleiosaur has joined #crystal-lang
<travis-ci>
manastech/crystal#2412 (master - 04fb587 : Juan Wajnerman): The build passed.
<jhass>
and the day we land on HN carc.in's host has a harddisk replaced >.<
<jeromegn>
oh
<jhass>
(it's done and back up, raid is rebuilding)
<jeromegn>
nice
<jeromegn>
I’ve been wondering, why does the standard lib include OAuth stuff?
<jhass>
probably because they used it for one of their projects
datanoise has quit [Ping timeout: 256 seconds]
<jeromegn>
perhaps
benhuda has joined #crystal-lang
<benhuda>
hello
<jhass>
hi
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waj has quit [Quit: waj]
<benhuda>
im very excited about crystal. came here following the HN post :)
<benhuda>
although Crystal isn't proven enough so that I take it to production (web services) im thinking of building my CLI tooling with it (system, devop, etc)
<benhuda>
i've noticed it generates binaries even smaller than Go (I've directed my company to seriously invest in Go)
<benhuda>
to a more experienced crystalist, does this make sense?
<benhuda>
also i'm wondering if theres any kind of roadmap/vision/timeline I can take a look at
<benhuda>
my intuition tells me this can be much bigger than Elixir or JRuby
<flaviu>
I'm curious as to why binary size is important.
<jhass>
benhuda: afaik it's because Go statically links everything while crystal tends to dynamically link
<benhuda>
flaviu well, in Go, binaries creep up to 20M in size when we use real-life libraries, and so far we like to compose our tools as well. our devops maintain 40-50 different tools (much of them in the data science/hadoop area)
<jhass>
doing dynamic linking is subject to discussion but I hope I'll be able to make the case for keeping it as an option
<benhuda>
but generally it's not a concern, just an indicator of static/dynamic linking (which i see the answer from jhass :)
vikaton has joined #crystal-lang
asterite has joined #crystal-lang
Ven has joined #crystal-lang
<flaviu>
I've gotten around to changing codegen_many_units, and simply tearing out all the forking gets me a 2x speedup.
havenwood has joined #crystal-lang
<asterite>
flaviu: cool! what the code looks like? 2x speedup in which phase?
<flaviu>
It's an overall 2x speedup, time make all takes half the time
<flaviu>
I'd expect another major speedup once I make so that the threads are only forked once.
<asterite>
Almost 10_000 came from hackernews, the other times it was something around ~2_000 or ~3_000, I don't know why today more people went in... maybe because it's weekend
willl has joined #crystal-lang
<asterite>
flaviu: in my case without the parelleization, compiling the compiler, in the bc+obj phase it takes 30s
<asterite>
I'll have to try that on linux, will do soon
<jhass>
interesting, I'd think more would make it from the homepage to the repo
<jhass>
http://carc.in/#/r/1xx hrm, I don't want to know how many people are set up by that one
<benhuda>
i just had a nice 'wow' feeling with the crystal CLI - awesome work on crystal guys! im getting a really feeling about it!
<benhuda>
jhass its the quality and maturity of discussion on HN that counts. it's nice to have posts judged and critiqued by the cream of the crop of VCs, entreprenuers, techies, and generally smart people
<asterite>
jhass: it's fixed on master, maybe we should release 0.7.3 :-)
<BlaXpirit>
wow, fixes coming so fast
<asterite>
benhuda: yes, I liked that too. I didn't see a comment like "your language sucks" or "who needs another language?", all comments are humble and well thought
<benhuda>
asterite if you guys don't really know HN, i can bring you up to date. usually if you're at the top 10, and get to be #1, you're really *really* worth it
<benhuda>
theres a few anti-fraud algorithm that no one really know how they work, so it's very hard to "trick" your way into top 10
<benhuda>
but, from my experience (i pushed around 4-5 projects into the top 10 over the last 3-4 years) there are some topics HN as a living and breathing organism likes
<benhuda>
it changes with time, but for the last 2-3 years, anything with "Go" in it goes right up. anything with Elixir for the last 6months or so goes right up. Clojure used to be a blessed topic, like Go, but lately is not.
<benhuda>
so, from these facts alone - here's a trick for you guys when you need another boost -- publish a Go/Crystal comparison, benchmark, or anything really.
<jhass>
asterite: I know
<benhuda>
it'll make it to top 10 quickly, and you're going to be positioned really well per next posts on HN.
<benhuda>
i'm not saying be a HN junkies.. but the 40k/day visits of raw talent sometimes can really help a community
Ven has joined #crystal-lang
<jhass>
and all I'm saying re HN/reddit is that I'm never sure I actually seeing everything of all that well thought stuff unless I'm spending an unjustified amount of time there
<benhuda>
jhass you're right, theres a time investment there but it covers my daily bathroom readings well :)
<asterite>
benhuda: I'd like to let things evolve by themselves. This HN wasn't made by any of us, probably someone that recently discovered crystal. I also personally don't do public benchmarks against other languages as benchmarks have many things taken into account and it's hard to make conclusions. But we always try to make sure to have reasonable performance
<jhass>
with unjustified I mean I just would need some way to influence the sorting, new since/hotlist with the last 10 comments that jump through them, something like that
<jhass>
nothing hard to do
<asterite>
benhuda: if Crystal is good people will eventually realize it and start using it and improve it and its ecosystem... we could push things with HN or other stuff, but I wouldn't like it
<benhuda>
asterite i'm with you on evolving. But i came from HN, and i'm willing to help with Crystal :). I'm excited to start the week and I'm going to get our devops start doing tooling with Crystal. I think it'll be awesome. Hopefully from this come some feedback to you guys, fixes, and perhaps libraries that we'll develop.
<benhuda>
you can't measure the HN effect yet.. but since i've experienced it a few times, it's going to last a year or so :)
sandelius has joined #crystal-lang
asterite has quit [Ping timeout: 246 seconds]
<vikaton>
I'm usually the person to post thing on /r/programming or HN about articles or releases of the languages that more attention
<vikaton>
the ones I support of course
<benhuda>
anyways i'll go back to working. i think crystal right now has a huge sweet spot for CLI tooling; i'm going to go for that and hopefully make a few tools, blog posts to share about the process.
<jhass>
btw did that rgsoc project start already?
asterite has joined #crystal-lang
c355E3B has joined #crystal-lang
<asterite>
benhuda: hope you enjoy crystal :-) But I'd be careful to use it for production apps, but if it's some CLI for internal usage I would definitely try it
<benhuda>
yep :)
<asterite>
jhass: I saw this the other day: http://railsgirlssummerofcode.org/blog but I don't think they will do the twitter cl (didn't see it mentioned)
<jhass>
oh, that's sad
<jhass>
interesting, we got one sponsored, I wonder who mentors it....