<FromGitter>
<proyb6> Have you use it for other purposes e.g. for backend communication across servers?
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
<wuehlmaus>
VB B ¿A˘
<trashhalo[m]>
wat
_whitelogger has joined #crystal-lang
<FromGitter>
<girng> @proyb6 nope, i just use a tcp stream for that
<FromGitter>
<girng> but if i couldn't use gitter or if crystal had no community, i wouldn't be able to figure out how to communicate between servers with messages. i would have prob used websocket then
<FromGitter>
<proyb6> @girng How does tcp stream look like and can they sent HTML contents as well?
<FromGitter>
<girng> yeah you can send anything
<FromGitter>
<proyb6> R
<FromGitter>
<proyb6> But I tried to do benchmark on tcp socket, not HTTP socket on Crystal seems to be less performant, provided I need to manually manage the incoming data
<FromGitter>
<proyb6> Nuster author just shared with me on Haproxy
<FromGitter>
<girng> were you running just one instance?
<FromGitter>
<girng> wait, what do you mean sorry. did you test a tcp socket and a websocket? or are you saying crystal's websocket performance was less than another language?
<FromGitter>
<proyb6> I have test client and server websocket on local machine and was exploring whether it could be use for backend purpose over those “reverse proxy” method which is slower like fpm-php
<FromGitter>
<girng> hmm
<FromGitter>
<dscottboggs_gitlab> Does anyone know of a nice example of how to use YAML::Builder and YAML::PullParser? I've used the JSON equivalent but I'm not sure how to use `mapping`, `scalar`, and `sequence`
<FromGitter>
<dscottboggs_gitlab> nvm i just kinda figured it out by experimenting a bit
<FromGitter>
<j8r> I mean ded initialize, called with .new
<RX14>
what do you mean?
<FromGitter>
<j8r> I'm on phone :/ `def initialize`
<RX14>
no
<RX14>
the allocate is called from .new
<RX14>
always
<FromGitter>
<j8r> I mean it creates a special `self.new`
<FromGitter>
<j8r> I thought it has a `GC.allocate`...
<RX14>
it does
<FromGitter>
<j8r> I don't understand why `GC.allocate` will be called once, for one`.new`called which call `new` inside. Both are created with `initialize`
<RX14>
but thats not what anyone is talking about
<RX14>
that would create 2 completely different objects
<RX14>
you either go `.new` -> `.new` (autogenerated, allocates) -> `#initialize`
<RX14>
or you go `.new` (autogenerated, allocates)` -> `#initialize` -> `#initialize`
<FromGitter>
<j8r> The @sam0x17 example use `initialize("somestr")` inside an `initialize`
<RX14>
yes, exactly
<RX14>
where is .new called again?
<FromGitter>
<j8r> So `new` isnt same as`initialize` in this case?
<RX14>
...
<RX14>
.new calls initialize
<RX14>
not the other way around
<RX14>
initialize is a normal method
<FromGitter>
<j8r> Ok!
<RX14>
it just automagically gets a .new with the same arguments which calls it
<FromGitter>
<j8r> Thx, I got it ;)
<FromGitter>
<j8r> We can have conflicts with `self.new` and `initialize` with same overloads then :/
<mps>
j8r: sorry for distraction from productive chat, but yesterday I forgot to mention to you Adélie Linux (http://www.adelielinux.org) which is based on Alpine and have LXQt, kde plasma and is more 'end user' friendly than Alpine
<FromGitter>
<j8r> Thx mps, that's what I was looking for :)
<FromGitter>
<j8r> ... but, do they contribute back to have the kde/lxqt packages in the mainline Alpine?
<FromGitter>
<bararchy> @j8r so, MT schedular ah?
<FromGitter>
<j8r> Meh > We ship coreutils instead of BusyBox by default, as user experience is our absolute highest goal.
<FromGitter>
<j8r> But that's ok if we can remove it
<FromGitter>
<j8r> @bararchy ?
<FromGitter>
<bararchy> just hyping about -> #7214
<FromGitter>
<proyb6> MT - MultiThread or Manual Transmission? :)
<FromGitter>
<spTorin> Mmmm... now crystal can execute fibers in parallel? on different cores?
_whitelogger has joined #crystal-lang
<FromGitter>
<bew> @spTorin not "NOW" but it's in progress :)
<FromGitter>
<bararchy> @Papierkorb what say you about `qt5` shard ?
sagax has quit [Ping timeout: 268 seconds]
<FromGitter>
<kingsleyh> I've joined the forum and introduced myself :)
<FromGitter>
<kingsleyh> @girng is your godot game anywhere on github?
sagax has joined #crystal-lang
return0e_ has quit [Remote host closed the connection]
return0e has joined #crystal-lang
<oprypin>
bararchy, he's not here
<oprypin>
it is very unfortunate that such grandiose work is lost to bus factor
<FromGitter>
<bararchy> oprypin: bus factor?
<RX14>
how much would be lost if a person was hit by a bus and died
<RX14>
i.e. if you're the only person working on a project it has bus factor 1 since 1 person hjas all the knowledge and experiese on that project
<FromGitter>
<bararchy> Ok, makes sense
non-aristotelian has joined #crystal-lang
JuanMiguel has joined #crystal-lang
JuanMiguel has quit [Client Quit]
<FromGitter>
<kingsleyh> More people could join the project and even if the original author moves on other people can learn from the code and take it forwards
<FromGitter>
<kingsleyh> Maybe it would be nice to make a list of projects which people would like resurrected
<FromGitter>
<kingsleyh> I recently revived the rethinkdb project for example
<oprypin>
kingsleyh, but generally, no, that's not how it works
<oprypin>
tbh i havent seen any people involved with @crystal-community in ages
<FromGitter>
<kingsleyh> Oh nice!
<FromGitter>
<kingsleyh> The Crystal community is probably quite small (I have no idea how big it is) but maybe in the future with more people things like that will pick up
<oprypin>
kingsleyh, maybe u should even look into joining this @crystal-community alias
<oprypin>
obviously it doesnt represent crystal community but w/e
<FromGitter>
<kingsleyh> When I started learning Ruby the community was tiny and nobody I knew had heard of it - but years later it’s got a huge community
<FromGitter>
<kingsleyh> Some interesting things in the list over there - as you know I’ve been doing some work in the OpenSSL space - i guess the sikoba team together with Manas are going to take care of that one of the recent announcement is correct
akaiiro has quit [Remote host closed the connection]
<FromGitter>
<girng> @kingsleyh nice, gonna read it now
non-aristotelian has quit [Quit: non-aristotelian]
return0e has quit [Read error: Connection reset by peer]
return0e has joined #crystal-lang
azuri5 has joined #crystal-lang
return0e_ has joined #crystal-lang
return0e has quit [Ping timeout: 268 seconds]
azuri5 has quit [Quit: azuri5]
druonysus has quit [Read error: Connection reset by peer]
Jenz has joined #crystal-lang
<Jenz>
What the closest crystal has to java's 'this'
<Jenz>
Merry christmas, btw
<Jenz>
Bad time to ask, nvm. replying unless I'm online, thanks