Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 21:21
    straight-shoota milestoned #12155
  • 21:11
    beta-ziliani milestoned #12156
  • 20:47
    straight-shoota closed #12163
  • 20:47
    straight-shoota closed #12162
  • 20:47
    straight-shoota closed #11773
  • 20:47
    straight-shoota closed #11732
  • 20:47
    straight-shoota closed #11872
  • 20:46
    straight-shoota milestoned #12026
  • 20:46
    straight-shoota demilestoned #12026
  • 20:38
    beta-ziliani milestoned #12165
  • 20:30
    beta-ziliani synchronize #12146
  • 19:40
    beta-ziliani edited #5430
  • 18:51
    beta-ziliani opened #12166
  • 18:51
    beta-ziliani labeled #12166
  • 08:54
    straight-shoota closed #12158
  • 08:54
    straight-shoota closed #12141
  • 08:54
    straight-shoota closed #12123
  • 08:54
    straight-shoota closed #3835
  • 08:54
    straight-shoota closed #12094
  • 08:54
    straight-shoota closed #12061
Nick Franken
@fridgerator
sure
From IRC (bridge bot)
@FromIRC
<gcds> yay... the same error I had on my machine is now on CircleCI :⁠D
Luis Lavena
@luislavena
@gcds CircleCI for OSX? Same solution you applied locally you might want to apply to CI, might recommend install newer OpenSSL using Homebrew.
From IRC (bridge bot)
@FromIRC
<gcds> @luislavena, Locally I just used PKG_CONFIG_PATH flags to help find brew version of openssl so it worked out, but I have no idea how to fix circleci build.
<gcds> ahhh its osx build
<gcds> now I got it :⁠D
From IRC (bridge bot)
@FromIRC
<gcds> hmm it did not worked like I expected trying something out :⁠(
From IRC (bridge bot)
@FromIRC
<gcds> I am feeling bit like idiot... the original PKCS5_PBKDF2_HMAC_SHA1 is found but additional PKCS5_PBKDF2_HMAC method is not found then its in the same lib. Even then in OpenSSL PKCS5_PBKDF2_HMAC_SHA1 wraps a call PKCS5_PBKDF2_HMAC
<gcds> Ok i reproduced the error again and fixed with simple flag. https://gist.github.com/aurimasniekis/422e6dfaf3b256d1d9bcea40ae54ef72
<gcds> but the same thing does not work on CircleCI :⁠(
Zafar Ansari
@ansarizafar
Why I am getting method addme undefined error?
module Helpers

def addme(x : Int32, y : Int32)
return x+y
end

puts addme 3,4

end
George
@georgeu2000
What are you trying to do? Define a class?
Nick Franken
@fridgerator
module Helpers
  def self.addme(x, y)
    return x + y
  end

  self.addme(1, 2)
end
or extend self inside the module
George
@georgeu2000
How to define a Hash( Int32, Int32 ) with an initial value of 0 for each key?
Rinkana
@Rinkana
You dont
George
@georgeu2000
Tried Hash.new( Int32, Int32 ){ 0 } but it did not work.
Seems like you can according to https://github.com/crystal-lang/crystal/blob/e2a1389e8165fb097c785524337d7bb7b550a086/src/hash.cr#L28
Rinkana
@Rinkana
Hash keys are unique so there can be one 0
George
@georgeu2000
Oops. I meant value.
Ghost
@ghost~55586c4815522ed4b3e08557
@georgeu2000 Hash(Int32, Int32).new(default_value: 0) I guess?
George
@georgeu2000
It worked. Thanks!
Faustino Aguilar
@faustinoaq
@kbrsh Hey man, Moon looks amazing, great work! :+1:
unreadable
@unreadable
the rusters started to rewrite the libc in pure rust. That's impressive
Jason Waldrip
@jwaldrip
Can you use macros to construct case statements?
Seems like I get an error when trying to do so
Ghost
@ghost~55586c4815522ed4b3e08557
make sure to enclose it with {% begin %} ... {% end %} as explained here https://crystal-lang.org/docs/syntax_and_semantics/macros.html#pitfalls
Serdar Dogruyol - Sedo セド
@sdogruyol
@krypton97 that's some big effort :)
Jason Waldrip
@jwaldrip
with self yield does not seem to be working
Ghost
@ghost~55586c4815522ed4b3e08557
can you be a bit more precise?
Jason Waldrip
@jwaldrip
hold on, putting together an example
actually, just self does not work
in the block
nvm :-)
unreadable
@unreadable
Well, it's unix based and a good part of the code is copy pasted . I guess not so many devs wanna mess with win api
Serdar Dogruyol - Sedo セド
@sdogruyol
It's not that but more likely there arent much devs who knows much about win32 stuff @krypton97
unreadable
@unreadable
Ikr. There's also musl which seems to do better than the gnu implementation https://www.musl-libc.org/
unix based again :)
Serdar Dogruyol - Sedo セド
@sdogruyol
I
From IRC (bridge bot)
@FromIRC
<RX14> i am so confused by what i've done to the compiler
Philippe Nénert
@papilip
Hello All, Do you know who is responsible for the Crystal logo and its reuse ?
From IRC (bridge bot)
@FromIRC
Philippe Nénert
@papilip
Yes but noby is mention
From IRC (bridge bot)
@FromIRC
<RX14> does it not answer your questions?
Philippe Nénert
@papilip
No, i want reuse logo for your local group
I dont know if its possible or not
From IRC (bridge bot)
@FromIRC
<RX14> i suggest you email spalladino@manas.tech
<RX14> he can at least direct you to the right person
Philippe Nénert
@papilip
Thank you very much
Martin Verzilli
@mverzilli
as long as you don't charge for joining the group, it's totally ok