<apeiros>
Darmani: if you want to discuss that -> #ruby-banned.
<Gasher>
Thanks, I'm still getting used to some of Ruby's syntax, thanks and good night :)
DanKnox[away] has quit [Client Quit]
<Darmani>
There's a channel for that? lmao
<Ox0dea>
Darmani: How come you still come here?
<Darmani>
Ox0dea: Why do you care?
Gasher has quit [Quit: Leaving]
<Ox0dea>
Are you asking me to quell my curiosity for your benefit?
<Darmani>
Ox0dea - It was a simple question.
<Ox0dea>
As was mine.
<lucasb>
Darmani, Ox0dea: watch it! apeiros will kick both of you.
Limix has quit [Quit: Limix]
<Ox0dea>
apeiros still feels bad about that time he kicked me.
gbgdev has joined #ruby
cicloid has quit [Quit: zzZZzzzZzzzzzZZZz]
<apeiros>
Ox0dea: sure
<Ox0dea>
^_^
<Darmani>
lucasb - I wouldn't put it past him =p
DanKnox[away] has joined #ruby
<Darmani>
Ox0dea - Sometimes I need help. That's why I'm here. Plus you are all like family<33
<Darmani>
lulz
<Ox0dea>
I thought you'd given up on learning Ruby.
<Darmani>
LOL
<Darmani>
Who told you that?
northfurr has joined #ruby
northfurr has quit [Client Quit]
bb010g has quit [Quit: Connection closed for inactivity]
sakix has joined #ruby
wldcordeiro has quit [Ping timeout: 265 seconds]
<freeone3000>
What's the best way to install ruby on Amazon Linux? It appears the ruby it comes with does not have io.console, so I'm sort of stuck as for what to do next.
<Radar>
freeone3000: What Ruby version do you have?
<Radar>
gem install io-console might get it for you.
quazimodo has joined #ruby
northfurr has joined #ruby
<quazimodo>
We have a failing sidekiq worker and I was debugging it, the except that is being raised is IllegalStateMonitorException. I googled this and I'm getting Java code... the worker uses phantomjs so I'm so confused
<quazimodo>
does sidekiq use java?
<Radar>
no
<eam>
unless you're using jruby I suppose
<quazimodo>
here we go
<quazimodo>
it's cruby
M-Kodo has quit [Remote host closed the connection]
M-mistake has quit [Read error: Connection reset by peer]
M-shine has quit [Remote host closed the connection]
<quazimodo>
Radar: ive been heading down that path
<quazimodo>
you enjoying it?
<Darmani>
Do you have a moment to look at my code =P
pietr0 has quit [Quit: pietr0]
edwinvdgraaf has quit [Ping timeout: 264 seconds]
sftrabbit has quit [Quit: sftrabbit]
<Radar>
Darmani: I would if I didn't spend it answering questions about whether I have time to look at it.
<Radar>
;)
<Darmani>
You know, sarcasm kills kittens.
<Radar>
I'm feeling like a real smartass today because I was having a shit day then the next thing I did was amazing and so I feel better.
<Darmani>
Everytime you use sarcasm, god kills a baby kitten.
<Darmani>
Please think of the kittens.
<Radar>
Darmani: It's ok. There's a lot of cats.
pawnbox has joined #ruby
<Darmani>
Radar - lmao
<Darmani>
Well let me fix a few things and i'll show it to you
<Ox0dea>
Many more cats than gods.
<Ox0dea>
(I worship Maru.)
northfurr has quit [Quit: northfurr]
<Radar>
Darmani: Thanks :)
<quazimodo>
Radar: you know if celluloid does any java touching?
<quazimodo>
I can't imagine it does
<Radar>
quazimodo: It does not.
<quazimodo>
yeah I was grasping at straws
<Radar>
My guess is it's whatever is running PhantomJS.
pawnbox has quit [Ping timeout: 250 seconds]
platzhirsch has joined #ruby
kalopsian has quit [Ping timeout: 250 seconds]
<Darmani>
Radar - So this is a very simple, stupid video game. And I'm sure I'm not doing it right. Can you show me how something like this would be done?
sandstrom has quit [Quit: My computer has gone to sleep.]
<baweaver>
Might namespace moves as well for their elements
dlitvak_ has joined #ruby
dopie has quit [Quit: Lost terminal]
<baweaver>
most of the reason to abstract the actions would be that otherwise you end up with concerns of the actions and other pokemon all over a single entity
dopie has joined #ruby
chouhoulis has quit [Remote host closed the connection]
myntcake has quit [Ping timeout: 264 seconds]
stuartb has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
stuartb has joined #ruby
dopie has quit [Client Quit]
UtkarshRay has quit [Remote host closed the connection]
rkazak has joined #ruby
<baweaver>
Darmani: try making Pokemon :D
<Ox0dea>
You could have Monster#attack invoke #defend on other, but that's not very good.
dopie has joined #ruby
dlitvak has quit [Ping timeout: 255 seconds]
IrishGringo has joined #ruby
hnagamin has quit [Quit: さようなら]
IrishGringo_ has quit [Ping timeout: 240 seconds]
hnagamin has joined #ruby
hnagamin has joined #ruby
Guest91159 is now known as saneax_AFK
IrishGringo has quit [Excess Flood]
pilne has joined #ruby
mistermocha has quit []
IrishGringo has joined #ruby
pawnbox has joined #ruby
jgt has quit [Ping timeout: 256 seconds]
Melpaws has quit [Quit: Leaving.]
jackjackdripper has quit [Quit: Leaving.]
fsapo has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
symm- has quit [Ping timeout: 245 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
diegoviola has joined #ruby
dfockler has quit [Quit: Leaving]
__chris has joined #ruby
peeja has quit [Ping timeout: 245 seconds]
<Darmani>
baweaver - Lol that's a good idea.
chipotle has joined #ruby
kalopsian has joined #ruby
hnagamin has quit [Quit: さようなら]
chipotle has quit [Quit: cheerio]
kalopsian has quit [Ping timeout: 265 seconds]
dfinninger has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
UtkarshRay has joined #ruby
BlackCoyote has quit [Quit: Leaving]
ni291187 has joined #ruby
hnagamin has joined #ruby
davedev24 has quit []
jam_ has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
graphettion has joined #ruby
baweaver has quit [Remote host closed the connection]
hnagamin has quit [Ping timeout: 240 seconds]
czsr has joined #ruby
czsr has quit [Changing host]
czsr has joined #ruby
ferr has quit [Ping timeout: 245 seconds]
griffindy has joined #ruby
platzhirsch has quit [Ping timeout: 276 seconds]
tenderlove has quit [Remote host closed the connection]
ferr has joined #ruby
baweaver has joined #ruby
Limix has joined #ruby
mary5030 has joined #ruby
mary5030_ has quit [Read error: No route to host]
Snowy has quit [Remote host closed the connection]
kalopsian has joined #ruby
blackmes1 has joined #ruby
nbdy has joined #ruby
dstarh has joined #ruby
baweaver has quit [Ping timeout: 265 seconds]
jottr has joined #ruby
gbgdev has quit [Remote host closed the connection]
duckpuppy has joined #ruby
x77686d has joined #ruby
dlitvak_ has quit [Ping timeout: 260 seconds]
dlitvak has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
ajf- has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 240 seconds]
B1n4r10 has quit [Ping timeout: 240 seconds]
mfb2 has joined #ruby
guacamol_ has joined #ruby
wolffles has joined #ruby
diegoviola has quit [Quit: WeeChat 1.3]
guacamole has quit [Ping timeout: 250 seconds]
jam_ has quit [Remote host closed the connection]
hannelita has joined #ruby
guacamol_ has quit [Ping timeout: 256 seconds]
Jardayn has quit [Quit: Leaving]
bonhoeffer has joined #ruby
tenderlove has joined #ruby
onlyme has joined #ruby
hannelita has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
czsr has quit [Remote host closed the connection]
dstarh has quit [Read error: Connection reset by peer]
tenderlove has quit [Client Quit]
ni291187 has quit [Remote host closed the connection]
northfurr has quit [Ping timeout: 245 seconds]
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
IrishGringo has quit [Read error: Connection reset by peer]
DanKnox[away] has joined #ruby
northfurr has joined #ruby
djbkd has quit [Quit: My people need me...]
howdoicomputer has quit [Ping timeout: 272 seconds]
jgt has quit [Ping timeout: 264 seconds]
idefine has joined #ruby
onlyme has quit [Remote host closed the connection]
onlyme has joined #ruby
mfb2 has quit [Read error: Connection reset by peer]
dlitvak_ has joined #ruby
mfb2 has joined #ruby
paradisaeidae has quit [Read error: Connection reset by peer]
Waheedi has quit [Quit: Waheedi]
paradisaeidae has joined #ruby
IrishGringo has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
IrishGringo_ has quit [Ping timeout: 255 seconds]
govg has joined #ruby
sneakerhax has quit [Ping timeout: 256 seconds]
northfurr has quit [Quit: northfurr]
zeknox1 has joined #ruby
zeknox1 is now known as zeknox
zeknox has quit [Changing host]
zeknox has joined #ruby
wolffles has quit [Quit: wolffles]
<zeknox>
anyone know of a way to use nokogiri xpath case insensitive without having to use translate() … my Gemfile.lock shows I'm using xpath 2.0 but I cant use lower-case() that is suppose to be added
frem has quit [Quit: Connection closed for inactivity]
wolffles has joined #ruby
agent_white has joined #ruby
northfurr has joined #ruby
jgpawletko has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
<canton7>
the fact that you linked to HN and not the article suggests you're only sharing it to get promotion, not to be useful to other users..?
anisha has quit [Quit: Leaving]
fclausen has joined #ruby
colegatron has joined #ruby
IrishGringo has joined #ruby
<Stratus3D>
canton7: I wrote the article in hopes that others would find it useful. I shared the HN link so others can read the article or promote the HN post.
sepp2k has joined #ruby
IrishGringo_ has quit [Read error: Connection reset by peer]
<Stratus3D>
canton7: Is sharing HN links for promotion against the rules in here?
<canton7>
I didn't say that :P
c355e3b has joined #ruby
drptbl has joined #ruby
Alina-malina has joined #ruby
karapetyan has joined #ruby
c0m0 has joined #ruby
sergey_makagon has joined #ruby
last_staff has quit [Quit: last_staff]
Alina-malina has left #ruby ["Leaving"]
InvGhost has joined #ruby
yqt has joined #ruby
karapetyan has quit [Ping timeout: 272 seconds]
sergey_makagon has quit [Ping timeout: 255 seconds]
<ruby764>
MacBook-Air:~ gauravsarin$ rvm install ruby-2.3.0 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.11/x86_64/ruby-2.3.0. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for osx. Installing requirements for osx. Updating system............................ Installing required packages: autoconf, automake, libtool, pkg
Macaveli has joined #ruby
<ruby764>
I get an error when I run rvm install ruby-2.3.0
Macaveli has quit [Max SendQ exceeded]
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
<ruby764>
Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config libyaml readline libksba', showing last 15 lines of /Users/gauravsarin/.rvm/log/1453293172_ruby-2.3.0/package_install_autoconf_automake_libtool_pkg-config_libyaml_readline_libksba.log
Macaveli has joined #ruby
<ruby764>
ddv - I'm using rvm
gbgdev has quit [Remote host closed the connection]
<ddv>
ruby764: did you install osx command line tools?
<ruby764>
yes that is already there
<ddv>
alright, no idea then chruby works fine for me
<ruby764>
After the above error i searched on stackoverflow and ran this command sudo chown -R "$USER" "$HOME"
rethi has quit [Quit: Changing server]
<ruby764>
Now when i run rvm install ruby-2.3.0 i get the following error
<ruby764>
Checking requirements for osx. ==> Upgrading 1 outdated package, with result: openssl 1.0.2e_1 Error: You must `brew link pkg-config` before openssl can be installed Requirements installation failed with status: 1.
blackmes1 has quit [Ping timeout: 240 seconds]
rethi has joined #ruby
<ruby764>
any idea
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ruby764>
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected .pc files: /usr/local/lib/pkgconfig/tcl.pc /usr/local/lib/pkgconfig/tk.pc Warning: Unbrewed static libraries were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Ho
dlitvak has quit [Ping timeout: 264 seconds]
<ruby764>
Warning: Unbrewed static libraries were found in /usr/local/lib. If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted. Unexpected static libraries: /usr/local/lib/libtclstub8.6.a /usr/local/lib/libtkstub8.6.a Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail
<ruby764>
Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run `brew link` on these: pkg-config
lindistock has quit [Remote host closed the connection]
jmignault has joined #ruby
dfinninger has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 264 seconds]
j_mcnally has joined #ruby
dwfait has joined #ruby
dfinninger has joined #ruby
dfinninger has quit [Remote host closed the connection]
peteyg_ has joined #ruby
hakunin_ has joined #ruby
synthroi_ has joined #ruby
jud^ has joined #ruby
<shevy>
chrisarcand you mean /Users/carcand/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0 ?
tulak_ has joined #ruby
mac__ has joined #ruby
Jardayn_two has joined #ruby
Keltia_ has joined #ruby
Pisuke has joined #ruby
helpa-bot has joined #ruby
user083_ has joined #ruby
<chrisarcand>
shevy: Yeah; why extra version number there/why is it different/etc?
Melpaws1 has joined #ruby
zeknox1 has joined #ruby
Asher1 has joined #ruby
fexilal has joined #ruby
<havenwood>
chrisarcand: ABI compatibility is versioned {MAJOR}.{MINOR}.0.
DirtyFin_ has joined #ruby
dionysus70 has joined #ruby
mary5030_ has joined #ruby
<havenwood>
chrisarcand: The 2.2.0 is the ABI version.
pawnbox_ has joined #ruby
<shevy>
chrisarcand oh yes, the 2.2.x will always have 2.2.0
rvchangue has quit [Ping timeout: 255 seconds]
musl_ has joined #ruby
utkarsh has joined #ruby
<havenwood>
at least it's not 1.9.3 where the ABI was 1.9.1!
sigurding has quit [Quit: sigurding]
ereslibre_laptop has joined #ruby
ereslibre_laptop has quit [Changing host]
ereslibre_laptop has joined #ruby
helpa-bot has quit [Remote host closed the connection]
dwfait has quit [Ping timeout: 260 seconds]
helpa-bot has joined #ruby
nwhirschfeld_ has joined #ruby
WebDawg has quit [Ping timeout: 256 seconds]
kalleth_ has joined #ruby
Gnubie__ has joined #ruby
rikai_ has joined #ruby
ex0ns_ has joined #ruby
vandemar_ has joined #ruby
vandemar_ has joined #ruby
pleiosau1 has joined #ruby
xsdg_ has joined #ruby
DEac-_ has joined #ruby
fantazo has joined #ruby
sts_ has joined #ruby
helpa-bot has quit [Remote host closed the connection]
zacts_ has joined #ruby
jericon_ has joined #ruby
Ariadeno has joined #ruby
isomorph1smes has joined #ruby
alol_ has joined #ruby
PaulePan1er has joined #ruby
kaspergr1bbe has joined #ruby
ltp_ has joined #ruby
Sebastia1Thorn has joined #ruby
exceion_ has joined #ruby
mosez_ has joined #ruby
sts___ has joined #ruby
helpa-bot has joined #ruby
saltsa_ has joined #ruby
philtr_ has joined #ruby
mhb_ has joined #ruby
kiki_lam1 has joined #ruby
cfloare_ has joined #ruby
pwnd_nsfw has quit [Quit: Leaving]
janelleb_ has joined #ruby
Melpaws1 has left #ruby [#ruby]
sung__ has joined #ruby
matti__ has joined #ruby
Ariadeno is now known as Guest10495
rfi has joined #ruby
raypulve1 has joined #ruby
cscheib_ has joined #ruby
ihme-TTilus has joined #ruby
stephenh_ has joined #ruby
miah_ has joined #ruby
sunya7a__ has joined #ruby
Kero_ has joined #ruby
cout_ has joined #ruby
[ace]_ has joined #ruby
setient_ has joined #ruby
peterhu_ has joined #ruby
ByronJoh1son has joined #ruby
Muz_ has joined #ruby
abyss_ has joined #ruby
slash_ni1k has joined #ruby
<chrisarcand>
havenwood: TIL ABI, looks like I have some reading to do :) Thanks!
Jardayn has quit [Disconnected by services]
Jardayn_two has quit [Quit: Leaving]
helpa-bot has quit [Remote host closed the connection]
aryaching has joined #ruby
drptbl_ has joined #ruby
skakri` has joined #ruby
vbatts|w` has joined #ruby
ItSANgo has joined #ruby
mhenrixon has joined #ruby
tekku has joined #ruby
KrzaQ- has joined #ruby
Phanes- has joined #ruby
tvsutton_ has joined #ruby
skullcrasher_ has joined #ruby
mayamai has joined #ruby
Mr_Pancake- has joined #ruby
mistym has quit [Remote host closed the connection]
aep_ has joined #ruby
Jello_Raptor_ has joined #ruby
[derpy] has joined #ruby
bier_ has joined #ruby
kadoppe_ has joined #ruby
mgorbach_ has joined #ruby
samuelkadolph_ has joined #ruby
ekem has joined #ruby
z3uS| has joined #ruby
mattpatt_ has joined #ruby
Evan^ has joined #ruby
thejoecarroll_ has joined #ruby
code_[BNC] has joined #ruby
atmosx has quit [Read error: Connection reset by peer]
\13k has joined #ruby
df- has joined #ruby
mfl has joined #ruby
d0nn1e_ has joined #ruby
kkh has joined #ruby
gbailey has joined #ruby
Shidash_ has joined #ruby
elaptics` has joined #ruby
helpa-bot has joined #ruby
braincra- has joined #ruby
nuck has joined #ruby
yeltzooo9 has joined #ruby
d0nn1e has quit [*.net *.split]
onlyme_ has quit [*.net *.split]
scripore has quit [*.net *.split]
felixal has quit [*.net *.split]
Spami has quit [*.net *.split]
mark3 has quit [*.net *.split]
braincrash has quit [*.net *.split]
hakunin has quit [*.net *.split]
Derailed has quit [*.net *.split]
zeknox has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
Freeaqingme has quit [*.net *.split]
varesa has quit [*.net *.split]
linduxed has quit [*.net *.split]
mclee has quit [*.net *.split]
caffeinic has quit [*.net *.split]
zacts has quit [*.net *.split]
helpa has quit [*.net *.split]
Keltia has quit [*.net *.split]
aep has quit [*.net *.split]
sumark has quit [*.net *.split]
code_ has quit [*.net *.split]
Couch has quit [*.net *.split]
unreal has quit [*.net *.split]
vandemar has quit [*.net *.split]
user083 has quit [*.net *.split]
Shidash has quit [*.net *.split]
abyss has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
Mr_Pancake has quit [*.net *.split]
akkad has quit [*.net *.split]
jud has quit [*.net *.split]
rikai has quit [*.net *.split]
Jello_Raptor has quit [*.net *.split]
mgorbach has quit [*.net *.split]
Amnez777 has quit [*.net *.split]
elaptics has quit [*.net *.split]
saltsa has quit [*.net *.split]
gbailey- has quit [*.net *.split]
nizmow has quit [*.net *.split]
df has quit [*.net *.split]
SebastianThorn has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
KrzaQ has quit [*.net *.split]
phutchins has quit [*.net *.split]
cscheib has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
cout has quit [*.net *.split]
KervyN has quit [*.net *.split]
skakri has quit [*.net *.split]
samuelkadolph has quit [*.net *.split]
skullcrasher has quit [*.net *.split]
setient has quit [*.net *.split]
passcod has quit [*.net *.split]
fourq has quit [*.net *.split]
kalleth has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
mhenrixon_ has quit [*.net *.split]
kloeri has quit [*.net *.split]
philtr has quit [*.net *.split]
tvsutton has quit [*.net *.split]
matti has quit [*.net *.split]
braidn has quit [*.net *.split]
sarlalian has quit [*.net *.split]
ltp has quit [*.net *.split]
oddalot has quit [*.net *.split]
majjoha has quit [*.net *.split]
raypulver has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
alol has quit [*.net *.split]
yeltzooo has quit [*.net *.split]
xsdg has quit [*.net *.split]
mosez has quit [*.net *.split]
jericon has quit [*.net *.split]
conrfrmn has quit [*.net *.split]
jtperreault has quit [*.net *.split]
codehotter has quit [*.net *.split]
TTilus has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
Guest50975 has quit [*.net *.split]
stephenh has quit [*.net *.split]
ironcamel has quit [*.net *.split]
sts has quit [*.net *.split]
[ace] has quit [*.net *.split]
Koshian has quit [*.net *.split]
jmignault has quit [*.net *.split]
drptbl has quit [*.net *.split]
synthroid has quit [*.net *.split]
mondok has quit [*.net *.split]
peteyg has quit [*.net *.split]
pawnbox has quit [*.net *.split]
dionysus69 has quit [*.net *.split]
Melpaws has quit [*.net *.split]
mary5030 has quit [*.net *.split]
tulak has quit [*.net *.split]
cfloare has quit [*.net *.split]
DirtyFinn has quit [*.net *.split]
gagrio has quit [*.net *.split]
duderon__ has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
Asher has quit [*.net *.split]
moufl has quit [*.net *.split]
kadoppe has quit [*.net *.split]
Guest7611 has quit [*.net *.split]
musl has quit [*.net *.split]
Cyrus has quit [*.net *.split]
ereslibre has quit [*.net *.split]
iamayam has quit [*.net *.split]
tekk has quit [*.net *.split]
duracrisis has quit [*.net *.split]
guardian has quit [*.net *.split]
dasher00 has quit [*.net *.split]
arob has quit [*.net *.split]
stevednd has quit [*.net *.split]
MyMind has quit [*.net *.split]
miah has quit [*.net *.split]
bahar has quit [*.net *.split]
exceion has quit [*.net *.split]
Log1x has quit [*.net *.split]
nwhirschfeld has quit [*.net *.split]
Affix has quit [*.net *.split]
edwardly has quit [*.net *.split]
weaksauce has quit [*.net *.split]
Ankhers has quit [*.net *.split]
RTG` has quit [*.net *.split]
mhb has quit [*.net *.split]
z3uS has quit [*.net *.split]
`derpy has quit [*.net *.split]
peterhu has quit [*.net *.split]
j2k has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
Phanes has quit [*.net *.split]
Evan- has quit [*.net *.split]
blake has quit [*.net *.split]
Kero has quit [*.net *.split]
Sigma00 has quit [*.net *.split]
cats has quit [*.net *.split]
DexterLB has quit [*.net *.split]
thomas has quit [*.net *.split]
pleiosaur has quit [*.net *.split]
janelleb has quit [*.net *.split]
yonatankoren has quit [*.net *.split]
DEac- has quit [*.net *.split]
gf3 has quit [*.net *.split]
bier has quit [*.net *.split]
mattpatt has quit [*.net *.split]
Muz has quit [*.net *.split]
moua has quit [*.net *.split]
rdema has quit [*.net *.split]
ja has quit [*.net *.split]
groundnuty has quit [*.net *.split]
xybre has quit [*.net *.split]
sts__ has quit [*.net *.split]
bhaak has quit [*.net *.split]
utkarsh_ has quit [*.net *.split]
elemeken has quit [*.net *.split]
\13k_ has quit [*.net *.split]
DefV has quit [*.net *.split]
rfi_ has quit [*.net *.split]
NfNitLoop has quit [*.net *.split]
ericwood_ has quit [*.net *.split]
fold3 has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
sunya7a_ has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
isomorphismes has quit [*.net *.split]
jidar has quit [*.net *.split]
low-profile has quit [*.net *.split]
sung has quit [*.net *.split]
slash_nick has quit [*.net *.split]
DylanJ has quit [*.net *.split]
z4ph0d has quit [*.net *.split]
ex0ns has quit [*.net *.split]
nitrix has quit [*.net *.split]
df- is now known as df
matti__ is now known as matti
mfl is now known as moufl
samuelkadolph_ is now known as samuelkadolph
braincra- is now known as braincrash
grumpycat has joined #ruby
TheMoonMaster has joined #ruby
nuck is now known as Guest93487
z3uS| is now known as z3uS
Mr_Pancake- is now known as Mr_Pancake
dionysus70 is now known as dionysus69
mgorbach_ is now known as mgorbach
Ankhers has joined #ruby
bahar has joined #ruby
nizmow_ has joined #ruby
arob has joined #ruby
varesa has joined #ruby
ja has joined #ruby
sumark has joined #ruby
Sigma00 has joined #ruby
sjohnsen has joined #ruby
passcod has joined #ruby
Affix has joined #ruby
julieeharshaw has joined #ruby
akkad has joined #ruby
grumpycat is now known as cats
Affix is now known as Guest25994
jgt has joined #ruby
helpa-bot has quit [Remote host closed the connection]
ccaffeini has joined #ruby
DefV has joined #ruby
Sp4rKy has joined #ruby
moei has quit [Quit: Leaving...]
Spami has joined #ruby
onlyme_ has joined #ruby
edwardly has joined #ruby
g3funk has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
yonatankoren has joined #ruby
unreal has joined #ruby
Guest25994 has quit [Changing host]
Guest25994 has joined #ruby
Amnez777 has joined #ruby
Guest25994 is now known as Affix
fourq has joined #ruby
z4ph0d has joined #ruby
RTG` has joined #ruby
fourq is now known as Guest23046
ericwood has joined #ruby
KervyN has joined #ruby
Guest81954 has joined #ruby
Derailed has joined #ruby
andikr has quit [Quit: No Ping reply in 180 seconds.]
shredding has quit [Ping timeout: 250 seconds]
chrisseaton has quit []
ricer2_g4H4 has quit [Ping timeout: 272 seconds]
duckpuppy has joined #ruby
FooMunki has quit [Quit: FooMunki]
romero has quit [Remote host closed the connection]
Amnez777 has quit [Changing host]
Amnez777 has joined #ruby
romero has joined #ruby
abyss has joined #ruby
romero is now known as Guest73276
abyss_ has quit [Ping timeout: 272 seconds]
krz has joined #ruby
dwfait has joined #ruby
andikr has joined #ruby
nertzy has joined #ruby
like-all has quit [Read error: Connection timed out]
PsionTheory has joined #ruby
Couch has joined #ruby
dasher00 has joined #ruby
Jardayn has joined #ruby
gagrio has joined #ruby
chrisseaton has joined #ruby
codehotter has joined #ruby
majjoha has joined #ruby
jtperreault has joined #ruby
prestorium has joined #ruby
xybre has joined #ruby
like-all has joined #ruby
AlexRussia has joined #ruby
phutchins has joined #ruby
stevednd has joined #ruby
rdema has joined #ruby
helpa has joined #ruby
mclee has joined #ruby
low-profile has joined #ruby
sarlalian has joined #ruby
Cyrus has joined #ruby
karapetyan has quit [Remote host closed the connection]
Cyrus is now known as Guest68889
NfNitLoop has joined #ruby
Mia has joined #ruby
jidar has joined #ruby
sgambino has joined #ruby
j2k has joined #ruby
Log1x has joined #ruby
Log1x has quit [Changing host]
Log1x has joined #ruby
<chrisarcand>
havenwood: So the point of ABI versioning in Ruby's case is that gems compiled in different Ruby versions using the same C api (same ABI) could be shared? (But are not shared in my rbenv case, they are in separate rubies that all happen to have the same ABI number)
fold3 has joined #ruby
mark3 has joined #ruby
conrfrmn has joined #ruby
moei has joined #ruby
sgambino has quit [Client Quit]
shinnya has joined #ruby
oddalot has joined #ruby
karapetyan has joined #ruby
mondok has joined #ruby
groundnuty has joined #ruby
ironcamel has joined #ruby
coffeejunk has joined #ruby
linduxed has joined #ruby
Koshian has joined #ruby
sgambino has joined #ruby
jottr has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
moei has left #ruby [#ruby]
peitera- has quit [Quit: acy]
Burgestrand has joined #ruby
dlitvak_ has joined #ruby
g3funk is now known as braidn
peitera has joined #ruby
<havenwood>
chrisarcand: One hangup for actually sharing gems just by ABI is that the RubyGems default is to hardcode the path to the Ruby in gem executables that are installed. You can use a shebang instead with the --env-shebang option that is set to become default with the RubyGems 2.6 milestone.
aganov has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<chrisarcand>
havenwood: Awesome, thanks for all the clarification :) Appreciate it.
sgambino has joined #ruby
<havenwood>
chrisarcand: You're welcome. No prob!
dlitvak_ has quit [Ping timeout: 260 seconds]
ramortegui has joined #ruby
disconnekted has joined #ruby
chthon has quit [Quit: Ex-Chat]
quazimodo has joined #ruby
KrzaQ- is now known as KrzaQ
sgambino has quit [Client Quit]
tulak_ has quit [Ping timeout: 276 seconds]
sgambino has joined #ruby
vdamewood has joined #ruby
andikr has quit [Remote host closed the connection]
Ebok has joined #ruby
dlitvak has joined #ruby
<Bish>
that aws shit is powerful, never used it before
<Bish>
jesus.
bronson has joined #ruby
kloeri has joined #ruby
elaptics` is now known as elaptics
nertzy has joined #ruby
r4um has quit [Quit: leaving]
treehug88 has joined #ruby
last_staff has quit [Quit: last_staff]
howdoicomputer has joined #ruby
<apeiros>
so it turns water into wine?
bronson has quit [Ping timeout: 265 seconds]
vbatts|w` is now known as vbatts|work
vbatts|work has left #ruby ["found the other side of the rainbow"]
cicloid has joined #ruby
kobain has joined #ruby
dfinninger has joined #ruby
howdoicomputer has quit [Ping timeout: 240 seconds]
<prestorium>
hi all. I'm coding a POC using raw ruby. How should I handle my classes loading? I'm coming from PHP with composer + autoload.php, which has require 'foo.php'; require 'bar.php' and so on.
<prestorium>
What is the ruby way to do that?
<prestorium>
I won't use any framework for now
<apeiros>
a POC?
bMalum has joined #ruby
<prestorium>
Proof of Concept
<apeiros>
ruby convention is: put all files in lib/, have names map the constants like Foo::BarBaz -> foo/barbaz.rb
<ddv>
piece of c...
<apeiros>
rails convention slightly deviates in that convention and uses Foo::BarBaz -> foo/bar_baz.rb
<apeiros>
while testing, make sure your $LOAD_PATH is set up properly, usually you do that by e.g. -I (capital i, not lowercase L): ruby -Ilib bin/your_executable
User458764 has joined #ruby
<apeiros>
and in the files, you require in each file what you need, relative to the lib dir. e.g. if foo.rb, which defines Foo, you need Foo::BarBaz, you have on top of the file `require 'foo/bar_baz.rb'`
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
that's all.
<prestorium>
apeiros, hmmm what about appending '../lib' to $LOAD_PATH inside my bin/exe?
<apeiros>
generally should not do that since you'll want to make your thing a gem. and gem handles that for you.
<apeiros>
so fixing the $LOAD_PATH in the executable can be counterproductive.
<apeiros>
personally I use 2 lines of code in my exes, one which tests whether ../lib exists, and if so, adds it to $LOAD_PATH. that's borderline acceptable.
<prestorium>
got it! thank you very much for now apeiros ! :)
davedev24 has joined #ruby
WebDawg has joined #ruby
pwnd_nsfw has joined #ruby
onlyme_ has quit [Quit: Be back later ...]
onlyme_ has joined #ruby
ajf- has joined #ruby
kao has joined #ruby
floatingpoint has joined #ruby
Kero_ is now known as Kero
jam_ has joined #ruby
ruby764 has quit [Ping timeout: 252 seconds]
DirtyFin_ has quit []
Macaveli has joined #ruby
avenj has quit [Ping timeout: 240 seconds]
disconnekted has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 240 seconds]
onlyme_ has quit [Ping timeout: 256 seconds]
__chris has joined #ruby
tjohnson has joined #ruby
jam_ has quit [Ping timeout: 250 seconds]
benzrf has left #ruby ["WeeChat 1.3"]
Bloomer has joined #ruby
PedramT has quit [Remote host closed the connection]
malconis has joined #ruby
blackmes1 has joined #ruby
B1n4r10 has joined #ruby
malconis has quit [Remote host closed the connection]
mfb2 has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Psy-Q has joined #ruby
sdothum has joined #ruby
<Psy-Q>
is there a name for a chainable method (like in activerecord, Thing.where(:foo => 'bar').first) so i could search for something that helps me write my own chainable methods?
myntcake has quit [Remote host closed the connection]
<apeiros>
Psy-Q: higher-order methods is one name.
<Psy-Q>
apeiros: thank you
<apeiros>
"proxy object returning method" is not really a name, but kind of a pattern
mfb2_ has joined #ruby
<apeiros>
and usually the pattern used with HOM
Guest23046 is now known as fourq
malconis has joined #ruby
fourq has quit [Changing host]
fourq has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mfb2 has quit [Ping timeout: 276 seconds]
kalopsian has joined #ruby
sgambino has joined #ruby
fantazo has quit [Ping timeout: 240 seconds]
Arnvald has joined #ruby
techietrash has quit [Quit: Bye! <(^_^<)]
paultreny has quit [Quit: ¯\_(ツ)_/¯]
_ramix_ has joined #ruby
techietrash has joined #ruby
Bloomer has quit [Remote host closed the connection]
paultreny has joined #ruby
paultreny is now known as Guest51294
Guest71024 is now known as saneax_AFK
BTRE has joined #ruby
like-all has quit [Read error: Connection timed out]
Guest81954 has quit [Changing host]
Guest81954 has joined #ruby
Guest81954 is now known as nitrix
PedramT has joined #ruby
drptbl_ has quit [Quit: My MAC has gone to sleep. zZz..]
Bloomer has joined #ruby
drptbl has joined #ruby
like-all has joined #ruby
chthon has joined #ruby
pwnd_nsfw has quit [Read error: Connection reset by peer]
mary5030_ has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
BTRE has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
dlitvak has quit [Remote host closed the connection]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
ziyadb has quit [Quit: Connection closed for inactivity]
mary5030 has joined #ruby
Bloomer has quit [Remote host closed the connection]
Bloomer has joined #ruby
El3ktra has quit [Ping timeout: 265 seconds]
khaki has joined #ruby
jhn has joined #ruby
Koshian has quit [Ping timeout: 260 seconds]
phreakocious has quit [Ping timeout: 260 seconds]
Koshian has joined #ruby
PedramT has quit [Remote host closed the connection]
whippythellama has quit [Ping timeout: 264 seconds]
ta0 has joined #ruby
PedramT has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aegis3121 has joined #ruby
nerium has joined #ruby
PedramT has quit [Remote host closed the connection]
Bloomer has quit []
<choke>
Morning
PedramT has joined #ruby
huyderman has quit [Remote host closed the connection]
<choke>
looks like it to me shevy -- i just had to google each_line 'cause i've never seen it before...
PedramT has quit [Remote host closed the connection]
<shevy>
haha
<shevy>
nah I meant ARGF.class.new and the trailing ; there mostly
DurstBurger has quit [Ping timeout: 276 seconds]
gagrio has quit [Ping timeout: 240 seconds]
krobzaur has joined #ruby
dlitvak has joined #ruby
mchu has joined #ruby
IrishGringo has quit [Ping timeout: 250 seconds]
finisherr has quit [Quit: finisherr]
<shevy>
there are so many different ruby styles available, many of them confuse me
casadei has joined #ruby
<shevy>
I need to find that .() example from Ox0dea again ...
<shevy>
and combine it with -> and &.
gizmore has joined #ruby
chouhoulis has joined #ruby
DoubleMalt has quit [Remote host closed the connection]
sergey_makagon has quit []
dlitvak has quit [Ping timeout: 256 seconds]
BTRE has joined #ruby
<choke>
ahh now i got you
arup_r has quit [Remote host closed the connection]
chouhoul_ has joined #ruby
<choke>
and understand what you mean -- i don't think i've used a semi-colon yet in any of my code ( i may be wrong ) and the .class.new thing...
Guest74863 is now known as bhaak
guacamole has joined #ruby
ellistaa has joined #ruby
x77686d has joined #ruby
IrishGringo has joined #ruby
bhaak is now known as Guest51765
Guest51765 is now known as bhaak`
chouhoulis has quit [Ping timeout: 250 seconds]
whippythellama has joined #ruby
lxsameer has joined #ruby
ellistaa has left #ruby [#ruby]
Sucks has joined #ruby
<shevy>
I sometimes saw it from former php users
freerobby has joined #ruby
<shevy>
ARGF.class.new however had I have not seen before... I guess my brain just is really bad at parsing unknown things
al2o3-cr has quit [Quit: WeeChat 1.3]
<shevy>
hmmm
<shevy>
choke aren't you a PHPer!
PedramT has joined #ruby
treehug88 has quit [Read error: Connection reset by peer]
<choke>
was -- past tense...
cschneid_ has joined #ruby
ta0 has quit [Ping timeout: 252 seconds]
newbie22 has joined #ruby
<choke>
when i learn a new language, i learn the basic syntax and then delve right into best practices... though even with php I never named my classes
<choke>
something.class.php
kalopsian has joined #ruby
bronson has joined #ruby
<choke>
didn't need to, because everything had it's spot to be placed, and my folder hierarchy told me what is what and why its what
Sucks has quit [Read error: Connection reset by peer]
Sucks has joined #ruby
<diegoviola>
?ot
<ruby[bot]>
this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
yeah I sorta do that with ruby
<shevy>
either one file per class
WebDawg has quit [Quit: peace]
<shevy>
or a class get its own directory! :)
howdoicomputer has joined #ruby
<gizmore>
i go with include and extend directories for decorators :)
<choke>
i do that -- one file per class ( always have ) -- depending on the context of its use... it makes for easier maintainability i think, and i don't have to remember what file a specific class is in.
anagha_ has quit [Quit: Connection closed for inactivity]
<newbie22>
*: does anyone know a good website for learning idiomatic ruby
<newbie22>
???
bronson has quit [Ping timeout: 265 seconds]
ajf- has quit [Ping timeout: 265 seconds]
like-all has quit [Ping timeout: 255 seconds]
<shevy>
newbie22 you probably have to get dirty and just write a lot of ruby code
sigurding has joined #ruby
mchu has quit [Quit: mchu]
WebDawg has joined #ruby
like-all has joined #ruby
aufi has quit [Quit: Konversation terminated!]
mondok has quit [Remote host closed the connection]
<newbie22>
shevy: that was you, yesterday, giving me advice on "*idiomatic ruby",,,, no good sources of starter info ??
howdoicomputer has quit [Ping timeout: 272 seconds]
<shevy>
newbie22 there is none
SCHAAP137 has quit [Remote host closed the connection]
<shevy>
stackoverflow is really great, most of the time
<shevy>
we old people had to use IRC for help!
<shevy>
or even worse, MAILING LISTS
rikai has joined #ruby
<choke>
oh man -- i remember mailing lists lol
treehug88 has joined #ruby
mchu has joined #ruby
<shevy>
I never managed to get into them... but I remember that years ago chris2 commented on something related to the quality of the ruby mailing list no longer being as good as it used to be (something along those lines)
<ruby[bot]>
hxegon: # => /tmp/execpad-d2116d9efae8/source-d2116d9efae8:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/505310)
baweaver has joined #ruby
<hxegon>
>> def dig(arg); Array(arg).inject(self) {|store, key| store[key] }; end # will I ever get one without a syntax error first time?
roshanav_ has quit [Remote host closed the connection]
zacts_ has quit [Quit: leaving]
cicloid has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
cicloid has joined #ruby
<choke>
that style guide bugs me for some reason... i think we talked about that before, didn't we shevy?
<shevy>
the style guide is a bit weird yeah but the best feature is rubocop's autocorrect - that alone makes the weirdness of the style guide acceptable for me :)
lacuna has quit [Remote host closed the connection]
jam_ has joined #ruby
<shevy>
I could in theory turn all your people ugly ruby code into pretty shevy-esqe ruby code!
<shevy>
(if I would write such a style guide that is)
baweaver has quit [Ping timeout: 265 seconds]
guacamole has quit [Read error: Connection reset by peer]
<choke>
I still haven't played with robocop yet, but definitely seems like a cool tool
kalopsian has quit [Quit: leaving]
brixen has quit [Excess Flood]
kalopsian has joined #ruby
<choke>
I might be writing a gem soon, so maybe i'll use it on that if i decide to do it ( a mongo gem, 'cause i want to use Rails5 and mongoid isn't slated to support it until the end of this year... )
roshanav_ has joined #ruby
<shevy>
I tried to use rubocop on https://rubygems.org/gems/rubywebdialogs and it worked to some extent... like 50% cleaning or so, which is good... but I got tired of having to fix the manual rest, one day I shall try to have rubocop autofix all the problems on a 11 years old codebase
<choke>
that'll be interesting lol
roshanavand has quit [Ping timeout: 240 seconds]
brixen has joined #ruby
zast has joined #ruby
nertzy2 has joined #ruby
DurstBurger has joined #ruby
jam_ has quit [Ping timeout: 272 seconds]
zapata has joined #ruby
dcunit3d has joined #ruby
PedramT has quit [Remote host closed the connection]
roshanav_ has quit [Ping timeout: 240 seconds]
TomyWork has quit [Ping timeout: 248 seconds]
startupality has quit [Quit: startupality]
asccigcc has joined #ruby
startupality has joined #ruby
nertzy has quit [Ping timeout: 260 seconds]
pyoor has left #ruby [#ruby]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
platzhirsch has left #ruby [#ruby]
arup_r has joined #ruby
sgambino has joined #ruby
ponga has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
ziyadb has joined #ruby
sgambino has quit [Client Quit]
sgambino has joined #ruby
moeabdol has joined #ruby
moeabdol has quit [Client Quit]
dext has quit [Ping timeout: 264 seconds]
startupality has quit [Ping timeout: 240 seconds]
sgambino has quit [Client Quit]
lucasb has quit [Quit: leaving]
rakm has joined #ruby
Macaveli has joined #ruby
sandstrom has joined #ruby
casadei has quit [Remote host closed the connection]
dfinninger has joined #ruby
dlitvak has joined #ruby
newbie22 has quit [Quit: Leaving]
synthroi_ has quit [Remote host closed the connection]
moeabdol has joined #ruby
gf3 has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
roshanavand has joined #ruby
bhaak` is now known as bhaak_
bhaak_ is now known as bhaak`
bhaak` is now known as bhaak_
lacuna has joined #ruby
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
dlitvak has quit [Remote host closed the connection]
pietr0 has joined #ruby
Kryptonic has quit [Read error: Connection reset by peer]
ferr has quit [Ping timeout: 240 seconds]
Kryptonical has joined #ruby
troulouliou_div2 has quit [Remote host closed the connection]
<atomical>
Am I going to run into problems creating an array with a million threads? i have a mailchimp request and then i need to process one hundred records and then do another request. I'd like to process the records while some iowait is happening with the http call.
dlitvak has joined #ruby
blackmes1 has joined #ruby
sigurding has quit [Quit: sigurding]
guacamole has quit [Ping timeout: 265 seconds]
dlitvak has quit [Remote host closed the connection]
<havenwood>
atomical: Your system thread limit is probably less than a million. This dev machine gets to 2046 with: ruby -e "1.upto(Float::INFINITY) { |n| Thread.new { sleep }; puts n }"
prestorium has quit [Quit: Leaving]
mary5030 has quit [Ping timeout: 260 seconds]
<atomical>
so i need to have some kind of worker queue for threads i guess
<atomical>
i don't want to use threads.each { |thr| thr.join } because it blocks
mary5030 has joined #ruby
kalleth_ is now known as kalleth
<havenwood>
atomical: consider a thread pool or use something like typhoeus' hydra which is made well and meant for such things: https://github.com/typhoeus/typhoeus
drptbl has quit [Quit: My MAC has gone to sleep. zZz..]
<havenwood>
(for single threaded parallel requests)
<havenwood>
atomical: There is more than one way to do it!
<atomical>
I'll check those out. I'm using the gibbon gem so I might look into some kind of thread pool
<al2o3-cr>
+1 typhoeus
dext has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
edwinvdgraaf has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
blackms has quit [Ping timeout: 240 seconds]
varesa has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
dext has quit [Ping timeout: 265 seconds]
jottr has joined #ruby
amoeba_ is now known as amoeba
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
dfinninger has quit [Remote host closed the connection]
finisherr has joined #ruby
dfinninger has joined #ruby
bluOxigen_ has joined #ruby
tildes has quit [Ping timeout: 256 seconds]
<imperator>
one MEELION threads
<shevy>
half of which will become zombies
bluOxigen has quit [Ping timeout: 264 seconds]
lycaonian has quit [Ping timeout: 276 seconds]
freerobby has quit [Client Quit]
jottr has quit [Ping timeout: 256 seconds]
joonty has quit [Ping timeout: 250 seconds]
akem has quit [Remote host closed the connection]
lacuna has quit [Remote host closed the connection]
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SCHAAP137 has joined #ruby
Mia has quit [Read error: Connection timed out]
lycaonian has joined #ruby
dfinninger has quit [Ping timeout: 255 seconds]
synthroid has joined #ruby
dfinninger has joined #ruby
UtkarshRay has quit [Remote host closed the connection]
speaking1ode has quit [Ping timeout: 260 seconds]
tesuji has quit [Ping timeout: 272 seconds]
synthroid has quit [Read error: No route to host]
synthroid has joined #ruby
speaking1ode has joined #ruby
benlieb has joined #ruby
lacuna has joined #ruby
dionysus69 has joined #ruby
pilne has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
diegoviola has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
nizmow has joined #ruby
chthon has quit [Ping timeout: 255 seconds]
TomyLobo has joined #ruby
diegoviola has joined #ruby
krz has quit [Ping timeout: 272 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
JohnT has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azulinho has quit [Ping timeout: 240 seconds]
akkad has quit [Excess Flood]
lacuna has quit [Read error: Connection reset by peer]
dc1 has joined #ruby
lacuna has joined #ruby
User458764 has joined #ruby
TomPeed has joined #ruby
JohnT has joined #ruby
sftrabbit has quit [Quit: sftrabbit]
dc1 has quit [Client Quit]
djbkd has joined #ruby
<shevy>
so...
dc1 has joined #ruby
dext has joined #ruby
<shevy>
who of you people have experience with transferring ruby maintainer/ownership of ruby projects AND for a project for which it has worked well?
peret has joined #ruby
UtkarshRay has joined #ruby
peret has left #ruby [#ruby]
baweaver has joined #ruby
akkad has joined #ruby
<imperator>
shevy, I've transferred a few
<imperator>
seems to have gone over alright
dc1 has quit [Client Quit]
dc1 has joined #ruby
<choke>
well, time for me to actually get up and go to the office... see you all in a bit
choke has quit [Quit: Gone]
dc1 has quit [Client Quit]
baweaver has quit [Ping timeout: 240 seconds]
sgambino has joined #ruby
quazimodo has quit [Ping timeout: 272 seconds]
rkazak has quit [Quit: Sleep.....ing....]
skcin7 has joined #ruby
saneax_AFK is now known as saneax
saneax is now known as Guest37559
jbrhbr has joined #ruby
howdoicomputer has joined #ruby
iateadonut has quit [Quit: Leaving.]
ramfjord_ has joined #ruby
guacamole has joined #ruby
<tubbo>
shevy: i've had projects transferred *to* me
guacamole has quit [Max SendQ exceeded]
dext has quit [Ping timeout: 256 seconds]
ramfjord has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
jhn has quit [Read error: Connection reset by peer]
benhuda has joined #ruby
rsc___ has quit [Quit: rsc___]
rsc___ has joined #ruby
TomPeed has quit [Read error: Connection reset by peer]
dfinninger has quit [Remote host closed the connection]
rsc___ has quit [Client Quit]
dmolina has quit [Ping timeout: 256 seconds]
iamvery_ has joined #ruby
dfinninger has joined #ruby
frog0909_ has joined #ruby
aryaching_ has joined #ruby
workmad3_ has joined #ruby
makenoise has joined #ruby
dwfait has quit [Remote host closed the connection]
karapety_ has joined #ruby
astrobun_ has joined #ruby
arthurix has joined #ruby
zenspider_ has joined #ruby
tjohnson_ has joined #ruby
eboaz_ has joined #ruby
ryotarai_ has joined #ruby
hahuang61 has joined #ruby
Spami has quit [Ping timeout: 272 seconds]
sneakerhax has joined #ruby
camillo has joined #ruby
abra0_ has joined #ruby
benhuda_ has joined #ruby
Sucks_ has joined #ruby
guacamole has joined #ruby
sol_ has quit [Ping timeout: 240 seconds]
camillo is now known as sol_
nej has joined #ruby
plsk_ has joined #ruby
stuartb_ has joined #ruby
dling has joined #ruby
skcin7_ has joined #ruby
UtkarshRay has quit [Quit: Leaving]
sgambino_ has joined #ruby
shiver32 has joined #ruby
shiver32 has quit [Changing host]
shiver32 has joined #ruby
wnd_ has joined #ruby
crankhar1er has joined #ruby
janelleb has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
neanderslob_ has joined #ruby
El3ktra has joined #ruby
El3ktra has quit [Changing host]
El3ktra has joined #ruby
TakumoKatekari has joined #ruby
TakumoKatekari has quit [Changing host]
TakumoKatekari has joined #ruby
dopie has joined #ruby
camilasann has joined #ruby
swgillespie_ has joined #ruby
sindork_ has joined #ruby
jottr has joined #ruby
yardenbar has quit [Ping timeout: 272 seconds]
hays has quit [Ping timeout: 244 seconds]
mac__ has quit [Quit: This computer has gone to sleep]
Guest37559 is now known as saneax_AFK
frem_ has joined #ruby
ThomaSs_ has joined #ruby
ElderFain- has joined #ruby
joonty has joined #ruby
gmci_ has joined #ruby
SilentEc1 has joined #ruby
fumduq has joined #ruby
hakunin_ is now known as hakunin
skakri` has joined #ruby
elaptics` has joined #ruby
snockerton has joined #ruby
dext has joined #ruby
ramfjord_ has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
Arcaire_ has joined #ruby
Lildirt|SomeoneT has joined #ruby
Olipro_ has joined #ruby
Karunamon|2 has joined #ruby
thomasfedb_ has joined #ruby
Ankhers_ has joined #ruby
guacamole has quit [Ping timeout: 260 seconds]
sonne_ has joined #ruby
benhuda has quit [*.net *.split]
skcin7 has quit [*.net *.split]
sgambino has quit [*.net *.split]
karapetyan has quit [*.net *.split]
Sucks has quit [*.net *.split]
whippythellama has quit [*.net *.split]
IrishGringo has quit [*.net *.split]
sepp2k has quit [*.net *.split]
frem has quit [*.net *.split]
tjohnson has quit [*.net *.split]
Ebok has quit [*.net *.split]
groundnuty has quit [*.net *.split]
NfNitLoop has quit [*.net *.split]
Couch has quit [*.net *.split]
abyss has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
ja has quit [*.net *.split]
Ankhers has quit [*.net *.split]
Guest93487 has quit [*.net *.split]
elaptics has quit [*.net *.split]
z3uS has quit [*.net *.split]
Mr_Pancake has quit [*.net *.split]
skakri has quit [*.net *.split]
aryaching has quit [*.net *.split]
janelleb_ has quit [*.net *.split]
workmad3 has quit [*.net *.split]
Jackneill has quit [*.net *.split]
parus has quit [*.net *.split]
chipotle has quit [*.net *.split]
stuartb has quit [*.net *.split]
hahuang65 has quit [*.net *.split]
gmci has quit [*.net *.split]
camilasan has quit [*.net *.split]
swgillespie has quit [*.net *.split]
Arcaire has quit [*.net *.split]
neanderslob has quit [*.net *.split]
chris2 has quit [*.net *.split]
astrobunny has quit [*.net *.split]
arthurix_ has quit [*.net *.split]
slackR has quit [*.net *.split]
C0deMaver1ck has quit [*.net *.split]
armyriad has quit [*.net *.split]
iamvery has quit [*.net *.split]
ryotarai has quit [*.net *.split]
sindork has quit [*.net *.split]
veloutin has quit [*.net *.split]
sonne has quit [*.net *.split]
kies has quit [*.net *.split]
shevy has quit [*.net *.split]
Olipro has quit [*.net *.split]
abra0 has quit [*.net *.split]
crankharder has quit [*.net *.split]
eggoez has quit [*.net *.split]
segy has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
plsk has quit [*.net *.split]
Elysia has quit [*.net *.split]
wnd has quit [*.net *.split]
frog0909 has quit [*.net *.split]
vondruch has quit [*.net *.split]
Takumo has quit [*.net *.split]
atom3 has quit [*.net *.split]
eboaz has quit [*.net *.split]
gsingh93 has quit [*.net *.split]
SirFunk_ has quit [*.net *.split]
badeball has quit [*.net *.split]
woodruffw has quit [*.net *.split]
shiver has quit [*.net *.split]
ElderFain has quit [*.net *.split]
zenspider has quit [*.net *.split]
adaedra has quit [*.net *.split]
davidcelis has quit [*.net *.split]
bodgix has quit [*.net *.split]
Lildirt has quit [*.net *.split]
infernix has quit [*.net *.split]
ThomaSs has quit [*.net *.split]
joast has quit [*.net *.split]
fumduq- has quit [*.net *.split]
FifthWall has quit [*.net *.split]
kitallisii has quit [*.net *.split]
SilentEcho has quit [*.net *.split]
Karunamon has quit [*.net *.split]
quarcu_ has quit [*.net *.split]
z3uS| has joined #ruby
ElderFain has joined #ruby
[adaedra] has joined #ruby
thomasfedb has quit [*.net *.split]
trajing has quit [*.net *.split]
abra0_ is now known as abra0
ryotarai_ is now known as ryotarai
ElderFain- is now known as ElderFain
ElderFain has quit [Changing host]
goezz has joined #ruby
yossarian has joined #ruby
sjohnsen has joined #ruby
Mr_Pancake has joined #ruby
quarcu has joined #ruby
z3uS| is now known as z3uS
griffindy has joined #ruby
SirFunk has joined #ruby
tjohnson_ is now known as tjohnson
nuck has joined #ruby
veloutin has joined #ruby
gsingh93 has joined #ruby
slackR has joined #ruby
Elysia has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
ferr has joined #ruby
Olipro_ is now known as Olipro
nuck is now known as Guest66976
FifthWall has joined #ruby
gmci_ is now known as gmci
Arcaire_ is now known as Arcaire
armyriad has joined #ruby
C0deMaver1ck has joined #ruby
abyss has joined #ruby
frem_ is now known as frem
badeball has joined #ruby
Ankhers_ is now known as Ankhers
C0deMaver1ck is now known as Guest56085
swgillespie_ is now known as swgillespie
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kitallis has joined #ruby
shevy has joined #ruby
whippythellama has joined #ruby
trajing has joined #ruby
bodgix has joined #ruby
IrishGringo has joined #ruby
bronson has joined #ruby
Spami has quit [Read error: Connection reset by peer]
mondok has joined #ruby
fedexo has quit [Ping timeout: 260 seconds]
robbyoconnor has quit [Remote host closed the connection]
dopie has quit [Quit: Lost terminal]
parus has joined #ruby
atom3 has joined #ruby
dopie has joined #ruby
robbyoconnor has joined #ruby
segy has joined #ruby
JohnT has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
griffindy has quit [Ping timeout: 264 seconds]
JohnT has joined #ruby
tomchapin has joined #ruby
IrishGringo has quit [Remote host closed the connection]
wnd_ is now known as wnd
Couch has joined #ruby
setient_ is now known as setient
infernix has joined #ruby
vondruch has joined #ruby
Jackneill has joined #ruby
benhuda_ is now known as benhuda
shadoi has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
roger_rabbit has joined #ruby
kies has joined #ruby
Guest58 has joined #ruby
chris2 has joined #ruby
NfNitLoop has joined #ruby
sepp2k has joined #ruby
akkad has quit [Excess Flood]
groundnuty has joined #ruby
dext has quit [Ping timeout: 264 seconds]
ht__ has joined #ruby
zeknox1 is now known as zeknox
zeknox has quit [Changing host]
zeknox has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
skade has joined #ruby
anisha_ has quit [Quit: Leaving]
troulouliou_dev has joined #ruby
duckpuppy has joined #ruby
Meow-J has quit [Quit: Connection closed for inactivity]
arup_r has quit []
blaxter has quit [Quit: foo]
krz has joined #ruby
cpup has quit [Ping timeout: 265 seconds]
howdoicomputer has quit [Ping timeout: 272 seconds]
lycaonian is now known as Lycaonian
groundnuty has quit [*.net *.split]
Guest58 has quit [*.net *.split]
atom3 has quit [*.net *.split]
parus has quit [*.net *.split]
kitallis has quit [*.net *.split]
shevy has quit [*.net *.split]
whippythellama has quit [*.net *.split]
trajing has quit [*.net *.split]
bodgix has quit [*.net *.split]
joonty has quit [Quit: Leaving]
Xeago has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 240 seconds]
gregf has quit [Quit: WeeChat 1.3]
usershell has quit [Read error: Connection reset by peer]
sandstrom has joined #ruby
groundnuty has joined #ruby
Guest58 has joined #ruby
atom3 has joined #ruby
parus has joined #ruby
kitallis has joined #ruby
shevy has joined #ruby
whippythellama has joined #ruby
trajing has joined #ruby
bodgix has joined #ruby
aegis3121 has joined #ruby
Guest58 has quit [Ping timeout: 255 seconds]
duckpuppy has quit [Ping timeout: 260 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
akkad has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
jam_ has joined #ruby
ht__ has joined #ruby
usershell has joined #ruby
tomchapin has joined #ruby
lipoqil has quit [Ping timeout: 260 seconds]
zipkid has quit [Ping timeout: 260 seconds]
dfockler has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
jbrhbr has quit [Quit: Leaving.]
moeabdol has joined #ruby
zambini has quit [Quit: Leaving.]
dfinninger has joined #ruby
zipkid has joined #ruby
oncall-pokemon has joined #ruby
makenoise has quit [Remote host closed the connection]
lipoqil has joined #ruby
tomchapin has quit [Client Quit]
makenoise has joined #ruby
micah_ has joined #ruby
dc1 has joined #ruby
dc1 has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
JohnT has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jam_ has quit [Ping timeout: 250 seconds]
jgpawletko has joined #ruby
Xeago has joined #ruby
jgt has quit [Ping timeout: 276 seconds]
JohnT has joined #ruby
zambini has joined #ruby
krobzaur_ has joined #ruby
moeabdol has quit [Ping timeout: 264 seconds]
karapety_ has quit [Remote host closed the connection]
lipoqil has quit [*.net *.split]
groundnuty has quit [*.net *.split]
atom3 has quit [*.net *.split]
parus has quit [*.net *.split]
kitallis has quit [*.net *.split]
shevy has quit [*.net *.split]
whippythellama has quit [*.net *.split]
trajing has quit [*.net *.split]
bodgix has quit [*.net *.split]
lipoqil has joined #ruby
groundnuty has joined #ruby
atom3 has joined #ruby
parus has joined #ruby
kitallis has joined #ruby
whippythellama has joined #ruby
shevy has joined #ruby
trajing has joined #ruby
bodgix has joined #ruby
mfb2_ has quit [Remote host closed the connection]
Xeago has quit [Read error: Connection reset by peer]
krobzaur has quit [Ping timeout: 272 seconds]
spider-mario has joined #ruby
cpup has joined #ruby
ur5us has joined #ruby
TomPeed has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
baweaver has joined #ruby
usershell has quit [Remote host closed the connection]
usershell has joined #ruby
duckpuppy has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
baweaver has quit [Ping timeout: 240 seconds]
prestorium has joined #ruby
dfinninger has joined #ruby
chrisseaton has quit [Changing host]
chrisseaton has joined #ruby
floatingpoint has quit [Changing host]
floatingpoint has joined #ruby
babblebre has quit [Changing host]
babblebre has joined #ruby
dc1 has joined #ruby
hayden_ has quit [Changing host]
hayden_ has joined #ruby
ziyadb has quit [Changing host]
ziyadb has joined #ruby
preyalone has quit [Changing host]
preyalone has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
firstdayonthejob has joined #ruby
tjohnson has quit [Changing host]
tjohnson has joined #ruby
lipoqil has quit [*.net *.split]
groundnuty has quit [*.net *.split]
atom3 has quit [*.net *.split]
parus has quit [*.net *.split]
kitallis has quit [*.net *.split]
shevy has quit [*.net *.split]
whippythellama has quit [*.net *.split]
trajing has quit [*.net *.split]
bodgix has quit [*.net *.split]
swgillespie has quit [Changing host]
swgillespie has joined #ruby
frem has quit [Changing host]
frem has joined #ruby
gmci has quit [Changing host]
gmci has joined #ruby
Arcaire has quit [Changing host]
Arcaire has joined #ruby
vondruch has quit [Changing host]
vondruch has joined #ruby
Jackneill has joined #ruby
Jackneill has quit [Changing host]
mchu has quit [Quit: mchu]
dionysus69 has quit [Quit: dionysus69]
zipkid has quit [Changing host]
zipkid has joined #ruby
oncall-pokemon has quit [Changing host]
oncall-pokemon has joined #ruby
brixen has quit [Excess Flood]
brixen has joined #ruby
momomomomo has joined #ruby
usershell has quit [Remote host closed the connection]
makenoise has quit [Ping timeout: 250 seconds]
bb010g has joined #ruby
dc1 has quit [Quit: WeeChat 1.5-dev]
symm- has joined #ruby
groundnuty has joined #ruby
ur5us has quit [Ping timeout: 265 seconds]
ht__ has quit [Quit: Konversation terminated!]
bhaak_ is now known as bhaak
jacksonmills has joined #ruby
darkf has quit [Quit: Leaving]
jottr has joined #ruby
ur5us has joined #ruby
jbrhbr has joined #ruby
gruz0 has joined #ruby
zast has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 276 seconds]
cdg has quit [Remote host closed the connection]
howdoicomputer has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
akkad has quit [Excess Flood]
dlitvak has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
makenoise has joined #ruby
chouhoulis has joined #ruby
TomPeed is now known as justbleed
juddey has joined #ruby
hxegon has quit [Ping timeout: 276 seconds]
ht__ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
hxegon has joined #ruby
makenoise has quit [Remote host closed the connection]
makenoise has joined #ruby
zeroDivisible has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
radgeRayden has joined #ruby
DoubleMalt has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
akkad has joined #ruby
hnagamin has quit [Ping timeout: 250 seconds]
roger_rabbit has quit [Changing host]
roger_rabbit has joined #ruby
baweaver has joined #ruby
Cohedrin has joined #ruby
choke has joined #ruby
moeabdol has joined #ruby
kalopsian has quit [Ping timeout: 272 seconds]
kalopsian has joined #ruby
hogetaro has quit [Ping timeout: 264 seconds]
Puffball has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
InvGhost has joined #ruby
duckpuppy has joined #ruby
saneax is now known as Guest52233
Puffball has joined #ruby
dlitvak_ has joined #ruby
huluhuluhulu has quit [Quit: huluhuluhulu]
dlitvak has quit [Ping timeout: 272 seconds]
dseitz has quit [Max SendQ exceeded]
huluhuluhulu has joined #ruby
ta has joined #ruby
baweaver has quit [Remote host closed the connection]
robh71 has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
makenoise has quit [Remote host closed the connection]
ferr has quit [Ping timeout: 264 seconds]
dlitvak_ has quit [Ping timeout: 240 seconds]
replay has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
mfb2 has joined #ruby
moeabdol has quit [Quit: WeeChat 1.4]
freerobby has joined #ruby
Mia has joined #ruby
SenpaiSilver has joined #ruby
mfb2 has quit [Ping timeout: 256 seconds]
dlitvak has joined #ruby
makenoise has joined #ruby
huluhuluhulu has quit [Quit: huluhuluhulu]
lacuna_ has joined #ruby
<hxegon>
hmm... I need some guidance on something. I'm using Array#shift inside a method, but I don't want it to affect array out of the method. Should I just #dup the array?
lacuna has quit []
lucasb has joined #ruby
huluhuluhulu has joined #ruby
<makenoise>
That's the easy way
<makenoise>
Either that or find a way to accomplish it without modifying the array.
<makenoise>
What are you trying to do?
<hxegon>
>> [1, 2].tail
<hxegon>
so...
nertzy2 has quit [Quit: This computer has gone to sleep]
tomaw is now known as 02HAAAAAD
imperator has left #ruby ["Leaving"]
arup_r has joined #ruby
<lucasb>
did you want [].last ?
<makenoise>
So you want to be able to grab everything after the first element by using .tail?
weckl has quit [Quit: Leaving]
skade has joined #ruby
02HAAAAAD is now known as tomaw
<lucasb>
ah, [].drop(1)
<hxegon>
lucasb no, #tail would return all elements except [0]
<djellemah>
hxegon: ary[1..-1]
skade has quit [Client Quit]
<hxegon>
djellemah thanks. makenoise give me a sec to describe my problem
skade has joined #ruby
prestorium has quit [Ping timeout: 256 seconds]
Eiam_ has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
Eiam_ has quit [Client Quit]
<hxegon>
Define 2 classes, Trees, and TreeNode. Trees#add_path should be able to take a path and add every TreeNode that doesn't exist and return the final node in the path. Trees#add_path passes the call to TreeNode#add_path, which can handle it using basic recursion, but it has to select the right root node first.
nerium has quit [Quit: nerium]
<hxegon>
I'm learning about many different and interesting ways you can accidentally an infinite loop today :P
duckpuppy has quit [Ping timeout: 240 seconds]
gruz0 has quit [Quit: Leaving]
<hxegon>
djellemah that worked well, thanks.
ur5us has quit [Remote host closed the connection]
<djellemah>
hxegon: ;-) head, *tail = ary might also help in your case.
<norc>
sunya7a, when inside the same class/module try to use @, when outside use accessor methods or more abstract interface methods.
<Radar>
"̘ U+0318 COMBINING LEFT TACK BELOW,"
<eam>
mondok: oh, ruby bot is broken :(
<norc>
mondok, the cleanest way is to use String#encode
djbkd has quit [Ping timeout: 250 seconds]
<Radar>
mondok: where are you sourcing this text from in the first placE?
sandstrom has quit [Quit: My computer has gone to sleep.]
ur5us has joined #ruby
tvw has joined #ruby
Spami has joined #ruby
kitallis has joined #ruby
lipoqil has joined #ruby
trajing has joined #ruby
parus has joined #ruby
atom3 has joined #ruby
shevy has joined #ruby
bodgix has joined #ruby
lipoqil has quit [Changing host]
lipoqil has joined #ruby
graffix222 has joined #ruby
<norc>
mondok, I think str.encode('ascii', {invalid: replace, undef: replace, replace: ''}) should do the job
<mondok>
i parse logs
<eam>
norc: that's not gonna remove the characters they don't like, will it?
hannelita has quit [Remote host closed the connection]
<norc>
eam, sure it is if you tell it to like I have just shown.
<eam>
oh- re: invalid:replace
<norc>
Yup.
<eam>
i see :)
robbyoconnor has quit [Ping timeout: 272 seconds]
bMalum has joined #ruby
<norc>
mondok, and that is more elegant than any other solution.
<norc>
(Since this is exactly what you want to do, transcode from UTF8 to ASCII dropping all non-ascii codepoints)
<mondok>
gsub(/[^a-zA-Z0-9]/, "") works not good
<mondok>
skips numbers
<sunya7a>
norc: so if i define a class and use attr_reader :one, :two and in the initialize method I do @one = one....when i later down the line in an instance method use one...i'm actually calling the method defined by def one
<norc>
Indeed, since it still leaves ~200 characters that get removed.
jam_ has quit [Ping timeout: 240 seconds]
<norc>
sunya7a, attr_reader :foo is just short for: def foo; @foo; end
cardoni has quit [Ping timeout: 260 seconds]
<eam>
mondok: you would need to define the set of characters you want to keep
Guest881 is now known as saneax_AFK
<eam>
it's just an example
<norc>
sunya7a, so yes.
ur5us has quit [Ping timeout: 255 seconds]
ht__ has quit [Quit: Konversation terminated!]
dlitvak_ has joined #ruby
<sunya7a>
norc: i think i understand...do you know if that is less efficient than calling the instance variable directly?
<eam>
norc: "\u000318\b<\b\u000329NEEDEDTEXT\u000318\b>\b\u000F".encode("ascii", {invalid: :replace, undef: :replace, replace: ''}) does not remove nonprintable characters AFAICT
ht__ has joined #ruby
howdoicomputer has quit [Ping timeout: 265 seconds]
<eam>
it results in "\x0318\b<\b\x0329NEEDEDTEXT\x0318\b>\b\x0F"
pysec has joined #ruby
<norc>
sunya7a, honestly: do not worry about efficiency.
<sunya7a>
norc: thank you...that was very clear =)
<norc>
sunya7a, worry about what makes more sense. Inside your class, use the instance method. Outside use predefined interface methods
<sunya7a>
norc: got it...much appreciated
dfinninger has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 240 seconds]
<norc>
errr *instance variable!
<norc>
:-)
<sunya7a>
norc: yup!
cardoni has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
<norc>
eam, indeed. But considering it is a log file...
weaksauce has joined #ruby
davedev has joined #ruby
<norc>
eam, otherwise you can then use [:print:]
<norc>
Or just directly filter based on codepoints, allowing only [Ox0A, Ox0D, 0x20-Ox127]
<norc>
*Ox7F
lacuna has quit [Changing host]
lacuna has joined #ruby
davedev24 has quit []
GammaZeSioux has joined #ruby
FernandoBasso has joined #ruby
Darmani has joined #ruby
ruby[bot] has joined #ruby
cardoni has quit [*.net *.split]
pysec has quit [*.net *.split]
tvw has quit [*.net *.split]
Spami has quit [*.net *.split]
kitallis has quit [*.net *.split]
lipoqil has quit [*.net *.split]
atom3 has quit [*.net *.split]
parus has quit [*.net *.split]
shevy has quit [*.net *.split]
trajing has quit [*.net *.split]
bodgix has quit [*.net *.split]
<norc>
ast>> class Foo; attr_reader :foo; end; Foo.new.foo
<norc>
asm>> class Foo; attr_reader :foo; end; Foo.new.foo
<ruby[bot]>
norc: I have disassembled your code, the result is at https://eval.in/505443
lemur has joined #ruby
dn` has quit [Quit: dn`]
scripore has joined #ruby
<norc>
sunya7a, looks like the compiler is not able to optimize this away, so yeah - purely educationally: using an accessor method adds a few instructions
mrsolo_ has joined #ruby
tulak has quit []
lemur has quit [Ping timeout: 240 seconds]
Azulinho has joined #ruby
<Darmani>
Hey kids<3
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Quit: Computer has gone to sleep.]
dfinninger has joined #ruby
momomomomo has quit [Quit: momomomomo]
ht__ has quit [Quit: Konversation terminated!]
gbgdev has quit [Remote host closed the connection]
hahuang61 has quit [Quit: WeeChat 1.4]
hahuang65 has joined #ruby
[adaedra] is now known as adaedra
dfinninger has quit [Remote host closed the connection]
hayden_ has quit [Quit: Connection closed for inactivity]
[derpy] is now known as `derpy
arthropododo has joined #ruby
hxegon has quit [Read error: Connection reset by peer]
SenpaiSilver has joined #ruby
ccowart has quit [Ping timeout: 240 seconds]
<arthropododo>
what was the off-topic ruby channel again?
<norc>
?ot
<ruby[bot]>
this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related topics. Thanks!
benhuda has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandstrom has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
bMalum has joined #ruby
arup_r has quit []
tomchapin has joined #ruby
* adaedra
waves
scottschecter has joined #ruby
<tubbo>
haha
davedev has quit [Remote host closed the connection]
dfinninger has joined #ruby
kfpratt has joined #ruby
davedev has joined #ruby
pdoherty has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
codecop has quit [Remote host closed the connection]
cdg has joined #ruby
ht__ has joined #ruby
<lucasb>
the ruby core developers don't hang out on irc? I rarely see anybody saying anything in #ruby-core.
Jackneill has quit [Quit: Leaving]
<norc>
lucasb, the bulk of them are Japanese, many of which do not even speak English.
<norc>
lucasb, you can find them on the mailing list.
graphettion has joined #ruby
fclausen has joined #ruby
dwfait has joined #ruby
<baweaver>
or ask Ox0dea, he's fairly close.
rdark has quit [Ping timeout: 264 seconds]
<lucasb>
yeah, I'm already subscribed to the list. I just wondered if they don't like irc or something :)
ohtheirony has joined #ruby
<ohtheirony>
hi
ht__ has quit [Client Quit]
ht__ has joined #ruby
<ohtheirony>
i am not a ruby developer but i want to know why it is so popular. if you look at it from a hosting point of view it easier to go for php because all hosts have it. but what is so good about ruby? tell me please
ccowart has joined #ruby
<adaedra>
1) it's not php.
<apeiros>
2) it's not php
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<norc>
ohtheirony, why are cats better than dogs? There is tons of reasons that I can tell you, but really - the discussion is not very fruitful.
<apeiros>
norc: you just killed the reason-train ;-)
<mondok>
i want to find index of char '\u0003' in string?
<mondok>
how can i do that?
<Ox0dea>
ohtheirony: It's true that PHP is easier to hit the ground running with, but that's pretty much the *only* point in its favor, and it hardly papers over all the bad: http://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
<norc>
ohtheirony, distance to the hardware has no real relevance in todays world for performance. It usually is quite the opposite - more abstract languages have tools to make optimizations that low level languages do not have.
ss_much has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
<norc>
ohtheirony, JRuby for example makes great use of such tools.
<ohtheirony>
ok.... then why do you use it? i know a lot of people hate php but apart from that
dfinninger has quit [Remote host closed the connection]
<adaedra>
Because we like it?
<norc>
^-
<adaedra>
That's usually #1 reason people do a language.
<apeiros>
I do not hate ruby
howdoicomputer has joined #ruby
<ohtheirony>
ok follow up question: why do you like it?
<jhass>
why are we feeding the troll?
<norc>
apeiros, by the way, how did you learn about the DYLD changes in El Capitan?
<Darmani>
jhass - Honestly that's what I want to know lmao
dfinninger has joined #ruby
weaksauce has joined #ruby
<apeiros>
norc: heard/read about it somewhere iirc. not sure, been a while.
<norc>
apeiros, I got hit by a massive wtf train when trying to build ruby-oci, trying to figure out why the export was not working.
<norc>
Oh lucky you.
<Ox0dea>
And it was because of the DYLD.o?
davedev has quit [Remote host closed the connection]
<apeiros>
it might have been people on my team even
bMalum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davedev has joined #ruby
dlitvak has joined #ruby
davedev24 has joined #ruby
<norc>
Ox0dea, Apple decided to put a new security feature into OSX, disabling DYLD related environment variables to prevent some naughty things.
atomical_ has joined #ruby
<adaedra>
:o
momomomomo has joined #ruby
sepp2k has quit [Quit: Leaving.]
<Ox0dea>
So libfaketime doesn't work on oS X?
bronson has joined #ruby
stephenh_ is now known as stephenh
makenoise has quit [Remote host closed the connection]
stephenh has quit [Changing host]
stephenh has joined #ruby
BTRE has quit [Remote host closed the connection]
<norc>
Ox0dea, if relies on things like DYLD_LIBRARY_PATH it will no longer work on El Capitan unless you explicitely turn off SIP.
robbyoconnor has joined #ruby
khaki has quit [Quit: ircII EPIC5-1.1.10 -- Are we there yet?]
duckpuppy has joined #ruby
<norc>
Ox0dea, so yes.
symm- has quit [Ping timeout: 240 seconds]
<Ox0dea>
Well, enjoy your safety. :P
<adaedra>
very relative.
<norc>
Honestly I consider these mechanisms to be flawed.
<Ox0dea>
I hear big-boy operating systems are relatively cheap these days.
<Ox0dea>
(I'll stop.)
<norc>
SetWindowsHookEx solves the LD_PRELOAD problem much more elegantly...
<ohtheirony>
ok so you don't like to discuss the reasons why you like ruby. i can understand that. it's natural. one last question then. does ruby have mvc scaffolding? or some module that gives this functionality?
skyjumper has joined #ruby
<norc>
Not that I want to start a POSIX vs Win32 API war, but there you have it.
atomical has quit [Ping timeout: 240 seconds]
<Ox0dea>
>> @Ruby.is_a? Object { |oriented| language } # ohtheirony
<ruby[bot]>
Ox0dea: # => undefined method `Object' for main:Object ...check link for more (https://eval.in/505460)
<Ox0dea>
That went well. :/
dopie has quit [Quit: Lost terminal]
OS-18137 has joined #ruby
<Ox0dea>
>> @Ruby.is_a?(Object) { |oriented| language }
<norc>
Ox0dea, so today I accidentally used find instead of grep, and was struck by an absolutely confusing error message...
<norc>
>> [1].find(Numeric) {}
<ruby[bot]>
norc: # => undefined method `call' for Numeric:Class (NoMethodError) ...check link for more (https://eval.in/505463)
<norc>
I was seriously confused.
<norc>
:S
slawrence00 has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
<newdan>
Ox0dea: How does that work? That block never gets run?
<norc>
Even more so when I tried to figure out what kind of use this has.
<OS-18137>
im iterating over a lines in a file, and im having problems because when File.readlines(file).each reads in a line, it's including the newline character an the end of the line it read, which i need to strip somehow. http://pastie.org/private/xvsb1mo04ofvqps5lhossa
pawnbox has joined #ruby
<Ox0dea>
newdan: Yeah. Every method receives an implicit block, but #is_a? doesn't use it if you give it one.
<aegis3121>
ohtheirony: Ruby on Rails
<norc>
Other than a fancy [1].find(-> { puts "found" }) { |a| a == 1 }
<Ox0dea>
aegis3121: Stahp.
momomomomo has quit [Quit: momomomomo]
asccigcc has quit [Ping timeout: 276 seconds]
aupadhye has quit [Quit: Leaving]
<apeiros>
&String#chomp @OS-18137
<apeiros>
adaedra: wasn't it &?
<Ox0dea>
norc: Surely you're not suggesting #find behave like #grep?
centrx has quit [Quit: If you meet the Buddha on the road, kill him.]
skcin7_ has quit [Ping timeout: 240 seconds]
<adaedra>
mondok: you can .map(&:first) before using & to just get the first element of each sub-array.
nertzy2 has joined #ruby
<benzrf>
(i know that's terrible; this is for an entirely useless program that i'm only writing to get ideas through my head)
<Ox0dea>
benzrf: Did you leave Ruby for a while?
<benzrf>
why do you ask?
<benzrf>
ah, not ruby ideas
<adaedra>
Still no Hash#slice in core :<
<benzrf>
i learned some new stuff about how networking works & i'm writing a mock network thingy to force myself to implement the concepts so that i can be sure i understand them
robbyoconnor has quit [Quit: Konversation terminated!]
duckpuppy has quit [Ping timeout: 250 seconds]
<benzrf>
i'm not writing an actual tcp stack
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<benzrf>
i'm modelling network devices with threads that, and layer 0 with socket pairs
mrsolo_ has quit [Quit: This computer has gone to sleep]
<benzrf>
then i'm implementing something ethernet-ish and something IP-ish on top of that, to understand the mechanics rather than the implementation details
Phanes- is now known as Phanes
Phanes has quit [Changing host]
Phanes has joined #ruby
<adaedra>
g'night.
momomomomo has quit [Client Quit]
preyalone has quit [Quit: Connection closed for inactivity]
Musashi007 has joined #ruby
djellemah has quit [Read error: Connection timed out]
rvchangue has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zenlot1 has joined #ruby
pawnbox has joined #ruby
loren has quit [Quit: Leaving]
zenlot has quit [Ping timeout: 240 seconds]
jud^ is now known as jud
jud has quit [Changing host]
jud has joined #ruby
TomyLobo has quit [Ping timeout: 240 seconds]
Musashi007 has quit [Client Quit]
Spami has quit [Ping timeout: 272 seconds]
skade has quit [Read error: Connection reset by peer]
<rubynewb>
The .last method does not seem to work on strings and [-1] is not working either
<Ox0dea>
See above.
Rickmasta has joined #ruby
<rubynewb>
vowel_end_count = 0 array.each do |name| if name. == "a" || "e" || "i" || "o" || "u" vowel_end_count += 1 end end puts "There are #{vowel_end_count} names that end with a vowel"
<rubynewb>
vowel_end_count = 0 array.each do |name| if name. == "a" || "e" || "i" || "o" || "u" vowel_end_count += 1 end end puts "There are #{vowel_end_count} names that end with a vowel"
<rubynewb>
let me post the code line by line
ferr has joined #ruby
<aegis3121>
gist
<aegis3121>
please use a gist
<Ox0dea>
?gist rubynewb
<ruby[bot]>
rubynewb: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
mfb2 has joined #ruby
<lucasb>
I don't think things like these 'if var == 1 | 2 | 3' work :)
hahuang65 has quit [Read error: Connection reset by peer]
nertzy2 has quit [Quit: This computer has gone to sleep]
BackEndCoder has quit [Ping timeout: 240 seconds]
<rubynewb>
I will keep that in mind
guacamol_ has quit [Ping timeout: 256 seconds]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lacuna has quit [Ping timeout: 256 seconds]
rubynewb has quit [Quit: Page closed]
northfurr has joined #ruby
mchu has quit [Quit: mchu]
scottschecter has quit [Quit: Leaving]
guacamole has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
BackEndCoder has joined #ruby
Mon_Ouie has joined #ruby
mchu has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jhn has joined #ruby
skade has joined #ruby
mchu has quit [Client Quit]
skcin7 has joined #ruby
jhn has quit [Client Quit]
freerobby has quit [Quit: Leaving.]
krainboltgreene has joined #ruby
krainboltgreene has left #ruby [#ruby]
IrishGringo has joined #ruby
malconis has joined #ruby
northfurr has quit [Quit: northfurr]
diego2 has joined #ruby
lucasb has quit [Quit: leaving]
nav__ has quit [Quit: Page closed]
blackmes1 has quit [Ping timeout: 250 seconds]
diegoviola has quit [Ping timeout: 272 seconds]
hxegon_AFK has quit [Quit: BRB]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
r4do has joined #ruby
guardian has joined #ruby
atomical has joined #ruby
Liam` has quit [Ping timeout: 240 seconds]
r4do has quit [Client Quit]
djellemah has quit [Read error: Connection timed out]
atomical_ has quit [Ping timeout: 272 seconds]
diego2 is now known as diegoviola
Liam` has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aegis3121>
Ox0dea: hah, I knew about #count. My brain derped when it saw the docs and forgot I was reading String's >.>
makenoise has quit [Remote host closed the connection]
bronson has joined #ruby
makenoise has joined #ruby
ledestin has joined #ruby
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
<Ox0dea>
aegis3121: Can't really fault ya for reaching for #reduce; it's a great method.
blur3d has joined #ruby
sakix has joined #ruby
choke has joined #ruby
bronson has quit [Ping timeout: 265 seconds]
makenoise has quit [Ping timeout: 276 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
atomical has quit [Ping timeout: 250 seconds]
gbgdev has joined #ruby
skade has quit [Read error: Connection reset by peer]
gbgdev has quit [Remote host closed the connection]
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
gbgdev has joined #ruby
gbgdev has quit [Remote host closed the connection]
gbgdev has joined #ruby
gbgdev has quit [Remote host closed the connection]
gbgdev has joined #ruby
lipoqil has quit [Quit: Connection closed for inactivity]
SCHAAP137 has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
mostlybadfly has joined #ruby
CloCkWeRX has left #ruby [#ruby]
northfurr has joined #ruby
sakix has quit [Ping timeout: 260 seconds]
B1n4r10 has quit [Ping timeout: 240 seconds]
zambini has joined #ruby
mistym has joined #ruby
mistym has joined #ruby
asccigcc has joined #ruby
makenoise has joined #ruby
lkba has joined #ruby
wilbert_ has quit [Ping timeout: 265 seconds]
aegis3121 has quit [Ping timeout: 265 seconds]
blur3d has quit [Read error: Connection reset by peer]
djellemah has joined #ruby
northfurr has quit [Quit: northfurr]
fartface has joined #ruby
<fartface>
Does anyone know of any interactive Ruby tutorials in a similar vain to LearnYouNode?
<fartface>
Basically where I could download a gem, run a tutorial in a terminal which will spit out some instructions, I write some code, and then the tutorial runs my code against some tests and determines a pass/fail