ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
notzmv has quit [Ping timeout: 250 seconds]
ejjfunky has quit [Remote host closed the connection]
ejjfunky has joined #crystal-lang
waleee has quit [Ping timeout: 245 seconds]
notzmv has joined #crystal-lang
<FromGitter> <moe:busyloop.net> no way to set a default type for a generic? :(
<FromGitter> <moe:busyloop.net> https://carc.in/#/r/cqyh
<FromGitter> <moe:busyloop.net> use-case, i'd like to infer T from a nil'able ctor ivar: https://carc.in/#/r/cqyi ⏎ (i'd really like `bar` to be optional - but dictate T in case it's provided)
ejjfunky is now known as ejjfunklf
ejjfunklf is now known as ejjfailurelf
ejjfailurelf is now known as ejjfailf
<FromGitter> <naqvis> sth like https://carc.in/#/r/cqyx
taupiqueur has joined #crystal-lang
taupiqueur has quit [Read error: Connection reset by peer]
taupiqueur has joined #crystal-lang
ejjfailf has quit [Remote host closed the connection]
taupiqueur has quit [Ping timeout: 256 seconds]
<FromGitter> <moe:busyloop.net> ah, could've sworn i've tried that. thanks!
<frojnd> Hi there.
<frojnd> I am on a project where I have to debug stuff in logs like Android's logcat: https://pastebin.com/cjh67DZm Problem with this is that files can be huge,... up to 200MB. Sometimes I don't get the correct timestamp of issue. Sometimes I don't get a timestamp at-all. So I can have 24hours sometimes even 48hours of logs in one file and I have to look for something... Now I was thinking of some
<frojnd> sort of AI debugging stuff. Like writing a story of what was happening with device without looking at logs. For example user opened app at 20:20 and then used that app for 10 minutes. Then user closed app and something bad happened: system would detect errors based on tag. In android this is presented with E. and or/just information text <- would have to train it. What shards do you suggest
<frojnd> me for text processing?
taupiqueur has joined #crystal-lang
<frojnd> Log convention looks like this: <timestamp> <logLevel> <tag> <line> : <messge>
<frojnd> So I could apply some filters based on timestamp, logLevel tag line and message
<FromGitter> <moe:busyloop.net> hmm. can you influence how/what the apps log? ⏎ ⏎ this should be a lot easier if they include a session-id/client-id with each line.
<FromGitter> <moe:busyloop.net> i don't know of any NLS/AI shards for crystal, but feel like this is something that should rather be addressed with structured logging anyway
<frojnd> What do you mean client-id? In logs there is thread id and pid id. So I know "lifetime" of specific id
<frojnd> logcat includes logs of "everyting" from sytsem apps to user apps....
<FromGitter> <moe:busyloop.net> hmm ah. so if you can already differentiate apps from one another, isn't it just a matter of parsing? ("used app-id X from A until B", "exception E happened while apps A, B, C where open")
mattt2 has quit [Ping timeout: 265 seconds]
mattt2 has joined #crystal-lang
<FromGitter> <naqvis> frojnd write a parser to parse logcat logs and then use one of my shard like CrysDA (https://github.com/naqvis/CrysDA) for quick data analysis.
ejjfunky has joined #crystal-lang
[R] has quit [Ping timeout: 240 seconds]
[R] has joined #crystal-lang
<frojnd> @moe:busyloop.net yeah parser and maybe what @naqvis suggest for quick data analysis
waleee has joined #crystal-lang
taupiqueur has quit [Ping timeout: 256 seconds]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
taupiqueur_ has joined #crystal-lang
taupiqueur has quit [Ping timeout: 240 seconds]
taupiqueur_ has quit [Quit: taupiqueur_]
ur5us_ has joined #crystal-lang