ChanServ changed the topic of #crystal-lang to: The Crystal programming language | | Crystal 0.23.0 | Fund Crystal's development: | Paste > 3 lines of text to | GH: | Docs: | API: | Logs:
<FromGitter> <renich> Guys, any idea of why is this happening?
<FromGitter> <renich> It happens on 0.23.0; not in 0.22.0
<FromGitter> <renich> ah! 0.23.0 doesn't know how to add! ;)
greengriminal has quit [Quit: This computer has gone to sleep]
<FromGitter> <johnjansen> now where did i read about this … unrelated to crystal (only a couple of days ago)
<FromGitter> <johnjansen> im guessing, and i could easily be wrong, that the default size for floats has changed between versions from 32 to 64 bits, see … ill take a look at the release notes for 23 if i can find them
greengriminal has joined #crystal-lang
<FromGitter> <johnjansen> well if that is the case, its not obvious … anyhoo … testable if you want to play around with it
<FromGitter> <johnjansen> nope thats not it … but you should still read about the internals of floating point numbers
<FromGitter> <codenoid> :( You scared me, crystal is my first language
<FromGitter> <johnjansen> not aimed at you @codenoid … just keep going and for now ignore the details
sz0 has quit [Quit: Connection closed for inactivity]
Dreamer3 has quit [Ping timeout: 248 seconds]
<crystal-gh> [crystal] MakeNowJust opened pull request #4708: Fix chained comparisons `to_s` to work #4663 (master...fix/crystal/4663-chained-comparisons-to-s)
<FromGitter> <johnjansen> anyone around?
johnjansen has joined #crystal-lang
balduin has quit [Ping timeout: 240 seconds]
<johnjansen> test from irc
<bmcginty> johnjansen: pong
<johnjansen> thanks bmcginty
<johnjansen> anyone care to point me in the right direction with this
<oprypin> johnjansen, calls with blocks are inlined so recursion is impossible. it just has a weird way of telling you that
<johnjansen> damn, thats right ... thanks opypin
<johnjansen> oprypin
<johnjansen> ;-)
<oprypin> probably can press tab to complete names
<johnjansen> its a bloody weird way ;-)
<johnjansen> so you can, thanks ... im trying IRC for a change
<FromGitter> <elorest> Everyone is in Irc now?
<FromGitter> <elorest> What client does everyone use?
<oprypin> no, certainly not everyone
<oprypin> the clients are Konversation, AndChat
johnjansen has quit [Quit: My computer has gone to sleep. I may have also!]
hightower2 has joined #crystal-lang
havenwood_ has joined #crystal-lang
havenwood_ has quit [Changing host]
havenwood_ has joined #crystal-lang
hightower3 has joined #crystal-lang
havenwood_ has quit [Quit: ZNC 1.6.5 -]
hightower4 has quit [Ping timeout: 255 seconds]
greengriminal has quit [Quit: This computer has gone to sleep]
greengriminal has joined #crystal-lang
greengriminal has quit [Client Quit]
havenwood has joined #crystal-lang
<FromGitter> <konovod> floats were 64-bit like always, so result is same in 0.22 and 0.23. The thing that is changed is Float##to_s :
hightower2 has quit [Ping timeout: 248 seconds]
<FromGitter> <bew> Good point
<FromGitter> <bew> Morning here :)
<FromGitter> <konovod> morning
havenwood has quit [Quit: ZNC 1.6.5 -]
<FromGitter> <elorest> Morning.
<FromGitter> <elorest> 1:28AM here to technically morning.
<FromGitter> <konovod> i need something like `IO.gets`, but with two arbitrary string delimiters instead of one(stop at first or second delimiter found). any ideas on how to do it in a idiomatic way? It seems that easiest way is to copy `gets` source and modify it.
<FromGitter> <straight-shoota> konovod, I don't think there is an implementation of this in stdlib, so you're probably gonna need to do it yourself
havenwood has joined #crystal-lang
hightower2 has joined #crystal-lang
havenwood is now known as Guest63175
Guest63175 has quit [Changing host]
Guest63175 has joined #crystal-lang
mark_66 has joined #crystal-lang
bmcginty has quit [Ping timeout: 276 seconds]
hightower2 has quit [Ping timeout: 276 seconds]
Guest63175 has quit [Quit: ZNC 1.6.5 -]
bmcginty has joined #crystal-lang
havenwood has joined #crystal-lang
havenwood has joined #crystal-lang
havenwood has quit [Changing host]
havenwood has quit [Ping timeout: 240 seconds]
Guest74581 has joined #crystal-lang
<FromGitter> <benoist> hey guys, does anyone know which documentation was used to create the crystal-mysql shard?
Guest74581 has quit [Quit: ZNC 1.6.5 -]
<oprypin> benoist, maybe just looking at examples
<oprypin> sqlite shard which was created by core team
<FromGitter> <benoist> i’m looking for the internal mysql specification
<FromGitter> <benoist> the binary protocol
<oprypin> oh ok..... why tho
<FromGitter> <benoist> there is an issue with running unprepared statements
<FromGitter> <benoist> it uses the Mysql::TextResultSet for unprepared statements and I believe that class is causing the problem
<FromGitter> <benoist> but it would need the mysql specification to figure out how mysql returns the query responses
<FromGitter> <benoist> or if its even possible to implement unprepared statements with the binary protocol
<FromGitter> <benoist> as the unprepared statements now read strings and then converts it to the correct type which is a lot slower
rohitpaulk has joined #crystal-lang
<FromGitter> <bararchy> Trying to bind to a lib I know I have, still getting cann't be found, Added to ldconfig, and passed as -D -L and -l same issue: ⏎ ⏎ ⏎ Any ideas ? []
<FromGitter> <crisward> Check the source code, I know my pull requests included comments with links to MySQL spec, that was for adding column types. But I'm sure what your after will be in the same place.
<FromGitter> <bew> @bararchy the `-L` flags aren't added to the final compilation line
<FromGitter> <bararchy> is it because I'm running spec instead of build ?
<FromGitter> <bew> how do you define your lib? did you put a `@[Link(...)]` ?
<FromGitter> <bararchy> ```@[Link("vix")] ⏎ lib LibVIX``` []
<FromGitter> <bew> no spec and build does the same
<FromGitter> <bew> iirc, you can specify additionnal stuff with: `@[Link("vix", ldflags: "-L/path/to/lib")]`
<FromGitter> <benoist> @crisward hmm that documentation has moved but the new documentation doesnt seem complete
<FromGitter> <bew> @bararchy just checked that syntax, it should work
<FromGitter> <crisward> @benoist weird, does Mariadb have docs? They're suppose to be api compatible
<FromGitter> <benoist> good idea will check
<FromGitter> <bararchy> So: ⏎ ⏎ ```code paste, see link``` []
<FromGitter> <bew> what's the full error?
<FromGitter> <benoist> @crisward thats seems like a usefull bit of documentation 😄
<FromGitter> <bararchy> @bew That's all the oputput
<FromGitter> <bew> (need the link line)
<FromGitter> <bew> ah ok
<FromGitter> <bararchy> @bew ⏎ ⏎ ```code paste, see link``` []
<FromGitter> <bew> it's runtime error here I guess
<FromGitter> <bew> can you build the spec with `crystal build spec/`
<FromGitter> <bararchy> Yeha, build is passing now that I tested
<FromGitter> <bew> then run `ldd your_binary`
<FromGitter> <bew> to see the necessary linked libs
<FromGitter> <bararchy> ``` => not found ⏎ ``` []
<FromGitter> <bararchy> I'll just copy it to the projcet dir
<FromGitter> <bararchy> ffs
<FromGitter> <bararchy> lol
<oprypin> even that will not help
<FromGitter> <bew> maybe you could install the lib in a standard library path
<FromGitter> <bararchy> Yeha, I'll try now
<FromGitter> <bew> so it'll be found in all cases (your project sources won't always be there where you distribute the binary
<oprypin> env {LD_,}LIBRARY_PATH=/full/path crystal run
<oprypin> and remove link flags with absolute path from your source code obviously
<oprypin> don't trash your system by installing things globally
hightower2 has joined #crystal-lang
<FromGitter> <bararchy> Thanks oprypin, and @bew , now I'll go handle VMware support lol ⏎ ⏎ ```code paste, see link``` []
<FromGitter> <bew> woops nice error
Raimondii has joined #crystal-lang
havenwood has joined #crystal-lang
Raimondi has quit [Ping timeout: 260 seconds]
Raimondii is now known as Raimondi
<FromGitter> <LuckyChicken91_twitter> is crystal having an email or something where i can contact crystal?
<oprypin> wut
<oprypin> Crystal is not a real person
<oprypin> the appropriate way to contact depends on the topic. what's the topic? @LuckyChicken91_twitter
<crystal-gh> [crystal] RX14 opened pull request #4709: Rename skip() macro method to skip_file() (master...feature/rename-skip)
<FromGitter> <LuckyChicken91_twitter> are you kidding me? I havent meaned that crystal is a real person
<FromGitter> <LuckyChicken91_twitter> annoying that if you delete a message that its just deleted in gitter and not in irc too
<FromGitter> <sdogruyol> hey everyone
<FromGitter> <LuckyChicken91_twitter> hey
<FromGitter> <bararchy> Hi @sdogruyol
<FromGitter> <sdogruyol> how are you
<FromGitter> <bew> Hey! fine here and you?
<FromGitter> <sdogruyol> great!
<FromGitter> <bararchy> So... what is this about AWS support running Crystal ?
<FromGitter> <sdogruyol> what?
<FromGitter> <sdogruyol> yeah, I'm not sure what's he talking about
<RX14> he's asking if he can run a crystal-lang website on AWS
<FromGitter> <sdogruyol> ugh
<FromGitter> <bararchy> Sounds like he thinks the aws support is written in Crystal ?
<FromGitter> <bararchy> XD
<RX14> not really
<FromGitter> <sdogruyol> yeah i also understood it like that
<RX14> you could interpret it like that but it's pretty clear to me
<FromGitter> <sdogruyol> can you reply to that thread please @RX14?
<FromGitter> <sdogruyol> well you're a native speaker ofc :D
_whitelogger has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 255 seconds]
<FromGitter> <benoist> @crisward tnx for the tip, I found the bug and was able to create a fix
rohitpaulk has joined #crystal-lang
tzekid has joined #crystal-lang
hightower2 has quit [Ping timeout: 248 seconds]
fenicks has quit [Ping timeout: 248 seconds]
rohitpaulk has quit [Ping timeout: 240 seconds]
fenicks has joined #crystal-lang
<crystal-gh> [crystal] RX14 pushed 2 new commits to master:
<crystal-gh> crystal/master 944c083 Chris Hobbs: Merge pull request #4693 from bew/fiber-little-fixes-while-reading...
<crystal-gh> crystal/master 9d9ed00 Benoit de Chezelles: fiber: visual fixes while reading
rohitpaulk has joined #crystal-lang
<travis-ci> crystal-lang/crystal#944c083 (master - Merge pull request #4693 from bew/fiber-little-fixes-while-reading): The build has errored.
<DeBot> (fiber: visual code fixes)
<travis-ci> crystal-lang/crystal#944c083 (master - Merge pull request #4693 from bew/fiber-little-fixes-while-reading): The build has errored.
<DeBot> (fiber: visual code fixes)
deep-book-gk_ has joined #crystal-lang
deep-book-gk_ has left #crystal-lang [#crystal-lang]
hightower2 has joined #crystal-lang
hightower2 has quit [Ping timeout: 240 seconds]
greengriminal has joined #crystal-lang
<FromGitter> <straight-shoota> I am repeatedly running into this compiler error: ⏎ ⏎ ```code paste, see link``` []
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter> <straight-shoota> And I can't find where this originates, seemingly on multiple locations :/ And it used to compile, I don't think I made any significant changes
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 260 seconds]
hightower2 has joined #crystal-lang
<travis-ci> crystal-lang/crystal#944c083 (master - Merge pull request #4693 from bew/fiber-little-fixes-while-reading): The build passed.
<DeBot> (fiber: visual code fixes)
jadams has quit [Quit: ZNC -]
greengriminal has quit [Quit: This computer has gone to sleep]
rohitpaulk has joined #crystal-lang
greengriminal has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 240 seconds]
<FromGitter> <johnjansen> thanks @konovod im sure @renich will appreciate that explanation ;-)
<FromGitter> <fridgerator> I hate sounding like a broken record, but is there any word on 0.23.1 ?
<FromGitter> <johnjansen> @frig
<FromGitter> <johnjansen> @fridgerator you need to add some clicks an scratch sounds in there ;-)
<FromGitter> <fridgerator> 🔉 💔
<FromGitter> <fridgerator> i'm not very good at emojis
<FromGitter> <johnjansen> more like one of those CD things ;-) that loops in a weird place making it hard to tell (for a few moments) that its looping … usually heard in strange fashions store whilst trailing the wife
<FromGitter> <johnjansen> seems relevant and a good reminder of process
<FromGitter> <bew> I have a lib binding for a function that has 13 arguments (holy shit, I know x) ), I'd line to make the bindings a little more readable than putting everything on one line, but the formatter keeps adding a lot of spaces to align the parameters to the `(`.
<FromGitter> <bew> it gives: ⏎ ⏎ `````` []
<FromGitter> <bew> by putting the first parameter on a new line, I'd expect it to no be indented on the `(`, is it expected?
<FromGitter> <bew> (the second form gets auto-formatted as the first one)
rohitpaulk has joined #crystal-lang
rohitpaulk has quit [Ping timeout: 260 seconds]
<oprypin> bew, don't use the formatter, it's that simple
<FromGitter> <bew> it doesn't seems to be a viable solution ^^
<oprypin> hmm if you write a normal function that looks like this, i bet it would format normally
<oprypin> if so, file a bug
<FromGitter> <bew> in fact, a method call gets formatted ok, but a method definition gets the indent
<oprypin> call is not comparable. i mean def
<FromGitter> <bew> and the fun declaration gets formatted as a def method
<oprypin> maybe it's because of the =
<oprypin> nothing unusual here
<oprypin> oh manual
<FromGitter> <bew> I have no preference for crystal-land methods, but I think that fun declarations could be formatted without all the indents..
<oprypin> bew, then make it so
<FromGitter> <bew> can I try a PR for this you think?
<oprypin> i was alluding to my earlier suggestion, but sure, probably
<FromGitter> <bew> oh, ok ty
rohitpaulk has joined #crystal-lang
balduin has joined #crystal-lang
mark_66 has quit [Remote host closed the connection]
<FromGitter> <bararchy> Did anyone wrote a web cralwer ?
<FromGitter> <johnjansen> yep
<FromGitter> <bararchy> link ?
<FromGitter> <bararchy> :)
<FromGitter> <johnjansen> no private repo sorry
<FromGitter> <johnjansen> what are you crawling, ill offer what i can
<FromGitter> <bararchy> Oh, so I mean, is there a public web crawler as a Shard ?
<FromGitter> <bararchy> @johnjansen Just acumulating links from a website
<FromGitter> <johnjansen> site or page
<FromGitter> <johnjansen> ?
<FromGitter> <bararchy> all pages from the same host I can find
<FromGitter> <johnjansen> do you care about robots.txt
<FromGitter> <bararchy> Nope XD
rohitpaulk has quit [Remote host closed the connection]
<FromGitter> <johnjansen> are you collecting links within the site or outbounds
<FromGitter> <johnjansen> and do you just need urls
<FromGitter> <bararchy> urls, just so I know what "pages" are avilable via link in the site
<FromGitter> <bararchy> I guess a simple loop of start at `/` and capture all href, the try all of them , and loop on that , etc.. etc...
<FromGitter> <johnjansen> id put something together with ⏎ ⏎ (maybe) ⏎ and something to keep track of what you have already seen … so you dont loop []
<FromGitter> <johnjansen> how big is the site?
<FromGitter> <johnjansen> better still, whats the url
<FromGitter> <bararchy> Oh, the site is going to be something else each time, it's a generic tool
<FromGitter> <johnjansen> sounds pretty easy
Renich has joined #crystal-lang
<Renich> Good day, Crystalians!
<Renich> p(
<Renich> o/
<FromGitter> <renich> Hey @johnjansen thanks a lot for the reply on It is weird that this was managed on 0.22.0 and it is not on 0.23.0
<FromGitter> <straight-shoota>
<FromGitter> <renich> @johnjansen and, btw, thanks for the reference
<FromGitter> <johnjansen> @renich i mentioned you in response to a comment posted with regard to `to_s` on Float64 changing
<FromGitter> <renich> @johnjansen looking for it... I saw @konovod 's comment though
<FromGitter> <fridgerator> I see that 0.23.1 tag !! 🎉 👏
<FromGitter> <johnjansen> anyone know of a anything like `addressable` that can merge relative URL’s into absolute ones … or an absolutize method (save me doing that)
<FromGitter> <renich> @johnjansen found yours. Thanks, btw.
<FromGitter> <renich> OK, well. I will use round(4) from now on :D
<FromGitter> <johnjansen> wait ...
* FromGitter * renich is waiting
<FromGitter> <straight-shoota> @fridgerator the tag is nearly a week old^^
<FromGitter> <johnjansen> if its just the `to_s` that changed, then the value underneath might be correct, so test that first i.e. `a == expected`
<FromGitter> <renich> @johnjansen will try
<FromGitter> <johnjansen> proved to be wrong … round it is ⏎
<FromGitter> <fridgerator> @johnjansen isn't that the age of the commit? I've been checking daily and havent seen it until just now
<FromGitter> <johnjansen> im so aged i should be committed ;-)
<FromGitter> <renich> @johnjansen yep. Thanks!
<FromGitter> <johnjansen> which will account for why i have no idea what you are talking about @fridgerator, although i do remember something about a broken record
<FromGitter> <fridgerator> no it does say "tagged 6 days ago".... but I swear it hasn't shown up until today
<FromGitter> <fridgerator> maybe I'm the one that needs to be commited
<FromGitter> <johnjansen> @bararchy this is a quick and dirty
<FromGitter> <konovod> `to_s` changed and made right. `(x + y) != 0.0004` in previous version too, but was shown as same. It's a floats.
<FromGitter> <johnjansen> thanks @konovod lucky someone was paying attention
<FromGitter> <bararchy> @johnjansen ⏎ ⏎ ```code paste, see link``` []
<FromGitter> <bigtunacan> @johnjansen Do you do some Go development as well then?
<FromGitter> <bigtunacan> (noticed your Go slide above)
<FromGitter> <johnjansen> no, just track a bunch of languages ;-)
<FromGitter> <bigtunacan> I know it's been getting pretty decent traction, but I hadn't really paid any attention to it until just recently.
<FromGitter> <johnjansen> go is huge in silicon valley, especially in the ops community
<FromGitter> <bigtunacan> I was a bit surprised when I started looking over some of the documentation and realized that it is a procedural language similar to C
<FromGitter> <bigtunacan> It was like I had warped backwards in time almost 20 years
<FromGitter> <bigtunacan> I was fully expecting that it was an OO language
<FromGitter> <johnjansen> @bararchy remember that robots.txt often contains sitemap directives
fenicks has quit [Ping timeout: 260 seconds]
fenicks has joined #crystal-lang
hightower2 has quit [Ping timeout: 248 seconds]
havenwood_ has joined #crystal-lang
<FromGitter> <fridgerator> 1) 23.1 is out!
<FromGitter> <johnjansen> i thought i put that record player out with the trash … hmmm it was so broken ...
<FromGitter> <johnjansen> ;-)
<FromGitter> <fridgerator> lol
<FromGitter> <johnjansen> thanks @fridgerator ;-)
<FromGitter> <johnjansen> happy thursday
<FromGitter> <bigtunacan> @fridgerator Is Crecto working with 0.23.1 yet?
<FromGitter> <bigtunacan> 😄
<FromGitter> <johnjansen> are there release notes anywhere?
havenwood_ has quit [Changing host]
havenwood_ has joined #crystal-lang
<FromGitter> <hugoabonizio> @johnjansen
<FromGitter> <fridgerator> havent checked yet, will woon
havenwood_ has quit [Quit: ZNC 1.6.5 -]
<bmcginty> johnjonson: I've got some code to do normalizing of urls if you still need it?
<FromGitter> <johnjansen> that would be nice
hightower2 has joined #crystal-lang
<FromGitter> <johnjansen> @ bmcginty
havenwood_ has joined #crystal-lang
<FromGitter> <elorest> Has anyone seen any sort of base91 shard yet? I might start working on one as it’s quite a bit more efficient than base64. When I was a java programmer even in 2005 it was always preferable. In modern times everyone uses base64 for some reason though.
havenwood_ has quit [Changing host]
havenwood_ has joined #crystal-lang
havenwood_ has quit [Ping timeout: 240 seconds]
<FromGitter> <eliasjpr> Someone forgot to update the version file for v0.23.1
<oprypin> geez base91 what next
<FromGitter> <eliasjpr> I have updated the my crystal install but when I do `crystal -v`
<FromGitter> <eliasjpr> it prints out `0.23.0`
<FromGitter> <eliasjpr> ahh interesting, nvm I take that back oddly it now shows 0.23.1
<oprypin> elorest, there doesnt seem to be such a shard. i think it's time for something universal though.
<FromGitter> <elorest> <oprypin> Base64 is sort of universal but it sucks how it adds around 40% to the file size, yenc is used in usenet but is flawed. base122 is pretty efficient but isn’t ascii complient. Base91 is and a lot of people in the java, c# world use it. It only increases file size by around 15%.
<oprypin> elorest, not that kind of universal
<oprypin> i mean BaseWhateverYouLike
<FromGitter> <elorest> Yeah that would be nice.
<hightower2> bbase1
<FromGitter> <fridgerator> @bigtunacan nope, lol
<FromGitter> <fridgerator> something else broken now
<FromGitter> <bigtunacan> D'oh!
<FromGitter> <bigtunacan> Guess I'll still be sitting on Crystal 0.22 for now then
<FromGitter> <fridgerator> figured it out
<FromGitter> <fridgerator> I think
<FromGitter> <fridgerator> travis is still running 0.23.0
<jokke> hi
<FromGitter> <straight-shoota> It's gonna take some time for the packages to be built and distributed.
<jokke> this throws bad file descriptor
<jokke> could someone try to explain to me why?
<FromGitter> <bigtunacan> @fridgerator cool
<oprypin> jokke, actually is `output, input = `
<FromGitter> <straight-shoota> yay, I got Bash on Ubuntu on Linux to freeze for the first time 💯 It's Microsoft-based after all :D
<oprypin> jokke, blocking is not good, it interrupts event loop. nonblocking is still blocking but only in the good way (current fiber)
<oprypin> result
<FromGitter> <johnjansen> ok, philosophical question, does anyone see any reason not to do this … its totally legal ⏎ ⏎ ```class File ⏎ def lstat ⏎ File.lstat(path) ⏎ end ⏎ end``` []
<Papierkorb> I don't see anything wrong with it.
<oprypin> it's no good
<oprypin> File is a file descriptor
<oprypin> lstat does not deal with a file descriptor, just file system metadata
<oprypin> i mean it's a convenience thing but i think it falls into the same category as aliased method names
<Papierkorb> Not having `Pathname` is a disgrace too
<oprypin> i guess
<FromGitter> <johnjansen> wow, remind me never to talk philosophy ;-) haha
<oprypin> somehow aliasing ALL the File methods doesnt seem as bad to me lol
<oprypin> meaning `macro method_missing(call); self.{{}}(path, {{*call.args}}); end`
<oprypin> how do you like them apples
<FromGitter> <johnjansen> good grief, now thats lovely but i feel like you brought a tank to a fist fight
<FromGitter> <johnjansen> also, anyone got any thoughts on getting user name from a uid and group name from a gid
<oprypin> correction: `File.{{}}(path: path, {{*call.args}})` but yeah honestly this should be `Pathname` struct with all those methods
<oprypin> johnjansen, well there's always the option of parsing /etc/passwd :|
<FromGitter> <johnjansen> doesn work on osx, but yeah
<Papierkorb> Parsing /etc/passwd is the correct solution for the naive solution
<Papierkorb> There's actually nothing wrong with reading that file
<Papierkorb> But that'll break when you're dealing with more complex configurations
<Papierkorb> johnjansen, do you have the `getent` tool there?
<FromGitter> <johnjansen> not on osx
<oprypin> but how can osx not have /etc/passwd, isnt that posix
<FromGitter> <johnjansen> users arent in /etc/passwd on osx
<FromGitter> <johnjansen> you can however `dscacheutil -q user` or `dscacheutil -q group`
<Papierkorb> johnjansen, what are you trying to do?
<FromGitter> <johnjansen> simply resolve file owners to names
<FromGitter> <johnjansen> its not that important, but i value everyones thoughts
<Papierkorb> johnjansen, see the man page for getpwuid_r(3)
<Papierkorb> Should be POSIX. That'll get the correct name, if any, even for complex setups
<Papierkorb> Oh yeah, if you're not comfortable with using libc functions yet, now's the time ;)
<FromGitter> <johnjansen> how did i know you were going to say that
ChanServ changed the topic of #crystal-lang to: The Crystal programming language | | Crystal 0.23.1 | Fund Crystal's development: | Paste > 3 lines of text to | GH: | Docs: | API: | Logs:
<Papierkorb> Thank you chanserv-tan
<RX14> lol
<RX14> it's easier than making chanserv op me
<oprypin> RX14, what do you think about adding a gitter link to the topic. especially seeing as it can double as Logs
<RX14> the topic's getting a bit long
<oprypin> RX14, so i'm implying the whitequark link would be gone
<RX14> thoughts about removing the paste and replacing logs with gitter?
<oprypin> paste is good, i dunno
<Papierkorb> Is it really too long?
RX14 changed the topic of #crystal-lang to: The Crystal programming language | | Crystal 0.23.1 | Fund Crystal's development: | GH: | Docs: | API: | Gitter:
<Papierkorb> You could kick the Logs part if you'd insist, but the Paste part is rather important for IRC users
<RX14> i really don't think so
<RX14> the people who don't use pastebin are all on gitter
<RX14> lol
<oprypin> true dat
<RX14> and if they wind up on IRC they just do it anyway
<RX14> all the people who read topics know to use a pastebin already
<RX14> i think overall it's pretty useless, easier to use something like
<RX14> ?paste
<DeBot> RX14: Nothing known about paste.
<RX14> ...
<oprypin> oh RX14 can now probably edit gitter settings as well. could put the most common annoyances (e.g. please use pastebin) in gitter room greeting message
<RX14> well gitter has ``` blocks
<RX14> lol i love that message "RX14 removes channel operator status from RX14"
<oprypin> well at least it's not "gives"
<RX14> heh
<Papierkorb> would be more entertaining though
<RX14> looks like it's not possible
<RX14> i.e. i can't op myself then give myself op again
<RX14> so i can't cheat for that message
<FromGitter> <RX14> ok i changed the gitter topic
<oprypin> :O there's a topic
<oprypin> gitter link in irc is wrong -lang
<RX14> huh
<RX14> how did that end up there
<RX14> i copy-pasted the link
ChanServ changed the topic of #crystal-lang to: The Crystal programming language | | Crystal 0.23.1 | Fund Crystal's development: | GH: | Docs: | API: | Gitter:
<FromGitter> <johnjansen> reproducing this is going to be fun `BUG: trying to downcast File <- Bool ⏎ `
<oprypin> :s
tzekid has quit [Remote host closed the connection]