<maxpowa>
Question: how would I use setlocale(3) from crystal, would it be part of "LibC" or would I need to bind it myself?
<travis-ci>
crystal-lang/crystal#c5e1388 (master - make builds cross compile to correct target if using the llvm triple (--target) x86_64-apple-darwin16.1.0 which my sierra box with llvm 3.9 advertises): The build passed. https://travis-ci.org/crystal-lang/crystal/builds/183392823
<FromGitter>
<bcardiff> @maxpowa you would need to bind for the time being.
<maxpowa>
Ok, thanks.
<FromGitter>
<bcardiff> it should be part, definitely. But to not block you I suggest binding, wrap and make a nice api for locales :-)
<maxpowa>
Hweh I dont hate myself quite enough for that :P Honestly I just need it in order to make a curses binding work with unicode :V
A124 has quit [Ping timeout: 248 seconds]
A124 has joined #crystal-lang
<FromGitter>
<bcardiff> je.. bind and hack the needed value then :sparkles:
<crystal-gh>
[crystal] dylandrop opened pull request #3683: Add documentation to the HTML module (master...add-documentation-to-html) https://git.io/v1ipK
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 244 seconds]
Raimondii is now known as Raimondi
mgarciaisaia has quit [Quit: Leaving.]
mooe has quit [Quit: Connection closed for inactivity]
<crystal-gh>
[crystal] asterite pushed 1 new commit to master: https://git.io/v1P58
<crystal-gh>
crystal/master 9d2deee Ary Borenszweig: Fixed #3684: redefine Channel#pretty_print to avoid using uninitialized variable
Philpax has joined #crystal-lang
greengriminal has quit [Quit: This computer has gone to sleep]
<crystal-gh>
[crystal] asterite closed pull request #3651: Add --time flag to show real execution time of crystal run (master...feature/time-flag) https://git.io/v1ukM
<FromGitter>
<splattael> Is anyone using GitLab CI to run tests for crystal repo itself? Sometimes, I use a GitLab CI instead of waiting for Travis to pick-up.
<FromGitter>
<splattael> Is it feasible to provide a `.gitlab-ci.yml` to crystal repo (next to `.travis.yml`)?
<FromGitter>
<asterite> I'd prefer to use either CI, probably circle is a bit better... I wouldn't use both at the same time
soveran has quit [Ping timeout: 250 seconds]
<FromGitter>
<splattael> @asterite Ok, but would you mind to have a `.gitlab-ci.yml` checked in although it is not used by the repo? ...only used by others (like me) :P
<BlaXpirit>
well the difference between those is just an array
<BlaXpirit>
hard to say if the memory size of the channel instance itself is all there is to it, may be some reference to it in the event loop or whatever
<BlaXpirit>
but i'd say it's almost never worth even considering the memory consumption of these
<FromGitter>
<johnjansen> Anyone know off the top of their head how to post binary data with Http::Client that would like to save me some time :-)
<RX14>
you can use an IO, slice or string as a body
soveran has quit [Remote host closed the connection]
hako_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sp4rrow>
can you make an ios app with crystal
<RX14>
sp4rrow, no
<sp4rrow>
ok thanks
pawnbox has quit [Ping timeout: 260 seconds]
<FromGitter>
<david50407> @splattael cool, thx
sp4rrow has quit [Quit: Textual]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
sp4rrow has joined #crystal-lang
soveran_ has joined #crystal-lang
vivus-ignis has quit [Ping timeout: 260 seconds]
soveran has quit [Ping timeout: 252 seconds]
<FromGitter>
<drosehn> http://www.rubymotion.com -- @sp4rrow , you might want to check rubymotion for making iOS apps
gloscombe has quit [Remote host closed the connection]
akwiatkowski has joined #crystal-lang
<FromGitter>
<crisward> Does anyone know if puts has a max length - seems to stop at 1024 characters?
<sp4rrow>
@drosehn thanks :)
<FromGitter>
<drosehn> Hmm. I used `puts` to print out a string which was 2600 characters.
<BlaXpirit>
crisward, no it doesnt stop -_- do you have anything to back up your claim?
<FromGitter>
<crisward> I'm trying to read some post data from http, I'm using puts to output it. If I use `puts str` it outputs a string which is 1024 in length. If I user `puts str.size` I get 1235, which is the length of the string. Not sure if its because the source is IO. Using `ctx.request.body.not_nil!.gets_to_end` to get string.