<oprypin_>
run ["sh", "-c", modify, "--", in_, out_]
<oprypin_>
and the command will be expected to use $1 $2
<oprypin_>
you do absolutely no formatting or escaping (srsly pls don't)
<oprypin_>
that list is for Process.run, don't use `system` ever
<alex``>
modify could be `echo "$2" "$1"`?
<oprypin_>
yeah it could
<alex``>
one sh per element :(
<oprypin_>
that's what `system` does anyway
<alex``>
I call system once
<oprypin_>
ah well then u could specify multiple -c flags
<alex``>
what do you think of the ability to write the output (generated commands) to a file?
<oprypin_>
don't pls
<oprypin_>
I'd accept if you were to take this same list and *properly* shell-escape it (which i don't think there's a lib for in Crystal) and write it to a file
<mps>
j8r: there are two ways, first I ask someone who have dev.a.o write access to run 'abuild snapshot'
<mps>
second is to ask admin to give me write rights there, but I didn't asked because I dislike ask for rights and usually I wait till it offered to me
<jhass>
you can have j8r ask to give them to you xD
<mps>
but now, looks like I should 'break my own rule' and ask
<mps>
jhass: sounds like good idea
<mps>
it is not a problem, I will got it if I ask but didn't till now
<FromGitter>
<j8r> haha :)
<FromGitter>
<j8r> maybe there is a better may
<FromGitter>
<j8r> is it possible to have crystal as a dev dependency, then compiling the new compiler with the old one?
<mps>
I started to work on this but didn't finished because of 'not fine' dependencies handling in alpine
<mps>
new shards is not released yet?
<mps>
btw, should I force 0.29.0 for stable Alpine which will be released soon?
<FromGitter>
<j8r> what do you mean by force?
<FromGitter>
<j8r> it's not even on edge :/
<mps>
because we are in freeze cycle, and usually we don't add new pkg's, we do bug fixes only, well mostly
<mps>
sorry, I wasn't clear, just drinking my first morning coffee (and brandy :) )
<FromGitter>
<j8r> On my side, it doesn't really matter. My CIs are based on latest, with crystal and shards from edge.
<FromGitter>
<bew> @bcardiff what do you mean by `And it works across all files included from the main file after the cursor location` (in "Tools") ?
ashirase has quit [Ping timeout: 245 seconds]
ashirase has joined #crystal-lang
laaron has quit [Remote host closed the connection]
<FromGitter>
<mwlang> In documenting code, is there a way to reference classes without emitting the whole hierarchy? For example, my Binance shard, I don't want to litter the README documentation I would rather just display `ServerResponse` rather than `Binance::Responses::ServerResponse`, but have it link to the former.
<FromGitter>
<girng> Hello!!
<FromGitter>
<mistergibson> Hello
<FromGitter>
<mistergibson> I too have wondered about GoDot written in Crystal
<FromGitter>
<girng> @mistergibson i'm pretty sure @Blacksmoke16 will know this
<FromGitter>
<mistergibson> We need to expand the platform reach of Crystal prior to the attempt though ... all in due course
<FromGitter>
<girng> @mistergibson yeah i agree
<FromGitter>
<girng> how is everyone doing? what are ya'll working on
<FromGitter>
<mistergibson> I'm good --> just learning about Crystal from the beginning. I'm looking for design patterns using channels and fibers. I get the basic concept, just not sure yet how to USE them.
<FromGitter>
<mistergibson> I get Ruby threads and mutexes -- just takes a bit of a shift to get channels/fibers/flow-control between fibers
<FromGitter>
<girng> your name sounds familiar have you been here before?
<FromGitter>
<mistergibson> yes, I lurk
<FromGitter>
<mistergibson> ask silly n00b questions, and hang about like a bad smell ;)
<FromGitter>
<girng> i still have never used channels before, lol. i do use fibers though
<FromGitter>
<Blacksmoke16> @mwlang should just have to do like ``ServerResponse``
alex`` has joined #crystal-lang
greengriminal has joined #crystal-lang
<FromGitter>
<bcardiff> @bew ⏎ ⏎ > what do you mean by And it works across all files included from the main file (...) ⏎ ⏎ You can read that it as if it works in real projects, not only single files. But will only performa lookup through the files that are effectively used during a compilation of the main file. [https://gitter.im/crystal-lang/crystal?at=5cf912d3cea8295279018453]
<FromGitter>
<r00ster91> I'm also confused why the overflow error is still not raised by default
<FromGitter>
<kinxer> ^
<FromGitter>
<bcardiff> @kinxer because there are other things in the pipeline. ⏎ and @r00ster91 I want to turn them on but we need to bump llvm and embed compiler-rt. ⏎ ⏎ With this two features in particular, I didn't get that people care about them. Althought I am really convinced they are good thing to have :-). [https://gitter.im/crystal-lang/crystal?at=5cf9206aff3f016baab527ae]
<FromGitter>
<kinxer> Other things in the pipeline?
<FromGitter>
<bew> @bcardiff ok I see, what about the end of the line "after the cursor location" ? I don't see why you mention "after" or "the cursor location"
<FromGitter>
<bcardiff> @bew in the CLI after the `--cursor fileA.cr:LINE:COL fileMain.cr` I meant the fileMain.cr that is after the cursor location `fileA.cr:LINE:COL`
alex`` has quit [Ping timeout: 248 seconds]
alex`` has joined #crystal-lang
kartikey has quit [Ping timeout: 248 seconds]
<FromGitter>
<bew> oooooh ok, I'd suggest to remove that part, it's so confusing since you don't say you're talking about the cli.. Or maybe reword like this: ``And it works across all files included from `minion.cr` (the last parameter)`` (not better actually..)
<FromGitter>
<bew> Or `And it works across all files included from the main file (after the given --cursor location)`
<alex``>
where I can find the list of operators in the source code?
<alex``>
I update the keywords directly from Crystal sources
<FromGitter>
<mavu> if I build crystal compiler locally, do I need to update the behmgc sources too when I update crystal? (i.e. I originally compiled and installed the gc sources when I compiled crystal 0.27.2, and have not updated them since.)
<FromGitter>
<mavu> if that needs to be updated, is there any place where I can see the correct boehmgc version that should be used with a specific crystal version?
<FromGitter>
<watzon> Just had a very nice conversation with Martin over at Manas. I think I've got a good shot :)
<FromGitter>
<r00ster91> did you talk about Crystal?
<FromGitter>
<watzon> Si senor
<FromGitter>
<watzon> Among other things
<FromGitter>
<mistergibson> @watzon : you a prospect for hire?
DTZUZU has quit [Ping timeout: 252 seconds]
<FromGitter>
<watzon> Yep 😄
<FromGitter>
<mistergibson> Good luck to you
<FromGitter>
<watzon> Thank you
<FromGitter>
<mistergibson> Keep us posted so we have an excuse to drink ;)
<FromGitter>
<watzon> Hahaha do you need an excuse?
<alex``>
z64: I guess they are all in AtomicWithMethodCheck no?
<z64>
i don't know; i'm wholly unfamiliar with the compiler internals & there isn't documentation
greengriminal has joined #crystal-lang
DTZUZU has quit [Ping timeout: 248 seconds]
DTZUZU has joined #crystal-lang
Raimondi has joined #crystal-lang
DTZUZU has quit [Ping timeout: 248 seconds]
DTZUZU has joined #crystal-lang
greengriminal has quit [Quit: Leaving]
<FromGitter>
<Prutheus> How to unescape a string like this: "\"[{\\\"status\\\": \\\"DONE\\\", \\\"loc\\\": 1 .... ⏎ I mean how to get the inner string of that? ⏎ [{"status":...
<FromGitter>
<Prutheus> ^ is what I want to get.
DTZUZU has quit [Ping timeout: 258 seconds]
<FromGitter>
<Blacksmoke16> is that the actual string, or are you using `pp`?