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
Serdar Dogruyol - Sedo セド
@sdogruyol
we need that :P
Faustino Aguilar
@faustinoaq

Well, I will try do some videos in spanish/english, I never did a video for youtube before, but hey, it's Crystal :wink:

I'm learning some video editing skills.

crystal

From IRC (bridge bot)
@FromIRC
<Groogy> I kinda have been thinking of doing some kind of screencasts
Faustino Aguilar
@faustinoaq
Yeah, also @elorest did an amber video for https://amberframework.org
From IRC (bridge bot)
@FromIRC
<Groogy> I am used to stream and talk infront of a camera to sell our games but haven't really done stuff that are bit more intellectual
<Groogy> just have a hard time coming up with even a good topic to cover
Faustino Aguilar
@faustinoaq

turkish

I understand nothing but I like it :smile:

Ghost
@ghost~55586c4815522ed4b3e08557
ahah :laughing:
Serdar Dogruyol - Sedo セド
@sdogruyol
lol
Zafar Ansari
@ansarizafar
Javascript has Map object. Is there any similar object in crystal?
Ghost
@ghost~55586c4815522ed4b3e08557
@ansarizafar Hash I guess
opensas
@opensas
I guess Hash
I guess we had the same though ;-)
Ghost
@ghost~55586c4815522ed4b3e08557
I guess so yes :smile:
Zafar Ansari
@ansarizafar
I am new to Crystal and I am trying to convert my Graphql inspired data layer with batching, arguments validation and ACL support, from Nodejs to Crystal. I was using map and simple objects in javascript. Is there any data validation shard available?
opensas
@opensas
Zafar Ansari
@ansarizafar
I think NamedTuples stored in Hash will do the job as unlike javascript Array don't have any find method
Ary Borenszweig
@asterite
I'd avoid using NamedTuples as much as possible. Always use Hash. NamedTuples just represent named arguments.
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