Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 05:03
    kramerul synchronize #12404
  • Aug 19 18:56
    asterite ready_for_review #12405
  • Aug 19 18:56
    asterite edited #12405
  • Aug 19 17:43
    asterite labeled #12405
  • Aug 19 16:38
    Blacksmoke16 labeled #12405
  • Aug 19 16:38
    Blacksmoke16 labeled #12405
  • Aug 19 16:02
    asterite synchronize #12405
  • Aug 19 16:01
    asterite opened #12405
  • Aug 19 15:34
    kramerul synchronize #12404
  • Aug 19 15:23
    kramerul synchronize #12404
  • Aug 19 15:13
    kramerul synchronize #12404
  • Aug 19 15:10
    kramerul synchronize #12404
  • Aug 19 15:08
    Blacksmoke16 labeled #12404
  • Aug 19 15:08
    Blacksmoke16 labeled #12404
  • Aug 19 15:08
    Blacksmoke16 labeled #12404
  • Aug 19 15:06
    wonderix opened #12404
  • Aug 19 14:20
    asterite closed #12403
  • Aug 19 12:42
    straight-shoota milestoned #12403
  • Aug 19 12:42
    straight-shoota milestoned #12403
  • Aug 19 12:03
    asterite synchronize #12403
From IRC (bridge bot)
@FromIRC
<Papierkorb> QtCreator is fantastic <⁠3
<Groogy> ages ago it got looked into but our legal team said "This is fine"
<Groogy> and I mean we have licences for Sublime
<Groogy> not because need to but because it's nice to have
From IRC (bridge bot)
@FromIRC
<Papierkorb> @bararchy, What project did you have in mind? Or just toying with it?
<Papierkorb> I ran a crude search yesterday, and it appears that currently, about 13% of all classes from Core, Gui and Widgets modules are wrapped. Many types don't require any special handling at all, adding the class and its enums usually makes them work
Bar Hofesh
@bararchy
Papierkorb I guess I'll try to add a GUI to my ssl-scanner https://github.com/bararchy/sslscanner/
Then if that goes smothly I'll try to bind something to one of my closed-source ideas
I'll give you credit in both cases :)
Jason Waldrip
@jwaldrip
Been 4 days since the last comment on my PR, is this gtg? crystal-lang/crystal#4838
Bar Hofesh
@bararchy
I guess just ping everyone and ask if it's ok to be merged
everyone who has reviewed it
Luis Lavena
@luislavena
@jwaldrip you most likely are going to be asked to squash your commits into atomic ones, so they have a clean history.
Serdar Dogruyol - Sedo セド
@sdogruyol
hey @luislavena long time no see, how are you :)
Jason Waldrip
@jwaldrip
@luislavena That can be done on github as part of the merge can it not?
Luis Lavena
@luislavena
@sdogruyol been busy :D
@jwaldrip GitHub squash is not as good as human-made squash, it also helps cleanup the commits messages
Jason Waldrip
@jwaldrip
Okay, will do now.
squashed
From IRC (bridge bot)
@FromIRC
<jokke> hey
Serdar Dogruyol - Sedo セド
@sdogruyol
hey
Jason Waldrip
@jwaldrip
hey
John Jansen
@johnjansen
hey
From IRC (bridge bot)
@FromIRC
<jokke> what's the syntax for creating procs from methods again? i tried ->my_method but it gives me an error "error instantiating ->my_method"
<jokke> i'm writing a FSM
John Jansen
@johnjansen
proc = ->(i : Int32) { x += i }
proc = some_proc(&proc)
proc.call(1)  #=> 1
proc.call(10) #=> 11
From IRC (bridge bot)
@FromIRC
<jokke> ahh
<jokke> thx
<jokke> fb
<jokke> hm now i get: https://p.jreinert.com/UpTX/
<jokke> ccccccgbceglnuibtrvdvbhrutbtunnrhtveliebljkc
<jokke> whops
John Jansen
@johnjansen
looks rather recursive
Luis Lavena
@luislavena
@jokke, please share the source code that triggered that for us to be able to help.
John Jansen
@johnjansen
:-)
Matias Garcia Isaia
@mgarciaisaia
@jokke sounds like antirez/redis#3909
Serdar Dogruyol - Sedo セド
@sdogruyol
haha lol
From IRC (bridge bot)
@FromIRC
From IRC (bridge bot)
@FromIRC
<jokke> i also tried setting alias Transition = Tuple(String, Proc(String, Transition))?
<jokke> shouldn't this work? https://p.jreinert.com/TIW/crystal
Martin Verzilli
@mverzilli
I'm not 100% sure of this, but the fact that Tuples are structs, and structs are stored in the stack, would make it impossible to create recursive tuples
From IRC (bridge bot)
@FromIRC
<jokke> oh i see
<jokke> good point!
From IRC (bridge bot)
@FromIRC
<jokke> hm no that didn't help either
<watzon> Wondering why String.bytes returns an Array(UInt8) when Bytes is an alias for Slice(UInt8)
John Jansen
@johnjansen
@watzon you are not the first to wonder … if only i could recall the answer
From IRC (bridge bot)
@FromIRC
<watzon> It just seems very inconsistent to me
John Jansen
@johnjansen
yeah, there was a logical answer though from memory
From IRC (bridge bot)
@FromIRC
<watzon> So what's the best way to turn a String into a Slice of Bytes rather than an Array?