RX14 changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.26.1 | Fund Crystal's development: http://is.gd/X7PRtI | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Gitter: https://gitter.im/crystal-lang/crystal
<FromGitter> <j8r> Indonesia
<FromGitter> <j8r> @codenoid have you tried https://getlantern.org/en_US/index.html
<FromGitter> <rickychilcott> I'm trying to report a bug that I found on the crystal github, but it won't let me. Is there any way around the "you have to be a contributor first" requirement?
<FromGitter> <Timbus> I wasn't aware that was a limitation
<FromGitter> <rickychilcott> "An owner of this repository has limited the ability to open an issue to users that have contributed to this repository in the past."
<FromGitter> <Timbus> Must have been a recent change =/
<FromGitter> <rickychilcott> Ok. I'll create an issue on my fork and leave it here. If someone knows a workaround, just @ mention me. It's a weird one...
faitswulff has quit [Remote host closed the connection]
<FromGitter> <rickychilcott> Thanks for acknowledging @Timbus Have a good evening
<FromGitter> <rickychilcott> @codenoid I've not tried it, but FFmpeg is a great tool in general, so https://github.com/marceloboeira/ffmpeg.cr might be worth a look
<FromGitter> <rickychilcott> Well.. now that I looked through the code, nothing is there. Yes! Someone needs to write an FFmpeg wrapper
moei has quit [Quit: Leaving...]
moei has joined #crystal-lang
<FromGitter> <Sija> @rickychilcott that’s a 24h limitation turned on due to recent spamming attack
faitswulff has joined #crystal-lang
faitswul_ has joined #crystal-lang
faitswulff has quit [Ping timeout: 260 seconds]
faitswul_ has quit [Remote host closed the connection]
faitswulff has joined #crystal-lang
faitswulff has quit [Ping timeout: 260 seconds]
faitswulff has joined #crystal-lang
faitswulff has quit [Remote host closed the connection]
<FromGitter> <codenoid> @j8r not yet, usually I use protonvpn
faitswulff has joined #crystal-lang
faitswulff has quit [Ping timeout: 240 seconds]
wontruefree has joined #crystal-lang
wontruef_ has joined #crystal-lang
wontruefree has quit [Ping timeout: 260 seconds]
<FromGitter> <sam0x17> how to convert a crystal string to an array of UInt8 / bytes?
<FromGitter> <sam0x17> nevermind its .bytes
faitswulff has joined #crystal-lang
faitswulff has quit [Ping timeout: 260 seconds]
<FromGitter> <MrSorcus> @Sija Who and why do that?
wontruef_ has quit [Quit: bye]
JuanMiguel has joined #crystal-lang
JuanMiguel has quit [Quit: This computer has gone to sleep]
JuanMiguel has joined #crystal-lang
JuanMiguel has quit [Client Quit]
DTZUZO_ has quit [Ping timeout: 240 seconds]
Yxhuvud has joined #crystal-lang
<FromGitter> <j8r> @MrSorcus look at the recent issues in crystal. The goal is to stop spamming issues
ashirase has quit [Ping timeout: 246 seconds]
<FromGitter> <MrSorcus> Oh shit. That SJW? F*cking idiots.
ashirase has joined #crystal-lang
<FromGitter> <bajro17> OMG
<FromGitter> <bajro17> WTF is that
<FromGitter> <bajro17> so much spammers
baweaver is now known as baweaver_away
<FromGitter> <j8r> They are likely the same guy behind
<FromGitter> <j8r> And it spams other projects like vscode, tensorflow etc
<FromGitter> <MrSorcus> Developers must ignore them. They are IT terrorists.
<FromGitter> <vladfaust> Could not agree more
<FromGitter> <vladfaust> Any ETA on 0.27?
faitswulff has joined #crystal-lang
<FromGitter> <vladfaust> BTW what core team thinks of using a web framework in docs? I mean, VueJS is a very nice thing
faitswulff has quit [Ping timeout: 260 seconds]
<FromGitter> <proyb6> This is probably a useless benchmark but I'm curious Go version (Pull Request) could be faster then CR version
<FromGitter> <proyb6> What could be slower?
<FromGitter> <vladfaust> Also why is Crystal purple on GitHub? It's always associated with black for me...
<FromGitter> <codenoid> purple is cute
<FromGitter> <codenoid> Purple combines the calm stability of blue and the fierce energy of red. The color purple is often associated with royalty, nobility, luxury, power, and ambition. Purple also represents meanings of wealth, extravagance, creativity, wisdom, dignity, grandeur, devotion, peace, pride, mystery, independence, and magic.
<FromGitter> <vladfaust> Black is rock-solid
<FromGitter> <vladfaust> Black is unbreakeable
JuanMiguel has joined #crystal-lang
<FromGitter> <codenoid> there must be a reason (from github ui/ux) why is purple
<FromGitter> <proyb6> Brainfuck 2 with Mandel.b ⏎ https://github.com/kostya/benchmarks/tree/master/brainfuck2 ⏎ ⏎ Crystal 0.26.1 (Release) - 1 min 13 secs ⏎ Go 1.11 (Improved code) - 33 secs [https://gitter.im/crystal-lang/crystal?at=5ba76df8be4f300626d651e9]
JuanMiguel has quit [Quit: This computer has gone to sleep]
JuanMiguel has joined #crystal-lang
JuanMiguel has quit [Client Quit]
<livcd> bararchy: are you here somewhere ? :)
<lvmbdv> this so braindead and childish
<FromGitter> <j8r> Black may be already taken, and one color of the Crystal color (the rock) is purple
faitswulff has joined #crystal-lang
faitswulff has quit [Ping timeout: 264 seconds]
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 252 seconds]
faitswulff has joined #crystal-lang
rohitpaulk has joined #crystal-lang
DTZUZO_ has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 245 seconds]
rohitpaulk has joined #crystal-lang
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #crystal-lang
faitswulff has quit [Remote host closed the connection]
rohitpaulk has quit [Ping timeout: 245 seconds]
rohitpaulk has joined #crystal-lang
DTZUZO_ has quit [Ping timeout: 252 seconds]
faitswulff has joined #crystal-lang
faitswulff has quit [Ping timeout: 260 seconds]
rohitpaulk has quit [Ping timeout: 245 seconds]
<FromGitter> <baob> Newb question: (I have looked for the answer, honest). If I have defined a type ⏎ ⏎ ```my_function(Thinghash.new)``` ⏎ ⏎ … except `new` doesn’t seem to work [https://gitter.im/crystal-lang/crystal?at=5ba7ad34e6046343f3a4f2e2]
faitswulff has joined #crystal-lang
<FromGitter> <r00ster91> @baob using a constant instead of an alias works: ⏎ ⏎ ```ThingHash = Hash(Int32, Int32) ⏎ ⏎ ThingHash.new # => {}``` [https://gitter.im/crystal-lang/crystal?at=5ba7af1bbe4f300626d7d04d]
<FromGitter> <girng> @LVMBDV "so braindead and childish" thanks for the kind words. It really means a lot.
<FromGitter> <baob> @r00ster91 thank you !
<FromGitter> <r00ster91> youre welcome
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #crystal-lang
<FromGitter> <j8r> Is there time objects like Days, Hours?
<FromGitter> <j8r> i think i'll do my own, I need days after UNIX epoch
<FromGitter> <j8r> Or maybe just use Int32. That's in /etc/shadow
<lvmbdv> @j8r Time::Span might be it
<lvmbdv> you can also do things like `4.days` with integer literals
<lvmbdv> which return Time::Span values
faitswulff has quit []
<FromGitter> <j8r> I've looked at it, but days needs to be the only unit
<FromGitter> <j8r> I'll just do Int32, with something like `days_since_expiration`
<FromGitter> <baob> @r00ster91 unfortunately that means I can no longer do ⏎ ⏎ ```@my_thing : ThingHash``` ⏎ ⏎ for instance variables … I can’t use it as a type [https://gitter.im/crystal-lang/crystal?at=5ba7cb11b9531f2dfaacdeee]
<FromGitter> <baob> Just trying to achieve DRY code … maybe I need to define ThingHash as a full-blown class ?
<oprypin> baob, disregard that advice
<oprypin> baob, what exactyl is wrong with using aliases? https://carc.in/#/r/52qy
<FromGitter> <j8r> is there a way to "compress" this ⏎ ⏎ ```code paste, see link``` [https://gitter.im/crystal-lang/crystal?at=5ba7cd53e6046343f3a5ac03]
<FromGitter> <j8r> I only see a macro, or keep as is
<oprypin> `Entry.new(*line.split(':', limit: 9))`
<FromGitter> <bew> no oprypin, split returns an array, not a tuple
<oprypin> `Entry.new(*Tuple(String, String, String, String, String, String, String, String, String).from(line.split(':', limit: 9)))` :3
<FromGitter> <markrjr> Hi all, I'd like to help with the Windows porting efforts, but I didn't want to spam the GitHub issue with questions. I'm fairly familiar with Windows APIs, but just getting started with crystal. Would the System module be a good place to start?
<oprypin> System is not something that you look at in isolation. it's just an arbitrary split for system-specific implementation details. but while working on features you also need to think a lot about integrating it with the language
<oprypin> but i guess you can start there and look at things that use it
<oprypin> cc @straight-shoota
<FromGitter> <markrjr> Okay, I noticed that for the Unix side of things, a lot of the system breaks down into calls to the C standard library, is that correct?
<oprypin> sure
JuanMiguel has joined #crystal-lang
wontruefree has joined #crystal-lang
<FromGitter> <baob> @oprypin thanks for the prompt … I did in fact get it to work using aliases in the end … not sure what I was doing wrong with aliases on my first attempt.
<FromGitter> <girng> @markrjr @RX14 notsure if this is helpful, but he's in charge of the windows port afaik, should get in touch
<FromGitter> <Sija> @markrjr see #5430
wontruefree has quit [Read error: Connection reset by peer]
wontruefree has joined #crystal-lang
<FromGitter> <girng> @Sija can i pm u some stuff
<FromGitter> <Sija> @girng sure
wontruefree has quit [Quit: bye]
moei has quit [Quit: Leaving...]
Heaven31415 has joined #crystal-lang
<Heaven31415> Hi
<JuanMiguel> hello all
<JuanMiguel> please, what is wrong with this code? https://pastebin.com/1YXZFYy1 is a simple websocket client
<JuanMiguel> I know it ends before receiving the message, but this is not the problem, I have also include an infinite loop at the end
JuanMiguel has quit [Quit: Saliendo]
DTZUZO_ has joined #crystal-lang
<FromGitter> <girng> juan, is that the full code? where is the infinite loop part?
<FromGitter> <girng> i think docs should have a working ws example like how TCPServer has
<FromGitter> <girng> cause only ws example online i can find it from kemal's
moei has joined #crystal-lang
Heaven31415 has quit [Quit: Leaving]
DTZUZO_ has quit [Ping timeout: 245 seconds]
DTZUZO_ has joined #crystal-lang
sagax has joined #crystal-lang
return0e has quit [Ping timeout: 246 seconds]
<FromGitter> <bajro17> @rishavs when next article come out :) I cant wait it
<FromGitter> <bajro17> I give you for all posts 50 claps you deserve it
<FromGitter> <girng> @bajro17 i had trouble with ubuntu budgie. it let me install it on my partitioned ssd, at the end of the installation process it said it failed to install a bootloader. and i'm using windows 10 bootloader, which is efi and not UEFI or something so i'm screwed. so i bought a amazon ssd for $14 on Amazon (32GB)
<FromGitter> <bajro17> Last time when I install ubuntu is maybe before 4-5 years
<FromGitter> <bajro17> now I use just Manjaro deepin
<FromGitter> <bajro17> anyway so much people complain now about bootloader
<FromGitter> <bajro17> I have same question before few min on fb
<FromGitter> <bajro17> I will just past it here
<FromGitter> <bajro17> Glad to see I'm not alone :-/ I read somewhere that the Mint team is aware of issues and they're going to release new ISOs soon. ⏎ ⏎ Until then, this is how I solved it: when you get the error, just click through until the installer closes. ⏎ ⏎ Then *don't* reboot - *stay* in the live session and follow the instructions under "2nd option" here: https://help.ubuntu.com/community/Boot-Repair. ...
<FromGitter> <girng> yeah, i was googling it all day. i installed easybcd, tried everything. so i just bought a separate SSD :D
<FromGitter> <bajro17> for me this method work on mint 19
<FromGitter> <bajro17> when this error come just follow this steps and it work
<FromGitter> <bajro17> I have m2 disk and I dont have any problem with manjaro
<FromGitter> <bajro17> @girng are you maybe make some game framework?
<FromGitter> <girng> @bajro17 nah, i'm not smart enough for that. i just use godot engine. opyrpin doing SMFL bindings or something, and i think there is another game framework that's small on crystal shards i dunt remember
<FromGitter> <bajro17> I will try find git
<FromGitter> <bajro17> hmmmm this godot look good
<FromGitter> <bajro17> first time I see it