Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 04 23:27
    straight-shoota milestoned #12966
  • Feb 04 23:27
    straight-shoota milestoned #12966
  • Feb 04 22:45
    Blacksmoke16 synchronize #12966
  • Feb 04 12:51
    straight-shoota closed #12224
  • Feb 04 12:51
    straight-shoota closed #13034
  • Feb 04 12:15
    straight-shoota milestoned #12921
  • Feb 04 12:15
    straight-shoota milestoned #12921
  • Feb 04 10:44
    straight-shoota edited #12921
  • Feb 04 02:39
    cyangle synchronize #12921
  • Feb 04 01:08
    cyangle synchronize #12921
  • Feb 04 01:08
    cyangle synchronize #12921
  • Feb 03 22:11
    straight-shoota labeled #12794
  • Feb 03 22:11
    straight-shoota assigned #12794
  • Feb 03 22:07
    straight-shoota synchronize #12959
  • Feb 03 21:38
    straight-shoota milestoned #12983
  • Feb 03 21:38
    straight-shoota milestoned #12983
  • Feb 03 17:37
    straight-shoota milestoned #13045
  • Feb 03 17:37
    straight-shoota milestoned #13045
  • Feb 03 16:49
    straight-shoota review_requested #13045
  • Feb 03 16:49
    straight-shoota review_requested #13045
From IRC (bridge bot)
@FromIRC
<_tsound> nvm i got it
<_tsound> Process.executable_path.to_s.chomp("/pname")
<_tsound> It's dirty, but it'll work for now
Cris Ward
@crisward
Does anyone know why crystal doesn't have an Int128 ?
Serdar Dogruyol - Sedo セド
@sdogruyol
Yeah, it doesnt for now
Cris Ward
@crisward
@sdogruyol thanks. I was going to work with IP addresses as ints, ipv6 is 128bit. It isn't a necessity for now. Good to know, thanks.
Cris Ward
@crisward
@akzhan thanks for the info.
Faustino Aguilar
@faustinoaq
Somebody is using SublimeText crystal-lang/sublime-crystal#24
Bar Hofesh
@bararchy
Me :)
Faustino Aguilar
@faustinoaq
sublime
@bararchy Do you have crystal syntax issues?
Bar Hofesh
@bararchy
Yeha, only when using ) in def arguments
So
def (bar: String) looks good
but
def (bar: Array(Int32)) looks bad
the issue is always the first ')' in the def
I think it just thinks that it's the end of the parentesis
Serdar Dogruyol - Sedo セド
@sdogruyol
yeah
a parser issue
Bar Hofesh
@bararchy
@faustinoaq Is this a fix for it ?
I'll update my sublime package
From IRC (bridge bot)
@FromIRC
<adam12> @RX14: never knew you joined core team. congrats!
<RX14> thanks!
Faustino Aguilar
@faustinoaq
@bararchy crystal-lang/sublime-crystal#24 is not a complete fix but it helps coloring all parens
From IRC (bridge bot)
@FromIRC
<adam12> I'm not super familiar with LLVM but I wonder what makes these triples differ. x86_64-unknown-freebsd11.0 vs x86_64-portbld-freebsd
Faustino Aguilar
@faustinoaq
Screenshot_20170802_095002.png
The Three most loved PR for Crystal :heart:
Windows, Android and Web Assembly :smile:
Serdar Dogruyol - Sedo セド
@sdogruyol
Cool @faustinoaq
Johannes Müller
@straight-shoota
#4757 is the most hearted issue, just after Windows
and most :+1: has #2394 ;)
Faustino Aguilar
@faustinoaq
Crystal community have a good humor sense :smile:
Serdar Dogruyol - Sedo セド
@sdogruyol
Yeah, we have MINASWAN in our hearts <3
Bar Hofesh
@bararchy
:large_blue_circle: we do )
:monkey:
Claudio Holanda
@kazzkiq
What is the difference between crystal deps and shards install?
Johannes Müller
@straight-shoota
crystal deps calls shards install, shards install does not :smirk:
From IRC (bridge bot)
@FromIRC
<oprypin> @kazzkiq, shards install is a newer development. crystal deps used to be something else, became a redirect to shards install
Johannes Müller
@straight-shoota
Claudio Holanda
@kazzkiq
I have a NamedTuple that may or may not have some of its keys, how do I create such "dynamic" NamedTuple?
I'm trying something like that, without success:
data = NamedTuple.new(name: String, nickname: String)

data[:name] = name.to_s if name #only assign if name exists
data[:nickname] = nickname.to_s if nickname #only assign if nickname exists
From IRC (bridge bot)
@FromIRC
<Papierkorb> In best case, not at all
<Papierkorb> NamedTuple are immutable data structures, with keys known at compile-time.
<Papierkorb> If you need something mutable, use a Hash
Claudio Holanda
@kazzkiq
Hmmmm, will try that.
Rubi
@codenoid
PCRE does not support \L, \l, \N{name}, \U, or \u at 2
piperun
@piperun
Hello everyone, I'm a little curious about crystal, as far as I know it's a compiled language but I'm wondering if it's possible to use Crystal as a script language in say making video games?
From IRC (bridge bot)
@FromIRC
<tosmi> hi, i'm trying to compile crystal on freebsd 10.3
<tosmi> following the comment in crystal-lang/crystal#4185, i'm using the 0.19 freebsd binary to build 0.20.0
<tosmi> gmake works, but call gmake spec or running gmake a second time yields the following error message