jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.6 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
kyrylo has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
<Renich> I have a broken symlink http://fpaste.org/263853/44141176/
<Renich> here's my whole process: http://fpaste.org/263855/14122271/
tatey_ has quit []
daveshah has joined #crystal-lang
<daveshah> So, exploring Crystal for the first time...
<daveshah> You're telling me that when I crystal init I get git, spec, travis, and a README?
<daveshah> I kinda <3 Crystal right now.
<Renich> OK, I made this script to build crystal: http://fpaste.org/263859/14414144/
<Renich> it doesn't work for me; but, at least, I can virtualize Fedora and see if it builds there
havenwood has joined #crystal-lang
daveshah has quit [Remote host closed the connection]
ylluminate has quit [Ping timeout: 256 seconds]
fowlduck has joined #crystal-lang
luislavena has quit []
fowlduck has quit [Ping timeout: 240 seconds]
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 250 seconds]
waterlin1 has joined #crystal-lang
waterlink has quit [Ping timeout: 256 seconds]
ylluminate has joined #crystal-lang
tatey_ has joined #crystal-lang
blue_deref has quit [Quit: Taking myself out of hear.]
<kyrylo> Who played with me 1 minute ago?
havenn has quit [Ping timeout: 264 seconds]
waterlin1 has quit [Ping timeout: 246 seconds]
tatey_ has quit []
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 246 seconds]
dylanmei has joined #crystal-lang
dyulax has joined #crystal-lang
dyulax has quit [Quit: This computer has gone to sleep]
waj has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 250 seconds]
kyrylo has quit [Ping timeout: 250 seconds]
<crystal-gh> [crystal] asterite pushed 1 new commit to master: http://git.io/vGxDf
<crystal-gh> crystal/master 42f3be0 Ary Borenszweig: Update CHANGELOG.md
<travis-ci> manastech/crystal#42f3be0 (master - Update CHANGELOG.md): The build passed. https://travis-ci.org/manastech/crystal/builds/78859878
qard has joined #crystal-lang
DeBot has quit [Ping timeout: 264 seconds]
waj has quit [Remote host closed the connection]
havenwood has joined #crystal-lang
n0xff has joined #crystal-lang
jhass has quit [Ping timeout: 252 seconds]
asterite has quit [Ping timeout: 240 seconds]
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #crystal-lang
blue_deref has joined #crystal-lang
leafybasil has quit [Ping timeout: 246 seconds]
leafybasil has joined #crystal-lang
leafybas_ has joined #crystal-lang
leafybasil has quit [Read error: Connection reset by peer]
qard has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tatey_ has joined #crystal-lang
blue_deref has quit [Quit: Taking myself out of hear.]
DeBot has joined #crystal-lang
asterite has joined #crystal-lang
jhass has joined #crystal-lang
BlaXpirit has joined #crystal-lang
<jhass> Renich: where's exporting LIBRARY_PATH?
jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.7.7 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
trapped has joined #crystal-lang
havenwood has quit [Ping timeout: 250 seconds]
<dzv> is there a recommended profiler for crystal programs?
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<crystal-gh> [crystal] jhass opened pull request #1373: Cleanup gh-pages setup (gh-pages...gh-pages-setup) http://git.io/vGpmQ
<jhass> dzv: not that I'm aware of
<jhass> I guess it'd be an achievement to get useful information out of any in fact :P
<dzv> build -d doesn't seem to work
<jhass> yes
<jhass> llvm 3.6 and 3.7 changed debug info representation, crystal still generates the 3.5 format
<dzv> is fixing that a complicated task?
<jhass> I know waj has been looking into it and it hasn't happened yet, sooo
kyrylo has joined #crystal-lang
<BlaXpirit> Kilo`byte, are you ready to finally do the thing? (dbus)
<trapped> is there a generic db interface in crystal? a driver wrapper with a solid api, that is
<jhass> no, but waj & asterite said yesterday they're looking into defining such an interface
<trapped> it'd be really helpful
<Kilo`byte> BlaXpirit: uh, i am about to go out buy some stuff, later this afternoon/tonight
* Kilo`byte hopes he doesn't forget
<jhass> >> `crystal -v`
<DeBot> jhass: # => "Crystal 0.7.7 (Sat Sep 5 09:09:29 UTC 2015)\n" - http://carc.in/#/r/dsd
vegai has quit [Ping timeout: 252 seconds]
vegai has joined #crystal-lang
waterlink has joined #crystal-lang
ssvb has quit [Ping timeout: 264 seconds]
elia has joined #crystal-lang
elia has quit [Quit: Computer has gone to sleep.]
dyulax has joined #crystal-lang
dyulax has quit [Client Quit]
havenwood has joined #crystal-lang
n0xff has quit [Ping timeout: 260 seconds]
Ven has joined #crystal-lang
ledestin has joined #crystal-lang
<jhass> gosh, this omnibus stuff is a real pain
n0xff has joined #crystal-lang
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ven has quit [Ping timeout: 264 seconds]
Ven has joined #crystal-lang
Ven has quit [Client Quit]
dyulax has joined #crystal-lang
<crystal-gh> [crystal] 5t111111 opened pull request #1375: Fix a typo in the document (gh-pages...fix-typo-in-document) http://git.io/vGhTA
<crystal-gh> [crystal] jhass closed pull request #1375: Fix a typo in the document (gh-pages...fix-typo-in-document) http://git.io/vGhTA
Ven has joined #crystal-lang
ssvb has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kyrylo has quit [Ping timeout: 250 seconds]
ssvb has quit [Ping timeout: 264 seconds]
kyrylo has joined #crystal-lang
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 246 seconds]
kulelu88 has joined #crystal-lang
<sardaukar> I don't understand my error here http://carc.in/#/r/dsq
<sardaukar> shouldn't I be able to store descendants of A class on that tuple?
<BlaXpirit> sardaukar, oh i remember something like this. yeah, compiler is not advanced enough :(
<sardaukar> really? then why do we have the + on classes?
<sardaukar> isn't it for cases like this one?
<BlaXpirit> sardaukar, it can't see it through 3 levels of indirection
<BlaXpirit> array of tuple of t+
<sardaukar> hmm
<sardaukar> kinda shitty :D
Ven has joined #crystal-lang
<jhass> sardaukar: http://carc.in/#/r/dt8 workaround
<sardaukar> hmm, thanks
<sardaukar> just opened an issue, guess I'll close it
ssvb has joined #crystal-lang
<sardaukar> so, I can't assign something to an array by index directly?
<jhass> nope, what would it be filled up with?
waterlink has quit [Ping timeout: 264 seconds]
<sardaukar> nil (like in Ruby)
<jhass> the + is a compiler internal btw, it means nothing in the code
<jhass> but your array can only contain A's
<jhass> no nils
<sardaukar> not even sure if A+? does what I think it does
<jhass> now do it for when it can contain nils but raise if not? that'd be inconsistnt
<sardaukar> it's kinda consistent with what the array can hold
<sardaukar> but I see your point
<jhass> use Array(A?).new(20, nil) or something
<sardaukar> so I don't need A+ to specify "descendants of A" ?
<jhass> yes, as said it's a compiler internal which probably shouldn't even exposed to the user
<sardaukar> why not? seems useful
<jhass> it's an indicator, there's no semantic to it
shadeslayer has quit [Ping timeout: 240 seconds]
shadeslayer has joined #crystal-lang
NeverDie has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenn has joined #crystal-lang
havenwood has quit [Ping timeout: 272 seconds]
Ven has joined #crystal-lang
havenn is now known as havenwood
havenwood has quit [Ping timeout: 252 seconds]
waj has joined #crystal-lang
Ven has quit [Ping timeout: 244 seconds]
<crystal-gh> [crystal] ibash opened pull request #1378: Add before_each and after_each to spec dsl (master...add_before_after_dsl) http://git.io/vGjJh
Ven has joined #crystal-lang
juancate_ is now known as juancate
juancate has quit [Changing host]
juancate has joined #crystal-lang
Ven has quit [Read error: Connection reset by peer]
waj has quit [Remote host closed the connection]
fowlduck has joined #crystal-lang
waj has joined #crystal-lang
Renich has quit [Ping timeout: 244 seconds]
fowlduck has quit [Ping timeout: 246 seconds]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
waj has quit [Read error: Connection reset by peer]
waj_ has joined #crystal-lang
dyulax93 has joined #crystal-lang
dyulax has quit [Ping timeout: 250 seconds]
Ven has joined #crystal-lang
waj_ has quit [Read error: Connection reset by peer]
waj has joined #crystal-lang
daveshah has joined #crystal-lang
waterlink has joined #crystal-lang
<jhass> waj: what hacks did you apply to make that omnibus stuff work...
<waj> what do you mean? what's not working for you?
<jhass> I fixed the Vagrantfile but when I run build: http://paste.mrzyx.de/pbts0mfiq
<waj> Oh... THAT error! :)
<jhass> see :D
<waj> I couldn't find a proper fix yet, but a workaround is: comment all the llvm_bin related stuff and run the build
<jhass> oh well
<waj> it will fail, but then rollback the changes and the next time it will work
<jhass> what about switching to 3.6 or even 3.7 btw?
<jhass> could probably get rid of the custom patch and all that
<jhass> but there has to be a better way in general...
<jhass> might be worth investing some time into build.opensuse.org ;)
<waj> yes, we probably should move to 3.6
<waj> and yes! automated build would be great!
<jhass> yeah, in fact I wish we had nightlies
<jhass> could use them on Travis etc
<waj> we can use docker already on travis, rigth?
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<waj> I setup this automated docker some time ago: https://quay.io/repository/manastech/crystal-head
<waj> the one in the official registry doesn't work bc of memory limits :(
<waj> I don't know much about packaging in distros. I also tried to do an automated build in ubuntu launchpad
<waj> but should we instead send a new package to debian directly? how build.opensuse.org is related with that?
<jhass> ah well mid term goal is to get into debians & fedoras repos, yeah
<jhass> but not for the nightlies
<jhass> build.opensuse.org is what OpenSuse uses as buildserver, but the system they used supports many targets
<jhass> so they host a repo for you that you can add
<jhass> I did that for arch as alternative to building from the AUR yourself until we got accepted to communityy
<jhass> anyway, progress I guess http://paste.mrzyx.de/ppsjfequd
<jhass> so build.opensuse.org is similar to launchpad, except not limited to ubuntu
<jhass> ah, I see, it shouldn't be the tarball but a symlink to the compiler
leafybas_ has quit [Ping timeout: 250 seconds]
<waj> yup
<waj> I'm not proud of that omnibus stuff, but I works... :P
<waj> so we could use build.opensuse.org to continue making the .tar.gz with minimal external dependencies, and some day have a package in debian / launchpad that uses the dependencies existing in the distro, right?
<waj> something that bothers me for example is that the version of libgc in ubuntu is really old, so in order to fit properly in their package system we need first to ask to the maintainers to release a new version
<waj> we might be getting rid of some dependencies soon
<waj> like libpcl. I started to work on asm context switching in "new-fibers" branch
<waj> and libunwind, I want to make it optional
kulelu88 has left #crystal-lang ["Leaving"]
<waj> we also have libevent and pcre, but available versions in distros should work just fine
daveshah has quit []
<jhass> actually the tarball might the hardest to do on build.opensuse.org (or let's call it OBS since that's the software running there and much shorter :P)
<jhass> it'd make the deb and rpm creation a tad easier
<jhass> well, possibly
<jhass> it's a rather crufty system itself tbh
<waj> well... to be honest, when I started reading the docs about creating a deb package it was all soooo confusing
<waj> so omnibus, although not perfect, was much easier to me
<waj> of course, only for this purpose, making a standalone package
<jhass> I can understand, I never succeeded in building a deb either :D
<jhass> arch's package manger is just so much simpler and less convoluted
daveshah has joined #crystal-lang
<jhass> and debian's policies don't exactly help either
waj has quit [Remote host closed the connection]
NeverDie_ has joined #crystal-lang
daveshah has quit [Remote host closed the connection]
waj has joined #crystal-lang
daveshah has joined #crystal-lang
dyulax93 has quit [Quit: Saindo]
dyulax has joined #crystal-lang
dyulax93 has joined #crystal-lang
dyulax has quit [Client Quit]
daveshah has quit [Remote host closed the connection]
<dyulax93> BlaXpirit, when I add "BlaXpirit/crystal-raw-chipmunk" to the Projectfile and run "crystal reps", it does not add the library to ./libs/ dir. Do you know what could be wrong?
<BlaXpirit> dyulax93, uh the lib name is probably invaliud
<BlaXpirit> dyulax93, maybe use name: "chipmunk" like here https://github.com/BlaXpirit/crsfml-examples/blob/master/cube/Projectfile
<dyulax93> It creates a symlink from raw-chipmunk to a "src" empty file... that seems odd
<dyulax93> hmm let me see
<crystal-gh> [crystal] sferik opened pull request #1381: Log compiler errors to STDERR (master...stderr) http://git.io/vGjob
emancu has joined #crystal-lang
<dyulax93> It works BlaXpirit. Thank you!
blue_deref has joined #crystal-lang
<trapped> running `crystal tool [cmd] -h` prints `Usage: crystal [cmd]` instead of `Usage: crystal tool [cmd]`
<BlaXpirit> trapped, sounds like an easy pull request
nakilon has joined #crystal-lang
<nakilon> hi guys
<jhass> hi
<jhass> waj: mh, how do I build the tarball?
<nakilon> I'm new in crystal
<jhass> that's great! ;D
<nakilon> am I right that the exmaple program from the main noob-IT news resouce http://habrahabr.ru/post/258083/ spawns 100 some kind of enumerators?
<waj> jhass: the tarball is built automatically for macos and centos
<jhass> aw
<nakilon> it kinda puts new loop on the stack
<jhass> I see, thx
<nakilon> *main Russian noob-IT resource
<BlaXpirit> nakilon, something something https://gist.github.com/Kilobyte22/e51a6b16703694f861a3
<jhass> nakilon: do you know fibers or coroutines?
<nakilon> jhass, only read about them (
<nakilon> I'll check this gist out now
<jhass> you can sort of picture them as lightweight in userland threads
<jhass> that's what spawn does. and yeah, check the gist
<jhass> ?whatisspawn=You can find a brief introduction to Fibers/Coroutines here: https://gist.github.com/Kilobyte22/e51a6b16703694f861a3
<DeBot> jhass: Set whatisspawn.
<BlaXpirit> jhass, what's the point of the "whatis" part?
<BlaXpirit> isn't "?" already that?
<jhass> dunno
<jhass> I didn't think much about it
<jhass> ? is just the trigger for me
<BlaXpirit> even you'll forget that you called it "whatisspawn" :p
<jhass> like ! or . or % or whatever there's in the wild
<jhass> probably
<[spoiler]> jhass: What *is* spawn?
<jhass> btw it's not restricted for now, go havoc ;P
<jhass> [spoiler]: a macro :D
<[spoiler]> I was just making a joke!
omninonsense has joined #crystal-lang
emancu has quit []
waj has quit [Remote host closed the connection]
emancu has joined #crystal-lang
<nakilon> should I heavily use fibers to success with crystal?
<nakilon> or rewritnig my existing iterative nested-looping code from Ruby will have the same run speed?
<jhass> ah there's no general yes or no to that
<jhass> if your code does lots of (blocking) IO, it will definitely benefit from using fibers
<jhass> else, not so much
<nakilon> ok, my code was just too slow to solve the Project Euler problem ..D want to translate it into smth fast and yet clean
fowlduck has joined #crystal-lang
<jhass> doubt you'll benefit from fibers here ;)
omninonsense has quit [Quit: Cheers!]
omninonsense has joined #crystal-lang
fowlduck has quit [Ping timeout: 244 seconds]
waterlink has quit [Ping timeout: 256 seconds]
<crystal-gh> [crystal] Nakilon opened pull request #1383: Cleaned up sample about prime numbers (master...patch-1) http://git.io/vGjNB
dylanmei has quit [Quit: ZZZzzz…]
<nakilon> yay
<nakilon> https://github.com/ruby/ruby/blob/trunk/lib/prime.rb isn't ported yet -- should I try to do this or is there anyone more proficient in Crystal who is already working on it?
omninonsense has quit [Quit: freenode]
<jhass> which algo would you implement?
omninonsense has joined #crystal-lang
omninonsense has quit [Client Quit]
omninonsense has joined #crystal-lang
<nakilon> I need #.prime? for my project euler problem
<nakilon> probably it's enough for me to use this https://github.com/ruby/ruby/blob/trunk/lib/prime.rb#L139 and make the prime number generator from the example from habrahabr.ru
<nakilon> there is no "__END__" in Crystall ..(
<nakilon> neither "=begin"... how do I block comment?
<nakilon> sorry for newb questions
<BlaXpirit> nakilon, #
<nakilon> since I didn't find Syntax Documentation
<BlaXpirit> use a text editor that can comment and uncomment pieces of code by adding # to every line
<BlaXpirit> nakilon, http://crystal-lang.org/docs
<jhass> iirc Ruby prime stdlib just does Eratosthenes?
<nakilon> BlaXpirit, but line-comments and block-comments are different things
<nakilon> jhass, implemented in different ways while solving PE for years ) don't want to reinvent the wheel again ) the exact port of algorithm should be fine -- fiding the correct Crystal usage would be a real 'problem'
<nakilon> BlaXpirit, also by Sublime can't Crystal syntax
<jhass> I also have one which autoinserts #'s, https://packagecontrol.io/packages/DocBlockr I think
<nakilon> lol install graph shows that people write code only at work (
<BlaXpirit> jhass, strange that this behavior isn't available by default
<nakilon> or comments
<BlaXpirit> my editor, when i press "toggle comments", adds/removes #
<jhass> sure
<BlaXpirit> but nobody made a crystal thingy for my editor :|
<jhass> with autoinsert I mean it enters the # and indentation when you press enter while inside one
<BlaXpirit> ok then
fowlduck has joined #crystal-lang
NeverDie_ is now known as NeverDie
fowlduck has quit [Ping timeout: 240 seconds]
havenwood has joined #crystal-lang
Renich has joined #crystal-lang
Renich has joined #crystal-lang
<Renich> o/
dylanmei has joined #crystal-lang
BlaXpirit has quit [Quit: Konversation]
<jhass> o/
<Renich> jhass: hey man. What time is it in your city?
<jhass> 23 PM (CEST)
<Renich> oh, not so bad then
<Renich> I's 16:12 here
<Renich> In Guadalajara, México
<jhass> cool
<Renich> so, about the script
<jhass> yeah, getting a fedora chroot atm
<Renich> added the lib path. Just to be clear, it is pointing to the binary's embedded/lib directory
<Renich> cool
<nakilon> is this a right way to decalre my array? or it can be simplier: s = Array.new(0, [] of Int64)
<jhass> nakilon: that's just [] of Array(Int64)
<nakilon> oh thx
<jhass> or Array(Array(Int64)).new if you prefer
[spoiler] has quit [Quit: WeeChat 1.1]
<nakilon> weird that it's not [] of [] of Int64
<nakilon> or Array(Array(Int64))
<jhass> [] of Foo is an instance, syntax for Array(Foo).new so to say, note the .new
<jhass> so [] of [] of Foo would be like saying Array(Array(Foo).new).new
<jhass> using an instance as type
<nakilon> got it
<nakilon> and what's wrong with this one? ( http://pastie.org/private/v5gbw0u8aqfkdtle8qx41a
<nakilon> nvm
waj has joined #crystal-lang
<nakilon> "can't cast Float64 to Int64" and seems like .round doesn't cast it to Integer (
<Renich> ./clear
<Renich> whoops
Ven has joined #crystal-lang
<nakilon> ok then, how to cast Float64 to Int64? my issue is in this line: x = (10**(n-1) - 1) as Int64
<waj> nakilon: use `to_i`
leafybasil has joined #crystal-lang
<jhass> or to_i64 for this case
<nakilon> got it
leafybas_ has joined #crystal-lang
leafybasil has quit [Ping timeout: 246 seconds]
fowlduck has joined #crystal-lang
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fowlduck has quit [Ping timeout: 240 seconds]
ylluminate has quit [Remote host closed the connection]
<nakilon> ok so my program runs, runs, runs and always fails on the line, where it ran successfully thousand of times a second earlier: http://pastie.org/private/f0uptz4mv875qqqc2briq
<Renich> jhass: man, have to get AFK for a while. See you some other time
<nakilon> how do I debug this backtrace?
<Renich> btw, tried 0.7.7 and same thing
<nakilon> I put some print before 32th lne, but idk how to go deeper
<Renich> bye
Renich has quit [Quit: leaving]
n0xff has quit [Ping timeout: 240 seconds]
<nakilon> the error is in line "filter(ch, ch1, prime)", where prime is printed as 101 right after 'prime = ch.receive' and 'ch1 = Channel(Int64).new': http://pastie.org/private/mqirvuxlq2mdokhfqk4jdq
<jhass> nakilon: mmh yeah we still lack generating proper debug info atm, many small methods make finding these easier :P
<jhass> the +nn things aren't line numbers actually iirc
<jhass> gist the full code?
<crystal-gh> [crystal] ibash closed pull request #1378: Add before_each and after_each to spec dsl (master...add_before_after_dsl) http://git.io/vGjJh
<jhass> nakilon: there's no autosplat, so in the select m is the inner array (should probably be a tuple btw), x is always nil. the array (m) is never equal to g thus select is always empty, thus the map is always empty, thus the inject fails
<jhass> to guard against the valid empty inject case, use .inject(0)
<jhass> nakilon: oh and actually we got a .sum
<nakilon> seems like bugisn't in the prime numbers related code, but in s.select{ |m, x| m == g }.map(&.last).inject{ |i, j| i + j }
<nakilon> hm
<nakilon> gtg afk 30 min
<jhass> the whole last 20 lines are a textbook example of why single letter vars are bad IMO :P
blue_deref has quit [Quit: Taking myself out of hear.]
omninonsense is now known as [spoiler]
Ven has joined #crystal-lang
trapped has quit [Ping timeout: 272 seconds]
fowlduck has joined #crystal-lang
fowlduck has quit [Ping timeout: 256 seconds]
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dyulax93 has quit [Read error: Connection reset by peer]
dyulax93 has joined #crystal-lang
<crystal-gh> [crystal] asterite pushed 3 new commits to master: http://git.io/vZewq
<crystal-gh> crystal/master a1dfdfa Ary Borenszweig: Continued YAML::PullParser
<crystal-gh> crystal/master 98621b8 Ary Borenszweig: Partially fixed #538
<crystal-gh> crystal/master 082e7e9 Ary Borenszweig: Removed some TODOs
<travis-ci> manastech/crystal#98621b8 (master - Partially fixed #538): The build has errored. https://travis-ci.org/manastech/crystal/builds/78949257
<nakilon> [01:16:21] <jhass> the whole last 20 lines are a textbook example of why single letter vars are bad IMO :P
<nakilon> there are no universal rules ..P
<jhass> you're from russia, right?
<nakilon> in euler as in mathematical formulas it's more handy to have variables called with one letter
<nakilon> right
<jhass> the weird thing is I have noticed that in particular russians tend to defend the single letter variables use
<nakilon> this case is about Project Euler
<nakilon> S, M, N, D are from https://projecteuler.net/problem=111
<jhass> idk, maybe that's why I suck at math too, too many single letter variables :P
<nakilon> haha
waj has quit [Remote host closed the connection]
waj has joined #crystal-lang