Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 22:41
    straight-shoota milestoned #12167
  • 22:36
    beta-ziliani labeled #12180
  • 22:35
    beta-ziliani milestoned #12182
  • 22:32
    beta-ziliani milestoned #12169
  • 22:11
    beta-ziliani milestoned #12179
  • 18:44
    Blacksmoke16 labeled #12182
  • 18:44
    Blacksmoke16 labeled #12182
  • 18:44
    Blacksmoke16 labeled #12180
  • 18:44
    Blacksmoke16 labeled #12180
  • 18:41
    asterite opened #12182
  • 18:39
    ThatsJustCheesy labeled #12181
  • 18:39
    ThatsJustCheesy opened #12181
  • 18:10
    asterite ready_for_review #12169
  • 18:09
    asterite edited #12180
  • 18:08
    asterite opened #12180
  • 18:04
    asterite synchronize #12169
  • 17:57
    asterite ready_for_review #12174
  • 13:36
    asterite synchronize #12179
  • 13:36
    asterite synchronize #12179
  • 13:34
    asterite labeled #12179
didactic-drunk
@didactic-drunk
Do you have a client connection open before ctrl+c?
From IRC (bridge bot)
@FromIRC
<mps> yes
didactic-drunk
@didactic-drunk
Works on my end
With your test code
From IRC (bridge bot)
@FromIRC
<mps> hm
<mps> ok, thanks
Francisco Adasme
@franciscoadasme
@Blacksmoke16 ok, thanks
From IRC (bridge bot)
@FromIRC
<mps> I will try to build crystal with your patch on weekend and test again
didactic-drunk
@didactic-drunk
Can you test on non-arm?
From IRC (bridge bot)
@FromIRC
<mps> I can, but maybe next week (ditched x86 few years ago)
<mps> hmm, maybe I can 'usurp' my alpine developers lxc
<mps> but not now, it is to busy by building a lot of pkgs now
didactic-drunk
@didactic-drunk
Nm. It's possible it needs crystal master although I don't see why. I hope it's not an arm thing
From IRC (bridge bot)
@FromIRC
<mps> last time I tried it was same on arm and x86
From IRC (bridge bot)
@FromIRC
<postmodern> is there a way to create an tuple of arbitrary length, but all elements are of the same type?
George Dietrich
@Blacksmoke16
No tuples are fixed suze by design
Size
Chris Watson
@watzon
Is there a good thread safe queue yet?
Or am I going to have to implement one quickly?
George Dietrich
@Blacksmoke16
Rabbit?
Chris Watson
@watzon
Rabbit would probably be a good idea actually, but this is a smaller project and I'd rather avoid external deps like that if I can. I really just need a deque that is thread safe.
George Dietrich
@Blacksmoke16
That's fair
There's one in the stdlib, but idk if it's thread safe or not
Chris Watson
@watzon
Yeah iirc it isn't
From IRC (bridge bot)
@FromIRC
<yxhuvud> @watzon: can you use a channel?
Quinton Miller
@HertzDevil
is there a design reason that x.as?(T) isn't equivalent to x if x.is_a?(T)
(the difference is that the former returns a T? and the latter returns a (typeof(x) & T)?)
From IRC (bridge bot)
@FromIRC
<yxhuvud> subclasses?
Quinton Miller
@HertzDevil
why do you think so
From IRC (bridge bot)
@FromIRC
<yxhuvud> no good reason.
From IRC (bridge bot)
@FromIRC
<yxhuvud> looking at the documentation for as, I guess the upcast possibility to union type could be responsible?
From IRC (bridge bot)
@FromIRC
<yxhuvud> ie it allows you to do things like [1.as?(Int32|String)] << "hello" which is not possible using 1 if 1.is_a?(Int32|String) instead
Quinton Miller
@HertzDevil
oh yeah upcasts
what about x.as?(T) versus x.as(T) if x.is_a?(T)
Lance Dillon
@riffraff169
as a not quite rabbit expert, running rabbit in a container is very simple, so not much required to use it...it would be simple to use for your app
Lance Dillon
@riffraff169
could even have a script that starts the rabbit container, runs your app, then when app quits, rabbit quits
George Dietrich
@Blacksmoke16
GC Warning: Finalization cycle involving 0x7f8dc9e7eea0
nice, thats a new one
From IRC (bridge bot)
@FromIRC
<postmodern> what is IO::ARGF ?
From IRC (bridge bot)
@FromIRC
<postmodern> ah ha. hmm now to figure out why it's showing up in my specs when i am clearly calling IO::Memory#gets
George Dietrich
@Blacksmoke16
:thinking:
Jonathan Silverman
@mixflame
my site has gotten even better. now features a shared video player in rooms (+ video/audio calls + collaborative text editor + collaborative painting + html chat)
:D
crystal + amber + websockets + mediaelement.js
From IRC (bridge bot)
@FromIRC
<kevinsjoberg> Do we have some guidelines for the Crystal tooling repositories? I've been contributing to the Crystal TextMate bundle fairly frequently and just noticed I have merge rights (I'm part of Crystal Tooling). I just submitted a PR but not sure who would be suitable for review. Would people be okay with me just merging the fix?
<kevinsjoberg> See crystal-lang-tools/Crystal.tmbundle#22 for details.
George Dietrich
@Blacksmoke16
for simple stuff like this id prob just merge it
From IRC (bridge bot)
@FromIRC
<kevinsjoberg> @Blacksmoke16, alright. Sweet. 🙂
George Dietrich
@Blacksmoke16
it looks good to me fwiw ;P