havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.3 & 2.2.6 (2.4.0-rc1): https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby
charliesome has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
<StoneCypher> so
<StoneCypher> is there a reliable way to print to irb console from sidekiq
hotpanca_ has quit [Read error: Connection reset by peer]
<StoneCypher> or should i be digging up where sidekiq emits, instead
reginvld has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roychri has quit [Ping timeout: 264 seconds]
csk has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
minimalism has quit [Quit: minimalism]
<nofxx> StoneCypher, use syslog on everything, than just follow journalctl
<zenspider> StoneCypher: you're doing server side async calls... printing shouldn't be part of your development process... what do you REALLY want?
jcao219 has joined #ruby
Dimik has quit [Ping timeout: 245 seconds]
nettoweb has joined #ruby
<nofxx> To suggest something, not a bug, to be implemented... here is the place to humbly do it? https://bugs.ruby-lang.org/projects/common-ruby/issues
nettoweb has quit [Client Quit]
<nofxx> hmm... someone else tryed to scratch that itchy https://bugs.ruby-lang.org/issues/8661 ... am doing that, but was looking for a more global don't do it in every project way
<zenspider> nofxx: yes, that's where I send people... personally I can't STAND that order ... feels like python :P
<nofxx> zenspider, that's the only thing I like about python =D
jaguarmagenta has joined #ruby
charliesome has joined #ruby
reaVer has quit [Ping timeout: 250 seconds]
<nofxx> zenspider, never, ever, was in like a tmux/screen and just...damn need to scroll this
<zenspider> blech. the actual point of the problem is farthest from the last output
<zenspider> not that I get backtraces that often...
<nofxx> it's like 80% in the first 5 lines
reaVer has joined #ruby
<nofxx> to paretto it... I say it's way more
<zenspider> I like how minitest and rails do it... filter the crap out
<zenspider> I can't believe I said that... huh
chouhoul_ has joined #ruby
<nofxx> that may work... like a code trace / stack/fw trace that is only shown with some --extra-flag
<nofxx> but just reverse I would be very happy hehe
ICantCook has joined #ruby
jaguarmagenta has quit [Ping timeout: 265 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 250 seconds]
chouhoul_ has quit [Ping timeout: 248 seconds]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
pwnd_nsfw has joined #ruby
<nofxx> another scenario: writing code with guard on, error...need to switch to terminal, scroll up.....well, maybe I might need some searching or losing a week on lisp to make emacs bring the errors, but the easy
<nofxx> the easy integration just makes the bar green or red*
nankyokusei has joined #ruby
cibs has quit [Ping timeout: 268 seconds]
gbgdev has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
cibs has joined #ruby
mfb2 has joined #ruby
mfb2 has quit [Client Quit]
<StoneCypher> zenspider: i'm just trying to get my head around sidekiq
<StoneCypher> zenspider: this is, to me, a hello world tier "is it doing what i expect" exercise
<StoneCypher> zenspider: afterwards i will be using this for the async dispatch of api hits
* zenspider nods
<nofxx> StoneCypher, you can run it w/o daemonizing too... iirc
<nofxx> so you'll get puts! =D
<nofxx> heck you can just include and YourWorker.new.perform
<nofxx> it's really just ruby StoneCypher
<nofxx> sidekiq actually is just the 'runner'
<nofxx> a nice one, with all you need queue, forked jobs
DTZUZU has joined #ruby
<nofxx> error retrial, with the nice 1s, next on 1m, 1hour, 1 day thing ... that should have a name
marchelzo has joined #ruby
<marchelzo> hi
<StoneCypher> nofxx: i don't speak ruby, so ... :D
enterprisey has joined #ruby
<marchelzo> what's ruby's concurrency story
pwnd_nsfw has quit [Ping timeout: 258 seconds]
pwnd_nsfw has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
despai has quit [Quit: This computer has gone to sleep]
<havenwood> marchelzo: Once upon a time there was a world without multiple cores, the 1990s. It was here that Ruby was born.
montanonic has joined #ruby
<marchelzo> but did things improve
darix has joined #ruby
<zenspider> ?answers marchelzo
<ruby[bot]> marchelzo: How to ask the right questions to get you the right answer: https://www.mikeash.com/getting_answers.html
_djbkd has quit [Quit: My people need me...]
<havenwood> marchelzo: Take a look at Unicorn, Puma and Thin for an example of process forking, thread pooling and evented io in Ruby.
jenrzzz has quit [Ping timeout: 265 seconds]
<havenwood> marchelzo: Matz has discussed the future of concurrency and parallelism in Ruby in the last few RubyConf keynotes.
<marchelzo> im using c not ruby
<havenwood> marchelzo: What are you trying to do?
JoshS has quit [Ping timeout: 268 seconds]
<marchelzo> nothing just trying to learn a bit about ruby
<marchelzo> i was just joking about using c
<zenspider> aaaand done
<marchelzo> it was a joke based on zenspider's link
<marchelzo> where the guy says "im using c not objective-c"
<havenwood> marchelzo: Take a look at the concurrent_ruby gem: https://github.com/ruby-concurrency/concurrent-ruby
bradleyp_ has quit [Remote host closed the connection]
bradleyprice has joined #ruby
JoshS has joined #ruby
biberu has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 258 seconds]
bradleyprice has quit [Ping timeout: 258 seconds]
<marchelzo> cool
<marchelzo> watching matz's keynote from rubyconf 2016 now and i will check out that gem
whathappens has quit [Remote host closed the connection]
d0nn1e has quit [Ping timeout: 268 seconds]
whathappens has joined #ruby
d0nn1e has joined #ruby
quazimodo has quit [Ping timeout: 252 seconds]
whathapp_ has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
raldu has quit [Ping timeout: 248 seconds]
raldu has joined #ruby
jenrzzz has joined #ruby
hutch34 has quit [Ping timeout: 245 seconds]
whathapp_ has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 258 seconds]
rakm has joined #ruby
arescorpio has joined #ruby
ICantCook has quit [Quit: bye]
nofxx has quit [Ping timeout: 250 seconds]
CloCkWeRX has joined #ruby
nofxx has joined #ruby
doubleemms has joined #ruby
doubleemms has quit [Remote host closed the connection]
doubleemms has joined #ruby
gusrub has quit [Remote host closed the connection]
ramfjord has joined #ruby
gusrub has joined #ruby
doubleemms has quit [Ping timeout: 265 seconds]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
gusrub has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
gbgdev has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 268 seconds]
xall has joined #ruby
ixti has quit [Quit: WeeChat 1.6]
brendan- has joined #ruby
xall has quit [Ping timeout: 245 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
chouhoulis has joined #ruby
bradleyprice has joined #ruby
uranellus has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 252 seconds]
uranellus has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
minimalism has joined #ruby
Gravious has quit [Remote host closed the connection]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
montanonic has quit [Ping timeout: 260 seconds]
<StoneCypher> wellllllll, this is frustrating.
<StoneCypher> even when the worker is being told to write stuff to disk, it's not
<StoneCypher> so the problem is very likely my sidekiq setup.
turingbombe has joined #ruby
amclain has quit [Quit: Leaving]
marxarelli is now known as marxarelli|afk
johnzorn has joined #ruby
jenrzzz has joined #ruby
symm- has quit [Ping timeout: 265 seconds]
hotpanca_ has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
znz_jp has quit [Remote host closed the connection]
GodFather_ has joined #ruby
swills_ is now known as swills
<nofxx> StoneCypher, very easy to know, just like I said, simply include the worker and Worker.new.perform
znz_jp has joined #ruby
<nofxx> sidekiq doesn't do or not do nothing... it just runs code
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
hotpancakes has quit [Ping timeout: 240 seconds]
<nofxx> StoneCypher, guess you know but anyways, only string params to #perform, don't use objects in params... it's a queue, it'll be stored in redis (the work name and it's params)
helpa-bot has joined #ruby
pwnd_nsfw has quit [Ping timeout: 301 seconds]
matp has quit [Excess Flood]
helpa has quit [Write error: Broken pipe]
cgfbee has quit [Excess Flood]
helpa-bot has quit [Remote host closed the connection]
helpa has joined #ruby
matp has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cgfbee has joined #ruby
jaguarmagenta has joined #ruby
agent_white has joined #ruby
raul782 has joined #ruby
astrobunny has joined #ruby
dh128 has joined #ruby
astrobunny has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
jaguarmagenta has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 248 seconds]
dar123 has joined #ruby
dh128 has left #ruby ["Leaving"]
nankyokusei has joined #ruby
raul782 has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 252 seconds]
ResidentBiscuit has joined #ruby
d^sh has quit [Ping timeout: 252 seconds]
d^sh has joined #ruby
statelesscode has joined #ruby
gusrub has joined #ruby
marchelzo has quit [Ping timeout: 268 seconds]
ghostlight has quit [Ping timeout: 258 seconds]
hotpancakes has joined #ruby
turingbombe has quit [Ping timeout: 246 seconds]
hotpanca_ has quit [Ping timeout: 260 seconds]
raul782 has joined #ruby
ghostlight has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
chromis has joined #ruby
saneax is now known as saneax-_-|AFK
jhack has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
GodFather_ has quit [Quit: Ex-Chat]
raul782 has quit [Remote host closed the connection]
bruce_lee has quit [Ping timeout: 258 seconds]
bruce_lee has joined #ruby
ruby-lang408 has joined #ruby
tmtwd has joined #ruby
libastral has quit [Ping timeout: 258 seconds]
libastral has joined #ruby
antoniobeyah has joined #ruby
ruby106 has joined #ruby
kuSuSE has quit [Ping timeout: 268 seconds]
ruby106 has quit [Ping timeout: 260 seconds]
ruby-lang408 has quit [Quit: Page closed]
tau is now known as nipplefish
dviola has quit [Quit: WeeChat 1.6]
jhack has quit [Quit: jhack]
skydiver_ has joined #ruby
jhack has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
tubuliferous has quit [Ping timeout: 248 seconds]
griffindy has joined #ruby
hanmac has quit [Ping timeout: 240 seconds]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHermit has quit [Read error: Connection reset by peer]
kies has quit [Ping timeout: 246 seconds]
xall has joined #ruby
LoneHermit has joined #ruby
xall has quit [Ping timeout: 256 seconds]
antoniobeyah has joined #ruby
jhack has quit [Quit: jhack]
hanmac has joined #ruby
kies has joined #ruby
xall has joined #ruby
montanonic has joined #ruby
ropeney has joined #ruby
astrobunny has joined #ruby
deegill has joined #ruby
deegill has quit [Client Quit]
hahuang65 has quit [Ping timeout: 245 seconds]
blackbombay has quit [Ping timeout: 245 seconds]
ur5us_ has quit [Remote host closed the connection]
harai_ has quit [Ping timeout: 240 seconds]
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
beilabs has joined #ruby
hahuang65 has joined #ruby
AlexRussia has quit [Ping timeout: 268 seconds]
alan_w_ has joined #ruby
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raul782 has joined #ruby
BTRE has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: brb sec]
antoniobeyah has quit [Quit: antoniobeyah]
antoniobeyah has joined #ruby
blackbombay has joined #ruby
pilne has quit [Quit: Quitting!]
antoniobeyah has quit [Client Quit]
dtzu has joined #ruby
yfeldblu_ has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
yfeldblu_ has quit [Client Quit]
raul782 has quit [Remote host closed the connection]
BTRE has joined #ruby
StoneCypher has quit [Ping timeout: 268 seconds]
raul782 has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
ropeney has joined #ruby
PaulCapestany has quit [Quit: .]
PaulCapestany has joined #ruby
johnzorn has quit [Ping timeout: 256 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
johnzorn has joined #ruby
raul782 has quit [Remote host closed the connection]
Channel6 has joined #ruby
antoniobeyah has joined #ruby
antoniobeyah has quit [Client Quit]
nankyokusei has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pwnd_nsfw` has joined #ruby
pwnd_nsfw` has quit [Client Quit]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
nankyokusei has quit [Ping timeout: 245 seconds]
function has joined #ruby
braincrash has joined #ruby
pwnd_nsfw` has joined #ruby
nipplefish is now known as FishNipple
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
pwnd_nsfw` has quit [Client Quit]
PaulCapestany has quit [Quit: .]
tmtwd has quit [Ping timeout: 256 seconds]
pwnd_nsfw has quit [Ping timeout: 250 seconds]
PaulCapestany has joined #ruby
skydiver_ has quit [Ping timeout: 268 seconds]
gix- has quit [Ping timeout: 260 seconds]
astrobunny has quit [Remote host closed the connection]
gix has joined #ruby
Devalo has joined #ruby
tubuliferous has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Devalo has quit [Ping timeout: 246 seconds]
skydiver_ has joined #ruby
jaguarmagenta has joined #ruby
pgib has quit [Ping timeout: 258 seconds]
BTRE has quit [Ping timeout: 256 seconds]
tubuliferous has quit [Ping timeout: 264 seconds]
csk has quit [Quit: Bye]
agent_white has joined #ruby
iMadper has quit [Remote host closed the connection]
gh5046 has joined #ruby
harfangk has joined #ruby
<gh5046> Is it possible to build ruby 1.8.7 against an alternate location for openssl? When I define --with-openssl-dir I get this:
<gh5046> configure: WARNING: unrecognized options: --with-openssl-dir
parsnip has left #ruby [#ruby]
arescorpio has quit [Quit: Leaving.]
AndyBotwin has quit [Quit: Leaving]
iMadper has joined #ruby
djbkd has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
djbkd has joined #ruby
_djbkd has joined #ruby
djbkd has quit [Ping timeout: 260 seconds]
govg has joined #ruby
function has quit [Quit: found 1 in /dev/zero]
raul782 has joined #ruby
raul782 has quit [Remote host closed the connection]
raul782 has joined #ruby
saneax-_-|AFK is now known as saneax
enterprisey has quit [Remote host closed the connection]
govg has quit [Ping timeout: 240 seconds]
govg has joined #ruby
ddffg has quit [Ping timeout: 260 seconds]
pwnd_nsfw has joined #ruby
kares has joined #ruby
gh5046 has left #ruby [#ruby]
hotpanca_ has joined #ruby
fifi-v has joined #ruby
govg has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 258 seconds]
<fifi-v> I want my class to handle nil arguments nicely, so I applied the Null Object Pattern (never used it before), in the initialize method: `@message = message || NullMessage.new`. However, Reek complains about https://github.com/troessner/reek/blob/master/docs/Control-Parameter.md. Any idea?
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
astrobunny has joined #ruby
FishNipple is now known as \tau
astrobunny has quit [Ping timeout: 265 seconds]
reginvld has quit [Read error: Connection reset by peer]
StoneCypher has joined #ruby
astrobunny has joined #ruby
eggshke has joined #ruby
ResidentBiscuit has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
fifi-v has quit [Ping timeout: 240 seconds]
ResidentBiscuit has quit [Ping timeout: 245 seconds]
gregf_ has quit [Ping timeout: 260 seconds]
raul782 has quit []
\tau has quit [Remote host closed the connection]
hotpancakes has joined #ruby
BTRE has joined #ruby
hotpanca_ has quit [Ping timeout: 245 seconds]
skydiver_ has quit [Ping timeout: 250 seconds]
anisha has joined #ruby
eggshke has quit [Remote host closed the connection]
iMadper has quit [Remote host closed the connection]
bocaneri has joined #ruby
cyphase has quit [Ping timeout: 250 seconds]
iMadper has joined #ruby
eggshke has joined #ruby
eggshke_ has joined #ruby
eggshke_ has quit [Remote host closed the connection]
eggshke has quit [Read error: Connection reset by peer]
eggshke has joined #ruby
radic has quit [Quit: ZNC - http://znc.in]
pawnbox has quit [Read error: Connection reset by peer]
cyphase has joined #ruby
nankyokusei has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dar123 has quit [Read error: Network is unreachable]
alan_w_ has quit [Quit: WeeChat 1.4]
xall has quit [Ping timeout: 250 seconds]
nankyokusei has quit [Ping timeout: 245 seconds]
pawnbox has joined #ruby
yardenbar has joined #ruby
psycho_one has quit [Quit: Textual IRC Client: www.textualapp.com]
ogn has quit [Ping timeout: 260 seconds]
last_staff has joined #ruby
aidalgol has joined #ruby
harfangk has quit [Ping timeout: 260 seconds]
radic has joined #ruby
harfangk has joined #ruby
jgt has joined #ruby
cyphase has quit [Ping timeout: 245 seconds]
jshjsh has quit [Ping timeout: 268 seconds]
dnicole has joined #ruby
jgt has quit [Ping timeout: 248 seconds]
cyphase has joined #ruby
ogn has joined #ruby
ta_ has quit [Remote host closed the connection]
psycho_one has joined #ruby
govg has joined #ruby
xall has joined #ruby
conta has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
pwnd_nsfw` has joined #ruby
armyriad has joined #ruby
rippa has joined #ruby
pwnd_nsfw has quit [Ping timeout: 256 seconds]
ruby-lang574 has joined #ruby
conta has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
StoneCypher has quit [Ping timeout: 250 seconds]
<ruby-lang574> is there learn rails the hard way book?
govg has quit [Ping timeout: 250 seconds]
armyriad has quit [Ping timeout: 245 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
jaguarmagenta has quit [Remote host closed the connection]
govg has joined #ruby
pawnbox has quit [Remote host closed the connection]
ruby-lang574 has quit [Ping timeout: 260 seconds]
<Cork> could anyone explain what the different combinations of x-mi in rubys regex mean? https://github.com/ruby/ruby/blob/201972ac4cf81d12a7018308b9e88400c5e61a9d/test/ruby/test_regexp.rb#L295
<Cork> been googling around and found nothing
pawnbox has joined #ruby
<xall> Cork: what do you mean? it seems like regular regex syntax
<Cork> /(?:foo)/.to_s => '(?-mix:foo)'
<Cork> what does the -mix mean?
<Cork> ah
<Cork> herwin: thx
<Cork> hmm, didn't know you could put that in a group
<herwin> you can override the global options that way
<herwin> /(?-i:foo)bar/i would match fooBAR, but not FOObar
<Cork> ya, i get it, didn't know it was a syntax that existed though
tubuliferous has joined #ruby
slackbotgz has joined #ruby
last_staff has quit [Quit: last_staff]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
psycho_one has quit [Remote host closed the connection]
psycho_one has joined #ruby
muelleme has joined #ruby
JoshS has joined #ruby
elevan_ has quit [Ping timeout: 246 seconds]
emilkarl has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
j3r0 has joined #ruby
<xall> is there a simple way to evaulate the current line in pry without stepping/moving?
maattdd has joined #ruby
<zenspider> the oddest requests ...
<dminuoso> xall: Are you talking about pry-byebug?
<xall> dminuoso: yeah
andikr has joined #ruby
wugy has joined #ruby
wugy has quit [Excess Flood]
conta has joined #ruby
wugy has joined #ruby
wugy has quit [Excess Flood]
maattdd has quit [Ping timeout: 246 seconds]
wugy has joined #ruby
wugy has quit [Excess Flood]
aryaching has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
Devalo has joined #ruby
A_Drone has quit [Remote host closed the connection]
<Cork> djellemah: thx
ta_ has joined #ruby
bradleyprice has quit [Ping timeout: 258 seconds]
_djbkd has quit [Quit: My people need me...]
mark_66 has joined #ruby
iMadper has quit [Write error: Connection reset by peer]
muelleme has quit [Ping timeout: 245 seconds]
milardovich has joined #ruby
dionysus69 has joined #ruby
camilasan has quit [Remote host closed the connection]
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
Ishido has joined #ruby
camilasan has joined #ruby
iMadper has joined #ruby
ogn has quit [Ping timeout: 264 seconds]
jshjsh has joined #ruby
walterheck has joined #ruby
byte512 has joined #ruby
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
last_staff has joined #ruby
gusrub has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
slackbotgz has quit [Remote host closed the connection]
StoneCypher has joined #ruby
stoffus has joined #ruby
SpiffTR has joined #ruby
ogn has joined #ruby
StoneCypher has quit [Ping timeout: 250 seconds]
iMadper has quit [Remote host closed the connection]
hutch34 has joined #ruby
Jackneill has joined #ruby
ruurd has quit [Remote host closed the connection]
Chair has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
iMadper has joined #ruby
maattdd has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
lxsameer has joined #ruby
SpiffTR has quit [Quit: Leaving.]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
ruurd has joined #ruby
ruurd is now known as Guest79248
leah2 has quit [Ping timeout: 258 seconds]
the_drow has joined #ruby
nankyokusei has joined #ruby
emilkarl has quit [Quit: emilkarl]
tommylommykins has quit [Ping timeout: 258 seconds]
A_Drone has quit [Remote host closed the connection]
A_Drone has joined #ruby
A_Drone has quit [Remote host closed the connection]
xall has quit [Ping timeout: 250 seconds]
A_Drone has joined #ruby
nankyokusei has quit [Ping timeout: 265 seconds]
hotpancakes has joined #ruby
pawnbox has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
iMadper has quit [Remote host closed the connection]
Ishido has joined #ruby
Derderderd has quit [Ping timeout: 246 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
gbgdev has joined #ruby
conta1 has joined #ruby
flying has joined #ruby
milardovich has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
aganov has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
hotpancakes has quit [Ping timeout: 265 seconds]
pawnbox has joined #ruby
conta1 has quit [Ping timeout: 260 seconds]
TheHodge has joined #ruby
volrite has joined #ruby
bradleyprice has joined #ruby
Guest60896 has joined #ruby
jgt has joined #ruby
tvw has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
bradleyprice has quit [Ping timeout: 264 seconds]
volrite has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
Burgestrand has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
biberu has joined #ruby
jaiks has quit [Ping timeout: 258 seconds]
nofxx has quit [Ping timeout: 268 seconds]
blackbom1 has joined #ruby
gbgdev has quit [Remote host closed the connection]
MrBusiness2 has quit [Ping timeout: 245 seconds]
blackbombay has quit [Ping timeout: 268 seconds]
milardovich has joined #ruby
GreyHands has joined #ruby
aidalgol has quit [Quit: Using Circe, the loveliest of all IRC clients]
ishe_ua has joined #ruby
symm- has joined #ruby
milardovich has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
jaiks has joined #ruby
eightbitraptor has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
nettoweb has joined #ruby
jaguarmagenta has joined #ruby
ocbtec has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
SpiffTR has joined #ruby
JoshS has joined #ruby
nettoweb_ has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
Madplatypus has joined #ruby
nettoweb_ has quit [Client Quit]
jaguarmagenta has quit [Ping timeout: 265 seconds]
astrobunny has quit [Ping timeout: 260 seconds]
emilkarl has joined #ruby
koooge has quit [Quit: Leaving...]
mim1k|work has quit [Ping timeout: 250 seconds]
mim1k|work has joined #ruby
gbgdev has joined #ruby
iMadper has joined #ruby
xall has joined #ruby
n008f4g_ has joined #ruby
Derderderd has joined #ruby
mim1k|work has quit [Remote host closed the connection]
mim1k|work has joined #ruby
gbgdev has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 252 seconds]
Derderderd has quit [Ping timeout: 246 seconds]
mim1k|work has quit [Client Quit]
pawnbox has joined #ruby
Fernando-Basso has joined #ruby
aupadhye has joined #ruby
SpiffTR has quit [Quit: Leaving.]
milardovich has joined #ruby
nowz has joined #ruby
nettoweb has joined #ruby
mim1k|work has joined #ruby
milardovich has quit [Ping timeout: 260 seconds]
anisha_ has joined #ruby
jsrn_ has joined #ruby
eggshke has quit []
pandaant has joined #ruby
Beams has joined #ruby
anisha has quit [Ping timeout: 265 seconds]
marr has joined #ruby
ddffg has joined #ruby
djellemah has quit [Ping timeout: 268 seconds]
chris2_ has joined #ruby
chris2_ is now known as leah2
djellemah has joined #ruby
bweston92 has joined #ruby
Ishido has quit [Remote host closed the connection]
workmad3 has joined #ruby
Guest79248 has left #ruby ["bye folks"]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ishido has joined #ruby
StoneCypher has joined #ruby
yasm has joined #ruby
ruurd has joined #ruby
rodfersou has joined #ruby
yasm has quit [Client Quit]
jcao219 has quit [Ping timeout: 245 seconds]
meshsmith has joined #ruby
StoneCypher has quit [Ping timeout: 250 seconds]
pwnd_nsfw has joined #ruby
jgt has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 250 seconds]
ace_me has joined #ruby
meshsmith_ has joined #ruby
<ace_me> hi all ! there is any plugin for netbeans to allow highlighting ?
<agent_white> ace_me: BEEENS
<agent_white> I believe it's there by default?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
meshsmith has quit [Ping timeout: 264 seconds]
jshjsh has joined #ruby
charliesome has joined #ruby
ferr1 has joined #ruby
Devalo has quit [Remote host closed the connection]
byte512 has quit [Quit: WeeChat 1.6]
<ace_me> I am trying to see highlighted a template erb file
<ace_me> agent_white
Devalo has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
<ace_me> I have a puppet module and I get parse error in a erb file so thought to have a look where the problem could be
hutch34 has joined #ruby
<ace_me> so I opened it in netbeans but looks not quite friendly
minimalism has quit [Quit: minimalism]
<agent_white> Ah! I like colors, too.
<agent_white> I wish I could help but I don't use Netbeans regularly :(
<agent_white> I hope you find what you're looking for!
Devalo has quit [Ping timeout: 246 seconds]
byte512 has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradleyprice has joined #ruby
ogn has quit [Ping timeout: 248 seconds]
ogn has joined #ruby
milardovich has joined #ruby
bradleyprice has quit [Ping timeout: 245 seconds]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
aries_liuxueyang has joined #ruby
govg has quit [Ping timeout: 245 seconds]
gbgdev has joined #ruby
nankyokusei has joined #ruby
SpiffTR has joined #ruby
Derderderd has joined #ruby
charliesome has joined #ruby
nankyokusei has quit [Ping timeout: 245 seconds]
agent_white has quit [Quit: leaving]
iMadper has quit [Remote host closed the connection]
koldbrutality has quit [Ping timeout: 252 seconds]
Derderderd has quit [Ping timeout: 246 seconds]
ocbtec has quit [Quit: leaving]
hotpancakes has joined #ruby
ldnunes has joined #ruby
blackbom1 has quit [Ping timeout: 268 seconds]
SesMan has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
GreyHands has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
hotpancakes has quit [Ping timeout: 264 seconds]
gbgdev has quit [Remote host closed the connection]
despai has joined #ruby
eggshke has joined #ruby
SpiffTR has quit [Quit: Leaving.]
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 240 seconds]
johnzorn has quit [Ping timeout: 260 seconds]
montanonic has quit [Ping timeout: 265 seconds]
SpiffTR has joined #ruby
blackbom1 has joined #ruby
Snowy has joined #ruby
Snowy is now known as RobertBlack
johnzorn has joined #ruby
gbgdev has joined #ruby
gbgdev has quit [Remote host closed the connection]
gbgdev has joined #ruby
pandaant has quit [Remote host closed the connection]
gbgdev has quit [Read error: Connection reset by peer]
gbgdev has joined #ruby
n008f4g_ has quit [Ping timeout: 248 seconds]
StoneCypher has joined #ruby
milardovich has quit []
StoneCypher has quit [Ping timeout: 250 seconds]
rodferso1 has joined #ruby
ur5us has quit [Remote host closed the connection]
meshsmith has joined #ruby
pwnd_nsfw has joined #ruby
rodfersou has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 248 seconds]
meshsmith_ has quit [Ping timeout: 256 seconds]
blingrang has joined #ruby
<raz> hrm.. can some regex wizard explain to me why this matches only the first key=value pair?
<raz> p "herp=derp foo=bar come=on".match(/(?:\s|^)([^= ]+=[^ =]+)(?:\s|$)/)
GodFather has joined #ruby
kobain has joined #ruby
maattdd has quit [Ping timeout: 246 seconds]
jaguarmagenta has joined #ruby
<c-c> because only one group of those middle ones?
<c-c> raz: can you make a rubular.com
<raz> c-c: n/m. thanks for looking! it seems i was confused about #match vs #scan (the latter gives me what i want)
<c-c> I don't think so 8)
<raz> haha
<raz> feed more into my fears!
Sidoniuns has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
nowhere_man has joined #ruby
givemeurhats has joined #ruby
<zenspider> raz: yes to match vs scan... but your regexp is also overly specific
<zenspider> scan for what you want, nothing more
lightstalker has quit [Ping timeout: 265 seconds]
<givemeurhats> is there a way to call parent class method I overriden in child? For example if a parent has hello method, and in child hello method is super + name, is there a way to call parent hello method in child in some other method?
jenrzzz has quit [Ping timeout: 268 seconds]
<givemeurhats> sorry if not explained properly :p
<raz> well, yes this is indeed trickier than i thought. what i really want is to extract all k=v pairs from a string like: "foo=bar some random text frob=nitz other text x=y". extract and then remove them (properly preserving the remaining whitespace).
<zenspider> givemeurhats: you just used the word "super", yet it seems like you don't know about it?
<zenspider> the answer is in your question
<givemeurhats> zenspider, oh but not in hello method
<givemeurhats> zenspider, in some other method I want to call parents hello
<givemeurhats> zenspider, oh you mean super.hello?
<zenspider> givemeurhats: there are ways... but what you're asking is reeking of bad design
<zenspider> raz: original, but with scan
<zenspider> >> "herp=derp foo=bar come=on".scan(/(?:\s|^)([^= ]+=[^ =]+)(?:\s|$)/)
<ruby[bot]> zenspider: # => [["herp=derp"], ["come=on"]] (https://eval.in/701272)
<zenspider> raz: without all the crap:
<zenspider> >> "herp=derp foo=bar come=on".scan(/(\w+=\w+)/)
<ruby[bot]> zenspider: # => [["herp=derp"], ["foo=bar"], ["come=on"]] (https://eval.in/701273)
<zenspider> raz: groups are your friends:
<zenspider> >> "herp=derp foo=bar come=on".scan(/(\w+)=(\w+)/)
<ruby[bot]> zenspider: # => [["herp", "derp"], ["foo", "bar"], ["come", "on"]] (https://eval.in/701274)
<raz> zenspider: good... stuff
* raz whips out a pencil
<givemeurhats> zenspider, yeah I though about it, but any other implementation would just complicate things more, this is the most elegant solution (if possible)
<zenspider> and that should still work with additional stuff:
<zenspider> >> "herp=derp blah blah foo=bar blah blah come=on".scan(/(\w+)=(\w+)/)
<ruby[bot]> zenspider: # => [["herp", "derp"], ["foo", "bar"], ["come", "on"]] (https://eval.in/701277)
<givemeurhats> zenspider, how would I go about calling it?
<zenspider> "this is the most elegant solution"... I highly doubt it.
<raz> zenspider: but now the hard part... ;)
<raz> >> "leave herp=derp me foo=bar in come=on place".gsub(/(\w+)=(\w+)/, '')
<ruby[bot]> raz: # => "leave me in place" (https://eval.in/701281)
<raz> your turn :p
<zenspider> not sure what you're asking
<givemeurhats> zenspider, I have a lot of classes inheriting from a parent that has that method, and in another class I call the same method on all objects
<givemeurhats> it seems most elegant
<zenspider> but it is starting to smell like you're trying to parse html/xml attribs or something?
lightstalker has joined #ruby
<raz> zenspider: "natural" whitespace preserval. i.e. each of the k/v pairs should remove one space as well (unless at start/end of string)
Derderderd has joined #ruby
<zenspider> "leave herp=derp me foo=bar in come=on place".gsub(/(\w+)=(\w+)\s*/, '')
<zenspider> >> "leave herp=derp me foo=bar in come=on place".gsub(/(\w+)=(\w+)\s*/, '')
<ruby[bot]> zenspider: # => "leave me in place" (https://eval.in/701283)
<raz> dang
TheHodge has quit [Quit: Connection closed for inactivity]
<zenspider> raz: please tell me you're not trying to parse/manipulate html/xml
<zenspider> there are MUCH better tools for that
<raz> zenspider: i'm not trying to parse manipulate html/xml
<zenspider> kk
<raz> hmm. thanks. i don't know why regex never works for me like that.
<raz> there's one tiny corner case, but that's well acceptable for my use here
<zenspider> raz: you're overthinking it
<raz> >> "corner=case leave herp=derp me foo=bar in come=on place other=corner".gsub(/(\w+)=(\w+)\s*/, '')
<ruby[bot]> raz: # => "leave me in place " (https://eval.in/701284)
<zenspider> raz: .trim
<givemeurhats> zenspider, ok found it its method(:method_name).super_method.call
<raz> yep
<zenspider> givemeurhats: bad design man... but if you won't listen, have fun with that...
<zenspider> wait... CLASS method?
<zenspider> you just call it. why is this a thing?
despai has quit [Quit: Leaving]
omphe has joined #ruby
<givemeurhats> zenspider, yeah just tested it, you are right, its for class method
Derderderd has quit [Ping timeout: 246 seconds]
<zenspider> ace_me: the error should actually point pretty close to the actual problem
<zenspider> givemeurhats: so just call it
last_staff has joined #ruby
<givemeurhats> zenspider, I need an instance method
<zenspider> givemeurhats: you suck at describing your problems
<givemeurhats> zenspider, what is wrong with this design ? http://pastie.org/10984339
<givemeurhats> zenspider, yeah sorry, not really good at explaining things
<zenspider> nothing is wrong with that design... but it also doesn't touch anything you originally described (yet?)
<matthewd> Firstly, the fact your classes are named A, B, and C
frozengeek has joined #ruby
<zenspider> matthewd: gotta protect the IP, yo
<zenspider> ob-fu-scate
<givemeurhats> zenspider, so now in class C, i want to get to name from A
<givemeurhats> to hello method
postmodern_ has joined #ruby
postmodern has quit [Ping timeout: 245 seconds]
<zenspider> givemeurhats: you already did
<givemeurhats> zenspider, I suck at explaining with imagined code, I want to get to "hello" method in A from C
<givemeurhats> zenspider, yeah I did in hello method
<zenspider> that's what super does
<givemeurhats> zenspider, but how to get to it from some new method
<zenspider> and if you want to bypass it then YES, you have a shitty design
<zenspider> continuing on matthewd's path: you spelled "name" "hello"
<givemeurhats> zenspider, if I change the design I won't be able to have a collection of objects of all the classes and call hello on each of them
nadir has quit [Quit: Connection closed for inactivity]
<givemeurhats> I just need to access the parents method hello in one other method
<zenspider> givemeurhats: but... I'm really not interested in you doling out the oddities of your design problem over the course of 30 minutes. You could have included the problem you actually have in your code sample and let me at it...
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
pawnbox has quit [Remote host closed the connection]
aries_liuxueyang has joined #ruby
<givemeurhats> zenspider, http://pastie.org/10984343
<matthewd> givemeurhats: You said you already found super_method; terrible design notwithstanding, does that not meet your "need"?
meshsmith_ has joined #ruby
<givemeurhats> zenspider, here..this is based on an awfull fact that m3u files don't really have categories, but people create fictive categories by just naming a channel like ===== ENGLAND ====, and I should be able to sort things in those fictive categories
montanonic has joined #ruby
<givemeurhats> zenspider, like this http://pastie.org/10984346
<givemeurhats> zenspider, so everything is basicly an "Entry"
<givemeurhats> zenspider, but I need to grup them into categories so I can change order in them
meshsmith has quit [Ping timeout: 268 seconds]
<givemeurhats> zenspider, I know its not the best code in the world but this works
<zenspider> your reading comprehension could use some help too... see my statement above about not being interested
milardovich has quit []
<givemeurhats> zenspider, ok sorry for troubling you, thanks anyway
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
symm- has quit [Ping timeout: 268 seconds]
meshsmith has joined #ruby
jgt has quit [Ping timeout: 256 seconds]
<ddffg> what is best sample of using sinatra and auth token
maattdd has joined #ruby
xall has quit [Ping timeout: 260 seconds]
meshsmith_ has quit [Ping timeout: 256 seconds]
emilkarl has quit [Quit: emilkarl]
<c-c> hey zenspider
<c-c> Do you know if theres a way to use /dev/shm with ruby?
montanonic has quit [Ping timeout: 248 seconds]
Devalo has joined #ruby
hutch34 has joined #ruby
tyang has joined #ruby
SpiffTR has quit [Quit: Leaving.]
anisha__ has joined #ruby
givemeurhats has quit [Quit: Leaving]
kuSuSE has joined #ruby
opt9 has quit [Quit: ZNC - http://znc.in]
Devalo has quit [Ping timeout: 246 seconds]
anisha_ has quit [Ping timeout: 264 seconds]
hutch34 has quit [Ping timeout: 258 seconds]
opt9 has joined #ruby
opt9 is now known as Guest61440
SpiffTR has joined #ruby
ogn has quit [Ping timeout: 268 seconds]
saneax is now known as saneax-_-|AFK
bradleyprice has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
eggshke has quit [Remote host closed the connection]
eggshke has joined #ruby
nowz has quit [Remote host closed the connection]
Derderderd has joined #ruby
bradleyprice has quit [Ping timeout: 252 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
nankyokusei has joined #ruby
kuSuSE has quit [Quit: Konversation terminated!]
jgt has joined #ruby
SpiffTR has quit [Quit: Leaving.]
Derderderd has quit [Ping timeout: 258 seconds]
montanonic has joined #ruby
SpiffTR has joined #ruby
sdwrage has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
Sidoniuns has quit [Quit: Ex-Chat]
konsolebox has joined #ruby
hotpancakes has joined #ruby
xall has joined #ruby
skydiver_ has joined #ruby
beilabs has quit [Ping timeout: 250 seconds]
beilabs has joined #ruby
ace_me has quit [Quit: I was standing in the park wondering why frisbees got bigger as they get closer. Then it hit me.]
rwb has quit [Ping timeout: 240 seconds]
ogn has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
konsolebox has quit [Quit: Leaving]
SesMan has joined #ruby
sdothum has joined #ruby
yardenbar has quit [Ping timeout: 264 seconds]
swills has quit [Quit: Leaving]
pwnd_nsfw` has joined #ruby
UserJosh has joined #ruby
pwnd_nsfw has quit [Ping timeout: 265 seconds]
jshjsh has quit [Ping timeout: 268 seconds]
johnmilton has joined #ruby
meshsmith has quit [Ping timeout: 265 seconds]
govg has joined #ruby
StoneCypher has joined #ruby
ogn has quit [Ping timeout: 256 seconds]
Devalo has joined #ruby
skydiver_ has quit [Quit: WeeChat 1.6]
skydiver has joined #ruby
yardenbar has joined #ruby
ResidentBiscuit has joined #ruby
skydiver has quit [Client Quit]
StoneCypher has quit [Ping timeout: 250 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Suresh_ has joined #ruby
eggshke has quit [Remote host closed the connection]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
eggshke has joined #ruby
brendan- has joined #ruby
ogn has joined #ruby
hutch34 has joined #ruby
milardovich has joined #ruby
nettoweb has joined #ruby
Byan has joined #ruby
<Byan> I'm very new to ruby
SpiffTR has quit [Quit: Leaving.]
<Byan> can someone tell me how to use search_subreddits here?
<Byan> I can tell what it wants, I just can't tell what the invocation should look like
Burgestrand has joined #ruby
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hutch34 has quit [Ping timeout: 258 seconds]
marchelzo has joined #ruby
<marchelzo> hi
<marchelzo> when is ruby 3 coming out
Burgestr_ has joined #ruby
andrzeju_ has quit [Read error: Connection reset by peer]
andrzeju_ has joined #ruby
synthroid has joined #ruby
jaguarmagenta has joined #ruby
saneax-_-|AFK is now known as saneax
gbgdev_ has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 264 seconds]
pwnd_nsfw has joined #ruby
<manveru> in a couple of years
Suresh_ has quit [Ping timeout: 260 seconds]
gbgdev has quit [Ping timeout: 252 seconds]
Burgestrand has quit [Ping timeout: 246 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dviola has joined #ruby
<marchelzo> im so excited for ruby 3
jaguarmagenta has quit [Ping timeout: 258 seconds]
bradleyprice has joined #ruby
swills has joined #ruby
gbgdev_ has quit [Remote host closed the connection]
Derderderd has joined #ruby
bradleyprice has quit [Ping timeout: 256 seconds]
synthroi_ has joined #ruby
<Hates_> I guess not for a while
Derderderd has quit [Ping timeout: 246 seconds]
saneax is now known as saneax-_-|AFK
<marchelzo> are you guys excited for ruby 3?
<yorickpeterse> marchelzo: why? It won't be here for another 10 years
synthroid has quit [Ping timeout: 248 seconds]
<yorickpeterse> even then I wouldn't hold your breath for it
konsolebox has joined #ruby
<marchelzo> i have faith
sdwrage has quit [Quit: This computer has gone to sleep]
anisha__ has quit [Quit: Leaving]
omphe has quit [Read error: Connection reset by peer]
mikecmpb_ has joined #ruby
konsolebox has quit [Max SendQ exceeded]
konsolebox has joined #ruby
mikecmpbll has quit [Ping timeout: 245 seconds]
sdwrage has joined #ruby
Burgestr_ has quit [Ping timeout: 246 seconds]
nowz has joined #ruby
Burgestrand has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kuSuSE has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
brendan- has joined #ruby
milardovich has joined #ruby
pwnd_nsfw` has joined #ruby
Toledo has joined #ruby
Toledo is now known as croberts
eightbitraptor has quit [Quit: leaving]
pwnd_nsfw has quit [Ping timeout: 252 seconds]
eightbitraptor has joined #ruby
eightbitraptor has quit [Client Quit]
frozengeek has quit [Quit: frozengeek]
Beams has joined #ruby
frozengeek has joined #ruby
<Hates_> Just switch to Crystal ;)
eightbitraptor has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
sdwrage has quit [Read error: Connection reset by peer]
<adaedra> I sense heresy
<z64> what? cr? lol
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
sdwrage has joined #ruby
pawnbox has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SteenJobs_ has joined #ruby
eightbitraptor has quit [Quit: leaving]
ramortegui has joined #ruby
eightbitraptor has joined #ruby
eightbitraptor has quit [Client Quit]
eightbitraptor has joined #ruby
eggshke has quit []
eightbitraptor has quit [Client Quit]
roychri has joined #ruby
yardenbar has quit [Ping timeout: 250 seconds]
pec has joined #ruby
xall has quit [Ping timeout: 245 seconds]
Madplatypus has quit [Quit: Connection closed for inactivity]
GodFather has joined #ruby
eightbitraptor has joined #ruby
eightbitraptor has quit [Client Quit]
rodferso1 is now known as rodfersou|lunch
swills has quit [Quit: Leaving]
eightbitraptor has joined #ruby
eightbitraptor has quit [Client Quit]
catsmas is now known as cats
eightbitraptor has joined #ruby
konsolebox has quit [Ping timeout: 260 seconds]
jhack has joined #ruby
nowhere_man has quit [Ping timeout: 250 seconds]
eightbitraptor has quit [Client Quit]
nowhere_man has joined #ruby
jhack has quit [Client Quit]
jhack has joined #ruby
eightbitraptor has joined #ruby
hutch34 has joined #ruby
ropeney has joined #ruby
griffindy has joined #ruby
Burgestrand has quit [Ping timeout: 246 seconds]
yardenbar has joined #ruby
nettoweb has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
govg has quit [Ping timeout: 260 seconds]
charliesome has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
hutch34 has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brendan- has joined #ruby
maloik has quit [Remote host closed the connection]
meshsmith has joined #ruby
maloik has joined #ruby
Robtop__ has joined #ruby
rwb has joined #ruby
ogn has quit [Ping timeout: 252 seconds]
bradleyprice has joined #ruby
SesMan has joined #ruby
millerti has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 258 seconds]
Derderderd has joined #ruby
bradleyprice has quit [Ping timeout: 248 seconds]
nankyokusei has joined #ruby
walterheck has quit [Ping timeout: 246 seconds]
DLSteve has joined #ruby
dionysus70 has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 246 seconds]
dionysus70 is now known as dionysus69
Derderderd has quit [Ping timeout: 248 seconds]
Burgestrand has joined #ruby
nankyokusei has quit [Ping timeout: 248 seconds]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby
nettoweb1 has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
ogn has joined #ruby
AlexRussia has joined #ruby
swills has joined #ruby
hotpancakes has joined #ruby
gheegh has quit [Ping timeout: 241 seconds]
synthroid has joined #ruby
marcoecc has joined #ruby
GodFather has joined #ruby
brendan- has joined #ruby
hutch34 has quit [Quit: WeeChat 1.5]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
blackbom1 has quit [Ping timeout: 265 seconds]
ogn has quit [Ping timeout: 248 seconds]
synthroi_ has quit [Ping timeout: 264 seconds]
ogn has joined #ruby
SteenJobs_ has quit [Quit: SteenJobs_]
cajone has left #ruby [#ruby]
blackbom1 has joined #ruby
govg has joined #ruby
hotpancakes has quit [Ping timeout: 248 seconds]
arooni has quit [Quit: ZNC - http://znc.in]
swills has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
cajone has joined #ruby
cajone has quit [Max SendQ exceeded]
cajone has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
aupadhye_ has joined #ruby
arooni has joined #ruby
aupadhye has quit [Ping timeout: 248 seconds]
Devalo has quit [Remote host closed the connection]
Guest60896 has quit [Ping timeout: 258 seconds]
Devalo has joined #ruby
polishdub has joined #ruby
StoneCypher has joined #ruby
jhack has quit [Quit: jhack]
jaguarmagenta has quit [Remote host closed the connection]
Burgestrand has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
Devalo has quit [Ping timeout: 246 seconds]
GodFather has quit [Ping timeout: 256 seconds]
StoneCypher has quit [Ping timeout: 252 seconds]
nowhere_man has quit [Ping timeout: 264 seconds]
jhack has joined #ruby
UserJosh has quit [Ping timeout: 265 seconds]
tlaxkit has joined #ruby
GodFather has joined #ruby
meshsmith_ has joined #ruby
meshsmith_ has quit [Remote host closed the connection]
meshsmith_ has joined #ruby
meshsmith has quit [Ping timeout: 258 seconds]
meshsmith has joined #ruby
ta_ has quit [Remote host closed the connection]
Derderderd has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nowz has quit [Quit: Leaving]
meshsmith_ has quit [Ping timeout: 258 seconds]
swills has joined #ruby
StoneCypher has joined #ruby
Derderderd has quit [Ping timeout: 252 seconds]
antoniobeyah has joined #ruby
doubleemms has joined #ruby
jenrzzz has joined #ruby
bradleyprice has joined #ruby
pawnbox has quit [Remote host closed the connection]
StoneCypher has quit [Ping timeout: 252 seconds]
nowhere_man has joined #ruby
tlaxkit has quit [Quit: ¡Adiós!]
xall has joined #ruby
beilabs has quit [Remote host closed the connection]
synthroi_ has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
bradleyprice has quit [Ping timeout: 250 seconds]
yardenbar has quit [Ping timeout: 260 seconds]
synthroid has quit [Ping timeout: 258 seconds]
ogn has quit [Ping timeout: 258 seconds]
balazs has joined #ruby
mikecmpb_ has quit [Quit: inabit. zz.]
n008f4g_ has joined #ruby
gbgdev has joined #ruby
nettoweb1 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emilkarl has joined #ruby
meshsmith_ has joined #ruby
ogn has joined #ruby
antoniobeyah has quit [Quit: antoniobeyah]
meshsmith_ has quit [Client Quit]
meshsmith_ has joined #ruby
Yzguy has joined #ruby
jhack has quit [Ping timeout: 258 seconds]
bovis has joined #ruby
meshsmith has quit [Ping timeout: 265 seconds]
meshsmith_ has quit [Client Quit]
meshsmith has joined #ruby
pawnbox has joined #ruby
brendan- has joined #ruby
SpiffTR has joined #ruby
ogn has quit [Ping timeout: 248 seconds]
troys has joined #ruby
nettoweb has joined #ruby
montanonic has quit [Ping timeout: 264 seconds]
beilabs has joined #ruby
ogn has joined #ruby
cajone has quit [Quit: Leaving.]
harfangk has joined #ruby
ogn has quit [Ping timeout: 248 seconds]
mwlang has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Definity has joined #ruby
andikr has quit [Remote host closed the connection]
coderhut has joined #ruby
d0nn1e has quit [Ping timeout: 240 seconds]
d0nn1e has joined #ruby
__Yiota has joined #ruby
emilkarl has quit [Quit: emilkarl]
<__Yiota> hi folks. got a question. I have a class 'foo'. it has its initialize method where you specify class. however outside of the initialize function this code im reading has @@bar = Hash.new
<__Yiota> I thought all self parameters went inside the initialize function?
johnzorn has quit [Ping timeout: 258 seconds]
koldbrutality has joined #ruby
synthroi_ has quit [Remote host closed the connection]
coderhut has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 250 seconds]
tdy has quit [Quit: tdy]
Definity has quit [Ping timeout: 240 seconds]
<adaedra> @@bar is a class variable
<adaedra> it's shared between instances
<adaedra> it's weird and better be avoided, there are better solutions
PresidentBiscuit has joined #ruby
johnzorn has joined #ruby
hotpancakes has quit [Remote host closed the connection]
cdg has joined #ruby
jhack has joined #ruby
tdy has joined #ruby
GodFather has quit [Ping timeout: 256 seconds]
PresidentBiscuit has quit [Ping timeout: 258 seconds]
antoniobeyah has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
ogn has joined #ruby
mikecmpbll has joined #ruby
shinnya has joined #ruby
<__Yiota> how do I declar a regular variable?
<__Yiota> adaedra
<__Yiota> like in python you would so self.foo = foo
Yzguy has quit [Quit: Bye]
<adaedra> youldn't that make an instance variable?
<adaedra> ?variables
<ruby[bot]> Ruby knows $globals, @@class_variables, @instance_variables, local_variables and Constants
<__Yiota> like @foo ?
<__Yiota> ok gotcha
Derderderd has joined #ruby
last_staff has quit [Quit: *poof*]
chouhoulis has quit [Remote host closed the connection]
VladGh_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Derderderd has quit [Ping timeout: 265 seconds]
gbgdev_ has joined #ruby
VladGh has joined #ruby
gbgdev has quit [Ping timeout: 260 seconds]
rodfersou|lunch is now known as rodfersou
bradleyprice has joined #ruby
ttilley has joined #ruby
hotpancakes has joined #ruby
nankyokusei has joined #ruby
ttilley has quit [Changing host]
ttilley has joined #ruby
shadeslayer has quit [Ping timeout: 250 seconds]
hotpanca_ has joined #ruby
xall has quit [Ping timeout: 260 seconds]
aganov has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 250 seconds]
cdg_ has joined #ruby
StoneCypher has joined #ruby
troys is now known as troys_
Dimik has joined #ruby
cdg has quit [Ping timeout: 258 seconds]
synthroid has joined #ruby
andikr has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
sparch has joined #ruby
sparch has quit [Changing host]
sparch has joined #ruby
lmc has joined #ruby
hotpancakes has joined #ruby
SesMan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bradleyprice has quit [Ping timeout: 260 seconds]
hotpanca_ has quit [Ping timeout: 260 seconds]
pawelbx has joined #ruby
shadeslayer has joined #ruby
hotpanca_ has joined #ruby
amclain has joined #ruby
troys_ is now known as troys
preyalone has joined #ruby
hotpancakes has quit [Ping timeout: 265 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
johnzorn has quit [Read error: Connection reset by peer]
SpiffTR has quit [Quit: Leaving.]
the_drow has quit [Quit: This computer has gone to sleep]
StoneCyp1er has joined #ruby
eightbitraptor has quit [Ping timeout: 264 seconds]
conta has quit [Ping timeout: 248 seconds]
xall has joined #ruby
Devalo has joined #ruby
bradleyprice has joined #ruby
StoneCypher has quit [Ping timeout: 245 seconds]
SpiffTR has joined #ruby
maattdd has quit [Ping timeout: 245 seconds]
rwb has quit [Ping timeout: 265 seconds]
StoneCyp1er has quit [Ping timeout: 260 seconds]
StoneCypher has joined #ruby
xall has quit [Ping timeout: 256 seconds]
Devalo has quit [Ping timeout: 246 seconds]
pec has quit [Remote host closed the connection]
johnzorn has joined #ruby
Chair has quit [Ping timeout: 258 seconds]
GodFather has joined #ruby
brendan- has joined #ruby
jsrn_ has quit [Quit: Leaving]
mark_66 has quit [Remote host closed the connection]
StoneCypher has quit [Ping timeout: 260 seconds]
StoneCypher has joined #ruby
SpiffTR has quit [Quit: Leaving.]
lmc has quit [Remote host closed the connection]
lmc has joined #ruby
ascarter has joined #ruby
dionysus69 has joined #ruby
hahuang61 has quit [Ping timeout: 265 seconds]
antoniobeyah has joined #ruby
RobertBlack has quit [Remote host closed the connection]
Derderderd has joined #ruby
RobertBlack has joined #ruby
swills has quit [Quit: Leaving]
IsoLinCHiP has joined #ruby
GodFather has quit [Ping timeout: 264 seconds]
gusrub has joined #ruby
xall has joined #ruby
StoneCypher has quit [Read error: Connection reset by peer]
tau has joined #ruby
Derderderd has quit [Ping timeout: 265 seconds]
<IsoLinCHiP> Hi. I am having trouble accessing a berkeley db in ruby. db-utils and python are both able to extract data from it, but DBM does not load any keys. The gem 'bdb' wont build under my current ruby version and 'bdb1' complains it cant find libdb, even though I have installed every libdb(*-dev) package my distro has to offer. Any suggestions?
StoneCypher has joined #ruby
JoshS has joined #ruby
RobertBlack has quit [Ping timeout: 256 seconds]
aupadhye_ has quit [Quit: Leaving]
hfp_work has quit [Ping timeout: 252 seconds]
nadir has joined #ruby
nowhere_man has quit [Ping timeout: 248 seconds]
shinnya has quit [Ping timeout: 260 seconds]
hfp_work has joined #ruby
jshjsh has joined #ruby
n008f4g_ has quit [Ping timeout: 268 seconds]
JoshS has quit [Disconnected by services]
jshjsh is now known as JoshS
<havenwood> IsoLinCHiP: DBM, SDBM, GDBM, etc ship with Ruby in the stdlib.
troulouliou_div2 has joined #ruby
<havenwood> I think Matz is the maintainer of most of those as well.
<havenwood> Ah, just SDBM and GDBM.
<IsoLinCHiP> havenwood: Oh, derp. Ok, will try that, thanks
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
nowhere_man has joined #ruby
shadeslayer has quit [Remote host closed the connection]
hotpanca_ has quit [Ping timeout: 240 seconds]
beilabs_ has joined #ruby
dar123 has joined #ruby
JoshS has quit [Quit: Leaving]
conta has joined #ruby
hotpanca_ has joined #ruby
beilabs_ has quit [Remote host closed the connection]
dar123 has quit [Client Quit]
beilabs has quit [Ping timeout: 248 seconds]
StoneCypher has quit [Quit: Lost terminal]
hotpancakes has quit [Read error: Connection reset by peer]
conta has quit [Quit: conta]
shadeslayer has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
<IsoLinCHiP> Ok, so the included versions of (G/S)DBM still cant read the db file. SDBM just creates two empty files and GDBM complains about a bad magic number.
synthroi_ has joined #ruby
<IsoLinCHiP> DBM also just creates the empty files
dar123 has joined #ruby
swills has joined #ruby
<IsoLinCHiP> And if I specify DBM::READER in DBM.open it just claims the file does not exist, no matter if I append the '.db' or not
synthroid has quit [Ping timeout: 258 seconds]
hahuang61 has joined #ruby
cschneid_ has joined #ruby
rwb has joined #ruby
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
synthroid has joined #ruby
GodFather has joined #ruby
bronson has joined #ruby
futilegames has joined #ruby
gbgdev has joined #ruby
synthroi_ has quit [Ping timeout: 246 seconds]
gbgdev_ has quit [Ping timeout: 264 seconds]
hotpancakes has quit []
ishe_ua has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 248 seconds]
GodFather has quit [Ping timeout: 240 seconds]
bocaneri has quit [Read error: Connection reset by peer]
<djellemah> IsoLinCHiP: I've had success with https://github.com/ruby-bdb/bdb and a small tweak which doesn't load the tuple gem, and sets Tuple = Marshal
ogn has quit [Ping timeout: 248 seconds]
GodFather has joined #ruby
minimalism has joined #ruby
<djellemah> probably impacts performance somewhat, but I don't care about that in my use case.
kuSuSE has quit [Read error: Connection reset by peer]
rippa has joined #ruby
Derderderd has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
djbkd has joined #ruby
libastral has quit [Quit: ZNC - http://znc.in]
symm- has quit [Ping timeout: 264 seconds]
synthroi_ has joined #ruby
<epitron> hmmm... i wonder what the rationale is for making (1..20) != (1...21)
SpiffTR has joined #ruby
<epitron> boundary conditions >_<
Derderderd has quit [Ping timeout: 258 seconds]
symm- has joined #ruby
whathappens has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
gusrub has quit []
synthroid has quit [Ping timeout: 248 seconds]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
marxarelli has joined #ruby
gusrub has joined #ruby
griffindy has joined #ruby
<Yxhuvud> >> [(1..20).cover?(20.5), (1...21).cover?(20.5)}
<Yxhuvud> hmm, no bot?
nankyokusei has joined #ruby
ogn has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
whathappens has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 265 seconds]
<marchelzo> >> 4
<ruby[bot]> marchelzo: # => 4 (https://eval.in/701585)
nankyokusei has quit [Ping timeout: 250 seconds]
<marchelzo> >> [(1..20).cover?(20.5), (1...21).cover?(20.5)]
<ruby[bot]> marchelzo: # => [false, true] (https://eval.in/701586)
<marchelzo> Yxhuvud: you had } instead of ]
symm- has joined #ruby
SpiffTR has quit [Quit: Leaving.]
synthroid has joined #ruby
<Yxhuvud> doh
whathappens has joined #ruby
synthroi_ has quit [Ping timeout: 260 seconds]
lacour has joined #ruby
Beams has quit [Quit: .]
enterprisey has joined #ruby
jcao219 has joined #ruby
<IsoLinCHiP> djellemah: Sounds promising, I am trying that now. Ok, So I was actually able to build a gem from it and bundle it, but now I am at a total loss how to use it.
millerti has quit [Ping timeout: 258 seconds]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
koldbrutality has quit [Remote host closed the connection]
howdoi has quit [Quit: Connection closed for inactivity]
rwb has quit [Ping timeout: 252 seconds]
frozengeek has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
ogn has quit [Ping timeout: 250 seconds]
nankyokusei has joined #ruby
reverberations has joined #ruby
whathappens has quit [Quit: Leaving...]
<djellemah> IsoLinCHiP: You can install from a .gem file, so gem install pkg/bdb-0.2.6.5.gem should do it.
Devalo has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
Devalo has quit [Ping timeout: 246 seconds]
ogn has joined #ruby
nankyokusei has quit [Remote host closed the connection]
ur5us has joined #ruby
Fernando-Basso has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 252 seconds]
Derderderd has joined #ruby
lenwood has joined #ruby
ramfjord has joined #ruby
Fernando-Basso has joined #ruby
<IsoLinCHiP> djellemah: Actually I am using bundler, but that was not my intended question. :) I was trying to ask, how the heck I use 'bdb' to open the db now. :D Anyway, meawhile I found 'sbdb' which abstracts it, wrote a gemspec for it and seem to finally have access to my DB with SBDB::Hash.open(). So thanks for getting me on the right track! :)
<djellemah> Glad I could help. Even if I was mostly just the rubber duck ;-)
rakm has joined #ruby
tubuliferous has joined #ruby
ogn has left #ruby [#ruby]
Rutix has quit []
jgt has quit [Ping timeout: 258 seconds]
dtzu has quit [Ping timeout: 256 seconds]
cdg_ has quit [Ping timeout: 256 seconds]
pilne has joined #ruby
hahuang61 has quit [Quit: WeeChat 1.5]
jenrzzz has joined #ruby
brendan- has joined #ruby
futilegames has quit [Quit: futilegames]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
troys is now known as troys_
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has quit [Ping timeout: 246 seconds]
Madplatypus has joined #ruby
hahuang61 has joined #ruby
duderonomy has joined #ruby
jaegerca has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 256 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lenwood has quit [Ping timeout: 248 seconds]
Sou|cutter has joined #ruby
bgray is now known as bgray_
bgray_ is now known as bgray
sparch has quit [Ping timeout: 252 seconds]
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
JoshS has joined #ruby
muelleme has joined #ruby
harai_ has joined #ruby
nofxx has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
johnmilton has quit [Remote host closed the connection]
antoniobeyah has quit [Quit: antoniobeyah]
jshjsh has joined #ruby
ur5us has joined #ruby
dar123 has joined #ruby
bronson has joined #ruby
JoshS has quit [Ping timeout: 268 seconds]
djellemah_ has joined #ruby
antoniobeyah has joined #ruby
djellemah has quit [Disconnected by services]
djellemah_ is now known as djellemah
bronson has quit [Ping timeout: 240 seconds]
Derderderd has quit [Ping timeout: 260 seconds]
Definity has joined #ruby
johnmilton has joined #ruby
sagax has joined #ruby
Devalo has joined #ruby
ldnunes has quit [Quit: Leaving]
sparch has joined #ruby
ruskie has joined #ruby
rodfersou has quit [Quit: leaving]
jge_ has joined #ruby
dtzu has joined #ruby
yehowyada has joined #ruby
<jge_> hey all, could anyone help me. I'm trying to get a redmine installation going, it was working fine 2 days ago but somewhere in between I installed passenger for apache and it stopped working.. im not sure what broke but when I try to start it I get this: https://paste.sh/tw2U0GzT#lBc-NJRIEl2DoKOMjhcK2V_I
jgt has joined #ruby
<jge_> anyone that can shed some light ?
millerti has joined #ruby
Derderderd has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
preyalone has quit [Quit: Connection closed for inactivity]
webopsx has joined #ruby
<epitron> jge_: that's an error parsing yaml
<epitron> (Psych is a yaml parser)
SpiffTR has joined #ruby
<epitron> from /root/redmine-home/lib/redmine/configuration.rb:86:in `load_from_yaml'
<epitron> looks like your config is broken
millerti has quit [Client Quit]
naprimer_3 has joined #ruby
<jge_> epitron: hmm i see, yeah I dont remember changing anything there but let me check
<jge_> epitron: thank you
webopsx has quit [Client Quit]
cdg has joined #ruby
<epitron> hope that helps!
n008f4g_ has joined #ruby
johnmilton has quit [Remote host closed the connection]
naprimer_2 has quit [Ping timeout: 260 seconds]
gusrub has quit [Remote host closed the connection]
<jge_> epitron: looks like a syntax mistake inside of configuration.yml
<jge_> which gets called from configuratio.rb
tvw has quit [Remote host closed the connection]
<jge_> fixed! thank you :D
<epitron> np
troys_ is now known as troys
ruskie has left #ruby ["..."]
johnny56 has quit [Ping timeout: 246 seconds]
johnny56 has joined #ruby
pawnbox has quit [Remote host closed the connection]
brendan- has joined #ruby
dar123 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jcao219 has quit [Ping timeout: 250 seconds]
careta has joined #ruby
jaegerca has quit [Read error: Connection reset by peer]
<careta> how can I get a MAC address of something in the LAN?
<ytti> by sending ARP/ND query?
gusrub has joined #ruby
<careta> ytti, in ruby of course
A124 has quit [Ping timeout: 258 seconds]
Definity has quit [Ping timeout: 250 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mwlang has quit [Quit: mwlang]
j3r0 has quit [Ping timeout: 252 seconds]
torQue_ has joined #ruby
torQue_ has quit [Client Quit]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
agent_white has joined #ruby
bronson has joined #ruby
<eam> careta: is it something you're already talking to?
<eam> if this is linux you can just read peer macs from /proc/net/arp
<eam> if your need is more complex than fetching from the cache you'll have to describe what "something" is in a bit more detail -- as in how do you wish to identify the thing?
synthroid has quit []
<careta> eam, I have the IP address and would like to do it in a OS-agnostic way
bronson has quit [Ping timeout: 264 seconds]
<careta> it's on my LAN, so I should be able to see the MAC
LuckyABA has joined #ruby
brendan- has joined #ruby
LuckyABA has quit [Client Quit]
nankyokusei has joined #ruby
<ytti> nothin stopping generating ARP/ND packet from ruby
Macaveli has joined #ruby
LuckyABA has joined #ruby
xen0fon has quit [Quit: xen0fon]
<eam> careta: you have to send it traffic to see the MAC
<eam> ARP is done through raw sockets, which means you need root
xen0fon has joined #ruby
<eam> it's generally easier to send the IP some traffic via some non-root mechanism and then check the arp cache
<eam> arp interaction is not going to be OS agnostic, though
xall has quit [Ping timeout: 240 seconds]
<careta> hmm I see
dtzu has quit [Ping timeout: 248 seconds]
<careta> ok thanks for the help
troys is now known as troys_
tubuliferous has joined #ruby
[Butch] has joined #ruby
tercenya_ has joined #ruby
sepp2k has joined #ruby
Jackneill has quit [Remote host closed the connection]
sepp2k has quit [Client Quit]
tercenya has quit [Ping timeout: 268 seconds]
ferr1 has quit [Ping timeout: 252 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
yasm has joined #ruby
jenrzzz has joined #ruby
yasm has quit [Client Quit]
tyang has quit [Ping timeout: 268 seconds]
nankyokusei has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
nhOmega has joined #ruby
tildes has joined #ruby
djbkd has quit [Quit: My people need me...]
ferr1 has joined #ruby
brendan- has joined #ruby
byte512 has quit [Ping timeout: 245 seconds]
workmad3 has joined #ruby
<nofxx> careta, I did a gem for this, 'hooray'
<nofxx> great to find the pis and bbbs on the network
sagax has quit [Ping timeout: 264 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
SpiffTR has quit [Quit: Leaving.]
spiette has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<epitron> whoa, that 'macaddr' gem has 6.1 million installs
<epitron> i wonder what's using that
<miah> metasploit? =)
djbkd has joined #ruby
<miah> or like.. puppet/chef ?
ramfjord_ has joined #ruby
<epitron> i thought it was metasploit at first, but i didn't see a gem for it
ramfjord has quit [Ping timeout: 250 seconds]
<epitron> not chef...
nankyokusei has joined #ruby
jcao219 has joined #ruby
yehowyada has quit [Quit: Textual IRC Client: www.textualapp.com]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 246 seconds]
nhOmega has quit [Remote host closed the connection]
nikivi has joined #ruby
nankyokusei has quit [Remote host closed the connection]
<epitron> that's strange.. rubygems.org has an API call that instantly gives you all the reverse deps, but there's nothing in the web interface
jenrzzz has quit [Ping timeout: 246 seconds]
Lord_of_Life has quit [Excess Flood]
nikivi has quit [Excess Flood]
nikivi has joined #ruby
Lord_of_Life has joined #ruby
nikivi has quit [Read error: Connection reset by peer]
<epitron> oh snap.. the 'uuid' gem depends on 'macaddr'
xall has joined #ruby
<Papierkorb> What's the uuid gem needed for?
<epitron> savon is the biggest uuid user
<epitron> 6.2 million installs
<Papierkorb> ...what's that?
<epitron> something rails uses i think
<epitron> :)
<marchelzo> hi
<marchelzo> whats your favorite thing about ruby
<bougyman> the lack of surprises.
<epitron> alias_method :alias_method, :alias_method
<elomatreb> epitron: Yo dawg
<epitron> marchelzo: i think i like the fact that i can extend all the classes
ersk1ne has joined #ruby
<bougyman> it's not necessarily part of ruby, but my second favorite thing about ruby is pry.
<elomatreb> Honestly, the syntax and standard library
<marchelzo> whats so good about pry?
<bougyman> marchelzo: It's a great repl.
<epitron> Papierkorb: savon has a long-tail of things that depend on it... winrm, google-ads-common, google-adwords-api, Active, rubydora, etc.
<bougyman> irb is quite mediocre in comparison.
dnicole has quit [Remote host closed the connection]
<marchelzo> bougyman: yeah but why? i have used it but it doesn't seem like anything special
troys_ is now known as troys
tildes has quit [Ping timeout: 260 seconds]
<bougyman> marchelzo: then you haven't explored all it can do.
<marchelzo> you are right
<bougyman> and I came from lisp, where repl is king.
<bougyman> so irb felt very lacking.
<epitron> Papierkorb: the top 10 gems only make up half of savon's downloads... you need to take the top 60 to get up to ~5.5 million
<marchelzo> elomatreb: i like the syntax too
<marchelzo> its cute
Devalo has quit [Remote host closed the connection]
<epitron> bougyman: oh yeah, pry is pretty great :D
sagax has joined #ruby
<epitron> marchelzo: pry-rescue is very handy
Devalo has joined #ruby
xall has quit [Ping timeout: 268 seconds]
<epitron> if you have an exception in your script, run it with "rescue yourscript.rb", and when it blows up, pry will open in the context of the error
<epitron> like a debugger, but with a nicer interface
<ytti> eam, if you use pcap or something else to abstract network side, you could create platform agnostic arp/nd code in ruby
<marchelzo> cool
<epitron> also install pry-stack_explorer so you can navigate the stack of your blown-up program
ramortegui has quit [Quit: Ex-Chat]
<epitron> pry-doc is important too ... it adds all the stdlib docs
pawelbx has quit [Ping timeout: 240 seconds]
<epitron> so you can get help by typing something like "? [].each_cons"
<epitron> or "cd []; ? each_cons"
<marchelzo> hmm what the heck
<marchelzo> my pry isn't working now it was working a few hours ago
antoniobeyah has quit [Quit: antoniobeyah]
<marchelzo> apparently i didn't build ruby with readline (but i did)
<marchelzo> brew info ruby show --without-readline ???
<marchelzo> shows*
Devalo has quit [Ping timeout: 246 seconds]
milardovich has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
<epitron> alas!
johnzorn has quit [Ping timeout: 246 seconds]
<marchelzo> wow that ? [].each_cons thing is very cool
muelleme has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
polishdub has quit [Quit: Leaving]
antoniobeyah has joined #ruby
johnzorn has joined #ruby
xrlk has quit [Ping timeout: 248 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<marchelzo> is there a way to get documentation for things like TCPSocket?
antoniobeyah has quit [Ping timeout: 265 seconds]
jz has joined #ruby
ddffg has quit [Ping timeout: 240 seconds]
jz is now known as Guest2791
kingfeast has joined #ruby
kingfeast has quit [Client Quit]
johnzorn- has joined #ruby
johnzorn has quit [Ping timeout: 265 seconds]
kingfeast has joined #ruby
antoniobeyah has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Guest2791 has quit [Ping timeout: 264 seconds]
gbgdev has quit [Remote host closed the connection]
careta has quit [Ping timeout: 258 seconds]
enterprisey has quit [Ping timeout: 258 seconds]
pelegreno___ has quit [Remote host closed the connection]
rwb has joined #ruby
pelegreno has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
n008f4g_ has quit [Ping timeout: 248 seconds]
ddffg has joined #ruby
jcao219 has quit [Ping timeout: 250 seconds]
antoniobeyah has quit [Quit: antoniobeyah]
milardovich has joined #ruby
codfection has quit [Quit: Leaving]
NightMonkey has quit [Quit: ZNC - http://znc.in]
kies has quit [Ping timeout: 265 seconds]
milardovich has quit [Ping timeout: 250 seconds]
bradleyprice has quit [Remote host closed the connection]
lmc has quit [Quit: Leaving...]
bradleyprice has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
jhack has quit [Quit: jhack]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Remote host closed the connection]
JackMc has quit []
hahuang65 has quit [Remote host closed the connection]
hahuang61 has joined #ruby
JackMc has joined #ruby
bronson has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
loincloth has quit []
Fernando-Basso has quit [Quit: WeeChat 1.6]
dtzu has joined #ruby
<epitron> ? TCPSocket
gbgdev has joined #ruby
<marchelzo> epitron: doesn't do anything for me
<epitron> did you require it?
bronson has quit [Ping timeout: 265 seconds]
<marchelzo> require 'socket'
<marchelzo> ? TCPSocket
<marchelzo> Error: No docs found for: TCPSocket
<epitron> oh you're right... i guess it's not included in the pry-doc package?
<epitron> you can also use ri
<epitron> ri TCPSocket
<pilne> march, one of the moments i fell in love with ruby all over again was discovering something like 0.5894321798.rationalize
<pilne> whups... dumb-thumbed the tab again...
<pilne> more like totally forgot it
<epitron> >> 0.5894321798.rationalize
<ruby[bot]> epitron: # => (98268271/166716841) (https://eval.in/701721)
<epitron> hah
<pilne> so fucking beautiful
<pilne> i haven't explored it's accuracy
<epitron> >> Math::PI.rationalize
<ruby[bot]> epitron: # => (245850922/78256779) (https://eval.in/701722)
<pilne> but the fact that it even exists tickles me
<marchelzo> pi is rational
<marchelzo> Q.E.D.
<epitron> aww, BigDecimal doesn't have .rationalize
<pilne> lol, no, but it can be approximated in a standardized way to x decimals.
<marchelzo> ri TCPSocket also doesn't do anything
<epitron> i can't get a crazier pi fraction
<epitron> marchelzo: i guess your ruby install doesn't have ri docs
<epitron> if you use ruby-install/rvm/whatever, you'll get ruby docs
<marchelzo> it does stuff for other classes
<pilne> i haven't tried, but it could probably be implemented, easily knowing ruby's malleability
<epitron> i can see ri for TCPSocket on my machine
<marchelzo> :/
<epitron> marchelzo: here's a workaround: "cd TCPSocket; ls"
<marchelzo> that works
<epitron> marchelzo: oh, you can run ? on the individual methods
<epitron> the class itself just doesn't have docs
<marchelzo> the constructor is what i wanted docs for
<epitron> ? TCPSocket#initialize
<pilne> tdd/bdd seems very prominent in the ruby world, i'm trying to get a feel for it, i come from a land of pretty strict compilers formally.
<marchelzo> epitron: ohh
<marchelzo> i was trying ? TCPSocket.new
<epitron> pilne: reading some other people's testing code is a good place to start
<epitron> marchelzo: ? ClassName usually works
<marchelzo> thanks
<epitron> it looks like it's not working on builtin classes
<epitron> bug!
<pilne> i'm also voraciously consuming a few different titles at a rate i can understand, all ruby based and things i'm interested in pursuing with it :)
dnicole has joined #ruby
<epitron> that sounds exciting!
kingfeast has left #ruby [#ruby]
<pilne> it keeps me sane while work attempts to kill my very soul :)
<pilne> that and warcraft
<epitron> hah
bradleyprice has joined #ruby
troys is now known as troys_
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
dnicole has quit [Ping timeout: 258 seconds]
flying has quit []
bovis has quit [Quit: leaving]
<pilne> oooh, i'll make a lisp in ruby (following a tutorial of course)!
<epitron> i think i saw someone who made a lisp out of ruby arrays
<epitron> [:if, [:>, [:+, 5, 6], 3], [...] ]
<epitron> there's more commas, but it saves on a parser :)
<epitron> square brackets are easier to type too
<pilne> i've found several awesome examples :)
<epitron> bam
Madplatypus has joined #ruby
ramfjord_ has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
cdg has quit [Remote host closed the connection]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
marxarelli has joined #ruby
jaegerca has joined #ruby
<jaegerca> If any of you were writing a utility method that did something to a file, would you write it in a module or a class?
<jaegerca> ModifyFile.doit vs ModifyFile.new
workmad3 has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
hightower3 has joined #ruby
<marchelzo> pilne: you are new to ruby?
biberu has quit [Read error: Connection reset by peer]
koooge has joined #ruby
BTRE has quit [Quit: Leaving]
<marchelzo> does anyone know of a good tutorial on writing C extensions in ruby
hightower2 has quit [Ping timeout: 240 seconds]
<pilne> sorta, i've poked a bit at it before, but i never put it all together until after exploring both lisps and smalltalk
<marchelzo> pilne: what's the strict compiler you're coming from
<pilne> formal education was c++99, and java 1.2. dabbled in a whole buncha things, i'm oddly fascinated by haskell since re-picking up programming as a hobby a couple years ago
<marchelzo> you mean c++98?
nankyokusei has joined #ruby
<pilne> yes i guess
<marchelzo> so you're not employed as a programmer?
cajone has joined #ruby
<havenwood> jaegerca: A module is the simpler thing. Use a class if you have state to instantiate. Mixin singleton if there's only one instance of the state.
<pilne> nope, i'm a corporate peon in the cogs of the UPS machine
cajone has left #ruby [#ruby]
nankyokusei has quit [Ping timeout: 250 seconds]
<jaegerca> havenwood: Yeah, I decided to just extend the file_utils module. Thanks!
troys_ is now known as troys
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
agent_white has quit [Quit: bbl]