havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.4, 2.5.6, 2.7.0-preview1: 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!
Fernando-Basso has quit [Remote host closed the connection]
bsdfd has joined #ruby
oetjenj has joined #ruby
gix has quit [Ping timeout: 246 seconds]
gell5 has joined #ruby
leitz has joined #ruby
gell5 has quit [Ping timeout: 244 seconds]
wildtrees has quit [Quit: Leaving]
<leitz> Anyone running docker and up for testing a container?
bsdfd has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
gell5 has joined #ruby
donofrio_ has quit [Remote host closed the connection]
donofrio_ has joined #ruby
oetjenj has quit [Ping timeout: 245 seconds]
donofrio_ has quit [Max SendQ exceeded]
donofrio_ has joined #ruby
jenrzzz has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
duderonomy has quit [Ping timeout: 258 seconds]
Swyper has quit [Remote host closed the connection]
ramfjord has joined #ruby
bambanx has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
leitz has quit [Quit: Leaving]
ap4y has quit [Ping timeout: 245 seconds]
MrCrackPot has joined #ruby
<Iambchop> chovy: try the system default gcc (which I think would be 5.3 on xenial, 7.4 on bionic) instead of the gcc-6 package (unless you're sure that you compiled your ruby with 6)
greengriminal has joined #ruby
skryking has joined #ruby
greengriminal has quit [Client Quit]
renich_ has joined #ruby
oetjenj has joined #ruby
renich has quit [Ping timeout: 244 seconds]
renich_ is now known as renich
greengriminal has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
greengriminal has quit [Client Quit]
ramfjord has joined #ruby
bmurt has joined #ruby
bambanx has quit [Quit: Leaving]
AJA4350 has quit [Quit: AJA4350]
Swyper has joined #ruby
queip has quit [Ping timeout: 244 seconds]
Swyper has quit [Remote host closed the connection]
gell5 has quit [Ping timeout: 246 seconds]
Swyper has joined #ruby
englishm has quit [Excess Flood]
englishm has joined #ruby
Swyper has quit [Remote host closed the connection]
oetjenj has quit [Ping timeout: 245 seconds]
greengriminal has joined #ruby
d^sh has quit [Ping timeout: 245 seconds]
d^sh has joined #ruby
Swyper has joined #ruby
banisterfiend has joined #ruby
<chovy> ok
queip has joined #ruby
Nahra has quit [Quit: leaving]
greengriminal has quit [Quit: This computer has gone to sleep]
banisterfiend has quit [Ping timeout: 268 seconds]
mahlon has joined #ruby
jtdowney has quit [Quit: Bye]
greengriminal has joined #ruby
jtdowney has joined #ruby
renich has quit [Remote host closed the connection]
jtdowney has quit [Client Quit]
jtdowney has joined #ruby
Swyper has quit [Remote host closed the connection]
SeepingN has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
gell5 has joined #ruby
banisterfiend has joined #ruby
gell5 has quit [Remote host closed the connection]
gell5 has joined #ruby
banisterfiend has quit [Client Quit]
banisterfiend has joined #ruby
banisterfiend has quit [Client Quit]
banisterfiend has joined #ruby
oetjenj has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
cow[moo] has joined #ruby
john__ has joined #ruby
cow[moo] has quit [Client Quit]
john__ has quit [Client Quit]
john__ has joined #ruby
queip has quit [Ping timeout: 258 seconds]
greengriminal has quit [Quit: Leaving]
brool has quit [Ping timeout: 250 seconds]
queip has joined #ruby
john__ has quit [Ping timeout: 246 seconds]
dasher00 has quit [Ping timeout: 245 seconds]
<baweaver> The lemurs are headed back to RubyConf this year: https://twitter.com/keystonelemur/status/1169314993000439808
bitwinery has joined #ruby
spacesuitdiver has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spacesuitdiver has joined #ruby
spacesuitdiver has quit [Client Quit]
Freshnuts has quit [Quit: Leaving]
oetjenj has quit [Ping timeout: 245 seconds]
Fr4n has joined #ruby
lucasb has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
td123 has joined #ruby
MrCrackPot has quit [Remote host closed the connection]
MrCrackPot has joined #ruby
oetjenj has joined #ruby
queip has quit [Ping timeout: 268 seconds]
Sithembewena has joined #ruby
Sithembewena has quit [Client Quit]
ged has joined #ruby
queip has joined #ruby
greengriminal has joined #ruby
greengriminal has quit [Client Quit]
r29v has joined #ruby
Swyper has joined #ruby
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
Swyper has quit [Ping timeout: 258 seconds]
rsenic has quit [Remote host closed the connection]
rsenic has joined #ruby
oetjenj has quit [Ping timeout: 245 seconds]
cd has quit [Quit: cd]
poontangmessiah_ has joined #ruby
poontangmessiah_ has quit [Remote host closed the connection]
jcalla has joined #ruby
poontangmessiah has quit [Ping timeout: 245 seconds]
r29v has quit [Quit: r29v]
chalkmonster has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 268 seconds]
bambanx has joined #ruby
morenoh11 has joined #ruby
<morenoh11> is there a way to install a gem and specify its a development dependency?
Inline has quit [Quit: Leaving]
howdoi has joined #ruby
<morenoh11> nvm found an example gemfile with groups
ravenous_ has joined #ruby
ravenous_ has quit [Client Quit]
jenrzzz has quit [Ping timeout: 246 seconds]
jenrzzz has joined #ruby
Norrin has joined #ruby
Norrin has quit [Changing host]
Norrin has joined #ruby
openCircuit__ has joined #ruby
sauvin has joined #ruby
alan_w has joined #ruby
fphilipe has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
alan_w has quit [Ping timeout: 268 seconds]
ur5us has quit [Ping timeout: 244 seconds]
duderonomy has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
monika has joined #ruby
quarters has quit [Ping timeout: 252 seconds]
<monika> Hey can anyone please help me for create pattern for this string or i want to Regex for that [ 'Employee Discount: Free Events (ALL)' (id 1) (impact 64) ]
<baweaver> rubular.com is really handy for that
<monika> [ 'Employee Discount: Free Events (ALL)' (id 1) (impact 64) ] in this string I want only to "id 1"and "impact 64"
<baweaver> What have you tried?
<monika> Reverse string find by ) to get id and impact but i think it's not work
schaerli has joined #ruby
Swyper has joined #ruby
<baweaver> How much regex do you know?
<monika> Any one help me to find Regex, reason is I don't know how to find in regex
<baweaver> What resources have you used to help you learn regex?
<baweaver> and how much of it do you currently know?
yokel has quit [Ping timeout: 246 seconds]
<baweaver> We're here to teach
<baweaver> and learning some of the fundamentals or expanding on them will help you more in the long run
<baweaver> hence asking how much you already know
yokel has joined #ruby
absolutejam1 has joined #ruby
Swyper has quit [Ping timeout: 244 seconds]
Jonopoly has joined #ruby
bmurt has quit [Ping timeout: 276 seconds]
psilly0 has quit [Quit: psilly0]
queip has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
queip has joined #ruby
ramfjord has quit [Ping timeout: 258 seconds]
<thadtheman> How can I check what UNIX permissions a directory has?
Swyper has joined #ruby
<baweaver> File.stat(file_name).mode
<baweaver> or something like that
<baweaver> thadtheman ^
<thadtheman> Thanks baweaver !
<baweaver> Took me a second to find it, thought it'd be File.something or Dir.something
absolutejam1 has quit [Ping timeout: 268 seconds]
Swyper has quit [Ping timeout: 245 seconds]
<thadtheman> That's why I couldn't find it.
<baweaver> So I did what I should have done and just googled the danged thing
<baweaver> instincts kill sometimes XD
goez has quit [Ping timeout: 252 seconds]
absolutejam1 has joined #ruby
absolutejam1 has quit [Ping timeout: 245 seconds]
schne1der has joined #ruby
Huck777 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emptyflask has quit [Ping timeout: 244 seconds]
dionysus69 has joined #ruby
Huck777 has joined #ruby
schne1der has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 268 seconds]
yokel has joined #ruby
fphilipe has quit [Ping timeout: 245 seconds]
yokel has quit [Ping timeout: 245 seconds]
jinie_ has joined #ruby
jinie has quit [Ping timeout: 245 seconds]
jinie_ is now known as jinie
andikr has joined #ruby
Huck777 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dbugger has joined #ruby
hutch has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
goez has joined #ruby
schne1der has joined #ruby
Huck777 has joined #ruby
Huck777 has quit [Client Quit]
fphilipe has joined #ruby
absolutejam1 has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
jinie has joined #ruby
Huck777 has joined #ruby
queip has quit [Ping timeout: 246 seconds]
yokel has joined #ruby
MrCrackPot has quit [Quit: Something went wrong again oh the joys]
goez has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
queip has joined #ruby
TomyWork has joined #ruby
rsenic has quit [Ping timeout: 260 seconds]
goez has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
jmcgnh has quit [Ping timeout: 250 seconds]
TomyWork has quit [Ping timeout: 246 seconds]
openCircuit__ has quit [Ping timeout: 268 seconds]
<morenoh11> on ubuntu how do I get bundler to work? I install the ubuntu build of ruby (2.5.1) and did gem install bundler
Huck777 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bambanx has quit [Quit: Leaving]
Huck777 has joined #ruby
<morenoh11> I feel like if I could find the bundle gem on the system I could symlink it to /bin
jmcgnh has joined #ruby
openCircuit__ has joined #ruby
Huck777 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bitwinery has quit [Quit: Leaving]
Swyper has joined #ruby
<morenoh11> nvm I managed to get bundler working
mikecmpbll has joined #ruby
Swyper has quit [Ping timeout: 244 seconds]
bruce_lee has joined #ruby
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
involans has joined #ruby
involans has quit [Remote host closed the connection]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
involans has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
Swyper has joined #ruby
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
involans has quit [Ping timeout: 244 seconds]
Huck777 has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
Huck777 has quit [Client Quit]
Jonopoly has quit [Quit: WeeChat 2.5]
cyclonis has joined #ruby
jmcgnh has quit [Ping timeout: 245 seconds]
jmcgnh has joined #ruby
davor has quit [Ping timeout: 258 seconds]
davor has joined #ruby
netcrash has joined #ruby
<netcrash> Hello, I'm trying to use a ruby app , and for that I have to run "rake app:setup" , but when I run this command I get that my bundler version should be 2 or greater. I have installed bundler 2.0.2 , and did apt-get remove bundler and this message still shows. Any ideas on what can be the problem?
<phaul> try bundler -v ; which bundler
TomyWork has joined #ruby
<netcrash> bundler -v -> Bundler version 2.0.2 ; which bundler /usr/local/bin/bundler
queip has quit [Ping timeout: 268 seconds]
ellcs has joined #ruby
oetjenj has joined #ruby
<netcrash> https://bugs.ruby-lang.org/issues/15622 ; had to run gem update --system
queip has joined #ruby
ur5us has joined #ruby
ur5us has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
Intelo has joined #ruby
twe4ked has quit [Ping timeout: 276 seconds]
cyclonis_ has joined #ruby
cyclonis has quit [Ping timeout: 246 seconds]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
Guest5 has joined #ruby
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
cyclonis has quit [Excess Flood]
cyclonis has joined #ruby
cyclonis_ has quit [Ping timeout: 252 seconds]
cyclonis has quit [Max SendQ exceeded]
Nahra has joined #ruby
Nahra has joined #ruby
Yuyu0 has quit [Quit: Ping timeout (120 seconds)]
Yuyu0 has joined #ruby
Eiam has quit [Ping timeout: 276 seconds]
Guest5 has quit [Ping timeout: 245 seconds]
openCircuit__ has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
skryking has quit [Ping timeout: 268 seconds]
skryking has joined #ruby
tdy has quit [Ping timeout: 246 seconds]
dasher00 has joined #ruby
<Intelo> havenwood, survey = JSON.parse(res.body) @payload = survey.zip(@payload.each_slice(2)).flatten . @payload had 4 items before. After doing the pasted, the last 2 items of @payload are just deleted
monika has quit [Remote host closed the connection]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
<otaznik[m]> how many items survey got?
<Intelo> 1 but it can be 100s
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
<otaznik[m]> in that case I would expect first and third item of paylod to "survive"
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
dionysus70 is now known as dionysus69
AJA4350 has joined #ruby
_joes_ has joined #ruby
Swyper has quit [Remote host closed the connection]
<Intelo> otaznik[m], this was the initial intention I have 2 arrays having objects in them. array A and B. I want to insert one object of B into A but after every 2 objects of A. e.g A[a,b,c,d,e,f] B[1,2,3,4,5] C[1,a,b,2,c,d,3,e,f,4,5]. How to do it?
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
ramfjord has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
ramfjord has quit [Ping timeout: 245 seconds]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
dionysus69 has quit [Ping timeout: 245 seconds]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
oetjenj has joined #ruby
oetjenj has quit [Client Quit]
ur5us has quit [Remote host closed the connection]
absolutejam1 has quit [Ping timeout: 245 seconds]
ur5us has joined #ruby
dionysus69 has joined #ruby
MrCrackPot has joined #ruby
ur5us has quit [Ping timeout: 258 seconds]
queip has quit [Ping timeout: 258 seconds]
gell5 has quit [Remote host closed the connection]
queip has joined #ruby
_joes_ has quit [Ping timeout: 268 seconds]
<lechner> */wc
lechner has left #ruby [#ruby]
openCircuit__ has joined #ruby
<otaznik[m]> Intelo: what would you like to do in case there A.size != 2*B.size ?
chunkypuffs has quit [Remote host closed the connection]
<Intelo> B[0] should be in [0] of A. if A is empty, B should just list its contents
<Intelo> otaznik[m],
<Intelo> just want to get B inside A
Jonopoly has joined #ruby
dbugger has quit [Quit: Leaving]
chunkypuffs has joined #ruby
gell5 has joined #ruby
lucasb has joined #ruby
gell5 has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
dbugger has joined #ruby
Huck777 has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
absolutejam1 has joined #ruby
mikecmpbll has quit [Read error: Connection reset by peer]
<otaznik[m]> you can use enumerators ( x = A.each) then ask (x.next) in a loop and create whatever you want, be aware that StopIteration will be raised
twe4ked has joined #ruby
absolutejam1 has quit [Ping timeout: 245 seconds]
absolutejam1 has joined #ruby
poontangmessiah has joined #ruby
absolutejam1 has quit [Ping timeout: 268 seconds]
elphe has joined #ruby
ravenous_ has joined #ruby
ravenous_ has quit [Ping timeout: 250 seconds]
grilix has joined #ruby
IsoLinCHiP has joined #ruby
skryking has quit [Ping timeout: 268 seconds]
<IsoLinCHiP> Hi there. Any suggestions how to share state between multiple processes (multiple instances of a rails app launched by passenger), without using something like sql/redis/memcached/fileIO?
<phaul> you could also look at DRb it's part of the stdlib, though I ve never used it
<phaul> &ri DRb
skryking has joined #ruby
<IsoLinCHiP> I saw DRb too, it looked a bit complicated to integrate into a rails app. I was hoping to find something like shared memory or a way to place globals into passenger or something.
andikr has quit [Ping timeout: 245 seconds]
hutch has joined #ruby
andikr has joined #ruby
<adam12> IsoLinCHiP: You might be able to set up some sort of global before Passenger starts the child processes. This depends on the `smart` spawning method since it uses fork(2)
<adam12> IsoLinCHiP: If you're using the direct spawning method in Passenger, it doesn't fork so there is no shared setup. You'd probably want something like DRb, as it's most commonly used in Ruby for IPC. There's a Rinda module that's a shared tuple safe for IPC.
<adam12> IsoLinCHiP: Alternatively, describe what you're looking to achieve and maybe someone has a better suggestion.
queip has quit [Ping timeout: 268 seconds]
queip has joined #ruby
<IsoLinCHiP> adam12: Thanks for the suggestions.
rubydoc has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 246 seconds]
<IsoLinCHiP> My usecase is: My app depends on various backend services for different parts. Not all services are required for every aspect to work. I am investigating if I can downtime of the app in a modular fashion, such that I only set those parts into a maintanance mode, for which the dependant services are down. As such I was looking to not add another service (like memcached et al, which is suggested by passenger for
<IsoLinCHiP> share storage) on which that statemanagement depends.
rubydoc has joined #ruby
<IsoLinCHiP> can reduce downtime*
vondruch has quit [Ping timeout: 245 seconds]
fuzzface has joined #ruby
alan_w has joined #ruby
<IsoLinCHiP> A simple solution that came to my mind was to store that state in a file on the filesystem. But I have a feeling that might hurt performance too much, checking a file for every request served
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
<IsoLinCHiP> *thinking out loud* Hmm, I wonder what the performance hit of checking the FS for existance of flag-files would be
krawchyk has joined #ruby
schaerli has quit [Ping timeout: 258 seconds]
DTZUZO has quit [Quit: WeeChat 2.0]
andikr has quit [Ping timeout: 264 seconds]
john2496 has joined #ruby
DTZUZO has joined #ruby
involans has joined #ruby
TomyWork has quit [Ping timeout: 246 seconds]
andikr has joined #ruby
fuzzface has quit [Quit: Leaving]
jenrzzz has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
poontangmessiah_ has joined #ruby
poontangmessiah has quit [Read error: Connection reset by peer]
AJA4351 has joined #ruby
banisterfiend has joined #ruby
AJA4350 has quit [Ping timeout: 264 seconds]
AJA4351 is now known as AJA4350
cd has joined #ruby
_joes_ has joined #ruby
td123 has quit [Ping timeout: 250 seconds]
ccooke has joined #ruby
ccooke has quit [Client Quit]
_joes_ has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 268 seconds]
ccooke has joined #ruby
td123 has joined #ruby
<havenwood> IsoLinCHiP: On Linux, /tmp is in memory, fwiw.
<havenwood> IsoLinCHiP: That's why Ruby uses /tmp to store JITed code.
<otaznik[m]> that's not universally true /tmp does not have to be in memory
iffraff has joined #ruby
_joes_ has joined #ruby
<havenwood> Sorry, some distros these days mount /tmp in memory. Check your distro.
<havenwood> You can do it yourself if it's not setup and you want to: https://blog.programster.org/keep-tmp-in-ram
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
td123 has quit [Ping timeout: 264 seconds]
Sithembewena has joined #ruby
td123 has joined #ruby
emptyflask has joined #ruby
_joes_ has quit [Ping timeout: 245 seconds]
_joes_ has joined #ruby
spacesuitdiver has joined #ruby
<IsoLinCHiP> Indeed, putting the files on a tmpfs would probably speed things up, though I still would prefer not polling on each request... Hmm, maybe I could just add a Signal handler in that refreshes on USR1 or something of the sorts
krawchyk has quit [Quit: krawchyk]
<havenwood> IsoLinCHiP: I'd lean toward Memcached, Redis or even considering the DB.
openCircuit__ has quit [Ping timeout: 246 seconds]
<havenwood> IsoLinCHiP: PStore, YAML::Store, or even YDBM with tmpfs might be interesting.
<IsoLinCHiP> havenwood: Yes, but the whole point was not adding a central point of failure, which is why I wanted to avoid service based storages.
<havenwood> IsoLinCHiP: How about a distributed Memcached setup?
<havenwood> IsoLinCHiP: Is the data huge?
_joes_ has quit [Ping timeout: 268 seconds]
<havenwood> IsoLinCHiP: Ah, reread what you wrote. Multiple processes not multiple servers.
<IsoLinCHiP> havenwood: Nope. Not very large at all.
<IsoLinCHiP> I think Im going to tinker with the file based solution on tmpfs first, before I considder more involved setups. :-)
planigan has quit [Ping timeout: 246 seconds]
planigan has joined #ruby
Intelo has quit [Remote host closed the connection]
dinfuehr_ has quit [Ping timeout: 244 seconds]
DTZUZO has quit [Quit: WeeChat 2.0]
dinfuehr has joined #ruby
DTZUZO has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schne1der has joined #ruby
rippa has joined #ruby
dbugger has quit [Quit: Leaving]
Rapture has joined #ruby
ebbflowgo has joined #ruby
ccooke_ has joined #ruby
ccooke_ has quit [Client Quit]
suukim has joined #ruby
banisterfiend has joined #ruby
dionysus69 has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
KeyJoo has joined #ruby
Jonopoly has quit [Quit: WeeChat 2.5]
jenrzzz has quit [Ping timeout: 245 seconds]
conta2 has joined #ruby
oetjenj has joined #ruby
queip has quit [Ping timeout: 245 seconds]
gnufied has joined #ruby
queip has joined #ruby
emptyflask has quit [Ping timeout: 245 seconds]
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Sithembewena has quit [Quit: Textual IRC Client: www.textualapp.com]
gheegh has quit [Ping timeout: 245 seconds]
andikr has quit [Remote host closed the connection]
dbugger has joined #ruby
duderonomy has joined #ruby
bitwinery has joined #ruby
poontangmessiah_ has quit [Remote host closed the connection]
tdy has joined #ruby
<otaznik[m]> I would agree with havenwood in not trying to implement something on your own and grabbing something available if spof worry you you may use etcd
xfbs has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
xfbs has joined #ruby
xfbs has quit [Client Quit]
r29v has joined #ruby
luminousnine has quit [Quit: Toodles]
psilly0 has joined #ruby
jenrzzz has joined #ruby
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
luminousnine has quit [Client Quit]
jenrzzz has quit [Ping timeout: 245 seconds]
chalkmonster has quit [Quit: WeeChat 2.5]
wildtrees has joined #ruby
involans has quit [Quit: involans]
xfbs has joined #ruby
Nahra has quit [Quit: leaving]
luminousnine has joined #ruby
luminousnine has quit [Changing host]
luminousnine has joined #ruby
involans has joined #ruby
ravenousmoose has joined #ruby
chalkmonster has joined #ruby
ebbflowgo has left #ruby [#ruby]
involans has quit [Quit: involans]
wald0 has joined #ruby
involans has joined #ruby
conta2 has quit [Quit: conta2]
banisterfiend has quit [Ping timeout: 245 seconds]
involans has quit [Quit: involans]
dionysus69 has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
dretnx has joined #ruby
dretnx has quit [Quit: Going offline, see ya! (www.adiirc.com)]
queip has quit [Ping timeout: 245 seconds]
dionysus69 has joined #ruby
Intelo has joined #ruby
elphe has quit [Quit: leaving]
fphilipe has quit [Ping timeout: 245 seconds]
queip has joined #ruby
banister_ has joined #ruby
krillbat has quit []
queip has quit [Ping timeout: 245 seconds]
banister_ has quit [Quit: Textual IRC Client: www.textualapp.com]
absolutejam1 has joined #ruby
ravenousmoose has quit [Ping timeout: 252 seconds]
oetjenj has joined #ruby
queip has joined #ruby
dbugger has quit [Quit: Leaving]
jenrzzz has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
suukim has quit [Quit: Konversation terminated!]
fphilipe has joined #ruby
banister_ has joined #ruby
snickers has joined #ruby
banister_ has quit [Client Quit]
fphilipe has quit [Ping timeout: 276 seconds]
banister_ has joined #ruby
banister_ has quit [Client Quit]
banister_ has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
banister_ has quit [Read error: Connection reset by peer]
davidw has joined #ruby
dionysus69 has quit [Ping timeout: 245 seconds]
<davidw> Anyone know what these guys are related to? #0 VM_EP_LEP (ep=0x55555b5eb7e0) at vm.c:35 #1 rb_vm_ep_local_ep (ep=0x55555b5eb7e0) at vm.c:64
r29v has quit [Ping timeout: 245 seconds]
<phaul> but ultimately I don't know. But you can get pointers from the commit message
<davidw> Thanks... yeah, pretty low level VM stuff :-/
dbugger has joined #ruby
chalkmonster has quit [Quit: WeeChat 2.5]
cow[moo] has joined #ruby
ravenousmoose has joined #ruby
morenoh11 has left #ruby ["WeeChat 2.3"]
rsenic has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
plujon has joined #ruby
ravenousmoose has quit [Ping timeout: 276 seconds]
banisterfiend has joined #ruby
dionysus69 has joined #ruby
banisterfiend has quit [Read error: Connection reset by peer]
banisterfiend has joined #ruby
KeyJoo has quit [Quit: KeyJoo]
Nahra has joined #ruby
Intelo_ has joined #ruby
Intelo has quit [Ping timeout: 268 seconds]
<Intelo_> havenwood, https://paste.ubuntu.com/p/R5tpCBXCF6/ line 6 should not have nils. btw, those are not at interval of 2 though but one. line 14,18 just emptyed /deleted all values of payload. Not good.
Sina has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cow[moo] has joined #ruby
<Intelo_> otaznik[m], ^
banisterfiend has quit [Ping timeout: 268 seconds]
<Intelo_> Is what I am doing be improved? or not the correct way?
SeepingN has joined #ruby
jenrzzz has joined #ruby
lxsameer has quit [Ping timeout: 258 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
baniste__ has joined #ruby
dinfuehr has quit [Ping timeout: 246 seconds]
gladiator86 has joined #ruby
gladiator86 has left #ruby [#ruby]
banisterfiend has joined #ruby
dinfuehr has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
baniste__ has quit [Ping timeout: 245 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
dinfuehr has quit [Ping timeout: 245 seconds]
dinfuehr has joined #ruby
snickers has quit [Read error: Connection reset by peer]
poontangmessiah has joined #ruby
Intelo_ is now known as Intelo
<Intelo> Hi
oetjenj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
banisterfiend has quit [Ping timeout: 268 seconds]
fphilipe has joined #ruby
fphilipe has quit [Ping timeout: 250 seconds]
absolutejam1 has quit [Ping timeout: 268 seconds]
akem-hp_ has quit [Remote host closed the connection]
akem-hp_ has joined #ruby
queip has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
jacksoow has quit [Remote host closed the connection]
Nahra has quit [Quit: ERC (IRC client for Emacs 26.2)]
jacksoow has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
johnny56 has joined #ruby
Nicmavr has joined #ruby
queip has joined #ruby
Nahra has joined #ruby
jenrzzz_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lucasb has quit [Quit: Connection closed for inactivity]
ramfjord has quit [Read error: Connection reset by peer]
ap4y has joined #ruby
ellcs1 has joined #ruby
ramfjord has joined #ruby
dbugger has quit [Remote host closed the connection]
schne1der has quit [Ping timeout: 268 seconds]
cow[moo] has joined #ruby
dbugger has joined #ruby
ur5us has joined #ruby
braderhart has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
sameerynho has joined #ruby
dbugger has quit [Quit: Leaving]
bitwinery has quit [Ping timeout: 268 seconds]
john2496 has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
teej has quit [Quit: Connection closed for inactivity]
alan_w has quit [Ping timeout: 268 seconds]
davidw has quit [Ping timeout: 245 seconds]
queip has quit [Ping timeout: 268 seconds]
greypack has quit [Quit: All your IRC are belong to ZNC]
queip has joined #ruby
banisterfiend has joined #ruby
banisterfiend has quit [Remote host closed the connection]
fphilipe has joined #ruby
banisterfiend has joined #ruby
banister_ has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
banisterfiend has quit [Ping timeout: 268 seconds]
fphilipe has quit [Ping timeout: 276 seconds]
absolutejam1 has joined #ruby
greypack has joined #ruby
ellcs1 has quit [Ping timeout: 264 seconds]
ramfjord has quit [Ping timeout: 245 seconds]
ramfjord has joined #ruby
cow[moo] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Esa_ has joined #ruby
davidw has joined #ruby
davidw is now known as Guest11997
cow[moo] has joined #ruby
sameerynho has quit [Ping timeout: 245 seconds]
jhass has quit [Quit: Bye]
axsuul has quit [Ping timeout: 245 seconds]
jhass has joined #ruby
<Intelo> o.O
banister_ has quit [Ping timeout: 258 seconds]
GodFather has joined #ruby
dork has joined #ruby
bambanx has joined #ruby
dasher00 has quit [Ping timeout: 246 seconds]
queip has quit [Ping timeout: 258 seconds]
queip has joined #ruby
absolutejam1 has quit [Ping timeout: 268 seconds]
Fernando-Basso has quit [Remote host closed the connection]
queip has quit [Ping timeout: 268 seconds]
queip has joined #ruby
grilix has quit [Ping timeout: 244 seconds]
wildtrees has quit [Quit: Leaving]
jenrzzz_ has quit [Ping timeout: 245 seconds]
Swyper has joined #ruby
mynameisdebian has joined #ruby
Swyper has quit [Remote host closed the connection]
<mynameisdebian> I am writing a simple script that does not have any explicit classes. I have some methods which I have defined, and some of them need access to a variable that is set outside of the method definition. Is it better to give that variable some scope that allows the methods to access it, or to pass it into those methods as an argument?
Swyper has joined #ruby
<mynameisdebian> Everything I can find relating to variable scope assumes my program follows common OOP design principles
<mynameisdebian> and therefore has classes. For example, all discussions online of Instance Methods use the example of an instance of a class having an instance method, yet I have observed that I can often just prepend a variable with '@' to make it accessible to my methods. Nothing I have read explains how those two things relate
<mynameisdebian> because I am not creating a class of objects and then instantiating those objects
Swyper has quit [Remote host closed the connection]