DTZUZO has quit [Read error: Connection reset by peer]
DTZUZO has joined #crystal-lang
_whitelogger has joined #crystal-lang
rohitpaulk has joined #crystal-lang
_whitelogger has joined #crystal-lang
_whitelogger has joined #crystal-lang
_whitelogger has joined #crystal-lang
_whitelogger has joined #crystal-lang
Yxhuvud has quit [Remote host closed the connection]
Yxhuvud has joined #crystal-lang
ashirase has quit [Ping timeout: 272 seconds]
ashirase has joined #crystal-lang
gangstacat has quit [Quit: Ĝis!]
<FromGitter>
<bew> @wontruefree that talk you shared about c++/llvm/lisp for molecular metaprogramming is sooo awesome, thank you :D
<FromGitter>
<ljuti> @Blacksmoke16 As you said, setting calculated fields from the JSON data and then making sure that the input adheres to a certain set of rules, like a specification
<FromGitter>
<proyb6> I have a curiously about extracting part of data from a text file that preserves layout
<FromGitter>
<proyb6> I always see most of the ruby solutions is to read lines by lines horizontally or match string from 1st part to 2nd part in horizontally
Yxhuvud has quit [Ping timeout: 260 seconds]
<FromGitter>
<proyb6> Are there a way to match string "vertically" especially like Japanese?
<FromGitter>
<proyb6> .lines to become .vlines
Jenz has joined #crystal-lang
<Jenz>
I remember there was released a book on crystal, but I can't seem to find it again?
<FromGitter>
<j8r> @proyb6 a text file is a list of bytes. You can at n bytes to n bytes in the file. Reading lines by lines means having \n (and/or \r) as a delimiter. Reading horizontaly will need to make an Array of Strings, then taking the first char of each element in the Array, then the second etc
<FromGitter>
<j8r> that's very ineficient
<FromGitter>
<j8r> or else you parse the file, and each char of a line is appended in an array of Strings