<FromGitter>
<Blacksmoke16> need to think of a good way to handle descriptions for the args
<FromGitter>
<Blacksmoke16> any ideas?
DTZUZO has joined #crystal-lang
RX14 has quit [Quit: Fuck this shit, I'm out!]
RX14 has joined #crystal-lang
_whitelogger has joined #crystal-lang
rohitpaulk has joined #crystal-lang
_whitelogger has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 244 seconds]
_whitelogger has joined #crystal-lang
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Remote host closed the connection]
_whitelogger has joined #crystal-lang
DTZUZU has quit [Quit: WeeChat 2.2]
_whitelogger has joined #crystal-lang
DTZUZU has joined #crystal-lang
SerkanDevel[m]1 has quit [Remote host closed the connection]
trashhalo[m] has quit [Remote host closed the connection]
dom96 has quit [Ping timeout: 246 seconds]
dom96 has joined #crystal-lang
SerkanDevel[m]1 has joined #crystal-lang
DTZUZU has quit [Quit: WeeChat 2.2]
DTZUZU has joined #crystal-lang
trashhalo[m] has joined #crystal-lang
<FromGitter>
<j8r> You don't need to specify the type. If you go standard, options should always be on/off switches, with `off` by default. You can also have `myvar=val` or `--myvar=val`
<FromGitter>
<j8r> I created a declarative CLI that is compile-time safe if you want examples https://github.com/j8r/clicr
<FromGitter>
<j8r> there is still this annoying `Invalid encoding: GB2312 (ArgumentError)` issue on Alpine 😬
DTZUZO has quit [Ping timeout: 245 seconds]
hightower2 has joined #crystal-lang
ashirase has quit [Ping timeout: 250 seconds]
ashirase has joined #crystal-lang
SerkanDevel[m]1 has quit [Write error: Connection reset by peer]
trashhalo[m] has quit [Read error: Connection reset by peer]
DTZUZO has joined #crystal-lang
SerkanDevel[m]1 has joined #crystal-lang
Jenz has joined #crystal-lang
hightower2 has quit [Ping timeout: 255 seconds]
trashhalo[m] has joined #crystal-lang
<wuehlmaus>
is the change from Time.now to Time.local etc brand new? because the main webpage about crystal still has Time.now
<wuehlmaus>
puh, it is. i thought the webpage was wrong, that would be a pity, all good.
<FromGitter>
<j8r> `Time.now` is deprecated
<wuehlmaus>
so perhaps the example on crystal-lang.org should be changed :-)
<FromGitter>
<Blacksmoke16> @j8r My thing will convert the arguments to their expected types, so i figured it would be helpful to list what each argument would get converted into
<FromGitter>
<kinxer> @Jenz I believe it's because of the addition of `Time.utc` and `Time.local` (the second of which has the same behavior as `Time.now`). The two newer methods actually specify in their names the location for the time, so it's a better interface.
<Jenz>
Ah I see, OK, thanks kinxer
<FromGitter>
<kinxer> Np.
<FromGitter>
<michalvalasek> hey everyone!
<FromGitter>
<michalvalasek> one quick question: is it normal that the instalation via homebrew takes 2 hours (and still going on)?
<FromGitter>
<michalvalasek> it seems to be stuck at the `cmake -G Unix Makefiles ..` step
<FromGitter>
<michalvalasek> CPU usage at 100% the whole time (clang)
<FromGitter>
<Blacksmoke16> 😬
<FromGitter>
<Blacksmoke16> prob not normal
<Jenz>
Definitely not normal (especially it being clang)
<jokke>
Jenz: hm on what would i invoke type_vars?
<jokke>
i tried @type
<jokke>
but that's already a TypeNode
<jokke>
ahh
<jokke>
it's a class method
<FromGitter>
<michalvalasek> thanks!
<jokke>
that doesn't make it easier
<jokke>
or rather a module method
<FromGitter>
<Blacksmoke16> can you make a playground link?
<FromGitter>
<Blacksmoke16> dealing with types in macro land is kinda a pita since they can be a bunch of diff things depending on context
<FromGitter>
<chussenot> So please, I'm looking for someone for a first review
<FromGitter>
<chussenot> Cheers
<FromGitter>
<chussenot> Send me a private message if you are interested to contribute
<Jenz>
Nice! Personally I don't use gitlab, but any extension to the crystal ecosystem is most welcome. :D. And it's called "an example, many examples", not "exemples". XD
<FromGitter>
<Blacksmoke16> hmm, prob possible to make that a reuseable method?
<z64>
certainly. ideally, you would have some `spec/compile_errors/` dir that you would put individual examples of code that shouldn't compile
<z64>
(i just made a tempfile because, play.crystal-lang.org)
<z64>
then you write some spec helper that runs it and returns the whole error string, or maybe you make some `record CompileResult, process_status : Process::Status, error : String`
<z64>
or w/e :p
<FromGitter>
<Blacksmoke16> neat
<FromGitter>
<Blacksmoke16> that'll be super helpful for athena