Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 02:24
    HertzDevil labeled #12523
  • 02:24
    HertzDevil labeled #12523
  • 02:24
    HertzDevil labeled #12523
  • 02:24
    HertzDevil opened #12523
  • 01:29
    HertzDevil closed #12519
  • 01:29
    HertzDevil closed #12517
  • 01:24
    HertzDevil synchronize #11840
  • 01:20
    HertzDevil synchronize #12364
  • Sep 24 20:37
    beta-ziliani labeled #12522
  • Sep 24 20:37
    beta-ziliani labeled #12522
  • Sep 24 20:37
    beta-ziliani opened #12522
  • Sep 24 17:15
    mattrberry opened #12521
  • Sep 24 17:15
    mattrberry labeled #12521
  • Sep 24 16:57
    asterite synchronize #12520
  • Sep 24 16:32
    asterite labeled #12520
  • Sep 24 16:32
    asterite labeled #12520
  • Sep 24 16:32
    asterite opened #12520
  • Sep 24 15:07
    Blacksmoke16 labeled #12518
  • Sep 24 13:35
    zw963 edited #12519
  • Sep 24 13:35
    zw963 opened #12519
Ekrem Karaca
@ekremkaraca
Finally I have built it in 14 min 12 sec
Serdar Dogruyol - Sedo セド
@sdogruyol
you have some low specs?
Ekrem Karaca
@ekremkaraca
I wonder what llvm source contains?
Yep
Serdar Dogruyol - Sedo セド
@sdogruyol
LLVM is a beast, lots of C++
Ekrem Karaca
@ekremkaraca
6GB ram with i5
Serdar Dogruyol - Sedo セド
@sdogruyol
CPU?
Ekrem Karaca
@ekremkaraca
4x with 2 ghz
Serdar Dogruyol - Sedo セド
@sdogruyol
that must be the cultprit
Ekrem Karaca
@ekremkaraca
I bought it in 2011
Serdar Dogruyol - Sedo セド
@sdogruyol
yeah
that explains
From IRC (bridge bot)
@FromIRC
<Groogy> Morning!
<femto> class Hierarchy def foo end def self.methods {{@type.methods}} # using all_subclasses for illustration end end class A < Hierarchy; end class B < A; end class C < B; end puts Hierarchy.methods
<femto> how do I get all the methods of a class?
<Groogy> doesn't it show there?
<femto> Syntax error in expanded macro: macro_4594465744:1: can't define def inside def [def foo ^ ================================================================================ {{@type.methods}} # using all_subclasses for illustration
<femto> in src/hello2.cr:11: macro didn't expand to a valid program, it expanded to: ================================================================================ -------------------------------------------------------------------------------- 1. [def foo 2. end]
From IRC (bridge bot)
@FromIRC
<Groogy> you probably have to do something more sensible than {{@type.methods}} since that probably just expands into the methods own defintion it seems
<Groogy> methods is a collection of ASTNodes is my guess you probably have to create a macro that converts them to like an array of strings
<Groogy> or similar
Cris Ward
@crisward
@sdogruyol morning! - finally got around to adding this to github - https://github.com/crisward/mailer
Serdar Dogruyol - Sedo セド
@sdogruyol
wow congrats @crisward :tada:
Ghost
@ghost~55586c4815522ed4b3e08557
femto, use @type.methods.map &.name.stringify
Ghost
@ghost~55586c4815522ed4b3e08557
What is this type syntax *{Int32, Int32} (from https://github.com/crystal-lang/crystal/issues/5037#issuecomment-332381702)
Should it mean something specific in his example?
Serdar Dogruyol - Sedo セド
@sdogruyol
deconstructing the tuple?
(haven't looked at the issue)
Ghost
@ghost~55586c4815522ed4b3e08557
Look at it please (or below)
It's used in def bla(*arg : *{Int32, Int32})
From IRC (bridge bot)
@FromIRC
<oprypin> @bew, it's invalid syntax, hence the error
<oprypin> except that the compiler should say invalid syntax not break
Ghost
@ghost~55586c4815522ed4b3e08557
Okay, makes sense
From IRC (bridge bot)
@FromIRC
<Papierkorb_> Morning
Serdar Dogruyol - Sedo セド
@sdogruyol
Morning @papilip
ah wrong @Papierkorb
Philippe Nénert
@papilip
Morning @sdogruyol
Serdar Dogruyol - Sedo セド
@sdogruyol
morning to you too @papilip :) Sorry for the wrong mention btw
Philippe Nénert
@papilip
ok
gyhave a goog day
Serdar Dogruyol - Sedo セド
@sdogruyol
thank you :smile:
From IRC (bridge bot)
@FromIRC
<Papierkorb_> Hi sdogruyol!
Bar Hofesh
@bararchy
I hate C bindings
hahaha
Ghost
@ghost~55586c4815522ed4b3e08557
@bararchy why? ˆˆ
@oprypin good catch, thanks
Bar Hofesh
@bararchy
@bew working on getting crystal-fann to support Float64 instead of Float32, the underlying C lib gives me trubles and I don't really know why :\
NeuraLegion/crystal-fann#6
so annoying :(
Ghost
@ghost~55586c4815522ed4b3e08557
Ah, no idea how I could help, I don't understand anything about what you'r doing! :joy: