Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:47
    straight-shoota closed #12051
  • 13:47
    straight-shoota closed #12050
  • 12:17
    beta-ziliani edited #7318
  • May 15 08:43
    r00ster91 closed #7318
  • May 15 08:17
    r00ster91 closed #7690
  • May 14 17:01
    Blacksmoke16 labeled #11995
  • May 14 13:03
    webhive closed #12055
  • May 14 10:19
    straight-shoota milestoned #12051
  • May 14 10:00
    I3oris edited #12051
  • May 14 08:45
    oprypin review_requested #11977
  • May 13 23:29
    Blacksmoke16 unlabeled #12061
  • May 13 22:56
    Blacksmoke16 edited #12061
  • May 13 22:56
    Blacksmoke16 edited #12061
  • May 13 22:54
    Blacksmoke16 labeled #12061
  • May 13 22:54
    Blacksmoke16 labeled #12061
  • May 13 22:54
    Blacksmoke16 labeled #12061
  • May 13 22:54
    Blacksmoke16 opened #12061
  • May 13 20:14
    straight-shoota labeled #12060
  • May 13 20:14
    straight-shoota labeled #12060
  • May 13 20:14
    straight-shoota opened #12060
Zafar Ansari
@ansarizafar
Hash can't store more than one value for each key right?
From IRC (bridge bot)
@FromIRC
<RX14> yes, but you can just use an array for the value
Zafar Ansari
@ansarizafar
I need to store multiple values for each key. Two arrays and one proc. That's why I am thinking about Namedtuples stored in a hash
Ary Borenszweig
@asterite
You can use a struct too, or a class. But if NamedTuple works for you, go ahead
Zafar Ansari
@ansarizafar
ok. Thanks
Bar Hofesh
@bararchy
@ansarizafar
my_hash = {:key => [value1, 150, :id, "etc..."], :key2 => {:mini_key => "single value"}}
So Hash can do alot for you
it's the best way to store data that needs a key->value structure
oliviermo75
@zyriuse75
hi all
oliviermo75
@zyriuse75
i would want to help the community. First i would want to translate the doc in French but unfortunately i cant found where is the doc on git-hub.
Someone can tell me where i can find it in english ??
Bar Hofesh
@bararchy
Do you really need it @bew ?
oliviermo75
@zyriuse75
thank man i going to help you as i can ;)
Martin Verzilli
@mverzilli
Hi @zyriuse75, do you mean the book or the API docs?
Bar Hofesh
@bararchy
yeha API docs are inside the actual doe , not sure if it supports multi lang
*code
Martin Verzilli
@mverzilli
yes, not sure about the API docs. probably we could generate them in a gettext friendly way and use Pootle to manage the translation efforts
Ghost
@ghost~55586c4815522ed4b3e08557
About translations, I would suggest to wait 1.0 before making them, because if there are modifications, it'll be hard (I think) to keep track of modifications of all translations available..
@bararchy I dont't NEED it, but it's one of the reason I like crystal, it's so cool to be able to do that!..
Martin Verzilli
@mverzilli
that's what systems like Pootle help you manage, but yes, it's not easy to keep everything in sync with just 1 person per language
Ghost
@ghost~55586c4815522ed4b3e08557
I don't know about Pootle, if it can help reducing issues regarding this then it's awesome! but in the heart I don't think its a good idea to duplicate efforts before its stable..
Faustino Aguilar
@faustinoaq

Some people aren't friendly at all on Internet [0]

[0] - https://www.reddit.com/r/programming/comments/6zw3h9/journey_from_node_to_crystal/

:(

Martin Verzilli
@mverzilli
yeah, just don't feed the trolls
before replying take some time to evaluate whether that person is looking for a sane exchange of opinions or just throwing shit at the fan
Faustino Aguilar
@faustinoaq
Yeah, Thanks you for your advice, I'm newbie on Reddit :sweat_smile:
From IRC (bridge bot)
@FromIRC
<elbuki> My god, how toxic...
<elbuki> I don't understand why they're so butthurt...
Serdar Dogruyol - Sedo セド
@sdogruyol
typical reddit trolls
George
@georgeu2000
Yes, the internet is mostly trolling and clickbait...sad really.
Serdar Dogruyol - Sedo セド
@sdogruyol
any media...
George
@georgeu2000
Reminds me of this blog: https://schneems.com/. The author wrote about concurrency or locking, but did not address the most difficult issue. Got so many negative comments...so sad.
It has some interesting posts so I subscribed...
unreadable
@unreadable
Well, I've seen worst on go reddit. Anyway, any good website where I can look for templates web design?
From IRC (bridge bot)
@FromIRC
<elbuki> I guess is that kind of developers that are stuck to use a group a languages because that's what pay their bills
<elbuki> And they don't investigate about better alternatives
Jason Waldrip
@jwaldrip
Been awhile since we have seen a Crystal version bump. Some good things coming?
Ghost
@ghost~55586c4815522ed4b3e08557
good things yes (a lot of good pr merged!), when? no idea ^^
Jason Waldrip
@jwaldrip
Good. Hopefully I can get my YAML PR in before the release.
From IRC (bridge bot)
@FromIRC
<RX14> if only there was some tool to scour reddit and HN and notify me when there was any thread related to crystal
<RX14> i thought i saw something like this a few years ago, but like any random project you vaguely remember from a few youars ago - you can never find it on google again
<RX14> I think the top comment in that thread has a few good points though, however badly presented
<RX14> we don't recommend using crystal in production ourselves after all
Faustino Aguilar
@faustinoaq
Hey RX14, would core team publish a beta before 1.0 ?
From IRC (bridge bot)
@FromIRC
<RX14> we don't have a beta and an alpha
<RX14> we have pre-1.0
<RX14> and post-1.0
Serdar Dogruyol - Sedo セド
@sdogruyol
@RX14 you can't force anyone though