Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 13:38
    wyhaines closed #13005
  • 13:37
    wyhaines closed #13007
  • 13:03
    straight-shoota edited #13017
  • 12:59
    straight-shoota labeled #13017
  • 12:59
    straight-shoota labeled #13017
  • 12:59
    straight-shoota labeled #13017
  • 12:59
    straight-shoota labeled #13017
  • 12:59
    straight-shoota opened #13017
  • 11:56
    straight-shoota labeled #13016
  • 11:56
    straight-shoota labeled #13016
  • 11:56
    straight-shoota labeled #13016
  • 11:56
    straight-shoota opened #13016
  • 11:16
    straight-shoota edited #13015
  • 11:15
    straight-shoota labeled #13015
  • 11:15
    straight-shoota labeled #13015
  • 11:15
    straight-shoota opened #13015
  • 11:03
    straight-shoota milestoned #13014
  • 11:03
    straight-shoota milestoned #13014
  • 01:12
    HertzDevil labeled #13014
  • 01:12
    HertzDevil labeled #13014
From IRC (bridge bot)
@FromIRC
<oprypin> in python you can set arbitrary members on qt objects :⁠p
<oprypin> so basically as bad as setuserdata but you dont know it's bad
From IRC (bridge bot)
@FromIRC
<w-p> anyone else out there find the subclass vs include situation a little confusing on occasion?
Nick Franken
@fridgerator
No, but my background is in Ruby, so it makes sense to me
From IRC (bridge bot)
@FromIRC
<_tsound> how would you go about adding things into an array with a loop?
<_tsound> i want to perform a loop that gets the files in a folder and reads the filename back to me
<adam12> _tsound: what have you tried?
From IRC (bridge bot)
@FromIRC
<adam12> _tsound: If you want to get files in a folder, you likely want one of the mehods in Dir, like entries
<adam12> here's the docs for Dir of course. https://crystal-lang.org/api/0.23.1/Dir.html
<adam12> I have to sign off. Late here. Night.
<_tsound> thanks for the help adam12
<_tsound> i think this will work
From IRC (bridge bot)
@FromIRC
<_tsound> i might need a virtual filesystem
Jonathan Silverman
@mixflame
is there an imagemagick library for crystal
From IRC (bridge bot)
@FromIRC
<_tsound> can you return an executable path without the executable name?
<_tsound> what i get is "/home/user/work/pname/pname"
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: