havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.6.0, 2.5.3, 2.4.5: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select Ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
AJA4350 has quit [Ping timeout: 240 seconds]
lxsameer has quit [Ping timeout: 240 seconds]
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hurricanehrndz has quit [Quit: Goodbye]
AJA4350 has joined #ruby
xall has joined #ruby
tdy1 has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
uplime has quit [Ping timeout: 244 seconds]
tdy1 has quit [Ping timeout: 244 seconds]
stryek has quit [Quit: Connection closed for inactivity]
laaron- has joined #ruby
laaron has quit [Ping timeout: 256 seconds]
uplime has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
akem has quit [Remote host closed the connection]
akem__ has quit [Remote host closed the connection]
akem has joined #ruby
akem__ has joined #ruby
cpruitt has quit [Remote host closed the connection]
akem has quit [Remote host closed the connection]
akem has joined #ruby
venmx has quit [Ping timeout: 246 seconds]
naptimeastyanax has joined #ruby
_whitelogger has joined #ruby
tdy1 has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
akem__ has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 268 seconds]
akem__ has joined #ruby
tdy1 has quit [Ping timeout: 245 seconds]
cd has joined #ruby
Scriptonaut has joined #ruby
<Scriptonaut> hey guys, I'm using JWT.encode and passing it a record id. It is generating the same key (as it should), however I've noticed when I restart my console, it will sometimes generate a different key. It only ever generates those two keys (with the same exactly input), one or the other, and I have to restart the console to get it to change (and it doesn't always)
xall has quit [Quit: xall]
<Scriptonaut> JWT.encode is supposed to generate the same thing every time, as long as the input is the same, but for some reason it's not
akem has quit [Remote host closed the connection]
akem__ has quit [Remote host closed the connection]
akem has joined #ruby
akem__ has joined #ruby
naptimeastyanax has quit [Quit: leaving]
AJA4350 has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
jcarl43 has quit [Quit: WeeChat 2.3]
evdubs has quit [Remote host closed the connection]
evdubs has joined #ruby
hurricanehrndz has joined #ruby
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
AJA4351 has joined #ruby
mr_roybot has joined #ruby
ogres has quit [Quit: Connection closed for inactivity]
<blerrp> i'm having some trouble with reliably calling an instance method from another instance method
noobineer has quit [Read error: Connection reset by peer]
AJA4350 has quit [Ping timeout: 246 seconds]
AJA4351 is now known as AJA4350
noobineer has joined #ruby
laaron- has quit [Quit: ZNC 1.7.1 - https://znc.in]
<blerrp> and note that really i'd like to have something like 'xp = xp + x' on line 22, but that's not working well. so i put something simpler because it shows the fundamental problem
<blerrp> or xp += x
<blerrp> anyone know what's going on with it? issue shown at the very end
laaron has joined #ruby
akem has quit [Remote host closed the connection]
akem__ has quit [Read error: Connection reset by peer]
akem has joined #ruby
akem__ has joined #ruby
<al2o3-cr> blerrp: you need self.xp += x
<Iambchop> blerrp: xp on line 22 is a local variable https://www.codinginthecrease.com/news_article/show/307337-shadowing-gotchas
<blerrp> ty!
ramfjord has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
bmurt has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
mr_roybot has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 268 seconds]
cthulchu has quit [Ping timeout: 268 seconds]
akem__ has quit [Remote host closed the connection]
cthulchu has joined #ruby
akem__ has joined #ruby
blackmesa1 has quit [Ping timeout: 250 seconds]
akem has quit [Remote host closed the connection]
akem__ has quit [Remote host closed the connection]
AJA4350 has quit [Ping timeout: 244 seconds]
akem has joined #ruby
akem__ has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
AJA4350 has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
AJA4350 has quit [Remote host closed the connection]
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
davidw has quit [Ping timeout: 250 seconds]
akem has quit [Read error: Connection reset by peer]
akem__ has quit [Remote host closed the connection]
akem has joined #ruby
akem__ has joined #ruby
esrse has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
akem__ has quit [Read error: Connection reset by peer]
akem__ has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
tdy1 has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
renich_ has joined #ruby
renich has quit [Ping timeout: 250 seconds]
akem has quit [Remote host closed the connection]
akem has joined #ruby
za1b1tsu has joined #ruby
uplime has quit [Ping timeout: 246 seconds]
renich has joined #ruby
braincrash has quit [Quit: bye bye]
renich_ has quit [Ping timeout: 245 seconds]
noobineer has quit [Ping timeout: 250 seconds]
akem has quit [Remote host closed the connection]
akem__ has quit [Read error: Connection reset by peer]
akem has joined #ruby
akem__ has joined #ruby
braincrash has joined #ruby
uplime has joined #ruby
chouhoulis has joined #ruby
darris_ has joined #ruby
darris has quit [Ping timeout: 268 seconds]
darris_ is now known as darris
duderonomy has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
ramfjord has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
code_zombie has quit [Quit: Leaving]
chouhoulis has quit [Remote host closed the connection]
segy has quit [Quit: ZNC - http://znc.in]
segy has joined #ruby
lord4163 has quit [Excess Flood]
lord4163 has joined #ruby
mr_roybot has joined #ruby
Sina has quit [Quit: Connection closed for inactivity]
tdy1 has quit [Ping timeout: 246 seconds]
Avinash has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
mr_roybot has quit [Ping timeout: 245 seconds]
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubydoc has quit [Ping timeout: 246 seconds]
phaul has quit [Ping timeout: 246 seconds]
rubydoc has joined #ruby
phaul has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
\void has joined #ruby
naptimeastyanax has joined #ruby
tdy1 has joined #ruby
stoffus has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
Avinash has joined #ruby
kapil____ has joined #ruby
Xiti has joined #ruby
crankharder has quit [Ping timeout: 244 seconds]
d_kam has joined #ruby
stoffus has quit [Quit: leaving]
d_kam has quit [Ping timeout: 250 seconds]
naptimeastyanax has quit [Quit: leaving]
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
crankharder has joined #ruby
\void has quit [Quit: So long, and thanks for all the fish.]
crankharder has quit [Ping timeout: 250 seconds]
Avinash has joined #ruby
tdy1 has quit [Ping timeout: 245 seconds]
aupadhye has joined #ruby
tdy1 has joined #ruby
Inline has quit [Quit: Leaving]
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has quit [Ping timeout: 246 seconds]
marmotini_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye has joined #ruby
reber has joined #ruby
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
uplime has quit [Quit: WeeChat 2.2]
tdy1 has quit [Ping timeout: 245 seconds]
laaron has quit [Quit: ZNC 1.7.1 - https://znc.in]
laaron has joined #ruby
_whitelogger has joined #ruby
tdy1 has joined #ruby
Avinash has joined #ruby
aupadhye has quit [Ping timeout: 272 seconds]
aupadhye has joined #ruby
crankharder has joined #ruby
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 245 seconds]
blaguvest has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
lubekpl has joined #ruby
conta has joined #ruby
nowhere_man has joined #ruby
renich has quit [Quit: renich]
venmx has joined #ruby
clemens3 has joined #ruby
ellcs has joined #ruby
venmx has quit [Ping timeout: 272 seconds]
aufi has joined #ruby
Rudd0 has joined #ruby
Rudd0 has quit [Remote host closed the connection]
paranoicsan has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
Bish has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
mikecmpbll has joined #ruby
dionysus69 has quit [Ping timeout: 268 seconds]
blackmesa1 has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
clemens3 has quit [Remote host closed the connection]
reber has quit [Remote host closed the connection]
xrexeon has joined #ruby
lxsameer has joined #ruby
Avinash has joined #ruby
eckhardt has quit [Read error: Connection reset by peer]
venmx has joined #ruby
noboruma has quit [Ping timeout: 272 seconds]
noboruma has joined #ruby
clemens3 has joined #ruby
arooni has quit [Ping timeout: 250 seconds]
arooni has joined #ruby
venmx has quit [Remote host closed the connection]
za1b1tsu has quit [Remote host closed the connection]
dionysus69 has joined #ruby
danlei has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
lxsameer has joined #ruby
venmx has joined #ruby
arup_r has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
danlei has quit [Quit: Ein guter Abgang ziert die Übung.]
ua_ has joined #ruby
ua has quit [Ping timeout: 244 seconds]
paranoicsan is now known as paranoicsan[Away
lxsameer has joined #ruby
paranoicsan[Away has quit [Quit: paranoicsan[Away]
lxsameer has quit [Ping timeout: 245 seconds]
arup_r has quit []
venmx has quit [Ping timeout: 245 seconds]
<Bish> <a href="http://google.de"><table><tr><td><span>Test<span></td></table></a>
<Bish> can somebody explain to me why Nokogiri closes this a tag?
<canton7> because <a> needs to be closed?
<canton7> It isn't self-closing, so it's illegal for it to not be closed?
<Bish> it is closed
<Bish> (look at the end)
<canton7> oh, you mean that nokogiri didn't insert the </a> at the end? What did it do?
<canton7> From what you said, it sounded like you were asking why nokogiri had inserted the </a> at the end
marmotini_ has quit [Ping timeout: 246 seconds]
<canton7> if that's not what you meant, please clarify
<Bish> well, try that line:
<Bish> Nokogiri::HTML("<a href=\"http://google.de\"><div>t<table><tr><td><span>Test<span></td></table><span></a>").to_html
lxsameer has joined #ruby
<Bish> Nokogiri::HTML("<a href=\"http://google.de\"><table><tr><td><span>Test<span></td></table></a>").to_html
<Bish> rather this one
<Bish> result will have an empty a tag
<Bish> i want to know why
paranoicsan has joined #ruby
<canton7> what does the result actually look like, character for character?
<canton7> "will have an empty a tag" isn't descriptive enough for me to work out what it actually contains
lxsameer has quit [Ping timeout: 246 seconds]
<Bish> <a href=\"http://google.de\"></a>
<Bish> like this
<Bish> while this is not int he inüut at all
<Bish> input*
snickers has joined #ruby
<canton7> probably because it's illegal to put a table inside a link?
<Bish> i guess so, but i don't know
<canton7> although MDN suggests it's legal to put a table in an a
<canton7> and the W3C validator validates it fine
<canton7> huh, and when I run the snipped you posted, it returns "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n<html><body>\n<a href=\"http://google.de\"></a><table><tr><td><span>Test<span></span></span></td></tr></table>\n</body></html>\n"
<canton7> *the snippet
<canton7> so it hasn't stripped the table as you said - but it closed the <a> earlier
marmotini_ has joined #ruby
snickers has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
conta has quit [Ping timeout: 250 seconds]
lucasb has joined #ruby
ramfjord has joined #ruby
kapil____ has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 246 seconds]
conta has joined #ruby
Fr4n has joined #ruby
ams__ has joined #ruby
Fusl has quit [Ping timeout: 256 seconds]
RedNifre has joined #ruby
esrse has quit [Ping timeout: 246 seconds]
Fusl has joined #ruby
AJA4350 has joined #ruby
akem__ has quit [Remote host closed the connection]
akem__ has joined #ruby
Avinash has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aufi_ has joined #ruby
lxsameer has quit [Ping timeout: 268 seconds]
aufi has quit [Ping timeout: 246 seconds]
AJA4351 has joined #ruby
akosednar has quit [Ping timeout: 244 seconds]
akosednar has joined #ruby
AJA4350 has quit [Ping timeout: 268 seconds]
AJA4351 is now known as AJA4350
tdy1 has quit [Ping timeout: 250 seconds]
Avinash has joined #ruby
stryek has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maufart__ has joined #ruby
aufi_ has quit [Ping timeout: 245 seconds]
Rudd0 has joined #ruby
arup_r has joined #ruby
tdy1 has joined #ruby
dionysus69 has quit [Ping timeout: 250 seconds]
rubydoc has quit [Ping timeout: 246 seconds]
phaul has quit [Ping timeout: 268 seconds]
old_relik has joined #ruby
mr_roybot has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
paranoicsan is now known as paranoicsan[Away
paranoicsan[Away has quit [Quit: paranoicsan[Away]
xrexeon has quit [Ping timeout: 245 seconds]
<old_relik> Is there a method in ruby that can split a string into all possible ways? like "1234" will become [["1", "234"], ["12", "34"], ["123", "4"], ["1", "23", "4"], ["1", "2", "34"], ["12", "3", "4"], ["1", "2", "3", "4"]]
phaul has joined #ruby
teclator has quit [Read error: Connection reset by peer]
<Bish> old_relik: repeated_combination and each_char
Avinash has joined #ruby
<Bish> old_relik: well no that would rather be permutation
<old_relik> Bish: yeah
<Bish> but from your example it seems you want to keep the order?
<old_relik> want to keep the order
<Bish> okay, hm
lxsameer has joined #ruby
<old_relik> and also ensure that the split sets union up to the original array
<old_relik> but maintaining the order as well
<Bish> why you want to do this, i was tackling a very similiar problem
<Bish> weeks ago
<Bish> i remember doing it with repeated_combination summing up
<old_relik> I was actually just trying to solve http://rubyquiz.com/quiz20.html
<Bish> ah, okay
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
AJA4350 has joined #ruby
<Bish> nope i am too stupid right now
rubydoc has joined #ruby
<Bish> i would get all possible combinations of n numbers where n is (0..length_of_string)
<Bish> and split them
Emmanuel_Chanel has quit [Ping timeout: 245 seconds]
<Bish> at that poin
arup_r has quit [Ping timeout: 245 seconds]
xrexeon has joined #ruby
Emmanuel_Chanel has joined #ruby
<phaul> recursive solution can be : split(text) <= [text] + [split_off_first_char(text), split(rest_of_text)]
<phaul> something along those lines.. it's just an idea in this form
marmotini_ has quit [Ping timeout: 252 seconds]
xrexeon has quit [Read error: Connection reset by peer]
MeXTuX has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thinkpad has quit [Ping timeout: 268 seconds]
Avinash has joined #ruby
MeXTuX has left #ruby [#ruby]
thinkpad has joined #ruby
mr_roybot has quit [Remote host closed the connection]
Emmanuel_Chanel has quit [Ping timeout: 246 seconds]
tdy1 has quit [Ping timeout: 272 seconds]
cpruitt has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 250 seconds]
AJA4351 is now known as AJA4350
Emmanuel_Chanel has joined #ruby
old_relik has quit [Quit: Page closed]
ellcs has quit [Ping timeout: 246 seconds]
ua_ has quit [Ping timeout: 244 seconds]
conta has quit [Ping timeout: 252 seconds]
thinkpad has quit [Ping timeout: 245 seconds]
segy has quit [Ping timeout: 240 seconds]
thinkpad has joined #ruby
rippa has joined #ruby
segy has joined #ruby
ua_ has joined #ruby
thinkpad has quit [Ping timeout: 268 seconds]
blaguvest has quit [Remote host closed the connection]
thinkpad has joined #ruby
MyMind has quit [Ping timeout: 245 seconds]
Rapture has joined #ruby
Pisuke has joined #ruby
crankharder has quit [Ping timeout: 246 seconds]
AJA4350 has quit [Ping timeout: 240 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
polishdub has joined #ruby
DTZUZO_ has quit [Ping timeout: 244 seconds]
<phaul> they are gone, but since Ive already done it https://gist.github.com/7caced43cffb855e691587fcfaa058c1
conta has joined #ruby
conta has quit [Ping timeout: 240 seconds]
AJA4350 has joined #ruby
davidw has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davidw has quit [Ping timeout: 240 seconds]
lubekpl has quit [Quit: WeeChat 2.1]
uplime has joined #ruby
DTZUZO_ has joined #ruby
ubuntuisloved has joined #ruby
renich has joined #ruby
clemens3 has quit [Ping timeout: 244 seconds]
lupine has quit [Quit: No Ping reply in 180 seconds.]
lupine has joined #ruby
aupadhye has quit [Ping timeout: 246 seconds]
Sina has joined #ruby
lupine has quit [Excess Flood]
lupine has joined #ruby
r29v has joined #ruby
r29v has quit [Client Quit]
conta has joined #ruby
chouhoulis has joined #ruby
conta has quit [Ping timeout: 250 seconds]
lfish has joined #ruby
maufart__ has quit [Ping timeout: 268 seconds]
<lfish> hello, rackup is complaining about encodings. Say, it's seeing an invalid sequence in US-ASCII. The encoding is specified in the source files, and LANG is set to en_US.UTF-8. Also, the error message points to lib/rack/builder.rb. Any idea how to solve this?
lfish has quit [Ping timeout: 256 seconds]
<havenwood> lfi, ah, they left already.
sanscoeur has quit [Read error: Connection reset by peer]
rubydoc has quit [Remote host closed the connection]
sanscoeur has joined #ruby
<blackmesa1> havenwood: :D
<havenwood> blackmesa1: o/
rubydoc has joined #ruby
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
phaul has quit [Ping timeout: 250 seconds]
phaul has joined #ruby
sanscoeur has quit [Ping timeout: 245 seconds]
<phaul> :D I was staring at weechat restarting rubydoc like 3 times wondering why it doesn't join. took me a while to realize that it was me who was offline :D
AJA4350 has quit [Ping timeout: 250 seconds]
ubuntuisloved has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rubydoc has quit [Remote host closed the connection]
rubydoc has joined #ruby
conta has joined #ruby
davidw has joined #ruby
conta has quit [Ping timeout: 268 seconds]
Inline has joined #ruby
marmotini_ has joined #ruby
marmotini_ has quit [Ping timeout: 272 seconds]
paranoicsan has joined #ruby
cd has quit [Remote host closed the connection]
cd has joined #ruby
rikkipitt has joined #ruby
jinie has joined #ruby
Avinash has joined #ruby
sanscoeur has joined #ruby
sanscoeur has quit [Remote host closed the connection]
orbyt_ has joined #ruby
renich has quit [Quit: renich]
\void has joined #ruby
blackmesa1 has quit [Quit: WeeChat 2.3]
ellcs has joined #ruby
blackmesa has joined #ruby
krawchyk has joined #ruby
AJA4350 has joined #ruby
lxsameer has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
Avinash has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
d^sh_ has quit [Ping timeout: 245 seconds]
marmotini_ has joined #ruby
cd has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 268 seconds]
cd has joined #ruby
d^sh has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
laaron has quit [Remote host closed the connection]
rikkipitt has quit [Quit: Leaving...]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
blackmesa has quit [Ping timeout: 252 seconds]
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
tdy1 has joined #ruby
laaron has joined #ruby
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
paranoicsan has quit [Quit: paranoicsan]
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
laaron has quit [Remote host closed the connection]
laaron has joined #ruby
mr_roybot has joined #ruby
sanscoeur has joined #ruby
clemens3 has joined #ruby
Dbugger has joined #ruby
cd has quit [Quit: cd]
ua_ has quit [Ping timeout: 252 seconds]
mr_roybot has quit [Remote host closed the connection]
mr_roybot has joined #ruby
AJA4351 has joined #ruby
dellavg_ has joined #ruby
Rapture has joined #ruby
AJA4350 has quit [Ping timeout: 240 seconds]
AJA4351 is now known as AJA4350
ua_ has joined #ruby
code_zombie has joined #ruby
mr_roybo_ has joined #ruby
Aqo has joined #ruby
renich has joined #ruby
mr_roybot has quit [Ping timeout: 272 seconds]
lytol_ has joined #ruby
lytol_ is now known as lytol
dellavg_ has quit [Ping timeout: 246 seconds]
akem__ has quit [Quit: Leaving]
akem has quit [Remote host closed the connection]
akem has joined #ruby
Francisco has joined #ruby
mikecmpbll has joined #ruby
mr_roybo_ has quit [Remote host closed the connection]
Fr4n has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
kapil____ has quit [Quit: Connection closed for inactivity]
AJA4350 has quit [Ping timeout: 246 seconds]
tdy1 has quit [Ping timeout: 272 seconds]
dellavg_ has joined #ruby
reber has joined #ruby
Creatornator has joined #ruby
dviola has joined #ruby
gix has joined #ruby
jcarl43 has joined #ruby
sauvin has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
marmotini_ has quit [Ping timeout: 250 seconds]
venmx has joined #ruby
ravenous_ has joined #ruby
mozzarella has quit [Quit: WeeChat 2.2]
pedahzur has joined #ruby
DTZUZU has quit [Quit: WeeChat 2.2]
oetjenj has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Creatornator has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
Rapture has joined #ruby
oetjenj has quit [Quit: Textual IRC Client: www.textualapp.com]
ivanskie has joined #ruby
marmotini_ has joined #ruby
Puffball has quit [Remote host closed the connection]
tpanarch1st has joined #ruby
<tpanarch1st> evening!
<miah> afternoon =)
<tpanarch1st> would you say these instructons are alright for setting up an area on my mint install to play with rails? Thanks :) https://github.com/coder-academy-students/rails-setup-for-linux
<miah> ya they are probably fine
<tpanarch1st> ah that's awesome - i presume it won't change my mint install in any other way and that i'll be able to use Gems and suchlike properly :)
<tpanarch1st> from what i've read, it sets up an isolated way and a "controller" (of sorts) to deal with ruby commands and keep them away from the rest of the mint stuff in shell :)
<miah> no idea, i have never used mint. you might find better answers for mint questions in a mint channel
<tpanarch1st> yeah, there's certainly a bit of cross-over there
<tpanarch1st> ah Mint won't go bang will it :-D
<miah> but as far as setting up a basic ruby / rails environment that looks fine
<tpanarch1st> what surprised me is that ruby relies on node.js in linux
Rapture has quit [Ping timeout: 246 seconds]
<miah> it does not
<miah> rails might, but ruby itself does not
<tpanarch1st> sorry, to rephrase, for some packages that Ruby **uses**
<tpanarch1st> rails
<tpanarch1st> i'll get it right eventually :-D
<miah> that rails uses =) likely rails is using it to minify js and such
<tpanarch1st> thanks!
<miah> sure, good luck!
<tpanarch1st> i don't get the postgres sql relationship with rails
Rapture has joined #ruby
<miah> i think its just a solid default database that rails works with. you might be able to find more details on that in #rubyonrails
<miah> i've never made a rails app so i don't know the answer
<tpanarch1st> thanks miah !
<tpanarch1st> :-)
<miah> ive used sinatra a bit though, just a tiny tiny bit =)
<miah> both rails and sinatra are really cool
profetes has joined #ruby
marmotini_ has quit [Ping timeout: 245 seconds]
hahuang6- has joined #ruby
hahuang65 has quit [Ping timeout: 252 seconds]
Creatornator has joined #ruby
ivanskie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
chouhoulis has joined #ruby
ravenous_ is now known as ravenousmoose
SeepingN has joined #ruby
segy has quit [Quit: ZNC - http://znc.in]
blackjid has joined #ruby
segy has joined #ruby
ivanskie has joined #ruby
chouhoulis has quit [Remote host closed the connection]
Francisco has quit [Ping timeout: 272 seconds]
ixti has joined #ruby
ams__ has quit [Quit: Connection closed for inactivity]
blackmesa has joined #ruby
DTZUZU has joined #ruby
ravenousmoose has quit [Quit: Taking a quick nap...ZZzzz]
Dbugger has quit [Remote host closed the connection]
r29v has joined #ruby
tfitts has joined #ruby
sjmbach has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
Creatornator has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
lxsameer has quit [Ping timeout: 250 seconds]
conta has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
conta has quit [Ping timeout: 245 seconds]
nowhere_man has joined #ruby
chouhoulis has joined #ruby
krawchyk has quit [Ping timeout: 245 seconds]
sauvin has joined #ruby
mozzarella has joined #ruby
conta has joined #ruby
nowhere_man has quit [Ping timeout: 252 seconds]
reber has quit [Remote host closed the connection]
rikkipitt has joined #ruby
dellavg_ has quit [Ping timeout: 240 seconds]
conta has quit [Ping timeout: 268 seconds]
krawchyk has joined #ruby
conta has joined #ruby
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Aqo has quit [Quit: ChatZilla 0.9.92-rdmsoft [XULRunner 35.0.1/20150122214805]]
conta has quit [Ping timeout: 250 seconds]
AJA4350 has joined #ruby
cpruitt has quit []
lbracher has joined #ruby
<lbracher> Hi there! I'm moving an Passenger installation from one server to another, and in this moving the application is entering an infinite loop. I'm really clueless.
<lbracher> The only relevant line on log that I could get was this: Could not spawn process for application /var/www/EletroGuimaraes: The application encountered the following error: stack level too deep (SystemStackError). Error ID: cecc6a10
<lbracher> Any ideas?
<lyusternik> stack too deep sounds like infinite recursion
RedNifre has quit [Ping timeout: 250 seconds]
<lbracher> lyusternik, yes, indeed. The curious thing is the application is still running fine on old server. I think I'll poke around with ruby versions and hope for the best.
<lyusternik> you probably already knew that
<lbracher> lyusternik, I'm a ruby newbie. ;)
<lyusternik> I haven't really worked with it much either
<lyusternik> all of my ruby has been doing CTF cryptography challenges
<lyusternik> because the OpenSSL API is actually pretty usable.
<lyusternik> in Ruby, I mean
skywalker has joined #ruby
moei has quit [Quit: Leaving...]
<skywalker> do we have any method as define in C/C++ in ruby?
<havenwood> lbracher: We might be able to spot something useful if you can share the full stack trace?
<skywalker> i want to interpolate values in regex (actually with puppet)
<havenwood> skywalker: You want to interpolate the return value of a C function in a Ruby Regexp?
<havenwood> skywalker: Are you familiar with Fiddle in the Ruby stdlib?
nowhere_man has joined #ruby
<skywalker> havenwood: oh, not really. i want to do something like: $pattern = "^[abc]" so, i want to use it like /${pattern}+(foo|bar)$/
<havenwood> skywalker: Regexp.union '^[abc]', /(foo|bar)/
<havenwood> skywalker: You can also interpolate directly into a Regexp.
<havenwood> skywalker: Oh, you don't want I union, I guess.
<havenwood> skywalker: But yes, you can interpolate as you showed.
<skywalker> i will try that, thanks
<havenwood> no prob
<lbracher> havenwood, here's apache2 error.log: https://dpaste.de/dhkX
Rapture has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> lbracher: Is $HOME set to a dir that doesn't exist?: https://github.com/phusion/passenger/issues/1740
<SeepingN> oh man, don't do that
<lbracher> havenwood, the directory exists
<lbracher> I think I will rollback ruby's version and gems on Gemfile
<lbracher> Thank you anyway! :)
<baweaver> skywalker: Explain what it does, and what problem you're trying to solve?
<phaul> _o/ baweaver
<baweaver> Alo
<phaul> I was on your twitch yesterday expecting the TracePoint thing...
<baweaver> &>> ['|', *('a'..'z')].values_at(1, 0, 1..3, 0, 20..22, 0, 5..8)
<rubydoc> # => ["a", "|", "a", "b", "c", "|", "t", "u", "v", "|", "e", "f", "g", "h"] (https://carc.in/#/r/62el)
<baweaver> Ack, thought I made the future part clear :/
dviola has quit [Quit: WeeChat 2.3]
profetes has quit [Quit: Leaving]
<baweaver> Sorry about that phaul. It's on the 26th.
<baweaver> I'm going to do something either really fun or incredibly stupid with it though
<baweaver> Freeform content, I'm not allowed to study TracePoint before I do it.
<Iambchop> lbracher: I know it says warning not error, but it might still be fatal: "WARNING: potential privilege escalation vulnerability detected."
<phaul> ah. the reddit timezone bot screwed up. I trusted it
<baweaver> So you all get to see me tinkering
<phaul> Your post is ok, the bot linked bad countdown
<baweaver> Priv escalation is nasty stuff
<baweaver> Huh, didn't notice that comment.
<baweaver> Silly thing
polishdub has quit [Quit: leaving]
<lbracher> Iambchop, thank you. I'll try this hypothesis too. :)
Azure has joined #ruby
sanscoeu_ has joined #ruby
akem has quit [Remote host closed the connection]
akem has joined #ruby
conta has joined #ruby
sanscoeur has quit [Ping timeout: 246 seconds]
conta has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Remote host closed the connection]
venmx has quit [Ping timeout: 250 seconds]
rikkipitt has quit [Quit: Leaving...]
brandoncc has joined #ruby
AJA4351 has joined #ruby
AJA4350 has quit [Ping timeout: 245 seconds]
AJA4351 is now known as AJA4350
krawchyk has quit [Quit: krawchyk]
code_zombie has quit [Quit: Leaving]
chouhoulis has joined #ruby
clemens3 has quit [Ping timeout: 244 seconds]
tpanarch1st has quit [Ping timeout: 240 seconds]
DTZUZO_ has quit [Ping timeout: 245 seconds]
orbyt_ has joined #ruby