Igorshp has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
baweaver has quit [Remote host closed the connection]
LJT has quit [Quit: Sleeping...]
yfeldblu_ has quit [Read error: Connection reset by peer]
Adolf_the_Great has joined #ruby
yfeldblum has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
avril14th_ has joined #ruby
Adolf_the_Great has quit [K-Lined]
tubuliferous_ has quit [Ping timeout: 264 seconds]
Hounddog has joined #ruby
paradisaeidae_ has joined #ruby
kies has quit [Ping timeout: 240 seconds]
paradisaeidae has quit [Ping timeout: 250 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
Joufflu has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: zzz]
[gmi] has joined #ruby
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
[gmi] has quit [Client Quit]
kies has joined #ruby
hacker has joined #ruby
hanmac1 has joined #ruby
<hacker>
why do i keep getting klined?
xcesariox has joined #ruby
<sevenseacat>
good question, why do you?
hacker is now known as Guest87590
<Guest87590>
i don't know is it because you're an ugly cunt sevenseacat ?
Guest87590 was banned on #ruby by sevenseacat [*!97ec1a69@gateway/web/freenode/ip.151.236.26.105]
Guest87590 is now known as NIGGRE
NIGGRE was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
<sevenseacat>
probably.
ahmetkapikiran has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
CUN_TLORD has joined #ruby
edwinvdgraaf has joined #ruby
CUN_TLORD was banned on #ruby by sevenseacat [*!258f0e9d@gateway/web/freenode/ip.37.143.14.157]
CUN_TLORD was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
marr has joined #ruby
hanmac has quit [Ping timeout: 265 seconds]
DavidDudson has joined #ruby
* sevenseacat
munches on popcorn
ahmetkapikiran_ has joined #ruby
d34th4ck3r has joined #ruby
spider-mario has quit [Remote host closed the connection]
ahmetkapikiran has quit [Ping timeout: 272 seconds]
ahmetkapikiran_ is now known as ahmetkapikiran
ta has quit [Remote host closed the connection]
bMalum has quit [Quit: bMalum]
HIT_LER has joined #ruby
<HIT_LER>
hello again sevenseacunt
<HIT_LER>
whoops i mean sevenseacat*
HIT_LER was banned on #ruby by sevenseacat [*!92b911a2@gateway/web/freenode/ip.146.185.17.162]
HIT_LER was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
blackmes1 has quit [Ping timeout: 256 seconds]
KIKES_SUCK has joined #ruby
<KIKES_SUCK>
hi
<ebonics>
so funny lulz
<KIKES_SUCK>
what is?
<ebonics>
u m8
wolflee has joined #ruby
<shevy>
KIKES_SUCK grow up man
rdark has joined #ruby
KIKES_SUCK_ has joined #ruby
<KIKES_SUCK_>
why am i funny edwinvdgraaf
<KIKES_SUCK_>
ebonics:
<shevy>
he even fails at tab completion
<KIKES_SUCK_>
shevy: you mean the ops fail at klining me
<KIKES_SUCK_>
this is my 32nd kline
<ebonics>
KIKES_SUCK_, bcos youre a trashcan with nothing better to do
<shevy>
it's not so hard, it's a big key on your keyboard KIKES_SUCK
<sevenseacat>
don't feed the troll, guys.
<KIKES_SUCK_>
don't listen to sevenseacunt
<sevenseacat>
and girls. and everyone.
KIKES_SUCK was banned on #ruby by sevenseacat [*!4524bc19@gateway/web/freenode/ip.69.36.188.25]
KIKES_SUCK_ was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
roolo has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
RegulationD has joined #ruby
djellemah_ has quit [Ping timeout: 272 seconds]
KIKES_SUCK has quit [Ping timeout: 246 seconds]
<shevy>
seems as if cats have more lives than that troll had
hanmac has joined #ruby
<sevenseacat>
he's changing all his hostname stuff every time, so I don't know how to do anything else other than kick/ban him.
ahmetkapikiran has joined #ruby
KIKES_SUCK_DICK has joined #ruby
<KIKES_SUCK_DICK>
hello again i had to be banned from a few channels to get a kline and come back
KIKES_SUCK_DICK was banned on #ruby by sevenseacat [*!cdcc5516@gateway/web/freenode/ip.205.204.85.22]
KIKES_SUCK_DICK was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
terlar has quit [Quit: WeeChat 1.1.1]
<canton7>
write a little script that autobands people with only caps and underscores in their name
RegulationD has quit [Ping timeout: 244 seconds]
<canton7>
looking down the nick list I don't think it would catch anyone else, and he might be too dumb to figure it out...
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<shevy>
canton7 hehe
GAS_KIKES has joined #ruby
GAS_KIKES is now known as sevenseacun-t
<sevenseacun-t>
hi sevenseacat
sevenseacun-t was banned on #ruby by sevenseacat [*!b043ac55@gateway/web/freenode/ip.176.67.172.85]
sevenseacun-t was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
DavidDudson has joined #ruby
<shevy>
how can people have so much time and patience
DexterLB has quit [Read error: Connection reset by peer]
<shevy>
especially via browser-based webchat
sevenseabitch has joined #ruby
<sevenseabitch>
hello again!
sevenseabitch was banned on #ruby by sevenseacat [*!b23ef973@gateway/web/freenode/ip.178.62.249.115]
sevenseabitch was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
<Ropeney>
some people have alot of spare time
juanpablo_ has joined #ruby
<sevenseacat>
my apologies to everyone here. I'm trying to get staff to help me handle them.
CloCkWeRX has quit [Quit: Leaving.]
<sevenseacat>
I'm not an IRC guru unfortunately
nii236 has quit [Ping timeout: 276 seconds]
<shevy>
Ropeney yeah
<certainty>
no worries sevenseacat, keep it up
paradisaeidae_ has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]]
DexterLB has joined #ruby
sinepreggin has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sinepreggin>
hi guys
<sinepreggin>
is ruby a fun language?
<certainty>
it is for some people yes
bMalum has joined #ruby
<sinepreggin>
but not for sevenseacat right?
<certainty>
bah
juanpablo_ has quit [Ping timeout: 276 seconds]
davidhq has joined #ruby
jenrzzz has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MXfive has joined #ruby
<sevenseacat>
i love ruby.
<certainty>
women and jewels and all that :p
<sevenseacat>
;)
<sinepreggin>
i heard you're having a rough night
Igorshp has joined #ruby
nii236 has joined #ruby
<sinepreggin>
someone keeps coming in here and calling you names like sevenseacunt and no matter how many times they kline her she keeps coming back... isn't that awful sevenseacat?
<certainty>
i should build a language and name it Arkenstone, just because
Igorshp_ has joined #ruby
sinepreggin has quit [K-Lined]
livathinos has joined #ruby
GreyHands has joined #ruby
denver has joined #ruby
thatslifeson has quit [Remote host closed the connection]
Igorshp_ has quit [Remote host closed the connection]
zacts has joined #ruby
CloCkWeRX has joined #ruby
denver has quit [Remote host closed the connection]
Igorshp has quit [Ping timeout: 256 seconds]
last_staff has quit [Read error: Connection reset by peer]
mengu has quit [Remote host closed the connection]
hyperjuice has joined #ruby
mary5030 has joined #ruby
Ropeney has quit [Quit: Leaving...]
TheHodge has joined #ruby
crazydiamond has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
quimrstorres has joined #ruby
bMalum has quit [Quit: bMalum]
terlar has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
hyperjuice has quit [Ping timeout: 264 seconds]
ta has joined #ruby
fabrice31 has quit [Remote host closed the connection]
sophie_ has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
kyrylo_ has joined #ruby
lordkryss has joined #ruby
bMalum has joined #ruby
<al2o3-cr>
I'd suggest this for the time being: /ban *!*@gateway/web/freenode/* or /ban *!*@gateway/* sevenseacat
gizless has joined #ruby
fabrice31 has joined #ruby
<adaedra>
that'd have some undesired side effects
<Radar>
al2o3-cr: Ban all web clients? What about those people who are signed in already through the web?
<al2o3-cr>
use his ip address to then
denver has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 252 seconds]
poguez_ has quit [Quit: Connection closed for inactivity]
gizmore has quit [Ping timeout: 256 seconds]
hmsimha has joined #ruby
<adaedra>
how wonderful.
car has joined #ruby
einarj has joined #ruby
nii236 has left #ruby ["WeeChat 1.1.1"]
ndrei has joined #ruby
bMalum has quit [Client Quit]
mengu has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<Darkwater>
+r the channel
<Radar>
al2o3-cr: And if the IP keeps changing?
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adaedra>
Or we do nothing, as it seems it's calm now.
joonty has joined #ruby
vtunka has joined #ruby
arup_r has quit [Remote host closed the connection]
pandaant has joined #ruby
<al2o3-cr>
sevenseacat was told +r in freenode
msgodf has joined #ruby
AirStar has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
aganov has quit [Remote host closed the connection]
bMalum has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Spami has joined #ruby
loechel has joined #ruby
aganov has joined #ruby
lkba has joined #ruby
Spami has quit [Client Quit]
dorei has joined #ruby
wolflee has quit [Remote host closed the connection]
wolflee has joined #ruby
bMalum has quit [Quit: bMalum]
<agent_white>
Just tuning in... what's the deal with the prick-parade?
LJT has joined #ruby
cellar_door has joined #ruby
toretore has joined #ruby
Zai00 has joined #ruby
fedexo has quit [Read error: Connection reset by peer]
Zai00 has quit [Client Quit]
LJT has quit [Quit: Sleeping...]
CloCkWeRX has left #ruby [#ruby]
arup_r has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
RegulationD has joined #ruby
LJT has joined #ruby
doertedev has joined #ruby
car has quit [Ping timeout: 255 seconds]
Zai00 has joined #ruby
ebonics has quit [Ping timeout: 272 seconds]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
mdw has joined #ruby
RegulationD has quit [Ping timeout: 245 seconds]
AirStar has left #ruby [#ruby]
lidenskap has quit [Remote host closed the connection]
GreyHands has quit [Ping timeout: 256 seconds]
hmsimha has quit [Ping timeout: 256 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
car has joined #ruby
<duderonomy>
Uhm, I want to get better at class design and not think and write procedurally. Do any topical blog posts or essays come to mind?
Igorshp has joined #ruby
granthatcher has joined #ruby
granthatcher has quit [Max SendQ exceeded]
<duderonomy>
Clearly, I just need to think about my problem more. :)
granthatcher has joined #ruby
granthatcher has quit [Max SendQ exceeded]
<duderonomy>
I get the whole Animal -> Mammal -> Dog thing
<duderonomy>
And when modeling the physical world is it less challenging.
granthatcher has joined #ruby
granthatcher has quit [Max SendQ exceeded]
<duderonomy>
But when doing a sysadmin task, I have to think really hard. :)
<avat>
Hello guys, I have a problem with bloating my methods. Let's say for example I have a method "get_actions" which now does following things: 1. call GET request and download json with data, 2. Open sqlite database connection, 3. Save each json item to database, 4. After all are saved, log the success message. Should I make them to four methods?
avril14th_ has quit [Remote host closed the connection]
<hanmac1>
avat: i would say yes ;P
<avat>
I thought so, the problem came up when I wanted to write proper tests and it's not easy when one method does a lot of things. So in this example 4 is optimal or should it be more/less?
<adaedra>
avat: try to split it in the smallest bits possible.
<avat>
Should i move logging to different method too?
CustosLimen has joined #ruby
<adaedra>
But how to split it is at your appreciation.
<toretore>
avat: in general, if it's easy to test then it's just right
<toretore>
if it's a pain to test, something isn't right
SuperTaz has quit [Ping timeout: 255 seconds]
lkba has quit [Ping timeout: 265 seconds]
<avat>
toretore: thanks, your advice helps
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<avat>
I need to keep it in mind for future :)
<avat>
And guys, what about logging feature? At the end of method which does something or should the method call different loggin method or should i call logging indepent after everything finishes?
agent_white has quit [Read error: Connection reset by peer]
<duderonomy>
avat: is it useful to think that logging could be in any method?
<duderonomy>
Or, is this logging a task that this class must perform? Does the caller explicitly know about the logging in the sense that the caller calls the logging method?
n008f4g_ has joined #ruby
kt2 has quit [Read error: Connection reset by peer]
<duderonomy>
I should say "user" of the object, not "caller". ugh. :)
<shevy>
hmm
<shevy>
:show_hidden_files => true is the same as: show_hidden_files: true right?
<toretore>
yes
kt2 has joined #ruby
<avat>
It's actually script running in the background responding only to REST events, so loggin is only for informational purposes / debuging
joonty has quit [Ping timeout: 256 seconds]
eyeamaye has quit [Quit: Leaving.]
<toretore>
avat: can you gist the code? it's easier to give advice that way
leafybasil has quit [Remote host closed the connection]
TheBrayn has joined #ruby
<certainty>
naming is hard
<certainty>
but i'm with jhass here
<certainty>
i'd expect actions to return something
kt2 has joined #ruby
<flughafen>
certainty: what are the two hardest things in computer science? cache invalidation and naming things
<shevy>
ninja actions are silent
<certainty>
flughafen: and off-by-one errors
<flughafen>
those are the most common, but not the hardest...
<certainty>
it's a common variation of that phrase
_ixti_ has quit [Ping timeout: 256 seconds]
<certainty>
it's supposed to be a joke
<flughafen>
yes. it is. quite a funny one. mwahaha
<certainty>
;p
<avat>
I named it after GET request which actually downloads json of actions
yeticry has quit [Ping timeout: 240 seconds]
shellfu_afk has quit [Read error: Connection reset by peer]
<avat>
somewhere i read to name functions like after word TO, ex. TO get_user_name { ... } which in ruby becomes def get_user_name
<avat>
in Clean Code actually :D
<certainty>
i don't like get_*, set_*
<jokke>
hi
<avat>
so I guess naming is decision of preference instead of an error?
<jokke>
i'm having some trouble with bundler
<jokke>
i run bundle install
<jokke>
and it fails to build some native extensions
yeticry has joined #ruby
<avat>
certainty: it's really wrong to use GET, SET in method names?
juanpablo_ has joined #ruby
<jokke>
if i run gem install gemname -v 'version' it installs those gems just fine
<jokke>
i'm using chruby
<certainty>
avat: well in ruby we have attr_readers/attr_writers
<jokke>
(in case that makes a difference)
<certainty>
avat: which are just your_field/your_field=
d34th4ck3r has joined #ruby
<jokke>
after the bundle was complete (after manually installing the failing gems) i got errors, that some gems were not found in the sources even though bundle lists them with the correct versions
iotouch has quit [Quit: This computer has gone to sleep]
RegulationD has joined #ruby
iotouch has joined #ruby
Stichoza has joined #ruby
<jhass>
avat: http://paste.mrzyx.de/p1lfwozfe names are still off since I couldn't really decipher what this is about, but should give you some ideas
<avat>
Thanks a lot guys, I'll dive into it and try to refactor my code
Akagi201 has joined #ruby
craigp has joined #ruby
Igorshp has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
Igorshp has joined #ruby
<avat>
And no I start to understand how can I write tests to this code :D
<jhass>
avat: in short identify the "atomic" operations of your code and give them nice names by extracting them to methods, then group related methods into a class (if they share state) or module (if they don't share state)
<avat>
now* I start
Igorshp has quit [Remote host closed the connection]
roolo has joined #ruby
Igorshp has joined #ruby
Igorshp has quit [Remote host closed the connection]
hyperjuice has joined #ruby
davedev2_ has joined #ruby
astrobunny has quit [Remote host closed the connection]
leafybasil has joined #ruby
davedev24_ has quit [Ping timeout: 250 seconds]
astrobunny has joined #ruby
Stichoza has quit [Quit: Be back later ...]
lidenskap has joined #ruby
leafybasil has quit [Remote host closed the connection]
leafybasil has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
senayar has joined #ruby
senayar has joined #ruby
funburn has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
codecop has quit [Remote host closed the connection]
fabrice31 has quit [Remote host closed the connection]
roshanavand has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
goose_ has joined #ruby
<funburn>
i just came across a weird thing that I can’t explain. I’m declaring a hash, inside a block. One of the keys is :end. If I declare it with a hash_rocket, it works fine. but if I use the ruby 2 syntax it bombs with an “unexpected end of input” (example https://gist.github.com/mtuckerb/b9ea4c3a030a83836ae8)
<rdark>
funburn: end is a keyword
Leef_ has joined #ruby
<funburn>
but doesn’t end: “string” make it a symbol?
TheBrayn has joined #ruby
arturaz has joined #ruby
<rdark>
afaik you can't override it as it'll bomb with a syntax error
<funburn>
is that what I’m doing when I declare my hashes like {key: value}?
mdw has joined #ruby
<rdark>
funburn: symbol syntax is to prefix with a colon, not postfix
dumdedum has joined #ruby
<rdark>
{ this: that } is just another way of writing { this => that }
<rdark>
if you wanted the key to be a symbol, you can write { :this => that }
<funburn>
ah, I assumed that :this => that was == this: that
<funburn>
it seems to be everywhere else I have used it
<doertedev>
http://pastie.org/pastes/10184038/text << what can cause gem's files failing to include files from the same directory if they exist and there is no typo?
<funburn>
ah I see
mdw has quit [Ping timeout: 256 seconds]
codecop has joined #ruby
<funburn>
it works if the key is a symbol, but if the key is a method /before/ it’s declared a symbol it won’t work
<funburn>
it will assume I mean the method
<funburn>
or keyword
<funburn>
thanks for clarifying
Igorshp has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
Igorshp has joined #ruby
Rickmasta has joined #ruby
<doertedev>
digital_ocean_domain_record_create.rb:14 << include 'digital_ocean_base' << i see the digital_ocean_base.rb exists and does not have any weird unreadable mode set. Anyone seen something similar yet?
Igorshp has quit [Read error: Connection reset by peer]
Igorshp_ has joined #ruby
idafyaid has quit [Ping timeout: 246 seconds]
goose_ has quit [Remote host closed the connection]
d34th4ck3r has quit [Quit: zzz]
mwilson has quit [Remote host closed the connection]
roshanavand has quit [Quit: Konversation terminated!]
senayar has joined #ruby
roshanavand has joined #ruby
goose_ has joined #ruby
wpp has joined #ruby
goose_ has quit [Read error: Connection reset by peer]
goose_ has joined #ruby
_blizzy_ has joined #ruby
colorados has quit [Remote host closed the connection]
colorados has joined #ruby
fella5s has joined #ruby
mengu has joined #ruby
wolfleemeta has quit [Remote host closed the connection]
powder has quit [Ping timeout: 245 seconds]
wolfleemeta has joined #ruby
powder has joined #ruby
DEA7TH has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Mohan_ has quit [Ping timeout: 265 seconds]
roshanavand has quit [Quit: Konversation terminated!]
psy_ has joined #ruby
sepp2k has joined #ruby
blackmes1 has quit [Ping timeout: 264 seconds]
Mohan has joined #ruby
goose_ has quit [Remote host closed the connection]
Mohan is now known as Guest26017
xcesariox has quit [Ping timeout: 264 seconds]
jogara has joined #ruby
RegulationD has joined #ruby
iotouch has joined #ruby
User458764 has joined #ruby
Zai00 has quit [Quit: Zai00]
GreyHands has joined #ruby
iasoon has joined #ruby
sdothum has joined #ruby
thirdknife has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goose_ has joined #ruby
rahult has joined #ruby
davedev24_ has joined #ruby
astrobunny has joined #ruby
tubuliferous_ has joined #ruby
senayar has quit [Remote host closed the connection]
davedev2_ has quit [Ping timeout: 256 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
goose_ has quit [Ping timeout: 240 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tubuliferous_ has quit [Ping timeout: 256 seconds]
claptor has quit [Quit: this channel is bakas]
zotherstupidguy has quit [Ping timeout: 264 seconds]
livathinos is now known as livathinos|away
livathinos|away has quit []
Squarepy has joined #ruby
doodlehaus has joined #ruby
Leef_ has quit [Quit: Leaving]
iotouch has quit [Quit: This computer has gone to sleep]
<izzol>
jhass: LoadError: cannot load such file -- fog-libvirt
<jhass>
"fog/libvirt" then?
bruno- has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby
<izzol>
irb(main):001:0> require 'fog/libvirt'
<izzol>
=> true
<izzol>
ha!
<izzol>
thanks jhass
barkerd427 is now known as zz_barkerd427
tekacs has quit [Quit: Disappearing... *poof*]
ldnunes has joined #ruby
serivich has joined #ruby
theotherstupidgu has quit [Quit: Lost terminal]
hyperjuice has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
doodlehaus has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
aryaching has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
funburn has quit [Ping timeout: 264 seconds]
tekacs has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
idafyaid has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
yfeldblum has quit [Ping timeout: 265 seconds]
<surs>
I'm using optparse. Do I need to specify long switches?
simpyll has quit [Ping timeout: 272 seconds]
<centrx>
no I don't think so, what do you mean?
<surs>
opts.on("-cX","explanation") is fine?
<centrx>
yup, pretty sure
<centrx>
I use the long without the short myself
<centrx>
so vice-versa must work too
<surs>
or does it have to be opts.on("-c","--case X","expl)
<surs>
ok
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
rippa has joined #ruby
antgel has joined #ruby
_blizzy_ has quit [Ping timeout: 265 seconds]
doodlehaus has joined #ruby
<hanmac1>
shevy: i am doing commits for rwx again ... and you cant stop me! ;P
Zai00 has joined #ruby
<shevy>
\o/
jimms has joined #ruby
senayar has joined #ruby
sophie_ has quit [Ping timeout: 244 seconds]
ascarter has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 264 seconds]
djellemah_ has joined #ruby
Guest53131 has quit [Ping timeout: 264 seconds]
ascarter has joined #ruby
antgel has joined #ruby
Mohan_ has joined #ruby
ascarter has quit [Max SendQ exceeded]
alderamin has joined #ruby
ascarter has joined #ruby
wjimenez5271 has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
tekacs has quit [Quit: Disappearing... *poof*]
tekacs has joined #ruby
marens has quit [Ping timeout: 272 seconds]
jimms has quit [Remote host closed the connection]
charliesome has joined #ruby
qwertme has joined #ruby
bearnado has joined #ruby
<shevy>
I need to rewrite a class
<shevy>
to become as fast as possible
<hanmac1>
shevy the bad thing is that wxWidgets does have some hidden (undocumented( asserts where the input might crash, so i need to check my input before it might be able to crash inside wx ... (some ruby exception is better than a assert/fatal message)
bollullera has joined #ruby
<centrx>
shevy, You could delete everything in it?
<shevy>
centrx yeah but then I could not offer features
romero has left #ruby [#ruby]
<hanmac1>
shevy make us a gist or a repo and we might help you
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
Musashi007 has joined #ruby
<hanmac1>
hm i need to check if there is a Irc client named "BeeChat" too ;P
<DefV>
haha
<DefV>
wee
JDiPierro has quit [Remote host closed the connection]
starship has joined #ruby
aryaching has quit []
bkxd has joined #ruby
d10n-work has joined #ruby
aryaching has joined #ruby
shellfu_afk has joined #ruby
shellfu_afk is now known as shellfu
AlphaAtom has joined #ruby
<adaedra>
hanmac1: there's bitlbee
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
charliesome has quit [Ping timeout: 256 seconds]
LJT has quit [Quit: Sleeping...]
AlphaAtom has quit [Max SendQ exceeded]
oo_ has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
juanpablo_ has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
LJT has joined #ruby
AlphaAtom has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
scripore has quit [Quit: This computer has gone to sleep]
charliesome has joined #ruby
LJT has quit [Client Quit]
juanpablo_ has quit [Client Quit]
juanpablo_ has joined #ruby
juanpaucar has joined #ruby
scripore has joined #ruby
alderamin has joined #ruby
gizless has joined #ruby
gizmore has quit [Ping timeout: 256 seconds]
Mohan_ has quit [Ping timeout: 265 seconds]
iamjarvo has joined #ruby
LJT has joined #ruby
bmurt has joined #ruby
juanpaucar has quit [Remote host closed the connection]
Akagi201 has joined #ruby
gregf has quit [Quit: WeeChat 1.1.1]
lb5tr has joined #ruby
<lb5tr>
Hi guys, I just bumped version of my gem at rubygems.org
Earthnail has joined #ruby
<lb5tr>
and I still can't download the newest one using bundle
<adaedra>
bundle update
<lb5tr>
is there some kind of propagation period?
<lb5tr>
let me check
Mohan_ has joined #ruby
<lb5tr>
bundle update downgrades my gem version inside Gemfile.lock to newest-1 :/
zz_Outlastsheep is now known as Outlastsheep
<Earthnail>
hi there. Trying to figure out the length of MP3 files on my AWS S3 storage. All I need to do is read the metadata; as such there is no need to download the entire file. ruby-mp3info seems to be the most prominent gem for doing that; it accepts a filename or a StringIO. Is there a way to convert an S3Object into a StringIO so mp3info only downloads the bits of the file it needs?
<adaedra>
does gem install get the latest version?
<lb5tr>
no
crazydiamond has joined #ruby
<lb5tr>
if I do manual bump of version in Gemfile.lock
<adaedra>
If gem install can't get it, bundle won't
<jhass>
and bundler and gem install install 0.0.47?
mengu has quit [Remote host closed the connection]
<lb5tr>
yeah
roolo has quit [Ping timeout: 264 seconds]
<lb5tr>
let me try gem install one more time
jtdowney has joined #ruby
<lb5tr>
ERROR: Could not find a valid gem 'cuculungwa-0.0.48' (>= 0) in any repository
<lb5tr>
,_,
qwertme has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
<apeiros>
lb5tr: you're mingling gem name and version
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
<tek0011>
Hey all. I, to put it bluntly, have no idea wth I am doing in Ruby. Anyone care to take a look at this? I realize I might be asking for alot but any help would be appreciated. I am trying to take some output, remove dupes, and reorganize into a list - https://gist.github.com/tek0011/346152ee616a3485e199
<lb5tr>
crap
Musashi007 has quit [Quit: Musashi007]
haxrbyte_ has joined #ruby
<lb5tr>
apeiros: yeah, I just used to portage syntax
<lb5tr>
,_,
AlphaAtom has joined #ruby
_ixti_ has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
neohunter has joined #ruby
roolo has joined #ruby
Akagi201 has quit [Remote host closed the connection]
<lb5tr>
apeiros: :3 gem install worked
<apeiros>
lb5tr: what's the line you have in your Gemfile?
<adaedra>
tek0011: to get the serial number, a regex match is enough. Then you get an array of the serials on which you can #uniq.
<lb5tr>
apeiros: but what about bundle?
emilkarl has joined #ruby
<lb5tr>
cuculungwa (0.0.48)
Giorgio has joined #ruby
delianides has quit [Remote host closed the connection]
<tek0011>
adaedra: that might get me somewhere. I can figure out getting each serial number and removing the dupes. I'll look into #unique. thanks
delianides has joined #ruby
Akagi201 has joined #ruby
haxrbyte has quit [Ping timeout: 255 seconds]
<jhass>
lb5tr: Gemfile, not Gemfile.lock
<jhass>
well, also that's the correct version in your lock?
<wasamasa>
I thought devops meant being both dev and op
<wasamasa>
because, uh, the recession is hitting all of us hard!
jimms has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
<lb5tr>
wasamasa: yeah, but I'm not working directly with such details
<lb5tr>
maybe I should
Mohan_ has quit [Ping timeout: 272 seconds]
<lb5tr>
:P
bkxd has quit [Ping timeout: 264 seconds]
Mohan_ has joined #ruby
ndrei has joined #ruby
cajone has left #ruby [#ruby]
senayar has quit [Remote host closed the connection]
freerobby has joined #ruby
emilkarl has quit [Ping timeout: 272 seconds]
casadei_ has joined #ruby
consumerism has joined #ruby
emilkarl has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
tagrudev has quit [Remote host closed the connection]
<consumerism>
i'm trying to figure out how to set the POST body using an object i created with Curl::Easy.new. i can set the url when i create the object, and i can set options after that but i can't find the right option to set the actual POST data
conta has joined #ruby
tubuliferous_ has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
parduse has quit []
MasterPiece has quit [Ping timeout: 272 seconds]
<havenwood>
Giorgio: alias bar foo
thatslifeson has joined #ruby
Pumukel has quit [Ping timeout: 265 seconds]
senayar has joined #ruby
jimms has joined #ruby
<havenwood>
Giorgio: Hard to say from what you're showing. More context might help if an alias isn't what you're looking for.
<Giorgio>
i need from method to pass same keyword argument to another
<Giorgio>
which is called inside method
tubuliferous_ has quit [Ping timeout: 245 seconds]
<havenwood>
Giorgio: I don't see a better way then for that particular circumstance, if I understand you right.
<jhass>
!fact mk fake Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
Zekka has quit [Ping timeout: 256 seconds]
<ruboto>
jhass, I will remember that fake is Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
denver has quit [Ping timeout: 256 seconds]
<Giorgio>
yep i was thinking same its better how i give it in the gist
danman has joined #ruby
hanmac1 has quit [Quit: Leaving.]
tkuchiki has quit [Remote host closed the connection]
Kricir has quit []
shellfu_afk is now known as shellfu
ych_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
denver has joined #ruby
Mohan_ has quit [Ping timeout: 244 seconds]
serivichi has joined #ruby
<consumerism>
toretore: thanks, so i have a hash which represents the data. and all the examples i see which send regular form data use Curl::PostField.content for each individual value. is there not a way to send the hash as-is instead of converting each value into one of those?
tjohnson has joined #ruby
jtdowney_ has joined #ruby
Encapsulation has quit [Ping timeout: 264 seconds]
<consumerism>
by hash as-is, i mean either the hash and a content-type application/json which would convert it to json, or just to_json it and send the string
Mohan_ has joined #ruby
<consumerism>
i just want to set the post body to a string, really
<consumerism>
i don't want to have to tear it down and rebuild it into a bunch of Curl::PostField.contents
livathinos is now known as livathinos|away
livathinos|away has quit []
<tek0011>
wasamasa: not necessarily. I am devops and dont dev
<wasamasa>
tek0011: what the hell are you doing then
<tek0011>
browsing reddit
TuxOtaku has joined #ruby
<havenwood>
well, that is something both dev and ops do.
werelivinginthef has joined #ruby
<tek0011>
jk. I know enough to edit code, change it, etc. not create it. so i fix things, add things, remove things.
serivich has quit [Ping timeout: 240 seconds]
craigp has quit []
Feyn has quit [Quit: Leaving]
<TuxOtaku>
hey guys, anyone here use rbenv?
<TuxOtaku>
I'm trying to set it up on centos 6.
jtdowney has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
xxneolithicxx has joined #ruby
<adaedra>
Ask.
<TuxOtaku>
I got everything installed, and used rbenv to install ruby 1.9.3
<ddv>
TuxOtaku: forget about centos, ancient shit
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Remote host closed the connection]
livathinos has joined #ruby
<TuxOtaku>
ddv: would, but that's what we standardize on here
<TuxOtaku>
so I have no choice
wpp has quit []
<TuxOtaku>
so bitching about OSes aside
<adaedra>
Go on
jtdowney has joined #ruby
<TuxOtaku>
I installed 1.9.3
<TuxOtaku>
but then after I did an rbenv global 1.9.3-p551, ruby --version still says ruby 1.8
<havenwood>
1.9.3 is past end of life. Just has to be said. :P
<adaedra>
TuxOtaku: what does `type rbenv` says?
<TuxOtaku>
adaedra: rbenv is hashed
<adaedra>
does not looks normal
<TuxOtaku>
oh wait sorry, that was as another user I was trying to test with
<TuxOtaku>
one sec
<adaedra>
should say it's a function
jtdowney_ has quit [Ping timeout: 250 seconds]
<TuxOtaku>
rbenv is /home/dashing/.rbenv/bin/rbenv
ndrei has quit [Ping timeout: 264 seconds]
<adaedra>
You don't initialize rbenv in your shell.
<adaedra>
eval "$(rbenv init -)"
<adaedra>
should be in your .bashrc/.zshrc
troulouliou_dev has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
giuseppesolinas has quit [Quit: Leaving]
<TuxOtaku>
yep, that fixed things
<adaedra>
By the way, ruby 1.9.3 is also available in SPL for CentOS 6. But as havenwood said, it's past end-of-life.
<TuxOtaku>
thanks adaedra
<adaedra>
yw
jtdowney_ has joined #ruby
Dopagod has quit [Ping timeout: 276 seconds]
<TuxOtaku>
what's the current stable version of ruby?
<TuxOtaku>
2.2.2?
<adaedra>
See topic ;)
<TuxOtaku>
ah, right
livathinos has quit []
jtdowney has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
parduse has joined #ruby
Spami has quit [Client Quit]
jgt has quit [Ping timeout: 256 seconds]
roolo has quit [Remote host closed the connection]
ndrei has joined #ruby
roolo has joined #ruby
danman has quit [Quit: danman]
_blizzy_ has joined #ruby
stoffus has joined #ruby
Zekka has joined #ruby
JDiPierro has joined #ruby
systemd0wn has quit [Remote host closed the connection]
systemd0wn has joined #ruby
arturaz has quit [Ping timeout: 255 seconds]
kblake has joined #ruby
railsForDaiz has joined #ruby
joelataylor has joined #ruby
jlast has joined #ruby
cgrieger^away is now known as cgrieger
_blizzy_ has quit [Ping timeout: 265 seconds]
Astrologos_ has joined #ruby
jlast has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roolo has quit [Read error: Connection reset by peer]
zcreative has quit [Quit: (null)]
<ericwood>
"sqrt" always looks like "squirt"
AlphaAtom has joined #ruby
ki0_ has quit [Ping timeout: 246 seconds]
AlphaAtom has quit [Max SendQ exceeded]
<mwlang>
Is there a simple xpath technique for determining if a bit of HTML fragment is a single row, single cell table? I want to convert these into paragraphs. That is: “<table><tr><td>Foo</td></tr></table>” => “<p>Foo</p>”
Astrologos_ is now known as dorei
AlphaAtom has joined #ruby
<mwlang>
ericwood: alias :squirt :sqrt :-)
<ericwood>
woohoo
alex88 has quit [Read error: Connection reset by peer]
<ericwood>
mwlang: do a css selector to find the children and check the length
<ericwood>
honestly not an awful use for a SAX parser vs. DOM
gagrio_ has quit [Ping timeout: 264 seconds]
turtil has quit [Ping timeout: 256 seconds]
<mwlang>
ericwood: that’s an idea...
alex88 has joined #ruby
<ericwood>
it definitely is
conta has quit [Ping timeout: 246 seconds]
<ericwood>
depends on how you want to incorporate this into the greater project
Mohan_ has quit [Ping timeout: 272 seconds]
<ericwood>
pulling data from only rows that have one child? totes use a SAX parser and run through it real fast
<mwlang>
ericwood: yeah…I’m already SAX parsing giant XML documents.
jenrzzz has joined #ruby
<ericwood>
so sorry
^conner has quit [Ping timeout: 240 seconds]
<mwlang>
the XML has a <description> for the products which can be HTML formatted fragments.
Mohan_ has joined #ruby
<mwlang>
and it looks like I can just about reliably tell if those descriptions originated from websites using MCE editor, CKEditor, or MS-Word saved as HTML files.
Spami has joined #ruby
fschuindt has joined #ruby
<ericwood>
oh fuck I hate dealing with those, they generate the worst markup :o
jimms has joined #ruby
sinkensabe has joined #ruby
<ericwood>
and if the user pasted in something from Word just give up entirely :|
<mwlang>
ericwood: like single celled tables where paragraphs should’ve been?
A205B064 has joined #ruby
mocha has quit [Ping timeout: 256 seconds]
<ericwood>
it adds in serveral hundred lines of markup with formatting info
<ericwood>
no joke
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome_ has joined #ruby
<mwlang>
ericwood: heh…the ms-word ones proved easiest to clean up. It’s mostly just ripping out the attributes and tossing the FONTs
ta has joined #ruby
<ericwood>
yeah that's true. still hate it tho
charliesome has quit [Ping timeout: 256 seconds]
roolo has joined #ruby
GaryOak_ has joined #ruby
<mwlang>
oh, and the unwrapping SPANs. (toss the tag, keep the content)
<fschuindt>
Guys, my Logger is recieving permission deined to open the file to write, it's because it's running by the system I guess (it's a daemon). Cause when I run by the user "ruby getinfo_pajubot.rb" it goes ok. But when I start the daemon "ruby pajubot start" it gets permission deined. What permisions should I set to my log file?
jottr has quit [Quit: WeeChat 1.1.1]
charliesome_ has quit [Read error: Connection reset by peer]
<ericwood>
might want to make the daemon user and file the same group
<ericwood>
then make it group-writeable but I am totally not an ops guy
charliesome has joined #ruby
hmsimha has quit [Ping timeout: 256 seconds]
<mwlang>
^^ and yet is totally on the right track….
<ericwood>
even a broken clock is right twice a day
jottr has joined #ruby
stoffus has quit [Ping timeout: 256 seconds]
<ericwood>
but yeah things like this are basically what unix user groups were invented for
<GaryOak_>
ericwood: your answer sounded good to me
<ericwood>
:D
endash has joined #ruby
<fschuindt>
What's the group that runs daemons in unix like systems?
ramfjord has joined #ruby
<ericwood>
¯\_(ツ)_/¯
<eam>
fschuindt: there isn't necessarily one, you'll need to look and see
<fschuindt>
hahaha
<ericwood>
I fell asleep during that class
<fschuindt>
eam: ok
<eam>
fschuindt: ps -ef|grep pajubot
zotherstupidguy has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
<zotherstupidguy>
is there a way to declare global dependency in a rake file?
charliesome has joined #ruby
<zotherstupidguy>
that is to say every task will depend on a certain task?
<GaryOak_>
zotherstupidguy: you can just require it
<zotherstupidguy>
require it is duplication
<mwlang>
zotherstupidguy: you just have to point the various tasks at the other task you want to depend on.
rbennacer has joined #ruby
jackjackdripper has joined #ruby
<zotherstupidguy>
mwlang is there a way to make this predefined in a rake file
<GaryOak_>
ahhh you meant a task dependency
<fschuindt>
eam: it sends me a bounch of information about the software, but I cant find the group, I will look deeper, ty
<zotherstupidguy>
GaryOak_ yup
bearnado__ has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tcrypt has joined #ruby
<mwlang>
zotherstupidguy: I could be wrong, but I thought by design you have to chain ‘em up.
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
<mwlang>
you might be able to do some sort of meta-programming wizardry to tie all the tasks to a specific dependent task, but that’s beyond my expertise.
roolo has quit [Remote host closed the connection]
msgodf has quit [Ping timeout: 272 seconds]
<suppp>
GaryOak_ yea that's why I was asking. I saw the last commit was 4 years ago, I remember it being a good think I don't know why they stoped
symbol has joined #ruby
roolo has joined #ruby
ReK2 has joined #ruby
failshel_ has joined #ruby
jtdowney_ has joined #ruby
apurcell has joined #ruby
apurcell has quit [Client Quit]
mg^^ has joined #ruby
ych_ has joined #ruby
charliesome has quit [Ping timeout: 256 seconds]
iamayam has quit [Ping timeout: 264 seconds]
jtdowney has quit [Read error: Connection reset by peer]
imanzarrabian has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lordkryss has joined #ruby
willharrison has joined #ruby
failshell has quit [Ping timeout: 256 seconds]
fantasticsid has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
AlexRussia has joined #ruby
thirdknife has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
iamayam has joined #ruby
andikr has quit [Remote host closed the connection]
charliesome has quit [Read error: Connection reset by peer]
jgt has joined #ruby
ascarter_ has joined #ruby
charliesome has joined #ruby
nobitanobi has joined #ruby
maletor has joined #ruby
thirdknife has joined #ruby
bearnado__ is now known as bearnado
nobitanobi has quit [Remote host closed the connection]
bearnado has quit [Quit: Leaving]
^mg^ has quit [Ping timeout: 264 seconds]
constantinexvi has quit [Ping timeout: 264 seconds]
snockerton has quit [Ping timeout: 256 seconds]
constantinexvi has joined #ruby
ndrei has joined #ruby
LJT has joined #ruby
einarj has quit [Remote host closed the connection]
snockerton has joined #ruby
<GaryOak_>
suppp: Well all the code is there, you could start working on it
icebourg has joined #ruby
LJT has quit [Client Quit]
ayaz has quit [Ping timeout: 264 seconds]
senayar has quit [Remote host closed the connection]
ayaz has joined #ruby
nobitano_ has joined #ruby
tus has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Stalkr_ has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
rbennacer has quit [Remote host closed the connection]
Stalkr^ has joined #ruby
senayar has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti has joined #ruby
fabrice31 has quit [Remote host closed the connection]
failshel_ has quit [Remote host closed the connection]
fantasti` has joined #ruby
failshell has joined #ruby
doertedev has quit [Ping timeout: 250 seconds]
serivichi has quit [Ping timeout: 244 seconds]
Stalkr_ has quit [Ping timeout: 250 seconds]
mistermocha has joined #ruby
JDiPierro has quit [Remote host closed the connection]
jgt has joined #ruby
tubuliferous_ has joined #ruby
fantasticsid has quit [Ping timeout: 264 seconds]
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symbol has quit [Quit: WeeChat 1.1]
granthatcher has quit []
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Mohan_ has quit [Ping timeout: 276 seconds]
hakunin has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
hakunin has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
kbarry_ has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
Mohan_ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
AlphaAtom has joined #ruby
hakunin has joined #ruby
<kbarry_>
gem list shows me I have 2 versions of a ruby, but when i try to uninstall the older version, it tells me its not installed.
failshell has quit [Ping timeout: 276 seconds]
<kbarry_>
I tried installing the gem again, and uninstalling, but it still appears in the list.
AlphaAtom has quit [Max SendQ exceeded]
paulcsmith has quit [Quit: Be back later ...]
<kbarry_>
I can't seem to get rid of the item from my list.
<Senjai>
morning ruby
AlphaAtom has joined #ruby
<havenwood>
Senjai: G'mornin
tubuliferous_ has quit [Ping timeout: 250 seconds]
<Senjai>
Im in terrible crappy bug ville today
AlphaAtom has quit [Max SendQ exceeded]
astrobunny has joined #ruby
suppp has quit [Ping timeout: 246 seconds]
<GaryOak_>
awww it'll be ok
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
<Senjai>
Not really
<Senjai>
The worst part, is it has nothing to do with my code. I'm just fixing other peoples code :(
livathinos has quit []
AlphaAtom has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
bmurt has quit []
charliesome has quit [Read error: Connection reset by peer]
<GaryOak_>
That's particularly awful in ruby
hakunin has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
<Senjai>
Eh
<Senjai>
You can call me chief git revert'r today
Xiti has quit [Quit: Xiti]
badhatter has quit [Ping timeout: 256 seconds]
ebernhardson has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Hounddog has quit [Read error: Connection reset by peer]
mistnim has joined #ruby
thatslifeson has quit []
moretti has joined #ruby
<mistnim>
hello, can you tell me what is this: ?\e
jenrzzz has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
fabrice31 has joined #ruby
<ebernhardson>
is there any good way to put an idiographic space(\u3000) into a cucumber test in a more explicit way than including the raw character? I'm thinking i could just create my own placeholder and then replace it, but maybe there is a better way?
agent_white has quit [Quit: night]
<havenwood>
mistnim: The character literal for Escape.
<havenwood>
mistnim: Like: "\e"
gsd has joined #ruby
iamjarvo has joined #ruby
<mistnim>
havenwood: what you don't need to put in quotes?
^conner has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
paulcsmith has joined #ruby
<kbarry_>
My "gem list" is not accurate. Its listing a gem I have uninstalled..... I checked the system looking for the gem being there, and it is not present. Where can i update the gem list manually?
blackmes1 has joined #ruby
kyrylo has left #ruby ["Konversation terminated!"]
baweaver has joined #ruby
failshell has joined #ruby
Bira has joined #ruby
AirStar has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 240 seconds]
<GaryOak_>
kbarry_: do you mean in a Gemfile, or just on your system?
<adaedra>
kbarry_: can be another version
mikecmpbll has quit [Ping timeout: 250 seconds]
Zai00 has quit [Quit: Zai00]
quimrstorres has joined #ruby
snockerton has quit [Quit: Leaving.]
MatthewsFace has joined #ruby
jenrzzz has joined #ruby
jgt has quit [Ping timeout: 264 seconds]
mike_c_11 has quit [Read error: Connection reset by peer]
Spami has joined #ruby
snockerton has joined #ruby
jimms has joined #ruby
loechel has quit [Ping timeout: 265 seconds]
<kbarry_>
I mean that when i do "gem list" i see "bundler (1.9.3, 1.1.4) but when i do "gem uninstall bundler -v 1.1.4" i get "gem 'bundler' not present (or soemthing?)
<kbarry_>
(The message ones gets when trying to uninstall a non-present gem.)
<kbarry_>
as in, "gem uninstall bundler" works (prompts for deletion of the bundler 1.9.3
<kbarry_>
i tried reinstalling bundler 1.1.4, and the removing it,
<kbarry_>
but its still "in the list"
unshadow_ has joined #ruby
jottr has joined #ruby
unshadow has quit [Ping timeout: 246 seconds]
alex88 has quit []
edwinvdgraaf has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cyberarm has joined #ruby
moretti has quit [Quit: Leaving...]
baweaver has quit [Remote host closed the connection]
<havenwood>
kbarry_: after `gem uninstall bundler` what shows up for: gem which bundler
jottr has quit [Ping timeout: 265 seconds]
kbarry_ has quit [Ping timeout: 252 seconds]
bootstrappm has joined #ruby
_djbkd has joined #ruby
<havenwood>
kblake: The path to bundler version 1.1.4? Or?: ERROR: Can't find ruby library file or shared library bundler
<havenwood>
kblake: sorry, misstell
<havenwood>
kblake: ^
jenrzzz has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
<jhass>
havenwood: still wrong :P
<jhass>
kbarry left
<havenwood>
I guess this is why seeing part messages can be nice... :P
<jhass>
yeah, smart filter ftw^^
allcentury has quit [Ping timeout: 256 seconds]
<havenwood>
I should set it up so I see part if, yeah
tuelz has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<benlieb>
how do I test an instance method that should through exceptions of various types (rspec). I'm usign a rescue block in my test and it feels weird.
<benlieb>
is there a way to specify how many assertions should run in a test in rspec?
Akagi201 has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
CustosLimen has quit [Ping timeout: 276 seconds]
<benlieb>
or *expectations*
tek0011 has left #ruby [#ruby]
senayar has quit []
<havenwood>
benlieb: Write tests for your tests. And tests for those too. Which need to be tested. All the way down.
Cust0sLim3n has quit [Max SendQ exceeded]
Kentlol has joined #ruby
rippa has joined #ruby
Cust0sLim3n has joined #ruby
jtdowney_ has quit []
mrsolo has joined #ruby
<havenwood>
benlieb: Hmm, I've never actually seen the number of asserts be an assertion.
wallerdev has joined #ruby
<GaryOak_>
benlieb: You can have the test expect for the method to throw an error
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
kbarry has joined #ruby
Igorshp has quit [Remote host closed the connection]
rbennacer has joined #ruby
<rdark>
I have a method that constructs + returns a block (stored as a proc) - however the variables within that block are only evaluated in the scope within which the block is actually called
towski_ has joined #ruby
AlphaAtom has joined #ruby
jottr has joined #ruby
pocketprotector has quit [Ping timeout: 264 seconds]
<rdark>
is there a sane way I can populate the variables within that block without evaluating the whole block?
CloCkWeRX has quit [Quit: Leaving.]
mrsolo_ has joined #ruby
ngr_ has joined #ruby
mrsolo has quit [*.net *.split]
fantasti` has quit [*.net *.split]
constantinexvi has quit [*.net *.split]
michaeldeol has quit [*.net *.split]
crazydiamond has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
Axy has quit [*.net *.split]
iamninja has quit [*.net *.split]
duderonomy has quit [*.net *.split]
jobewan_ has joined #ruby
SirFunk has quit [*.net *.split]
jobewan has quit [*.net *.split]
gigetoo has quit [*.net *.split]
stryek has quit [*.net *.split]
pl1ght has quit [*.net *.split]
unreal has quit [*.net *.split]
WillAmes has quit [*.net *.split]
dling has quit [*.net *.split]
hgl has quit [*.net *.split]
hackeron has quit [*.net *.split]
gregf_ has quit [*.net *.split]
mattp_ has quit [*.net *.split]
Guest82515 has quit [*.net *.split]
ngr has quit [*.net *.split]
go|dfish has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
Luyt_ has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
tskogber1 has quit [*.net *.split]
z3uS has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Nirgali42 has quit [*.net *.split]
stonecolddevin has quit [*.net *.split]
maloik has quit [*.net *.split]
maloik_ has joined #ruby
tskogberg has joined #ruby
stonecolddevin has joined #ruby
<yxhuvud>
rdark: not enough information. Please post your actual code to a pastie with an example of what you want to achieve
ByronJoh1son has joined #ruby
hackeron has joined #ruby
stryek has joined #ruby
crazydiamond has joined #ruby
iamninja has joined #ruby
michaeldeol has joined #ruby
Luyt_ has joined #ruby
<havenwood>
benlieb: I'd bet there's a way to get at RSpec's internal count of expectations, but I don't know how. I don't think it's easily exposed. It'd be easier with Minitest. But yeah, I dunno about that route at all. Hrm.
fantasti` has joined #ruby
mattp_ has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Skelz0r has joined #ruby
Nirgali42 has joined #ruby
go|dfish has joined #ruby
pl1ght has joined #ruby
gigetoo has joined #ruby
thirdknife has quit [Ping timeout: 256 seconds]
dling has joined #ruby
livathinos has joined #ruby
Guest1421 has joined #ruby
nullset68 has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hackeron>
hey, I have a bundler question, I'm running "bundle install" which worked fine on all servers until now, however this time, I am getting: "mv: cannot stat ‘/tmp/bundler20150512-25389-m68mobjson-1.8.2/cache/json-1.8.2.gem’: No such file or directory Bundler::GemspecError: Could not read gem at /var/lib/gems/2.2.0/cache/json-1.8.2.gem. It may be corrupted." - I tried rm -R /var/lib/gems/2.2.0/cache and re
livathinos has quit [Client Quit]
<hackeron>
-running but I get the same error. Any ...
<hackeron>
... ideas?
Apocalypse has joined #ruby
Apocalypse has joined #ruby
Affix has joined #ruby
constantinexvi has joined #ruby
z3uS has joined #ruby
hgl has joined #ruby
SirFunk has joined #ruby
Affix is now known as Guest8805
jonathanwallace has joined #ruby
<GaryOak_>
hackeron: could try bundle clean???
gregf_ has joined #ruby
thirdknife has joined #ruby
DerisiveLogic has joined #ruby
unreal has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hackeron>
GaryOak_: says: Cleaning all the gems on your system is dangerous! If you're sure you want to remove every system gem not in this bundle, run `bundle clean --force`.
<rdark>
it's kind of rough but shows an illustration - basically the instance variables from the class where the proc is constructed are obviously not evaluated within scope of that class, but in the scope where the block gets evaluated
allcentury has joined #ruby
nullset68 has quit [Quit: Leaving]
Hijiri has quit [Quit: WeeChat 1.0.1]
slash_nick has quit [Ping timeout: 272 seconds]
arup_r has joined #ruby
nullset68 has joined #ruby
doodlehaus has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
Zekka has joined #ruby
rahult has joined #ruby
JDiPierro has joined #ruby
nullset68 has quit [Client Quit]
fantasti` has quit [Remote host closed the connection]
joelataylor has quit [Quit: Be back later ...]
tubuliferous_ has joined #ruby
fantasticsid has joined #ruby
<rdark>
I think instance_exec instead of instance_eval might give me what I'm after
edwinvdgraaf has quit [Remote host closed the connection]
<arup_r>
maasha: it was your question.. I see :D
<mwlang>
arup_r: heh…I was like, wtf? for a moment there.
<arup_r>
sorry to poke you mwlang : :(
<maasha>
arup_r: so if the hash has more keys than there are elements in the array?
<mwlang>
no worries!
<maasha>
h = {a: 1, b: 2, c: 3}; a = [:d, :e] --> h = {d: 1, e: 2, c: 3}
A124 has joined #ruby
<arup_r>
maasha: wait,,,
danman_ has joined #ruby
joelataylor has joined #ruby
edwinvdgraaf has joined #ruby
sinkensabe has quit [Remote host closed the connection]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/2015041600]]
<GaryOak_>
maasha: you probably just want a for loop
fantasticsid has quit [Ping timeout: 255 seconds]
leafybasil has quit [Ping timeout: 240 seconds]
danman_ has quit [Client Quit]
<maasha>
GaryOak_: well, the most elegant way actually ;o)
danman has quit [Ping timeout: 245 seconds]
<pipework>
Rarely do you actually want a for loop.
<GaryOak_>
sometimes you need a for loop
<pipework>
Rarely though.
<pipework>
Most of the time you need enumerable.
kwekuanase has joined #ruby
thirdknife has quit [Ping timeout: 256 seconds]
jenrzzz has joined #ruby
<GaryOak_>
If you are needing to loop through multiple enumerables and access them simultaneously, what would you use in ruby?
towski_ has quit [Ping timeout: 256 seconds]
Soda has joined #ruby
<pipework>
Enumerable.
<crowell>
GaryOak_: map?
Papierkorb_ has joined #ruby
<GaryOak_>
A for loop with an index, or something else?
Papierkorb has quit [Quit: Konversation terminated!]
<pipework>
each_with_index if you neec
<GaryOak_>
yeah each_with_index would work
<maasha>
GaryOak_: trust me, there are clever tricks - that is why I ask here.
<pipework>
GaryOak_: The only time you need for is when you want to use the same scope as the caller.
jenrzzz_ has quit [Ping timeout: 264 seconds]
<GaryOak_>
pipework: because the enumerable functions are yielding from the block?
<pipework>
And by use, I mean that your for loop wouldn't be a closure.
PaulCapestany has quit [Quit: .]
<mwlang>
finally figured it out. Needed p.children = cell.children instead of p.content = cell.content
<pipework>
GaryOak_: If you introduce any variables within your for loop, they're available to the scope the for loop was called in even after the for loop is finished. That's the only time you want a for loop.
thirdknife has joined #ruby
<GaryOak_>
gotcha
<mwlang>
I’m not sure of the finer points on what exactly is different. tho’
dfinninger has quit [Remote host closed the connection]
GGMethos has joined #ruby
towski_ has joined #ruby
PaulCapestany has joined #ruby
* dudedudeman
wants to kick Postgres in the nuts
<hackeron>
GaryOak_: that issue seems different, I don't see a mv: cannot stat ‘/tmp/bundler20150512-25426-1gjskp3json-1.8.2/cache/json-1.8.2.gem’: No such file or directory or anything like that?
<GaryOak_>
dudedudeman: what's the deal?
<dudedudeman>
eh, i'm just a frustrated noob attempting to get it up and running, that's all
<dudedudeman>
it's on my machine, i can view the databases in it, but i can't 'createdb blah'
<pipework>
I'd suggest dropping the primitive obsession and write some classes for the objects and just put the code in there. That way you could have a class that has an instance method called #replace_keys(*new_keys)
edwinvdgraaf has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
<maasha>
pipework: That is what I would do if there was no elegant way with primitives.
<pipework>
maasha: Look up primitive obsession.
* mwlang
surprised that nokogiri injects missing tbody’s for tables that don’t have ‘em.
<pipework>
mwlang: It's not like it matters unless you're iterating though. :D
* pipework
finds it rather nice.
<maasha>
pipework: do I need to go incognito for that?
<mwlang>
pipework: which is exactly what I’m doing.
<pipework>
mwlang: Aww. That's going to be fun.
<mwlang>
pipework: yeah, this reduces complexity of my code.
<mwlang>
I don’t have to conditionally select rows on whether it’s present or not.
<pipework>
mwlang: If you can just assume the tbody, then it shouldn't be an issue.
<pipework>
maasha: Why can't you google it?
quimrstorres has quit [Remote host closed the connection]
delianides has quit [Remote host closed the connection]
<mwlang>
pipework: exactly.
<maasha>
pipework: I was guessing I would end up with pages of animal porn
<pipework>
mwlang: I've had it be a problem because of what I needed to output not matching the input, but other than that, it's been nice.
uptownhr has joined #ruby
thirdknife has quit [Ping timeout: 272 seconds]
nullset68 has quit [Quit: WeeChat 0.4.2]
<maasha>
however, that was not the case.
<pipework>
maasha: I wouldn't know. You can add qualifying terms.
nfk has joined #ruby
<mwlang>
pipework: what’s caught me off-guard is that when I iterated through the HTML and then spit out the end result, I still had HTML that didn’t have TBODY’s
<GaryOak_>
dudedudeman: postgresql has built-in json operators to select and transform data out of json strings or blobs, you put in the db
<pipework>
mwlang: huh.
<mwlang>
so I couldn’t figure out why my logic wasn’t working until I realized tbody was thrown in the mix.
edwinvdgraaf has quit [Remote host closed the connection]
flak has joined #ruby
flak is now known as Guest82665
<dudedudeman>
GaryOak_: ooooooooo. that sounds complicated, but would be nice to be able to utilize
<GaryOak_>
dudedudeman: it's actually pretty easy and fast
<ebonics>
>> Hash[['a','b']]
<ruboto>
ebonics # => /tmp/execpad-2bbc3d3beca6/source-2bbc3d3beca6:2: warning: wrong element type String at 0 (expected a ...check link for more (https://eval.in/351438)
<dudedudeman>
GaryOak_: what would be a smart way to start looking in to using them?
arup_r has joined #ruby
<dudedudeman>
like, what's a good application for something like htat?
Monroe is now known as Mostly_Y
zotherstupidguy has quit [Ping timeout: 250 seconds]
<GaryOak_>
dudedudeman: If you're storing any kind of JSON data and want to select or filter based on information in the data
wldcordeiro_ has joined #ruby
Mostly_Y is now known as Monroe
<dudedudeman>
so i guess if you're like, scraping files, and then pushing that data to a json object, you could just pass that right to the database all in one fell swoop?
<arup_r>
It is Rake not allowing to do.... come on!!!!!!!! :/
jackjackdripper has quit [Quit: Leaving.]
<pipework>
arup_r: Then you'd know that your ternary seems off.
<arup_r>
means
<pipework>
One thing that I'd advise is to stop doing so much work in a rake task. I only call a single object and pass in arguments from rake into that object.
<arup_r>
if i print puts db_name before updating args.. it is gving "event" ... correctly
scripore has joined #ruby
<pipework>
That way I can test the object independently
jenrzzz has quit [Ping timeout: 256 seconds]
PaulCapestany has joined #ruby
fschuindt has joined #ruby
<arup_r>
You are true.. but why it is not working.. I am not seeing where I am wrong..
baweaver has joined #ruby
<weaksauce>
arup_r you did the opposite of what I asked you to do. use the value of args[:db_name] and mutate the copy of it.
davidhq has joined #ruby
havenwood has joined #ruby
<arup_r>
weaksauce: I did.. ` args.merge!(:db_name => db_name) if args[:db_name].blank?`
thirdknife has joined #ruby
<arup_r>
still same error
jenrzzz has joined #ruby
shazaum has joined #ruby
Sawbones has joined #ruby
Guest1421 has quit [Ping timeout: 264 seconds]
echelon has left #ruby [#ruby]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arup_r>
weaksauce: got it..
<pipework>
arup_r: And you checked the output of the ternary?
<GaryOak_>
Postgres adds 'postgres' as the default user
ndrei has quit [Ping timeout: 264 seconds]
<shevy>
"5. Use Ruby Enterprise Edition"
<shevy>
"Ruby Enterprise edition provides up to 33% lower memory usage. In order to take advantage of these performance gains though you must be sure to program according to their guidelines."
<shevy>
0_o
<shevy>
o_0
<arup_r>
weaksauce: got you..
<shevy>
I use wicked black voodoo magic for speed gains
<arup_r>
I missed your line.. there
allcentury has joined #ruby
<mwlang>
There’s still a REE?
TheHodge has quit [Quit: Connection closed for inactivity]
<mwlang>
I figured REE enhancements would’ve long ago been merged to MRI
<nvll>
afair REE hasn't been maintained since 2012
mrsolo__ has joined #ruby
<mwlang>
and last I saw REE was in 1.8.7 land.
<mwlang>
(or rather, that was last time I was caring about REE)
<nvll>
>Ruby Enterprise Edition has reached End of Life in 2012. The website is still up, and it still works, but it's no longer actively developed and it is no longer supported.
<adaedra>
I guess it's not relevent since the interpreter got a big overgaul
<adaedra>
overhaul
<nvll>
↑ from theirs website
pabloh has joined #ruby
Akagi201 has quit [Ping timeout: 272 seconds]
mrsolo_ has quit [Ping timeout: 246 seconds]
AlphaAtom has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
MasterPiece has quit [Quit: Leaving]
ki0 has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
qwertme has joined #ruby
diegoaguilar has joined #ruby
sohrab has joined #ruby
ndrei has joined #ruby
granthatcher has joined #ruby
badhatter has joined #ruby
badhatter has joined #ruby
ki0 has joined #ruby
moretti has joined #ruby
granthatcher has quit [Client Quit]
<weaksauce>
arup_r did it work?
<arup_r>
weaksauce: yes.. I now got some rails issue with Postgres
<dudedudeman>
woo! issues with postgres!
<gizmore>
arup_r: try ln -s postgres mysql
<gizmore>
never tried this, though... but it might work?
Kricir has joined #ruby
<weaksauce>
gizmore you don't want it to be linked to a worse database though
<Eiam>
(he was right, it worked way better than google)
kadoppe has joined #ruby
<shevy>
oh
<shevy>
symbolhound to search-for
<shevy>
I thought the name was symbolhound for &&=
Channel6 has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<Eiam>
yeah =)
blackmes1 has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
lidenskap has quit [Remote host closed the connection]
hakunin has joined #ruby
User458764 has joined #ruby
tuelz has joined #ruby
blackmes1 has joined #ruby
diegoaguilar has quit [Quit: Leaving]
cnk has joined #ruby
baweaver has quit [Remote host closed the connection]
Guest8805 is now known as Affix
Affix has quit [Changing host]
Affix has joined #ruby
User458764 has quit [Client Quit]
DEA7TH has joined #ruby
cnk has left #ruby [#ruby]
AlphaAtom has joined #ruby
thirdknife has quit [Ping timeout: 244 seconds]
AlphaAtom has quit [Max SendQ exceeded]
Pipoca has joined #ruby
BTRE has joined #ruby
thirdknife has joined #ruby
AlphaAtom has joined #ruby
Pipoca has quit [Client Quit]
AlphaAtom has quit [Max SendQ exceeded]
lkba has joined #ruby
towski_ has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
cnk has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
lidenskap has joined #ruby
AlphaAtom has joined #ruby
mitchellhenke has joined #ruby
Cubix has quit [Quit: Leaving]
doodlehaus has joined #ruby
lidenskap has quit [Ping timeout: 240 seconds]
Pipocah has joined #ruby
thirdknife has quit [Ping timeout: 264 seconds]
lolmaus has quit [Quit: Konversation terminated!]
CustosLimen has joined #ruby
ebernhardson is now known as ebernhardson|lch
<shevy>
anyone knows why we don't have .blank?
DerisiveLogic has joined #ruby
thirdknife has joined #ruby
cnk has quit [Quit: Leaving]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
allcentury has quit [Ping timeout: 256 seconds]
ByronJoh1son is now known as ByronJohnson
edwinvdgraaf has joined #ruby
jonatin has joined #ruby
Kricir has quit []
ndrei has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
sevvie has quit [Ping timeout: 272 seconds]
arup_r has quit [Ping timeout: 244 seconds]
pabloh has quit [Quit: Saliendo]
edwinvdgraaf has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 264 seconds]
sevvie has joined #ruby
edwinvdgraaf has joined #ruby
<hanmac>
shevy if we had then there wouldnt be any reason for AS anymore ;P
<mwlang>
shevy: blank? comes from Active Support
jackjackdripper has joined #ruby
<shevy>
yeah
consumerism has quit [Quit: WeeChat 1.1.1]
Pipocah has quit [Quit: Leaving]
denver has quit [Read error: Connection reset by peer]
Monroe is now known as Mostly_Y
Pipocah has joined #ruby
Pipocah has quit [Remote host closed the connection]
jottr has joined #ruby
Pipocah has joined #ruby
duderonomy has joined #ruby
Papierkorb_ has quit [Quit: Konversation terminated!]
Papierkorb has joined #ruby
jtdowney_ has joined #ruby
thirdknife has quit [Ping timeout: 256 seconds]
dfinninger has quit [Remote host closed the connection]
emptyflask has joined #ruby
Hijiri has joined #ruby
gaboesquivel has joined #ruby
<hackeron>
anyone familiar with bundler? - when I run bundle install, I get mv: cannot stat ‘/tmp/bundler20150512-27272-653i37json-1.8.2/cache/json-1.8.2.gem’: No such file or directory -- any ideas why? < here is the full output: https://gist.github.com/hackeron/687adce4862c1a45991b
edwinvdg_ has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
jtdowney has quit [Ping timeout: 252 seconds]
Mohan_ has quit [Ping timeout: 252 seconds]
jimms has joined #ruby
thirdknife has joined #ruby
sohrab has quit [Ping timeout: 264 seconds]
<adaedra>
json is supposed to be in stdlib ._o
jogara has quit [Quit: jogara]
Mohan has joined #ruby
<jhass>
for everybody's information: this was crossposted to #bundler again
wallerdev has quit [Quit: wallerdev]
Mohan is now known as Guest11139
<jhass>
er, s/again/a while ago/ was what I wanted to write
baweaver has joined #ruby
wallerdev has joined #ruby
<adaedra>
too late
edwinvdgraaf has quit [Ping timeout: 256 seconds]
<hackeron>
jhass: like 2 hours ago
kobain has quit [Ping timeout: 256 seconds]
jogara has joined #ruby
<jhass>
it's not forbidden, we just ask to note it
<jhass>
see channel rules
sevvie has quit [Ping timeout: 255 seconds]
<hackeron>
I notice if I sudo gem install json, then bundle install gets 1 dependency further, hmm - it's like a permission problem, but isn't bundler supposed to install for the current app?
<jhass>
--deployment sets --path vendor/bundle which installs to that directory
jtdowney has joined #ruby
<jhass>
if neither is set bundler respects GEM_HOME
edwinvdg_ has quit [Remote host closed the connection]
shakar has joined #ruby
mrdmi has joined #ruby
<jhass>
but yeah, stracing it could reveal some permission issues
AlphaAtom has quit [Read error: Connection reset by peer]
<hackeron>
jhass: $GEM_HOME is blank
<jhass>
so where do you expect your gems to go?
AlphaAtom has joined #ruby
thirdknife has quit [Ping timeout: 240 seconds]
airdisa_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
baweaver has quit [Remote host closed the connection]
<shakar>
Hello! Can anyone familiar with Slim templates tell me how to use non-standard html tags? For example, "dom-module"
<atmosx>
hello people
<hackeron>
jhass: hmm, I don't know, heh - this worked before, so wondering what changed. I thought bundle install would put stuff in the current app's vendor/bundle
jtdowney_ has quit [Ping timeout: 240 seconds]
<hackeron>
(by default)
<jhass>
hackeron: it doesn't, I just listed the conditions under which it does
tvw has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 244 seconds]
kstuart_ has quit [Quit: WeeChat 1.1.1]
jespada has quit [Quit: Leaving]
<hackeron>
jhass: ah, ok, that's the issue then - adding --deployment made it work. Would be good to have a better error than file not found. Think it's worth filing an issue?
<jhass>
I think indirect already told you to file an issue and how
<atmosx>
Now if we're talking bodyyyyy
scripore has quit [Quit: This computer has gone to sleep]
airdisa has joined #ruby
dfinninger has joined #ruby
thirdknife has joined #ruby
<umgrosscol>
hackeron: not really a bundler issue.
<umgrosscol>
hackeron: maybe a better or more documentation issue. Perhaps an issue for an faq
sevvie has joined #ruby
<hackeron>
jhass: ah, yes, sorry, I saw that, but was still looking for why it works on 1 server, but not on another - I'm still not sure why. I ssh'd to another server, there is no $GEM_HOME set and bundle install works, hmmmm - even though it's the same permissions and ruby is installed from the same brightbox repository
yalue has quit [Read error: Connection reset by peer]
ebernhardson|lch is now known as ebernhardson
slash_nick has quit [Ping timeout: 245 seconds]
<jhass>
cat .bundle/config
<jhass>
--deployment is a remembered option
<shevy>
hmm what is better...
rodferso1 has joined #ruby
<jhass>
shevy: the third alternative you won't list
<shevy>
FileUtils.rm(some_file_here) or File.delete(some_file_here)
<hackeron>
jhass: there's no .bundle/config on either server
<jhass>
hackeron: I highly doubt that
<jhass>
note it's relative to the Gemfile
rodfersou has quit [Ping timeout: 245 seconds]
allcentury has joined #ruby
jmignault has quit [Read error: Connection reset by peer]
thirdknife has quit [Ping timeout: 264 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
barkerd427 is now known as zz_barkerd427
<hackeron>
jhass: ah, I think I figured it out - I had sudo: no under with_items in ansible - so the deployment was running bundle install as root and all the gems are in /var/lib/gems/2.2.0 - so when running as user it already had all the gems available
zz_barkerd427 is now known as barkerd427
wallerdev has quit [Quit: wallerdev]
gambl0re has joined #ruby
michaeldeol has quit [Ping timeout: 264 seconds]
pdoherty has quit [Quit: Leaving]
moretti has quit [Ping timeout: 252 seconds]
jogara has quit [Quit: jogara]
<hackeron>
umgrosscol: yeh, maybe, but saying something like permission failed /var/lib/gems or something would have made it clear, but mv: cannot stat ‘/tmp/bundler20150512-27272-653i37json-1.8.2/cache/json-1.8.2.gem’: No such file or directory - seems so random. Where do you think this bug belongs?
nobitano_ has quit [Remote host closed the connection]
michaeldeol has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
thirdknife has joined #ruby
AlphaAtom has joined #ruby
Pipocah has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
Musashi007 has joined #ruby
AlphaAtom has joined #ruby
voodooKobra has joined #ruby
<voodooKobra>
hello
AlphaAtom has quit [Max SendQ exceeded]
lidenskap has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
AlphaAtom has joined #ruby
Dopagod has quit [Ping timeout: 276 seconds]
tuelz has quit [Ping timeout: 258 seconds]
freerobby has quit [Quit: Leaving.]
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
<jhass>
hi
<adaedra>
Greetings
jottr has joined #ruby
scripore has joined #ruby
sevvie has quit [Ping timeout: 250 seconds]
snockerton has quit [Ping timeout: 255 seconds]
fschuindt has quit [Ping timeout: 245 seconds]
<voodooKobra>
I'm putting together a recommended reading list for application security, and I'd love it if anyone could suggest some resources for Ruby
<postmodern>
is there a cross-platform way of seeing if a process (by name) is running?
<willharrison>
but do you think it would help at all to have a certification?
<willharrison>
in your opinion
mistermo_ has joined #ruby
<baweaver>
remote positions are not an option until you have at least a good 3-5 years of professional experience
iamjarvo has quit [Max SendQ exceeded]
<wallerdev>
if you want to work for a big company like insurance or something then they might like certifications
<postmodern>
got burned doing `pidof redis-server` since OSX has no pidof
<baweaver>
certifications are worthless in most cases
<baweaver>
focus instead on learning more programming
AlphaAtom has quit [Read error: Connection reset by peer]
<wallerdev>
for a startup or smaller company theyll just ask you what you know in interviews and wont care about a certification
<willharrison>
ah ok
iamjarvo has joined #ruby
* baweaver
works at a big company and has no certifications
iamjarvo has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
<wallerdev>
yeah i worked at an insurance company and they wouldve loved that haha
<bricker>
me too
snockerton has joined #ruby
roolo has joined #ruby
<wallerdev>
but they arent the kind of company to use ruby :p
<bricker>
I'm certified in not being a shitty programmer
<bricker>
my resume is my certification
<willharrison>
yeah, I really just want to get my foot in the door
<baweaver>
I'm a certified badass developer
roolo has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
<baweaver>
(Build and Deployment Automation Support System :D)
<willharrison>
can't find a whole lot of rails jobs in orlando and was hoping this would help me stand out and get interviews a little easier
roolo has joined #ruby
<wallerdev>
i think the problem is more likely being limited to orlando haha
shellfu has quit [Ping timeout: 272 seconds]
<willharrison>
indeed
<baweaver>
You might want to rethink requiring yourself to stay there
<baweaver>
and make sure that's really the case
<wallerdev>
i doubt a certification would help, just list some sort of experience, do you have any sites you built in rails? put it on your resume
<willharrison>
I have to be there
<baweaver>
I'm saying make dead sure, because it'll cripple 98% of your opportunities or more to do so.
<willharrison>
I realize that
MasterPiece has joined #ruby
<willharrison>
wallerdev I am new to rails, I have been using laravel and have something with it. I have built a few things with ruby and I am currently working through rails 4 in action
<wallerdev>
could contribute to some ruby open source project and put that on your resume
<wallerdev>
those are the kinds of things that help you stand out
thirdknife has quit [Quit: This computer has gone to sleep]
CloCkWeRX has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrsolo has joined #ruby
bartkoo has joined #ruby
shazaum has quit [Quit: Leaving]
<wallerdev>
if you're new to rails you might want to just apply for other opportunities too just to land something and get experience
<wallerdev>
my first job out of college wasnt ruby
<wallerdev>
wasnt the most fun thing either but at least i had a job and could be more comfortable in future searches
scripore has quit [Quit: This computer has gone to sleep]
<wallerdev>
if you enjoy ruby you might look for things with python, node.js, or frontend javascript like angularjs
<wallerdev>
not quite the same but at least similar enough to learn from
moretti has joined #ruby
ebonics has quit [Remote host closed the connection]
<dudedudeman>
willharrison:
SleepDeprived has quit [Quit: SleepDeprived]
<dudedudeman>
willharrison: it might be worth checking out and talking to the guys over at codeschool
<willharrison>
sorry about that
<dudedudeman>
their offices are in orlando, and they seem like nice enough blokes
phutchins has joined #ruby
bartkoo has quit [Ping timeout: 264 seconds]
<willharrison>
wallerdev that is a good point, I think I will also look at .net jobs since I had an internship at one
<dudedudeman>
also, i grew up in orlando. small world. lol
<adaedra>
we're talking ruby jobs?
<willharrison>
dudedudeman ah, cool, I didn't realize that. I will check and see if they are hiring
<dudedudeman>
i'm looking fory ou now. :)
<wallerdev>
c# is a cool language, i used to do that in college a bit
chipotle has quit [Quit: cheerio]
FernandoBasso has joined #ruby
<wallerdev>
not quite like ruby but a very well designed language for what it is
<willharrison>
dudedudeman thanks man :) it is a small world lol
<willharrison>
wallerdev yeah, I have enjoyed using it when I did
_djbkd has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
<willharrison>
ah .net teacher at codeschool lol
<dudedudeman>
see? lol
peckermanzzz has joined #ruby
srksm has joined #ruby
<willharrison>
indeed lol
Cuubix has quit [Read error: Connection reset by peer]
allcentury has joined #ruby
Cuubix has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
AlphaAtom has joined #ruby
<dudedudeman>
also, the codeschool courses are pretty good. i'm signed up for some of them now and enjoy them
Hijiri has joined #ruby
<willharrison>
I have used them for javascript a little in the past and I enjoyed them
<willharrison>
they are good quality
AlphaAtom has quit [Max SendQ exceeded]
yqt has joined #ruby
_djbkd has joined #ruby
AlphaAtom has joined #ruby
<adaedra>
It's paid :/
d10n-work has joined #ruby
wildroman2 has quit [Remote host closed the connection]
_djbkd has quit [Read error: Connection reset by peer]
moretti_ has joined #ruby
GaryOak_ has joined #ruby
<dudedudeman>
it is. you can sign up for a month and download all of the videos in one shot, but you don't get the challenges associated with t hem :(
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
_djbkd has joined #ruby
srksm is now known as sarkasm
peckermanzzz has quit [Ping timeout: 276 seconds]
sarkasm has quit [Quit: Ex-Chat]
<willharrison>
tbh I have given up on trying to not pay for things. if it is quality, I don't mind paying vs searching endless hours for something half the equivalent of
moretti has quit [Ping timeout: 265 seconds]
<dudedudeman>
ah, that's kind of exactly where i ended up. yet, there are still some things i don't pay for, simply because i don't think i've used up all of the resources for the things i'm already paying for
<willharrison>
that is true, I do make sure not to pay until I have finished what I have already payed for
<willharrison>
eg. not buying a new book until I finish my current one
<dudedudeman>
i'm on both sides of that coin. if i'm in the middle of a coding session and i need to look something up, keystrokes man, keystrokes. I want to be able to find what i want with keystrokes. BUT, if i have a few hours and i just want to read, i can't read books on a tablet or pc. gimme the real thing
SegFaultAX has quit [Ping timeout: 272 seconds]
roolo_ has joined #ruby
jogara has joined #ruby
nszceta has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
leokaito has joined #ruby
leokaito is now known as leoapost
Deele has quit [Ping timeout: 256 seconds]
<willharrison>
yeah, same. when working its all google. but when I want to relax with a nice cup of tea, have to have the paper books
JimmyNeutron has quit [Read error: Connection reset by peer]
<dudedudeman>
willharrison: it would make me chuckle if we actually knew each other
<willharrison>
I don't think we do lol, I am from MS
<willharrison>
my better half is from orlando
<dudedudeman>
ayyyy. word
jottr has quit [Quit: WeeChat 1.1.1]
* mwlang
reads the screen faster than paper.
SegFaultAX has joined #ruby
roolo has quit [Ping timeout: 244 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cgrieger is now known as cgrieger^away
<dudedudeman>
it's not a bad place to live. don't know how long you've been down there
<willharrison>
actually I am still in MS but my lease starts in a week so I am moving there soon
<willharrison>
I have to come back here and live with my parents tho while I finish 2 more classes over the summer
doodlehaus has quit [Remote host closed the connection]
AlphaAtom has quit [Read error: Connection reset by peer]
phreakocious has quit [Ping timeout: 272 seconds]
<willharrison>
I am looking forward to being so near the beach
<dudedudeman>
what part of orlando, if you don't mind me asking? depending on where you're at, i'd bet you might be able to visit a few places and talk to some devs
AlphaAtom has joined #ruby
<mwlang>
I used to read books all the time…it would take me a while to finish one book (like 3 or 4 weeks)….then I got a kindle…I finish same sized books on kindles in a week….no idea what the real difference is other than I’ve been largely a screen reader since the late 80’s.
<willharrison>
dudedudeman winter park
Igorshp has joined #ruby
<dudedudeman>
ayyyy, yeah that's a great area! I grew up in winter springs, which is like right next door
AlphaAtom has quit [Max SendQ exceeded]
<willharrison>
mwlang some people are just built like that I think. I read slow on a screen
<willharrison>
dudedudeman ah, awesome. I'm not sure where that is but I am sure I will soon enough
AlphaAtom has joined #ruby
<willharrison>
but yeah, it's a really pretty city
<mwlang>
willharrison: probably all the 18+ days at the computer coding something from H.S. through college.
<willharrison>
mwlang that can do it lol
jtdowney has quit []
phreakocious has joined #ruby
<dudedudeman>
totally, you will. orlando is the home of winters. winter springs, winter garden, winter haven, winter park lol
<willharrison>
haha
rbennacer has quit [Ping timeout: 250 seconds]
<willharrison>
if you don't mind me asking, where are you located now?
<dudedudeman>
dallas, tx
<willharrison>
ah awesome, I lived in irving for my internship lol
<willharrison>
you and I are on some sort of life path together lol
<dudedudeman>
florida is also home to springs altamonte springs, bonita springs, coral springs, defuniak springs, tarpon springs, winter springs, etc...
<dudedudeman>
haha
<dudedudeman>
hey! irving isn't far from me at all
f3lp has joined #ruby
<dudedudeman>
you had a .net internship?
<willharrison>
yeah
fschuindt has quit [Ping timeout: 255 seconds]
snockerton1 has joined #ruby
failshell has quit []
Zai00 has joined #ruby
<willharrison>
I feel like you're about to say you work there
<dudedudeman>
ha in irving?
<willharrison>
yeah lol
<dudedudeman>
no, but i've looked in to it. lol
<willharrison>
ah I see
ghr has quit [Ping timeout: 240 seconds]
<willharrison>
it's a nice area
<dudedudeman>
i work one of my jobs downtown, other job on on the weekends is in carrolton, and the third job is in my boxers at home
<willharrison>
ah, busy man
jenrzzz has joined #ruby
jobewan_ has quit [Quit: leaving]
<dudedudeman>
meh. grinding towards my main goal: to be as cool as the dudes in here
<dudedudeman>
meaning, a job in development. #oneday
<dudedudeman>
yes, i hashtagged. sorry....
<dudedudeman>
:P
<willharrison>
oh, you're not a dev? what type of work do you do?
Musashi007 has quit [Quit: Musashi007]
snockerton has quit [Ping timeout: 265 seconds]
<dudedudeman>
dev is the third job. my full time gig is at an animation studio
<adaedra>
dudedudeman: be careful what you wish for
<dudedudeman>
adaedra: i wish to be you
<adaedra>
no you won't
mengu has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
<willharrison>
lol
<dudedudeman>
psh, i just did. whatchu gonna do 'bout it
<adaedra>
you know what I do at work?
ghostmoth has joined #ruby
<dudedudeman>
tell!
Igorshp has quit [Remote host closed the connection]
paulcsmith has joined #ruby
<adaedra>
PHP
jobewan has joined #ruby
<dudedudeman>
hey man, you get paid to do it, right?
* mwlang
falls outta chair
<willharrison>
adaedra nothing wrong with some PHP here and there
<baweaver>
here we go
<willharrison>
laravel is a solid framework and I hear the same about symfony
Hijiri has quit [Quit: WeeChat 1.0.1]
* dudedudeman
gets mwlang back up and fetches a glass of water
<adaedra>
willharrison: ahahah.
wildroman2 has joined #ruby
<adaedra>
I wish I'd do some laravel.
<ericwood>
willharrison: are you william harris by chance?
<ericwood>
pleaseeeee be him
<willharrison>
ericwood afraid not
<ericwood>
damn
<ericwood>
always wondered what happened to that dude :P
Igorshp has joined #ruby
<willharrison>
adaedra yeah laravel jobs seem few and far
<baweaver>
can we not start a zealatrous blood-rage over this one?
workmad3 has quit [Ping timeout: 245 seconds]
<dudedudeman>
sorry, baweaver :(
<adaedra>
dudedudeman: you're right, I got paid for it. But it's not the only goal for a job.
<baweaver>
Not saying anyone has yet
<baweaver>
but it tends to
root has joined #ruby
root is now known as Guest61288
Guest61288 has quit [Client Quit]
<baweaver>
Realize that a tool is a tool, and very rarely do people have the luxury of rewriting things.
<dudedudeman>
adaedra: you're right, you're absolutely right. i can only speak from my perspective, and that is that i desire very much so to be able to snag a dev roll of some sort(ideally, ruby) so i can finally start my career in the software world. currently, i'm working full time in aj ob that has nothing to do with what i want to do long term, so the longer i stay here, the more experience i'm wasting
zzing has joined #ruby
<dorei>
some tools are beautiful, some tools are ugly though
<adaedra>
^
<baweaver>
Sometimes, and however unfortunately, you have to make do with said tools
alderamin has quit []
<adaedra>
yeah
<baweaver>
which is why RPG and COBOL are still a thing ;)
<adaedra>
but it doesn't mean you can't look at using better tools
<dorei>
cobol = job security xD
<willharrison>
adaedra what type of php do you do?
paulcsmith has quit [Ping timeout: 256 seconds]
yqt has quit [Read error: Connection reset by peer]
<adaedra>
willharrison: what do you mean, what type
cyberarm_ has joined #ruby
fschuindt has joined #ruby
<willharrison>
like do you do drupal stuff or cake or something?
<baweaver>
I know both of those languages unfortunatelly
vdamewood has quit [Quit: Life beckons.]
<dudedudeman>
hey! i got to look at some COBOL the other day! that was kind of interesting
<willharrison>
or just pure php?
<adaedra>
willharrison: pure.
<adaedra>
some external libs
<willharrison>
baweaver never met anyone who knew RPG lol
<dorei>
i think there are modern versions of cobol, like oo cobol
<willharrison>
dorei yeah there are
<baweaver>
I would not suggest it myself
<willharrison>
good, I didn't want you to :P
<baweaver>
There are a handful of languages which I will absolutely refuse to use anymore
<willharrison>
adaedra ah I see
<baweaver>
Among those are RPG, COBOL, MUMS, and the one to often times get me in trouble: Java
<dorei>
baweaver: did your rpg programms run on machines that used token rings instead of ethernet? :D
<baweaver>
Nope, standard AS/400s
<baweaver>
ethernet based, though there were still Tokenring adapters around
<adaedra>
Those were different times
<willharrison>
well this has been a fun conversation but I have to head out
<willharrison>
bye all
<dudedudeman>
willharrison: best of luck!
<dudedudeman>
come back and visit!
AlphaAtom has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
Local college was effectively bought by RPG companies
<adaedra>
baweaver: actually, didn't want to start a war over it or anything. Just, this internship in PHP made me realize I don't want to do it for a job.
swgillespie has quit [Client Quit]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
<baweaver>
You didn't start a war over it
<baweaver>
I'm just saying it tends to go that way right fast for some reason, so I was preempting it
<dudedudeman>
well, yes, but chicago might like a word with them about that
jerius has quit [Quit: /quit]
bogdanteleaga has quit [Ping timeout: 256 seconds]
<dudedudeman>
pizza is the HUGE huge thing in NYC
<dudedudeman>
and bagels
<adaedra>
/nick shevy2
ndrei has joined #ruby
<dudedudeman>
those damn bagels man.... (*&%
<dudedudeman>
so good
mistermocha has joined #ruby
<adaedra>
ok
einarj has joined #ruby
<dudedudeman>
are you going ot NYC any time soon?
WildBamboo-Josh has quit [Read error: Connection reset by peer]
<adaedra>
me? no.
mistermo_ has quit [Ping timeout: 252 seconds]
<adaedra>
I don't really want to go to the US. :x
moretti_ has quit [Ping timeout: 276 seconds]
WildBamboo-Josh has joined #ruby
<dudedudeman>
eh, it's not as bad as the media makes it
<dudedudeman>
some of us are ok
<toretore>
they stick their fingers up your butt before letting you in
<dudedudeman>
me, no. the others, yes
<dudedudeman>
some of the
<dudedudeman>
m
<dudedudeman>
toretore is wrong
<dudedudeman>
they stick TWO fingers up the butt
jimms has quit [Remote host closed the connection]
<adaedra>
yeah, let's stay in Europe, it seems a good plan, adaedra
einarj_ has joined #ruby
<zenspider>
I ate a lot of cubanos, arepas, tortas, tortilla soup in NYC. Plenty of asian and italian too.
Guest1421 has quit [Ping timeout: 245 seconds]
Luyt__ has joined #ruby
bruno-_ has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
bogdanteleaga has joined #ruby
ebonics has joined #ruby
AlphaAtom has joined #ruby
<dudedudeman>
mmmmm. cubanos
<dudedudeman>
i'd eat that
sinkensabe has quit [Remote host closed the connection]
gambl0re has quit [Ping timeout: 272 seconds]
yqt has joined #ruby
<adaedra>
he'd eat that
<jmignault>
pizza is everywhere, cheap, and sold by the slice. Good for quick eats.
<dudedudeman>
i'd put that in my mouth and chew it
sinkensabe has joined #ruby
einarj has quit [Read error: Connection reset by peer]
Luyt_ has quit [Read error: Connection reset by peer]
bruno- has quit [Read error: Connection reset by peer]
sfr^ has quit [Ping timeout: 256 seconds]
\13k has quit [Ping timeout: 256 seconds]
lorn has quit [Ping timeout: 256 seconds]
pjaspers has quit [Ping timeout: 256 seconds]
exadeci has quit [Ping timeout: 256 seconds]
skinny_much has quit [Quit: Ruh Roh...]
<dudedudeman>
so much pizza
<adaedra>
now this is something I'd like to have
leoapost has quit [Remote host closed the connection]
ghostmoth has quit [Quit: ghostmoth]
<adaedra>
(well, depending on your definition of 'cheap' :p )
jimms has joined #ruby
pjaspers has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
exadeci has joined #ruby
sfr^ has joined #ruby
\13k has joined #ruby
lorn has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Read error: Connection reset by peer]
Mostly_Y is now known as MikeLees
<jmignault>
Hot dogs are not the big production they are in Chicago. They're sold from carts and they're usually just topped with mustard and sometimes onion in tomato sauce.
_djbkd has quit [Quit: My people need me...]
<jmignault>
aka "dirty water dogs"
sinkensabe has joined #ruby
skinny_much has joined #ruby
freerobby has quit [Quit: Leaving.]
Igorshp has joined #ruby
sinkensabe has quit [Remote host closed the connection]
CloCkWeRX has quit [Quit: Leaving.]
sinkensabe has joined #ruby
quimrstorres has joined #ruby
riotjones has joined #ruby
einarj_ has quit [Read error: Connection reset by peer]
mengu has joined #ruby
<GaryOak_>
everyone is talking about pizza and hotdogs in here!
einarj has joined #ruby
Psi-Jack has joined #ruby
<adaedra>
Hello Gary
mikecmpbll has quit [Quit: i've nodded off.]
<GaryOak_>
hey
marr has quit [Ping timeout: 264 seconds]
<dudedudeman>
oh.. uh... #ruby. right. umm, hi i'm dudedudeman and i'm working on a gem regarding pizza and hotdogs?
<GaryOak_>
hahaha excellent
riotjone_ has quit [Ping timeout: 264 seconds]
<adaedra>
dudedudeman.credibility => 0
<dudedudeman>
dammit
<GaryOak_>
hey everyone check out my gem pizza_n_hotdogs
Igorshp has quit [Remote host closed the connection]
<mwlang>
heh…NYC is pizza, Chicago is hot dogs. Philly is Cheesesteaks. Memphis is ribs, Texas is brisket bbq or tex mex (depending on who ya talk to), The Carolinas is BBQ pork, one mustard sauce, the other tomato sauce.
AlphaAtom has quit [Read error: Connection reset by peer]
Igorshp has joined #ruby
AlphaAtom has joined #ruby
mengu has quit [Ping timeout: 245 seconds]
<dudedudeman>
mwlang: i love you.
<dudedudeman>
you know what speaks to me. which, is all of those things
<mwlang>
:-S lay off the sauce, dude.
<mwlang>
:-D
qwertme has joined #ruby
<dudedudeman>
ah, did i say that out loud... :/
<dudedudeman>
:P
<mwlang>
dudedudeman: all I know is I know where to find the good food in town(s).
Igorshp_ has joined #ruby
<dudedudeman>
it's the best thing to kno
<mwlang>
and if I’m in a new town and don’t know, I find the local micro brewery.
<dudedudeman>
if you're ever in dallas, i got a list of about 300 different places for you to go to
Igorshp has quit [Ping timeout: 256 seconds]
icebourg has quit []
<adaedra>
300
duderonomy has joined #ruby
<mwlang>
dudedudeman: I drove straight through Dallas, clear across Texas last Feb.
<dudedudeman>
ah man
arescorpio has joined #ruby
<dudedudeman>
it's a cool city. totally different than say, austin, but both very texas
mistermocha has quit [Read error: Connection reset by peer]
<mwlang>
dudedudeman: lemme tell ya. The best new thing I discovered was pool con Salsa Verde. That stuff was da bomb.
<GaryOak_>
I flew over Texas, and was like that's enough
snockerton has joined #ruby
<adaedra>
Well
<adaedra>
Bye, 'MURRICA
<mwlang>
dudedudeman: I only know Austin and San Antonio where my Aunt and cousins live.
kobain has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
<dudedudeman>
ah, those are both great places
<mwlang>
GaryOak_: Did you see the big areal signs that said….”Don’t mess with Texas” ?
iamjarvo has quit [Max SendQ exceeded]
<dudedudeman>
if you like hot sauce, texas is where it's at
<dudedudeman>
don't messwith texas is a thing. they're weird here
nobitanobi has quit [Remote host closed the connection]
leafybasil has joined #ruby
<mwlang>
dudedudeman: oh, yeah…I had my first encounter with ghost pepper on my drive through Tx in Feb….that’s one hot pepper….and in a very unique, delayed onset way, too.
vickleton has quit [Quit: Ex-Chat]
<dudedudeman>
hell yes
blackmesa has joined #ruby
<dudedudeman>
i just bought some ghost pepper blueberry hot sauce, and it's delicious
blackmes1 has quit [Read error: Connection reset by peer]
<dudedudeman>
and... hot
<dudedudeman>
but for some odd reason, they add a metric (&#$ ton of black pepper to it as well
<dudedudeman>
so it actually makes it milder than it coudl be
<dudedudeman>
at least to my tongue
<mwlang>
dudedudeman: ghost pepper beef jerky.
scripore has joined #ruby
shuber_ has joined #ruby
<dudedudeman>
YES
<dudedudeman>
lawd
baweaver has quit [Remote host closed the connection]
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 258 seconds]
nfk has quit [Quit: yawn]
scripore has quit [Client Quit]
<mwlang>
dudedudeman: got it at a gas stop…ate a piece, went back in and cleared the rack. :-)
ghostmoth has joined #ruby
<dudedudeman>
ha. that's what i'm talking about
<dudedudeman>
buc-ee's by any chance?
<mwlang>
dudedudeman: no clue.
<dudedudeman>
ah
<mwlang>
it’s all gone, so I don’t have a reference.
<mwlang>
but show me a website…maybe I’ll recognize the logo
<dudedudeman>
they're a big chain of gas stations in texas and have a huge selectio nof in house made beef jerky
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zai00 has quit [Quit: Zai00]
f3lp has quit [Remote host closed the connection]
<mwlang>
there weren’t no chipmunk on the packaging.
fschuindt has quit [Ping timeout: 276 seconds]
<dudedudeman>
beaver*
<dudedudeman>
we take offense to that
<dudedudeman>
just kidding.
<mwlang>
dudedudeman: well, you’ll have to drive clear across Texas and three more states to take it up with me. :-)
Cuubix has quit [Quit: Leaving]
nullset68 has joined #ruby
<mwlang>
and I know from experience, that ain’t no joy ride.
AlphaAtom has quit [Read error: Connection reset by peer]
<dudedudeman>
ha. work did that to me once. they flew me out to LA to pick up a piece of gear, and rented me a car to drive immediately back to dallas
<mwlang>
why is there a beaver mascot in Tx anyhow? There ain’t enough rivers and lakes there.
AlphaAtom has joined #ruby
EllisTAA has joined #ruby
<dudedudeman>
no effing clue. we're weird, man
<dudedudeman>
aight, i'm out. time to go to my local ruby meet up for hte night!
<dudedudeman>
you guys are awesome
<EllisTAA>
do you think someone should learn about computers before they learn how to program or do you think they should learn how to program before they learn about computers? why?
airdisa has quit []
wildroman2 has quit []
scripore has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
<GaryOak_>
EllisTAA: it depends what they want to learn first
<EllisTAA>
garyoak_: how to program
AlphaAtom has joined #ruby
<GaryOak_>
Then learn how to program and then about the computer
Igorshp_ has quit [Remote host closed the connection]
<mwlang>
EllisTAA: both at the same time.
sargas has joined #ruby
Igorshp has joined #ruby
juanpaucar has joined #ruby
shuber_ has quit [Remote host closed the connection]
snockerton has joined #ruby
<EllisTAA>
i was thinking ppl who learn how to program before they learn about computers develop a syntax POV where they think about ‘how to write the syntax’ and a person learning about computers might have more of a computer POV where they write the code thinking about how the computer will interpret it instead of is the syntax right
<EllisTAA>
i’m in a bootcamp so i was reflecting on my experience
ebonics has quit [Remote host closed the connection]
<mwlang>
EllisTAA: Interesting observation. However, one doesn’t really learn to think about how a computer interprets the program until you start thinking about system-level stuff.
<GaryOak_>
At the level of ruby, it doesn't really matter how the computer works
<shevy>
ruby was written for people
<GaryOak_>
Once you start using pointers, or doing memory management, you need to understand what's actually going on
shuber_ has joined #ruby
<shevy>
the next evolutionary step will be to tell the computer what code is to be produced, without having to type
scripore has quit [Ping timeout: 250 seconds]
<EllisTAA>
garyoak_: when would u start using pointers etc
<GaryOak_>
Do most people understand how scheduling, or CPU pipelining work?
<shevy>
I understand nothing
<EllisTAA>
shevy: do u know that for a fact? are people developing those languages?
<shevy>
EllisTAA don't think it is possible with the current computers
<GaryOak_>
EllisTAA: Once you use a language that requires you to do that, like C or something lower level
<mwlang>
…or optimizations or algorithmic proofs
nobitanobi has joined #ruby
<shevy>
they were designed to make use of 0 and 1, nothing more
Igorshp has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
<GaryOak_>
at incomprehensible speeds
<shevy>
I'd wish ruby would be faster!
<GaryOak_>
hehe
<EllisTAA>
i just want to level up ^^
<GaryOak_>
Use crystal
<mwlang>
A a microprocessor does three things: fetch, interpret and execute. and about the only thing it really does is add.
<GaryOak_>
a modern CPU does lots and lots of different things, that the programmer would never know about
uptownhr has quit [Quit: uptownhr]
Ropeney has joined #ruby
<shevy>
GaryOak_ I am seriously contemplating that now
enebo has quit [Quit: enebo]
<shevy>
my pseudo-shell takes about 3 seconds to load up. I have no idea where the bottleneck is yet but it annoys me
northfurr has joined #ruby
mistermo_ has quit [Remote host closed the connection]
<mwlang>
I don’t think most programmers ever really start to think about what the computer is actually doing until they take three classes: OS design, Compiler design, and Systems IO. Then they still don’t get dirty until they take circuit design, microprocesser programming, and assembler.
iasoon has quit [Ping timeout: 240 seconds]
<shevy>
sounds like lots of hours investment there
mary5030 has quit [Remote host closed the connection]
<dorei>
mwlang: maybe they should learn C insteard :p
<dorei>
instead even
<EllisTAA>
MWLANG: COOL ill check those out
mary5030 has joined #ruby
nullset68 has quit [Quit: WeeChat 0.4.2]
<GaryOak_>
shevy: Well Ruby is like Hardware -> Binary -> Hex -> ASM -> C -> Ruby VM -> Ruby Code
<GaryOak_>
and I probably missed a bunch
<shevy>
GaryOak_ yeah
<shevy>
Hardware -> Binary -> Hex -> ASM -> C -> Ruby VM -> Poetry -> Ruby Code
emptyflask has quit [Remote host closed the connection]
<EllisTAA>
what are you guys syaing? binary, hex, asm?
jimms has quit [Remote host closed the connection]
<shevy>
I am not saying anything
<shevy>
I am just copy pasting what GaryOak_ wrote
<EllisTAA>
lol
<GaryOak_>
I'm saying that's what happens to your code for it to get executed by the CPU
<xxneolithicxx>
stop pls, you guys are bringing back the horror of college and having to write buffer exploit in assembly
towski_ has joined #ruby
<mwlang>
shevy: yeah. I started with GW-BASIC, then Pascal, then Assembler, then C, and a few random languages until Delphi for Windows development followed by a switch back to C and on to Python on my way to Ruby….so, yeah, lotta time and languages in between then and now.
towski_ has quit [Remote host closed the connection]
<shevy>
whoa that's a lot
AlphaAtom has quit [Read error: Connection reset by peer]
<dorei>
hex / binary is just different representation of the same thing
<shevy>
my list is much much shorter... perl php ruby. end of list
SirCmpwn has quit [Remote host closed the connection]
<mwlang>
xxneolithicxx: heh….we wrote a checkers game in assembler…I’d say you got off easy.
<mwlang>
C++ achieved notary for nothing. :-) Actually, I think it’s biggest success was the Gnome window manager, but I could be wrong on that.
Cubix has joined #ruby
Cubix has quit [Max SendQ exceeded]
ohaibbq has joined #ruby
Cubix has joined #ruby
<Ropeney>
gnome is still awesome for large applications that benefit from abstraction
<Ropeney>
c++ rather
ndrei has joined #ruby
northfurr has quit [Quit: northfurr]
<havenwood>
People seem to like this latest version of C++ called Go.
<mwlang>
I think C++ mostly had the reputation that it added complexity to a language that didn’t need it. Seems like there were lots of “wars” back in the day that if a C++ developer claimed they could do something C couldn’t, the C guys showed ‘em up every time and with a more performant solution to boot.
zzing has quit [Client Quit]
<shevy>
mwlang except that gnome is written in C
<shevy>
well, there are some examples of C++ being successful
Akagi201 has quit [Ping timeout: 272 seconds]
juanpablo_ has quit [Ping timeout: 264 seconds]
<GaryOak_>
Chrome
<shevy>
qt/kde, several 3D engines like crystalspace and ogre3d... some games
shuber_ has quit [Remote host closed the connection]
<Ropeney>
nmap is c++ now
<shevy>
oh yeah... boost
Hijiri has joined #ruby
<Ropeney>
thats cheating
fschuindt has joined #ruby
<GaryOak_>
The Source engine
<GaryOak_>
Lots of game engines
<shevy>
boost is really huge
<mwlang>
I have always preferred C over C++ even though I’m an OO guy at heart. C++ was just, well, cumbersome for no good reason at the end of the day.
<shevy>
boost-1.56.0.tar.xz: 86M
Musashi007 has joined #ruby
<shevy>
they really should not have written a new language
<shevy>
add the OO-related functionality to C
<mwlang>
shevy: and that’s a nuther thing, come to think of it…c++ object files were always huge compared to C's.
EllisTAA has quit [Quit: EllisTAA]
<shevy>
hehe
sinkensabe has quit [Remote host closed the connection]
sohrab has joined #ruby
<havenwood>
shevy: Ruby is a much smaller library for C than Boost is for C++?
<GaryOak_>
as much as C++ is talked about, I don't know anything about it, it was my first language from a book when I was 16
sinkensabe has joined #ruby
<GaryOak_>
on the Bloodshed Dev C++ Compiler
Lucky__ has joined #ruby
<eam>
shevy: boost is even bigger after you compile it ...
<havenwood>
GaryOak_: Borland C++ \o/
<GaryOak_>
havenwood: :)
lidenskap has quit [Remote host closed the connection]
<GaryOak_>
oh the memory errors
<shevy>
eam lol
baweaver has joined #ruby
<Ropeney>
shevy: no dont add 00 to c
<mwlang>
Borland C++ Builder, to be precise. :-)
<eam>
C++ marries the safety of a low level language with the structural complexity of a high level language
<eam>
shevy: not kidding btw
<mwlang>
“safety of a low level language”….what the heck is that!?
<havenwood>
mwlang: Dangling pointers and buffer overflows.
<eam>
boost in compiled form is around a gig or two, depending on if you have MT/non-MT
<eam>
mwlang: that's the joke
fschuindt has quit [Ping timeout: 258 seconds]
nobitanobi has quit [Remote host closed the connection]
<shevy>
wow
<eam>
it's the intersection of all undesirable things
nobitanobi has joined #ruby
<mwlang>
eam: I was like, “if somebody actually advertised that, they’re really drinkin’ the koolaid"
kbarry has quit [Ping timeout: 256 seconds]
sinkensabe has quit [Ping timeout: 256 seconds]
nobitanobi has quit [Remote host closed the connection]
<mwlang>
all I know is I like having curb-side garbage collector I almost never see nor have to put the trash out to the curb myself.
blackmesa has quit [Quit: WeeChat 1.1.1]
dh64 has quit [Quit: Konversation terminated!]
<eam>
mwlang: dunno, I kinda don't like it when the garbagemen evict everyone from the city periodically while they do their trash runs
<eam>
I'd rather put the trash on the curb, personally, and just have a system that makes sure no one litters
joelataylor has joined #ruby
Soda has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
Cust0sLim3n has joined #ruby
devoldmx has joined #ruby
vasilakisfil has quit [Ping timeout: 265 seconds]
<cosmicfires>
how do I cast a string to an integer in rugy?
AlphaAtom has quit [Read error: Connection reset by peer]
<drocsid>
I.E. do backticks now return stdout stderr, etc?
<pipework>
That's unfortunate. Perhaps someone here is in a mood to service your laziness.
AlphaAtom has joined #ruby
<cosmicfires>
if I use .to_i I get this error
<cosmicfires>
./time_example_1.rb:56:in `+': can't convert String into an exact number (TypeError)
<drocsid>
do I still need to use popen4 to get exit status and STDERR or whatever it says in the article, or is that included somewhere in the standard library
einarj_ has quit [Read error: Connection reset by peer]
mistermo_ has joined #ruby
einarj has joined #ruby
Deck` has quit [Ping timeout: 256 seconds]
ebonics has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nobitanobi has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
paulcsmith has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
ghostmoth has quit [Quit: ghostmoth]
<shevy>
drocsid `` will only return the result from that external command being run
<bricker>
drocsid: the article explains how you can get exit status, stderr can be captured by routing it to stdout
mistermo_ has quit [Ping timeout: 240 seconds]
<shevy>
result = `ls` will for instance yield you a String with \n newlines
snockerton has quit [Quit: Leaving.]
roolo_ has quit [Remote host closed the connection]
<shevy>
you can try to capture more of course via `` too
<shevy>
result = `ls 2>&1`
crazydiamond has quit [Ping timeout: 255 seconds]
<shevy>
I think I use the above for programs that may not exist on some other machine
roolo has joined #ruby
roolo has quit [Remote host closed the connection]
snockerton has joined #ruby
mistermocha has joined #ruby
BTRE has quit [Ping timeout: 250 seconds]
<havenwood>
drocsid: Does stdlib Open3 suffice for what you're doing?
dfinninger has quit [Remote host closed the connection]
soulcake has quit [Ping timeout: 276 seconds]
Guest1421 has joined #ruby
<havenwood>
drocsid: it has stdout and stderr streams merged or separate and a wait thread for exit status
mistermo_ has joined #ruby
devoldmx has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
einarj has quit [Remote host closed the connection]
valetudo has quit [Remote host closed the connection]
<havenwood>
drocsid: But to answer your question, no it's no longer relevant. All supported Rubies have an Open3 that supports exit status.
<havenwood>
1.8 is dead!
<mwlang>
long live 1.8
diegoviola has quit [Quit: WeeChat 1.1.1]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 276 seconds]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
yqt has quit [Ping timeout: 272 seconds]
soulcake has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
diegoviola has joined #ruby
Deck` has joined #ruby
<drocsid>
can I import a ruby program into irb? if so, how?
<shevy>
the last non-encoding ruby!
<shevy>
drocsid you can use load() and require()
<drocsid>
just import '/path/to/rubyfile.rb' ?
<shevy>
we have no import
<shevy>
are you from python :)
casadei_ has quit [Remote host closed the connection]
<drocsid>
i used python before this way
<shevy>
hehe
<shevy>
shshs Shshs hsshshs
<drocsid>
load '/path/to/rubyfile.rb' ?
<shevy>
well
<shevy>
the above, try: require_relative rather than load
<shevy>
if it is a gem, then this will work:
<shevy>
require 'name_of_gem'
<pipework>
drocsid: require and load are your options. They should have ample information in google if you should be so inclined.
<shevy>
you load from the PATH
<drocsid>
thanks
<shevy>
I think it is ... $! or so
Igorshp has joined #ruby
<shevy>
hmm
d10n-work has quit [Quit: Connection closed for inactivity]
<shevy>
>> $LOAD_PATH
<ruboto>
shevy # => ["/execpad/interpreters/ruby-2.2.0/lib/ruby/site_ruby/2.2.0", "/execpad/interpreters/ruby-2.2.0/lib/ ...check link for more (https://eval.in/352190)
<pipework>
$: actually
<shevy>
drocsid yeah I think it is $LOAD_PATH
<shevy>
I can never remember those weird short $ cuts
mostlybadfly has joined #ruby
rahult has joined #ruby
mostlybadfly has left #ruby [#ruby]
Guest11139 has quit [Ping timeout: 264 seconds]
<GaryOak_>
gosh the sequel gem is just so excellent
rehat has quit [Remote host closed the connection]
<mistergibson>
sequel rocks
baweaver has quit [Remote host closed the connection]
jackjackdripper has quit [Quit: Leaving.]
idafyaid has joined #ruby
Mohan has joined #ruby
qwertme has joined #ruby
jackjackdripper has joined #ruby
Mohan is now known as Guest86229
Igorshp has quit [Ping timeout: 246 seconds]
<mwlang>
mistergibson: +1
<Radar>
shevy: hi
<Radar>
shevy: Did you see my memoserv message?
nobitanobi has quit [Remote host closed the connection]
<mwlang>
I use sequel when I have to push large volumes of data around. It’ll do the job just about as fast as Ruby is gonna do it.
snockerton has quit [Quit: Leaving.]
yfeldblum has quit [Ping timeout: 256 seconds]
<pipework>
Mmm, I'm a fan of the sequel, but just haven't done enough with it to engage in a debate about its merits.
longfeet has joined #ruby
<GaryOak_>
the docs are awesome, and you can read the code when you need to, and there is DBMS specific support
<mwlang>
the number one merit, IMHO, is large, complex SQL written entirely in Ruby.
nanoyak has joined #ruby
<mistergibson>
mwlang: I agree - it makes sql truly easy
<mistergibson>
and you can always DB.run("") straight raw sql if you have to
_djbkd has joined #ruby
<mwlang>
mistergibson: yeah, that actually made it easy to start using Sequel until I learned it well enough to write the whole thing in Ruby
<pipework>
I can generally accomplish the same in activerecord world.
<pipework>
But I fundamentally disagree with it so much.
AlphaAtom has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
<pipework>
mwlang: Some of it would likely be strings, but a lot of the methods, the ones on the first level of indentation, are all supported.
<pipework>
I don't know about case or as.
<pipework>
Those would likely be strings, but you have some strings of partially valid SQL statements in your code.
<mwlang>
pipework: yeah, I had to drop to strings as I did on lines 15 and 16…or rather, I just had to get it done so I did it the fastest way I could to finish it.
<mwlang>
but that’s what makes Sequel shine in my book.
Cubix_ has joined #ruby
data-cat has joined #ruby
<data-cat>
Noob here, what is the difference between the variables `foo` and `@foo`? I haven't been able to google this properly.
<pipework>
data-cat: one might be a local and the other is an instance variable, most likely.
<mwlang>
data-cat: google ruby variable scopes
<pipework>
data-cat: Assuming the simplest case, the first is a local variable, the other is an instance variable.
paulcsmith has quit [Ping timeout: 256 seconds]
<pipework>
That should be enough to go search for more info. I would suggest any of the ruby primer-style resources.
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<shevy>
Radar not sure what memoserv is, but I think you may refer to a message in regards to the guy that was banned for trolling?
jackjackdripper has quit [Quit: Leaving.]
_djbkd has quit [Remote host closed the connection]
<pipework>
shevy: /msg memoserv help
<Radar>
shevy: yes
Cubix_ has quit [Read error: Connection reset by peer]