havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.5, 2.5.7, 2.7.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
AJA4350 has quit [Quit: AJA4350]
tpanarch1st has quit [Read error: Connection reset by peer]
tpanarch1st has joined #ruby
alfiemax has joined #ruby
alfiemax has quit [Ping timeout: 265 seconds]
mniip has quit [Ping timeout: 612 seconds]
kodcx[m] has quit [*.net *.split]
olblak has quit [*.net *.split]
VSpike has quit [*.net *.split]
jerme_ has quit [*.net *.split]
ablackack has quit [*.net *.split]
drincruz_ has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
ropeney_ has joined #ruby
mniip has joined #ruby
ropeney has quit [Ping timeout: 240 seconds]
dinfuehr has joined #ruby
kodcx[m] has joined #ruby
olblak has joined #ruby
jerme_ has joined #ruby
VSpike has joined #ruby
ablackack has joined #ruby
kodcx[m] has quit [Changing host]
kodcx[m] has joined #ruby
mniip has quit [Remote host closed the connection]
drincruz_ has quit [Ping timeout: 240 seconds]
mniip has joined #ruby
Swyper has joined #ruby
BTRE has joined #ruby
xGrind has quit [Quit: Saindo]
mre- has joined #ruby
matheusmoreira has quit [Remote host closed the connection]
matheusmoreira has joined #ruby
meinside has joined #ruby
wildtrees has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 240 seconds]
kyrylo has joined #ruby
skx86 has joined #ruby
drincruz_ has joined #ruby
renich has joined #ruby
<havenwood> here's a little spike showing how to write a little macOS assembly library and call it from Ruby via Fiddle: https://github.com/havenwood/assembly
<havenwood> it's not much code once you get the incantations down
<havenwood> i'd appreciate any criticism of my assembly
<havenwood> i was embedding assembly in C in my first stab, since i didn't realize you could skip the middleman
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
sphex has quit [Ping timeout: 268 seconds]
sphex has joined #ruby
sphex has quit [Remote host closed the connection]
gavlee has quit [Ping timeout: 240 seconds]
duderonomy has joined #ruby
golevka has quit [Read error: Connection reset by peer]
Swyper has quit [Remote host closed the connection]
gavlee has joined #ruby
LoneThistle has quit [Remote host closed the connection]
<Rudolph> wow
<Rudolph> # frozen_string_literal: true
<Rudolph> what does that do?
jtdowney has quit [Quit: Bye]
jtdowney has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
donofrio__ has joined #ruby
donofrio_ has quit [Ping timeout: 268 seconds]
Swyper has joined #ruby
Swyper has quit [Ping timeout: 265 seconds]
<mozzarella> Rudolph: freezes string literals if I must guess
donofrio_ has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
<Rudolph> whats the difference between a frozen literal and an unfrozen literal
donofrio__ has quit [Ping timeout: 240 seconds]
<mozzarella> Rudolph: a frozen one can't be mutated
<Rudolph> ahhh
<Rudolph> ok
<mozzarella> > s = 'hello'; s << 'wut'; s
<mozzarella> >> s = 'hello'; s << 'wut'; s
<ruby[bot]> mozzarella: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<mozzarella> uh
<mozzarella> >> 'test'
<ruby[bot]> mozzarella: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<mozzarella> >> p 'test'
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ruby[bot]> mozzarella: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<havenwood> &>> p 'test'
<rubydoc> # => "test"... check link for more (https://carc.in/#/r/7x63)
<mozzarella> &>> s = 'hello'; s << 'wut'; s
<rubydoc> # => "hellowut" (https://carc.in/#/r/7x64)
<mozzarella> &>> s = 'hello'; s.freeze; s << 'wut'; s
<rubydoc> stderr: -e:4:in `<main>': can't modify frozen String (FrozenError)... check link for more (https://carc.in/#/r/7x65)
jenrzzz has joined #ruby
<havenwood> &>> # frozen_string_literal: true; 'hello' << 'wut'
<rubydoc> # => nil (https://carc.in/#/r/7x66)
<havenwood> ha, commented
<Rudolph> that makes sense. thanks
<havenwood> &>> -'hello' << 'wut'
<rubydoc> stderr: -e:4:in `<main>': can't modify frozen String (FrozenError)... check link for more (https://carc.in/#/r/7x67)
<Rudolph> the assembly thing is cool though. it reminds me of the dynamic jit code i saw
bradfordli123 has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
dasher00 has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
Esa_ has quit []
bambanx has quit [Ping timeout: 265 seconds]
mre- has quit [Ping timeout: 276 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
howdoi has joined #ruby
mre- has joined #ruby
mre- has quit [Ping timeout: 240 seconds]
alfiemax has joined #ruby
brool has quit [Ping timeout: 252 seconds]
Swyper has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
Swyper has quit [Ping timeout: 265 seconds]
duderonomy has joined #ruby
eljimbo has joined #ruby
eljimmy has quit [Ping timeout: 268 seconds]
_whitelogger has joined #ruby
roadt has joined #ruby
SeepingN has joined #ruby
alfiemax has quit []
cthu| has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
sauvin has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
roadt has quit [Remote host closed the connection]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
_whitelogger has joined #ruby
roadt has joined #ruby
teclator has quit [Ping timeout: 264 seconds]
donofrio_ has quit [Ping timeout: 240 seconds]
skx86 has quit [Quit: Connection closed for inactivity]
quazimodo has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
chunkypuffs has quit [Remote host closed the connection]
johnny56 has quit [Ping timeout: 240 seconds]
schne1der has joined #ruby
bougyman has quit [Ping timeout: 246 seconds]
johnny56 has joined #ruby
bougyman has joined #ruby
conta has joined #ruby
teclator has joined #ruby
schne1der has quit [Ping timeout: 240 seconds]
bradfordli123 has quit []
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chunkypuffs has joined #ruby
kyrylo has joined #ruby
absolutejam2 has joined #ruby
Intelo_ has joined #ruby
envex has joined #ruby
rrichardsr3 has joined #ruby
xco has joined #ruby
suukim has joined #ruby
<xco> this seems reasonable, but for year i don't know why i never thought of this this way https://gist.github.com/xcobar/7173573e49e9af293c07a6f230946154
renich has quit [Quit: renich]
<xco> i mean, i ONLY used += for ints and floats. never occurred to me that i could do it on strings until now when I started learning Go.
<xco> anyone used string concatenation this way?
<xco> but for years i didn't know****
<baweaver> You're going to really hate Ruby 2.7+ then
<baweaver> ask havenwood about his favorite line in Ruby
<xco> baweaver no doubt
<xco> havenwood ? :D
<baweaver> strings are frozen in 2.7+
<xco> havenwood care to tell us?
<xco> baweaver yeah i read about that, it started breaking some gems and app
<havenwood> baweaver: frozen actually works with += though!
<mozzarella> += returns a new string, no?
<baweaver> heretical
<mozzarella> << mutates
<havenwood> &>> -'Hello ' += -'World!'
<xco> havenwood wow! does that even make sense? frozen is frozen!
<rubydoc> stderr: -e:4: syntax error, unexpected tOP_ASGN, expecting end... check link for more (https://carc.in/#/r/7x6o)
<havenwood> &>> -'Hello ' + -'World!'
<rubydoc> # => "Hello World!" (https://carc.in/#/r/7x6p)
Fira__ is now known as Fira
Fira has quit [Changing host]
Fira has joined #ruby
<xco> havenwood so essentially the "-" is to tell it to "unfreeze" it right?
<havenwood> &>> -'xco'.frozen?
<rubydoc> stderr: -e:4:in `<main>': undefined method `-@' for false:FalseClass (NoMethodError)... check link for more (https://carc.in/#/r/7x6q)
<xco> got it
<havenwood> xco: Opposite, but they're finicky.
<xco> fcuk!
<havenwood> &>> (-'xco').frozen?
<rubydoc> # => true (https://carc.in/#/r/7x6r)
<baweaver> havenwood: think it's worthwhile to bring in a validation gem?
<havenwood> xco: with frozen_string_literal you can unfreeze with +, like: (+'xco').frozen? #=> false
<baweaver> I could ad-hoc it with `@errors << something` and `def valid?; @errors.none? end`
<havenwood> baweaver: validation gem?
<havenwood> ah
<baweaver> They'd probably be rather put out with me for adding things too "minimal" XD
<baweaver> Perhaps
rrichardsr3 has quit [Quit: He who dares .... wins.]
teclator has quit [Ping timeout: 240 seconds]
Intelo_ has quit [Quit: Leaving]
<havenwood> baweaver: I wish frozen_string_literal was just enabled by default in 2.7, but it isn't afaik
<havenwood> please tell me I'm wrong :)
<havenwood> I do like the handful of #to_s methods that now return frozen strings. Ones like NilClass#to_s and Symbol#to_s really matter.
<havenwood> all those nil.to_s'es
<havenwood> #{nil}
<xco> havenwood I read somewhere that frozen_string_literal would be default from Ruby 3 and now I'm seeing that in 2.7 strings are frozen. I'm confused
<havenwood> xco: Frozen string literal isn't enabled in 2.7 and it's not clear it will be in 3.0. The verdict is out on what all will be frozen in 3.0.
<xco> havenwood ah ok
<havenwood> xco: In 2.7 there are things like true.to_s, false.to_s, nil.to_s, Symbol#to_s, etc that now return frozen strings rather than new strings each time they're called.
johnny56 has quit [Ping timeout: 240 seconds]
envex has quit []
<baweaver> havenwood: You're wrong :)
<havenwood> baweaver: I was hoping so... Just not committed yet?
<baweaver> (...and I'm lying, though Charles and a few others are dead set on it)
<baweaver> It won't surprise me if it happens, but String mutation is broken in the preview
johnny56 has joined #ruby
<havenwood> &>> :xco.to_s << ' works in 2.6'
<rubydoc> # => "xco works in 2.6" (https://carc.in/#/r/7x6s)
jenrzzz has joined #ruby
<baweaver> So validations, yeah or no?
<havenwood> In 2.7:
<havenwood> FrozenError: can't modify frozen String: "xco"
<havenwood> baweaver: in what context? a different type of validations than dry-validation? new gem?
olspookishmagus has quit [Quit: All for nothing]
<baweaver> the gem we'd mentioned earlier today
<baweaver> They made a huge singleton validator which passes around a crap ton of state and uses ArgErrors everywhere to bail out
<xco> havenwood yeah that makes sense to me now :)...
<havenwood> baweaver: ahhhh, right. makes sense now! long day...
<baweaver> Fair fair
<baweaver> I already rewrote most of it
<baweaver> and dang it was a mess
<havenwood> haha, yeah, a lot to unscramble
<xco> havenwood you'd get the same "FrozenError: can't modify frozen String: "xco" in 2.6 with frozen_string_literal as magic comment then? right?
<havenwood> unscramble my eggs back into nice, pristine shells please.
<baweaver> Don't like the current variant of it
<baweaver> Will have to think about it
jenrzzz has quit [Ping timeout: 250 seconds]
donofrio_ has joined #ruby
<baweaver> Bright side I feel a bit more alive again
<havenwood> xco: nope, it doesn't freeze all strings, just literals
teclator has joined #ruby
<havenwood> xco: the 2.7 changes are freezing non-string-literal things.
<havenwood> baweaver: phew!
<havenwood> frozen_string_literal will freeze "xco", 'xco', %(xco), and so on but not String.new('xco'), nil.to_s, :xco.to_s, etc.
Intelo_ has joined #ruby
Intelo_ has quit [Client Quit]
Intelo has joined #ruby
<xco> havenwood this line right here "frozen_string_literal will freeze "xco", 'xco', %(xco), and so on but not String.new('xco'), nil.to_s, :xco.to_s, etc." is a huge eye-opener :P. all this while i thought frozen_string_literal froze nil.to_s too. Shit! there's a "literal" in it's name for a reason hahahaha
<havenwood> xco: haha
<xco> havenwood i could spin up small article on all the talk on string here in a mini article, would you review for me if i added "please"? :D
<havenwood> xco: yeah, sure - i'd be happy to
<xco> havenwood :D awesome!!!
<xco> this is mainly to summarise the new surprised i've gotten here today. i'm sure there are a ton of other neophytes like me out there
<xco> surprises**
<xco> 😁
<havenwood> xco: you can find the other String literals here: https://docs.ruby-lang.org/en/2.6.0/syntax/literals_rdoc.html#label-Strings
<havenwood> xco: (character literals and heredocs)
<havenwood> they're effected by frozen_string_literal too, since they're string literals!
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
quazimodo has joined #ruby
dionysus69 has joined #ruby
<havenwood> xco: Module#name is the other one that's now frozen
<xco> havenwood awesome! i'll summarise what i learned today this week in a blog post!
<havenwood> From NEWS:
<havenwood> Module#name now always returns a frozen String. The returned String is always the same for a given Module. This change is experimental. [Feature #16150]
<xco> havenwood "Module#name is the other one that's now frozen" > we're talking about 2.7 right?
<havenwood> Symbol#to_s now always returns a frozen String. The returned String is always the same for a given Symbol. This change is experimental. [Feature #16150]
<havenwood> xco: yes, 2.7
<xco> ok
<havenwood> xco: Search for "frozen string" on this page: https://github.com/ruby/ruby/blob/master/NEWS
<havenwood> xco: It shipped in ruby-2.7.0-preview2 and will be in the stable release of 2.7 on Christmas.
Intelo has quit [Remote host closed the connection]
<xco> havenwood but they said "Module#name now always returns a frozen String. The returned String is always the same for a given Module. This change is experimental." which means it's not finalised it. it could be scraped all together like they did with the pipeline operator
Intelo has joined #ruby
<xco> yet*
<havenwood> xco: Yup, as long as it's experimental it could be yanked. Most experimental things aren't yanked, but it's signaling it's possible.
<xco> right
schne1der has joined #ruby
jmcgnh has quit [Ping timeout: 252 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TomyWork has joined #ruby
thomas_25 has quit [Changing host]
thomas_25 has joined #ruby
jmcgnh has joined #ruby
donofrio_ has quit [Ping timeout: 240 seconds]
Fernando-Basso has joined #ruby
orbyt_ has joined #ruby
Intelo has quit [Ping timeout: 246 seconds]
cd has quit [Quit: cd]
orbyt_ has quit [Client Quit]
mossplix has joined #ruby
dbugger has joined #ruby
absolutejam2 has quit [Ping timeout: 245 seconds]
MrCrackPotBob has joined #ruby
MrCrackPot has quit [Ping timeout: 245 seconds]
Intelo_ has joined #ruby
conta has quit [Ping timeout: 240 seconds]
Intelo_ has quit [Quit: Leaving]
Intelo has joined #ruby
conta has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
roadt has quit [Ping timeout: 276 seconds]
aspiers has joined #ruby
johnny56 has quit [Ping timeout: 240 seconds]
<TheBrayn> I'm trying to install gemstash in an alpine ruby container, any idea why this is failing? https://gist.github.com/mmerfort/a159359a91c32b127bbc0c925661e66b
<TheBrayn> I have installed openssl and openssl-dev
johnny56 has joined #ruby
AJA4350 has joined #ruby
mikecmpbll has joined #ruby
roadt has joined #ruby
tpanarch1st has quit [Ping timeout: 240 seconds]
mossplix has quit [Remote host closed the connection]
donofrio_ has joined #ruby
johnny56 has quit [Quit: johnny56]
Swyper has joined #ruby
<havenwood> TheBrayn: Does it show anything in? /usr/local/bundle/extensions/x86_64-linux/2.6.0/puma-3.12.1/mkmf.log
<havenwood> "You have to install development tools first."
<havenwood> TheBrayn: apk update && apk add --no-cache build-base libc6-compat
<havenwood> TheBrayn: Or something along those lines.
quazimodo has joined #ruby
<TheBrayn> thank you, that worked
lxsameer has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Ven`` has joined #ruby
olspookishmagus has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
AJA4351 has joined #ruby
phaul_ has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
mossplix has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
deathwishdave has joined #ruby
dasher00 has joined #ruby
Ven`` has joined #ruby
roadt has quit [Ping timeout: 276 seconds]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
AJA4351 has joined #ruby
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has quit [Ping timeout: 250 seconds]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
Swyper has quit [Remote host closed the connection]
ebbflowgo has joined #ruby
banisterfiend has joined #ruby
Swyper has joined #ruby
ebbflowgo has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
ellcs has joined #ruby
phaul_ has quit [Ping timeout: 250 seconds]
Ven`` has joined #ruby
Mia has joined #ruby
Swyper has quit [Remote host closed the connection]
Axy has quit [Ping timeout: 276 seconds]
Swyper has joined #ruby
phaul_ has joined #ruby
AJA4351 has joined #ruby
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
Ven`` has joined #ruby
mossplix has joined #ruby
Nicmavr has joined #ruby
Ven`` has quit [Read error: Connection reset by peer]
ajunior has joined #ruby
clemens3 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
NL3limin4t0r_afk is now known as NL3limin4t0r
ajunior has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mossplix has quit [Remote host closed the connection]
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mossplix has joined #ruby
jenrzzz has joined #ruby
banisterfiend has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
kyrylo has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
mostlybadfly has joined #ruby
Technodrome has joined #ruby
ellcs has quit [Ping timeout: 264 seconds]
drincruz_ has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Ping timeout: 265 seconds]
banisterfiend has joined #ruby
MinSrodowiska has joined #ruby
drincruz_ has quit [Ping timeout: 265 seconds]
jinie has quit [Ping timeout: 276 seconds]
FlorianFa has joined #ruby
vondruch has joined #ruby
Swyper has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
drincruz_ has joined #ruby
dbugger has quit [Ping timeout: 264 seconds]
phaul_ has quit [Ping timeout: 265 seconds]
jinie has joined #ruby
deathwishdave has quit [Quit: Textual IRC Client: www.textualapp.com]
jinie has quit [Ping timeout: 246 seconds]
dkmueller has joined #ruby
Jonopoly has joined #ruby
absolutejam2 has joined #ruby
jenrzzz has joined #ruby
cow[moo] has joined #ruby
AJA4351 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
lxsameer has quit [Ping timeout: 268 seconds]
jinie has joined #ruby
phaul_ has joined #ruby
ajunior has joined #ruby
Fusl has quit [Excess Flood]
phaul_ has quit [Ping timeout: 268 seconds]
Fusl has joined #ruby
ajunior has quit [Client Quit]
ajunior has joined #ruby
ajunior has quit [Client Quit]
MinSrodowiska has quit [Quit: Bye Bye]
drincruz_ has quit [Ping timeout: 240 seconds]
dkmueller has quit [Quit: WeeChat 2.3]
jcalla has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
davor has quit [Ping timeout: 240 seconds]
mamantoha has joined #ruby
davor has joined #ruby
phaul_ has joined #ruby
Mia has quit [Quit: Leaving]
conta has quit [Quit: conta]
sagax has joined #ruby
AJA4351 has joined #ruby
conta has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
_linux_ has joined #ruby
_linux_ has quit [Client Quit]
mamantoha has quit [Ping timeout: 268 seconds]
mossplix has quit [Remote host closed the connection]
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
Technodrome has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ajunior has joined #ruby
ajunior has quit [Client Quit]
drincruz_ has joined #ruby
pb122 has quit [Ping timeout: 264 seconds]
john2496 has joined #ruby
iNs has quit [Ping timeout: 260 seconds]
iNs has joined #ruby
suukim has quit [Quit: Konversation terminated!]
Technodrome has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
absolutejam2 has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4351 has joined #ruby
john2496 has quit []
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
iNs has quit [Ping timeout: 260 seconds]
iNs has joined #ruby
skx86 has joined #ruby
hutch has joined #ruby
cow[moo] has quit [Ping timeout: 240 seconds]
donofrio has quit [Ping timeout: 240 seconds]
MinSrodowiska has joined #ruby
mre- has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
donofrio has joined #ruby
AJA4350 has joined #ruby
Intelo has quit [Ping timeout: 250 seconds]
brendan- has joined #ruby
MinSrodowiska has quit [Quit: Bye Bye]
drincruz_ has joined #ruby
Inline has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
Inline__ has quit [Ping timeout: 264 seconds]
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anoob has joined #ruby
tsujp has joined #ruby
<anoob> When "short module/class definitions" was available on Ruby? I mean this `class ModuleName::ClassName` thing...
<anoob> It does not work in Ruby `2.4.1`: `NameError: uninitialized constant ModuleName`
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
brendan- has quit [Ping timeout: 265 seconds]
gavlee has quit [Ping timeout: 268 seconds]
gavlee has joined #ruby
kyrylo has joined #ruby
brendan- has joined #ruby
greengriminal has joined #ruby
<phaul_> anoob: that's module nesting. assuming you have a module with ModuleName it does work on 2.4
<phaul_> &24>> module A; end; class A::B; end ; A::B
<rubydoc> # => A::B (https://carc.in/#/r/7xaq)
xco has quit [Quit: Textual IRC Client: www.textualapp.com]
stryek has joined #ruby
hutch has quit [Ping timeout: 252 seconds]
renich has joined #ruby
MinSrodowiska has joined #ruby
banisterfiend has joined #ruby
kyrylo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 240 seconds]
jud has quit [Quit: Leaving]
SeepingN has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
<anoob> You are right, phaul_
<anoob> It does work if you defined it first
<anoob> But it does not work if you do not define it first...
<NL3limin4t0r> anoob: As far as I can remember it never worked without definging it first. You might be conflicted with Rails with auto generates the non-existing classes/modules.
mre- has quit [Quit: Lost terminal]
<anoob> I see, NL3limin4t0r...
<anoob> Maybe this is the real reason....
<NL3limin4t0r> I'll look up the documentation regarding that behaviour
<NL3limin4t0r> give me a sec
<anoob> Thanks, NL3limin4t0r
<NL3limin4t0r> Found it
hutch1 has joined #ruby
AJA4350 has joined #ruby
<anoob> Excelent!
<NL3limin4t0r> Keep in mind that this is the guide Autoloading and Reloading Constants "Classic Mode" and not "Zeitwerk Mode". Zeitwerk Mode is relatively new and might be used by Rails 6, but I'm not 100% sure about that (I'm still running 5.x).
<anoob> Thanks
<anoob> So do I NL3limin4t0r
<anoob> I still need to learn this new Zeitwerk Mode thing...
mossplix has joined #ruby
anoob has quit [Remote host closed the connection]
absolutejam2 has joined #ruby
mossplix has quit [Read error: Connection reset by peer]
mossplix has joined #ruby
hutch1 has quit [Ping timeout: 246 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
drincruz_ has joined #ruby
tsujp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tsujp has joined #ruby
AJA4351 has joined #ruby
cthu| has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
FlorianFa has quit [Remote host closed the connection]
jacargentina has joined #ruby
<jacargentina> hi!
<jacargentina> trying to bundle install on Fedora 31, i'm getting an error building gpgme 0.2.18
<jacargentina> how can i somehow workaround this problem? not having any experience with ruby/bundler, etc
<jacargentina> i'm trying to fix my gitlab installation (was working on Fedora 30) and i just upgraded to F31
<jacargentina> error is this https://bugs.gentoo.org/683254
cthu| has quit [Ping timeout: 265 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
yokel has quit [Ping timeout: 268 seconds]
mikecmpbll has joined #ruby
<havenwood> jacargentina: it looks like gawk 5 is broken but folk are having luck with awk or gawk 4.
<jacargentina> mmmm , how can i get a different awk/gawk 4 on my F31 box ?
<jacargentina> compile from sources ? or other way somehow ?
yokel has joined #ruby
galaxie has quit [Remote host closed the connection]
<havenwood> jacargentina: it looks like this is the patch fix: https://github.com/openwrt/packages/pull/9371/files
<jacargentina> great, built from source gawk 4, sudo make install
<havenwood> jacargentina: 👍🏽
jacargentina has quit [Quit: jacargentina]
galaxie has joined #ruby
<adam12> havenwood: he gone
<adam12> s/he/they
<havenwood> adam12: was happy to see ioquatix was awarded the Ruby Association grant: https://twitter.com/ioquatix/status/1189849196993507328
<adam12> havenwood: Sweet! Great news.
<ytti> asdf of rvm, why?
<ytti> or
<adam12> havenwood: Too hard to follow the JA news, but for the English speaking parts, it's really hard to not notice all the work that Jeremy Evans has been doing to close out bugs, and the work that Aaron is doing on the compacting GC too. And the continuous work on jRuby by that team. I love it.
<havenwood> ytti: chruby, since it's a few lines of code. no code is fast, easy to maintain and debug.
<havenwood> adam12: no doubt!!
drincruz_ has quit [Ping timeout: 265 seconds]
brendan- has quit [Ping timeout: 264 seconds]
<ytti> havenwood, thanks i was aware of chruby
<havenwood> ytti: If you're using asdf for other things, maybe that makes sense for you? I wouldn't use it *just* for Ruby since there are lighter weight options.
<havenwood> ytti: What feature of RVM are you looking for that chruby/ruby-install don't provide? Just curious.
<ytti> havenwood, nothing in particular, i probably should consider chruby as well
<havenwood> ytti: I'm one of the maintainers of both. RVM is tens of thousands of lines of shell and chruby is hundreds.
<ytti> it's damn shame LCD is bash/zsh in unixy world
<ytti> problems of open garden, moving forward is difficult
<ytti> something like powershell as LCD would be so much better
<havenwood> ytti: RVM is great for old systems and old Rubies where patches and domain knowledge are needed. RVM actually ships with MRVM, providing chruby support for quicker switching. I'd suggest just using chruby if you're on a modern system, reasonable shell and using modern Rubies.
<havenwood> ytti: In other news, chruby 1.0.0 may be around the corner. :) No need to wait though.
brendan- has joined #ruby
<havenwood> ytti: It ends up being more flexible, even though it's just 100 lines: https://github.com/postmodern/chruby/blob/master/share/chruby/chruby.sh
AJA4351 has joined #ruby
fig-le-deunch has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
<NL3limin4t0r> I personally like RVM, but that may be because I never tried any other Ruby version manager. Learned Ruby at my first programming job, they worked with RVM and I sticked with it.
<NL3limin4t0r> Never had issues with it though.
jacksoow has quit [Read error: Connection reset by peer]
TomyWork has quit [Remote host closed the connection]
jacksoow has joined #ruby
<havenwood> NL3limin4t0r: When it *just works*, hard to complain.
<NL3limin4t0r> My current employer also insists on using RVM, so no need to change.
<adam12> havenwood: Does chruby still have that weird version sorting bug? I can't remember the details exactly but it bit me before, where I think it could pick .1 vs .10 when specifying just the major/mnor.
absolutejam2 has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
<Swyper> hi
<Swyper> how come p "0 \n 1 \n 2 \n 3 \n 4"
<Swyper> "0 \n 1 \n 2 \n 3 \n 4" is the output
<Swyper> shouldent \n make a new line
<havenwood> adam12: Yeah, it's amazing how difficult it is to just sort numerically. I was just revisiting my old PR around that since 1.0 is coming up and Bash 3 is on the way out. BBIAB--meeting
<adam12> havenwood: Yeah. It actually almost made me re-write it in a non-bash way. Also, FreeBSD doesn't ship with bash so it's an extra dependency to install.
<NL3limin4t0r> Swyper: `p` uses the `inspect` method, whereas `puts` uses `to_s`. `inspect` is the same you'll see in irb as return value. The newline characteters are replaced with the literal `\` and `n` characters.
<havenwood> adam12: It's so easy in zsh... <3 zsh.
<NL3limin4t0r> &>> "0 \n 1 \n 2 \n 3 \n 4".inspect
<rubydoc> # => "\"0 \\n 1 \\n 2 \\n 3 \\n 4\"" (https://carc.in/#/r/7xbl)
code_zombie has joined #ruby
<Swyper> o
sagax has quit [Quit: Konversation terminated!]
sagax has joined #ruby
<NL3limin4t0r> hope that makes sense
renich has quit [Read error: Connection reset by peer]
renich has joined #ruby
Inline has quit [Quit: Leaving]
Inline has joined #ruby
cthu| has joined #ruby
MinSrodowiska has quit [Quit: Bye Bye]
Jonopoly has quit [Quit: WeeChat 2.5]
schne1der has quit [Ping timeout: 268 seconds]
jacksoow has quit [Read error: Connection reset by peer]
jacksoow has joined #ruby
<havenwood> adam12: printf '%s\n' "${(@n)RUBIES:t}"
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> adam12: That's ^ my zsh solution, which would be perfect except for that pesky lack of any bash equivalent.
banisterfiend has joined #ruby
<havenwood> adam12: We're thinking of even writing an upstream bash library to then use. There's just no good solution, frustratingly.
<havenwood> I've written a solution using gnu commands and another in shell, but they're annoyingly complex for being a tailored use.
<adam12> havenwood: It's a jank world.
<havenwood> Yuuup
mikecmpbll has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
AJA4351 has joined #ruby
fig-le-deunch has quit [Quit: Konversation terminated!]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
<adam12> havenwood: I started writing my replacement in C but then shuttered it. Figured I'd just write it in something that compiled to portable C.
<adam12> havenwood: But lately I just use direnv.
<adam12> bbiaf. lunch.
Ai9zO5AP has quit [Quit: WeeChat 2.5]
skx86 has quit [Quit: Connection closed for inactivity]
hutch1 has joined #ruby
Ai9zO5AP has joined #ruby
gix has joined #ruby
justache is now known as poostache
poostache is now known as justache
Swyper has quit [Remote host closed the connection]
brendan- has quit [Ping timeout: 252 seconds]
brool has joined #ruby
orbyt_ has joined #ruby
AJA4351 has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
Exuma has joined #ruby
CrazyEddy has quit [Ping timeout: 240 seconds]
code_zombie has quit [Quit: Leaving]
davidw has joined #ruby
<davidw> Anyone want to chat about a segfault? I've started narrowing it down to a spot in thread.c
hiroaki has joined #ruby
bvdw has quit [Quit: bvdw]
drincruz_ has joined #ruby
bvdw has joined #ruby
bvdw has quit [Client Quit]
<havenwood> davidw: Share the logs/error output?
dionysus69 has quit [Ping timeout: 265 seconds]
bvdw has joined #ruby
dionysus69 has joined #ruby
<davidw> havenwood, it's complicated... basically I have narrowed it down to where it tries to reference main_th in thread_start_func_2, but it's already null
<davidw> the concurrent ruby gem has some stuff where it launches a new Thread inside an objectspace finalizer. My theory is that things are blowing up because that thread is outliving the main thread and doing bad things somehow...
<havenwood> davidw: what version of Ruby? forking involved?
<davidw> ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
<davidw> doing my debugging with a version of 2.6.6 I grabbed from git though
<havenwood> davidw: i was just curious if it was an older version of 2.5 with the known thread/fork but clearly not that on latest 2.6!
<havenwood> thread/fork bug*
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> that was a thread segfault too, so just ruling out it being related.
<havenwood> davidw: is it possible to trigger in a minimal reproduction case?
<davidw> havenwood, eh... kinda sorta. I have a minimal rails app with rspec that does it, so it is something I can share
<davidw> I've made some attempts to get something smaller, but without success
<havenwood> davidw: nice
<havenwood> davidw: this is with concurrent-ruby-ext?
<havenwood> ah, cool
justache is now known as angrywombat
Exuma has joined #ruby
<havenwood> davidw: just curious, but does it still happen if you enable concurrent-ruby-ext?
angrywombat has left #ruby [#ruby]
<davidw> havenwood, not sure what that is...?
drincruz_ has quit [Ping timeout: 240 seconds]
AJA4351 has joined #ruby
<davidw> ah... not using that... kind of curious to try and track down the actual bug
wildtrees has joined #ruby
renich has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
NL3limin4t0r is now known as NL3limin4t0r_afk
CrazyEddy has joined #ruby
rippa has joined #ruby
dbugger has joined #ruby
justache has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
CrazyEddy has quit [Remote host closed the connection]
dshep has left #ruby ["WeeChat 2.1"]
lucasb has joined #ruby
hutch1 has quit [Ping timeout: 276 seconds]
hiroaki has quit [Ping timeout: 276 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
CrazyEddy has joined #ruby
renich has joined #ruby
MrCrackPotBob has quit [Remote host closed the connection]
MrCrackPotBob has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 is now known as AJA4350
phaul_ has quit [Ping timeout: 240 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
postmodern has joined #ruby
clemens3 has quit [Quit: WeeChat 1.6]
Exuma has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Exuma has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
hutch1 has joined #ruby
yann-kaelig has joined #ruby
jenrzzz has joined #ruby
jidar has quit [Ping timeout: 240 seconds]
jidar has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
danielvu2 has quit [Quit: WeeChat 2.5]
danielvu has joined #ruby
danielvu has quit [Client Quit]
danielvu has joined #ruby
CrazyEddy has joined #ruby
AJA4351 has joined #ruby
wildtrees has quit [Ping timeout: 240 seconds]
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
CableNinja has joined #ruby
jidar has quit [Ping timeout: 276 seconds]
<CableNinja> I know theres a way but I cant seem to get google to give me anything... I want to take the args from a function and get them as a hash within that function...
jidar has joined #ruby
yann-kaelig has quit [Quit: yann-kaelig]
<leftylink> hmm. well I know that one could do def foo(*args) and/or def foo(**kwargs). but then to give the args other names, one would need to do another assignment
brendan- has joined #ruby
bvdw has quit [Read error: Connection reset by peer]
bvdw has joined #ruby
<CableNinja> AHAH! I knew there was a thing
<CableNinja> wait.. that doesnt give the actual values too dammit
jenrzzz has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
<jfhbrook> hello everyone! I'm a relatively experienced python/js dev trying to learn some ruby. What's the ruby idiom for creating separable environments a la node_modules or virtualenvs? is that a Gemfile + bundler?
howaboutyes1 has joined #ruby
<wilkir> jfhbrook: you can use rbenv (or rvm) for different ruby versions and bundler for project specific gems.
<jfhbrook> I see. If I install a cli tool as a project specific gem, how do I run that tool? similar question about getting a repl that can import those gems
akemhp has quit [Ping timeout: 268 seconds]
jmcgnh has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
akemhp has joined #ruby
jmcgnh has joined #ruby
akemhp_ has joined #ruby
AJA4350 has quit [Ping timeout: 276 seconds]
AJA4351 has joined #ruby
<wilkir> you can use `irb` for a repl and type `require 'gemname'` while in the repl. All gems will be available if you are in the same rbenv/rvm environment.
<jfhbrook> is the loading of project gems based on path? ie if I have a random gem in my rails app and I want to require it, do I simply `cd ./project-directory && irb` ?
<jfhbrook> I know these are really basic questions and I apologize
akemhp has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
poontangmessiah has joined #ruby
CableNinja has left #ruby ["Leaving"]
<wilkir> When you install a gem with either `gem install x` or `bundle install` it will be available in any folder. If you only want to load the gems in a gemfile, you can call `bundle exec 'command'`
<wilkir> given that you are in the same environment.
<jfhbrook> so I should think of bundler more like I do pip and requirements.txt files
<jfhbrook> it runs install specs in whatever environment you happen to be in
<jfhbrook> which for me right now is the "global" environment because I haven't set up rbenv yet
<wilkir> bundler is similar to pip, yes.
<jfhbrook> ok cool, this is making more sense
<jfhbrook> how often do minor ruby updates break old code?
<jfhbrook> I'm looking at a project that wants 2.5 but I'm on 2.6 and it's breaking right now in a "egregious bug" looking way and so now I'm wondering
<phaul> I would have tought 2.6 should be able to run 2.5 code. not the other way around though
akemhp_ has quit [Ping timeout: 240 seconds]
dionysus70 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
dionysus69 has quit [Ping timeout: 240 seconds]
dionysus70 is now known as dionysus69
<wilkir> What error are you getting?
<jfhbrook> it's a doozy
absolutejam2 has joined #ruby
<jfhbrook> my guess is that it's doing some serious shenanigans to try to progressively enhance its zeromq library
<jfhbrook> and that I broke something in my global env
<jfhbrook> but I don't even really know where to start w/ that one
CrazyEddy has quit [Remote host closed the connection]
yann-kaelig has joined #ruby
yann-kaelig has quit [Client Quit]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akemhp has joined #ruby
<jfhbrook> unfortunately iruby doesn't seem to support custom environment names so I'm pretty sure it wasn't designed to be used with rbenvs
Technodrome has quit [Ping timeout: 265 seconds]
<wilkir> *don't see
<phaul> a quick suggestion to try. in /home/josh/.gem/ruby/2.6.0/gems/iruby-0.4.0/lib/iruby/session_adapter/pyzmq_adapter.rb whenever you see PyCall stick a double colon in front like ::PyCall
<phaul> might or might not fix it. donno. Im just going by the error message
poontangmessiah_ has joined #ruby
CrazyEddy has joined #ruby
teclator has quit [Ping timeout: 265 seconds]
<jfhbrook> not what I meant
<jfhbrook> iruby is a jupyter kernel, and in python I can create a separate kernel/backend for each of my virtualenvs
<jfhbrook> so I can use the "cool django project" kernel
<jfhbrook> but that only works because the ipykernel installer takes cli args for names
<jfhbrook> iruby register does not, as far as I can tell
poontangmessiah has quit [Ping timeout: 268 seconds]
<jfhbrook> yet, anyway. will likely submit a patch once I can figure out how this all works haha
<phaul> jfhbrook: can you try my suggestion ? ^^
<jfhbrook> I tried it in the one spot and didn't see a change, but the file itself is interesting
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
jrhinesmith has joined #ruby
trinaldi has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrhinesmith has quit [Client Quit]
<trinaldi> Hi, guys. Quick question. I haven't use Ruby since 2016. I remember there was a gem(?) or a method that, given an initial value and a disered one, it returned a list of possible methods.. For example 2 and 3 it would return .next as an option
banisterfiend has joined #ruby
justache is now known as ZombieBobRoss
<jfhbrook> very similar stack if I do the :: throughout
mossplix has quit [Remote host closed the connection]
AJA4351 has joined #ruby
orbyt_ has joined #ruby
mossplix has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
mossplix has quit [Read error: Connection reset by peer]
mossplix has joined #ruby
orbyt_ has quit [Client Quit]
<phaul> an other one, even easier... try moving require 'pycall' to the top of the file. before module Iruby
mossplix has quit [Ping timeout: 268 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jfhbrook> so I actually have bigger problems
<jfhbrook> and am going to back up and get rbenv working
dionysus69 has quit [Remote host closed the connection]
<jfhbrook> and then come back if I still have the same issue
<jfhbrook> I suspect that arch system ruby has some promblems
dionysus69 has joined #ruby
teclator has joined #ruby
poontangmessiah has joined #ruby
mossplix has joined #ruby
poontangmessiah_ has quit [Ping timeout: 276 seconds]
trinaldi has quit [Remote host closed the connection]
skx86 has joined #ruby
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
greengriminal has quit [Quit: Leaving]
mossplix has quit [Ping timeout: 240 seconds]
CrazyEddy has quit [Ping timeout: 268 seconds]
orbyt_ has joined #ruby
tesfoxd has joined #ruby
tesfoxd has left #ruby [#ruby]
CrazyEddy has joined #ruby
drincruz_ has joined #ruby
chalkmonster has joined #ruby
banisterfiend has joined #ruby
<jfhbrook> ok so good news and bad news: the good news is that by using rbenv I was able to get that error to go away and I can now run iruby in a repl; but the bad news is that iruby's default register hook doesn't seem to support bundler-managed iruby
<jfhbrook> womp womp
<jfhbrook> still, I feel enlightened
<jfhbrook> ipykernel register hook*
wildtrees has joined #ruby
AJA4351 has joined #ruby
banisterfiend has quit [Client Quit]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
poontangmessiah has quit [Read error: Connection reset by peer]
poontangmessiah has joined #ruby
teclator has quit [Ping timeout: 265 seconds]
code_zombie has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
CrazyEddy has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
mossplix has joined #ruby
dbugger has quit [Ping timeout: 264 seconds]
bitwinery has joined #ruby
bitwinery has quit [Remote host closed the connection]
bitwinery has joined #ruby
Ai9zO5AP has quit [Ping timeout: 276 seconds]
howaboutyes1 has quit [Quit: Leaving]
ellcs has joined #ruby
CrazyEddy has joined #ruby
AJA4351 has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
AJA4351 is now known as AJA4350
AJA4350 has quit [Ping timeout: 265 seconds]
Ai9zO5AP has joined #ruby
renich has quit [Remote host closed the connection]
teclator has joined #ruby
MinSrodowiska has joined #ruby
ZombieBobRoss is now known as justache
schne1der has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
mossplix has quit [Remote host closed the connection]
mossplix has joined #ruby
Swyper has joined #ruby
blackmesa has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
akemhp_ has joined #ruby
akemhp has quit [Ping timeout: 240 seconds]
Fernando-Basso has joined #ruby
drincruz_ has quit [Ping timeout: 240 seconds]
poontangmessiah has quit [Read error: Connection reset by peer]
hutch1 has quit [Ping timeout: 252 seconds]
endorama has quit [Ping timeout: 264 seconds]
jacksoow has quit [Read error: Connection reset by peer]
jacksoow has joined #ruby
teclator has quit [Ping timeout: 265 seconds]
mossplix has quit [Remote host closed the connection]
AJA4351 has joined #ruby
AJA4351 is now known as AJA4350
Exuma has quit [Quit: Textual IRC Client: www.textualapp.com]
chalkmonster has quit [Quit: WeeChat 2.6]
renich has joined #ruby
akem__ has joined #ruby
akemhp_ has quit [Ping timeout: 240 seconds]
houhoulis has joined #ruby
akemhp has joined #ruby
Swyper has quit [Remote host closed the connection]
akem__ has quit [Ping timeout: 268 seconds]
akemhp_ has joined #ruby
akemhp_ has quit [Read error: Connection reset by peer]
akemhp has quit [Ping timeout: 240 seconds]
akemhp has joined #ruby
mossplix has joined #ruby
drincruz_ has joined #ruby
CrazyEddy has quit [Remote host closed the connection]
teclator has joined #ruby
akemhp has quit [Ping timeout: 276 seconds]
AJA4351 has joined #ruby
absolutejam2 has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
absolutejam2 has joined #ruby
ruby[bot] has quit [Remote host closed the connection]
ruby[bot] has joined #ruby
schne1der has quit [Ping timeout: 268 seconds]
davidw has quit [Ping timeout: 265 seconds]
houhoulis has quit [Remote host closed the connection]
akemhp has joined #ruby
MinSrodowiska has quit [Quit: Bye Bye]
drincruz_ has quit [Ping timeout: 240 seconds]
eljimbo has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 245 seconds]
eljimbo has joined #ruby
code_zombie has quit [Quit: Leaving]
eljimbo has quit [Client Quit]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
eljimbo has joined #ruby
AJA4351 has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
stryek has quit [Quit: Connection closed for inactivity]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
eljimbo has joined #ruby
eljimbo has quit [Client Quit]
MinSrodowiska has joined #ruby
davidw has joined #ruby
davidw is now known as Guest658
troulouliou_dev has joined #ruby
jenrzzz has joined #ruby
CrazyEddy has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
cthu| has quit [Ping timeout: 240 seconds]
akemhp_ has joined #ruby
akemhp has quit [Ping timeout: 268 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
akemhp_ has quit [Read error: Connection reset by peer]
psilly0 has joined #ruby
psilly0 has quit [Remote host closed the connection]
AJA4351 has joined #ruby
psilly0 has joined #ruby
<psilly0> hello
<psilly0> is there a way to spoof etc.getlogin
<psilly0> so i can change the user it displays
AJA4350 has quit [Ping timeout: 265 seconds]
AJA4351 is now known as AJA4350
lxsameer has quit [Ping timeout: 240 seconds]
wildtrees has quit [Quit: Leaving]
<psilly0> Hello = is there a way to spoof etc.getlogin? so i can change the user it displays?
<havenwood> psilly0: Yes
<havenwood> psilly0: I'll take a stab after my chess game is over if no one beats me to it.
<psilly0> okay
psilly0 has quit [Quit: psilly0]
ropeney_ has quit [Ping timeout: 240 seconds]
<havenwood> psill, they left?
<havenwood> I guess I should have mentioned it's 1 minute bullet chess?