learod_ has quit [Remote host closed the connection]
learod has joined #crystal-lang
learod has quit [Remote host closed the connection]
learod has joined #crystal-lang
learod has quit [Remote host closed the connection]
learod has joined #crystal-lang
learod has quit [Ping timeout: 240 seconds]
<FromGitter>
<Blacksmoke16> @robacarp Will do, prob this weekend ill start messing with it
<FromGitter>
<Blacksmoke16> current only thing from making it perfect for atm so far (from just looking at docs and stuff) is a way of throttling the jobs, which i added a feature request for, so see what happens
<FromGitter>
<Blacksmoke16> prob figure out a hacky way to do it as a workaround for now
<FromGitter>
<Blacksmoke16> depending on how that goes maybe make a PR for it
learod has joined #crystal-lang
learod has quit [Remote host closed the connection]
learod has joined #crystal-lang
learod has quit [Remote host closed the connection]
learod has joined #crystal-lang
learod has quit [Remote host closed the connection]
learod has joined #crystal-lang
learod has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
snsei_ has joined #crystal-lang
snsei has quit [Ping timeout: 246 seconds]
t0nyandre has joined #crystal-lang
snsei_ has quit [Remote host closed the connection]
snsei has joined #crystal-lang
learod has joined #crystal-lang
<crystal-gh>
[crystal] ysbaddaden opened pull request #5857: Pedantic & controversial: rewrite/remove explicit nils (master...pedantic-drop-explicit-nils-as-noise) https://git.io/vx4lO
learod has quit [Remote host closed the connection]
snsei has quit [Remote host closed the connection]
<FromGitter>
<Jens0512> Can someone give a short explanation of what ARGF is?
snsei has joined #crystal-lang
snsei has quit [Remote host closed the connection]
snsei has joined #crystal-lang
<crystal-gh>
[crystal] Sija opened pull request #5858: Unify #inspect outut formatting in several places (master...unify-inspect-in-structs) https://git.io/vx4EI
<FromGitter>
<r00ster91> ARGF contains the arguments that you have specified behind `crystal yourfile.cr` ⏎ for example when you do `crystal yourfile.cr wewiiii9 uuui` ⏎ then ARGF will be `"wewiiii9 uuui"`
snsei has quit [Ping timeout: 276 seconds]
<FromGitter>
<Jens0512> Then whats the difference between `ARGF` and `ARGV`?
learod has joined #crystal-lang
learod has quit [Remote host closed the connection]
<FromGitter>
<r00ster91> hmm im not sure
learod has joined #crystal-lang
<FromGitter>
<r00ster91> there are some things you can get from ARGF. enter `ARGF.inspect`
<FromGitter>
<j8r> `ARGV` is directly an `Array(String)` of the arguments, equivalent of `ARGF.@argv`
<FromGitter>
<Jens0512> So the main difference is that ARGF also contains piped input, i think
learod has quit [Remote host closed the connection]
<FromGitter>
<Jens0512> How do I make it so `IO#gets_to_end` doesn't pause the program forever? 😓
learod has joined #crystal-lang
SuperChickeNES has quit [Ping timeout: 240 seconds]
ChickeNES has joined #crystal-lang
<FromGitter>
<Jens0512> Anyone here?
<shalmezad>
Probably not. It's about lunch time in the ET/CT timezones. Just stick around and someone may help once they get back (luckily gitter's persistent)
<FromGitter>
<Jens0512> I see, thanks, haha, these time zones can cause communication problems...
<shalmezad>
They cause other problems besides just communications. :/
Jenz has joined #crystal-lang
<Jenz>
Yeah
Jenz has quit [Client Quit]
learod has quit [Remote host closed the connection]
Jens_ has joined #crystal-lang
<Jens_>
Do I have to go parallel to make it so `IO#gets_to_end` doesn't pause the program forever?
<t0nyandre>
For everyone wanting to use Scry on Arch Linux; I've created a AUR for easy install. I am using it on vscode either way so I thought I could make it easy for the next person :) Again. ONLY for Arch Linux users I'm afraid. https://aur.archlinux.org/packages/scry-git
<Jens_>
I see you use the infamous arch :eyes:
<t0nyandre>
Oh yes :) :giggles:
<t0nyandre>
:D
<Jens_>
But what is different with downloading it from aur to git clone?
<t0nyandre>
Well, here it is as easy as downloading the PKGBUILD file and write this command: "makepkg -si" and you have all the deps. and a binary installed into /usr/bin/
<t0nyandre>
everything is automated for you :) so if u are going to use it in vscode u only need to point the vscode-crystal-lang ext. to the scry binaries
<Jens_>
¯\_(ツ)_/¯
<t0nyandre>
if u do it the git way ur self u have to clone, build and mv the binaries to the location u want it :)
<Jens_>
That doesn't seem very bad though, as I'm a Makefile maniac, I would have provided a Makefile for that (with scry)
<Jens_>
Maybe I should do that :thinking:
<Jens_>
Any Scry people here? Do you think a makefile for scry installation is a good idea?
<t0nyandre>
Jens_, why not? Make it accessible for as many people as possible!
<Jens_>
Well my ideas have a tendency to be turned down. I am quite new to the developing world
<t0nyandre>
the AUR is for Arch and it's the Arch way; but if you can maintain something for other distros, why not?
<t0nyandre>
I'll be back in 1 min. brb ;)
t0nyandre has quit [Quit: Leaving]
t0nyandre has joined #crystal-lang
<RX14>
Jens_, the thing is that with a MAKEPKG it's in the OS package manager just like any other package
<RX14>
you can uninstall it and be sure theres nothing left behind
<RX14>
also AUR helpers exist which make it as easy as `pacaur -S scry-git`
<RX14>
instead of git clone, cd, make, sudo make install
<Jens_>
You on Arch as well? :open_mouth:
<RX14>
yes
<RX14>
its not uncommon
<RX14>
its a fairly popular distr
<Jens_>
Yes, I just thought all arch users went around saying: 'I use arch btw'
<Jens_>
XD
<Jens_>
Sorry; that was a joke
<Jens_>
Only funny for non arch users i guess
<FromGitter>
<bew> :P (I use arch btw 😇 )
DTZUZU has quit [Quit: WeeChat 1.9]
<Jens_>
brb
DTZUZU has joined #crystal-lang
Jens_ has quit [Ping timeout: 240 seconds]
Jens_ has joined #crystal-lang
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter>
<sdogruyol> I also use arch lol
<t0nyandre>
We should create a IRC/Gitter bot that prints all the nicks that uses arch when someone writes "!archlinux" :P
That_Guy_Anon has quit [Ping timeout: 240 seconds]
duane has quit [Ping timeout: 256 seconds]
Jens_ has quit [Quit: leaving]
azur_kind has joined #crystal-lang
<FromGitter>
<bararchy> Does someone have an example Dockerfile for a project or shard using Crystal ?
<FromGitter>
<picatz> @bararchy I do not. But now you have me extremely interested. 💭
<FromGitter>
<bararchy> :)
<FromGitter>
<bararchy> always happy to provide intrig and mistery
azur_kind has quit [Remote host closed the connection]
shalmezad has quit [Quit: Leaving]
thews has quit [Ping timeout: 264 seconds]
thews has joined #crystal-lang
thews has joined #crystal-lang
thews has quit [Changing host]
alex`` has quit [Quit: WeeChat 2.0.1]
<FromGitter>
<unn4m3d> There's a dockerfile in crystal repo 😄
t0nyandre has joined #crystal-lang
<FromGitter>
<vonKingsley> given a list of types is there a way to get the `sizeof` of each type. ⏎ Something along the lines of ⏎ ⏎ ```types = {UInt32, UInt8, UInt16, UInt32} ⏎ ⏎ types.each do |t| ⏎ puts sizeof(t) ⏎ end``` [https://gitter.im/crystal-lang/crystal?at=5ab5886b35dd17022e93d17b]
<FromGitter>
<bew> Is the list of types known at compile time?