<FromGitter>
<perfecto25> hello everyone, im trying to create a multicast listener, need to bind it to specific interface (we have solarflare network cards)
<FromGitter>
<perfecto25> cant find any example on how to bind to interface, and then subscrinbe to MC group + port
<cerulean>
it will be updated to add some more features that the ruby server has, but is capable of running my chat (including E2E encrypted PMs)
sagax has quit [Quit: Konversation terminated!]
postmodern has joined #crystal-lang
cerulean has quit [Ping timeout: 256 seconds]
f1refly has quit [Ping timeout: 244 seconds]
f1reflyylmao has joined #crystal-lang
<postmodern>
what's the "crystal way" for opening classes annd injecting additional functionality? is there some best practice to safely contain any injected methods so they don't conflict with other stuff?
<FromGitter>
<Blacksmoke16> just reopen the type and add what you want. However the crystal way would be to think about it first
<FromGitter>
<Blacksmoke16> like if you actually need to do that, and name things to reduce chances of conflicts
cerulean has joined #crystal-lang
<FromGitter>
<mixflame> is it supported to distribute crystal programs without crystal? I saw a way to do it by bundling libevent and something else on Mac with homebrew. Is there a way to distribute everything needed to run a Crystal program in a package?
<raz>
well, but i guess the endboss will remain: debian finally updated to 0.35.1, now how do i compile my 0.34 project?
<jhass>
also gonna be some years until you can use MT there, given the bdwgc patches are not released yet
<raz>
it's kinda funny how homebrew, that was kind of invented as an afterthought piggyback monstrosity on top of OSX, works way better for me than any legit distro pkg manager ever has
<jhass>
I didn't quite figure out how it bootstrap yet
<jhass>
oh, pacman works way better for me than homebrew
<raz>
but i think even homebrew can't do multiple pkg versions in parallel hmm
<raz>
ok, gotta admit i never tried pacman
<jhass>
I haven't used it much yet but I feel like apk is basically the same
<jhass>
neither helps you much with things like multi-version though
<raz>
(got apt, rpm/yum, portage, apk, brew under my belt, and perhaps some others that i forgot about)
<raz>
yeh apk is kinda nice, but has that disappearing pkgs problem :(
<jhass>
but their package building components are essentially just thing wrappers around some shellscript, so you have a lot of flexibility
<raz>
(the version you installed today may not exist tomorrow)
<jhass>
that's not a problem of the package manager but of the distribution
<jhass>
(and I still don't agree it's a major problem, but fwiw for archlinux there's archives)
<raz>
yup, well, depends on tastes and priorities. my holy grail is a repeatable build. no matter if i build today or in 2yrs. but that's a property nobody seems to want anymore
<jhass>
it's insanely hard
<jhass>
stuff is just too complex these days
<jhass>
anways
<jhass>
how the hell does this thing bootstrap
<jhass>
I don't get it
<raz>
i like how your two last remarks click together :p
<jhass>
:P
<FromGitter>
<kingsleyh> Evening
<FromGitter>
<kingsleyh> I'm building a match-3 / RPG style game in Crystal at the moment - here is the very beginning - I'm hoping to blog a bit about my experiences building it also: https://streamable.com/at7rtg
_whitelogger has joined #crystal-lang
<FromGitter>
<j8r> Looks nice, even though it reminds me a game I have seen a trillion times.
<FromGitter>
<Blacksmoke16> 🍬 🔨
alexherbo2 has quit [Ping timeout: 272 seconds]
<FromGitter>
<kingsleyh> yeah I wanted it to feel very familiar but then have the user discover some differences while playing - also I'm bringing in the RPG storyline soon which will add some interesting aspect to the game
<FromGitter>
<kingsleyh> This is my first attempt at building a game using Crystal - but I think it's going pretty well so far
<raz>
i love it. a game of crystals built in crystal!
<FromGitter>
<kingsleyh> @rishavs yes using crSFML
<FromGitter>
<kingsleyh> I'll be releasing it on Steam or somewhere initially and then maybe port it to mobile - and maybe make some more of different genres as well