<Nate_Bradley>
has anyone made an escort site in rails?
pwnz0r has joined #ruby
<tejasmanohar>
Nate_Bradley: #ror
kenneth has joined #ruby
<Radar>
Nate_Bradley: #rubyonrails
<Radar>
And what a very specific use case you have there.
<Nate_Bradley>
thanks
lidenskap has quit [Remote host closed the connection]
<Nate_Bradley>
it is because i want to make a site for an escort
bluOxigen has quit [Ping timeout: 276 seconds]
<Nate_Bradley>
she's offering companionship in exchange
mengu has joined #ruby
kenneth has quit [Client Quit]
<sevenseacat>
o.O
happyface has quit [Quit: Connection closed for inactivity]
<Radar>
what sevenseacat said
rahult has joined #ruby
<Nate_Bradley>
Radar, he didn't say anythign
* baweaver
raises eyebrow
<Radar>
she
<sevenseacat>
i said o.O.o.O.o.O
<Nate_Bradley>
what is that?
<Nate_Bradley>
testicles?!
<Radar>
Nate_Bradley: imo you're trolling but I can't really outright tell so please do continue.
<sevenseacat>
if you want to build a site, we can talk about the site. everything else is irrelevant.
<havenwood>
Nate_Bradley: Sounds like a #RubyOnRails questions to me.
<Nate_Bradley>
okay, i want to build a site that has photos and stuff
Xiti has joined #ruby
<Nate_Bradley>
pictures and a payment gateway
<havenwood>
Nate_Bradley: /join #RubyOnRails
<Nate_Bradley>
thanks i have to register
SouL_|_ has quit [Ping timeout: 255 seconds]
<Nate_Bradley>
i can't talk there
<sevenseacat>
yes, you do.
<havenwood>
Nate_Bradley: Works for me. :)
<Nate_Bradley>
what do ruby updates entail?
<Radar>
what?
<Radar>
Nate_Bradley: /msg nickserv help register
mengu has quit [Ping timeout: 265 seconds]
tubuliferous_ has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
icarus has quit [Ping timeout: 256 seconds]
Spami has joined #ruby
icarus has joined #ruby
chipotle has joined #ruby
AirStar has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
iotouch has joined #ruby
bkxd has joined #ruby
psy has joined #ruby
<Nate_Bradley>
thanks ra
<Nate_Bradley>
thanks Radar
<Radar>
np
<Nate_Bradley>
so there are girls on here?
pwnz0r has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 264 seconds]
<Radar>
Nate_Bradley: Ok, definitely entering troll territory.
<Radar>
15 minute timeout.
<Radar>
It shouldn't matter if there are girls, guys or whatever else on here.
<Radar>
Nate_Bradley: Please don't PM.
riotjones has joined #ruby
pontiki has quit [Ping timeout: 256 seconds]
allcentury has joined #ruby
endash has quit [Quit: endash]
astrobunny has joined #ruby
hanmac1 has joined #ruby
spider-mario has quit [Ping timeout: 250 seconds]
tagrudev has joined #ruby
riotjones has quit [Ping timeout: 272 seconds]
allcentury has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
musl has quit [Remote host closed the connection]
allcentury has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
dfinninger has joined #ruby
attlasbot has joined #ruby
jerryberry_ has quit [Ping timeout: 264 seconds]
jerryberry_ has joined #ruby
riotjones has joined #ruby
allcentury has quit [Ping timeout: 264 seconds]
dfinninger has quit [Ping timeout: 276 seconds]
scripore has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
Oka has joined #ruby
Guest1421 has joined #ruby
spider-mario has joined #ruby
<Radar>
Nate_Bradley: wb
diegoviola has quit [Quit: WeeChat 1.1.1]
<Nate_Bradley>
thanks radar
<Nate_Bradley>
word of warning, i've been banned from a channel for talking about "escorts"... i'm not making the same mistake twice and i will try to obey every rule
AirStar has left #ruby [#ruby]
<sevenseacat>
that should be a warning for you, not us.
aganov has joined #ruby
jimms has joined #ruby
Guest1421 has quit [Ping timeout: 252 seconds]
* Nilium
facepalms
djellemah has joined #ruby
Agent604 has quit [Ping timeout: 265 seconds]
penzur has quit [Quit: zzzz]
sinkensabe has quit [Remote host closed the connection]
<Nate_Bradley>
Nilium, why did you hit your face?
penzur has joined #ruby
<baweaver>
Perhaps it'd be best not to mention the nature of your sites.
<baweaver>
"Telegraph Academy is the premier bootcamp for people of color that turns enthusiastic beginners into software engineers and supports them throughout their ..."
<sevenseacat>
ah hah
<baweaver>
Google filter
* baweaver
wasn't clicking it either
last_staff has joined #ruby
<baweaver>
Sooo racist then? That's fun.
<Nate_Bradley>
baweaver, can't tell if sarcastic
* baweaver
is leaving this alone
<sevenseacat>
good call.
edwinvdgraaf has quit [Remote host closed the connection]
* sevenseacat
goes back to working and watching conf videos
arescorpio has quit [Quit: Leaving.]
<baweaver>
sevenseacat: Any good ones come out lately?
<Nilium>
Because I don't feel like wasting my time on you.
Nate_Bradley was banned on #ruby by sevenseacat [*!~Nate_Higg@2605:e000:8444:fb00:29de:6a12:6cc5:352c]
Nate_Bradley was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
shuber_ has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
<Nilium>
I reeeeeally don't get that.
Hirzu has quit [Quit: Leaving...]
chipotle has quit [Quit: cheerio]
tesuji has joined #ruby
tesuji has quit [Changing host]
tesuji has joined #ruby
<sevenseacat>
me either.
terlar has joined #ruby
<Radar>
Nilium: np
<Nilium>
Thanks.
shuber_ has quit [Ping timeout: 240 seconds]
<sevenseacat>
Nilium: the badge is also very cool.
exadeci has joined #ruby
<sevenseacat>
i'm supposed to tell people how long i ban them for. oops.
* sevenseacat
shrugs and goes back to work
bMalum has quit [Quit: bMalum]
mengu has joined #ruby
edwinvdgraaf has joined #ruby
mike_c_11 has quit [Remote host closed the connection]
isxek has quit [Quit: ChatZilla 0.9.91-rdmsoft [XULRunner 32.0.3/20140923175406]]
Feyn has quit [Ping timeout: 250 seconds]
vickleton has quit [Ping timeout: 256 seconds]
<Nilium>
All of them: "forever" job done
<sevenseacat>
win.
<Nilium>
I should go to sleep.
fedexo has quit [Ping timeout: 265 seconds]
<certainty>
flughafen: o/
<certainty>
moin
<Radar>
Well it's been fun. Goodnight peeps.
<flughafen>
oioioi!
<flughafen>
how was your weekend certainty \
<certainty>
have fun Radar
<Nilium>
Sleep well.
<certainty>
flughafen: good, relaxing
<certainty>
what about yours?
<flughafen>
certainty: good. went climbing and took the motorcycle out.
<certainty>
sounds cool
<flughafen>
it was cool!
dfinninger has joined #ruby
<certainty>
but now it's monday. It's going to be warm and i have to work :/
<arup_r>
Hi All
anisha has joined #ruby
<flughafen>
certainty: might i recommend working from outside
<certainty>
if that only was an optiaon
<certainty>
option, even
dfinninger has quit [Ping timeout: 240 seconds]
<certainty>
i'd love to
pwnz0r has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
colorados has quit [Quit: Leaving]
ki0 has joined #ruby
thatslifeson has joined #ruby
xcesariox has quit [Ping timeout: 256 seconds]
unshadow has joined #ruby
sts has joined #ruby
P1RATEZ has quit []
Igorshp has joined #ruby
<sts>
hello folks. How can I split up my rspec tests for a single class into multiple files? seems like having multiple 'describe Apples' overrides the other.
User458764 has joined #ruby
selu has joined #ruby
thatslifeson has quit [Ping timeout: 276 seconds]
nucatus has joined #ruby
alex88 has joined #ruby
AlphaAtom has joined #ruby
vtunka has joined #ruby
gauke has joined #ruby
msgodf has joined #ruby
rkazak has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
<sts>
ups. no it doesn't. works as expected. :)
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
mike_c_11 has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
nucatus has quit [Ping timeout: 256 seconds]
allcentury has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
doertedev has joined #ruby
AlphaAtom has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
AlphaAtom has quit [Max SendQ exceeded]
CamonZ has joined #ruby
AlphaAtom has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
Igorshp has quit [Remote host closed the connection]
paradisaeidae_ has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]]
parduse has joined #ruby
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
TheHodge has joined #ruby
n008f4g_ has quit [Ping timeout: 272 seconds]
Juanchito has joined #ruby
twistedpixels is now known as zz_twistedpixels
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zai00 has joined #ruby
Rickmasta has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Ping timeout: 252 seconds]
rahult has joined #ruby
Rickmasta has joined #ruby
baweaver has quit [Remote host closed the connection]
colorados has joined #ruby
marr has joined #ruby
oo_ has quit [Remote host closed the connection]
goggy has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
haxrbyte_ has joined #ruby
haxrbyte has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
oo_ has joined #ruby
haxrbyte has joined #ruby
centrx has joined #ruby
Hounddog has joined #ruby
joonty has joined #ruby
rahult has quit [Quit: Back to the world of zombies]
shuber_ has joined #ruby
granthatcher has joined #ruby
bMalum has quit [Quit: bMalum]
haxrbyte_ has quit [Ping timeout: 256 seconds]
fabrice31_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
ghr has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shuber_ has quit [Ping timeout: 276 seconds]
dented42 has joined #ruby
vdamewood has quit [Quit: Life beckons.]
thirdknife has quit [Ping timeout: 240 seconds]
Joufflu has quit [Read error: Connection reset by peer]
edwinvdg_ has joined #ruby
ayaz has joined #ruby
rgb-one has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 240 seconds]
bMalum has joined #ruby
Guest42302 has quit [Ping timeout: 246 seconds]
kyrylo has joined #ruby
dfinninger has joined #ruby
meph has joined #ruby
withnale_ has joined #ruby
Mohan_ has joined #ruby
juanpablo_ has joined #ruby
fabrice31_ has joined #ruby
sts has left #ruby [#ruby]
dfinninger has quit [Ping timeout: 245 seconds]
juanpablo_ has quit [Ping timeout: 244 seconds]
fabrice31 has quit [Ping timeout: 240 seconds]
<surs>
I have a windows console application a.exe which takes a ruby script for configuration. when I run the console application using start-process a.exe 'config.rb' a black console pops up, errors are displayed and then the console pop up disappears. how can I make it permanent so I can analyze the errors?
spider-mario has quit [Remote host closed the connection]
<surs>
no, I need start-process (a powershell cmdlet) to start a separate process because I only want the next line in my script to execute when a.exe has terminated
wolfleemeta has joined #ruby
<canton7>
... that sounds like you *don't* want start-process? :P
<surs>
but what can I put in config.rb (the script causing the other console window to pop up) to keep it's console open?
<adaedra>
You can try %x(pause)
goggy has joined #ruby
<surs>
thanks adeadra
<adaedra>
Or you can try to see if there's not a flag to your cmdlet to keep the console open
Cust0sL1men has quit [Ping timeout: 250 seconds]
<adaedra>
It may use start or something like that
arup_r has quit [Remote host closed the connection]
<adaedra>
Because blocking in the ruby script may not be a good idea, furthermore if you want output from the program itself
wolflee has quit [Ping timeout: 245 seconds]
allcentury has joined #ruby
livathinos has quit [Read error: Connection reset by peer]
goggy has quit [Ping timeout: 276 seconds]
sepp2k has joined #ruby
bMalum has quit [Quit: bMalum]
livathinos has joined #ruby
sameerynho has joined #ruby
<surs>
the call stack is this: ps calls exe calls ruby script. the exe doesn't have an option to keep the console open..
lkba has quit [Ping timeout: 246 seconds]
<adaedra>
and you can't try without the ps at all?
allcentury has quit [Ping timeout: 252 seconds]
granthatcher has quit [Ping timeout: 256 seconds]
granthatcher_ has joined #ruby
granthatcher_ has quit [Max SendQ exceeded]
<adaedra>
normally, a console.exe runs inside the current console, except if started with special methods, like start, iirc
lxsameer has quit [Ping timeout: 264 seconds]
granthatcher has joined #ruby
<surs>
that's actually a workaround..
DerisiveLogic has joined #ruby
Igorshp has joined #ruby
tubuliferous_ has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ahmetkapikiran has joined #ruby
gagrio_ has quit [Ping timeout: 256 seconds]
edwinvdg_ has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
pontiki has joined #ruby
CloCkWeRX has joined #ruby
toretore has joined #ruby
failshell has joined #ruby
car has quit [Quit: Leaving]
tubuliferous_ has quit [Ping timeout: 252 seconds]
goggy has joined #ruby
pontiki has quit [Ping timeout: 265 seconds]
failshell has quit [Ping timeout: 265 seconds]
fabrice31_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
arup_r has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
MXfive has joined #ruby
goggy has quit [Ping timeout: 256 seconds]
haxrbyte has joined #ruby
astrobunny has quit [Ping timeout: 255 seconds]
gigetoo has quit [Ping timeout: 272 seconds]
scripore has quit [Quit: This computer has gone to sleep]
haxrbyte_ has joined #ruby
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pwnz0r has quit [Remote host closed the connection]
CloCkWeRX has quit [Ping timeout: 244 seconds]
asmodlol has joined #ruby
gagrio_ has joined #ruby
AlphaAtom has joined #ruby
ta has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 250 seconds]
Cust0sL1men has joined #ruby
mengu has quit [Remote host closed the connection]
ta has joined #ruby
haxrbyte has quit [Ping timeout: 272 seconds]
AlphaAtom has quit [Ping timeout: 255 seconds]
platzhirsch has joined #ruby
ixti has joined #ruby
<al2o3-cr>
How can I convert unsigned short to bluetooth byte order?
shuber_ has joined #ruby
<jhass>
Array#pack
<adaedra>
.ri Array#pack
<adaedra>
:(
<al2o3-cr>
ok let me take a look
_ixti_ has quit [Ping timeout: 256 seconds]
Pisuke has joined #ruby
Sembei has quit [Ping timeout: 240 seconds]
platzhirsch has left #ruby [#ruby]
einarj has joined #ruby
quimrstorres has joined #ruby
shuber_ has quit [Ping timeout: 244 seconds]
quimrstorres has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
iotouch has quit [Read error: Connection reset by peer]
dented42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iotouch has joined #ruby
xcesariox has joined #ruby
quimrstorres has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
codecop has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Mohan_ has quit [Ping timeout: 264 seconds]
thatslifeson has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest56168
allcentury has joined #ruby
dfinninger has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
CloCkWeRX has left #ruby [#ruby]
thatslifeson has quit [Ping timeout: 240 seconds]
A205B064 has quit [Ping timeout: 256 seconds]
allcentury has quit [Ping timeout: 265 seconds]
haxrbyte_ has quit [Read error: Connection reset by peer]
dfinninger has quit [Ping timeout: 250 seconds]
allcentury has joined #ruby
ki0_ has joined #ruby
selu has joined #ruby
selu has quit [Client Quit]
parduse has quit []
tejasmanohar has quit [Quit: WeeChat 1.1.1]
dented42 has joined #ruby
ki0_ has quit [Read error: Connection reset by peer]
ki0_ has joined #ruby
selu has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
blaxter has quit [Ping timeout: 252 seconds]
ki0 has quit [Ping timeout: 256 seconds]
iamninja has quit [Read error: Connection reset by peer]
<shevy>
you can see last activity quite a bit 3-4 days ago
<shevy>
and before that, 9 days ago, so there is a downtime of 5 days
mostlybadfly has joined #ruby
haxrbyte_ has joined #ruby
Guest87026 has quit [Ping timeout: 264 seconds]
haxrbyt__ has joined #ruby
claw_ has quit [Quit: No Ping reply in 180 seconds.]
selu has quit [Ping timeout: 252 seconds]
vtunka has quit [Quit: Leaving]
serivich has joined #ruby
banister has joined #ruby
Mohan_ has joined #ruby
slackbotgz has quit [Remote host closed the connection]
haxrbyte has quit [Ping timeout: 246 seconds]
haxrbyte_ has quit [Ping timeout: 256 seconds]
edwinvdgraaf has quit [Ping timeout: 245 seconds]
edwinvdgraaf has joined #ruby
Guest1421 has joined #ruby
dstarh has quit [Ping timeout: 256 seconds]
<jhass>
your github activity profile looks much more sporadic
shuber_ has joined #ruby
<jhass>
3 days ago was friday, and japan is not really awake yet
* adaedra
whistle
<DefV>
no your github activity profile looks much more sporadic
selu has joined #ruby
<DefV>
*fight fight fight*
<centrx>
no u
gagrio_ has joined #ruby
iasoon has joined #ruby
Guest1421 has quit [Ping timeout: 256 seconds]
vtunka has joined #ruby
shuber_ has quit [Ping timeout: 256 seconds]
edwinvdg_ has joined #ruby
zotherstupidguy has joined #ruby
edwinvdgraaf has quit [Read error: Connection reset by peer]
maasha has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
<maasha>
what is the inline syntax to disable rubocop Assignment Branch Condition size warning?
selu has quit [Read error: Connection reset by peer]
iasoon has quit [Ping timeout: 256 seconds]
thirdknife has joined #ruby
selu has joined #ruby
cajone has joined #ruby
simpyll has joined #ruby
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
argoneus is now known as Kingsquee
Kingsquee is now known as argoneus
selu has quit [Read error: Connection reset by peer]
DynamicMetaFlow has joined #ruby
yokel has quit [Ping timeout: 240 seconds]
Mohan_ has quit [Ping timeout: 276 seconds]
<shevy>
my profile?
<shevy>
or matz
<Porfa__>
heyas
<shevy>
jhass yeah good point about weekends
Porfa__ is now known as Porfa
<shevy>
hi Porfa
Mohan_ has joined #ruby
dfinninger has joined #ruby
haxrbyt__ has quit [Read error: Connection reset by peer]
<Porfa>
im seeing a strange behavior inside a loop.. i don't understand why.. i have two variables, one of the it outputs me different lines, the other one, inside the same loop, keeps repeating the same output… even though when i go see the html code, it should be different.. https://gist.github.com/anonymous/aca8267d15fff829b750
startupality has joined #ruby
<shevy>
always assume that ruby runs according to the code you fed it
<shevy>
and use debug statements
<shevy>
what is forretas exactly? an array?
<Porfa>
yes
<shevy>
ok so its elements respond to .at_css() method
<shevy>
you don't use the same variables though
<shevy>
one time you use dat_forretas.at_css
<shevy>
the other time you use forretas.at_css
<Porfa>
*goes sit in a corner*
<shevy>
and btw
<shevy>
you use the same variable names
<shevy>
I would use different variable names
<shevy>
just to avoid confusion
<Porfa>
i will next time… i've been looking and looking… and it was so simple...
cajone has quit [Read error: Connection reset by peer]
<Porfa>
but should i indent the beginning of the loop or the lines following it?
<shevy>
jhass loves to indent
marr has quit [Ping timeout: 240 seconds]
meph has quit [Quit: Leaving.]
<shevy>
Porfa no no; always when you add a new clause/check
<shevy>
if value
<shevy>
do_something
<shevy>
iterator.each {
jimms has quit [Remote host closed the connection]
<shevy>
do_something
<Porfa>
id love to indent too because some of my work is getting more and more complicated and it's a pain in the ass to look at it later
<shevy>
if you use "end" or "}"
<shevy>
you can make inline statements for one liners
unshadow has joined #ruby
<shevy>
do_something unless game_over?
parduse has joined #ruby
<shevy>
yeah I still feel like that for my own code. code I wrote 5 years ago confuses me
diegoviola has quit [Remote host closed the connection]
<Porfa>
i need to see some code etiquette tutorials
<unshadow>
Hi, I made a simple method to rewrite a content-length of data in an HTTP header, though it seems to not calculate the size proporly, this is the code --> https://gist.github.com/bararchy/00b50eca203f0999a79e
<Porfa>
"a tutorial on how to indent your code" I'm pretty sure there's something outthere
iotouch has quit [Quit: This computer has gone to sleep]
<unshadow>
isn't .bytesize the right way to go ?
JDiPierro has joined #ruby
<shevy>
Porfa well it really is logical
<shevy>
def your_method
<shevy>
puts 'hello world # <--- we have to indent here once
<shevy>
end
astrobunny has joined #ruby
<shevy>
whether you use 2 spaces, 4 spaces, or tab, is secondary (but use 2 spaces please)
<Porfa>
one thing i know, ruby standard is two spaces! ( thank you jhass )
<Porfa>
yeah i won't forget that because i was just tabbing and tabbing like i was never gonna pay the tab
<Porfa>
what a bad joke.. I'm going back to my code..
SouL_|_ has quit [Ping timeout: 276 seconds]
<jhass>
reading the styleguide completely should give you a good idea already about indentation in fact
iasoon has joined #ruby
<jhass>
shevy: do you use german variable names?
<shevy>
jhass nah
<certainty>
god no
<bhaak>
blitzkrieg = false
<certainty>
wat?
<shevy>
it would not fit with the rest of the code elements like "def" or "class"
<shevy>
I also hate Eigenclass
<shevy>
or klass
<jhass>
yeah, me neither, I think I couldn't even if I'd try
davidhq has joined #ruby
<jhass>
identifiers have to be english, it's hardwired into my brain
haxrbyte has joined #ruby
<certainty>
we recently switched to german as the language to describe featuers/bugs in the project management. That's hard enough
Mohan_ has quit [Ping timeout: 255 seconds]
<shevy>
certainty the UK stole many words! I heard a BBC lecture about the second world war... and the guy suddenly said the "panzer division"... and I was confused... should it not be "tanks"? but he said "panzer"...
<bhaak>
blame mathematics for eigen
<certainty>
shevy: yeah i'm aware
<shevy>
bhaak who is to blame for "kindergarten" :)
astrobunny has quit [Remote host closed the connection]
<bhaak>
shevy: all those germans that went to America and didn't lose all of their mothertongue :)
<shevy>
it always trips me up... my brain is set to some strange english ... and suddenly I hear a german word
<jhass>
Porfa: so that's maybe another consideration, especially if you need help with more complex code, using english identifiers eases understanding your code a lot
<Porfa>
please do because i was just gonna waste a lot of toner printing that. yeah, i like to read on paper
<shevy>
I think there are only small differences
<Porfa>
thank you
<shevy>
no you don't need to print it, 80% of it is like what you will do anyway after writing a lot of ruby code
<Porfa>
but i rather use that one because its what you in here follow, and I'm hanging out here a lot so i hope for more compatability
<Porfa>
t
<jhass>
shevy: I have it in reverse for a few words, some thinks are just better expressed in foreign languages. Like that we have no separate words for sex and gender
<jhass>
er, *things even
<shevy>
jhass yeah
ldnunes has joined #ruby
<shevy>
"Geschlecht"
<shevy>
what an awful word haha
<shevy>
that actually limites our way to think too
<shevy>
"gender debate" ... how would you translate this into german?
<shevy>
*limits
<bhaak>
Genderdiskussion
<izzol>
;-)
<shevy>
ok but then I think we stole an english word here
<bhaak>
an awful word as well and a direct indication to not discuss it :-)
<jhass>
Gender_dis_kussion*
<shevy>
and Diskussion sounds so formal and noble... a debate is so much more lively!
haxrbyte_ has quit [Remote host closed the connection]
<certainty>
hmm can i make the gem command ignoring the ~/.gemrc?
<certainty>
ignore
haxrbyte_ has joined #ruby
<shevy>
Porfa I think jhass was wondering why you used portuguese variable names :D
<bhaak>
but German has "Debatte" as well
<shevy>
certainty you have funny ideas
<shevy>
usually this would be like --norc I think
<shevy>
not sure if gem has that... let's see
<jhass>
certainty: yeah, just use the rm command on the file
<bhaak>
Google indicates that both "Genderdiskussion" and "Genderdebatte" are used.
haxrbyte has quit [Ping timeout: 264 seconds]
phutchins has joined #ruby
<certainty>
jhass: :)
<certainty>
shevy: it doesn't look like it
<shevy>
"bash --help" has --norc
<shevy>
I can't find this for gem
<shevy>
yeah that sucks
<shevy>
file an issue request!!!
<shevy>
bhaak god that sounds awful
<shevy>
Genderdebatte
jottr_ has quit [Read error: Connection reset by peer]
<izzol>
What about variable: hottentottenstottertrottelmutterbeutelrattenlattengitterkofferattentäter
<izzol>
;-)
<shevy>
Geschlechtsdebatte
<bhaak>
shevy: it's an awful topic, it should sound awful!
<shevy>
I remember a hot debate in school whether it would have two f "ff" or three f "fff"
<shevy>
Sauerstoffflasche
<certainty>
maybe i'm doing things wrong. Ok i want to query a specific gemserver for a given gem using gem list. However the -s option only appends the given soure URL to the list of existing URLs. I assume those come from the .gemrc. (I hope it doesn't have a hardcoded default)
JDiPierro has quit [Remote host closed the connection]
<wasamasa>
what's interesting is that this guy managed to make their usage as concise as any other ruby
<shevy>
lol the description is brilliant
<shevy>
"Monads are in danger of becoming a bit of a joke"
<wasamasa>
which is far from a given for other implementations I've seen, like in scheme(!) and java(!!)
sameerynho has quit [Quit: Leaving]
<wasamasa>
yes they are, every haskell tutorial worth reading tells you to just skip these first
idafyaid has joined #ruby
yokel has joined #ruby
<certainty>
the concept yes, but you for example RWH dives right into code that uses the IO monad. Which is just fine
failshell has joined #ruby
<wasamasa>
basically, monads are just another level of abstraction
<wasamasa>
and this talk demonstrates them on fairly real-world examples
avril14th has joined #ruby
<wasamasa>
the question is of course whether you're willing to go that far with abstraction and whether it's still worth it in a programming language with a less extensive type system compared to haskell
yetone has joined #ruby
<certainty>
the kicker is that you get well defined composition
<wasamasa>
which so far hasn't been the case for me
vtunka has quit [Quit: Leaving]
yqt has joined #ruby
yetone has quit [Remote host closed the connection]
failshell has quit [Ping timeout: 265 seconds]
luksaur has joined #ruby
infoget has left #ruby [#ruby]
iotouch has quit [Quit: This computer has gone to sleep]
Mohan_ has quit [Ping timeout: 265 seconds]
mengu has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 252 seconds]
yokel has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest56457
n008f4g_ has quit [Ping timeout: 264 seconds]
juanpablo_ has joined #ruby
<certainty>
shevy: ok got it, while there is no --norc, you can use --config-file which gives you back the control
<shevy>
cool
<shevy>
I will note this down too
_blizzy_ has quit [Ping timeout: 265 seconds]
allcentury has quit [Ping timeout: 256 seconds]
joonty has quit [Quit: joonty]
<shevy>
how did you find out though?
thirdknife has quit [Quit: This computer has gone to sleep]
<certainty>
gem list --help xD
<certainty>
now i can query a specific server to see which gems are available
wwwBUKOLAYcom has joined #ruby
juanpablo_ has quit [Ping timeout: 255 seconds]
scripore has joined #ruby
gagrio_ has quit [Ping timeout: 255 seconds]
charliesome has joined #ruby
Cust0sL1men has quit [Ping timeout: 264 seconds]
Guest56457 has quit [Ping timeout: 250 seconds]
scripore has quit [Client Quit]
Mohan_ has joined #ruby
Papierkorb has joined #ruby
freerobby has joined #ruby
shuber_ has joined #ruby
juanpaucar has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
segfalt has joined #ruby
Mohan_ has quit [Ping timeout: 264 seconds]
Alina-malina has joined #ruby
idafyaid has quit [Changing host]
idafyaid has joined #ruby
livathinos has quit [Ping timeout: 250 seconds]
wwwBUKOLAYcom has quit []
jottr_ has quit [Ping timeout: 272 seconds]
shuber_ has quit [Ping timeout: 276 seconds]
Mohan_ has joined #ruby
but3k4 has joined #ruby
badhatter has joined #ruby
sdothum has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
DynamicMetaFlow has joined #ruby
huddy has joined #ruby
aryaching has quit [Ping timeout: 246 seconds]
AirStar has joined #ruby
ponga has joined #ruby
tubuliferous_ has joined #ruby
<shevy>
certainty oh but --config-file is a workaround right? it is not equal to --norc
n80 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
ahmetkapikiran has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
<AirStar> shevy: help me
<shevy>
<AirStar> i can’t say in the channel.
<shevy>
did you guys ban him
jottr_ has joined #ruby
Mohan_ has quit [Ping timeout: 272 seconds]
Timba-as has joined #ruby
aryaching has joined #ruby
HayesHimself has quit [Ping timeout: 245 seconds]
gagrio_ has joined #ruby
<shevy>
<AirStar> how can i do?
<shevy>
<AirStar> i want say in the channel.
<canton7>
you can see the ban list yourself
tubuliferous_ has quit [Ping timeout: 252 seconds]
<shevy>
you guys are so mean
bkxd has quit [Ping timeout: 272 seconds]
Ropeney has quit [Quit: Leaving...]
<wasamasa>
hmm, nothing in the ban list
<wasamasa>
unless it's just an ip-specific ban
joonty has joined #ruby
Cust0sL1men has joined #ruby
CloCkWeRX has left #ruby [#ruby]
chinmay_dd has quit [Ping timeout: 244 seconds]
mahmoudmahfouz has joined #ruby
<wasamasa>
[14:27:02] <AirStar> wasamasa: you can help me. i think that you are very kind
yfeldblum has quit [Ping timeout: 265 seconds]
<wasamasa>
jhass: I told him to speak to a chanop instead
xamut has quit [Quit: Connection closed for inactivity]
Stalkr^ has quit [Ping timeout: 245 seconds]
orionstein has joined #ruby
astrobunny has joined #ruby
bMalum has joined #ruby
scripore has joined #ruby
astrobunny has quit [Remote host closed the connection]
scripore has quit [Client Quit]
kobain has joined #ruby
symbol has joined #ruby
`sicks has joined #ruby
`sicks has quit [Client Quit]
astrobunny has joined #ruby
scripore has joined #ruby
allcentury has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
apurcell has joined #ruby
Igorshp has quit [Remote host closed the connection]
failshell has joined #ruby
Igorshp has joined #ruby
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
DynamicMetaFlow has joined #ruby
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Riko_Forever has joined #ruby
Guest1421 has joined #ruby
Riko_Forever has quit [Client Quit]
scripore has quit [Client Quit]
astrobunny has quit [Remote host closed the connection]
`sicks has joined #ruby
`sicks has quit [Remote host closed the connection]
gambl0re has joined #ruby
apurcell has quit [Ping timeout: 246 seconds]
workmad3 has joined #ruby
aryaching has quit [Ping timeout: 264 seconds]
jottr_ has quit [Ping timeout: 264 seconds]
<maxmanders>
Anybody using the latest aws-sdk Gem with SQS?
<maxmanders>
I've installed the latest 'aws-sdk' Ruby gem, and reviewing the docs there should be an Aws::SQS::QueuePoller object - but that doesn't appear to exist, and Pry only lists Client, Resource but not QueuePoller as a class of Aws::SQS (http://docs.aws.amazon.com/sdkforruby/api/)
AlphaAtom has joined #ruby
Cust0sL1men has quit [Ping timeout: 276 seconds]
JDiPierro has quit [Remote host closed the connection]
<havenwood>
ls Aws::SQS #=> constants: Client Errors QueuePoller Resource
<ruboto>
crumb, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
jobewan has quit [Client Quit]
imanzarrabian has joined #ruby
mary5030 has joined #ruby
qwertme has joined #ruby
jobewan has joined #ruby
<havenwood>
crumb: You're missing a dependency: Cannot find krb5 library
centrx has joined #ruby
jobewan has quit [Client Quit]
<crumb>
there's no krb5 library for my distro
<adaedra>
there should be
<adaedra>
what distro?
<crumb>
slackware
jobewan has joined #ruby
scripore has quit [Client Quit]
<crumb>
the only thing i see is.. rpcsec_gss_krb5.ko
<crumb>
in the kernel modules
<centrx>
maybe it needs to be installed
<adaedra>
crumb: look for kerberos or heimdal in your package manager
Mohan_ has quit [Ping timeout: 256 seconds]
<crumb>
alright guys, thanks
<crumb>
looks like i'll have to build it
arup_r has quit [Remote host closed the connection]
<adaedra>
Well, I thinks Gem::Platform.local has more than .os, does it?
<tek0011>
hey all - how can I remove the addition duplicate from this output? Feel free to change the regex around however. Or maybe I dont even need it there - https://gist.github.com/tek0011/20935a7109821e3b3c5b
AlphaAtom has joined #ruby
<adaedra>
"I thinks" – adaedra, learn2english
asmodlol has quit [Ping timeout: 250 seconds]
<havenwood>
adaedra: My sentences are mutable and can change state midway through their utterance.
rgb-one has joined #ruby
hanmac1 has quit [Quit: Leaving.]
<havenwood>
Unfortunately...
<adaedra>
?
<shevy>
I thinks le baguette
<adaedra>
hon hon.
<adaedra>
I think you ran out of stereotypes, shevy
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mikecmpbll>
i'm getting intermittent "getaddrinfo: Name or service not known" and i've no clue how to debug it. it's happening in various apps on a couple of different endpoints, but always to other VPSs that we own
<mikecmpbll>
happens for net/scp and net/http
chinmay_dd has joined #ruby
<mikecmpbll>
mind you, it's most likely nothing to do with ruby but fml, it's annoying.
asmodlol has quit [Ping timeout: 256 seconds]
Timba-as has quit [Quit: Be back later ...]
rahult has joined #ruby
<crumb>
how do i pass include/lib paths when running gem install?
pandaant has quit [Remote host closed the connection]
<crumb>
i need to tell gem install where to find krb5_auth-dir
serivich has joined #ruby
scripore has joined #ruby
qwertme has joined #ruby
bkxd has joined #ruby
scripore has quit [Client Quit]
arturaz has quit [Ping timeout: 252 seconds]
<xxneolithicxx>
mikecmpbll: if its linux servers make sure you have /etc/resolv.conf, /etc/hosts, and /etc/hostname or the hostname in the network config files set right depending on distro
rahult is now known as rahult_
quimrstorres has quit [Read error: Connection reset by peer]
nucatus has quit []
quimrstorres has joined #ruby
juanpaucar has quit [Remote host closed the connection]
tjohnson has joined #ruby
nobitanobi has joined #ruby
<crumb>
anyone?
mitchellhenke has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
dfinninger has joined #ruby
riotjones has joined #ruby
serivichi has quit [Ping timeout: 255 seconds]
AlphaAtom has joined #ruby
<tek0011>
gluck crumb. bit dead this morning. been asking for about 45 mins now :)
JDiPierro has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
Sawbones has joined #ruby
leafybas_ has joined #ruby
doodlehaus has joined #ruby
startupality has quit [Read error: Connection reset by peer]
juanpablo_ has quit [Ping timeout: 250 seconds]
sinkensabe has quit [Remote host closed the connection]
startupality has joined #ruby
AlphaAtom has quit [Ping timeout: 252 seconds]
leafybasil has quit [Ping timeout: 252 seconds]
shortdudey123 has joined #ruby
kblake has joined #ruby
tvw has quit [Remote host closed the connection]
freerobby has quit [Read error: No route to host]
freerobby has joined #ruby
segfalt_ has joined #ruby
AlphaAtom has joined #ruby
segfalt has quit [Ping timeout: 246 seconds]
segfalt_ is now known as segfalt
rbennacer has quit []
ki0_ has joined #ruby
banister has quit [Ping timeout: 265 seconds]
towski_ has joined #ruby
bollullera has quit [Quit: Leaving.]
failshell has quit [Remote host closed the connection]
Timba-as has quit [Quit: Be back later ...]
SouL_|_ has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
ki0 has quit [Ping timeout: 256 seconds]
alex88__ has quit []
ItSANgo has quit [Ping timeout: 276 seconds]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ki0_ has quit [Remote host closed the connection]
ItSANgo__ has joined #ruby
ki0 has joined #ruby
segfalt has quit [Quit: segfalt]
umgrosscol has quit [Quit: Quit]
Dopagod has quit [Ping timeout: 276 seconds]
maletor has joined #ruby
bricker has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
allcentury has joined #ruby
MXfive has quit [Remote host closed the connection]
shredding has quit [Ping timeout: 240 seconds]
mistermocha has joined #ruby
rkazak has quit [Ping timeout: 244 seconds]
jimms has joined #ruby
jespada has joined #ruby
charliesome has quit [Quit: zzz]
MXfive has joined #ruby
JDiPierro has joined #ruby
shuber_ has joined #ruby
DaniG2k has quit [Ping timeout: 272 seconds]
nobitanobi has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
startupality has quit [Quit: startupality]
thirdknife has joined #ruby
ag4ve_ has joined #ruby
ki0_ has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
tus has joined #ruby
shuber_ has quit [Ping timeout: 255 seconds]
kyrylo_ has joined #ruby
thirdknife has quit [Client Quit]
Guest1421 has quit [Ping timeout: 276 seconds]
startupality has joined #ruby
ki0 has quit [Ping timeout: 255 seconds]
asmodlol has joined #ruby
kyrylo has quit [Ping timeout: 245 seconds]
neohunter has joined #ruby
parduse has quit []
<neohunter>
ruby has any way to get params from a each without defining it on the block?
<neohunter>
something like
ki0_ has quit [Ping timeout: 256 seconds]
<neohunter>
x.map{ $1 - $2 } would equal to x.map{|a,b| a - b }
DaniG2k has joined #ruby
finisherr has joined #ruby
edwinvdg_ has quit [Ping timeout: 256 seconds]
DaniG2k has quit [Client Quit]
<hanmac>
neohunter: nope
lidenskap has quit [Remote host closed the connection]
kenneth has joined #ruby
<mozzarella>
why would you want that
diegoaguilar has joined #ruby
<neohunter>
beacuse i use simple and small blocks too often
<shevy>
neohunter $1 and $1 are already reserved variable names
<shevy>
$2
<neohunter>
and would be nice if can avoid writing |x|
<neohunter>
yes, was just an exmaple. could be $P1
<neohunter>
or %1%
<neohunter>
or whatever
baweaver has joined #ruby
<neohunter>
the point is avoid defining |x,y,z|
<shevy>
you might be able to do this through yield; block_given?; and one of the *eval*
<eam>
it'd be nice if ruby had an implicit |*_| for every block
asmodlol has quit [Ping timeout: 245 seconds]
<neohunter>
eam yes
<shevy>
you can avoid the {} in simple cases such as array.map(&:sort)
<finisherr>
So, i searched in the Ruby documentation and discovere a method called OpenURI that I want to use. Unfortunately the documentation makes no mention of what file is required in order to use the method. What's the best way to figure out what files you need to require to use the objects listed in the documentation?
<shevy>
crystal also allows arguments to these methods, so perhaps ruby will follow suit
<neohunter>
yes, &:method is very helpful but sometimes you still need to define the |x| for really simple things
<shevy>
finisherr I think this is require 'open-uri'
<neohunter>
i think it would be amazing if you could avoid the |x| and just use something like { $p1 }
<shevy>
neohunter it would be nice to be able to avoid giving it a specific name and instead use some predetermine default
<eam>
you wouldn't want $ though, globals are a poor choice
<shevy>
I would not really want $ though
asmodlol has joined #ruby
finisherr has quit [Remote host closed the connection]
vtunka has quit [Quit: Leaving]
cassianoleal has joined #ruby
<shevy>
something like... Block[0] or so... or Block.first ... hmmmmm
michaeldeol has joined #ruby
finisherr has joined #ruby
<neohunter>
shevy: yes I agree, i dont want globals, was just an example,
Pumukel has quit [Ping timeout: 265 seconds]
<neohunter>
it could be p1 p2 p3
<shevy>
it would have to be something that is local to the given {} block
<neohunter>
or _p1
<shevy>
p1 would be a local variable right?
<neohunter>
yes
<neohunter>
created inside the block if no |params| are supplied
<neohunter>
for example
andikr has quit [Remote host closed the connection]
<shevy>
you'd also need to have a way to determine how many |params| are used right?
<adaedra>
the problem is that it creates unclear names and is the open door to badly named variables names
<shevy>
or will it be 100000 params
airdisa has quit [Remote host closed the connection]
<eam>
shevy: nah just use splat
<shevy>
hmm
Mohan_ has quit [Ping timeout: 256 seconds]
<shevy>
ok but then we can not use his example of p1 p2 p3 or?
<finisherr>
shevy: How'd you find that? Google or is there a standard way?
<finisherr>
for finding the right file to require that is
airdisa has joined #ruby
<adaedra>
I agree it's clearer for things like { |a, b| a + b }, but what would stop you from using such simple names in longer blocks?
<shevy>
finisherr not sure, but if you require open uri, you get the method called open() for free; pass it an URL to a remote page, that should download it
centrx has quit [Quit: Shutting down, Please wait...]
<shevy>
finisherr I did use open-uri a few times before when I had to parse a remote webpage
<neohunter>
adaedra that justs a decision that programmer should take
<neohunter>
adaedra if i want to use longer I would preffer more explicit names
<adaedra>
yes, it is
<shevy>
neohunter ok wait a moment... how is the parser able to find that out, that looks like local variables, or it could be a local variable outside in the method
quesker has quit [Ping timeout: 244 seconds]
ltd has quit [Ping timeout: 244 seconds]
<adaedra>
but it makes it too easy to have bad practice here
Mohan has joined #ruby
<adaedra>
I'd prefer stricter syntax
avalarion has joined #ruby
<finisherr>
shevy: That's cool, but is there no documetation of where to find the files to require? It's great that I have a lot at my disposal in the stdlib, but if I can't find the files that what's the use right?
<adaedra>
(That's personal though – just putting this here)
hanmac has quit [Ping timeout: 244 seconds]
spacemud has quit [Ping timeout: 244 seconds]
SirFunk has quit [Ping timeout: 244 seconds]
shreknet has quit [Ping timeout: 244 seconds]
<neohunter>
well, actually regex are creating variable for match results.
Mohan is now known as Guest28328
<finisherr>
just trying to figure out how people find em
<shevy>
I am fine with a way to use block-variables without having to specify them. I just don't like the suggestions so far through global variables or p2 p3 p55555 :D
<shevy>
yes
<shevy>
$1 $2 $3
<neohunter>
exactly
<shevy>
volatile global variables
ldnunes has quit [Ping timeout: 244 seconds]
kq_away has quit [Ping timeout: 244 seconds]
asuka has quit [Ping timeout: 244 seconds]
russt has quit [Ping timeout: 244 seconds]
<neohunter>
so why dont allow blocs to define $1 $2 $3 also? (althought i dont like the fact htat are global variable
startupality has quit [Quit: startupality]
<shevy>
I call them the big cheaters
<neohunter>
or maybe $p1 ?
<shevy>
no, $1 is already reserved for regex
<neohunter>
no no no global vars
<shevy>
finisherr I think it used to be an example in the pickaxe book
startupality has joined #ruby
<eam>
neohunter: in perl _ is used, ruby ought probably do the same
quesker has joined #ruby
<shevy>
my beloved _ !!!!
<shevy>
do not steal it from me!!!!!!!
ltd has joined #ruby
<shevy>
I use it because it has no name for me
<shevy>
_ = ''
<finisherr>
shevy: So, i guess you either have a book or look in the source code
<GaryOak_>
havenwood: well this doesn't help anything :P
Sawbones has joined #ruby
<GaryOak_>
he should do almost rails
codecop has joined #ruby
thirdknife has quit [Ping timeout: 252 seconds]
<havenwood>
GaryOak_: That's plain ole Sinatra. :P
Igorshp has quit [Remote host closed the connection]
Mohan_ has quit [Ping timeout: 264 seconds]
edwinvdgraaf has joined #ruby
<GaryOak_>
almost-sinatra?
failshel_ is now known as failshell
Mohan_ has joined #ruby
withnale_ has quit [Ping timeout: 272 seconds]
symbol has joined #ruby
Leef_ has quit [Quit: Leaving]
<havenwood>
GaryOak_: WEBrick ships with Ruby (a Rack webserver) so almost-rack works with it and you can write your apps with almost-sinatra (a Rack adapter).
thirdknife has joined #ruby
yqt has joined #ruby
<havenwood>
GaryOak_: So you're just missing Rack middleware and some niceties. ^
<GaryOak_>
I just never understood the whole multiple modes of starting your app, one is self-contained, and one can be created?
<GaryOak_>
like MyClassyApp < Sinatra::Base is callable?
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<GaryOak_>
but if you do like Sinatra { some web stuff } that's self contained?
<GaryOak_>
am I understanding that correctly?
asmodlol has quit [Ping timeout: 246 seconds]
kenneth has joined #ruby
<havenwood>
GaryOak_: Sinatra has a few Sinatra-specific ways of doing things. They don't have to have more than one way, they just do.
qwertme has joined #ruby
<havenwood>
GaryOak_: I'd suggest making a plain vanilla Rack app, just to see what it's about.
endash has joined #ruby
<GaryOak_>
I will go do that
<havenwood>
GaryOak_: Then you can see what Sinatra adds on top, or I'd suggest taking a look at Roda since it's fantastic.
Rickmasta has joined #ruby
<GaryOak_>
But how does something like Thin, or Puma fit into that?
<havenwood>
GaryOak_: Rack webserver (Unicorn Rainbows! Thin Puma Passenger Reel-Rack or default WEBrick) -> Rack and optional Rack Middleware -> optional Rack adapter (Rails Roda Cuba Lotus Sinatra Padrino NYNY Hobbit Ramaze Camping Scorched Etc)
<GaryOak_>
Whoa ok
<havenwood>
GaryOak_: So the bare minimum is a Rack app served up by WEBrick. The rest is optional.
<GaryOak_>
Okey dokey
<havenwood>
GaryOak_: The switch from WEBrick to Puma or Thin is as simple as a gem install. So that's a no-brainer, and there are other plug and play Rack webserver options so that's handy.
<havenwood>
GaryOak_: Rack middleware can handle stuff before it gets to your app. There are a variety of options from handling security to auth to changing headers, etc.
<GaryOak_>
gotcha that makes sense
tjbiddle has joined #ruby
rgb-one has quit [Ping timeout: 250 seconds]
msgodf has quit [Ping timeout: 240 seconds]
<GaryOak_>
And people sometimes put Apache/Nginx in front of the Ruby webserver?
pdoherty has joined #ruby
m8 has joined #ruby
<havenwood>
GaryOak_: It's not flat out required but it's really quite common to reverse proxy to your Rack webserver from Apache or Nginx.
<GaryOak_>
Is that so you can have multiple Ruby apps running to serve requests?
<havenwood>
GaryOak_: Various reasons including load balancing, handling slow responses and serving static files more quickly.
<GaryOak_>
Oh ok cool
<ninjs>
Can I create a json-esque object in ruby?
peterhu has quit [Ping timeout: 256 seconds]
shortdudey123 has quit [Max SendQ exceeded]
vikaton has quit []
shortdudey123 has joined #ruby
peterhu has joined #ruby
<GaryOak_>
havenwood: thanks for helping me understand better :)
thoffmeyer has joined #ruby
musl has joined #ruby
thoffmeyer has quit [Changing host]
thoffmeyer has joined #ruby
Mohan_ has quit [Ping timeout: 240 seconds]
<havenwood>
ninjs: JSON is in the stdlib: require 'json
dfinninger has quit [Remote host closed the connection]
<havenwood>
rather: require 'json'
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mhoungbo has joined #ruby
shuber_ has quit [Remote host closed the connection]
thoffmeyer has quit [Client Quit]
alexclarkofficia has joined #ruby
thoffmeyer has joined #ruby
thirdknife has quit [Ping timeout: 240 seconds]
parduse has joined #ruby
<havenwood>
GaryOak_: Serving static files is just going to be faster reverse proxying. But often it's fast enough without it. Certain Rack webservers like Unicorn can't handle slow clients. But you can use Unicorn with Rainbows! for both load balancing and slow clients, etc. So often a simpler Ruby webserver can be used when reverse proxying.
Mohan_ has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sawbones has quit [Remote host closed the connection]
quimrstorres has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Remote host closed the connection]
<havenwood>
GaryOak_: For handling concurrent requests Puma uses threading, Unicorn uses forking and Thin uses evented io, etc. So there are tradeoffs, but switching between them is quite simple until you have complicated conf files, and even then it's not too bad.
<drocsid>
how do I get each hash element, and try to accsess a particular key?
<marchtemp>
havenwood: bricker: thanks guys
<bricker>
drocsid: you're not doing anything wrong, your code is correct.
<kenichi>
drocsid: just puts inside the block
<drocsid>
I can't get it to print the darn console urls
<GaryOak_>
drocsid: try each_pair
<drocsid>
nevermind
<drocsid>
I'm dumb
<drocsid>
doing it in irb
<drocsid>
yeah
<bricker>
drocsid: what was it
Mohan_ has joined #ruby
<drocsid>
I think I get what you're telling me now
<drocsid>
each finally returns the array
<drocsid>
thanks
<drocsid>
sorry
<GaryOak_>
It's cool! :)
<drocsid>
beginner mistake
rawrmonstar has joined #ruby
juanpablo_ has quit [Quit: (null)]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
juanpablo_ has joined #ruby
Musashi007 has quit [Quit: Musashi007]
_djbkd has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
_seanc_ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
_djbkd has joined #ruby
thatslifeson has joined #ruby
User458764 has joined #ruby
<kinkun>
so is there a haskell codeschool?
workmad3 has quit [Ping timeout: 256 seconds]
<havenwood>
kinkun: Or look at another functional language like Elixir or Clojure.
scripore has joined #ruby
garethrees has joined #ruby
kstuart_ has joined #ruby
matled- has joined #ruby
jenrzzz has joined #ruby
RandyT has quit [Ping timeout: 265 seconds]
<dudedudeman>
crystal lang!
banister has joined #ruby
banister has quit [Max SendQ exceeded]
crus` has joined #ruby
RandyT has joined #ruby
ki0_ has joined #ruby
endash_ has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
mahlon_ has joined #ruby
User458764 has quit [*.net *.split]
juanpablo_ has quit [*.net *.split]
penzur has quit [*.net *.split]
antgel has quit [*.net *.split]
parduse has quit [*.net *.split]
freerobby has quit [*.net *.split]
Sembei has quit [*.net *.split]
Rollabun_ has quit [*.net *.split]
luksaur has quit [*.net *.split]
zotherstupidguy has quit [*.net *.split]
ebonics has quit [*.net *.split]
lsmola_ has quit [*.net *.split]
Lildirt has quit [*.net *.split]
rikai has quit [*.net *.split]
nickjj has quit [*.net *.split]
djbkd has quit [*.net *.split]
Vile` has quit [*.net *.split]
BTRE has quit [*.net *.split]
freeze has quit [*.net *.split]
Raverix has quit [*.net *.split]
WildBamboo-Josh has quit [*.net *.split]
scottstamp has quit [*.net *.split]
Kharma has quit [*.net *.split]
mrsolow has quit [*.net *.split]
gmas has quit [*.net *.split]
marcellu1 has quit [*.net *.split]
drizz has quit [*.net *.split]
bennyklo1z has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
parus has quit [*.net *.split]
oddmunds has quit [*.net *.split]
QKO has quit [*.net *.split]
Kovensky has quit [*.net *.split]
scruple has quit [*.net *.split]
_5moufl has quit [*.net *.split]
matu has quit [*.net *.split]
Morrolan has quit [*.net *.split]
cgrieger^away has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
javawizard has joined #ruby
<bricker>
lol
<bricker>
crystal is the opposite of the opposite of ruby
<kinkun>
i hear great things about haskell
nnnn has joined #ruby
<kinkun>
bricker: so it's the same as ruby?
<dudedudeman>
kinkun: what's your goal in learning haskell? full-time gig in it?
zel_ has joined #ruby
xxi has joined #ruby
najmi_ has joined #ruby
ada2358_ has joined #ruby
<bricker>
kinkun: basically
_ixti_ has joined #ruby
Exlee_ has joined #ruby
aphprentice has quit [Ping timeout: 244 seconds]
crus has quit [Ping timeout: 244 seconds]
warreng has quit [Ping timeout: 244 seconds]
cheesejondue has quit [Ping timeout: 244 seconds]
moted has quit [Ping timeout: 244 seconds]
xlii has quit [Ping timeout: 244 seconds]
endash has quit [Ping timeout: 244 seconds]
ixx has quit [Ping timeout: 244 seconds]
sash_ has quit [Ping timeout: 244 seconds]
ryotarai has quit [Ping timeout: 244 seconds]
jriese has quit [Ping timeout: 244 seconds]
nizmow has quit [Ping timeout: 244 seconds]
dwn has quit [Ping timeout: 244 seconds]
xnr has quit [Ping timeout: 244 seconds]
ada2358 has quit [Ping timeout: 244 seconds]
najmi has quit [Ping timeout: 244 seconds]
matled has quit [Ping timeout: 244 seconds]
csaunders has quit [Ping timeout: 244 seconds]
mahlon has quit [Ping timeout: 244 seconds]
mozzarella has quit [Ping timeout: 244 seconds]
soahccc has quit [Ping timeout: 244 seconds]
f0ster has quit [Ping timeout: 244 seconds]
nomadic_ has quit [Ping timeout: 244 seconds]
auraka has quit [Ping timeout: 244 seconds]
thefynx has quit [Ping timeout: 244 seconds]
jcp has quit [Read error: Connection reset by peer]
ki0 has quit [Ping timeout: 244 seconds]
neohunter has quit [Ping timeout: 244 seconds]
ixti has quit [Ping timeout: 244 seconds]
ghr has quit [Ping timeout: 244 seconds]
ph8 has quit [Ping timeout: 244 seconds]
valetudo has quit [Ping timeout: 244 seconds]
zenguy_pc has quit [Ping timeout: 244 seconds]
nug has joined #ruby
camt has joined #ruby
Synthead has quit [Ping timeout: 244 seconds]
valetudo has joined #ruby
sente has joined #ruby
Gnubie_ has joined #ruby
Gnubie__ has quit [Ping timeout: 244 seconds]
kstuart has quit [Ping timeout: 244 seconds]
inukshuk has quit [Ping timeout: 244 seconds]
sente has quit [Ping timeout: 244 seconds]
Sthebig has quit [Ping timeout: 244 seconds]
drzel has quit [Ping timeout: 244 seconds]
nug has quit [Ping timeout: 244 seconds]
kaspergrubbe has quit [Ping timeout: 244 seconds]
EnergyCoffee has quit [Ping timeout: 244 seconds]
picasso has quit [Ping timeout: 244 seconds]
wilornel has quit [Ping timeout: 244 seconds]
camt has quit [Ping timeout: 244 seconds]
Sthebig_ has joined #ruby
matled- is now known as matled
endash_ is now known as endash
<kinkun>
my goal is to become a great programmer by learning different language paradigms
EnergyCoffee_ has joined #ruby
EnergyCoffee_ has quit [Max SendQ exceeded]
auraka_ has joined #ruby
mozzarella has joined #ruby
jtdowney_ has quit []
nomadic has joined #ruby
sash_ has joined #ruby
<GaryOak_>
lol
Sthebig_ is now known as Sthebig
<bricker>
kinkun: good strategy
warreng has joined #ruby
ryotarai has joined #ruby
jtdowney has joined #ruby
User458764 has joined #ruby
penzur has joined #ruby
parduse has joined #ruby
Sembei has joined #ruby
freerobby has joined #ruby
Rollabun_ has joined #ruby
antgel has joined #ruby
luksaur has joined #ruby
zotherstupidguy has joined #ruby
ebonics has joined #ruby
lsmola_ has joined #ruby
Lildirt has joined #ruby
rikai has joined #ruby
nickjj has joined #ruby
djbkd has joined #ruby
Vile` has joined #ruby
BTRE has joined #ruby
freeze has joined #ruby
Raverix has joined #ruby
cgrieger^away has joined #ruby
mrsolow has joined #ruby
Kovensky has joined #ruby
scruple has joined #ruby
WildBamboo-Josh has joined #ruby
Morrolan has joined #ruby
matu has joined #ruby
oddmunds has joined #ruby
gmas has joined #ruby
drizz has joined #ruby
_5moufl has joined #ruby
QKO has joined #ruby
scottymeuk has joined #ruby
bennyklo1z has joined #ruby
marcellu1 has joined #ruby
parus has joined #ruby
Kharma has joined #ruby
scottstamp has joined #ruby
roger_rabbit has joined #ruby
nizmow has joined #ruby
wilornel has joined #ruby
<bricker>
kinkun: then you can become a good chef by learning good cooking techniques
Synthead has joined #ruby
kaspergrubbe has joined #ruby
<bricker>
and then you can become a great athlete by learning how to athlete
thefynx has joined #ruby
picasso has joined #ruby
xnr has joined #ruby
zenguy_pc has joined #ruby
jottr_ has joined #ruby
<kinkun>
bricker: chefs learn techniques and apply them
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
senya has joined #ruby
_djbkd has quit [Remote host closed the connection]
<GaryOak_>
"apply them"
<ytti>
being good chef is incredibly subjective
<wasamasa>
^
Sembei has quit [Max SendQ exceeded]
Vile` has quit [Max SendQ exceeded]
parduse has quit [Max SendQ exceeded]
ebonics has quit [Quit: Leaving]
ebonics_ has joined #ruby
ph8 has joined #ruby
<ytti>
the ones who matter or are in public eye are entirely PR related achievements
<wasamasa>
it's helpful to get new perspectives on things though and one of the easier approaches to this is learning a radically different language
ebonics_ is now known as ebonics
scripore has quit [Quit: This computer has gone to sleep]
<kinkun>
a programming language is like a kitchen, a library is like a grocery store and writing code is like chopping up useful bits of the library and your own code consists of combining different ingredients to make your own recipe
jriese has joined #ruby
<ytti>
you cannot discern in double-blind test which is best chef
<dudedudeman>
kinkun: forgive me for my vague question, but i guess i was just curious if you're coming at learning haskell from a beginner's standpoint, or as a mid or senior wanting to grow and challenge themselves
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
_mak has joined #ruby
scripore has joined #ruby
<havenwood>
dudedudeman: or to get a PhD ;)
csaunders has joined #ruby
Sembei has joined #ruby
jtdowney_ has joined #ruby
<dudedudeman>
havenwood: ugh, some of you people are just way too smart for me. #ineedtogetonyourlevel
jtdowney has quit [Read error: Connection reset by peer]
livathinos has quit []
soahccc has joined #ruby
aphprentice has joined #ruby
cjim_ has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
doodlehaus has joined #ruby
<kinkun>
dudedudeman: i am a beginner
RegulationD has joined #ruby
jtdowney_ is now known as jtdowney
ta has joined #ruby
<postmodern>
is there documentation on using elasticsearch with non-ActiveRecord ORMs?
<kinkun>
i am a terrible programmer, i'm so bad that you can't really call me a programmer
<havenwood>
dudedudeman: oh, I don't even know a lick of Haskell, just saying it seems to be a PhD factory lang!
scripore has quit [Client Quit]
<GaryOak_>
we can't just let unbridled enthusiasm for learning go without a few punches
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
parduse has joined #ruby
baweaver has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
Vile` has joined #ruby
<kinkun>
havenwood: why would you lick haskell?
_djbkd has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
cajone has joined #ruby
<dudedudeman>
i hear haskell likes to be liked. it's that kind of language...
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Soda has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
cajone1 has joined #ruby
<dudedudeman>
havenwood: ha, word. me neither. i can't even begin to think of what a PhD would mean for me, much less just getting a master. or.... for that matter, finishing my undegrad from a few years ago. :/
edwinvdgraaf has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
<kinkun>
could someone without a degree be as good as a phd if they did a lot of self study?
<GaryOak_>
yes
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
tjbiddle has joined #ruby
warreng has quit [Changing host]
warreng has joined #ruby
<drocsid>
If I open something with open-uri and parse it with JSON.parse, will the parsed content expire? When fooling around with irb, I seem to lose my content. Maybe I'm doing something else wrong...?
<GaryOak_>
again what does a "good ... phd" mean though
Jackneill has joined #ruby
awheeler_ has joined #ruby
<GaryOak_>
drocsid: I don't think you should be losing variables
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<kinkun>
GaryOak_: a good phd is someone that has the proficiency of the best phd candidates
<GaryOak_>
drocsid: it could be getting over written or not stored
Mohan_ has quit [Ping timeout: 255 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
cajone has quit [Ping timeout: 272 seconds]
awheeler_ is now known as machinewar
sinkensabe has joined #ruby
cajone1 has quit [Ping timeout: 244 seconds]
<GaryOak_>
kinkun: proficient in what?
edwinvdgraaf has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
Mohan_ has joined #ruby
<kinkun>
high level programming, low level, architectures, data structures, memory stacks, shell code, exploitation, networking, cryptology etc...
<ebonics>
personally im proficient in everything
<GaryOak_>
hahaha
<kinkun>
ebonics: you're not proficient, you're bruhficient
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<ebonics>
nah i'm actually just super duper profish
<kinkun>
you're just black
<ebonics>
not sure if racist
<ebonics>
but no im not black
juanpablo_ has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
A205B064 has joined #ruby
CustosLimen has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
<ebonics>
btw kinkun phds are typically highly specialized
<dudedudeman>
:-X
<ebonics>
you probably couldnt find someone with all thsoe skills
tectonic has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<ebonics>
well they could have those skills but they wouldnt be level phd in them
casadei_ has quit [Remote host closed the connection]
<kinkun>
i know web programming, i'm getting into doing security audits for web sites... "hacking" of sorts
<kinkun>
for web apps
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tectonic has quit [Max SendQ exceeded]
<ebonics>
that's my job!
<kinkun>
i do have a ccnp certificate
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<ebonics>
i have no certificates
goodcodeguy has joined #ruby
<kinkun>
whatever that's worth
<ebonics>
just a degree in marketing
spider-mario has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
machinewar is now known as johnjohnjohn
johnjohnjohn is now known as aaaaaaaa
aaaaaaaa is now known as adfasfasdfa
auraka_ is now known as auraka
jottr_ has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
sinkensabe has joined #ruby
<ebonics>
kinkun, i suggest you get profish with linux
<ebonics>
it's not about programming as much as it is system administration
sinkensabe has quit [Remote host closed the connection]
thatslif_ has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<ebonics>
unless you wanna be level phd and start crafting your own tools for pentesting
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
AlphaAtom has quit [Ping timeout: 265 seconds]
adfasfasdfa is now known as awheeler_
davedev2_ has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
davedev24_ has quit [Read error: Connection reset by peer]
jottr_ has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
nfk has quit [Quit: yawn]
thatslifeson has quit [Ping timeout: 264 seconds]
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<GaryOak_>
that will only take a couple days
spider-mario has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<baweaver>
ebonics: I craft my own tools for pen testing, and I definitely don't have a PhD
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
davedev2_ has quit [Read error: Connection reset by peer]
<ebonics>
baweaver, i was being hyperbolic
awheeler_ has quit [Ping timeout: 264 seconds]
<baweaver>
just mentioning it
<eam>
I tend to just use the back of an envelope
davedev24_ has joined #ruby
<ebonics>
everyone who's anyone in sec crafts their "own tools"
Mohan_ has quit [Ping timeout: 256 seconds]
<baweaver>
but granted, it's very difficult to do so without knowing the system
<ebonics>
but reinventing the wheel because you suck with linux is trashcan
<baweaver>
pretty much
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
_mak has left #ruby [".."]
symbol has quit [Quit: WeeChat 1.1]
<baweaver>
I had a set of custom wifi tools when I was working at a WISP for doing all forms of testing on antennas
casadei_ has joined #ruby
cajone has joined #ruby
<baweaver>
Though I still tended to use Kismet / Aircrack / Wireshark frequently
Mohan has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
<baweaver>
some scenarios just weren't covered.
Mohan is now known as Guest82137
baweaver has quit [Remote host closed the connection]
swgillespie has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
Mezjin has joined #ruby
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Hijiri has joined #ruby
Guest1421 has quit [Ping timeout: 265 seconds]
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
sinkensabe has joined #ruby
danman has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
sinkensabe has quit [Remote host closed the connection]
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
kinkun has quit [Ping timeout: 246 seconds]
simpyll has joined #ruby
EnergyCoffee has joined #ruby
EnergyCoffee has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
EnergyCoffee has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
last_staff has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
edwinvdgraaf has joined #ruby
sinkensabe has joined #ruby
glcx has quit [Ping timeout: 256 seconds]
last_staff has quit [Client Quit]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roolo has joined #ruby
glcx has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
Musashi007 has joined #ruby
Guest82137 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
jottr_ has quit [Read error: Connection reset by peer]
diegoaguilar has joined #ruby
Musashi007 has quit [Client Quit]
jackjackdripper has quit [Quit: Leaving.]
Mohan_ has joined #ruby
yalue has quit [Read error: Connection reset by peer]
Guest1421 has joined #ruby
scripore has joined #ruby
rawrmonstar has joined #ruby
jenrzzz has joined #ruby
cajone has quit [Remote host closed the connection]
cajone has joined #ruby
tcrypt has joined #ruby
poguez_ has joined #ruby
edwinvdgraaf has quit []
phutchins has quit [Ping timeout: 245 seconds]
thatslif_ has quit [Remote host closed the connection]
j_mcnally has joined #ruby
thebastl has quit [Remote host closed the connection]
konsolebox has quit [Remote host closed the connection]
dvlwrk has quit [Ping timeout: 246 seconds]
edwinvdgraaf has joined #ruby
n008f4g_ has joined #ruby
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
garethrees has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
slash_nick has joined #ruby
jerius has joined #ruby
iamjarvo has joined #ruby
qwertme has joined #ruby
<tek0011>
Is there a service where I can pay someone to mentor with me on Ruby stuff?
rawrmonstar has joined #ruby
thoffmeyer has quit [Quit: Leaving]
workmad3 has joined #ruby
jenrzzz has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Igorshp has joined #ruby
jackjackdripper has joined #ruby
Kricir has quit [Remote host closed the connection]
Kricir has joined #ruby
ghr has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<cek>
Hi there. How do I tell JSON.dump to encode with ASCII-8BIT ? Currently getting: /lib/json/common.rb:223:in `encode': "\x80" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
edwinvdgraaf has quit [Remote host closed the connection]
jimms has joined #ruby
<havenwood>
tek0011: You can get help here for free and maybe find someone to do some one on one paid mentoring time with in the process.
User458764 has quit [Client Quit]
Igorshp has quit [Remote host closed the connection]
jimms has quit [Remote host closed the connection]
Guest1421 has quit [Ping timeout: 264 seconds]
airdisa has quit [Remote host closed the connection]
Guest1421 has joined #ruby
edwinvdgraaf has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<weaksauce>
tek0011 haven't tried it out but https://www.codementor.io/ is one such service. airpair is another.
freerobby has quit [Quit: Leaving.]
<havenwood>
weaksauce: nice, some good folk on there! i hadn't heard of that somehow.
<fmcgeough>
tek0011: there are various bootcamp type places all over the country. There are training companies that are pretty good too that aren’t as long as a bootcamp. Big Nerd Ranch here in Atlanta is one. but they are all over. check with local user group.
wwwBUKOLAYcom has joined #ruby
Mon_Ouie has joined #ruby
<weaksauce>
most definitely havenwood, legit expert help there
wwwBUKOLAYcom has quit [Killed (Sigyn (Spam is off topic on freenode.))]
jenrzzz has joined #ruby
malcolmva has quit [Ping timeout: 256 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
<dudedudeman>
weaksauce: i was away from irc over teh weekend, but i wanted to tahnk you for your help over the weekend. i got where i was wanting to go with the app, error messages and all, and did some stuff to display them in a list on my view pages. i appreciate you being patient with me!
m8 has quit [Quit: Sto andando via]
dEPy has quit [Quit: (null)]
glcx has quit [Ping timeout: 246 seconds]
Hijiri has quit [Ping timeout: 272 seconds]
<weaksauce>
dudedudeman awesome!
glcx has joined #ruby
<dudedudeman>
i came back after lunch and clearing my mind, sat down and mashed a few buttons, and then it was off to the races
<dudedudeman>
i don't know if you have my github still, but you could see the progress if you wanted
riotjones has quit [Read error: Connection timed out]
segfalt has quit [Ping timeout: 252 seconds]
lele is now known as Guest24
<weaksauce>
I just pulled it
riotjones has joined #ruby
ddarkpassenger has quit [Ping timeout: 255 seconds]
jimms has joined #ruby
<dudedudeman>
cool!
bigmac has joined #ruby
frem has joined #ruby
ddarkpassenger has joined #ruby
rawrmonstar has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<weaksauce>
dudedudeman one thing you can get for free is to use something like foundation or bootstrap.
<weaksauce>
would make the general typography and table choices look nicer
qwertme has joined #ruby
<weaksauce>
but functionality wise it looks like you made some great progress
<dudedudeman>
yeah, that's my next step. if you look in my public folder you'll see i snagged the items for bootstrap, i just haven't done anything with it
rdark has quit [Quit: leaving]
Hijiri has joined #ruby
<cek>
Hi there. How do I tell JSON.dump to encode with ASCII-8BIT ? Currently getting: /lib/json/common.rb:223:in `encode': "\x80" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
alvaro_o has quit [Quit: Ex-Chat]
snockerton has quit [Quit: Leaving.]
<dudedudeman>
thanks! i seriously appreciate that. it's like, i'll hit one or two things that hang me up and i'll hit a wall. but, once i've conquered those, its like i've learned so many more things than just what i was hung up on and i can apply it all
quimrstorres has joined #ruby
ag4ve_ has quit [Ping timeout: 248 seconds]
eat_multi has joined #ruby
rawrmonstar has joined #ruby
harleypig has joined #ruby
quimrstorres has quit [Remote host closed the connection]
snockerton has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 240 seconds]
<harleypig>
When I try to install a gem, or a vagrant plugin, and an extension needs to be compiled, extconf.rb is calling 'make -j5' ... my vps has only one cpu available to it and it's killing my vbox. How can I make extconf.rb use make -j $((nproc+1))?
<apeiros>
I think I already told you that JSON is always utf-8.
<cek>
you didn't. Why is it always utf8?
<cek>
where in the code is it?
<apeiros>
22:27 apeiros: JSON is always utf-8. no exceptions.
<apeiros>
oops, yes, I did.
<apeiros>
it's not just in the code. it's in the json spec.
<cek>
and why the code with comment above doesn't set default encoding?
<apeiros>
because the encoding comment must be the first
<cek>
i didn't know it's utf8 by standard
<cek>
that changes the situation. Now how do I deal with malicious non-utf input?
Filete has joined #ruby
Kricir has joined #ruby
<apeiros>
no idea
<cek>
thanks
banister has joined #ruby
gambl0re has quit [Ping timeout: 272 seconds]
mengu has joined #ruby
_djbkd has joined #ruby
Papierkorb_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Livian has joined #ruby
DexterLB has quit [Quit: So long and thanks for all the fish]
ki0_ has quit [Remote host closed the connection]
mwlang has joined #ruby
Papierkorb has quit [Read error: Connection reset by peer]
<Eiam>
whats the difference between Byebug & Pry?
iasoon has joined #ruby
iamjarvo has joined #ruby
ki0 has joined #ruby
colorados has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
<cek>
it appears it's not just utf8, but rather unicode only
ki0 has quit [Read error: Connection reset by peer]
DexterLB has joined #ruby
wallerdev has quit [Quit: wallerdev]
ki0 has joined #ruby
<Livian>
Hey. I'm a previous C & C++ programmer interested in getting my hands on Ruby and also Ruby on Rails. How big will the jump be you guys think? Also if I got it correct, you don't have to be an expert in Ruby in order to be an expert in RoR? Is there any specific level you have to reach in Ruby to start with Rails or how's it?
Kricir has quit [Ping timeout: 252 seconds]
<mwlang>
how do I examine what tags rspec was invoked with? I need to detect and do some optional setup/teardown in the config.before(:suite) do; end block
AlphaAtom has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
baweaver has joined #ruby
Soda has joined #ruby
phutchins has joined #ruby
AlphaAtom has joined #ruby
quimrsto_ has joined #ruby
<mwlang>
Livian: the jump is kind of big for C/C++ and Java programmers, esp. if its your first interpreted language.
slash_nick has quit [Ping timeout: 256 seconds]
AlphaAtom has quit [Max SendQ exceeded]
<apeiros>
Livian: there are indeed many who code rails with little ruby knowledge. but knowledge of ruby helps a lot.
AlphaAtom has joined #ruby
<mwlang>
Livian: the struggle is mostly about unlearning a bunch of habits that pay dividend in C/C++ and adopting new habits that pay big dividends in Ruby.
AlphaAtom has quit [Max SendQ exceeded]
bootstrappm has joined #ruby
quimrstorres has quit [Ping timeout: 264 seconds]
AlphaAtom has joined #ruby
<mwlang>
Livian: as for learning RoR without knowing Ruby, it’s doable and there’s so many “how-to’s” for accomplishing a task in Rails, that you can just about google, copy and paste your way to a completed Rails app without actually knowing what you’re doing.
baweaver has quit [Remote host closed the connection]
AlphaAtom has quit [Max SendQ exceeded]
Eiam_ has joined #ruby
AlphaAtom has joined #ruby
<cek>
Livian: i'd recommend starting with GoLang and a bottle of whiskey, then gradually progressing to JS and pure spirit
<Eiam_>
lol
<Eiam_>
I started with Ruby by taking over an existing RoR app
<Livian>
So, is there actually a good recommendation here or?
<cek>
as JS is the most popular server language nowadays
AlphaAtom has quit [Max SendQ exceeded]
wallerdev has joined #ruby
<bootstrappm>
Livian: I just showed up, what's the question?
AlphaAtom has joined #ruby
<apeiros>
Livian: learn ruby until you feel somewhat confident. then move on to ror.
KrzaQ has quit [Disconnected by services]
<apeiros>
Livian: hard to tell you something more specific as everybody learns differently.
<Eiam_>
Livian: I can share with you how I did it. I came to Rails (not ruby). I bought the book "The Ruby Programming Language", I ran into tons of shit that was "Rails" problems and not 'Ruby' problems, learned how to dig into it ti discover where my problems were ruby or rails, then I swore off Rails in the future and use Ruby when I can ;)
KrzaQ has joined #ruby
<Eiam_>
Rails is a huge toolkit bolted into Ruby
<Eiam_>
it brings a lot of magic to the table
leafybasil has joined #ruby
<Eiam_>
for me, there were many many things I simply didn't understand because Rails had Magic that made it work, but that magic was implicit knowledge of rails
<Eiam_>
(of which i did not have). It made learning *ruby* harder than it should have been.
<mwlang>
Livian: Similar to Eiam I started with Rails, then ditched rails altogether for almost 4 years, then returned to using Rails full time and enjoy Rails much better now that I actually understand Ruby and know how Rails works its so-called “magic"
<Eiam_>
maybe i'll complete the circle of life mwlang is on and go back to rails some day =)
<Eiam_>
I really <3 sinatra though, so clean & simple
baweaver has joined #ruby
phutchins has quit [Quit: WeeChat 1.1.1]
<baweaver>
I'd be careful about learning Rails before Ruby though
<baweaver>
makes for a mess
<Eiam_>
Livian: so put another way, Its certainly possible, thats how I came to ruby (C -> Obj-C -> JS -> Python -> Rails -> Ruby) (lol at Rails as part of the language chain), but It was not fun, it was frustrating.
<Eiam_>
but, its possible. =)
<baweaver>
I strongly suggest against it though
<mwlang>
Eiam_: haha. I acutally use Sinatra a lot, too. Right tool for the job and all that. If it’s Rails, Sinatra/Padrino, Goliath, Ramaze, or Roda
delianides has quit [Remote host closed the connection]
shuber_ has joined #ruby
<Radar>
shevy: AirStar is banned because he is obviously a troll.
<baweaver>
As a general rule of thumb I go by, never use a framework where you don't know the underlying language
<baweaver>
makes for hell in debugging
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
<Eiam_>
baweaver: god, so true. I also learned Javascript by Sproutcore first
<baweaver>
Radar: Either that or insufferably ignorany
<Eiam_>
so. painful.
<baweaver>
ignorant*
<Livian>
I don't see why you say it's a big jump. I went through few pages from Russell's books on Ruby and the language itself seem very easy.
<Livian>
You find other languages easy when you have been into C and C++ :p
<baweaver>
Think of it like Chess
<weaksauce>
Livian I don't see a problem with learning ruby as you go
<baweaver>
easy to learn, difficult to master
<weaksauce>
c is a lot harder than ruby
icarus_ has quit [Quit: leaving]
<weaksauce>
now good ruby is hard
<Livian>
weaksauce, C is easy compared to C++
<baweaver>
depends on your definition of hard
<Livian>
Yea, good code is hard in general of course.
shuber_ has quit [Remote host closed the connection]
<bootstrappm>
does C have introspection?
<bootstrappm>
, / metaprogramming
tcrypt has quit [Ping timeout: 255 seconds]
<bootstrappm>
because that's really the hardest thing conceptionally I've run into in ruby
<mwlang>
Livian: I only say “big jump” because I taught a few C/C++ developers Ruby and they’re the hardest to “untrain” as I like to say. Easier to train Python, PHP, and Perl programmers how to program in Ruby.
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nik_-_ has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nvll has joined #ruby
<baweaver>
Even though Ruby is heralded as an OO language, you're going to find the key paradigm in a lot of methods to be functional in nature.
bmurt has quit []
fmcgeough has quit [Quit: fmcgeough]
<baweaver>
Python is nicer on that edge in that it's not as functionally inspired
<weaksauce>
Livian pick up eloquent ruby and read that.
AlphaAtom has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
CloCkWeRX has joined #ruby
<baweaver>
Getting a grounding in Ruby won't take but a week or two for more experienced programmers
AlphaAtom has quit [Max SendQ exceeded]
Zai00 has joined #ruby
<baweaver>
but realize that it draws significant inspiration from Lisp and functional languages as well
shazaum_ has joined #ruby
shazaum has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
<cek>
ruby is not SMP ready
AlphaAtom has joined #ruby
<mwlang>
cek when will it be? :-)
AlphaAtom has quit [Max SendQ exceeded]
<cek>
in 2020
<Livian>
There are two books I'm between, Eloquent Ruby and The Ruby Way.
<cek>
then question arises , if you use jruby, why not just code in java
AlphaAtom has joined #ruby
swgillespie has joined #ruby
<weaksauce>
eloquent ruby is excellent. haven't read the ruby way but if you are at all a competent programmer you probably don't need a ruby language manual
<Hijiri>
maybe you like ruby more than java
yfeldblum has quit [Remote host closed the connection]
Eiam_ has quit [Read error: Connection reset by peer]
<Hijiri>
but it needs to run on jvm
JDiPierro has quit [Remote host closed the connection]
<Hijiri>
that is the point of every non-java jvm language
shuber_ has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
<weaksauce>
Livian are you ok with reading docs online for common libraries? that seems to be the bulk of the ruby way.
Eiam_ has joined #ruby
<cek>
yeah, that's why logstash guys picked jruby instead of mri - it wasn't giving them enough performance
<mwlang>
speaking to ruby flavors, is there a non-MRI variant that’s actually worth digging into? I just tried on a whim this weekend to build rubinius with rvm, but it failed and looks like a lot of folks are having trouble installing it right now on mac os.
quimrstorres has joined #ruby
pdoherty has joined #ruby
<ebonics>
is there an actual point to using rvm
yfeldblum has joined #ruby
shuber_ has quit [Remote host closed the connection]
<ebonics>
just build your own binaries, no?
<weaksauce>
Livian eloquent ruby is a smallish book that teaches you the common idioms of ruby and will be more useful imo if you can look up some documentation. it won't hold your hand on the basics of ruby syntax though. but ruby syntax is fairly easy.
<mwlang>
the only reason I’m wanting to look at non-MRI is for multi-threading performance improvements.
<Livian>
weaksauce, Yea I see I'm thinking of buying it.
<mwlang>
ebonics: I could do that, too.
<Livian>
weaksauce, But it's from 2011.
<mwlang>
but I do like rvm…easier to switch rubies on a project and experiment.
shuber_ has joined #ruby
<ebonics>
i just keep the most up to date version of ruby installed
<weaksauce>
Livian the language hasn't evolved much since then really
quimrsto_ has quit [Ping timeout: 250 seconds]
<havenwood>
mwlang: You could try the brew tap for rbx: brew tap rubinius/apps && brew install rubinius
<havenwood>
mwlang: JRuby is worth looking into for sure.
<weaksauce>
Livian it's the only programming book I actually enjoyed reading and actually read cover to cover in recent memory probably ever
rodfersou has quit [Ping timeout: 250 seconds]
_seanc_ has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Eiam_>
ebonics: chruby ?
shuber_ has quit [Remote host closed the connection]
<Eiam_>
havenwood: why are people pimping that language here ?
<Eiam_>
(does it have some relevance to ruby? I've seen in a few times and don't have the backstory)
<havenwood>
Eiam_: Its compiler was written in Ruby before it was bootstrapped to Crystal.
<Eiam_>
I mean if yo uwere going to hop into an un-released language, why not Rust
<havenwood>
Eiam: Rust's compiler isn't written in Ruby. :P
<Eiam_>
havenwood: sure.. but what the compiler is written in doesn't seem of any particular relevance unless you plan on modifying the compiler
<Eiam_>
I mean.. Ruby is written in C, no?
<Eiam_>
doesn't mean its a compelling choice for C programmers just cause its written in C?
livathinos has quit []
shuber_ has joined #ruby
<havenwood>
Eiam: Well, if you want to hack on core Ruby you're in C.
<dudedudeman>
your mom hacked my core rubies
Sawbones has quit [Remote host closed the connection]
<Eiam_>
havenwood: right
snockerton has quit [Quit: Leaving.]
<havenwood>
Eiam: You could contribute to Crystal core in Ruby, and now in Crystal.
snockerton has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
<bootstrappm>
Crystal looks cool
<havenwood>
Eiam: Also you can embed MRuby in a Crystal extension for Ruby. Sandwiched in Ruby it seems Ruby-relevant. :P
<bootstrappm>
clear and simple goals
<bootstrappm>
if I knew anything about language design I'd jump on board
snockerton has quit [Client Quit]
<bootstrappm>
dudedudeman I laughed
Sawbones has joined #ruby
<dudedudeman>
:P
diegoviola has joined #ruby
<dudedudeman>
sorry, had to.
<Eiam_>
havenwood: oh my question wasn't as much about "relevance" is I felt like it had some backstory, like "matz works on crystal now!" or something
<havenwood>
Eiam: Ahhh, no Matz has tweeted about Crystal releases but afaik hasn't worked on it.
ki0 has quit [Remote host closed the connection]
<havenwood>
Eiam_: I guess mruby and streem are keeping him busy enough with new langs.
ki0 has joined #ruby
dvlwrk has quit [Remote host closed the connection]
snockerton has joined #ruby
<havenwood>
Eiam_: Tried out Rust yet?
<Eiam_>
havenwood: no, when I had to pick a new language to go poke, I decided on Haskell since it was more mature
umgrosscol has quit [Quit: Quit]
rodfersou has joined #ruby
<Eiam_>
it was between haskell & rust
<GaryOak_>
Rust is pretty nice
<Eiam_>
figured, more resources, more community
<Eiam_>
etc
<havenwood>
Eiam_: I've been enjoying some Elixir lately. Heard about some crazy project with cloud Haskell and Beam interop.
<GaryOak_>
I've heard good things about Elixir too
<Eiam_>
but I ended up dropping haskell at the moment, as it was taking me too long to get anything done
<Eiam_>
bounced back to ruby just to knock out some projects
gsd has joined #ruby
ki0 has quit [Ping timeout: 240 seconds]
<dudedudeman>
i think ckrailo has been working hard on elixir
<dudedudeman>
with*?
<dudedudeman>
i'm not sure
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cjim_ has quit [Quit: (null)]
<bootstrappm>
I want to try Scala
<ckrailo>
i've done a little bit of elixir, need to get back into it
<ckrailo>
it's a really exciting language though
danman has quit [Quit: danman]
Papierkorb has joined #ruby
Papierkorb_ has quit [Read error: Connection reset by peer]
<dudedudeman>
i've read a little bit about it, how everything is run through 'processes'?
<ckrailo>
yeah
<GaryOak_>
that's an erlang concept
<mwlang>
havenwood: yea, I know about Crystal and Rust, both and think I’ll try dipping into those soon.
<GaryOak_>
because elixir is built on erlang
<havenwood>
I paraphrase but, will Ruby get macros? Matz: Short answer, "no", slightly longer answer "no way."
<dudedudeman>
ah.
scripore has quit [Quit: This computer has gone to sleep]
thoffmeyer has quit [Quit: Leaving]
gusrub has joined #ruby
_djbkd has quit [Quit: My people need me...]
penzur has quit [Ping timeout: 256 seconds]
startupality has joined #ruby
<ebonics>
rust is really promising except it's basically impossible to build a stable project with it currently
doodlehaus has quit [Remote host closed the connection]
<ebonics>
half the libs require the nightlies which change once an hour
<ebonics>
plus there's no developed IDEs so you're stuck with vim with hardly any plugins beyond syntax highlighting and code completion
senya has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
hs367 has quit [Quit: Leaving]
<GaryOak_>
ebonics: it hasn't reached 1.0.0 yet, after that all programs that compile for 1.0.0 will work in the future
_djbkd has joined #ruby
<ebonics>
GaryOak_, i know i'm just saying
jerius has quit [Quit: /quit]
<ebonics>
unless you plan to work on the core there's no point in using it now other than to mess around
thoffmeyer has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
<GaryOak_>
I don't think that's completely true, but you have a point
_djbkd has joined #ruby
jgt has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Quit: Leaving.]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
qwertme has joined #ruby
bogdanteleaga has joined #ruby
metalic has joined #ruby
shazaum_ has quit [Quit: Leaving]
mary5030 has quit [Remote host closed the connection]
Hijiri has quit [Quit: WeeChat 1.0.1]
kirun has quit [Quit: Client exiting]
tjbiddle has quit [Quit: tjbiddle]
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
<pleiosaur>
bricker: it's unlikely that they'll go public with it now that the drama is over. if he ever comes back then I'm sure they wouldn't be afraid to use it in their defense
scripore has quit [Quit: This computer has gone to sleep]
Guest1421 has quit [Ping timeout: 244 seconds]
failshell has joined #ruby
<bricker>
Ellis: local variables don't work like that. Use a constant.
<Ellis>
bricker: gotcha
<Ellis>
bricker: turn the hash name singles into a costantn? or the number of the keys into a constant?
<eam>
pleiosaur: sounds exactly like a community consumed by politics
Ropeney has joined #ruby
scripore has joined #ruby
<pipework>
All the SINGLE ladies in the club
vikaton has quit []
jgt has quit [Ping timeout: 256 seconds]
lidenskap has quit [Remote host closed the connection]
doodleha_ has joined #ruby
Zekka has joined #ruby
<pleiosaur>
eam: nah, it's a community that tries to keep assholes out :P if that's what it means to be "consumed by politics", then I'll take that, thanks
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam>
"nah but yeah?"
<pleiosaur>
yeah, but nah
jottr has quit [Read error: Connection reset by peer]
<Ropeney>
"nah but if you view it that way its cool"
jottr has joined #ruby
AlphaAtom has joined #ruby
freerobby has quit [Quit: Leaving.]
avahey has joined #ruby
baweaver has joined #ruby
kt2 has quit [Quit: ...]
hakunin_ is now known as hakunin
CloCkWeRX has joined #ruby
<pleiosaur>
ruby has Matz Is Nice And So We Are Nice, rust just has Why The Fuck Do You Need An Excuse To Be Nice? Just Be Nice, God Damn
<pleiosaur>
admittedly the acronym is not as catchy
<pipework>
I'm not really one of the people who just defaults to nice, but I appreciate the credo.
jerryberry_ has quit [Ping timeout: 240 seconds]
jerryberry_ has joined #ruby
lidenskap has joined #ruby
Sawbones has quit [Remote host closed the connection]
Hijiri has quit [Quit: WeeChat 1.0.1]
dfinninger has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
Sawbones has joined #ruby
thatslifeson has quit [Remote host closed the connection]
qwertme has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
jerryberry_ has quit [Ping timeout: 265 seconds]
jottr_ has joined #ruby
jerryberry_ has joined #ruby
doodleha_ has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 255 seconds]
<GaryOak_>
that seems like an issue with that particular guy
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Feyn has joined #ruby
lidenskap has quit [Remote host closed the connection]
Igorshp has joined #ruby
mooe has joined #ruby
vickleton has quit [Quit: Ex-Chat]
Papierkorb has quit [Ping timeout: 272 seconds]
lidenskap has joined #ruby
failshell has quit []
Papierkorb has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 272 seconds]
jerryberry_ has quit [Ping timeout: 246 seconds]
AlphaAtom has joined #ruby
jerryberry_ has joined #ruby
swgillespie has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
startupality has quit [Quit: startupality]
b0t00 has joined #ruby
duderonomy has joined #ruby
einarj has quit [Remote host closed the connection]
b0t00 has quit [Read error: Connection reset by peer]
duderonomy has quit [Max SendQ exceeded]
Papierkorb has quit [Ping timeout: 264 seconds]
Sawbones has quit [Remote host closed the connection]
jerryberry_ has quit [Ping timeout: 256 seconds]
Eiam_ has joined #ruby
jerryberry_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
LJT has joined #ruby
b0t00 has joined #ruby
kobain has quit [Ping timeout: 245 seconds]
ldnunes has quit [Quit: Leaving]
Papierkorb has joined #ruby
LJT has quit [Client Quit]
jerryberry_ has quit [Ping timeout: 250 seconds]
jerryberry_ has joined #ruby
wallerdev has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
b0t00 has quit [Quit: Leaving]
duderonomy has joined #ruby
AlphaAtom has joined #ruby
baweaver has quit [Remote host closed the connection]
danman has quit [Quit: danman]
<weaksauce>
pleiosaur what kind of threts?
<weaksauce>
threats*
redlegion has joined #ruby
charliesome has joined #ruby
danman has joined #ruby
danman has quit [Client Quit]
chipotle has quit [Remote host closed the connection]
soulcake has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
growlove has quit [Remote host closed the connection]
airdisa has joined #ruby
gsd has quit [Ping timeout: 265 seconds]
lidenskap has quit [Remote host closed the connection]
jtdowney has joined #ruby
nullset68 has joined #ruby
<pleiosaur>
weaksauce: trying to hijack a rust user's account on a certain site via social engineering and a dox-hunting expedition
jerryberry_ has quit [Ping timeout: 264 seconds]
jerryberry_ has joined #ruby
Zekka has quit [Ping timeout: 256 seconds]
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kyrylo has quit [Ping timeout: 272 seconds]
AlphaAtom has quit [Read error: Connection reset by peer]
Eiam_ has joined #ruby
vdamewood has joined #ruby
<weaksauce>
pleiosaur curious and ianal but probably illegal
AlphaAtom has joined #ruby
gsd has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
nanoyak has quit []
AlphaAtom has joined #ruby
<pleiosaur>
certainly illegal, but then again everything to do with accessing things on the internet is illegal if the govt wants it to be
<eam>
that's not true
<GaryOak_>
it's basically true
roolo has quit [Remote host closed the connection]
<eam>
no, it really isn't
<weaksauce>
what was the end game pleiosaur
<weaksauce>
take over the account and then what
roolo has joined #ruby
<pleiosaur>
weaksauce: some kind of power grab, like how you can take over a moderator's account on reddit and the entire forum is yours
<GaryOak_>
If a company says "that's mine" even though they left it open to the public and you access it, that's illegally accessing the resource
<eam>
GaryOak_: that isn't even close to correct
blackmes1 has quit [Ping timeout: 250 seconds]
* weaksauce
should probably change my reddit password from 12345 then
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam>
GaryOak_: CFAA is vague, but what you're saying has little to do with its issues
Guest1421 has joined #ruby
towski_ has joined #ruby
polyrob has quit [Read error: Connection reset by peer]
<GaryOak_>
eam, well they have to prove intent to commit fraud
baweaver has joined #ruby
polyrob has joined #ruby
jerryberry_ has quit [Ping timeout: 264 seconds]
charliesome has quit [Ping timeout: 256 seconds]
jerryberry_ has joined #ruby
delianides has joined #ruby
roolo has quit [Remote host closed the connection]
gsd has quit [Ping timeout: 245 seconds]
<GaryOak_>
or they can prove the computer system was "protected"
kobain has joined #ruby
Igorshp has quit [Remote host closed the connection]
gsd has joined #ruby
<drocsid>
I have some xml that looks like <configuration> <property> <name>someName</name> <value>some Value</value></property>..<property>...</property>...</configuration>
jackjackdripper has quit [Quit: Leaving.]
jerryberry_ has quit [Ping timeout: 250 seconds]
jerryberry_ has joined #ruby
<drocsid>
so I tried using nokogiri and xml_doc.xpath('//property[@name=sandboxId]').each { |node| p node.class }
juanpablo_ has quit [Quit: (null)]
<Radar>
Good one.
<drocsid>
however it doesn't look like it's matching.
juanpablo_ has joined #ruby
<GaryOak_>
drocsid: you probably need to put @name="sandboxId" in quotes
<drocsid>
GaryOak_: I tried that first
<drocsid>
will try again
<Radar>
drocsid: what isn't matching? Did you share some code that I missed?
allcentury has quit [Ping timeout: 264 seconds]
rahult has joined #ruby
<GaryOak_>
Radar: the xpath isn't matching, although you probably couldn't tell from that XML snippet
<drocsid>
so I'm trying to use a predicate
rahult is now known as rahult_
rahult_ is now known as rahult
<GaryOak_>
drocsid: AHH name is not an attribute of property
<drocsid>
xpath predicate
AlphaAtom has quit [Read error: Connection reset by peer]
<GaryOak_>
it's a child of property
cryptarium has joined #ruby
rahult is now known as rahult_
AlphaAtom has joined #ruby
rahult_ is now known as rahult
rahult is now known as rahult_
rahult_ is now known as rahult
lidenskap has joined #ruby
gsd_ has joined #ruby
<GaryOak_>
drocsid: so you need something like //property[contains(.,'sandboxId')], or whatever will match against the unique string you want
<eam>
GaryOak_: you're glossing over some very crucial details to draw a misleading conclusion
dorei has quit []
<drocsid>
I think GaryOak_ might be on the right track with that
lidenskap has quit [Remote host closed the connection]
<GaryOak_>
eam: You're right, I'm just bullshitting, I'm not a lawyer
lidenskap has joined #ruby
gh has joined #ruby
juanpablo_ has quit [Ping timeout: 272 seconds]
platzhirsch has left #ruby [#ruby]
Sawbones has joined #ruby
jerryberry_ has quit [Ping timeout: 250 seconds]
Guest1421 has quit [Ping timeout: 276 seconds]
gsd has quit [Ping timeout: 255 seconds]
<drocsid>
anyone know a good guide to using xpath?
<drocsid>
the spec is a little much to read
Guest1421 has joined #ruby
Hijiri has joined #ruby
<GaryOak_>
drocsid: there's lots of cheat sheets online