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
<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]
<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
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]
<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…]
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?