apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
dc has quit [Remote host closed the connection]
<shevy> grabe use ruby-gnome
<McFreely> clear
xenon- has quit [Quit: IRCGate CGI:IRC User (Ping timeout)]
dc has joined #ruby
axisys has joined #ruby
diegoviola has joined #ruby
jamto11 has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
<grabe> is shoes usable?
larissa has joined #ruby
sputnik13 has quit [Ping timeout: 264 seconds]
<grabe> I need a simple GUI for now, a couple of buttons, text edits, a table
<grabe> example code on their page looks awesome
joaoh82 has quit [Remote host closed the connection]
Azure has joined #ruby
tus has joined #ruby
zzzak has quit []
jamto11 has quit [Ping timeout: 240 seconds]
diegoviola has quit [Read error: Connection reset by peer]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codezomb has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
diegovio1 has joined #ruby
arquebus has joined #ruby
benzrf is now known as benzrf|offline
<shevy> shoes requires java
amclain has joined #ruby
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axisys has quit [Changing host]
axisys has joined #ruby
snath has joined #ruby
tmegano has joined #ruby
McFreely has left #ruby [#ruby]
oo_ has joined #ruby
arquebus has quit [Quit: Konversation terminated!]
Xeago has quit [Remote host closed the connection]
senayar has joined #ruby
codezomb has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 255 seconds]
ddv has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
ghr has joined #ruby
benzrf|offline is now known as benzrf
SCommette has joined #ruby
AndChat|102836 has joined #ruby
Spami has joined #ruby
oo_ has quit [Remote host closed the connection]
diegovio1 is now known as diegoviola
Zai00 has quit [Quit: Zai00]
Notte has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
lw has joined #ruby
grabe has quit [Quit: quit]
Olipro has quit [*.net *.split]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaoh82 has joined #ruby
mikepack has joined #ruby
bradhe has joined #ruby
codezomb has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
combusean has quit [Quit: Leaving.]
McFreely has joined #ruby
pietr0 has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
Avahey_ has quit [Quit: Connection closed for inactivity]
McFreely has quit [Client Quit]
NukePuppy has joined #ruby
kith has joined #ruby
nitr has quit [Remote host closed the connection]
senayar has joined #ruby
Olipro has joined #ruby
Olipro has quit [Max SendQ exceeded]
timonv has joined #ruby
charliesome has joined #ruby
Geo has joined #ruby
chrishough has joined #ruby
Olipro has joined #ruby
Xeago has joined #ruby
NukePuppy has quit [Ping timeout: 244 seconds]
djr has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 272 seconds]
phoo1234567 has quit [Remote host closed the connection]
binaryhat has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
codezomb has joined #ruby
<shiggityjoe> One quick self-promotional spammy announcement, if I may…
<shiggityjoe> Just pushed new version of RubyRetriever (1.2.2)! It’s my first rubygem but it’s making headway, this release includes some bug fixes and code improvements. Finally getting close to having zero Rubocop offenses! Check out the code on github - contributions & forks are welcome! http://github.com/joenorton/rubyretriever
<shiggityjoe> That is all. :)
AndChat|102836 has quit [Ping timeout: 252 seconds]
echevemaster has joined #ruby
codezomb has quit [Client Quit]
<shiggityjoe> I should’ve said what the hell it is my gem does… It’s a command-line crawler and scraper.
Spami has quit [Quit: This computer has gone to sleep]
joaoh82 has quit [Remote host closed the connection]
Notte has quit []
<benzrf> shiggityjoe: README.md;
<benzrf> s/page's/pages/
mijicd has quit [Remote host closed the connection]
Geo has quit [Ping timeout: 240 seconds]
<shiggityjoe> benzrf: thanks, fixed.
GriffinHeart has joined #ruby
<benzrf> here let me just fork and proofread this for u
strax has quit [Quit: Connection closed for inactivity]
<shiggityjoe> I swear I’m an english speaker, just not the most detail oriented :(
GriffinHeart has quit [Ping timeout: 240 seconds]
NukePuppy has joined #ruby
Hanmac1 has joined #ruby
mgberlin has joined #ruby
mgberlin has quit [Remote host closed the connection]
AlexRussia has quit [Remote host closed the connection]
binaryhat has quit [Quit: Leaving]
sarkis has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
mgberlin has joined #ruby
nalone has joined #ruby
decoponio has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
segmond has joined #ruby
alexju has joined #ruby
<shiggityjoe> benzrf: Thanks man, merged!
nalone has quit [Remote host closed the connection]
<benzrf> :-)
sarkis has quit [Ping timeout: 245 seconds]
maestrojed has joined #ruby
AlexRussia has joined #ruby
joaoh82 has joined #ruby
datafirm has quit [Ping timeout: 272 seconds]
pietr0 has quit [Quit: pietr0]
isthisreallife has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
maestrojed has quit [Ping timeout: 244 seconds]
datafirm has joined #ruby
NukePuppy has quit [Ping timeout: 255 seconds]
binaryhat has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
dseitz has joined #ruby
<shevy> shiggityjoe don't worry man
<shiggityjoe> dont worry be happy?
robustus has quit [Ping timeout: 264 seconds]
<shevy> nono I mean
<shevy> because benzrf corrected you
<shevy> a few hours ago:
<shevy> <benzrf> more like YOURE foolish (oh snap)
<shiggityjoe> lol
oo_ has joined #ruby
robustus has joined #ruby
<ponga> what ide do you use for ruby shevy
bradhe has joined #ruby
<shevy> ponga just an editor, bluefish 1.0.7 still
<shevy> reason is that it's the most comfortable editor so far I have found for modifying and reading text files
<shevy> sublime looks fancier
<shevy> geany is more feature rich
hiyosi has joined #ruby
<benzrf> sublie is bulb shit
<shevy> but they all don't "feel" the same :(
<benzrf> vim \m/ \m/
<foobarbaz_> why use vim instead of an ide like ruby mine?
Nameo0 has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
pu22l3r has joined #ruby
<pontiki> i have been poking at light table, which feels very sublime-like as well
<shiggityjoe> i use sublime, just starte using the rubocop plugin and it’s awesome
<shiggityjoe> highlights offenses and whatnot
<pontiki> but i still use emacs as i'm so imprinted on it
<pontiki> i like using rubymine and webstorm sometimes
Photism has joined #ruby
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dc has quit [Remote host closed the connection]
Tamae has quit [Read error: Connection reset by peer]
end_guy has quit [Remote host closed the connection]
Tamae has joined #ruby
oo_ has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
oo_ has joined #ruby
shiggityjoe has quit [Quit: shiggityjoe]
end_guy has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
dc has joined #ruby
oo_ has quit [Remote host closed the connection]
axl_ has joined #ruby
<csmrfx> foobarbaz_: if you need to ask, prepare for another 2 years of IDE foolery
axl_ has quit [Client Quit]
<ponga> csmrfx can you elaborate what IDE foolery is to me, a noob please sir
axl_ has joined #ruby
<benzrf> im sleep
axl_ has quit [Client Quit]
<ponga> shevy can you tell me what ide foolery is
<ponga> please
benzrf is now known as benzrf|offline
<csmrfx> well its a whole lot of things depending on the situation, but things like not loading instantly, not using less that 1% of cpu, not being totally stable, not having totally customizable keyshorts and interface...
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<ponga> i see
monkegjinni has joined #ruby
<csmrfx> perhaps
<pontiki> gods, please stop begging
<foobarbaz_> csmrfx: But it comes with a lot of benefits
<pontiki> people have opinions
<foobarbaz_> Such as smart code completion, code analysis + inspections
<foobarbaz_> refactoring tools
<pontiki> IDEs can be helpful, they can get in your way
<foobarbaz_> Being able to easily run your applications from an IDE, and debug within an IDE is nice
<foobarbaz_> Without having to put in silly things like binding.pry/puts, or whatever you're using to debug
<pontiki> when you have a huge codebase that you suddenly have to learn all of, including all the friggin gems that you've never heard of, and it's full of crap, RubyMine is a pretty nice tool to go code spelunking in
mgberlin has joined #ruby
lw has quit [Quit: s]
monkegjinni has quit [Ping timeout: 264 seconds]
mgberlin has quit [Remote host closed the connection]
<foobarbaz_> code navigation <3
<foobarbaz_> Love going from definitions to their actual files
Maple__ is now known as Mapley[NED]
<pontiki> also p.funny to your cow-orkers when your wtfpm goes over 1
tus has quit []
<foobarbaz_> wtf per minute?
pu22l3r has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
diegoviola has quit [Quit: WeeChat 0.4.3]
amclain has quit [Quit: Leaving]
joaoh82 has quit [Remote host closed the connection]
binaryhat has quit [Quit: Leaving]
<pontiki> exactly
jamto11 has joined #ruby
nffff has quit [Remote host closed the connection]
billy_ran_away has quit [Ping timeout: 276 seconds]
maestrojed has joined #ruby
ponga has quit []
jamto11 has quit [Ping timeout: 252 seconds]
billy_ran_away has joined #ruby
tkuchiki has joined #ruby
dc_ has joined #ruby
pu22l3r has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
sarkis has joined #ruby
pu22l3r has joined #ruby
dc has quit [Ping timeout: 272 seconds]
mgberlin has joined #ruby
radic has quit [Ping timeout: 245 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
radic has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
jxf has joined #ruby
grieg has quit [Quit: Leaving]
sgen has quit [Quit: Leaving]
Shidash has joined #ruby
bradhe has joined #ruby
<shevy> wtf!
jottr has quit [Ping timeout: 255 seconds]
jxf has quit [Ping timeout: 240 seconds]
<foobarbaz_> pontiki: why would an IDE icnrease your wtfs per minute?
<Nameo0> ^lol
momomomomo has joined #ruby
absolutezeroff has joined #ruby
senayar has quit [Remote host closed the connection]
ghr has joined #ruby
snapcase has joined #ruby
<Nilium> foobarbaz_: Increased exposure and ease of navigation means you spot the WTFs quicker
bradhe has quit [Ping timeout: 272 seconds]
<foobarbaz_> ah
Mapley[NED] is now known as IAmA_sexyfox_AMA
<foobarbaz_> I thought you were suggesting using an IDE makes you write inferior code or something perhaps, was rather confused! :)
ghr has quit [Ping timeout: 245 seconds]
IAmA_sexyfox_AMA is now known as Mapley[NED]
dc_ has quit [Remote host closed the connection]
Soliah has joined #ruby
joaoh82 has joined #ruby
happytux has quit [Quit: ChatZilla 0.9.90.1-rdmsoft [XULRunner 22.0/20130619132145]]
ahofmann has quit [Quit: Computer has gone to sleep.]
ahofmann has joined #ruby
<pontiki> foobarbaz_: because it gets me through the code faster to discover them :)
<pontiki> nono -- *inherited* codebase
komanda has joined #ruby
jmurray has quit [Ping timeout: 252 seconds]
cantonic has joined #ruby
joaoh82 has quit [Ping timeout: 245 seconds]
<shevy> inherited wtfs?
<csmrfx> you wish
nitr has joined #ruby
<csmrfx> if you dont know how to use grep, you gonna slow
banister_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<csmrfx> if "fastness" is your argument, you have little to no reason not to use vim
Soliah has quit [Quit: Soliah]
pu22l3r has quit [Remote host closed the connection]
axl_ has joined #ruby
nitr has quit [Ping timeout: 240 seconds]
axl_ has quit [Client Quit]
Soliah has joined #ruby
lw has joined #ruby
zz_jrhorn424 is now known as jrhorn424
Xeago has joined #ruby
GriffinHeart has joined #ruby
<RubyPanther> vim requires mode switching, emacs is faster
dc has joined #ruby
joaoh82 has joined #ruby
mikepack has quit [Remote host closed the connection]
s3ri0us is now known as s3ri0us|away
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
komanda has quit [Remote host closed the connection]
Senjai`work is now known as Senjai
jxf has joined #ruby
Soliah has quit [Quit: Soliah]
Xeago has quit [Ping timeout: 240 seconds]
Trilient has joined #ruby
s3ri0us|away is now known as s3ri0us
alexju has quit [Remote host closed the connection]
Eyess has quit [Ping timeout: 252 seconds]
dvcliving has quit [Quit: This computer has gone to sleep]
dc has quit [Remote host closed the connection]
kireevco has joined #ruby
momomomomo has quit [Quit: momomomomo]
mikepack has joined #ruby
echevemaster has quit [Remote host closed the connection]
Eyess has joined #ruby
echevemaster has joined #ruby
Mapley[NED] is now known as Mapley
scx_ has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
cantonic has quit [Quit: cantonic]
jrhorn424 is now known as zz_jrhorn424
scx has quit [Ping timeout: 245 seconds]
jrhe has quit [Quit: Connection closed for inactivity]
braincrash has quit [Quit: bye bye]
abdulsattar has quit [Ping timeout: 252 seconds]
gruz0[russia] has joined #ruby
zwer has quit [Remote host closed the connection]
zwer_m has joined #ruby
gbchaosmaster has quit [Ping timeout: 264 seconds]
absolutezeroff has quit [Quit: Leaving]
braincrash has joined #ruby
dc has joined #ruby
bradhe has joined #ruby
bbloom has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby
kayzon has joined #ruby
combusean has joined #ruby
abdulsattar has joined #ruby
larissa has quit [Quit: Leaving]
crome has quit [Remote host closed the connection]
shiggityjoe has joined #ruby
saarinen has quit [Quit: saarinen]
combusean has quit [Quit: Leaving.]
nalone has joined #ruby
kayzon has quit [Ping timeout: 252 seconds]
mikepack has quit [Remote host closed the connection]
Nameo0 has quit [Ping timeout: 272 seconds]
mehlah has quit [Ping timeout: 264 seconds]
nalone has quit [Remote host closed the connection]
mikepack has joined #ruby
etqqkoiflwhb__ has joined #ruby
monkegjinni has joined #ruby
pvb has joined #ruby
ramin has joined #ruby
zkay11 has joined #ruby
SCommette has quit [Quit: SCommette]
Steve21 has joined #ruby
ramin is now known as ramin_sed
monkegjinni has quit [Ping timeout: 255 seconds]
vinleod has joined #ruby
ramin_sed has left #ruby [#ruby]
jamto11 has joined #ruby
amargherio has quit [Remote host closed the connection]
JBreit has joined #ruby
jamto11 has quit [Ping timeout: 245 seconds]
mercwithamouth has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
JBreit has left #ruby [#ruby]
sarkis has joined #ruby
Gadgetoid has quit [Quit: ZNC - http://znc.in]
newUser1234 has joined #ruby
Gadgetoid has joined #ruby
bradhe has quit [Ping timeout: 272 seconds]
lw has quit [Quit: s]
ahofmann has quit [Ping timeout: 240 seconds]
akerl has joined #ruby
jxf has quit [Ping timeout: 245 seconds]
mikepack has quit [Remote host closed the connection]
sgen has joined #ruby
JoshGlzBrk has joined #ruby
Soliah has joined #ruby
shiggityjoe has left #ruby [#ruby]
mercwithamouth has joined #ruby
ghr has joined #ruby
newUser1234 has quit [Remote host closed the connection]
chrishough has joined #ruby
Soliah has quit [Quit: Soliah]
ghr has quit [Ping timeout: 240 seconds]
tmegano has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 264 seconds]
<pipework> The keyboard combinations of emacs hurt my hands.
danijoo has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
danijoo has joined #ruby
<pontiki> i've heard that from many people
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pvb> try vim
GriffinHeart has quit [Ping timeout: 240 seconds]
<pontiki> i think pipework has probably long since sorted their editing needs
<pontiki> still, emacs: C-x M-c M-butterfly...
LadyRainicorn has joined #ruby
pagioss has quit [Ping timeout: 252 seconds]
<pvb> I have long been using a MS Word. Almost completely meets my needs. Can select the color of the word. Very useful.
<pvb> Hands also ok.
zkay11 has quit [Ping timeout: 245 seconds]
Steve21 has quit [Quit: Steve21]
<pontiki> not so useful for editing plain text
<pontiki> but it's possible
zkay11 has joined #ruby
gimpygoo has joined #ruby
mikesplain has joined #ruby
Soliah has joined #ruby
gondalier has joined #ruby
<pvb> You think it's a bad joke? I really did. I was just starting to learn programming. And I decided that a Word is better Notepad.
<pvb> It's ok. No one believes me. :)
narendraj9 has joined #ruby
sski_ has quit [Remote host closed the connection]
bradhe has joined #ruby
<pontiki> i believe you...
nanoyak has quit [Quit: Computer has gone to sleep.]
shenkan has quit [Ping timeout: 272 seconds]
* LadyRainicorn wants to make a gem that lets .doc files be executed as Ruby.
Hanmac has joined #ruby
<pontiki> it would need to be a wrapper/filter
<LadyRainicorn> Yeah.
<pontiki> but should be doable with Win32OLE stuff, i think? i don't know for sure, but seems plausable
<pontiki> i'm assuming if you save as text it's all okay
tkuchiki has quit [Remote host closed the connection]
<pontiki> it's been decades since i've used Word
bradhe has quit [Ping timeout: 245 seconds]
<pontiki> YOU CAN'T TAKE MY LaTeX FROM ME!
Hanmac1 has quit [Ping timeout: 264 seconds]
<pontiki> altho about 98% of documentation i write now is in markdown
<pvb> markdaun works properly with formulas?
<pontiki> nope
<pontiki> but there are addons that will
predator217 has quit [Ping timeout: 245 seconds]
Trilient has quit []
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
<pvb> It's okay, I donэt need formulas anyway.
predator117 has joined #ruby
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sgen has quit [Quit: Leaving]
<pvb> wow, pandoc support docx!
datafirm has quit [Quit: Computer has gone to sleep.]
<pvb> oh, but only write
shenkan has joined #ruby
datafirm has joined #ruby
datafirm has quit [Ping timeout: 244 seconds]
Soliah has quit [Quit: Soliah]
nanodano has joined #ruby
ghr has joined #ruby
zkay11 has quit [Quit: Leaving.]
Hobogrammer has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
Soliah has joined #ruby
jameswlane has joined #ruby
vinleod has quit [Quit: Computer has gone to sleep.]
gondalier has quit []
Soliah has quit [Quit: Soliah]
decoponio has quit [Quit: Leaving...]
Soliah has joined #ruby
alem0lars has joined #ruby
duncannz has joined #ruby
<isomorphismes> this proxy puzzle in the koan is pretty mind bending
<isomorphismes> i feel confused but also like i may learn a lot from it
gondalier has joined #ruby
<isomorphismes> I'm betting the answer is in the previous puzzle, the about_message_passing.
s3ri0us is now known as s3ri0us|away
monkegjinni has joined #ruby
mikepack has joined #ruby
gondalier has quit []
monkegjinni has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
<csmrfx> RubyPanther: emacs is faster than vim, if you are an octopus
* csmrfx throws fuel into fire
<pontiki> or are polydactyl
<csmrfx> vimmers only pentadactyl
<pontiki> octopi are monodactyl
frogsy has joined #ruby
mikepack_ has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
<RubyPanther> csmrfx: I've been using emacs for 15 years and I've only learned 5 or 10 chords, none of them use two hands
apeiros has quit [Ping timeout: 244 seconds]
nfk has joined #ruby
amargherio has joined #ruby
dangerousdave has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
<Hanmac> csmrfx: in "the 13 1/2 lifes of captain bluebear" there is a professor with 7 brains ;P (one big one inside his head, four on the outside, one is there where the milz should be and no one knows where the last one is) ... i think even he might have problems with emacs ;P
<csmrfx> sooo, IDEs are for one arm bandits?
sski has joined #ruby
kies has quit [Ping timeout: 264 seconds]
<pontiki> keep droppin them nickels in
lxsameer has joined #ruby
jamto11 has joined #ruby
Channel6 has quit [Quit: Leaving]
relix has joined #ruby
renier has quit [Quit: Textual IRC Client: www.textualapp.com]
amargherio has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 272 seconds]
etqqkoiflwhb__ has joined #ruby
vinleod has joined #ruby
Soliah has quit [Quit: Soliah]
etqqkoiflwhb__ has quit [Read error: Connection reset by peer]
etqqkoiflwhb__ has joined #ruby
Soliah has joined #ruby
<pipework> RubyPanther: I learned guitar right up to chords because I really disliked it.
gondalier has joined #ruby
Shidash has quit [Ping timeout: 252 seconds]
gimpygoo has quit [Quit: Leaving]
s3ri0us|away is now known as s3ri0us
<csmrfx> pro tip: you dont learn guitar chords
<csmrfx> you learn the method of building chords - same doesn't probably work with emacs and one must memorize every command, like with any program
davedev24_ has quit [Remote host closed the connection]
davedev24_ has joined #ruby
s3ri0us has quit [Quit: Linkinus - http://linkinus.com]
<isomorphismes> LadyRainicorn: couldnt you use catdoc | ruby
mary5030 has joined #ruby
<isomorphismes> LadyRainicorn: couldnt you use catdoc | ruby ?
Bosox20051 has quit [Read error: Connection reset by peer]
noop has joined #ruby
<pontiki> say it again
<LadyRainicorn> couldn't I use catdoc | ruby?
Bosox20051 has joined #ruby
<LadyRainicorn> Possibly. How reliable is catdoc?
<pontiki> how would that work for requiring doc files?
<isomorphismes> LadyRainicorn: well, imperfect. So let's say catdoc | sed -s sedfile.tested | ruby
<isomorphismes> I don't actually have any .doc or .docx files to test it on atm
davedev24_ has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
<isomorphismes> oh wait yes i do - well the one i just tested it on looks fine. but I'm pretty sure I've seen something imperfect before.
GriffinHeart has joined #ruby
<isomorphismes> Still -- if you wrote the .doc yourself - which is what I assume you meant--
mikepack_ has quit [Remote host closed the connection]
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium> .. Why in god's name is anyone trying to require a .doc file?
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<pontiki> h8rs gonna h9
davedev24_ has joined #ruby
ghr has joined #ruby
* Nilium h9s
* pontiki pets Nilium "it's okay"
GriffinHeart has quit [Ping timeout: 244 seconds]
klaut has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
alem0lars has quit [Quit: alem0lars]
gondalier has quit []
sylver has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
gondalier has joined #ruby
senayar has quit [Remote host closed the connection]
gondalier has quit [Client Quit]
sylver has quit [Ping timeout: 252 seconds]
sylver has joined #ruby
Shidash has joined #ruby
mostlybadfly has joined #ruby
Bosox20051 has quit [Ping timeout: 240 seconds]
ValicekB has quit []
BinaryMcAwesome is now known as High-Q-Brah
St_Marx has quit [Ping timeout: 264 seconds]
sylver has quit [Ping timeout: 255 seconds]
noop has quit [Ping timeout: 244 seconds]
noop has joined #ruby
St_Marx has joined #ruby
Hanmac1 has joined #ruby
MatthewsFace has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
garndt has quit [Quit: Connection closed for inactivity]
scx_ is now known as scx
Rainicorn has joined #ruby
LadyRainicorn has quit [Ping timeout: 255 seconds]
mary5030 has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
sputnik13 has joined #ruby
onewheelskyward has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
LiquidInsect has quit [Read error: Connection reset by peer]
fold has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
skaflem has joined #ruby
pagasus has joined #ruby
zwer_m has quit [Remote host closed the connection]
zwer_m has joined #ruby
pagasus has left #ruby [#ruby]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soliah has quit [Quit: Soliah]
senayar has joined #ruby
ecksit has joined #ruby
Soliah has joined #ruby
bubbajones has quit [Ping timeout: 240 seconds]
Soliah has quit [Client Quit]
senayar has quit [Ping timeout: 264 seconds]
Soliah has joined #ruby
<certainty> moin
CorpusCallosum has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
mijicd has joined #ruby
mgberlin has quit [Remote host closed the connection]
sarkis has joined #ruby
monkegjinni has joined #ruby
sylver has joined #ruby
narendraj9 has quit [Quit: Connection closed for inactivity]
sarkis has quit [Ping timeout: 240 seconds]
echevemaster has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
bubbajones has joined #ruby
sylver has quit [Ping timeout: 245 seconds]
monkegjinni has quit [Ping timeout: 255 seconds]
IceDragon has quit [Quit: Space~~~]
frosgy has joined #ruby
klaut has quit [Remote host closed the connection]
duncannz has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
frogsy has quit [Ping timeout: 264 seconds]
djr has joined #ruby
jamto11 has joined #ruby
carraroj has joined #ruby
apeiros has joined #ruby
tkuchiki has joined #ruby
senayar has joined #ruby
jamto11 has quit [Ping timeout: 255 seconds]
jheg has joined #ruby
LadyRainicorn has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
mgberlin has joined #ruby
carraroj has joined #ruby
sylver has joined #ruby
Rainicorn has quit [Read error: Connection reset by peer]
senayar has quit [Ping timeout: 252 seconds]
Soliah has quit [Quit: Soliah]
GriffinHeart has joined #ruby
shenkan has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Ping timeout: 272 seconds]
GriffinHeart has quit [Ping timeout: 272 seconds]
descala has quit [Read error: Connection reset by peer]
ecksit has quit [Quit: Computer has gone to sleep.]
bluOxigen has joined #ruby
etqqkoiflwhb__ has quit [Read error: Connection reset by peer]
etqqkoiflwhb__ has joined #ruby
alexju has joined #ruby
descala has joined #ruby
nitr has joined #ruby
jheg has quit [Quit: jheg]
jheg has joined #ruby
shenkan has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
Soliah has joined #ruby
Soliah has quit [Client Quit]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
armyriad has joined #ruby
etqqkoiflwhb__ has joined #ruby
bradhe has joined #ruby
nerocrux has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
jheg has quit [Quit: jheg]
gondalier has joined #ruby
etqqkoiflwhb__ has quit [Ping timeout: 255 seconds]
LadyRainicorn has quit [Read error: Connection reset by peer]
nerocrux has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 255 seconds]
LadyRainicorn has joined #ruby
nerocrux has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
jackneill has joined #ruby
mercwithamouth has joined #ruby
gondalier has quit [Ping timeout: 272 seconds]
TheKruex has joined #ruby
sarkis has joined #ruby
nerocrux has quit [Remote host closed the connection]
nerocrux has joined #ruby
djr has quit [Ping timeout: 272 seconds]
combusean has joined #ruby
andrewlio has joined #ruby
sarkis has quit [Ping timeout: 240 seconds]
carraroj has quit [Quit: Konversation terminated!]
carraroj has joined #ruby
senayar has joined #ruby
kies has joined #ruby
CorpusCallosum has joined #ruby
<Cope> how can I create a method that will instantiate a class? I'm trying to make a class generator that uses define_method to dynamically generate methods; but I want to be able to call a method with a name of class, and the method and args I want to use in define_method
jhass|off is now known as jhass
<RubyPanther> Cope: Class.new
<Hanmac1> Cope show us your wanted input and what you want as output
djr has joined #ruby
MrDoctor has joined #ruby
<Cope> sure - sec
sylver has quit [Quit: leaving]
tkuchiki has quit [Remote host closed the connection]
grieg has joined #ruby
combusean has quit [Quit: Leaving.]
<apeiros> that's a long second :D
spider-mario has joined #ruby
<Cope> kettle was boiling!
zoraj has joined #ruby
<apeiros> yell at it!
decoponio has joined #ruby
etqqkoiflwhb__ has joined #ruby
charliesome has joined #ruby
<apeiros> I don't see how `@@thingy = Struct.new(:key_one, :key_two)` in an instance method is a good idea ever.
<apeiros> you create a new *identical* struct on every call
<Cope> so basically I have a need for a whole bunch of methods which will instantiate a class, generate and return a struct. And I have a bunch of them, and writing them manually each time is feeling very un-dry.
<apeiros> create it once, reuse it
<apeiros> anyway, lets give you parts of it: Object.const_set('MyThing', klass) # <-- name
<apeiros> Class.new do define_method(method_name) do … end; end # <-- class
<apeiros> oh, `@@ethingy.new(key_one = 'stuff', key_two = 'more_stuff')` makes no sense either. you assign to local variables… why?
<apeiros> did you mean `@@ethingy.new('stuff', 'more_stuff')`? and where do 'stuff' and 'more stuff' come from?
<apeiros> also where does @@ethingy come from? (the struct is @@thingy, not @@ethingy…)
<Cope> oh that's just a typo
<Cope> the key_one = stuff populates the struct...
<Cope> at least - it works... maybe for reasons I don't understand
<Cope> so if I'm getting this all arse about face, i'd be delighted to fix it
<apeiros> Cope: it "works" because assignments return the value you assign
<apeiros> but the assignment part itself is utterly pointless
<Cope> oh - so side-effect
<Cope> hmm
<apeiros> so just leave it away
<apeiros> >> puts(vaaaariable = "hello world!")
<eval-in> apeiros => hello world! ... (https://eval.in/163042)
<apeiros> aha, I see where stuff and morestuff come from…
<Cope> apeiros: i thought i needed to give the name of the keys/members of the struct when populating it
<apeiros> I find it a bit odd to create not just a new struct class, but also a new instance from it, all the time identical. seems to me like you'd only need to create it once and return it on every call (maybe dup it)
<apeiros> Cope: well, no, you don't :) and if, then it wouldn't work that way ;-)
mostlybadfly has quit [Quit: Connection closed for inactivity]
<Cope> https://gist.github.com/anonymous/fae2335b2f74f61e5ee7 <-- this is the intended behaviour... but if it's a pile of poo, I'd be very happy to refactor it... if i unedrstand what I'm getting wrong
Notte has joined #ruby
joshua___ has joined #ruby
shevy has quit [Ping timeout: 272 seconds]
<joshua___> ey, any recommendations using Ruby with MsSQL? I know its a horrible thing to do but $dayjob :(
<Cope> and the meta step is i have quite a few of these now, so i'd like to be able to generate them dynamically, but perhaps first we should fix the underlying implementation :)
<RubyPanther> joshua___: ODBC
<jhass> Cope: you're trying to generalize it/simplify your problem. If you want to know if the solution you think you need is the right one for your problem, tell us your actual problem.
<Cope> jhass: I thought I had... sorry:
<Cope> so basically I have a need for a whole bunch of methods which will instantiate a class, generate and return a struct. And I have a bunch of them, and writing them manually each time is feeling very un-dry.
<joshua___> RubyPanther: I'm looking at ODBC and ruby DBI gem at the moment but unsure what my ODBC connection string is..am not a windows guy..
<Cope> jhass: ie i want to be able to call a method and get a struct back, prepopulated with data
<RubyPanther> joshua___: ruby-odbc + tiny_tds + activerecord-sqlserver-adapter is my setup
<jhass> Cope: without the words stuff, thing, bunch, foo, bar
<Cope> oh right sorry
<jhass> actual problem, not implementation you think you need
<Cope> yeah... fair point
<RubyPanther> joshua___: using DBI the string should be the same as whatever it is for Perl DBI
carraroj has quit [Ping timeout: 245 seconds]
<RubyPanther> but AR hides the db-specific nastiness
<Cope> so: I want to be able to simulate getting data from an API which returns deeply nested structs; i need to be able to mock that data in offline situations
<joshua___> Hmm, I don't even know what ODBC is..
hiyosi has quit [Ping timeout: 245 seconds]
<Cope> jhass: so i have a bunch of these classes and helper methods which return the structs i would get if i had network access
<joshua___> RubyPanther: do you have an example script where you are connecting to a MSSQL db that I could have a look at?
pagioss has joined #ruby
<jhass> Cope: do you need the class names to match?
<Cope> jhass: no, the class is just an implementation - i couldn't return structs without embedding them in a class
<jhass> I'd investigate building nested OpenStructs from a nested hash then
<jhass> API = build_nested_ostruct_from a: {b: 'c'}, d: {'e'}
<jhass> API.a.b #=> 'c'
iamayam has quit [Ping timeout: 240 seconds]
samphippen has joined #ruby
* Cope thinks about how that would work
TheKruex has quit []
iamayam has joined #ruby
TheKruex has joined #ruby
bradhe has joined #ruby
shevy has joined #ruby
hiyosi has joined #ruby
Darryl has joined #ruby
sarkis has joined #ruby
* Cope has a play
MrDoctor has quit [Ping timeout: 240 seconds]
bradhe has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
<Cope> jhass: hmm... very pleasing :)
<RubyPanther> joshua___: it only needs activerecord but I pasted a Gemfile version that pulls in all of rails.
sarkis has quit [Ping timeout: 240 seconds]
<apeiros> jhass: do ostructs still leak memory like a sieve?
<jhass> I didn't check
* apeiros hopes that 3 major releases later this is no longer an issue…
<joshua___> RubyPanther: a nice dude, thanks alot. Am just looking @ http://anthonylewis.com/2011/03/08/exploring-odbc-with-ruby-dbi/
tessi_zz is now known as tessi
<Cope> jhass: i think this doesn't work with struct, but does with ostruct; but the bits i care about operate the same anyway, so ostructs are fine
<Cope> ie the api returns structs not ostructs, but all i ever do is get values off them, so it doesn't matter
<jhass> yeah the power of ruby, stuff only needs to behave the same in the areas you use
<Cope> jhass: thanks a whole ton - this is a way way way cleaner and easier approach
TheKruex has quit []
<RubyPanther> joshua___: The way I'm doing it with tinytds you don't need ODBC on the server, you can just connect normally. But more importantly it provides a modern ORM layer.
<joshua___> ok that sounds nicer. I have no idea WTF ODBC shit it.
<joshua___> is*
<joshua___> RubyPanther: can you make remote connections using that or has to be run from the ms sql box?
hamakn has quit [Remote host closed the connection]
duncannz has quit [Quit: Leaving]
<RubyPanther> joshua___: Both, with that setup I can use the same script, no modification, from a remote linux box over the vpn. I left out the /etc/freetds.conf file, but that maps the windows network name you use in odbc.ini to the IP address of the server
<RubyPanther> joshua___: Then when I'm on the windows server box, tinytds uses the normal windows ODBC and looks for the same DSN
<joshua___> ah, what would the /etc/freetds.con look like? kk, trying to connect to MSQSQL server from osx over VPN
<RubyPanther> so the odbc config is different, but to the script that is all transparent
monkegjinni has joined #ruby
<joshua___> ok thanks
<RubyPanther> in my gist it would be [WINDOWSNETWORKNAMEOFSERVER] ...
banister has joined #ruby
<joshua___> great thanks RubyPanther
monkegjinni has quit [Ping timeout: 264 seconds]
zigomir has quit [Remote host closed the connection]
zigomir has joined #ruby
zoraj_ has joined #ruby
tkuchiki has joined #ruby
zoraj has quit [Ping timeout: 252 seconds]
zigomir has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
geefolk has joined #ruby
jamto11 has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
timonv has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
nerocrux has quit [Quit: Leaving...]
kyb3r_ has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 272 seconds]
alexju has quit [Remote host closed the connection]
ValicekB has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
maximski has joined #ruby
geefolk has quit [Ping timeout: 240 seconds]
<apeiros> haha, siri: "what can I do for you?" - "stop getting on my nerves!" - "OK" *starts musik*
<apeiros> *music*
<certainty> siri is suspiciously close to "sir"
<csmrfx> I cant stand the idea
dangerousdave has quit [Read error: Connection reset by peer]
<apeiros> I like the idea. but I haven't used siri once yet. mostly trust issues :)
<csmrfx> wasnt the talking paperclip enyf for you
dangerousdave has joined #ruby
sski has quit [Remote host closed the connection]
<certainty> you can trust siri. At least as much as you can trust apple in general
<certainty> :)
chrishough has quit [Quit: chrishough]
<apeiros> certainty: more like, I rely on it, let it enter my appointments, and it gets one wrong
<certainty> ah ok, got that wrong then. Still my point is relevant :)
<certainty> basically you tell apple your appointments then
<apeiros> you do without siri too
<certainty> i don't
<certainty> not that i'm aware of
<apeiros> also moot point if you use google calendar
<apeiros> icloud/sync
<certainty> don't use any of these
<certainty> just org-mode it is and sometimes even pen and paper :)
Takle has quit [Remote host closed the connection]
<apeiros> good. I hate those idiots who go all raving about "you tell company X all your secrets!" and go on to tell company Y all their secrets.
<RubyPanther> I trust Clippy more than whatever these newfangled Jeeves are called
<certainty> i can't tell what hardware implants my box has so i might be telling someone, as the org file lies around in plain text but ok
<RubyPanther> Clippy is Special, but his simplicity keeps him out of trouble
<apeiros> certainty: well, I'm more talking about willingly/knowingly (albeit probably unaware)
Takle has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
<certainty> apeiros: yeah, that's what i don't do. I trust none of these mega corps, actually i don't even trust minor companies. I don't see a good reason for me to give someone else that data
<apeiros> good for you. I don't trust them either, but I'm too lazy to get an alternative running :-/
<certainty> RubyPanther: is clippy a service or a tool?
<RubyPanther> a tool, mostly
bradhe has joined #ruby
dseitz has joined #ruby
<RubyPanther> I think it could access a "knowledge database"
dseitz has quit [Max SendQ exceeded]
dseitz has joined #ruby
<certainty> ah Clippy is that paperclip in MS Office?
Mon_Ouie has quit [Ping timeout: 264 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
<certainty> apeiros: too bad :( i'm not in the mood to evangelize, but that's really too bad
hamakn has joined #ruby
dangerou_ has joined #ruby
<apeiros> certainty: If I remember, and I change my laziness, I might get back at you :)
boris has joined #ruby
<apeiros> you have your own mail server? how about sms/whatsapp? ical servers?
sski has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
scx has quit [Ping timeout: 255 seconds]
<certainty> apeiros: i use the mailserver at our company. I don't use whatsapp or anything like that. I do use text-secure to send sms. Redphone to do my calls on the android, which i don't move away from my home. I don't carry a phone or anything
<certainty> luckily i don't need it, that might be totally different for others
<apeiros> text-secure?
<certainty> a secure messaging service to send sms
<apeiros> relies on the other side also having it?
<certainty> in uses otr messaging
scx has joined #ruby
<certainty> yeah
sarkis has joined #ruby
<apeiros> my main issue with security is that it almost always is the protagonist of practicality
<apeiros> *antagonist
<certainty> it is
<certainty> that's not only your issue
<apeiros> it wouldn't always have to be :-/
<apeiros> I mean a lot of security could be done very transparently and with little effort for the user
<certainty> yepp, though text-secure really is a good step in that direction. It is so called one-click cryptography
<certainty> it is really easy to get running
<certainty> apeiros: i totally agree. But to me it accures that not implementing security measures is the problem but the lack of awareness that there is something to protect
<apeiros> yes
<apeiros> most people you talk about it go like "but I have nothing to hide anyway!"
<certainty> if that can be achieved then we can attack it from both sides, 1) making security easier to apply 2) taking slight inconvenience to increase security
<apeiros> (╯°□°)╯︵ ┻━┻
<certainty> yeah which is total nonsense
<apeiros> yes
<apeiros> and even if they have nothing to hide yet (say because they're not ashamed of their vids where they dance drunken on the table), it may well be used against them any time later
mercwithamouth has quit [Ping timeout: 244 seconds]
<Hanmac1> the most funny part is how politicans react when they hear that they are observed too ... ;P
<certainty> :)
<apeiros> "oh so you want to become mayor? what will you do for me for not *accidentally* passing those embarrassing vids to the press?"
<certainty> as we can currently experience in germany
<apeiros> Hanmac1: yes
Hanmac1 is now known as Hanmac
<apeiros> I wished groups like anonymous would dig out all the dirt on those politicians who overtly are pro surveillance
Mon_Ouie has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
<apeiros> I'd love to see how much they'd like that
<certainty> doesn't need to be $anonymous, we have the power to do so
<certainty> we've just forgotten (or were never aware)
<apeiros> also the argument "but the state is *the good guy*!" is bullpoo. even if we assume that *today* they indeed are - who's to say what happens with the information tomorrow?
sepp2k has joined #ruby
<certainty> yes that's a crucial point
<Hanmac> apeiros: i saw something funny like that in a cartoon show ... someone did make a trojan/virus that automaticlly hacks all pcs and provide all hidden info to all others ... they called it "electronical haircut" (to make everyone equal)
<apeiros> and I'd rather vehemently argue that most states aren't "the good guy" even today.
<apeiros> (also the whole "states/companies ain't people" thing)
<certainty> yeah that reasoning is totally flawed
<apeiros> I mean, even if *most* people in the state apparatus are good guys - how many rotten apples does it need for the whole well intended endeavor to become utterly dangerous?
<certainty> i'm very concerned about the revelations regarding hardware that is used to surveille. There is very little we can do here
<apeiros> open source hardware
<apeiros> is my hope at least
<katlogic> apeiros: game theory 101. however this goes for a society as a whole, state is just cluster.
<apeiros> we're nowhere near a usable state there yet, but hope dies last
<certainty> apeiros: yeah we need free hardware, but hardware is significantly harder to understand
<apeiros> certainty: I don't think the "understand" part is the issue
<apeiros> it's far more expensive to build
<apeiros> with software, it's easy. everybody can do it.
<apeiros> all you need is a computer
<apeiros> hardware? yeah, have fun
<certainty> yeah that's true
<apeiros> but 3d printers and the like can and will change this
<apeiros> (as said, we're nowhere near usable yet - but I can imagine where it could be headed and that gives hope)
anaeem1_ has joined #ruby
Rollabunna has quit [Ping timeout: 264 seconds]
<apeiros> one question would be - if you can't manufacture the chips themselves - can you build reliable/useful hardware where you treat all chips as adversarial?
<certainty> problematic
<certainty> the attack surface is rather huge
<certainty> that's what concerns me
<certainty> not only direct/indirect surveillence, but also breaking what we currently use to "counter" surveillance
Olipro has quit [*.net *.split]
<apeiros> enough depressing ideas and thoughts for today
* apeiros goes back to clone starbase orion (itself being master of orion clone)
<apeiros> +a
<certainty> have fun :)
hamakn has quit [Remote host closed the connection]
kirun has joined #ruby
<apeiros> of course!
<apeiros> now implementing research
<apeiros> after that, all that is left for a single player no enemy game is putting all the pieces together
vifino has joined #ruby
<apeiros> after that, army, then AI, and then polish and improve
sski has quit [Remote host closed the connection]
sski has joined #ruby
Olipro has joined #ruby
<apeiros> if I should indeed reach polish phase, I'll reach out for others to help :)
Olipro has quit [Max SendQ exceeded]
Olipro has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby
sski has quit [Ping timeout: 252 seconds]
<Hanmac> apeiros: i found this comic (ps might be scary but also funny) https://i.chzbgr.com/maxW500/8216819456/h3357B044/
fantazo has quit [Ping timeout: 245 seconds]
<certainty> Hanmac: lol
<Hanmac> certainty: did you hear about the last EU voting? "DIE PARTEI" got one seat in the EU ;D
<certainty> Hanmac: no i haven't yet :|
<Hanmac> now they want to rotate this seat with different members (and each member is getting money because he was a politican) they said they want to milk the EU like a south state like greece ;P
sski has joined #ruby
<Hanmac> certainty: did you know fefe ? https://blog.fefe.de/
<certainty> yeah i "know" him
blueOxigen has joined #ruby
sandbags has joined #ruby
<Hanmac> also funny some recent news: the pope does not want to drive in this pulletproof mobil anymore because he says he cant greet the other people and he says he hasnt much to lose ;P ( imo thats the best pope i could remember )
Squarepy has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
Squarepy has quit [Read error: Connection reset by peer]
perlsyntax has joined #ruby
zoraj_ has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 245 seconds]
<certainty> Hanmac: i'm curious what will happen during the "Durchwink-Wochen", i didn't yet look at bundestag.de but i meant to. I expect some laws to be passed
diegovio1 has joined #ruby
diegovio1 is now known as diegoviola
<Hanmac> certainty: thats why i hate soccer and worldCup ... they use it to make evil things in the covernments
<certainty> yeah
<certainty> that's one reason to hate it, also this particular worldcup. I have some friends in brasil which reported totally crazy things
bradhe has joined #ruby
<certainty> who, even
Squarepy has joined #ruby
<Hanmac> certainty: did you hear the germans got her own trainings hotel in a forest that has "Naturschutzgebiet"? (i know you are german too thats why i can say the german word before gooling the english one)
bluOxigen has joined #ruby
zoraj has joined #ruby
zwer_m has left #ruby [#ruby]
mrnugget has joined #ruby
<certainty> Hanmac: no didn't read that yet. :/
danijoo_ has quit [Read error: Connection reset by peer]
bradhe has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby
cloudgeek has joined #ruby
axl_ has joined #ruby
<cloudgeek> Ubuntu 12.04 LTS, ruby 2.1.2 , system excute_command is not working for excute a ruby file, method code is below, http://paste.ubuntu.com/7647508/
LadyRainicorn has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
axl_ has quit [Client Quit]
Mooneye has joined #ruby
phoo1234567 has joined #ruby
<certainty> cloudgeek: ruby not in path?
ahofmann has joined #ruby
ahofmann has quit [Client Quit]
<cloudgeek> certainty: did I need give ,
<cloudgeek> system 'env/ruby /home/sanjusir/vikas.rb/
<cloudgeek> certainty: I using this in Rails , during creation of request, same time I want to run a script too..
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
<cloudgeek> certainty: yes, ruby is not in path , that is not part of my path folder to script
etqqkoiflwhb__ has joined #ruby
User458764 has joined #ruby
St_Marx has joined #ruby
<cloudgeek> exec('/home/sanjusir/vikas.rb')
mijicd has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
TheKruex has joined #ruby
TheKruex has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
kies has quit [Ping timeout: 264 seconds]
isthisreallife has joined #ruby
<apeiros> aaaahaha, I found a case where I *need* a ; in js
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb__ has joined #ruby
hamakn has joined #ruby
etqqkoiflwhb__ has quit [Ping timeout: 245 seconds]
sski has quit [Remote host closed the connection]
sski has joined #ruby
LadyRainicorn has joined #ruby
Eyess has quit [Quit: X probably crashed]
GriffinHeart has joined #ruby
Eyes has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
postmodern has joined #ruby
monkegjinni has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
charliesome has quit [Ping timeout: 252 seconds]
DouweM has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
Takle has quit [Remote host closed the connection]
charliesome has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
derHerzerzog has joined #ruby
<derHerzerzog> hi all
<derHerzerzog> problem with TCPServer class...normally, according to docs, it can be initialized with a port only
<derHerzerzog> (which worked in my case just a couple of days ago)
<derHerzerzog> not suddenly, TCPServer.new 3000 raises an exception (cannot convert nil to string), as if a host were required
pu22l3r has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
Darryl has quit [Quit: Connection closed for inactivity]
noob101 has joined #ruby
Zebroid has quit [Remote host closed the connection]
<derHerzerzog> now suddenly*
<Hanmac1> derHerzerzog: ruby version and show us a gist of yourcode?
<derHerzerzog> 2.1.1
Zebroid has joined #ruby
<noob101> What does <<EOS; <letters>: EOS mean?
<DouweM> that's heredoc string notation
nitr has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
shredding has joined #ruby
apeiros has quit []
<noob101> DouweM: Can you please explain it anyone could understand, like what does that mean?
<noob101> DouweM: What's so special about that?
<DouweM> Noob101: check that blogpost, it describes it. it's a way to make multiline strings
<noob101> Alright.
gattuso has quit [Ping timeout: 260 seconds]
jamto11 has joined #ruby
<derHerzerzog> sry for plaintext highlighting Hanmac1, gist won't save with Ruby selected...
davidvl has joined #ruby
hamakn has quit [Remote host closed the connection]
<Hanmac1> hmmm works for me (ruby 2.2.0dev) ... but dont have 2.1 there for testing
apeiros has joined #ruby
<derHerzerzog> friend of mine has 2.1.1 and it works for him too
<noob101> DouweM: My question wasn't answered. I see that there are different ways of making strings using EOS but what is the purpose of it, why was it created?
<noob101> DouweM: That was the question I asked.
<DouweM> Noob101: multiline strings
<derHerzerzog> strange thing is, that it did work for me as well just a couple of days ago...nothing changed about the code
perlsyntax has left #ruby [#ruby]
<certainty> derHerzerzog: works here with 2.1.0p0
Rainicorn has joined #ruby
<apeiros> aaaah, 3 screens are so much better than 2 (even 1 is better than 2 :-S)
<noob101> DouweM: Right but you can use %( ) right? So if you could do that then why would ruby have that?
Squarepy has quit [Quit: Leaving]
gattuso has joined #ruby
<noob101> DouweM: Right but you can use %( ) right? So if you could do that then why would ruby have that?
<certainty> derHerzerzog: what do you mean by "does not work"?
yacks has joined #ruby
<certainty> nvm, it raises an exception
<DouweM> Noob101: not needing to escape quotes or the string delimiter I guess? A lot of languages have heredoc syntax, I guess whether to include it in Ruby was mostly by default
jamto11 has quit [Ping timeout: 245 seconds]
dangerou_ has quit [Read error: Connection reset by peer]
<certainty> derHerzerzog: server already
<DouweM> Noob101: not a conscious decision. but as I say, it's useful because you don't need to escape.
<certainty> running
<certainty> derHerzerzog: the server is already running. That's a misleading message
dangerousdave has joined #ruby
sski has quit [Remote host closed the connection]
alexju has joined #ruby
<certainty> or any other server binding to that port
<derHerzerzog> don't know what you mean, certainty - that message doesn't come from my code
sski has joined #ruby
sski has quit [Remote host closed the connection]
pu22l3r has quit [Read error: Connection reset by peer]
<certainty> derHerzerzog: you have another server running on that port. You can reproduce the error if you try to start your server twice on different consoles
sski has joined #ruby
pu22l3r has joined #ruby
<derHerzerzog> i know that you can't bind to the same port twice, but that's ot my problem
LadyRainicorn has quit [Ping timeout: 272 seconds]
<certainty> derHerzerzog: i think it is
<noob101> DouweM: What is heredoc?
jottr has joined #ruby
<DouweM> Noob101: that's the name for that EOS notation (EOS can be anything, btw). see https://en.wikipedia.org/wiki/Here_document
<derHerzerzog> Trying to start server ... server.rb:7:in `initialize': no implicit conversion of nil into String (TypeError)
<certainty> derHerzerzog: I agree that the message "server.rb:7:in `initialize': no implicit conversion of nil into String (TypeError)" is misleading but it happens when you have another server binding on that port
<certainty> that's what i'm trying to say
<derHerzerzog> oh now i get it
bradhe has joined #ruby
alexju has quit [Ping timeout: 240 seconds]
<derHerzerzog> so you were right indeed...
<certainty> phew
<derHerzerzog> ;) it seems like RubyMine didn't close some processes
LadyRainicorn has joined #ruby
<derHerzerzog> not too used to using rubymine for anything other than rails, and you hardly ever do such stuff in rails ^^
etqqkoiflwhb__ has joined #ruby
kies has joined #ruby
<noob101> DouweM: I'll read about it in a book or something, thanks though for the help.
<certainty> derHerzerzog: yeah, i frequently have to debug such things, so it accured rather quickly to me. So I tried it out
<certainty> it's still a bad message though
bradhe has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
<derHerzerzog> it certainly is..i would have tried different signatures of that initialize for the rest of the day :)
Rainicorn has quit [Ping timeout: 272 seconds]
danijoo has joined #ruby
<derHerzerzog> is rubymine's debugger worth it at all?
sski has quit [Remote host closed the connection]
sski has joined #ruby
<certainty> derHerzerzog: given that there are debuggers that work on the console just fine, i doubt it. I haven't used rubymine though.
kies has quit [Ping timeout: 252 seconds]
davidvl has quit [Quit: This computer has gone to sleep]
kaspergrubbe has joined #ruby
Darryl has joined #ruby
fantazo has joined #ruby
m8 has joined #ruby
<nwkr> derHerzerzog: it works
sski has quit [Ping timeout: 252 seconds]
<derHerzerzog> yea nwkr i found the problem already, port was in use and the exception message was somewhat cryptic..thx though
<noob101> In irb, can I clear the screen. If so, how?
Zai00 has joined #ruby
<csmrfx> exit<enter> clear<enter> irb<enter>
<apeiros> Noob101: depends on your terminal emulation
<apeiros> cmd-K for me
<apeiros> (and no need to leave irb or pry for that either)
<noob101> apeiros: what the hell does that mean, "terminal emulation" I hear emulation a lot when it comes to games but I don't know what it means.
diegovio1 has joined #ruby
<apeiros> Noob101: that thing in which you run irb is a terminal emulation
<apeiros> Terminal.app for mac, run.exe in windows and no idea what process in *nix
nitr has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 244 seconds]
<csmrfx> ís it correct to say: the window that hosts the shell
<csmrfx> who knows
<apeiros> well, the window belongs to a process, an application
mr_snowf1ake has joined #ruby
mr_snowf1ake has quit [Client Quit]
<noob101> apeiros: Wow interesting, I use windows so now what?
ghr has joined #ruby
<apeiros> Noob101: I'm not a windows user. no idea how to clear the screen in run.exe
<apeiros> I'm pretty sure google has answers, though. also checking its menus might already get you there.
<noob101> apeiros: So is run.exe like a program or something?
<apeiros> errr, yes?
<apeiros> every .exe on win is a program
<DouweM> Noob101: chances are it's the program you're running irb from
<apeiros> and run.exe is slightly special in that it is used to run other programs within it
<DouweM> like, the terminal emulator. black background, white text, command prompt and stuff?
<mordof1> cls is clear screen, if that's what you're wondering
<DouweM> that's run.exe
<apeiros> mordof1: cls is a command, though, and requires you to exit the current program (or well, `cls` might work too from irb)
<noob101> apeiros: correct^
<DouweM> apeiros: I doubt that'll work
<DouweM> apeiros: but what do I know, don't use windows either
<noob101> I don't think it does.
<mordof1> apeiros: if you're in irb - then it's not a command prompt command you're looking for either
<apeiros> puts `clear` # <-- works in pry on mac
<mordof1> one sec
<DouweM> apeiros: nice, I had no idea
<apeiros> the clear command simply emits the escape sequence
<noob101> >:(
<apeiros> I'd assume the same applies for cls on win
<DouweM> apeiros: ah, right...
<mordof1> haha, that's so windows for you
<noob101> How do I clear my screen in irb for windows. :(
<DouweM> Noob101: tried puts `cls` ?
<noob101> ok thanks.
<apeiros> i.e., I could also: print "\e[H\e[2J"; $stdout.flush
<DouweM> apeiros: right
<noob101> Hm, this is odd.
<noob101> It has the male sign
<noob101> What does that mean? .3.
<apeiros> o0
<mordof1> Noob101: i know right, lol.. so bizarre
<noob101> mordof1: ikr lol???
ghr has quit [Ping timeout: 240 seconds]
<apeiros> ♂ <-- this?
<DouweM> Noob101: your name is extremely apt, by the way :P
<mordof1> apeiros: that's female
<noob101> Is a male watching me .3.?
<mordof1> apeiros: the other one
<apeiros> mordof1: dude, no :)
<DouweM> mordof1: that's definitely male
<apeiros> ♀ <-- this is female
<noob101> Oh loool, I mean male.
<noob101> I mean female
<mordof1> apeiros: then we're wrong and it's showing the female sign
<mordof1> lol
<noob101> Yeah that sign.
<apeiros> :D
<noob101> apeiros: Why do I see that sign.
<apeiros> and where is it showing that?
<mordof1> after a puts `cls`
<apeiros> rofl, what? pics or it didn't happen!
<DouweM> mordof1: what the.
<mordof1> sec
<noob101> under the i in irb after I typed the command puts `cls`
diegovio1 is now known as diegoviola
CorpusCallosum has quit [Quit: Computer has gone to sleep.]
<DouweM> Noob101: screenshot!
<apeiros> but my answer to "why does this happen?!?" is simply: lolwindows, <nelson>haaha</nelson>
<mordof1> opops
<mordof1> there
<mordof1> screenshot
<apeiros> limechat was clever enough
<DouweM> it would be so windows if the female sign were the clear sequence
<noob101> DouweM: Is there a website that can have me do quick screenshot without screenshotting, saving it in paint, etc?
<apeiros> with system, you'd use single or double quotes btw., not backticks
<mordof1> Noob101: what windows version?
<certainty> you made my day Noob101
<DouweM> if `cls` returns \f, why does puts \f become the female sign :/
<DouweM> that makes no sense at all
<mordof1> apeiros: ahhh that works, lol
<mordof1> system 'cls' ftw
<apeiros> rendinkulous
<apeiros> windows ftl :-p
<DouweM> Noob101: a website can't make a screenshot. only your system can
<mordof1> right, because `cls` would evaluate and pass the result to system
<mordof1> apeiros: good catch
<mordof1> Noob101: system 'cls' is your solution
<apeiros> and yeah, 3 screens rock. definitively better than 1, and much better than 2
<certainty> or just emit enough "\n" until all the text above vanishes
* certainty hides
<apeiros> now I only need to decide whether I want a 4k screen for the center screen :D
dontwork has joined #ruby
<DouweM> apeiros: I;m jealous
<mordof1> apeiros: i rarely find a good use for a third
<mordof1> so i've stuck with 2
<apeiros> DouweM: why? they're dirt cheap nowadays
<noob101> mordof1: 8.1
derHerzerzog has quit [Ping timeout: 246 seconds]
<apeiros> mordof1: with 2 I was unhappy.
<apeiros> I need a center where I don't bend my neck
<mordof1> Noob101: snipping tool. comes with windows
GriffinHeart has quit [Remote host closed the connection]
<DouweM> apeiros: yeah I know. I'm currently on a 27" Cinema Display and my 15" MBP on a stand. I should definitely get an extra display
<mordof1> apeiros: ah.. i usually just face one directly, and have the other as a secondary
<apeiros> DouweM: well, that's the sad bit about this setup - retina display is closed :(
<DouweM> apeiros: heh
<apeiros> mordof1: ok, I guess that'd have worked better. I hate the lack of symmetry, though :D
<DouweM> what size are the screens and how are they arranged?
diegovio1 has joined #ruby
<apeiros> DouweM: 1920x1200 center, 1920x1080 left and right
<certainty> just kidding
<mordof1> apeiros: to each their own, really. i'm a web dev person - so it's less common for me to use the second monitor
<DouweM> certainty: beautiful
<apeiros> center is my old screen. now I can't play games anymore because it doesn't have 2 ins
<DouweM> apeiros: what's your workflow as in what do you use each screen for?
<certainty> don't know how to open multiple buffers in VIM so i just bought multiple monitors to open 8 files at once in 8 differen VIMs
diegoviola has quit [Ping timeout: 244 seconds]
<nwkr> i have four screens
<apeiros> center is work, right is work-related (or video), left is chat & diversion
<mordof1> heh
<mordof1> that's why i don't have 3
<nwkr> three on bottom, and one center up
<DouweM> nwkr: not bad
<certainty> apeiros: you are aware of virtual workspaces? :p
<mordof1> i got TOO distracted by having it visible
<apeiros> certainty: doesn't work for me
cashnguns has joined #ruby
<nwkr> four in the row didnt work at all
<certainty> that said, i really only use two screens. (at work) could probably use a third
<apeiros> mordof1: with less, I just have diversion in front and don't work at all ;-)
<mordof1> apeiros: that's all a matter of self discipline :p lol
<mordof1> but i suppose that's one way of dealing with it
<nwkr> i had to turn around every time, so i mounted it on top
<apeiros> mordof1: see, I don't *have* self discipline ;-D
<apeiros> at home, that is
<mordof1> hahah
<mordof1> yeah
* mordof1 is getting better at that
<apeiros> see, I don't even want to get better at that
noob101 has quit [Ping timeout: 246 seconds]
<apeiros> home is where I just want to be happy
<mordof1> apeiros: i stopped watching all tv, anime, and gaming somewhat recently.. and my capability to focus and be productive has gone through the roof
<apeiros> and if being a nomad brain makes me happy, so be it
<apeiros> yeah, I stopped watching tv too. antenna cable is plugged out
<DouweM> honestly I have no idea what I'd use 2 large displays for, let alone 4
<apeiros> but I watch SC2 matches occasionally :)
<mordof1> apeiros: ah - that's fine. gotta watch something every now and then when you just need to check out
<mordof1> apeiros: i just kept doing all-day marathons and killing my spare time xD
<apeiros> the hold back for a 4k center btw. is that my current laptop would only manage 30Hz on it :(
Hanmac has joined #ruby
mrnugget has quit [Quit: mrnugget]
<mordof1> apeiros: ooh - ouch
<mordof1> that'd be yucky
<apeiros> mordof1: yeah. with tv, I came home, turned tv on, time passed, "wtf, it's midnight again?", bed. sleep. wake up. go to work. repeat.
Zebroid has quit [Remote host closed the connection]
* mordof1 nods
<apeiros> and that sucked. just wasted time. I didn't even enjoy watching tv.
<apeiros> most shows are just plain shit.
<mordof1> yeah exactly
* mordof1 wanders off momentarily
<apeiros> now I buy dvds (sadly no streaming in CH) and watch them whenever I want and only what I really want
Hanmac1 has quit [Ping timeout: 252 seconds]
* apeiros also needs to make up his mind on how to let the carpenter build his new desk :)
<apeiros> definitively needs more space than my current one :-/
<certainty> apeiros: it's good that you buy them and don't stream them. :) You don't want *them* to know which movies you watch when.
senayar has quit [Remote host closed the connection]
<apeiros> certainty: haha :D
<apeiros> the dvd player has ethernet!
<apeiros> (not really…)
diegovio1 is now known as diegoviola
<apeiros> the tv otoh does :-|
<certainty> also +1 for not watching too much tv. TV as a medium for advertising has always been a tool. The entire program exists just because they want to generate audience that they can show their ads. It's all about behvaior control. That's the business model
<apeiros> anyway… must. implement. research. now. :)
<apeiros> tech-tree is already done
sski has joined #ruby
<certainty> apeiros: what about the AI? It's multiplayer so i expect some form of multi-agent system?
<DouweM> certainty: do networks like hbo where you need a seperate subscription run ads? I'm not from the US so I have no idea
<apeiros> certainty: AI will come later. I first want single-player without enemy to work.
<mordof1> apeiros: oooh what's being made?
<apeiros> certainty: after that, yes, sure. each enemy player is his own agent.
<certainty> DouweM: i'm neither, plus i don't use those, so i can't tell. But i would be surprised if they didn't
<apeiros> I'll probably only implement a minimal (stupid) AI
kjntos has joined #ruby
<apeiros> mordof1: starbase orion clone (which is a master of orion clone itself)
<certainty> apeiros: cool let me know once you're there. I'm interested in that part
<mordof1> oooh
<DouweM> certainty: yeah, probablu
<apeiros> certainty: sure. once I got a minimally working game I'll search for contributors
<apeiros> but given my lack of self discipline, I'm not sure I'll get there. which is why I'm not looking for contributors now :D
<certainty> hehe i know what you mean
<apeiros> but so far, things come along neatly.
mary5030 has joined #ruby
sski has quit [Ping timeout: 240 seconds]
<certainty> also with wrt to streaming, one should think about whether he/she wants to own something as opposed to just use something
<certainty> anyway gotta go out now. The wheather is awesome
<apeiros> cya
GriffinHeart has joined #ruby
<LadyRainicorn> m
anaeem1 has joined #ruby
SCHAAP137 has joined #ruby
hermanmunster has quit [Remote host closed the connection]
hermanmunster has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
davidvl has joined #ruby
mercwithamouth has joined #ruby
anaeem1 has quit [Ping timeout: 245 seconds]
phinfonet has joined #ruby
DouweM has quit [Ping timeout: 240 seconds]
Notte has quit []
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
hermanmunster has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
Takle has joined #ruby
<apeiros> aahaha, nice. open the JS console when on developer.mozilla.org
hermanmunster has joined #ruby
bradhe has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
maximski has quit []
mary5030 has quit [Remote host closed the connection]
maximski has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
<mordof1> apeiros: yep, it's awesome
bradhe has quit [Ping timeout: 240 seconds]
naw is now known as naw_
lordofthelake has joined #ruby
timonv has joined #ruby
joaoh82 has quit [Remote host closed the connection]
mehlah has joined #ruby
nitr has quit [Remote host closed the connection]
joaoh82_ has joined #ruby
nitr has joined #ruby
axl_ has joined #ruby
huhh has joined #ruby
huhh has quit [Client Quit]
axl_ has quit [Client Quit]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<shevy> LadyRainicorn are you m-ing again!
<apeiros> Lady-mmmmm-Rainicorn
<LadyRainicorn> mmmm
<LadyRainicorn> m(aybe)
bmurt has joined #ruby
<apeiros> mmmm
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> m(onad)
<jhass> shhh, you'll wake benzrf|offline
<apeiros> monad, lalala, moooohonad, lalllalaaa, monad, oh monady, monada, tralllala
* apeiros grins & runs
dreamcha_ has joined #ruby
dreamchaser has quit [Quit: ZNC - http://znc.in]
andrewjanssen has joined #ruby
kjntos has quit [Read error: Connection reset by peer]
<shevy> leave your gonads alone!
dreamcha_ is now known as dreamchaser
kjntos has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sarkis has joined #ruby
relix has joined #ruby
jxf has joined #ruby
lxsameer has quit [Quit: Leaving]
relix has quit [Client Quit]
relix has joined #ruby
BWStearns has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
stantona has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has quit [Client Quit]
mercwithamouth has quit [Ping timeout: 240 seconds]
sarkis has quit [Ping timeout: 272 seconds]
Zebroid has joined #ruby
dreamchaser has quit [Ping timeout: 272 seconds]
shredding has joined #ruby
armyriad has quit [Ping timeout: 244 seconds]
armyriad has joined #ruby
BWStearn1 has joined #ruby
lordofthelake has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
SCommette has joined #ruby
timonv has joined #ruby
andrewjanssen has quit [Quit: Leaving...]
mostlybadfly has joined #ruby
cantonic has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
<diegoviola> i'm using savon to interact with some web service (SOAP) which is giving me XML back, how do i parse the XML?
<diegoviola> savon uses nokogiri i believe
lw has joined #ruby
<jhass> Nokogiri::XML(xml)
monkegjinni has joined #ruby
<diegoviola> that's what i'm getting from the server
<jhass> looks more like some csv or something
hamakn has joined #ruby
<diegoviola> yeah
<apeiros> psv (pipe separated values) :D
Takle has joined #ruby
<jhass> apeiros: having your funny day? :P
<apeiros> every day is a funny day!
<diegoviola> how do i parse that crap
<apeiros> with CSV and a custom col_sep
<jhass> !google CSV ruby
zigomir has joined #ruby
<diegoviola> ty
<apeiros> alternatively: split
<apeiros> (only if it isn't proper csv with a custom separator)
<apeiros> though, custom separator somewhat indicates "we don't give a shit on proper csv"
monkegjinni has quit [Ping timeout: 240 seconds]
lulzmachine has joined #ruby
arrubin has joined #ruby
Rylee_ has quit [Remote host closed the connection]
Rainicorn has joined #ruby
DouweM has joined #ruby
alexju has joined #ruby
joaoh82_ has quit [Remote host closed the connection]
<diegoviola> right
postmodern has quit [Quit: Leaving]
bradhe has joined #ruby
bmurt has quit []
LadyR has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
casheew has joined #ruby
xcv has joined #ruby
Rainicorn has quit [Ping timeout: 240 seconds]
jamto11 has joined #ruby
lulzmachine has quit [Quit: This computer has gone to sleep]
sandbags has quit [Remote host closed the connection]
gruz0[russia] has joined #ruby
sandbags has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
davidvl has quit [Quit: This computer has gone to sleep]
<mordof1> shevy: o/
mordof1 is now known as mordof_home
axl_ has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
axl_ has quit [Client Quit]
Rylee has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
samphippen has joined #ruby
jxf has quit [Ping timeout: 252 seconds]
Takle has quit [Remote host closed the connection]
hakunin_ is now known as hakunin
joshua___ has quit [Remote host closed the connection]
<shevy> hey mordof_home
<shevy> you have quieted down immensely
<shevy> diegoviola CSV is everywhere!
<diegoviola> is that CSV?
<shevy> I think so, with the delimiter char '|'
<shevy> originally the default one should have been ',' but I guess people love |
<diegoviola> i wonder why they choose | instead of just m
<diegoviola> s/m/,/
Takle has joined #ruby
<shevy> in bioinformatics, atomic coordinates are also stored in such files, although I think they use the \t character as separator for the position of every atom in a biomolecule
<jhass> because, you know, who would use | in normal texts
<jhass> it's a total cryptic special character no one ever uses!
<shevy> I do for beautiful ascii tables!
sputnik13 has joined #ruby
<jhass> it's perfect!
<jhass> </irony>
<shevy> | Cost | Product |
<shevy> ------------------------
<shevy> hmm
nitr has quit [Remote host closed the connection]
<shevy> why is it that | seems to be even longer than two --
<mordof_home> shevy: yep, i got very busy, heh
sandbags has quit [Ping timeout: 255 seconds]
<diegoviola> shevy: how would you parse this?
<diegoviola> or anyone else
<diegoviola> i'm confused
<diegoviola> :(
<shevy> diegoviola really only via default ways, such as already exist in ruby
<diegoviola> but which way
<shevy> CSV.foreach or CSV.read
<diegoviola> there are lots of ways i think
<diegoviola> oh
<diegoviola> i see
<shevy> CSV.read then perhaps
<diegoviola> ty
<jhass> shevy: en.wikipedia.org/wiki/Box-drawing_character
<shevy> I don't like to have to iterate when .foreach is used, I like to separate activities into smaller ones
<shevy> oh good old DOS days
davidvl has joined #ruby
sputnik13 has quit [Ping timeout: 245 seconds]
<diegoviola> thanks
garndt has joined #ruby
scx_ has joined #ruby
<shevy> if you feel like wanting to learn more (hehehe), this article seems ok: http://www.sitepoint.com/guide-ruby-csv-library-part/
<shevy> it's better than the official documentation :P
scx has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
bhuvanaurora has joined #ruby
sandbags has joined #ruby
kjntos has quit [Read error: Connection reset by peer]
shredding has quit [Quit: shredding]
kjntos has joined #ruby
<diegoviola> ty
cantonic has quit [Quit: cantonic]
pu22l3r has quit []
timonv has joined #ruby
sarkis has joined #ruby
<shevy> I feel like dancing \o/
ghr has quit [Ping timeout: 272 seconds]
znsatchel has joined #ruby
OffTheRails has joined #ruby
sarkis has quit [Ping timeout: 252 seconds]
dontwork has quit [Remote host closed the connection]
gigetoo has quit [Remote host closed the connection]
gigetoo has joined #ruby
diegovio1 has joined #ruby
pu22l3r has joined #ruby
diegoviola has quit [Ping timeout: 252 seconds]
maximski has quit []
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
User458764 is now known as User458764_NotHe
maximski has joined #ruby
zoraj has quit [Remote host closed the connection]
maximski has quit [Max SendQ exceeded]
pu22l3r has quit [Remote host closed the connection]
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
benzrf|offline is now known as benzrf
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
OffTheRails has quit [Ping timeout: 244 seconds]
maximski has joined #ruby
User458764_NotHe has quit [Ping timeout: 240 seconds]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb__ has joined #ruby
senayar has quit [Remote host closed the connection]
<shevy> hmmmm
<shevy> when I do "gem uninstall foobar", and that project had a file, in bin/foobar
<shevy> will the uninstall remove /usr/bin/foobar too? (if it was a global installation)
Zebroid has quit [Remote host closed the connection]
<shevy> I tested it, uninstalled the gem, and /usr/bin/foobar is still existing :(
noop has quit [Ping timeout: 255 seconds]
LadyR has quit [Read error: Connection reset by peer]
lw has quit [Quit: s]
LadyRainicorn has joined #ruby
noop has joined #ruby
lele has quit [Ping timeout: 252 seconds]
znsatchel has quit [Quit: Leaving]
lw has joined #ruby
pu22l3r has joined #ruby
nitr has joined #ruby
lele has joined #ruby
LadyRainicorn has quit [Ping timeout: 252 seconds]
diegovio1 is now known as diegoviola
senayar has joined #ruby
shevy has quit [Quit: ""]
Martxel has joined #ruby
stantona has quit [Remote host closed the connection]
DouweM has quit [Ping timeout: 245 seconds]
aantix has joined #ruby
lele has quit [Ping timeout: 240 seconds]
aantix has quit [Client Quit]
motto has joined #ruby
newUser1234 has joined #ruby
tziOm has quit [Ping timeout: 240 seconds]
lw has quit [Quit: s]
freerobby has joined #ruby
freerobby has quit [Client Quit]
tziOm has joined #ruby
m8 has quit [Ping timeout: 252 seconds]
nitr has quit [Remote host closed the connection]
OffTheRails has joined #ruby
DouweM has joined #ruby
momomomomo has joined #ruby
SCommette has quit [Quit: SCommette]
andrewlio has quit [Remote host closed the connection]
tessi is now known as tessi_zz
nitr has joined #ruby
LadyRainicorn has joined #ruby
Guest55853 has joined #ruby
shredding has joined #ruby
joaoh82 has joined #ruby
ghr has joined #ruby
dreamchaser has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 0.4.3]
buzz07639 has joined #ruby
buzz0763 has quit [Read error: Connection reset by peer]
Guest55853 has quit [Ping timeout: 245 seconds]
dontwork has joined #ruby
Guest55853 has joined #ruby
kaspergrubbe has joined #ruby
<apeiros> man, I spend more time monkey patching sense into javascript than actually working on my "real" code
havenwood has joined #ruby
sputnik13 has joined #ruby
joaoh82 has quit [Ping timeout: 244 seconds]
sarkis has joined #ruby
* apeiros even has a function monkeyPatch :D
ghr has quit [Ping timeout: 264 seconds]
<apeiros> (takes an object with functions and a target objects, adds all the functions to the target object with enumerable: false)
dreamchaser has quit [Ping timeout: 255 seconds]
<banister> apeiros i thought u were a coffeescript girl
<apeiros> nope
<apeiros> this girl doesn't yet enjoy coffee
<havenwood> mmm coffee
Guest55853 is now known as AiseDragon
<AiseDragon> meh
mgberlin has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
dontwork has quit [Ping timeout: 252 seconds]
kaspergrubbe has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
dreamchaser has joined #ruby
sputnik13 has quit [Ping timeout: 255 seconds]
zoraj has joined #ruby
zigomir has quit [Remote host closed the connection]
moritzs has joined #ruby
ponga has quit [Remote host closed the connection]
sandbags has quit []
ponga has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
davidvl has quit [Quit: This computer has gone to sleep]
seanmarcia has joined #ruby
shredding has quit [Quit: shredding]
SCommette has joined #ruby
zigomir has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
etqqkoiflwhb__ has joined #ruby
xcv has joined #ruby
kaspergrubbe has joined #ruby
kireevco has joined #ruby
timonv has quit [Remote host closed the connection]
timonv has joined #ruby
monkegjinni has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 255 seconds]
etqqkoiflwhb__ has quit [Ping timeout: 244 seconds]
kaspergrubbe has joined #ruby
rippa has joined #ruby
timonv has quit [Ping timeout: 245 seconds]
relix has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
cantonic has joined #ruby
kaspergrubbe has quit [Ping timeout: 245 seconds]
Mapley is now known as Mapley[NED]
aspires has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
benzrf is now known as benzrf|offline
kireevco has quit [Quit: Leaving.]
nitr has quit [Remote host closed the connection]
Martxel has quit [Read error: Connection reset by peer]
jamto11 has joined #ruby
kaspergrubbe has joined #ruby
jxf has joined #ruby
SCommette has quit [Quit: SCommette]
AiseDragon is now known as IceDragon
benzrf|offline is now known as benzrf
kaspergrubbe has quit [Client Quit]
diegoviola has quit [Quit: WeeChat 0.4.3]
jamto11 has quit [Ping timeout: 252 seconds]
momomomomo has quit [Quit: momomomomo]
thesheff17 has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
zamerick_ has joined #ruby
davidvl has joined #ruby
andrewlio has joined #ruby
IcyDragon has joined #ruby
zamerick_ has quit [Client Quit]
Zamerick has joined #ruby
IceDragon is now known as Guest7705
Guest7705 has quit [Killed (cameron.freenode.net (Nickname regained by services))]
IcyDragon is now known as IceDragon
IceDragon is now known as Guest23680
Guest23680 is now known as IceDragon
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
lxsameer has joined #ruby
nitr has joined #ruby
robbyoconnor has quit [Excess Flood]
alexju has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
cloudgeek has quit [Quit: Leaving.]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
maximski has quit []
etqqkoiflwhb__ has joined #ruby
aspires has quit []
joaoh82 has joined #ruby
RubyPanther has quit [Ping timeout: 255 seconds]
Channel6 has joined #ruby
cobakobodob has joined #ruby
pu22l3r has quit [Remote host closed the connection]
dontwork has joined #ruby
shvelo has joined #ruby
sarkis has joined #ruby
joaoh82 has quit [Ping timeout: 245 seconds]
pu22l3r has joined #ruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dontwork_ has joined #ruby
diegoviola has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
wallerdev has joined #ruby
robbyoconnor has quit [Excess Flood]
relix has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
Notte has joined #ruby
dontwork has quit [Ping timeout: 264 seconds]
relix has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Ping timeout: 255 seconds]
cobakobodob has quit [Quit: WeeChat 0.4.2]
cobakobodob has joined #ruby
dontwork_ has quit [Ping timeout: 272 seconds]
bradhe has joined #ruby
Hanmac has left #ruby [#ruby]
cobakobodob has quit [Client Quit]
cobakobodob has joined #ruby
IceDragon has quit [Ping timeout: 245 seconds]
IceDragon has joined #ruby
cobakobodob has quit [Client Quit]
RubyPanther has joined #ruby
cobakobodob has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
Channel6 has quit [Quit: Leaving]
cobakobodob has quit [Client Quit]
dreamchaser has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cobakobodob has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
IceDragon has joined #ruby
cobakobodob has quit [Client Quit]
dangerousdave has joined #ruby
aspires has joined #ruby
gondalier has joined #ruby
lw has joined #ruby
xcv has quit [Remote host closed the connection]
aspires has quit [Client Quit]
lw has quit [Client Quit]
Hanmac has joined #ruby
Mooneye has quit [Quit: Leaving]
cobakobodob has joined #ruby
<foobarbaz_> /join #ruboto
<certainty> almost
<foobarbaz_> #awkward
joaoh82 has joined #ruby
AlSquire has joined #ruby
cobakobodob has quit [Client Quit]
gondalier has quit [Ping timeout: 252 seconds]
Royalb15 has joined #ruby
cobakobodob has joined #ruby
samphippen has joined #ruby
samphippen has quit [Client Quit]
xcv has joined #ruby
gondalier has joined #ruby
Mooneye has joined #ruby
jottr has joined #ruby
ponga has quit [Remote host closed the connection]
cashnguns has quit [Ping timeout: 255 seconds]
shevy has joined #ruby
Channel6 has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
skylite has joined #ruby
shvelo has quit [Quit: Leaving]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
DouweM has quit [Read error: Connection reset by peer]
DouweM has joined #ruby
zigomir has quit [Remote host closed the connection]
kireevco has joined #ruby
Mapley[NED] is now known as fjkdsdsjkfgdshg
zigomir has joined #ruby
amargherio has joined #ruby
fjkdsdsjkfgdshg is now known as Mapley[SUI]
xcv has quit [Remote host closed the connection]
xcv has joined #ruby
mehlah has quit [Quit: Leaving...]
zigomir has quit [Ping timeout: 252 seconds]
GriffinHeart has quit [Remote host closed the connection]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
hiyosi has quit [Ping timeout: 244 seconds]
relix_ has joined #ruby
relix has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
maestrojed has joined #ruby
maestrojed has quit [Client Quit]
VinDoKi has joined #ruby
kireevco has quit [Ping timeout: 240 seconds]
shevy has quit [Remote host closed the connection]
mehlah has joined #ruby
kireevco has joined #ruby
skaflem has quit [Quit: This computer has gone to sleep]
skaflem has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
danijoo has joined #ruby
lulzmachine has joined #ruby
maestrojed has joined #ruby
lulzmachine has quit [Client Quit]
Zamerick has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
nitr has quit [Remote host closed the connection]
voodoofish has joined #ruby
mikepack has quit [Ping timeout: 244 seconds]
bradhe has joined #ruby
sarkis has joined #ruby
dontwork has joined #ruby
nitr has joined #ruby
GriffinHeart has joined #ruby
benzrf is now known as benzrf|offline
bradhe has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
dontwork has quit [Ping timeout: 240 seconds]
sarkis has quit [Ping timeout: 264 seconds]
cashnguns has joined #ruby
pu22l3r has joined #ruby
sarkis has joined #ruby
marr has joined #ruby
pu22l3r has quit [Ping timeout: 244 seconds]
Royalb15 has quit [Quit: Leaving]
RubyPanther has quit [Ping timeout: 244 seconds]
gregf has joined #ruby
Mapley[SUI] is now known as Mapley[FRA]
shevy has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
MrDoctor has joined #ruby
monkegjinni has joined #ruby
Zebroid has quit [Remote host closed the connection]
kireevco1 has joined #ruby
kireevco1 has quit [Max SendQ exceeded]
kireevco1 has joined #ruby
dontwork has joined #ruby
kireevco1 has quit [Max SendQ exceeded]
kireevco1 has joined #ruby
boris has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
joaoh82 has quit [Remote host closed the connection]
worawuto has joined #ruby
Mapley[FRA] is now known as Mapley
kireevco has quit [Ping timeout: 264 seconds]
anaeem1 has joined #ruby
nitr has quit [Remote host closed the connection]
kilk_ has joined #ruby
worawuto has left #ruby [#ruby]
monkegjinni has quit [Ping timeout: 240 seconds]
kies has joined #ruby
diegoviola has joined #ruby
shevy has quit [Remote host closed the connection]
mrnugget has joined #ruby
anaeem1 has quit [Ping timeout: 252 seconds]
mehlah has quit [Quit: Leaving...]
shevy has joined #ruby
RubyPanther has joined #ruby
kjntos has quit []
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
cashnguns has quit [Remote host closed the connection]
Zebroid has quit [Remote host closed the connection]
alem0lars has joined #ruby
xcv has quit [Remote host closed the connection]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
jamto11 has joined #ruby
kireevco1 has quit [Read error: Connection reset by peer]
etqqkoiflwhb__ has joined #ruby
SJr has quit [Ping timeout: 252 seconds]
kireevco1 has joined #ruby
kireevco1 has quit [Max SendQ exceeded]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
kireevco1 has joined #ruby
lw has joined #ruby
etqqkoiflwhb__ has quit [Ping timeout: 252 seconds]
jamto11 has quit [Ping timeout: 252 seconds]
SJr has joined #ruby
tmegano has joined #ruby
molgrew has joined #ruby
molgrew has left #ruby [#ruby]
gruz0[russia] has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 240 seconds]
Zebroid has joined #ruby
Avahey_ has joined #ruby
kireevco1 has quit [Quit: Leaving.]
gruz0[russia] has joined #ruby
mr_foobar has joined #ruby
mr_foobar has left #ruby ["WeeChat 0.3.8"]
hiyosi has joined #ruby
zigomir has joined #ruby
gruz1[russia] has joined #ruby
RubyPanther has quit [Ping timeout: 255 seconds]
dilated_dinosaur has joined #ruby
cobakobodob has quit [Quit: WeeChat 0.4.2]
gruz0[russia] has quit [Ping timeout: 264 seconds]
St_Marx has quit [Quit: Ex-Chat]
Bosox20051 has joined #ruby
hiyosi has quit [Ping timeout: 272 seconds]
jottr_ has joined #ruby
joaoh82 has joined #ruby
Hobogrammer has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
jottr has quit [Ping timeout: 272 seconds]
cantonic has quit [Read error: Connection reset by peer]
joaoh82 has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
cantonic has joined #ruby
hello_nate has joined #ruby
<hello_nate> hello
<hello_nate> in a curl like that, what does the -u -d represent?
<hello_nate> can't find any documentation if someone would be nice enough to point me to it
<apeiros> hello_nate: this is #ruby, not #bash or #curl. `man curl` will tell you more.
GriffinHeart has quit [Remote host closed the connection]
maximski has joined #ruby
RubyPanther has joined #ruby
bradhe has joined #ruby
MrDoctor has quit [Ping timeout: 240 seconds]
joaoh82 has quit [Ping timeout: 244 seconds]
MrDoctor has joined #ruby
newUser1234 has quit [Remote host closed the connection]
armyriad has quit [Read error: Connection reset by peer]
klaut has joined #ruby
havenwood has quit [Remote host closed the connection]
papercode has joined #ruby
klaut has quit [Remote host closed the connection]
<shevy> this
<shevy> is
<shevy> #sparta
<shevy> !!!
maximski has quit [Ping timeout: 255 seconds]
bradhe has quit [Ping timeout: 240 seconds]
armyriad has joined #ruby
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
armyriad has quit [Max SendQ exceeded]
armyriad has joined #ruby
<apeiros> Hanmac: that's a problem which will solve itself! :)
gruz1[russia] has quit [Quit: This computer has gone to sleep]
<apeiros> wtfdude?
combusean has joined #ruby
zly has joined #ruby
<apeiros> also next time label such stuff as NSFW
noop has quit [Ping timeout: 252 seconds]
MrDoctor has quit [Ping timeout: 244 seconds]
<Hanmac> at the source it was label'd as "Assplosion!" ;P
samphippen has joined #ruby
Valesk has joined #ruby
klaut has joined #ruby
gruz1[russia] has joined #ruby
havenwood has joined #ruby
SJr has quit [Read error: Connection reset by peer]
MatthewsFace has joined #ruby
SJr has joined #ruby
SJr has quit [Read error: Connection reset by peer]
mr_snowf1ake has joined #ruby
shredding has joined #ruby
binaryhat has joined #ruby
<AlexRussia> shevy: i need in your help!
cobakobodob has joined #ruby
<AlexRussia> and other too
SJr has joined #ruby
cobakobodob has quit [Client Quit]
VinDoKi has quit [Remote host closed the connection]
bhuvanaurora has quit [Quit: Leaving]
<AlexRussia> what mean this string?
cobakobodob has joined #ruby
magicien has joined #ruby
magicien has joined #ruby
magicien has quit [Changing host]
<akerl> gsub?
<AlexRussia> every string
<AlexRussia> File::SEPARATOR, File::ALT_SEPARATOR
<AlexRussia> what mean is?
Mapley is now known as IAmA_sexyfox_AMA
<akerl> Those are variables
<jhass> >> File::SEPARATOR
<eval-in> jhass => "/" (https://eval.in/163164)
cobakobodob has quit [Client Quit]
combusean has quit [Read error: Connection reset by peer]
<jhass> constants rather
<havenwood> AlexRussia: Constants that are preset by default.
<havenwood> >> [File::SEPARATOR, File::ALT_SEPARATOR]
<eval-in> havenwood => ["/", nil] (https://eval.in/163165)
<AlexRussia> ah, i understand
<AlexRussia> >> File::ALT_SEPARATOR
<eval-in> AlexRussia => nil (https://eval.in/163166)
<AlexRussia> em, ok
<AlexRussia> jhass: File::ALT_SEPARATOR is for windows?
<jhass> I guess
<jhass> I don't use windows
<apeiros> yes
cobakobodob has joined #ruby
<apeiros> on windows, ALT_SEPARATOR is afaik set to "\\"
<apeiros> things like File.join still use SEPARATOR, though
fantazo has quit [Ping timeout: 260 seconds]
cobakobodob has quit [Client Quit]
cashnguns has joined #ruby
<AlexRussia> jhass: how to translate path /home/alx/somestuff to ~/somestuff?
kies has quit [Ping timeout: 272 seconds]
binaryhat has quit [Quit: Leaving]
<jhass> .sub(ENV['HOME'], '~') ?
<AlexRussia> ok
tessi_zz is now known as tessi
combusean has joined #ruby
IAmA_sexyfox_AMA is now known as Mapley
<apeiros> my take: .sub(/\A#{Regexp.escape(ENV['HOME'])\//, '~')
<apeiros> oh, actually -\/
xcv has joined #ruby
<AlexRussia> apeiros: where -\/ ?
<apeiros> in the regex
gimpygoo has joined #ruby
<apeiros> .sub(/\A#{Regexp.escape(ENV['HOME'])/, '~') # with \/ removed
tus has joined #ruby
<apeiros> -\/ <-- "minus \/"
<apeiros> or "without \/"
cobakobodob has joined #ruby
<AlexRussia> apeiros: anyway dont work
newUser1234 has joined #ruby
shevy has quit [Quit: ""]
<apeiros> I really want a bot which punches peoples face for saying "doesn't work"
<AlexRussia> :(
isthisreallife has quit [Read error: Connection reset by peer]
<jhass> apeiros: send a PR to helpa?
cobakobodob has quit [Client Quit]
cobakobodob has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
cobakobodob has quit [Client Quit]
mr_snowf1ake has quit [Quit: Leaving]
kireevco has joined #ruby
<apeiros> just asked radar this over in #ror:
<apeiros> » Radar: ping. can we please add a listener to helpa, checking for /(?:doesn't|does not|don't|dont) work|not working/, responding with: '( `Д´)=◯)`ν°) <nick> - "does not work is not a usable problem description"'
gruz1[russia] has quit [Quit: Leaving]
jottr_ has quit [Quit: WeeChat 0.4.3]
diegoviola has quit [Remote host closed the connection]
<AlexRussia> someone know, what branch ruby lastest on github?
<jhass> trunk I guess?
mr_foobar has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
shvelo has joined #ruby
cobakobodob has joined #ruby
jameswlane has joined #ruby
<mr_foobar> Hi, can someone help me get aruba to work? When I use a step like 'Then the output should contain...' it always says 'expected "" to include "Desired output"'... why isn't it reading from STDOUT correctly?
<mr_foobar> the output definitely exists
combusean has quit [Quit: Leaving.]
kireevco has quit [Ping timeout: 240 seconds]
<AlexRussia> 'or' and 'and' is eqi '||' and '&&'?
<akerl> No
<AlexRussia> hm
<akerl> They have different precedence
cobakobodob has quit [Client Quit]
<AlexRussia> apeiros: you mean word version and symbolic version?
hiyosi has joined #ruby
<apeiros> yes, akerl means word vs. symbols
<akerl> Um... no I don't?
<apeiros> also they have different relative precedence
<akerl> I mean that when evaluating, ruby gives different precedence in order of operations
<apeiros> `or` and `||` have a different precedence
<AlexRussia> ik know
<AlexRussia> i know
cobakobodob has joined #ruby
<apeiros> also, `||` and `&&` have different precedence, but `or` and `and` have the same precedence
aspires has joined #ruby
<apeiros> AlexRussia: if you know, then you know they're not equivalent
<AlexRussia> apeiros: i about '`or` and `||` have a different precedence'
cobakobodob has quit [Client Quit]
<akerl> So what is your question?
tus has left #ruby [#ruby]
cobakobodob has joined #ruby
zoraj has quit []
<AlexRussia> akerl: my?
<akerl> Yes
<AlexRussia> akerl: i tell before
hiyosi has quit [Ping timeout: 272 seconds]
<akerl> We answered the question you asked, and you said "I know"
davidvl has quit [Quit: This computer has gone to sleep]
dontwork has quit []
<AlexRussia> akerl: no, i said it to `or` and `||` have a different precedence
bradhe has joined #ruby
<akerl> So what is your question?
<AlexRussia> akerl: i give reply.
lw has quit [Quit: s]
<apeiros> pointless
* apeiros admires akerl's endurance
<akerl> Heh
<AlexRussia> okay,i have question: what code style using in Ruby source code?
<AlexRussia> :D
* apeiros ponders answering by posting his rubocop config
gondalier has quit []
joaoh82 has joined #ruby
motto has quit [Quit: Sto andando via]
motto has joined #ruby
<AlexRussia> ah, i know
bradhe has quit [Ping timeout: 264 seconds]
<AlexRussia> ruby support ternary operator?
<jhass> yes it does, but that isn't ternary
<AlexRussia> (true or false)?(if true):(if false)
<AlexRussia> em....
<AlexRussia> jhass: what you mean?
<akerl> The line you linked is not a ternary operation
<AlexRussia> may be
<AlexRussia> akerl: ah
<AlexRussia> akerl: i modify argument #include? to ternary
<akerl> ...
<AlexRussia> akerl: i need in it for fix small bug ;)
motto has quit [Read error: Connection reset by peer]
<akerl> How long does this have to keep going before we declare the turing test complete?
cashnguns has quit [Ping timeout: 244 seconds]
<AlexRussia> akerl: a big time?
joaoh82 has quit [Ping timeout: 252 seconds]
pikapp has joined #ruby
m8 has joined #ruby
aantix has joined #ruby
hgl has joined #ruby
MatthewsFace has joined #ruby
kies has joined #ruby
<AlexRussia> .include? can be called with array?
<akerl> AlexRussia: have you considered the docs? or the koans?
<AlexRussia> akerl: i use ri ;)
anaeem1 has joined #ruby
d5sx43 has joined #ruby
<apeiros> AlexRussia: then use it. it's documented.
hgl has quit [Ping timeout: 264 seconds]
MatthewsFace has quit [Client Quit]
<AlexRussia> hm, that bad
<AlexRussia> or not bad
kyb3r_ has joined #ruby
<certainty> also you can just try it in the REPL
chishiki has joined #ruby
kies has quit [Ping timeout: 244 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
pu22l3r has joined #ruby
chishiki has quit [Client Quit]
<AlexRussia> certainty: REPL?
pvb has quit [Ping timeout: 255 seconds]
blackthor has joined #ruby
kies has joined #ruby
<DouweM> read/eval/print/loop. irb is a Ruby repl
<akerl> AlexRussia: 609 is a number, not a string
<AlexRussia> akerl: is a number of string
pu22l3r has quit [Ping timeout: 252 seconds]
<DouweM> I think he means to refer to that line
<AlexRussia> DouweM: yes :D
<akerl> AlexRussia: You're gonna want to read the docs
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<AlexRussia> DouweM: just in russian more using string to defend that :(
dllama has joined #ruby
<AlexRussia> akerl: why?
kireevco has quit [Ping timeout: 255 seconds]
<akerl> Because we aren't here to spoonfeed you?
xcv_ has joined #ruby
<DouweM> AlexRussia: wth are you trying to do with line 609?
buzz07639 has left #ruby [#ruby]
<AlexRussia> DouweM: i've just tell you check my changes....you can get diff or something....
jtiggo has joined #ruby
<AlexRussia> file*
<akerl> Why are you trying to change that?
gondalier has joined #ruby
<DouweM> AlexRussia: right, I see your chance. what are you trying to accomplish?
<AlexRussia> akerl: that just annoying me.
<akerl> What?
<apeiros> AlexRussia: did you try to run it?
<apeiros> because I'm quite certain that `split!` will simply raise.
<DouweM> AlexRussia: you're gonna need to be more specific
<DouweM> yeah as apeiros said, string doesn't have #split!
<AlexRussia> akerl: gem didn't seen bin dir in path is that written with '~/'
<akerl> AlexRussia: So fix your config
<akerl> You haven't changed any code functionality
<akerl> At least not in any way that matters
<seitensei> Is YARV still in Ruby after 1.9?
<AlexRussia> akerl: but that bug software
<akerl> ? What bug?
<AlexRussia> akerl: i dont want change my PATH
monkegjinni has joined #ruby
shredding has quit [Quit: shredding]
<AlexRussia> DouweM: em....
<DouweM> AlexRussia: What bug? And how is your change supposed to fix it?
gondalier has quit [Client Quit]
<akerl> Then just suffer through the warning? running custom rubygems to avoid a warning because you don't want to properly configure the software seems like a bad idea
frogssgy has joined #ruby
<DouweM> +1
xcv has quit [Ping timeout: 264 seconds]
<akerl> It's not a bug, it's performing a sanity check and finding your system's sanity to be lacking
<dllama> Hey guys. I'm really stuck with using savon as a soap client and am really hoping someone can point me in the right direction. for reasons that I've yet to understand, not all the params i'm executing actually get passed to the endpoint, only teh last value of my nested fields. https://gist.github.com/mvoloz/a427a048b58c6366e949
<AlexRussia> akerl: so lol
<AlexRussia> akerl: anyway i can send PR and maintainers can close that :D
<akerl> What
<DouweM> AlexRussia: +1 on akerl, but I'm still curious why you made theh change you made
fantazo has joined #ruby
<akerl> The change you made is effectively a noop
<AlexRussia> theh?
kies has quit [Ping timeout: 240 seconds]
<DouweM> and a raising one because there's no such thing as String#split!
<DouweM> AlexRussia: typo
<apeiros> akerl: I wouldn't call an exception a no-op :)
<DouweM> heh, as far as ops go that's a pretty yes one :P
<akerl> Ah, true
xcv_ has quit [Ping timeout: 240 seconds]
monkegjinni has quit [Ping timeout: 240 seconds]
frosgy has quit [Ping timeout: 240 seconds]
<akerl> AlexRussia: Yes, that's what rubygems does without your "patch"
<DouweM> so, get it in your path
<AlexRussia> akerl: yes
benlieb has joined #ruby
<akerl> So fix your path, or just ignore the warning? your change won't fix the problem, because it'll just crash gem
<jhass> dllama: yes, the later hash key simply overwrites the former
<AlexRussia> DouweM: stop, what you mean about split?
<jhass> >> {a: 'foo', a: 'bar'}
<eval-in> jhass => {:a=>"bar"} (https://eval.in/163170)
<DouweM> AlexRussia: there is no split! method on String. I have no idea what you're trying to do
<kith> is there an alternative to rubymotion?
<DouweM> kith: alternative as in? what's your goal?
<AlexRussia> DouweM: that using in original code, i just use that https://github.com/ruby/ruby/blob/trunk/lib/rubygems/installer.rb#L609
<dllama> jhass, what can i do to circumvent that?
<kith> native apps for osx in ruby
<AlexRussia> DouweM: i change #spit!
<DouweM> AlexRussia: original uses split, you use split!
<AlexRussia> split!*
LadyRainicorn has quit [Quit: zzz]
decoponio has quit [Quit: Leaving...]
<akerl> AlexRussia: what
<AlexRussia> DouweM: I KNOW
<akerl> So why are you using it?
<AlexRussia> akerl: because original use it
<akerl> ?
<akerl> No it does not
<DouweM> kith: all right. no there's no alternative, and why would you want one?
<akerl> It uses .split
<AlexRussia> akerl: it does
<akerl> You use .split!
<AlexRussia> akerl: no
<DouweM> AlexRussia: jesus man, learn to read. split is not the same thing split!
<AlexRussia> akerl: already no
<kith> DouweM: because i'm hesitant to pay up for rubymotion
<akerl> AlexRussia: I am looking at the code
<AlexRussia> akerl: you look to old code
<AlexRussia> :D
<DouweM> kith: heh, no there's no alternative. just pay :P
<kith> dang :D
<DouweM> AlexRussia: ...
shredding has joined #ruby
<DouweM> kith: why not learn Swift? It's Ruby-ish and a lot more comfortable to write than ObjC
<mr_foobar> anyone here using the aruba gem?
<DouweM> kith: and doesn't require a license like RM
<kith> its rubyish? must've missed it then...
<kith> i thought it was more C-ish
<foobarbaz_> Anyone used Ruboto?
cashnguns has joined #ruby
<foobarbaz_> For Ruby android dev
<DouweM> kith: as in comfort of use, Ruby-ish
<apeiros> on one hand, I appreciate the idea of fixing a bug in OSS and making a PR - on the other hand, I've got a feeling this will not end well
<akerl> AlexRussia: You are trying to "solve" something that is not a problem
<kith> is it even released yet?
<DouweM> kith: definitely higher level than C
<DouweM> kith: released as in you can write in it now
<AlexRussia> akerl: XD
<kith> hmm ok
<DouweM> kith: but it's not ready for production
<apeiros> (and then there's of course the question whether it actually is a bug…)
<DouweM> kith: but it's a really nice language
<akerl> apeiros: I've not yet seen any indication that it is, but I may have looked away for a bit of the wall
<kith> DouweM: to be honest i consider myself somewhat of a ruby novice and didnt want to start yet another language since i havent fully mastered ruby :/
<apeiros> akerl: I didn't really bother trying to figure
<apeiros> akerl: so you're very probably right :)
<DouweM> kith: the hardest part of a new language is the standard library, which you'll need to learn anyway, whether you use RubyMotion, Objective-C or Swift
<kith> hmm
<kith> if you put it that way... :D
<jhass> dllama: not sure, you have to dig into how savon converts the argument to xml
<DouweM> kith: just go with swift, using a first party language is much easier to get support with etc
<DouweM> kith: help online, all that jazz
xcv has joined #ruby
<kith> will think about it
<DouweM> AlexRussia: line 609 is now a no-op. or rather, it's an op but you're throwing away the result
<AlexRussia> DouweM: what you mean?
<DouweM> AlexRussia: my mistake, didn't see the assignment
kies has joined #ruby
aantix has quit [Quit: aantix]
<akerl> You've just moved the same split 2 lines up
<AlexRussia> ok
<akerl> So it's a no-op compared to the old version
<DouweM> akerl: the difference is that he's assigning to path, so the check on 612 now uses the array as well
<DouweM> akerl: which is a definite difference, and what fixes the bug
<akerl> DouweM: No, because the check on 612 used to be on 609 and include the split right inside it
<DouweM> I'm surprised to agree with AlexRussia that there was indeed a bug that this does indeed fix
jamto11 has joined #ruby
<DouweM> akerl: I mean the second include check, with the subbed user bin dir
<DouweM> akerl: that used to use the string, now uses the array
<DouweM> akerl: still not sure how that fixes anything, but it's a definite change
Boohbah has quit [Ping timeout: 264 seconds]
<AlexRussia> but maybe someone now tell me how to check it now?
<DouweM> oh damn
<DouweM> I was reading yet an older diff
<AlexRussia> i mean, how to run tests or something
<DouweM> I have no idea what's up anymore
<akerl> DouweM: Heh
<DouweM> akerl: disregard anything I said :P
Boohbah has joined #ruby
<akerl> :>
<akerl> AlexRussia: by closing your editor and going back to whatever you were doing before
<akerl> like installing gems
<AlexRussia> akerl: :D
timonv has quit [Remote host closed the connection]
<DouweM> akerl: no no, check the changed code, I think there's indeed a bug there and that AlexRussia has fixed it
<DouweM> He was just very bad at conveying to us what was up
timonv has joined #ruby
<AlexRussia> :wq && cit commit && git push origin trunk ....
* akerl doubts
<DouweM> akerl: the sub on line 612 is new
<akerl> DouweM: No, it's old
<DouweM> akerl: replacing the written out home path by ~, so it'll check the right thing in the user's path
<akerl> DouweM: He's not replacing anything, he's just ensuring the check never runs at all on windows
<AlexRussia> DouweM: 612 is fix, i check system to 'not windows', because i never listen about using '~/' in windows, and check include PATH to something like ~/.gem/2.1.0/bin
hiyosi has joined #ruby
<DouweM> is that so? is the code on ruby/ruby old then?
<DouweM> why doesn't the ruby/rubt code have the sub?
<DouweM> akerl: apparently I'm still looking at old code
<akerl> DouweM: line 612 skips the rest of the check unless you're on a non-windows system
<akerl> Correct
<DouweM> did AlexRussia add the sub? because the sub makes sense
jamto11 has quit [Ping timeout: 264 seconds]
hiyosi has quit [Client Quit]
<akerl> Not really
<AlexRussia> DouweM: but you dont know how to check my code....not visually, if you understand ;)
<DouweM> I'm getting more confused by the minute
<AlexRussia> DouweM: meah
<akerl> The include? thing.sub check checks "Does the path include the userbindir assuming we replace my homedir with the "~" char
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM> right
<DouweM> which makes sense right? because HOME and ~ are equiv, we should check both
<akerl> Except that doesn't
<DouweM> disregarding the windows check for the moment
timonv has quit [Ping timeout: 244 seconds]
<DouweM> the sub isn't in the actual rubygems right? it's not in the linked installer.rb
<DouweM> what do you mean "Excep that doesn't"? I feel like I'm missing something
<AlexRussia> DouweM: i afraid, sub is part of Ruby library
<AlexRussia> DouweM: because String is part, right?
<AlexRussia> DouweM: i mean standard library
<DouweM> AlexRussia: I know. I know what it does. Did you add that sub in that place or was it already there? Because I don't see it in the code on GitHub
<AlexRussia> DouweM: that add me
<AlexRussia> DouweM: i can sent you diff
<akerl> I think what he means to do is "unless path.include? user_bin_dir or path.include? File.expand_path(user_bin_dir)"
<akerl> on 609 straight
<AlexRussia> DouweM: my git already
<AlexRussia> DouweM: if you tell me how to....
<akerl> s/or/||/
braincra- has joined #ruby
<DouweM> akerl: we want to expand what's in PATH, really, not user_bin_dir
<akerl> DouweM: Works either way :P
<DouweM> akerl: if user_bin_dir is /home/whatevs, PATH could contain either /home/whatevs/yolo/bin and ~/yolo/bin
<DouweM> akerl: without the replace ~/yolo/bin wouldn't match and we'd get the warning
<AlexRussia> DouweM: sure
<akerl> I'd say that putting relative magics in path is a weird choice
<akerl> But if that's the goal, his way is bass ackwards
<DouweM> akerl: allowed though right? apparently AlexRussia has that
<akerl> and the windows check is bad
skaflem has quit [Quit: Leaving]
<DouweM> akerl: how would you go about it?
<DouweM> akerl: agree on the windows check
<DouweM> but you acknowledge the bug?
<AlexRussia> DouweM: here the complete patch https://gist.github.com/7d5a2ed73f659a60f39f
<akerl> I guess? I don't think it's really a bug he's hitting given that he doesn't seem to have it in his path at all
<AlexRussia> DouweM: 'git diff -p'
<akerl> DouweM: Were I writing it, I'd probably map
braincrash has quit [Ping timeout: 240 seconds]
<RubyPanther> Yeah, if you do somehting like PATH=$PATH:~/foo then bash expands that before it gets added, the ~ isn't going to be in $PATH
eguim has quit [Ping timeout: 244 seconds]
<DouweM> RubyPanther: is that so? I had no idea
<akerl> ^
<RubyPanther> stuffing it in there is perverse
<AlexRussia> RubyPanther: Hello
<akerl> I doubt rubygems is the only thing that behaves poorly in this scenario
<DouweM> RubyPanther: I'm not saying it's a good idea, but I can see what AlexRussia is trying to fix
bradhe has joined #ruby
<RubyPanther> it is wrong, but in a way that creates land mines by looking too much like normal ground
<RubyPanther> a wide open WTF in the ground, you just step around it
<AlexRussia> RubyPanther: i just try make gem really intelligence software....
eguim has joined #ruby
<RubyPanther> AlexRussia: clever is not better than conventional
<DouweM> AlexRussia: fix your PATH and you should be all right
<akerl> No, you're trying to avoid seeing a warning for having a poorly set path
<AlexRussia> RubyPanther: that (btw me) should work in any correct environment
<RubyPanther> Only add intelligence to your code where it is strictly beneficial for clear and known reasons and does not create land mines
<Mon_Ouie> To make gem intelligent, just make it pretend to be a 13 yo :p
<akerl> AlexRussia: If your env was correct and rubygems wasn't working, we would be having a different discussion
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<AlexRussia> DouweM: that yes, but i more love seen ~/ vs full path, that more portable
<DouweM> Mon_Ouie: haha
byonic has quit [Quit: Connection closed for inactivity]
<akerl> DouweM: As a very rough oneliner sketch: unless path.split(File::PATH_SEPARATOR).find { |dir| [dir, File.expand_path(dir)].include? user_bin_dir }
<akerl> AlexRussia: No it's not
<DouweM> akerl: yeah I would've gone with that approach as well
<akerl> Set your PATH with $HOME or ~ that expands at time-of-setting
<AlexRussia> akerl: ~/ more portable vs /home/user/
<akerl> Read the above?
<DouweM> AlexRussia: you're not sharing your PATH anyway, who cares
<RubyPanther> ~ is portable because you know where you expand it, and expand it in the right place.
<akerl> You use ~/ or $HOME when you set it, let it expand at runtime rather than sitting as a relative magic in the env variable
Nameo0 has joined #ruby
<RubyPanther> not knowing where it is expanded so stuffing it in everywhere, that doesn't do anything for portability
<AlexRussia> DouweM: dammit, i mean, any user can setup environmant like he love and gem don't need tell 'you idiot, my authors dont like that'
<akerl> AlexRussia: It's not even an error
<DouweM> if adding to PATH automatically expands, how did you end up with ~ in there?
<akerl> DouweM: '~/.bin:/bin:/sbin' won't expand
<RubyPanther> The user who fiddles $PATH will generally expect you to just use the PATH normally and not to try to play clever tricks. You're not helping that person by being clever.
<DouweM> akerl: ah
<AlexRussia> may be you just say me how to test changes and i leave? A?
<akerl> AlexRussia: Ok, you're welcome to just leave
<DouweM> akerl: hehe
bradhe has quit [Ping timeout: 272 seconds]
<RubyPanther> Other software isn't clever, and use and abuse of $PATH assumes the software will just be properly stupid and not worry about what you stick in there, just check those directories
<akerl> If you'd like to test the changes, install your custom gem and try it out
<AlexRussia> haahhahahahahhahahhahahahahahahahhahaahahhahahahahahahahaahahahhaahahhahahahahahahaahhahahahahahahaahhahahahahahahahahaahahahahahahahhahaahhahahahaha
<Mon_Ouie> Plus having a literal "~" in my path doesn't work in my shell here (it won't expand it later, that is)
<RubyPanther> The idea that some cleverness would somehow _help_ the people who fiddle their paths, that is just nuts.
<AlexRussia> Mon_Ouie: what shell you use?
<AlexRussia> Mon_Ouie: i zsh
<Mon_Ouie> zsh
<AlexRussia> me*
<AlexRussia> Mon_Ouie: hm
<AlexRussia> Mon_Ouie: for me work nice
<akerl> Clearly
<AlexRussia> Mon_Ouie: did you restart your zsh?
<apeiros> zsh is the sound a tire makes when losing pressure
<apeiros> s/pressure/air/
<Mon_Ouie> I just did export PATH="~/some_dir"
<AlexRussia> Mon_Ouie: yeah
dilated_dinosaur has quit [Ping timeout: 240 seconds]
<AlexRussia> how silent....
zorak has joined #ruby
mikepack has joined #ruby
<RubyPanther> export FOO=~ ; export BAR='~'; ruby -e 'puts ENV["FOO"]' ; ruby -e 'puts ENV["BAR"]' ; ls -d $FOO $BAR # this should explain it all
braincrash has joined #ruby
xcv has quit [Remote host closed the connection]
braincra- has quit [Ping timeout: 240 seconds]
<RubyPanther> ls: cannot access ~: No such file or directory
marr has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
combusean has joined #ruby
mijicd has joined #ruby
tmegano has quit [Remote host closed the connection]
diegoviola has joined #ruby
xcv has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
xcv has quit [Client Quit]
<AlexRussia> RubyPanther: lol
cobakobodob has quit [Quit: WeeChat 0.4.3]
cobakobodob has joined #ruby
<AlexRussia> may be that because shell understand ~ while it not in ''
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
timonv has quit [Remote host closed the connection]
sski has joined #ruby
senayar has quit [Remote host closed the connection]
Notte has quit []
timonv has joined #ruby
Squarepy has quit [Remote host closed the connection]
aantix has joined #ruby
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
shvelo has quit [Quit: Leaving]
Squarepy has quit [Client Quit]
<Mon_Ouie> If you don't put it in quote there is no '~' in the variable, it's already been expanded to the user's home directory
mr_foobar has left #ruby ["WeeChat 0.3.8"]
<RubyPanther> exactly, ~ is not a general meta-character, it is only a metacharacter to the shell, and the shell expands it when it is set, and all that is set is a regular dumb string
timonv has quit [Ping timeout: 255 seconds]
kireevco has joined #ruby
Squarepy has joined #ruby
<RubyPanther> trying to add extra logic that expands crap in those strings is a security hole. Not a theoretical, a known one, because where things do and don't expand is part of the security strategies being used. You could accidentally expose the user of your gem to attack from by their users
aantix has quit [Quit: aantix]
<RubyPanther> The dark heart of the BOFH is forged battling these demons
freerobby has joined #ruby
zigomir has quit [Remote host closed the connection]
zigomir has joined #ruby
mr_snowf1ake has joined #ruby
mr_snowf1ake has quit [Client Quit]
Takle has quit [Remote host closed the connection]
cobakobodob has quit [Quit: WeeChat 0.4.3]
kireevco has quit [Ping timeout: 245 seconds]
cobakobodob has joined #ruby
cobakobodob has quit [Client Quit]
cobakobodob has joined #ruby
zigomir has quit [Ping timeout: 255 seconds]
Atrumx has joined #ruby
alem0lars has quit [Quit: alem0lars]
lezzit has joined #ruby
<lezzit> does anyone here work at twitter?
<blackthor> why, did u lose your account info? :P
<lezzit> na
<lezzit> i want one bot removed
<akerl> So report it to twitter?
St_Marx has joined #ruby
<lezzit> i have been mailing for a week
<lezzit> no response
spider-mario has quit [Remote host closed the connection]
<lezzit> i think millions would be providing customer service for twitter in future and facebook
<lezzit> so much bad stuff
<akerl> hah
<lezzit> only human filters can solve it i guess
anaeem1 has quit [Remote host closed the connection]
donnoc has joined #ruby
chrishough has joined #ruby
<RubyPanther> human filters will ban more stuff, if that results in "solving" a particular problem depends on a lot of assumptions, and the problem
jackneill has quit [Ping timeout: 240 seconds]
donnoc has quit [Client Quit]
<lezzit> RubyPanther: mostly it is about religion
<akerl> A religionbot?
<akerl> this seems pretty benign
<lezzit> it is better if no freedom of speech againt anti-religion stuff
<lezzit> because it solves nothing
<RubyPanther> LOLOL
<akerl> what
<RubyPanther> now we know why they ignore your mails
<lezzit> relgion is here to stay till dinosaurs come back
<lezzit> ;)
<lezzit> no man
<akerl> lezzit: What's the bot?
Shidash has joined #ruby
<lezzit> RubyPanther: god is probability to me
<RubyPanther> lezzit: Nobody cares
stantona has joined #ruby
<lezzit> that's all to it
<lezzit> i am not a believer or stuff
<lezzit> it is just that present environemtn is not ready for such posts
<apeiros> lezzit: block the bot, enjoy life again
<akerl> lezzit: So now we know why twitter is ignoring you
<lezzit> akerl: i hope you would understand someday.
<apeiros> lezzit: also, wrong channel for this
<lezzit> yeah sorry
<lezzit> can i ask one more before leaving
<apeiros> if it's ruby related, sure
<lezzit> are bots allowed on twitter?
<lezzit> sorry again
<Edelwin> of course
<lezzit> ok
<lezzit> thanks
CorpusCallosum has joined #ruby
<lezzit> guys
<lezzit> bye
<Edelwin> (and girls)
CorpusCallosum has quit [Max SendQ exceeded]
<RubyPanther> My direct ancestor killed Charles II of England in order to free the individual to talk to their deity directly, to receive inspiration directly. Incidentally, they also created the modern English parliamentary system at the same time. I'm not a deist, but I'd fight for their rights to come up with their own answers, and to bloviate about them.
<lezzit> oh, i'm sowie, Edelwin :)
<akerl> ...
<RubyPanther> How is a bot any different than a Buddhist prayer wheel spinning in the wind?
<apeiros> RubyPanther: I guess everybody has a right to believe in whatever fairy tale he/she wishes to
lezzit has left #ruby [#ruby]
<akerl> RubyPanther: Aren't we all bots on the inside?
<OffTheRails> mind = blown
<apeiros> akerl: actually more like a bazillion bots
<RubyPanther> is a bot a system, or a phenomenon that arises from a system?
<apeiros> uh-oh, we pressed philosopher-RubyPanther-button
<RubyPanther> luckily I have to fix a bicycle, so you're saved
<apeiros> *phew*
blackthor has quit [Ping timeout: 245 seconds]
<OffTheRails> the bigger question is, why does the bicycle need fixing?
<RubyPanther> OffTheRails: The bicycle doesn't need any fixing. I need it to be fixed, so that my wife will be happy about it.
cantonic has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
<OffTheRails> ahh, a sacrifice for the Gods
cantonic has joined #ruby
<RubyPanther> lol yeah, worship for my Deity :P~
Xeago has joined #ruby
marr has joined #ruby
bradhe has quit [Ping timeout: 244 seconds]
kirun has quit [Quit: Client exiting]
mgomezch has quit [Ping timeout: 276 seconds]
Xeago has quit [Ping timeout: 252 seconds]
<foobarbaz_> Is there any common apps people make in ruby/rails that i could do?
<foobarbaz_> Bit stuck for ideas on how to learn ruby
<apeiros> blawg!
Squarepy has quit [Ping timeout: 240 seconds]
aantix has joined #ruby
pu22l3r has joined #ruby
shevy has joined #ruby
samphippen has left #ruby ["Textual IRC Client: www.textualapp.com"]
sarkis has quit [Ping timeout: 252 seconds]
Zebroid has quit [Remote host closed the connection]
<jhass> I think the hello world one is todo?
jtiggo has quit [Remote host closed the connection]
dvabr has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
Mooneye has quit [Quit: Leaving]
dvabr has joined #ruby
dvabr has quit [Client Quit]
NukePuppy has joined #ruby
joaoh82 has joined #ruby
shevy has quit [Remote host closed the connection]
Takle has joined #ruby
shevy has joined #ruby
<foobarbaz_> Blog's slightly more involved than todo list, will give that a go :)
<foobarbaz_> Hm; CoffeeScript makes a lot more sense having looked at ruby...
<shevy> :\
<foobarbaz_> Is that coincidence? Or is coffeescript based on ruby in someway
<shevy> perhaps some of the authors might have used ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<DouweM> influenced by I'm pretty sure
<shevy> but I think they just wanted to make javascript visually more appealing
<DouweM> also that
<shevy> perhaps DouweM is a co-author!
Zebroid has quit [Ping timeout: 272 seconds]
<DouweM> well there's really just two guys on the internet, you and everyone else, so in fact I'm co-author of everything
havenwood has quit [Remote host closed the connection]
<foobarbaz_> eraw, is that you?
<DouweM> of course, I am everyone, including eraw
joaoh82 has quit [Ping timeout: 252 seconds]
aantix has quit [Quit: aantix]
<shevy> are you also female
<akerl> :|
donnoc has joined #ruby
postmodern has joined #ruby
<apeiros> foobarbaz_: the authors were rubyists
<apeiros> and the first implementation was in ruby
<apeiros> I think it's by now bootstrapped
<foobarbaz_> ohh, cool
<foobarbaz_> I just wondered because when i first looked at it, i couldn't make sense of it
parduse has quit [Killed (holmes.freenode.net (Nickname regained by services))]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
<foobarbaz_> But now a lot of it makes sense, having seen ruby sugar and such
mengu has quit []
vifino has quit [Quit: Ze Cat now leaves...]
freerobby has quit [Quit: Leaving.]
markl3ster has joined #ruby
mostlybadfly has joined #ruby
<shevy> now you know how desperate ruby people are foobarbaz_
<shevy> they see how beautiful ruby can be
<shevy> then they have to write javascript all day long
grieg has quit [Ping timeout: 255 seconds]
<shevy> or even worse
<shevy> java
<shevy> foobarbaz_, now you did it
<shevy> you depressed me :(
Mooneye has joined #ruby
<foobarbaz_> <3
m8 has quit [Quit: Sto andando via]
<foobarbaz_> Everyone should just write in Scala anyway
<foobarbaz_> Problem solved! :)
<shevy> but that requires java
dseitz has joined #ruby
havenwood has joined #ruby
lxsameer has quit [Quit: Leaving]
kireevco has joined #ruby
<foobarbaz_> shevy: does it?
<shevy> not sure
<foobarbaz_> A JVM maybe?
<foobarbaz_> Scala != Java
<shevy> is there a JVM without java?
<foobarbaz_> You ask an interesting question.
<shevy> you are funny
<shevy> almost as funny as certainty
mgberlin has quit [Remote host closed the connection]
<foobarbaz_> Marry me.
<shevy> we already argue so why marry
<foobarbaz_> True, true.
<shevy> that reminds me ...
<foobarbaz_> a JVM takes bytecode and runs it, it's Java agnostic
<shevy> can one of you confirm that "gem uninstall" will not remove bin/* entries of the respective gem, if installed globally (ruby prefix to /usr dir)
<shevy> foobarbaz_ that is cool but can you tell me which JVM I can use that does not require me to have java? It's not even a fake question, java always gives me problems on my messed up everything-from-source linux install system :(
<shevy> but at least I have AppDirs!
<shevy> /Programs/Lame/3.99.5/
<shevy> aaaaaaah the beauty
<Mon_Ouie> It's JVM agnostic except for the fact that its primitives and the way it represents objects have been designed with Java in mind
<Mon_Ouie> Java agnostic*
kireevco has quit [Ping timeout: 240 seconds]
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
ascarter has joined #ruby
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sarkis has joined #ruby
monkegjinni has joined #ruby
havenwood has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 240 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
monkegjinni has quit [Ping timeout: 240 seconds]
joaoh82 has joined #ruby
joaoh82 has quit [Remote host closed the connection]
tectonic has joined #ruby
mijicd has quit [Remote host closed the connection]
donnoc has quit [Quit: WeeChat 0.4.3]
havenwood has joined #ruby
cHarNe2 has quit [Ping timeout: 240 seconds]
<foobarbaz_> str[/(\w*)/, 1]
caveat- has quit [Ping timeout: 245 seconds]
<foobarbaz_> What sugar is this?
<jhass> def [](regex, group)
<Mon_Ouie> str.[](arguments)
<foobarbaz_> o.O
<foobarbaz_> interesting!
<akerl> slices are just methods with cute syntax
<Mon_Ouie> Same for most other "operators"
<Mon_Ouie> 3 + 5 is just 3.+(5)
shredding has quit [Quit: shredding]
<matti> Mon_Ouie: ;]
<Mon_Ouie> matti: :)
<foobarbaz_> cool :)
bradhe has joined #ruby
jamto11 has joined #ruby
<apeiros> foobarbaz_: since plenty mess this up: `foo[a, b, c] = d` is sugar for `foo.[]=(a, b, c, d)`
<apeiros> i.e., the assigned value is just the last argument. and the method name is []=
<foobarbaz_> What does that do sorry
<foobarbaz_> Not familiar enough with ruby yet
<Mon_Ouie> >> x = "foo"; x[2] = "r"; x
<eval-in> Mon_Ouie => "for" (https://eval.in/163192)
<apeiros> or with hashes:
<apeiros> >> hash = {}; hash["key"] = "value"; hash
<eval-in> apeiros => {"key"=>"value"} (https://eval.in/163193)
<apeiros> or with arrays:
<apeiros> >> array = [1,2,3]; array[1,2] = [:a, :b, :c]; array
<eval-in> apeiros => [1, :a, :b, :c] (https://eval.in/163194)
<apeiros> foobarbaz_: in other words - "what does that do" depends entirely on what you call it on. it's a method. what a method does depends on the receiver of the method call.
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
caveat- has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
jamto11 has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
riotjone_ has joined #ruby
<foobarbaz_> hmm
pu22l3r has quit [Remote host closed the connection]
<foobarbaz_> ruby is interesting
<foobarbaz_> thanks
<matti> foobarbaz_: Check out Go too ;]
riotjones has quit [Ping timeout: 255 seconds]
<foobarbaz_> I have too many things to learn :'/
<matti> We all.
<matti> ;]
moritzs has quit [Ping timeout: 272 seconds]
<foobarbaz_> :)
stantona has quit [Remote host closed the connection]
Zebroid has joined #ruby
stantona has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
caveat- has quit [Ping timeout: 240 seconds]
stantona has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OffTheRails has left #ruby ["Leaving"]
bradhe has joined #ruby
klaut has quit [Remote host closed the connection]
bradhe has quit [Client Quit]
scx_ has quit [Ping timeout: 255 seconds]
stantona has joined #ruby
cantonic has joined #ruby
george2 has quit [Remote host closed the connection]
jhass is now known as jhass|off
stantona has quit [Remote host closed the connection]
andrewlio has quit [Quit: Leaving.]
stantona has joined #ruby
caveat- has joined #ruby
freerobby has joined #ruby
jottr has joined #ruby
datafirm has joined #ruby
cantonic has quit [Quit: cantonic]
datafirm has quit [Client Quit]
stantona has quit [Remote host closed the connection]
kilk_ has quit [Ping timeout: 240 seconds]
datafirm has joined #ruby
stantona has joined #ruby
<shevy> foobarbaz_ you don't have to learn everything
datafirm has quit [Ping timeout: 240 seconds]
BadQuanta has joined #ruby
Valesk has joined #ruby
pietr0 has joined #ruby
<Radar> apeiros: Use !e.
havenwood has joined #ruby
scx has joined #ruby
moritzs has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
Zai00 has quit [Quit: Zai00]
<apeiros> Radar: nooo! automatic response!
<apeiros> we have the technology, we can do this!
<Radar> apeiros: It would get annoying and people can spam "doesn't work"
<Radar> apeiros: see also: patches welcome
tkuchiki has joined #ruby
<apeiros> we can make him better than he was before, stronger, faster!
<apeiros> Radar: bah, people can always spam. that's when you ban them.
<Radar> apeiros: And what happens when we have no ops, like this channel has 95% of the time?
<apeiros> (I've had idiots argue "but it was the bot", yeah, bullshit. bot does what you tell him to)
<toretore> !ban apeiros
<helpa> Radar, you should ban the person highlighted, signed toretore.
tectonic has quit [Ping timeout: 240 seconds]
<apeiros> Radar: that problem is unrelated to having a bot or not
<Radar> apeiros: I would rather not have another spam vector in my bot.
<apeiros> if somebody spams, whether through a bot or himself, and you have no op, then you have no op
<Radar> the !g command is already a vector
<Radar> apeiros: It's disruptive to the channel and I don't want that happening in #rubyonrails
kireevco has joined #ruby
<toretore> !g viagra
<Radar> I am not Batman. I am not constantly vigilant, protecting the citizens of #rubyonrails.
<apeiros> channel specific feature then? :p
<Radar> I am only here during work hours and very rarely outside of them these days due to marriage and life
kilk_ has joined #ruby
NukePuppy has quit [Ping timeout: 244 seconds]
<benzrf> !version
<benzrf> helpa: yo what gives
<toretore> actually, i get zero dick related spam anymore
AlSquire has quit [Quit: This computer has gone to sleep]
caveat- has quit [Ping timeout: 264 seconds]
jxf has quit [Ping timeout: 272 seconds]
davispuh has joined #ruby
kireevco has quit [Ping timeout: 240 seconds]
pietr0 has quit [Quit: pietr0]
sinkensabe has joined #ruby
sarkis has joined #ruby
r00ster has joined #ruby
caveat- has joined #ruby
<apeiros> yay! research in my starbase orion clone works :D
<apeiros> probably time to go to bed too… 0100 here :-S
havenwood has quit [Ping timeout: 264 seconds]
benlieb has joined #ruby
dangerousdave has quit [Ping timeout: 255 seconds]
sarkis has quit [Ping timeout: 264 seconds]
joaoh82 has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
jonahR has joined #ruby
toastynerd has quit [Remote host closed the connection]
stantona has quit [Remote host closed the connection]
joaoh82 has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
djr has quit [Quit: Leaving]
toastynerd has joined #ruby
Hanmac1 has joined #ruby
hermanmunster has quit [Remote host closed the connection]
Ankhers has joined #ruby
toastynerd has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Remote host closed the connection]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
lw has joined #ruby
joaoh82 has quit [Remote host closed the connection]
danijoo has joined #ruby
braincra- has joined #ruby
tectonic has joined #ruby
braincrash has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Ping timeout: 264 seconds]
bitcycle has joined #ruby
djr has joined #ruby
ahofmann has joined #ruby
Bumptious has joined #ruby
gregf has joined #ruby
djr has quit [Remote host closed the connection]
djr has joined #ruby
<shevy> toretore wanna take over my spam? :>
<shevy> apeiros what can be researched?
kilk_ has quit [Ping timeout: 244 seconds]
gynomancer_ has joined #ruby
gynomancer_ has quit [Client Quit]
<AlexRussia> iFail
newUser1234 has quit [Remote host closed the connection]
newUser1234 has joined #ruby
<akerl> Remember when you asked if 'or' and 'and' were equivalent to '&&' and '||'?
fold has joined #ruby
<akerl> and we said they had different precedence?
<akerl> this is where that matters
Takle has quit [Ping timeout: 255 seconds]
dvabr has joined #ruby
nfk has quit [Quit: yawn]
ahofmann has quit [Quit: Computer has gone to sleep.]
chrishough has quit [Quit: chrishough]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
doodlehaus has joined #ruby
hermanmunster has joined #ruby
vinleod has joined #ruby
toastynerd has joined #ruby
CpuID has joined #ruby
<AlexRussia> akerl: but here only one '&&' ;)
<akerl> So?
<akerl> precedence still matters
CpuID has quit [Client Quit]
<AlexRussia> :D
dllama has left #ruby [#ruby]
skylite has quit [Quit: Linkinus - http://linkinus.com]
Azure has quit [Quit: My MBP went to sleep.]
BadQuanta has left #ruby [#ruby]
tessi is now known as tessi_zz
<mozzarella> >> cool = true; not not not not not not not cool
<eval-in> mozzarella => false (https://eval.in/163195)
Mooneye is now known as ooneye
jonahR has quit [Quit: ¡Adios amigos, me fui para el carajo!]
<AlexRussia> XD
<AlexRussia> ooneye: hehe
ooneye is now known as ooneyeM
ctp has joined #ruby
ooneyeM is now known as oneyeMo
<mozzarella> it keeps shifting
<mozzarella> what's happening
hello_nate_ has joined #ruby
hello_nate has quit [Read error: Connection reset by peer]
bitcycle has quit [Ping timeout: 240 seconds]
<AlexRussia> akerl: you mean, statement count like (!Gem.win? && path.include?) bin_dir ?????????????
<diegoviola> this code is giving me a hard time, i can't even figure out what's going on ehre: https://gist.github.com/278d3e65f7ec242265c8
<diegoviola> here
<diegoviola> sigh
<oneyeMo> mozzarella: Somebody's insisting we shift our nicknames in a private channel
cobakobodob has quit [Ping timeout: 252 seconds]
<oneyeMo> I can't say no.
<oneyeMo> It's a private channel.
<akerl> AlexRussia: I mean that precedence matters
doodlehaus has quit []
<AlexRussia> akerl: agrh you like zombie
<akerl> You said earlier that you understood precedence
cantonic has joined #ruby
moritzs has quit [Ping timeout: 244 seconds]
benlieb has quit [Quit: benlieb]
nuck has quit [Ping timeout: 264 seconds]
predator217 has joined #ruby
joaoh82 has joined #ruby
oneyeMo is now known as neyeMoo
Avahey_ has quit [Quit: Connection closed for inactivity]
joaoh82 has quit [Remote host closed the connection]
Nameo0 has quit [Quit: Leaving]
predator117 has quit [Ping timeout: 272 seconds]
Nameo0 has joined #ruby
sepp2k1 has joined #ruby
Bumptious has quit [Remote host closed the connection]
Zebroid has quit [Remote host closed the connection]
monkegjinni has joined #ruby
Bumptious has joined #ruby
mikecmpbll has quit [Quit: ciao.]
<foobarbaz_> What's the difference between [1,2,3].inspect
<foobarbaz_> and `puts [1,2,3]` and `p [1,2,3]`
<AlexRussia> foobarbaz_: a big
<foobarbaz_> This code seems to mix them interchangably
sepp2k has quit [Ping timeout: 240 seconds]
<AlexRussia> foobarbaz_: the last two make diffrent job