ChanServ changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.22.0 | Fund Crystal's development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
Renich has quit [Quit: Renich]
<FromGitter> <Betawolf1213> Hello! I just heard about crystal yesterday and was blown away
<FromGitter> <bew> welcome to the futur :)
<FromGitter> <Betawolf1213> Been a while since code made me go woah
<FromGitter> <Betawolf1213> So right now I'm making a security framework tool and I'm looking to rewrite it would be this a good lang to use?
<FromGitter> <bew> crystal can do anything :)
<FromGitter> <Betawolf1213> Can someone make the argument why I'd use this over Ruby/Python itself? I really like this lang but I'm not 100% sure it would do what I need
<FromGitter> <Betawolf1213> Well any lang can basically do anything
<FromGitter> <bew> true
<FromGitter> <Betawolf1213> Does anyone have any project repos I can see?
<FromGitter> <Betawolf1213> or apps they are working on
<FromGitter> <bew> here there are some projects & libs: http://awesome-crystal.com/
<FromGitter> <bew> the only thing I would say against crystal is that the langage is not 1.0 so it's not a good idea to use it in production yet (even if it's pretty stable), because some things might change (in the language or in the stdlib)
<FromGitter> <bew> a big advantage over python/ruby is that it's compiled, so very fast and type safe
<FromGitter> <Betawolf1213> Thanks
<FromGitter> <Betawolf1213> Yea I know it hasn't hit 1.0 sorry gitter froze
<FromGitter> <Betawolf1213> Thats what I was thinking the fact that it's a compiled lang will be helpful for speed
<FromGitter> <fridgerator> @Betawolf1213 do you use ruby currently?
<FromGitter> <Betawolf1213> For other things yea but not this project ⏎ I'm planning on moving over the code to ruby ⏎ but then I saw this
<FromGitter> <fridgerator> ah ok
<FromGitter> <bew> What kind of seurity framework do you plan to do?
<FromGitter> <Betawolf1213> Why is it everything Github makes is super laggy? I love atom and gitter but god
<FromGitter> <Betawolf1213> an awesome secert one Jk
<FromGitter> <Betawolf1213> I'll send you the empy repo
<FromGitter> <Betawolf1213> https://github.com/KodaOps
<FromGitter> <Betawolf1213> Just has a read me
<FromGitter> <Betawolf1213> I am... btw looking for some devs to work on it
<FromGitter> <Betawolf1213> I'm a 5 man company and only one man dev but my coding is horrible compared to my security ability
<FromGitter> <Betawolf1213> I've talked to some of the big names in tool dev like dave kennedy and so on and they like it
<wmoxam> that's why
<FromGitter> <crisward> Does anyone know of any coverage tools written for Crystal, I could only find a mention here - https://github.com/crystal-lang/crystal/issues/1157 which is 2yrs old.
<FromGitter> <Betawolf1213> ahh yea the god old electron
<FromGitter> <Betawolf1213> hogger of all hogs
<FromGitter> <Betawolf1213> It does make stuff look pretty tho
<FromGitter> <Betawolf1213> like really pretty
<FromGitter> <Betawolf1213> I knew electron was a hungry thing but I didn't realize slack used it
<FromGitter> <Betawolf1213> jeez I have slack,gitter,atom,chrome,skype,wire all opened at the same time right now
<FromGitter> <Betawolf1213> I'm a bad person
<FromGitter> <fridgerator> lol
<wmoxam> you must hate your laptop's battery
<wmoxam> RIP
<onionhammer> @FromGitter slack doesnt use electron, it uses CEF iirc
<FromGitter> onionhammer, I'm a bot, *bleep, bloop*. I relay messages between here and https://gitter.im/crystal-lang/crystal
<onionhammer> sorry, @Betawolf1213
<FromGitter> <Betawolf1213> Don't say sorry to me lol I was just reading the link and the guy said it uses it eh
<FromGitter> <Betawolf1213> anyway I never leave my laptop unplugged for long anyway
<FromGitter> <Betawolf1213> It's sleeping when I go places and always plugged in outside of that
<FromGitter> <fridgerator> slack uses electron
<FromGitter> <Betawolf1213> Which I know is generally bad to always leave it plugged in but eh
<FromGitter> <Betawolf1213> Dev fight!!!
<FromGitter> <Betawolf1213> Jeez I'm only here for a few mins and you guys already want to fight :P
<FromGitter> <Betawolf1213> Real devs don't unplug their laptops amiright? @fridgerator
<FromGitter> <fridgerator> ha
<FromGitter> <Betawolf1213> Shit it went silent they are planning on kicking me out *Leaves*
<FromGitter> <Betawolf1213> So anyone here making anything cool in Crystal?
<FromGitter> <fridgerator> did you check the awesome crystal link?
<FromGitter> <Betawolf1213> I did
<FromGitter> <bew> a big nice crystal project is the crystal compiler itself, which is written in crystal
<FromGitter> <Betawolf1213> But I'm asking about personal projects
<FromGitter> <fridgerator> I wrote an ORM, and a fantasy football genetic algorithm *shrugs*
<FromGitter> <Betawolf1213> I was just reading about that
<FromGitter> <Betawolf1213> I went to your blog since I was nosy
<FromGitter> <fridgerator> lol nice
<FromGitter> <fridgerator> I do that too
<FromGitter> <Betawolf1213> lol
<FromGitter> <Betawolf1213> My profile is bare don't look!
<FromGitter> <Betawolf1213> *covers up*
<FromGitter> <fridgerator> too late
<FromGitter> <Betawolf1213> Dammit
<FromGitter> <Betawolf1213> You saw my Freecodingcamp and learn something maother lol
<FromGitter> <Betawolf1213> My ways of making sure I don't forget the basics
<FromGitter> <fridgerator> I have a friend thats into security stuff, he does the NetWars thing
<FromGitter> <Betawolf1213> Nice Sans netwars is sweet
<FromGitter> <Betawolf1213> Whats the higest lvl hes gotten to?
<FromGitter> <fridgerator> i dont know much about it, i'm just looking at pictures, but looks like level 4?
<FromGitter> <Betawolf1213> Nice
<FromGitter> <Betawolf1213> It's an expensive game but sans gives out training for the entire thing which is sweet
<FromGitter> <Betawolf1213> and 4 is when the real fun beings setting up servers and defending em while attacking others
<FromGitter> <fridgerator> nice
<FromGitter> <Betawolf1213> Oh no wait thats lvl5
<FromGitter> <Betawolf1213> Lvl4 is still cool though
<FromGitter> <fridgerator> @Betawolf1213 have you seen https://github.com/trustedsec/ptf
<FromGitter> <Betawolf1213> Yea
<FromGitter> <Betawolf1213> I know dave
<FromGitter> <Betawolf1213> and the trustedsec team
<FromGitter> <Betawolf1213> I said eariler that me and him talked about my idea and he was all thumbs up
<FromGitter> <fridgerator> oh right, you mentioned his name earlier
<FromGitter> <Betawolf1213> It's a big different than metasploit and his stuff
<FromGitter> <Betawolf1213> *bit
<FromGitter> <Betawolf1213> Talked about it indept with him and he though it was a good idea as well as a few others in the scene
<FromGitter> <Betawolf1213> My programming skills just suck
<FromGitter> <Betawolf1213> Or I'd have at least a beta out
<FromGitter> <fridgerator> security / pen testing always interested me, but I never took the time to learn
<FromGitter> <Betawolf1213> It's kinda like programming for me it's always been this cool thing for me but I started late (I know that's not a thing) but yea
<FromGitter> <Betawolf1213> I do know HTML,CSS so on
<FromGitter> <Betawolf1213> tiny bit JS but not really enough
<FromGitter> <Betawolf1213> and PHP again tiny
<FromGitter> <Betawolf1213> but python and ruby are my fave
<FromGitter> <Betawolf1213> I know enough to get some basic scripts out
<FromGitter> <Betawolf1213> enough ruby to fix other peoples code
<FromGitter> <Betawolf1213> but not enough to build out a real strucuted application
bjz has joined #crystal-lang
<FromGitter> <Betawolf1213> in ruby
<FromGitter> <fridgerator> word
<FromGitter> <Betawolf1213> Which is sad cause ruby is kinda easy so is python lol
<FromGitter> <fridgerator> yeah the syntax is easy, but the structure of a bigger application just takes experience
<FromGitter> <fridgerator> imo
<FromGitter> <Betawolf1213> Exactly
<FromGitter> <Betawolf1213> something I'm sorely lacking
<FromGitter> <Betawolf1213> sadly
<FromGitter> <Betawolf1213> but I want to build this thing sooo bad!
<FromGitter> <bew> try crystal! you should try some crystal on a baby project, and when start to feel confortable, start some little parts of you projects, be sure to test them as you code, and go on :)
<FromGitter> <Betawolf1213> Yea I think I will
<FromGitter> <bew> & there's almost always someone here if you have any questions
<FromGitter> <Betawolf1213> If you read the read me page you'll see that it's supposed to be a framework of tools for even the lastest exploits
<FromGitter> <Betawolf1213> I think it might be a cool idea to grab the recent shadowbroker stuff even though it's exploits from 2013 and build a leg off of that
<FromGitter> <Betawolf1213> But I need to find the time to sit d own and really go through it
<FromGitter> <bew> How to call a captured block with a `with self ???` ?
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<FromGitter> <Betawolf1213> Is crystal currently able to be identified in ATOM? or would I put it under ruby?
<FromGitter> <Betawolf1213> Answered my own question no worries thanks!
<FromGitter> <Betawolf1213> Also how well does it run in the windows 10 wannabe bash? or should I just spin up fedora and call it a day
<FromGitter> <Betawolf1213> or arch
<wmoxam> Its not working on Windows yet
<FromGitter> <Betawolf1213> Ok, I'm just asking cause the site was saying expermentally you can use the bash on windows 10 and run it
<FromGitter> <Betawolf1213> so I was wondering how well off that is
<wmoxam> oh, TIL
<FromGitter> <Betawolf1213> lol
<wmoxam> I haven't run Windows in years, so I haven't followed its progress too closely
<FromGitter> <Betawolf1213> No worries I run windows for all other sorts of stuff but I have linux VMs for days
<FromGitter> <Betawolf1213> Maybe that's why I'm not a great programmer
<FromGitter> <Betawolf1213> I haven't let behind the world of windows
<wmoxam> It works on OpenBSD as well if you're into that
<FromGitter> <Betawolf1213> Like real BSD not that MAC bs
<FromGitter> <Betawolf1213> lol
<wmoxam> I think most programmers are on Windows
<wmoxam> just not web devs
<FromGitter> <Betawolf1213> True but lots of webdevs on mac
<FromGitter> <Betawolf1213> yea
<FromGitter> <Betawolf1213> Lot's of JS people on mac as well
<wmoxam> still plenty of them on Windows though
<FromGitter> <Betawolf1213> So true
<FromGitter> <Betawolf1213> Well I'll just boot up a linux vm once I finish learning the added new things
_whitelogger has joined #crystal-lang
_whitelogger has joined #crystal-lang
<FromGitter> <exts> @wmoxam i'm both, but i write crystal on my linux mint desktop atm
<FromGitter> <Betawolf1213> @exts so best bet would just be to write it in Linux then
<FromGitter> <exts> i do both
<FromGitter> <exts> pc's are like 2 ft away from each other lol
<FromGitter> <exts> i do work from vagrant though on both, nice to have exact production environment
<FromGitter> <Betawolf1213> So how well does it run on Windows then? Using bash
<FromGitter> <Betawolf1213> I use atom as mine
<FromGitter> <exts> crystal? oh idk, I meant I do web dev on both my computers (not using crystal though)
<FromGitter> <Betawolf1213> Oh ok
<FromGitter> <Betawolf1213> And sorry vagrant would be hugly differe
<FromGitter> <exts> i like working from my windows computer since i have my 3 monitor setup, it's nice. my linux uses a wide screen monitor which is nice too, just not the same though :)
<FromGitter> <Betawolf1213> Oops ignore that I can't seem to delete on the mobile app
<FromGitter> <Betawolf1213> 38inch widescreen might change that tho
<FromGitter> <Betawolf1213> How big is your widescreen
<FromGitter> <Betawolf1213> The bigger the better in terms of multi vs one monitor setups
<FromGitter> <Betawolf1213> Like a 40inch 4k monitor beats out three single 27inch monitors
<FromGitter> <Betawolf1213> That are 1080p
<FromGitter> <exts> um let me check
<FromGitter> <Betawolf1213> And an actual monitor not a TV not gonna go into detail but for work TVs make horrible monitors
<FromGitter> <exts> 29" IPS, not bad, but it's like maybe two 20" monitors pushed together almost
<FromGitter> <exts> since the widescreen kind of thins it
<FromGitter> <Betawolf1213> Yeah if you ever want to upgrade go to 38-39 and you won't think too highly of the multi monitor setup lol
<FromGitter> <exts> no plans tbh
<FromGitter> <Betawolf1213> But multi monitor still has it's place
<FromGitter> <exts> those are expensive
<FromGitter> <Betawolf1213> I'd just rather have 1-2 38-40in monitors than anything
<FromGitter> <Betawolf1213> Also Korean monitors
<FromGitter> <exts> bought the one i got LG during black friday. it costs around 300 something atm
<FromGitter> <Betawolf1213> Look into that good stuff good prices
<FromGitter> <Betawolf1213> Korean monitors are basically the same exact thing just different housing different board often better and cheaper
<FromGitter> <Betawolf1213> Jeez I sound like a salemen
<FromGitter> <exts> yeah, just personal preference the way i have it setup (height and all) is how i've always had it and what I'm most used to
<FromGitter> <exts> lol
<FromGitter> <Betawolf1213> No that's good that's how productive nature sticks
<FromGitter> <Betawolf1213> Plus what works for one dev does not work for another
<FromGitter> <Betawolf1213> I do know that most devs I've told to go to the 40in 4k realm have never come back lol they went and now I can't get them to leave it
<FromGitter> <schoening> @Betawolf1213 ok thats a brilliant name haha
<FromGitter> <Betawolf1213> @schoening what is? My handle?
<FromGitter> <schoening> Yeah
<FromGitter> <Betawolf1213> Thanks, has a meaning to it as well. A lot of people in the infosec community just call me "the wolf"
<FromGitter> <schoening> Haha. Sounds like a Tarantino reference
<FromGitter> <Betawolf1213> Aha doesn't it
<FromGitter> <Betawolf1213> I just noticed that
<FromGitter> <Betawolf1213> What did they call the clean up guy in pulp fiction?
<FromGitter> <schoening> Quite a lot of people on the interwebs calling themselves alpha, which I find ridiculous so that betawolf is fun
<FromGitter> <schoening> Oh yeah he is from pulp fiction. I thought reservoir dogs. But it's just the same actor
<FromGitter> <Betawolf1213> Yeah he's called the wolf in pulp fiction I just realised the connection lol
<FromGitter> <Betawolf1213> It is the same actor
<FromGitter> <schoening> Hah
<FromGitter> <Betawolf1213> I'm already an alpha in real life no point to throw it every single place I go but the beta is there as a reminder
<FromGitter> <Betawolf1213> It means many things but one of the top meanings is
<FromGitter> <Betawolf1213> I'm always right behind the alpha
<FromGitter> <Betawolf1213> Watching every move
<FromGitter> <Betawolf1213> Awaiting the moment that the alpha backs themselves into a corner so I can make my move.
<FromGitter> <Betawolf1213> It's also a reminder that I have a lot more to learn in life and texh
<FromGitter> <Betawolf1213> *tech
<FromGitter> <Betawolf1213> It also comes down to the fact that I've beta tested so many games 😂 so yeah lots of story behind it
<FromGitter> <schoening> Hehe ^^
<FromGitter> <Betawolf1213> Years in the making that name was lol
<FromGitter> <Betawolf1213> I'm off to bed woke up at 6am today and killed me
<FromGitter> <Betawolf1213> Oh wait new article to read
<FromGitter> <Betawolf1213> @CodelessFuture thanks for the read
<FromGitter> <Betawolf1213> I'll go back and read part one
<FromGitter> <Betawolf1213> Are you running atom on a Linux box?
<FromGitter> <CodelessFuture> No on Mac OS
<FromGitter> <CodelessFuture> @Betawolf1213 I use Mac OS. My first article is featured in Hackernoon also
<FromGitter> <Betawolf1213> Dammit damn you and your Mac lol
<FromGitter> <Betawolf1213> Thanks for the quick response
<FromGitter> <Betawolf1213> Well I bid farewell!
<FromGitter> <Betawolf1213> Goodnight everyone
<FromGitter> <CodelessFuture> @Betawolf1213 I used Linux several years and sometimes I want to return on Linux…...
<FromGitter> <Betawolf1213> @CodelessFuture you should tis great even tho Mac is wanna be freebsd
<FromGitter> <Betawolf1213> It's a derivative
<FromGitter> <CodelessFuture> For example I have problem upgrading Crystal now…because autocode is a dependency but I have installed node with system package and not brew and now I’m in trouble…..
<FromGitter> <CodelessFuture> Also in these day I’m in hotel and have problem with internet connection too……now I have to go see ya
<FromGitter> <Betawolf1213> That's a bummer! And talk to you later
_whitelogger has joined #crystal-lang
wuehlmaus has joined #crystal-lang
bjz has joined #crystal-lang
Qchmqs has joined #crystal-lang
Raimondii has joined #crystal-lang
<crystal-gh> [crystal] MakeNowJust opened pull request #4324: Compiler: correct to handle instance variable assignment inside block on global (master...fix/crystal/ivar-in-block-global) https://git.io/v9UNZ
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
<FromGitter> <exts> does crystal support interface classes?
<FromGitter> <bew> it has abstract classes
<FromGitter> <exts> guess i could use abstract class to accomplish the same goal
<RX14> you can use modules with only abstract methods
<RX14> and it works like an interface
<BlaXpirit> exts, yes, probably use modules. abstract classes are usually not what you want
<FromGitter> <bew> BlaXpirit: why?
<BlaXpirit> cuz you're using up the only possibility for inheritance
<BlaXpirit> and there's probably a better reason
<FromGitter> <exts> trying to make my api wrapper testable, so i can mock the data w/ proper di - so yeah I'm just going to use abstract classes w/ only abstract methods to accomplish what i want - thanks for the tip regarding abstract module
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
<BlaXpirit> is there any way to write like.. `{ {a, b}, {c, d} } = { {1, 2}, {3, 4} }`
<Papierkorb> no, you can't do destructuring of deep types.
<Papierkorb> you'd need to destructure the outer tuple first, and then the inner tuple later
<BlaXpirit> ok
<FromGitter> <exts> abstract class did the job, thanks
<FromGitter> <exts> i hope "expect_raise" gets an alias or rename. `should_raise(Exception)` just sounds so much better when reading spec's
Kug3lis has joined #crystal-lang
<FromGitter> <bew> @exts I agree, open an issue with this idea?
<BlaXpirit> that's the least of spec's problems btu whatever
<FromGitter> <bew> what are the problems about specs?
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kug3lis has quit [Ping timeout: 255 seconds]
Kug3lis has joined #crystal-lang
greenbigfrog has quit [Ping timeout: 240 seconds]
<FromGitter> <eliasjpr> Expect_raise isn't better? And replace 'should' with 'to'
<Papierkorb> The day this "power assert" stuff replaces the .should stuff I'll completely switch away from it
<FromGitter> <bew> you mean: don't use it? or use only that?
<Papierkorb> I wouldn't use it if it's optional, and if it's required, use a dedicated spec shard
<Papierkorb> we're not writing tests, we're writing specifications. That's why the directory is called "spec", not "test"
<FromGitter> <bew> :+1:
<FromGitter> <bew> yeah I agree, but I hope it won't be required.. really
<Papierkorb> "assert foo" looks like JUnit-level unreadable stuff. If people like it, please use it, but I don't
<Papierkorb> I'd love if we could have rspec3 style syntax with expect(). I know there's "spec2", but that shard isn't stable enough
j2k has joined #crystal-lang
<BlaXpirit> facepalm
greenbigfrog has joined #crystal-lang
<FromGitter> <hbakhtiyor> anyone know any dom manipulation library? ⏎ e.g. for golang https://github.com/PuerkitoBio/goquery
<FromGitter> <bew> Is there a way to get the runtime size of an Array of struct ? (the number of bytes occupied)
<BlaXpirit> bew, can't you just multiply struct size by array size?
<Papierkorb> bew: `the_ary.size * sizeof(TheStruct)` or `the_ary.to_unsafe.to_slice(the_ary.size).bytesize`
<Papierkorb> Surprised there's no Array#to_slice
<BlaXpirit> yeah
Qchmqs has quit [Ping timeout: 260 seconds]
<FromGitter> <Betawolf1213> Who needs coffee in the am when you can read fitter 😍
<FromGitter> <Betawolf1213> *gitter
<FromGitter> <sdogruyol> Hehe
<FromGitter> <sdogruyol> Welcome
<FromGitter> <Betawolf1213> Hello and good morning, evening and afternoon everyone
<FromGitter> <Betawolf1213> The mobile app lacks a lot
<FromGitter> <sdogruyol> IMHO it's good enough
<FromGitter> <sdogruyol> Thanks @Betawolf1213
<FromGitter> <Betawolf1213> It is good but I'd like to be able to access your githubs without having to at you
<FromGitter> <Betawolf1213> And a few other things are missing like in desktop I can edit my mistakes here I cannot
<FromGitter> <sdogruyol> You are right
<FromGitter> <Betawolf1213> Yeah but other than that it's alright
<FromGitter> <fridgerator> you can edit on mobile, long tap
<FromGitter> <fridgerator> or double, one of those works
<FromGitter> <fridgerator> double tap
<FromGitter> <Betawolf1213> @fridgerator you craxg bastard I love you you get a beer
<FromGitter> <fridgerator> thanks
<FromGitter> <Betawolf1213> I was long pressing didn't even think about doing a double tap
<FromGitter> <fridgerator> yeah its not immediately obvious
<FromGitter> <Betawolf1213> Should have guessed after all it is the correct way to kill zombies
<FromGitter> <fridgerator> haha
<FromGitter> <sdogruyol> Lol
<FromGitter> <sdogruyol> Didn't know that we're fighting with zombies
<FromGitter> <Betawolf1213> Waiting on packages from Amazon when you live about 20 mins from a fillment center sucks cause they either coming stupid early or super late
<FromGitter> <Betawolf1213> Wait you don't code to fight zombies?
<FromGitter> <sdogruyol> Nope
<FromGitter> <Betawolf1213> Oh man I think you're missing out on at least 45% of the experience of coding
j2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<FromGitter> <exts> > **<Papierkorb>** Surprised there's no Array#to_slice ⏎ ⏎ Was actually looking for this when I was working on one of those codewars crystal problems
<FromGitter> <exts> @bew I would open an issue to change the name, but I don't think it'll get changed. - would require nearly every crystal lib/app to update all their specs most likely.
<FromGitter> <exts> btw if you guys come across an interesting crystal article, could you post it to /r/crystal_programming on reddit - kind of dead there atm
<FromGitter> <exts> found out 0.22 was released by visiting /r/programming :P
<BlaXpirit> u havent missed much
<FromGitter> <exts> @BlaXpirit you still write nim? used to see you on those forums a lot
<BlaXpirit> exts, i only minimally maintain my existing nim projects
<BlaXpirit> bleh, i hardly write crystal these days anyway
<FromGitter> <exts> ah
<Papierkorb> Didn't write almost any code for a month. Feels like an eternity.
<crystal-gh> [crystal] Papierkorb opened pull request #4327: Add Array#to_slice and Array#bytesize (master...master) https://git.io/v9T3o
<FromGitter> <Betawolf1213> Good stuff mate
<FromGitter> <bew> Nice, thx!!
Kug3lis_ has joined #crystal-lang
Kug3lis has quit [Ping timeout: 260 seconds]
Kug3lis_ has quit [Ping timeout: 240 seconds]
<FromGitter> <bew> why https://carc.in/#/r/1wwk ?
McSoFake has joined #crystal-lang
<FromGitter> <bew> error: `can't use StaticArray(T, N) as the type of instance variable @static of BarEntry, use a more specific type`
Kug3lis has joined #crystal-lang
<FromGitter> <bew> ohhh nvm, I forgot `.new`...
Kug3lis has quit [Ping timeout: 240 seconds]
<BlaXpirit> i was gonna ask "what are my alternatives to make this work" but ended up like "why does this work" https://carc.in/#/r/1wwr
Kug3lis has joined #crystal-lang
<FromGitter> <bew> why does thi shouln't work, because the constant?
<BlaXpirit> yeah
<FromGitter> <bew> the constant cannot be reassigned, but it can be mutated!
<BlaXpirit> i mean after some thought it's obvious what's happening, nobody can really tell you what to do with what the reference points to
<BlaXpirit> but it's pretty worrisome
<FromGitter> <bew> yeah, it's difficult to freeze an object
<BlaXpirit> is there any way yet to bake a binary file into the executable?
<FromGitter> <bew> latest experiment is https://github.com/schovi/baked_file_system
<BlaXpirit> awesome, thanks
<BlaXpirit> gonna be fun to add windows support to that
<FromGitter> <bew> don't want to think about it^^
<BlaXpirit> sad to say but i kinda find that project bloated
<FromGitter> <bew> which one?
Kug3lis has quit [Ping timeout: 245 seconds]
balduin has joined #crystal-lang
balduin has left #crystal-lang [#crystal-lang]
Kug3lis has joined #crystal-lang
sz0 has quit [Quit: Connection closed for inactivity]
Kug3lis has quit [Ping timeout: 258 seconds]
miketheman has quit [Quit: ZNC - http://znc.in]
miketheman has joined #crystal-lang
Kug3lis has joined #crystal-lang
Raimondii has joined #crystal-lang
Raimondi has quit [Ping timeout: 268 seconds]
Raimondii is now known as Raimondi
cerulean has joined #crystal-lang
McSoFake has quit [Ping timeout: 260 seconds]
Kug3lis has quit [Ping timeout: 240 seconds]
Kug3lis has joined #crystal-lang
McSoFake has joined #crystal-lang
<BlaXpirit> i want to stream input to a process. what am i doing wrong here? https://carc.in/#/r/1wwy
bjz has joined #crystal-lang
<BlaXpirit> can't figure it out for the life of me
<BlaXpirit> ah of course... https://crystal-lang.org/api/0.22.0/Process/Stdio.html needs to be `nil`......
<BlaXpirit> next up: how to make this do anything? (also carcin doesnt let me spawn cat) https://carc.in/#/r/1wx4
Kug3lis has quit [Ping timeout: 260 seconds]
Kug3lis_ has joined #crystal-lang
<FromGitter> <bew> https://carc.in/#/r/1wx7
<FromGitter> <bew> BlaXpirit, it's working
<BlaXpirit> bew, this is not streaming input
<FromGitter> <bew> oh
<BlaXpirit> wow, carcin is awesome, this works https://carc.in/#/r/1wxb
<BlaXpirit> bew, thanks anyway
<BlaXpirit> even better with output: true
<FromGitter> <bew> that's cool!
Kug3lis_ has quit [Ping timeout: 240 seconds]
<BlaXpirit> hm, xdotool still doesnt want to do anything though :/
<BlaXpirit> there we go... of course it didnt do anything if i killed it
Kug3lis has joined #crystal-lang
balduin has joined #crystal-lang
McSoFake has quit [Quit: leaving]
<BlaXpirit> aaand nonogram solver + clicker bot done
<FromGitter> <bew> didn't know nonogram, that's cool
balduin has left #crystal-lang [#crystal-lang]
Ven has joined #crystal-lang
Ven has quit [Client Quit]