R2robot has quit [Read error: Connection reset by peer]
oznek_ has joined #ruby
oznek has quit [Ping timeout: 260 seconds]
blacknova has joined #ruby
pages has quit [Remote host closed the connection]
pages has joined #ruby
oznek__ has joined #ruby
oznek_ has quit [Ping timeout: 265 seconds]
oznek__ has quit [Client Quit]
_whitelogger has joined #ruby
cappy has joined #ruby
mange has joined #ruby
brw has joined #ruby
cappy has quit [Quit: Leaving]
blacknova has quit [Quit: Connection closed for inactivity]
R2robot has joined #ruby
schne1der has joined #ruby
grenierm has joined #ruby
jmcantrell has quit [Ping timeout: 248 seconds]
andy-turner has joined #ruby
andy-turner has quit [Remote host closed the connection]
johnjaye has quit [Ping timeout: 276 seconds]
johnjaye has joined #ruby
u0_a115 has joined #ruby
u0_a115 has quit [Read error: Connection reset by peer]
u0_a115 has joined #ruby
u0_a115 has quit [Client Quit]
dionysus69 has joined #ruby
grenierm has quit [Quit: Client closed]
cappy has joined #ruby
andy-turner has joined #ruby
justgage has quit [Quit: Client closed]
oneeyedalien has joined #ruby
oneeyedalien has quit [Client Quit]
geewiz has quit [Quit: WeeChat 4.6.3]
polishdub has quit [Ping timeout: 260 seconds]
dionysus70 has joined #ruby
polishdub has joined #ruby
dionysus69 has quit [Ping timeout: 265 seconds]
dionysus70 is now known as dionysus69
Guest99 has joined #ruby
<Guest99>
There are some snaps that are quite well maintained, most obviously those that ship with ubuntu (firefox) but also powershell, chromium, steam, signal just picking a few
<Guest99>
There is a lot of hate for snaps online ("just use flatpak!!") but they offer a lot of functionality/ability to integrate with the system that isn't possible with flatpak. (It wouldn't make sense to install ruby as a flatpak, for instance :))
<Guest99>
Another success story for snaps is the nextcloud server snap, very handy for self hosters, it really does just work
<surrounder>
container would too?
<Guest99>
That's what snap is, it's a wrapper around lxd containers IIRC
<Guest99>
Docker/podman etc are also a great option, but the use case is a little different--if you want to install a general purpose tool like ruby to use for scripting across projects then it doesn't make sense to trap it in a container, you really do want a system-wide install like `apt install ruby` or `snap install --classic ruby`"
<surrounder>
but when an incompatible canonical sauce, so feck it ;)
<surrounder>
don't you want a virtual envirnment anyway?
<surrounder>
*environment
<Guest99>
i.e. bundler? I come from python land so idk what ruby folks mean when they say virtual environment
<surrounder>
for example, yes
<Guest99>
Yeah so the ruby snap (when it works) also comes with bundler, you can still run `snap run ruby.bundle install` just like you would run `bundle install`. The snap just gives you a ruby binary that's newer than the one in apt packages
<surrounder>
it's less portable though
Tempesta has quit [Quit: See ya!]
<Guest99>
Less portable than what? and to what?
<Guest99>
if you know you're running on ubuntu then it's very portable because the snap version of ruby will be the same even on different releases of ubuntu with different system versions of ruby
<surrounder>
if you're only in the ubuntu ecosystem, that is
<surrounder>
snap is hardly used outside of that
<Guest99>
Yes, that's me
<Guest99>
I haven't had much success with making ruby projects portable across distros or OSes... there are so many system libraries you need to line up to avoid those "building native extensions failed" bundle errors
<Guest99>
Unless you go for the nuclear option of using a docker container, but in that case the portable thing is docker, not the stuff inside of it (which now works only on docker)
Tempesta has joined #ruby
<mange>
I've been enjoying using Nix to set up my Ruby environments. It's another tool that needs to be installed, but it is pretty neat.
<Guest99>
another fine option! I'm going to learn how to use nix one of these days
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus70 is now known as dionysus69
mange has quit [Quit: Zzz...]
polishdub has quit [Ping timeout: 272 seconds]
polishdub has joined #ruby
wbooze has quit [Quit: Leaving]
Guest99 has quit [Quit: Client closed]
GreenResponse has joined #ruby
schne1der has quit [Ping timeout: 248 seconds]
cappy has left #ruby [Leaving]
nmollerup has joined #ruby
oznek has joined #ruby
wbooze has joined #ruby
oznek has quit [Quit: Leaving]
brokkoli_originl has quit [Ping timeout: 252 seconds]
llua has quit [Ping timeout: 260 seconds]
brokkoli_origin has joined #ruby
llua` has joined #ruby
Guest99 has joined #ruby
wbooze has quit [Quit: Leaving]
schne1der has joined #ruby
Guest99 has quit [Ping timeout: 272 seconds]
aeb has joined #ruby
aeb has left #ruby [#ruby]
inline has joined #ruby
user71 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
infinityfye has joined #ruby
amdj has left #ruby [part (v.): to be or become separated from something else]
michfx has joined #ruby
justgage has joined #ruby
michfx has quit [Quit: michfx]
victori has quit [Ping timeout: 244 seconds]
victori has joined #ruby
Pixi` has joined #ruby
Pixi has quit [Ping timeout: 252 seconds]
schne1der has quit [Ping timeout: 272 seconds]
fantazo has quit [Quit: Lost terminal]
victori has quit [Ping timeout: 265 seconds]
victori has joined #ruby
victori has quit [Read error: Connection reset by peer]
victori has joined #ruby
o0x1eef has joined #ruby
dviola has quit [Ping timeout: 248 seconds]
michfx has joined #ruby
michfx has quit [Client Quit]
eddof13 has joined #ruby
elmetah has joined #ruby
jmcantrell has joined #ruby
<elmetah>
Mom, ayt you're t'ere, I continue to use my ele notebook, I'm goin' strong, t'ere are iiiii_iiiii_iiiii_ii board units on board, siete --siete, t'ank you letting me use your toy so long, also t'ank te' souls out-out-out while letting me walk streets, also god children lending me t'eir souls while I walk roads out-out-out
jmcantrell has quit [Ping timeout: 272 seconds]
elmetah has quit [Quit: aaaaaaaaaaaah]
justgage has quit [Quit: Client closed]
llua` is now known as llua
<johnjaye>
i randomly typed 1.+(2) and got 3. why does this work again?
Guest56 has joined #ruby
Momentum has quit [Ping timeout: 276 seconds]
eddof13 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<mikko>
johnjaye: + is a method just like 1.add(2)
<mikko>
that syntax comes in handy in code golf because you can mess with precedence like 2.+ 3*4
<mikko>
well 2.* 3+4 would be a better example
<johnjaye>
i tried 1.add(2) and got an error. is it a ruby 3 construct?
<johnjaye>
this box has 2.7
<mikko>
i mean + is a method name like "add" would be, Integer#add doesn't actually exist
<johnjaye>
why does the .* work
<johnjaye>
shouldn't precedence make it 10?
<mikko>
because method calls bind more tightly than infix operators
<johnjaye>
hmm
andy-turner has quit [Read error: Connection reset by peer]
andy-turner has joined #ruby
Guest56 has quit [Quit: Client closed]
dvinciguerra has joined #ruby
dvinciguerra has quit [Remote host closed the connection]
elmetah has joined #ruby
user71 has quit [Quit: Leaving]
<elmetah>
Ruby is blood-red, colour a' a dark demonic moon,,, among ruins you must take sword, engage as cunning, beauty is enemy, worldliness is beauty, go hard --Me as GOOD man to any rational man
niv has quit [Read error: Connection reset by peer]