einarj has quit [Remote host closed the connection]
<craysiii>
o.o
<Mon_Ouie>
^ does anyone else find it odd that they picked a definition for this?
<craysiii>
0 is truthy.
lwu has quit [Quit: This computer has gone to sleep]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea>
Mon_Ouie: Better to define it than special-case the binomial theorem, it seems.
yfeldblum has quit [Ping timeout: 246 seconds]
Araq has joined #ruby
<Araq>
hey guys!
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<Radar>
lol
arooni-mobile has quit [Ping timeout: 246 seconds]
michael_mbp has quit [Excess Flood]
Musashi007 has joined #ruby
<Ox0dea>
Araq: Girl, please.
<Araq>
I don't mind
<craysiii>
?guys
<ruboto>
You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
<craysiii>
i finally got to do it
lwu has joined #ruby
<Ox0dea>
Araq: You don't mind what?
<Araq>
that you're a girl
<shevy>
lol
htmldrum has quit [Ping timeout: 252 seconds]
Yzguy has quit [Quit: Zzz...]
michael_mbp has joined #ruby
swgillespie has joined #ruby
<Ox0dea>
That seems indicative of you're having minded.
<Ox0dea>
*your
<Ox0dea>
Oraclespeak is hard.
tvon has quit [Ping timeout: 240 seconds]
<shevy>
ohhh I did not realize who Araq was for a moment
<shevy>
my xchat colours confused me for a moment
frem has quit [Quit: Connection closed for inactivity]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ap4y has quit [Ping timeout: 272 seconds]
lemur has joined #ruby
Channel6 has quit [Quit: Leaving]
tvon has joined #ruby
Kalov has joined #ruby
yfeldblum has joined #ruby
<pontiki>
You owe the Oracle 1 million wood chucks
lwu has quit [Quit: This computer has gone to sleep]
Caius has quit [Ping timeout: 256 seconds]
djbkd has quit [Remote host closed the connection]
Inside has joined #ruby
keen__________35 has joined #ruby
keen__________34 has quit [Ping timeout: 246 seconds]
j4cknewt has quit [Remote host closed the connection]
hanmac has quit [Quit: Leaving.]
senayar has quit []
Caius has joined #ruby
strcmp1 has joined #ruby
perturbation has quit [Quit: Leaving]
hanmac has joined #ruby
tejasmanohar has quit [Ping timeout: 240 seconds]
sarkyniin has joined #ruby
<strcmp1>
hey guys! what profiling tools are available for ruby/rails apps?
Araq has left #ruby [#ruby]
<al2o3-cr>
?rails strcmp1
<ruboto>
strcmp1, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
duoi has quit [Remote host closed the connection]
duoi has joined #ruby
aphprentice_ has quit [Read error: Connection reset by peer]
bodgix1 has joined #ruby
robbyoconnor has quit [Quit: Konversation terminated!]
Silox| has quit [Quit: Connection closed for inactivity]
notfowl has joined #ruby
dh64 has joined #ruby
sarkyniin has quit [Remote host closed the connection]
schaerli has joined #ruby
fedexo has quit [Ping timeout: 244 seconds]
mamercad has joined #ruby
robbyoconnor has joined #ruby
CloCkWeRX has joined #ruby
schaerli has quit [Ping timeout: 246 seconds]
towski_ has quit [Remote host closed the connection]
<krainboltgreene>
banister: It's disappointing to read that from you.
woodruffw has joined #ruby
mamercad_ has joined #ruby
mamercad has quit [Ping timeout: 240 seconds]
centrx has joined #ruby
<al2o3-cr>
krainboltgreene: people have their opinions!
Violentr has quit [Ping timeout: 265 seconds]
<krainboltgreene>
So?
<al2o3-cr>
stop complaining then
<sevenseacat>
?
<notfowl>
Hey guys
<krainboltgreene>
Easy block.
tejasmanohar has joined #ruby
<al2o3-cr>
feel free
<notfowl>
Whats going on in here? Brogrammer stuff?
j4cknewt has joined #ruby
<craysiii>
things that belong in #ruby-offtopic
Igorshp has joined #ruby
<sevenseacat>
apparently
eggoez has quit [Ping timeout: 256 seconds]
htmldrum has joined #ruby
towski_ has joined #ruby
htmldrum has quit [Read error: Connection reset by peer]
skade has joined #ruby
imperator has joined #ruby
<pontiki>
stop complaining about people complaining about people complaining about people complaining about people having opinions that don't like complaining about people complaining ...
eggoez has joined #ruby
minmax has joined #ruby
<sevenseacat>
:P
<craysiii>
:P
<al2o3-cr>
pontiki: yeah, whatever you said :P
leat has joined #ruby
<Nilium>
What're we complaining about?
<Nilium>
I'm in.
Igorshp has quit [Ping timeout: 260 seconds]
<pontiki>
complaining!
<Ox0dea>
[:complaining].cycle.reduce(:complain)
casadei_ has joined #ruby
htmldrum has joined #ruby
<pontiki>
meanwhile, we're all so tired about the people complaining no one is listening
htmldrum has quit [Read error: Connection reset by peer]
mamercad_ has quit [Ping timeout: 244 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
casadei_ has quit [Ping timeout: 244 seconds]
<Fire-Dragon-DoL>
ok let's change topic
yh has joined #ruby
<Fire-Dragon-DoL>
I like reading programming stuff on the beach. So during my holidays after 2 years, I'm trying to choose what should I read
<yh>
I've got a Ruby application running - process is still going - but it seems to have stopped outputting to my logfile
<yh>
How might I diagnose what's going on there, without terminating the process?
<Fire-Dragon-DoL>
yh: mhhhh... it really depends on the application
htmldrum has joined #ruby
<yh>
Fire-Dragon-DoL: what are the dependent variables
<Fire-Dragon-DoL>
yh: Dunno, there are various apps that responds to signals like "USR1" and prints some debugg stuff somewhere. Or you can try to repty (reattach stdin/out/err) using reptyr. I imagine there are less rough ways but I'm not aware of them right now
<havenwood>
average: that'd be good rainbow for the #ruby-offtopic channel
<average>
havenwood: it's about ruby actually
<pontiki>
Fire-Dragon-DoL: do you have a list of options? and what have you already read that you don't want to re-read?
rakm has joined #ruby
<al2o3-cr>
average: in what context?
<pontiki>
average: it sucks
rakm has quit [Client Quit]
<havenwood>
yh: Tried a `binding.pry` yet to see what seems to be going on?
<al2o3-cr>
ah, yeah i see a little ruby symbol in the bottom right hand corner
<yh>
havenwood: unfortunately, restarting the process fixes it. It doesn't break until a week of running..
<yh>
At least, not this time.
<havenwood>
yh: eek
<strcmp1>
k see u next week?
<average>
al2o3-cr: can you expand ?
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<average>
havenwood: can you expand on how you feel it's offtopic ?
<Mon_Ouie>
Have you tried attaching to the process with strace to see if it's still issuing the system calls that would write to the logfile?
<Fire-Dragon-DoL>
pontiki: eheh, that's a bit hard to write, I suppose it's easier to write a list of options. Anything related to architecture and good programming practices (I loved POODR), one book about Go, Haskell, or a programming language worth to study (not necessarily to use, but helpful for myself in general). I need also something about Salesforce, although I don't like it so much, it would be extremely helpful for my company right now
<yh>
Mon_Ouie: I haven't, that's the best idea I've heard so far
<pontiki>
Fire-Dragon-DoL: have you read Beautiful Code?
<havenwood>
average: Not about Ruby. Since there's actual Ruby talk going on take rainbows to #ruby-offtopic please.
<craysiii>
^
swgillespie has joined #ruby
<strcmp1>
havenwood, awesome :)
leat has quit [Ping timeout: 255 seconds]
<Fire-Dragon-DoL>
we are definitely developers in this channel
<Fire-Dragon-DoL>
namespaces for irc channels too :P
<average>
havenwood: yes but why do you feel it's not about Ruby ?
<havenwood>
!mute average
<pontiki>
Fire-Dragon-DoL: I'm also going to throw out Christopher Alexander: "A Pattern Language: Towns, Buildings, Constructions" it's a book on physical architecture
<havenwood>
average: I'll tell you in #ruby-offtopic. :)
<pontiki>
it's something i found really valuable in thinking about software and systems architecture
phutchins has joined #ruby
<Fire-Dragon-DoL>
pontiki: mh ok, I wasn't sure if you were joking or not, lol
nikhgupta has joined #ruby
nikhgupta has quit [Remote host closed the connection]
<pontiki>
i know -- but it's actually a rather useful approach
<pontiki>
well, i found it so
saddad has joined #ruby
<pontiki>
to be honest i 've on ly met one other person who mentioned it before i did
freerobby has quit [Quit: Leaving.]
s00pcan has joined #ruby
freerobby has joined #ruby
devbug has quit [Read error: Connection reset by peer]
devbug has joined #ruby
Yzguy has joined #ruby
khebbie has joined #ruby
hanmac has quit [Quit: Leaving.]
hanmac has joined #ruby
RegulationD has joined #ruby
prereflect has joined #ruby
khebbie has quit [Ping timeout: 260 seconds]
allcentury has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
<havenwood>
!unmute average
prereflect has quit [Client Quit]
eggoez has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 244 seconds]
nateberkope has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
devbug_ has joined #ruby
eggoez has joined #ruby
nateberkope has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
arooni-mobile has joined #ruby
ap4y has joined #ruby
HoppingMadMan has quit [Quit: Leaving]
devbug has quit [Ping timeout: 256 seconds]
lemur has quit [Remote host closed the connection]
haraoka has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Musashi007 has quit [Quit: Musashi007]
zacstewart has joined #ruby
ishahnaz has quit []
tkuchiki has joined #ruby
allcentury has joined #ruby
towski_ has quit [Remote host closed the connection]
jenrzzz has joined #ruby
fedexo has joined #ruby
juanpablo_______ has joined #ruby
arooni-mobile has quit [Quit: Leaving]
tuelz has quit [Ping timeout: 240 seconds]
j4cknewt has quit [Remote host closed the connection]
<Fire-Dragon-DoL>
I'm facing the test hell: one fixed, 10 more fails
juanpablo_______ has quit [Ping timeout: 260 seconds]
GriffinHeart has joined #ruby
mdavid613 has joined #ruby
tuelz has joined #ruby
tubuliferous has joined #ruby
leat has joined #ruby
Mia has quit [Read error: Connection reset by peer]
dc has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
<Fire-Dragon-DoL>
5 tests more, I'll survive this
kies^ has joined #ruby
<Ox0dea>
Insh'allah.
ruby-lang254 has joined #ruby
<al2o3-cr>
?
<Ox0dea>
You're supposed to say "God willing" when you make claims about the future.
<al2o3-cr>
oh lol
bruno-_ has quit [Ping timeout: 260 seconds]
Yzguy has quit [Quit: Zzz...]
dc has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DenSchub has quit [Ping timeout: 245 seconds]
ruby-lang254 has quit [Ping timeout: 246 seconds]
<Fire-Dragon-DoL>
lol
<average>
hey
GriffinHeart has quit [Remote host closed the connection]
djbkd has joined #ruby
DenSchub has joined #ruby
<pontiki>
it's "god willin' and the creek don't rise"
<pontiki>
get it right
GriffinHeart has joined #ruby
stardiviner has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 252 seconds]
Yzguy has joined #ruby
texasmade has quit [Ping timeout: 260 seconds]
Rickmasta has quit [Ping timeout: 250 seconds]
j3r0 has quit [Ping timeout: 246 seconds]
jonee has joined #ruby
yqt has quit [Ping timeout: 250 seconds]
AlexAltea has quit [Ping timeout: 255 seconds]
Xaitec has joined #ruby
NeverDie has joined #ruby
phutchins has joined #ruby
jud has quit [Quit: Leaving]
mamercad has joined #ruby
GriffinHeart has joined #ruby
tkuchiki has quit [Remote host closed the connection]
saddad has quit [Quit: WeeChat 1.3-dev]
tkuchiki has joined #ruby
krz has joined #ruby
phutchins has quit [Ping timeout: 246 seconds]
mamercad has quit [Ping timeout: 240 seconds]
swgillespie has joined #ruby
mamercad has joined #ruby
arescorpio has joined #ruby
iateadonut has joined #ruby
iateadonut has left #ruby [#ruby]
dfockler has joined #ruby
krz has quit [Ping timeout: 252 seconds]
<Fire-Dragon-DoL>
good night everyone, I'm exhausted
dfockler has quit [Ping timeout: 246 seconds]
tuelz has quit [Ping timeout: 246 seconds]
allcentury has quit [Ping timeout: 255 seconds]
_blizzy_ has quit [Ping timeout: 255 seconds]
nateberkopec has quit [Ping timeout: 250 seconds]
centrx has quit [Quit: 'Get out, you and all the people who follow you!' Then he went out from Pharaoh in hot anger.]
mleung has quit [Quit: mleung]
Fire-Dragon-DoL has quit []
symm- has quit [Ping timeout: 250 seconds]
aytch has left #ruby [#ruby]
saddad has joined #ruby
lemur has joined #ruby
mamercad has quit [Ping timeout: 246 seconds]
M-_mis has quit [Read error: Connection reset by peer]
MatrixBridge has quit [Read error: Connection reset by peer]
j_mcnall_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MatrixBridge has joined #ruby
j_mcnally has joined #ruby
j4cknewt has joined #ruby
Rickmasta has joined #ruby
lemur has quit [Ping timeout: 244 seconds]
dgutierrez1287 has joined #ruby
eggoez has quit [Ping timeout: 244 seconds]
saddad has quit [Ping timeout: 256 seconds]
tmtwd has quit [Ping timeout: 256 seconds]
j_mcnall_ has joined #ruby
dgutierrez1287 has quit [Ping timeout: 260 seconds]
eggoez has joined #ruby
casadei_ has joined #ruby
celly has joined #ruby
j_mcnally has quit [Ping timeout: 272 seconds]
casadei_ has quit [Ping timeout: 260 seconds]
bb010g has joined #ruby
bruno- has joined #ruby
kies^ has quit [Ping timeout: 252 seconds]
Yzguy has quit [Quit: Zzz...]
bruno- has quit [Ping timeout: 272 seconds]
djstorm has quit [Remote host closed the connection]
Volsus has quit [Quit: Leaving]
hahuang65 has joined #ruby
scripore has quit [Read error: Connection reset by peer]
i8igmac has quit [Ping timeout: 244 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
braincrash has quit [Quit: bye bye]
bodgix1 has quit [Ping timeout: 256 seconds]
bodgix has quit [Ping timeout: 256 seconds]
GriffinHeart has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Mia has joined #ruby
Mia has joined #ruby
Phrogz2 has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
countryHick has quit [Quit: Connection closed for inactivity]
<Ox0dea>
It's essentially the same interface.
ReK2 has quit [Ping timeout: 246 seconds]
hmnhf has joined #ruby
<bnagy>
yeah you're probably supposed to use lazy now and not Generator directly
<Ox0dea>
I think so, yep.
cornerma1 has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
schaerli has quit [Ping timeout: 264 seconds]
_blizzy_ has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
cornerman has quit [Ping timeout: 240 seconds]
cornerma1 is now known as cornerman
<bnagy>
... hrmmmm maybe not. Seems more like Enumerator.new &blk gives you the closest to the old Generator, a standard "external iterator"
s00pcan has quit [Ping timeout: 260 seconds]
<bnagy>
lazy seems a better fit to mush collections into a lazy pattern for map / each etc
casadei_ has joined #ruby
gwendall has quit [Remote host closed the connection]
hahuang65 has quit [Ping timeout: 272 seconds]
fedexo has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
ReKWiLdS has joined #ruby
devdazed_ has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
busterarm has quit [Read error: Connection reset by peer]
busterarm has joined #ruby
krz has quit [Ping timeout: 265 seconds]
devdazed has joined #ruby
casadei_ has quit [Ping timeout: 240 seconds]
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ReK2GnULinuX has quit [Ping timeout: 246 seconds]
emdub has quit [Ping timeout: 255 seconds]
emdub has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
lampd1 has quit [Remote host closed the connection]
cb_ has joined #ruby
lannonbr has quit [Quit: WeeChat 1.2]
krz has joined #ruby
ofdtrinity has joined #ruby
Phrogz2 has quit [Remote host closed the connection]
zacstewart has joined #ruby
arescorpio has quit [Quit: Leaving.]
lampd1 has joined #ruby
bluOxigen has joined #ruby
mleung has joined #ruby
CoderClown has quit [Quit: Leaving]
RobertBirnie has joined #ruby
Vile` has quit [Ping timeout: 252 seconds]
j_mcnally has joined #ruby
devbug_ has joined #ruby
Vile` has joined #ruby
mleung has quit [Client Quit]
zacstewart has quit [Ping timeout: 244 seconds]
devbug has quit [Ping timeout: 246 seconds]
mleung has joined #ruby
schaerli has joined #ruby
GriffinHeart has joined #ruby
zacstewart has joined #ruby
mleung has quit [Ping timeout: 252 seconds]
mdavid613 has quit [Quit: Leaving.]
frem has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
j4cknewt has joined #ruby
mamercad has joined #ruby
thatsnotjack has quit [Remote host closed the connection]
thatsnotjack has joined #ruby
theery has quit [Remote host closed the connection]
riotjones has joined #ruby
celly has quit [Remote host closed the connection]
mamercad has quit [Ping timeout: 246 seconds]
dgutierrez1287 has joined #ruby
cb_ has quit []
gard has joined #ruby
allcentury has quit [Ping timeout: 256 seconds]
pawnbox has joined #ruby
qiukun has joined #ruby
zacstewart has quit [Remote host closed the connection]
chouhoulis has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
dgutierrez1287 has quit [Ping timeout: 240 seconds]
theery has joined #ruby
AmBienCeD has quit [Read error: Connection reset by peer]
GriffinHeart has quit [Remote host closed the connection]
astrobu__ has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
kies^ has quit [Ping timeout: 250 seconds]
thatsnotjack has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 264 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thatsnotjack has joined #ruby
SOLDIERz has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
astrobun_ has joined #ruby
phutchins has joined #ruby
j_mcnally has joined #ruby
Rinzlit has joined #ruby
juanpablo_______ has joined #ruby
schaerli has quit [Remote host closed the connection]
krz has quit [Ping timeout: 255 seconds]
khebbie has joined #ruby
blue_deref has quit [Quit: bbn]
drewo has joined #ruby
arup_r has quit [Quit: Leaving]
mdavid613 has joined #ruby
GriffinHeart has joined #ruby
phutchins has quit [Ping timeout: 256 seconds]
DoubleMalt has joined #ruby
juanpablo_______ has quit [Ping timeout: 265 seconds]
tubuliferous has joined #ruby
aganov has joined #ruby
Inside has quit [Ping timeout: 240 seconds]
krz has joined #ruby
_blizzy_ has joined #ruby
khebbie has quit [Ping timeout: 260 seconds]
kies^ has joined #ruby
texasmade has joined #ruby
yardenbar has joined #ruby
fedexo has quit [Ping timeout: 246 seconds]
tubuliferous has quit [Ping timeout: 240 seconds]
qiukun has quit [Quit: qiukun]
lwu has joined #ruby
towski_ has joined #ruby
Anne has joined #ruby
ap4y has quit [Remote host closed the connection]
havenwood has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gard has quit [Ping timeout: 264 seconds]
zacstewart has joined #ruby
jjj123 has quit [Ping timeout: 244 seconds]
luckyruby has joined #ruby
gwendall has joined #ruby
towski_ has quit [Remote host closed the connection]
dopie has quit [Quit: This computer has gone to sleep]
matcouto has joined #ruby
htmldrum has quit [Ping timeout: 256 seconds]
graydot has joined #ruby
gwendall has quit [Ping timeout: 256 seconds]
houhoulis has quit [Remote host closed the connection]
Chau has joined #ruby
qiukun has joined #ruby
mdavid613 has quit [Quit: Leaving.]
graydot has quit [Client Quit]
graydot has joined #ruby
graydot has quit [Client Quit]
tagrudev has joined #ruby
techsethi has joined #ruby
AlexRussia has joined #ruby
Channel6 has quit [Quit: Leaving]
lemur has joined #ruby
krz has quit [Ping timeout: 244 seconds]
Jarboe has quit []
zacstewart has quit [Remote host closed the connection]
blueOxigen has joined #ruby
minmax has quit [Quit: WeeChat 0.4.3]
bluOxigen has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
drewo has quit [Ping timeout: 272 seconds]
techsethi has quit [Quit: techsethi]
allcentury has joined #ruby
psy_ has quit [Quit: Leaving]
dc has quit [Read error: Connection reset by peer]
techsethi has joined #ruby
dc has joined #ruby
riotjones has joined #ruby
jas02 has joined #ruby
pawnbox has quit [Remote host closed the connection]
psy_ has joined #ruby
pawnbox has joined #ruby
Musashi007 has quit [Quit: Musashi007]
allcentury has quit [Ping timeout: 244 seconds]
saddad has quit [Ping timeout: 265 seconds]
pawnbox_ has joined #ruby
radgeRayden has quit [Ping timeout: 265 seconds]
celly has joined #ruby
<SOLDIERz>
jhass darix thought it would be solved last week but it's not. So I want to ask you both again if you got one last idea after doing it with "soname" bundle install was returning me shared library not found because the shared library files are now named different which fits my needs but obviously not the one of bundle :-D any clue how could i handle this one? Because if there is no right solution for that which makes sense I will give up at this play.
<SOLDIERz>
Because the only thing which makes sense is to managing it down to the minor version but not further with the tiny version I'm just stucked with problems
pawnbox has quit [Ping timeout: 252 seconds]
GriffinH_ has joined #ruby
GriffinHeart has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<flughafen>
hey shevy sevenseacat certainty
<sevenseacat>
afternoon flughafen
celly has quit [Ping timeout: 246 seconds]
<flughafen>
how was your weekend sevenseacat
<sevenseacat>
freaking busy.
<flughafen>
w00ty w00ty
zacts has quit [Quit: leaving]
howdoi has joined #ruby
krz has joined #ruby
tvon has quit [Quit: leaving]
astrobu__ has joined #ruby
drewo has joined #ruby
chrissonar has joined #ruby
CustosLimen has quit [Ping timeout: 250 seconds]
zacts has joined #ruby
casadei_ has joined #ruby
Guest32 has joined #ruby
astrobun_ has quit [Ping timeout: 255 seconds]
jenrzzz has joined #ruby
olistik has joined #ruby
bronson has joined #ruby
casadei_ has quit [Ping timeout: 240 seconds]
mxrguspxrt has quit [Remote host closed the connection]
shoutsid has joined #ruby
njr has joined #ruby
bradleyprice has quit [Remote host closed the connection]
shoutsid has quit [Client Quit]
mxrguspxrt has joined #ruby
djbkd has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
juanpablo_______ has joined #ruby
krz has quit [Read error: Connection reset by peer]
<njr>
Any idea why my parent process isn't capturing the childs stderr using "IO.popen(['command', *args], :err => :err) { |f| .... }"
krz has joined #ruby
kwd has joined #ruby
CustosLimen has joined #ruby
tkuchiki has quit [Remote host closed the connection]
juanpablo_______ has quit [Ping timeout: 244 seconds]
djbkd has quit []
brianpWins_ has joined #ruby
<bnagy>
I don't use IO#popen because of cross platform problems
<bnagy>
but you might find Open3 easier
bigkevmcd has joined #ruby
olistik has quit [Remote host closed the connection]
brianpWins has quit [Ping timeout: 244 seconds]
brianpWins_ is now known as brianpWins
<njr>
bnagy: OK. Will take a look
andikr has joined #ruby
vondruch has quit [Ping timeout: 240 seconds]
_ht has joined #ruby
drewo has quit [Ping timeout: 260 seconds]
flughafen has quit [Remote host closed the connection]
Mia has quit [Read error: Connection reset by peer]
swgillespie has joined #ruby
theery has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
tkuchiki has joined #ruby
zacstewart has joined #ruby
drewo has joined #ruby
drewo has quit [Client Quit]
tmtwd has quit [Ping timeout: 250 seconds]
GriffinHeart has joined #ruby
terlar has joined #ruby
martinium has joined #ruby
zacstewart has quit [Ping timeout: 246 seconds]
njr has quit [Ping timeout: 240 seconds]
GriffinH_ has quit [Read error: Connection reset by peer]
Mia has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
Mia has joined #ruby
htmldrum has joined #ruby
njr has joined #ruby
minmax has joined #ruby
arturaz has joined #ruby
i8igmac has quit [Ping timeout: 246 seconds]
schaerli has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
solars has joined #ruby
charliesome has quit [Quit: zzz]
pawnbox has joined #ruby
stan has joined #ruby
Mia has quit [Read error: Connection reset by peer]
pawnbox_ has quit [Ping timeout: 240 seconds]
jjj123 has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
TomyWork has joined #ruby
mxrguspxrt has quit [Remote host closed the connection]
charliesome has joined #ruby
staafl has joined #ruby
<TomyWork>
hi
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
safeforge has joined #ruby
Violentr has joined #ruby
<TomyWork>
I want to abuse rails' routing facilities for a FUSE file system. is there any way to do that?
<bnagy>
?rails
<ruboto>
Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<TomyWork>
there's rfusefs, which seems to work nicely, but i cant figure out how to get rails' routing without the rest of rails
<TomyWork>
or rails-style routing
kies^ has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
tubuliferous has joined #ruby
yeticry has quit [Ping timeout: 255 seconds]
tmtwd has joined #ruby
yeticry has joined #ruby
poguez_ has joined #ruby
TvL2386 has joined #ruby
stardiviner has quit [Ping timeout: 246 seconds]
krz has quit [Ping timeout: 255 seconds]
pawnbox has quit [Remote host closed the connection]
<Ox0dea>
norc: That only works if you won't have any nil values.
<norc>
Ox0dea: That is the thing, I want to allow passing some nil values, but some I need to explicitely filter out.
<norc>
Like "a" and "c" may have nil values, "b" needs to be excluded.
<Ox0dea>
norc: Why do you think you need to do this within the Hash literal?
duper` has quit [Ping timeout: 246 seconds]
livathinos has quit [Ping timeout: 250 seconds]
<norc>
Ox0dea: Oh I absolutely dont. I was just wondering whether there is some smooth way of doing it in a Hash literal since it would reduce the refactor work here.
leafybasil has quit [Ping timeout: 272 seconds]
<canton7>
norc, there's a difference between a key with a nil value, and a missing key, in a hash. What's the issue with using nil?
<norc>
canton7: I have an API that misbehaves if I pass null values to it in some fields.
k3asd` has joined #ruby
<canton7>
ah, useful info
<canton7>
so.. you're asking whether you can conditionally add an item to a hash?
<canton7>
in the literal. gotcha. no, sorry
<norc>
canton7: Well basically I want a poor mans slice from ActiveSupport.
jamesaxl|2 has quit [Remote host closed the connection]
<canton7>
that #tap method is pretty hard to read :P
<norc>
Ox0dea: The gem I have in front of me is using nested literal hashes all over the place several levels deep. Its much faster if I can do this inline in the "subhashes"
<Ox0dea>
Sounds like masochism.
<shevy>
Someone called me?
<norc>
Ox0dea: Unfortunately its not a perfect world. I will refactor this gem when I have time for it though. :)
<Ox0dea>
norc: Hey, if #tap + #merge! is somehow better than #[]=, go for it.
<chrisseaton>
yorickpeterse: you can't just say that one code path is synchronised and and assume all other possible code paths on the variables in it are also synchrnoised
rubytor_ has joined #ruby
ahuman_ has joined #ruby
pawnbox has joined #ruby
<chrisseaton>
yorickpeterse: if you can figure out what methods are being called concurrently we can figure out where the problem might me
banister has joined #ruby
bayed has joined #ruby
Bish_ has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
AlexAltea has joined #ruby
charliesome has quit [Quit: zzz]
casadei_ has quit [Ping timeout: 272 seconds]
Rickmast_ has joined #ruby
reprazent_ has joined #ruby
infernix has quit [Ping timeout: 240 seconds]
hfp has quit [Ping timeout: 240 seconds]
reprazent has quit [Ping timeout: 240 seconds]
Bish has quit [Ping timeout: 240 seconds]
araujo has quit [Ping timeout: 240 seconds]
rubytor has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
Rickmasta has quit [Ping timeout: 240 seconds]
ahuman has quit [Ping timeout: 240 seconds]
WillAmes has quit [Ping timeout: 240 seconds]
renanoronfle has quit [Ping timeout: 240 seconds]
alem0lars has quit [Ping timeout: 240 seconds]
gagrio has quit [Ping timeout: 240 seconds]
dh64 has quit [Ping timeout: 240 seconds]
average has quit [Ping timeout: 240 seconds]
polyrob has quit [Ping timeout: 240 seconds]
krasnus has quit [Ping timeout: 240 seconds]
heyimwill has quit [Ping timeout: 240 seconds]
woodruffw has quit [Ping timeout: 240 seconds]
funnel has quit [Ping timeout: 240 seconds]
silverdust has quit [Ping timeout: 240 seconds]
silverdust has joined #ruby
htmldrum has quit [Ping timeout: 246 seconds]
<chrisseaton>
yorickpeterse: also, I'm not sure that reading @owner without any synchronisation like you do in #synchronize is safe - how do you guarantee that threads see modifications to this variable?
funnel_ has joined #ruby
gagrio has joined #ruby
hfp_ has joined #ruby
polyrob has joined #ruby
silverdust is now known as Guest84619
funnel_ is now known as funnel
mikecmpb_ is now known as mikecmpbll
hfp_ is now known as hfp
Tempesta has joined #ruby
renanoronfle has joined #ruby
Trynemjoel has joined #ruby
<yorickpeterse>
chrisseaton: #resize _is_ synchronized for it's only called within methods that already synchronize themselves
<yorickpeterse>
And the #synchronize method itself is pretty much a direct (if not direct) port of MonitorMixin's version
<chrisseaton>
yorickpeterse: imagine thread A holds the lock, sets @owner = A, then releases the lock. thread B acquires the lock, sets @owner = B. How do you guarantee that A will see the new value for @owner?
apofis has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo has joined #ruby
<chrisseaton>
if you are relying on the lock being a synchronisation point then that's not good enough - the variable is set _after_ the lock is acquired
<chrisseaton>
I think this could allow A to continue to think it has the lock, when it does not
alem0lars has joined #ruby
<krz>
{"id"=>12, "expire_at"=>1438680089} how do i turn the keys to symbols so the hash ends up looking like {id: 12, expire_at: 1438680089} should i use openstruct?
<yorickpeterse>
chrisseaton: the @owner is set within a synchronize call, as far as I can tell it can't be set concurrently because of that
<yorickpeterse>
and then block until they can take ownership
nofxx has quit [Ping timeout: 264 seconds]
Askilada has joined #ruby
<yorickpeterse>
I could be wrong though
average has joined #ruby
bruno- has joined #ruby
<chrisseaton>
hmm... not sure I agree - I think that A could have released the lock. B acquires it and sets @owner. But A doesn't see that @owner has been modified - it has the value cached as A somewhere - and so doesn't try to acquire the lock, and just runs the yield
allcentury has joined #ruby
<chrisseaton>
@owner is a shared variable and you are reading it without any synchronisation - that can lead to not seeing updates made by other threads
<yorickpeterse>
how would it have "the value cached somewhere"?
<yorickpeterse>
Reading it in an unsynchronized manner shouldn't matter as ownership is _only_ taken in a synchronized manner
<chrisseaton>
yorickpeterse: stored it in a register, on the stack etc - unless there is a synchronisation point the compiler isn't obligated to read it back from memory
radgeRayden has joined #ruby
<chrisseaton>
yorickpeterse: it doesn't matter if the writer uses synchronisation - if the reader doesn't then it may not bother to read a fresh value from memory and so may not see the update
<chrisseaton>
yorickpeterse: and the reader doesn't use synchronisation - it releases the lock, then there are no synchronisation events by the reader again
<krz>
nvm rails has symbolize_keys
<yorickpeterse>
chrisseaton: I'm not sure if this is a problem, this is pretty much exactly how MonitorMixin works
<al2o3-cr>
ah, ok
CustosLimen has quit [Ping timeout: 255 seconds]
<yorickpeterse>
unless I messed something up when basing this on MonitorMixin
jbw has joined #ruby
infernix has joined #ruby
<chrisseaton>
yorickpeterse: if that's how MonitorMixin works then I'm not not sure that is sound on the JVM - was it written with JRuby in mind?
<yorickpeterse>
No, it was written with Ruby in mind
<yorickpeterse>
The main difference is that I don't have separate mon_enter methods and such
allcentury has quit [Ping timeout: 250 seconds]
<chrisseaton>
yorickpeterse: I'm not sure it would be safe on Rubinius either - MRI has an explicit memory barrier on switching between threads, JRuby and Rubinius do not
bluOxigen has joined #ruby
<chrisseaton>
I may be wrong - but I spent a couple of years working very closely with the Java memory model and that is what immediately strikes me as a potential problem
schaerli has joined #ruby
Guest32 has quit [Read error: Connection reset by peer]
<chrisseaton>
whether Java or C++, the problem boils down to this - what in this program guarantees that the write to @owner in B will be sequenced before the read in A? As far as I can see - nothing
<yorickpeterse>
Hmm
<chrisseaton>
I'll open a JRuby issue to get some more opinions on this - I'll mention you
allcentury has joined #ruby
<yorickpeterse>
I'll see if I can refactor this thing. The reason I had this in was to prevent recursive locking _without_ having to use MonitorMixin (I hate its API and it adds some overhead I don't want)
<yorickpeterse>
No, this isn't JRuby specific so no need for it
<yorickpeterse>
it only clutters my inbox
senayar has quit [Remote host closed the connection]
<yorickpeterse>
If there's a synchronization problem it's my code that's at fault in this case
<chrisseaton>
Isn't there a re-entrant lock you can use?
<yorickpeterse>
it shouldn't be too hard to remove the recursive locking in the first place
senayar has joined #ruby
<chrisseaton>
Ah this might be why it works in MonitorMixin - they *clear* @owner before leaving the lock
<chrisseaton>
Try that
<chrisseaton>
so @owner = nil after line 141
Outlastsheep has quit [Ping timeout: 240 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
allcentury has quit [Ping timeout: 256 seconds]
Trynemjoel has joined #ruby
k3asd` has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
CustosLimen has joined #ruby
krz has quit [Read error: Connection reset by peer]
quimrsto_ has quit [Remote host closed the connection]
krz has joined #ruby
sdothum has joined #ruby
FernandoBasso has quit [Quit: May the force be with you.]
ndrei has joined #ruby
Ilyes512 has joined #ruby
allcentury has joined #ruby
pengin has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
<shevy>
the joy of threads
phutchins has joined #ruby
quimrstorres has joined #ruby
segfalt has joined #ruby
heyimwill has joined #ruby
krz has quit [Quit: WeeChat 1.2]
tubuliferous has joined #ruby
arup_r_ has quit [Read error: Connection reset by peer]
Ilyes512 has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
bodgix has joined #ruby
bodgix has quit [Client Quit]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swept has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
apofis has joined #ruby
zacstewart has joined #ruby
pengin has quit [Remote host closed the connection]
swept has left #ruby ["Leaving"]
bruno- has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
chills42 has joined #ruby
banister has joined #ruby
zz_Outlastsheep has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
kirun has joined #ruby
<yorickpeterse>
chrisseaton: I'll take a look at it during the week
zacstewart has quit [Ping timeout: 244 seconds]
allcentury has joined #ruby
p8952 has joined #ruby
<shevy>
does Thread.new freeze the ruby script that is run? I seem to freeze it when I use ruby-gnome at least...
<Rinzlit>
Hey guys, can you run ruby on a chromebook?
<Rinzlit>
Hey everyone*
<Rinzlit>
My bad, I forgot >.<
<bougyman>
yes, Rinzlit
michael_mbp has quit [Excess Flood]
pawnbox has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<yorickpeterse>
shevy: No
<yorickpeterse>
But when multiple threads are running on MRI it will switch between the threads
<yorickpeterse>
if one of them runs the UI it will result in the UI being frozen
<yorickpeterse>
so tl;dr use a Ruby that has multi-threading
radgeRayden has quit [Ping timeout: 244 seconds]
<yorickpeterse>
and not a GIL
dc_ has joined #ruby
ndrei has joined #ruby
lannonbr has joined #ruby
C1V0 has quit [Ping timeout: 260 seconds]
<yorickpeterse>
though ruby-gnome only works on MRI at this point
<yorickpeterse>
gir-ffi however works fine
<yorickpeterse>
(on both Rbx and JRuby IIRC)
lxsameer has quit [Ping timeout: 250 seconds]
dc has quit [Ping timeout: 244 seconds]
<shevy>
aha
<shevy>
I may finally have a use case to try out jruby then
olistik has quit [Remote host closed the connection]
<ELCALOR>
yorickpeterse: i do agree that that is way better. but i also need to accumulate some other information, which is not in the database
Trynemjoel has joined #ruby
<apeiros>
ah, the joy of "let me show you only part of my problem"
fgo has quit [Ping timeout: 260 seconds]
dwithers is now known as pl1ght
olistik has joined #ruby
<darix>
ELCALOR: maybe your other problems can be solved at sql level too
<yorickpeterse>
The joy of fucking Mongoid/moped/whatever deciding that #to_json now returns {"$oid": "actual id"} instead of just "actual id"
* yorickpeterse
changes 138102389012 files
AugustoCesar has left #ruby ["PONG :wilhelm.freenode.net"]
zacstewart has joined #ruby
<apeiros>
yorickpeterse: it only does so because returning a hash scales better than returning an id.
<[k->
is that a random number
casadei_ has quit [Ping timeout: 250 seconds]
<darix>
yorickpeterse: i thought you moved away from mongo
<centrx>
ELCALOR, Get the sum from the DB, then add it to total_value. Each row does not need to be added to total_value one by one
<darix>
and i think we need jslt
<darix>
json transformation described in json
lkba has quit [Ping timeout: 246 seconds]
schaerli has quit [Remote host closed the connection]
<yorickpeterse>
darix: we still have 1 app using it
<yorickpeterse>
different cluster than the one we replaced with Postgres
yfeldblum has quit [Ping timeout: 246 seconds]
[k-_ has quit [Quit: -a- Connection Timed Out]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zacstewart has quit [Ping timeout: 244 seconds]
arup_r has quit [Remote host closed the connection]
rideh has joined #ruby
lidenbrock has joined #ruby
rideh has quit [Client Quit]
gagrio has quit [Ping timeout: 246 seconds]
rideh has joined #ruby
tmtwd has joined #ruby
ta has joined #ruby
olistik has quit [Remote host closed the connection]
mamercad has joined #ruby
benlovell has joined #ruby
woodruffw has joined #ruby
arup_r has joined #ruby
rodfersou has joined #ruby
sepp2k has joined #ruby
lxsameer has quit [Ping timeout: 255 seconds]
avril14th has joined #ruby
lxsameer has joined #ruby
skade has quit [Ping timeout: 255 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
CustosLimen has quit [Ping timeout: 252 seconds]
tmtwd has quit [Ping timeout: 260 seconds]
Trynemjoel has joined #ruby
atomical has joined #ruby
Nahra has quit [Remote host closed the connection]
jas02 has quit [Quit: jas02]
jbw has quit [Ping timeout: 252 seconds]
gagrio has joined #ruby
pawnbox has quit [Remote host closed the connection]
<tsunamie>
sorry I am a noob. please help me, I was wondering how to do the follow. Say I have a json in an enviroment variable created by a shell command. All this json is is effectibly a hash map. an application name and a version. how to I loop throught the hash map to get the application name and version number into a path and filename?
<ruboto>
pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
segfalt has joined #ruby
skade has quit [Ping timeout: 252 seconds]
<apeiros>
tsunamie: gist please
<apeiros>
ruboto only repastes the first link
erm has quit [Client Quit]
<apeiros>
tsunamie: though it looks to me like you should start out by learning ruby. e.g. by reading a book.
<[k->
does ruboto needs an upgrade?
<apeiros>
it does
<[k->
\o/
<tsunamie>
apeiros, hehe yea. Reading online guide now to try and do thids
<[k->
patch all the things!
dorei has joined #ruby
khebbie has quit [Ping timeout: 246 seconds]
tubuliferous has quit [Ping timeout: 250 seconds]
minotep has quit [Ping timeout: 264 seconds]
<tsunamie>
apeiros, - are you willing to guide/help?
<apeiros>
I'm willing to answer specific questions, but I'm not willing to teach you ruby.
sanguisdex has joined #ruby
olistik has joined #ruby
<[k->
(we all have a life!)
countryHick has joined #ruby
jbw has joined #ruby
Chau has quit [Ping timeout: 244 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
hinbody has joined #ruby
Trynemjoel has joined #ruby
bhorn1|away is now known as bhorn1
SOLDIERz has quit [Ping timeout: 265 seconds]
blue_deref has joined #ruby
chills42 has quit [Remote host closed the connection]
chills42 has joined #ruby
skade has joined #ruby
joonty has quit [Quit: joonty]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
omegamike has quit [Remote host closed the connection]
jonee has joined #ruby
symm- has joined #ruby
ndrei has joined #ruby
akkmaxon has joined #ruby
astrobu__ has quit [Remote host closed the connection]
hmnhf has quit [Ping timeout: 246 seconds]
yh has quit [Ping timeout: 250 seconds]
victortyau has joined #ruby
arup_r has quit [Read error: Connection reset by peer]
omegamike has joined #ruby
spider-mario has quit [Ping timeout: 252 seconds]
arup_r has joined #ruby
sarkyniin has quit [Ping timeout: 260 seconds]
<[k->
shevy: we should have infix lambdas in ruby
dc_ has quit [Remote host closed the connection]
jeremy04 has joined #ruby
gagrio has quit [Ping timeout: 260 seconds]
minotep has joined #ruby
gagrio has joined #ruby
bmurt has joined #ruby
lidenbrock has quit [Ping timeout: 246 seconds]
allcentury has joined #ruby
<oskar_>
join #fsociety
oskar_ has left #ruby [#ruby]
jeremy04 has quit [Ping timeout: 256 seconds]
olas is now known as nlsun
<[k->
ahhhh we just got spammed!
yh has joined #ruby
aryaching_ has joined #ruby
LeDiegue has quit []
<yorickpeterse>
it's such a convincing request too
<yorickpeterse>
lets see what's in there
<yorickpeterse>
"#fsociety: Cannot join channel (+i) - you must be invited"
<yorickpeterse>
well
<yorickpeterse>
that was disappointing
JoshL has joined #ruby
<[k->
/knock?
lkba has joined #ruby
<yorickpeterse>
is not a command
aryaching has quit [Ping timeout: 240 seconds]
jtdoncas has quit [Ping timeout: 246 seconds]
<yorickpeterse>
at least not in glorious weechat
<apeiros>
/raw
<[k->
or /quote
devdazed has quit [Quit: Computer has gone to sleep.]
<[k->
KNOCK <channel>
lxsameer has quit [Ping timeout: 250 seconds]
tejasmanohar has quit [Ping timeout: 265 seconds]
CustosLimen has quit [Ping timeout: 272 seconds]
<centrx>
/WHOSTHERE
preller_ has quit [Ping timeout: 264 seconds]
whippythellama has joined #ruby
ivanskie has joined #ruby
dfockler has joined #ruby
sarkyniin has joined #ruby
Axy has joined #ruby
lxsameer has joined #ruby
<yorickpeterse>
too much effort
dblessing has joined #ruby
minotep has quit [Ping timeout: 250 seconds]
<[k->
i tried it for you
<[k->
no reply
celly has joined #ruby
Mia has quit [Ping timeout: 255 seconds]
<yorickpeterse>
prffft
lordkryss has joined #ruby
imperator has joined #ruby
dfockler has quit [Ping timeout: 252 seconds]
imperator has quit [Client Quit]
dgutierrez1287 has quit [Remote host closed the connection]
Silox| has quit [Quit: Connection closed for inactivity]
tmtwd has joined #ruby
celly has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Computer has gone to sleep.]
safeforge has joined #ruby
ylg has quit []
CustosLimen has joined #ruby
freerobby has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical has joined #ruby
ylg has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
atomical has quit [Client Quit]
devbug_ has quit [Read error: Connection reset by peer]
Trynemjoel has joined #ruby
nateberkopec has joined #ruby
jeremy04 has joined #ruby
radgeRayden has joined #ruby
<adaedra>
join #ruby
<mikecmpbll>
sure.
gard has joined #ruby
<[k->
hello adaedra, im here, like you requested!
<adaedra>
oh my
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
joonty has joined #ruby
<mikecmpbll>
:D
jeremy04 has quit [Read error: Connection reset by peer]
<adaedra>
Let's make a bot that joins random channels and say "You can stay here, it is fine too"
atomical has joined #ruby
casadei_ has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
j4cknewt has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
Kellin has joined #ruby
Zai00 has joined #ruby
mamercad has quit [Ping timeout: 246 seconds]
bigbadbear has joined #ruby
freerobby has quit [Quit: Leaving.]
failshell has joined #ruby
freerobby has joined #ruby
braincra- has joined #ruby
Trynemjoel has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
braincra- is now known as braincrash
casadei_ has quit [Ping timeout: 265 seconds]
jpfuentes2 has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.2]
malconis has joined #ruby
keeguon has joined #ruby
sarkyniin has quit [Read error: Connection reset by peer]
centrx has quit [Quit: 'Get out, you and all the people who follow you!' Then he went out from Pharaoh in hot anger.]
apt-get_ has joined #ruby
al2o3-cr has joined #ruby
dorei has quit [Read error: Connection reset by peer]
dorei has joined #ruby
nhhagen has quit [Remote host closed the connection]
jeremy04 has joined #ruby
railsraider has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
decoponio has joined #ruby
lannonbr has quit [Quit: WeeChat 1.2]
devdazed has joined #ruby
sshuff|gone is now known as sshuff
Askilada has quit [Ping timeout: 255 seconds]
zacstewart has joined #ruby
Trynemjoel has joined #ruby
gamename has quit [Remote host closed the connection]
gamename has joined #ruby
benlovell has quit [Ping timeout: 260 seconds]
gamename has quit [Remote host closed the connection]
gamename has joined #ruby
gamename has quit [Remote host closed the connection]
gard has quit [Ping timeout: 272 seconds]
devdazed has quit [Quit: Bye]
benlovell has joined #ruby
zacstewart has quit [Ping timeout: 244 seconds]
tsvenson has joined #ruby
jeremy04_ has joined #ruby
mamercad has joined #ruby
jeremy04 has quit [Read error: Connection reset by peer]
Iskarlar has quit [Ping timeout: 256 seconds]
chouhoulis has joined #ruby
Iskarlar has joined #ruby
C1V0 has joined #ruby
gagrio has quit [Ping timeout: 246 seconds]
shlomo has joined #ruby
astrobun_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
<apeiros>
grah! LDAP!
tagrudev has quit [Remote host closed the connection]
* apeiros
pulls hair out
<apeiros>
how tf do you query Net::LDAP for a DN? o0
aganov has quit [Remote host closed the connection]
yardenbar has quit [Quit: Leaving]
MatrixBridge has quit [Remote host closed the connection]
chills42 has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
C1V0 has quit [Ping timeout: 240 seconds]
njs126 has joined #ruby
riotjones has quit [Remote host closed the connection]
ivanskie has joined #ruby
casadei_ has joined #ruby
soc42 has quit [Remote host closed the connection]
pawnbox has joined #ruby
<yorickpeterse>
apeiros: start by drawing a pentagram on the floor and put candles on every corner
astrobun_ has quit [Ping timeout: 250 seconds]
akkmaxon has quit [Remote host closed the connection]
<yorickpeterse>
Then find yourself a goat, kill it and place it in the center of the pentagram
<yorickpeterse>
Then set yourself on fire
umgrosscol has joined #ruby
railsraider has quit [Quit: railsraider]
leesharma has joined #ruby
<apeiros>
I might not have to do the last step
<apeiros>
I think I'll spontaneously combust
<apeiros>
it's like… "let's not explain how to look up entries by their ID, instead, lets show you all the ways to search"
* apeiros
puzzled
TvL2386 has quit [Quit: Ex-Chat]
koos303 has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
Silox| has joined #ruby
CustosLimen has quit [Ping timeout: 272 seconds]
devdazed has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
<yorickpeterse>
Code comments in a nutshell:
<yorickpeterse>
# Presentation
<yorickpeterse>
gem 'useragent'
<apeiros>
ok, seems to be an ldap design. there's no lookup, only search.
bounder has joined #ruby
pawnbox has quit [Ping timeout: 256 seconds]
Trynemjoel has quit [Ping timeout: 250 seconds]
mamercad has quit [Quit: leaving]
thoraxe has quit [Quit: signing off]
ndrei has joined #ruby
Trynemjoel has joined #ruby
<bounder>
Hello! Anyone experienced with the gc.c source code around? I am trying force ruby to allocate a new heap page when it needs an allocation, so my current method is iterating through the objspace->heap_pages.sorted list and setting the free_slots count to zero, and setting the freelist to null in each page. This results in an expected heap_page_allo
<bounder>
cate call, but reports a "same heap page is allocated" error
gagrio has joined #ruby
pauly_oc has quit [Ping timeout: 240 seconds]
c0def00d has joined #ruby
CloCkWeRX has left #ruby [#ruby]
<yorickpeterse>
bounder: why are you trying to force it?
dionysus69 has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
chills42 has joined #ruby
<c0def00d>
How can I write a lamba that forwards it’s arguments to the “send” method of Object so that 'myLambda(:method, arg1, arg2)’ works?
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swills has joined #ruby
pfsh has joined #ruby
<bounder>
I'm working with a parallel ruby project, and we require different virtual addresses for new allocations
<c0def00d>
‘lambda { |*args| myObject.send(args) }’ doesnt seem to work
<[k->
send(*args)
ndrei has quit [Ping timeout: 246 seconds]
<c0def00d>
ahhh, stupid me!
bohallor has joined #ruby
hashrocket has joined #ruby
<apeiros>
c0def00d: should take that ' from "it's" and use it in "doesnt" ;-p
<c0def00d>
thanks!!
lannonbr has joined #ruby
<apeiros>
(and yes, I wrote an actual answer first, but [k- was faster)
<c0def00d>
apeiros: and yes, sorry for the sloppy writing!
<bounder>
Making ruby think it needs more space is the cleanest way we came up with
<[k->
twice in a day apeiros!
<yorickpeterse>
bounder: parallel....MRI... good luck with that
Iskarlar has joined #ruby
ndrei has joined #ruby
<yorickpeterse>
Either way not sure, might be best asking on the ruby-core mailing list
<yorickpeterse>
since the devs hang out there more so than they do in here
dopie has joined #ruby
<bounder>
alright, thanks for the reference!
tuelz has joined #ruby
<rflot>
hi all, curious if anybody's got any thoughts on the ruby-based CMS's out there. Looking at using refineryCMS for an upcoming project, would love to hear experiences
olistik has quit [Remote host closed the connection]
<yorickpeterse>
bounder: if you actually need to run Ruby code in parallel you'll be out of luck with MRI/CRuby though
<[k->
rflot: have you asked on reddit yet?
tubuliferous has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
lkba_ has joined #ruby
<bounder>
why do you say so?
jonee has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
<yorickpeterse>
bounder: because MRI has a Global Interpreter Lock, preventing multiple threads from running in parallel
<pfsh>
yorickpeterse: we know about the global vm lock and we found a way around it
<bounder>
It is process based.
<pfsh>
yeah
Trynemjoel has joined #ruby
<yorickpeterse>
Ah yeah, good luck with the memory usage there
<bounder>
oh, yeah, it hogs a ton of memory for sure
average has quit [Ping timeout: 240 seconds]
<yorickpeterse>
For Rubies without a GIL look into Rubinius and JRuby and pick whatever suits your needs the most
Kalov has quit []
lkba has quit [Ping timeout: 260 seconds]
tubuliferous has quit [Ping timeout: 244 seconds]
j_mcnally has joined #ruby
<[k->
might as well into java/jvm if you want to use that much memory
gwendall has quit [Remote host closed the connection]
MatrixBridge has joined #ruby
average has joined #ruby
<rflot>
[k: is reddit the normal place to ask about stuff like that?
<yorickpeterse>
rflot: it's not
RegulationD has quit [Ping timeout: 250 seconds]
<yorickpeterse>
rflot: it's just one of many places
<bounder>
Thanks! The reason we are working with MRI is that by parallel I meant allowing the user to execute parallel code, mostly as a proof of concept for a C library that allows that in C, using processes
<yorickpeterse>
I think these days refinery is still the way to go
<[k->
people would give well thought & good responses there
<yorickpeterse>
others use something like Jekyll or nanoc
<bounder>
As in, adding OpenMP-style directives to ruby
<rflot>
cool, I'll throw it up there
<yorickpeterse>
bounder: right, if that needs to be sandboxed then you'd need separate processes anyway
<bounder>
but process based
<yorickpeterse>
combined with something like cgroups
Trynemjoel has quit [Ping timeout: 250 seconds]
MatrixBridge has quit [Remote host closed the connection]
<yorickpeterse>
"Errno::ENAMETOOLONG: File name too long @ rb_sysopen - /home/yorickpeterse/Private/Projects/olery/feedback/public/assets/jquery.mobile.angular-adapter-standalone-1.1.2.min-278b70283990c3a864662df9b47c4b6e249b81db68110fa60e5b0ec97c4049a8.js.70317718567280.17865.749176
<yorickpeterse>
"
<yorickpeterse>
oh fuck me
<yorickpeterse>
now I gotta solve that too
jbw has quit [Ping timeout: 264 seconds]
<yorickpeterse>
also where the hell did config/manifest.yml go in Rails 4
Trynemjoel has joined #ruby
gamename has joined #ruby
<yorickpeterse>
there's no config/manifest.json either
<yorickpeterse>
hrmpf
arup_r has quit [Remote host closed the connection]
norc has quit [Ping timeout: 246 seconds]
gamename has quit [Remote host closed the connection]
gamename has joined #ruby
Jarboe has joined #ruby
sameerynho has joined #ruby
tuelz has quit [Ping timeout: 250 seconds]
anisha has quit [Quit: Leaving]
kies^ has joined #ruby
arturaz has quit [Remote host closed the connection]
Billias has quit [Ping timeout: 244 seconds]
RegulationD has joined #ruby
grope12yolds has joined #ruby
<grope12yolds>
what is the apple chat channel?
denver has joined #ruby
olistik has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 265 seconds]
anisha has joined #ruby
<apeiros>
#
celly has joined #ruby
<apeiros>
(maybe not)
<yorickpeterse>
#cult
<yorickpeterse>
ᕕ(ᐛ)ᕗ
j4cknewt has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 240 seconds]
olistik has quit [Remote host closed the connection]
<grope12yolds>
that's cool
<grope12yolds>
[10:41] == # Illegal channel name
olistik has joined #ruby
dblessing has quit [Ping timeout: 265 seconds]
gix has quit [Quit: Client exiting]
<yorickpeterse>
grope12yolds: it was a joke
<twohlix>
would be nice if that worked. I'd want #
<grope12yolds>
anyone on a mac?
<twohlix>
i am for work yea
sameerynho has joined #ruby
<grope12yolds>
i'd kindly appreciate it if you could tell me where the photo stream folder is
<grope12yolds>
i looked on google to no avail
gix has joined #ruby
<apeiros>
/[^\x00\x07\x0A\x0D\x20,:]/n
gamename has quit [Remote host closed the connection]
gamename has joined #ruby
<twohlix>
no idea, I really only use this for ruby/rails dev so i dont really use iPhoto or anything
kirun has quit [Ping timeout: 250 seconds]
shlomo has quit [Quit: WeeChat 1.2]
MatrixBridge has joined #ruby
<apeiros>
technically, # should be valid
<twohlix>
the server rejects it
j4cknewt has joined #ruby
<apeiros>
and #
<apeiros>
not spec compliant!!!
<twohlix>
lol
<apeiros>
(or I missed something in the BNF, or maybe outside, restricting it to 0x00-0x80)
relix has joined #ruby
<twohlix>
or while the server may be able to support it, perhaps freenode has banned channels like that
<apeiros>
yeah, maybe it's allowed by the message spec, but servers can clamp down valid channel names
texasmade has joined #ruby
<adaedra>
apeiros » and #
<adaedra>
so, #php
<adaedra>
:>
<apeiros>
yeah, could forward
Fire-Dragon-DoL has joined #ruby
<Fire-Dragon-DoL>
'morning
<adaedra>
hi
<[k->
wouldn't it need to be a free target first?
msnyon has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra>
grope12yolds: try ##apple
prefixed has quit [Ping timeout: 260 seconds]
prefixed has joined #ruby
minotep has joined #ruby
dc has joined #ruby
<adaedra>
also, dat nick
DCameronMauch has joined #ruby
<apeiros>
oh, yeah, that's actually bannable…
<apeiros>
!kick grope12yolds nick
grope12yolds was kicked from #ruby by ruboto [nick]
sameerynho has quit [Quit: Leaving]
* apeiros
didn't even read the nick
<adaedra>
took me some time to find it tbh
<apeiros>
too busy trying to figure the insanity that is LDAP
senayar has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 240 seconds]
safeforge has quit [Remote host closed the connection]
<adaedra>
aaaah, LDAP.
<adaedra>
Are you on drugs right now apeiros ?
platzhirsch has joined #ruby
<apeiros>
I'm not sure whether ldap is broken or just AD's implementation of it
senayar has joined #ruby
<apeiros>
adaedra: not yet. but it might make things easier.
jbw has joined #ruby
<adaedra>
Ah, not only you're on LDAP, but on an AD one?
<apeiros>
especially this headache induced by ldap.
<adaedra>
I wish you good luck
<apeiros>
I'm not sure luck will suffice
dfockler has quit []
<apeiros>
I think I'll also need a sacrificial goat
<adaedra>
:D
sanguisdex has quit [Remote host closed the connection]
<apeiros>
maybe I'm doing this all wrong. but it seems to me like this doesn't work as advertized. filters seem to be ignored. searching for a DN returns all subtrees too…
<apeiros>
this stuff… so f'ed up.
The_Phoenix has joined #ruby
xcesariox has joined #ruby
gwendall has joined #ruby
gwendall has quit [Remote host closed the connection]
gwendall has joined #ruby
sanguisdex has joined #ruby
<apeiros>
ok, `scope` param helps with that subtree issue.
Trynemjoel has quit [Ping timeout: 245 seconds]
Trynemjoel has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
<apeiros>
now I got to figure why it ignores my filters…
DoubleMalt has quit [Remote host closed the connection]
banister has joined #ruby
JoshL_ has joined #ruby
JoshL has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
axl_ has quit [Quit: axl_]
sinkensabe has joined #ruby
alveric has quit [Ping timeout: 240 seconds]
texasmade has quit [Ping timeout: 246 seconds]
alveric has joined #ruby
axl_ has joined #ruby
anisha has quit [Quit: Leaving]
NeverDie has joined #ruby
<dudedudeman>
hayyyy ruby!
<yorickpeterse>
hi dude
<dudedudeman>
suppy sup
CloCkWeRX has quit [Quit: Leaving.]
theery has joined #ruby
Iskarlar has joined #ruby
axl_ has left #ruby [#ruby]
MatrixBridge has joined #ruby
pdoherty has joined #ruby
DCameronMauch has quit [Remote host closed the connection]
mleung has joined #ruby
tvw has quit []
diegoviola has joined #ruby
axl_ has joined #ruby
hmnhf has joined #ruby
kakusu has quit [Ping timeout: 260 seconds]
michael_mbp has quit [Excess Flood]
boobi has joined #ruby
techsethi has quit [Ping timeout: 246 seconds]
DCameronMauch has joined #ruby
Drakevr has quit [Ping timeout: 244 seconds]
michael_mbp has joined #ruby
kakusu has joined #ruby
lkba_ has joined #ruby
Drakevr has joined #ruby
bruno- has quit [Quit: Lost terminal]
bruno- has joined #ruby
DCameronMauch has quit [Client Quit]
rcvalle has joined #ruby
hmnhf has quit [Read error: Connection reset by peer]
stiky has quit [Quit: Leaving]
bruno- is now known as Guest25020
joonty has quit [Quit: joonty]
mxrguspxrt has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 250 seconds]
boobi has quit [Ping timeout: 252 seconds]
leesharma has quit [Ping timeout: 244 seconds]
boobi has joined #ruby
Ilyes512 has joined #ruby
mxrguspxrt has joined #ruby
chills42 has quit [Remote host closed the connection]
hashrocket has joined #ruby
j4cknewt has joined #ruby
<atmosx>
hello dudedudeman
boobi has quit [Client Quit]
senayar has quit []
<shevy>
how to obtain the way how a user invoked a .rb file?
polpak has joined #ruby
boobi has joined #ruby
blueOxigen has joined #ruby
JoshL_ has quit []
lsmola has quit [Ping timeout: 244 seconds]
<adaedra>
what do you mean, shevy
<adaedra>
knowing if you are in direct execution, load or require?
bluOxigen has quit [Ping timeout: 264 seconds]
withnale____ has joined #ruby
<shevy>
I want to feedback some help about the commandline usage
eGGsha has joined #ruby
<shevy>
like when a user does pass --help
<adaedra>
$0
bluOxigen has joined #ruby
dblessing has joined #ruby
hanmac has quit [Ping timeout: 246 seconds]
RobertBirnie has joined #ruby
tubuliferous has joined #ruby
TomyWork has quit [Ping timeout: 264 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
withnale___ has quit [Ping timeout: 240 seconds]
texasmade has joined #ruby
blueOxigen has quit [Ping timeout: 260 seconds]
segfalt has quit [Quit: segfalt]
withnale____ has quit [Ping timeout: 240 seconds]
aphprentice has quit [Remote host closed the connection]
c0def00d has quit [Quit: c0def00d]
bricker has joined #ruby
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chills42 has joined #ruby
<twohlix>
shevy: adaedra got it right with $0 and OptionParser is pretty helpful for stuff like usage and options for the commandline if you're not already using it (http://apidock.com/ruby/OptionParser)
tubuliferous has quit [Ping timeout: 246 seconds]
theery has quit [Read error: Connection reset by peer]
joast has quit [Quit: Leaving.]
theery has joined #ruby
hashrocket has joined #ruby
joast has joined #ruby
sevin has quit [Ping timeout: 260 seconds]
BTRE has quit [Ping timeout: 256 seconds]
douglasssss has joined #ruby
spider-mario has joined #ruby
sevin has joined #ruby
blueOxigen has joined #ruby
failshell has quit [Remote host closed the connection]
<Mon_Ouie>
You just can't have multiple letters after the hyphen
<hanmac>
shevy your sample is also funny for me: $4890278902424 = 5 #=> "(irb):5: warning: `$4890278902424' is too big for a number variable, always nil SyntaxError: (irb):5: Can't set variable $0" .... i didnt try to set $0 but for some reason it does think i do oO
ndrei has joined #ruby
olistik has quit [Read error: No route to host]
<shevy>
curious error
<shevy>
a "number variable"... I don't think I have read that before
towski_ has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
helpa has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 250 seconds]
helpa has joined #ruby
tenderlove has joined #ruby
jjj123 has joined #ruby
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DarthGandalf has joined #ruby
celly has quit [Remote host closed the connection]
yh has joined #ruby
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alveric has quit [Ping timeout: 264 seconds]
chills42 has quit [Remote host closed the connection]
chills42 has joined #ruby
hashrocket has joined #ruby
j4cknewt_ has quit [Read error: Connection reset by peer]
apofis has quit [Ping timeout: 244 seconds]
Violentr has joined #ruby
j4cknewt has joined #ruby
thatsnotjack has quit [Remote host closed the connection]
olistik has quit []
leafybasil has quit [Remote host closed the connection]
thatsnotjack has joined #ruby
leafybasil has joined #ruby
Phoop has joined #ruby
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
chills42 has quit [Remote host closed the connection]
JoshL has joined #ruby
paulcsmith has joined #ruby
podman has joined #ruby
sargas has quit [Quit: Leaving]
leafybasil has quit [Ping timeout: 240 seconds]
tubuliferous has joined #ruby
danzilio has quit [Quit: My computer has fallen asleep!]
mikecmpbll has joined #ruby
nyandoge has joined #ruby
workmad3 has joined #ruby
danzilio has joined #ruby
ascarter has joined #ruby
jonee has quit [Ping timeout: 240 seconds]
boobi has quit [Ping timeout: 246 seconds]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
boobi has joined #ruby
icebourg has joined #ruby
casadei_ has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 245 seconds]
sshuff is now known as sshuff|gone
hashrocket has quit [Read error: Connection reset by peer]
dtzitz has joined #ruby
angrywombat has joined #ruby
texasmade has joined #ruby
s2013 has joined #ruby
qwerbicman has joined #ruby
Trynemjoel has joined #ruby
boobi has quit [Ping timeout: 240 seconds]
<qwerbicman>
does anyone know how to reader UPC barcodes in ruby?
<qwerbicman>
read*
<bougyman>
the reader normally just throws output to stdin.
<bougyman>
it's like a keyboard device.
wldcordeiro_ has joined #ruby
carlosoliveira has joined #ruby
<qwerbicman>
I just need the actual numeric code from an image of a upc barcode
<bougyman>
you have a barcode reader?
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<angrywombat>
guys
blaines has joined #ruby
<qwerbicman>
no i need a barcode reader
<dtzitz>
?guys
<ruboto>
You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
<qwerbicman>
for ruy
<bougyman>
for ruy?
<qwerbicman>
ruby
<angrywombat>
i relate to guys
<angrywombat>
sorry guys
Guest25020 has quit [Ping timeout: 240 seconds]
<qwerbicman>
there seems to be a variety of barcode readers for javascript but only one for ruby
<qwerbicman>
zbar-ruby unfortunately doesn't work on my system nor heroku
tkuchiki has joined #ruby
<qwerbicman>
looks like even #ruby doesn't have an answer
<qwerbicman>
surely even speedwagon is a afraid of this problem
dtzitz has left #ruby [#ruby]
dtzitz has joined #ruby
yh has quit [Ping timeout: 252 seconds]
rippa has joined #ruby
Violentr has quit [Ping timeout: 246 seconds]
towski_ has joined #ruby
lkba_ has quit [Remote host closed the connection]
<shevy>
I think someone here wrote a barcode reader
chills42 has joined #ruby
banister_ has joined #ruby
tkuchiki has quit [Ping timeout: 255 seconds]
<shevy>
nick was starting with t
scriptor has joined #ruby
lee_ has joined #ruby
baweaver has joined #ruby
leesharma has quit [Ping timeout: 246 seconds]
pyon has quit [Ping timeout: 246 seconds]
scriptor has left #ruby [#ruby]
omfgtora has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Trynemjoel has quit [Ping timeout: 250 seconds]
amclain has joined #ruby
blaines has quit [Read error: Connection reset by peer]
<lampd1>
except it jails you into its own filestructure and you can't access the rest of your partition
<lampd1>
via its shell
aryaching_ has quit [Ping timeout: 260 seconds]
RazorX has quit [Remote host closed the connection]
<lampd1>
small price to pay for slashes that go the right direction
<angrywombat>
wait, how do i install that?
<angrywombat>
sorry if i sound retarded guys, im new to this
<Criten>
who says unix has the correct slashes?
j4cknewt has quit [Ping timeout: 246 seconds]
preller has joined #ruby
khebbie has quit [Remote host closed the connection]
RazorX has joined #ruby
<angrywombat>
what?
Soda has joined #ruby
Zai00 has joined #ruby
<angrywombat>
anyway guys i'm trying to build a lyrics website
<angrywombat>
i want to get a head on my comp sci skills before autumn
<angrywombat>
i'm having trouble making this data base work tho
freerobby has joined #ruby
<angrywombat>
does anyone know how to work with the data base?
baweaver has joined #ruby
<atmosx>
angrywombat: command line == linux, Windows has a very lousy env
<atmosx>
angrywombat: or anything unix-based
rdark has quit [Quit: leaving]
<eam>
Criten: unix and windows use the same path separator
<angrywombat>
atmosx: this wiki article i am reading says that linux is a unix, though.. is that correct?
<eam>
DOS/Windows has always supported using foo/bar style directories
<atmosx>
who cares about the path separator, that's not anyone's problem.
<angrywombat>
i dont get it, if windows and unix both have bad command lines, am i supposed to use mac?
<atmosx>
angrywombat: I have no idea, I thought that Windows was Unix and Unix was Linux.
last_staff has joined #ruby
jackjackdripper has joined #ruby
gelinas260 has joined #ruby
<angrywombat>
well ok
<angrywombat>
ill just use windows then
<atmosx>
yeah do that.
<angrywombat>
but the data base doesnt work
<atmosx>
ignore does
<atmosx>
just ignore the datbase you don't need it.
RobertBi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
preller has quit [Quit: leaving]
preller has joined #ruby
dtzitz has joined #ruby
<angrywombat>
atmosx: how can i store this lyrics then?
<angrywombat>
atmosx: are you just joking with me?
<atmosx>
angrywombat: no, I'm serious. Why would you need a database
<angrywombat>
i want to store user datas and also lyrics
platzhirsch has quit [Ping timeout: 260 seconds]
<dtzitz>
angrywombat: just use local storage
<angrywombat>
i have access already setup but i can't get obc to work with ruby
tubuliferous_ has joined #ruby
<angrywombat>
i thnk that's where i am
<angrywombat>
these tutorials tell me so many different things
<atmosx>
what is obc?
<eam>
odbc?
<dtzitz>
angrywombat: html5 supports local storage
dopie has quit [Quit: This computer has gone to sleep]
<angrywombat>
yeah sorry, i'm not too lingo-y yet
<atmosx>
angrywombat: you don't need a database.
crdpink2 has joined #ruby
bruno- has joined #ruby
<angrywombat>
then what is the point of using a ruby framework?
<Criten>
Why would he use localstoage? lol
<Criten>
sqlite maybe..
crdpink has quit [Ping timeout: 246 seconds]
<angrywombat>
these guys are noobs i think
<angrywombat>
ha ha
preller has quit [Client Quit]
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
<atmosx>
angrywombat: I'd pen and paper if I were you.
pietr0_ has joined #ruby
<atmosx>
data lasts on paper, especially if the quality is appropriate.
tubuliferous has quit [Ping timeout: 252 seconds]
ndrei has quit [Ping timeout: 240 seconds]
<dtzitz>
Criten: SQLite is a database
<Criten>
Oh yeah, and we dont want htat
<dtzitz>
atmosx says he doesn't need a database
<dtzitz>
i agree
RobertBi_ has joined #ruby
pietr0 has quit [Ping timeout: 244 seconds]
pietr0_ is now known as pietr0
graydot has joined #ruby
<dtzitz>
you should have ruby send the data over http to a python client that will pickle the lyrics
<atmosx>
I think he needs a chromebook to enhance his development
<dtzitz>
angrywombat: do you know how to pickle in python?
<atmosx>
and when a request comes, read the lyrics from the paper and type them into the display.
<angrywombat>
what?
<angrywombat>
you guys are mean
<dtzitz>
?guys
<ruboto>
You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
<atmosx>
dtzitz: he is racist too.
<angrywombat>
i just want to make a little money on the side during college so i thought lyrics is good after reading alot about searching optimization
<atmosx>
angrywombat: you have anything against women in tech?
<angrywombat>
atmosx: why would i?
rideh^ has quit [Quit: zap]
<atmosx>
angrywombat: why did you call us "guys"
RobertBi_ has quit [Client Quit]
segfalt has joined #ruby
<atmosx>
angrywombat: I feel kinda threatened.
<wasamasa>
lol
<eam>
this is ridiculous
<atmosx>
and a little bit insulted.
<atmosx>
?guys
<ruboto>
You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
<angrywombat>
it says right there, persons of either sex
<angrywombat>
people
<wasamasa>
angrywombat: not like there's not a single lyrics website out there
<angrywombat>
should i say people instead?
<atmosx>
angrywombat: no, you says 'guys' in this context.
<atmosx>
s/says/daid
<atmosx>
lol
<atmosx>
said
<eam>
angrywombat: folks like atmosx are trying to redefine the term
<atmosx>
whatever
<Criten>
You guys should get a bot
<Criten>
that does that for you
<eam>
it's a bit of a word game
<Criten>
s/says/daid
<atmosx>
eam: no, ruboto did that.
<atmosx>
eam: we either have to stick to the rules or not.
<angrywombat>
why? are they the same people that redefined literally to mean figuratively?
<wasamasa>
guise
<atmosx>
Criten: I can write the method lol
blue_deref has quit [Quit: bbn]
<Criten>
Guys, how do i add two strings together in ruby?
<atmosx>
Criten: you just ask politely
<dtzitz>
WHAT IS WITH THE GUYS THIHG
<atmosx>
?guys
<ruboto>
You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
<atmosx>
...
<wasamasa>
>> "Guys, how do i add two" + "strings together in ruby?"
<ruboto>
wasamasa # => "Guys, how do i add twostrings together in ruby?" (https://eval.in/411227)
<angrywombat>
oh that thing is a bot
<atmosx>
wasamasa: u2! I can not believe this, this is a revolt!
turb0 has joined #ruby
<wasamasa>
atmosx: it's a loophole!
Zai00 has quit [Quit: Zai00]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Criten>
?guys
<ruboto>
You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
<atmosx>
angrywombat: what is a bot? like a boat on the sea or something?
<Criten>
?apple
<ruboto>
I don't know anything about apple
<atmosx>
?queer
<ruboto>
I don't know anything about queer
mxrguspxrt has quit [Remote host closed the connection]
<ruboto>
Criten # => /tmp/execpad-4e3e2bd7730e/source-4e3e2bd7730e:2:in `<main>': undefined local variable or method `ads ...check link for more (https://eval.in/411230)
<Criten>
>> "#{adsf} #{adsf}"
<wasamasa>
now you're doing it intentionally!
rideh has joined #ruby
<ruboto>
Criten # => undefined local variable or method `adsf' for main:Object (NameError) ...check link for more (https://eval.in/411231)
AlexRussia has quit [Read error: Connection reset by peer]
theery has quit [Remote host closed the connection]
bffff_ has quit [Quit: Connection closed for inactivity]
failshell has joined #ruby
gheegh has quit [Ping timeout: 240 seconds]
aknl has joined #ruby
blaines has joined #ruby
JoshL has quit []
<aknl>
Is there a ruby construct that will set a variable to x, or y if x is not defined?
<Valeness>
Ternary Operators in Ruby?
Zai00 has joined #ruby
<dfockler>
Valeness: yes
failshell has quit [Ping timeout: 260 seconds]
<Mon_Ouie>
You can always use the `defined?' keyword, but 'x could be either defined or not defined' is something that would normally only make sense in a templating language (such as ERB)
<aknl>
In the context of a config file. If something was set in the config, set foo to that. Otherwise, set foo to bar
<Valeness>
dfockler: Ok, then that should solve aknl's problem right?
Trynemjoel has quit [Ping timeout: 245 seconds]
<dfockler>
x.defined? ? yes : no
umgrosscol has quit [Ping timeout: 246 seconds]
<Mon_Ouie>
Do you mean `defined?(x)'?
<diegoviola>
I have this code: @solution.fill_field(field[:label], :with => field[:value]) -- how should I define my fill_field() function so I can build a hash with this label/value?
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has quit [Quit: Life beckons.]
Trynemjoel has joined #ruby
<diegoviola>
if I def fill_field(label, value) my value is a hash then, so I'm not sure
<Mon_Ouie>
aknl: I'm not sure what you mean, are you using local variables in your config file? Can you show an example?
blaines has joined #ruby
celly has joined #ruby
Muhannad has joined #ruby
<hanmac>
devmitch: its interesting while not perfect, i think it can be improved but is an interesting begin to work with
EllisTAA has quit [Quit: EllisTAA]
<aknl>
Mon_Ouie: say I have a directory I want to use. I might set that in a config.yml, but I'd like to default to directory $BAR
<shevy>
perhaps he means x = y || z
<Mon_Ouie>
So you don't have a set of variables, but a hash table, right?
<devmitch>
hanmac: I know I could just use a slightly less dynamic approach and just have a couple of block arguments, which I may end up doing. It's a clever solution though.
RobertBirnie has joined #ruby
akkad has quit [Excess Flood]
<aknl>
Mon_Ouie: I don't know if it's a hash table in Ruby, but I'm accessing as Rails.conifguration.foo.bar
<aknl>
there is no bar, I'd like to set the variable to a default
EllisTAA has joined #ruby
<hanmac>
devmitch: why i mean it can be better is because it does allways create a class object, ... imo that isnt often needed and can be turned into a more generic variant
jhack has joined #ruby
relix has joined #ruby
<jhack>
hey
yh has joined #ruby
schaerli has joined #ruby
hashrocket has joined #ruby
<diegoviola>
any ideas?
jenrzzz_ has quit [Ping timeout: 246 seconds]
<jhack>
So i have three classes, a game class, human class, and a computer class. How do i access @colors which is in the game classes initialize in a method in the computer class?
<devmitch>
hanmac: Meaning having a class that is more specific to the concern (i.e. not using the generic Class class), or meaning implementing a way that does not have to instantiate _any_ class?
angrywombat_ was kicked from #ruby by ChanServ [User is banned from this channel]
<BraddPitt>
so you would need to create a Game object and then call .colors on it like so jhack Game.new().colors
<havenwood>
BraddPitt: ah, good catch :)
<jhack>
Yeah, i've changed it to @colors in my Computer class, but still getting an error -> in `make_guess': undefined method `sample' for nil:NilClass (NoMethodError)
j4cknewt_ has quit [Remote host closed the connection]
alveric has quit [Ping timeout: 264 seconds]
<BraddPitt>
do you have attr_reader (or attr_accessor) for that variable, jhack ?
Jackneill has joined #ruby
<jhack>
BraddPitt: i have attr_accessor
robbyoconnor has quit [Ping timeout: 260 seconds]
<BraddPitt>
can you post Computer and Game classes?
<havenwood>
diegoviola: I don't know what a `field[:label]` or `field[:value]` is or what return value you want from them.
JimmyNeutron has quit [Remote host closed the connection]
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
umgrosscol has joined #ruby
<BraddPitt>
so on line 70 jhack, you are calling @colors without referencing the Mastermind class
<BraddPitt>
so Ruby thinks there is a @colors variable for the current class scope (Computer)
<havenwood>
diegoviola: Given `label` of x and `value` of y what z return value you do want from that method? Have some examples with dummy or better yet real data?
<BraddPitt>
in order to call Mastermind's @colors, you need to make an instance of that object and then call .colors on it
Iskarlar has joined #ruby
<jhack>
BraddPitt: so i'd do something like @mastermind = Mastermind.new ?
<jhack>
and then @mastermind.colors?
<BraddPitt>
exactly!
<jhack>
What if i made colors a constant?
Iskarlar has quit [Max SendQ exceeded]
<jhack>
would i still need to do this?
Trynemjoel has quit [Ping timeout: 245 seconds]
<BraddPitt>
a constant in which class?
<BraddPitt>
if your colors array never changes, it may be smart to make it a constant
not_angry_wom_ba has joined #ruby
<jhack>
If i put @mastermind = Mastermind.new in my initialize, itll give me an error
<not_angry_wom_ba>
hey guys, i have a question about odbc
<jhack>
BraddPitt: yeah, it's a constant array
bradleyprice has quit [Remote host closed the connection]
<BraddPitt>
or even better: a module that contains the array constant and then 'include' that module in your Computer class
Iskarlar has joined #ruby
<BraddPitt>
and every other class that needs access to it
omegamike has quit [Remote host closed the connection]
gwendall has quit [Remote host closed the connection]
<jhack>
BraddPitt: if i were to make colors a constant, would i still need to do @mastermind = Mastermind.new ?
<BraddPitt>
no
gwendall has joined #ruby
<BraddPitt>
well
RobertBirnie has quit [Ping timeout: 246 seconds]
<BraddPitt>
it depends on where your constant lives
mxrguspxrt has joined #ruby
<jhack>
constant will live in the Mastermind class
fantazo has quit [Ping timeout: 246 seconds]
Trynemjoel has joined #ruby
<diegoviola>
havenwood: I just want a hash from that method, with label as key and values, but my value is already a hash
dopie has joined #ruby
<BraddPitt>
jhack I would advise you to make a Colors module that contains your constant
<jhack>
BraddPitt: okay, will do that
<BraddPitt>
and then include it where needed
swgillespie has joined #ruby
<havenwood>
diegoviola: I don't use vegetables for testing. Hem, have just an example or two of what label and value might be and what that return value would look like?
<BraddPitt>
It will keep your Mastermind class much cleaner
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yh has quit [Ping timeout: 272 seconds]
<Ox0dea>
happyworfrat: There's no mention of ODBC in that YAML file.
<BraddPitt>
happyworfrat is this a rails application?
<happyworfrat>
i know, i dont know why
<happyworfrat>
yes!!
DexterLB has quit [Read error: Connection reset by peer]
Trynemjoel has quit [Ping timeout: 245 seconds]
apfeluser has joined #ruby
<Mon_Ouie>
?rails happyworfrat
<ruboto>
happyworfrat, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
banister has joined #ruby
<happyworfrat>
but this is ruby
<happyworfrat>
i want to learn rubby
celly has quit [Remote host closed the connection]
<happyworfrat>
ruby* ha ha sorry i cant type sometimes
bricker has joined #ruby
<Mon_Ouie>
But you're using Rails and knowledge of Rails seems to be required to fully answer your question
yh has joined #ruby
yqt has joined #ruby
<happyworfrat>
ohj
<happyworfrat>
so ruby is different from rails?
<Ox0dea>
This guy.
<shevy>
rails is using ruby
<happyworfrat>
is ruby on rails like a new version or something?
<shevy>
ruby is not using rails
<shevy>
and somehow your nick reminds me of someone
<Mon_Ouie>
Ruby is a programming language, Rails is a web framework written in Ruby
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
happy-worf-rat
<happyworfrat>
idk guys im just trying to make a lyrics website
<shevy>
angry-wombat
<happyworfrat>
yes, i was angrywombat
<shevy>
you make Mon_Ouie very angry!
<happyworfrat>
mon ouie couldnt figure out how to unban me
<happyworfrat>
he said i was unbanned but apparently your bot is broken or something i dont know
<Mon_Ouie>
Also you may find it difficult to learn how to use Rails without getting familiar with the language before you do that
<happyworfrat>
ok so how can i get started with making this work? i guess i see how rails is different
<happyworfrat>
yeah i don't have to use that
Trynemjoel has joined #ruby
<havenwood>
happyworfrat: Rails is one of many Rack adapters. Sinatra is another popular Rack adapter. Two more-recently created Rack adapters to consider are Lotus and Roda.
<happyworfrat>
my friend's b4rother said ruby was a great language to learn if i wanted to make games when i get out of college
DexterLB has joined #ruby
solars has quit [Ping timeout: 244 seconds]
<happyworfrat>
what's rack in all of that mean? is that the data base side of things
<happyworfrat>
i don't know guys im so confused
bigkevmcd has quit [Remote host closed the connection]
<jhack>
BraddPitt: awesome, i got it working. Thanks a lot!
codecop has quit [Remote host closed the connection]
Billias has quit [Ping timeout: 246 seconds]
<happyworfrat>
i was thinking, is this because i didnt install windows 10 yet? my friend's brother told me not to install it yet because of driving errors with my hardwares
dseitz has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
Silox| has quit [Quit: Connection closed for inactivity]
<happyworfrat>
this virtual machine is taking long time to turn on
<chrisseaton>
yorickpeterse: one simple rule is usually enough - don't read or write shared variables except in a synchronised block
gamename has quit [Remote host closed the connection]
doertedev has quit [Quit: Lost terminal]
theery has joined #ruby
<chrisseaton>
If you think you've found a clever way around that - like this owner thing or double checked locking - just assume it's wrong as it probably is and use synchronisation
safeforge has quit [Remote host closed the connection]
gamename has joined #ruby
<Ox0dea>
chrisseaton: Who synchronizes the synchronizers?
<happyworfrat>
ok i got the rack installed
<happyworfrat>
did havenwood leave? she was helping me with this part
silkfox has joined #ruby
hashrocket has joined #ruby
<havenwood>
happyworfrat: Now for your config.ru file.
<yorickpeterse>
chrisseaton: In this particular case I hadn't considered threads racing _after_ the synchronize call
kadoppe has quit [Ping timeout: 244 seconds]
<yorickpeterse>
granted monitormixin takes care of this I probably just wasn't paying attention when implementing this
Iskarlar has joined #ruby
<havenwood>
happyworfrat: Installing the Rack gem gives you the `rackup` command. Now you just need a Rack config file named `config.ru` to run.
baweaver has quit [Ping timeout: 244 seconds]
dented42 has joined #ruby
<happyworfrat>
ok
Billias has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<happyworfrat>
it says my config isn't found??? i thought this made my config
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<havenwood>
happyworfrat: You have to create the config.ru file and add it's contents. That's the making the Rack app part.
bigbadbear has quit [Ping timeout: 246 seconds]
<happyworfrat>
oh
<happyworfrat>
i will be right back!
<happyworfrat>
i have to use the rest room
kadoppe has joined #ruby
jgpawletko has joined #ruby
khebbie has quit [Remote host closed the connection]
graydot has quit [Quit: graydot]
tkuchiki has joined #ruby
graydot has joined #ruby
<Ox0dea>
I'm having trouble applying Hanlon's razor here.
khebbie has joined #ruby
baroquebobcat has joined #ruby
gamename has quit [Ping timeout: 250 seconds]
rjno has quit []
diego1 has joined #ruby
<Ox0dea>
>> [*@ages_of_people_who_tell_the_channel_they_have_to_shit].any? { |x| x > 12 }
ArchRogem has quit [Quit: Connection closed for inactivity]
jonee has quit [Ping timeout: 260 seconds]
diego1 has quit [Changing host]
diego1 has joined #ruby
diego1 is now known as diegoviola
Mendenhall has joined #ruby
khebbie has quit [Ping timeout: 272 seconds]
<happyworfrat>
why is everyone so mean in here?
<happyworfrat>
i just want to learn
<happyworfrat>
:3
graydot has quit [Quit: graydot]
<happyworfrat>
?guys
<ruboto>
You probably don't mean to exclude, but not everyone relates to being "one of the guys". Maybe consider using "folks", "y'all" or "everyone" instead?
<happyworfrat>
?faggots
<ruboto>
I don't know anything about faggots
<happyworfrat>
yes you do
<havenwood>
happyworfrat: No trolling.
<happyworfrat>
everyone in here is one
<havenwood>
!kick happyworfrat No trolling.
happyworfrat was kicked from #ruby by ruboto [No trolling.]
<Ox0dea>
That took long enough.
icedp has quit [Ping timeout: 252 seconds]
graydot has joined #ruby
freerobby has quit [Quit: Leaving.]
happyworfrat has joined #ruby
<happyworfrat>
sorry!
lilnero has joined #ruby
<happyworfrat>
is it smart to use my sql?
robbyoconnor has joined #ruby
<happyworfrat>
i've been googing around and it doesn't seem like odbc should work with ruby
<happyworfrat>
so maybe i am just off track
chills42 has quit [Remote host closed the connection]
freerobby has joined #ruby
icedp has joined #ruby
Rollabunna has quit [Remote host closed the connection]
CustosLimen has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hashrocket has joined #ruby
failshell has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
bzb has quit [Quit: I hate to quit but my bladder's full. :-(]
DoubleMalt has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
blaines has joined #ruby
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frem has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
<havenwood>
happyworfrat: A parting note for the day, the Sequel gem has an ODBC adapter.
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xaitec has quit [Read error: Connection reset by peer]
<happyworfrat>
oh neat!
podman has quit [Ping timeout: 240 seconds]
<happyworfrat>
i was trying to do migrate but that wasn't working either
devoldmx has quit [Remote host closed the connection]
<happyworfrat>
i even made some tables in the migrate file thing
<qwerbicman_>
first time seeing something like that
<Ox0dea>
Something like #instance_variable_get?
gamename has joined #ruby
eggoez has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
celly has joined #ruby
<Mon_Ouie>
It's mostly useful for metaprogramming and debugging. Normally the way you access another object's instance variables is by having defined a reader method on that object (e.g. attr_reader :data in that object's class)
gwendall has quit [Ping timeout: 265 seconds]
<qwerbicman_>
yes
H3ALY has joined #ruby
Trynemjoel has joined #ruby
gheegh has joined #ruby
H3ALY has left #ruby ["Leaving"]
graydot has quit [Quit: graydot]
Ilyes512 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
s2013 has joined #ruby
qwerbicman_ has quit [Quit: Page closed]
netsurge has joined #ruby
Xaitec has joined #ruby
diegoviola has quit [Read error: Connection reset by peer]
pengin has quit [Remote host closed the connection]
<symm->
and I'm wondering if its because my ruby is too old?
<BraddPitt>
because that is 2.0.0 documentation
<BraddPitt>
so, to answer your question, yes
<Ox0dea>
symm-: 1.9.3 has been EOL'd, and is thus "dead".
<symm->
I see.. thanks
casadei_ has quit [Remote host closed the connection]
dseitz has quit [Quit: updating]
<adaedra>
FYI We're at 2.2.2
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kyuujitsu has joined #ruby
<symm->
"If you don’t know what version to install and you’re getting started with Ruby, we recommend you use Ruby 2.1.X installers."
Trynemjoel has quit [Ping timeout: 245 seconds]
<symm->
should I go for 2.1.6 or 2.2.2?
<BraddPitt>
2.2.2
<symm->
thanks
cpruitt has joined #ruby
jgpawletko has quit [Quit: jgpawletko]
<havenwood>
symm-: With Windows thought... 2.1.6 probably.
celly has joined #ruby
<havenwood>
though*
Trynemjoel has joined #ruby
<symm->
yeah I'm on windows
<havenwood>
symm-: 32-bit 2.1.6
<symm->
thanks
theery has quit [Ping timeout: 260 seconds]
catbusters has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
yfeldblum has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby
Trynemjoel has quit [Ping timeout: 250 seconds]
baroquebobcat has joined #ruby
Trynemjoel has joined #ruby
blue_deref has quit [Quit: bbn]
pdoherty has quit [Quit: Leaving]
rbennacer has joined #ruby
djbkd has joined #ruby
dseitz has joined #ruby
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
celly has quit []
yh has quit [Ping timeout: 265 seconds]
kraljev11 has joined #ruby
kraljev11 has quit [Remote host closed the connection]
bmurt has quit []
kraljev11 has joined #ruby
avitzure_ has joined #ruby
rideh has quit [Ping timeout: 250 seconds]
kraljev11 has quit [Client Quit]
kraljev11 has joined #ruby
kraljev11 has quit [Client Quit]
tuelz has joined #ruby
Musashi007 has joined #ruby
Lucky__ has joined #ruby
graydot has joined #ruby
kraljev11 has joined #ruby
skade has joined #ruby
kraljev11 has quit [Client Quit]
Igorshp has joined #ruby
kraljev11 has joined #ruby
kraljev11 has quit [Remote host closed the connection]
<jhack>
anyone attending any software dev bootcamps? or any knowledge on em?
bohallor has quit [Ping timeout: 260 seconds]
avitzurel has quit [Ping timeout: 250 seconds]
dgutierrez1287 has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Moeh has joined #ruby
rubytor_ has quit [Remote host closed the connection]
devoldmx has quit [Remote host closed the connection]
<Moeh>
Hello! What I would like to do is to connect to a database using the pg gem, export this database and then import it with a different name in another database on another server. Can anyone give me some pointers how to achieve that?
jenrzzz has quit [Ping timeout: 255 seconds]
devoldmx has joined #ruby
j4cknewt has quit [Remote host closed the connection]
<Sou|cutter>
You should probably just use pgdump
rodfersou has quit [Quit: leaving]
j4cknewt has joined #ruby
<Sou|cutter>
why does it have to be using the pg gem?
polpak has joined #ruby
swgillespie has joined #ruby
j4cknewt has quit [Remote host closed the connection]
rakm has joined #ruby
Valeness has left #ruby ["Leaving"]
Rollabunna has joined #ruby
FernandoBasso has joined #ruby
_seanc_ has joined #ruby
failshell has quit []
C1V0 has joined #ruby
dgutierrez1287 has quit [Ping timeout: 252 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gwendall has joined #ruby
jpfuentes2 has joined #ruby
ldnunes has quit [Remote host closed the connection]
theery has joined #ruby
hashrocket has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
NeverDie has joined #ruby
Igorshp has quit [Remote host closed the connection]
dseitz has joined #ruby
skade has quit [Read error: Connection reset by peer]
tinyhippo has joined #ruby
jpfuentes2 has quit [Ping timeout: 264 seconds]
EllisTAA has quit [Quit: EllisTAA]
minotep has quit [Ping timeout: 244 seconds]
skade has joined #ruby
baweaver has joined #ruby
skade has quit [Read error: Connection reset by peer]
sepp2k has quit [Read error: Connection reset by peer]
EllisTAA has joined #ruby
skade has joined #ruby
<havenwood>
Moeh: +1 pgdump and just scp it over
solars has quit [Ping timeout: 246 seconds]
<tinyhippo>
how can I make sure that my gems are discoverable by a ruby script when running a script via env -i
_ht has quit [Quit: Konversation terminated!]
Mon_Ouie has quit [Ping timeout: 240 seconds]
skade has quit [Read error: Connection reset by peer]
farn has quit [Remote host closed the connection]
skade has joined #ruby
<havenwood>
tinyhippo: Can you reset env vars or you want it to work with default PATH?
<havenwood>
tinyhippo: Typically you source something that sets the env vars if you drop env.
<tinyhippo>
havenwood: I want the script to be executable via Nagios which executes with no environment - I'm not sure how that translates to the options you asked
_seanc_ has quit [Quit: _seanc_]
minotep has joined #ruby
<havenwood>
tinyhippo: How'd you install Ruby?
<tinyhippo>
havenwood: rvm
<havenwood>
tinyhippo: Then use wrappers. RVM creates a wrapper that sources a file containing the correct env vars when you run the wrapper.
pengin has joined #ruby
Lewix has quit [Remote host closed the connection]
howdoi has quit [Quit: Connection closed for inactivity]
jtdoncas has quit [Ping timeout: 264 seconds]
jhack has quit [Quit: jhack]
qhartman has joined #ruby
silkfox has quit [Ping timeout: 260 seconds]
rbennacer has quit [Remote host closed the connection]
s2013 has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atomical has joined #ruby
blaines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sshuff is now known as sshuff|gone
rbennacer has joined #ruby
leesharma has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hashrocket has joined #ruby
banister has joined #ruby
opalraava has joined #ruby
casadei_ has joined #ruby
danzilio has quit [Quit: My computer has fallen asleep!]
dc has joined #ruby
prettiestPony11 has joined #ruby
danzilio has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
casadei_ has quit [Ping timeout: 272 seconds]
felltir has quit []
aryaching_ has joined #ruby
aryaching has quit [Ping timeout: 250 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
paulcsmith has quit [Quit: Be back later ...]
baroquebobcat has joined #ruby
Milencho has joined #ruby
devbug has joined #ruby
arup_r has quit [Quit: Leaving]
skade has quit [Read error: No route to host]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
msnyon has joined #ruby
skade has joined #ruby
decoponio has quit [Read error: Connection reset by peer]
pengin has quit [Remote host closed the connection]
leafybasil has quit []
leafybasil has joined #ruby
decoponio has joined #ruby
Kyuujitsu has quit [Ping timeout: 260 seconds]
Musashi007 has quit [Quit: Musashi007]
Kyuujitsu has joined #ruby
FooMunki_ has joined #ruby
victortyau has quit [Quit: Leaving]
s00pcan has quit [Ping timeout: 256 seconds]
<exadeci>
With rspec how could I call a controller action only once ? before(:all) doesn't work because it's too early but I can't be calling the action too many times because it contacts an API
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s00pcan has joined #ruby
EllisTAA has joined #ruby
<Ox0dea>
exadeci: "Too early"?
s2013 has joined #ruby
Kyuujitsu has quit [Ping timeout: 244 seconds]
<exadeci>
Ox0dea: @route is nil
Kyuujitsu has joined #ruby
freerobby has quit [Quit: Leaving.]
EllisTAA has quit [Client Quit]
axl_ has quit [Quit: axl_]
skade has quit [Quit: Computer has gone to sleep.]
Iskarlar has joined #ruby
casadei_ has joined #ruby
EllisTAA has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
devoldmx has joined #ruby
<cscheib>
anyone know how to turn on Net::SMTP debugging with the mikel/mail ruby gem? not sure how to pass set_debug_output down through the Mail wrapper for Net::SMTP
sinkensabe has joined #ruby
<Ox0dea>
exadeci: Order-dependent tests are generally a no-no.
Guest50 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<cscheib>
just not sure how to get at the net::smtp instance he's starting in there from the "mail" instance I've created
skade has joined #ruby
Lewix has joined #ruby
<Lewix>
Hi people
nolic has joined #ruby
<Ox0dea>
cscheib: It does seem that the gem makes this harder than it ought to be. :/
rbennacer has quit [Remote host closed the connection]
<cscheib>
if you're aware of a better gem, I'd be plenty happy to switch
<cscheib>
I'm not particularly attached to this one
<cscheib>
it just seemed to be the most popular one
lannonbr has quit [Quit: WeeChat 1.2]
Lucky__ has joined #ruby
<Ox0dea>
cscheib: I suppose you could try ripping out mikel/mail's formatting code and use it in conjunction with Net::SMTP?
<cscheib>
that's a thought I've had
<Ox0dea>
It's a great gem, as far as I can tell, but it seems opinionated in what deserves to be debug-printed.
<cscheib>
I'm assuming the message object he creates doesn't need any extra mojo to be sent as the body of a message
dc has quit [Remote host closed the connection]
omegamike has quit [Remote host closed the connection]
<cscheib>
s/body/full content/
<cscheib>
cause the stuff I've output to STDOUT has looked valid
EllisTAA has quit [Quit: EllisTAA]
nolic has quit [Client Quit]
<Ox0dea>
cscheib: To clarify, you just want to capture the error output, right?
dc has joined #ruby
gregf has quit [Quit: WeeChat 1.1.1]
EllisTAA has joined #ruby
symm- has joined #ruby
Moeh has quit [Quit: Page closed]
<cscheib>
well, the set_debut_output option outputs the whole SMTP session, which is useful (I'm hitting a customer email server, not one I control)
<cscheib>
I'm hoping to eventually be able to trap the status of the message, so I can do something upon failure
devoldmx has joined #ruby
<cscheib>
which, I can see there are .is_bounced? and .diagnostic_code methods (or whatever they're called), but they don't seem to be something I can output directly via "puts", in my experience
graydot has joined #ruby
gheegh has quit [Ping timeout: 252 seconds]
Mendenhall has joined #ruby
blackmesa has quit [Quit: WeeChat 1.2]
<Ox0dea>
cscheib: Yeah, mikel/mail certainly seems to provide everything you'd need to get at the information you need, but it's not wrapped up nicely and neatly.
<cscheib>
I'll just switch delivery to Net::SMTP directly and re-visit this later
yfeldblum has quit [Remote host closed the connection]
gregf has joined #ruby
graydot has quit [Client Quit]
<cscheib>
trying to wrap my ahead around too may concepts at once, being a relative ruby n00b.
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hal_9000 has quit [Quit: hal_9000]
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
Muhannad has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
gilest has joined #ruby
shinnya has joined #ruby
gilest has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
pengin has joined #ruby
<cscheib>
apologies if stuff I ask makes it seem like I didn't put effort forth to figure things out myself... sometimes I have a rough idea of what I think should be done, but need validation. but, I do actually try to tackle issues myself! appreciate the help, Ox0dea
charliesome has joined #ruby
<shevy>
so much code!
<shevy>
in this world
kies^ has quit [Ping timeout: 252 seconds]
<Ox0dea>
cscheib: No worries, mate. It was obvious to me that you were attempting to fix the problem on your own.
minotep has quit [Ping timeout: 240 seconds]
omegamike has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea>
The problem(?) is that Mail isn't actually a subclass of Net::SMTP, so it doesn't get all of its instance methods.
<cscheib>
are there #ruby recommended learning resources? I wen through the "codeacademy" ruby thing a couple months ago, and I have O'Reilly's Ruby Cookbook
<cscheib>
not really in a mood to clutter my brain with rails stuff right now, but I have browseed the Hartl book
Yzguy has joined #ruby
casadei_ has quit [Remote host closed the connection]
FernandoBasso has quit [Ping timeout: 240 seconds]
sphex has joined #ruby
<Ox0dea>
cscheib: Programming Ruby, Eloquent Ruby, and The Well-Grounded Rubyist are all great.
podman has quit [Quit: Connection closed for inactivity]
<cscheib>
thanks
omegamike has quit [Ping timeout: 265 seconds]
bruno- has quit [Read error: Connection reset by peer]
bruno-_ has joined #ruby
carlosoliveira has quit [Quit: Connection closed for inactivity]
<Ox0dea>
Back in a sec.
Ox0dea has quit [Quit: WeeChat 1.2]
baweaver has joined #ruby
FernandoBasso has joined #ruby
aryaching_ has quit [Ping timeout: 246 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has quit [Remote host closed the connection]
Ox0dea has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
Fire-Dragon-DoL has quit []
elico has joined #ruby
theery has quit [Remote host closed the connection]