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/
serivich has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OtterCoder has quit [Ping timeout: 256 seconds]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
veduardo has quit [Ping timeout: 245 seconds]
rubie has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
failshell has joined #ruby
pengin has quit [Remote host closed the connection]
freerobby has joined #ruby
Igorshp has quit [Remote host closed the connection]
scripore has joined #ruby
Igorshp has joined #ruby
fujimura has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
zendrix has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
<dfockler> Hey! Ctags! It's pretty nice
baroquebobcat has quit [Quit: baroquebobcat]
CloCkWeRX has joined #ruby
mberk has joined #ruby
_seanc_ has joined #ruby
fujimura has quit [Ping timeout: 265 seconds]
n80 has quit [Read error: Connection reset by peer]
MatthewsFace has joined #ruby
bb010g has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
HotCoder has quit [Read error: Connection reset by peer]
zendrix has joined #ruby
rubie has joined #ruby
BanzaiJoe has quit [Ping timeout: 240 seconds]
<shevy> _cake you could write some ruby scripts to control mplayer and sort on the files before sending it to mplayer :)
dfockler has quit [Remote host closed the connection]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrsolo has quit [Quit: Leaving]
Torrieri has quit [Quit: Be back later ...]
ddarkpassenger has quit [Quit: Leaving]
chussenot has quit [Quit: chussenot]
DEA7TH has quit [Ping timeout: 250 seconds]
sleungcy has joined #ruby
Rickmasta has joined #ruby
quimrstorres has quit [Remote host closed the connection]
rkazak has joined #ruby
freerobby has quit [Quit: Leaving.]
dfockler has joined #ruby
quimrstorres has joined #ruby
HotCoder has joined #ruby
xxneolithicxx has quit [Ping timeout: 255 seconds]
dfockler has quit [Remote host closed the connection]
dorei has quit [Remote host closed the connection]
Eddieh_ has quit [Quit: Textual IRC Client: www.textualapp.com]
IanVorn has joined #ruby
IanVorn has quit [Max SendQ exceeded]
failshell has joined #ruby
IanVorn has joined #ruby
Cache_Money has joined #ruby
uri_ has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
casadei has joined #ruby
charliesome has joined #ruby
jackjackdripper has joined #ruby
blackmesa has quit [Quit: WeeChat 1.2]
jgpawletko has joined #ruby
rickrobs has quit []
Alayde has quit [Ping timeout: 250 seconds]
marr has quit [Ping timeout: 276 seconds]
casadei has quit [Remote host closed the connection]
quimrstorres has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
jwaldrip__ has quit [Quit: Lingo: www.lingoirc.com]
kinduff has quit [Ping timeout: 276 seconds]
workmad3 has joined #ruby
bkxd has joined #ruby
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has quit [Ping timeout: 256 seconds]
Ohga has joined #ruby
greenbagels has joined #ruby
Musashi007 has joined #ruby
Ohga has left #ruby [#ruby]
oo_ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
ritemeow has quit [Quit: Page closed]
robustus has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
keen___________5 has joined #ruby
freerobby has joined #ruby
niftylettuce has quit [Quit: Connection closed for inactivity]
Fooster has quit [Ping timeout: 258 seconds]
keen___________4 has quit [Ping timeout: 256 seconds]
freerobby has quit [Client Quit]
robustus has joined #ruby
jhooker has joined #ruby
jackjackdripper1 has joined #ruby
mase-chatter has quit [Quit: Leaving]
freerobby has joined #ruby
transiency has joined #ruby
jackjackdripper2 has joined #ruby
baweaver has joined #ruby
DrBojingle has quit [Ping timeout: 250 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Ping timeout: 272 seconds]
ebbflowgo has joined #ruby
DrBojingle has joined #ruby
<Aeyrix> I actually did that, for my home media system.
<Aeyrix> I wrote a couple of integrated ruby apps + a web app to control it, and it passes it to wherever I choose.
jackjackdripper1 has quit [Ping timeout: 256 seconds]
<Aeyrix> Three endpoints, because I need sound in my house all the time.
aeontech has quit [Quit: aeontech]
Cache_Money has quit [Quit: Cache_Money]
mrsolo has joined #ruby
chipotle has joined #ruby
jgt1 has joined #ruby
pdoherty has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
mcclurmc_ has joined #ruby
deric_skibotn has quit [Ping timeout: 265 seconds]
jstanton has joined #ruby
jgt has quit [Ping timeout: 250 seconds]
mcclurmc has quit [Ping timeout: 244 seconds]
transiency has quit [Read error: Connection reset by peer]
_seanc_ has quit [Quit: _seanc_]
transiency has joined #ruby
CloCkWeRX has left #ruby [#ruby]
jenrzzz has quit [Ping timeout: 255 seconds]
sdwrage has joined #ruby
ixti has quit [Quit: WeeChat 1.2]
lucyinthesky has joined #ruby
<lucyinthesky> oh my
<lucyinthesky> tsou, hello
jhooker has quit [Ping timeout: 265 seconds]
jhooker has joined #ruby
allomov has joined #ruby
duderonomy has quit [Ping timeout: 244 seconds]
Brothmars has quit [Quit: Be back later ...]
Torrieri has joined #ruby
Torrieri has joined #ruby
<shevy> Aeyrix is it possible to peek at your source?
paulcsmith has joined #ruby
<Aeyrix> shevy: I don't have it with me.
<Aeyrix> It's on a private git repo because it was only meant to be a personal project.
mberk has quit [Remote host closed the connection]
allomov has quit [Ping timeout: 264 seconds]
RegulationD has quit [Remote host closed the connection]
paulcsmith has quit [Client Quit]
zendrix has quit [Ping timeout: 246 seconds]
sigden has joined #ruby
AndroidLoverInSF has joined #ruby
unreal has joined #ruby
FernandoBasso has quit [Quit: leaving]
ant_lion has joined #ruby
unreal_ has quit [Ping timeout: 264 seconds]
<shevy> haha https://github.com/rdoc - now that logo is actually really cute
<baweaver> drbrain must have done it
jstanton has quit [Ping timeout: 272 seconds]
dgutierrez1287 has joined #ruby
<shevy> lol
<shevy> you must be right... he also has another unicorn logo https://github.com/drbrain
ant_lion has left #ruby [#ruby]
vikaton has quit []
rubie has quit [Remote host closed the connection]
mooe has quit [Quit: Connection closed for inactivity]
DrBojingle has quit [Ping timeout: 264 seconds]
mrmargolis has joined #ruby
jhooker has quit [Ping timeout: 250 seconds]
c355E3B has quit [Quit: Connection closed for inactivity]
<Ox0dea> Aeyrix: You... lost access to the repo?
Mia has quit [Read error: Connection reset by peer]
<Aeyrix> Ox0dea: It's an offline repository, deliberately.
pontiki has joined #ruby
GriffinHeart has joined #ruby
<Ox0dea> >> n = 65213267258849250 and 8.times.reduce('') { |s| n, b = n.divmod(128); s << b }
<ruboto> Ox0dea # => "bollocks" (https://eval.in/375830)
<Aeyrix> Clever.
awheeler has joined #ruby
AndroidLoverInSF has quit [Ping timeout: 255 seconds]
awheeler has quit [Client Quit]
baweaver has quit [Remote host closed the connection]
nonparfumee has joined #ruby
<pontiki> well played, that!
Brothmars has joined #ruby
rovnero has quit [Ping timeout: 240 seconds]
Brothmars has quit [Client Quit]
Maxed has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Maxed has quit [Client Quit]
amystephen has joined #ruby
LMity has joined #ruby
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
serivichi has joined #ruby
serivich has quit [Ping timeout: 272 seconds]
Musashi007 has quit [Quit: Musashi007]
max--1 has quit [Ping timeout: 276 seconds]
balazs has joined #ruby
<Aeyrix> This is simultaneously the most idiotic and most brilliant idea I've seen this week.
oo_ has quit [Remote host closed the connection]
<shevy> oh dear
bruno- has joined #ruby
bogdanteleaga has quit [Ping timeout: 272 seconds]
Brozo has joined #ruby
jackjackdripper has joined #ruby
balazs has quit [Ping timeout: 258 seconds]
bkxd has quit [Ping timeout: 264 seconds]
fujimura has joined #ruby
datanoise has quit [Ping timeout: 276 seconds]
jackjackdripper2 has quit [Ping timeout: 272 seconds]
Joufflu has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
caseypat_ has joined #ruby
LMity has quit [Ping timeout: 264 seconds]
bogdanteleaga has joined #ruby
vikaton has joined #ruby
failshell has quit []
rubie has joined #ruby
serivichi has quit [Ping timeout: 244 seconds]
heftig has quit [Read error: Connection reset by peer]
fujimura has quit [Ping timeout: 272 seconds]
heftig has joined #ruby
nateberkopec has quit [Quit: Leaving...]
caseypatrickdris has quit [Ping timeout: 256 seconds]
krz has joined #ruby
yqt has quit [Ping timeout: 276 seconds]
oo_ has joined #ruby
bricker has quit [Ping timeout: 258 seconds]
gambl0re has joined #ruby
caseypat_ has quit [Ping timeout: 265 seconds]
dseitz has joined #ruby
tkuchiki has joined #ruby
Agoldfish has quit [Quit: G'Bye]
victorkohl has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
victorkohl has quit [Max SendQ exceeded]
jackjackdripper has joined #ruby
victorkohl has joined #ruby
rbowlby has quit [Remote host closed the connection]
victorkohl has quit [Max SendQ exceeded]
victorkohl has joined #ruby
victorkohl has quit [Max SendQ exceeded]
msnyon has quit [Quit: Textual IRC Client: www.textualapp.com]
victorkohl has joined #ruby
tryordie has joined #ruby
<tryordie> first time on irc
<pontiki> i think that is absolute sublime lunacy. that's at least at the second highest form of the art
<pontiki> welcome, tryordie
Musashi007 has joined #ruby
adefa has quit [Ping timeout: 272 seconds]
<pontiki> my night is now made, between Ox0dea and Aeyrix
<tryordie> thans
<tryordie> thank
<Aeyrix> pontiki: What'd I do?
<pontiki> you showed us RedditStorage!
<Aeyrix> o rite
<Aeyrix> i do good things some times
<Ox0dea> >> n = 65213267258849250 and 8.times.reduce('') { |s| n, b = n.divmod(128); s << b }
<ruboto> Ox0dea # => "bollocks" (https://eval.in/375831)
<Ox0dea> ^_^
<pontiki> indeed. kudos
<Aeyrix> ^.^
<Ox0dea> <3
<tryordie> I'm here now, where are the endless resources
<tryordie> I've heard great things about irc
<Aeyrix> It's pretty good.
<Aeyrix> I use it to get people to retweet my angst at my ISP.
<pontiki> study that which Ox0dea just showed. when you understand that, enlightenment will be acheived
<Aeyrix> So far so good.
<pontiki> only half-joking on that, too. it's quite a marvel
duderonomy has joined #ruby
chipotle has quit [Quit: cheerio]
krz has quit [Quit: WeeChat 1.0.1]
ebbflowgo has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
_seanc_ has joined #ruby
scripore has joined #ruby
mary5030 has joined #ruby
rubie has quit [Remote host closed the connection]
blue_deref has joined #ruby
postmodern has joined #ruby
rubie has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
jackjackdripper has joined #ruby
dfinninger has joined #ruby
bkxd has joined #ruby
lucyinthesky has left #ruby ["Leaving"]
wallerdev has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
tryordie has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
phutchins has quit [Ping timeout: 265 seconds]
sepp2k has quit [Quit: Leaving.]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
datanoise has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
AndroidLoverInSF has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
dfockler has joined #ruby
claptor has joined #ruby
amystephen has quit [Ping timeout: 264 seconds]
ghr has quit [Ping timeout: 276 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
krz has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
charliesome has quit [Ping timeout: 256 seconds]
Cache_Money has joined #ruby
GGMethos has quit [Quit: WeeChat 1.1.1]
claptor has quit [Client Quit]
dfockler has quit [Ping timeout: 256 seconds]
_blizzy_ has quit [Ping timeout: 265 seconds]
AndroidLoverInSF has quit [Ping timeout: 276 seconds]
AndroidLoverInSF has joined #ruby
goodcodeguy has joined #ruby
willharrison has joined #ruby
Cache_Money has quit [Client Quit]
jenrzzz has joined #ruby
fujimura has joined #ruby
endash has quit [Quit: endash]
bkxd has quit [Ping timeout: 244 seconds]
tubuliferous_ has quit [Ping timeout: 244 seconds]
bkxd has joined #ruby
GGMethos has joined #ruby
workmad3 has joined #ruby
mary5030 has quit [Remote host closed the connection]
arescorpio has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
amclain has joined #ruby
workmad3 has quit [Ping timeout: 246 seconds]
Gulaangga has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
dgutierrez1287 has joined #ruby
maqueli has left #ruby ["Leaving"]
<Gulaangga> is it possible to configure rubyzip to not wrap zipped files into a folder?
victorkohl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<existensil> rubyzip? is that a gem?
<Gulaangga> yep
<Gulaangga> is it bad to ask it here?
uri_ has quit [Ping timeout: 256 seconds]
Guest1526 has joined #ruby
<existensil> maybe someone knows here uses it, but if there is a community around the gem that might be more useful
<existensil> haven't used it before
jackjackdripper has quit [Quit: Leaving.]
tvw has quit [Ping timeout: 276 seconds]
Guest49569 has quit [Ping timeout: 272 seconds]
pdoherty has quit [Quit: Leaving]
mark[oz] has quit [Remote host closed the connection]
NeverDie_ has joined #ruby
NeverDie has quit [Read error: Connection reset by peer]
Jandre has joined #ruby
Jandre is now known as Guest35380
Rickmasta has joined #ruby
<Gulaangga> haha I'm actually being silly
<Gulaangga> it's probably OS X unzips it into 2
<Gulaangga> in folder
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Gulaangga has quit []
AndroidLoverInSF has quit [Quit: Leaving]
bricker has joined #ruby
illium has joined #ruby
vdamewood has quit [Quit: Life beckons.]
ogpastaling has joined #ruby
illium has quit [Changing host]
illium has joined #ruby
rubie has quit [Remote host closed the connection]
rushed has joined #ruby
xxneolithicxx has joined #ruby
fabrice31 has joined #ruby
gianlucadv has joined #ruby
rubie has joined #ruby
mary5030 has quit [Remote host closed the connection]
goodcodeguy has joined #ruby
rubie has quit [Read error: Connection reset by peer]
fujimura has quit [Remote host closed the connection]
balazs has joined #ruby
arup_r has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 240 seconds]
arup_r has quit [Remote host closed the connection]
shock_one has joined #ruby
fujimura_ has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
dopie has joined #ruby
shock_one has quit [Ping timeout: 256 seconds]
illium has quit [Quit: illium]
n80 has joined #ruby
Guest1526 has quit [Ping timeout: 250 seconds]
n80 has quit [Client Quit]
braincra- has quit [Quit: bye bye]
phutchins has joined #ruby
AnoHito has quit [Quit: Leaving]
Spami has quit [Quit: This computer has gone to sleep]
krz has quit [Read error: Connection reset by peer]
krz has joined #ruby
bertocode has joined #ruby
towski_ has quit [Remote host closed the connection]
phutchins has quit [Ping timeout: 256 seconds]
balazs has quit [Remote host closed the connection]
dgutierrez1287 has quit [Remote host closed the connection]
braincrash has joined #ruby
Brozo has quit [Quit: Leaving...]
ramfjord has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
illium has joined #ruby
illium has quit [Changing host]
illium has joined #ruby
ogpastaling has quit [Remote host closed the connection]
ponga has joined #ruby
Rickmasta has joined #ruby
bmurt has joined #ruby
mrmargolis has quit [Remote host closed the connection]
mfranzwa has joined #ruby
balazs has joined #ruby
nickfausnight has joined #ruby
illium has left #ruby ["Good Bye"]
Brothmars has joined #ruby
fujimura_ has quit [Remote host closed the connection]
BanzaiJoe has joined #ruby
fujimura has joined #ruby
baweaver has joined #ruby
mfranzwa has quit [Quit: mfranzwa]
NeverDie_ is now known as NeverDie
A205B064 has quit [Ping timeout: 246 seconds]
fujimura has quit [Ping timeout: 252 seconds]
tubuliferous_ has joined #ruby
transiency has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
mark[oz] has joined #ruby
Spami has joined #ruby
leat has joined #ruby
sleungcy has quit [Quit: Connection closed for inactivity]
mark[oz] has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 244 seconds]
mark[oz] has joined #ruby
jackjackdripper has joined #ruby
m0r0n has quit [Ping timeout: 240 seconds]
bmurt has quit []
jackjackdripper has quit [Client Quit]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
darkf has joined #ruby
metallicrwr has joined #ruby
lfox has joined #ruby
Siciala has joined #ruby
justintv90 has joined #ruby
ramfjord has joined #ruby
leat has quit [Remote host closed the connection]
leat has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
someword1 has joined #ruby
charliesome has joined #ruby
gix has quit [Ping timeout: 256 seconds]
jackjackdripper has joined #ruby
gianlucadv has quit [Ping timeout: 264 seconds]
ponga has quit [Quit: Leaving...]
someword has quit [Ping timeout: 250 seconds]
RegulationD has joined #ruby
michas has joined #ruby
charliesome has quit [Client Quit]
frem has quit [Quit: Connection closed for inactivity]
charliesome has joined #ruby
someword1 has quit [Client Quit]
gix has joined #ruby
shock_one has joined #ruby
<michas> Hi, using Queue it is easy to send objects from one thread to another. is there a similar way to send objects between processes? (for example connected through tcp.)
laurentide has quit [Ping timeout: 265 seconds]
transiency has joined #ruby
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<michas> looks like cod is something like that.
jackjackdripper has quit [Quit: Leaving.]
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
shock_one has quit [Ping timeout: 244 seconds]
mary5030 has joined #ruby
_ht has joined #ruby
ramfjord has quit [Ping timeout: 276 seconds]
ghr has joined #ruby
mary5030 has quit [Ping timeout: 265 seconds]
Zai00 has quit [Quit: Zai00]
fujimura has joined #ruby
kies has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
ESpiney has quit [Ping timeout: 265 seconds]
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
mrsolo has joined #ruby
ghr has quit [Ping timeout: 256 seconds]
gambl0re has quit [Ping timeout: 265 seconds]
<noethics> michas, you mean like RPC?
<noethics> and/or object serialization
mark[oz] has quit [Remote host closed the connection]
mark[oz] has joined #ruby
workmad3 has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
vdamewood has joined #ruby
rbowlby has joined #ruby
psy_ has quit [Remote host closed the connection]
willharrison has joined #ruby
anytimebutnow has joined #ruby
rubie has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
michas has quit [Read error: Connection reset by peer]
jgpawletko has quit [Quit: jgpawletko]
dfinninger has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
dseitz has quit [Quit: biiiiiiiiru]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<Aeyrix> Message queue?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BanzaiJoe has quit []
mrsolo has joined #ruby
ledestin has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
adefa has joined #ruby
iamjarvo has joined #ruby
Channel6 has quit [Quit: Leaving]
greenbagels has quit [Read error: Connection reset by peer]
GnuYawk has joined #ruby
jgt1 has quit [Ping timeout: 272 seconds]
adefa has quit [Ping timeout: 256 seconds]
fabrice31 has joined #ruby
polysics_ has joined #ruby
dling has quit [Read error: Connection reset by peer]
ducklobster has quit [Ping timeout: 252 seconds]
dling has joined #ruby
atmosx_ has joined #ruby
polysics has quit [Ping timeout: 252 seconds]
bkxd has joined #ruby
Mekkis has quit [Read error: Connection reset by peer]
atmosx has quit [Ping timeout: 252 seconds]
Mekkis has joined #ruby
fabrice31 has quit [Ping timeout: 258 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
EllisTAA has joined #ruby
balazs has quit [Remote host closed the connection]
balazs has joined #ruby
<EllisTAA> does anyone know of a gem that will allow me to send tweets from my command line?
bkxd has quit [Ping timeout: 245 seconds]
skade has joined #ruby
bkxd has joined #ruby
zipace has joined #ruby
zipace has joined #ruby
metallicrwr has quit [Quit: WeeChat 1.2]
SalexW has joined #ruby
charliesome has quit [Ping timeout: 265 seconds]
<cscheib> EllisTAA: any rest gem to hit twitter's API directly, or, oddly enough, the twitter gem...
balazs has quit [Ping timeout: 265 seconds]
balazs has joined #ruby
b_hoffman has joined #ruby
swgillespie has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
fedexo has joined #ruby
shock_one has joined #ruby
balazs has quit [Remote host closed the connection]
balazs has joined #ruby
<bkxd> can you believe how good looking the girls in russia? it is insane
aeontech has joined #ruby
<EllisTAA> cscheib: i’m just getting into programming, can you elaborate on what you said, specifically “any rest gem to hit twitter’s api”?
doctorly has joined #ruby
aeontech has quit [Client Quit]
jenrzzz has joined #ruby
bkxd was banned on #ruby by Radar [*!*@168.1.6.26-static.reverse.softlayer.com]
bkxd was kicked from #ruby by Radar [That kind of discussion isn't welcome here.]
b_hoffman has quit [Quit: b_hoffman]
joneshf-laptop has joined #ruby
<Radar> EllisTAA: The "t" gem
shock_one has quit [Ping timeout: 245 seconds]
<EllisTAA> radar thanks
agent_white has joined #ruby
havenwood has joined #ruby
<agent_white> Evenin'
<Radar> hello agr
<Radar> tab complete fail
<Radar> Can you tell it's been a long week?
krz has quit [Ping timeout: 240 seconds]
<agent_white> Radar: Heya, adar! ;D
<Radar> hello agent_white
<agent_white> Hahah. Well at least it's... Friday there, right?
<Radar> Half of monday -> Wednesday == payment gateway failures
<Radar> Yesterday morning: Site goes down for 2 hours
<Radar> Today: Delayed Jobs backed up because nobody knows
<agent_white> D: Oh jesus.
<agent_white> Oh wow...
<Radar> I am giving up on this week as of this very moment.
<Siciala> Radar, Do you work as a full time web dev?
<Radar> I am not doing a single productive thing more until next week.
<Radar> Siciala: I sure do.
kil0byte has joined #ruby
x1337807x has joined #ruby
<Siciala> Radar, I see. Ruby/Rails is what you do mostly?
x1337807x has quit [Max SendQ exceeded]
<Radar> Siciala: Yup.
<Radar> With smatterings of Go here and there
phutchins has joined #ruby
<agent_white> Radar: http://i.imgur.com/irVwt.jpg -- Does this sum it up pretty well?
x1337807x has joined #ruby
<Siciala> Radar, Heh. How is Go for web development, I have never seen it in action really?
<Radar> agent_white: perfect
x1337807x has quit [Max SendQ exceeded]
<agent_white> Hahah
mrmargolis has joined #ruby
<Radar> Siciala: It's not that bad. We're only using it for a very lightweight API at the moment.
aeontech has joined #ruby
x1337807x has joined #ruby
revath has joined #ruby
<Radar> I think I would prefer to write it in Elixir though because I like Elixir's syntax + package management wayyyy better
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
<Siciala> Radar, Oh, another Elixir lover :)
RegulationD has joined #ruby
<Siciala> Radar, It's pretty new though.
ghr has joined #ruby
<Radar> Siciala: It's 3 years old.
A205B064 has joined #ruby
harlen has quit [Quit: Leaving.]
<Radar> But compared with Ruby...
<Siciala> Radar, Yea that's new. And Phoenix is very new.
kil0byte has quit [Remote host closed the connection]
<havenwood> Siciala: 1.0 this summer.
kil0byte_ has joined #ruby
<Siciala> Haven't seen you in #elixir-lang Radar :o
Macaveli has joined #ruby
<Siciala> havenwood, Yep :)
<Radar> Siciala: Because I have enough channels as it is!
<Radar> And I'm not really using it for anything at the moment, just learning it
tuelz2 has quit [Ping timeout: 272 seconds]
roshanavand has joined #ruby
bruno- has joined #ruby
kil0byte_ has quit [Client Quit]
phutchins has quit [Ping timeout: 255 seconds]
kil0byte has joined #ruby
aeontech has quit [Client Quit]
mandarinkins has joined #ruby
leat has quit [Remote host closed the connection]
<Siciala> Radar, Oh okey I see. It seems quite promising I guess. Matz and Joe are very impressed.
mrmargolis has quit [Ping timeout: 258 seconds]
leat has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 244 seconds]
_blizzy_ has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
revath1 has joined #ruby
mdz_ has joined #ruby
balazs has quit [Ping timeout: 255 seconds]
bosma has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 256 seconds]
bricker has quit [Quit: leaving]
revath has quit [Ping timeout: 256 seconds]
kenndel_ has joined #ruby
Igorshp has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
pengin has joined #ruby
kenndel has quit [Ping timeout: 265 seconds]
aganov has joined #ruby
bkxd has joined #ruby
mrsolo has joined #ruby
tubuliferous_ has joined #ruby
* baweaver is using Elixir at work for a Hackathon because he can
transiency has quit [Read error: No route to host]
yfeldblum has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
t_ has joined #ruby
Cache_Money has joined #ruby
nwhirschfeld has quit [Ping timeout: 240 seconds]
rikai has quit [Ping timeout: 240 seconds]
dgutierrez1287 has quit [Ping timeout: 255 seconds]
yfeldblu_ has joined #ruby
hanmac1 has joined #ruby
mdz_ has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mrsolo_ has joined #ruby
jenksy has quit [Ping timeout: 255 seconds]
super has quit [Ping timeout: 265 seconds]
jalcine has quit [Quit: ZNC - http://znc.in]
super has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
rikai has joined #ruby
jack_rabbit has joined #ruby
pengin has quit [Remote host closed the connection]
nwhirschfeld has joined #ruby
sevenseacat has joined #ruby
jenksy has joined #ruby
mrsolo has quit [Ping timeout: 272 seconds]
ramfjord has quit [Ping timeout: 264 seconds]
mandarinkins has quit [Ping timeout: 265 seconds]
allomov has joined #ruby
ur5us has quit [Remote host closed the connection]
tagrudev has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
super has quit [Ping timeout: 265 seconds]
super has joined #ruby
x1337807x has joined #ruby
mandarinkins has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
Igorshp has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
tibig has quit [Ping timeout: 276 seconds]
jack_rabbit has quit [Ping timeout: 240 seconds]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
x1337807x has joined #ruby
sandstrom has joined #ruby
x1337807x has quit [Max SendQ exceeded]
timonv has joined #ruby
kies has quit [Ping timeout: 252 seconds]
x1337807x has joined #ruby
Brothmars has quit [Quit: Lingo: www.lingoirc.com]
mrsolo_ has quit [Quit: This computer has gone to sleep]
tmoor has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 252 seconds]
aganov has quit [Remote host closed the connection]
swgillespie has joined #ruby
swgillespie has quit [Client Quit]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_blizzy_ has quit [Read error: Connection reset by peer]
Ox0dea has quit [Read error: No route to host]
_blizzy_ has joined #ruby
hahuang65 has quit [Ping timeout: 272 seconds]
Axy has joined #ruby
revath1 has left #ruby [#ruby]
jack_rabbit has joined #ruby
speaking1ode has joined #ruby
dudedudeman has quit [Ping timeout: 245 seconds]
MatthewsFace has quit [Remote host closed the connection]
<agent_white> .ws
<agent_white> eep
speakingcode has quit [Ping timeout: 276 seconds]
ebbflowgo has quit [Read error: Connection reset by peer]
Mia has quit [Ping timeout: 265 seconds]
ebbflowgo has joined #ruby
psy_ has joined #ruby
t_ has quit [Remote host closed the connection]
kies has joined #ruby
arescorpio has quit [Quit: Leaving.]
_blizzy_ has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
multi_io has quit [Ping timeout: 264 seconds]
dudedudeman has joined #ruby
krz has joined #ruby
multi_io has joined #ruby
shock_one has joined #ruby
polysics_ has quit [Remote host closed the connection]
leat has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 258 seconds]
kies has quit [Remote host closed the connection]
Igorshp has quit [Remote host closed the connection]
leat has joined #ruby
krz has quit [Ping timeout: 245 seconds]
coderhs has joined #ruby
bastilian has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
roolo has joined #ruby
ghr has joined #ruby
coderhs has quit [Client Quit]
_blizzy_ has quit [Read error: Connection reset by peer]
<shevy> you are telling us all of your secrets right now agent_white
chinmay_dd has joined #ruby
allomov has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
bkxd has joined #ruby
sigden has quit [Ping timeout: 240 seconds]
abuzze has joined #ruby
ramfjord has joined #ruby
allomov has joined #ruby
stardiviner has joined #ruby
sigurding has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
abuzze_ has joined #ruby
allomov has quit [Remote host closed the connection]
jgt1 has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
revath1 has joined #ruby
Guest35380 has quit [Ping timeout: 272 seconds]
revath1 has left #ruby [#ruby]
<agent_white> I noe :(
bkxd has quit [Ping timeout: 272 seconds]
abuzze has quit [Ping timeout: 256 seconds]
<agent_white> You know know how I resize windows in irssi... soon I'll be accidentally sending in my dental records, SSN... etc.
c0m0 has joined #ruby
<agent_white> now know*
aapole has joined #ruby
Vile` has quit [Ping timeout: 256 seconds]
kerunaru has joined #ruby
Vile` has joined #ruby
<Siciala> This is hilarious, from the set.rb file
<Siciala> Look at the block.
<EllisTAA> From a programmers (as compared to an engineers) perspective, is it safe to say that REST just means you use GET / POST variables? And a RESTful API means a library that uses GET / POST vars?
<sevenseacat> err... no.
DoubleMalt has joined #ruby
adefa has joined #ruby
codecop has joined #ruby
codecop_ has joined #ruby
<EllisTAA> thanks both of u
GriffinHeart has joined #ruby
<baweaver> uh oh, someone came up with a tutorial that gets into monads again: https://medium.com/@KamilLelonek/functional-programming-with-ruby-2-2-c711a2db415c
<baweaver> reading now, I'll mention if it's any good.
<baweaver> First part is decent at least.
amclain has quit [Quit: Leaving]
SOLDIERz has joined #ruby
<shevy> damn
<shevy> monads in ruby?
rbowlby has quit [Remote host closed the connection]
<baweaver> It's possible, just ill advised without some static typing
<zenspider> shevy: tom stuart gave a really good talk on monads in ruby at gogaruco
<zenspider> prolly the best I've seen on monads (tho I _am_ biased against, so)
<baweaver> zenspider: the article references it :P
psy_ has quit [Ping timeout: 276 seconds]
<zenspider> good. he does REALLY good shit all around
<baweaver> I'll watch it in a sec
EllisTAA has quit [Quit: EllisTAA]
<baweaver> reading through the rest of the article first.
adefa has quit [Ping timeout: 276 seconds]
jalcine has joined #ruby
fujimura has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Ping timeout: 276 seconds]
riotjones has joined #ruby
<zenspider> I thought None/Some came from ML
EllisTAA has joined #ruby
<baweaver> Scala is basically SML on the JVM
pyo_ has joined #ruby
EllisTAA has quit [Client Quit]
j4cknewt has joined #ruby
balazs has joined #ruby
<zenspider> interesting. I never got a good feel from it, but I took a course on ML last october and started to appreciate swift more :)
arup_r has joined #ruby
<baweaver> Giving a pretty lengthy talk on Scala and Spark tomorrow
davedev2_ has joined #ruby
<zenspider> I'm certainly biased against jvm-based languages simply because of startup costs (and I actually worked on the jvm and don't like the instruction set / architecture... but that's a major digression)
<zenspider> which spark?
<baweaver> Apache
davedev24_ has quit [Ping timeout: 256 seconds]
<baweaver> In my case I have no such luck to avoid it
<baweaver> So I embrace the lesser evils
<zenspider> *nod* totally fair
<zenspider> now that I've done ml, I might not dislike scala... tho I'll never be a fan of static typing
<baweaver> depends on your experience with it
<zenspider> *nod*
<baweaver> Java has a crap system for static typing
<zenspider> how do they claim to be THAT much faster than hadoop?
<baweaver> It's lazy
<baweaver> Hadoop is eager which kills its time
zotherstupidguy has joined #ruby
<baweaver> also it operates in straight memory
<zenspider> ah! cheaters. :P
<zenspider> is your talk going to be available anywhere?
<baweaver> blog eventually
<zenspider> cool
<baweaver> I have the slides, I just need to write up on it
rkazak has left #ruby [#ruby]
balazs has quit [Ping timeout: 265 seconds]
<baweaver> about time for a redesign again, fixed elements do odd things in chrome
oo_ has quit [Remote host closed the connection]
<zenspider> hahaha
<zenspider> https://spark.apache.org/examples.html that's amazing
<zenspider> I love how python and scala are a couple chars off from each other
<zenspider> and then... there's java
<baweaver> You want to see why I quit my last job with Hadoop?
hedgecore has joined #ruby
<baweaver> and remember zenspider, that's just a freaking word count. You should see what it did to ETL pipelines
chussenot has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zipace has quit [Ping timeout: 265 seconds]
GnuYawk has quit [Ping timeout: 240 seconds]
hubcaps has joined #ruby
<zenspider> baweaver: idgi... the word count example on my url above is MUCH smaller, even in java
<zenspider> why would someone WANT that?
<baweaver> The same reason they want to use Java I guess
allomov has joined #ruby
<zenspider> no! that's a word count! I needs to be BIGGER
<zenspider> but... it works in this 10 line example...
<zenspider> NO! BIGGER
<baweaver> Functional anything is scary
<baweaver> It needs objects because enterprise and functional is too hard to understand
<baweaver> that was pretty well the exact reason I got
<Nilium> Functional programming really isn't all that much different depending on how far on the purity scale you go.
zipace has joined #ruby
zipace has joined #ruby
<baweaver> even after I rewrote their entire stack over a weekend in both Scala and Clojure (clojure I had just learned) that ended with less than 10% the original code footprint
<baweaver> Nilium: Java is as anti-fp as you can get in terms of hadoop
<Nilium> I do all of my Android stuff in Scala for lack of anything better.
<baweaver> I straight up avoid Java anymore.
<Nilium> Well, I don't use it for anything other than Android, so it's easy to avoid for me
oo_ has joined #ruby
<Nilium> Everything I do at work is either Go or node.js (typically trying to replace the latter with the former where I can because I don't like dealing with node.js)
<Nilium> And most everything I do on my own is either C, C++, Go, or Ruby.
<baweaver> Most of our stack is Java here, so no choice
gauke has joined #ruby
<Nilium> Almost all of ours is PHP. Including cron jobs.
<Nilium> Thankfully, I don't have to touch it.
<Nilium> At least not normally.
<baweaver> I've been a tinge evil at $WORK
<Nilium> The evil I do at work is Go.
<baweaver> I talked to one of our spark devs and asked why he wasn't using Scala
<Nilium> 'Cause I've never asked anyone if I could use it. I just started sneaking it in. >_>
<baweaver> He said no one else was, so I responded by saying I'd work on that
fabrice31 has joined #ruby
dudedudeman has quit [Ping timeout: 240 seconds]
<Nilium> And when it became apparent that the little tools I wrote using Go were doing really well, it was easy to get it in for everything else.
<baweaver> fast forward 3 weeks and they're all in a frenzy, aforementioned dev is convinced I'm evil, and I'm giving an hour long talk on Scala and FP
<Nilium> I also switched us to Git, so I'm just plain awful.
<Nilium> I think I'm supposed to be talking about Git and our new projects and so on tomorrow
Miphix has quit [Quit: Leaving]
<baweaver> That, and my manager said I need to be respected as the go to and mentor for a subject matter to be considered a senior
<baweaver> so I manufactured a domain for myself and established myself as the only person who know it
<Nilium> Well, if you have to game the bureaucracy to shut someone up, so be it.
<baweaver> Promotion one down, now on to senior level! (Probably'll take a bit longer)
nhhagen has joined #ruby
ramfjord has joined #ruby
sarkyniin has joined #ruby
<Nilium> I think my title is just "developer" when people interview with me
<Nilium> I don't know if I have anything more formal than that.
ringarin has joined #ruby
swgillespie has joined #ruby
mrmargolis has joined #ruby
<Nilium> It's just fun when I'm introduced to new hires or interviewees or anyone else, 'cause it's not really clear what team I'm on
<baweaver> At least for now I'm mildly obsessed with gaming the ladder
<Nilium> Plus nobody can really say what it is I do, which makes it even better. "This is Nil, he does.. stuff."
RegulationD has joined #ruby
bayed has joined #ruby
Ox0dea has joined #ruby
Iskarlar has joined #ruby
dudedudeman has joined #ruby
<Ox0dea> Siciala: Could you clarify the humorous part of Set#flatten_merge?
skade has quit [Quit: Computer has gone to sleep.]
polysics has joined #ruby
oo_ has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
oo_ has joined #ruby
mark[oz] has quit [Remote host closed the connection]
rbowlby has joined #ruby
mrmargolis has quit [Ping timeout: 264 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
fujimura has joined #ruby
charliesome has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sigurding_ has joined #ruby
swgillespie has joined #ruby
ereslibre has quit [Read error: Connection reset by peer]
ta has quit [Remote host closed the connection]
ereslibre has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
sigurding has quit [Ping timeout: 265 seconds]
sigurding_ is now known as sigurding
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MatthewsFace has joined #ruby
datanoise has quit [Ping timeout: 256 seconds]
peteykun has joined #ruby
Iskarlar has quit [Quit: Textual IRC Client: www.textualapp.com]
phutchins has joined #ruby
AlexRussia has joined #ruby
doctorly has quit [Ping timeout: 272 seconds]
shortCircuit__ has joined #ruby
<shortCircuit__> hi
rubie has quit [Remote host closed the connection]
<baweaver> first, don't use python indentation style
<baweaver> hard to read
ghr has joined #ruby
<baweaver> second, why are you defining a method inside a method?
Iskarlar has joined #ruby
<shortCircuit__> ok, actually I didn't write this code,I am trying to cleanup ..
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shortCircuit__> its a singleton method of remote_file so that's why I guess
<shortCircuit__> but the actual purpose, idk
doctorly has joined #ruby
<shortCircuit__> I think the one who wrote it was doing javascript that time too :P
<baweaver> They definitely did Python as well.
sfate has joined #ruby
tubuliferous_ has joined #ruby
phutchins has quit [Ping timeout: 256 seconds]
<shortCircuit__> :D , and because of such an indentation my macs auto indent breaks. :
Voyaya has joined #ruby
<baweaver> also to be noted that they never use remote_file
<Voyaya> Why is it so complicated to install Rails..
<sevenseacat> gem install rails?
hanmac has quit [Ping timeout: 256 seconds]
<shortCircuit__> --no-ri
swgillespie has joined #ruby
<Voyaya> sevenseacat, I watched a tut and he went through rvm and such.
<Voyaya> For what reason.
<baweaver> OS?
<Voyaya> Xubuntu
metallicrwr has joined #ruby
<sevenseacat> because debian fucked up all its ruby packages
<metallicrwr> ok um...what's a good project for a newbie?
ghr has quit [Ping timeout: 272 seconds]
<metallicrwr> how about a file server over HTTP using require 'net/http' ?
<sevenseacat> thats not rails specific, thats just ruby
<baweaver> metallicrwr: http://www.projecteuler.net
<Voyaya> sevenseacat, damn..
<metallicrwr> baweaver: NUUU I want that file server1
<Voyaya> sevenseacat, What do I do then? I did try gems but I got Rails 3.2 with that
<baweaver> RVM isn't that bad to install
<metallicrwr> with a system load page
<baweaver> metallicrwr: Then build one
<baweaver> You're already set on a project, making it very odd to ask for others
<sevenseacat> `gem install rails` should give you the latest version of rails, which is 4.2.1
<metallicrwr> ok can you teach me about threads and I/O?
<sevenseacat> lol
<shortCircuit__> can not those lines of code be replaced by a lambda or something.. and would that make sense to do it ?
DrBojingle has joined #ruby
<baweaver> metallicrwr: yes
<Voyaya> sevenseacat, It does not.
<Voyaya> It gives 3
<baweaver> and
<Voyaya> 3.2.16
<sevenseacat> Voyaya: what command did you tun?
<sevenseacat> *run
<metallicrwr> sevenseacat: I'm asking about others because it might be too hard to build that file server
tubuliferous_ has quit [Ping timeout: 245 seconds]
<Voyaya> sevenseacat, gem install rails
<baweaver> Then build something you know how to make?
<sevenseacat> uhhhhh
<sevenseacat> its not, but whatever
<sevenseacat> then try `gem install rails --version 4.2.1`
davidhq has joined #ruby
sandstrom has joined #ruby
<metallicrwr> Gadgetoid: then what do I make? a program that tells how shiny I am?
<baweaver> sevenseacat: might be in a directory with a lockfile
<metallicrwr> even that's too hard
<sevenseacat> baweaver: doesnt matter, theyre using gem, not bundler
<Voyaya> sevenseacat, I think that worked. So I don't need RVM etc?
shock_one has quit []
<sevenseacat> Voyaya: i never said that.
<baweaver> Fair point
<Voyaya> sevenseacat, What would I need it for? I don't even know what it is.
jhooker has joined #ruby
<sevenseacat> you can get away with using apt-installed rubies, for a time, but you'll run into problems eventually.
<sevenseacat> like i said, debian fucked up all its ruby packages.
<Voyaya> sevenseacat, What if I go with Arch?
<sevenseacat> then thats not debian based is i
<sevenseacat> t
<noethics> anyone wanna fight about linux
<Voyaya> sevenseacat, No it's not. But will I be good?
<sevenseacat> do you know how to use arch?
<baweaver> !try
<baweaver> drat
<Voyaya> sevenseacat, I'm linux user for 11 years, of course. I'm new to Ruby and Rails.
blue_deref has quit [Quit: bbn]
<metallicrwr> baweaver: ok so I have to spawn a thread that will wait for a connection and make another thread for a particular file as a request comes in
<metallicrwr> but how?
<noethics> i dont even talk to people who dont use gentoo
bkxd has joined #ruby
<surrounder> must be lonely at the pub
<sevenseacat> then you'll probably be good. i have no idea what arch's repos are like in terms of rubies.
<noethics> what's a pub
<bnagy> noethics: you need a hobby other than trolling on irc
DrBojingle has quit [Ping timeout: 265 seconds]
<baweaver> metallicrwr: I don't intend to guide you through this all
<noethics> bnagy, how is that trolling?
<baweaver> It's over your head
jack_rabbit has joined #ruby
<baweaver> and I already gave you another idea.
<Voyaya> noethics, No sense. Do you even know the reason to use Gentoo?
<noethics> Voyaya, ya
<metallicrwr> baweaver: ok
greenbagels has joined #ruby
<Voyaya> noethics, Give me one reason to use Gentoo over Arch.
<bnagy> take it outside, kids
<bnagy> this isn't the place to have slap fights about linux
<noethics> Voyaya, because you get triple sized balls when you use gentoo
<sevenseacat> lol
<Voyaya> Idiot confirmed.
<sevenseacat> noethics: watch it.
<noethics> :(
<noethics> me?
<noethics> wtf
<sevenseacat> yes, you.
<noethics> im sry sevenseacat but i liked your elixir and phoenix code
<noethics> pls dont band me
<sevenseacat> good to know. that doesnt excuse you from trolling around here.
<sevenseacat> so, just watch it.
jhooker has quit [Ping timeout: 252 seconds]
<noethics> idk how you define trolling but i was clearly kidding
chinmay_dd has quit []
<baweaver> That'll give you more than enough things to look into
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Voyaya> sevenseacat, I read some topics and as you said, everyone using RVM on Debian..
<sevenseacat> noethics: if you dont think the warning applies, then ignore it.
<noethics> yeah i just reread everything, there isn't even a hint of "trolling"
<sevenseacat> Voyaya: RVM or some kind of equivalent, yeah
<baweaver> Rvm, rbenv, and a few others
<sevenseacat> I use ubuntu and I use ruby-install to install rubies, and chruby to switch between them
chipotle has joined #ruby
<sevenseacat> shit, i'm on osx now, i keep forgetting. same deal though.
vdamewood has quit [Ping timeout: 255 seconds]
<bnagy> Voyaya: imho RVM is a baaaaad idea unless you need its extra features
<baweaver> convert! convert! :D
<bnagy> it is anti-unix, fragile and hard to troubleshoot
<metallicrwr> baweaver: Wow thanks!
<baweaver> bnagy: alternatives then?
<noethics> there is an rvm / chruby discussion in here atleast 5 times a day
<bnagy> chruby is the lightest switcher, but I had no problems with rbenv for years
<baweaver> I'm fine with saying something is bad, but suggest an alt if you do.
<bnagy> I don't use ruby-install though, tbh
<sevenseacat> i do. #lazyinstaller
<bnagy> baweaver: I was about to :)
<baweaver> Could make it a ruboto/helper method
<baweaver> fair enough
ponga has joined #ruby
mrsolo has joined #ruby
fujimura has quit [Remote host closed the connection]
<ponga> hi
oo_ has quit [Remote host closed the connection]
<baweaver> bye
hanmac has joined #ruby
<ponga> >> 3/2.to_f
<ruboto> ponga # => 1.5 (https://eval.in/375943)
riffraff has joined #ruby
<baweaver> couldn't help it. Anyways, 'night for me.
<sevenseacat> ponga: IRC isnt IRB.
<Ox0dea> baweaver: Wait.
oo_ has joined #ruby
<Ox0dea> >> a = []; a << a; [a, a.sort]
<ruboto> Ox0dea # => [[[...]], [[[...]]]] (https://eval.in/375944)
<Ox0dea> What's with the different representation of an infinite Array that's had a method called on it?
* baweaver runs for it
<Voyaya> sevenseacat, So in a book I'm reading, it says to install Rails, just "gem install rails -v 4.2.0" as you said. Is this the original way of installing Rails?
ki0 has joined #ruby
<sevenseacat> thats the normal way of installing any gem
<sevenseacat> using the `gem` command
metallicrwr has quit [Quit: WeeChat 1.2]
sarkyniin has quit [Remote host closed the connection]
<sfate> use bundler for god sake..
<Voyaya> sevenseacat, Oh ok. It did seem much more complicated when I was watching the other guy installing it. And you mentioned ruby-install, what is that one for?
doctorly has quit [Ping timeout: 255 seconds]
sandelius has joined #ruby
<sevenseacat> sfate: use bundler for installing rails? what?
livathinos has joined #ruby
<sevenseacat> ruby-install is for easily installing rubies
<Voyaya> Too much nonsense today..
<Voyaya> sevenseacat, Ok thanks :)
solars has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
<sfate> sevenseacat: `echo 'rails' > Gemfile && bundle install` :)
<sevenseacat> lol, thats just pointless
<bnagy> :|
GriffinHeart has joined #ruby
<sevenseacat> also, you would need bundler installed to do that, and how do you install bundler? with gem!
<sevenseacat> any more silly statements to make?
<Ox0dea> I'm using Ruby 0.6. How do I get RubyGems up and running?
badhatter has quit [Ping timeout: 256 seconds]
<jhass> wat
<sfate> o_O
<sevenseacat> :P
<bnagy> Ox0dea: write it! But properly this time! :)
<sfate> seve
k3asd` has joined #ruby
<SalexW> wait what? Ruby 0.6?
<sfate> sevenseacat: yeap, make also is the way)
<sevenseacat> i presume it was a facetious comment given my 'silly statements' comment.
abuzze_ has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
<Ox0dea> sevenseacat: There really was a 0.6, for what that's worth.
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<sevenseacat> figured
LMity has joined #ruby
fujimura has joined #ruby
<ponga> ruby 0.6?
oz has quit [Remote host closed the connection]
leafybasil has quit [Remote host closed the connection]
_seanc_ has quit [Quit: _seanc_]
oz has joined #ruby
marr has joined #ruby
<Ox0dea> Way better than 0.5.
<ponga> omg its written in japanese how on earth u guys supposed to read this?
sdwrage has quit [Quit: This computer has gone to sleep]
<sevenseacat> learn japanese, duh. >_>
baweaver has quit [Remote host closed the connection]
<Ox0dea> Huh, Proc#arity used to be called #argc, apparently.
bruno- has joined #ruby
dumdedum has joined #ruby
<ponga> * ruby.c(proc_options): argcが0の時にも対応. => works now when argc is 0
<ponga> hm
<mozzarella> ッ
Zai00 has joined #ruby
sdwrage has joined #ruby
revath has joined #ruby
<ponga> it always takes me a while to realise that is smile mozzarella
<ponga> ;p
<shortCircuit__> there is tranlate.google.com .. why learn japniz when google learnt that for me
<zotherstupidguy> thats a ri?
<Ox0dea> Tsu.
<ponga> that's tsu
<zotherstupidguy> cool
MatthewsFace has quit [Remote host closed the connection]
<Darkwater> にほんごはすごい!
<Voyaya> sevenseacat, Are there any stuff you should keep in mind when installing Rails or am I good to go once installed?
<ponga> Darkwater, cute
<sevenseacat> Voyaya: just `gem install rails` and you're good to go.
<zotherstupidguy> my japanese teacher kicked me out and told i should try easier things, she made join the dancing group of the culture course instead of the language course
<Voyaya> sevenseacat, Ok great.
<Darkwater> lol
starfox_sf has quit [Ping timeout: 265 seconds]
<ponga> zotherstupidguy: please elaborate, i could easily finish a bag of popcorn for that
Hobogrammer_ has joined #ruby
fedexo has quit [Ping timeout: 265 seconds]
sevenseacat has quit [Quit: Me dun like you no more.]
ghr has joined #ruby
Igorshp has joined #ruby
<ponga> Darkwater: using only hiragana in japanese is considered cute(linguistics-wise)
<ponga> believe it or not ;p
vire has joined #ruby
<Ox0dea> It's indicative of juvenility, no?
LMity has quit [Ping timeout: 265 seconds]
bruno- has quit [Ping timeout: 264 seconds]
<ponga> yeah it is
max--1 has joined #ruby
<Ox0dea> "Jew vanilla tea".
<ponga> u should add 'no offense' lol
mrsolo has quit [Quit: This computer has gone to sleep]
Hobogrammer has quit [Ping timeout: 256 seconds]
<Darkwater> かわいいうぐうー(´°̥̥̥̥̥̥̥̥ω°̥̥̥̥̥̥̥̥`)
kenndel_ has quit [Ping timeout: 244 seconds]
<adaedra> What are all those people speaking japaneese
<adaedra> We merged with #ruby-jp ?
<ponga> that tear is kinda broken and overlaps lines
workmad3 has joined #ruby
<ponga> adaedra: there is #ruby-jp ??
krz has joined #ruby
<ponga> didn't know that til now
<adaedra> Dunno
revath has quit [Ping timeout: 240 seconds]
<ponga> nop
<adaedra> I don't speak japanese
<adaedra> *ee
Jackneill has joined #ruby
leat has quit [Remote host closed the connection]
leat has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
krz has quit [Ping timeout: 255 seconds]
Scroff has joined #ruby
oz has quit [Remote host closed the connection]
<jhass> the japanese are on another network
revath has joined #ruby
oz has joined #ruby
<mozzarella> tons of spiders in this house, I should buy a gun
nofxx__ has joined #ruby
ta has joined #ruby
ahmetkapikiran has joined #ruby
<sfate> flamethrower then
<zotherstupidguy> jhass whats the other newtwork fo the jp?
<jhass> zotherstupidguy: see my link?
<zotherstupidguy> not unless you post it 3 times lol
codecop has quit [Quit: Išeinu]
anisha has joined #ruby
<zotherstupidguy> ok but whats the irc network?
<jhass> I could kick you with it as the kick reason, would that work?
<jhass> common, it's not even written in kanji there
<zotherstupidguy> jhass please dont, #ruby is my favourite place in the whole wide world
nofxx_ has quit [Ping timeout: 252 seconds]
jack_rabbit has quit [Ping timeout: 246 seconds]
<zotherstupidguy> its #ruby-ja
angus has joined #ruby
<jhass> and it's a link.. with an URL and it has some more latin letters in front...
mikecmpbll has joined #ruby
revath has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
<zotherstupidguy> ponga actually i am good friend to the local japan foundation branch(egypt), i even organized welcome and goodbye parties for the officals. i originally joined in because i used to practice Judo and wanted to learn the lang
max--1 has quit [Remote host closed the connection]
IanVorn has joined #ruby
datanoise has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<zotherstupidguy> ponga jf tought me Go(the board game)
<ljarvis> morning
leat has quit [Remote host closed the connection]
leat has joined #ruby
_blizzy_ has quit [Ping timeout: 256 seconds]
revath has joined #ruby
msgodf has joined #ruby
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
doctorly has joined #ruby
mdz_ has joined #ruby
sfate has quit [Ping timeout: 240 seconds]
rubie has joined #ruby
mdz_ has quit [Ping timeout: 265 seconds]
cryptarium__ has joined #ruby
sandstrom has joined #ruby
CloCkWeRX has joined #ruby
aapole has quit [Ping timeout: 240 seconds]
adefa has joined #ruby
j4cknewt has quit [Remote host closed the connection]
cryptarium_ has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
adefa has quit [Ping timeout: 245 seconds]
DoubleMalt has quit [Ping timeout: 272 seconds]
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
snappahead has quit [Quit: WeeChat 1.2]
<zotherstupidguy> ljarvis monring
kstuart has joined #ruby
krz has joined #ruby
withnale_ has joined #ruby
DaniG2k has joined #ruby
quimrstorres has joined #ruby
dgutierrez1287 has joined #ruby
wald0 has joined #ruby
northfurr has quit [Quit: northfurr]
duncannz has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.2]
Trieste has quit [Ping timeout: 272 seconds]
rdark has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
chussenot has joined #ruby
dgutierrez1287 has quit [Ping timeout: 255 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
datanoise has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
Trieste has joined #ruby
Trieste has joined #ruby
chussenot has quit [Client Quit]
quimrstorres has quit [Remote host closed the connection]
A205B064 has quit [Ping timeout: 264 seconds]
njs126 has quit [Ping timeout: 256 seconds]
zotherstupidguy has quit [Client Quit]
bosma has joined #ruby
quimrstorres has joined #ruby
zotherstupidguy has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quimrstorres has joined #ruby
balazs has joined #ruby
spider-mario has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
unclouded has quit [Ping timeout: 256 seconds]
dhjondoh has joined #ruby
balazs has quit [Ping timeout: 255 seconds]
<maloik> I'm trying to test a rake task and created a spec file with two tests in it. I rake_require in a before(:each), define :environment, and then invoke the task in each test. For some reason, it's only executing the rake task once, as evidenced by the fact that I only enter a pry session once where the binding.pry is inside the rake task. Any clues? https://gist.github.com/hannesfostie/9ad6c6d2688e601d387d
banister has joined #ruby
toretore has joined #ruby
<certainty> maloik: why don't you extract the tasks functionality into a class and use that in the rake task
greenbagels_ has joined #ruby
mrmargolis has joined #ruby
mdw has joined #ruby
<maloik> mostly because it was such a tiny task. that said, I'd still love to figure out wth is going on here :D
greenbagels_ has quit [Max SendQ exceeded]
<maloik> (extracting was the next step cause I have a feeling I'm not going to solve this one)
RegulationD has joined #ruby
<apeiros> IMO extracting is always the right thing to do
<certainty> +1
michas has joined #ruby
doctorly has quit [Ping timeout: 244 seconds]
greenbagels has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 245 seconds]
fluter has quit [Read error: Connection timed out]
Akagi201_ has quit [Ping timeout: 258 seconds]
<maloik> yea I will
seal has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
fluter has joined #ruby
Akagi201 has joined #ruby
<maloik> is the behavior something that was to be expected though? I really don't understand why it wouldn't invoke it twice
porkqpain has joined #ruby
maxshelley has joined #ruby
mrmargolis has quit [Ping timeout: 245 seconds]
<maloik> :-)
charliesome has quit [Quit: zzz]
platzhirsch has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
imanzarrabian has joined #ruby
fella7s has joined #ruby
fella6s has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
relix has joined #ruby
troulouliou_dev has joined #ruby
olistik has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
fella5s has joined #ruby
chipotle has quit [Remote host closed the connection]
nofxx__ has quit [Ping timeout: 255 seconds]
chipotle has joined #ruby
fella7s has quit [Ping timeout: 272 seconds]
GriffinHeart has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 256 seconds]
fella6s has joined #ruby
charliesome has joined #ruby
fella5s has quit [Ping timeout: 264 seconds]
krz has quit [Ping timeout: 276 seconds]
t_ has joined #ruby
fella7s has joined #ruby
mdz_ has joined #ruby
vdamewood has joined #ruby
roolo has quit [Remote host closed the connection]
mister_solo has joined #ruby
nofxx__ has joined #ruby
rubie has joined #ruby
fella6s has quit [Ping timeout: 272 seconds]
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fabrice31_ has joined #ruby
qianlima has joined #ruby
mdz_ has quit [Ping timeout: 276 seconds]
bruno- has joined #ruby
chussenot has joined #ruby
rubie has quit [Ping timeout: 265 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
fabrice31 has quit [Ping timeout: 256 seconds]
leafybasil has joined #ruby
fella6s has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
qianlima has quit [Remote host closed the connection]
chussenot has quit [Client Quit]
houhoulis has quit [Remote host closed the connection]
fella7s has quit [Ping timeout: 265 seconds]
DoubleMalt has joined #ruby
qianlima has joined #ruby
kevkev has joined #ruby
charliesome has quit [Quit: zzz]
duncannz has quit [Ping timeout: 252 seconds]
chussenot has joined #ruby
MatthewsFace has joined #ruby
qianlima has quit [Client Quit]
DEA7TH_ has joined #ruby
rbowlby has quit [Remote host closed the connection]
terlar has joined #ruby
dfockler has joined #ruby
workmad3 has joined #ruby
wald0 has quit [Quit: Lost terminal]
starfox_sf has joined #ruby
qianlima has joined #ruby
oo_ has quit [Remote host closed the connection]
davidhq has joined #ruby
davidhq has quit [Client Quit]
dfockler has quit [Ping timeout: 264 seconds]
qianlima has quit [Client Quit]
qianlima has joined #ruby
charliesome has joined #ruby
<qianlima> hello test
chipotle has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
<adaedra> didn't work
nedp has quit [Remote host closed the connection]
starfox_sf has quit [Ping timeout: 264 seconds]
ahmetkapikiran has joined #ruby
davidhq has joined #ruby
qianlima has quit [Client Quit]
<jhass> you scared them away :(
davidhq has quit [Client Quit]
MartinMa has joined #ruby
denver has joined #ruby
micmus has joined #ruby
MartinMa has quit [Client Quit]
MartinMa has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
MartinMa has quit [Client Quit]
martinma4 has joined #ruby
martinma4 has quit [Client Quit]
martinma4 has joined #ruby
intinig has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
n008f4g_ has joined #ruby
martinma4 has left #ruby [#ruby]
martinma4 has joined #ruby
krz has joined #ruby
martinma4 has quit [Remote host closed the connection]
martinma4 has joined #ruby
serivich has joined #ruby
stoffus has joined #ruby
bruno- has joined #ruby
Porfa has joined #ruby
chipotle has joined #ruby
olistik has joined #ruby
keen___________5 has quit [Read error: Connection reset by peer]
ponga has quit [Remote host closed the connection]
Scroff has quit [Remote host closed the connection]
ponga has joined #ruby
keen___________5 has joined #ruby
fabrice31 has joined #ruby
Scroff has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
imanzarrabian has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
granthatcher has joined #ruby
oo_ has quit [Remote host closed the connection]
fella6s has quit [Ping timeout: 265 seconds]
ponga has quit [Ping timeout: 255 seconds]
fabrice31_ has quit [Ping timeout: 256 seconds]
fella5s has joined #ruby
oo_ has joined #ruby
martinma4 has quit [Quit: martinma4]
revath1 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Guest24 has quit [Ping timeout: 272 seconds]
AlexRussia has joined #ruby
martinma4 has joined #ruby
<rdark> anyone know any good maths-centric programming channels?
Akagi201 has quit []
fabrice31 has quit [Read error: Connection reset by peer]
fabrice31_ has joined #ruby
revath has quit [Ping timeout: 255 seconds]
revath1 has left #ruby [#ruby]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timba-as has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
porkqpain has quit [Remote host closed the connection]
Siciala has quit [Ping timeout: 252 seconds]
Voyaya has quit [Ping timeout: 264 seconds]
mandarinkins has quit [Ping timeout: 245 seconds]
c0m0 has quit [Ping timeout: 244 seconds]
mandarinkin has quit [Ping timeout: 256 seconds]
cryptarium__ has quit [Quit: Leaving]
cryptarium has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
mandarinkin has joined #ruby
arup_r has joined #ruby
Zai00 has quit [Quit: Zai00]
fujimura has quit [Remote host closed the connection]
fujimura has joined #ruby
Caius has quit [Quit: ""]
Ca1us has joined #ruby
affenhoden has quit [Quit: leaving]
sandelius has joined #ruby
Rickmasta has joined #ruby
hs366 has joined #ruby
mdw has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
fujimura_ has joined #ruby
fujimura has quit [Read error: Connection reset by peer]
porkqpain has joined #ruby
mandarinkin has quit [Ping timeout: 256 seconds]
fujimura_ has quit [Remote host closed the connection]
serivich has quit [Ping timeout: 265 seconds]
ta has quit [Ping timeout: 258 seconds]
<michas> there was a shell provider offering many rubies to test stuff. Can you help me to remember its name?
<bnagy> not shell, but eval.in does
serivich has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
charliesome has joined #ruby
stamina has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
c0m0 has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
kevkev has quit [Quit: (null)]
mandarinkin has joined #ruby
sigurding has quit [Quit: sigurding]
martinma4 has quit [Remote host closed the connection]
quimrstorres has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timonv has joined #ruby
martinma4 has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
olistik has quit [Remote host closed the connection]
martinma4 has quit [Client Quit]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrmargolis has joined #ruby
skade has joined #ruby
unclouded has joined #ruby
sandelius has joined #ruby
martinma4 has joined #ruby
martinma4 has left #ruby [#ruby]
RegulationD has joined #ruby
martinma4 has joined #ruby
sdothum has joined #ruby
balazs has joined #ruby
mrmargolis has quit [Ping timeout: 252 seconds]
allcentury has joined #ruby
hs366 has quit [Quit: Leaving]
sdothum has quit [Client Quit]
Fooster has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
Iskarlar has joined #ruby
sdothum has joined #ruby
polysics has quit [Read error: Connection reset by peer]
Igorshp has quit [Remote host closed the connection]
fabrice31 has joined #ruby
balazs has quit [Ping timeout: 258 seconds]
relix has joined #ruby
polysics has joined #ruby
jgt1 has quit [Ping timeout: 250 seconds]
<livcd> #sass is silent so i thought i might ask here....
<livcd> can i add a label to selectors somehow via @include so i can target that specific list with other function ?
<livcd> or maybe can i push the names of the selectors that i target via @include to a list that can be then used with other function ?
skade has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
martinma4 has quit [Quit: martinma4]
martinma4 has joined #ruby
phutchins has joined #ruby
martinma4 has left #ruby [#ruby]
<Aeyrix> livcd: Don't think so yo.
jaycee has quit [Quit: Textual IRC Client: www.textualapp.com]
martinma4 has joined #ruby
<Aeyrix> Lol jhass are you referencing that bundler issue every time you commit a bundler version bump?
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tubuliferous_ has joined #ruby
serivich has quit [Ping timeout: 258 seconds]
denver has quit [Ping timeout: 276 seconds]
rodfersou has joined #ruby
yfeldblu_ has quit [Ping timeout: 256 seconds]
dgutierrez1287 has joined #ruby
<livcd> Aeyrix: i imagine when i add @include to a selector it pushes the selector name to a list variable
<livcd> and then i iterate through that list in my function
denver has joined #ruby
<Aeyrix> Are you trying to prove SASS turing complete or something?
armyriad has quit [Ping timeout: 256 seconds]
thelastinuit has joined #ruby
jgt1 has joined #ruby
<livcd> well what i am trying to accomplish is to use the function on a set of selectors which i can target by names
martinma4 has left #ruby [#ruby]
skade has joined #ruby
martinma4 has joined #ruby
<Aeyrix> Not a sass expert, unfortunately. :(
<Aeyrix> I use vanilla CSS a lot more.
<livcd> k np
<livcd> thx for answer anyway :-)
BLuEGoD has quit [Remote host closed the connection]
<livcd> maybe i can try to ask inn #less as well
tubuliferous_ has quit [Ping timeout: 265 seconds]
armyriad has joined #ruby
<livcd> oh there's no less
dgutierrez1287 has quit [Ping timeout: 252 seconds]
martinma4 has left #ruby [#ruby]
jcromartie has joined #ruby
ponga has joined #ruby
olistik has joined #ruby
<Aeyrix> It might be ##less
ahmetkapikiran has joined #ruby
<zenspider> rdark: ##mathematica :)
<rdark> ah yes, those guys
<rdark> it's more of a CS question, but I'll give them a shot
<rdark> thanks :)
<zenspider> what's the q?
oo_ has quit [Remote host closed the connection]
<rdark> I'm comparing an arbitrary number of arrays against each other by doing a bubble-sort-ish algorithm, and wanted to know how to calculate the efficiency of it
chussenot has quit [Quit: chussenot]
BLuEGoD has joined #ruby
<rdark> and how to calculate how many iterations would be required for a given number of arrays
platzhirsch has quit [Quit: Leaving.]
oo_ has joined #ruby
chico26ga has joined #ruby
chico26ga has left #ruby [#ruby]
<olistik> rdark: could you expand this a bit more? "comparing an arbitrary number of arrays against each other by doing a bubble-sort-ish algorithm"
<zenspider> usually you can just look that type of shit up. they're all gonna be fairly related in performance so you just need to find the flavor of your alg
skade has quit [Quit: Computer has gone to sleep.]
<rdark> olistik: so I have an arbitrary number of arrays (of hashes), I want to ensure that a given key within every hash is globally unique
<rdark> zenspider: thanks - that looks v. useful
Trynemjoel has quit [Quit: Quitting]
<zenspider> so assuming your assessment is right, that it is bubble-sort-ish, it'd be in the n^2 family
dgutierrez1287 has joined #ruby
<rdark> yeah - O(n^2) is the classic bubble sort
<olistik> zenspider: that resource looks very nice, thanks for sharing :-)
<zenspider> I literally just googled bubble sort algorithm big o
<zenspider> :)
<zenspider> ok. I should sleep
<zenspider> suns coming up soonish
<olistik> rdark: I second the n^2 cost
Trynemjoel has joined #ruby
justintv90 has quit [Remote host closed the connection]
jokester has quit [Quit: emerge world]
avat has joined #ruby
jgt1 has quit [Ping timeout: 244 seconds]
jokester has joined #ruby
livathinos has quit [Ping timeout: 265 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgpawletko has joined #ruby
_blizzy_ has joined #ruby
<avat> Hey guys, I'm wondering about one thing in rufus-scheduler. Here is the code: https://gist.github.com/ZyzioZiom/e3750aadf57bfb571962 I wrote a question in comment to be more readable
oo_ has quit [Remote host closed the connection]
<Aeyrix> avat: That'll run in 10 days from the scheduler
<Aeyrix> and create an instance of the 'Something' class, passing today's date to the constructor.
<avat> Aeyrix: ok, so the date persists in variable for 10 days, yes?
seal has quit [Quit: Ex-Chat]
<Aeyrix> Yes.
<avat> Thank you :)
<avat> Oh, and I have another. This is in Sinatra post request. When I get another request in these 10 days, variable is overwritten?
fella5s has quit [Read error: Connection reset by peer]
<Aeyrix> It... won't, but I'm not sure if you will be able to process another request while that's locking for 10d.
Scroff has quit [Remote host closed the connection]
Langlands has joined #ruby
artmann has quit [Quit: http://quassel-irc.org - Chatta smidigt. Överallt.]
artmann has joined #ruby
jcromartie has joined #ruby
<avat> Well, 4 post request in a row succeeded
<avat> I'll wait what happens in logs
banister has joined #ruby
c0m0 has quit [Ping timeout: 255 seconds]
serivich has joined #ruby
starfox_sf has joined #ruby
scripore has joined #ruby
fella5s has joined #ruby
nini1249 has joined #ruby
havenwood has joined #ruby
<nini1249> Hey, has anyone used the roda framework?
dionysus69 has joined #ruby
<sandelius> nini1249 yeah, was fun at first but when it started to grow, no.
_blizzy_ has quit [Ping timeout: 265 seconds]
<dionysus69> hey guys how can I get a ruby cloak as I am planning to spend most of my time on ruby development?
<sandelius> nini1249 I'm currently using http://ramverk.org/ (I built it) and it works great for my API's.
starfox_sf has quit [Ping timeout: 264 seconds]
HotCoder has quit [Read error: Connection reset by peer]
<Aeyrix> dionysus69: Don't have.
sarkyniin has joined #ruby
<nini1249> sandelius Thanks, what other frameworks could you recommend for a simple REST api
<havenwood> nini1249: I really like Roda so far. And Jeremy Evans is a fantastic maintainer so the future looks good.
sigurding has joined #ruby
<Aeyrix> nini1249: Sinatra, Volt.
<Aeyrix> Rails with the api gem.
rovnero has joined #ruby
<havenwood> nini1249: I don't think there's a better option.
denver has quit [Ping timeout: 246 seconds]
<sandelius> nini1249 Like you see, it depends on who you ask :)
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<sandelius> But they all will work for you. Just in different ways
<nini1249> havenwood I played around with Roda a while ago and it seemed simple but now im kinda lost
<nini1249> hawenwood I cant even get the sample code from github to work
<havenwood> nini1249: I'd suggest going through and examining each of the plugins if you haven't already.
denver has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<havenwood> nini1249: Can't get it to work? What trouble are you running into?
<nini1249> havenwood I tried to execute the code and the error says undefined method `run' for main:Object (NoMethodError)
<nini1249> havenwood I guess im not runnign it correctly
<havenwood> nini1249: What app are you running?
<havenwood> nini1249: Ah, just the example snippet?
<nini1249> havenwood The simlpe HelloWorld one from github
<nini1249> havenwood yep
last_staff has joined #ruby
Miphix has joined #ruby
nini1249 is now known as nini1294
<havenwood> nini1294: That example is meant to be saved as `rackup.ru` and run with the `rackup` command.
<nini1294> havenwood, Ahh thanks a lot
<havenwood> config.ru
<havenwood> nini1294: config.ru I mean
<havenwood> nini1294: no prob
<havenwood> nini1294: It's what provides the `run`.
_ht has quit [Remote host closed the connection]
_ht has joined #ruby
_blizzy_ has joined #ruby
a346 has joined #ruby
vikaton has joined #ruby
chipotle has quit [Quit: cheerio]
SalexW has quit [Ping timeout: 264 seconds]
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> dionysus69: we don't have cloaks (yet)
<dionysus69> jhass Aeyrix : ok thanks :)
<havenwood> dionysus69: Maybe get a #freenode cloak in the meanwhile. :)
balazs has joined #ruby
<dionysus69> how ? where should I ask for it ? havenwood some people made me fear security cause I dont have ip covered haha
apofis has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nini1294 has quit [Ping timeout: 244 seconds]
<jhass> dionysus69: a cloak will only protect you from the most stupid, it's not really a security feature
krz has quit [Quit: WeeChat 1.0.1]
skade has joined #ruby
Iskarlar has joined #ruby
datanoise has joined #ruby
I has joined #ruby
apofis has quit [Read error: Connection reset by peer]
apofis has joined #ruby
I is now known as Guest89982
last_staff has quit [Ping timeout: 255 seconds]
<havenwood> dionysus69: Just ask in #freenode and they'll set you up.
skade has quit [Client Quit]
<havenwood> dionysus69: But it doesn't hurt. It's easy to request.
c0m0 has joined #ruby
nini1294 has joined #ruby
n008f4g_ has quit [Ping timeout: 245 seconds]
vdamewood has quit [Quit: Life beckons.]
<havenwood> jhass: It's a shame they disabled sasl-tor.
balazs has quit [Ping timeout: 264 seconds]
<havenwood> I'd like that back.
<jhass> yeah
skade has joined #ruby
<Aeyrix> ILLEGAL
<Aeyrix> I don't really have a fear of people on IRC.
leat has quit [Ping timeout: 264 seconds]
<jhass> dionysus69: in other words, if you don't trust your systems enough to be not hacked just because somebody knows their IPs, don't connect them to the internet
<Aeyrix> jhass: Have you not seen the espernet "purges"?
<dionysus69> jhass: haha no I am fine I am on ubuntu :P just a precaution in a world of security
<Aeyrix> o wait you have me on ignore.
mbug has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<adaedra> Too bad!
<Aeyrix> :(
<olistik> rdark: about your key search across your arrays
<Aeyrix> probably deserved it lel
<olistik> if you can build and maintain a dictionary that keeps track of every key available, then your search should be O(1)
adefa has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<olistik> but this largely depends on your context
Guest89982 has quit [Quit: This computer has gone to sleep]
nini1249 has joined #ruby
iamjarvo has joined #ruby
sgambino has joined #ruby
nini1249 has quit [Read error: Connection reset by peer]
Timba-as has quit [Quit: Lingo: www.lingoirc.com]
apofis has quit [Quit: This computer has gone to sleep]
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adefa has quit [Ping timeout: 250 seconds]
mdw has quit [Read error: Connection reset by peer]
nini1294 has quit [Ping timeout: 255 seconds]
sigurding has quit [Quit: sigurding]
dionysus69 has quit [Quit: dionysus69]
nini1249 has joined #ruby
nhhagen has quit [Remote host closed the connection]
pepelui has joined #ruby
nini1249 is now known as nini1294
nhhagen has joined #ruby
AlexRussia has quit [Ping timeout: 256 seconds]
dionysus69 has joined #ruby
webguynow has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chussenot has joined #ruby
e1nh4nd3r has joined #ruby
c355E3B has joined #ruby
dionysus69 has quit [Changing host]
dionysus69 has joined #ruby
IanVorn has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
towski_ has joined #ruby
Iskarlar has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sigurding_ has joined #ruby
apofis has joined #ruby
apofis has quit [Read error: Connection reset by peer]
fabrice31 has quit [Remote host closed the connection]
roolo has joined #ruby
sigurding has quit [Ping timeout: 264 seconds]
sigurding_ is now known as sigurding
apofis has joined #ruby
fabrice31 has joined #ruby
pepelui has quit [Read error: Connection reset by peer]
datanoise has quit [Ping timeout: 245 seconds]
fujimura_ has joined #ruby
sigurding has quit [Client Quit]
Mon_Ouie has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: zzz]
mandarinkin has quit [Ping timeout: 264 seconds]
nickfausnight has quit [Quit: Connection closed for inactivity]
ahmetkapikiran has joined #ruby
roshanavand has quit [Remote host closed the connection]
kil0byte has quit []
dionysus69 has quit [Quit: dionysus69]
fujimura_ has quit [Ping timeout: 264 seconds]
dionysus69 has joined #ruby
AlexRussia has joined #ruby
mister_solo has quit [Ping timeout: 265 seconds]
mandarinkin has joined #ruby
sandelius has quit [Read error: Connection reset by peer]
goodcodeguy has joined #ruby
<daxroc> Afternoon all
charliesome has joined #ruby
Musashi007 has quit [Quit: Musashi007]
towski_ has quit [Remote host closed the connection]
luluapple has quit [Ping timeout: 272 seconds]
<daxroc> Anyone know how to use basic auth with geminabox to upload from the cli? I've tried gem inabox pkg/mha-gem.gem --host http://user:pass@192...:9292
Skelz0r_ has quit [Ping timeout: 272 seconds]
Skelz0r has joined #ruby
DaniG2k has quit [Quit: leaving]
nofxx__ has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
sdwrage has joined #ruby
ESpiney has joined #ruby
sankaber has joined #ruby
fabrice31_ has joined #ruby
luluapple has joined #ruby
mandarinkin has quit [Ping timeout: 250 seconds]
CustosLimen has quit [Ping timeout: 244 seconds]
sandelius has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
symm- has joined #ruby
Zai00 has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
michas has quit [Ping timeout: 256 seconds]
<certainty> hmm lotusrb looks extremely promising
dorei has joined #ruby
k3asd` has quit [Ping timeout: 244 seconds]
yalue has joined #ruby
troulouliou_dev has quit [Ping timeout: 272 seconds]
quimrstorres has quit [Remote host closed the connection]
Guest21934 has quit [Changing host]
Guest21934 has joined #ruby
Guest21934 is now known as daynaskully
gigetoo has quit [Ping timeout: 256 seconds]
yqt has joined #ruby
maxshelley has joined #ruby
<zipace> is there a way to the equivalent of this with open3: someprogram | while read line; dosomethingwith "$line"; done
<zipace> that is, read a programs output (by line), *while* it is running
<zipace> pipes, basically
<jhass> zipace: yup, open3 is the way to go
tubuliferous_ has joined #ruby
apt-get_ has joined #ruby
<zipace> jhass: and open3 actually supports pipes? so I can do `Open3.open3("foo"){|stdin,stdout,stderr,thr| stdout.each_line{...}}`
<zipace> because i admit i haven't actually tested that yet
<jhass> yeah
<zipace> schweet
gigetoo has joined #ruby
kobain has joined #ruby
[k- has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
sarkyniin has quit [Ping timeout: 250 seconds]
tubuliferous_ has quit [Ping timeout: 240 seconds]
Pisuke has quit [Read error: No route to host]
CustosLimen has joined #ruby
mandarinkin has joined #ruby
michas has joined #ruby
phoo1234567 has joined #ruby
leat has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
unshadow has joined #ruby
stan has joined #ruby
allcentury has quit [Ping timeout: 258 seconds]
troulouliou_dev has joined #ruby
adac has joined #ruby
msnyon has joined #ruby
apt-get_ has quit [Remote host closed the connection]
bmurt has joined #ruby
<adac> having "start_date = 1.week.ago" and "end_date = Time.zone.today" ... how to get back the days in between the two dates? I tried like simply: "end_date - start_date" but that gives me an error: "TypeError: expected numeric"
riotjones has quit [Remote host closed the connection]
langland_ has joined #ruby
rubie has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
OrbitalKitten has joined #ruby
revoohc has joined #ruby
nini1294 has quit [Ping timeout: 276 seconds]
DoubleMalt has quit [Ping timeout: 255 seconds]
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> 1.week.ago returns a Time I think?
<jhass> try to_date
Langlands has quit [Ping timeout: 250 seconds]
n008f4g_ has joined #ruby
griffindy has joined #ruby
Langlands has joined #ruby
olistik has quit [Remote host closed the connection]
ESpiney has quit [Read error: Connection reset by peer]
<adac> jhass, to_date works! hwoever I need also to use Time.zone.now
ESpiney has joined #ruby
<jhass> it has the same method...
I has joined #ruby
<adac> jhass, you are right, it also works with Time.zone.today
<adac> thanks a lot!
rubie has quit [Ping timeout: 265 seconds]
I is now known as Guest46677
Rapier- has joined #ruby
<jhass> adac: note that Time.zone and 1.week.ago are ActiveSupport extensions
langland_ has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
<adac> jhass, Oh ok I see!
fabrice31_ has joined #ruby
allcentury has joined #ruby
tuelz2 has joined #ruby
Guest46677 has quit [Client Quit]
lfox has joined #ruby
lfox has quit [Client Quit]
dionysus69 has quit [Ping timeout: 250 seconds]
Scroff has joined #ruby
kerunaru has quit [Quit: Textual IRC Client: www.textualapp.com]
fabrice31 has quit [Ping timeout: 264 seconds]
Zai00 has quit [Quit: Zai00]
dgutierrez1287 has quit [Remote host closed the connection]
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
nonparfumee has joined #ruby
arup_r has quit [Remote host closed the connection]
Fooster has quit [Ping timeout: 258 seconds]
relix has joined #ruby
sdwrage has quit [Ping timeout: 245 seconds]
chipotle has joined #ruby
pepperbreath1 has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
quimrstorres has joined #ruby
jgt1 has joined #ruby
malconis has joined #ruby
e1nh4nd3r has quit [Quit: Leaving.]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pepperbreath has quit [Ping timeout: 272 seconds]
davidhq has joined #ruby
starfox_sf has joined #ruby
jgpawletko has quit [Quit: jgpawletko]
<Aeyrix> certainty: Yeah.
<Aeyrix> RE: Lotus.
davidhq has quit [Client Quit]
datanoise has joined #ruby
sevenseacat has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
krz has joined #ruby
fabrice31 has joined #ruby
riffraff has quit [Quit: Leaving]
sandstrom has quit [Quit: My computer has gone to sleep.]
jgpawletko has joined #ruby
mandarinkin has quit [Ping timeout: 265 seconds]
starfox_sf has quit [Ping timeout: 245 seconds]
IanVorn has joined #ruby
chipotle has quit [Quit: cheerio]
livathinos has joined #ruby
Fooster has joined #ruby
dblessing has joined #ruby
hinbody has joined #ruby
b_hoffman has joined #ruby
rippa has joined #ruby
b_hoffman has left #ruby [#ruby]
livathinos has quit []
troulouliou_dev has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
ahmetkapikiran has joined #ruby
mandarinkin has joined #ruby
dnlbyl has joined #ruby
codecop_ has quit [Remote host closed the connection]
ahmetkapikiran has quit [Client Quit]
arup_r_ has joined #ruby
mrmargolis has joined #ruby
RegulationD has joined #ruby
dawkirst has joined #ruby
dionysus69 has joined #ruby
mister_solo has joined #ruby
apofis has quit [Quit: This computer has gone to sleep]
scripore has quit [Quit: This computer has gone to sleep]
dionysus69 has quit [Client Quit]
c0m0 has quit [Ping timeout: 276 seconds]
charliesome has quit [Quit: zzz]
RegulationD has quit [Ping timeout: 264 seconds]
scripore has joined #ruby
lavros has joined #ruby
segfalt has joined #ruby
iamjarvo has joined #ruby
bkxd has joined #ruby
stoffus has quit [Quit: leaving]
datanoise has quit [Ping timeout: 265 seconds]
dhjondoh has quit [Quit: dhjondoh]
fluter has quit [Ping timeout: 245 seconds]
dhjondoh has joined #ruby
ahmetkapikiran has joined #ruby
stamina has quit [Ping timeout: 276 seconds]
symm- has quit [Ping timeout: 264 seconds]
zipace has quit [Read error: Connection timed out]
zipace has joined #ruby
zipace has quit [Max SendQ exceeded]
n80 has joined #ruby
jcromartie has joined #ruby
gambl0re has joined #ruby
allenn has joined #ruby
northfurr has joined #ruby
broman has joined #ruby
fujimura has joined #ruby
<broman> can anyone tell me what's wrong with this line: expect(user).to have(1).error_on(:email) ???
<broman> Im using rails 3.2.14 -> can anyone tell me what's wrong with this line: expect(user).to have(1).error_on(:email) ???
aapole has joined #ruby
dionysus69 has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
ur5us has joined #ruby
nateberkopec has joined #ruby
allenn has quit [Remote host closed the connection]
fujimura has quit [Ping timeout: 256 seconds]
RegulationD has joined #ruby
Tempesta has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
Zai00 has joined #ruby
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vyorkin has joined #ruby
<jhass> ?rails broman
<ruboto> broman, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
DoubleMalt has joined #ruby
riotjones has joined #ruby
skade has joined #ruby
allenn has joined #ruby
Tempesta has joined #ruby
stardiviner has quit [Ping timeout: 252 seconds]
victorkohl has joined #ruby
Mon_Ouie has joined #ruby
vyorkin has quit [Client Quit]
allcentury has quit [Ping timeout: 265 seconds]
vyorkin has joined #ruby
<[k-> doing gem update
<[k-> uh oh
pyo_ has quit []
allcentury has joined #ruby
<adaedra> gem break --everything
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<[k-> Gems updated: bigdecimal bundler byebug colorize eventmachine finishing_moves json minitest power_assert byebug pry-byebug psych rb-readline rspec rspec-core rspec-expectations rspec-mocks rspec-support ruby-progressbar slop test-unit
byprdct has joined #ruby
riotjones has quit [Ping timeout: 258 seconds]
<[k-> adaedra: WARNING: Unknown command break. Try: gem help commands
<[k-> i tried that :P
<adaedra> k
byprdct has quit [Max SendQ exceeded]
scripore has quit [Quit: This computer has gone to sleep]
nedp has joined #ruby
Rickmasta has joined #ruby
byprdct has joined #ruby
nini1294 has joined #ruby
paulcsmith has joined #ruby
byprdct has quit [Max SendQ exceeded]
sigurding has quit [Quit: sigurding]
someword has joined #ruby
<Takumo> What's the easiest way to configure my Rack server to log all requests?
Jake232 has joined #ruby
<adaedra> Rack::CommonLogger ?
sinkensabe has quit [Remote host closed the connection]
byprdct has joined #ruby
freerobby has joined #ruby
mandarinkin has quit [Ping timeout: 258 seconds]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
sigurding has joined #ruby
byprdct has quit [Max SendQ exceeded]
mary5030 has joined #ruby
tuelz2 has quit [Ping timeout: 256 seconds]
wlanboy has quit [Ping timeout: 244 seconds]
sigden has joined #ruby
tagrudev has quit [Remote host closed the connection]
wlanboy has joined #ruby
stardiviner has joined #ruby
<Takumo> adaedra: will that let me log out the request body?
ur5us has quit [Remote host closed the connection]
<Takumo> Trying to debug why some request parameters aren't being passed to the app
<adaedra> Ah
mdz_ has joined #ruby
<adaedra> Don't know, look at its documentation
<adaedra> Otherwise, writing a middleware which does that would not be really difficult
dzejrou has joined #ruby
Kricir has joined #ruby
_blizzy_ has quit [Ping timeout: 256 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
paulcsmith has quit [Quit: Be back later ...]
iamjarvo has joined #ruby
<sandelius> what is the abstractions the Pony gem does? It looks like using the mail gem directly is just as easy? Am I missing something?
dudedudeman has quit [Read error: Connection reset by peer]
chthon has joined #ruby
olistik has joined #ruby
dede has joined #ruby
paulcsmith has joined #ruby
umgrosscol has joined #ruby
mandarinkin has joined #ruby
nonparfumee has joined #ruby
caseypatrickdris has joined #ruby
leat has quit [Remote host closed the connection]
leat has joined #ruby
sigden has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 245 seconds]
arup_r_ has quit [Remote host closed the connection]
sinkensabe has joined #ruby
allenn has quit [Changing host]
allenn has joined #ruby
NeverDie has joined #ruby
enebo has joined #ruby
dhjondoh has quit [Quit: dhjondoh]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ruby-lang431 has joined #ruby
dudedudeman has joined #ruby
ta has joined #ruby
dudedudeman has quit [Changing host]
dudedudeman has joined #ruby
juanpaucar has joined #ruby
rushed has quit [Quit: rushed]
ki0 has quit [Remote host closed the connection]
ki0 has joined #ruby
someword has quit [Quit: Leaving.]
balazs_ has joined #ruby
Iskarlar has joined #ruby
snockerton has joined #ruby
mandarinkin has quit [Ping timeout: 276 seconds]
ringarin has quit [Read error: Connection reset by peer]
njs126 has joined #ruby
<ruby-lang431> ?
naftilos76 has joined #ruby
lele has joined #ruby
jhooker has joined #ruby
<jhass> ruby-lang431: !
nhhagen has quit [Remote host closed the connection]
Soda has joined #ruby
kies has joined #ruby
tubuliferous_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
scripore has joined #ruby
arup_r has joined #ruby
yqt has quit [Ping timeout: 272 seconds]
<adaedra> ¿
arup_r has quit [Remote host closed the connection]
<dudedudeman> i feel like we're about to break out in teh thriller dance here in a second
axl_ has joined #ruby
arup_r has joined #ruby
arup_r has quit [Remote host closed the connection]
tuelz2 has joined #ruby
tubuliferous_ has quit [Ping timeout: 256 seconds]
mgorbach has quit [Ping timeout: 240 seconds]
wnkioKroam has joined #ruby
wnkioKroam has quit [Max SendQ exceeded]
nedp has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
sigurding has quit [Quit: sigurding]
dawkirst has quit [Remote host closed the connection]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
dawkirst has joined #ruby
datanoise has joined #ruby
relix has quit [Read error: Connection reset by peer]
someword has joined #ruby
relix has joined #ruby
mandarinkin has joined #ruby
mordocai has joined #ruby
byprdct has joined #ruby
banister has joined #ruby
n008f4g_ has quit [Ping timeout: 256 seconds]
mordocai has quit [Remote host closed the connection]
j4cknewt has joined #ruby
mordocai has joined #ruby
SOLDIERz has quit [Ping timeout: 272 seconds]
skade has quit [Ping timeout: 256 seconds]
dawkirst has quit [Quit: Leaving...]
balazs has joined #ruby
Jake232 has quit [Quit: Textual IRC Client: www.textualapp.com]
ogpastaling has joined #ruby
jhooker has quit [Ping timeout: 244 seconds]
_blizzy_ has joined #ruby
jhooker has joined #ruby
balazs has quit [Ping timeout: 255 seconds]
byprdct has quit [Read error: Connection reset by peer]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has joined #ruby
pdoherty has joined #ruby
endash has joined #ruby
chinmay_dd has quit []
dfinninger has joined #ruby
Iskarlar has joined #ruby
adac has quit [Ping timeout: 246 seconds]
pepperbreath1 has left #ruby [#ruby]
banister has quit [Ping timeout: 244 seconds]
endash has quit [Client Quit]
InternetFriend has joined #ruby
fabrice31_ has joined #ruby
redlegion is now known as RichardNixon
endash has joined #ruby
RichardNixon is now known as redlegion
Spami has joined #ruby
justintv90 has joined #ruby
devSeb has joined #ruby
momomomomo has joined #ruby
cmisenas has joined #ruby
dumdedum has quit [Quit: foo]
adefa has joined #ruby
skade has joined #ruby
ahmetkapikiran has joined #ruby
starfox_sf has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 264 seconds]
vyorkin has quit [Quit: WeeChat 1.1.1]
mfranzwa has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
allomov has quit [Remote host closed the connection]
allomov has joined #ruby
jhooker has quit [Read error: Connection reset by peer]
jhooker has joined #ruby
allomov has quit [Client Quit]
whippythellama has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Agoldfish has joined #ruby
starfox_sf has quit [Ping timeout: 255 seconds]
adefa has quit [Ping timeout: 252 seconds]
bootstrappm has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
lapide_viridi has joined #ruby
nickfausnight has joined #ruby
Fooster has quit [Ping timeout: 276 seconds]
jgpawletko has quit [Quit: jgpawletko]
rodferso1 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
nhhagen has joined #ruby
nhhagen has quit [Remote host closed the connection]
mrsolo has joined #ruby
avat has quit [Quit: Page closed]
dopie has joined #ruby
gauke has quit [Quit: gauke]
Zz4yMYrZX6 has joined #ruby
rodfersou has quit [Ping timeout: 264 seconds]
<waxjar> Would this be a bad API for a caching system? cache[1] = "foo"; cache[1,2] = ["foo", "bar"] ?
allomov has joined #ruby
mister_solo has quit [Ping timeout: 265 seconds]
_ixti_ has joined #ruby
mrsolo has quit [Client Quit]
<Zz4yMYrZX6> Hey all, I'm wondering if someone can help me out. I don't know Ruby at all, but I'm trying to modify a script that was written for me and given to me.
lsmola has quit [Ping timeout: 240 seconds]
dgutierrez1287 has joined #ruby
<hanmac1> waxjar: is cache an array, or hash or some of your own objects?
cryptarium has quit [Ping timeout: 245 seconds]
mrmargolis has quit [Remote host closed the connection]
<Zz4yMYrZX6> The purpose is replace timestamps in a document. right now the script can replace HH:MM, but I need it to replace HH:MM:SS
<jhass> oh you again
mrsolo has joined #ruby
puppeh has quit [Remote host closed the connection]
<Zz4yMYrZX6> yes
<Zz4yMYrZX6> hi
Torrieri has quit [Quit: Be back later ...]
<jhass> didn't we answer that question already?
cryptarium has joined #ruby
<waxjar> hanmac1: interface to a Redis server :P i'd like to use MGET/MSET
<Zz4yMYrZX6> seems like a quick fix, no?
mrmargolis has joined #ruby
Iskarlar has joined #ruby
<Zz4yMYrZX6> to add the seconds field?
<waxjar> not sure if I want to abstract this out though, Redis is simple enough
<Zz4yMYrZX6> i just don't know how to do it
anytimeb_ has joined #ruby
leat has quit [Remote host closed the connection]
<hanmac1> waxjar: i would like this: but thats just imo cache.update(1 => "foo", 2=> "bar") OR cache.update("foo", "bar")
zipace has joined #ruby
<jhass> you might go back to reddit tbh and describe your specs properly that time, this channel is more geared towards helping people that are learning and using Ruby, not a "please make me a script for free that does X"
rubie has joined #ruby
leat has joined #ruby
dfinninger has quit [Remote host closed the connection]
<Zz4yMYrZX6> cool, sorry for the intrustion
<Zz4yMYrZX6> will do
Zz4yMYrZX6 has left #ruby [#ruby]
anytimebutnow has quit [Ping timeout: 252 seconds]
[H]unt3r has joined #ruby
sigurding has joined #ruby
dgutierrez1287 has quit [Ping timeout: 256 seconds]
darkf has quit [Quit: Leaving]
dfinninger has joined #ruby
bantic has joined #ruby
devSeb has quit [Remote host closed the connection]
withnale_ has quit [Ping timeout: 256 seconds]
sigden has joined #ruby
chinmay_dd has joined #ruby
shortCircuit__ has quit [Quit: Leaving.]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
chinmay_dd has quit [Client Quit]
Juanchito has quit [Quit: Connection closed for inactivity]
caseypatrickdris has quit [Remote host closed the connection]
<shevy> dumdedum
nish1294 has joined #ruby
apofis has joined #ruby
shellfu has joined #ruby
nini1294 has quit [Ping timeout: 258 seconds]
apofis has quit [Read error: Connection reset by peer]
apofis has joined #ruby
<ruby-lang431> hello
<jhass> hi
Cache_Money has joined #ruby
_seanc_ has joined #ruby
Nishant_ has joined #ruby
sigurding has quit [Quit: sigurding]
ahmetkapikiran has joined #ruby
<ruby-lang431> :)
_seanc_ has quit [Client Quit]
nish1294 has quit [Ping timeout: 272 seconds]
mpistone has joined #ruby
rcvalle has joined #ruby
serivich has quit [Ping timeout: 255 seconds]
fujimura_ has joined #ruby
Channel6 has joined #ruby
<jhass> ruby-lang431: how's your ruby?
sarkyniin has joined #ruby
roar has joined #ruby
<ruby-lang431> I am working on a rails project, Just get started.
<ruby-lang431> Reading books mostly and currently.
leat1 has joined #ruby
leat has quit [Remote host closed the connection]
hanmac1 has left #ruby [#ruby]
fujimura_ has quit [Ping timeout: 258 seconds]
adefa has joined #ruby
allenn has quit [Ping timeout: 272 seconds]
hubcaps has quit [Ping timeout: 246 seconds]
programmerq has quit [Remote host closed the connection]
angus has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
bkxd has quit [Ping timeout: 245 seconds]
<ruby-lang431> Hi
<agent_white> Heya
programmerq has joined #ruby
mkulke has joined #ruby
tubuliferous_ has joined #ruby
EllisTAA has joined #ruby
lapide_viridi has quit [Quit: Leaving]
justintv90 has quit [Remote host closed the connection]
<bootstrappm> morning all
<EllisTAA> MORNING!!
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chussenot has quit [Quit: chussenot]
granthatcher_ has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
mrmargol_ has joined #ruby
<EllisTAA> i’m trying to use the ruby twitter gem and i need to have a twitter dev account. while trying to register it is asking for my callback url and in the description of that question it mentions “ OAuth 1.0a applications should explicitly specify their oauth_callback URL on the request token step”. Do I need to register for something else? I’m not sure what an oauth_callback url is
ogpastaling has quit [Read error: Connection reset by peer]
granthatcher has quit [Ping timeout: 264 seconds]
ogpastaling has joined #ruby
balazs has joined #ruby
<sevenseacat> EllisTAA: where should twitter redirect after authenticating?
intinig has quit [Remote host closed the connection]
<sevenseacat> thats your callback URL.
<bootstrappm> ^ the cat knows
<EllisTAA> i dont have one, i just want to tweet from my command line
<bootstrappm> OAuth is super confusing the first time you encounter it
<agent_white> ITS DONUT DAY, sevenseacat!!! :D
leat1 has quit [Remote host closed the connection]
<bootstrappm> then you likely don't need OAuth EllisTAA, OAuth is pretty strictly for web apps
<jhass> EllisTAA: iirc you supply whatever and catch the redirect you receive
<EllisTAA> bootstrappm: but i need it to register a twitter developer account
* agent_white hugs sevenseacat and makes a glaze-dance to the donut gods
bkxd has joined #ruby
mrmargolis has quit [Ping timeout: 265 seconds]
leat1 has joined #ruby
<sevenseacat> EllisTAA: since when? that makes no sense
apofis has quit [Quit: This computer has gone to sleep]
<bootstrappm> ah sorry, I'm thinking about OAuth 2 EllisTAA. Looks like there's something called "Single-user OAuth" that I haven't seen before: https://dev.twitter.com/oauth/overview/application-owner-access-tokens
<bootstrappm> that 3-legged OAuth flow mentioned in the second bullet point is what I was referring to as being for webapps
poguez_ has joined #ruby
caseypatrickdris has joined #ruby
<sevenseacat> given a dev twitter account is for multiple apps and wont have a single callback URL
<riceandbeans> yo yo yo
balazs has quit [Ping timeout: 255 seconds]
rkeene has joined #ruby
<riceandbeans> I want to rewite a for statement with a do
<riceandbeans> can anyone give me a hand?
ebbflowgo has quit [Ping timeout: 272 seconds]
ebbflowgo_ has joined #ruby
ebbflowgo_ is now known as ebbflowgo
<sevenseacat> left or right hand?
<jhass> ?anyone
<ruboto> Just ask your question, if anyone has or can, they will respond.
<riceandbeans> for i in (0..@array-1)
<riceandbeans> then I use i like
<riceandbeans> @otherarray[i]
<sevenseacat> @array is an integer?
EllisTAA has quit [Quit: EllisTAA]
<riceandbeans> well, truth be told this is puppet
rkeene has left #ruby [#ruby]
<riceandbeans> but this is in an erb, so it's ruby
<riceandbeans> but variables in puppet when localized are 2
<riceandbeans> @
<havenwood> riceandbeans: Did you mean? @array.size - 1
<sevenseacat> in what universe does that answer my question
<riceandbeans> so ignore the sigil
<havenwood> >> [] - 1
<ruboto> havenwood # => no implicit conversion of Fixnum into Array (TypeError) ...check link for more (https://eval.in/376198)
* jhass waits for a question
allomov has quit [Remote host closed the connection]
<riceandbeans> ok, well the guy says it worked for him as is...
<riceandbeans> but this is going to have to run every 30 minutes on thousands of systems...
vire has quit [Ping timeout: 272 seconds]
msgodf has quit [Ping timeout: 258 seconds]
allomov has joined #ruby
<riceandbeans> I seem to recall having read that things like....
EllisTAA has joined #ruby
<riceandbeans> foo.each do |i|
<riceandbeans> bar[i]
<riceandbeans> end
<jhass> each_index
<riceandbeans> have a better optimized thing, so it's faster
* jhass still waits for a question
<jhass> ?fake
<ruboto> Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
<riceandbeans> my question is, two part
dualbus has quit [Remote host closed the connection]
<jhass> ?gist
<ruboto> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
mgorbach has joined #ruby
adefa has quit [Ping timeout: 265 seconds]
EllisTAA has quit [Client Quit]
<riceandbeans> can I rewrite the for statement as the do statement and will it be faster if instead of for i in 0..whatever if I do foo.each_index do |i|
<havenwood> riceandbeans: What is foo?
<jhass> see above
<riceandbeans> it's an array
* sevenseacat poinst at gist link
<jhass> no point in answering this in the abstract
<riceandbeans> I cannot gist
ghr has quit [Ping timeout: 256 seconds]
<sevenseacat> thats a shame.
<havenwood> riceandbeans: The code you showed us makes no sense.
EllisTAA has joined #ruby
<riceandbeans> my company scans any dns with gist/paste and takes the content and yells at us about anything
<sevenseacat> lol
<riceandbeans> regardless of the output they claim it was company data
dualbus has joined #ruby
<jhass> http://termbin.com/ there, doesn't have "gist" or "paste" in the name
<riceandbeans> hmmm...idea
allomov has quit [Ping timeout: 252 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Fooster has joined #ruby
<adaedra> ix.io also works
paulcsmith has quit [Quit: Be back later ...]
tkuchiki has joined #ruby
podman has joined #ruby
ebbflowgo has quit [Read error: Connection reset by peer]
A205B064 has joined #ruby
stamina has joined #ruby
Nishant_ is now known as nini1294
baroquebobcat has joined #ruby
paulcsmith has joined #ruby
e1nh4nd3r has joined #ruby
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cache_Money has quit [Quit: Cache_Money]
EllisTAA has quit [Quit: EllisTAA]
someword has quit [Quit: Leaving.]
Alayde has joined #ruby
serivich has joined #ruby
naftilos76 has quit [Remote host closed the connection]
towski_ has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
<shevy> riceandbeans trick your company!
paulcsmith has quit [Ping timeout: 246 seconds]
<riceandbeans> this server is outside my company, suppose I could elinks it
<riceandbeans> :P
tkuchiki has quit [Remote host closed the connection]
timonv has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 244 seconds]
<sevenseacat> i think they just wanted to trick us by not actually posting any code
weaksauce has quit [Ping timeout: 276 seconds]
<jhass> termbin needs netcat and nothing more
<miah> =)
<bootstrappm> riceandbeans: there's a gist gem
<podman> hey guys, is there a good way to get AR to use milliseconds with mysql outside of rails?
<miah> there is a github api gem too
<jhass> ?crosspost podman
<ruboto> podman, Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
adefa has joined #ruby
<bootstrappm> you just do: `gem install gist` then `gist filename.rb` and it'll output a url
<podman> really?
<jhass> really
<podman> wow
baweaver has joined #ruby
<havenwood> podman: That's just irc etiquette.
<riceandbeans> yeah but if you have 2fa it doesn't work
<podman> havenwood: I've been using IRC since 1996.
chipotle has joined #ruby
peteykun has quit [Quit: Leaving]
<riceandbeans> and I don't post things that don't expire
<riceandbeans> homey don't play that
<podman> i've never heard of people complaining about asking the same question in multiple channels
scripore has quit [Quit: This computer has gone to sleep]
<sevenseacat> then you havent been in this channel very long
<sevenseacat> or #rubyonrails
<podman> no, i haven't been in #ruby very long, and while that might be a problem for this channel, it's not something i've seen on IRC in general
<jhass> or crossposting to channels with large userbase unions
<sevenseacat> this is why you always read a channel's rules before posting :)
<podman> why not put something about that in the topic?
paydro has joined #ruby
<sevenseacat> it is.
<sevenseacat> as part of the rules that you didnt read.
gauke has joined #ruby
ebbflowgo has joined #ruby
metallicrwr has joined #ruby
<jhass> granted we could prefix the first one with Rules & more
<havenwood> podman: Anyways, if you let large channels know you're crossposting folk won't waste time answering already-answered questions and can follow parallel discussions.
<podman> Yeah, I think that would be helpful
dfockler has joined #ruby
momomomomo has quit [Quit: momomomomo]
<podman> havenwood: maybe it's not wasting time though. what if someone has a better solution, etc
<jhass> apeiros: ^ watcha think about prefixing the ruby-community.com link with that?
<jhass> podman: we do not ask to not crosspost, we do ask to inform
<havenwood> podman: Then the other channels learn of the better solution.
<sevenseacat> then you tell people you're crossposting and we move on
<podman> Sure, I just glanced at the message from the bot, but it starts "podman, Please do not crosspost..."
<sevenseacat> its a very real problem for two channels so closely linked like #ruby and #rubyonrails
<podman> which was posted a few seconds after i posted and was kind of startling and somewhat hostile
Torrieri has joined #ruby
Torrieri has joined #ruby
<sevenseacat> sigh
<havenwood> podman: Where else did you post?
<jhass> any suggestions to reword it are welcome, you might want to join #ruby-community which we use for discussions around that
<havenwood> Assuming #rubyonrails?
<sevenseacat> #rubyonrails
hahuang65 has joined #ruby
<podman> in #RubyOnRails
<havenwood> thx
<podman> they're related channels but they're not the same
<jhass> I wonder if you even read what people wrote
denver has quit [Remote host closed the connection]
<jhass> the argument about the channels being related was that it means we see it happen a lot more often
Porfa has quit [Quit: Porfa]
<jhass> not that it's bad etiquette because of that
<podman> I'm sorry my opinion about asking the same question in different channels is different that yours. That doesn't mean I didn't read what you wrote
<bootstrappm> I think we've strayed a bit here ...
<bootstrappm> podman, you understand the rules?
<sevenseacat> why so much argument? you now know our channel rules, lets move on
<bootstrappm> then lets move on
GnuYawk has joined #ruby
<podman> yep, understand the rules
<jhass> ^ podman if you want to continue to discuss this please join #ruby-community
<havenwood> There's a #ruby-community channel if anyone wants to discuss improvements to the rules.
<havenwood> Or ways to make factoids more friendly.
Cache_Money has joined #ruby
<havenwood> Or TL;DR-proof.
__butch__ has joined #ruby
polysics has quit [Remote host closed the connection]
<podman> I care much more about getting milliseconds to work than discussing crossposting of questions in IRC channels
mrsolo has joined #ruby
segfalt has quit [Quit: segfalt]
Respek has joined #ruby
<sevenseacat> lol
<bootstrappm> podman what method would you like to return milliseconds? or are you talking about logging?
<bootstrappm> or storing ms in DB?
pdoherty has quit [Quit: Leaving]
mkulke has quit [Quit: Leaving...]
chipotle has quit [Quit: cheerio]
zendrix has joined #ruby
<podman> I'll restate the original question: I'm using AR with the mysql2 adapter in a project outside or Rails. I'm trying to store milliseconds in DB
hahuang65 has quit [Ping timeout: 250 seconds]
Zai00 has quit [Ping timeout: 256 seconds]
Cache_Money has quit [Read error: Connection reset by peer]
ramfjord has joined #ruby
Zai00 has joined #ruby
byprdct has joined #ruby
gauke has quit [Quit: gauke]
<bootstrappm> a quick google had this show up podman: https://gist.github.com/iamatypeofwalrus/d074d22a736d49459b15
sevenseacat has quit [Quit: Me dun like you no more.]
<podman> bootstrappm: i tried that. it works well in Rails, but doesn't seem to work outside of it for some reason
<bootstrappm> the only thing Rails-specific about ^ that answer is where to put time.rb (config/initializers). In a non-Rails project you just have to manually include it with a require
Encapsulation has quit [Quit: Leaving]
byprdct has quit [Max SendQ exceeded]
itisit has joined #ruby
<bootstrappm> if you tried that I'd suggest including that information with your question podman ;)
Encapsulation has joined #ruby
stamina has quit [Ping timeout: 264 seconds]
<bootstrappm> well this looks to be from late last year, I doubt AR would have changed the way it handles datetimes + mysql since that time
<itisit> there is a string "abc.def\n", I want to retrieve "abc" from it, what's the function to truncate it? thanks!
<bootstrappm> I'd suggest a grep through AR for DATE_FORMATS and see exactly how it uses it
krz has quit [Ping timeout: 264 seconds]
<jhass> ?fake itisit
<ruboto> itisit, Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
Encapsulation has quit [Read error: Connection reset by peer]
<bootstrappm> could somebody do that ruboto thing with real code for itisit? /cc jhass
<bootstrappm> there we go :D
<jhass> bootstrappm: you can call it too ;)
Encapsulation has joined #ruby
<bootstrappm> nice B-)
aryaching has joined #ruby
<jhass> itisit: or real values in this case ;)
bkxd has quit [Ping timeout: 246 seconds]
<havenwood> itisit: partition('.').first, slice(0, 3), [0, 3], byteslice(-8, 3), etc, etc
<bootstrappm> itisit, reason being: I'm not sure what the constant is in the string in your question. Does the period change? Is it always 'abc'? Do you just want the first three letters always or do you want to split on period?
<itisit> ruboto: a = "abc.def\n", b = a.split('.').first, that works. but if a = "abc\n" how to get "abc"?
jackjackdripper has joined #ruby
<havenwood> itisit: Show more cases. What are a list of possible inputs?
<jhass> itisit: real inputs, not made up ones
<bootstrappm> podman any luck looking for DATE_FORMATS?
<podman> bootstrappm: doesn't show up anywhere in AR as best I can tell
paydro has left #ruby [#ruby]
<jhass> activerecord/lib/active_record/integration.rb:11: # Accepts any of the symbols in <tt>Time::DATE_FORMATS</tt>.
<jhass> interesting :D
<jhass> (only match)
<itisit> it's pasted here: http://pastie.org/10225469
<itisit> thanks guys
ghr has joined #ruby
<podman> jhass: yes, i found that, but that's in a comment
<podman> so, not really useful
<jhass> looks like that in turn is used in a couple of to_s calls
<podman> Yeah, trying to find exactly where it's casted to a string
nitrix is now known as An-unnamed-cell
granthatcher_ has quit []
<jhass> and if we keep that in mind with what the gist does, grep -Rin "to_s(:db)" activerecord/ turns up a lot of meat
EllisTAA has joined #ruby
jpstokes has joined #ruby
paulcsmith has joined #ruby
mrsolo has quit [Ping timeout: 250 seconds]
AmirolAhmad has joined #ruby
An-unnamed-cell is now known as nitrix
<havenwood> itisit: my_input[/\w+(?=\W)/]
mrsolo has joined #ruby
<jpstokes> how can I conver this into a json ['fruit', 'apple', 'car', 'mazda']
<shevy> json
ss_ss has joined #ruby
<shevy> data = { :name => 'dave', :address => [ 'tx', 'usa' ], :age => 17 } ; serialized = data.to_json
<jhass> havenwood: itisit \A IMO
<havenwood> jhass: oh, right.. yes.
<havenwood> itisit: my_input[/\A\w+(?=\W)/]
<jhass> shevy: is there a question?
<jhass> oh, nvm
<shevy> I did not ask a question
<shevy> dunno if jpstokes is there though
<havenwood> itisit: Beginning of string, one or more word chars that match and a positive lookahead for a non-word char.
bkxd has joined #ruby
<jhass> yeah, didn't make the connection, sorry
<bootstrappm> that looks promising podman
* shevy pokes jpstokes
rbowlby has joined #ruby
EllisTAA has quit [Client Quit]
<jpstokes> i'm here
<podman> I guess the issue is that it doesn't seem to be using the altered time format
<shevy> \o/
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
EllisTAA has joined #ruby
<bootstrappm> did you include the new Time extension before ActiveRecord?
<jpstokes> I'm not sure I saw the answer to my question
<jpstokes> how can I conver this into a json ['fruit', 'apple', 'car', 'mazda']
<bootstrappm> AFAIK that shouldn't make a difference in Ruby but maybe ActiveRecord does some weird class caching
<havenwood> jpstokes: See what shevy wrote above.
<podman> bootstrappm: hmm, i guess something else might have overwritten it?
<jhass> podman: more importantly did you include it after ActiveSupport?
rindolf has joined #ruby
<bootstrappm> output the DATE_FORMATS constant somewhere meaningful podman and see if it is what its supposed to be
<jpstokes> I saw his reply but my array is in the form that I posted above
bluOxigen has joined #ruby
baweaver has quit [Remote host closed the connection]
phale has joined #ruby
<bootstrappm> jpstokes: he was giving you the most general answer, it works for your code
<jpstokes> I need to go from an array of key value pairs to json
<jhass> jpstokes: did you try the suggestion (call .to_json) anyway?
<phale> Hello
<shevy> well you can rebuild the data structure before calling .to_json
_seanc_ has joined #ruby
rovnero has quit [Ping timeout: 276 seconds]
<jpstokes> well..I need to actually do a little magic so I can't use to_json
<itisit> havenwood: thanks
<jpstokes> I was thinking of using a map function to do it
<itisit> jhass: thanks
dfinninger has quit []
<jhass> jpstokes: that would've been useful to include into your question
<shevy> :)
<phale> is .map like (map) in scheme?
anisha has quit [Quit: Leaving]
<jhass> how is map in scheme?
<bootstrappm> did you run the migration podman? if the column doesn't have the precision it likely won't work
<phale> uhh
<podman> bootstrappm: yes. i ran the migration
<shevy> scheme is weird
<podman> testing some things out
<bootstrappm> ok
<phale> (map fn list)
<shevy> yeah!
<jpstokes> this is the actual array that I'm getting from redis: ["3290", "2", "3291", "3", "3292", "4", "3293", "5", "3294", "6", "3295", "7", "3296", "8", "3297", "9", "3298", "10", "3299", "11"]
momomomomo has joined #ruby
<jpstokes> it's the index with a score
<phale> (map procedure list ..)
_seanc_ has quit [Client Quit]
<shevy> looks like an expanded hash
<phale> basically applies a procedure to all list elements
<jhass> nothing more? sounds like .each so far
<shevy> Hash[*["3290", "2", "3291", "3", "3292", "4", "3293", "5", "3294", "6", "3295", "7", "3296", "8", "3297", "9", "3298", "10", "3299", "11"]]
<shevy> # => {"3290"=>"2", "3291"=>"3", "3292"=>"4", "3293"=>"5", "3294"=>"6", "3295"=>"7", "3296"=>"8", "3297"=>"9", "3298"=>"10", "3299"=>"11"}
davedev24_ has joined #ruby
<jpstokes> I need to turn this into [{ name: 'John Doe', score: 2 }, ...}
<shevy> hmm a bit much to paste sorry
mc_fail has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
<bootstrappm> thats magic shevy
<shevy> ok where does John Doe come from now
<shevy> that is indeed magic
metallicrwr has quit [Ping timeout: 256 seconds]
<phale> shevy: Placeholder name.
<bootstrappm> >> Hash(*["3290", "2", "3291", "3", "3292", "4", "3293", "5", "3294", "6", "3295", "7", "3296", "8", "3297", "9", "3298", "10", "3299", "11"]).to_json
<ruboto> bootstrappm # => wrong number of arguments (20 for 1) (ArgumentError) ...check link for more (https://eval.in/376213)
<phale> or used in anonymous situations
<shevy> are we anonymous here!
mikecmpbll has joined #ruby
<bootstrappm> Hash[*["3290", "2", "3291", "3", "3292", "4", "3293", "5", "3294", "6", "3295", "7", "3296", "8", "3297", "9", "3298", "10", "3299", "11"]].to_json
<bootstrappm> damnit
<phale> expect us
<shevy> haha bootstrappm
davedev2_ has quit [Ping timeout: 272 seconds]
<bootstrappm> >> Hash[*["3290", "2", "3291", "3", "3292", "4", "3293", "5", "3294", "6", "3295", "7", "3296", "8", "3297", "9", "3298", "10", "3299", "11"]].to_json
<bootstrappm> bootstrappm: damnit
<ruboto> bootstrappm # => undefined method `to_json' for #<Hash:0x40a4b8a8> (NoMethodError) ...check link for more (https://eval.in/376214)
<bootstrappm> -_-
<shevy> lol
<shevy> still fail!
<bootstrappm> super fail
<jpstokes> look got only part now is I have to convert those ids into the user's name
<jpstokes> looks good...
ghr has quit [Ping timeout: 276 seconds]
__butch__ has quit [Remote host closed the connection]
deric_skibotn has joined #ruby
<jpstokes> I think I got it from here thanks
<phale> scheme is fun ^_^
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bootstrappm> >> require 'json'; a = Hash[*["3290", "2", "3291", "3", "3292", "4", "3293", "5", "3294", "6", "3295", "7", "3296", "8", "3297", "9", "3298", "10", "3299", "11"]]; a.to_json
<ruboto> bootstrappm # => "{\"3290\":\"2\",\"3291\":\"3\",\"3292\":\"4\",\"3293\":\"5\",\"3294\":\"6\",\"3295\":\"7\",\"3296\" ...check link for more (https://eval.in/376215)
<bootstrappm> ^ jpstokes huzzah!
_seanc_ has joined #ruby
<phale> you could of used sed for that lopl
<bootstrappm> go home
<shevy> phale have you had a look at nazghul game? http://sourceforge.net/projects/nazghul/ mostly written in scheme
intinig has joined #ruby
<wasamasa> bootstrappm: nou
<wasamasa> bootstrappm: don't do that much botspam
AmirolAh_ has joined #ruby
<shevy> hey
AmirolAhmad has quit [Ping timeout: 256 seconds]
<shevy> ruboto does not spam!
<phale> s/[/{/ s/]/}/ s/\"/\\"/
<phale> etc
<bootstrappm> sorry wasamasa, it was for a good cause I swear!
starfox_sf has joined #ruby
phale has left #ruby ["Leaving"]
<shevy> I don't like lisp code from the syntax, but the scheme in nazghul is pretty readable for the most part
axl_ has quit [Quit: axl_]
segfalt has joined #ruby
towski_ has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
adac has joined #ruby
aapole has quit [Ping timeout: 255 seconds]
sankaber has quit [Ping timeout: 276 seconds]
<podman> jhass: bootstrappm: seems like it was just a matter of overwriting the format in the correct place
Papierkorb has joined #ruby
AnoHito has joined #ruby
<jhass> cool
<bootstrappm> yeah? where'd you have to do it?
pengin has joined #ruby
intinig has quit [Remote host closed the connection]
nini1294 has quit [Quit: Leaving]
last_staff has joined #ruby
<podman> jhass: bootstrappm: after activerecord was included
RegulationD has quit [Remote host closed the connection]
<podman> anyway, thanks!
<bootstrappm> cool (y)
EllisTAA has quit [Quit: EllisTAA]
quimrstorres has quit [Remote host closed the connection]
<bootstrappm> what do y'all do for long running rake tasks?
maxshelley has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<miah> dont have them
<podman> bootstrappm: in what context?
<podman> bootstrappm: like to make sure they keep running? to prevent two of them from running at the same time?
<bootstrappm> have a (manual) rake task that uploads stores to the DB based on an excel
<bootstrappm> no, just so they run fast and don't stop for some reason
<bootstrappm> I throw them on tmux on a server close to my DB and come back in a while to see what happened
aspiers has quit [Ping timeout: 256 seconds]
segfalt has quit [Ping timeout: 265 seconds]
<jhass> systemd-run <3
<jhass> should actually use that more
nizmow has quit [Ping timeout: 272 seconds]
<bougyman> or: never
paulcsmith has quit [Quit: Be back later ...]
<bougyman> no systemd for me.
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> haha
<shevy> bougyman funny that you mention that
<shevy> yesterday on #gobolinux
<bougyman> gobo!
<shevy> <t_s_o> looks like the systemd devs have rediscovered gobolinux compile...
<shevy> <t_s_o> or someone associated with it
<shevy> <t_s_o> something about using kdbus, sd-bus and gcc plugins to sandbox compiles :S
<bougyman> I saw that one when I was looking for a new distro.
<shevy> they will assimilate EVERYTHING :D
<bootstrappm> systemd-run looks cool! gonna try it out
nizmow has joined #ruby
<shevy> "This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd with the aim of isolating udev from any particular flavor of system initialization. In this case, the isolation is from systemd."
NullPointer has joined #ruby
<shevy> resistance is futile
NullPointer is now known as Guest58159
IanVorn has joined #ruby
<shevy> We will add your biological and technological distinctiveness to our own.
Guest58159 has quit [Client Quit]
<shevy> hmm... the BORG were not so clever...
paulcsmith has joined #ruby
<shevy> if they would have known what a train wreck the human species is, they would have never wanted them!
<bootstrappm> ^ that just reminded me, for anybody thats interested in biomedical engineering, they created a full grown rats arm in lab the other day
pietr0 has joined #ruby
<bougyman> it's not at all futile, shevy
Langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bougyman> I can guarantee there will always be one linux without systemd
EllisTAA has joined #ruby
<shevy> well old ones perhaps?
<shevy> bootstrappm the frankenstein rat?
<bootstrappm> what's arch use?
Scroff has quit [Remote host closed the connection]
<shevy> dunno. jhass knows probably
<shevy> systemd I guess
MatthewsFace has joined #ruby
<jhass> yup, second adopter of it after fedora
IanVorn has quit [Client Quit]
<bougyman> yeah arch moving to systemd made me mad at the time
<bougyman> but i'm much happier now with voidlinux, so I'm glad arch did it.
<shevy> hehehe
EllisTAA has quit [Client Quit]
segfalt has joined #ruby
wallerdev has joined #ruby
<jhass> that's what this is about right? everybody can choose what they like, no need to hate each because of that
metallicrwr has joined #ruby
mdz_ has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
<bougyman> jhass: in many cases that's true.
InternetFriend has joined #ruby
snockerton has quit [Ping timeout: 276 seconds]
<bougyman> but when they took over udev maintenance they guaranteed it would always be able to be used without systemd.
mansel has quit [Max SendQ exceeded]
<shevy> yuck, that pic...
<bougyman> that's not the only promise they haven't kept, but it's a pretty big one
mdz_ has joined #ruby
<jhass> bootstrappm: reminds me of the south park episode in which mrs. garrision wants to turn male again
<shevy> though that is pretty epic if they could grow it without the rest
mansel has joined #ruby
<bootstrappm> isn't it?!
EllisTAA has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
snockerton has joined #ruby
<shevy> and if it is not fake!!!
ki0 has quit []
<bootstrappm> nuts. in a few decades we'll be able to re-grow limbs or neurons after paralysis
fabrice31 has joined #ruby
<bootstrappm> jhass: hm, never saw that southpark episode
axl_ has joined #ruby
<shevy> oh damn...
<shevy> they actually do require a "rest"
<shevy> "stripping a donor organ of its cells to create a neutral matrix"
<shevy> :(
<shevy> still epic, but not as epic as I thought it be
<bootstrappm> yeah, I guess that's true
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bootstrappm> that's fairly common though, the donor organ doesn't even need to be alive
<bootstrappm> they just need the ECM (extra cellular matrix)
<shevy> yeah
<bootstrappm> cellulose and stuff
<shevy> the scaffold
<bootstrappm> yeah
n008f4g_ has joined #ruby
<miah> as a transgender person, much of the 'mrs. garrison' storyline was :/
<shevy> perhaps they could even use specialized 3D printers one day for scaffolds
paulcsmith has joined #ruby
<bootstrappm> ahahaha that img
<jhass> miah: sorry, that's just how south park is though...
<bootstrappm> miah yeah, southpark tends to be hard on the marginalized
<bootstrappm> :/
<bootstrappm> much like family guy
<miah> indeed
<shevy> I never watched south park... but I think it had a few famous components... the chewbacca line of defence, as reference to O.J. Simpsons, is from south park I think
<miah> i do tend to like southpark though
x1337807x has joined #ruby
<jhass> shevy: yup
serivich has quit [Ping timeout: 244 seconds]
EllisTAA has quit [Client Quit]
x1337807x has quit [Max SendQ exceeded]
sandstrom has joined #ruby
EllisTAA has joined #ruby
x1337807x has joined #ruby
apofis has joined #ruby
x1337807x has quit [Max SendQ exceeded]
fabrice31 has quit [Ping timeout: 272 seconds]
x1337807x has joined #ruby
__butch__ has joined #ruby
metallicrwr has quit [Ping timeout: 246 seconds]
Limix has joined #ruby
EllisTAA has quit [Client Quit]
paulcsmith has quit [Ping timeout: 255 seconds]
apofis has quit [Read error: Connection reset by peer]
apofis has joined #ruby
zendrix has quit [Remote host closed the connection]
IrishGringo has joined #ruby
mberk has joined #ruby
EllisTAA has joined #ruby
zendrix has joined #ruby
<theRoUS> when creating a gem with a name like 'ruby-foo', how should the internal naming be structured, especially if 'foo' is already namespaced by one or more other gems? Ruby::Foo ? RubyFoo ?
scripore has joined #ruby
<havenwood> theRoUS: ruby_foo corresponds with RubyFoo and ruby-foo with Ruby::Foo.
porkqpain has quit [Remote host closed the connection]
[k- has quit [Quit: Lingo: www.lingoirc.com]
adac has quit [Ping timeout: 252 seconds]
<theRoUS> havenwood: ahhh! danke sehr!
<havenwood> theRoUS: de nada
metallicrwr has joined #ruby
sepp2k has joined #ruby
<shevy> oh
<shevy> sexy dirty spanish talk
juanpaucar has quit [Remote host closed the connection]
<shevy> mi perro es un gato
leat1 has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
bosma_ has joined #ruby
havenwood has quit [Quit: Textual IRC Client: www.textualapp.com]
leat1 has joined #ruby
juanpaucar has joined #ruby
EllisTAA has quit [Client Quit]
Olipro has quit [Ping timeout: 252 seconds]
<theRoUS> shevy: Это курам на смех
<shevy> huh
kies has quit [Ping timeout: 256 seconds]
<bootstrappm> prob your dog is a cat in russian
<theRoUS> shevy: loosely, 'chickens would laugh at it'
<shevy> funny chickens
bosma has quit [Ping timeout: 272 seconds]
<theRoUS> shevy: also, the phrase used in _Serenity_ to put River Tam to sleep
metallicrwr has quit [Ping timeout: 264 seconds]
yqt has joined #ruby
fujimura has joined #ruby
juanpaucar has quit [Ping timeout: 264 seconds]
kobain has quit [Read error: Connection reset by peer]
RandyT has quit [Quit: ZNC - http://znc.in]
gattuso has quit [Ping timeout: 246 seconds]
<shevy> aha
<shevy> I think I watched it in german
<shevy> they often use funny translations which don't make sense
GnuYawk has quit [Ping timeout: 246 seconds]
segfalt has quit [Ping timeout: 244 seconds]
bantic has quit [Quit: bantic]
<miah> just using internet sourced subtitles can lead to 'doesnt make sense'
bastilian has quit [Ping timeout: 250 seconds]
bmurt has quit [Ping timeout: 258 seconds]
<shevy> hehe
<miah> plex downloads them for me and sometimes you get weird shit
<miah> instead of <clanking> we got <CLAN KING>
<shevy> one of the funniest translations ever: http://www.winterson.com/2005/06/episode-iii-backstroke-of-west.html
Olipro has joined #ruby
<bootstrappm> hahaha thats great miah
<shevy> "Revenge of the Sith" becomes:
<shevy> 'the backstroke of the west'
<miah> lol
bmurt has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<theRoUS> i speak a little russian, and i asked a russian acquaintance about it. also, i asked him about an auto reg plate that looked suspiciously Cyrillic: CTEPBA
<miah> pretty amazing for a movie that doesnt actually exist =)
<theRoUS> which, again loosely translated, means 'bitch'
<shevy> Anonymous doomed fighter pilot: "They're all over me.", becomes:
<bootstrappm> omg that star wars translation is hillaaaaarious
<shevy> "He is in my behind"
RandyT has joined #ruby
<shevy> I think they do it on purpose sometimes... but at other times, it really does not seem to be on purpose at all
sandstrom has quit [Quit: My computer has gone to sleep.]
fujimura has quit [Ping timeout: 256 seconds]
EllisTAA has joined #ruby
<shevy> only yoda makes sense in that translation
<theRoUS> shevy: my thoughts exactly!
<shevy> :)
mberk has quit []
<shevy> it's interesting that this suddenly makes for a more comedic movie than it normally would be
apofis has quit [Quit: This computer has gone to sleep]
psy_ has joined #ruby
<theRoUS> meh. so a gem for using mklivestatus (for nagios).. should it be ruby-mklivestatus (Ruby::MKLiveStatus) or ruby_mklivestatus (RubyMKLiveStatus) >
* theRoUS grumbles, edge cases, always with the edge cases
<shevy> well normally, if you can omit the 'ruby_' part this would be ideal
<shevy> best would be: name of top-level namespace == name of project
<shevy> so if you require 'mklivestatus', ideally you would have a main module namespace module Mklivestatus too
EllisTAA has quit [Ping timeout: 276 seconds]
<shevy> people are lazy, typing RubyMKLiveStatus is so much work
<theRoUS> there's already a 'mklivestatus' gem and a 'nagios_mklivestatus' one.
<shevy> yeah that sucks
leafybasil has quit []
<shevy> I'd wish one could have multiple same-named gems
<theRoUS> yeah, but namespacing and not tromping on others' work is also important
<shevy> ok but consider this:
<shevy> module Configuration
agent_white has quit [Quit: brbtowindows]
<shevy> I'd only ever want to have a single gem there
sandstrom has joined #ruby
<shevy> and not be this anyone else's namespace :D
c355E3B has quit [Quit: Connection closed for inactivity]
ttilley has quit [Quit: Linkinus - http://linkinus.com]
balazs_ has quit [Ping timeout: 265 seconds]
adac has joined #ruby
<shevy> Obi-Wan: "He the my brothers in elephant is similar."
<shevy> -> Obi-wan tells yoda that anakin is like his brother... and an elephant too.
Torrieri has quit [Quit: Be back later ...]
Zai00 has quit [Quit: Zai00]
<bootstrappm> i think the dichotomy one is my favorite
<shevy> hehehe
<bootstrappm> lost in translation for sure
civil_ has joined #ruby
civil_ has quit [Client Quit]
tibig has joined #ruby
ramfjord has quit [Ping timeout: 246 seconds]
ghr has joined #ruby
casadei has joined #ruby
uri_ has joined #ruby
d10n-work has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
towski_ has joined #ruby
duderonomy has quit [Ping timeout: 255 seconds]
zz_Outlastsheep is now known as Outlastsheep
ghr has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
zendrix has quit [Remote host closed the connection]
balazs_ has joined #ruby
zdman135 has joined #ruby
paulcsmith has joined #ruby
adac has quit [Ping timeout: 265 seconds]
balazs has joined #ruby
endash has quit [Quit: endash]
uri_ has quit [Quit: Textual IRC Client: www.textualapp.com]
nonparfumee has joined #ruby
kirun has joined #ruby
sepp2k has quit [Quit: Leaving.]
_seanc_ has quit [Quit: _seanc_]
IrishGringo has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.5/20150525141253]]
pandaant has joined #ruby
pepelui has joined #ruby
mc_fail has quit [Ping timeout: 245 seconds]
mdw has joined #ruby
balazs has quit [Ping timeout: 255 seconds]
rubie has quit [Read error: Connection reset by peer]
mc_fail has joined #ruby
b_hoffman has joined #ruby
b_hoffman has quit [Client Quit]
bmurt has quit [Read error: Connection reset by peer]
rubie has joined #ruby
zendrix has joined #ruby
IanVorn has joined #ruby
bmurt has joined #ruby
IanVorn has quit [Max SendQ exceeded]
IanVorn has joined #ruby
affenhoden has joined #ruby
apt-get_ has joined #ruby
EllisTAA has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
sarkyniin has quit [Ping timeout: 252 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
edwinvdgraaf has joined #ruby
peterhu has quit [Quit: kernel update]
adac has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
snockerton has quit [Quit: Leaving.]
edwinvdgraaf has quit [Remote host closed the connection]
sepp2k has joined #ruby
EllisTAA has quit [Quit: EllisTAA]
yalue has quit [Read error: Connection reset by peer]
peterhu has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
scripore has joined #ruby
stamina has joined #ruby
edwinvdgraaf has joined #ruby
x1337807x has joined #ruby
danman has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
mister_solo has joined #ruby
gattuso has joined #ruby
x1337807x has joined #ruby
yfeldblum has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<ruby-lang431> .
pepelui1 has joined #ruby
mrsolo_ has joined #ruby
x1337807x has joined #ruby
Matthews_ has joined #ruby
InternetFriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
k3asd` has joined #ruby
pepelui has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
Matthews_ has quit [Remote host closed the connection]
atomical has quit [Ping timeout: 248 seconds]
RegulationD has joined #ruby
pepelui1 has quit [Client Quit]
Matthews_ has joined #ruby
Soda has quit [Ping timeout: 245 seconds]
MatthewsFace has quit [Read error: Connection reset by peer]
pepelui has joined #ruby
mrsolo has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 265 seconds]
leat1 has quit [Ping timeout: 264 seconds]
pepelui has quit [Max SendQ exceeded]
Soda has joined #ruby
pepelui has joined #ruby
pepelui has quit [Max SendQ exceeded]
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> DeBot: !hangman ruby
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
snockerton has joined #ruby
finisherr has joined #ruby
<jhass> DeBot: :S
<DeBot> ␣␣␣::␣␣␣␣::␣␣␣␣␣␣␣␣␣␣s␣␣ [] 0/12
pengin has quit [Remote host closed the connection]
<baweaver> DeBot: :A
<DeBot> ␣␣␣::␣␣A␣::␣␣␣␣␣␣␣␣␣as␣␣ [] 0/12
cj has joined #ruby
<cj> hey folks
<baweaver> DeBot: :E
<DeBot> ␣e␣::␣␣A␣::␣␣␣␣␣␣␣e␣as␣␣ [] 0/12
lxsameer has joined #ruby
<baweaver> DeBot: :N
<DeBot> Ne␣::␣␣A␣::␣␣␣␣␣␣␣e␣as␣␣ [] 0/12
<jhass> baweaver: pause please
* baweaver pauses
e1nh4nd3r has quit [Quit: Leaving.]
<baweaver> cj: question?
leat1 has joined #ruby
IrishGringo has joined #ruby
<cj> baweaver: typing it :-)
DLSteve has joined #ruby
adac has quit [Ping timeout: 256 seconds]
exadeci has quit [Quit: Connection closed for inactivity]
<baweaver> jhass is just miffed that I'm winning :P
<eam> how do I guess
DeBot has left #ruby [#ruby]
<baweaver> aw
<baweaver> he killed it
<eam> It's a Net::IMAP::BodyType??
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> Net::IMAP::BodyTypeBasic?
<cj> so, I downloaded ruby 2.1.6 (x64) and the mingw dev kit (64-4.7.2-20130224-1432) from rubyinstaller.org/downloads and attempted to follow the instructions at http://github.com/oneclick/rubyinstaller/wiki/Development-Kit, but it refers to a dk.rb file, which doesn't seem to be there...
usandfriends has joined #ruby
usandfriends has left #ruby [#ruby]
<cj> maybe I'm up one too many directories...
moretti has joined #ruby
zendrix has quit [Remote host closed the connection]
porkqpain has joined #ruby
<cj> yeah, that's it. FFS. The installer by default suggests ~/Downloads and unpacks it there.
<jhass> your're welcome!
<baweaver> quack quack
joaomdmoura has joined #ruby
DeBot has joined #ruby
hahuang65 has joined #ruby
<baweaver> we make for a good rubber ducky on occasion
shadoi has joined #ruby
freerobby has quit [Quit: Leaving.]
<miah> Rubber Duck Driven Development
InternetFriend has joined #ruby
<cj> thanks, jhass :-)
InternetFriend is now known as internetfriend
<finisherr> Why am I getting an argument error? I’m passing the right number of arguments but the argument exception is being raised, 1 for 3: https://gist.github.com/anonymous/01dfeb8d14b4bfeb3988
pocketprotector has quit [Ping timeout: 256 seconds]
<miah> def Web.get
<miah> ?
yfeldblum has quit [Ping timeout: 265 seconds]
<jhass> odd/old way for def self.get
<miah> ok. never seen it =)
<finisherr> ahh okay, I’ll try self
<jhass> finisherr: full error with backtrace?
arup_r has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pandaant has quit [Remote host closed the connection]
mandarinkin has quit [Remote host closed the connection]
<Mon_Ouie> Look at line 35
<finisherr> OH CRAP
leat1 has quit [Ping timeout: 256 seconds]
<finisherr> haha
<finisherr> okay
j4cknewt has quit [Remote host closed the connection]
<finisherr> the recursion duh thanks
<finisherr> my bad
mfranzwa has quit [Quit: mfranzwa]
marr has quit [Ping timeout: 244 seconds]
<finisherr> Yeah, i wasn’t looking at the stacktrace close enough
<finisherr> Need some coffee i think : )
jenrzzz has joined #ruby
ferr has joined #ruby
<tuelz2> does anyone know where I can find some example code for using activesupport and actionview helpers for showing tiem calculations like you would expect for an auctions remaining time?
gattuso has quit [Quit: ZNC - http://znc.in]
mr_goodcat has joined #ruby
<tuelz2> I can't seem to get any of the modules loaded properly or I'm missing deps or something
polysics has joined #ruby
bigkevmcd has quit [Quit: outta here]
Miphix has quit [Quit: Leaving]
<cj> tuelz2: error log output?
<jhass> also might have better luck in #RubyOnrails
IanVorn has joined #ruby
<tuelz2> jhass: good idea
matt_m has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
IanVorn has quit [Max SendQ exceeded]
nateberkopec has quit [Quit: Leaving...]
baweaver has quit [Remote host closed the connection]
hahuang65 has quit [Quit: WeeChat 1.1.1]
<tuelz2> cj: sorry I got fed up and started writing my own code for it - I'm sure you could help me debug, was just asking for a magic bullet before I started pullinug our hair and debugging code
IanVorn has joined #ruby
baroquebobcat has joined #ruby
havenwood has joined #ruby
banister has joined #ruby
icedp has quit [Ping timeout: 244 seconds]
scripore has quit [Quit: This computer has gone to sleep]
baweaver has joined #ruby
Xiti has quit [Ping timeout: 265 seconds]
hahuang65 has joined #ruby
baweaver has quit [Remote host closed the connection]
jgt1 has quit [Ping timeout: 264 seconds]
dwn has quit [Ping timeout: 264 seconds]
stamina has quit [Ping timeout: 276 seconds]
dwn has joined #ruby
shellfu has quit [Quit: Page closed]
pocketprotector has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
icedp has joined #ruby
kartouch has quit [Ping timeout: 265 seconds]
j4cknewt has joined #ruby
gauke has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
Xiti has joined #ruby
x1337807x has joined #ruby
kartouch has joined #ruby
Xiti has quit [Changing host]
Xiti has joined #ruby
x1337807x has quit [Max SendQ exceeded]
mrmargolis has joined #ruby
x1337807x has joined #ruby
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
moretti has quit [Quit: Leaving...]
adefa has quit [Ping timeout: 272 seconds]
mrmargol_ has quit [Read error: Connection reset by peer]
joaomdmoura has quit [Read error: No route to host]
<cj> tuelz2: no worries. I'm not very good with ruby, but I've been looking for errors in logs my whole life :-)
mfranzwa has joined #ruby
<arup_r> I want to wrap this <div class="wrapper"><h1>Three's Company</h1><p>A love triangle.</p></div> and I tried https://gist.github.com/aruprakshit/a1ead057605a088291bd ..
<arup_r> 2 divs came,, where was wrong ?
<arup_r> :/
ramfjord has joined #ruby
Y4Rv1K has joined #ruby
gauke has quit [Client Quit]
bkxd has quit [Ping timeout: 244 seconds]
bantic has joined #ruby
<bootstrappm> arup_r: my guess would be that search is returning an array of elements
nonparfumee has joined #ruby
<bootstrappm> and that wrap wraps every element in the set that you call it on
<arup_r> yes i got it
symm- has joined #ruby
<bootstrappm> (y)
<arup_r> but what's the rescue..
<arup_r> ?
<bootstrappm> the fix? just take out the search method
<bootstrappm> or maybe: doc.root.wrap
<cj> arup_r: looks like .wrap() operates on each element of the set
<arup_r> cool
dseitz has joined #ruby
<arup_r> error on calling root
ghr has joined #ruby
<arup_r> bcoz is docframnt
bosma_ is now known as bosma
__butch__ has quit [Quit: Instantbird 1.6a1pre -- http://www.instantbird.com]
dudedudeman has quit [Read error: Connection reset by peer]
weaksauce has joined #ruby
adefa has joined #ruby
wldcordeiro has joined #ruby
momomomomo has joined #ruby
wldcordeiro has quit [Client Quit]
snophey has joined #ruby
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
__butch__ has joined #ruby
wldcordeiro has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
joaomdmoura has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
paulcsmith has joined #ruby
rindolf has quit [Quit: http://www.shlomifish.org/ ; Yay! I'm a llama again.]
joaomdmoura has quit [Read error: Connection reset by peer]
joaomdmoura has joined #ruby
shadoi has quit [Quit: Leaving.]
freerobby has joined #ruby
shadoi has joined #ruby
leat1 has joined #ruby
tlarevo has joined #ruby
dudedudeman has joined #ruby
chabil has joined #ruby
dudedudeman has quit [Changing host]
dudedudeman has joined #ruby
tlarevo has quit [Remote host closed the connection]
Zz4yMYrZX6 has joined #ruby
rubyonrailed has joined #ruby
kies has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rubyonrailed> How do I use Time to return Eastern time?
iamjarvo has joined #ruby
jcromartie has quit [Read error: No route to host]
<jhass> in rails?
Musashi007 has joined #ruby
jcromartie has joined #ruby
<rubyonrailed> Yeah sorry wrong channel
mrmargol_ has joined #ruby
aapole has joined #ruby
AlexRussia has quit [Ping timeout: 246 seconds]
scripore has joined #ruby
AmirolAh_ has quit []
AlexRussia has joined #ruby
jeregrine has quit [Remote host closed the connection]
cardoni has quit [Remote host closed the connection]
grubernaut has quit [Remote host closed the connection]
featheryahn_ has quit [Remote host closed the connection]
avdi has quit [Remote host closed the connection]
zzak has quit [Remote host closed the connection]
alol___ has quit [Remote host closed the connection]
hellschreiber has quit [Remote host closed the connection]
pusewicz has quit [Remote host closed the connection]
MiracleBlue has quit [Remote host closed the connection]
djbender has quit [Remote host closed the connection]
n1ftyn8 has quit [Remote host closed the connection]
firevolt has quit [Remote host closed the connection]
cstrahan has quit [Remote host closed the connection]
saintcajetan has quit [Remote host closed the connection]
deimos has quit [Remote host closed the connection]
pizzaops has quit [Remote host closed the connection]
maZtah has quit [Remote host closed the connection]
vcoinminer has quit [Remote host closed the connection]
Wobbley has quit [Remote host closed the connection]
poikon has quit [Remote host closed the connection]
charles81 has quit [Remote host closed the connection]
cek has quit [Remote host closed the connection]
chrisseaton has quit [Remote host closed the connection]
harleypig has quit [Remote host closed the connection]
adambeynon has quit [Remote host closed the connection]
rfv has quit [Remote host closed the connection]
tonini has quit [Remote host closed the connection]
bjeanes has quit [Remote host closed the connection]
skmp has quit [Remote host closed the connection]
alxndr has quit [Remote host closed the connection]
brb3 has quit [Remote host closed the connection]
bcavileer has quit [Remote host closed the connection]
roar has quit [Ping timeout: 264 seconds]
mrmargolis has quit [Ping timeout: 258 seconds]
<Zz4yMYrZX6> yo jhass, it's me the timestamp dude
balazs_ has quit [Ping timeout: 265 seconds]
<Zz4yMYrZX6> someone figured it out for me, not sure if you're curious
<Zz4yMYrZX6> what was making me crazy, the newb that i am, was that time is always measured in seconds
scripore has quit [Client Quit]
<Zz4yMYrZX6> want to see the script? are you curious?
last_staff has quit [Quit: last_staff]
endash has joined #ruby
<jhass> not really, it's not complicated
__butch__ has quit [Quit: Leaving.]
<Zz4yMYrZX6> cool
Zz4yMYrZX6 has left #ruby [#ruby]
<dudedudeman> lol
<jhass> if they invested the time trying to find somebody that does it for them in learning that little bit of programming/ruby ...
scripore has joined #ruby
scripore has quit [Client Quit]
<dudedudeman> i struggle with that, not just in ruby, but in life. it's a tough nut to crack, i'll be honest
<daed> if anybody here has used DRb before: have you ever had DRb hang and nearly time out and spend 97% of the ruby-prof cycles sitting at IO#read?
EllisTAA has joined #ruby
<jhass> rubyonrailed: since you didn't ask over there http://api.rubyonrails.org/classes/DateAndTime/Zones.html#method-i-in_time_zone
nateberkopec has joined #ruby
<daed> not sure how to best debug DRb issues
jenrzzz has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
<rubyonrailed> jhass: Thanks I got sidetracked
sandstrom has joined #ruby
cmisenas has quit [Quit: cmisenas]
MouseTheLuckyDog has quit [Ping timeout: 246 seconds]
agent_white has joined #ruby
anytimeb_ has quit [Quit: Leaving...]
cmisenas has joined #ruby
jtzero has joined #ruby
jtzero has left #ruby [#ruby]
kies has quit [Ping timeout: 256 seconds]
premera_c has quit [Remote host closed the connection]
<havenwood> daed: Can you show the code?
A124 has quit [Quit: Luke's IRC Client v0.94 build 682]
aryaching_ has joined #ruby
<daed> havenwood: unfortunately it's probably like 1000 lines of various code and i can't seem to trace precisely where this is coming from, ruby-prof only says "DRbMessage#load called IO#read" and it's hanging there
zendrix has joined #ruby
Brozo has joined #ruby
platzhirsch has joined #ruby
<daed> IO#read isn't blocking like that in other environments though
mister_solo has quit [Ping timeout: 272 seconds]
aryaching has quit [Ping timeout: 252 seconds]
aryaching_ is now known as aryaching
Blaguvest has joined #ruby
roar has joined #ruby
platzhirsch has left #ruby [#ruby]
fabrice31 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juanpaucar has joined #ruby
juanpaucar has quit [Remote host closed the connection]
chipotle has joined #ruby
juanpaucar has joined #ruby
n80 has quit [Quit: n80]
zdman135 has quit [Remote host closed the connection]
yfeldblum has joined #ruby
balazs_ has joined #ruby
dfockler has quit [Remote host closed the connection]
mrmargol_ has quit [Remote host closed the connection]
mrmargolis has joined #ruby
zendrix has quit [Remote host closed the connection]
EllisTAA has quit [Quit: EllisTAA]
duderonomy has joined #ruby
snophey has quit [Read error: Connection reset by peer]
<shevy> dudedudeman I struggle too. But I am naturally lazy, so I tend to write code that is very simple
fujimura has joined #ruby
Pupeno has joined #ruby
<havenwood> daed: Do you know what it's deserializing when it gets stuck?
fabrice31 has quit [Ping timeout: 272 seconds]
<daed> havenwood: there are hundreds of drb messages flowing through the processes (about 6+ processes)
<dudedudeman> shevy: i like to think part of it is because i'm a junior, but i don't want to hang my laruels on that too much
<havenwood> daed: hmm
<daed> maybe i'll patch in some logging
dionysus69 has joined #ruby
pietr0 has quit [Quit: pietr0]
<daed> havenwood: still seems weird that ruby-prof is giving me such a small stack trace
<havenwood> aye
<shevy> dudedudeman you'll be much lazier in 10 years man :)
<shevy> a part of the reason why I write code is so I can be lazy lateron
<dudedudeman> ayyyy
__butch__ has joined #ruby
leat1 has quit [Ping timeout: 255 seconds]
MouseTheLuckyDog has joined #ruby
fujimura has quit [Ping timeout: 246 seconds]
vikaton has joined #ruby
internetfriend has quit [Quit: Textual IRC Client: www.textualapp.com]
juanpaucar has quit [Remote host closed the connection]
zipace has quit [Ping timeout: 265 seconds]
freerobby has quit [Quit: Leaving.]
chinmay_dd has joined #ruby
gusrub has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
danman has quit [Quit: danman]
internetfriend has joined #ruby
__butch_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
__butch__ has quit [Client Quit]
<shevy> which testing style is the most fun?
iamjarvo has joined #ruby
baweaver has joined #ruby
someword has joined #ruby
Pupeno has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
doctorly has joined #ruby
<daed> havenwood: FWIW i used the html callstack printer and it gave me the full callstack
<daed> drbconn#sendmessage, drbtcpsocket#recv_reply, drbmessage#recv_reply, drbmessage#load and it hands there on IO#read within the load() function
<duderonomy> I have a need to create a properly formatted XML doc from collection of structured data sets (but sometimes they vary based on version). Then, hopefully, other services can access that data via an API .
Pupeno has joined #ruby
Pupeno has joined #ruby
<duderonomy> Of course, I am inexperienced in both xml and ruby.
jackjackdripper has quit [Quit: Leaving.]
kadoppe has quit [Ping timeout: 272 seconds]
kies has joined #ruby
n1x has joined #ruby
phutchins has quit [Ping timeout: 255 seconds]
<duderonomy> Has the community innovated past Jim's canonical builder gem?
sandstrom has joined #ruby
kadoppe has joined #ruby
fmcgeough has joined #ruby
snophey has joined #ruby
<duderonomy> Seems like the place I should start
e1nh4nd3r has joined #ruby
CorySimmons has joined #ruby
Y4Rv1K has quit []
<shevy> duderonomy first step is I would try to use nokogiri
Y4Rv1K has joined #ruby
<shevy> have a look at the examples, I think it should allow you to do everything regarded XML
<shevy> if you are inexperienced with ruby though, I think you'll need to know a minimal set of ruby
<duderonomy> thaaaanks!
<shevy> I mean the examples are easy to understand anyway
Brozo has quit [Remote host closed the connection]
<shevy> html_doc = Nokogiri::HTML("<html><body><h1>Mr. Belvedere Fan Club</h1></body></html>")
Brozo has joined #ruby
<duderonomy> I just got the minimal. :)
baweaver has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
doctorly has quit [Ping timeout: 264 seconds]
mandarinkin has joined #ruby
<shevy> yeah
<shevy> I try to get away with minimal ruby as well
<shevy> but sometimes I need to have more
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
atmosx_ is now known as atmosx
<shevy> like ... how do I redirect all puts statements into an object's instance variable
<atmosx> hello
hahuang65 has quit [Ping timeout: 272 seconds]
<shevy> yo atmosx
<atmosx> :-)
n80 has joined #ruby
Kricir has quit [Remote host closed the connection]
__butch_ has quit [Quit: __butch_]
<shevy> interesting
<shevy> in html, via <object> you can actually embed another page?
<shevy> isn't that like the old frameset functionality?
apofis has joined #ruby
nobitanobi has joined #ruby
kies has quit [Ping timeout: 264 seconds]
<shevy> <object data="some_image.png"></object>
<shevy> weird :)
CorySimmons has quit [Quit: Bye!]
nobitanobi has quit [Read error: Connection reset by peer]
apofis has quit [Read error: Connection reset by peer]
apofis has joined #ruby
lele is now known as Guest24
<ruby-lang431> Really?
<ruby-lang431> How do you do that?
EllisTAA has joined #ruby
freerobby has joined #ruby
govg has joined #ruby
__butch__1 has joined #ruby
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<shevy> dunno, it just seems to work
<shevy> I was more wondering because I thought that the frameset tag no longer being avilable, actually means that you'd lose functionality
<shevy> but you did not lose much actually... you can still embed pages in a page
iamjarvo has joined #ruby
Sou|cutter has quit [Quit: bbiab]
stamina has joined #ruby
EllisTAA has quit [Client Quit]
pietr0 has joined #ruby
baweaver has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
Torrieri has joined #ruby
<shevy> is there an event that can be run after a block has executed?
<shevy> w { foo; bar } # <--- we call foo() we call bar(), but I also want to describe externally that I want to run cleanup() afterwards
bootstrappm has quit [Ping timeout: 246 seconds]
MouseTheLuckyDog has quit [Quit: Leaving]
__butch__1 has quit [Quit: Leaving.]
Y4Rv1K has quit []
Y4Rv1K has joined #ruby
maciejczyzewski has joined #ruby
dfockler has joined #ruby
balazs has joined #ruby
GPrime has joined #ruby
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
__butch__1 has joined #ruby
<allcentury> question - if I define a class within a module, should I be able to access that modules instance methods?
Y4Rv1K has quit [Client Quit]
baweaver has quit []
Y4Rv1K has joined #ruby
pengin has joined #ruby
Pupeno has quit [Remote host closed the connection]
<shevy> the only way to access a module's instance methods is when you make it an ancestor of the class
<shevy> in other words, you use: include ModuleNameHere
__butch__ has joined #ruby
<allcentury> right, I figured it out - but it seems weird that I have to include the module
momomomomo has quit [Quit: momomomomo]
balazs has quit [Ping timeout: 246 seconds]
<ruby-lang431> What makes you think so
fedexo has joined #ruby
gix has quit [Ping timeout: 256 seconds]
blackmesa has joined #ruby
<allcentury> well take this example I just did - https://gist.github.com/bb87b01a768a1f0edc37
<shevy> well you must specify the behaviour and ancestors for a class, so that ruby can know what methods said class has access to
<allcentury> I'm declaring the class within the module namespace but I can only access the module's methods by including it
<allcentury> shevy: I see, when you put it that way, it makes sense
Rapier- has quit [Quit: (null)]
<shevy> right because say_hi() is not part of class Cat
<allcentury> right
<shevy> you could also make the module work standalone in addition to that
momomomomo has joined #ruby
__butch__1 has quit [Quit: Leaving.]
squeedee has joined #ruby
<shevy> if you need: Animal.say_hi
squeedee has left #ruby [#ruby]
jgt1 has joined #ruby
e1nh4nd3r has quit [Quit: Leaving.]
<shevy> the thing with include is that it really becomes some kind of superclass
<shevy> >> module Foo; end; class Bar; include Foo; end; Bar.ancestors
<ruboto> shevy # => [Bar, Foo, Object, Kernel, BasicObject] (https://eval.in/376297)
leat1 has joined #ruby
<shevy> >> class Foo; end; class Bar < Foo; end; Bar.ancestors
<ruboto> shevy # => [Bar, Foo, Object, Kernel, BasicObject] (https://eval.in/376298)
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
argoneus has quit [Ping timeout: 255 seconds]
EllisTAA has joined #ruby
<shevy> the two are sort of identical if you ask me
someword has quit [Ping timeout: 264 seconds]
argoneus has joined #ruby
gix has joined #ruby
Fooster has quit [Ping timeout: 255 seconds]
jud^ has joined #ruby
lkba has joined #ruby
casadei has quit [Ping timeout: 244 seconds]
chinmay_dd has quit []
jud has quit [Ping timeout: 265 seconds]
casadei has joined #ruby
apofis has quit [Quit: This computer has gone to sleep]
<jhass> shevy: yeah, the difference is the class of Foo ;)
<jhass> and which hook gets triggered
pengin has quit [Remote host closed the connection]
IanVorn has joined #ruby
krainboltgreene has quit [Remote host closed the connection]
Guest85414______ has quit [Remote host closed the connection]
bove has quit [Remote host closed the connection]
yo61 has quit [Write error: Connection reset by peer]
ec has quit [Remote host closed the connection]
andrewstewart has quit [Remote host closed the connection]
prosodyContext has quit [Remote host closed the connection]
im0b has quit [Write error: Broken pipe]
codeitagile has quit [Remote host closed the connection]
t-richards has quit [Remote host closed the connection]
jmhmccr has quit [Remote host closed the connection]
countryHick has quit [Remote host closed the connection]
iamdevnul has quit [Remote host closed the connection]
akitada has quit [Remote host closed the connection]
lancetw has quit [Remote host closed the connection]
benlakey has quit [Remote host closed the connection]
pmarreck has quit [Remote host closed the connection]
dede has quit [Remote host closed the connection]
d10n-work has quit [Remote host closed the connection]
coderkevin has quit [Remote host closed the connection]
preyalone has quit [Read error: Connection reset by peer]
zero7 has quit [Remote host closed the connection]
neersighted has quit [Remote host closed the connection]
kapowaz has quit [Write error: Broken pipe]
[diecast] has quit [Remote host closed the connection]
machty has quit [Remote host closed the connection]
vikaton has quit [Remote host closed the connection]
hoey has quit [Remote host closed the connection]
Heero has quit [Remote host closed the connection]
Lloyd has quit [Remote host closed the connection]
shelling__ has quit [Remote host closed the connection]
maciejczyzewski has quit [Quit: Textual IRC Client: www.textualapp.com]
snockerton1 has joined #ruby
momomomomo has quit [Quit: momomomomo]
mcclurmc has joined #ruby
pengin has joined #ruby
snockerton has quit [Ping timeout: 256 seconds]
mcclurmc_ has quit [Ping timeout: 256 seconds]
internetfriend has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
stamina has quit [Quit: WeeChat 1.2]
zendrix has joined #ruby
pietr0 has quit [Quit: pietr0]
pietr0 has joined #ruby
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
momomomomo has joined #ruby
chabil has quit [Quit: leaving]
scripore has joined #ruby
arescorpio has joined #ruby
blenny has joined #ruby
sandelius has joined #ruby
symbol has joined #ruby
nofxx__ has joined #ruby
phizzbuzz has quit [Ping timeout: 255 seconds]
kies has joined #ruby
someword has joined #ruby
nofxx__ has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
cmisenas has quit [Ping timeout: 264 seconds]
jackjackdripper has quit [Quit: Leaving.]
[diecast] has joined #ruby
jackjackdripper has joined #ruby
adefa has quit [Ping timeout: 255 seconds]
fmcgeough has quit [Quit: fmcgeough]
n80 has quit [Quit: n80]
simplyianm has joined #ruby
<simplyianm> Hi
Guest85414______ has joined #ruby
<simplyianm> What's the idiomatic way to write this https://gist.github.com/simplyianm/17f1760048b64f5048c8
kapowaz has joined #ruby
cmisenas has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wallerdev has joined #ruby
freerobby has quit [Quit: Leaving.]
someword has quit [Ping timeout: 272 seconds]
kies has quit [Ping timeout: 256 seconds]
<jhass> I guess your problem is that you do flow control with exceptions
revoohc has quit [Quit: revoohc]
gianlucadv has joined #ruby
bluOxigen has quit [Ping timeout: 252 seconds]
revoohc has joined #ruby
postmodern has joined #ruby
tenspeed705 has joined #ruby
<tenspeed705> Good day guys. Learning Ruby. wondering if someone could give me a basic project to code, to help me along?
ec has joined #ruby
lavros has quit [Quit: leaving]
<havenwood> tenspeed705: thinking more a command line app or web app?
happyface has joined #ruby
<jhass> tenspeed705: maybe you got something that you do regularly that you could (partially) automate?
gattuso has joined #ruby
<tenspeed705> havenwood: both, not picky
felltir has joined #ruby
<tenspeed705> havenwood: thats not a bad idea
EllisTAA has quit [Quit: EllisTAA]
someword has joined #ruby
EllisTAA has joined #ruby
<weaksauce> code the game of life
veleno has joined #ruby
phizzbuzz has joined #ruby
<tenspeed705> weaksauce: Never played it
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<tenspeed705> I think i had a bad childhood
freerobby has joined #ruby
<tenspeed705> jhass: Would ruby work to login to a web page everyday and submit a form?
<jhass> yes
<weaksauce> not really something you "play" https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life
<jhass> have a look at the mechanize gem
Limix has quit [Quit: Limix]
jmhmccr has joined #ruby
platzhirsch has joined #ruby
freerobby has joined #ruby
freerobby has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
<tenspeed705> weaksauce: I thought you were referring to the hasbro game.
<tenspeed705> thanks jhass
<weaksauce> :)
<Diabolik> can anyone recommend any resources for ruby algo design
phizzbuzz has quit [Read error: Connection reset by peer]
ajk_ has joined #ruby
GnuYawk has joined #ruby
<weaksauce> Diabolik in what sense?
<Diabolik> im struggling with doing some of the tougher codewars stuff
<weaksauce> how ruby is designed? or how to implement an algorithm in ruby.
<Diabolik> the latter
ruby-lang938 has joined #ruby
<ruby-lang938> hello
snsei has joined #ruby
ruby-lang938 has quit [Client Quit]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
zenguy_pc has quit [Read error: No route to host]
<jhass> 12 seconds, had it worse
x1337807x has joined #ruby
mrsolo_ has quit [Quit: This computer has gone to sleep]
x1337807x has quit [Max SendQ exceeded]
EllisTAA has quit [Quit: EllisTAA]
<weaksauce> Diabolik can you gist an example?
<ajk_> v = "testing testing\n testing testing" v[/(?<=\\n ).+/] returns nil any idea why? I can get this working in Rubular but not in irb.
x1337807x has joined #ruby
EllisTAA has joined #ruby
pmarreck has joined #ruby
pusewicz has joined #ruby
sandelius has joined #ruby
cmisenas has quit [Ping timeout: 256 seconds]
mrmargolis has quit [Ping timeout: 244 seconds]
<ajk_> Essentially im trying to grab everything after the \n break
balazs_ has quit [Ping timeout: 265 seconds]
momomomomo has quit [Quit: momomomomo]
krainboltgreene has joined #ruby
harleypig has joined #ruby
vcoinminer has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
im0b has joined #ruby
<finisherr> When retrieving paginated REST responses from an HTTP API, is it best to iterate through each page and append the results to some object until the next page returns a 404?
avdi has joined #ruby
<havenwood> ajk_: Single versus double quotes.
alol___ has joined #ruby
jeregrine has joined #ruby
neersighted has joined #ruby
<havenwood> ajk_: Whether it's a newline or escaped, so actually the characters '\' and 'n'
zenguy_pc has joined #ruby
<havenwood> >> 'testing testing\n testing testing'[/(?<=\\n ).+/]
<ruboto> havenwood # => "testing testing" (https://eval.in/376318)
<havenwood> >> "testing testing\n testing testing"[/(?<=\\n ).+/]
<ruboto> havenwood # => nil (https://eval.in/376319)
<havenwood> ajk_: ^
bjeanes has joined #ruby
featheryahn_ has joined #ruby
Ox0dea has joined #ruby
alxndr has joined #ruby
kenndel has joined #ruby
<weaksauce> Diabolik think like a computer... how would you do that if you were to do it by hand?
mistermocha has joined #ruby
<Ox0dea> weaksauce: Computers don't have hands.
n80 has joined #ruby
<weaksauce> how would you do that if you were handless then?
<weaksauce> :P
<ajk_> havenwood: what if im retrieveing the string from an object how do i use single quotes?
fedexo has quit [Ping timeout: 256 seconds]
adambeynon has joined #ruby
zero7 has joined #ruby
hellschreiber has joined #ruby
simplyianm has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 265 seconds]
phutchins has joined #ruby
shelling__ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akitada has joined #ruby
relix has joined #ruby
<Diabolik> weaksauce
<Diabolik> i get that
<Diabolik> and i have a page of notes
mrmargolis has joined #ruby
<Diabolik> but its shit like working out how to capitalize the first letter of each word
<Diabolik> that i don't know
pizzaops has joined #ruby
gsd has quit [Ping timeout: 264 seconds]
andrewstewart has joined #ruby
<Ox0dea> Diabolik: Are you behind the Great Firewall?
n1ftyn8 has joined #ruby
symbol has quit [Quit: WeeChat 1.1]
<havenwood> ajk_: So you don't want to change your regexp to match the data, you want to change the data to match the regexp?
machty has joined #ruby
<havenwood> ajk_: Maybe I'm missing something but why not use a regexp that matches your data?
dede has joined #ruby
nateberkopec has quit [Quit: Leaving...]
yo61 has joined #ruby
icbm has joined #ruby
Fooster has joined #ruby
phizzbuzz has joined #ruby
<ajk_> havenwood: so im retrieving my data through nokogiri as a string object however when i try to apply the regex it returns nil, because its evaluating with double quotes, how can i have it evaluate it differently?
maZtah has joined #ruby
n3vtelen has joined #ruby
<havenwood> ajk_: v[/(?<=\n ).+/]
casadei has quit [Remote host closed the connection]
<havenwood> >> "testing testing\n testing testing"[/(?<=\n ).+/]
<ruboto> havenwood # => "testing testing" (https://eval.in/376328)
cek has joined #ruby
deimos has joined #ruby
bove has joined #ruby
TinkerTyper has quit [Ping timeout: 246 seconds]
<ajk_> i see so i didnt need to escape the new line character
gsd has joined #ruby
<havenwood> ajk_: Just don't escape the newline in your Regexp, if I'm understanding correctly. Yup
benlakey has joined #ruby
mdz_ has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lancetw has joined #ruby
<ajk_> whats strange is it will still eval correctly in rubular.com with the escaped new line
<ajk_> but not in irb
charles81 has joined #ruby
<ajk_> i think thats where the confusion was
<Diabolik> no Ox0dea
<Diabolik> whty
<Diabolik> *why
<havenwood> ajk_: try in irb but with a single quote string, yeah
bcavileer has joined #ruby
<ajk_> it works now, thank you havenwood
<havenwood> ajk_: you're welcome
TinkerTyper has joined #ruby
<ajk_> strange how an online repl could eval correctly though
<ajk_> and not in irb
balazs_ has joined #ruby
<havenwood> ajk_: well, i guess they had to pick single or double quotes for the test string
<havenwood> ajk_: you chose double and they chose single
Zai00 has joined #ruby
aryaching has quit [Ping timeout: 255 seconds]
Zai00 has quit [Client Quit]
mrsolo has joined #ruby
preyalone has joined #ruby
crazydiamond has quit [Remote host closed the connection]
_ht has quit [Quit: Konversation terminated!]
rfv has joined #ruby
djbender has joined #ruby
gambl0re has quit [Ping timeout: 272 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skmp has joined #ruby
hahuang65 has joined #ruby
x1337807x has joined #ruby
<havenwood> ajk_: i guess it'd be nice to show single quotes around the test string on Rubular to be more clear. you could open an issue asking to treat test string as double quotes for escaping.
x1337807x has quit [Max SendQ exceeded]
snsei has quit [Remote host closed the connection]
x1337807x has joined #ruby
roar has quit [Ping timeout: 252 seconds]
moretti has joined #ruby
d10n-work has joined #ruby
stan has quit [Ping timeout: 256 seconds]
<ajk_> thats a good idea
EllisTAA has quit [Quit: EllisTAA]
prosodyContext has joined #ruby
cstrahan has joined #ruby
relix has joined #ruby
MiracleBlue has joined #ruby
<havenwood> since Ruby returns double quoted String literals your expectation makes sense to me
baroquebobcat has quit [Quit: baroquebobcat]
hahuang65 has quit [Client Quit]
nonparfumee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chrisseaton has joined #ruby
aryaching has joined #ruby
podman has quit [Quit: Connection closed for inactivity]
cmisenas has joined #ruby
baroquebobcat has joined #ruby
EllisTAA has joined #ruby
jcromartie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> >> %q foo
<ruboto> Ox0dea # => /tmp/execpad-349bd0dcfc34/source-349bd0dcfc34:3: syntax error, unexpected tCONSTANT, expecting keywo ...check link for more (https://eval.in/376330)
<Ox0dea> >> %q foo
<ruboto> Ox0dea # => /tmp/execpad-b55f31f5ea7c/source-b55f31f5ea7c:3: syntax error, unexpected tCONSTANT, expecting keywo ...check link for more (https://eval.in/376331)
countryHick has joined #ruby
<Ox0dea> Huh?
snockerton1 has quit [Quit: Leaving.]
<zenspider> what's the question?
<felltir> %q { foo }
<Ox0dea> ruboto chomps input.
<felltir> >> %q { foo }
hahuang65 has joined #ruby
<ruboto> felltir # => /tmp/execpad-af2d1083fc2f/source-af2d1083fc2f:2: syntax error, unexpected tIDENTIFIER, expecting key ...check link for more (https://eval.in/376332)
<havenwood> chomp chomp chomp
mdz_ has joined #ruby
<felltir> hmm
<Ox0dea> eval "%q foo "
<havenwood> felltir: no space allowed
<adaedra> >> %q foo # don't chew
<ruboto> adaedra # => "foo" (https://eval.in/376333)
<Ox0dea> >> eval "%q foo "
<ruboto> Ox0dea # => "foo" (https://eval.in/376334)
<Ox0dea> Yeah, comment works.
revoohc has left #ruby [#ruby]
<felltir> interesting
mdz_ has quit [Remote host closed the connection]
EllisTAA has quit [Client Quit]
<adaedra> I already tried some days ago ;)
<havenwood> felltir: your delimiter just has to immediately follow the %q
fujimura has joined #ruby
<Ox0dea> havenwood: And belong to a certain set of characters, of course.
<havenwood> aye
GPrime has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Ox0dea> That space is also acceptable for %x is particularly devilish.
thiagofm has joined #ruby
Heero has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<felltir> >> %%%
<ruboto> felltir # => "" (https://eval.in/376335)
<Ox0dea> Christ.
<felltir> I do like that
<felltir> >> ?????:%%%
<ruboto> felltir # => /tmp/execpad-4ac77cd5f6f8/source-4ac77cd5f6f8:2: warning: string literal in condition ...check link for more (https://eval.in/376337)
<Ox0dea> >> a = []; a << a; [a, a.sort]
<ruboto> Ox0dea # => [[[...]], [[[...]]]] (https://eval.in/376339)
<eam> Ox0dea: especially considering % also is an operator on String
<havenwood> Ox0dea: yet emoji is not acceptable
<Ox0dea> Notice the extra level of "nesting" on the sorted one; anybody know what that's about?
Brozo has quit [Remote host closed the connection]
<eam> >> % %%%%%% %%%% % %%%%% %%%% # this doesn't work without this comment
<ruboto> eam # => "%" (https://eval.in/376340)
bruno- has quit [Quit: Lost terminal]
tonini has joined #ruby
grubernaut has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> >> % %%%%%% %%%% % %%%%% %%%%
<ruboto> eam # => /tmp/execpad-87cb1f98db6d/source-87cb1f98db6d:3: syntax error, unexpected tCONSTANT, expecting keywo ...check link for more (https://eval.in/376342)
<adaedra> So many %
fujimura has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
moretti has quit [Remote host closed the connection]
Limix has joined #ruby
adefa has joined #ruby
scripore has joined #ruby
mrsolo has quit [Quit: This computer has gone to sleep]
bmurt has quit []
vikaton has joined #ruby
micmus has quit [Ping timeout: 264 seconds]
Y4Rv1K has quit [Remote host closed the connection]
<havenwood> >> eval [1, 6, 4, 1, 5, 4].map { |n| '%' * n }.each_with_object(' ').to_a.join
<ruboto> havenwood # => "%" (https://eval.in/376351)
agent_white has quit [Quit: workteim]
Encapsulation has quit [Quit: Leaving]
rubyonrailed has quit [Remote host closed the connection]
thiagofm has quit [Remote host closed the connection]
_blizzy_ has quit [Ping timeout: 244 seconds]
poikon has joined #ruby
<Ox0dea> >> %d[1 6 4 1 5 4]
<ruboto> Ox0dea # => /tmp/execpad-7885935dbbb7/source-7885935dbbb7:2: unknown type of %string ...check link for more (https://eval.in/376355)
fabrice31 has joined #ruby
<Ox0dea> That should be a thing, I reckon.
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<felltir> why?
<adaedra> quick number array, could be nice
<Ox0dea> havenwood wouldn't have had to type all those commas.
<adaedra> we already have %w[] and %i[]
Y4Rv1K_ has joined #ruby
Sou|cutter has joined #ruby
<eam> >> %w[1 6 4 1 5 4].map(&:to_i)
<ruboto> eam # => [1, 6, 4, 1, 5, 4] (https://eval.in/376358)
<adaedra> and maybe even others
<Ox0dea> eam: Developer happiness and all that.
<felltir> I guess, what happens if you do %d[word]
cardoni has joined #ruby
mrsolo has joined #ruby
senayar has joined #ruby
<eam> I want %X which is %x without /bin/sh
<adaedra> felltir: syntax error?
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
firevolt has joined #ruby
<eam> using %w rules
<adaedra> system(*%w[...])
<eam> not the same
zzak has joined #ruby
<adaedra> yeah, true
<eam> first, gotta special case argv.size = 1, second no capturing of stdout
<eam> I did write it but ...
Igorshp has joined #ruby
<zenspider> eam: unless I'm misunderstanding you... /bin/sh is only used when there are specific chars in the cmd to run
snockerton has joined #ruby
<eam> zenspider: right, and for security purposes or quoting correctness you'll want to avoid that interpolation in a bunch of cases
<eam> eg "my file args have spaces"
Y4Rv1K_ has quit [Remote host closed the connection]
<eam> the same reasoning behind using placeholders in a db module, really
Y4Rv1K_ has joined #ruby
<adaedra> %x(echo $0) # => /bin/sh
<eam> vs quote-and-interpolate
veleno has quit [Ping timeout: 276 seconds]
FernandoBasso has joined #ruby
fabrice31 has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<zenspider> eam: ugh. yeah. you prolly want to stick to popen([cmd-array]).read
<eam> zenspider: the metachar check to skip /bin/sh bugs me a bit too, since it means potential behavior differences on systems
<zenspider> yup
<Ox0dea> What does %x do on Windows?
<eam> zenspider: yeah, all doable via popen
iamjarvo has joined #ruby
<Ox0dea> Eh, just delegates to system(3), I suppose.
<adaedra> maybe through cmd.exe
kies has joined #ruby
Wobbley has joined #ruby
aapole has quit [Ping timeout: 256 seconds]
<eam> I have ruby for DOS running here, lemmie fire it up
finisherr has quit [Quit: finisherr]
aryaching has quit [Ping timeout: 265 seconds]
aryaching has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
maxshelley has joined #ruby
micmus has joined #ruby
shadoi has joined #ruby
brb3 has joined #ruby
moretti has joined #ruby
aryaching has quit [Client Quit]
Brozo has joined #ruby
platzhirsch has quit [Quit: Leaving.]
Fooster has quit [Ping timeout: 250 seconds]
GPrime has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
zendrix has quit [Remote host closed the connection]
mrsolo has quit [Quit: This computer has gone to sleep]
adefa has quit [Ping timeout: 252 seconds]
matt_m has quit []
decoponio has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<eam> it uses cmd.exe, not a POSIX compliant shell
saintcajetan has joined #ruby
maxshelley has quit [Ping timeout: 265 seconds]
wallerdev has quit [Quit: wallerdev]
umgrosscol has quit [Quit: Quit]
zendrix has joined #ruby
tuelz2 has quit [Ping timeout: 246 seconds]
rubie has quit [Remote host closed the connection]
rubie has joined #ruby
rubie has quit [Remote host closed the connection]
Jackneill has quit [Remote host closed the connection]
rodferso1 has quit [Quit: leaving]
GPrime has quit [Ping timeout: 258 seconds]
cmisenas has quit [Ping timeout: 265 seconds]
bb010g has joined #ruby
victortyau has joined #ruby
adefa has joined #ruby
ESpiney has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
dnlbyl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
futilegames has joined #ruby
arashb has joined #ruby
rubie has joined #ruby
Azure has quit [Quit: Oops.]
Azure has joined #ruby
rubie has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubie has joined #ruby
snsei has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n80 has quit [Quit: n80]
Limix has quit [Quit: Limix]
mrmargolis has quit [Remote host closed the connection]
dzejrou has quit [Ping timeout: 276 seconds]
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
futilegames has quit [Quit: futilegames]
coderkevin has joined #ruby
fusillicode1 has joined #ruby
fusillicode1 has left #ruby [#ruby]
baroquebobcat has quit [Quit: baroquebobcat]
DoubleMalt has quit [Ping timeout: 246 seconds]
dopie has quit [Quit: This computer has gone to sleep]
iamjarvo has joined #ruby
cmisenas has joined #ruby
stardiviner has quit [Ping timeout: 252 seconds]
arescorpio has quit [Read error: Connection reset by peer]
casadei has joined #ruby
freerobby has joined #ruby
bootstrappm has joined #ruby
endash_ has joined #ruby
<shevy> ack
<shevy> DOS
snophey has quit [Ping timeout: 245 seconds]
<shevy> eam, you are becoming a fossil more and more every day
iamdevnul has joined #ruby
endash has quit [Ping timeout: 276 seconds]
endash_ is now known as endash
t-richards has joined #ruby
fusillicode has joined #ruby
fusillicode has left #ruby [#ruby]
Vile` has quit [Ping timeout: 264 seconds]
atomical has joined #ruby
<dfockler> gosh ruby is so nice
baroquebobcat has joined #ruby
Lloyd has joined #ruby
dopie has joined #ruby
autrilla has joined #ruby
<autrilla> Hello! Can anyone help me understand why this error is happening? https://gist.github.com/autrilla/26d066f11f32972158b4
<jhass> sounds like you have no default route?
snophey has joined #ruby
<jhass> or the host you're trying to reach has no route towards it, at least from your network
codeitagile has joined #ruby
vikaton has quit []
<Ox0dea> dfockler: What made you say so?
<jhass> does it need a reason?
livathinos has joined #ruby
x1337807x has joined #ruby
hoey has joined #ruby
livathinos is now known as livathinos|away
<dfockler> just refactoring and I made a method a lot nicer
Narzew has joined #ruby
x1337807x has quit [Max SendQ exceeded]
wldcordeiro has quit [Ping timeout: 265 seconds]
Vile` has joined #ruby
wallerdev has joined #ruby
x1337807x has joined #ruby
<autrilla> jhass: mm okay, that doesn't really help me but I appreciate it
<dfockler> also does anyone end up passing around a bunch of values and then realize you should have an object?
livathinos|away has quit [Client Quit]
<dfockler> 5 years out of school and I'm still learning OOP
balazs has joined #ruby
<eam> shevy: we all are, really. It's the human condition
<jhass> autrilla: well, there's nothing we say more without access to the machine you're getting that from and the host it's trying to reach. It's most likely unrelated to any of the ruby stuff
<jhass> *we can
<ljarvis> dfockler: they're all objects
workmad3 has joined #ruby
<dfockler> :P
<autrilla> I understand. I didn't code this.
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/2015051400]]
dorei has quit []
njs126 has quit [Ping timeout: 265 seconds]
frem_ has joined #ruby
tuelz2 has joined #ruby
fusillicode has joined #ruby
<jhass> yeah, I'm saying it's unlikely an issue in the code but in your system/network configuration
ogpastal_ has joined #ruby
<jhass> I wish ruby would dump the IPs in these errors though
ogpastal_ has quit [Remote host closed the connection]
balazs has quit [Ping timeout: 255 seconds]
chouhoulis has quit [Remote host closed the connection]
ndrei has joined #ruby
ogpastaling has quit [Ping timeout: 258 seconds]
frem_ is now known as frem
hinbody has quit [Quit: leaving]
[H]unt3r has quit []
OrbitalKitten has joined #ruby
<drbrain> autrilla: ↑ I agree
kies has quit [Ping timeout: 265 seconds]
<autrilla> I doubt that, I don't even have a firewall
<autrilla> selinux is permissive... heh
vikaton has joined #ruby
mdz_ has joined #ruby
<eam> selinux at all can cause odd behavior. I always disable it completely
<workmad3> autrilla: not having a firewall doesn't mean your network settings are good
mdz_ has quit [Remote host closed the connection]
decoponio has quit [Read error: Connection reset by peer]
zendrix has quit [Remote host closed the connection]
jimmybee88 has joined #ruby
<autrilla> workmad3: why would they be wrong?
<jhass> and it doesn't mean your ISPs network config is good, or that of the target hosts ISP or any in between
decoponio has joined #ruby
jimmybee88 has left #ruby [#ruby]
<workmad3> autrilla: because you're getting an error stating that the network is unreachable? :P
<jhass> all could have a mess in their configs and cause that particular error
<autrilla> It'd be useful to know what network
<jhass> the one of the target host
<autrilla> Yeah, I figured that much.
<workmad3> jhass: man, I just *love* networks :D
victortyau has quit [Quit: Leaving]
<jhass> I think a lot of people do, so that's why this inter-network thing happened
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> good thing IRC was forward compatible
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> jhass are you writing much crystal code these days?
<workmad3> shevy: bah, you missed a great opportunity for implication there :(
<jhass> hmm, not writing much code at all
<workmad3> jhass: doing much crystal nowadays?
<workmad3> ^^ see
<jhass> heh
<shevy> workmad3 yeah... but this time I really wanted to know if he was writing crystal code!
ghr has joined #ruby
felltir has quit []
<workmad3> jhass: if I was doing crystal, I would so alias the runtime to 'meth' :D
<workmad3> (assuming the compiler isn't already called that)
<jhass> I wonder when somebody will write methhead for Crystal and what it'll do to method headers
zendrix has joined #ruby
<Mon_Ouie> Just rename the 'def' keyword to 'meth'
<workmad3> Crystal Methhead - for really f***ing up method headers
dfockler has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
pengin has quit [Remote host closed the connection]
OrbitalKitten has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
<jhass> I'm also still awaiting the rack port crack
Matthews_ has quit []
x1337807x has quit [Max SendQ exceeded]
<havenwood> jhass: Crack on Crystal framework?
OrbitalKitten has joined #ruby
<havenwood> mmm
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
car has joined #ruby
x1337807x has joined #ruby
eggoez has quit [Ping timeout: 256 seconds]
<shevy> a question - I have this here: https://gist.github.com/shevegen/696293911eb4b95adc27
<shevy> I wish to put stuff into @string
mrsolo has joined #ruby
<shevy> I can do so via direct assignment, or through a method
<shevy> the problem is that the real module has lots of small methods defined; and I sort of want to say "redirect the output of all those methods, into @string"
<jhass> we already have like 6 early webframeworks for crystal, doing rack for crystal would actually be good so we can do stuff like binding lwan and idk
<bougyman> what is crystal?
kstuart has quit [Read error: Connection reset by peer]
<bougyman> it's a bitch to google, i'll tell you that.
kstuart has joined #ruby
<shevy> lol
<bougyman> why do ruby people choose such common names for things?
<bougyman> anyone remember God ?
<shevy> crystal lang should help
<jhass> a programming language
<bougyman> wth, really.
<dudedudeman> bougyman: cyrstal is on reddit as well
<shevy> giving names to things is hard :)
<bougyman> no it isn't
<bougyman> just use something that's not a word.
<bougyman> or an ancient word.
<bougyman> or a sanskrit word.
<shevy> oh an ancient word
<bougyman> c'mon.
pengin has joined #ruby
<workmad3> def
<shevy> now we get into the difficult part
<shevy> latin names!
<shevy> my gem is called sansori mortus est
<Ox0dea> shevy: Make @string a StringIO and delegate #puts?
<workmad3> bougyman: crystal is a different programming language, btw :P
<dudedudeman> i'd like to write a programming language called shevy
<bougyman> great fucking name
<shevy> it makes pandas on the commandline
nibbo has quit [Ping timeout: 256 seconds]
<bougyman> workmad3: yeah I saw that.
<shevy> Ox0dea oh... hmm
<workmad3> 0xDEADBEEF
<shevy> dudedudeman that was already suggested once, I don't remember by who. thankfully it was not accepted
<workmad3> ^ everyone's favourite hex
<Ox0dea> False.
<bougyman> I have shitinternet here (on vacation in dominican republic), can I get a few sentence summary of crystal?
jhass changed the topic of #ruby to: Welcome new users migrating from #ruby-lang! || Rules & more: 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/
<bougyman> even a google search is timing out
centrx has joined #ruby
<shevy> crystal is very similar to ruby in syntax style
<bougyman> luckily irc + znc is frekking bulletproof.
<bougyman> ah, elixir style?
<workmad3> bougyman: it's like ruby, but with types and a compiler
vikaton has quit []
<bougyman> what vm does it run on, or is it AOT ?
<shevy> but the promise is that you have an easier time interfacing with C, and it is compiled I think rather than interpreted
<bougyman> an, AOT.
<ytti> 0xf00fc7c8
<dudedudeman> jhass: what did you change in the topic?
<workmad3> jhass: did that seem accurate? :)
<bougyman> cool, will check it out when I return.
<bougyman> I like exlixir quite a bit.
<bougyman> the erlang vm is quite nice.
<jhass> workmad3: pretty much
<shevy> btw it's funny that during your vacation
<shevy> you still hang out on #ruby :D
<bougyman> well but of course.
<bougyman> i'm just drinking margaritas 10m from the ocean atm
<bougyman> why not chat a bit?
eggoez has joined #ruby
scripore has joined #ruby
someword has quit [Quit: Leaving.]
<shevy> Ox0dea I guess I have to familiarize myself with StringIO first
<workmad3> shevy: it's an IO-like object that wraps around a String
<jhass> workmad3: bougyman the highlight feature of Crystal is that you rarely have to specify types while being a compiled & statically typed language
freerobby has quit [Quit: Leaving.]
<bougyman> inferred types are good and bad, I think.
<bougyman> I'm loving ponylang's capabilities.
<bougyman> I guess I should call them Capabilities
<shevy> optional types would be kinda cool
<bougyman> they're a first class thing
<bougyman> it's a layer between types and the compiler.
apt-get_ has quit [Ping timeout: 256 seconds]
<jhass> yeah, pony is deliberately designed to like never specify a type
<bougyman> which sets rules for what a type can do, and what can be done to it.
<shevy> what is your pony
<jhass> crystal compromises to retain much of the Ruby look & feel
<shevy> did bougyman not say something a few lines above about silly names
<shevy> feed the pony some crystal!
apt-get_ has joined #ruby
<bougyman> well, i don't like pony-lang's name much either.
<bougyman> but ponyc is acceptable
<workmad3> jhass: looking @ it, types are mostly used in method declarations, right?
Aww is now known as Aww90210
<bougyman> that's what I named the package in voidlinux
<shevy> lol
KnownSyntax has quit [Quit: Connection closed for inactivity]
apt-get_ has quit [Client Quit]
<bougyman> I did like nimrod's name.
<bougyman> and they had to go and change it
<jhass> workmad3: that makes things easier to work with as you get compiler errors with your stuff higher up in the trace, but again for a lot of stuff not necessary
<jhass> stdlib does it a lot because of what I said
<bougyman> i'm starting to actually believe the hype about ponyc, in that if it compiles, it cannot crash.
<workmad3> jhass: nah, that's actually making we want to try it some more :D
<jhass> and not have it error out when it hits the C bindings
allcentury has quit [Ping timeout: 258 seconds]
<bougyman> a lot of C programmers believe that about their apps, and it's so untrue.
<bougyman> with ponyc there's a lot more confidence, even at this early age of the lang.
<workmad3> jhass: ruby-like, but with type annotations in one of the places that research seems to show they're useful!
<shevy> research shows.... hmm
<workmad3> and otherwise, mostly optional
Aww90210 is now known as Aww
<jhass> what I like most is how it trained me to avoid nil even more
<bougyman> pony doesn't have a null.
<bougyman> but of course they have a None
vikaton has joined #ruby
<shevy> nil is bad?
<workmad3> shevy: in this case, research == multiple repeated studies on code comprehension and task completion speeds with multiple different cohorts covering a wide span of experience levels
<shevy> None is bad?
<bougyman> None isn't bad.
<bougyman> it's very limited in scope, though
<bougyman> nil is bad.
<bougyman> tell me you haven't seen a "no method Blah on NilClass" before
<bougyman> a hundred or so times.
FernandoBasso has quit [Quit: leaving]
<bougyman> None returns None for any non existing method
<workmad3> shevy: there have also been some eye-tracking studies under those circumstances that show the first thing people do when going to a method is (unsurprisingly) look at the declaration for an indication of how to call it :D
<ljarvis> ah yes, null, the billion dollar mistake
vdamewood has joined #ruby
<shevy> my apps aren't worth a billion dollars yet!
<bougyman> make None more like /dev/null than /dev/zero
<bougyman> er it makes
endash has quit [Quit: endash]
<ljarvis> some/none pattern seems to be very popular and getting moreso with new languages
whippythellama has quit [Quit: whippythellama]
<jhass> crystals nil defines very few methods, so you can't invoke stuff on it if it's a potential nil
<jhass> makes you handle the nil cases
Yzguy has joined #ruby
neanderslob has joined #ruby
<ljarvis> i have enough of that with all of the go code i write
<ljarvis> :D
geggam has joined #ruby
<havenwood> mmm
<jhass> well, it also makes you write code that returns less nils ;)
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
<bougyman> jhass: yeah, that's what i've notice, you just avoid it.
jerematic has joined #ruby
<bougyman> coding without nils/nulls isn't hard, when it isn't hard.
<geggam> might be a silly question but im asking anyway... is there anyway to have ruby limit the amount of memory it uses... or do I need to do that with the system ?
griffindy has joined #ruby
<bougyman> they can't show up unexpectedly, that is.
<bougyman> only expectedly.
<geggam> like with the jvm i can allocate memory
dopie has quit [Quit: This computer has gone to sleep]
<miah> ulimits / cgroups
<bougyman> geggam: I use chpst for that
<jhass> + use cgroups
<bougyman> chpst -m MEMORYLIMIT ruby ./some_app.rb
<geggam> i was looking for something that wouldnt kill the process
<bougyman> cgroups aren't avail everywhere and chpst has worked for 15 years.
<bougyman> which is why I use it.
<bougyman> oh, it has to kill the process.
<bougyman> fail gracefully and fast.
wallerdev has quit [Quit: wallerdev]
<bougyman> and you'll have a better app anyway.
yfeldblu_ has joined #ruby
<jhass> there's probably some RUBY_MAX_HEAP_WHATEVER
EllisTAA has joined #ruby
<bougyman> unicorn itself has a memory limit reaper, if you're talking about a wep app
<geggam> passenger
<bougyman> ah, iono
<bougyman> but I'd bet something exists.
EllisTAA has quit [Client Quit]
<geggam> i can do it easily with ulimits but it would be better if ruby did it to itself so the process didnt get a shot in the head
<bougyman> but in pasenger killing should be fine.
<bougyman> just like in unicorn, some other worker just takes it over
existensil has quit [Ping timeout: 246 seconds]
happyface has quit [Quit: Connection closed for inactivity]
<bougyman> stonith is a tried and true method :)
<geggam> except when you have financial transactions that you really dont want to die
<bougyman> geggam: familiar with S.T.O.N.I.T.H. ?
<geggam> and shitty developers
<geggam> yes
<bougyman> I used stonith in the mortgage industry for a long time.
ledestin has joined #ruby
leat1 has quit [Ping timeout: 246 seconds]
<bougyman> it doesn't mean things break, it means failure can happen without breakage.
<geggam> yeah... that requires applications able to handle that
yfeldblum has quit [Ping timeout: 255 seconds]
<geggam> we wont get that rant started :)
snockerton has quit [Quit: Leaving.]
<bougyman> sure,
Azure has quit [Ping timeout: 255 seconds]
<bougyman> bad code is bad code.
<geggam> orphaned bad code.. is worse
rdark has quit [Quit: leaving]
mdz_ has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
existensil has joined #ruby
<bougyman> legacy legacy legacy
<bougyman> DIE LEGACY
<geggam> devops... my job is to keep that crap running...
<bougyman> </rant>
<jhass> geggam: http://helabs.com/blog/2014/12/19/ruby-gc-tuning-parameters/ might trade some performance with slowing down growth
<bougyman> oh man, I feel ya.
<geggam> tec debt etc etc etc
<bougyman> I inherited a devops mess when I was hired at Sonian.
ferr has quit [Quit: WeeChat 1.2]
<bougyman> it took 6 months to pay down the code debt necessary just to fulfill the IBM/Softlayer bi-weekly release mandate.
workmad3 has quit [Ping timeout: 276 seconds]
<bougyman> hardcoded everything everywhere.
<shevy> haha
<Ox0dea> geggam: Thread.new { loop { GC.start } }
<shevy> makes it easier to change things!
<geggam> heh.. im in $CORP where it takes 5 meetings and a week to roll out a package that doesnt impact
<bougyman> rails woes, mostly
wldcordeiro has joined #ruby
<bougyman> what the fuck with config/ being, well, config/ ?
<geggam> 6 months to do any real work
<bougyman> it's got executable shit, .yml, .json, and a kitchen sink or two.
<shevy> lol
<bougyman> and you have to hardcode every env you want.
<bougyman> we had 712 envs
<bougyman> yes, 712
<geggam> wait until you get docker microservices and have 4 different versions of the same thing but no way to know which one is what
endash has joined #ruby
* geggam docker crap is growing and growing
kirun has quit [Quit: Client exiting]
<geggam> o.. and different versions of ruby in each one
dfockler has joined #ruby
<geggam> :)
mdz_ has quit [Ping timeout: 245 seconds]
<geggam> shoot all the nodes in the head satnith
bantic has quit [Quit: bantic]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
itisit has quit [Remote host closed the connection]
cmisenas has quit [Ping timeout: 272 seconds]
Limix has joined #ruby
SET001 has joined #ruby
<SET001> guys
<SET001> why I'm having this error
<ruboto> SET001, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/1e1b350169c7c8e6cc41
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
EllisTAA has joined #ruby
<SET001> ok - ok )
chipotle has joined #ruby
<jhass> looks like you want to reinstall mysql2-0.3.18
Channel6 has quit [Quit: Leaving]
cmisenas has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<SET001> just `gem install mysql2`?
Y4Rv1K_ has quit [Remote host closed the connection]
idafyaid has quit [Ping timeout: 250 seconds]
ghr has quit [Ping timeout: 250 seconds]
arescorpio has joined #ruby
moretti has quit [Quit: Leaving...]
Torrieri has quit [Quit: Be back later ...]
EllisTAA has quit [Quit: EllisTAA]
mary5030 has quit [Remote host closed the connection]
Sembei has joined #ruby
sp4rrow has joined #ruby
sp4rrow has quit [Client Quit]
zendrix has quit [Remote host closed the connection]
bootstrappm has quit [Quit: bootstrappm]
<geggam> btw ...thanks @all... that was enough information for me to punt with .. jhass url specifically
fujimura has joined #ruby
<dudedudeman> have any of you fine folk used exercism.io before?
<jhass> I did a bit
toretore has quit [Quit: This computer has gone to sleep]
jackjackdripper has quit [Quit: Leaving.]
<dudedudeman> i like it so far
j4cknewt has quit [Remote host closed the connection]
<dudedudeman> i think i broke it, but i like it
__butch__ has quit [Quit: Linkinus - http://linkinus.com]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dudedudeman> it's supposed to give you instructions on how to approach a test, but... it just gives me out put like "SESSS"
DEA7TH_ has quit [Ping timeout: 256 seconds]
fujimura has quit [Ping timeout: 255 seconds]
<zenspider> skip, error, skip, skip, skip
<zenspider> fix the error, go address the skips (if applicable)
<jhass> which exercise?
mordocai has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
<zenspider> the error will have output a message and a backtrace
<zenspider> find the backtrace part of YOUR code. that's where the problem is
bonhoeffer has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<jhass> ah right minitest
<jhass> lol, didn't recognize that
k3asd` has quit [Ping timeout: 272 seconds]
<bonhoeffer> is there a way to wget a webpage html and show all tags that match <h1></h1>
scripore has joined #ruby
<jhass> bonhoeffer: combine net/http and nokogiri
CustosLimen has quit [Max SendQ exceeded]
Kortes has joined #ruby
SET001 has quit [Quit: Ex-Chat]
<Ox0dea> jhass: Opposed on principle to open-uri?
<Kortes> hey guys
Torrieri has joined #ruby
<jhass> Ox0dea: I'm mixed, net/http actually does provide simple APIs too
sigden has quit [Ping timeout: 265 seconds]
GnuYawk has quit [Ping timeout: 252 seconds]
<jhass> so it's a layer of abstraction that hides stuff
d10n-work has quit [Quit: Connection closed for inactivity]
<drbrain> I'd just use mechanize because it combines net/http and nokogiri pretty nicely
michas has quit [Ping timeout: 250 seconds]
OtterCoder has joined #ruby
al2o3-cr has quit [Ping timeout: 258 seconds]
<bonhoeffer> jhass will check out
<Kortes> im making my own method to check if a number is a prime, in it i push a value into an array, is there any way i can make it a recursive method and pass that array ( with all values pushed ) to each call as a lambda?
pengin has quit [Remote host closed the connection]
<Kortes> so with each new recursive call, i can compare the number with all values that i have pushed into the array?
Azure has joined #ruby
frank_o has joined #ruby
Torrieri has quit [Client Quit]
<centrx> !code
casadei has quit [Remote host closed the connection]
<jhass> centrx: !=? ;)
j4cknewt has joined #ruby
<shevy> Kortes our channel bot centrx wants you to show code on a pastie
CustosLimen has joined #ruby
swgillespie has joined #ruby
enebo has quit [Quit: enebo]
<centrx> I eat electricity for breakfast
Tempesta has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
<shevy> and cats
<Kortes> like: if this number passes test 1 , arr << number . then, if number doesnt pass next test, recurse_method(testvar) { arr }
<Kortes> ok
<jhass> Kortes: that lambda stuff in your questions sets me off, but ruby is pass by reference if that means anything to you
<dudedudeman> zenspider: hmm, i get that. i guess it's weird as when I first did this on my personal computer at home, it gave me text/instructions? now i just get the skips and such
<dudedudeman> and jhass, at this point, it's just the first exercise. i'm just trying to replicate exactly where I was at before installing it on this machien
Twitter297 has joined #ruby
<shevy> uh oh
<shevy> dudedudeman is installing something
<dudedudeman> bro, i break things so easily. it's like, gem install dudedudeman would literally break the world
<Kortes> ok guys here it is
icbm has quit [Ping timeout: 264 seconds]
paulcsmith has joined #ruby
OtterCoder has quit [Ping timeout: 265 seconds]
adefa has quit [Ping timeout: 264 seconds]
<centrx> My work is done here
<shevy> dudedudeman I should add a gem with that name :)
<dudedudeman> don't! I wanted to. lol
GnuYawk has joined #ruby
j4cknewt has quit [Ping timeout: 272 seconds]
<miah> ERROR: Could not find a valid gem 'dudedudeman' (>= 0) in any repository
<miah> so sad
<frank_o> Hi! I'm trying to load some items from this external API in the background and save to database. When done, show them to the client using Ajax. But why am I getting `Couldn't find Affiliate with 'id'=` when I specified `find(params[:url])`? https://gist.github.com/dt1973/b57d84bf39a75ea47e9b
<dudedudeman> huh. there is however, a gem called 'dude'. and i just installed it. and... i have no clue what it is
sankaber has joined #ruby
<dudedudeman> so there's that
jgt1 has quit [Ping timeout: 256 seconds]
<shevy> hmm are you sure you have to use a lambda Kortes?
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<frank_o> dfockler: hope its ok i quoted you in that gist, its just tmp though
<jhass> ^ I think you just meant to pass the primes array along
adefa has joined #ruby
<shevy> I like your comments:
<zenspider> dudedudeman: what do you mean by text/instructions ?
<shevy> end # ?
fabrice31 has joined #ruby
<Twitter297> free web hosting found with unlimited traffic and php5 enabled for testing scripts, check out free, all those who check out tonight get to keep it indefinately! http://bit.ly/1eU0vaM
<Kortes> shevy - what other way could i have the varr available to all future recursive calls?
<zenspider> what part are you doing/running?
Twitter297 has quit [Client Quit]
<jhass> Kortes: primes=[] in your method definition
Papierkorb has joined #ruby
<jhass> you don't need to closure, just pass it along
<zenspider> I wasn't fast enough on the ban
<Kortes> ahhhhhh!!!!
<Kortes> as aparameter?
<jhass> yes
<Kortes> youre awesome
<Kortes> thanks
<jhass> zenspider: funny, I got that host klined for a day
jackjackdripper has quit [Quit: Leaving.]
<dudedudeman> zenspider: the very first time i worked through the first example, after setting it up, i would run the test, and it would give me a message talking a little bit about the error and such, and like, a pointer on where to look/what to fix next. so as i would complete a failing test, it would move on and tell me something else
jackjackdripper has joined #ruby
zendrix has joined #ruby
seph429 has quit [Ping timeout: 248 seconds]
ghr has joined #ruby
sankaber has quit [Client Quit]
<zenspider> dudedudeman: exercism? I don't think so...
premera has joined #ruby
<Kortes> exercism kicks ass
<zenspider> are you sure you're not confusing it with the ruby koans or something?
<Kortes> i love that site
yfeldblum has joined #ruby
<dudedudeman> zenspider: i promise it was exercism. :(
<zenspider> I'm updating my client
Musashi007 has quit [Quit: Musashi007]
<miah> i havent used exercism in a long time
x1337807x has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
<zenspider> gah. I don't know how to use it now
seph429 has joined #ruby
x1337807x has quit [Client Quit]
Fooster has joined #ruby
<miah> ya its some client download now
michas has joined #ruby
<zenspider> it doesn't do login now?
<zenspider> wtf
<dudedudeman> here's a gist of the first one that pops up: https://gist.github.com/anonymous/8e02c76102016fe4790f
<dudedudeman> no, it gives you an api key i think
<zenspider> "it" ?
<zenspider> what it?
<dudedudeman> and zenspider, please don't feel like you have to go through a bunch of poking with it for my account.
yfeldblu_ has quit [Ping timeout: 256 seconds]
Kortes has quit []
<dudedudeman> to hook up the cli to your exercism account, it being exercism, gives you an API key that you plug in with exercism configure --key="api key from site"
<zenspider> how in the FUCK do you use this thing now?
<dudedudeman> oh god.. what have i done..
<miah> and then exercism config --key=<key>
<zenspider> brew install exercism is easy enough... but the old cmd had a login command
<miah> r, configure
<miah> ya
jenrzzz has quit [Ping timeout: 272 seconds]
bayed has quit [Quit: Connection closed for inactivity]
<miah> when it was a ruby gem
cmisenas has quit [Quit: cmisenas]
<zenspider> no, it was a binary
yfeldblum has quit [Ping timeout: 265 seconds]
<zenspider> just annoying that they dropped functionality
<dudedudeman> ah, i never touched it when it was a binary
<tuelz2> what does exercism not have that it used to have?
Musashi007 has joined #ruby
<miah> ah
<miah> turtles
<tuelz2> I just started it to learn elixiri
<dudedudeman> i certainly don't see any turtles
<tuelz2> and couldn't have been more pleased with how simple it is to use
<tuelz2> I hate turtles. They just sunbathe and look at me while I'm kayaking
<tuelz2> mind your own damn business turtles
<miah> well ok then
<tuelz2> sorry, I'm drunk :(
<tuelz2> I'll keep my comments to myself until I sober up
<miah> lol
<miah> its fine
<dudedudeman> lolllll
<shevy> "* Never use smalltalk: symbols."
<shevy> what is meant with that?
ValicekB has quit [Ping timeout: 258 seconds]
jefus has quit [Ping timeout: 240 seconds]
<jhass> {foo: :bar}
<nofxx> This one goes to the nice naming gems: charlock_holmes
FernandoBasso has joined #ruby
<shevy> jhass ah I see
<zenspider> dudedudeman: I just started a new exercise and it doesn't say anything about my first failure. how are you running?
pengin has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
<shevy> nofxx wasn't it sherlock holmes?
<nofxx> shevy, it detects char encodings ;)
<zenspider> shevy: I think that means use old style hash args?
<zenspider> oh. no. it just means don't make symbols than end in ":"
<zenspider> in smalltalk: expr ifTrue: [block] ifFalse: [block]
<jhass> where else would that be valid ruby?
<zenspider> I heavily disagree with many things in this style guide (surprise), but I don't think this is one of them
<dudedudeman> shevy: https://github.com/strand/dude
<zenspider> well, you can do something that looks like that now with keyword args
<zenspider> but they're normal symbols on the output
bollullera has joined #ruby
<jhass> yeah but that guide wasn't updated after ruby 2.0
zipace has joined #ruby
zipace has joined #ruby
<miah> >> { foo: 'bar' }
<ruboto> miah # => {:foo=>"bar"} (https://eval.in/376374)
<shevy> dudedudeman lol he even quoted from The Big Lebowski there
<zenspider> >> p blah: 42
<ruboto> zenspider # => {:blah=>42} ...check link for more (https://eval.in/376375)
mpistone has quit []
<zenspider> it LOOKS like smalltalk, but doesn't act like it at all
<miah> i didnt realize it was a smalltalkism
<zenspider> the method in my smalltalk example above is named ifTrue:ifFalse:
<shevy> huh
sigden has joined #ruby
bollullera has left #ruby [#ruby]
<zenspider> and is defined on TrueClass and FalseClass (s/Class//g)
<zenspider> and they execute the appropriate block
tuelz2 has quit [Ping timeout: 256 seconds]
mistermocha has quit [Read error: Connection reset by peer]
<zenspider> pseudo smalltalk: True#ifTrue:truthy ifFalse: falsey; truthy value
riceandbeans has quit [Ping timeout: 256 seconds]
<zenspider> pseudo smalltalk: False#ifTrue:truthy ifFalse: falsey; falsey value
mistermocha has joined #ruby
<zenspider> boom. conditional logic
<Ox0dea> >> def true.-(a, &b) a[] end; def false.-(a, &b) b[] end; (1 == 1) .--> { :ok } { fail Math }
<ruboto> Ox0dea # => :ok (https://eval.in/376376)
<zenspider> anti-smalltalk AND anti-ruby! good job! :P
<Ox0dea> S'purdy, though.
axsuul has joined #ruby
jefus has joined #ruby
n1x has quit [Ping timeout: 258 seconds]
<zenspider> that is NOT a word I would apply to that
gsd has quit [Ping timeout: 244 seconds]
chipotle has quit [Quit: cheerio]
blizzy has joined #ruby
ValicekB has joined #ruby
<Ox0dea> But two blocks (ish)!
_blizzy_ has quit [Ping timeout: 272 seconds]
ajk_ has quit [Ping timeout: 246 seconds]
axl_ has quit [Quit: axl_]
<shevy> Ox0dea your code rivals even hanmac's code there
<shevy> what is that .--> part? that looks like a lambda... hmm
sankaber has joined #ruby
jbomo has joined #ruby
sankaber has quit [Client Quit]
mistermocha has quit [Ping timeout: 276 seconds]
sankaber has joined #ruby
<Ox0dea> shevy: It's (ab)using the fact that operators are really just methods.
<Ox0dea> But yeah, one of the "blocks" is really a lambda.
someword has joined #ruby
BTRE has quit [Quit: Leaving]
BTRE has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
blizzy has quit [Ping timeout: 258 seconds]
roolo has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
max--1 has joined #ruby
dnlbyl has joined #ruby
someword has quit [Client Quit]
bonhoeffer has quit [Ping timeout: 246 seconds]
roolo has joined #ruby
roolo has quit [Remote host closed the connection]
<zenspider> yeah. it's pretty horrible. expr.-(proc, &block)
<zenspider> dudedudeman: yeah. I can't replicate. sorry.
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbug has quit [Quit: Leaving]
rubie has quit [Remote host closed the connection]
casadei has joined #ruby
houhoulis has joined #ruby
iamjarvo has joined #ruby
EllisTAA has joined #ruby
rubie has joined #ruby
Sirrr has joined #ruby
dnlbyl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baroquebobcat has quit [Quit: baroquebobcat]
EllisTAA has quit [Client Quit]
frank_o has quit [Ping timeout: 256 seconds]
bb010g has quit [Quit: Connection closed for inactivity]
jackjackdripper has quit [Quit: Leaving.]
woodruffw has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
frank_o has joined #ruby
Y4Rv1K has joined #ruby
baweaver has joined #ruby
<baweaver> 'evening
casadei has quit [Remote host closed the connection]
Y4Rv1K has quit [Remote host closed the connection]
Y4Rv1K has joined #ruby
_ixti_ has quit [Quit: WeeChat 1.2]
woodruffw has joined #ruby
kinduff has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
porkqpain has quit [Remote host closed the connection]
porkqpain has joined #ruby
_blizzy_ has joined #ruby
arashb has quit [Remote host closed the connection]
EllisTAA has joined #ruby
bertocode has quit [Ping timeout: 265 seconds]
EllisTAA has quit [Client Quit]
<crowell> hi
pietr0 has quit [Quit: pietr0]
colin_ has joined #ruby
michas has quit [Ping timeout: 272 seconds]
tuelz2 has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Narzew has quit [Read error: Connection reset by peer]
bruno- has quit [Ping timeout: 246 seconds]
millerti has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
rubie has quit [Remote host closed the connection]
bantic has joined #ruby
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
<colin_> is there a ruby equivilant to the python timedelta object? I would like to work in time units such as days...
rubie has joined #ruby
<kinduff> So I'm planning this online service to lookup things. The idea is not important, but what I'm looking for is an advice to start it. I'm going to make a webapp and probably mobile apps too. So I was thinking instead of starting with a web MVP, start writing a REST API that first resolves the problem and creates the infrastructure I'm looking to build. After that, release the versions I want. For example a web app, mobile app, ect.
<kinduff> Is that a good idea?
mary5030 has joined #ruby
senayar has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
<dfockler> And that's how you get Space Dolphins
<dfockler> oops wrong channel :P
<baweaver> colin_: activesupport defines a lot of it from Rails
<baweaver> kinduff: #RubyOnRails should be able to get you set there
<baweaver> Rails can make an API very very rapidly.
<baweaver> as well as defining json responses with jbuilders to take care of alternate clients
<baweaver> then you can either use Rails views for your web frontend or some type of javascript frontend framework like Angular or Ember
geggam has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
Channel6 has joined #ruby
C1V0 has joined #ruby
scripore has joined #ruby
baweaver has quit [Remote host closed the connection]
twistedpixels is now known as zz_twistedpixels