apeiros changed the topic of #ruby to: Welcome new users migrating from #ruby-lang! || http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
Papierkorb has quit [Remote host closed the connection]
sevenseacat has quit [Client Quit]
sevenseacat has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
gambl0re has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
MatthewsFace has quit [Remote host closed the connection]
pengin has quit [Remote host closed the connection]
Igorshp has joined #ruby
fabrice31 has joined #ruby
kinduff has quit [Ping timeout: 250 seconds]
FernandoBasso has quit [Quit: leaving]
mistermocha has quit [Ping timeout: 255 seconds]
jpfuentes2 has joined #ruby
commondream has quit [Remote host closed the connection]
Igorshp has quit [Ping timeout: 246 seconds]
baweaver has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
strcmp1 has joined #ruby
<strcmp1> hey jhass
<jhass> hey
charliesome has joined #ruby
RegulationD has quit []
michael_mbp has quit [Excess Flood]
<strcmp1> yeah, it is just bundler. it doesn't seem to ever happen with 'gem install <anything>', but i think it also only happens when there is at least >= 5 gems to install.
gaboesquivel has joined #ruby
pengin has joined #ruby
michael_mbp has joined #ruby
<jhass> did you try running with --verbose to get a sense on what call it gets stuck?
bogdanteleaga has quit [Ping timeout: 264 seconds]
<strcmp1> yeah, 1sec
fella6s has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
fella5s has quit [Ping timeout: 255 seconds]
<jhass> looking good, does curl https://aws-eu-cache01.rubygems.org/gems/builder-3.0.4.gem > /dev/null error out?
centrx has quit [Quit: Shutting down, Please wait...]
bogdanteleaga has joined #ruby
troyready has quit [Ping timeout: 240 seconds]
shuber_ has joined #ruby
<strcmp1> no, works fine
dseitz has joined #ruby
<strcmp1> it seems to fail on a random gem everytime :/
<strcmp1> what is wow about that?
<strcmp1> ah
<strcmp1> grade F
<strcmp1> :/
al2o3-cr has joined #ruby
<jhass> I guess the question is whether it uses a different host when it works
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mpistone has quit []
jpfuentes2 has joined #ruby
<strcmp1> 'bundle install' fails 100% of the time for me.
robustus has quit [Ping timeout: 264 seconds]
keen___________0 has joined #ruby
longfeet has joined #ruby
<jhass> well, you say it fails at different gems, so some work?
Juanchito has quit [Quit: Connection closed for inactivity]
robustus has joined #ruby
keen____________ has quit [Ping timeout: 258 seconds]
vdamewood has quit [Read error: Connection reset by peer]
sankaber has joined #ruby
<strcmp1> yeah, it fails at different gems everytime, if i keep running 'bundle install' over and over again it will eventually work, but fail like at least 5 times during it.
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has joined #ruby
casadei has joined #ruby
scripore has quit [Client Quit]
mrmargolis has joined #ruby
<jhass> does --retry 100 make it less tedious perhaps?
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has quit [Remote host closed the connection]
vdamewood has joined #ruby
<strcmp1> yeah, it would, but i guess im wondering why does it happen? do you know what that error means?
<jhass> not sure, it seems a bit generic
<jhass> something failed during the ssl/tls handshake
troyready has joined #ruby
<jhass> given that F grade, could be anything
<strcmp1> using 'bundler.rubygems.org' as a source, it gets along much further, but eventually fails too
<strcmp1> thats graded as B
<jhass> look at all the various causes
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dorei> strcmp1: maybe this could help http://mislav.uniqpath.com/2013/07/ruby-openssl/
kinduff has joined #ruby
<Radar> At the very bottom of that thread for the lazy
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
<jhass> Radar: it's a handshake failure though, not cert validation
crazydiamond has quit [Remote host closed the connection]
cirn0 has quit [Remote host closed the connection]
<jhass> still, newest rubygems & openssl might indeed help
mistermocha has joined #ruby
swgillespie has joined #ruby
kinduff has quit [Client Quit]
workmad3 has joined #ruby
scripore has joined #ruby
MatthewsFace has joined #ruby
<strcmp1> i will try this https://github.com/mislav/ssl-tools but it seems to be OSX-centric (I'm on Linux)
kinduff has joined #ruby
<dorei> strcmp1: what distro?
GriffinHeart has joined #ruby
Joufflu has joined #ruby
<strcmp1> fedora
cirn0 has joined #ruby
<dorei> i think redhat derived distros have a weird strip down version of openssl
GriffinHeart has quit [Remote host closed the connection]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
casadei_ has joined #ruby
GriffinHeart has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
cirn0 has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
casadei has quit [Ping timeout: 265 seconds]
shuber_ has joined #ruby
nettoweb has quit [Client Quit]
bmurt has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
dopie has joined #ruby
rodfersou has joined #ruby
rodferso1 has joined #ruby
cirn0 has joined #ruby
paulcsmith has joined #ruby
dseitz has joined #ruby
bootstrappm has left #ruby [#ruby]
dseitz has quit [Max SendQ exceeded]
mrsolo has quit [Quit: Leaving]
pragmatism has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dseitz has joined #ruby
baweaver has quit [Remote host closed the connection]
bosma is now known as pennies
pennies is now known as bosma
bronson has joined #ruby
pengin has quit [Remote host closed the connection]
rubie has joined #ruby
paulcsmith has quit [Ping timeout: 272 seconds]
longfeet_ has joined #ruby
baroquebobcat has joined #ruby
Mia has quit [Write error: Connection reset by peer]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
dorei has quit []
longfeet has quit [Ping timeout: 258 seconds]
bronson has quit [Ping timeout: 252 seconds]
ohaibbq has joined #ruby
ravenreborn_ has joined #ruby
Agoldfish has quit [Quit: G'Bye]
CloCkWeRX has quit [Ping timeout: 250 seconds]
benlieb has quit [Ping timeout: 250 seconds]
towski_ has quit [Remote host closed the connection]
Akagi201 has joined #ruby
codeFiend has quit [Quit: codeFiend]
mistermocha has quit [Ping timeout: 272 seconds]
pragmatism has joined #ruby
pragmatism has quit [Client Quit]
podman has quit [Quit: Connection closed for inactivity]
benlieb has joined #ruby
MuffinPimp_ has joined #ruby
TheNumb has quit [Ping timeout: 264 seconds]
xMopxShell has quit [Ping timeout: 245 seconds]
dopie has quit [Quit: Leaving]
I has joined #ruby
I is now known as Guest38989
MuffinPimp has quit [Read error: Connection reset by peer]
MuffinPimp_ is now known as MuffinPimp
jpfuentes2 has joined #ruby
jpfuentes2 has quit [Client Quit]
jpfuentes2 has joined #ruby
Deele has joined #ruby
TheNumb has joined #ruby
marr has quit []
xMopxShell has joined #ruby
shuber_ has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
rubie has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
nateberkopec has quit [Quit: Leaving...]
thiagovsk has joined #ruby
strcmp1 has quit [Quit: Leaving]
paradisaeidae has joined #ruby
rubie has joined #ruby
nettoweb has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
djbkd has quit [Quit: My people need me...]
bricker has quit [Ping timeout: 276 seconds]
bruno- has quit [Ping timeout: 250 seconds]
tyfighter has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeFiend has joined #ruby
nettoweb has joined #ruby
zreisman has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
juanpaucar has joined #ruby
f3lp has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
neohunter has quit [Ping timeout: 252 seconds]
MrBeardy has quit [Ping timeout: 256 seconds]
c355E3B has quit [Quit: Connection closed for inactivity]
claptor has joined #ruby
juanpaucar has quit [Ping timeout: 265 seconds]
Scient has quit [Quit: ZNC - http://znc.in]
kinduff has quit [Ping timeout: 276 seconds]
Scient has joined #ruby
CloCkWeRX has joined #ruby
benlieb has quit [Ping timeout: 255 seconds]
amclain has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
qwertme has joined #ruby
nettoweb has joined #ruby
kinduff has joined #ruby
emptyflask has quit []
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hijiri has quit [Quit: WeeChat 1.0.1]
benlieb has joined #ruby
wallerdev has quit [Quit: wallerdev]
_blizzy_ has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
scripore has joined #ruby
shuber_ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paulcsmith has joined #ruby
phutchins has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
Kricir has quit [Remote host closed the connection]
fabrice31 has joined #ruby
DEA7TH has quit [Ping timeout: 258 seconds]
paulcsmith has quit [Ping timeout: 265 seconds]
quimrstorres has joined #ruby
Guest38989 has quit [Quit: This computer has gone to sleep]
saadq has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
Akagi201 has quit []
jbomo has quit [Ping timeout: 256 seconds]
quimrstorres has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby
codeFiend has quit [Ping timeout: 265 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has quit [Quit: Life beckons.]
nettoweb has joined #ruby
kinduff has quit [Quit: leaving]
<shevy> guys
jbomo has joined #ruby
<shevy> pros and cons of listing version in a .gemspec file
<shevy> con: the gem will refuse to be installed for the user
lordkryss has quit [Quit: Connection closed for inactivity]
darkf has joined #ruby
mase-chatter has joined #ruby
<sevenseacat> seems like a pretty big con.
duderonomy has quit [Ping timeout: 264 seconds]
DerisiveLogic has quit [Ping timeout: 272 seconds]
<shevy> well there are several advantages of course
codeFiend has joined #ruby
<shevy> pro: updatable list of (hopefully proven) gems that can work together
shuber_ has quit [Remote host closed the connection]
<shevy> somehow I seem to miss the middle-ground of combining the best :(
<sevenseacat> example?
crazydiamond has joined #ruby
<shevy> Well, for instance, let's say I make some change in a gem that renders said gem backwards incompatible. Then I actually would need to specify a minimum version as otherwise other gems may no longer work.
Lucky__ has joined #ruby
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<shevy> Hmm let me see how to overrule that gem-check actually
<Nilium> A backwards incompatible change would usually be a major or minor version, depending on the type of backwards incompatible change.
<sevenseacat> what do you mean, versions mean gems can refuse to be installed by the user?
<sevenseacat> i dont understand that statement. versions of gems are important.
GriffinHeart has quit [Remote host closed the connection]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
<xxneolithicxx> what version are you talking about
<xxneolithicxx> theres a few
ravenreborn__ has joined #ruby
<xxneolithicxx> theres the gem/package version, the rubygems version, and the ruby version
e1nh4nd3r has quit [Quit: Leaving.]
barkerd427 is now known as zz_barkerd427
<xxneolithicxx> but as said, semver should account for backwards incompatibility
<xxneolithicxx> if you follow it
bmurt has quit []
hsps__ has quit [Ping timeout: 240 seconds]
codeFiend has quit [Quit: codeFiend]
Bermulium has quit [Ping timeout: 265 seconds]
goodcodeguy has joined #ruby
djbkd has joined #ruby
ravenreborn_ has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 255 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
nettoweb has joined #ruby
davedev24_ has quit [Ping timeout: 244 seconds]
ed112211 has joined #ruby
nettoweb has quit [Max SendQ exceeded]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nettoweb has joined #ruby
car has joined #ruby
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davedev24_ has joined #ruby
jenrzzz has joined #ruby
c_nick has joined #ruby
<c_nick> What's the best way to do a http get
c_nick has quit [Client Quit]
wallerdev has joined #ruby
marque_tools has joined #ruby
longfeet__ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
njection has joined #ruby
scripore has joined #ruby
dain has joined #ruby
<njection> Hey guys
<dain> Hey njection
scripore has quit [Client Quit]
nettoweb has joined #ruby
<njection> Trying to get some feedback on a Udemy course I put together. Any harm in giving it away and posting a link here?
longfeet_ has quit [Ping timeout: 265 seconds]
tejasmanohar has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dain> Oh cool! I'd love to check it out.
huddy has quit [Quit: Connection closed for inactivity]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ohaibbq has quit [Quit: Leaving...]
nettoweb has joined #ruby
Channel6 has joined #ruby
ForkingPaths has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fedexo has joined #ruby
car has quit [Quit: Leaving]
Allfader has joined #ruby
Guest38989 has joined #ruby
freerobby has joined #ruby
jpfuentes2 has joined #ruby
konsolebox has joined #ruby
kinduff has joined #ruby
DynamicMetaFlow has joined #ruby
jpfuentes2 has quit [Client Quit]
tejasmanohar has quit [Quit: WeeChat 1.1.1]
HotCoder has quit [Ping timeout: 276 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ForkingPaths has joined #ruby
yh__ has quit [Ping timeout: 276 seconds]
nettoweb has joined #ruby
baweaver has joined #ruby
mary5030 has joined #ruby
towski_ has joined #ruby
mrmargolis has quit [Remote host closed the connection]
fedexo has quit [Ping timeout: 265 seconds]
braincrash has quit [Quit: bye bye]
nettoweb has quit [Client Quit]
polyrob has quit [Ping timeout: 265 seconds]
Echohn has joined #ruby
_blizzy_ has quit [Ping timeout: 265 seconds]
Guest38989 has quit [Quit: This computer has gone to sleep]
duderonomy has joined #ruby
dfoolz has joined #ruby
freerobby has quit [Quit: Leaving.]
maletor has joined #ruby
polyrob has joined #ruby
braincrash has joined #ruby
rkazak has left #ruby [#ruby]
kinduff has quit [Ping timeout: 255 seconds]
Echohn has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 255 seconds]
goodcodeguy has joined #ruby
Echohn has joined #ruby
juanpaucar has joined #ruby
saadq has joined #ruby
<zenspider> xxneolithicxx: and the rest is handled by the "spermy" dependency operator "~> x.y"
tyfighter has quit [Quit: tyfighter]
ravenreborn_ has joined #ruby
c_nick has joined #ruby
<c_nick> I saw a couple of libraries used for Http gets which one is the preferred one to go with
ravenreborn has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpaucar has quit [Ping timeout: 264 seconds]
ravenreborn__ has quit [Ping timeout: 272 seconds]
ravenreborn_ has quit [Ping timeout: 256 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
Echohn has quit [Remote host closed the connection]
Echohn has joined #ruby
konsolebox has quit [Ping timeout: 255 seconds]
mary5030 has quit [Ping timeout: 240 seconds]
<Radar> c_nick: I like HTTParty.
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Echohn has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
<Aeyrix> c_nick: Net::HTTP.
<Aeyrix> Anything else is overkill.
<Aeyrix> Ruby actually has a nice HTTP class in the stdlib.
afrianska has joined #ruby
Echohn has joined #ruby
<c_nick> Aeyrix http class in stdlib is net::Http ?
<Aeyrix> c_nick: Yeah, if you add `require 'net/http'` to the top of your code, it'll allow you to use Net::HTTP.get for instance.
<Aeyrix> No gems or extra libraries required.
<c_nick> Thats nice I will try that thanks aeyrix
<Aeyrix> No problem yo.
c_nick has quit [Quit: Bye]
mary5030 has joined #ruby
zz has joined #ruby
Hijiri has joined #ruby
paulcsmith has joined #ruby
fabrice31 has joined #ruby
afrianska has quit [Ping timeout: 272 seconds]
paulcsmith has quit [Ping timeout: 265 seconds]
swgillespie has joined #ruby
x44x45x41x4E has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
zz has quit [Read error: Connection reset by peer]
zz has joined #ruby
michael_mbp has quit [Excess Flood]
psy_ has quit [Ping timeout: 272 seconds]
michael_mbp has joined #ruby
kinduff has joined #ruby
towski_ has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
northfurr has joined #ruby
oo_ has joined #ruby
zz has quit [Ping timeout: 240 seconds]
tienfiowenfwefpn has joined #ruby
mrmargolis has joined #ruby
DynamicMetaFlow has quit [Quit: Leaving]
tienfiowenfwefpn has quit [Quit: Bye!]
n008f4g_ has quit [Ping timeout: 252 seconds]
polyrob has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
rodferso1 has quit [Remote host closed the connection]
Spami has joined #ruby
Hirzu has quit [Ping timeout: 276 seconds]
afrianska has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
polyrob has joined #ruby
polyrob has joined #ruby
njection has quit []
rodfersou has quit [Quit: leaving]
davedev24_ has quit []
arescorpio has joined #ruby
anaeem1_ has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
braincra- has joined #ruby
anaeem1_ has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
crowell has joined #ruby
braincrash has quit [Ping timeout: 252 seconds]
kinduff has quit [Ping timeout: 272 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
al2o3-cr has quit [Quit: the quieter you become, the more you are able to hear]
yardenbar has joined #ruby
balazs has quit [Ping timeout: 265 seconds]
al2o3-cr has joined #ruby
nobitanobi has joined #ruby
antgel has joined #ruby
mrmargolis has quit [Remote host closed the connection]
towski_ has joined #ruby
kinduff has joined #ruby
kinduff has quit [Client Quit]
kinduff has joined #ruby
ForkingPaths has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
riotjones has joined #ruby
balazs has joined #ruby
saadq has quit [Remote host closed the connection]
riotjones has quit [Read error: Connection reset by peer]
zreisman has quit [Remote host closed the connection]
riotjones has joined #ruby
codeFiend has joined #ruby
al2o3-cr has quit [Ping timeout: 255 seconds]
al2o3-cr has joined #ruby
psy_ has joined #ruby
al2o3-cr has quit [Client Quit]
riotjones has quit [Ping timeout: 256 seconds]
Rickmasta has joined #ruby
byprdct has quit [Ping timeout: 250 seconds]
al2o3-cr has joined #ruby
djbkd has quit [Remote host closed the connection]
creakybones has quit [Remote host closed the connection]
kp666 has joined #ruby
ForkingPaths has joined #ruby
kp666 has quit [Max SendQ exceeded]
kp666 has joined #ruby
djbkd has joined #ruby
Echohn_ has joined #ruby
al2o3-cr has quit [Ping timeout: 250 seconds]
dfockler has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Echohn has quit [Ping timeout: 240 seconds]
thiagovsk has quit [Quit: Connection closed for inactivity]
gaboesquivel has quit [Remote host closed the connection]
dfockler has quit [Ping timeout: 246 seconds]
casadei_ has quit [Remote host closed the connection]
greenbagels has quit [Read error: Connection reset by peer]
casadei has joined #ruby
anaeem___ has joined #ruby
anaeem___ has quit [Remote host closed the connection]
dru` has joined #ruby
anaeem1__ has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
tagrudev has joined #ruby
casadei has quit [Ping timeout: 244 seconds]
juanpaucar has joined #ruby
sandelius has joined #ruby
ndrei has joined #ruby
tesuji has joined #ruby
krz has joined #ruby
commondream has joined #ruby
al2o3-cr has joined #ruby
<sandelius> good morning
juanpaucar has quit [Ping timeout: 264 seconds]
saadq has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
ndrei has joined #ruby
lessless has joined #ruby
al2o3-cr has quit [Client Quit]
al2o3-cr has joined #ruby
al2o3-cr has quit [Client Quit]
al2o3-cr has joined #ruby
commondream has quit [Ping timeout: 272 seconds]
al2o3-cr has quit [Client Quit]
TinkerTyper has quit [Ping timeout: 250 seconds]
al2o3-cr has joined #ruby
TinkerTyper has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
GriffinHeart has quit [Remote host closed the connection]
lyuben_ has quit [Quit: This computer has gone to sleep]
al2o3-cr has quit [Client Quit]
konsolebox has joined #ruby
otherj has joined #ruby
mary5030 has joined #ruby
byprdct has joined #ruby
A205B064 has joined #ruby
hmnhf has quit [Ping timeout: 240 seconds]
aganov has joined #ruby
atomi has quit [Quit: leaving]
ohaibbq has joined #ruby
ForkingPaths has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1__ has quit [Read error: Connection reset by peer]
anaeem1_ has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
abq has joined #ruby
atomi has joined #ruby
kinduff has quit [Quit: leaving]
paulcsmith has joined #ruby
ndrei has joined #ruby
Allfader has quit [Ping timeout: 264 seconds]
St1gma has quit [Remote host closed the connection]
fabrice31 has joined #ruby
saadq has quit [Remote host closed the connection]
djbkd has quit [Quit: My people need me...]
paulcsmith has quit [Ping timeout: 265 seconds]
tkuchiki has quit [Ping timeout: 265 seconds]
ForkingPaths has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
moretti has joined #ruby
longfeet__ has quit [Ping timeout: 265 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
longfeet has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
codeFiend has quit [Quit: codeFiend]
_ht has joined #ruby
<flughafen> moin certainty sevenseacat shevy
<sevenseacat> afternoon
ndrei has quit [Ping timeout: 265 seconds]
sigurding has joined #ruby
sanguisdex has quit [Ping timeout: 256 seconds]
aryaching has joined #ruby
ForkingPaths has quit [Quit: Textual IRC Client: www.textualapp.com]
<flughafen> hows it going sevenseacat
<sevenseacat> same old. trying to write business rules for calculating moneys for invoices. the usual.
jenrzzz has quit [Ping timeout: 265 seconds]
bluOxigen has joined #ruby
prosodyContext has joined #ruby
riotjones has joined #ruby
multi_io has quit [Ping timeout: 240 seconds]
sanguisdex has joined #ruby
andikr has joined #ruby
lxsameer has joined #ruby
multi_io has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
sanguisdex has quit [Ping timeout: 245 seconds]
dling has joined #ruby
otherj has quit [Quit: .]
hanmac1 has joined #ruby
oo_ has quit [Remote host closed the connection]
arietis has joined #ruby
eshy_ has joined #ruby
<flughafen> sevenseacat: you sure know how to rock it!
multi_io has quit [Ping timeout: 240 seconds]
bluOxigen has left #ruby [#ruby]
kinduff has joined #ruby
arescorpio has quit [Quit: Leaving.]
eshy has quit [Quit: ZNC - 1.6.0 - http://znc.in]
multi_io has joined #ruby
eshy_ has quit [Client Quit]
oo_ has joined #ruby
workmad3 has joined #ruby
eshy has joined #ruby
eshy has quit [Max SendQ exceeded]
eshy has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
hmnhf has joined #ruby
tkuchiki has joined #ruby
MasterPiece has quit [Ping timeout: 245 seconds]
EllisTAA has joined #ruby
commondream has joined #ruby
hmnhf_ has joined #ruby
<EllisTAA> can someone tell me how they would approach this source code if they had to read it? I want to get into reading gems but they’re so big i don’t know how to approach them https://github.com/sparklemotion/nokogiri
hmnhf has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 256 seconds]
sanguisdex has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> you picked a doozy to start with
<sevenseacat> given it's mostly native extensions
<Aeyrix> Yeah of all gems to pick
<Aeyrix> that probably rivals unicorn
<EllisTAA> lol
threh has joined #ruby
<EllisTAA> ok which gem should i start with
<sevenseacat> why are you trying to just read gems?
<sevenseacat> what do you hope to achieve?
codeFiend has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
<EllisTAA> to learn about the gems, learn about structure of code, patterns and common practices
<certainty> flughafen: o/
<EllisTAA> become better at ruby
<kinduff> EllisTAA: I'll try first faker gem, its a pretty simple one
<sevenseacat> start by writing some code. if you write code that uses a gem, when you have an entry point into a gem that you're curious about, then go looking to see how it works
<EllisTAA> kinduff: cool ty
<ebonics> do what your heart desires
<ebonics> live true to yourself and your word
<kinduff> EllisTAA: Besides common scripting, are you interested in controller, model, db stuff?
towski_ has quit [Remote host closed the connection]
<EllisTAA> sevenseacat: what do you mean entry point?
<EllisTAA> kinduff: yep
<sevenseacat> a method call provided by the gem or something, a reason to start looking at something
<sevenseacat> instead of just 'i want to learn code'
<ebonics> i love me some code learn
<ebonics> i never get to write ruby code
<sevenseacat> ebonics: no-one's stopping you.
<ebonics> i thought i had a great excuse to use ruby, but it fell through
<ebonics> well yeah sorta :P ruby is never a valid option for what i need to do
<ebonics> it _was_ but mruby let me down
igottadoubt has joined #ruby
<kinduff> EllisTAA: Devise gem for example, kaminari and asset pointed take a look at twitter-bootstrap-rails or jquery-rails
lyuben_ has joined #ruby
<EllisTAA> cool thanks ill check em out all out
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
<flughafen> sup certainty
polysics_ has quit [Remote host closed the connection]
EllisTAA has quit [Quit: EllisTAA]
<Aeyrix> ebonics: Ypi
<Aeyrix> WOW
<Aeyrix> You're too busy with Go. ;)
<certainty> flughafen: busy times. Have to fix the CI setup and hunt down a strange dns problem
GriffinHeart has joined #ruby
<ebonics> Aeyrix, i was trying to use mruby as a scripting language for my go app D:
<ebonics> but she let me down
<ebonics> let me down good
<flughafen> certainty: i just fixed my CI problems, and last week was dns city for me
<Aeyrix> ebonics: wtf how
<Aeyrix> how did you fuck that up
<Aeyrix> I defended your idea for like two hours in that channel
<ebonics> her regexes were brokerino
<Aeyrix> against mr "I've done security for 20 years but I don't know what arbitrary input is"
<ebonics> and her load time was unmanageable
<Aeyrix> Gross. Embed Lua.
<ebonics> i'm using otto now
GriffinHeart has quit [Remote host closed the connection]
<ebonics> going with the ol' js
GriffinHeart has joined #ruby
<Aeyrix> no no no no NO
<Aeyrix> N O
<Aeyrix> O
<ebonics> :\(
<Aeyrix> What happened to your face?
arietis has quit [Quit: Leaving.]
<ebonics> broke it in 'nam
<Aeyrix> 'nam bread?
<ebonics> ye
unshadow has quit [Quit: leaving]
ndrei has joined #ruby
mrmargolis has joined #ruby
jenrzzz has joined #ruby
sinkensabe has joined #ruby
igottadoubt has quit [Quit: Page closed]
longfeet has quit [Ping timeout: 244 seconds]
<certainty> flughafen: maybe your bugs just migrated here xD
Hirzu has joined #ruby
crazydiamond has quit [Remote host closed the connection]
mrmargolis has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 244 seconds]
codecop_ has joined #ruby
duncannz has joined #ruby
balazs has quit [Ping timeout: 265 seconds]
Lucky__ has joined #ruby
<flughafen> certainty: thank god!
northfurr has quit [Quit: northfurr]
chinmay_dd has joined #ruby
wildroman2 has joined #ruby
psy_ has quit [Ping timeout: 264 seconds]
tjohnson has quit [Quit: Connection closed for inactivity]
Channel6 has quit [Quit: Leaving]
jenrzzz has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
wildroman2 has quit [Ping timeout: 255 seconds]
w1xz has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
kinduff has quit [Quit: leaving]
kinduff has joined #ruby
ndrei has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
sanguisdex has quit [Ping timeout: 252 seconds]
ndrei has quit [Read error: Connection reset by peer]
aryaching has quit [Ping timeout: 256 seconds]
konsolebox has quit [Ping timeout: 276 seconds]
wallerdev has quit [Quit: wallerdev]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
afrianska has quit [Ping timeout: 258 seconds]
amclain has quit [Quit: Leaving]
ndrei has joined #ruby
Senjai has quit [Ping timeout: 244 seconds]
fabrice31 has joined #ruby
Senjai has joined #ruby
bartj3 has joined #ruby
threh has quit [Quit: Leaving]
wildroman2 has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
wildroman2 has quit [Ping timeout: 246 seconds]
juanpaucar has joined #ruby
Hirzu has quit [Read error: Connection reset by peer]
Hirzu has joined #ruby
f3lp has quit [Ping timeout: 265 seconds]
Hirzu has quit [Read error: Connection reset by peer]
bruno- has joined #ruby
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
Guest24 is now known as lele
juanpaucar has quit [Ping timeout: 272 seconds]
sanguisdex has joined #ruby
dumdedum has joined #ruby
Pathfinder has joined #ruby
bruno- has quit [Ping timeout: 240 seconds]
dudedudeman has quit [Ping timeout: 256 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jbomo has quit []
wildroman2 has joined #ruby
selu has joined #ruby
dru` has quit [Ping timeout: 244 seconds]
Jackneill has joined #ruby
rubie has quit [Remote host closed the connection]
dudedudeman has joined #ruby
codeFiend has quit [Quit: codeFiend]
kinduff has quit [Quit: leaving]
yourname has joined #ruby
dumdedum has quit [Ping timeout: 276 seconds]
asmodlol has quit [Ping timeout: 256 seconds]
yourname has quit [Client Quit]
paradisaeidae_ has joined #ruby
kinduff has joined #ruby
kinduff has quit [Client Quit]
paradisaeidae has quit [Ping timeout: 246 seconds]
paradisaeidae_ is now known as paradisaeidae
unshadow has joined #ruby
paradisaeidae has left #ruby [#ruby]
livathinos has joined #ruby
xxneolithicxx has quit [Ping timeout: 255 seconds]
anisha has joined #ruby
arup_r has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
paulcsmith has joined #ruby
ohaibbq has quit [Quit: Leaving...]
hanmac has quit [Ping timeout: 265 seconds]
baweaver has quit [Remote host closed the connection]
arietis has joined #ruby
msgodf has joined #ruby
polysics has joined #ruby
paulcsmith has quit [Ping timeout: 276 seconds]
zotherstupidguy has quit [Ping timeout: 272 seconds]
User458764 has quit [Ping timeout: 264 seconds]
asmodlol has joined #ruby
Hounddog has joined #ruby
User458764 has joined #ruby
DerisiveLogic has joined #ruby
dumdedum has joined #ruby
zotherstupidguy has joined #ruby
michael_mbp has quit [Excess Flood]
ChoiKyuSang has quit [Ping timeout: 246 seconds]
glcx has quit [Changing host]
glcx has joined #ruby
edwinvdgraaf has joined #ruby
michael_mbp has joined #ruby
woodennails has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hanmac has joined #ruby
zotherstupidguy has quit [Ping timeout: 265 seconds]
maasha has joined #ruby
commondream has quit [Remote host closed the connection]
<ddv> anyone know how you can improve this without the extra count variable? https://gist.github.com/ddevaal/7a6961d33fe568d1f268
<ddv> I really want to use group_by, seems to make sense but I need a global counter
<maasha> When calling a method using hash arguments, is there any way to check for duplicate keys?
gauke has joined #ruby
<maasha> method(foo: 23, foo: 34) => warning -> you are stupid
<apeiros> maasha: ruby already emits a warning on duplicate hash keys
commondream has joined #ruby
<maasha> apeiros: hm, somehow I am missing that.
<apeiros> but you can't check on the receiver side, as there'll never arrive a duplicate key
arup_r has quit []
<maasha> apeiros: how can I raise an exception on this warning?
wallerdev has joined #ruby
<apeiros> you can't
<maasha> never mind about the receiver side
<maasha> hm
blogjy has joined #ruby
<apeiros> I mean… you could. it'd be horrible IMO. replace $stderr with something you're observing and raise when you match the pattern of the warning.
<apeiros> as said, horrible IMO.
kies has joined #ruby
commondream has quit [Ping timeout: 276 seconds]
GPrime has joined #ruby
polysics has quit []
spiderbyte has quit [Ping timeout: 272 seconds]
<maasha> apeiros: ok, I better think this over. Thanks
Juanchito has joined #ruby
cnk has joined #ruby
alex88 has joined #ruby
<ljarvis> ddv: you want .each_with_index
arietis has quit [Quit: Leaving.]
<maasha> And now to something completely different. Do we have a tool to compare two ruby-profs?
gauke has quit [Quit: gauke]
ki0 has joined #ruby
<ljarvis> >> %w(foo barz bazes).group_by(&:size).each_with_index.to_h
<ruboto> ljarvis # => {[3, ["foo"]]=>0, [4, ["barz"]]=>1, [5, ["bazes"]]=>2} (https://eval.in/371045)
<ddv> ljarvis: .each_with_index will only count the hash keys, and on the array it will start from 0
<ljarvis> ddv: so.., index: index + 1
<ljarvis> patterns.each_with_index
<ljarvis> oh I see
<ddv> ljarvis: yeah but on each array it will start from 0 again
cnk has quit [Client Quit]
MatthewsFace has joined #ruby
gagrio has quit [Remote host closed the connection]
cnk has joined #ruby
<ljarvis> ddv: I actually think what you have is fine
ponga has joined #ruby
ponga has left #ruby [#ruby]
<ddv> ljarvis: it feels non ruby like
<ljarvis> there are ways around it, but this is quite explicit
<blogjy> what is a good way for installing ruby on ubuntu? I tried apt-get install ruby-full and it looks like it is version 1.9.1
<blogjy> is that ?
<blogjy> is that ok?
<ljarvis> blogjy: you want ruby 2
<ddv> blogjy: use a ruby version manager, is this for loca ldevelopment?
<blogjy> yes
cina has joined #ruby
<cnk> i think u should use rvm or rbenv
<hanmac1> blogjy: ubuntu version?
livathinos has quit []
<blogjy> 14.04.02
<blogjy> 14.04.2
<blogjy> LTS
<hanmac1> thats the problem with LTS ... newer ubuntu gets newer ruby ... my one does have 2.1 as default ... your might have 2.0 as extra package
<cina> I have a string like '\u062f\u0631', it is two unicode characters/runes, how do I convert these codes into their actual character/runes?
mikecmpbll has joined #ruby
<blogjy> i might run rails s and so do http://127.0.0.1:3000 you'd still call that local wouldn't you?
<cina> this doesn't work: puts '\u062f\u0631'.encode('utf-8')
livathinos has joined #ruby
<blogjy> what is remote development?
c0m0 has joined #ruby
<ytti> hanmac1, latest and greatest osx still has 2.0.0
galeido has quit [Quit: leaving]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
<apeiros> cina: ' does not have any escape sequences
<ljarvis> cina: it's already encoded in utf8. Use double quotes
abq has quit []
<apeiros> ljarvis: that actually depends on their ruby version and/or encoding comment
michael_mbp has quit [Excess Flood]
<ljarvis> true
<hanmac1> cina: if you got/read the string with singlequotes, you can try something like that:
<hanmac1> >> '\u062f\u0631'.gsub(/\\u([[:alnum:]]+)/) {|i| [$1.to_i(16)].pack('U*') }
<ruboto> hanmac1 # => "در" (https://eval.in/371051)
<apeiros> cina: re ljarvis' comment - if you're using ruby 2.0 or higher and don't have a special encoding comment, your string literals already are encoded in utf-8 as ljarvis says. you can verify by running: p "".encoding
GriffinHeart has quit [Remote host closed the connection]
michael_mbp has joined #ruby
<hanmac1> cina better:
<hanmac1> >> '\u062f\u0631'.gsub(/\\u(\w{1,4})/) {|i| [$1.to_i(16)].pack('U*') }
<ruboto> hanmac1 # => "در" (https://eval.in/371054)
GriffinHeart has joined #ruby
* apeiros suggests \h over \w
<apeiros> it's still horrible, though :-p
rindolf has joined #ruby
<ljarvis> very horrible
<apeiros> oh, and:
<apeiros> >> "062f".to_i(16).chr('utf-8')
<ruboto> apeiros # => "د" (https://eval.in/371055)
<hanmac1> apeiros: good to know i didnt know that chr can use encoding
<cina> it's a bit confusing to talk about... the string is escaped '\u062f\u0631'.... maybe I should say that I want to unescape it
<cina> hanmac1: it works!
cnk is now known as pch_
<cina> hanmac1: but why should it be this complicated?
<apeiros> cina: you mean you have userinput which is "\\u062f\\0631"?
<apeiros> +u
<hanmac1> cina: with using apeiros help (but not much shorter)
<hanmac1> >> '\u062f\u0631'.gsub(/\\u(\w{1,4})/) {|i| $1.to_i(16).chr('utf-8') }
<ruboto> hanmac1 # => "در" (https://eval.in/371056)
charliesome has quit [Quit: zzz]
<cina> yes, what you and hanmac1 suggested is exactly what I was looking for, but I wonder why it should be this complicated
<apeiros> hanmac1: I'd actually use the longer form with Encoding::UTF_8. but that's just performance paranoid me
pch_ has quit [Quit: Leaving]
<apeiros> cina: we don't know either without further information
pch has joined #ruby
arup_r has joined #ruby
granthatcher has joined #ruby
pch has quit [Client Quit]
pch_cnk has joined #ruby
<cina> apeiros: this escaped string is created by JSON.dump, maybe I should have fixed the encoding before passing it to JSON.dump
<apeiros> cina: why are you postprocessing the dump then?
al2o3-cr has joined #ruby
mrmargolis has joined #ruby
mase-chatter has quit [Remote host closed the connection]
pch_cnk has quit [Client Quit]
pch has joined #ruby
<apeiros> >> require "json"; JSON.parse(JSON.dump(value: "\u062f\u0631"))
<ruboto> apeiros # => {"value"=>"در"} (https://eval.in/371062)
<apeiros> >> require "json"; JSON.dump(value: "\u062f\u0631")
<ruboto> apeiros # => "{\"value\":\"در\"}" (https://eval.in/371063)
<apeiros> while escaping those values in json is unexpected, it's afaik not invalid
krz has quit [Quit: WeeChat 1.0.1]
pch_cnk has joined #ruby
<apeiros> >> require "json"; JSON.parse("{\"value\":\"\\u062f\\u0631\"}")
<ruboto> apeiros # => {"value"=>"در"} (https://eval.in/371064)
rdark has joined #ruby
<apeiros> seems like JSON.parse can deal with both just fine.
gluten_hell has joined #ruby
pch has quit [Client Quit]
pch_cnk has quit [Client Quit]
pch has joined #ruby
arietis has joined #ruby
mrmargolis has quit [Ping timeout: 246 seconds]
einarj has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
<cina> apeiros: you are right... the string I'm working on probably has invalid unicode entries
GriffinHeart has quit [Remote host closed the connection]
chinmay_dd has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
Takle has joined #ruby
Echohn_ has left #ruby [#ruby]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chinmay_dd has joined #ruby
<cina> yup, the string is truncated (it ends with "\\u0", an incomplete/invalid unicode escape)
<cina> thank you guys for helping me
pch is now known as pch_
matchaw has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> ah, no wonder hanmac's solution worked then. it allows invalid sequences.
<apeiros> hanmac1: \h{4}, not {1,4} ;-)
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
Zai00 has joined #ruby
arup_r has quit [Remote host closed the connection]
pch has joined #ruby
joonty has joined #ruby
sigurding has quit [Quit: sigurding]
<cina> apeiros: exactly!
idafyaid has quit [Ping timeout: 244 seconds]
konsolebox has joined #ruby
nhhagen has joined #ruby
A205B064 has quit [Ping timeout: 246 seconds]
doertedev has joined #ruby
withnale_ has joined #ruby
quimrstorres has joined #ruby
cirn0 has quit [Remote host closed the connection]
MatthewsFace has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
juanpaucar has joined #ruby
woodennails has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juanpaucar has quit [Ping timeout: 245 seconds]
quimrstorres has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
nfk has joined #ruby
Igorshp has joined #ruby
ChoiKyuSang has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
ArchRogem has joined #ruby
Obfuscate has quit [Ping timeout: 256 seconds]
gaboesquivel has joined #ruby
yh__ has joined #ruby
AlphaAtom has joined #ruby
platzhirsch has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
GPrime has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gaboesquivel has quit [Ping timeout: 264 seconds]
paulcsmith has joined #ruby
GPrime has joined #ruby
gagrio has joined #ruby
gagrio is now known as gagrio|ASML
ghr has joined #ruby
paulcsmith has quit [Ping timeout: 244 seconds]
startupality has joined #ruby
granthatcher has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 252 seconds]
granthatcher has joined #ruby
Jackneill_ has joined #ruby
nhhagen has quit [Ping timeout: 250 seconds]
Jackneill has quit [Ping timeout: 276 seconds]
sankaber has joined #ruby
pandaant has joined #ruby
arup_r has joined #ruby
doertedev has quit [Quit: Lost terminal]
gr33n7007h has joined #ruby
al2o3-cr has quit [Ping timeout: 255 seconds]
sankaber has quit [Client Quit]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hmnhf_ has quit [Ping timeout: 240 seconds]
serivich has joined #ruby
yardenbar has joined #ruby
TinkerTyper has quit [Ping timeout: 265 seconds]
Takle has quit [Remote host closed the connection]
Pathfinder has quit [Ping timeout: 256 seconds]
neanderslob has quit [Read error: Connection reset by peer]
TinkerTyper has joined #ruby
roger_rabbit has quit [Ping timeout: 252 seconds]
huddy has joined #ruby
phreakocious has quit [Ping timeout: 252 seconds]
roger_rabbit has joined #ruby
rikai has quit [Ping timeout: 252 seconds]
phreakocious has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
GriffinHeart has quit [Remote host closed the connection]
rikai has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
konsolebox has quit [Quit: Leaving]
krz has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
nhhagen has joined #ruby
serivich has joined #ruby
n008f4g_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Takle has joined #ruby
workmad3 has joined #ruby
lele is now known as Guest24
Pathfinder has joined #ruby
pandaant has quit [Ping timeout: 256 seconds]
senayar has joined #ruby
dumdedum has quit [Quit: foo]
pandaant has joined #ruby
gluten_hell has quit [Quit: Computer has gone to sleep.]
cirn0 has joined #ruby
<jokke> hi
<adaedra> Greetings
<_ht> ALoha
workmad3 has quit [Ping timeout: 255 seconds]
tskogberg has quit [Ping timeout: 264 seconds]
<_ht> What's up?
dumdedum has joined #ruby
Ropeney has joined #ruby
Pathfinder has quit [Ping timeout: 272 seconds]
DexterLB has quit [Read error: Connection reset by peer]
<jokke> i'm using net::http to retrieve very many assets from $server. I cannot assume that $server is same for every request. The connection is over ssl, so the handshake alone takes a long time
<_ht> Parallellism for the win
<adaedra> you shouldn't use global variables
<_ht> also, too many lls?
<jokke> _ht: i already run this multithreaded
tskogberg has joined #ruby
<jokke> but im talking in the ten thousands of assets
gagrio|ASML has quit [Remote host closed the connection]
workmad3 has joined #ruby
<_ht> Use a distributed system?
<jokke> and the thing is, i'm needing only a few bytes of each
marr has joined #ruby
<ljarvis> what's the goal? why only a few bytes?
<jokke> so the handshake really makes a difference
<jokke> ljarvis: i wrote this gem https://github.com/jreinert/dimscan
cirn0 has quit [Ping timeout: 252 seconds]
<_ht> It is not as if you can forgo it, right? You only shake hands once per server?
<ljarvis> ah
sinkensabe has joined #ruby
<jokke> yeah i probably really have to manage some sort of cache for connections
<jokke> but it's pretty tedious
wookiehangover has quit [Ping timeout: 256 seconds]
<ljarvis> what about net-http-persistent's connection pooling?
krasnus has quit [Excess Flood]
Pathfinder has joined #ruby
<jokke> ljarvis: never heard about that
stoffus has joined #ruby
<jokke> ljarvis: wow!
<ljarvis> seems like what you want
<jokke> looks to be just the thing i need
<ljarvis> :)
<jokke> ljarvis: awesome, thanks!
gagrio has joined #ruby
wookiehangover has joined #ruby
_blizzy_ has joined #ruby
Soda has joined #ruby
CloCkWeRX has quit [Ping timeout: 250 seconds]
oo_ has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 250 seconds]
leafybasil has quit [Remote host closed the connection]
<maasha> Rakefile issue: I would like to have `rake simplecov` require simplecov before running unit tests. However, this dosn't run the tests: https://gist.github.com/maasha/3d59df2ae117b2ffd62d
sdothum has joined #ruby
gagrio has quit [Remote host closed the connection]
<maasha> there is a typo, but that is not the reason. lemmy fix this gist.
mrmargolis has joined #ruby
<maasha> there
AlphaAtom has joined #ruby
Pathfinder has quit [Ping timeout: 265 seconds]
mrmargolis has quit [Ping timeout: 250 seconds]
Igorshp has quit [Remote host closed the connection]
nub is now known as callumacrae
gagrio has joined #ruby
w1xz has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Remote host closed the connection]
decoponio has joined #ruby
al2o3-cr has joined #ruby
DEA7TH has joined #ruby
oo_ has joined #ruby
gr33n7007h has quit [Ping timeout: 256 seconds]
dumdedum is now known as blaxter
duncannz has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
<ljarvis> maasha: simplecov isn't doing anything. You need to start it
Igorshp has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
<ljarvis> oh im blind
<maasha> ljarvis: like SimpleCov.start on l 44?
Jackneill_ has quit [Read error: Connection reset by peer]
<ljarvis> although I am confused why you set command name after starting, shouldn't that be in the block or before it?
pandaant has quit [Ping timeout: 265 seconds]
<ljarvis> (I don't use simplecov)
<maasha> ljarvis: it seems to be troubling others as well: https://github.com/colszowka/simplecov/issues/37
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
gagrio is now known as gagrio|CZ
pandaant has joined #ruby
sdothum has joined #ruby
Obfuscate has joined #ruby
gr33n7007h has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
Pathfinder has joined #ruby
DEA7TH has quit [Ping timeout: 256 seconds]
startupality has quit [Quit: startupality]
dorei has joined #ruby
tkuchiki has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
doertedev has joined #ruby
sevenseacat has quit [Ping timeout: 276 seconds]
quimrstorres has quit [Ping timeout: 240 seconds]
qwertme has joined #ruby
Rickmasta has joined #ruby
sevenseacat has joined #ruby
quimrstorres has joined #ruby
asmodlol has quit [Quit: Leaving]
bruno- has quit [Ping timeout: 245 seconds]
startupality has joined #ruby
pandaant has quit [Ping timeout: 256 seconds]
blogjy has quit []
leafybasil has joined #ruby
al2o3-cr has joined #ruby
gr33n7007h has quit [Ping timeout: 258 seconds]
fabrice31 has joined #ruby
pandaant has joined #ruby
DerisiveLogic has quit [Ping timeout: 265 seconds]
krasnus has joined #ruby
juanpaucar has joined #ruby
quimrstorres has quit [Remote host closed the connection]
rodfersou has joined #ruby
senayar has quit [Remote host closed the connection]
quimrstorres has joined #ruby
granthatcher has quit []
juanpaucar has quit [Ping timeout: 246 seconds]
pandaant has quit [Ping timeout: 256 seconds]
rodfersou has quit [Client Quit]
granthatcher has joined #ruby
rodferso1 has joined #ruby
rodferso1 has quit [Client Quit]
rodfersou has joined #ruby
<maasha> I dont get it. rake test runs the test suite ok, rake simplecov appears to do nothing: https://gist.github.com/maasha/3d59df2ae117b2ffd62d
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pandaant has joined #ruby
<maasha> I can even comment out line 41
hmnhf_ has joined #ruby
tskogberg has quit [Remote host closed the connection]
granthatcher_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phutchins has joined #ruby
granthatcher has quit [Ping timeout: 264 seconds]
konsolebox has joined #ruby
<konsolebox> Output of `gem env | gawk -F': ' '/EXECUTABLE DIRECTORY:/ { print $2 }'` is the same as `puts -e Gem.bindir` correct?
pandaant has quit [Ping timeout: 240 seconds]
DerisiveLogic has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
freerobby has quit [Client Quit]
Igorshp has quit [Remote host closed the connection]
jayeshsolanki has joined #ruby
saadq has joined #ruby
Igorshp has joined #ruby
gluten_hell has joined #ruby
TinkerTyper has quit [Ping timeout: 240 seconds]
banister has joined #ruby
paulcsmith has joined #ruby
Macaveli has joined #ruby
vikaton has joined #ruby
haxrbyte has joined #ruby
<jhass> I think so
gluten_hell has quit [Ping timeout: 250 seconds]
<konsolebox> jhass: thanks. I guess I only need Gem.bindir.
paulcsmith has quit [Ping timeout: 265 seconds]
nateberkopec has joined #ruby
TinkerTyper has joined #ruby
<konsolebox> i.e. ~/.bashrc: PATH+=:$(ruby -e 'puts Gem.bindir')
<konsolebox> or is there a better way to set PATH?
haxrbyte_ has quit [Ping timeout: 256 seconds]
Allfader has joined #ruby
pandaant has joined #ruby
<jhass> no
<jhass> I went to adding install: -n ~/.bin/ to my .gemrc and deal with the issues on upgrade though
<jhass> since that snippet was somewhat slow for me
mahtennek has joined #ruby
<konsolebox> jhass: i have multiple ruby versions so that won't apply for me (
<konsolebox> if i read what you're after well that is)
ArchRogem has quit [Read error: Connection reset by peer]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> well, that snippet won't update itself either
<Takumo> So I know you can't call Object#pry from within a pryrc, but how would I set it so that pry actually does pry within a specific context in a pryrc?
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Takumo> i.e. I want it do basically do MyApp.pry
haxrbyte_ has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
<dorei> are there any alternatives to nokogiri for xpath queries?
<konsolebox> jhass: it does everytime i choose another ruby. the value of Gem.bindir would vary
x44x45x41x4E has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c355E3B has joined #ruby
oo_ has quit [Remote host closed the connection]
<jhass> dorei: oga I think
<jhass> konsolebox: once you spawned a new shell, yeah
<dorei> jhass: a devops friend of mine was about to kill me when i told him i'm using nokogiri
<jhass> konsolebox: I bet the switcher you use doesn't remove the old one
tkuchiki has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
<mahtennek> hi i have a question regarding unix socket. i am trying to create a callback mechanism with cloud foundry warden. any advice to where i should start? i have created a simple callback which access and return warden/container/linux.rb in the console, but i can't get a callback to web api. cloud foundry channel isn't responding. the second thought was, i tried to read /tmp/warden.sock unix socket but i have no luck with th
<mahtennek> at either. i have searched the web and all resources, please advise.
oo_ has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<konsolebox> jhass: i'm in Gentoo. yes it doesn't. Ruby binaries are installed as ruby20, ruby21, etc. and /urs/bin/ruby only points to them. /usr/bin/ruby is the one that gets changed (and probably /usr/bin/gem as well).
KrzaQ has quit [Disconnected by services]
robustus has quit [Ping timeout: 255 seconds]
<hanmac1> dorei: what did your devops friend say that you should use as replacement for nokogiri?
<konsolebox> jhass: and i get to install gems exclusively to every version
KrzaQ has joined #ruby
<dorei> hanmac1: nothing unfortunately :(
<dorei> oga seems quite okie though
AlphaAtom has joined #ruby
freerobby has quit [Client Quit]
<hanmac1> imo still do prefer nokogiri for my stuff because it does exacly do what it should do ...
AlphaAtom has quit [Max SendQ exceeded]
<hanmac1> dorei: did your friend tell you a reason why you shouldnt use it? like because the name does sound to "foreign"?
AlphaAtom has joined #ruby
robustus|Off has joined #ruby
robustus|Off is now known as robustus
nettoweb has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
artmann has quit [Read error: Connection reset by peer]
<dorei> hanmac1: because of its need to pull a certain version of libxml and this causes a lot of problem with the automating the build procedure
pandaant has quit [Ping timeout: 276 seconds]
<hanmac1> dorei: nokogiri does ship its own version of xml so it doesnt have dependencies like that anymore in newest version
fabrice31 has quit [Remote host closed the connection]
<dorei> on my opensuse it failed, i have to use the options to tell it use my system's libxml
fabrice31 has joined #ruby
<hanmac1> normally it should work without
artmann has joined #ruby
<dorei> probably i'll continue using nokogiri since what i'm making it'll only be deployed at my pc and another server
<dorei> so no need to have it completely automated i think
dain has quit [Ping timeout: 244 seconds]
but3k4 has joined #ruby
joonty has quit [Quit: joonty]
umdstu has joined #ruby
but3k4 has quit [Client Quit]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<umdstu> every time I compile ruby-1.9.3 (via rvm) on my mac (10.10) it doesn't seem to be building with openssl. i've tried multiple ways to get this going. any ideas?
Allfader has quit []
Pathfinder has quit [Ping timeout: 250 seconds]
Allfader has joined #ruby
AlphaAtom has joined #ruby
but3k4 has joined #ruby
attlasbot has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Allfader has quit [Client Quit]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
Allfader has joined #ruby
<jhass> why do you need 1.9.3 instead of 2.2.2?
AlphaAtom has joined #ruby
pandaant has joined #ruby
jmignault has joined #ruby
Allfader has quit [Client Quit]
sygnorman has joined #ruby
jmignault has quit [Client Quit]
<maasha> stupid rakefile
Allfader has joined #ruby
* maasha pissed off, huge, green and superstrong
gizless has joined #ruby
<maasha> Gaaaar!
Allfader has quit [Client Quit]
jmignault has joined #ruby
* jhass bets it'S not rake that's the issue
Skelz0r_ has joined #ruby
rikai_ has joined #ruby
attlasbot has quit [Quit: Leaving]
<adaedra> calm down, maasha
fabrice31_ has joined #ruby
<adaedra> we're not in an Americal block-buster here
<adaedra> American
<adaedra> :)
PaulePan1er has joined #ruby
QKO_ has joined #ruby
genpaku_ has joined #ruby
mosez_ has joined #ruby
seitensei has joined #ruby
fabrice31 has quit [Ping timeout: 240 seconds]
Allfader has joined #ruby
Brando753 has quit [Ping timeout: 250 seconds]
gizmore has quit [Ping timeout: 250 seconds]
PaulePanter has quit [Ping timeout: 250 seconds]
genpaku has quit [Ping timeout: 250 seconds]
20WABCNE8 has joined #ruby
icedp has quit [Ping timeout: 250 seconds]
anisha has quit [Ping timeout: 250 seconds]
Affix has quit [Ping timeout: 250 seconds]
tenseiten has quit [Ping timeout: 250 seconds]
johnny_dz has quit [Ping timeout: 250 seconds]
fredsir_ has quit [Ping timeout: 250 seconds]
_5moufl has quit [Ping timeout: 250 seconds]
Zackio has quit [Ping timeout: 250 seconds]
QKO has quit [Ping timeout: 250 seconds]
mclee has quit [Ping timeout: 250 seconds]
Skelz0r has quit [Ping timeout: 250 seconds]
rikai has quit [Ping timeout: 250 seconds]
kriskropd has quit [Ping timeout: 250 seconds]
bjornar has quit [Ping timeout: 250 seconds]
JimmyNeutron has quit [Ping timeout: 250 seconds]
mosez has quit [Ping timeout: 250 seconds]
genpaku_ is now known as genpaku
_5moufl has joined #ruby
fredsir has joined #ruby
bjornar has joined #ruby
Affix has joined #ruby
Zackio has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
Affix is now known as Guest81791
mclee has joined #ruby
Brando753 has joined #ruby
fabrice31 has joined #ruby
anisha has joined #ruby
icedp has joined #ruby
ldnunes has joined #ruby
JimmyNeutron has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Guest81791 has quit [Changing host]
Guest81791 has joined #ruby
jimms has joined #ruby
kriskropd has joined #ruby
Guest81791 is now known as affix
<al2o3-cr> mr mcgee don't make me angry. you wouldn't like me when i'm angry
affix is now known as Affix
gagrio|CZ has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
gagrio has joined #ruby
pengin has joined #ruby
startupality has quit [Quit: startupality]
MatthewsFace has joined #ruby
<mahtennek> hi i have a question regarding unix socket. i am trying to create a callback mechanism with cloud foundry warden. any advice to where i should start? i have created a simple callback which access and return warden/container/linux.rb in the console, but i can't get a callback to web api. cloud foundry channel isn't responding. the second thought was, i tried to read /tmp/warden.sock unix socket
<mahtennek> i have searched the web and all resources, please advise.
jakolehm has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
dEPy has joined #ruby
xxneolithicxx has joined #ruby
jimms has joined #ruby
MatthewsFace has quit [Ping timeout: 256 seconds]
mrmargolis has joined #ruby
quimrstorres has joined #ruby
startupality has joined #ruby
pengin has quit [Remote host closed the connection]
soc42 has joined #ruby
mrmargolis has quit [Ping timeout: 265 seconds]
HotCoder has joined #ruby
lxsameer has quit [Quit: Leaving]
krz has quit [Read error: Connection reset by peer]
<umdstu> jhass: an older project uses 1.9.3, so i need to install 1.9.3. new Computer so i'm trying to recreate my dev env on it
<jhass> mmh, is rvm pkg install openssl still a thing?
<umdstu> yes it is
<umdstu> i've tried that
konsolebox has quit [Quit: Leaving]
<umdstu> it fails make install because the version i have in the internal rvm repo is 1.0.1i and it has bad docs. make install_sw works *outside* of the rvm pkg install method
Takle has quit [Remote host closed the connection]
hmnhf_ has quit [Ping timeout: 255 seconds]
<umdstu> so i tried installing it manually via rvm. and also built it from source, and used --with-openssl-dir=$HOME/.rvm/usr as well as --with-openssl-dir=/usr . both compile fine, but when i start irb and 'require openssl' it cries and says it cannot find it
claptor has quit [Quit: this channel is bakas]
<umdstu> i've tried 1.0.1m as well
hmnhf_ has joined #ruby
[k- has joined #ruby
banister has joined #ruby
<shevy> openssl is very annoying
<shevy> not even ext/openssl works for me on linux
<shevy> but it works when I recompile ruby
<shevy> I dunno why ext/openssl does not work for me - ext/readline and other ext/ work fine lateron
jimms has quit [Remote host closed the connection]
krz has joined #ruby
saadq has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
sgambino has joined #ruby
dfockler has joined #ruby
krz has quit [Read error: Connection reset by peer]
hmnhf__ has joined #ruby
hmnhf_ has quit [Ping timeout: 256 seconds]
Mon_Ouie has quit [Ping timeout: 246 seconds]
livathinos has quit [Ping timeout: 264 seconds]
<ddv> no idea bro
krz has joined #ruby
al2o3-cr has quit [Ping timeout: 256 seconds]
startupality has quit [Quit: startupality]
<[k-> I heard that there is compile flag for openssl in ruby...
krz has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dfockler has quit [Ping timeout: 276 seconds]
zz_barkerd427 is now known as barkerd427
<shevy> I have faith in umdstu. In the end he will prevail
yardenbar has quit [Quit: Leaving]
sigurding has joined #ruby
<umdstu> a compile flag? what kind of compile flag?
<umdstu> i have no faith in umdstu
<umdstu> he's been at it for days
hmnhf has joined #ruby
startupality has joined #ruby
livathinos has joined #ruby
hmnhf__ has quit [Ping timeout: 276 seconds]
jtdowney has joined #ruby
<jhass> days? might have been easier to patch the app to a newer Ruby in that time :P
y0da has joined #ruby
but3k4 has quit [Read error: Connection reset by peer]
<shevy> or switch to linux :)))
davedev24_ has joined #ruby
x44x45x41x4E has joined #ruby
juanpaucar has joined #ruby
Axy has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
Mia has quit [Ping timeout: 258 seconds]
paulcsmith has joined #ruby
juanpaucar has quit [Ping timeout: 255 seconds]
startupality has quit [Quit: startupality]
goodcodeguy has joined #ruby
paulcsmith has quit [Ping timeout: 256 seconds]
atmosphere has joined #ruby
<atmosphere> i want to convert my c++ code into ruby code is their any nice way ofding it?
<Darkwater> why
dstarh has joined #ruby
Guest38989 has joined #ruby
<atmosphere> its my project regarding rpc
axwl has joined #ruby
<atmosphere> @darkwater its my project regarding rpc
jtdowney has quit []
<Darkwater> I'd probably just remake it
<Darkwater> they're really different languages
<shevy> atmosphere just map the API into a ruby API; C++ uses some similar constructs such as <<
chinmay_dd has quit []
<atmosphere> @darkwater m newbie just clearify me more..
<jhass> atmosphere: you didn't answer the question yet, why
<jhass> as a learning experience?
<Darkwater> (also, drop the @, this isn't twitter)
pandaant has quit [Ping timeout: 252 seconds]
<atmosphere> just like json there is something which is lacking jruby feature i want to add it..
<apeiros> it's not #twitter? #awesomeirc :D
<apeiros> *scnr*
<shevy> Poor guy is using webchat
shazaum has joined #ruby
<jhass> atmosphere: what's lacking? Drb? http://ruby-doc.org/stdlib-2.2.2/libdoc/drb/rdoc/
arup_r has quit []
shazaum has joined #ruby
shazaum has quit [Changing host]
<atmosphere> darkwater i haver answered
griffindy has joined #ruby
<atmosphere> jruby
* jhass feels trolled
pandaant has joined #ruby
phale has joined #ruby
<Darkwater> eh
<Darkwater> what
qwertme has joined #ruby
<phale> My friends are assholes
<phale> they kicked me out of their channel
<atmosphere> darkwater: i have aanswered i want to make a binding of jruby
<jhass> phale: you got kicked here too in the past iirc
<phale> jhass: yes i did
<jhass> maybe time to reflect a bit
CloCkWeRX has quit [Ping timeout: 272 seconds]
<phale> I really did nothing though
<phale> I was made fun of then kicked
CustosLimen has quit [Ping timeout: 264 seconds]
<Darkwater> atmosphere: "what" isn't the same as "why"
<Darkwater> *why* do you want to translate a probject from c++ to ruby
<shevy> phale what channel was it?
<phale> shevy: remember zyxwvuts?
<shevy> no... but that nick reminds me of whycats
cirn0 has joined #ruby
<phale> shevy: uh, i'll pm you if you want
workmad3 has quit [Ping timeout: 256 seconds]
<atmosphere> darkwater: just to understand proper format and learning ruby then use that knowledge in making binding
CustosLimen has joined #ruby
kp666 has quit [Remote host closed the connection]
<Darkwater> just remake it then
<phale> I didn't really get kicked, just quit because people were making fun of me for reasons uknown
<phale> unknown*
<jhass> atmosphere: if it's for a learning experience, then start from scratch
<Darkwater> don't look at your old code unless you need to
<shevy> phale ah, you have to stay until they do kick you out :)
<atmosphere> ya i have learned from scratch
<atmosphere> darkwater: any suggestion how to learn remaking of file.
<Darkwater> forget remaking it
<Darkwater> make it
<shevy> hehe
<shevy> "The best way to predict the future is to invent it." Alan Kay
DerisiveLogic has quit [Read error: Connection reset by peer]
<jhass> that's a neat quote
Guest38989 has quit [Quit: This computer has gone to sleep]
umdstu has quit [Ping timeout: 246 seconds]
newbie1 has joined #ruby
ravenreborn has quit [Ping timeout: 265 seconds]
sankaber has joined #ruby
krz has joined #ruby
<shevy> yeah, very actionable. it's like "go out and do something". write code, do stuff, think about things
newbie1 has quit [Client Quit]
<dorei> >> [1,2].each_with_object(5).map{ |x| x }
<ruboto> dorei # => [1, 2] (https://eval.in/371267)
<dorei> >> [1,2].each_with_object(5).map{ |x,y| [x,y] }
<ruboto> dorei # => [[1, 5], [2, 5]] (https://eval.in/371269)
<dorei> any idea how this work?
[k-_ has joined #ruby
<jhass> uh, on what level?
<dorei> why in the first one map |x| is sending 1 and 2 into the block instead of [1,5] and [2,5] ?
<Darkwater> each_with_object returns an enumerator
<Darkwater> the .map is completely redundant
<dorei> nop, it's not
<dorei> >> [1,2].each_with_object(5){ |x,y| [x,y] }
<ruboto> dorei # => 5 (https://eval.in/371273)
<dorei> >> [1,2].each_with_object(5){ |x| x }
<ruboto> dorei # => 5 (https://eval.in/371274)
<Darkwater> oh right, partially then
tkuchiki has joined #ruby
<Darkwater> wait uhm
<jhass> each_with_object returns the object (5 in this case)
<Darkwater> ah yes
DerisiveLogic has joined #ruby
<jhass> the last two examples don't prove anything about the value yielded to the block
<phale> thanks for cheering me up with your code guys
<phale> i had a good laugh today
<Darkwater> >> (1..10).each_with_object([]) { |i, a| a << i*2 }
<ruboto> Darkwater # => [2, 4, 6, 8, 10, 12, 14, 16, 18, 20] (https://eval.in/371277)
<Darkwater> that's the example on the docs
<jhass> >> def foo; yield 1, 2; end; foo {|x| p x }
<ruboto> jhass # => 1 ...check link for more (https://eval.in/371279)
<jhass> >> def foo; yield 1, 2; end; foo {|x, y| p x, y }
<ruboto> jhass # => 1 ...check link for more (https://eval.in/371281)
<jhass> heh
<phale> jhass: lmao
<jhass> well, check the link
<Darkwater> >> def foo; yield 1, 2; end; foo {|x, y| puts x, y }
<ruboto> Darkwater # => 1 ...check link for more (https://eval.in/371282)
<Darkwater> god damnit
<jhass> same trap :P
<Darkwater> >> def foo; yield 1, 2; end; foo {|x, y| puts x +", "+ y }
<ruboto> Darkwater # => String can't be coerced into Fixnum (TypeError) ...check link for more (https://eval.in/371283)
<jhass> >> def foo; yield 1, 2; end; foo {|x, y| p [x, y] }
<ruboto> jhass # => [1, 2] ...check link for more (https://eval.in/371284)
quimrstorres has quit [Remote host closed the connection]
<Darkwater> ok you win
anaeem1_ has quit [Quit: Leaving...]
ahmetkapikiran has joined #ruby
senayar has quit [Remote host closed the connection]
toretore has joined #ruby
Vitor has joined #ruby
lyuben_ has quit [Ping timeout: 264 seconds]
<dorei> okie, i think i got it :)
<dorei> thanx jhass
<dorei> >> def foo; yield 1,2 ; end ; foo {|x| [x] }
<ruboto> dorei # => [1] (https://eval.in/371288)
lyuben_ has joined #ruby
<dorei> >> def foo; yield 1,2 ; end ; foo {|x,y| [x,y] }
<ruboto> dorei # => [1, 2] (https://eval.in/371289)
pwattstbd has joined #ruby
Takle has joined #ruby
<jhass> dorei: thing to keep in mind is that things like Hash#each yield an array and block params autosplat
<jhass> >> def foo; yield [1, 2]; end; foo {|x, y| p [x, y] }
<ruboto> jhass # => [1, 2] ...check link for more (https://eval.in/371291)
<jhass> >> def foo; yield [1, 2]; end; foo {|x| p x }
<ruboto> jhass # => [1, 2] ...check link for more (https://eval.in/371292)
<phale> >> for i in 0..15 do 0.0/0 end
<ruboto> phale # => 0..15 (https://eval.in/371293)
<phale> hmm
jerius has joined #ruby
<jhass> >> 0.0/0
<ruboto> jhass # => NaN (https://eval.in/371295)
<jhass> >> 1/0
<ruboto> jhass # => divided by 0 (ZeroDivisionError) ...check link for more (https://eval.in/371296)
<[k-_> why does that happen
<jhass> Float#/ vs Fixnum#/
<phale> nice math logic
imperator has joined #ruby
<phale> also
<phale> >> 1.0/0
<ruboto> phale # => Infinity (https://eval.in/371297)
crus` has joined #ruby
gizless has quit [Ping timeout: 244 seconds]
jerius has quit [Client Quit]
<[k-_> but that violatesthe principle of least surprise!
gizless has joined #ruby
ixti has joined #ruby
<jhass> >> 0**0
<ruboto> jhass # => 1 (https://eval.in/371298)
<hanmac1> jhass: also even on 64bit: 0.0.object_id != -0.0.object_id
crus has quit [Ping timeout: 255 seconds]
<jhass> yeah, it's a float
<jhass> 0.0 can mean 0.00000000000000000000000000000000000000000000000000000000000000000001 where the 1 is cut off due to precision
kobain has joined #ruby
<apeiros> the reason is actually approximations from +val and -val
<apeiros> that's why IEEE differentiates +0 and -0
<apeiros> +754
<apeiros> at least iirc :)
x44x45x41x4E has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros> >> [1/0.0, 1/-0.0]
<ruboto> apeiros # => [Infinity, -Infinity] (https://eval.in/371305)
<apeiros> and that despite 0.0 == -0.0
unshadow has quit [Quit: leaving]
balazs has joined #ruby
<phale> >> 0.0 & 0
<ruboto> phale # => undefined method `&' for 0.0:Float (NoMethodError) ...check link for more (https://eval.in/371307)
<shevy> [k-_ I don't think there ever was a principle of least surprise, the pickaxe author coined that. there only was the principle of least surprise in regards to how matz would design ruby, from his point of view, not from other people's point of view
unshadow has joined #ruby
<apeiros> it's the principle of matz' least surprise. surprise are subjective. you can't make a universally "least surprising" thing.
rdar has joined #ruby
elfuego has quit [Quit: elfuego]
bmurt has joined #ruby
dblessing has joined #ruby
senayar has joined #ruby
charliesome has joined #ruby
<phale> apeiros: the biggest surprise for me was getting a girlfriend
Pathfinder has joined #ruby
<shevy> you have the money
<hanmac1> jhass: yeah but on 64bit: 0.0.object_id == 0.0.object_id while -0.0.object_id != -0.0.object_id
<atmosphere> for wriiting a wrapper of jruby we need ruby code or c code?
<phale> atmosphere: read the manual? lol
quimrstorres has joined #ruby
balazs has quit [Ping timeout: 265 seconds]
<atmosphere> phale: i have reas it and found that ruby code is converted into java byte code/\
<atmosphere> ?
CloCkWeRX has joined #ruby
<adaedra> what do you mean by 'a wrapper', atmosphere
<atmosphere> binding
<phale> binding and wrapper aren't the same
<atmosphere> take it as binding then
mrmargolis has joined #ruby
scripore has joined #ruby
<jhass> atmosphere: best just look at the code of officially endorsed bindings: https://github.com/jruby/jruby/wiki/C-Extension-Alternatives
scripore has quit [Client Quit]
tvw has joined #ruby
dEPy has quit [Quit: (null)]
scripore has joined #ruby
Guest38989 has joined #ruby
Guest38989 has quit [Client Quit]
mujou has joined #ruby
balazs has joined #ruby
casadei has joined #ruby
mary5030 has joined #ruby
gluten_hell has joined #ruby
<hanmac1> good that my current gem i am working on never will support jruby so i dont need to care about that
atmosphere has quit [Ping timeout: 246 seconds]
quimrsto_ has joined #ruby
gambl0re has quit [Ping timeout: 272 seconds]
tjohnson has joined #ruby
quimrstorres has quit [Ping timeout: 265 seconds]
jakolehm has quit []
scripore has quit [Quit: This computer has gone to sleep]
krz has quit [Read error: Connection reset by peer]
scripore has joined #ruby
phale has left #ruby ["Leaving"]
Soda has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
bluish has joined #ruby
gaboesquivel has joined #ruby
yalue has joined #ruby
enebo has joined #ruby
someword has joined #ruby
marque_tools has left #ruby [#ruby]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 265 seconds]
codeFiend has joined #ruby
blaxter has quit [Quit: foo]
doertedev has quit [Ping timeout: 264 seconds]
krz has joined #ruby
tuelz has joined #ruby
freerobby has joined #ruby
momomomomo has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Dreamer3 has quit [Quit: Leaving...]
Dreamer3 has joined #ruby
scripore has joined #ruby
f3lp has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
lavros has joined #ruby
Vitor has quit [Ping timeout: 265 seconds]
rdar has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby
bkxd has joined #ruby
rdar has joined #ruby
nhhagen has quit [Remote host closed the connection]
paulcsmith has joined #ruby
DexterLB has joined #ruby
doertedev has joined #ruby
someword has quit [Quit: Leaving.]
Muhannad has joined #ruby
<dorei> what should I do to have it print X instead of Class ?
willharrison has joined #ruby
vt102 has joined #ruby
<apeiros> dorei: self instead of self.class
<jhass> define_method(m, &b)
tesuji has joined #ruby
pulgolino has joined #ruby
<apeiros> oh wait…
bruno- has joined #ruby
quimrstorres has joined #ruby
lavros has quit [Ping timeout: 246 seconds]
<apeiros> yeah. while it'd probably work, you probably want jhass' solution
Pathfinder has quit [Ping timeout: 246 seconds]
<dorei> yeap, i think jhass is my hero :)
<jhass> I guess that makes it alias_method :setup, :define_method
elfuego has joined #ruby
<jhass> in the singleton class
<dorei> jhass: what if I want to add some guard code around the passed block?
lavros has joined #ruby
<jhass> then you want to instance_eval it
quimrsto_ has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
<HotCoder> drake be like "I can find the xpath but i cant find the path to my ex"
bkxd has quit [Ping timeout: 256 seconds]
vdamewood has joined #ruby
Agoldfish has joined #ruby
quimrsto_ has joined #ruby
dru` has joined #ruby
rdar has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 265 seconds]
krz has quit [Quit: WeeChat 1.0.1]
fabrice31 has quit [Remote host closed the connection]
<hanmac1> i used once ruby-doc.org/stdlib/libdoc/delegate/rdoc/Delegator.html for guard code
quimrstorres has quit [Ping timeout: 256 seconds]
tagrudev has quit [Remote host closed the connection]
fabrice31 has joined #ruby
quimrstorres has joined #ruby
davedev2_ has quit [Ping timeout: 264 seconds]
Guest38989 has joined #ruby
<ebonics> >> 1 / 3 * 3 == 1
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ruboto> ebonics # => false (https://eval.in/371329)
quimrsto_ has quit [Ping timeout: 252 seconds]
<ebonics> nice language
<sevenseacat> >> 1/3
<ruboto> sevenseacat # => 0 (https://eval.in/371330)
<ebonics> o
<sevenseacat> integer divison, baby.
* ebonics embarass
DerisiveLogic has quit [Read error: Connection reset by peer]
__chris has joined #ruby
<ebonics> >> 1 / 3.0 * 3 == 1
<ruboto> ebonics # => true (https://eval.in/371331)
<ebonics> ;o
asmodlol has joined #ruby
quimrstorres has quit [Ping timeout: 272 seconds]
<sevenseacat> :)
northfurr has joined #ruby
<apeiros> and even then
<apeiros> never use == with floats
<ebonics> u wot
hanmac1 has left #ruby [#ruby]
failshell has joined #ruby
<dorei> floats have a floating precision :p
<apeiros> >> 0.1 + 0.2 == 0.3
<ruboto> apeiros # => false (https://eval.in/371332)
yardenbar has joined #ruby
fabrice31 has quit [Remote host closed the connection]
<apeiros> welcome to the world of floats. they're approximation. and they're not decimal approximations, but binary.
<ebonics> >> 1 / 3.0 * 3.0 == 1
<ruboto> ebonics # => true (https://eval.in/371333)
quimrstorres has joined #ruby
<ebonics> ya but its smart enough to know thats true
fabrice31 has joined #ruby
<ebonics> i can die happy
<apeiros> that's nothing to do with *smart*
<ebonics> o
DerisiveLogic has joined #ruby
<apeiros> it's because that operation just so happens to result in the precisely same approximation.
dEPy has joined #ruby
<ebonics> are you sure
<adaedra> >> 1.1*2.2
* apeiros roles eyes
<ruboto> adaedra # => 2.4200000000000004 (https://eval.in/371334)
<apeiros> >> 0.1 + 0.2 == 0.3
<ruboto> apeiros # => false (https://eval.in/371336)
<apeiros> ebonics: ^
<ebonics> thats kinda garbo
<adaedra> it's a problem in a lot of languages actually
momomomomo_ has joined #ruby
<adaedra> it's because of the way floats are stored
<apeiros> it's the standard
momomomomo has quit [Ping timeout: 264 seconds]
momomomomo_ is now known as momomomomo
<eam> it's even more of a problem in languages that don't follow the standard, like java
<apeiros> and it's not garbage. you'd have the same problem in decimal too. just with different numbers.
mary5030 has quit [Read error: Connection reset by peer]
<eam> approximations are fine as long as it's understood how they operate
juanpaucar has joined #ruby
<apeiros> eam: uwotmate? java no ieee754 floats? that's… kinda bad.
<ebonics> java would be able to calculate 0.1 + 0.2
mary5030 has joined #ruby
<apeiros> ebonics: ruby does too. just not with floats.
<apeiros> ebonics: it's fine and dandy to go all "blah could do X". but it's pointless if you don't understand why.
<ebonics> my dad could beat up your dad
<adaedra> >> 0.1r + 0.2r == 0.3r
<ruboto> adaedra # => true (https://eval.in/371342)
* apeiros would have loved if ddd.ddd literals would default to bigdecimal or rational, though
Kricir has joined #ruby
<apeiros> especially newcomers fail hard at floats.
<adaedra> performance issues, maybe?
<apeiros> possible
charliesome has quit [Quit: zzz]
rbennacer has joined #ruby
<ebonics> pre sure anyone who cares about floating precision performance uses lookup tables
<eam> weird rationalization for ruby :)
ponga has joined #ruby
<apeiros> though bigdecimal is based on integers, and integer ops are on most hardware faster than floats. so not sure how it'd play out with the additional overhead the linked list introduces.
unshadow has quit [Quit: leaving]
<adaedra> >> (0.1r+0.2r).to_f == (0.1+0.2)
<apeiros> eam: well, even ruby was introduced 20y ago. they did concessions to performance.
<ruboto> adaedra # => false (https://eval.in/371343)
<adaedra> uhuh
<adaedra> does ruboto supports jruby?
<maasha> So why is it that `rake test` works and `rake simplecov` simply exists? https://gist.github.com/maasha/d50da68852778771b41c
<adaedra> Apparently not
<maasha> *exits
<eam> it used to, I think, but I no longer see jruby on eval-in
juanpaucar has quit [Ping timeout: 265 seconds]
<ruisantos> e on most hardware faster than floats. so not sure how it'd play out with the additional overhead the linked list introduces.
<jhass> maasha: --trace might tell!
insidious has joined #ruby
andikr has quit [Remote host closed the connection]
<jhass> maasha: though I'm pretty sure your run_test method does nothing, the test task is probably defined elsewhere and you just amend it with that nothing
<ebonics> whats that js lib that converts ruby to js
bruno- has joined #ruby
<jhass> opal ?
<adaedra> JRuby seems to behave exactly like MRI for floats
bruno- is now known as Guest41235
jayeshsolanki has quit [Ping timeout: 276 seconds]
<maasha> jhass: gitst updated with -P and -T output
DerisiveLogic has quit [Remote host closed the connection]
agarie has joined #ruby
DerisiveLogic has joined #ruby
dEPy has quit [Quit: (null)]
<eam> adaedra: there are a very limited set of cases where it differs, such as handling of -0
nhhagen has joined #ruby
<jhass> maasha: or maybe scary stuff happens like your definition by calling Rake::TestTask augments itself and then proceeds to call the augmented version by implementation details
yardenbar has quit [Quit: Leaving]
<adaedra> eam: I see
<eam> it's good enough for the layman, the kind of nits about it differing would matter in very limited areas
banister has joined #ruby
mahtennek has quit []
podman has joined #ruby
moretti has quit [Quit: Leaving...]
<adaedra> so
tkuchiki has quit [Ping timeout: 264 seconds]
nhhagen has quit [Client Quit]
<adaedra> 0.1 + 0.2 ≠ 0.1.to_r + 0.2.to_r ≠ 0.1r + 0.2r
<jhass> maasha: http://paste.mrzyx.de/pp4dace3d I think that are the options you have
someword has joined #ruby
roger_rabbit has quit [Changing host]
roger_rabbit has joined #ruby
<maasha> jhass: right, thanks. I need to study rake files further.
gambl0re has joined #ruby
redlegion has joined #ruby
<maasha> jhass: it works, but I need to understand why -> reading. Thanks again!
redlegion has quit [Client Quit]
<eam> >> [1138 / 1000.0, 0.001 * 1138]
<ruboto> eam # => [1.138, 1.1380000000000001] (https://eval.in/371345)
<jhass> maasha: take a peek at the code for Rake::TestTask#define
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
dumdedum has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
maasha has quit [Ping timeout: 246 seconds]
riotjones has quit [Remote host closed the connection]
dudedudeman has joined #ruby
dudedudeman has quit [Changing host]
s2013 has joined #ruby
someword has quit [Quit: Leaving.]
* dudedudeman abides
commondream has joined #ruby
saadq has joined #ruby
lavros_ has joined #ruby
postmodern has joined #ruby
lavros has quit [Ping timeout: 245 seconds]
codeFiend has quit [Quit: codeFiend]
s2013 has quit [Client Quit]
Rickmasta has joined #ruby
sinkensabe has quit [Remote host closed the connection]
joelataylor has joined #ruby
mistermocha has joined #ruby
doertedev has quit [Ping timeout: 250 seconds]
jborica has quit [Ping timeout: 246 seconds]
* platzhirsch burps
vt102 has quit [Remote host closed the connection]
doertedev has joined #ruby
charliesome has joined #ruby
dojobo has joined #ruby
tomphp has joined #ruby
codeFiend has joined #ruby
sorbo_ has joined #ruby
dEPy has joined #ruby
St1gma has joined #ruby
stoffus has quit [Quit: leaving]
quimrsto_ has joined #ruby
centrx has joined #ruby
<dojobo> hi, anyone have ideas about this? http://pastebin.com/VJAXwRtB
<ruboto> dojobo, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/01edbacb1f23b165b4a6
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<dojobo> oh, neat :)
<Darkwater> if only hastebin didn't load its stuff with javascript
quimrstorres has quit [Ping timeout: 256 seconds]
Coldblackice has quit [Ping timeout: 272 seconds]
anisha has quit [Quit: Leaving]
<adaedra> >> Array.new == Array.new
<dojobo> i can't figure out why it doesn't count up
<ruboto> adaedra # => true (https://eval.in/371353)
<jhass> dojobo: I guess #index uses an equality check, not identity comparison
<adaedra> dojobo: because this
someword has joined #ruby
<adaedra> Why not just use a Hash ?
<jhass> dojobo: anyway, that's very convoluted
chinmay_dd has joined #ruby
<jhass> I was gonna suggest Array.map
<dojobo> yeah, i thought maybe i should use a hash, but i started to get confused :P
<adaedra> zip, no ?
_ixti_ has joined #ruby
tskogberg has joined #ruby
<jhass> so you want an array of arrays where each subarray is the list of files matching that pattern, right?
<adaedra> ["em12","em13","em14"].zip(Array.new(3) { Array.new })
<adaedra> >> ["em12","em13","em14"].zip(Array.new(3) { Array.new })
<ruboto> adaedra # => [["em12", []], ["em13", []], ["em14", []]] (https://eval.in/371354)
<dojobo> a little more context, i'm trying to get lists of files via ftp (using ftp.nlst), which returns an array of filenames
<jhass> so, you want all files matching any pattern or...?
conta_ has joined #ruby
<dojobo> the filenames start with "em" and then a number
skammer has joined #ruby
<dojobo> i can't just do ftp.nlst('em*') because it's too many files at once
<dojobo> so i need to iterate through em10*, em12*, em13* etc.
doertedev has quit [Ping timeout: 240 seconds]
<jhass> files.select {|filename| File.fnmatch("em1{2,3,4}*", filename) }
ixti has quit [Ping timeout: 255 seconds]
<dojobo> currently i have them listed out, but once i implemented exception handling i really need to put it in a loop
yh__ has quit [Ping timeout: 240 seconds]
casadei has quit [Remote host closed the connection]
<dojobo> can you use File over FTP?
Zai00_ has joined #ruby
doertedev has joined #ruby
Zai00 has quit [Quit: Zai00]
Zai00_ is now known as Zai00
<jhass> File.fnmatch just operates on the strings you pass it
<dojobo> anyway, i have all that working, at this point i'm just trying to be able to loop through each file list and pair it with the proper wildcard
skammer has quit [Client Quit]
northfurr has quit [Quit: northfurr]
<jhass> filename.match(/^em1[234]/) if you prefer
<dojobo> jhass: ah, i see, but there's still the issue of the nlst limitation (over a certain number of files, it just returns null--at least, with this particular ftp server)
s2013 has joined #ruby
skammer has joined #ruby
<jhass> I'm still guessing too much of what you have and what you want in the end :/
Zai00_ has joined #ruby
<dojobo> sorry, i didn't paste the whole program because i was really just focused on why i couldn't iterate through the arrays that way
vivekananda has quit [Ping timeout: 265 seconds]
Kricir has quit [Remote host closed the connection]
<dojobo> so is [filelist1['1foo.txt', '1bar.txt'] => '1*.txt'] a valid hash?
d10n-work has joined #ruby
<adaedra> use {} for Hashes
<jhass> eh, well, that's an hash as the single element for an array ;)
RegulationD has joined #ruby
Zai00 has left #ruby [#ruby]
unshadow has joined #ruby
<jhass> but any object can be key and value for hash
paulcsmith has quit [Quit: Be back later ...]
pdoherty has joined #ruby
<adaedra> dojobo: fire up irb/pry, write it down, see what it says
<jhass> but my guesses currently go into the direction that you really don't want a hash here
<dojobo> ok
quimrstorres has joined #ruby
<jhass> tbh the whole approach to iteration there is as unidiomatic and convoluted as it gets
paulcsmith has joined #ruby
spyderman4g63 has joined #ruby
<jhass> so, because of the limitation of nlist, you're fetching the file list in parts?
<dojobo> yep
<jhass> why don't you just concatenate the results into a big list then?
<dojobo> and then i concat all the arrays into one
<jhass> so why does your example still have multiple lists?
Zai00_ has quit [Client Quit]
Zai00 has joined #ruby
<dojobo> this is before the concatenation
<jhass> why?
lyuben_ has quit [Quit: This computer has gone to sleep]
quimrsto_ has quit [Ping timeout: 276 seconds]
yh__ has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dojobo> (the commented out lists are ranges we don't need to download right now, older files)
<jhass> filelist = %w(em20* em21*).each_with_object([]) do |range, filelist| filelist.concat ftp.nlist(range) end
<dojobo> but since the filenames keep going up, i want to be able to put more ranges in, but they need to be rescued because nlst raises an exception if no files match
pch has quit [Quit: Leaving]
pch_ has quit [Remote host closed the connection]
<dojobo> wow, let me do some googling now to parse that, haha
<jhass> and just rescue inside the each_with_object
<jhass> btw ruby community standard is two spaces for indentation
<dojobo> ok, thanks
casadei has joined #ruby
<dojobo> need to adjust my sublime settings
umgrosscol has joined #ruby
<jhass> but I still don't follow where the filtering comes into place tbh
kobain has quit [Read error: Connection timed out]
<dojobo> how do you mean?
<jhass> well, your initial paste
PaulePan1er is now known as PaulePanter
s2013 has joined #ruby
kobain has joined #ruby
<dojobo> that would replace lines 15-25
<dojobo> once i added in the nlst to that paste, anyway
<jhass> ah, okay, then my snippet is the better approach ;)
paulcsmith has quit [Quit: Be back later ...]
<dojobo> this is very educational, i can't parse it yet :)
momomomomo has quit [Ping timeout: 256 seconds]
<jhass> >> %w(em20* em21*)
<ruboto> jhass # => ["em20*", "em21*"] (https://eval.in/371365)
livathinos has quit [Read error: Connection reset by peer]
kobain has quit [Max SendQ exceeded]
<jhass> just an easier to type array of strings
senayar has quit [Remote host closed the connection]
<dojobo> ohh ok
<jhass> each do |range|, you may recognize this
livathinos has joined #ruby
paulcsmith has joined #ruby
kobain has joined #ruby
jmhmccr has quit [Quit: Connection closed for inactivity]
<jhass> that iterates over the items of the array
momomomomo has joined #ruby
paulcsmith has quit [Remote host closed the connection]
paulcsmith has joined #ruby
dfockler has joined #ruby
<dojobo> right
kobain has quit [Max SendQ exceeded]
<jhass> each_with_object([]) do |range, filelist|, range still the same, the items of the array, filelist is just the object we passed as argument, []
mary5030 has quit [Remote host closed the connection]
thomcom has joined #ruby
<jhass> so filelist is an array, we call Array#concat on it
kobain has joined #ruby
Vitor has joined #ruby
<jhass> >> a = []; a.concat [1, 2]; a.concat [3, 4]; a
<ruboto> jhass # => [1, 2, 3, 4] (https://eval.in/371367)
jpfuentes2 has joined #ruby
kobain has quit [Max SendQ exceeded]
skammer is now known as skammer|afk
mary5030 has joined #ruby
<dojobo> goootcha
neohunter has joined #ruby
<jhass> which just adds all arguments of the array you pass it as elements to the array
<dojobo> so the nlst call is an argument of the concat call? am i reading that right?
redlegion has joined #ruby
<jhass> finally each_with_object also returns the object you pass it (the [] we concat'ed stuff to)
<jhass> yes
ki0_ has joined #ruby
krz has joined #ruby
ed112211 has quit [Quit: ed112211]
skammer|afk is now known as skammer
redlegion has quit [Changing host]
redlegion has joined #ruby
<dojobo> thanks so much jhass :)
livathinos has quit []
<dojobo> i'm sure my code is very amateur, i'm self-taught
sigurding has quit [Quit: sigurding]
<jhass> same
<jhass> it just takes time
bronson has joined #ruby
redlegion has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
ki0 has quit [Ping timeout: 240 seconds]
redlegion has joined #ruby
senayar has joined #ruby
fabrice31 has quit [Remote host closed the connection]
rubie has joined #ruby
<jhass> coming here when you hit oddities like this or if you have the feeling there might be a better way to what you've written is a good approach to learning
ki0_ has quit [Ping timeout: 255 seconds]
mistermocha has quit [Ping timeout: 258 seconds]
<jhass> nothing teaches you better than alternate solutions to a problem you thought through already
<dojobo> i use stackoverflow a lot
<dojobo> but with this particular problem i couldn't even decide how to google it ;P
snockerton has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
commondream has quit [Ping timeout: 272 seconds]
skammer has quit [Quit: Textual IRC Client: www.textualapp.com]
skammer has joined #ruby
commondream has joined #ruby
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Allfader has quit [Remote host closed the connection]
darkf has quit [Quit: Leaving]
conta_ has quit [Quit: Leaving]
vdamewood has quit [Quit: Life beckons.]
vt102 has joined #ruby
<dojobo> jhass: i think it's faster now :)
havenwood has joined #ruby
TheMoonMaster has joined #ruby
kobain has joined #ruby
<jhass> oh yeah, .concat is faster than + ;)
kobain has quit [Max SendQ exceeded]
<jhass> because it doesn't create a new array
quimrstorres has quit [Remote host closed the connection]
<jhass> but that wasn't so much the point ;)
kobain has joined #ruby
kobain has quit [Max SendQ exceeded]
AlphaAtom has quit [Read error: Connection reset by peer]
kobain has joined #ruby
commondream has quit [Remote host closed the connection]
kobain has quit [Max SendQ exceeded]
s2013 has joined #ruby
AlphaAtom has joined #ruby
__chris has quit [Quit: This computer has gone to sleep]
faris has joined #ruby
jpfuentes2 has quit [Read error: Connection reset by peer]
speakingcode has joined #ruby
kobain has joined #ruby
jpfuentes2 has joined #ruby
__chris has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
Pupeno has joined #ruby
Pupeno has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding has joined #ruby
quimrstorres has joined #ruby
riotjones has joined #ruby
gagrio has quit [Read error: Connection reset by peer]
aganov has quit [Remote host closed the connection]
aphprentice has joined #ruby
Takle has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 272 seconds]
tomphp_ has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
ismaelga has joined #ruby
paulcsmith has joined #ruby
ed112211 has joined #ruby
idafyaid has joined #ruby
idafyaid has quit [Changing host]
idafyaid has joined #ruby
casadei_ has joined #ruby
tomphp has quit [Ping timeout: 245 seconds]
tomphp has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
msgodf has quit [Ping timeout: 258 seconds]
casadei has quit [Ping timeout: 265 seconds]
ismaelga has quit [Remote host closed the connection]
lyuben_ has joined #ruby
tomphp_ has quit [Ping timeout: 245 seconds]
shadoi has joined #ruby
zdman135 has joined #ruby
Allfader has joined #ruby
Takle has joined #ruby
Allfader has quit [Client Quit]
DerisiveLogic has quit [Read error: Connection reset by peer]
Lucky__ has joined #ruby
__chris has quit [Quit: This computer has gone to sleep]
_blizzy_ has quit [Ping timeout: 265 seconds]
DerisiveLogic has joined #ruby
__chris has joined #ruby
freerobby has quit [Quit: Leaving.]
<Takumo> (a) is there an rspec irc channel more suited for my question? (b) is there a `one_of` or `in` behaviour. I want to check that a function returns a value which is a member of a predefined list.
<adaedra> #include?
<adaedra> iirc
pwattstbd has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has joined #ruby
<ccooke> Takumo: list.include? value
<ljarvis> Takumo: to include(...)
<adaedra> >> %w[apple orange pear].include? 'apple'
<ruboto> adaedra # => true (https://eval.in/371379)
<ljarvis> he's talking about rspec
<adaedra> ah
<Takumo> yeah
<Takumo> so I want to do the reverse of that
<ccooke> ah, of course
<Takumo> expect(method).to be_one_of %w(apple orange banana)
<ljarvis> Takumo: just write them backwards
<ljarvis> expect(%w(apple orange)).to include(method)
twistedpixels is now known as zz_twistedpixels
commondream has joined #ruby
<sorbo_> expect(%(apple orange banana)).to include(result)
<pipework> I usually hate having the expected in the expect.
mrmargolis has quit [Read error: Connection reset by peer]
<jhass> or just write that matcher, should be simple
<pipework> expect(actual).to matcher(expected)
mrmargolis has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ljarvis> yeah rspec makes adding this stuff pretty easy
Chagel has joined #ruby
<jhass> oh, too slow
<sorbo_> jhass nah, you've got the newer docs
<ljarvis> better version, though
<sorbo_> mine are 2.x
<sorbo_> yaeh
<sorbo_> *yeah
<ljarvis> heh
<ljarvis> too slow
<adaedra> jhass: it's alright, you'll perform better next time.
<sorbo_> but yeah, either way, writing the custom matcher is pretty straightforward
towski_ has joined #ruby
quimrsto_ has joined #ruby
<sorbo_> Takumo: if you'll need it a bunch of times, I'd write the custom matcher
quimrstorres has quit [Ping timeout: 256 seconds]
<sorbo_> if it's a one-off it might just be easier to do `expect(list).to include(item)`
juanpaucar has joined #ruby
__chris has quit [Quit: This computer has gone to sleep]
__chris has joined #ruby
<Takumo> I think I'll do a custom matcher just in case. Would be good to learn to do it
Channel6 has joined #ruby
__chris has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
mistermocha has joined #ruby
ed112211 has quit [Quit: ed112211]
centrx has quit [Quit: Shutting down, Please wait...]
arietis has quit [Quit: Leaving.]
juanpaucar has quit [Ping timeout: 265 seconds]
__chris has joined #ruby
GPrime has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dEPy has quit [Quit: (null)]
zz_twistedpixels is now known as twistedpixels
<Takumo> matcher written
scripore has joined #ruby
bogdanteleaga has quit [Ping timeout: 244 seconds]
lyuben_ has quit [Quit: This computer has gone to sleep]
baroquebobcat has joined #ruby
soc42 has quit [Remote host closed the connection]
towski_ has quit [Remote host closed the connection]
ndrei has joined #ruby
mistermo_ has joined #ruby
__chris has quit [Client Quit]
paulcsmith has quit [Quit: Be back later ...]
sorbo_ has quit []
Cache_Money has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
mistermocha has quit [Ping timeout: 264 seconds]
jpfuentes2 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
maletor has joined #ruby
bruno- has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
doertedev has quit [Quit: Lost terminal]
Soda has joined #ruby
momomomomo_ has joined #ruby
nug is now known as cFouts
momomomomo has quit [Ping timeout: 252 seconds]
momomomomo_ is now known as momomomomo
ki0 has joined #ruby
Guest41235 has quit [Ping timeout: 250 seconds]
djbkd has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
bricker has joined #ruby
serivich has quit [Ping timeout: 255 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdar has joined #ruby
ki0 has quit [Ping timeout: 264 seconds]
ed112211 has joined #ruby
code1o6 has joined #ruby
pietr0 has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alex88 has quit []
rbennacer has quit [Remote host closed the connection]
quimrsto_ has quit [Ping timeout: 276 seconds]
bogdanteleaga has joined #ruby
last_staff has joined #ruby
nobitanobi has joined #ruby
__chris has joined #ruby
__chris has quit [Client Quit]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
mrmargol_ has joined #ruby
Billias has quit [Read error: Connection reset by peer]
phale has joined #ruby
mrmargol_ has quit [Remote host closed the connection]
<phale> what's with the 12 year olds coming on IRC channels?
<phale> it's probably summer
roolo has joined #ruby
<ponga> phale: where on earth 12 yr olds coming to freenode?
mrmargolis has quit [Ping timeout: 264 seconds]
<phale> ponga: #freenode
<redlegion> ponga: I think phale just needs some lanolin for his very sore chesticles.
<phale> this cunt actually followed me here, wow
yh__ has quit [Ping timeout: 256 seconds]
<redlegion> Loool
<ponga> what is it phale is redlegion the 12 yr old?
<phale> yes
<ponga> redlegion: are you 12 yr old?
<redlegion> Yes
<ponga> are you american?
<redlegion> Mentally, anyway
<ponga> ok
<redlegion> I can't deny my mentality
<ponga> then i ve no business with ya
* ponga waives his hand
<redlegion> Howdy
<ponga> *bye
<havenwood> redlegion: Hassing folk isn't allowed. phale Insulting folk isn't allowed.
yh__ has joined #ruby
senayar has quit []
<phale> sorry
lyuben_ has joined #ruby
<phale> but he followed me here
<ponga> havenwood: what is hassing
<redlegion> No problem, havenwood
Billias has joined #ruby
<havenwood> Harassing*
<ponga> ok
<havenwood> ponga: typo
<redlegion> Also, I've been in here longer, lol
ndrei has quit [Remote host closed the connection]
<phale> explains
<phale> most 12 year olds use awful languages
gregf has quit [Quit: WeeChat 1.1.1]
pengin has joined #ruby
<havenwood> phale: Stop.
<phale> havenwood: sure
ndrei has joined #ruby
shadoi has quit [Quit: Leaving.]
JimmyNeutron has quit [Read error: Connection reset by peer]
ndrei has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 246 seconds]
codeFiend has quit [Quit: codeFiend]
ismaelga has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dstarh has joined #ruby
sigurding has quit [Quit: sigurding]
Narzew has joined #ruby
psy_ has joined #ruby
HotCoder has quit [Quit: Leaving]
gregf has joined #ruby
HotCoder has joined #ruby
rubie has quit [Remote host closed the connection]
spiderbyte has joined #ruby
Parker0 has quit [Ping timeout: 245 seconds]
vivekananda has joined #ruby
snockerton has quit [Ping timeout: 272 seconds]
phale has left #ruby ["Leaving"]
__chris has joined #ruby
wallerdev has quit [Quit: wallerdev]
Hounddog has quit [Remote host closed the connection]
saadq has quit [Remote host closed the connection]
ndrei has joined #ruby
Pupeno has quit [Remote host closed the connection]
__chris has quit [Client Quit]
casadei_ has quit [Remote host closed the connection]
Vitor has quit [Remote host closed the connection]
somnium has quit [Ping timeout: 256 seconds]
MatthewsFace has joined #ruby
iamninja has quit [Quit: WeeChat 1.1.1]
ponga has quit [Quit: Leaving...]
einarj has quit [Remote host closed the connection]
wallerdev has joined #ruby
hmnhf has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
granthatcher_ has quit []
snockerton has joined #ruby
shadoi has joined #ruby
snockerton has quit [Read error: Connection reset by peer]
snockerton has joined #ruby
snockerton has quit [Client Quit]
rubie has joined #ruby
c0m0 has quit [Ping timeout: 276 seconds]
apxm has joined #ruby
apxm has quit [Client Quit]
pontiki has joined #ruby
wallerdev has quit [Ping timeout: 272 seconds]
antgel has quit [Ping timeout: 252 seconds]
sepp2k has joined #ruby
rbennacer has joined #ruby
RegulationD has quit [Remote host closed the connection]
imperator2 has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
ItSANgo has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
ItSANgo_ has quit [Ping timeout: 245 seconds]
yh__ has quit [Ping timeout: 276 seconds]
thiagovsk has joined #ruby
__chris has joined #ruby
marvin999 has joined #ruby
soulcake has quit [Quit: Quack.]
mjuszczak has joined #ruby
nobitanobi has joined #ruby
soulcake has joined #ruby
aryaching has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 256 seconds]
towski_ has joined #ruby
ndrei has joined #ruby
tomphp has joined #ruby
towski_ has quit [Client Quit]
__chris has quit [Quit: This computer has gone to sleep]
tomphp has quit [Client Quit]
rdar has quit [Ping timeout: 252 seconds]
tomphp has joined #ruby
wallerdev has joined #ruby
<shevy> havenwood swings his mighty divine hammer!
paulcsmith has joined #ruby
commondream has quit [Remote host closed the connection]
<shevy> hmm
<shevy> alternatives to this?
<shevy> var[0,0] = 'http://localhost/'
Zai00 has quit [Quit: Zai00]
<apeiros> IMO the best way to prefix a string in-situ
bogdanteleaga has quit [Read error: Connection reset by peer]
tomphp has quit [Client Quit]
bogdanteleaga has joined #ruby
shadoi has quit [Quit: Leaving.]
tesuji has quit [Read error: Connection reset by peer]
<dfockler> shevy: what are you doing?
marvin999 has quit [Quit: Leaving]
<shevy> apeiros hmm, not something like .prepend or something? I always wonder whether the way I use ruby is "good"
ndrei has quit [Ping timeout: 258 seconds]
<shevy> recently I started to replace all var[-1,1] == '/' with things such as var.end_with? '/' ... though the latter is longer
<apeiros> oh right, they might have added something…
ndrei has joined #ruby
edwinvdgraaf has quit [Ping timeout: 272 seconds]
<miah> i personally would use prepend or append
<shevy> dfockler trying to find out common practice among old ruby hackers
<apeiros> and #prepend was in fact one method that got added
<apeiros> and then I actually prefer #prepend over #[0,0]=
<mozzarella> var[0,0] = ?h + ?t + ?t + ?p + ?: + ?/ + ?/ + ?l + ?o + ?c + ?a + ?l + ?h + ?o + ?s + ?t + ?/
<miah> index positionals are weird
<mozzarella> hope that helps
iamninja has joined #ruby
<shevy> mozzarella lol
<dfockler> I've never seen that array syntax before
nobitanobi has joined #ruby
<shevy> I think I saw it in the pickaxe first; since Strings and Arrays both allowed [], I thought it would be a good and unified way to access elements. like how a string is an array in C or?
millerti has joined #ruby
someword1 has joined #ruby
bricker_ has joined #ruby
__chris has joined #ruby
quimrstorres has joined #ruby
ki0 has joined #ruby
mrsolo has joined #ruby
ghr has quit [Ping timeout: 258 seconds]
nobitanobi has quit [Remote host closed the connection]
gaboesquivel has quit [Remote host closed the connection]
someword has quit [Ping timeout: 256 seconds]
ndrei has quit [Ping timeout: 250 seconds]
bricker has quit [Ping timeout: 256 seconds]
qwertme has joined #ruby
<dfockler> that's pretty funky for assignment
Spami has quit [Quit: This computer has gone to sleep]
shadoi has joined #ruby
axl_ has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
spider-mario has joined #ruby
bluish has quit [Quit: bluish]
hoov has joined #ruby
bogdanteleaga has quit [Read error: Connection reset by peer]
bogdanteleaga has joined #ruby
freerobby has joined #ruby
bogdanteleaga has quit [Max SendQ exceeded]
ki0 has quit [Ping timeout: 240 seconds]
ht__ has joined #ruby
michael_mbp has quit [Excess Flood]
ndrei has joined #ruby
codeFiend has joined #ruby
bogdanteleaga has joined #ruby
michael_mbp has joined #ruby
Kricir has joined #ruby
pragmatism has joined #ruby
cirn0 has quit [Remote host closed the connection]
tesuji has joined #ruby
tobyx has quit [Quit: Farewell.]
tomphp has joined #ruby
pandaant has quit [Remote host closed the connection]
arietis has joined #ruby
tomphp has quit [Client Quit]
GnuYawk has quit [Quit: WeeChat 1.0]
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jpfuentes2 has joined #ruby
commondream has joined #ruby
spyderman4g63 has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 265 seconds]
rdar has joined #ruby
withnale_ has quit [Ping timeout: 264 seconds]
tobyx has joined #ruby
spyderman4g63 has joined #ruby
ItSANgo_ has joined #ruby
ItSANgo has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
lavros_ has quit [Quit: leaving]
tomphp has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
mistermocha has joined #ruby
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
mello_ has joined #ruby
mjuszczak has quit []
rdark has quit [Quit: leaving]
Chagel has quit [Ping timeout: 272 seconds]
momomomomo has quit [Quit: momomomomo]
tomphp has quit [Client Quit]
tomphp has joined #ruby
[k-_ has quit [Quit: Lingo: www.lingoirc.com]
wildroman2 has quit [Ping timeout: 258 seconds]
Spami has joined #ruby
[k- has quit [Remote host closed the connection]
tvw has quit []
ndrei has quit [Ping timeout: 252 seconds]
Spami has quit [Client Quit]
Spami has joined #ruby
axwl has quit [Ping timeout: 245 seconds]
infinitone has joined #ruby
mujou has quit [Ping timeout: 245 seconds]
cryptohacker has joined #ruby
<cryptohacker> Hi all
<rdar> hello!
<cryptohacker> how r u?
<cryptohacker> i see nobody else here
yalue has quit [Read error: Connection reset by peer]
* wasamasa snickers
<cryptohacker> lol
<wasamasa> you've scared them off with your single-letter speak
<miah> there are 950 people here, but maybe only a few of us are paying attention
<wasamasa> that is no way to treat a language!
Hijiri has joined #ruby
ismaelga has quit [Remote host closed the connection]
<dfockler> I'm tired of this hacker crap!
bogdanteleaga has quit [Read error: Connection reset by peer]
<miah> hack the planet?
mtakkman has joined #ruby
bogdanteleaga has joined #ruby
nobitanobi has joined #ruby
ghr has joined #ruby
bogdanteleaga has quit [Read error: Connection reset by peer]
* havenwood goes in search of roller blades
bogdanteleaga has joined #ruby
m8 has joined #ruby
hmnhf has joined #ruby
finisherr has joined #ruby
Igorshp has quit [Remote host closed the connection]
<dfockler> havenwood just hacked the Gibson you guys!
jpfuentes2 has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
jpfuentes2 has joined #ruby
casadei has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
wallerdev_ has joined #ruby
<shevy> damn
tommylom1ykins is now known as tommylommykins
<shevy> havenwood on roller blades
juanpaucar has joined #ruby
barkerd427 is now known as zz_barkerd427
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
sdothum has joined #ruby
casadei has quit [Ping timeout: 264 seconds]
sorbo_ has joined #ruby
arietis has quit [Quit: Leaving.]
dumdedum has quit [Quit: foo]
Hijiri has quit [Ping timeout: 256 seconds]
<lupine> hmm. I need book recommendations
mikecmpbll has joined #ruby
<Coraline> lupine: what sort of books?
<lupine> software development leadership and management-y stuff
bricker has joined #ruby
juanpaucar has quit [Ping timeout: 245 seconds]
<Coraline> The Mythical Man-Month is a pretty standard one.
teflonton1985 has joined #ruby
<lupine> yeah, it's definitely on the list
RegulationD has joined #ruby
casadei has joined #ruby
<Coraline> I'm also a fan of a book called The Goal
mello_ is now known as mello
<sorbo_> lupine: Mythical Man-Month, Peopleware, Domain-Driven Design
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ndrei has quit [Remote host closed the connection]
ndrei has joined #ruby
<sorbo_> Managing Humans is also supposed to be good
<sorbo_> though I haven't read it
bronson has joined #ruby
bricker_ has quit [Ping timeout: 272 seconds]
<lupine> I'm much more used to reading about software. wetware is confusing to me
startupality has joined #ruby
<dfockler> so #ruby-lang is closing and coming over here?
Notte has joined #ruby
charliesome has quit [Quit: zzz]
Notte has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
teflonton1985 has quit [Ping timeout: 244 seconds]
Hijiri has joined #ruby
<lupine> end of an era
<jhass> dfockler: yup
baweaver has joined #ruby
<miah> as far as books; Eloquent Ruby, Refactoring: Ruby (and get the workbook called 'Refactoring In Ruby'), Growing Object Oriented Software guided by Tests
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 240 seconds]
hoov has quit []
cryptohacker has quit [Quit: Lost terminal]
<miah> if you need more intro level, i'd go with The Well Grounded Rubyist and Practical Object Oriented Design in Ruby
<Coraline> I also like Avdi's book "Confident Ruby"
<miah> any of avdi's books
<lupine> POODR is more or less a bible
<lupine> it's really the wetware I need to learn abou
<lupine> ....t
<miah> netware is dead yo
<sorbo_> yeah ++ for POODR
<sorbo_> Peopleware is the best human-managing one I've read
agarie has quit []
baweaver has quit [Remote host closed the connection]
<sorbo_> there are probably some good reddit or SO threads on this
zz_barkerd427 is now known as barkerd427
<miah> im not good at humans, they are impossible to unit test and contain all sorts of unique/snowflake code
RegulationD has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
<lupine> I'll chuck it on the list
platzhirsch has quit [Quit: Leaving.]
mary5030 has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
wallerdev_ has quit [Ping timeout: 252 seconds]
mtakkman has quit [Ping timeout: 244 seconds]
pandaant has joined #ruby
serivich has joined #ruby
<lupine> Anyone read Coders at Work ?
<miah> i read some of it
<miah> you can probably read most of the interviews online too
Rarikon has joined #ruby
Xoro has quit [Read error: Connection reset by peer]
Bermulium has joined #ruby
<Bermulium> Hey. For regular expressions, what's the difference between testing with == and =~
<shevy> isn't == more stringent?
<imperator2> == is exact, =~ is pattern matching
<sorbo_> Bermulium: == is equality, =~ is regex match
kirun has joined #ruby
<miah> and #eql? is preferred.
momomomomo has joined #ruby
yh__ has joined #ruby
<Bermulium> so /A/ is only equal to /A/ for == ? while /A/ can be equal to /A/ and 'A' with =~
elev has joined #ruby
<Bermulium> Also /A/i =~ 'a'
<elev> can someone here help me?
bogdanteleaga has quit [Read error: Connection reset by peer]
<elev> def talk puts "hello" end
<elev> someone wrong with that code?
chrisja has joined #ruby
<lupine> elev, if all on one line, you'd need some semicolons
<jhass> ?try elev
<ruboto> elev, Why don't you try it and see for yourself?
<miah> not if you add some line breaks or semicolons
<lupine> otherwise, it does what it says
<sorbo_> elev: assuming you have a newline after `def talk` and another after `puts "hello"`
<sorbo_> that is correct
<elev> I try
<sorbo_> if it's one line, you need to separate with ;
<elev> I have tryed
<elev> the problem is I will gisthub it
<miah> >> def talk; puts 'hello'; end
<ruboto> miah # => :talk (https://eval.in/371453)
<imperator2> miah, generally they're aliases, though it depends on the class
bogdanteleaga has joined #ruby
<sorbo_> >> def talk; puts 'hello'; end; talk
<ruboto> sorbo_ # => hello ...check link for more (https://eval.in/371457)
<elev> def talk puts "hello"
<elev> end
<elev> puts "#{talk} to me pls"
<elev> when I do this code
<sorbo_> oh
<sorbo_> no
barkerd427 is now known as zz_barkerd427
qwertme has joined #ruby
<sorbo_> well, you _can_ do that, but I'm not sure it's what you want.
zipace has joined #ruby
<sorbo_> >> def talk; puts 'hello'; end; "#{talk} to me pls"
<ruboto> sorbo_ # => hello ...check link for more (https://eval.in/371458)
<elev> why;
<elev> why this?
<elev> ;;
<miah> because there are no line breaks
<Bermulium> Because one line
<sorbo_> elev: this separates statements if they are on one line
<elev> ahh
<elev> ok thanks :)
<elev> this irc channel the best!
<elev> thanks
<sorbo_> you don't need them and stylistically should not use them if you're on separate lines
<sorbo_> np boss
<Bermulium> He use ; to show you that it works here in IRC
momomomomo_ has joined #ruby
<Bermulium> use newline in your code
cirn0 has joined #ruby
<elev> still something wrong
<lupine> you can do it all on one line without ; of course
<elev> def talk; puts "hello";
<elev> end
<elev> print "#{talk} to me pls"
<elev> how can I do all in one line?
<lupine> self.define_method(:talk) { puts 'hello }
<shevy> you puts hello there; you could return it instead
zz_barkerd427 is now known as barkerd427
<jhass> you don't want to do it on one line in your real code
chinmay_dd has quit []
Pumukel has joined #ruby
<elev> I could return it
<sorbo_> elev: also, because you're `puts`ing, you'll get a newline
mjuszczak has joined #ruby
<sorbo_> what output do you want?
<shevy> elev you use a puts there; simply get rid of the puts, and it will be returned by default
<elev> ok
<elev> I removed puts
<elev> in return
<shevy> \o/
<elev> and it worked
<shevy> let's do a happy ASCII dance
<shevy> \o/ \o~ ~o/
<elev> :D :D
<shevy> look at the poor unicode guys, they don't even have a dancing snowman to compete with ASCII there
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
mrmargolis has joined #ruby
mike_bueti has joined #ruby
<shevy> elev here is the unicode snowman btw http://www.fileformat.info/info/unicode/char/2603/index.htm
<adaedra> no, but we have a pile of poo.
xxneolithicxx has quit [Quit: Leaving.]
<shevy> well I grant you that you have a smiling snowman
<miah> ☃
xxneolithicxx has joined #ruby
havenwood has joined #ruby
gluten_hell has quit [Quit: Computer has gone to sleep.]
<elev> def talk return "My name is"
<elev> end
<elev> print " Hello! #{talk} Marcus "
<elev> this ok?
jimms has joined #ruby
<miah> you dont need the return
<elev> what do I have to do?
<sorbo_> elev: Ruby automatically returns the last statement it evaluates
<shevy> elev do you use newlines in your code? :)
bogdanteleaga has quit [Read error: Connection reset by peer]
<elev> no
<elev> I want all in one line
<miah> you should
<elev> like this:
<shevy> hehehe
<elev> Hello! My name is marcus
<sorbo_> elev: in IRC one line is fine, but in your code you should use newlines
<shevy> no I mean, in your code, not in the output ;P
<miah> thats fine, thats the string you are printing
bogdanteleaga has joined #ruby
<elev> yes I use newlines in code
<shevy> \o/
<miah> but your code should use newlines / blocks
<miah> you can gist your code instead of typing it on irc
<sorbo_> >> def hello; "My name is"; end; puts "#{hello} sorbo_"
<elev> ok
<ruboto> sorbo_ # => My name is sorbo_ ...check link for more (https://eval.in/371459)
<shevy> elev you passed level 1. now you can write more complicated code
insidious has quit [Ping timeout: 245 seconds]
mengu has joined #ruby
mengu has joined #ruby
<shevy> well that's the output it gives you right now right?
<elev> yes
<elev> but they said dont use return
<elev> why
<elev> not
<shevy> Most people will use puts rather than print though, as you get a newline appended
psy_ has quit [Ping timeout: 252 seconds]
codeFiend has quit [Quit: codeFiend]
<elev> ok
<elev> I try it out :)
<shevy> You can use return, but it is not necessary here
<shevy> since it is not necessary, you add 7 characters that you don't have to add (the whole of 'return ' part)
<sorbo_> elev: style. Ruby automatically returns the last statement it evaluates.
<sorbo_> if you want to return early from a method, though, you do need to explicitly use `return`
<shevy> If you want a super verbose language you could use Java :)
startupality has quit [Quit: startupality]
shadoi has quit [Quit: Leaving.]
<shevy> python is also quite terse; you can omit end statements, at the cost of mandatory indent though
<elev> unterminated string meets end of file
<elev> what is this shit?
<shevy> ah yes
davidhq has joined #ruby
<shevy> you forgot the closing " there
<miah> because you didnt terminate your "
<miah> i commented on your gist with working code
<shevy> the ruby parser wants to know where your string starts and where it ends, hence you have to use even numbers of " characters
<elev> ok
<elev> def talk print "My name is"
<elev> end
<elev> print " Hello! #{talk} Marcus"
<elev> wtf
<elev> there we go
<elev> ok
<elev> worked
<elev> thanks :))
rbennacer has quit [Remote host closed the connection]
jenrzzz has joined #ruby
<shevy> \o/
<shevy> elev next logical step would be to use if/else checks; or to try to get user input :)
postmodern has quit [Remote host closed the connection]
<shevy> such as "Input your name next please: "
TheHodge has quit [Quit: Connection closed for inactivity]
<miah> i think you do that within the first 10 minutes of codeacademy =)
<shevy> IRC teaching is more fun!
<miah> sometimes
bronson has quit [Remote host closed the connection]
<jhass> elev: please try using the return key less and write full sentences ;)
<failshell> IRC teaching. best teaching.
baroquebobcat has quit [Quit: baroquebobcat]
rdar has quit [Ping timeout: 272 seconds]
<failshell> elev: also, the ruby community recommends using 2 characters tabs. kinda our standard.
bronson has joined #ruby
baroquebobcat has joined #ruby
<shevy> jhass but wouldn't he write one-liners then? :)
<miah> i'd recommend giving https://github.com/bbatsov/ruby-style-guide/ a read
<failshell> and using robocop
<sorbo_> or using RuboCop (by the same guy as the style guide): https://github.com/bbatsov/rubocop
<sorbo_> ah
<sorbo_> too slow
<shevy> ack
<failshell> i win!
* sorbo_ is defeated (X_x) ~ *
<shevy> rubocop ... the most opinionated artificial intelligence out there. He makes Hal from Space Odyssee look like a wimp
<sorbo_> I love the jolly green crap out of RuboCop
<miah> well, use rubocop to verify your work. but you should know the style guide so that it only catches your mistakes =)
<shevy> *odyssey
elev has quit [Ping timeout: 264 seconds]
<sorbo_> now the robot can be the build cop/bad guy instead of me
<miah> rubocop -a for gnarly code basees too
<failshell> ah -a is awesome
<shevy> aha
<failshell> you know whoever implemented that is lazy
mike_bueti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<miah> no
<miah> i've dealt with codebases where there are 3000+ issues
<sorbo_> ditto
<miah> and most of them are simple shit that im thankful the computer can solve for me
<failshell> how did you get my code?
ndrei has joined #ruby
nmedic89 has joined #ruby
<shevy> hmmmm 3000 issues
codeFiend has joined #ruby
<miah> go run rubocop on chef
<failshell> mine had over 9000 issues though
<miah> or metasploit
<miah> and watch the scroll
<sorbo_> wonder what it is on rails
<failshell> pfft run foodcritic on any community cookbooks
<miah> or any sizably large ruby project
<miah> foodcritic is a waste of time
<miah> as are most community cookbooks
<sorbo_> it's no better in puppet land
<failshell> its a good tool to teach newcomers chef
commondream has quit [Remote host closed the connection]
<failshell> but yes, community cookbooks are terrible
<failshell> apache2 being one of the worst POS ever
mike_bueti has joined #ruby
<miah> at this point i've given up teaching anybody in chefland anything
<shevy> 196 files inspected, 7281 offenses detected
<sorbo_> do community cookbooks suffer from the same disease that afflicts puppet forge modules, where no one has successfully 100% abstracted their code away from their particular use case?
<shevy> ack rubocop hates me
<miah> shevy: yes
<sorbo_> so there's always shit missing or shit baked in that you don't watn?
<miah> er, sorry
<miah> sorbo_: yes
<sorbo_> s/watn/want/
<sorbo_> yeah
<nmedic89> Hey guys. I'm trying to help my friend with Ruby and I'm trying to import the code she is using. Same code works for her, but when I want to use submit form she developed, I get "No route matches [GET]". Is that a problem with Ruby configuration or problem is with routes.rb ?
<failshell> like that aweful runit that's plaguing all cookbooks
platzhirsch has joined #ruby
<failshell> and all those ubuntu specific hacks
<miah> because most chef stuff boils down to an abstraction via resources in a ordered run_list
<sorbo_> I mean we joke about software development being a hilariously young discipline (it is), but for DevOps even moreso
<nmedic89> And Yeah, I'm using Ruby 2.1.0 and Rails 4.1
<miah> instead of building an abstraction based around a resource
<sorbo_> nmedic89: what framework are you using (e.g. Rails, Sinatra)?
<sorbo_> ah ok
<nmedic89> Rails
mmazing has joined #ruby
<havenwood> nmedic89: The best place for Rails questions is actually the #RubyOnRails channel.
<sorbo_> ^
<havenwood> ?rails nmedic89
<ruboto> nmedic89, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
baweaver has joined #ruby
<nmedic89> Ah okay
<nmedic89> Thanks
<sorbo_> np, gl
bootstrappm has joined #ruby
postmodern has joined #ruby
greenbagels has joined #ruby
<shevy> shell.rb:158:3: W: Duplicate methods all_arguments? at lines 128, 158 detected.
<shevy> wow... rubocop actually found a real problem
<shevy> and ruby -w did not ... hmmmmmmm
Pupeno has joined #ruby
<bootstrappm> morning all
<havenwood> bootstrappm: g'mornin
<bootstrappm> I'm working from Antigua Guatemala today, this place is awesome! Cheap, good food around, coworking space in front of a gym
<bootstrappm> everything i need!
<shevy> ack
<shevy> are you like moving around the world
<shevy> we did not yet have someone code in antarctica now did we?
serivich has quit [Ping timeout: 244 seconds]
<bootstrappm> hahah no, unfortunately not
<bootstrappm> just guatemala city, sometimes here in antigua, sometimes in Santa Tecla, El Salvador, sometimes Mexico
rbennacer has joined #ruby
freerobby has quit [Ping timeout: 272 seconds]
baweaver has quit [Remote host closed the connection]
gusrub has joined #ruby
Pupeno has quit [Quit: Leaving...]
Muhannad has quit [Read error: Connection reset by peer]
ghr has joined #ruby
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
mjuszczak has left #ruby [#ruby]
tuelz has quit [Ping timeout: 264 seconds]
<shevy> ooooh Mejico
<shevy> now you are surrounded by gangsters!
DexterLB has quit [Read error: Connection reset by peer]
nobitanobi has quit [Remote host closed the connection]
bogdanteleaga has quit [Read error: Connection reset by peer]
iceden has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
nobitanobi has joined #ruby
Eiam_ has joined #ruby
bogdanteleaga has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
Eiam has quit [Quit: dies]
Eiam has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
DexterLB has joined #ruby
bricker has quit [Ping timeout: 272 seconds]
yalue has joined #ruby
woodruffw has quit [Ping timeout: 256 seconds]
michaelreid has quit [Ping timeout: 256 seconds]
woodruffw has joined #ruby
DEA7TH has joined #ruby
ioioio has joined #ruby
huddy has joined #ruby
Hijiri has quit [Ping timeout: 276 seconds]
arietis has joined #ruby
<ioioio> Could anyone recommend a book of problems as a follow up to chris pine's 'learning to program' ?
bluOxigen has joined #ruby
ed112211 has quit [Quit: ed112211]
<jhass> ioioio: check sites like exercism.io and codewars.com
<ioioio> thank you @jhass
twistedpixels is now known as zz_twistedpixels
commondream has joined #ruby
zz_twistedpixels is now known as twistedpixels
<havenwood> ioioio: Project Euler has some good math problems as well: https://projecteuler.net
<havenwood> ioioio: And there's a good archive of Ruby Quizs: http://rubyquiz.com/
wallerdev_ has joined #ruby
ta has quit [Remote host closed the connection]
iceden has joined #ruby
hpoydar has joined #ruby
hpoydar has quit [Remote host closed the connection]
<havenwood> <3 Koans
nobitanobi has quit [Remote host closed the connection]
<miah> there is also the 'Refactoring in Ruby' workbook (not Refactoring: Ruby)
Igorshp has joined #ruby
<Eiam_> hmm, how does one setup exception notification in a rake task if you aren't in Rails?
wallerdev has quit [Quit: wallerdev]
<Eiam_> the "use" function isn't a part of Rake (but is Sinatra)
woodruffw has quit [Ping timeout: 256 seconds]
rindolf has quit [Quit: Leaving]
commondream has quit [Ping timeout: 272 seconds]
Zai00 has quit [Ping timeout: 246 seconds]
<Eiam_> so "use ExceptionNotification::Rack" makes no sense in the context of task :blah do
tuelz has joined #ruby
Zai00 has joined #ruby
woodruffw has joined #ruby
<Eiam_> everything seems to assume I'm in a :Application.configure block
wallerdev_ has quit [Ping timeout: 244 seconds]
mrsolo has quit [Quit: Leaving]
<apeiros> Eiam_: if it isn't documented - take a look at ExceptionNotification::Rack's code
infinitone has quit [Remote host closed the connection]
bricker has joined #ruby
<apeiros> you'll need to wrap your code in begin/rescue/end and invoke the code ExceptionNotification::Rack uses to notify you about exceptions.
<Eiam_> yeah its all assuming im in a confg block to begin with. but all my rake tasks just have an :environments task that sets up env since sinatra/rack isn't present during a rake task
yardenbar has joined #ruby
<Eiam_> okay reading code now
edwinvdgraaf has joined #ruby
pengin has quit [Remote host closed the connection]
arietis has quit [Quit: Leaving.]
nobitanobi has joined #ruby
DerisiveLogic has quit [Ping timeout: 240 seconds]
arietis has joined #ruby
tuelz has quit [Ping timeout: 246 seconds]
<dorei> anyone here experienced with xpath?
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
bb010g has quit [Quit: Connection closed for inactivity]
<apeiros> ?anyone dorei
<ruboto> dorei, Just ask your question, if anyone has, they will respond.
<dfockler> dorei: yo what's up
<dorei> i have an xpath like this './/a/img/@src' and another one like this './/a/*/img/@src', is there a way to combine them into one xpath?
<dorei> yo dfockler
<apeiros> dorei: | is union in xpath, iirc
A205B064 has joined #ruby
workmad3 has joined #ruby
<dfockler> dorei: ^ looks good, unless you need something extra
<dorei> i was hoping that there would an operator similar to * meaning zero or more
<dorei> would be
ed112211 has joined #ruby
<shevy> if it were a regex :)
millerti has quit [Ping timeout: 264 seconds]
stryek has joined #ruby
nobitanobi has quit [Remote host closed the connection]
tuelz has joined #ruby
bogdanteleaga has quit [Read error: Connection reset by peer]
<dfockler> dorei: xpath is very basic, but you can filter by position like `position() > 1`
bogdanteleaga has joined #ruby
<dorei> xpath is very perverted, not basic, especially xpath2.0 :p
<dfockler> hahaha
sigurding has joined #ruby
neohunter has quit [Read error: Connection reset by peer]
vickleton has joined #ruby
polysics has joined #ruby
workmad3 has quit [Ping timeout: 252 seconds]
startupality has joined #ruby
<dfockler> you can always use css
blaines has joined #ruby
momomomomo has quit [Ping timeout: 244 seconds]
<dfockler> well not always, but whatever...
sepp2k has quit [Quit: Leaving.]
platzhirsch has quit [Quit: Leaving.]
momomomomo has joined #ruby
ed112211 has quit [Quit: ed112211]
finisherr has quit [Quit: finisherr]
pengin has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
platzhirsch has joined #ruby
platzhirsch has quit [Read error: No route to host]
platzhirsch has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
<jhass> uh, isn't it just .//a//img/@src ?
finisherr has joined #ruby
hmnhf has quit [Ping timeout: 244 seconds]
speaking1ode has joined #ruby
mrsolo has joined #ruby
mrmargolis has quit [Remote host closed the connection]
hmnhf has joined #ruby
<dorei> jhass: * is optional? :O
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> I actually never tried, but I see no reason for // to only appear at the beginning of an xpath
<dfockler> that will look in every child of any anchor for img/@src
<pipework> jhass: IIRC, that's 'match from any parent'
<pipework> Starts at root, iirc.
<pipework> whereas without is relative.
ravenreborn has joined #ruby
startupality has quit [Quit: startupality]
<dfockler> so not just the direct descendants, but also descendants of descendants
<dorei> nop, * is not optional :(
ed112211 has joined #ruby
<jhass> nokogiri right? .xpath(".//a").flat_map {|link| link.xpath(".//img/@src") } ?
edwinvdgraaf has joined #ruby
thomcom has quit [Quit: Textual IRC Client: www.textualapp.com]
finisherr has quit [Quit: finisherr]
<dorei> i've ended up with something like this '(.//div[@class="thumb"]/a/img|.//div[@class="thumb"]/a/*/img)/@src' :D
<dorei> pretty ugly, but xpath is inherently ugly i think
kadoppe has quit [Ping timeout: 246 seconds]
Squarepy has joined #ruby
sarkyniin has joined #ruby
phutchins has joined #ruby
igualpuyo has joined #ruby
kadoppe has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
<jhass> I wonder if you can't pull the common stuff in front out
Rickmasta has joined #ruby
<pipework> jhass promotes pulling out whenever possible.
Guest38989 has quit [Quit: Leaving]
<jhass> './/div[@class="thumb"]/a/(img|*/img))/@src' or something
juanpaucar has joined #ruby
<jhass> pipework: except if the thing you'd pull out is your religion actually
<pipework> jhass: My couch taught me everything I know.
ravenreborn_ has joined #ruby
<jhass> TMI
ravenreborn has quit [Ping timeout: 264 seconds]
<dfockler> :( Eww
<pipework> #couchdb has a nice futon
bluOxigen has quit [Ping timeout: 264 seconds]
juanpaucar has quit [Ping timeout: 245 seconds]
Hijiri has joined #ruby
That1Guy has joined #ruby
nandubatchu has joined #ruby
baweaver has joined #ruby
<nandubatchu> hi
freerobby has joined #ruby
wildroman2 has joined #ruby
nmedic89 has quit [Quit: Medjed skript v1.5 - http://medjed.org]
nandubatchu has quit [Client Quit]
umby24|offline has quit [Quit: ZNC - http://znc.in]
<jhass> mmh, 51 seconds of patience, had it worse
baroquebobcat has quit [Quit: baroquebobcat]
* dfockler trying to defuse a bomb written in ruby
Papierkorb has joined #ruby
bb010g has joined #ruby
einarj has joined #ruby
momomomomo has quit [Ping timeout: 250 seconds]
<jhass> killall -9 ruby
<jhass> done
Igorshp has quit [Remote host closed the connection]
<dfockler> ahhh it has a supervisor!
<ljarvis> started adding to_h to optparse, anyone interested in this? https://gist.github.com/leejarvis/580f91991cc7912ea868
baroquebobcat has joined #ruby
Squarepy has quit [Quit: Leaving]
<jhass> don't you already have an option parser gem? :P
Pumukel has quit [Ping timeout: 265 seconds]
<ljarvis> yes, this is a chance to give back to stdlib
renanoronfle has joined #ruby
<Eiam_> stepping through what (seemed like) some rather basic job enquing, not sure why I'm getting the name error, https://gist.github.com/anonymous/8c51035dc6336c3e707b
zarubin has joined #ruby
<jhass> tbh I wouldn't mind at for something like slop to be in stdlib
<Eiam_> If I directly call the modules .perform the code runs as expected, so I don't get why resque is saying it cannot find it
speaking1ode has quit [Remote host closed the connection]
<ljarvis> heh, it was suggested on redmine
<ljarvis> I'm not keen on the idea massively
<ljarvis> plus there's already 2 there
mrmargolis has joined #ruby
yardenbar has quit [Quit: Leaving]
momomomomo has joined #ruby
<ljarvis> then again, the code for optparse makes me want to rip my face off
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dfockler> Eiam_: did you start your worker to know where the EmailContent module is?
<jhass> I wouldn't mind at least getoptlong and whatever the third is to be dropped to gems either
einarj has quit [Ping timeout: 276 seconds]
alexherbo2 has quit [Quit: WeeChat 1.2]
<ljarvis> yeah getoptlong needs to go
shadoi has joined #ruby
<Eiam_> dfockler: workers are started with "worker: TERM_CHILD=1 bundle exec resque-pool"
<ljarvis> it's just optparse and getoptlong afaik
wallerdev has joined #ruby
ed112211 has quit [Quit: ed112211]
<jhass> I mean I wouldn't mind for optparse to be dropped too, but that's not realistic
haxrbyte has joined #ruby
rbennacer has quit [Remote host closed the connection]
Juanchito has quit [Quit: Connection closed for inactivity]
<Eiam_> dfockler: and the rake task for scheduler looks something like, https://gist.github.com/anonymous/1d39fe04a32eef9ee9d4
nik_-_ has joined #ruby
ravenreborn_ has quit [Ping timeout: 276 seconds]
haxrbyte_ has quit [Ping timeout: 240 seconds]
igualpuyo has quit [Quit: Leaving]
havenwood has joined #ruby
greenbagels has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
igualpuyo has joined #ruby
mfmfmfmfmfmf has joined #ruby
tcrypt has joined #ruby
momomomomo has quit [Quit: momomomomo]
rbennacer has joined #ruby
nobitanobi has joined #ruby
igualpuyo has quit [Client Quit]
chris349 has joined #ruby
juanpaucar has joined #ruby
nobitanobi has quit [Remote host closed the connection]
wallerdev_ has joined #ruby
igualpuyo has joined #ruby
nobitanobi has joined #ruby
nik_-_ has quit [Quit: nik_-_]
igualpuyo has quit [Client Quit]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chris349 has quit [Client Quit]
hmnhf_ has joined #ruby
finisherr has joined #ruby
nobitanobi has quit [Remote host closed the connection]
wallerdev_ has quit [Ping timeout: 264 seconds]
pandaant has quit [Remote host closed the connection]
hmnhf has quit [Ping timeout: 246 seconds]
ta has joined #ruby
arietis has quit [Quit: Leaving.]
woodruffw has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
arietis has joined #ruby
moretti has joined #ruby
igualpuyo has joined #ruby
<dfockler> Eiam_: you may need to configure resque-pool with a rake task to pull in your class and modules
<Bermulium> Huh is this a bug
Igorshp has joined #ruby
<Bermulium> will give nil
<Bermulium> /^Start/ = 'Test. Start'
<jhass> that should be a syntax error
<Bermulium> ops
<Bermulium> /^Start/ = ~'Test. Start'
<Bermulium> I mean
<jhass> still a syntax error, but we get ya :P
<jhass> so, what do you think ^ means?
<apeiros> why should it not return nil?
<Bermulium> its my keyboard..
<Bermulium> /^Start/ =~'Test. Start
<Bermulium> '
<apeiros> and no, that's not a bug.
nobitanobi has joined #ruby
moretti has quit [Client Quit]
<Bermulium> /^Start/ =~ content where content = 'Test. Start'
<Bermulium> will not return nil
<apeiros> I can't make sense of that line.
moretti has joined #ruby
<apeiros> do you mean this?
greenbagels has joined #ruby
<apeiros> >> content = 'Test. Start'; /^Start/ =~ content
<ruboto> apeiros # => nil (https://eval.in/371479)
<apeiros> because this still returns nil…
nobitanobi has quit [Remote host closed the connection]
<apeiros> (as it should, so still my question "why should it not return nil?")
<baweaver> As much as I dislike the concept of nil, that is intended behavior of the language.
igualpuyo has quit [Client Quit]
jbomo has joined #ruby
skammer has joined #ruby
<apeiros> I somewhat suspect you're confusing "Test.\nStart" with "Test. Start". But IMO no point in riddling without an answer to my question.
krz has quit [Quit: WeeChat 1.0.1]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<sorbo_> "If =~ is used with a regexp literal with named captures, captured strings (or nil) is assigned to local variables named by the capture names."
<Eiam_> dfockler: i have that setup.. thinking maybe the require relative is biting me when im in pry
<sorbo_> >> content = 'Test. Start'; /^(Start)/ =~ content
<ruboto> sorbo_ # => nil (https://eval.in/371482)
<sorbo_> >> content = 'Test. Start'; /^(Start)/ =~ content; puts content
<ruboto> sorbo_ # => Test. Start ...check link for more (https://eval.in/371483)
<apeiros> sorbo_: there's no named capture in that regex.
<Eiam_> but that wouldn't explain why if i have the service itself enqueue it by a route it staill fails with the same error
<sorbo_> apeiros: right, but content is still set even though `nil` is returned.
zarubin has quit [Remote host closed the connection]
mello has quit [Ping timeout: 246 seconds]
gambl0re has quit [Ping timeout: 256 seconds]
<baweaver> ....?
<baweaver> content is a variable assigned beforehand
<apeiros> sorbo_: um, yes? of course? there's a direct assignment? what's your point or question?
<baweaver> the result of the regex match is nil
<sorbo_> apeiros: sorry, my mistake. I've been up way too long. you and baweaver are both right.
<baweaver> =~ doesn't do assignment
<baweaver> ./(?<named_group>whatever match here)/
<sorbo_> >> content = 'Test. Start'; /^(<text>Start)/ =~ content
<ruboto> sorbo_ # => nil (https://eval.in/371484)
<dfockler> Eiam_: like the route fails or the worker still fails?
<Eiam_> worker fails
<baweaver> sorbo_: You do realize what ^ is right?
<ljarvis> zzak: yo
<sorbo_> baweaver: yes, sorry.
<sorbo_> >> content = 'Test. Start'; /(<text>Start)/ =~ content
<ruboto> sorbo_ # => nil (https://eval.in/371485)
<apeiros> sorbo_: are you with Bermulium? are you continuing in their stead?
<baweaver> >> /^s/ =~ 'surely'
<ruboto> baweaver # => 0 (https://eval.in/371486)
<dfockler> Eiam_: you still need to start the worker with the path to your code
<baweaver> >> /^s(?<rest>.+)/ =~ 'surely'
<ruboto> baweaver # => 0 (https://eval.in/371487)
<Eiam_> dfockler: my scheduler blob there has the paths to the code
<apeiros> ok, well, sorbo_ & Bermulium - I've better things to do than wait for answers. I'm off.
Encapsulation has quit [Read error: Connection reset by peer]
Channel6 has quit [Ping timeout: 272 seconds]
<sorbo_> apeiros: have a good one.
twistedpixels is now known as zz_twistedpixels
<dfockler> Eiam_: You're scheduler might, but your workers probably don't
<baweaver> >> /^s(?<rest>.+)/.match('surely')[:rest]
<ruboto> baweaver # => "urely" (https://eval.in/371488)
<Eiam_> dfockler: hmm okay..
<ljarvis> started a basic optparse patch https://gist.github.com/leejarvis/580f91991cc7912ea868
zz_twistedpixels is now known as twistedpixels
sorbo_ has quit []
<Eiam_> dfockler: not sure I follow where I see any rake/configuration thats passed to workers
ebbflowgo has quit [Quit: ebbflowgo]
<Eiam_> aren't they just fork'ed from / ?
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> >> if /^s(<rest>.+)/ =~ "surely"; rest; end;
<ruboto> jhass # => nil (https://eval.in/371489)
<jhass> >> if "surely" =~ /^s(<rest>.+)/; rest; end;
<ruboto> jhass # => nil (https://eval.in/371490)
cirn0 has quit [Remote host closed the connection]
<jhass> mh
<jhass> oh
<jhass> >> if /^s(?<rest>.+)/ =~ "surely"; rest; end;
<ruboto> jhass # => "urely" (https://eval.in/371491)
<jhass> I hate that feature
twistedpixels is now known as zz_twistedpixels
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dfockler> You have to setup the environment beforehand or else your workers won't know where to look for code
<apeiros> ljarvis: that would make so much sense
<apeiros> it's what most people reproduce in their code anyway. so all of that custom code could be saved.
That1Guy has joined #ruby
vdamewood has joined #ruby
<ljarvis> yep I think it'd be really helpful
sigurding has quit [Quit: sigurding]
yalue has quit [Quit: return 0;]
zack6849 has quit [Ping timeout: 246 seconds]
<ljarvis> added a before example to make it a bit more obvious
<ljarvis> I'll probably submit it tomorrow and see what people think
pengin has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
ht__ has quit [Quit: Konversation terminated!]
sumark has quit [Remote host closed the connection]
<apeiros> I have only glanced over it. but I definitively like the idea.
ghr has joined #ruby
pengin has joined #ruby
sumark has joined #ruby
<dfockler> ljarvis: would it just take short name if no long name was given?
Channel6 has joined #ruby
<ljarvis> dfockler: yeah, there's an example in the spec
zack6849 has joined #ruby
zack6849 has quit [Changing host]
zack6849 has joined #ruby
baweaver has quit [Remote host closed the connection]
<dfockler> ahh cool :) looks nice
ki0 has joined #ruby
<Eiam_> dfockler: ughhhhhh. I know what commit broke this.
centrx has joined #ruby
<Eiam_> dfockler: you are right (ofc)
woodruffw has joined #ruby
<dfockler> Eiam_: lol I've ran into the same issue many times
<Eiam_> I was restructing from rake tasks
<Eiam_> and didn't realize some of the rake tasks were like.. automatically being called by something else
banister has joined #ruby
nobitanobi has joined #ruby
djbkd has joined #ruby
zz_twistedpixels is now known as twistedpixels
<dfockler> automation will sometimes bite you
Igorshp has quit [Remote host closed the connection]
__chris has quit [Quit: This computer has gone to sleep]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
__chris has joined #ruby
nobitanobi has quit [Remote host closed the connection]
ed112211 has joined #ruby
neanderslob has joined #ruby
baweaver has joined #ruby
barkerd427 is now known as zz_barkerd427
zz_barkerd427 is now known as barkerd427
pulgolino has quit [Read error: Connection reset by peer]
aryaching has quit []
twistedpixels is now known as zz_twistedpixels
ldnunes has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
kinduff has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
<ljarvis> meh I wanna see what others think, please give feedback if you want: https://bugs.ruby-lang.org/issues/11191
wildroman2 has joined #ruby
<kinduff> good morning!
<ytti> debatable
<jhass> ljarvis: +1 from me, certainly an improvement
zz_twistedpixels is now known as twistedpixels
sarkyniin has quit [Ping timeout: 272 seconds]
utkukaynar has joined #ruby
michaelreid has joined #ruby
einarj has joined #ruby
pdoherty has quit [Ping timeout: 256 seconds]
haxrbyte has quit [Remote host closed the connection]
bmurt has quit [Ping timeout: 265 seconds]
__chris has quit [Quit: This computer has gone to sleep]
haxrbyte has joined #ruby
startupality has joined #ruby
yh__ is now known as yh_
baweaver has quit [Remote host closed the connection]
ki0 has quit []
Encapsulation has joined #ruby
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmurt has joined #ruby
Limix has joined #ruby
nobitanobi has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
gambl0re has joined #ruby
utkukaynar has quit []
mistermocha has quit [Read error: Connection reset by peer]
commondream has joined #ruby
mistermocha has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
wallerdev_ has joined #ruby
bmurt has quit [Client Quit]
nobitanobi has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 252 seconds]
edwinvdgraaf has joined #ruby
dseitz has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has joined #ruby
commondream has quit [Ping timeout: 258 seconds]
mistermocha has quit [Ping timeout: 265 seconds]
einarj has quit [Ping timeout: 264 seconds]
wallerdev_ has quit [Ping timeout: 256 seconds]
rodfersou has quit [Quit: leaving]
lkba has quit [Ping timeout: 264 seconds]
quimrstorres has joined #ruby
nobitanobi has joined #ruby
leafybasil has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
leafybasil has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
einarj has joined #ruby
arietis has quit [Quit: Leaving.]
centrx has joined #ruby
jzigmund has quit [Ping timeout: 252 seconds]
haxrbyte has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Remote host closed the connection]
lsmola_ has quit [Ping timeout: 265 seconds]
haxrbyte has joined #ruby
al2o3-cr has joined #ruby
wildroman2 has quit [Read error: No route to host]
wildroman2 has joined #ruby
leafybasil has quit [Ping timeout: 264 seconds]
haxrbyte_ has joined #ruby
gaboesquivel has joined #ruby
mello has joined #ruby
y0da has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 276 seconds]
greenbagels has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
greenbagels has joined #ruby
haxrbyte has quit [Ping timeout: 272 seconds]
phutchins has joined #ruby
_seanc_ has joined #ruby
einarj has joined #ruby
casadei has quit [Remote host closed the connection]
gaboesquivel has quit [Ping timeout: 264 seconds]
tuelz has quit [Ping timeout: 264 seconds]
mello has quit [Ping timeout: 264 seconds]
mary5030 has quit [Remote host closed the connection]
mib_mib has joined #ruby
<mib_mib> does anyone here use codeship?
joelataylor has quit [Quit: Be back later ...]
zodiak has joined #ruby
joelataylor has joined #ruby
Notte has joined #ruby
<zodiak> how do I deal with daemons running under Foreman ? it seems that it's jst generating a tonne of threads (ps -eLF | grep -i 'name' | wc is increasing every run/pass)
baweaver has joined #ruby
ndrei has quit [Ping timeout: 246 seconds]
joelataylor has quit [Ping timeout: 265 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cirn0 has joined #ruby
Igorshp has joined #ruby
cirn0 has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
baroquebobcat has joined #ruby
ed112211 has quit [Quit: ed112211]
Azure has quit [Ping timeout: 264 seconds]
leafybasil has joined #ruby
Zai00 has quit [Quit: Zai00]
baweaver has quit [Remote host closed the connection]
jpfuente_ has joined #ruby
doublemalt_ has joined #ruby
jpfuentes2 has quit [Ping timeout: 272 seconds]
rbennacer has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
chipotle has joined #ruby
Zai00 has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
That1Guy has joined #ruby
Bermulium has quit [Quit: Leaving]
einarj has quit [Ping timeout: 245 seconds]
tuelz has joined #ruby
tuelz has quit [Client Quit]
DoubleMalt has quit [Ping timeout: 244 seconds]
jpfuente_ has quit [Ping timeout: 250 seconds]
That1Guy has quit [Client Quit]
mfmfmfmfmfmf has quit [Remote host closed the connection]
einarj has joined #ruby
<kinduff> mib_mib: i do
vickleton has quit [Quit: Ex-Chat]
chipotle has quit [Ping timeout: 276 seconds]
<mib_mib> kinduff: for a rails project (connected to mysql) - i need to set a variable in the my.cnf and restart mysql - do you know how i'd go about doing that? codeship doesn't seem to allow sudo
Fire-Dragon-DoL1 has joined #ruby
jzigmund has joined #ruby
Fire-Dragon-DoL1 has quit [Client Quit]
jpfuentes2 has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
rikai_ has quit [Ping timeout: 246 seconds]
mistermocha has joined #ruby
<shevy> >> '<table class="pad4px marl1em" style="white_BORDER_1">'.match(/class="(.+)"/)[1]
<ruboto> shevy # => "pad4px marl1em\" style=\"white_BORDER_1" (https://eval.in/371497)
casadei has joined #ruby
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lyuben_ has quit [Read error: Connection reset by peer]
lyuben_ has joined #ruby
rikai has joined #ruby
dru`` has joined #ruby
mujou has joined #ruby
jzigmund has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
danman has joined #ruby
mengu has quit [Remote host closed the connection]
mujou has quit [Client Quit]
paulcsmith has quit [Quit: Be back later ...]
dru` has quit [Ping timeout: 272 seconds]
einarj has joined #ruby
<shevy> is it possible to make a regex non-greedy?
code1o6 has quit [Quit: Leaving]
<shevy> I'd need the above to stop after the first '"' found
code1o6 has joined #ruby
Limix has quit [Quit: Limix]
woodennails has joined #ruby
Takle has joined #ruby
<centrx> shevy, yeah something with a ?
<centrx> .*?
edwinvdgraaf has quit [Remote host closed the connection]
TheHodge has joined #ruby
FernandoBasso has joined #ruby
Igorshp has quit [Remote host closed the connection]
<shevy> oh cool
<dojobo> www.regexr.com is great for testing and reference btw
Igorshp has joined #ruby
arescorpio has joined #ruby
jpfuentes2 has quit [Ping timeout: 256 seconds]
codecop_ has quit [Remote host closed the connection]
imperator has quit [Quit: Leaving]
tesuji has quit [Ping timeout: 244 seconds]
<weaksauce> dojobo http://rubular.com/ is another fine option for that with the added benefit of being ruby aware
<dfockler> +1 for rubular
woodennails has quit [Quit: Textual IRC Client: www.textualapp.com]
cirn0 has joined #ruby
barkerd427 is now known as zz_barkerd427
Igorshp has quit [Ping timeout: 256 seconds]
decoponio has quit [Quit: Leaving...]
roolo has quit [Remote host closed the connection]
jzigmund has joined #ruby
failshell has quit [Ping timeout: 256 seconds]
qwertme has joined #ruby
Limix has joined #ruby
umgrosscol has quit [Quit: Quit]
<dojobo> weaksauce++
RegulationD has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
Igorshp has joined #ruby
* dudedudeman wishes he was ruby aware
dru`` has quit [Ping timeout: 272 seconds]
mrmargolis has quit [Remote host closed the connection]
mib_mib has quit [Ping timeout: 246 seconds]
imperator2 has quit [Quit: Valete!]
<dfockler> dudedudeman: like neo?
jzigmund has quit [Ping timeout: 264 seconds]
<dudedudeman> haaaaaa
wallerdev_ has joined #ruby
jenrzzz_ has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
_seanc_ has quit [Ping timeout: 256 seconds]
freerobby has quit [Quit: Leaving.]
<dudedudeman> if I have a ruby script that checks all of my files for something, and i want to that script to email with the results every monday morning, would a cron job be best suited for that?
<apeiros> define "best". it's certainly a good option.
jzigmund has joined #ruby
kinduff_ has joined #ruby
<centrx> Sounds like a cron job
Notte has quit []
jenrzzz has quit [Ping timeout: 272 seconds]
<jhass> or a systemd timer if you're running that
<dudedudeman> would a cron job be well suited*, that might be a better way to work that apeiros
jpfuentes2 has joined #ruby
axl_ has quit [Quit: axl_]
<dudedudeman> jhass: i'm not familiar with that
<dudedudeman> are those the .timer files?
<jhass> is your /bin/init systemd?
<eam> definitely a job for resque
<jhass> yep
asmodlol has quit [Ping timeout: 255 seconds]
_ht has quit [Quit: Konversation terminated!]
<dudedudeman> i don't have a bin/init
renanoronfle has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<dudedudeman> not on the machine i'm working with at least
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<jhass> well, I mean whether your init daemon is systemd
kinduff has quit [Ping timeout: 258 seconds]
<dudedudeman> ah, it is, jhass
wallerdev_ has quit [Ping timeout: 252 seconds]
<dudedudeman> but now that eam mentions it, resque would be awesome, because it would be a good thing to learn and have knowledge of
kirun has quit [Quit: Client exiting]
<bootstrappm> resque is awesome but it seems a bit overkill for this one
<jhass> yeah, complete overkill
<eam> extremely tounge in cheek suggestion btw
<dudedudeman> dammit..
<jhass> I'd go with a systemd timer unit
<jhass> man systemd.timer
<jhass> gives nice introspection
<eam> dudedudeman: but if you want to do it to learn, go nuts
<dudedudeman> i'm nuts about learning, that's for sure
<dudedudeman> i have a hard time buckling down and deciding on exactly what i want to focus on sometimes, because it all fascinates me
<bootstrappm> i'd check out the whenever gem, I've not used it but heard good things: https://github.com/javan/whenever
Pumukel has joined #ruby
jpfuentes2 has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bootstrappm> for anybody that has used the whenever gem, does it just run a daemon all the time that does the requested action when the time is right or is there some kind of magic startup sequence?
dojobo has quit [Quit: Leaving]
<dudedudeman> i'll need to look that up, too
<jhass> the whenever gem just generates a crontab
<dudedudeman> jhass: thanks for the man on this. i always forget about those
nateberkopec has quit [Quit: Leaving...]
<bootstrappm> i love man
<bootstrappm> platonically, of course
blogjy has joined #ruby
<shevy> lol
spyderman4g63 has quit [Remote host closed the connection]
<shevy> you mean the dudedudeman man
<dudedudeman> shevy: you do any dude'ing today?
<dudedudeman> ha, you just did
<shevy> come to think about it, your nick should be dudedudemanman
jenrzzz_ has quit [Ping timeout: 246 seconds]
<shevy> but I can't go down that rabbit hole, it makes my brain quite fuzzy
shadoi has quit [Quit: Leaving.]
<dudedudeman> mine is already fuzzy. send help
yokel has quit [Ping timeout: 256 seconds]
<dfockler> does anyone know a way to return an arbitrary HTTP status in sinatra?
wildroman3 has joined #ruby
yokel has joined #ruby
* dudedudeman off to systemd world....
* bootstrappm off to s3 Cache-Expires header world...
<bootstrappm> send cookies please, I'll likely be there a while
TheNet has joined #ruby
wildroman2 has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
Igorshp has quit [Remote host closed the connection]
<blogjy> what is a good way of installing the latest ruby on ubuntu 14.04.2 LTC apt-get install ruby-full says ruby 1.9.1
milesmatthias has joined #ruby
baweaver has joined #ruby
pragmatism has quit [Ping timeout: 246 seconds]
pragmatism has joined #ruby
<bootstrappm> blogjy install rvm, then install latest ruby
<bootstrappm> right now latest stable is 2.2.0 on rvm
<bootstrappm> you could also install 2.2-head or ruby-head
zdman135 has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
<shevy> blogjy I guess ubuntu makes it not easy for you to change their ruby version
northfurr has joined #ruby
milesmatthias has quit [Client Quit]
Limix has quit [Quit: Limix]
jpfuentes2 has joined #ruby
<jhass> blogjy: brightbox packages
mike_bueti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kinduff_ has quit [Quit: leaving]
ed112211 has joined #ruby
kinduff has joined #ruby
CorpusCallosum has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
doublemalt_ has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
jlyndon has joined #ruby
danman has quit [Quit: danman]
scripore has joined #ruby
duderonomy has quit [Ping timeout: 244 seconds]
jpfuentes2 has quit [Client Quit]
einarj has quit [Ping timeout: 250 seconds]
bogdanteleaga has quit [Ping timeout: 264 seconds]
jpfuentes2 has joined #ruby
<blogjy> jhass: that is quite a find, thanks
einarj has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #ruby
<al2o3-cr> I know i never heard of brightbox before until havenwood said
chipotle has joined #ruby
Igorshp has joined #ruby
<jhass> I wish they would do the same for debian
<bootstrappm> me neither, nice find indeed!
<al2o3-cr> jhass: to true
KayKayKay has joined #ruby
mrsolo has quit [Quit: Leaving]
shazaum has quit [Quit: Leaving]
KC9YDN has quit [Ping timeout: 248 seconds]
dandrade has quit [Ping timeout: 255 seconds]
centrx has quit [Quit: Shutting down, Please wait...]
dandrade has joined #ruby
scottstamp has quit [Ping timeout: 265 seconds]
<dfockler> I still don't really understand source management on linux
einarj has quit [Ping timeout: 252 seconds]
KC9YDN has joined #ruby
KC9YDN has quit [Changing host]
KC9YDN has joined #ruby
<pipework> dfockler: There's not much 'on linux' about it.
<dfockler> pipework: is it distro specific?
<dfockler> Yeah I guess it is
scottstamp has joined #ruby
<pipework> dfockler: Not necessarily.
<pipework> What exactly are you talking about? "Source management" is a pretty vague topic.
<dfockler> I guess where you pull packages from
<Aeyrix> Package management.
<KayKayKay> hi
einarj has joined #ruby
<Aeyrix> Hi
tejasmanohar has joined #ruby
saadq has joined #ruby
ta has quit [Remote host closed the connection]
gaboesquivel has joined #ruby
Zai00 has quit [Quit: Zai00]
<pipework> dfockler: Ah, package management system!
bigkevmcd has quit [Ping timeout: 264 seconds]
<shevy> dfockler by default, most packages are compiled with the --prefix option set to /usr; the main exceptions are due to the arbitrary FHS, such as for packages that have / as prefix; notably all that are in /bin and /lib; these normally are glibc-related packages, sometimes readline too (no idea why), libblkid, firmware, hardware, linux-related modules, sometimes udev or xtable etc...
<Aeyrix> There's a really good Wikipedia article on this.
<eam> shevy: it's the essential parts necessary to bring up the rest of the system, so /usr can be mounted potentially on remote storage
<jhass> many distros move to everything in /usr, /lib, /bin etc becomes symlinks to their /usr/ variants
<Aeyrix> Unix Filesystem Hierarchy.
<Aeyrix> Arch does that yeah
<jhass> Fedora too, no?
<Aeyrix> I believe so.
<eam> most are giving up on the concept
<jhass> wouldn't be surprised if Ubuntu will pick it up
<dfockler> I was reading an article, where it was saying /usr/sbin or something is basically because of tradition
willharrison has joined #ruby
<shevy> dfockler well that is the /usr prefix
<eam> dfockler: sbin would hold programs that only root or administrators would run
<jhass> oh, yeah, /usr/sbin is just a symlink to /usr/bin for me now too
<shevy> whether the distinction to bin or sbin makes sense is another question
<eam> it's mostly a pointless distinction now that everyone has their own computer
bigkevmcd has joined #ruby
<dfockler> anyone here still timesharing their unix system?
<shevy> dfockler but that is really minor. What I found more confusing was that /etc always was decoupled from the --prefix option
<eam> dfockler: well sure, everyone is
<dfockler> with one person?
<eam> there's half a dozen processes running as half a dozen users at any given time
<jhass> VPS? PaaS? shared hosting?
Igorshp has quit [Remote host closed the connection]
<shevy> I even have a /usr/etc directory here... I do not know why
<eam> not controlled by humans, of course
<KayKayKay> Now I am a professional Game proGrammER!
<shevy> :)
Narzew has quit [Remote host closed the connection]
<dfockler> jhass: those are virtual separated though right?
<eam> dfockler: not shared hosting
<jhass> they're sharing the same resources
<jhass> in openvz stuff even the same kernel
KC9YDN has quit [Ping timeout: 248 seconds]
<Aeyrix> Don't even talk to me about vz
<Aeyrix> -1/20,000
<jhass> and PaaS stuff is basically all containers now
<Aeyrix> D-
<Aeyrix> See me after class.
scottstamp has quit [Ping timeout: 265 seconds]
<KayKayKay> WHat Is ThE best PasswOrd Wordlist Editor in Ruby?
<jhass> KayKayKay: your shift key seems broken
<KayKayKay> kinDa
edwinvdgraaf has joined #ruby
<dfockler> so sources.list is just a place where your package manager can look for packages to download?
That1Guy has joined #ruby
spider-mario has quit [Ping timeout: 256 seconds]
<pipework> dfockler: Please consult your local distro channel.
<pipework> #ubuntu, #debian, etc.
<dfockler> thanks, will do
ravenreborn has joined #ruby
<KayKayKay> dfockler try usiNg the termInal to install proGrams and Go to thE docs and Read them to know how they work!
swgillespie has joined #ruby
Azure has quit [Ping timeout: 265 seconds]
<pipework> KayKayKay: You seem to have more troubling matters at hand with that wonky upcasing.
someword1 has quit [Quit: Leaving.]
last_staff has quit [Quit: last_staff]
snockerton has joined #ruby
joelataylor has joined #ruby
<dfockler> It's like KayKayKay is the Joker, pretty scary
<KayKayKay> what do you mean pipework
enebo has quit [Quit: enebo]
<KayKayKay> your mom makes the best Cookies Undoubtedly iN The neighborhood!
<Radar> !kick KayKayKay Bad nick
KayKayKay was kicked from #ruby by ruboto [Bad nick]
KayKayKay has joined #ruby
<Radar> Thanks I've been wanting to try that out.
KayKayKay is now known as TripleK
Eiam has quit [Remote host closed the connection]
<TripleK> good nick op?
<Aeyrix> I did tell you
Igorshp_ has joined #ruby
<Aeyrix> Like
<pipework> It was just a kick though.
<Aeyrix> 10 minutes ago
<Aeyrix> Change it to SpecialK
Eiam has joined #ruby
<Aeyrix> And then we'll be happy
bronson has quit [Remote host closed the connection]
joelataylor has quit [Ping timeout: 265 seconds]
<shevy> short nicks are the best
<pipework> Radar: ineffective kick was ineffective, btw
<shevy> pipework should become pwork
<jhass> !kick TripleK nope
TripleK was kicked from #ruby by ruboto [nope]
K_Cubed has joined #ruby
<kinduff> lol
<K_Cubed> good op?
<pipework> Because kicks are so helpful and not generating more noise, right?
<shevy> Aeyrix should become Ayrix
<jhass> !kick K_Cubed try again
K_Cubed was kicked from #ruby by ruboto [try again]
K_Cubed has joined #ruby
<shevy> lol
<pipework> TIL ops don't know /mode +b
<Aeyrix> pipework: Good at ruby ! = good at irc
duderonomy has joined #ruby
<pipework> shevy: I already became pipework from spaceghost|work which came from spaceghostc2c
<K_Cubed> what is wrong with my nick?
<pipework> Aeyrix: ikr :(
<shevy> damn that was a long nick
<jhass> K_Cubed: no discussion
<shevy> >> "spaceghost|work".size
<ruboto> shevy # => 15 (https://eval.in/371501)
<Radar> K_Cubed: You know it's offensive to people. Please change it
<K_Cubed> I changed it so many times
<K_Cubed> I don't
<pipework> K_Cubed: K cubed isn't even in the spirit of your original nicks.
<shevy> ok pick a harmless nick
rkazak has joined #ruby
<K_Cubed> you're accusing me of knowing something I don't please educate me
<Radar> K_Cubed: You've got two minutes.
<jhass> K_Cubed: try out !ban too
<shevy> those are not random nicks K_Cubed
<jhass> er Radar ^
K_Cubed is now known as sinepreggiN
<Radar> Might just have to :)
<Radar> Too bad it doesn't ban by hostname
<sinepreggiN> good op?
<jhass> Radar: actually it does
sinepreggiN was kicked from #ruby by Radar [AWAY TROLL]
<Aeyrix> Jesus Christ
sinepreggiN has joined #ruby
<kinduff> lmaoo
<jhass> sets two akicks
<Radar> jhass: TIL
<sinepreggiN> I changed my nick
<blogjy> who knew
<Radar> !ban sinepreggiN
<pipework> Pls ops learn 2 ops
elfuego has quit [Quit: elfuego]
<shevy> sinepreggiN PICK A NAME MAN
<sinepreggiN> why?
<Aeyrix> Radar just give me op
tjohnson has quit [Quit: Connection closed for inactivity]
<sinepreggiN> :(
<jhass> !T 1d
<Radar> !ban sinepreggiN !T 1d
sinepreggiN was kicked from #ruby by ChanServ [User is banned from this channel]
<alxndr> got an IP ban?
<jhass> observe ;)
<pipework> That won't take 2 seconds to get around...
<Aeyrix> LOL DID THAT JUST BAN ON IDENT
<Radar> Did that work? I didn't see.
<Aeyrix> No
<Aeyrix> It didn't
<shevy> pipework that dude alone generated more activity in #ruby than the earlier 10 hours :)
<Aeyrix> Just op pipework
<Radar> jhass: See, it doesn't set it on IP.
RegulationD has joined #ruby
<kinduff> hes at #programming too
skammer is now known as skammer|afk
<alxndr> there we go
Azure has joined #ruby
joelataylor has joined #ruby
<jhass> Radar: /cs AKICK #ruby list
quimrstorres has quit [Remote host closed the connection]
<Aeyrix> Don't use akick
<Aeyrix> Garbage
<jhass> the nick akick is set first, so chanserv uses that first
<Aeyrix> Ok
<jhass> if they try to join again the ip akick will kick in
chrisja has quit [Quit: leaving]
<jhass> Radar: ^
dfockler has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 255 seconds]
<jhass> Aeyrix: elaborate?
<Aeyrix> Sec
wallerdev_ has joined #ruby
<Aeyrix> Getting run over
spider-mario has joined #ruby
mrsolo has joined #ruby
<tejasmanohar> /quit
tejasmanohar has quit [Quit: WeeChat 1.1.1]
startupality has quit [Quit: startupality]
einarj has quit [Ping timeout: 244 seconds]
* xxneolithicxx always misses all the fun
einarj has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
mello has joined #ruby
kinduff has quit [Quit: leaving]
blackoperat has joined #ruby
baroquebobcat has joined #ruby
qwertme has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> now it's silent again here :(
<ddfreyne> Can't have everything, shevy!
<shevy> just like in #ruby-lang
<jhass> if you try hard enough we can ban you too shevy
<shevy> I got banned for 2 days from #lfs some weeks ago!
<Aeyrix> jhass: akick is noise.
wallerdev_ has quit [Ping timeout: 256 seconds]
mello has quit [Ping timeout: 255 seconds]
<jhass> Aeyrix: claim, I'm waiting for reasoning
<Aeyrix> what
<Aeyrix> get out
arietis has joined #ruby
<pipework> The behaviour of akick is noisy.
<jhass> explain, don't just claim stuff, but arguments behind your claims
<shevy> if he is on #programming
<Aeyrix> sorry, you're not my superior. You want reasoning beyond that go read the atheme documentation.
<shevy> we could unban him, and re-invite him here to :>
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Aeyrix> And especially don't ask for it like that.
Xiti has joined #ruby
<shevy> we should learn from #haskell
<shevy> they talk about monads all day long
<eam> shevy: you're a monad
<pipework> shevy: I don't think we can go back into obscurity that easily.
<Aeyrix> Yeah but that's functional programming shevy.
<Aeyrix> Nobody wants to learn about that.
<Aeyrix> LOL
<shevy> and in their dreams, they think about catching the schroedinger cat in a monad
<ddfreyne> Dysfunctional programming is my kind of style.
gluten_hell has joined #ruby
<pipework> For such a busy channel, the most appropriate course of action is approximately 2 masks if they aren't authed to nickserv.
<shevy> Aeyrix it's true, somehow I failed to get some "aha" moment with functional programming so far. Perhaps I need to try harder
arietis has quit [Client Quit]
<shevy> ddfreyne lol
<Aeyrix> shevy: I'm in the same boat. If it clicks, let me know what you were reading.
<jhass> pipework: doesn't seem to explain why it's noisy either?
<shevy> well they are using some catchy phrases
<pipework> You may end up banning a subnet or two of addresses for a time for a persistent annoyance.
<shevy> "side-effect free programming"
<Aeyrix> jhass: ( ._.)
_ixti_ has quit [Ping timeout: 246 seconds]
<Aeyrix> jhass: It's in the first sentence.
<Aeyrix> "Akick, also known as auto kick, will remove a user or host from the channel constantly."
<Aeyrix> AKICK + Autorejoin = ?
<eam> jhass: the angle is to harass by generating noise and attention
<pipework> jhass: The way it behaves is that it bans people who try to join when they try to join if they try to join.
<Aeyrix> Solve for ?.
edwinvdgraaf has quit [Remote host closed the connection]
<pipework> Not sure what I could say that isn't in the atheme docs for akick, really.
<Aeyrix> >still using Atheme
<jhass> as said, we set a nick and an IP akick
<Aeyrix> >year of our lord 3020 - 1005
<Aeyrix> jhass: ...?
<Aeyrix> Use +b.
edwinvdgraaf has joined #ruby
<jhass> which we would directly set as +b too
<pipework> Just use /mode +b and forget the akick.
<pipework> IRC isn't this hard. :(
<shevy> now you guys have an even longer discussion about it than the prior kick-messages ;)
<Aeyrix> Using +b manually means I can't autorejoin with a proxy cycle and flood the channel with bullshit.
<Aeyrix> #science
<jhass> no, we want reliable expiration
bosma is now known as Bosnia
<pipework> jhass: Write a bot.
<shevy> he did!!!
<jhass> bots break
<pipework> One that doesn't use akick.
<pipework> jhass: Write a better bot.
<shevy> hehehe
wildroman2 has joined #ruby
wildroman3 has quit [Read error: Connection reset by peer]
<demophoon> +b lists get long and can fill up, then what do you do?
GriffinHeart has joined #ruby
<eam> expiry is pretty simple to handle, ircd will tell you how old your bans are
<jhass> we've been using akick through the bot for over a good month now, that's while we're under increased trolling
nateberkopec has joined #ruby
<Aeyrix> demophoon: You move to a network that isn't shit tier and has a cap on ban lists.
<pipework> A chum and I hacked a neat distributed IRC bot together in an afternoon.
Cache_Money has quit [Quit: Cache_Money]
<eam> if you're depending on the bot to ban it's not unreasonable to assume it's also working to prune old bans
towski_ has joined #ruby
<jhass> it's interesting that you only started to complain once I mentioned that it uses akick behind the scenes
<pipework> jhass: If your answer is that you're just going to ignore the advice, then I can't halp you in your preferred ignorance.
<eam> jhass: I think they're complaining because it generates a ton of spam
<pipework> I haven't complained about trolls in a long while, that's probably the coincedence.
<eam> I'm not telling you what to do mind you, but I also do find it obnoxious
<Aeyrix> To clarify, I'm not even complaining.
wildroman2 has quit [Remote host closed the connection]
<Aeyrix> I'm just stating there is a better way, and this current way is vulnerable to what can be described as reflected flooding.
<pipework> Generally, people who op tend to be pretty opinionated on what's best when doing op-related things.
<jhass> +b has clear drawbacks, expiration is less reliable, the ban list limit is reached faster
<pipework> If akick is the desired behaviour, no worries.
<pipework> jhass: You know who reaches that ban list limit? #ubuntu and then very few others.
workmad3 has joined #ruby
<Aeyrix> >the ban list limit
<jhass> we recently reached the limit
<pipework> It's reset once a year anyways.
<pipework> jhass: You didn't clear old bans?
<Aeyrix> networks still have a ban list limit in 2015?
<jhass> I did
Ropeney has joined #ruby
<jhass> but tbh I'm also about the only op that cleans it up from time to time, which is why we want expiration
chipotle has quit [Quit: cheerio]
<Aeyrix> Don't you have a bot?
<jhass> yes, but ChanServ is a lot more reliable and tested than that
<jhass> especially since the bot is new
<pipework> I guess the request for less noise is being denied then. Good luck with op'ing!
<jhass> and tbh I still don't quite follow, ChanServ doesn't even need a join/part, or an op/unop, like the bot would
Takle has quit [Remote host closed the connection]
<Aeyrix> ChanServ is also discontinued software.
workmad3 has quit [Ping timeout: 256 seconds]
<jhass> https://github.com/freenode/atheme last commit April 17
scripore has quit [Quit: This computer has gone to sleep]
<Aeyrix> LOL THEY FORKED IT
<Aeyrix> Oh Freenode, you're so cute.
<Aeyrix> jhass: Read the readme, mate.
<Aeyrix> Come on buddy, get it together.
<shevy> :(
<shevy> "To this end, we will maintain Atheme 7.2 as a suitable base for forking until October 31, 2015, with all services terminating on October 31, 2016."
<pipework> Pls read
<shevy> IRC is dying!
<Aeyrix> R I P
<Aeyrix> to the services you used to be
<Aeyrix> your days are over
<jhass> well, doesn't mean it's bad
<Aeyrix> baby it's over
<shevy> we may be here for the last year
<Aeyrix> shevy: Nah, there's work on new stuff.
<Aeyrix> Also Anope.
<jhass> or it will suddenly stop working beyond that date
<Radar> jhass: neat :)
<shevy> I expect the worst
<Aeyrix> jhass: Oh you've never met the Atheme devs, have you?
<shevy> before #ruby-lang and #ruby can be merged
<Aeyrix> They'll probably release a 0day.
<shevy> freenode will die ...
shadoi1 has joined #ruby
scottstamp has joined #ruby
serivich has joined #ruby
longfeet has joined #ruby
<jhass> Aeyrix: want my honest opinion? I think you're the type that desperately seeks reasons to claim loudly how shitty everything people do is
<shevy> hmm they don't note down there on that readme what they are working now
einarj has quit [Ping timeout: 272 seconds]
<shevy> *working on now
shadoi1 has quit [Client Quit]
<Aeyrix> jhass says, claiming that nobody can code a bot capable of tracking the time.
<Aeyrix> shevy: They aren't.
<pipework> jhass: My honest opinion at the moment is that you seem to be desperately refusing to accept that maybe your approach wasn't best and you don't sound remotely interested in exploring the possibility that there are other people here who just know better.
<jhass> uhm, I say we use ChanServ because we trust it's very capable of that
<Aeyrix> They abandoned Tethys, the new version of Charybdis (which ircd-seven, freenode's base).
<Aeyrix> jhass: No.
<pipework> Just a thought.
Rickmasta has joined #ruby
<shevy> ircd-seven hmm
<Aeyrix> *shrugs*
<Aeyrix> w/e
<eam> here's a thought, the discussion about how to manage this channel is now generating more offtopic spam than the troll was
<jhass> it might be the 4 hours of sleep I had today, but I honestly don't understand the claim that it's more noisy than the alternatives
<Aeyrix> I don't really care.
failshell has joined #ruby
<pipework> eam: And complaining about complaining is only adding to that!
<Aeyrix> I just suggested a better way but jhass took it as a personal attack.
BTRE has quit [Quit: Leaving]
<shevy> you guys are still at it!
<Aeyrix> I apologise, jhass, for considering that you might not be the ultimate font of knowledge about IRC.
chipotle has joined #ruby
<Aeyrix> It's not like I've been working with it at a protocol level for six years.
<pipework> jhass: It is measurably noisier. I don't care to prove it to you, but I will leave you with this phrase, "Flood joins", and hope you reach some enlightenment on the issue.
<shevy> come on guys
<Aeyrix> shevy: Both of us are done now.
<Aeyrix> Clearly we know less.
jenrzzz has quit [Ping timeout: 265 seconds]
<jhass> Aeyrix: you feel personally attacked by me, so I won't enforce it personally, but I'd like you to remind you of our channel rules http://ruby-community.com/pages/user_rules Don't even discuss, I'll put you on ignore now, too tired of your attitude
<Aeyrix> there it is
<Aeyrix> the channel rules
<Aeyrix> also no jhass
<Aeyrix> it was the other way around
<Aeyrix> :x
wildroman2 has joined #ruby
<pipework> Your channel, your rules. Too bad the ops here aren't aware of freenode's policy on catalysts. :(
<Aeyrix> Too bad jhass can't read.
<eam> some really unfortunate personalities on display here
<Aeyrix> I clearly said *he* felt attacked, not me.
<Aeyrix> pipework: Maybe the channel should move to EsperNet.
<pipework> Aeyrix: It's not really something that can be done officially without ruby-lang.org being changed to reflect that.
KC9YDN has joined #ruby
KC9YDN has joined #ruby
<Aeyrix> pipework: I was being sarcastic, have you actually used EsperNet?
<pipework> But surely other networks might have such channels.
jenrzzz has joined #ruby
<pipework> Aeyrix: Nope, can't say I have.
<Aeyrix> Nobody can suggest that network in good conscience.
baweaver has quit [Remote host closed the connection]
<shevy> You did!
<pipework> I've had a good time with undernet and a couple small networks, but freenode is usually where I hang out.
<Aeyrix> shevy: Not in good conscience! :D
<Aeyrix> pipework: Undernet. \o/
<al2o3-cr> why can't i have unless here: URI.extract(data, /http|https/).map {|url| Nokogiri(open(url)).title rescue nil }.select {|url| unless url.nil? }
<shevy> I only used to know GalaxyNet. Lots of people from Singapore, writing in singlish-chinese mixed variant.
<pipework> al2o3-cr: Because you don't need it.
<Aeyrix> EFNet / Undernet / Freenode / Rizon
<al2o3-cr> pipework: what just url.nil?
<shevy> al2o3-cr you can reformulate anyway; select or reject; and rather than unless, use ! or no !
<Aeyrix> plus my own smaller net
<al2o3-cr> shevy: ah lemme try
<pipework> Change the block for the select to {|url| url }
<pipework> or switch to #reject {|url| url.nil? }
<shevy> yeah
<al2o3-cr> pipework: ok
<shevy> select is even shorter
<shevy> or .compact actually
<shevy> hmm
<al2o3-cr> ah reject did no thinking thanks pipework shevy
<al2o3-cr> *it
<shevy> \o/
<pipework> Aeyrix: I guess I have shortly joined EFNet before.
<pipework> shevy: #compact doesn't get rid of all falsy objects though.
DEA7TH has quit [Ping timeout: 264 seconds]
<xxneolithicxx> to javascript or not to javascript, thats the new ugly question
willharrison has quit [Read error: Connection reset by peer]
<pipework> xxneolithicxx: But job requires 25 years of JS experience.
<xxneolithicxx> lol
<xxneolithicxx> lmao
<xxneolithicxx> that was too funny for no reason
Igorshp_ has quit [Remote host closed the connection]
aphprentice has quit [Remote host closed the connection]
mmazing has quit [Ping timeout: 255 seconds]
<pipework> xxneolithicxx: It was meant to be depressing. :(
<shevy> lol
<shevy> 25 years was too much to sound depressing
<bootstrappm> i missed all the fun / noise too
<shevy> yeah
<shevy> now it's so quiet again
<xxneolithicxx> i have to learn nodejs and as i was googling, i was like damn, the amount of Javascript around here is just too damn high
<shevy> javascript is killing ruby xxneolithicxx
<xxneolithicxx> .js this .js that
<bootstrappm> IMO it was a mixture of condescension and stubbornness from a hurt ego, glad its over
St1gma has quit [Remote host closed the connection]
<bootstrappm> though the condescension is more irritating to tell you the truth
<pipework> io.js is nice though
<bootstrappm> javascript + node is fun .... just not for everything
<pipework> As far as reactor-based noise goes.
finisherr has quit [Quit: finisherr]
scripore has joined #ruby
Soda has quit [Remote host closed the connection]
elfuego has joined #ruby
lsmola has joined #ruby
<dorei> javascript is a monument of backward compatibility stupidity
<Radar> dorei: Do you have any opinions about JS you would like to share? I am sensing this might be the case.
mrmargolis has joined #ruby
martin_work has joined #ruby
<Aeyrix> Dart is better.
<bootstrappm> surprising how much JS comes up in this channel
<Aeyrix> Rails.
<bootstrappm> Potatoes.
<shevy> lol
<pipework> Mmm dart is so cool.
TheNet has joined #ruby
<shevy> Dart is the best thing ever.
<pipework> They're all, "Nah, you don't need to worry about cross-browser. We'll take care of that." Signed, the best core team ever.
dru` has joined #ruby
<xxneolithicxx> ^ exactly why i stayed away from web development
<xxneolithicxx> oh your CSS works in this browser but not that one... good luck with that buddy
<Aeyrix> That's why we use shitty JS hacks.
<Aeyrix> OBVIOUSLY
<pipework> If I wasn't preoccupied with drinking away the depression that comes with not enough places using dart, I'd use the money I spend on booze to singlehandedly keep the gift basket industry afloat with baskets being sent to the core team on the daily.
<Aeyrix> lmao
<bootstrappm> had a friend at my ex job that was a maaaster of CSS, new all the browser hacks
* Aeyrix is well versed in that horrible labyrinth.
DerisiveLogic has joined #ruby
TheNet has quit [Client Quit]
<xxneolithicxx> it almost feels like a gravitation to less and less sophisticated languages in the hopes of boosting coding productivity among so so coders
thiagovsk has quit [Quit: Connection closed for inactivity]
mrmargolis has quit [Ping timeout: 276 seconds]
spyderman4g63 has joined #ruby
nateberkopec has quit [Quit: Leaving...]
spyderman4g63 has quit [Client Quit]
bronson has joined #ruby
juanpaucar has quit [Remote host closed the connection]
ravenreborn has quit [Ping timeout: 245 seconds]
juanpaucar has joined #ruby