apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
msmith_ has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
hermanmunster has joined #ruby
hakunin has joined #ruby
bbloom has quit [Ping timeout: 240 seconds]
Scantydd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 252 seconds]
bradhe has quit [Remote host closed the connection]
atlas__ has joined #ruby
lw has joined #ruby
enebo has quit [Quit: enebo]
yfeldblum has quit [Read error: Connection reset by peer]
bklane has joined #ruby
obs has joined #ruby
pu22l3r has quit [Remote host closed the connection]
chipotle has joined #ruby
pu22l3r has joined #ruby
teddyp1cker has joined #ruby
centrx has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
kyb3r_ has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
pu22l3r_ has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
codeFiend has quit [Ping timeout: 264 seconds]
kyb3r_ has quit [Client Quit]
shadoi has joined #ruby
kyb3r_ has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
shadoi has quit [Read error: Connection reset by peer]
pu22l3r has quit [Ping timeout: 252 seconds]
atlas__ has quit [Ping timeout: 252 seconds]
yfeldblu_ has quit [Remote host closed the connection]
SonicX_ has joined #ruby
lkba has joined #ruby
burgess has joined #ruby
yfeldblum has joined #ruby
SonicX has quit [Ping timeout: 240 seconds]
jollyy has quit [Quit: jollyy]
shadoi has joined #ruby
MattStra_ has joined #ruby
ktosiek has quit [Read error: Operation timed out]
mikepack has quit [Remote host closed the connection]
yasushi has joined #ruby
mikepack has joined #ruby
sski has joined #ruby
saarinen has joined #ruby
bklane has quit [Remote host closed the connection]
mesamoo has joined #ruby
danshultz has joined #ruby
fridim__ has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
yasushi has quit [Ping timeout: 264 seconds]
Skaag has joined #ruby
jollyy has joined #ruby
jollyy has quit [Client Quit]
crystal77 has quit [Ping timeout: 264 seconds]
lolmaus_ has quit [Ping timeout: 264 seconds]
Xaitec_ has joined #ruby
dkamioka has quit [Remote host closed the connection]
crystal77 has joined #ruby
Salve has joined #ruby
Doppp has joined #ruby
bynaryshef has joined #ruby
MattStra_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nerium has quit [Quit: nerium]
Salve has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
bklane has joined #ruby
The_NetZ has quit [Quit: leaving]
SonicX_ has quit [Quit: No Ping reply in 180 seconds.]
SonicX has joined #ruby
mjs2600_ has quit [Remote host closed the connection]
|RicharD| has quit [Quit: Sto andando via]
pfg has joined #ruby
bklane has quit [Client Quit]
<pontiki> cashnguns: you forgot the soliciters
Xaitec_ has quit [Remote host closed the connection]
blackmesa has quit [Read error: Operation timed out]
Sawbones has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
NicholasFlamel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
<cashnguns> pontiki ya?
YamakasY has quit [Remote host closed the connection]
<pontiki> "Send lawyers, guns and money / Get us outta here" - W. Zevon
<pontiki> you'll maybe forgive me, nearly everything is an earworm to me
<cashnguns> :) that is awesome
saarinen has quit [Quit: saarinen]
<cashnguns> its actually a name from a board game but that is a good quote
<pontiki> here's the man, live: http://youtu.be/0JOrocDWVp4
tkuchiki_ has quit [Remote host closed the connection]
msmith_ has joined #ruby
<pontiki> i love how that's recorded
<cashnguns> wow 80s sound, very nice
<pontiki> an underappreciated genius
Brando753 has quit [Read error: Connection reset by peer]
<cashnguns> you never hear stuff that's this raw, its refreshing
bynaryshef has quit []
codeFiend has joined #ruby
msmith_ has quit [Remote host closed the connection]
<pontiki> back when distortion was meaningful :)
bynaryshef has joined #ruby
YamakasY has joined #ruby
<cashnguns> so true, where is the auto tune and sound effects?
<pontiki> ikr??
Brando753 has joined #ruby
<pontiki> friend of mine keeps trying to get me to try electronic multieffect boxes with my bass
LiquidInsect has joined #ruby
<pontiki> i'm like, nOOOOOO
<cashnguns> don't do it, not worth it. its the path down the darkside
lolmaus has joined #ruby
yubrew has joined #ruby
codeFiend has quit [Client Quit]
<pontiki> it shall not pass!
<crome> too bad his shit was fucked up
yubrew has quit [Ping timeout: 255 seconds]
atlas__ has joined #ruby
edwardloveall has quit [Quit: Leaving.]
dkamioka has joined #ruby
predator117 has joined #ruby
Sawbones has quit [Remote host closed the connection]
<cashnguns> never thought I'd meet music nerds on here, being a recovering music nerd
fgo has joined #ruby
sparrovv has quit [Remote host closed the connection]
dkamioka_ has joined #ruby
atlas__ has quit [Ping timeout: 240 seconds]
predator217 has quit [Ping timeout: 240 seconds]
atlas__ has joined #ruby
dkamioka has quit [Ping timeout: 264 seconds]
chrisseaton has quit []
codeFiend has joined #ruby
userx has joined #ruby
dkamioka_ has quit [Ping timeout: 255 seconds]
tjr9898 has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
atlas__ has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby
robustus has quit [Ping timeout: 252 seconds]
senayar_ has joined #ruby
senayar has quit [Read error: Operation timed out]
AussieDownUnder has quit [Remote host closed the connection]
robustus has joined #ruby
sdouglas has joined #ruby
superlou has quit [Quit: Leaving]
nbezzala has joined #ruby
tcsc has left #ruby ["bye!"]
Gooder has joined #ruby
rjk808 has joined #ruby
h4mz1d has joined #ruby
YamakasY has quit [Remote host closed the connection]
sepp2k has quit [Read error: Connection reset by peer]
kyb3r_ has quit [Quit: Leaving]
kyb3r_ has joined #ruby
ramin_sed has joined #ruby
kennym has quit [Quit: Leaving.]
kyb3r_ has quit [Client Quit]
isbadawi has quit [Quit: Leaving.]
kyb3r_ has joined #ruby
zorak has joined #ruby
kyb3r_ has quit [Client Quit]
kyb3r_ has joined #ruby
BraddPitt has joined #ruby
koell has joined #ruby
thomasxie has joined #ruby
lw has quit [Quit: s]
BraddBitt has quit [Ping timeout: 252 seconds]
Salve has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
kyb3r_ has quit [Client Quit]
msmith_ has joined #ruby
kyb3r_ has joined #ruby
kyb3r_ has quit [Client Quit]
ecualombian has quit []
kyb3r_ has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
obs has quit [Quit: Saliendo]
danshultz has quit [Ping timeout: 264 seconds]
agjacome has quit [Quit: Lost terminal]
msmith_ has quit [Remote host closed the connection]
BraddPitt has quit [Ping timeout: 264 seconds]
BraddPitt has joined #ruby
hfp is now known as hfp`away
msmith_ has joined #ruby
Nilium has quit [Ping timeout: 240 seconds]
adkron has quit [Ping timeout: 240 seconds]
beauby has joined #ruby
Steve445 has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
JordanJ2 has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
mikepack has joined #ruby
<JordanJ2> Hello, getting this error while trying to run a ruby relay bot, http://pastebin.com/1Qfg4PFp
mostlybadfly has joined #ruby
<zorak> im trying to running a script in irb but i get this error
<zorak> ~/Documentos/Ruby/Ejemplos libros $ irb -r 99_botellas.rb
<zorak> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require':LoadError: cannot load such file -- 99_botellas.rb
<zorak> irb(main):001:0>
abk has joined #ruby
dkamioka has joined #ruby
mehlah has quit [Quit: Leaving...]
Xiti has quit [Ping timeout: 240 seconds]
Sawbones has joined #ruby
dkamioka has quit [Remote host closed the connection]
mikepack_ has joined #ruby
mikepack has quit [Ping timeout: 246 seconds]
yubrew has joined #ruby
francisfish has joined #ruby
brian____ has joined #ruby
tylersmith has quit [Remote host closed the connection]
tylersmith has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
larsam has joined #ruby
zorak has quit [Ping timeout: 264 seconds]
mikepack_ has quit [Ping timeout: 252 seconds]
francisfish has quit [Ping timeout: 264 seconds]
Sawbones has quit []
marcdel has joined #ruby
<havenwood> JordanJ2: `{aim: true}[:aim] #=> true` but `nil[:aim] # NoMethodError: undefined method `[]' for nil:NilClass`
<JordanJ2> Huh>
<JordanJ2> s/>/?
_maes_ has joined #ruby
sambao21 has joined #ruby
tylersmith has quit [Ping timeout: 240 seconds]
<havenwood> JordanJ2: When you call #[] on a Hash or Array, it works. When you call it on `nil` it explodes.
<JordanJ2> Alright
<JordanJ2> I did not make the code
<havenwood> JordanJ2: ['a', 'b', 'c'][0] #=> "a"
brian____ has quit [Quit: brian____]
<JordanJ2> I just edited the config file
<havenwood> JordanJ2: cinch must be expecting you go give it an Array or Hash or something but it has `nil` instead, i dunno
<JordanJ2> Ok
kies has quit [Ping timeout: 252 seconds]
msmith_ has quit [Remote host closed the connection]
ramin_se_ has joined #ruby
Zunonia has joined #ruby
tjr9898 has joined #ruby
sambao21 has quit [Client Quit]
vlad_starkov has joined #ruby
<havenwood> JordanJ2: do you perchance have an empty AWAY message (looks like there's an Issue on that)?: https://github.com/cinchrb/cinch/issues/160
krz has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
<havenwood> meh, error doesn't look the same, but seems a similar situation
ramin_sed has quit [Ping timeout: 255 seconds]
Xiti has joined #ruby
vaktpost has quit [Remote host closed the connection]
zorak has joined #ruby
ramin_se_ has left #ruby [#ruby]
vlad_starkov has quit [Ping timeout: 264 seconds]
atlas__ has joined #ruby
kotakotakota has joined #ruby
teddyp1cker has joined #ruby
Steve445 has quit [Quit: Steve445]
endash__ has quit [Quit: endash__]
kies has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
bynaryshef has quit []
MatthewsFace has joined #ruby
michaeldeol has joined #ruby
echevemaster has joined #ruby
marcdel has quit [Ping timeout: 252 seconds]
budrose has quit [Remote host closed the connection]
diegoviola has joined #ruby
jjbohn has quit [Quit: Leaving...]
Hobogrammer has quit [Ping timeout: 264 seconds]
abra has quit [Ping timeout: 240 seconds]
marcdel_ has joined #ruby
michaeldeol has quit [Ping timeout: 255 seconds]
twiceaday has quit [Ping timeout: 240 seconds]
twiceaday has joined #ruby
thomasxie has left #ruby [#ruby]
mlpinit_ has quit [Remote host closed the connection]
Salve has joined #ruby
mlpinit has joined #ruby
abra has joined #ruby
rjk808 has quit [Remote host closed the connection]
Doppp has quit [Ping timeout: 255 seconds]
rjk808 has joined #ruby
senayar_ has quit [Remote host closed the connection]
msmith_ has joined #ruby
senayar has joined #ruby
yfeldblum has quit [Remote host closed the connection]
sdouglas_ has joined #ruby
Hobogrammer has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
yfeldblum has joined #ruby
mlpinit has quit [Ping timeout: 252 seconds]
i_s has joined #ruby
adkron has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
mmoretti has joined #ruby
rjk808 has quit [Ping timeout: 264 seconds]
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
senayar has quit [Ping timeout: 246 seconds]
Hanmac1 has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
mary5030 has joined #ruby
hobodave has joined #ruby
mikeg has quit [Quit: Leaving...]
fieldfirst has joined #ruby
hobodave has quit [Client Quit]
yubrew has joined #ruby
dkamioka has joined #ruby
dkamioka has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 264 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
mmochan_ has quit [Quit: Connection closed for inactivity]
msmith_ has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
marcdel_ has quit [Read error: Connection reset by peer]
marcdel has joined #ruby
sed_life_better has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
marcdel has quit [Client Quit]
danno1 has quit [Ping timeout: 252 seconds]
jjbohn has joined #ruby
fieldfirst has quit [Ping timeout: 240 seconds]
agarie has quit [Remote host closed the connection]
rjk808 has joined #ruby
zorak has quit [Ping timeout: 246 seconds]
mikepack has joined #ruby
cashnguns has quit [Ping timeout: 240 seconds]
mmoretti has quit [Quit: Leaving...]
jjbohn has quit [Ping timeout: 264 seconds]
poguez_ has joined #ruby
mlpinit has joined #ruby
Phagus has joined #ruby
sensen has joined #ruby
sensen has quit [Changing host]
sensen has joined #ruby
sdouglas_ has quit [Remote host closed the connection]
Nyyx has quit [Ping timeout: 240 seconds]
isbadawi has joined #ruby
bynaryshef has joined #ruby
vlad_starkov has joined #ruby
bbloom has joined #ruby
lw has joined #ruby
isbadawi has quit [Ping timeout: 264 seconds]
zorak has joined #ruby
<zorak> there are much differences between ruby 1.8.4 and ruby 1.9?
<zorak> im reading a book that use ruby 1.8.4 but i think i have 1.9 in my irb said vertion 1.9.1
sensen has quit [Quit: leaving]
sensen has joined #ruby
isbadawi has joined #ruby
<gr33n7007h> Shit, Yusuke Endoh is one sick guy
<centrx> zorak, 1.8 -> 1.9 had some major changes, yes
vlad_starkov has quit [Ping timeout: 252 seconds]
nisstyre has joined #ruby
dodosan has joined #ruby
<zorak> mmm, there are a way to make my irb work like 1.8.4??
<centrx> zorak, The bulk of the language is the same though.
<zorak> or is better find a newer book?
<centrx> zorak, You could download Ruby 1.8, or you could treat it as an exercise to learn the changes in the language, or you could get another book.
<zorak> im trying to run the examples of the book but im getting errors and i think that can be because of the vertion
hiyosi has joined #ruby
<zorak> im getting this error
<zorak> /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require':LoadError: cannot load such file -- 99_botellas.rb
<centrx> What is the code?
jamto11 has joined #ruby
dodosan has quit [Client Quit]
<centrx> zorak, require generally loads from your PATH/gem PATH, not the current directory
jlast has quit [Remote host closed the connection]
<centrx> zorak, Use "-I." in combination to specify the current directory (".") as part of the path to get the require from
<centrx> zorak, Or use "load 99_botellas.rb" from inside irb and no command-line arguments
<zorak> im in the path
<centrx> it's a different PATH than the filesystem/shell PATH
<zorak> ~/Documentos/Ruby/Ejemplos libros $ irb
<zorak> irb(main):001:0> load 99_botellas.rb
<zorak> SyntaxError: (irb):1: trailing `_' in number
<zorak> load 99_botellas.rb
<zorak> ^
<zorak> (irb):1: syntax error, unexpected tIDENTIFIER, expecting $end
<zorak> load 99_botellas.rb
<zorak> ^
<zorak> from /usr/bin/irb:12:in `<main>'
<centrx> load '99_botellas.rb'
hiyosi has quit [Ping timeout: 264 seconds]
<zorak> excelent!
<zorak> thank you :D
<zorak> :-/
nbezzala has quit [Read error: Connection reset by peer]
amskah has joined #ruby
<centrx> You are welcome
charlies_ has joined #ruby
JordanJ2 has left #ruby ["Leaving"]
<zorak> ehh, finally
<zorak> i tough was a problem of the vertion
kukyakya_ has quit [Remote host closed the connection]
<zorak> also, this line of the book
<zorak> "Time.local method. This method takes 10 items as argu-
<zorak> ments, in order: seconds, minutes, hours, day of the month, month, year,
<zorak> day of the week, day number within the year"
charliesome has quit [Ping timeout: 240 seconds]
<zorak> because i was reading Time yesterday and i think that is in the reverse order now (the first argument is year)
kukyakya has joined #ruby
<centrx> zorak, No one ever uses all ten arguments, so the ones that start with year are more common
klue has quit [Quit: Lost terminal]
dingus_khan has joined #ruby
<zorak> but that line is still correct?
<rjk808> anyone in here hate rails? hate sinatra? the opposite?
<dingus_khan> i don't like rails as much i liked sinatra
<zorak> if i use all the 10 arguments, the fisrt one its gonna be the "second"??
<rjk808> do you find yourself using rails a lot regardless?
<dingus_khan> yes
<centrx> zorak, yes
Sawbones has joined #ruby
<zorak> on, thank you centrx :)
<rjk808> i see. i just left the angular channel. rails was not highly regarded in there
<centrx> Are those node.js people?
<rjk808> any opinions on angualr?
<dingus_khan> sounds about right
<rjk808> they tend to be.
Murci3lago has quit [Ping timeout: 240 seconds]
<centrx> node.js is kind of a joke
<dingus_khan> i don't know enough about angular to have an opinion, but i like what i know about ember so far
<rjk808> ok
njection has joined #ruby
<rjk808> centrx: i hear a lot of opinions from both sides
<rjk808> dingus_khan: so when you use ember, do you use node or rails/sinatra for the backend?
<centrx> rjk808, They are re-inventing the wheel and think they have discovered something new
sdouglas has joined #ruby
<centrx> rjk808, The only advantage to node.js is Javascript is really fast nowadays, but then you might as well use Scala/Java or Lua
Sawbones has quit [Remote host closed the connection]
<dingus_khan> rjk808: i haven't built anything with it yet, still learning about front-end MVC frameworks in general, but i imagine i'd use rails just for AR if i had a relational DB i wanted to use
dseitz has joined #ruby
<rjk808> centrx: haha i'm watching the video
<rjk808> centrx: but forgive me, I can't take a vid from 1/2012 seriously in this industry
<centrx> Why?
<rjk808> centrx: i don't have an opinion either way, but i imagine node has changed a lot in that time
cantonic has quit [Quit: cantonic]
<centrx> It's the same general philosophy
<centrx> rjk808, The current major version of Node.js was originally released 2013-03
<rjk808> cool
<rjk808> yea, i'm just a newb, trying to figure out the best approach going forward
<rjk808> improve my RoR skills which i have very litte
<centrx> Just stay away from PHP and you'll be fine
<rjk808> little
<rjk808> attack angualr and the MEAN stack
<rjk808> hahaha noted. thx
<centrx> What's your goal?
Solnse has quit [Quit: Leaving.]
Salve has joined #ruby
byennen has joined #ruby
alexju has joined #ruby
<rjk808> to be hired as a junior dev.
cantonic has joined #ruby
<rjk808> other than that, to build cool stuff with cutting edge technology
yubrew has joined #ruby
soulashell has joined #ruby
Salve has quit [Ping timeout: 240 seconds]
adkron has quit [Ping timeout: 246 seconds]
<centrx> rjk808, Don't forget Python
jamto11 has quit [Remote host closed the connection]
Virtualize|away has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
mikepack has quit [Remote host closed the connection]
virt|work has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
Virtualize|away has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
radic has quit [Ping timeout: 240 seconds]
jjbohn has joined #ruby
Cryptotoricist has joined #ruby
Cryptotoricist has quit [Client Quit]
x1337807x has joined #ruby
Phagus has quit [Ping timeout: 264 seconds]
francisfish has joined #ruby
jjbohn has quit [Read error: Connection reset by peer]
funburn has quit [Quit: funburn]
radic has joined #ruby
snuffeluffegus has quit [Quit: Leaving]
crystal77 has joined #ruby
browndawg has joined #ruby
mary5030 has quit [Remote host closed the connection]
dik_dak has joined #ruby
rankine has joined #ruby
francisfish has quit [Ping timeout: 255 seconds]
pu22l3r_ has quit [Remote host closed the connection]
byennen has quit [Remote host closed the connection]
byennen has joined #ruby
_justin has joined #ruby
funburn has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
nisstyre has quit [Quit: WeeChat 0.4.3]
braincrash has quit [Quit: bye bye]
byennen has quit [Ping timeout: 240 seconds]
SonicX has quit [Read error: Connection reset by peer]
SonicX has joined #ruby
teddyp1cker has joined #ruby
<dingus_khan> rjk808: how are you doing your learning for that goal?
Solnse has joined #ruby
hiyosi has joined #ruby
JBreit has joined #ruby
braincrash has joined #ruby
tungd has joined #ruby
<rjk808> dingus_khan: a bunch of tutorials lined up. building stuff with them.
<rjk808> dingus_khan: can i ask what you are aiming to do?
<dingus_khan> nice
<dingus_khan> i'm aiming for the same thing
kitak_ has quit [Remote host closed the connection]
<dingus_khan> don't tell the old guard
<centrx> What is this. You guys are learning Ruby to make MONEY!? How crude.
_justin has quit [Quit: _justin]
<dingus_khan> doh he was paying attention after all!
JBreit has left #ruby [#ruby]
<dingus_khan> i got student loans man!
teddyp1cker has quit [Ping timeout: 264 seconds]
cantonic has quit [Quit: cantonic]
hiyosi has quit [Ping timeout: 246 seconds]
MatthewsFace has joined #ruby
atlas__ has quit [Ping timeout: 255 seconds]
burgess has quit [Quit: ^zzz]
shaileshg has joined #ruby
sed_life_better has quit [Ping timeout: 255 seconds]
jkamenik1 has joined #ruby
fridim__ has quit [Ping timeout: 255 seconds]
jkamenik has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 264 seconds]
rjk808 has quit []
matcouto has joined #ruby
tjr9898 has quit [Remote host closed the connection]
Solnse has quit [Quit: Leaving.]
LexicalScope has quit [Read error: Connection reset by peer]
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
LexicalScope has joined #ruby
bynaryshef has quit []
kotakotakota has quit [Quit: Leaving]
<matcouto> Guys, what's be the best way to change the value of a super_class from a sub_class? Is it ok to use self.class::MY_CONST ???
rankine has quit [Quit: leaving]
LexicalScope has quit [Read error: Connection reset by peer]
yasushi has joined #ruby
LexicalScope has joined #ruby
eka_ has quit [Quit: My computer has gone to sleep. ZZZzzz…]
dik_dak has quit [Quit: Leaving]
decoponio has joined #ruby
bradhe has joined #ruby
yubrew has joined #ruby
<centrx> matcouto, That looks like a constant?
<centrx> matcouto, Don't change the value of a constant...?
eka has joined #ruby
hermanmunster has quit [Remote host closed the connection]
Salve has joined #ruby
<matcouto> yeah thats true. never mind... =)
dingus_khan has quit [Remote host closed the connection]
hermanmunster has joined #ruby
IceDragon has quit [Quit: Space~~~]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yubrew has quit [Ping timeout: 246 seconds]
Solnse has joined #ruby
Skaag has quit [Quit: leaving]
hermanmu_ has joined #ruby
hermanmunster has quit [Read error: Connection reset by peer]
pfg has joined #ruby
wallerdev has quit [Quit: wallerdev]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
Salve has quit [Ping timeout: 264 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby
mikepack has quit [Remote host closed the connection]
Solnse has quit [Quit: Leaving.]
Shidash has quit [Ping timeout: 264 seconds]
yasushi has quit [Remote host closed the connection]
hobodave has joined #ruby
atlas__ has joined #ruby
vlad_starkov has joined #ruby
zorak has quit [Ping timeout: 240 seconds]
abdulsattar has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
lxsameer has joined #ruby
paolooo has joined #ruby
aspires has joined #ruby
tectonic has joined #ruby
spergy has joined #ruby
bricker`LA has quit [Quit: leaving]
thomasxie has joined #ruby
amclain_ has quit [Quit: Leaving]
marcdel has joined #ruby
zorak has joined #ruby
ramin_sed_ has joined #ruby
sparrovv has joined #ruby
yacks has joined #ruby
centrx has quit [Remote host closed the connection]
centrx has joined #ruby
ramin_sed_ has quit [Ping timeout: 246 seconds]
wallerdev has quit [Quit: wallerdev]
hobodave has quit [Quit: Computer has gone to sleep.]
sparrovv has quit [Ping timeout: 255 seconds]
drx_ has quit [Ping timeout: 240 seconds]
<spergy> hey guys, if a website has something like live timing/scores(sports or something) is it possible to write a program in ruby that extracts and displays that data for me, instead of having to go to the website??
neaer has joined #ruby
ferno has joined #ruby
<centrx> spergy, Yes. It is called scraping. The most popular/complete library for scraping in Ruby is called Nokogiri
<popl> spergy: It's legally murky. Make sure you have permission from the site owner or you could get in trouble.
<centrx> spergy, If you know of a site that exposes an API, that is a more reliable and easier to program way, but e.g. the ESPN API is limited or requires paying
kevinykchan has joined #ruby
jamto11 has joined #ruby
hiyosi has joined #ruby
<spergy> yeah the live timing I want is free on the website, access to anyone is fine, don't have to pay for it, just wanted to try and display it live in my own program as a project rather than go to the website
<spergy> scraping is more just getting all the files from a website yeah? not viewing live timing data as it happens?
mrnugget has joined #ruby
<havenwood> spergy: mechanize is a nice gem to help crawling a page like that with nokogiri
centrx has quit [Quit: All this computer hacking is making me thirsty]
poguez_ has quit [Quit: Connection closed for inactivity]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dingus_khan has joined #ruby
centrx has joined #ruby
bradhe has quit [Remote host closed the connection]
chris_th_ has quit [Quit: Zzz...]
centrx is now known as Guest39306
<spergy> cheers will have a look
Guest39306 is now known as centrx
kevinykchan has quit [Ping timeout: 252 seconds]
hiyosi has quit [Ping timeout: 252 seconds]
Doppp has joined #ruby
nomenkun has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
kitak has joined #ruby
larissa has quit [Quit: Leaving]
vlad_starkov has joined #ruby
abdulsattar has quit [Ping timeout: 264 seconds]
danno1 has joined #ruby
nomenkun has quit [Remote host closed the connection]
yubrew has joined #ruby
hermanmu_ has quit [Remote host closed the connection]
hermanmunster has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
vlad_starkov has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
centrx has quit [Quit: All this computer hacking is making me thirsty]
yubrew has quit [Ping timeout: 240 seconds]
BeingUntoDeath has quit [Ping timeout: 246 seconds]
aspires has quit []
_HolyCow has joined #ruby
_HolyCow has left #ruby [#ruby]
hermanmunster has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
hermanmunster has joined #ruby
_lynX has quit [Ping timeout: 240 seconds]
Salve has joined #ruby
isbadawi has quit [Quit: Leaving.]
h4mz1d has quit [Ping timeout: 264 seconds]
pietr0 has joined #ruby
pietr0 has quit [Client Quit]
Salve has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
isbadawi has joined #ruby
hamakn has joined #ruby
atlas__ has quit [Ping timeout: 252 seconds]
sputnik13 has quit [Quit: Textual IRC Client: www.textualapp.com]
jamto11 has quit [Remote host closed the connection]
isbadawi has quit [Ping timeout: 240 seconds]
phansch has joined #ruby
hakunin has quit []
koell has quit [Ping timeout: 246 seconds]
jjbohn has joined #ruby
francisfish has joined #ruby
njection_ has joined #ruby
nari has quit [Ping timeout: 240 seconds]
njection has quit [Ping timeout: 240 seconds]
cj3kim has joined #ruby
deens has joined #ruby
jjbohn has quit [Ping timeout: 240 seconds]
echevemaster has quit [Remote host closed the connection]
francisfish has quit [Ping timeout: 264 seconds]
<zorak> someone can help e with this code?
nomenkun has joined #ruby
<zorak> the problem is in the line 14
koell has joined #ruby
<zorak> when try to split the lines, dont do it
Doppp has quit [Quit: leaving]
<zorak> this is the file is trying to splip http://pastebin.com/BxCus49f
Doppp has joined #ruby
Doppp has quit [Client Quit]
<zorak> in the original example is split("\n\n") but did'nt wor neither
derek_c has joined #ruby
nomenkun has quit [Ping timeout: 246 seconds]
tectonic has quit []
ferno has quit [Ping timeout: 255 seconds]
<dingus_khan> zorak: i think it's because you're not using #readlines properly
<havenwood> zorak: file_lines is an Array, then when you call #to_s on it things go downhill.
<zorak> why file_lines is an array?
<dingus_khan> but they're calling it on an empty file they opened in read mode, without giving it a name, right?
<havenwood> zorak: file_lines = quotation_file.readlines
<dingus_khan> because #readlines returns an array
<havenwood> zorak: get rid of #2-#4, replace with: quotations = File.readlines(filename).map &:chomp
teddyp1cker has joined #ruby
<zorak> havenwood: i dont get it, delete the lines 9, 10, 12 and 14
deens has quit [Remote host closed the connection]
chipotle has quit [Quit: cya]
<zorak> and put one line with quotations = File.readlines(filename).map &:chop ?
isbadawi has joined #ruby
<havenwood> zorak: yup, but chomp
<havenwood> chomp nom nom
<havenwood> (just to get rid of the newlines at the end of the lines, which it seems you want to do?)
<zorak> work perfectly, but i get this warning
<zorak> random_sig.rb:17: warning: `&' interpreted as argument prefix
<havenwood> if you want to leave newlines in place, just: quotations = File.readlines(filename)
<dingus_khan> yeah i was wondering about the chomp part, was that point?
abdulsattar has joined #ruby
<havenwood> zorak: What version of Ruby are you on?
isbadawi1 has joined #ruby
<zorak> 1.9.1 with a book with 1.8.4
isbadawi has quit [Read error: Connection reset by peer]
<havenwood> zorak: `&:chomp` is is 1.9.2+ syntax for `{ |i| i.chomp }`
<havenwood> zorak: whenever you get a chance, grab Ruby 2.1.1 :)
<zorak> what do .chomp?
_justin has joined #ruby
vlad_starkov has joined #ruby
kevinykchan has joined #ruby
<havenwood> zorak: `"stuff\r\n".chomp #=> "stuff"` and `"stuff\n".chomp #=> "stuff"`, so it gets rid of win or linux newlines
hiyosi has joined #ruby
<zorak> its like split("\n\n") but delete the \n\n too
isbadawi1 has quit [Ping timeout: 240 seconds]
<zorak> very good
phansch has quit [Quit: WeeChat 0.4.2]
wjlafrance has quit [Quit: This computer has gone to sleep]
<dingus_khan> how would i use a proc or lambda to store a block that rounds the value of a float each time there's assignment on that variable?
deens has joined #ruby
Doppp has joined #ruby
<havenwood> zorak: so in your version it'd be: quotations = File.readlines(filename).map { |line| line.chomp }
bluOxigen has joined #ruby
ramin_sed_ has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
<zorak> excellent
hermanmunster has quit [Remote host closed the connection]
<zorak> if i have a code with { |i| i.chomp } and i run it in 2.1.1 will be running fine?
sdouglas has quit [Remote host closed the connection]
<havenwood> zorak: yup
hermanmunster has joined #ruby
<zorak> is, back-compatible Ruby?
sdouglas has joined #ruby
nuba has quit [Ping timeout: 240 seconds]
<zorak> or somethings writed in a old way will have problems with the new rubys?
ramin_sed_ has left #ruby [#ruby]
hiyosi has quit [Ping timeout: 264 seconds]
<havenwood> 2.1.1 is in large part backward compatible back to 1.9.2.
Robbo_ has joined #ruby
<Robbo_> what is the best framework for an app that is just an api?
<havenwood> zorak: 1.9.2 is past End-of-Life.
nuba has joined #ruby
<havenwood> Robbo_: Just pure Rack, Sinatra, Padrino, or maybe one of those with Grape.
yubrew has joined #ruby
teddyp1c_ has joined #ruby
<zorak> i just check the version and i have 1.9.3p194
xMopxShell has quit [Remote host closed the connection]
wallerdev has joined #ruby
<Robbo_> was going to look at sinatra since it is fairly popular
<zorak> how can i update to the newest?
<havenwood> Robbo_: Sinatra is nice.
<havenwood> zorak: OS/Distro?
<zorak> devian
<zorak> (actually linux mint)
i_s has quit [Remote host closed the connection]
<zorak> try aptitude install ruby
nari has joined #ruby
<zorak> but just told me i already have it
<havenwood> zorak: sudo apt-get install ruby2.0 ruby2.0-dev
hermanmunster has quit [Read error: Connection reset by peer]
<Robbo_> I also don't need an ORM as it is to work with static files
hermanmunster has joined #ruby
sdouglas has quit [Ping timeout: 246 seconds]
<abdulsattar> dingus_khan: When you say a variable, do you mean an instance variable?
<havenwood> zorak: then: sudo update-alternatives --config ruby; sudo update-alternatives --config gem
<dingus_khan> abdulsattar: i do indeed
yacks has quit [Quit: Leaving]
<zorak> my repos dont have it :-/
<havenwood> dingus_khan: call a method that sets the variable
vlad_starkov has quit [Remote host closed the connection]
<zorak> gonna update the repos
<dingus_khan> havenwood: i'm setting the variable within a method call, but the precision is off
kevinykchan has quit [Ping timeout: 255 seconds]
<abdulsattar> Okay, just define a method def variable=(v); @variable=v; end; And keep calling that method
yubrew has quit [Ping timeout: 246 seconds]
<abdulsattar> make sure you round the variable in that method
deens_ has joined #ruby
davedev24 has quit [Remote host closed the connection]
<dingus_khan> probably a better question is, is there a way to force precision/rounding when i first define the variable, data-type style?
ferno has joined #ruby
<abdulsattar> dingus_khan: you don't need to declare a variable, just use it
<abdulsattar> If you want to enforce something on a variable, you need a method, and that method looks exactly like the one I mentioned above
<dingus_khan> right, ruby, for sure, but does Float have a way to set precision on an instance of that variable?
deens has quit [Read error: Connection reset by peer]
<dingus_khan> so the default Float precision is always like 8 places, can't be changed?
nomenkun has joined #ruby
ramin_se_ has joined #ruby
<Mon_Ouie> Not sure what you mean by precision, but all floats use the same representation and that representation doesn't guarantee that a certain amount of digits will be correct
glebm has quit [Remote host closed the connection]
<abdulsattar> dingus_khan: you can round float to any number of decimal places
<abdulsattar> >> 39.398394.round(2)
<eval-in> abdulsattar => 39.4 (https://eval.in/121294)
ramin_se_ has left #ruby [#ruby]
shaileshg has quit [Quit: Connection closed for inactivity]
<Mon_Ouie> For example 0.2 is exact, 0.1+0.2 is wrong at the 16th decimal place, 1+1e16==1e16
glebm has joined #ruby
koell has quit [Ping timeout: 246 seconds]
<Mon_Ouie> (there are more floating point numbers near zero than near infinity)
boysetsfire has joined #ruby
<dingus_khan> sorry, that is what i'm getting at, i was just wondering if there was a way to force a variable of the Float type to round itself to two places, but what you're saying makes sense for sure
<zorak> havenwood: thanks for the help
<zorak> good night, keep coding :)
zorak has quit [Remote host closed the connection]
BBBThunda has quit [Remote host closed the connection]
hermanmunster has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
<apeiros> rounding doesn't remove all issues with floats
<apeiros> >> 0.1+0.2 == 0.3
<eval-in> apeiros => false (https://eval.in/121297)
nomenkun has joined #ruby
nomenkun has quit [Remote host closed the connection]
nomenkun has joined #ruby
<apeiros> that's only 1 significant digit, and it's already differing from expectation
hermanmunster has joined #ruby
monkegjinni has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
<dingus_khan> apeiros: ahh, so one might expect to have "off by fractions" issues when adding even *after* rounding?
nomenkun has quit [Remote host closed the connection]
glebm has quit [Remote host closed the connection]
<apeiros> yes
nomenkun has joined #ruby
<apeiros> if you need exact decimal values, either use an actual decimal (BigDecimal in ruby), or integers.
<dingus_khan> so if I had an expectation of $32.68 and I get $32.78, that's reasonable?
glebm has joined #ruby
<apeiros> depends on what you do. such a large difference should only occur on some repeated operation.
<dingus_khan> gotcha, makes sense. can i show you the code i'm working on for perspective?
<dingus_khan> it is repeated in a sense
<apeiros> since I'll have to get breakfast and commute soon, I fear I can't look at it, sorry.
<dingus_khan> no worries, thanks for the info either ways and for being straight with me on it
<apeiros> yw
hermanmu_ has joined #ruby
<dingus_khan> way*
Salve has joined #ruby
chipotle has joined #ruby
nomenkun has quit [Remote host closed the connection]
hermanmunster has quit [Ping timeout: 264 seconds]
<Robbo_> the thing that annoys me the most about ruby is its frameworks use the word "javascripts"
nomenkun has joined #ruby
<dingus_khan> thank you Mon_Ouie and abdulsattar as well, much appreciated
<dingus_khan> and havenwood, sorry
sigurding has joined #ruby
tagrudev has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
Hanmac has joined #ruby
funburn has quit [Quit: funburn]
Hanmac1 has quit [Ping timeout: 252 seconds]
teddyp1c_ has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
amh345 has quit [Quit: amh345]
chuck_ has quit [Ping timeout: 240 seconds]
chuck_ has joined #ruby
teddyp1c_ has joined #ruby
yacks has joined #ruby
fgo has quit [Remote host closed the connection]
skinny_much has quit [Quit: ZNC - http://znc.sourceforge.net]
amh345 has joined #ruby
skinny_much has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
_tpavel has joined #ruby
boysetsfire has quit [Quit: WeeChat 0.4.3]
aganov has joined #ruby
nomenkun has quit [Remote host closed the connection]
i_s has joined #ruby
nomenkun has joined #ruby
jjbohn has joined #ruby
hermanmu_ has quit [Remote host closed the connection]
nomenkun_ has joined #ruby
nomenkun has quit [Ping timeout: 246 seconds]
bradhe has joined #ruby
jjbohn has quit [Ping timeout: 252 seconds]
popl has quit [Quit: Touch the frog.]
Alina-malina has quit [Ping timeout: 255 seconds]
danno1 has quit [Ping timeout: 240 seconds]
i_s has quit [Ping timeout: 264 seconds]
tungd has quit [Ping timeout: 255 seconds]
CaptainJet has quit []
tungd has joined #ruby
sensen has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
sigurding has quit [Ping timeout: 255 seconds]
teddyp1c_ has quit [Remote host closed the connection]
sigurding has joined #ruby
nomenkun has joined #ruby
nomenkun_ has quit [Ping timeout: 240 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
ayaz has joined #ruby
relix has joined #ruby
mikecmpbll has joined #ruby
apeiros has quit [Ping timeout: 246 seconds]
_Andres has joined #ruby
isbadawi has joined #ruby
relix has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
Asher has quit [Remote host closed the connection]
Avahey_ has quit [Quit: Connection closed for inactivity]
yubrew has joined #ruby
hiyosi has joined #ruby
Asher has joined #ruby
b00stfr3ak has quit [Ping timeout: 252 seconds]
isbadawi has quit [Ping timeout: 255 seconds]
jefflyne has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
yubrew has quit [Ping timeout: 252 seconds]
jefflyne has joined #ruby
hiyosi has quit [Ping timeout: 252 seconds]
kevinykchan has joined #ruby
Mon_Ouie has quit [Ping timeout: 240 seconds]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
deens_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
abionic has joined #ruby
makara has joined #ruby
abdulsattar has quit [Remote host closed the connection]
bal has joined #ruby
makara has quit [Max SendQ exceeded]
kevinykchan has quit [Ping timeout: 240 seconds]
abk has quit [Ping timeout: 240 seconds]
sensen has joined #ruby
xjiujiu has joined #ruby
abdulsattar has joined #ruby
apeiros has joined #ruby
marcdel has quit []
NicholasFlamel has joined #ruby
bigkevmcd has joined #ruby
klaut has joined #ruby
thomasxie has left #ruby [#ruby]
sensen has quit [Ping timeout: 252 seconds]
arturaz has joined #ruby
m1lt0n_ has joined #ruby
Salve has joined #ruby
wallerdev has joined #ruby
sensen has joined #ruby
jprovazn has joined #ruby
dingus_khan has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
jph98 has joined #ruby
userx has quit [Ping timeout: 255 seconds]
sanyako has joined #ruby
workmad3 has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
dagobah has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
fgo has joined #ruby
bal has quit [Quit: bal]
bal has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
sdouglas has joined #ruby
schmidt has quit [Ping timeout: 252 seconds]
schmidt has joined #ruby
nomenkun_ has joined #ruby
LekeFly has joined #ruby
francisfish has joined #ruby
LekeFly has quit [Client Quit]
nomenkun has quit [Read error: Connection reset by peer]
jjbohn has joined #ruby
yfeldblu_ has joined #ruby
sdouglas has quit [Ping timeout: 252 seconds]
<Cork> i want to give an object into a proc block given to a function
<Cork> and i want to attach a function to it
<Cork> can i do this without having to create a full class for each time i want to do this?
<Cork> right now i do it my prefixing the function names, but it getting messy quite fast
<Cork> set_info => set_info_create_row and so on
CpuID has quit [Ping timeout: 264 seconds]
francisfish has quit [Ping timeout: 240 seconds]
i_s has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
jjbohn has quit [Ping timeout: 246 seconds]
nomenkun_ has quit [Remote host closed the connection]
amundj has joined #ruby
nomenkun has joined #ruby
popl has joined #ruby
popl has joined #ruby
popl has quit [Changing host]
abionic has quit [Ping timeout: 252 seconds]
fgo has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Remote host closed the connection]
nomenkun has quit [Ping timeout: 246 seconds]
deens has joined #ruby
CpuID has joined #ruby
LiohAu has joined #ruby
deens has quit [Remote host closed the connection]
blackmesa has joined #ruby
i_s has quit [Ping timeout: 240 seconds]
CpuID has quit [Read error: Connection reset by peer]
fgo has joined #ruby
fgo has quit [Remote host closed the connection]
claymore has joined #ruby
yubrew has joined #ruby
<apeiros> Cork: I don't really get what you want to do
<apeiros> examples might help
<popl> hey apeiros
<apeiros> hi popl
<popl> how's tabledata coming along? I noticed a few recent commits
amskah has quit [Quit: Leaving]
<apeiros> I've added experimental custom tables, with a dsl to define the table structure. including adaption, validation and presentation of columns
<Cork> apeiros: ya, i snowed in; what i wanted was lambda...
<Cork> ^^'
<Cork> mondays i guess
mikecmpbll has joined #ruby
<apeiros> Cork: ok, I stil don't get what you wanted, but if you've a solution, then everything is fine anyway I guess :)
<apeiros> *still
isbadawi has joined #ruby
<Cork> apeiros: my_func {|o| o.row 1,2,3,4 }
deens has joined #ruby
mengu has quit [Remote host closed the connection]
<popl> apeiros: so you just decided to create a dsl for that? ;)
kevinykchan has joined #ruby
<apeiros> oh, I wanted that a long time ago. just never got around to actually do it.
yubrew has quit [Ping timeout: 246 seconds]
isbadawi has quit [Read error: Connection reset by peer]
<popl> not enough tuits
isbadawi has joined #ruby
<apeiros> tuits?
<pontiki> square or round?
ahawkins has joined #ruby
<popl> apeiros: round tuits
hiyosi has joined #ruby
AlSquirrel has joined #ruby
<popl> That one is rather nice.
deens has quit [Ping timeout: 252 seconds]
wallerdev has quit [Quit: wallerdev]
kevinykchan has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
isbadawi has quit [Ping timeout: 264 seconds]
<apeiros> lolwhat?
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
<popl> apeiros: It's a thing that's been around longer than you or I, I think.
vlad_sta_ has joined #ruby
glebm_ has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
glebm has quit [Ping timeout: 264 seconds]
<popl> anyways, adapt: is interesting
hiyosi has quit [Ping timeout: 264 seconds]
derek_c has quit [Ping timeout: 252 seconds]
jph98 has quit [Quit: jph98]
vlad_starkov has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
yasushi has joined #ruby
blueOxigen has joined #ruby
blaxter has joined #ruby
xxpor_ has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
alexju_ has joined #ruby
patronus_ has joined #ruby
Elico1 has joined #ruby
jefflyne_ has joined #ruby
einarj has joined #ruby
frode15243__ has joined #ruby
<apeiros> popl: there's also pre_validate
schaary_ has joined #ruby
njection has joined #ruby
<apeiros> the order is pre_validate (runs on raw input) -> adapt -> validate
Zunonia_ has joined #ruby
popl_ has joined #ruby
popl_ has joined #ruby
popl_ has quit [Changing host]
roolo has joined #ruby
Mongey_ has joined #ruby
<popl_> popl: get out!
popl has quit [Disconnected by services]
sanyako has quit [Read error: Connection reset by peer]
popl_ is now known as popl
tonni_ has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
diego_k has quit [Ping timeout: 240 seconds]
frode15243_ has quit [Ping timeout: 240 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
frode15243__ is now known as frode15243_
Zunonia has quit [Ping timeout: 240 seconds]
diegok has joined #ruby
schaary has quit [Ping timeout: 240 seconds]
schaary_ is now known as schaary
yasushi has quit [Ping timeout: 246 seconds]
abra has quit [Ping timeout: 240 seconds]
jefflyne has quit [Ping timeout: 240 seconds]
Mongey has quit [Ping timeout: 240 seconds]
fijimunk1i has quit [Ping timeout: 240 seconds]
patronus has quit [Ping timeout: 240 seconds]
ItSANg___ has quit [Ping timeout: 240 seconds]
wykydtron has quit [Ping timeout: 240 seconds]
gigetoo has quit [Read error: Connection reset by peer]
chuck__ has joined #ruby
wicketts has quit [Remote host closed the connection]
abra has joined #ruby
gigetoo has joined #ruby
bcavileer__ has joined #ruby
LiohAu has quit [Ping timeout: 240 seconds]
chuck_ has quit [Ping timeout: 240 seconds]
browndawg has quit [Ping timeout: 240 seconds]
gtech_ has quit [Ping timeout: 240 seconds]
bedouin_ has quit [Ping timeout: 240 seconds]
Teltaria1 has joined #ruby
Atww has joined #ruby
LiohAu has joined #ruby
<apeiros> oh, actually, the full order is: strip, empty-string-to-nil, user-defined pre-validate, type-defined pre-validate, user-defined adaptor, defaultize, type-defined adaptor, user-defined validate
telling_ has joined #ruby
<apeiros> (code currently differs from this, though)
cj3kim_ has joined #ruby
_justin has quit [Quit: _justin]
guilleiguaran_ has joined #ruby
_5kg_ has joined #ruby
hurry has joined #ruby
mvangala_ has joined #ruby
Thana` has joined #ruby
Thana` has quit [Changing host]
Thana` has joined #ruby
senayar has joined #ruby
kies has quit [Ping timeout: 240 seconds]
postmodern has quit [Ping timeout: 240 seconds]
larsam has quit [Ping timeout: 240 seconds]
tonni has quit [Ping timeout: 240 seconds]
sobersabre has quit [Ping timeout: 240 seconds]
guilleiguaran has quit [Ping timeout: 240 seconds]
bcavileer_ has quit [Ping timeout: 240 seconds]
Teltariat has quit [Ping timeout: 240 seconds]
xxpor has quit [Ping timeout: 240 seconds]
atno has quit [Ping timeout: 240 seconds]
alexju has quit [Ping timeout: 240 seconds]
njection_ has quit [Ping timeout: 240 seconds]
p4tux has quit [Ping timeout: 240 seconds]
telling has quit [Ping timeout: 240 seconds]
_5kg has quit [Ping timeout: 240 seconds]
mr_rich102 has quit [Ping timeout: 240 seconds]
twiceaday has quit [Ping timeout: 240 seconds]
seggy has quit [Ping timeout: 240 seconds]
abdulsattar has quit [Ping timeout: 240 seconds]
charlies_ has quit [Ping timeout: 240 seconds]
Thanatermesis has quit [Ping timeout: 240 seconds]
gregf has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 240 seconds]
Atw has quit [Ping timeout: 240 seconds]
cj3kim has quit [Ping timeout: 240 seconds]
p4tux has joined #ruby
browndawg has joined #ruby
kies has joined #ruby
guilleiguaran_ is now known as guilleiguaran
arturaz has quit [Remote host closed the connection]
mr_rich101 has joined #ruby
charliesome has joined #ruby
Xeago has joined #ruby
gregf has joined #ruby
fijimunkii has joined #ruby
gtech has joined #ruby
wykydtron has joined #ruby
bedouin_ has joined #ruby
ItSANgo has joined #ruby
mvangala has quit [Read error: Connection reset by peer]
twiceaday has joined #ruby
postmodern has joined #ruby
sobersabre has joined #ruby
atno has joined #ruby
abdulsattar has joined #ruby
seggy has joined #ruby
coderxin has joined #ruby
blueOxigen has quit [Ping timeout: 252 seconds]
<popl> apeiros: have you documented it yet?
Salve has joined #ruby
mikecmpbll has joined #ruby
coderxin is now known as coderxin_
browndawg has quit [Ping timeout: 240 seconds]
coderxin_ is now known as coderxin
makara has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
codeFiend has quit [Quit: codeFiend]
* popl upgrades to 1.9.3_p484 \o/
sk87 has joined #ruby
<bnagy> uh
browndawg has joined #ruby
<popl> Now I just need one of those new-fangled rotary phone things.
<bnagy> software semvers should have the song that was #1 in the charts at the time they were released
<popl> bnagy: which charts?
<bnagy> that way people would be like 'HOLY SHIT I'M RUNNING R KELLY?'
<popl> R Kelly is a song?
<bnagy> you can never beat me in a 'not knowing about popular culture' competition, don't even try
<apeiros> popl: no. I'm not yet happy with the API
mengu has joined #ruby
camilasan has joined #ruby
<popl> bnagy: I could probably.
leonidlm has joined #ruby
_justin has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
<popl> bnagy: If not I could just hit you over the head with a bag of rocks then win by default (since I'd be the only one in the competition at that point).
<popl> Oh wait, did I actually type that?
<popl> :D
<popl> apeiros: Yeah, you seem to be making lots of changes. That's cool, though. Are you talking to anyone else about the design or just doing it yourself?
<popl> bnagy: I don't really think I'd do that, by the way.
<apeiros> I'm usually asking around. but getting little feedback. So essentially it's just me :)
DouweM has quit [Ping timeout: 245 seconds]
alexju_ has quit [Remote host closed the connection]
YamakasY has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
nvrch has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
YamakasY has quit [Remote host closed the connection]
<bnagy> nom pizza
AlSquirrel has quit [Quit: This computer has gone to sleep]
<bnagy> so what's a tabledata anyway?
jjbohn has joined #ruby
joonty has joined #ruby
<popl> bnagy: the summary is "Read tabular data from various formats, like Excel .xls, Excel .xlsx, CSV."
camilasan has quit [Remote host closed the connection]
<bnagy> xls ouch
camilasan has joined #ruby
cris1 has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
jjbohn has quit [Ping timeout: 252 seconds]
rdark has joined #ruby
Hanmac1 has joined #ruby
baldrick_ has joined #ruby
obs has joined #ruby
<baldrick_> really
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
baldrick has joined #ruby
<popl> I did some xls conversion stuff in PHP a long time ago.
AlSquirrel has joined #ruby
<popl> IT WAS AMAZING
Hanmac has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
AlSquirrel has quit [Remote host closed the connection]
ferno has quit [Ping timeout: 264 seconds]
kate_r has joined #ruby
nomenkun_ has joined #ruby
<csmrfx> 8/
yubrew has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
baldrick_ has quit [Client Quit]
renklaf__ has quit []
kies has quit [Ping timeout: 255 seconds]
sk87 has quit [Client Quit]
<bnagy> ahh still depends on ruby-ole
<bnagy> man that lib has gotta be due for some lovin :<
shadoi has joined #ruby
<apeiros> bnagy: summary is no longer accurate. it's read/write tabular data from and in various formats
<apeiros> for excel, I depend on roo/spreadsheet
timonv has joined #ruby
<bnagy> which depends on ruby-ole I think
kitak has quit [Remote host closed the connection]
senayar has quit [Read error: Connection reset by peer]
<apeiros> quite possible
<apeiros> I just don't want to go down that rabbit hole myself if I can avoid it
renklaf has joined #ruby
sk87 has joined #ruby
senayar has joined #ruby
baldrick is now known as baldrick_
baldrick_ has left #ruby [#ruby]
<bnagy> you definitely don't :)
relix has joined #ruby
jhass|off is now known as jhass
yubrew has quit [Ping timeout: 246 seconds]
jespada has joined #ruby
kitak has joined #ruby
nomenkun_ has quit [Remote host closed the connection]
nomenkun has joined #ruby
mikecmpbll has joined #ruby
nomenkun_ has joined #ruby
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_sta_ has joined #ruby
tvw has joined #ruby
deadlock has quit [Ping timeout: 252 seconds]
andrewlio has joined #ruby
jlebrech has joined #ruby
Xeago has quit [Remote host closed the connection]
isbadawi has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
LekeFly has joined #ruby
hiyosi has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
abs has joined #ruby
Xeago has joined #ruby
gaussblurinc has joined #ruby
chrisseaton has joined #ruby
kies has joined #ruby
Alina-malina has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
isbadawi has quit [Ping timeout: 252 seconds]
fgo has joined #ruby
YamakasY has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
fella7s has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
hiyosi has quit [Ping timeout: 246 seconds]
YamakasY has quit [Client Quit]
GNeRaL is now known as gneral
YamakasY has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
fella5s has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
klaut has quit [Remote host closed the connection]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
jackneill has joined #ruby
Hanmac has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
chrisseaton has quit []
fveb has quit [Ping timeout: 264 seconds]
Hanmac1 has quit [Ping timeout: 264 seconds]
senayar_ has joined #ruby
senayar has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
fveb has joined #ruby
senayar_ is now known as senayar
nomenkun_ has quit [Ping timeout: 246 seconds]
cj3kim_ has quit [Remote host closed the connection]
Alina-malina has quit [Read error: Connection reset by peer]
Alina-malina has joined #ruby
coderhs has quit [Quit: Leaving]
Alina-malina has quit [Read error: Connection reset by peer]
bradhe has quit [Remote host closed the connection]
fgo has quit [Remote host closed the connection]
TMM has joined #ruby
Salve has joined #ruby
elaptics`away is now known as elaptics
hackeron has quit [Ping timeout: 240 seconds]
fgo has joined #ruby
Al__ has joined #ruby
YamakasY has quit [Quit: The best revenge is massive success...]
beauby has quit [Ping timeout: 255 seconds]
hackeron has joined #ruby
Adrao has joined #ruby
AlSquire has joined #ruby
zxq9 has quit [Quit: Konversation terminated!]
yfeldblu_ has quit [Remote host closed the connection]
koell has joined #ruby
Salve has quit [Ping timeout: 255 seconds]
<shevy> pffft rabbit hole
<shevy> real men write stuff FROM SCRATCH
YamakasY has joined #ruby
Alina-malina has joined #ruby
<apeiros> shevy: be a real man then and write a proper .xls and .xlsx reader, will you? thanks.
<shevy> apeiros eventually when I come around!
peterellisjones has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
<shevy> I actually tried to make the code to ruby fpdf more readable and saner
<shevy> then one day I broke it
<shevy> and had no more fun trying to debug it afterwards :(
<popl> Boo.
lolmaus_ has joined #ruby
lolmaus has quit [Ping timeout: 264 seconds]
<shevy> I still like the conceptual simplicity of fpdf though
tt1187 has joined #ruby
<shevy> a while ago I learned that someone even wrote a barcode generator in ruby
zxq9 has joined #ruby
shaunbaker has joined #ruby
shaunbak_ has joined #ruby
kitak has quit [Remote host closed the connection]
tungd has quit [Read error: No route to host]
hackeron has quit [Ping timeout: 264 seconds]
hackeron has joined #ruby
sdouglas has joined #ruby
kitak has joined #ruby
shaunbaker has quit [Ping timeout: 264 seconds]
<shevy> if we could mix together various ruby libraries into mega supersets
jjbohn has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
nomenkun has quit [Read error: Connection reset by peer]
<shevy> as umbrella project
segimondu has joined #ruby
<shevy> "gem install --category video"
<shevy> "gem install --category web"
<bnagy> I suspect I could rewrite ruby-ole on top of bindata
<shevy> \o/
heftig has joined #ruby
<shevy> your bindata never seems to die ;)
nomenkun has joined #ruby
yubrew has joined #ruby
<bnagy> and hopefully make it properly jruby / everything happy
<bnagy> nono that's not mine
<bnagy> mine was awful and I retired it
<shevy> oh
Hanmac has quit [Ping timeout: 255 seconds]
<bnagy> bindata was written by someone who apparently knew what they were doing
seggy has quit [Ping timeout: 246 seconds]
fieldfirst has joined #ruby
<bnagy> when I was using ruby-ole with lots and lots of BIG failes it kind of started getting flaky, esp with jruby
<bnagy> lol failes
<bnagy> *files
jjbohn has quit [Ping timeout: 240 seconds]
<bnagy> plus I always found the API kind of annoying
* bnagy suspects this might be the Guiness talking...
<bnagy> must. not. take. on. more. ruby projects.
<shevy> hehehe
<shevy> well, if these are really small projects it can't be so bad can it?
klaut has joined #ruby
<bnagy> OLESS parsing is not all that small
<bnagy> also tbh it has a about a 5 year horizon at most anyway
hackeron has quit [Ping timeout: 246 seconds]
<bnagy> then the xml formats will have completely taken over
francisfish has joined #ruby
cris1 is now known as ferno
Ariadeno has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
<bnagy> it only made sense for MS when the Office products all used their own custom heap managers
hackeron has joined #ruby
Elico1 has quit [Quit: Leaving.]
DaniG2k has joined #ruby
popl has quit [Quit: Touch the frog.]
workmad3 has joined #ruby
hackeron has quit [Ping timeout: 240 seconds]
fveb has quit [Ping timeout: 264 seconds]
hackeron has joined #ruby
Hanmac has joined #ruby
shaunbak_ has quit [Remote host closed the connection]
blackmesa has joined #ruby
mehlah has joined #ruby
bradhe has joined #ruby
apeiros has quit []
kyb3r_ has quit [Quit: Leaving]
bradhe has quit [Read error: Connection reset by peer]
timonv has joined #ruby
apeiros has joined #ruby
sydbarret has joined #ruby
hackeron has quit [Ping timeout: 246 seconds]
aaronmcadam has joined #ruby
francisfish has quit [Remote host closed the connection]
aaronmcadam has quit [Remote host closed the connection]
maninthemiddle has joined #ruby
aaronmcadam has joined #ruby
yfeldblum has joined #ruby
hackeron has joined #ruby
ValicekB has joined #ruby
yasushi has joined #ruby
kevinykchan has joined #ruby
isbadawi has joined #ruby
postmodern has quit [Quit: Leaving]
dnyy has quit [Ping timeout: 264 seconds]
im0b__ has quit [Ping timeout: 264 seconds]
cmaxw_____ has quit [Ping timeout: 252 seconds]
hiyosi has joined #ruby
bluehavana_ has quit [Read error: Connection reset by peer]
shaunbak_ has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
emergion has joined #ruby
bluehavana_ has joined #ruby
cmaxw_____ has joined #ruby
im0b__ has joined #ruby
dnyy has joined #ruby
kevinykchan has quit [Ping timeout: 264 seconds]
ferr has joined #ruby
isbadawi has quit [Ping timeout: 255 seconds]
yo61 has quit [Ping timeout: 264 seconds]
lectrick__ has quit [Read error: Connection reset by peer]
kapowaz has quit [Read error: Connection reset by peer]
andrewstewart has quit [Read error: Connection reset by peer]
mattyohe has quit [Write error: Connection reset by peer]
Guest85414______ has quit [Read error: Connection reset by peer]
timonv has quit [Remote host closed the connection]
lectrick__ has joined #ruby
kapowaz has joined #ruby
yo61 has joined #ruby
mattyohe has joined #ruby
andrewstewart has joined #ruby
timonv has joined #ruby
pfg has joined #ruby
Guest85414______ has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
sydbarret has quit []
pipework has quit [Ping timeout: 264 seconds]
jollyy has joined #ruby
hiyosi has quit [Ping timeout: 264 seconds]
Hanmac1 has joined #ruby
workmad3 has joined #ruby
Zunonia_ has quit [Quit: Computer has gone to sleep.]
bubbajones has quit [Ping timeout: 264 seconds]
camilasan has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 252 seconds]
unholycrab has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
Zai00 has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
sski has quit [Remote host closed the connection]
camilasan has joined #ruby
havenwood has quit [Remote host closed the connection]
sski has joined #ruby
havenwood has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
ferr has quit [Quit: Leaving.]
camilasan has quit [Read error: Connection reset by peer]
Speed has joined #ruby
camilasan has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
NovapaX has joined #ruby
camilasa_ has quit [Remote host closed the connection]
camilasan has joined #ruby
mengu has quit [Remote host closed the connection]
_justin has quit [Quit: _justin]
workmad3 has quit [Ping timeout: 255 seconds]
sski has quit [Ping timeout: 255 seconds]
_justin has joined #ruby
workmad3 has joined #ruby
havenwood has quit [Ping timeout: 255 seconds]
spergy has quit [Quit: Leaving.]
fieldfirst has quit [Ping timeout: 240 seconds]
Hanmac has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lkba has quit [Ping timeout: 264 seconds]
ahawkins has quit [Ping timeout: 255 seconds]
Lewix has quit [Remote host closed the connection]
Hanmac1 has quit [Ping timeout: 240 seconds]
thomasxie has joined #ruby
fieldfirst has joined #ruby
pipework has joined #ruby
unholycrab has joined #ruby
bubbajones has joined #ruby
jhass is now known as jhass|off
monkegjinni has joined #ruby
maninthemiddle has quit [Quit: This computer has gone to sleep]
Salve has joined #ruby
jollyy has quit [Ping timeout: 252 seconds]
jhass|off is now known as jhass
Elico has joined #ruby
tt1187 has quit [Ping timeout: 264 seconds]
Salve has quit [Ping timeout: 240 seconds]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_Andres has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
ferr has joined #ruby
jhass is now known as jhass|off
workmad3 has quit [Ping timeout: 246 seconds]
Rollabunna has joined #ruby
Speed has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
browndawg has quit [Ping timeout: 246 seconds]
cbreeze has joined #ruby
zeeraw has joined #ruby
maninthemiddle has joined #ruby
AlexRussia has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
dweeb_ has joined #ruby
yasushi has quit [Remote host closed the connection]
GreatSUN has joined #ruby
<GreatSUN> hi all
andrewlio has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 255 seconds]
andrewlio has joined #ruby
andrewlio has quit [Max SendQ exceeded]
<GreatSUN> I am loading modules dynamically via require/include
Hanmac1 has joined #ruby
workmad3 has joined #ruby
andrewlio has joined #ruby
<GreatSUN> it was working properly with ruby 1.8 up to now, but now with ruby 1.9.3 it seams it isn't anymore
<GreatSUN> require is working out without error
andrewlio has quit [Read error: Connection reset by peer]
andrewlio has joined #ruby
<GreatSUN> but when trying to include the module by include ::Object.const_get(moduleNameString)
<GreatSUN> I get a nameerror
Hanmac has quit [Ping timeout: 246 seconds]
<GreatSUN> any idea on this?
jjbohn has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
chrisseaton has joined #ruby
havenwood has joined #ruby
terlar has joined #ruby
ferr has quit [Quit: Leaving.]
jjbohn has quit [Ping timeout: 264 seconds]
<tobiasvl> include_relative ?
havenwood has quit [Ping timeout: 264 seconds]
emergion has quit [Ping timeout: 260 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
sparrovv has joined #ruby
<gaussblurinc> serious question: should I use :key or "key" in hash
sparrovv has quit [Remote host closed the connection]
<gaussblurinc> ?
<tobiasvl> gaussblurinc: your choice, but symbols save space and time
kirun has joined #ruby
perlsyntax has joined #ruby
mengu has joined #ruby
<crome> not to mention a whole character
<gaussblurinc> tobiasvl: if I want save time, I will hack with Perl in command line ;)
<tobiasvl> gaussblurinc: hehe, okay, but is there any reason to use strings instead of symbols?
<crome> tobiasvl: you cant express everything as a symbol
<crome> like 'asd-qwe'
sski has joined #ruby
Speed has joined #ruby
<crome> but you can always do :'asd-qwe' if you want to leverage the aforementioned advantages of using symbols
<crome> it just looks super-ugly
vlad_sta_ has quit [Remote host closed the connection]
<tobiasvl> yes, but it IS a symbol
<tobiasvl> (an ugly symbol)
<crome> yep
<GreatSUN> tobiasvl: include_relative ?
pfg has joined #ruby
<gaussblurinc> for me :key is a part of structure, not a hash key
<GreatSUN> never heard of this
<GreatSUN> require and require_relative, yes
SonicX_ has joined #ruby
<GreatSUN> but include_relative? what is this about?
SonicX_ has quit [Read error: Connection reset by peer]
<gaussblurinc> crome: thanks for SO question! great tip of this issue! saves memory, uh, interesting
<tobiasvl> sorry, my mistake. meant require
SonicX has quit [Ping timeout: 252 seconds]
Thana` has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
<crome> gaussblurinc: it was tobiasvl really
wald0 has quit [Read error: Connection reset by peer]
phansch has joined #ruby
<gaussblurinc> crome: sorry, miss it
cbreeze has quit [Quit: Textual IRC Client: www.textualapp.com]
Thanatermesis has joined #ruby
<gaussblurinc> tobiasvl: thanks for SO question and good explanation of this tip :)
<tobiasvl> np
Atww has quit [Ping timeout: 255 seconds]
<crome> gaussblurinc: but what do you mean by 'part of a structure'
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<gaussblurinc> crome: field of structure, I mean, plain old data structure from C language
workmad3 has joined #ruby
Murci3lago has joined #ruby
<gaussblurinc> crome: structure's field or instance's property
<crome> :key is not a hash key, it is a symbol which can be used as a hash key
kevinykchan has joined #ruby
isbadawi has joined #ruby
wald0 has joined #ruby
havenwood has joined #ruby
rootshift has joined #ruby
LekeFly has joined #ruby
<gaussblurinc> crome: attr_writer :name - I mean this code more obvious. Like name `belong` to class. so name is a property.
Murci3lago has quit [Ping timeout: 240 seconds]
zeeraw has joined #ruby
kevinykchan has quit [Ping timeout: 246 seconds]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hermanmunster has joined #ruby
isbadawi has quit [Ping timeout: 246 seconds]
<crome> but as far as ruby is concerned, :name is just a symbol which is passed as a parameter to a class level method called attr_writer
tvw has quit []
tvw has joined #ruby
<crome> it could also be attr_writer('name') if you fancy that :)
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
Hanmac1 has quit [Ping timeout: 255 seconds]
<gaussblurinc> good :) I like this style :) but I came from Perl… so I hate parentheses :(
camilasa_ has joined #ruby
amundj has quit [Quit: Textual IRC Client: www.textualapp.com]
camilasa_ has quit [Read error: Connection reset by peer]
camilasa_ has joined #ruby
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
camilas__ has joined #ruby
abdulsattar has quit [Ping timeout: 246 seconds]
mantas has joined #ruby
havenwood has quit [Ping timeout: 246 seconds]
camilas__ has quit [Read error: Connection reset by peer]
amundj has joined #ruby
<mantas> I have array of objects in json format, how can I reduce objects to have only specific fields?
camilas__ has joined #ruby
<crome> regexp!
* crome hides
<mantas> I am trying to came up with nice oneliner
diegovio1 has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
<crome> I would really just parse it
camila___ has joined #ruby
camilasan has quit [Ping timeout: 264 seconds]
mantas has left #ruby [#ruby]
mantas has joined #ruby
camilasan has joined #ruby
koell has quit [Read error: No route to host]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camilasa_ has quit [Ping timeout: 264 seconds]
WormDrink has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
sensen has quit [Quit: leaving]
camilasan has joined #ruby
<mantas> ok, how would I parse it?
<mantas> something with map() ?
camilasan has quit [Read error: Connection reset by peer]
camilas__ has quit [Ping timeout: 264 seconds]
camilasan has joined #ruby
francisfish has quit [Ping timeout: 240 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
camila___ has quit [Ping timeout: 264 seconds]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
mjs2600 has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
francisfish has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
<apeiros> mantas: JSON.parse
camilasan has joined #ruby
ZoanthusR has joined #ruby
<apeiros> after that, you have ruby objects, which you can manipulate normally and then convert back to json using .to_json
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
DouweM has joined #ruby
tt1187 has joined #ruby
Hanmac has joined #ruby
<mantas> I can't find the way how to modify inner array elements by removing unnecessary properties? do I have to create new one and assign desired properties from original?
vlad_starkov has joined #ruby
Salve has joined #ruby
fannye has joined #ruby
Ariadeno has quit [Quit: I love my HydraIRC -> http://www.hydrairc.com <-]
<apeiros> that's up to you. you can remove keys from a hash using Hash#delete
<apeiros> you can also use #reject or #select
<crome> objects in json are going to be marshalled as hashes, you can call #delete(key) on them
<mantas> there are tens of properties, but I only need two of them
<apeiros> crome: you mean unmarshalled
<apeiros> marshall is the other way round
<crome> apeiros: er, yes
<apeiros> mantas: look, just do it one way. you can then still show us your code and we can point out better ways.
WormDrink has joined #ruby
WormDrink has quit [Changing host]
WormDrink has joined #ruby
<crome> mantas: Hash#keep_if
<apeiros> if you use rails or activesupport, there's also Hash#slice and #except
vlad_sta_ has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
roolo has quit [Quit: Leaving...]
yubrew has joined #ruby
nvrch has quit [Quit: nvrch]
_justin has quit [Ping timeout: 264 seconds]
<mantas> entry.keep_if{|inner_entry| how would I write rule to match hash but not a value?
_justin has joined #ruby
arietis has joined #ruby
<crome> your questions are becoming more and more cryptic
<mantas> entry.keep_if{|inner_entry| ....
yubrew has quit [Ping timeout: 255 seconds]
samuel02 has joined #ruby
W0rmDr1nk has joined #ruby
nolic has joined #ruby
<apeiros> mantas: how about you make up a gist with an example of data input and an example of desired output?
fieldfirst has quit [Ping timeout: 264 seconds]
<apeiros> doesn't need to be your real data, just something where you can demonstrate what you want.
WormDrink has quit [Ping timeout: 240 seconds]
<mantas> hosts.select{|entry| entry.keep_if{|key,inner_entry| (key == "host" || key == "ip") }}
<mantas> thats what I needed
kaspergrubbe has joined #ruby
mehlah has joined #ruby
jjbohn has joined #ruby
kaspergrubbe has quit [Client Quit]
<apeiros> for 2 elements, I'd probably not iterate the whole and just construct a new one: {"host" => entry["host"], "ip" => entry["ip"]}
<mantas> but .select() would not work then?
<mantas> would it?
mjs2600 has quit [Remote host closed the connection]
<apeiros> define "work"
<apeiros> it'd work the same as your current select
mengu has quit [Remote host closed the connection]
<apeiros> that is, your current select will return all elements
bradhe has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
<mantas> hosts.map{|entry| {"host" => entry["host"], "ip" => entry["ip"]} }
<apeiros> yupp
nari has quit [Ping timeout: 264 seconds]
<apeiros> like that
<mantas> this does not change hosts at all
<apeiros> it's not supposed to
<apeiros> map! changes the receiver
<apeiros> map returns a new array
<mantas> ok
<apeiros> so either `x = y.map { …`
mengu has joined #ruby
<apeiros> or `y.map! { …`
lkba has joined #ruby
mikecmpbll has joined #ruby
AlexRussia has joined #ruby
jjbohn has quit [Ping timeout: 264 seconds]
paolooo has quit [Ping timeout: 245 seconds]
nuclearblast is now known as sebastianb
koell has joined #ruby
sepp2k has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
gaussblurinc has quit [Quit: Leaving.]
yalue has joined #ruby
Fire-Dragon-DoL has joined #ruby
roolo has joined #ruby
Mon_Ouie has joined #ruby
danshultz has joined #ruby
chrisseaton has quit []
kitak has quit [Remote host closed the connection]
shadoi1 has joined #ruby
hiyosi has joined #ruby
kotk has joined #ruby
Elico1 has joined #ruby
shadoi1 has quit [Read error: Connection reset by peer]
mjs2600 has joined #ruby
hurry has quit [Remote host closed the connection]
shadoi has quit [Ping timeout: 264 seconds]
shadoi has joined #ruby
Elico has quit [Ping timeout: 252 seconds]
mjs2600 has quit [Remote host closed the connection]
kevinykchan has joined #ruby
isbadawi has joined #ruby
isbadawi has quit [Max SendQ exceeded]
phansch has quit [Quit: WeeChat 0.4.2]
Virtualize|away has joined #ruby
isbadawi has joined #ruby
Gooder` has joined #ruby
hiyosi has quit [Client Quit]
Gooder has quit [Ping timeout: 264 seconds]
mostlybadfly has joined #ruby
hermanmunster has quit []
sumark has quit [Ping timeout: 255 seconds]
sumark_ has joined #ruby
kevinykchan has quit [Ping timeout: 246 seconds]
isbadawi has quit [Ping timeout: 246 seconds]
Azzurrio has joined #ruby
philcrissman has joined #ruby
mercwithamouth has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
montyboy has joined #ruby
phansch has joined #ruby
shadoi has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
linojon has joined #ruby
shadoi has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 264 seconds]
tt1187 has quit [Ping timeout: 240 seconds]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Kilo`byte has quit [Read error: Operation timed out]
Kilo`byte has joined #ruby
kate_r has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kate_r has joined #ruby
mantas has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Murci3lago has joined #ruby
mark_locklear has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
diegoviola has joined #ruby
tjr9898 has joined #ruby
Salve has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
chrisseaton has joined #ruby
<apeiros> sometimes when I add #method_missing, I ponder patching #methods too…
<apeiros> and if only to get autocompletion in pry :)
adkron has joined #ruby
stringoO has joined #ruby
Azulinho has joined #ruby
Salve has quit [Ping timeout: 246 seconds]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Hanmac has joined #ruby
montyboy has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
rmorello has joined #ruby
mjs2600 has joined #ruby
zeeraw has joined #ruby
Speed has quit [Ping timeout: 252 seconds]
maninthemiddle has quit [Quit: This computer has gone to sleep]
tjr9898 has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 252 seconds]
abk has joined #ruby
havenwood has joined #ruby
bradhe has joined #ruby
pu22l3r has joined #ruby
pu22l3r has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
pu22l3r has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
predator117 has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 240 seconds]
dblessing has joined #ruby
predator117 has joined #ruby
gaussblurinc has joined #ruby
koell has quit [Read error: Connection reset by peer]
_justin has quit [Quit: _justin]
drx_ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
nhmood_ has quit []
teddyp1cker has joined #ruby
drx_ has joined #ruby
nhmood has joined #ruby
ferno has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
diegovio1 has joined #ruby
nari has joined #ruby
diegoviola is now known as Guest17045
diegovio1 is now known as diegoviola
Sawbones has quit [Client Quit]
ohwhoa has joined #ruby
Guest17045 has quit [Ping timeout: 240 seconds]
drx_ has quit [Ping timeout: 240 seconds]
peterellisjones has quit [Quit: Leaving.]
drx_ has joined #ruby
perlsyntax has left #ruby ["Textual IRC Client: www.textualapp.com"]
drx_ has quit [Read error: Connection reset by peer]
mary5030 has joined #ruby
drx_ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
adkron has quit [Ping timeout: 264 seconds]
ferno has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
drx_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nvrch has joined #ruby
Hanmac has joined #ruby
makara has quit [Quit: Leaving]
pu22l3r_ has joined #ruby
drx___ has joined #ruby
mjs2600 has quit [Remote host closed the connection]
pu22l3r has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
alexju has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
drx_ has quit [Ping timeout: 246 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
eka has joined #ruby
chris_thomson has joined #ruby
drx_ has joined #ruby
sambao21 has joined #ruby
pu22l3r_ has quit [Ping timeout: 264 seconds]
_justin has joined #ruby
kevinykchan has quit [Ping timeout: 252 seconds]
andy__ has joined #ruby
_Andres has joined #ruby
tkuchiki has joined #ruby
drx___ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
vlad_sta_ has quit [Remote host closed the connection]
sailias has joined #ruby
mjs2600 has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Na_Klar has joined #ruby
montyboy has joined #ruby
Salve has joined #ruby
peterellisjones has joined #ruby
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Na_Klar> My machine (lubuntu 11) with ruby 1.9.2 interpreter is not able to open("http://") [Fails with "no such file or directory"]. I installed all packages which sounds like "addressable", "html wrapper" and so on. But I cannot find the on which implements the OpenURI features. Halp?
drx_ has joined #ruby
<Na_Klar> s/on/one/
zeeraw has joined #ruby
vlad_starkov has joined #ruby
<apeiros> require 'open-uri'
jamto11 has joined #ruby
<apeiros> but http:// will still not work, as that's not really a complete url.
<Na_Klar> ah ... *facepalm*
ohwhoa has quit [Quit: woah!]
chris_thomson has quit [Quit: Zzz...]
mercwithamouth has quit [Ping timeout: 255 seconds]
drx_ has quit [Ping timeout: 264 seconds]
drx_ has joined #ruby
yubrew has joined #ruby
tt1187 has joined #ruby
<Na_Klar> need's to be included .. btw, is that somewhere mentioned in the docs?
<Na_Klar> and ty
krz has quit [Quit: WeeChat 0.4.3]
freerobby has joined #ruby
nomenkun has quit [Read error: Connection reset by peer]
drx_ has quit [Read error: Connection reset by peer]
dblessing has left #ruby [#ruby]
drx_ has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
thomasxie has left #ruby [#ruby]
yasushi has joined #ruby
<apeiros> Na_Klar: note that 'include' and 'require' have entirely different semantics in ruby
kevind has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
nomenkun has joined #ruby
<apeiros> note sure it's properly documented. a quick check here on Kernel#open (top-level open is Kernel#open) didn't show open-uri's patch
devdazed has quit [Quit: Bye]
_tpavel has quit [Quit: Leaving]
snath has quit [Ping timeout: 264 seconds]
dik_dak has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
zz_jrhorn424 is now known as jrhorn424
Speed has joined #ruby
devdazed has joined #ruby
drx_ has joined #ruby
mjs2600 has quit [Remote host closed the connection]
LastWhisper has quit [Quit: Page closed]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
jamto11 has quit [Remote host closed the connection]
davedev24 has joined #ruby
bradhe has joined #ruby
xMopxShell has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
diegovio1 has joined #ruby
blackmesa has joined #ruby
jgoss has quit [Ping timeout: 252 seconds]
diegoviola has quit [Ping timeout: 240 seconds]
dkamioka has joined #ruby
nowthatsamatt has joined #ruby
sleepee has joined #ruby
ffranz has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
tonni has joined #ruby
tonni_ has quit [Ping timeout: 264 seconds]
sdouglas has joined #ruby
agjacome has joined #ruby
drx_ has joined #ruby
codabrink has joined #ruby
diegovio1 is now known as diegoviola
drx_ has quit [Read error: Connection reset by peer]
ohwhoa has joined #ruby
zachallett has joined #ruby
meinside has joined #ruby
tonni_ has joined #ruby
maasha has joined #ruby
mjs2600 has joined #ruby
<maasha> Hi
drx_ has joined #ruby
duggiefresh has joined #ruby
Azzurrio has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tonni has quit [Ping timeout: 264 seconds]
thomasxie has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
RaCx has joined #ruby
boboc has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
ahawkins has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Azzurrio has joined #ruby
sleepee has quit [Remote host closed the connection]
tonni_ has quit [Ping timeout: 264 seconds]
pedda has joined #ruby
lkba has quit [Read error: Connection reset by peer]
AndChat| has joined #ruby
Deejay_ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 255 seconds]
mary5030_ has joined #ruby
vlad_starkov has joined #ruby
drx_ has joined #ruby
sski has quit [Ping timeout: 255 seconds]
jgoss has joined #ruby
jgoss has quit [Changing host]
jgoss has joined #ruby
snath has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
phantomtiger has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
senayar has quit []
<maasha> Let my vent this idea. I want to create a class for parallel processing a bit like Peach or Grossers's Parallel gem. I want to spawn a number of workers (using fork) and delegate work to these something like this: https://gist.github.com/maasha/7c35a13f87a2671e6939
tonni has joined #ruby
byennen has joined #ruby
RaCx has joined #ruby
senayar has joined #ruby
aspires has joined #ruby
<apeiros> Fork.future { yourstuff }.call # => result
mary5030_ has quit [Remote host closed the connection]
<apeiros> Fork.return { yourstuff } # => result
vlad_starkov has quit [Ping timeout: 240 seconds]
albedoa has joined #ruby
dx7 has joined #ruby
tjr9898 has joined #ruby
<maasha> apeiros: and if the result is bulky and won't fit in memory?
atlas__ has joined #ruby
IceDragon has joined #ruby
philcrissman has quit [Remote host closed the connection]
abdulsattar has joined #ruby
zorak has joined #ruby
boboc has quit []
drx_ has joined #ruby
hfp`away is now known as hfp
fgo has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
sleepee has joined #ruby
rickenharp__ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
vcoinminer__ has quit [Ping timeout: 264 seconds]
rickenharp__ has joined #ruby
gyre007___ has quit [Ping timeout: 252 seconds]
adambeynon has quit [Read error: Connection reset by peer]
adambeynon has joined #ruby
gyre007___ has joined #ruby
BaconOverflow has quit [Read error: Connection reset by peer]
davorb has quit [Read error: Connection reset by peer]
SCommette has joined #ruby
vcoinminer__ has joined #ruby
hfp is now known as hfp`away
tungd has joined #ruby
<gaussblurinc> guys.. does anybody make a list of hotkeys? I want to share it with beginners
kevinykchan has joined #ruby
davorb has joined #ruby
<gaussblurinc> dunno, which app/way I should start
BaconOverflow has joined #ruby
diegoviola has quit [Ping timeout: 264 seconds]
drx___ has joined #ruby
alol_ has quit [Ping timeout: 252 seconds]
Tranquility has quit [Ping timeout: 252 seconds]
charles81 has quit [Read error: Connection reset by peer]
antonishen has quit [Read error: Connection reset by peer]
Tranquility has joined #ruby
alol_ has joined #ruby
charles81 has joined #ruby
antonishen has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
enebo has joined #ruby
drx_ has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
albedoa has quit [Quit: Textual IRC Client: www.textualapp.com]
<tobiasvl> gaussblurinc: hotkeys for what?
Na_Klar has quit [Quit: ChatZilla 0.9.87 [Firefox 20.0/20130329030856]]
<apeiros> maasha: then you have a problem whether you fork or not
<gaussblurinc> for Xcode, Finder, Source Tree… etc. all tools that we use
<tobiasvl> gaussblurinc: hehe, okay. i don't use any of those
sski has joined #ruby
kevinykchan has quit [Ping timeout: 246 seconds]
drx_ has quit [Read error: Connection reset by peer]
Shidash has joined #ruby
<maasha> apeiros: yes, but the important thing is to process the data on the fly.
<gaussblurinc> tobiasvl: but did you make this kind of list (list of hotkeys) before?
telling_ is now known as telling
telling has quit [Changing host]
telling has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
drx_ has joined #ruby
mary5030 has joined #ruby
<tobiasvl> gaussblurinc: no (I'm not sure what you mean)
<apeiros> maasha: non sequitur
<tobiasvl> making a list of hotkeys doesn't sound like a daunting task
kpshek has joined #ruby
codabrink has quit [Ping timeout: 246 seconds]
<gaussblurinc> tobiasvl: hotkeys make their life more simple
<tobiasvl> yes sure
drx_ has quit [Read error: Connection reset by peer]
ferno has quit [Ping timeout: 264 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<apeiros> maasha: you make 3 separate points and make it seem like they're connected. a) processing in parallel through forking, b) an issue with large resultsets, c) process data on the fly
<gaussblurinc> tobiasvl: so, I want to share a small list of useful hotkeys (not all, of course)
<apeiros> however, you don't state how they're connected.
<tobiasvl> gaussblurinc: well go ahead
aboudreault has left #ruby ["Leaving"]
codabrink has joined #ruby
drx_ has joined #ruby
<gaussblurinc> tobiasvl: thanks
yubrew has joined #ruby
jamto11 has joined #ruby
Avahey_ has joined #ruby
Elico1 has quit [Quit: Leaving.]
Elico has joined #ruby
drx___ has joined #ruby
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
sleepee has quit [Quit: Leaving]
<maasha> apeiros: Basically I want to fork a number of workers corresponding to the number of cores availible on my system. Then let these workers process data chunks (file parsing), but there will be many more chunks than workers, so I want to keep those around.
havenwood has joined #ruby
mansi_ has joined #ruby
drx_ has quit [Ping timeout: 252 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
yubrew has quit [Ping timeout: 246 seconds]
petey has joined #ruby
<apeiros> maasha: that's called pooling
<apeiros> i.e., you want a worker-pool
RaCx has joined #ruby
drx___ has quit [Ping timeout: 255 seconds]
<maasha> apeiros: ok
<apeiros> the fork gem can help you build a fork pool
<apeiros> or forked-workers pool
RaCx has quit [Remote host closed the connection]
<apeiros> it provides utilities to communicate with the child processes
drx_ has joined #ruby
<maasha> apeiros: I saw that. The Parallel gem also uses IO.pipe to communicate both ways between parent and children.
RaCx has joined #ruby
jlast has joined #ruby
RaCx has quit [Remote host closed the connection]
sleepee has joined #ruby
drx___ has joined #ruby
Azzurrio has quit [Quit: Textual IRC Client: www.textualapp.com]
bynaryshef has joined #ruby
<maasha> apeiros: and race conditions? if the order of the output is important?
drx___ has quit [Read error: Connection reset by peer]
drx_ has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
jobewan has joined #ruby
bradhe has joined #ruby
<apeiros> maasha: again, you seem to connect things which are not connected
jjbohn has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> if output order is relevant, you wait until you have all output which you want to output, and then sort them in order
<apeiros> or you always only wait for the next-in-order result
<apeiros> race conditions are its own issue and not connected with output order.
Hanmac1 has joined #ruby
drx_ has joined #ruby
abk has quit [Ping timeout: 264 seconds]
<maasha> apeiros: right, my understanding of race conditions was flawed
Hanmac has quit [Ping timeout: 264 seconds]
ahawkins has left #ruby [#ruby]
mikemac has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
RaCx has joined #ruby
bradhe has quit [Ping timeout: 246 seconds]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
mikemac has joined #ruby
* maasha looks at existing gems
zeeraw has joined #ruby
camilasan has quit []
LexicalScope has quit [Ping timeout: 246 seconds]
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
Solnse has joined #ruby
mikepack has joined #ruby
xjiujiu has quit [Ping timeout: 252 seconds]
tjr9898_ has joined #ruby
krz has joined #ruby
drx___ has joined #ruby
scapegoa1 is now known as speakingcode-wor
jhass|off is now known as jhass
LastWhisper has joined #ruby
ferno has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
dkamioka has quit [Remote host closed the connection]
NovapaX has joined #ruby
lw has quit [Quit: s]
<shevy> I want no fork pool
<shevy> I want a swimming pool
drx_ has quit [Ping timeout: 264 seconds]
dkamioka has joined #ruby
phat4life has joined #ruby
tjr9898_ has quit [Ping timeout: 240 seconds]
Azulinho has quit [Ping timeout: 240 seconds]
<phat4life> what exactly is the & operator doing when you do def foo(&arg). Is it casting that argument to a proc?
sleepee has quit [Remote host closed the connection]
_justin has quit [Quit: _justin]
cgore has quit [Remote host closed the connection]
ferno has quit [Ping timeout: 240 seconds]
drx_ has joined #ruby
geggam has joined #ruby
freezey has joined #ruby
<jhass> phat4life: it's calling to_proc and converting the resulting proc to a block
dkamioka has quit [Ping timeout: 264 seconds]
lmickh has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
vlad_starkov has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
thomasxie has left #ruby [#ruby]
jamto11 has quit [Remote host closed the connection]
Thanatermesis has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
aspires has quit []
sleepee has joined #ruby
jlast has quit [Remote host closed the connection]
<phat4life> jhass: i see
failshell has joined #ruby
<phat4life> so, a lambda is also of the proc class
<jhass> yes
<phat4life> can you create a lambda with Proc.new?
<phat4life> or can a lambda only be created using -> or lambda keywords
drx_ has joined #ruby
jlast has joined #ruby
kpshek has quit []
mikepack_ has joined #ruby
<jhass> I think you can only use lambda
<jhass> if we look at the implementation of that it's calling proc_new(block, TRUE)
codeFiend has joined #ruby
<maasha> apeiros: parallel-forkmanager seems to be a solution
<jhass> phat4life: while Proc.new's implementation (rb_proc_s_new) calls proc_new(klass, FALSE)
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kpshek has joined #ruby
jrhorn424 is now known as zz_jrhorn424
sleepee has quit [Quit: Leaving]
drx___ has joined #ruby
mikepack has quit [Ping timeout: 252 seconds]
drx_ has quit [Ping timeout: 264 seconds]
drx___ has quit [Read error: Connection reset by peer]
<phat4life> word
drx_ has joined #ruby
_5kg_ has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
codeFiend has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
selent has joined #ruby
fgo has joined #ruby
selent has left #ruby [#ruby]
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
drx_ has joined #ruby
freezey has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
Thanatermesis has joined #ruby
drx___ has joined #ruby
jamto11 has joined #ruby
Spami has joined #ruby
geopet has joined #ruby
drx___ has quit [Read error: Connection reset by peer]
fgo has quit [Ping timeout: 246 seconds]
tfittsy has quit []
tfitts has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
enricostn has joined #ruby
<enricostn> hi there
kevinykchan has joined #ruby
drx_ has joined #ruby
<enricostn> I'm trying to do this Time.parse('([fe80::50:56ff:fe85:f0s]) ; Tue, 11 Mar 2014 07:30:41 -0500')
<enricostn> but I'm getting ArgumentError: argument out of range
RaCx has quit [Ping timeout: 264 seconds]
lw has joined #ruby
<enricostn> It seems related to the presence of the 50:56ff bit
Inoperable has joined #ruby
sski has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
drx_ has quit [Read error: Connection reset by peer]
RaCx has joined #ruby
<Soulcutter> what do you expect?
sski has joined #ruby
<Soulcutter> 50:56 looks like a time, but not a valid one
<enricostn> mh
Inoperable has quit [Client Quit]
<jhass> seems rather, well-formed, just .split(' ; ').last on your input
Inoperable has joined #ruby
<Soulcutter> strip out that prefix and parse just the time part
Scantydd has joined #ruby
<enricostn> yep I'll try that. actually it's the content of a Received email header
yubrew has joined #ruby
<enricostn> but I should expect that the part after the last ; should be what I'm looking for
<enricostn> thanks! :)
kevinykchan has quit [Ping timeout: 246 seconds]
Scantydd has quit [Remote host closed the connection]
<Soulcutter> no problem
dkamioka has joined #ruby
mikepack_ has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
sski has quit [Ping timeout: 240 seconds]
petey has quit []
ZoanthusR has quit [Quit: Leaving...]
yfeldblum has joined #ruby
drx_ has joined #ruby
adkron has joined #ruby
mikepack has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
dkamioka_ has joined #ruby
freezey has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx___ has joined #ruby
tungd has quit [Ping timeout: 240 seconds]
dkamioka has quit [Ping timeout: 255 seconds]
RaCx has quit [Quit: Computer has gone to sleep.]
tungd has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
drx_ has joined #ruby
mikepack has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
phansch has joined #ruby
drx___ has quit [Ping timeout: 255 seconds]
dkamioka_ has quit [Ping timeout: 264 seconds]
tagrudev has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
mengu has quit [Client Quit]
dawkirst has quit [Ping timeout: 245 seconds]
dweeb_ has quit [Quit: Computer has gone to sleep.]
Solnse has quit [Quit: Leaving.]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
bradhe has joined #ruby
geopet_ has joined #ruby
Blaze_Boy has joined #ruby
phat4life has quit [Quit: Leaving.]
geopet has quit [Ping timeout: 264 seconds]
Azulinho has joined #ruby
fieldfirst has joined #ruby
yasushi has quit [Remote host closed the connection]
larissa has joined #ruby
albedoa has joined #ruby
endash_ has joined #ruby
banister has joined #ruby
geopet_ is now known as geopet
mikemar10 has joined #ruby
<slash_kick> shevy: this is what i was talking about the other day - https://gist.github.com/rthbound/7c16483b13eaac87a3c5
sk87 has joined #ruby
i_s has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
samfisher has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Lewix has joined #ruby
Kneferilis has joined #ruby
<samfisher> How can I delete first and last line from a file with ruby?
mroth__ is now known as mroth
mansi_ has quit [Read error: Connection reset by peer]
mroth has quit [Changing host]
mroth has joined #ruby
mroth has joined #ruby
mansi_ has joined #ruby
<Blaze_Boy> samfisher: File.open('file','r').readlines[2..-2].join('/n')
quatron has joined #ruby
telling has quit [Ping timeout: 252 seconds]
<abdulsattar> samfisher: small nitpick, readlines[1..-2].join('\n')
maasha has quit [Quit: Page closed]
zeeraw has joined #ruby
rainmanjam has joined #ruby
LekeFly has quit [Ping timeout: 252 seconds]
<abdulsattar> >> "one\ntwo\nthree".lines[1..-2]
<eval-in> abdulsattar => ["two\n"] (https://eval.in/121902)
<havenwood> '\n' != "\n"
drx_ has joined #ruby
kate_r has quit [Ping timeout: 255 seconds]
_maes_ has joined #ruby
ripperGreen has joined #ruby
adkron has quit [Ping timeout: 246 seconds]
<Blaze_Boy> alright i tested that : File.open('github.rb','r').readlines[1..-2].join()
<Blaze_Boy> it turns out that each lines already has a /n at the end.
grayWolf has joined #ruby
supersym has joined #ruby
Speed has quit [Disconnected by services]
drx___ has joined #ruby
grayWolf is now known as Speed
sdouglas has quit [Remote host closed the connection]
<havenwood> Blaze_Boy: Doing it that way, the file isn't closed.
<Blaze_Boy> havenwood: oh, yes, he'll need to twist the line a little but
<havenwood> Blaze_Boy: simplify to File.readlines('github.rb')
<Blaze_Boy> *bit
w1zeman1p has joined #ruby
<havenwood> samfisher: you want to actually remove the lines from the file, or return the file contents minus those two lines?
coderxin has quit [Remote host closed the connection]
drx___ has quit [Read error: Connection reset by peer]
<Blaze_Boy> havenwood: File.readlines('github.rb','r')[1..-2].join() , this one tested also.
<havenwood> ;)
drx_ has quit [Ping timeout: 240 seconds]
coderxin has joined #ruby
claymore has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<havenwood> Blaze_Boy: no 'r'
<Blaze_Boy> :'D yes you're right
drx_ has joined #ruby
jlast has quit [Remote host closed the connection]
<Blaze_Boy> havenwood: :D any other comments , File.readlines('github.rb')[1..-2].join
coderxin has quit [Remote host closed the connection]
claymore has joined #ruby
<havenwood> Blaze_Boy: nope, looks good
mike_k has joined #ruby
slash_kick is now known as slash_nick
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
mansi_ has quit [Remote host closed the connection]
sski has joined #ruby
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
drx___ has joined #ruby
mansi_ has joined #ruby
<havenwood> Blaze_Boy: as long as the file isn't really large!
<Blaze_Boy> havenwood: sure, this is eatable for text files, code, csv for example.
drx_ has quit [Ping timeout: 252 seconds]
<Blaze_Boy> *suitable
jprovazn has quit [Quit: Leaving]
mike_k has quit [Remote host closed the connection]
Voodoofish430 has joined #ruby
_5kg_ has joined #ruby
ripperGreen is now known as agharris73
flowerhack has joined #ruby
telling has joined #ruby
maninthemiddle has joined #ruby
dstynchula has joined #ruby
mansi_ has quit [Ping timeout: 246 seconds]
drx___ has quit [Ping timeout: 246 seconds]
mike_k has joined #ruby
sski has quit [Ping timeout: 255 seconds]
michaeldeol has joined #ruby
kate_r has joined #ruby
<samfisher> Blaze_Boy: thanks, but how do I write it?
<samfisher> it won't modify it
<Blaze_Boy> samfisher: your question is not clear for me, you should copy/paste the line and change "github.rb" to your file path
drx_ has joined #ruby
samfisher has quit [Quit: exit error code 434]
blueOxigen has joined #ruby
drx___ has joined #ruby
zachallett has quit [Remote host closed the connection]
slowcon has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
DaniG2k has joined #ruby
Deejay_ has quit [Quit: Computer has gone to sleep.]
<havenwood> sam, oh he's gone
drx___ has quit [Read error: Connection reset by peer]
<havenwood> Blaze_Boy: I think he just wanted to write the changes to the file.
<havenwood> programatically
crystal77 has joined #ruby
gnagno has joined #ruby
dweeb_ has joined #ruby
<Blaze_Boy> havenwood: ah, i c
lw has quit [Quit: s]
drx_ has quit [Ping timeout: 264 seconds]
beneggett has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
drx_ has joined #ruby
deens has joined #ruby
<DaniG2k> anyone know of a ruby program that extracts the main content of an html page automatically
<gnagno> hello all
<DaniG2k> like article
<mary5030> had a question from the smart rubysts
<havenwood> gnagno: hi
<mary5030> and forgive my typo
<shevy> ack
<shevy> a typo!
<havenwood> nooooooo!
<shevy> RUN AWAY!
<gnagno> can someone please explain me why if I make bundle install --deployment in my production machine the gems are being installed in the directory vendor/bundle/ruby/1.9.1 even if I have 1.9.3 installed?
<mary5030> i am trying to match an output in this method just like the status
<jhass> gnagno: that 1.9.1 is not your ruby version, it's your rubies ABI version
<mary5030> def not_a_network_device?
<mary5030> status.to_i == 510
<mary5030> end
<mary5030> how can i match this out put inside here
m4n1f3st0 has joined #ruby
<shevy> what do you mean with match?
<mary5030> {"title"=>"510 \"Unexpected Device Error\"", "details"=>"fe_transport_ssh:connect failed with: connect_failed", "statusCode"=>510}
<shevy> this check would return either true or false
<jhass> gnagno: that is, the version of the C level interface that some of the gems might use
<gnagno> jhass, what is a ruby ABI version?
<shevy> if status is a hash[ you could query it like: status['statusCode']
<shevy> a *hash
<shevy> ignore the first [
<mary5030> i want make sure that the status is 510, but the error message is exactly the same
bal has quit [Quit: bal]
bilbo_swaggins has joined #ruby
<gnagno> jhass, all my gems are in 1.9.1 not just some
yokel has quit [Ping timeout: 264 seconds]
meinside has quit [Quit: Connection closed for inactivity]
drx___ has joined #ruby
<jhass> gnagno: yes
drx_ has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
NovapaX has joined #ruby
<jhass> gnagno: that's perfectly normal
Spami has quit [Quit: This computer has gone to sleep]
<mary5030> this works great shevy but i also want to check for output
<mary5030> status.to_i == 510
mikepack has joined #ruby
<shevy> check for output?
<shevy> what is the output?
saarinen has joined #ruby
<mary5030> this check for status ==510 works great but i want to check for the "title"=>"510 \"Unexpected Device Error\"", "details"=>"fe_transport_ssh:connect failed with: connect_failed", "statusCode"=>510
larsam has joined #ruby
<gnagno> jhass, ok because when I launch my application (it's a plain ruby application) I get some errors because of missing gems, but all my gems are in vendor/bundle/ruby/1.9.1/gems
<jhass> gnagno: try bundle exec whatever
<shevy> I do not know what you want to check mary5030 - you paste here a hash, you can query the individual elements of a hash via the [] method
drx___ has quit [Read error: Connection reset by peer]
<mary5030> so i want to have status ==510 and output == that entire hash
philcrissman has joined #ruby
<mary5030> ?
<gnagno> jhass, I did it.... same problem, thor not found, but it is present there
deens has quit [Ping timeout: 264 seconds]
<shevy> where from does output come?
<mary5030> the call to the api when it fails with 510
heftig has quit [Quit: Quitting]
<shevy> you can output a hash via: p hash
sk87 has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
<jhass> gnagno: in the same version than in your Gemfile.lock? what if you run bundle install again? Did that throw an error maybe? Are you on the most recent bundler version?
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<gnagno> moreover some gems have the shebang directive looking for ruby 1.9.1 so I get this error: /usr/bin/env: ruby1.9.1: No such file or directory
drx_ has joined #ruby
m4n1f3st0 has quit [Ping timeout: 252 seconds]
fgo has joined #ruby
bilbo_swaggins has quit [Client Quit]
<gnagno> jhass, Bundler version 1.5.3
prggmr has joined #ruby
abdulsattar has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
<jhass> well you probably installed those gems when you had an executable named ruby1.9.1
<mary5030> shevy: for example i want to do API: %{status}, %{output}
mikepack has quit [Remote host closed the connection]
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
<mary5030> where in status i am checking if 510 and output that hash
drx_ has quit [Read error: Connection reset by peer]
danno1 has joined #ruby
lw has joined #ruby
<shevy> I have no idea where output comes from
<gnagno> jhass, that's the point, it's a fresh provisioned machine.... I just did it with chef
drx_ has joined #ruby
<mary5030> output is the entire hash, where status is that one element
<shevy> this isn't even true, you pasted the hash
<mary5030> this application is making a call to one api and returns its result to another api's body
<shevy> {"title"=>"510 \"Unexpected Device Error\"", "details"=>"fe_transport_ssh:connect failed with: connect_failed", "statusCode"=>510}
supersym has quit [Quit: WeeChat 0.4.3]
<shevy> in this paste there are 3 keys
<shevy> one is called 'statusCode'
<mary5030> so i am checking if this is the output i want to put something of my own where it is more human understandable
m4n1f3st0 has joined #ruby
<jhass> gnagno: did maybe somebody (accidentially) check vendor/bundle into the repo?
drx_ has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
tonni_ has joined #ruby
mikepack has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
<mary5030> so right now it looks like this API: 510, {"title"=>"510 \"Unexpected Device Error\"", "details"=>"fe_transport_ssh:connect failed with: connect_failed", "statusCode"=>510}
<gnagno> jhass, the point is that the vendor directory was created in another machine (i.e. I ran bundle install --deployment in another server and then copied all the project directory here) but the two server are identical, they were provisioned with the same chef cookbooks to be sure
nomenkun has quit [Remote host closed the connection]
mansi_ has joined #ruby
<mary5030> but i want to match against the entire hash and send something different if that is exactly how it looks like
<shevy> I dont get why you always use the word API
<shevy> in pure ruby we say it like so:
nomenkun has joined #ruby
<shevy> def foo(a,b)
<shevy> end
<shevy> foo(510, your_hash_here)
<shevy> what do you mean with "match against the entire hash"
<jhass> gnagno: well, then I'm not surprised. People think all the time that their machines are identical but in fact they're not. For this very reason bundler provides bundle package, you're not supposed to share that directory across machines
<shevy> the comparisons are always like so:
<shevy> object1 == object2
<mary5030> def foo_is_a_device?
<shevy> good, you have a method here
<mary5030> status == 510 && output == {"title"=>"510 \"Unexpected Device Error\"", "details"=>"fe_transport_ssh:connect failed with: connect_failed", "statusCode"=>510}
<mary5030> end
tonni has quit [Read error: Connection reset by peer]
<shevy> what is returned there?
LekeFly has joined #ruby
<gnagno> jhass, I have no other way....
saarinen has quit [Quit: saarinen]
<shevy> either true or false, right?
<jhass> gnagno: I just gave you the other way
<mary5030> i am no sure is that method is right
freezey has quit [Remote host closed the connection]
<mary5030> that is what i was asking
<shevy> I don't know either, it is your code not mine :)
<jhass> gnagno: bundle help package
<shevy> yes, you do 2 checks here
<mary5030> awesome thanks
<shevy> check 1 "if status == 510"
<shevy> this can be true or false
<shevy> and then you also query for && whether output equals hash
<shevy> only if both are true, would true be returned
speakingcode-wor has quit [Read error: Connection reset by peer]
yubrew has quit [Ping timeout: 255 seconds]
<mary5030> sweet shevy thank you for putting up with my dum question
erikruthven has joined #ruby
<shevy> but I think that code is hard to understand
codeFiend has joined #ruby
<mary5030> thanks that is what i needed :)
<mary5030> right?
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> it is usually better to try and be as simple as possible
<gnagno> jhass, I just saw the help.... looks quite like the correct wat
<gnagno> *way
compleatang has quit [Read error: Operation timed out]
<shevy> for instance, to compare a hash the way you do, I never saw anyone else do that before
<gnagno> thank you jhass I will go now to have 2 words with our devops, he must read this :)
nomenkun has quit [Ping timeout: 240 seconds]
NovapaX has joined #ruby
<mary5030> how do you suggest i do this
<mary5030> ?
compleatang has joined #ruby
<shevy> dunno
<mary5030> store it else where and call it inside the method
<mary5030> ?
prggmr has left #ruby [#ruby]
<shevy> perhaps a method
<shevy> or perhaps that check could be eliminated altogether
Anthony__ has joined #ruby
hexed has joined #ruby
<Anthony__> Hey is this the Ruby IRC
dkamioka has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wormwood has quit [Changing host]
wormwood has joined #ruby
<shevy> Anthony__ no, we use python
Anthony__ has quit [Client Quit]
<mary5030> i believe i need the check regardless
rdark has quit [Quit: leaving]
browndawg has joined #ruby
Xeago has quit [Remote host closed the connection]
jeekl has quit [Ping timeout: 252 seconds]
xibalba has left #ruby ["Leaving"]
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<DaniG2k> anyone awayre of an HTML main content extractor that's opensource?
maloik has quit [Ping timeout: 252 seconds]
<jhass> shevy: stop trolling, he left :(
jragon has joined #ruby
<DaniG2k> like, a tool for extracting the main text from an articl
CockRingMcgee has joined #ruby
<CockRingMcgee> Hey guys
<DaniG2k> article*
<CockRingMcgee> This this the Ruby chat room?
zorak has quit [Ping timeout: 240 seconds]
<shevy> jhass hey would you type #ruby and think this is something else
yfeldblum has quit [Remote host closed the connection]
NovapaX has quit [Client Quit]
<shevy> CockRingMcgee what did you type to join here
vlad_starkov has quit [Remote host closed the connection]
maloik has joined #ruby
<jhass> shevy: nope, but don't you remember your first day on IRC?
<CockRingMcgee> @shevy
<CockRingMcgee> I just typed.... Ruby.....................
<shevy> jhass I remember it :) I was invited to galaxynet by some singaporeans who told me what to do and where to go :)
<shevy> CockRingMcgee welcome to ruby!!!
<CockRingMcgee> I am looking for a person who sells conflict diamonds and precious stones
freezey has joined #ruby
jeekl has joined #ruby
<CockRingMcgee> Am I in the right place?
<jhass> shevy: see, these guys mostly aren't told that ;)
m4n1f3st0 has joined #ruby
<shevy> jhass, time to sell your diamond underwear
<shevy> and btw is a diamond a ruby ...
<jhass> yeah, right. got to go shopping, bbl
<CockRingMcgee> No
<CockRingMcgee> hence the precious stones
zachallett has joined #ruby
tonni_ has quit [Read error: Connection reset by peer]
<shevy> CockRingMcgee freenode net is mostly about information and knowledge
<CockRingMcgee> I tried QVC but they are all counterfeits
<shevy> though there are some other channels like #biology ... and some chat channel from freenode
bradhe has joined #ruby
<CockRingMcgee> OOO, how do I use freenode? Is it like stack overflow?
tonni has joined #ruby
<shevy> CockRingMcgee so #ruby here is about the programming language ruby which was written by a japanese who goes by the nickname matz
codeFiend has quit [Quit: codeFiend]
<shevy> IRC is interactive
marcdel has joined #ruby
<CockRingMcgee> OOO is he related to Satoshi Nakamoto?
<shevy> stackoverflow is quite good though
<shevy> I dunno who is sathosi nakamoto
<shevy> japanese pornstar?
geopet has quit []
<CockRingMcgee> Probably
<CockRingMcgee> though not better than Lisa Ann
<shevy> I have no idea about any of that, my mind is filled with ruby code :(
<CockRingMcgee> aaa man
<CockRingMcgee> google Lisa Ann
<shevy> like on my todo list is ...
<shevy> why is setup.rb not like gem install *.gem ...
wallerdev has quit [Quit: wallerdev]
<CockRingMcgee> shit, you are my guy then shevy
zB0hs has joined #ruby
blom_ has joined #ruby
<CockRingMcgee> I am learning Ruby for kick you know. And I have tons of questions
<shevy> omg
<shevy> why do you want to learn a scripting language
zeeraw has joined #ruby
<CockRingMcgee> Mostly to hack the chinese government
kotakotakota has joined #ruby
<shevy> better hack the NSA
paulfm has quit [Ping timeout: 240 seconds]
<CockRingMcgee> but also to write trading algorithm scripts for research, and for shits and giggles
GreatSUN has quit [Ping timeout: 245 seconds]
<CockRingMcgee> yea, problem is that they have more guns and can get to me sooner than the Chinese
<shevy> algorithm
<shevy> sounds math heavy
<shevy> so C is better fit for that
compleatang has quit [Ping timeout: 264 seconds]
tt1187 has quit [Ping timeout: 264 seconds]
<shevy> so you pick on the weaker one because you are scared of the bully :(
<CockRingMcgee> yea, but fuck ... C? Then i got to deal with garbage collecting and pointers and shit
<shevy> yeah
<CockRingMcgee> @shevy yes... yes thats exactly why lol
<shevy> but the people in the 1980s learned it too
<crome> CockRingMcgee: memory is cheap nowadays
<CockRingMcgee> yea... but Matz wasn't around then. I figure, id learn the basics with Ruby then move on to C when I need it. Like for high frequency shit later on
<shevy> haha I tried that
<shevy> it does not work
albedoa has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> once you know ruby, there is no place for learning C
<shevy> because 99% of the time you will ask yourself "ok the sole reason why I want to rewrite this shit in C is because to make it faster"
<CockRingMcgee> LOL
compleatang has joined #ruby
mjs2600 has quit [Remote host closed the connection]
Spami has joined #ruby
<shevy> the other 1% is "damn, if only I would know C I would not be stuck now"
<shevy> :(
bradhe has quit [Ping timeout: 264 seconds]
<shevy> so learn C first
<CockRingMcgee> aaaaa, I'll take my chances with Ruby first
<shevy> lazy
duggiefresh has quit [Read error: Connection reset by peer]
<CockRingMcgee> As long as the learning curve is lower I am good. I am pragmatic and lazy
<shevy> it depends on how you approach it
duggiefresh has joined #ruby
<CockRingMcgee> If I can do it in 3 months why take 3 years to learn C, lol?
<shevy> if you want to understand every feature in a week it may be hard
koell has joined #ruby
<shevy> 3 months seems realistic enough
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> CockRingMcgee: Ruby has a lot to it, in terms of standard library and external libraries, but core is pretty reasonable
<CockRingMcgee> Yea, I just want to have a Minimum viable product. 3 months is good.
<shevy> but you need to have your brain become active so that it can learn by try and error
rhys has joined #ruby
<CockRingMcgee> shevy, thats why I watch tons of porn
<shevy> lol
<shevy> does that help you learn more ruby?
<CockRingMcgee> and do lots of math on Project Euler
<shevy> what a weird combination
<CockRingMcgee> The math yes, the porn, absolutely not
<shevy> not even pipework has such a combination!
arietis has quit [Quit: Computer has gone to sleep.]
<CockRingMcgee> pipework sounds like he doesn't need the porn
paulfm has joined #ruby
<shevy> he is an old linux guru
<CockRingMcgee> laying down the pipework on the ladies lol
* pipework is 90% porn
<shevy> they abandoned the wordly needs
beneggett has joined #ruby
<CockRingMcgee> LMAO @pipework
Thanatermesis has quit [Quit: ɯlɐɔ uı ʞɹoʍ oʇ ƃuıoƃ]
<shevy> what is the remaining 10%?
<CockRingMcgee> Lube
<shevy> lol
<CockRingMcgee> can't go in there dry
apeiros has quit [Remote host closed the connection]
<gaussblurinc> guys, question: what do you do with ruby? work with it on work or just have fun?
crystal77 has quit [Quit: Computer has gone to sleep.]
<pipework> Lubrication is very important in pipework.
<CockRingMcgee> Hell yea! if not you get all rusty and shit
<havenwood> gaussblurinc: both
apeiros has joined #ruby
<CockRingMcgee> Same here
maletor has joined #ruby
<CockRingMcgee> more for fun than work.
goleldar has joined #ruby
marcdel has quit []
ankov has joined #ruby
<pipework> CockRingMcgee: You know that cock fighting in cock rings is illegal in my country? Pretty interesting stuff.
<shevy> gaussblurinc mostly ruby works as a glue language
m4n1f3st0 has joined #ruby
<CockRingMcgee> pipework: how do I become a linux master like yourself. How do I learn git quickly too?
crystal77 has joined #ruby
<havenwood> shevy: i dunno bout glue
codeFiend has joined #ruby
zcreative has joined #ruby
<pipework> CockRingMcgee: I think you have to be born with a neckbeard growing out of your ass.
<shevy> gaussblurinc I give you a few examples: I do "bl password"
Thanatermesis has joined #ruby
<CockRingMcgee> pipework: LOL! Well there are 2 ways to have a cock fight my friend
<CockRingMcgee> I am sure the second way is not illegal
<gaussblurinc> shevy: strange, glue language is a perl for it expressiveness, not ruby. too much symbols
doodlehaus has joined #ruby
<shevy> gaussblurinc bl is my alias for opening a file in my main editor. the argument is password. it will first check in the current working directory for such a file or dir, if it can not find it, it will query my main pointer towards all my local files; in this example, it will open some file in my home dir, passwords.yml
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy> so no matter where I am, finding these files will always work
jeregrine has joined #ruby
<CockRingMcgee> the first is with chickens, the second is with drugged up confused people in a room in cancun on spring break
<shevy> gaussblurinc dunno, I use ruby to do everything here really. "ry htop" would compile htop for me for instance
Hanmac has joined #ruby
<CockRingMcgee> Do any of you guys know how to use Heroku well?
<shevy> "rf youtube" (or just "youtube") opens up youtube; all handled by ruby scripts btw
arietis has joined #ruby
apeiros has quit [Ping timeout: 264 seconds]
<gaussblurinc> wow! open youtube - great for work ;)
<shevy> havenwood well glue as in like using system() or `` a lot, and like calling ffmpeg
dawkirst has joined #ruby
<shevy> gaussblurinc well it's an example, I use ruby for work and non-work; work usually sucks though, SQL is so damn boring
<shevy> "duration? bla.mp3" gives back the duration of bla.mp3 in seconds, using ffmpeg
Hanmac1 has quit [Ping timeout: 264 seconds]
ankov has quit [Remote host closed the connection]
Mongey_ is now known as Mongey
<gaussblurinc> shevy: do you write these tools?
<shevy> gaussblurinc it depends. when these are small tools or scripts, yes. if they are longer, then I use them from someone else. for instance, coderay. I love coderay, it parses so much for me, that was written by ... kornelius
aspires has joined #ruby
lmickh has quit [Remote host closed the connection]
<shevy> you can do like: cat foo.rb | coderay -ruby to colourize ruby stuff
geopet has joined #ruby
<gaussblurinc> mmm, sweet option
<shevy> coderay is damn cool
<shevy> oh
rdark has joined #ruby
<pipework> CockRingMcgee: I've transcended shared hosting.
<shevy> gaussblurinc or markdown - someone else wrote a markdown parser that works nice, kramdown is the name; I use it, rather than write my own
<shevy> but small stuff, yes, I write small scripts myself, usually 1 up to 150 lines, more than that it can get tedious
<shevy> gaussblurinc the larger projects suck away so much time :\
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkamioka has quit [Remote host closed the connection]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Solnse has joined #ruby
<shevy> gaussblurinc how do you use ruby?
kaliya has joined #ruby
monkegjinni has quit [Remote host closed the connection]
Rylee has quit [Remote host closed the connection]
monkegjinni has joined #ruby
DouweM has quit [Quit: Leaving...]
tylersmith has joined #ruby
<gaussblurinc> shevy: well, I try to optimize my work. I am the one, who write scripts at work and share with others. So, I use Perl. But when boss ask me about script.. I prefer to write it in ruby, because Cocoapods do much work for me
lolmaus_ has quit [Read error: Connection reset by peer]
tjr9898_ has joined #ruby
lolmaus has joined #ruby
Rylee has joined #ruby
<shevy> interesting
<shevy> a rare combination to see perl + ruby used
monkegjinni has quit [Ping timeout: 246 seconds]
xxpor_ has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
fjfish has joined #ruby
<havenwood> gaussblurinc: Cocoapods?
codeFiend has quit [Quit: codeFiend]
<gaussblurinc> havenwood: yes, cocoapods / xcodeproj
<havenwood> ah, was trying to figure out how Obj-C got involved! :P
tjr9898_ has quit [Ping timeout: 240 seconds]
davidcollom_zzz is now known as davidcollom
<gaussblurinc> havenwood: project file manipulation by ruby. other development by obj-c ;)
awarner_ has quit [Ping timeout: 245 seconds]
<gaussblurinc> shevy:
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
francisfish has quit [Ping timeout: 240 seconds]
maletor_ has joined #ruby
bynaryshef has quit [Remote host closed the connection]
<shevy> hmm
<gaussblurinc> shevy: when I decide to teach language, I look at ruby. But wiki tells me to look at Perl as one of the parents of ruby. So, Perl is a first
awarner has joined #ruby
maletor has quit [Ping timeout: 246 seconds]
lw has quit [Quit: s]
yfeldblum has joined #ruby
malkomalko has joined #ruby
drx_ has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<CockRingMcgee> eee
yfeldblu_ has joined #ruby
<CockRingMcgee> gaussblurinc
lupine has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
<CockRingMcgee> I think simplicity is the best thing to go with teaching
drx___ has joined #ruby
lw has joined #ruby
<gaussblurinc> CockRingMcgee: maybe. But I've already passed this way
<CockRingMcgee> inductive learning and simplicity are the two things one should consider
coderxin has joined #ruby
<CockRingMcgee> that is, with inductive learning the student should be able to figure out the next step before the teacher tell them what it is
<havenwood> Or any of the types of learning that end in "ductive".
<CockRingMcgee> and that impels the to move forward
<CockRingMcgee> havenwood: no just inductive learning
<CockRingMcgee> because it is apparent to the student if they look at the problem long enough
craigp has joined #ruby
m4n1f3st0 has joined #ruby
coderxin has quit [Read error: Connection reset by peer]
maletor_ has quit [Ping timeout: 246 seconds]
coderxin has joined #ruby
<CockRingMcgee> with some forms of teaching which are modular the student cannot go from A to B by themselves and it is frustrating, it kills motivation
saarinen has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
craigp has quit [Client Quit]
<CockRingMcgee> deductive learning would be like a lecture hall with a professor talking for an hour then lab
beneggett has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
mansi_ has quit [Remote host closed the connection]
<CockRingMcgee> inductive learning is more of a project based approach, where students teach themselves and each other and the professor supervises
drx_ has joined #ruby
lw has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
deens has joined #ruby
bahar has quit [Changing host]
bahar has joined #ruby
tonni has quit [Read error: Connection reset by peer]
mansi_ has joined #ruby
leonidlm has quit [Ping timeout: 264 seconds]
<CockRingMcgee> its sort of analagous to self learning/ based on projects online and in line with hacker and maker culture
tonni has joined #ruby
yfeldblu_ has quit [Ping timeout: 255 seconds]
<CockRingMcgee> also simplicity, just because with clarity, you can get the foundation well, and then take off from there. But that is just my two cents.
lupine has joined #ruby
maletor has joined #ruby
<gaussblurinc> CockRingMcgee: and … what do you mean by learning? I learn all languages by myself, because they are interesting
drx___ has quit [Ping timeout: 264 seconds]
jespada has quit [Quit: Leaving]
<havenwood> CockRingMcgee: your introductive inductive learning is eductive and is traductive to deductivity
bynaryshef has joined #ruby
tt1187 has joined #ruby
apeiros has joined #ruby
vlad_starkov has joined #ruby
<CockRingMcgee> LOL at havenwood
<CockRingMcgee> good one
zeeraw has joined #ruby
<CockRingMcgee> but no, it isn't
<havenwood> ductive!
<CockRingMcgee> lol
drx___ has joined #ruby
<CockRingMcgee> gaussblurinc: I mean in terms of designing a curriculum for people to learn a programming language
Hanmac1 has joined #ruby
saarinen has quit [Quit: saarinen]
<CockRingMcgee> using a modular inductive method of learning with emphasis on clairty and simplicity is the easiest way
jlast_ has joined #ruby
<gaussblurinc> ok, tell me good book for Ruby. Like an Camel Book.
crystal77 has quit [Quit: Textual IRC Client: www.textualapp.com]
<CockRingMcgee> to push forward learning because it relies on self motivation and projects
mansi_ has quit [Ping timeout: 255 seconds]
drx_ has quit [Ping timeout: 255 seconds]
<CockRingMcgee> Gaussblurinc: I think Chris Pine's book on ruby is great
tungd has quit [Ping timeout: 252 seconds]
<gaussblurinc> CockRingMcgee: title?
<CockRingMcgee> In his intro he mentions his writing style to have evolved into what I descibed
drx___ has quit [Read error: Connection reset by peer]
<havenwood> gaussblurinc: The Ruby Programming Language is good, or the latest beta edition of Well-Grounded Rubyist
<CockRingMcgee> here is the book
tkuchiki has quit [Remote host closed the connection]
<CockRingMcgee> learn the program second edition by chris pine
GaryOak_ has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
<havenwood> gaussblurinc: +1 Learn to Program by Chris Pine if you want a gentle introduction and are new to programming.
jcarouth has quit [Excess Flood]
<gaussblurinc> ok, will try it
ankov has joined #ruby
<havenwood> gaussblurinc: Have you checked out?: http://tryruby.org/
<havenwood> if you haven't, give it a go!
<CockRingMcgee> Yup, I give the guy credit for thinking about how delivering the content in the most pedagogically friendly way, in my mind.
yubrew has joined #ruby
RaCx has joined #ruby
sambao21 has joined #ruby
Lewix has quit [Remote host closed the connection]
<CockRingMcgee> ruby monk is pretty boss too
<gaussblurinc> havenwood: not sure, that I need it. I tell, that I know Perl. So, all tricks in Ruby are the same :)
<CockRingMcgee> if you want to learn the ins and outs check this site out
<havenwood> But it doesn't come with a soundtrack like _why's (Poignant) Guide to Ruby!
<havenwood> gaussblurinc: If you know perl, skip learn to program.
<CockRingMcgee> just follow the instructions here and you can learn it in about 1 month.
jlast has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
aganov has quit [Quit: Leaving]
<CockRingMcgee> but if you now perl and are interested in programming, just go get a book on algorithms and learn how to bang out some efficent cod
xerxas has joined #ruby
<CockRingMcgee> code* in my humble opinion.
<gaussblurinc> hey, too many info, I can't catch all :)
monkegjinni has joined #ruby
<matti> ttps://github.com/mitchellh/go-mruby
<matti> :)
fgo has joined #ruby
mansi_ has joined #ruby
<gaussblurinc> CockRingMcgee: I learned algorthims a year before at coursera
Lewix has joined #ruby
<havenwood> gaussblurinc: The Ruby Programming Langauge ("the Sparrow") is great. Another good reference is Programming Ruby ("the Pickaxe").
TMM has quit [Quit: Ex-Chat]
Hanmac has joined #ruby
Lewix has quit [Remote host closed the connection]
timonv has quit [Remote host closed the connection]
i_s has quit []
i_s has joined #ruby
<gaussblurinc> too many info, uh :) ok, will gather it. see you later:)
gaussblurinc has quit [Quit: Leaving.]
<havenwood> Or yeah, the not-yet-completed Well-Grounded Rubyist: http://www.manning.com/black3/
blandflakes has joined #ruby
yubrew has quit [Ping timeout: 252 seconds]
<CockRingMcgee> So who is into some porn
catphish_ has joined #ruby
<crome> the poignant guide should be updated
<CockRingMcgee> JP hey where can I learn how to refactor efficently
dagobah has quit [Quit: Leaving...]
<CockRingMcgee> efficiently*
<shevy> crome the guy who wrote it left ruby
<crome> I know
<catphish_> can anyone explain why this works?: "Hello".force_encoding('BINARY') =~ /#{'hello'.force_encoding('BINARY')}/i
<crome> I didn't say we should ask him to update it ;>
drx_ has joined #ruby
<shevy> crome ok but then someone else would work on it
Hanmac1 has quit [Ping timeout: 264 seconds]
<shevy> and I find that for projects that are extremely centric to the personality of someone, you just can not really update it, the update wouldn't quite fit
<catphish_> is it because ASCII-8BIT actually *is* ascii?
<shevy> just like how shoes now depends on jruby
maninthemiddle has quit [Quit: This computer has gone to sleep]
tfitts has quit [Ping timeout: 240 seconds]
beneggett has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
IceDragon_ has joined #ruby
<havenwood> crome: that would be nice
fgo has quit [Ping timeout: 246 seconds]
<shevy> if CockRingMcgee would update the poignant guide, there would suddenly be porn in it
drx_ has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 240 seconds]
<CockRingMcgee> LMAO!
centrx has joined #ruby
<apeiros> catphish_: ASCII-8BIT is a misnomer for binary
<crome> tbh Im not sure it requires such an extensive revamping
tfitts has joined #ruby
<CockRingMcgee> Yup and people would be clamoring for it !
<CockRingMcgee> More PORN, More Knowledge
beneggett has joined #ruby
<CockRingMcgee> hey have any of you guys used Coachsufer.org before?
abdulsattar has joined #ruby
<catphish_> apeiros: apparently not :)
Lewix has joined #ruby
<apeiros> catphish_: how do you mean?
<catphish_> apeiros: see above (my original question)
<apeiros> binary treats the lower 7 bits as ascii, yes
<catphish_> ok, that's what i meant, makes sense, that fact is badly communicated :)
<apeiros> but ascii only defines the lower 7bits, there's not really such a thing as 8bit ascii.
<catphish_> sure :)
goleldar has quit []
<CockRingMcgee> o shit, I didn't know that
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
dawkirst has quit [Ping timeout: 246 seconds]
ankov has quit [Remote host closed the connection]
quatron has joined #ruby
maletor has quit [Ping timeout: 252 seconds]
<catphish_> apeiros: this fact is actually quite convenient for me, unfortunately i am in a position where i have to search for utf8 inside binary data (normally ascii inside ascii, but my program doesn't know this), the fact that the first 7 bits are case insensitive means that people usually get case insensitive searching
maletor has joined #ruby
maletor has quit [Client Quit]
<apeiros> catphish_: mixed encodings? how unbelievably ugly :(
<apeiros> catphish_: it's not structured? i.e., binary data and textual data can be separated?
maletor has joined #ruby
<drago777> I have a problem I can not seem to solve. I have a bunch of yml files that contain passwords and I need a way to encrypt and decrypt these passwords. Does anyone know the best method to do this?
<catphish_> well, i know the regex is utf8, but i have no idea what the encoding of the file i'm searching is, so i have no choice but to make both binary and pray
kaliya has quit [Quit: Lost terminal]
<catphish_> luckily, the files are normally ascii or utf-8, so this works
<apeiros> catphish_: there are ways to determine
<apeiros> catphish_: a) you can read it as utf-8 and check valid_encoding?
<apeiros> i fit is, it's probably reasonable to assume it is in fact utf-8
<apeiros> if it is not valid utf-8 - what other encodings can it be?
banister has joined #ruby
<catphish_> hundreds of them :)
<apeiros> drago777: is this for a password vault? or to authenticate users?
Al__ has quit [Quit: Al__]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mark_locklear has quit [Ping timeout: 240 seconds]
smathieu has joined #ruby
<apeiros> catphish_: I doubt that hundreds of encodings exist in the first place :-p
mikemar10 has quit [Ping timeout: 255 seconds]
Al__ has joined #ruby
<apeiros> catphish_: are the possible encodings at least guaranteed to be ascii compatible?
datacrusher has joined #ruby
drx_ has joined #ruby
m4n1f3st0 has joined #ruby
<catphish_> not at all, use case: i have a git repo of source code, someone searches for some text inside it
teddyp1cker has quit [Remote host closed the connection]
<catphish_> most files, and most search terms will be ascii
bynaryshef has quit [Remote host closed the connection]
drx_ has quit [Read error: Connection reset by peer]
<apeiros> if the file is not ascii compatible, your regex search will fail :)
drx_ has joined #ruby
<apeiros> it won't raise, but since "a" won't be codepoint 97, it'll not match at all or entirely randomly
<catphish_> well, it will run, it just wont' find anything :)
<apeiros> yeah
kotakotakota has quit [Ping timeout: 264 seconds]
<catphish_> honestly, the prevalence of ascii, utf-8, and binary (images etc) in source code repos means that it's probably not worth trying to intelligently detect the type of every file
<drago777> its for a password vault
<certainty> why not? file(1) does a pretty good job. The rest can be shoehorned on top of it
<drago777> its more or less random passwords that get stored in my yml file to do certain things
<apeiros> I'd probably do 3 tests: a) is it utf-8? b) is it a blob (image e.g.), c) default to ascii
<apeiros> 2 tests actually, 3 possible outcomes :)
mark_locklear has joined #ruby
davidcollom is now known as davidcollom_zzz
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<drago777> thank you apeiros
ankov has joined #ruby
drx_ has quit [Ping timeout: 264 seconds]
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<catphish_> i often rely on a third party tool (git) to do the searching anyway, then just match the lines it finds, so no idea how that would deal with the encoding
centrx has quit [Quit: All this computer hacking is making me thirsty]
tt1187 has quit [Ping timeout: 255 seconds]
<certainty> i'm afraid when somebody that implements some kind of password vault asks about the best way to do it
<havenwood> drago777: here's an extremely simple gem i did, it lists nice alternatives: https://github.com/havenwood/encrypt#readme
<apeiros> I would assume that it searches it as binary data and doesn't care
blom__ has joined #ruby
mikecmpbll has quit [Quit: ciao.]
nvrch has quit [Quit: nvrch]
IceDragon_ is now known as IceDragon
<catphish_> apeiros: seems likely
<apeiros> certainty: you think I should have told him about rot13?
northfurr has quit [Ping timeout: 252 seconds]
DaniG2k has quit [Quit: leaving]
m4n1f3st0 has joined #ruby
drx_ has joined #ruby
<havenwood> drago777: but if AES256 in CBC mode suits your fancy, take a look: https://github.com/havenwood/encrypt/blob/master/lib/encrypt.rb
<certainty> apeiros: yes. Extra secure!
timonv has joined #ruby
saarinen has quit [Quit: saarinen]
<catphish_> i use double-rot13, takes at least twice as long to break
NovapaX has joined #ruby
<certainty> :)
nanoyak has joined #ruby
jlebrech has quit [Quit: Konversation terminated!]
bradhe has joined #ruby
drx___ has joined #ruby
blom_ has quit [Ping timeout: 240 seconds]
Fire-Dragon-DoL has joined #ruby
<apeiros> bah, everybody tries 13 first, I combine rot3, rot9, rot17, rot23
<apeiros> super secure!
beneggett has quit [Ping timeout: 264 seconds]
beneggett has joined #ruby
<havenwood> drago777: or maybe consider GCM or CCM mode if you want authenticated encryption, do you need to be able to tell if someone changed the ciphertext after encryption?
<apeiros> havenwood: wasn't CBC considered problematic?
mmoretti has joined #ruby
octarine_ is now known as octarine
blom__ has quit [Remote host closed the connection]
BeingUntoDeath has joined #ruby
blom_ has joined #ruby
catphish_ has quit [Quit: Leaving]
m4n1f3st0 has quit [Ping timeout: 255 seconds]
<apeiros> ah, no, it was ECB
drx_ has quit [Ping timeout: 264 seconds]
<havenwood> apeiros: aye, ECB
m4n1f3st0 has joined #ruby
geopet has quit []
beneggett has quit [Client Quit]
<havenwood> CTR or CBC are good
bradhe_ has joined #ruby
drx_ has joined #ruby
<apeiros> are there actually any reliable resources which list different modes and their flaws?
maletor has quit [Ping timeout: 252 seconds]
bradhe has quit [Ping timeout: 246 seconds]
roolo has quit [Quit: Leaving...]
m4n1f3st0 has quit [Read error: Connection reset by peer]
pothibo has joined #ruby
maletor has joined #ruby
m4n1f3st_ has joined #ruby
drx___ has quit [Ping timeout: 264 seconds]
drx_ has quit [Read error: Connection reset by peer]
<gnagno> I have a ruby 1.9.3 application, the gems are installed in the vendor directory, when I run bundle exec .... I get /usr/bin/env: ruby1.9.1: No such file or directory, I made a grep of the vendor directory and a lot of gems are referring ruby 1.9.1 while I don't have it in my system
mostlybadfly has joined #ruby
mjs2600 has joined #ruby
drx_ has joined #ruby
<crome> gnagno: ruby 1.9.1 is the latest C interface version for the 1.9 branch, thats why
<certainty> apeiros: applied cryptography and practical cryptography
<apeiros> certainty: I mean more like a website with a list and pretty little check- and crossmarks :)
Avahey_ has quit [Quit: Connection closed for inactivity]
saarinen has joined #ruby
monkegjinni has quit [Remote host closed the connection]
afex has joined #ruby
<certainty> it's nothing new. Also for disc encryption with newer xtc or ofb (was it ofb?)
maletor has quit [Read error: Connection reset by peer]
jlast_ has quit [Remote host closed the connection]
monkegjinni has joined #ruby
<apeiros> novelty isn't the question
maletor has joined #ruby
<apeiros> accessability of the information is
drx_ has quit [Read error: Connection reset by peer]
blom_ has quit [Ping timeout: 255 seconds]
<certainty> xts was it
<afex> is there a way to make bundler only try and read Gemfile.lock (and not Gemfile), without using --deployment? i'm trying to install the exact versions from the lock file, but in the system gems instead of a subfolder
<apeiros> *accessibility
<certainty> apeiros: true thing, i'm not aware of one
mordocai` has quit [Ping timeout: 265 seconds]
<crome> afex: why? :)
<gnagno> crome, thank you, I am aware that it is the latest c interface. what I am querying is why the gems suffix the ruby executable with the version string making impossible to find this executable in my environment. eg /usr/bin/env ruby1.9.1
<afex> i don't need the subfolder isolation since i'm using a linux container
<certainty> apeiros: in the end it doesn't matter as the NSA will break them anyway :)
sputnik13 has joined #ruby
<crome> gnagno: oh sorry, I missed part of your question
arietis has quit [Quit: Computer has gone to sleep.]
<apeiros> certainty: not everybody who tries to break your encryption is the NSA
aagdbl has joined #ruby
<Xeago> stop giving bad advice
<apeiros> certainty: and giving up because there's one enemy you can't defeat is flawed
<gnagno> crome, no problem, any ideas?
<Xeago> don't write your own crypto
freezey has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
<shevy> use NSA crypto
<CockRingMcgee> NSA, NSA, NSA!
<certainty> apeiros: yeah i didn't mean to say: "they will break it so don't do it"
<shevy> porn, porn, porn!
<Xeago> if you worry about which encryption mode to use, you are doing it wrong
<CockRingMcgee> Yea if you write your own Crypto you will be liable to have errors
Azulinho has quit [Ping timeout: 255 seconds]
<CockRingMcgee> Remember Cryptocat?
<shevy> if idiots code, bugs will happen
<CockRingMcgee> and that guy was good
<CockRingMcgee> if anyone codes bugs will happen
<CockRingMcgee> peer review is better
<Xeago> for data at rest use gpg, for data in transit use tls1.2
hobodave has joined #ruby
<shevy> are those the guys that never code on their own?
<mary5030> if output = {"title"=>"510 \"Unexpected Device Error\"", "details"=>"fe_transport_ssh:connect failed with: connect_failed", "statusCode"=>510}, how can i check if output includes Unexpected Device Error
<CockRingMcgee> no, its the guys that like to have an extra set of eyes on their work
<mary5030> shevy: sorry i have been bugging you too much
monkegjinni has quit [Ping timeout: 246 seconds]
<apeiros> Xeago: are there usable gems for gpg?
<certainty> gpgme was the last i saw, but it was not good
<CockRingMcgee> critical reviews are necessary, especially in security. Peer review is a good way to have that
<shevy> mary5030, output.values.any? {|entry| entry.include? 'Unexpected' }
<CockRingMcgee> lol at mary5030
adkron has joined #ruby
<shevy> CockRingMcgee what if I don't trust the NSA reviewers
maletor has quit [Ping timeout: 246 seconds]
<certainty> :)
andy__ has quit [Quit: Leaving...]
<shevy> peer review does not even work in scientific literature
drx_ has joined #ruby
<mary5030> thank you shevy
momigi has joined #ruby
<shevy> I rule! \o~
cj3kim has joined #ruby
<certainty> inc shevy
<shevy> hmm ascii code is limited... that does not look like a right waving hand...
<shevy> perhaps that is incentive enough to move to UTF, if only for more advanced emoticons
dawkirst has joined #ruby
<certainty> pah!
<shevy> certainty do you keep track of history? for instance, when did you start with ruby yourself?
drx_ has quit [Read error: Connection reset by peer]
shaileshg has joined #ruby
<CockRingMcgee> Unless you find something better than peer review then its the golden standard aka the best thing we have so far.
<certainty> shevy: yes. Not the exact date but i know the year
shadYY has joined #ruby
drx_ has joined #ruby
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> certainty what year
<CockRingMcgee> crowd sourcing.open source is the same thing as peer review, just on a larger scale
<shadYY> hey i want a script to scrap/get data from google grp , can ne1 help me out ?
<certainty> shevy: 2009
<shevy> hmm
<mary5030> shevy: one more question so in this case output.values.any? {|entry| entry.include? 'Unexpected' } if it is not Unexpected it blows up and doesnt return flase
<shevy> CockRingMcgee well, I am thinking of AI
maletor has joined #ruby
<shevy> mary5030 you can use methods
<mary5030> undefined method `include?' for 510:Fixnum
drx_ has quit [Read error: Connection reset by peer]
<mary5030> if it doesnt have Unexpected
<shevy> mary5030 def query(use_this_as_search_string = 'Unexpected'); output.values.any? {|entry| entry.include? use_this_as_search_string }; end
fjfish has quit [Remote host closed the connection]
<shevy> well
<shevy> did you pass in the values ?
<shevy> if output is a hash, then .values will yield an array
<shevy> hmm
<shadYY> shevy : hey i want a script to scrap/get data from google grp , ne idea ?
<shevy> do .to_s.include?
<shevy> mary5030 Fixnum does not have include? but you can convert into a string via .to_s and then call .include?
tvw has quit []
<shevy> shadYY use open uri
<mary5030> awesome
<mary5030> thank you
Inoperable has quit [Remote host closed the connection]
dx7 has quit [Remote host closed the connection]
<shevy> shadYY play with it until you understand it
mordocai` has joined #ruby
drx_ has joined #ruby
dx7 has joined #ruby
rezzack has joined #ruby
<shadYY> shevy: thanks !
ferno has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
shadYY has quit [Client Quit]
cj3kim_ has joined #ruby
rmorello has joined #ruby
philcrissman has quit [Remote host closed the connection]
Murci3lago has quit [Ping timeout: 240 seconds]
choPPY has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
drx_ has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
michaeldeol has joined #ruby
<choPPY> ne idea how to start learning ROR ?
paulfm has quit []
gregf has quit [Quit: WeeChat 0.4.3]
<apeiros> shortening "any" to "ne" is pretty fucked up
Inoperable has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
Inoperable has quit [Max SendQ exceeded]
paulfm has joined #ruby
agharris73 has quit [Remote host closed the connection]
Inoperable has joined #ruby
cj3kim has quit [Ping timeout: 264 seconds]
agharris73 has joined #ruby
<BeingUntoDeath> :O
m4n1f3st_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
choPPY has quit [Client Quit]
shaunbak_ has quit [Remote host closed the connection]
RaCx_ has joined #ruby
dx7 has quit [Ping timeout: 252 seconds]
<certainty> shevy: why did you want to know?
RaCx has quit [Ping timeout: 252 seconds]
RaCx_ is now known as RaCx
ferno has quit [Ping timeout: 264 seconds]
drx_ has joined #ruby
codeFiend has joined #ruby
einarj has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 264 seconds]
teddyp1c_ has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
m4n1f3st0 has joined #ruby
phat4life has joined #ruby
chrisseaton has quit [Ping timeout: 264 seconds]
bricker has joined #ruby
yubrew has joined #ruby
agharris73 has quit [Ping timeout: 240 seconds]
claymore has joined #ruby
x1337807x has joined #ruby
<certainty> apeiros: http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf but still no checkboxes
blueOxigen has quit [Ping timeout: 255 seconds]
gnagno has quit [Ping timeout: 252 seconds]
davy_ has joined #ruby
vt102 has joined #ruby
mike_k has quit [Remote host closed the connection]
drx_ has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
lagweezle has left #ruby [#ruby]
e4xit has joined #ruby
cj3kim_ has quit [Remote host closed the connection]
Mish has joined #ruby
jwood has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
rdark has quit [Quit: leaving]
momigi has quit [Read error: Connection reset by peer]
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momigi has joined #ruby
drx_ has joined #ruby
sambao21 has joined #ruby
spyderman4g63 has joined #ruby
yubrew has quit [Ping timeout: 246 seconds]
atlas__ has quit [Ping timeout: 240 seconds]
Mish has quit [Client Quit]
peterellisjones has quit [Quit: Leaving.]
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
spider-mario has joined #ruby
fijimunkii has quit [Ping timeout: 252 seconds]
shinobi_one has joined #ruby
monkegjinni has joined #ruby
smathieu_ has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
Djoudi has joined #ruby
RaCx has quit [Ping timeout: 246 seconds]
drx_ has quit [Ping timeout: 246 seconds]
fgo has joined #ruby
Djoudi has quit [Client Quit]
jlast has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
freggles has joined #ruby
drx_ has joined #ruby
lmickh has joined #ruby
RaCx has joined #ruby
drx_ has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
drx___ has joined #ruby
jbe has joined #ruby
<havenwood> TL;DR, use GCM :P
m1lt0n_ has quit [Quit: leaving]
arubincloud has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
klaut has quit [Remote host closed the connection]
<shevy> certainty hmm I am contemplating making more notes of when milestones were achieved
lw has joined #ruby
zeeraw has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<shevy> I think I didn't do much at all in the first five years of when I was using ruby
Zai00 has left #ruby [#ruby]
Xeago has quit [Remote host closed the connection]
<havenwood> neat that Rubygems is going with TUF
drx_ has joined #ruby
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
xlogic has joined #ruby
mikepack has quit [Remote host closed the connection]
ferno has joined #ruby
SCommette has quit [Quit: SCommette]
CaptainJet has joined #ruby
phantomtiger has quit [Ping timeout: 255 seconds]
timonv has quit [Remote host closed the connection]
<shevy> TUF?
zeeraw has joined #ruby
drx___ has quit [Ping timeout: 264 seconds]
<certainty> shevy: why? do you feel like you're not where you could be? And if so, why would you care? (that's things i was/am contemplating about)
Shidash has quit [Ping timeout: 246 seconds]
drx___ has joined #ruby
MrJoshua has joined #ruby
Al__ has quit [Quit: Al__]
maasha has joined #ruby
<shevy> certainty no, in respect to milestones, whether I should note down when x/y/z was reached or achieved
<shevy> whether it is of interest to note that down or not
sepp2k has quit [Quit: Konversation terminated!]
obs has quit [Quit: Konversation terminated!]
ce_afk is now known as cescalante
<shevy> certainty I don't really care for myself, but filling up portfolios to answer questions like "hmmm I did 10 years of ruby" "aha... where is your stuff?" (Pause) "uhmmmmmm"
m4n1f3st0 has joined #ruby
drx_ has quit [Ping timeout: 255 seconds]
Al__ has joined #ruby
<certainty> shevy: that's pretty easy to answer? You've lots of stuff at rubygems
drx_ has joined #ruby
<shevy> deduct 2 years
<apeiros> certainty, havenwood: thanks
<shevy> so there would be no gems
fluxxed has quit [Quit: WeeChat 0.4.3]
* apeiros still thinks somebody should make something like quirksmode for security
zeeraw has quit [Client Quit]
<apeiros> (quirksmode: http://www.quirksmode.org )
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy> certainty I think only 4 of these are "real" projects, the rest are really just tiny
<shevy> but tiny is good, much less work
<certainty> havenwood: the recommended lenghts in this paper are still a bit too short IMHO given the latest events
drx___ has quit [Ping timeout: 252 seconds]
drx_ has quit [Read error: Connection reset by peer]
<shaileshg> has anyone here used authenticate_with_http_token in rails and written rspec request tests for the same?
<certainty> shevy: do you have that much public projects? Most of my ruby projects are internal to my company
drx_ has joined #ruby
<shinobi_one> shaileshg: as kin #rubyonrails
<shinobi_one> ask in*
<certainty> in fact i believe i have only one or two public projects that I own
dweeb_ has quit [Quit: Computer has gone to sleep.]
smathieu_ has quit [Remote host closed the connection]
BraddBitt has joined #ruby
Notte has joined #ruby
<shevy> certainty yeah, I think internal projects would be only bioinformatics related, and these are mostly just damn boring SQL jobs, and even without SQL is just handling huge datasets of superboring nucleotides and amino acid sequences mostly
drx_ has quit [Read error: Connection reset by peer]
<shevy> or they are just useless small ruby scripts
<certainty> sounds interesting if you ask me
codezomb has joined #ruby
<shevy> :(
<shevy> what's done in the USA is cool
hobodave has quit [Read error: Connection reset by peer]
<certainty> we've got a member in the CHICKEN community that does these kinds of things at the university of okinawa
<certainty> crazy stuff
hobodave has joined #ruby
<shevy> combining system biology with synthetic biology (and perhaps de-novo assembly of organic compounds, so that would be organic chemistry)
BraddPitt has quit [Ping timeout: 264 seconds]
mityaz has joined #ruby
<shevy> chicken?
SCommette has joined #ruby
_justin has joined #ruby
<certainty> shevy: are you a biologist by profession?
<shevy> okinawa chicken karate?
<shevy> certainty yeah
<certainty> shevy: hehe CHICKEN scheme
<havenwood> shevy: chicken scheme
<havenwood> certainty: jinx!
<shevy> aaaah scheme
<shinobi_one> the hell are we talking about in here :P
<certainty> cool i like people that care about the living things
<shevy> lisp shinobi_one
<certainty> havenwood: :)
<shinobi_one> oh boy
<shevy> nono
treaki has joined #ruby
<shevy> (oh (boy))
<certainty> '(oh (boy))
<shinobi_one> :(
<shevy> ewww
<certainty> unless oh denotes a procedure or syntax
<shinobi_one> /leave
<havenwood> i'm not crazy about eggs, but i'd rather a chicken egg than a python egg
TMM has joined #ruby
<certainty> same here
<certainty> also i don't know python
<bricker> apidock is the worst
<shinobi_one> i'd python any day over anything lisp
bradhe_ has quit [Remote host closed the connection]
endash_ has quit [Quit: endash_]
graft has joined #ruby
graft has joined #ruby
bradhe has joined #ruby
<shinobi_one> python isn't THAT far off from ruby
<shevy> hmm
<havenwood> ruby isn't THAT far off from lisp
<shevy> python lay eggs?
<certainty> shinobi_one: fair enough. My hypothesis is that some languages just work better with some people's brains
<bricker> shinobi_one: seems to be a lot more popular, I can't figure out why
elaptics is now known as elaptics`away
<phat4life> i personally wouldn't use ruby for anything but web development
<shinobi_one> havenwood i disagree ;p
<graft> hey folks, i have a string, and i want to count the number occurrences of a set of characters - what's the fastest way to do this? scan? .each through the characters?
<phat4life> or maybe a cool gem or something
<bricker> phat4life: why's that?
<certainty> graft: .count
<shinobi_one> phat4life: ruby is great for writing scripts, unless you're a bash-head
<slash_nick> aw
<phat4life> the only other coding i do outside of work is c++ and glsl
jwood has quit [Quit: Leaving]
sdouglas has joined #ruby
<havenwood> shinobi_one: "If you want a language for easy object-oriented programming, or you don't like the Perl ugliness, or you do like the concept of LISP, but don't like too many parentheses, Ruby might be your language of choice."
<shevy> phat4life I mostly use ruby for non-web stuff
<havenwood> shinobi_one: manpage quote that cracks me up ^
<phat4life> shevy: what sort of things?
<shinobi_one> havenwood: haha
<shevy> phat4life for instance any sorts of file and directory manipulation
Elico has left #ruby [#ruby]
<shevy> like what you would do in a .sh script normally
<phat4life> you mean like chef?
<shinobi_one> lol
<shevy> phat4life another huge area I use ruby is to make use of system() and `` to call to mplayer, ffmpeg and all the other tools
<phat4life> or puppet
<shevy> I don't know chef nor puppet, so no idea sorry
<phat4life> shevy did that inside reuby
<phat4life> sorry rails
saarinen has quit [Quit: saarinen]
<shevy> rails is like another world for me
<phat4life> i worked at a porn website, we had all these systems calls for ffmpeg
<shevy> though I am supposed to want to learn it
<shevy> phat4life hehehe
<shevy> I use ffmpeg to determine file duration for .mp3 .mp4 and so forth
<phat4life> but as far as 3d graphics, shaders, go wouldn't use ruby for that
<shevy> ok but who needs that
<shevy> other than GAMERS
<phat4life> me :)
<shevy> you mus be a GAMER
<phat4life> or music vizuliaers
<havenwood> bricker: seems Ruby and Python are roughly equally popular to me, at least as far as metrics like StackOverflow and Github
<shinobi_one> there's no reason to learn Rails unless you want to do web development shevy lol
<shevy> the music folks probably use very specialized software
<phat4life> music vizualizers are my shit
<shinobi_one> havenwood: i think Python is slightly more popular
<certainty> havenwood: peter norvig uses python these days :/
<shevy> phat4life apeiros once wrote "Alle meine Entlein" song
<phat4life> stuff like that, though that is webgl
ferno has quit [Ping timeout: 252 seconds]
<shevy> oh that reminds me
<shevy> Mon_Ouie wrote something related to 3D
<havenwood> shinobi_one: maybe slightly so
<shevy> I keep on forgetting the name :(
<shinobi_one> havenwood: google uses python
<havenwood> shinobi_one: hardly
<havenwood> shinobi_one: used to use*
<shinobi_one> havenwood: nah, they have a lot of python
<certainty> google has a huge CL code base also
smathieu has joined #ruby
<certainty> they useeverything
<certainty> erm
<phat4life> i have only used python in relation to Blender
mansi_ has quit [Remote host closed the connection]
<phat4life> i would prefer python over ruby i think
mansi_ has joined #ruby
<phat4life> though i have only used python as a replacement for matlab
<shinobi_one> havenwood: they have a lot of job openings for python
<phat4life> and blender
maletor has quit [Quit: Computer has gone to sleep.]
<havenwood> i think it has a bit of an edge because academia likes its simplicity, but Ruby is shining
<shevy> blender is weird
<shevy> I liked wings3d more
m4n1f3st0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b00stfr3ak has quit [Read error: Connection reset by peer]
MrJoshua_ has joined #ruby
<shevy> much simpler in handling
<shevy> but in the end I realized
<shinobi_one> Ruby will probably be more popular on the web than Python, but I'm not sure about overall
<havenwood> shinobi_one: they've still got a lot to maintain, anyways they seem Go/Dart focused but sure they do lots of langs - hire plenty of Rubyists too
<havenwood> shinobi_one: Wildfire is Ruby, etc.
<shevy> my skills as far as 3D modelling go are limited, I rather want to generate 3D objects
<certainty> matz and guido would agree that Perl it TEH THING once Perl 6 is released
<certainty> is
<phat4life> shevy: i did research in graphics in college
<shinobi_one> havenwood: all of their google PaaS stuff is Python
<havenwood> shinobi_one: Ruby is becoming quite popular in aerospace and supercomputing, more so than Python I beleive.
<phat4life> human animations are hard
<havenwood> shinobi_one: Python is a learning language. Ruby is a doing language. :P
<shevy> all animations are hard!
<certainty> havenwood: why's that?
<shinobi_one> havenwood: lol i think you're confused :P
<shevy> phat4life we tried to do a game a few years ago
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shinobi_one> Python is probably a better language to teach CompSci on than Ruby
<shevy> phat4life http://blog.parpg.net/
<phat4life> shevy: but what i did, was researching how to interpolate between keyframs of human animations
<shevy> it was in python though... what we lacked the most were 3D modellers
browndawg has left #ruby [#ruby]
<phat4life> i woudn't make a game unless it was all 3d and had crazy shaders
<shevy> hehe
adkron has quit [Ping timeout: 240 seconds]
<havenwood> certainty: I think largely because dev want to use it and are productive.
aspires has quit []
dingus_khan has joined #ruby
MrJoshua has quit [Ping timeout: 252 seconds]
MrJoshua_ is now known as MrJoshua
CockRingMcgee has quit [Ping timeout: 246 seconds]
<phat4life> do you devs work in an open work space, with hella desks everywhere
m4n1f3st0 has joined #ruby
<shinobi_one> havenwood: have you done much python?
<phat4life> or do you have a cube
mansi__ has joined #ruby
<shinobi_one> phat4life: i have a cube, but right now i'm sitting in an office
SonicX has joined #ruby
mansi_ has quit [Read error: Connection reset by peer]
<certainty> havenwood: ok that's possible but isn't supercomputing about speed?
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
codeFiend has quit [Quit: codeFiend]
<shinobi_one> i can't imagine any supercomputing is being done with ruby
sepp2k has joined #ruby
<phat4life> shinobi_one: my company bought out most of the building we are in
<phat4life> and now we are all in a huge space with lots of empty desks
<havenwood> shinobi_one: yet it is!
<shinobi_one> phat4life: our old building was like that, then we moved to a smaller one ;)
<shinobi_one> havenwood: pic or not real ;p
<havenwood> certainty: turns out devs being able to better express what they want to compute makes up for much speed, optimize just where needed
<havenwood> dunno
<certainty> possibly
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
<havenwood> certainty: matz said something about being shocked when he first heard Ruby was being actively used in supercomputing
<certainty> time for cinema. Have fun guys/gals
<shinobi_one> hm
mikepack has joined #ruby
<havenwood> never intended for it, but fell into its lap
<shinobi_one> i'd have to see this to believe it :P
gregf has joined #ruby
<BeingUntoDeath> :O :O
<havenwood> shinobi_one: our latest gen fighter jets software and hardware are modeled in Ruby :P
<havenwood> shinobi_one: it is used in space
<phat4life> no more embded c code
<shinobi_one> havenwood: what country?
sepp2k1 has joined #ruby
p8952 has joined #ruby
sdouglas has quit [Remote host closed the connection]
<havenwood> shinobi_one: USA
<shinobi_one> ah you mean the new fighter jet projects with the terribly shitty software that costs like a million per helmet that barely works properly? ;p
failshell has quit []
<havenwood> shinobi_one: i blame Ruby!
<havenwood> hehe
<shinobi_one> language never matters, it's always the devs lol
NovapaX has joined #ruby
<shinobi_one> havenwood: have you used much python? just curious
sepp2k has quit [Ping timeout: 252 seconds]
timonv has joined #ruby
<havenwood> shinobi_one: only a little, mostly porting
<shinobi_one> ah
<havenwood> shinobi_one: i prefer Ruby, and they're too similar for me to spend a ton of time
<havenwood> shinobi_one: do you do lots of Python?
<shinobi_one> havenwood: I used to do a lot of Python at my job, Python/Django stuff
<havenwood> <3 blocks
<shinobi_one> ruby blocks? lol
<phat4life> blocks, proccs, lamdas
<phat4life> what makes a lambda proc a lambda
senayar_ has joined #ruby
<havenwood> shinobi_one: yeah, I like not violating tenet's correspondence principle as well
<phat4life> that is what i want to know
<slash_nick> i've been doing more shell than ruby lately... might get to spend a week or two on some web dev stuff soon
<havenwood> tennent's*
RaCx has quit [Ping timeout: 246 seconds]
<phat4life> learn c++ instead
afex has quit [Ping timeout: 255 seconds]
<shinobi_one> lol
<phat4life> or c, so then when your ruby interper crashes and you look at the c code you know whats up
<shevy> slash_nick ewww shell stuff...
jlast has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 252 seconds]
<phat4life> which has been happening to me a lot lately
<TheLarkInn1> learn obj-c :-P
<shevy> slash_nick can't you use ruby for shell stuff?
<havenwood> silly to try to relegate Ruby to the web though, a great general purpose language
<shinobi_one> shevy if you know how to write bash easily, there's no point to use ruby for it
RaCx has joined #ruby
<shevy> well what about the opposite way shinobi_one
Speed has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has quit [Quit: Computer has gone to sleep.]
aspires has joined #ruby
<havenwood> shinobi_one: i should probably give python more attention, i don't dislike it - just lots of other languages more interesting to me
<shinobi_one> shevy: wat?
<slash_nick> shevy: eventually... my environment has ruby 1.8.5 for now with no rvm, no rubygems integration
Fire-Dragon-DoL has joined #ruby
<shevy> shinobi_one if someone knows how to write ruby easily
coderxin has quit [Remote host closed the connection]
<shevy> slash_nick ewwww that sucks
<phat4life> every programmer should understand pointers, which sadly you can't learn with ruby
<shinobi_one> shevy: bash is still going to be faster and more powerful if you know it for system stuff
<shevy> slash_nick at work I had 1.8.7, but at least with gem available
coderxin has joined #ruby
jlast has joined #ruby
<havenwood> uhg bash
<slash_nick> i'm using it very limitedly... mostly standard lib stuff
<shevy> shinobi_one well it's integrated into your shell
mehlah has quit [Read error: Connection reset by peer]
dx7 has joined #ruby
<shevy> you'd need a shell that could interprete ruby code as quickly
<havenwood> just went through a whole bash project doing explicit returns to handle set -e insantiy
<phat4life> slash_nick: type this in your irb
<phat4life> slash_nick: ("1." + "1" * 100000).to_f
<shinobi_one> shevy: nah, i mean even writing bash scripts to do system level stuff is generally quicker than doing it in ruby, because with ruby you'll probably just have to make system calls anyway to do some things quickly lol
sambao21 has joined #ruby
mehlah has joined #ruby
<havenwood> shinobi_one: there's a reason the nicest dev ops tools are in Ruby (or Python heh) not Bash
<shevy> havenwood everyone says ruby is slow :(
mehlah has quit [Client Quit]
<slash_nick> phat4life: on that server? i don't have irb :D
<havenwood> shevy: compared to what?
<shinobi_one> havenwood: dev ops tools is something completely different than scripts lol
<shevy> havenwood bash :)
mehlah has joined #ruby
<havenwood> shevy: :O
<shevy> havenwood and C :)
<shevy> hehe
coderxin has quit [Read error: No route to host]
coderxin_ has joined #ruby
<slash_nick> i love it... no irb, no rubygems, no bundler, no rvm, ruby 1.8.5
atlas__ has joined #ruby
<shinobi_one> if i need to write a script to back up databases or tables to files compressed, transfer them to another server, uncompress them and load them into a database, i'm sure as hell not going to use ruby
<havenwood> shevy: JRuby 9k Truffle is crazy fast, as is Topaz for that matter.
Azure has quit [Quit: My MBP went to sleep.]
<shinobi_one> lol Topaz
Fire-Dragon-DoL has quit [Client Quit]
cescalante is now known as ce_afk
<havenwood> shevy: i'd have expected to you like RPython
<shevy> slash_nick old school ruby programming :-)
ce_afk is now known as cescalante
<shevy> what is RPython
Fire-Dragon-DoL has joined #ruby
<shevy> and why is there a R in python
<shevy> is the snake devouring Ruby right now?!
<shevy> Ruby ~~~ Python
Alina-malina has quit [Quit: Leaving]
<slash_nick> shevy: or "R"
<shevy> Ruby ~~ Python
<shevy> Ruby - Python
<shevy> look the Python is getting closer!
<shevy> Ruby-Python
<shevy> Rub-Python
kirun has quit [Ping timeout: 255 seconds]
<shevy> damn it!
<phat4life> wait you are learning ruby and you don't have irb
<shevy> R-Python
<shevy> omg
<phat4life> how is that possible
<Rylee> Ahahahaha
<shevy> RPython <--- soon it is over :(
Alina-malina has joined #ruby
<shevy> phat4life well I am not sure when irb was added hehe
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
<shevy> but probably ... at least... ruby 1.4 !
maletor has joined #ruby
<havenwood> shevy: no relation to Ruby, just a restricted subset of Python that's "amenable to static analysis"
<shevy> I don't understand why matz did not have anything like gems
<Rylee> Ruby has Gems but Python doesn't have Eggs. Checkmate, snakelang users.
<shevy> havenwood hmmm
m4n1f3st0 has quit [Read error: Connection reset by peer]
Alina-malina has quit [Read error: Connection reset by peer]
<shevy> Python has pip or? the thing you spit out from an apple
sambao21 has quit [Client Quit]
phat4life has left #ruby [#ruby]
<slash_nick> phat4life: i'm learning ruby... have been since '07
<havenwood> don't get me started on pip...
yubrew has joined #ruby
freezey has joined #ruby
m4n1f3st0 has joined #ruby
<shinobi_one> python has easy_install, and pip which i think are the two most common
Solnse has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
<shevy> cool
<shevy> I like the name easy_install
<shevy> I wrote a class in ruby called EasyCompile
<slash_nick> I wanted our kickball team name to be the EasyWins
dingus_khan has quit [Remote host closed the connection]
ikaros has joined #ruby
<shinobi_one> lol
<havenwood> shinobi_one: we're lucky to Rubygems, easy_install and pip are just... sad.
<slash_nick> because it's so ambiguous
momigi has quit [Remote host closed the connection]
<shinobi_one> havenwood: really? i haven't had any issues
<havenwood> lucky to have*
<shinobi_one> havenwood: we're more lucky to have bundler
mike_k has joined #ruby
<havenwood> shinobi_one: how do you list all the packages installed with pip? update all packages?
<shevy> havenwood well
momigi has joined #ruby
<shevy> havenwood those are just numbers; people's perception are a totally different thing :-)
<shevy> havenwood, look at quotes! shinobi_one> shevy: bash is still going to be faster and more powerful
yfeldblum has joined #ruby
m4n1f3st0 has quit [Client Quit]
<shinobi_one> shevy: for scripting
<havenwood> shinobi_one: i must not have used it since they *finally* added those basic features
<havenwood> shinobi_one: years and years of open pull requests, just horrid
<shevy> why is 1.9.x so much slower than 2.x
<shinobi_one> havenwood: it's been there for a few years i'm pretty sure lol
mehlah has quit [Quit: Leaving...]
<havenwood> shinobi_one: update all packages available yet? or still years away?
<havenwood> shinobi_one: i just.. the whole culture, grrrr
shredding has joined #ruby
Alina-malina has joined #ruby
<havenwood> <3 <3 <3 Ruby
momigi_ has joined #ruby
momigi has quit [Read error: Connection reset by peer]
<shinobi_one> havenwood: i don't use pip that much, python is more of a install stable release and f*ck off until you absolutely need something else
<shinobi_one> ruby is more of a, upgrade everything all the time bleeding edge rawrrr
yubrew has quit [Ping timeout: 255 seconds]
m4n1f3st0 has joined #ruby
<havenwood> they may have finally added a way to update packages as well, i'm not seeing the 4 year old or whatever Issue anymore at least
<shinobi_one> havenwood: they have added an upgrade flag
<havenwood> shinobi_one: yes, i want to bleed not languish! :P
<havenwood> shinobi_one: thank heavens, both list and upgrade - finally properly copying Ruby
LastWhisper has quit [Ping timeout: 245 seconds]
<shinobi_one> lol pretty sure both have been there for years
saarinen has joined #ruby
<shevy> hmm
<havenwood> instead of just not working and refusing to take any pull requests for years
<havenwood> shinobi_one: i promise, it hasn't!
<shevy> does python have something like rubygems FOR searching for packages on the web?
<shinobi_one> havenwood: pretty sure i've been using it for years >.>
<shinobi_one> shevy: pip
<havenwood> shinobi_one: fine, i'll fine the commit
crystal77 has joined #ruby
<shevy> shinobi_one it has a website too?
<shinobi_one> shevy: yeah
<shevy> the name cracks me up
<shevy> spit it out snake!
Azure has joined #ruby
<shevy> choke-hold on a python!
<shevy> it will tap out ...
<shinobi_one> shevy: the name is pypi that lists packages and what not
cescalante is now known as ce_afk
<shevy> ok
<shinobi_one> python is a very established language lol
malkomalko has quit []
yfeldblum has quit [Ping timeout: 264 seconds]
<shinobi_one> it's been more widely used for years compared to ruby
BuSerD_ has joined #ruby
<shinobi_one> also was a lot faster then too
<shevy> hmm quite interesting, look https://pypi.python.org/pypi/ansicolor/0.2.4
senayar_ has quit [Remote host closed the connection]
<shevy> I think that is a bit more detailed than the rubygems.org one
<shevy> and fancier markup
<shinobi_one> lol
Gadgetoid has quit [Ping timeout: 240 seconds]
<shevy> AND it is actually on the official python homepage
<shinobi_one> shevy: python programmers are hardcore..
<shevy> somehow ruby loses out here :(
smathieu has quit [Remote host closed the connection]
datacrusher has quit [Quit: Saindo]
Speed has joined #ruby
smathieu has joined #ruby
<havenwood> shinobi_one: 3+ years old, still no ability to upgrade all packages: https://github.com/pypa/pip/issues/59
<shinobi_one> shevy: go into your terminal and type `python -c 'import this'`
mr_wooh23422 has joined #ruby
Gadgetoid has joined #ruby
ekinmur has joined #ruby
carraroj has joined #ruby
saarinen has quit [Ping timeout: 255 seconds]
<shinobi_one> havenwood: ah
yfeldblum has joined #ruby
<shinobi_one> havenwood: must have been implemented about 3 years ago then
<shinobi_one> lol
smathieu_ has joined #ruby
ferno has joined #ruby
<havenwood> still not landed
rootshift has joined #ruby
smathieu has quit [Read error: Connection reset by peer]
<havenwood> maybe they'll update pip for Python 4 :P
<havenwood> by Python 5 i think Python 3 should start becoming popular
rockelb has joined #ruby
<shinobi_one> lol
<shinobi_one> i don't think it matters, people are happy with 2.7
<havenwood> so glad that Ruby 2.1 is thriving, we luckily don't have a ton of Ruby 1.6 holdouts :P
<havenwood> shinobi_one: i'm just glad Rubyists aren't happy with 1.6.
<havenwood> i like this culture ;
<havenwood> ;)
larissa has quit [Quit: Leaving]
<shinobi_one> havenwood: ruby 2.x drastically changed some ruby internals, python 3.x doesn't..
<shevy> wait
RaCx has quit [Ping timeout: 246 seconds]
<shevy> print() vs. print
<shinobi_one> i don't think python 3.x crazy speeds up python from 2.7
<shevy> it made an xorg library fail to compile!
<shinobi_one> shevy: not this again :P
<shevy> :D
<shevy> no
<havenwood> shevy: come back, don't embrace the dark side!
<shevy> python folks should kill 2.x
SonicX has quit [Remote host closed the connection]
<havenwood> shevy: but they wont. ever.
<shinobi_one> ruby has needed faster development on many things because of the accusations of slowness and memory and other things, python doesn't have these problems even at 2.7 really
fgo has joined #ruby
<shevy> matz killed ruby 1.8.x!!!
<shevy> if he can so can guido
<havenwood> shevy: 1.9.2 is past end-of-life!
smathieu_ has quit [Remote host closed the connection]
<shevy> is ruby faster than python 2.x?
<shinobi_one> i don't believe so
<shevy> hmm
<shevy> ASS SLOW
<shevy> is ruby faster than perl 5 at least?
<shinobi_one> lol
<havenwood> shevy: just use JRuby 9k + graal and answer all your questions, yes.
<shinobi_one> lol
fgo_ has joined #ruby
<shinobi_one> havenwood: and Jython?
<shinobi_one> or Cython?
<havenwood> they bow to the Truffle!
<shinobi_one> lol
amh345 has left #ruby [#ruby]
<shinobi_one> well i'm going to indulge in some terrible american chinese food, bbl
* shinobi_one afk
Azure has quit [Quit: Blue Sky Fish]
<havenwood> shinobi_one: there is experimental work with Python and Truffle i think
<havenwood> Ruby is just the furthest along.
_justin has quit [Quit: _justin]
dweeb_ has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
Lewix has quit [Remote host closed the connection]
_justin has joined #ruby
_justin has quit [Client Quit]
<shinobi_one> havenwood: i'm not super excited about truffle really
<havenwood> i sure am
aaronmcadam has quit [Quit: Leaving...]
<shinobi_one> isn't jruby still on 1.9.2 or something?
<havenwood> mruby too
<havenwood> shinobi_one: stable release is default to 1.9.3 mode, but 2.0 available
fgo_ has quit [Ping timeout: 264 seconds]
zachallett has quit [Remote host closed the connection]
<havenwood> shinobi_one: JRuby 9k branch is 2.1.
paulfm has quit []
<shinobi_one> i'm not going to run production code on a non-stable level
<havenwood> shinobi_one: it isn't ready for prime time
<shinobi_one> it isn't ready for me, and it's been taking ages
<shinobi_one> lol
ikaros has quit [Quit: Ex-Chat]
<shinobi_one> shit python4 will be out soon
<shinobi_one> jk
<havenwood> shinobi_one: JRuby is production ready. JRuby 9k will be production ready when it is released.
<havenwood> shinobi_one: (It'll be called JRuby 2.)
<shinobi_one> havenwood: JRuby is production ready yes, at 1.9.2
<shinobi_one> errr 1.9.3
dkamioka has joined #ruby
<havenwood> yup ;)
erikruthven has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shinobi_one> i'll stick with 2.1.0
<shevy> havenwood but then I have to use java! :(
paulfm has joined #ruby
<havenwood> shevy: there are plans for Java on Truffle/Graal
dkamioka has quit [Read error: No route to host]
<havenwood> shevy: why would you have to use Java?
<shevy> for JRuby!
<shevy> <havenwood> shevy: just use JRuby
<shinobi_one> shevy: you don't even have to code in java
dkamioka has joined #ruby
<havenwood> shevy: JRuby != Java :P
AlSquire has quit [Quit: This computer has gone to sleep]
thumpba has joined #ruby
<shevy> shinobi_one but it is sitting on my computer and staring at me
<shevy> "Hi, I am your super verbose friend."
<shinobi_one> shevy: java probably is doing that already ;)
<shevy> no!
<shevy> I am java free!
<havenwood> shevy: JRuby is an implementation of Ruby, and running it on Truffle AST with the Graal VM doesn't require you to use a lick of Java.
bradhe has quit [Remote host closed the connection]
<shevy> I thought truffle is something edible
<shevy> who is choosing those names???
<shinobi_one> shevy: oracle
<havenwood> granted, not production ready but not released or even for sure the VM of 9k - still exciting
<shevy> and graal... that sounds like the monty python folks
<shevy> shinobi_one omg oracle... that name...
Hobogrammer has joined #ruby
bradhe has joined #ruby
fieldfirst has quit [Ping timeout: 252 seconds]
<shinobi_one> eh imo too many ruby devs hate on java it feels like
Azure has joined #ruby
<shevy> python devs embrace java
<shinobi_one> shevy: lol where do you get that from?
shaunbaker has joined #ruby
shaunbaker has quit [Remote host closed the connection]
<rcs> jruby is pretty win.
<shevy> shinobi_one I just thought it must be like that
<shinobi_one> rcs: is it faster stock than ruby 2.1.0?
<shinobi_one> shevy: that doesn't make sense ;p
<havenwood> shinobi_one: depends.
<shinobi_one> does it take up less memory than 2.1.0?
<rcs> shinobi_one: Duno. The placs where I've used it, I needed java packages/intgration, so it wasn't a performance consideration
<shinobi_one> rcs: ah gotcha
<shinobi_one> makes sense
<shinobi_one> only reason to use it these days imo
RaCx has joined #ruby
<shinobi_one> unless you're in love with torquebox or something
afex has joined #ruby
Sawbones has joined #ruby
<havenwood> shinobi_one: Other than startup time and memory, it pretty much wins these days. Then there's threading...
<havenwood> shinobi_one: Nice to have a first class JVM option as well as MRI.
<Sawbones> Anyone have any tutorials for running shoes from command line?
<shinobi_one> holy crap someone is using shoes
sisco has joined #ruby
Al__ has quit [Quit: Al__]
jds has quit [Quit: Connection closed for inactivity]
bradhe has quit [Ping timeout: 246 seconds]
<Sawbones> I'd use a chrome webkit gui but I can't find a gem for something like that
<havenwood> Sawbones: check out the Shoes4 readme if you want to use JRuby: https://github.com/shoes/shoes4#readme
nanoyak has joined #ruby
<havenwood> Sawbones: or Shoes3 readme otherwise.
AlexRussia has quit [Ping timeout: 264 seconds]
fijimunkii has joined #ruby
_justin has joined #ruby
Xeago has joined #ruby
dingus_khan has joined #ruby
<sisco> hello all, im realy noob into ruby , but with your help i can figure out. anyways . im using ffmpeg to record a live stream rtmp, but how can i use ruby to keep always only the last 10 min on the hard drive
blackmesa has quit [Ping timeout: 264 seconds]
<shinobi_one> ok finally my coworker is ready to get food
Speed has quit [Ping timeout: 255 seconds]
blandflakes has quit [Ping timeout: 245 seconds]
cjsarette has quit [Ping timeout: 264 seconds]
dingus_khan has quit [Remote host closed the connection]
AlexRussia has joined #ruby
zorak has joined #ruby
zachallett has joined #ruby
decoponio has quit [Quit: Leaving...]
petey has joined #ruby
<shevy> good that you have some slaves in office
pfg has joined #ruby
gui113 has joined #ruby
gui113 has left #ruby [#ruby]
<mordocai`> sisco: I would say you should do that primarily with ffmpeg. See the only comment on this https://stackoverflow.com/questions/20095667/ffmpeg-record-the-screen-but-only-remember-the-last-5-minutes. Sounds like you could use https://ffmpeg.org/ffmpeg-formats.html#segment_002c-stream_005fsegment_002c-ssegment -segment_time with a cron job to remove old segments.
Hobogrammer has quit [Quit: WeeChat 0.4.3]
Xeago has quit [Ping timeout: 252 seconds]
agharris73 has joined #ruby
phansch has joined #ruby
<sisco> mordocai im stuck into cron job how to know what file to delete, lets say i made a bash file or segmenter to create the files , to this point is good. but how to grab them to restream them in order and delete the old one
lw has quit [Quit: s]
bradhe has joined #ruby
compleatang has quit [Ping timeout: 264 seconds]
userx has joined #ruby
userx has quit [Changing host]
userx has joined #ruby
yacks has quit [Ping timeout: 255 seconds]
GaryOak_ has quit [Remote host closed the connection]
vt102 has quit [Remote host closed the connection]
teddyp1c_ has quit [Remote host closed the connection]
<mordocai`> sisco: I would probably list files, sort by modification time, and delete all but the most recent.
smathieu has joined #ruby
dingus_khan has joined #ruby
<sisco> could you give me an example plz
<sisco> thats would be great
DrShoggoth has joined #ruby
YamakasY has quit [Remote host closed the connection]
jjbohn has quit [Quit: Leaving...]
Hobogrammer has joined #ruby
froy has quit [Remote host closed the connection]
afex has quit [Ping timeout: 255 seconds]
jjbohn has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
froy has joined #ruby
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
Lewix has joined #ruby
nifty has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<sisco> i think i got idea
<sisco> i will test it
beauby has joined #ruby
aagdbl has quit [Quit: Leaving]
kirun has joined #ruby
chuk has joined #ruby
descala has quit [Ping timeout: 264 seconds]
binaryhat has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
nanoyak has joined #ruby
descala has joined #ruby
rockelb has quit [Quit: Leaving]
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RaCx has quit [Quit: Computer has gone to sleep.]
nari has quit [Ping timeout: 246 seconds]
<mordocai`> sisco: Haven't tested this well, but found Dir.entries("/").sort_by{ |f| File.mtime("/" + f) }[0] seems to work. replace "/" with the directory you care about, you could use Dir["*.mkv"] if you care about extension.
smathieu has quit [Remote host closed the connection]
<mordocai`> sisco: Like Dir["/*.mkv"].sort_by{ |f| File.mtime("/" + f) }[0]
smathieu has joined #ruby
nanoyak has quit [Client Quit]
<sisco> i use as .rb?
blom_ has joined #ruby
RaCx has joined #ruby
mgomezch has joined #ruby
<mordocai`> sisco: Yeah, that's ruby code.
sambao21 has joined #ruby
endash_ has joined #ruby
<mordocai`> sisco: Oh, that sort is ascending, so you want to reverse it
Speed has joined #ruby
dingus_khan has quit [Remote host closed the connection]
yubrew has joined #ruby
<mordocai`> sisco: In an ever growing monstrosity Dir["/*.mkv"].sort_by{ |f| File.mtime("/" + f) }.reverse[0]
<cHarNe2> hi guys, i wanna send a class.method as parameter, is that possible? https://gist.github.com/SebastianThorn/9606890
afex has joined #ruby
Merks has joined #ruby
Gadgetoid has quit [Ping timeout: 252 seconds]
<banister> cHarNe2 t.method(:greeter)
sumark_ is now known as Sumark
Gadgetoid has joined #ruby
Sumark is now known as sumark
nanoyak has joined #ruby
jbueza has joined #ruby
ankov has quit [Ping timeout: 246 seconds]
yubrew has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
dingus_khan has joined #ruby
kate_r has quit [Ping timeout: 255 seconds]
freerobby has quit [Quit: Leaving.]
<gr33n7007h> Does rescue need to in begin and end block?
sepp2k1 has quit [Quit: Leaving.]
zcreative has joined #ruby
Czupa has joined #ruby
fijimunkii has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
sepp2k has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
<abdulsattar> >> raise ArgumentError rescue puts "hello"
<eval-in> abdulsattar => hello ... (https://eval.in/122125)
serapath has joined #ruby
aspires has quit []
<cHarNe2> banister: thatnks alot :)
Suit_Of_Sables has quit [Ping timeout: 264 seconds]
<gr33n7007h> abdulsattar, so no then, cool
<banister> gr33n7007h the only time it doesnt is when it's an inline rescue, as abdulsattar showed
<banister> otherwise it does (except in method/class context)
phantasm66 has joined #ruby
<gr33n7007h> banister, Ah so inline and class/method don't else everywhere other does
Gooder` has quit [Ping timeout: 246 seconds]
<banister> gr33n7007h exactly
binaryhat has quit [Quit: Leaving]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
<abdulsattar> the method rescue syntax is a very good feature, it saves one wall of indentation
<gr33n7007h> banister, cool, thanks for that banister :)
chuk has quit [Quit: Leaving]
<banister> and i'm talking about "top level" method/class syntax
YamakasY has joined #ruby
saarinen has joined #ruby
<banister> otherwise (if you want to drill down to a specific area of code inside the method) then you need begin/end
jlast has quit [Remote host closed the connection]
<gr33n7007h> banister, got ya!
<abdulsattar> banister: how do you rescue within a class? (not method)
sambao21 has quit [Quit: Computer has gone to sleep.]
obs has joined #ruby
<banister> abdulsattar class Hello; rescue ; end
randomnick_ has joined #ruby
fannye has quit [Remote host closed the connection]
rootshift has joined #ruby
Solnse has joined #ruby
wallerdev has joined #ruby
<jrhorn424> i can't find the erb syntax `<%- foo -%>` in the documentation. anyone have a search term I could use?
jlast has joined #ruby
ebobby has joined #ruby
aspires has joined #ruby
yalue has quit [Read error: Connection reset by peer]
isbadawi has joined #ruby
LekeFly has joined #ruby
freerobby has joined #ruby
mehlah has joined #ruby
<abdulsattar> banister: thanks for that!
sambao21 has joined #ruby
<sisco> mordocai i used bash script
saarinen has quit [Ping timeout: 255 seconds]
<sisco> im close but it didnt what i want
duggiefresh has quit [Remote host closed the connection]
pu22l3r has joined #ruby
maletor has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
maletor has joined #ruby
erikruthven has joined #ruby
<banister> abdulsattar yeah class frames are pretty darn similar to method frames in a number of ways
<mordocai`> sisco: That was a ruby script not a bash script. Did you see my correction to use .reverse?
francisfish has joined #ruby
blom_ has quit [Remote host closed the connection]
<banister> for a start a class definition does push a frame onto teh stack ;) which is a bit weird (but makes sense for ruby)
<sisco> mordocai to be honnest i dont know even how to implement it
<banister> >> class Hello; raise; rescue; "baby"; end
<eval-in> banister => "baby" (https://eval.in/122130)
blom_ has joined #ruby
<crome> banister: because class Hello is actually Hello = Class.new
fgo has joined #ruby
IceyEC has joined #ruby
<mordocai`> sisco: Give me a second then
<banister> crome i think it's more to do with the executable class bodies actually
<sisco> ok sir
matcouto has joined #ruby
derek_c has joined #ruby
senayar has joined #ruby
petey has quit [Remote host closed the connection]
erikruthven has quit [Client Quit]
petey has joined #ruby
einarj has joined #ruby
blom_ has quit [Ping timeout: 255 seconds]
fgo has quit [Ping timeout: 240 seconds]
mikepack has quit [Remote host closed the connection]
tt1187 has joined #ruby
michaeldeol has joined #ruby
YamakasY has quit [Remote host closed the connection]
xlogic has quit [Remote host closed the connection]
blaxter has quit [Quit: foo]
petey has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
timonv has quit [Remote host closed the connection]
mikepack has joined #ruby
<mordocai`> sisco: This is the ruby file you might be able to use http://paste.debian.net/88233/. I commented out the line that actually removes the file so you can test it first. You should run it like ./remove_all_but_latest_modified.rb "/recorded_stuff/" "mkv" >> /var/log/remove_all.log
DouweM has joined #ruby
<mordocai`> sisco: There are a lot of improvements that can be made (checking directory exists, using Logger instead of puts, etc)
<sisco> ok
<sisco> i will try it
serapath has left #ruby [#ruby]
<sisco> can i add the comman of ffmpeg into the same file?
<unholycrab> can someone point me to an example class definition where the object is created with symbols, for example obj = cl.new(:foo => 'foo', :bar => 'bar')
<mordocai`> sisco: You'd have to use threading or forking to be able to have both run at the same time. Gets more advanced.
m4n1f3st0 has quit [Ping timeout: 252 seconds]
Blaze_Boy has quit [Ping timeout: 264 seconds]
<abdulsattar> unholycrab: https://eval.in/122135
rainmanjam has quit []
beneggett has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
shinobi_one has joined #ruby
jjbohn has quit [Quit: Leaving...]
<shinobi_one> shevy: if you call slaves me driving us both to get food then yes ;p
jjbohn has joined #ruby
dkamioka has quit [Remote host closed the connection]
centrx has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
momigi_ has quit [Quit: Leaving...]
Jane_ has joined #ruby
momigi has joined #ruby
CockRingMcgee has joined #ruby
derek_c has quit [Ping timeout: 252 seconds]
m4n1f3st0 has joined #ruby
kobain has joined #ruby
centrx has quit [Client Quit]
crystal77 has quit [Quit: Computer has gone to sleep.]
<CockRingMcgee> I'm back bitches!
nanoyak has joined #ruby
centrx has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<CockRingMcgee> anyone know how to use Heroku?
centrx is now known as Guest63599
maletor has joined #ruby
postmodern has joined #ruby
Guest63599 is now known as centrx
<abdulsattar> CockRingMcgee: !used
<abdulsattar> I can't for the love of god use helpa
sdouglas has joined #ruby
<abdulsattar> !used
<mozzarella> !help
<CockRingMcgee> abdulsattar
<CockRingMcgee> whats good
<mozzarella> .help
<CockRingMcgee> !help
<CockRingMcgee> .help
jlast has quit [Remote host closed the connection]
crystal77 has joined #ruby
<CockRingMcgee> wtf I don't know how to use IRC channels
<CockRingMcgee> Please direct me to learning this shit
jlast has joined #ruby
<mozzarella> isn't helpa only available in #rubyonrails?
francisfish has quit [Remote host closed the connection]
nowthatsamatt has quit [Quit: nowthatsamatt]
<abdulsattar> Okay here's what helpa would say: CockRingMcgee Please don't ask "Does anyone how to use <<something>>". Ask the question directly
jlast has quit [Read error: Connection reset by peer]
<CockRingMcgee> thank mr. moderator abdulsattar
jlast has joined #ruby
<CockRingMcgee> So, what is a gem?
<mozzarella> !ask
dapz has joined #ruby
<unholycrab> abdulsattar: eggcellent. thanks
<CockRingMcgee> !ask what does that mean
<unholycrab> CockRingMcgee: its a ruby module
aspires has quit []
<CockRingMcgee> aaa please explain, So is it like a library?
<CockRingMcgee> like sciPy is for Python?
wallerdev has quit [Quit: wallerdev]
terrellt has quit [Ping timeout: 255 seconds]
Jane_ is now known as Jane_657
<mozzarella> like pip for python
<mozzarella> I think
coderxin has joined #ruby
<mozzarella> gem instal gemname
<mozzarella> install*
terrellt has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<CockRingMcgee> aaa
<unholycrab> CockRingMcgee: sure. there aren't any bots in here either
<unholycrab> that respond to triggers liek that
<CockRingMcgee> I'm lost
<unholycrab> CockRingMcgee: have you ever killed a man?
lmickh has quit [Quit: lmickh]
intuxicated has joined #ruby
<slash_nick> CockRingMcgee: ... mozzarella looked like he tried to trigger a bot with "!ask", to which you replied "what's that?"... unholycrab probably meant to address mozzarella
beauby has quit [Ping timeout: 246 seconds]
jackneill has quit [Remote host closed the connection]
<shinobi_one> does nobody understand this guy is trolling lol
maletor_ has joined #ruby
Czupa has quit [Remote host closed the connection]
coderxin_ has quit [Ping timeout: 255 seconds]
<centrx> Seriously
<centrx> Wake up sheeple
<shinobi_one> ^
lw has joined #ruby
* slash_nick apologizes for not having paid attention to anyone/anything in here for the past hour or so
duggiefresh has joined #ruby
lmickh has joined #ruby
<mozzarella> if someone's trolling WHY don't you just kick them?
coderxin_ has joined #ruby
Jane_657 has quit [Remote host closed the connection]
maletor has quit [Ping timeout: 252 seconds]
<mozzarella> it's not all that obvious
<mordocai`> Sometimes it is fun to feed the trolls...
<shinobi_one> i can't kick anyone
mike_k has quit [Remote host closed the connection]
<slash_nick> some shinobi
deens has quit [Remote host closed the connection]
BuSerD_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
coderxi__ has joined #ruby
<intuxicated> Hi all, I'm looking for simple postgresql client just for simple queries , most of my queries are select so i don't need complex datamapper or active record , ruby 2.1.1, psql 1.9.3, any suggestion ? i found pg gem but seems like doesn't support psql 1.9.3
<shinobi_one> slash_nick: i can sneak up through the shadows and slit a mean throat though..
jph98 has joined #ruby
<apeiros> intuxicated: try sequel
<unholycrab> that is scary, shinobi_one
fijimunkii has joined #ruby
<apeiros> intuxicated: without its ORM part, that is.
BeingUntoDeath has quit []
<shinobi_one> unholycrab: it is
derek_c has joined #ruby
<intuxicated> apeiros, ty :)
<CockRingMcgee> Yea kick the troll out
<CockRingMcgee> wtf
bynaryshef has joined #ruby
<CockRingMcgee> And yes I have killed a man. Back when I used to live in Tijuana
slash_nick is now known as slash_kick
coderxin has quit [Ping timeout: 264 seconds]
contradictioned_ has quit [Ping timeout: 252 seconds]
strayjane has joined #ruby
<CockRingMcgee> That essay liked to use to oxford commas incorrectly, so I shanked him.
cj3kim has joined #ruby
<shinobi_one> Tijuana, I hear that's nice this time of the year.
maletor_ has quit [Ping timeout: 264 seconds]
<CockRingMcgee> Hell yea fun time during spring break man
<abdulsattar> by "fun" you mean "stabbing someone in the back"?
duggiefresh has quit [Ping timeout: 255 seconds]
dweeb_ has quit [Quit: Textual IRC Client: www.textualapp.com]
CreativeEmbassy has joined #ruby
<CockRingMcgee> but yea, I do a little of the trolling, a little of the asking the technical questions, and all that
endash_ has quit [Quit: endash_]
<CockRingMcgee> No abdulsattar
coderxin_ has quit [Ping timeout: 252 seconds]
coderxin has joined #ruby
<CockRingMcgee> I stabbed him in the face where he can see me
maletor has joined #ruby
mike_k has joined #ruby
<CockRingMcgee> but thats in the immediate past.
<snkcld> you know what would be cool? having rspec tests _in_ a README.md file so that you can be sure that the README.md is also up to date ;P
<snkcld> anyone know if thats a thing?
blackmesa has quit [Quit: WeeChat 0.4.3]
<crome> snkcld: and spellcheck!
saarinen has quit [Quit: saarinen]
strayjane has quit [Remote host closed the connection]
<CockRingMcgee> I am but a n00b in the game. So I will ask, whats an rspec?
<snkcld> CockRingMcgee: tests
<CockRingMcgee> crome ?
chrisseaton has joined #ruby
<snkcld> on the code
<CockRingMcgee> for what snkcld
<crome> snkcld: dont feed the troll
dkamioka has joined #ruby
yubrew has joined #ruby
<CockRingMcgee> crome its a legit question, chill out
strayjane has joined #ruby
<CockRingMcgee> I am seriously learning, don't be a prude
<strayjane> hi
<snkcld> lol
<CockRingMcgee> hey strayhane
<CockRingMcgee> strayjane
<strayjane> does anyone here know how to get into #RubyonRails room?
<CockRingMcgee> so what are rspecs?
<crome> CockRingMcgee: just like most of your legit questions today, I presume
coderxi__ has quit [Ping timeout: 252 seconds]
bynaryshef has quit [Ping timeout: 240 seconds]
<abdulsattar> strayjane: you need to register with NickServ to get into that
<CockRingMcgee> does anyone here have a sense of humor or are a great majority of you autistic?
<abdulsattar> \/msg NickServ register
<CockRingMcgee> anyway, rspecs, in lay mans terms what are they Any idea abdusattar
<strayjane> abdulsattar thank you but i am totally new here and i am using colloquy
phantomtiger has joined #ruby
<CockRingMcgee> me too strayjane
<CockRingMcgee> anyone here from New York or California?
zachallett has quit [Remote host closed the connection]
<strayjane> great so how to register using this thing
cj3kim has quit [Ping timeout: 264 seconds]
<strayjane> anyone from BOSTON
<strayjane> lol
<intuxicated> apeiros, yeah that's it, i was looking for something like this for an hour :)
<strayjane> abdulsattar fain ro7t
dapz has quit [Ping timeout: 246 seconds]
<abdulsattar> strayjane: ?
vlad_starkov has joined #ruby
ktosiek has joined #ruby
blom_ has joined #ruby
<strayjane> abdulsattar need your help to get into that room really lol
dkamioka has quit [Remote host closed the connection]
grzywacz has joined #ruby
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<CockRingMcgee> BOSTON!!!
<CockRingMcgee> Yea i love that city strayjane
<strayjane> who doesn't
<CockRingMcgee> MIT was boss!
<strayjane> i hate it now but cannot wait for the summer to come
yubrew has quit [Ping timeout: 240 seconds]
<CockRingMcgee> hell yea, And its st. paddys day. the city must be up in a roar
ikaros has joined #ruby
mrnugget has quit [Quit: mrnugget]
dayepa has joined #ruby
<strayjane> that was yesterday
vlad_sta_ has joined #ruby
<CockRingMcgee> true party people party till monday
<CockRingMcgee> of the next week. strayjane are you a CS major?
<strayjane> no i am a business and philosophy major
<strayjane> running my startup right now
<strayjane> and i need to get into that room to help my developers
zz_jrhorn424 is now known as jrhorn424
ktosiek has quit [Client Quit]
ktosiek has joined #ruby
<centrx> strayjane, Register your nick with Nickserv and Identify
freggles has quit [Remote host closed the connection]
<CockRingMcgee> aa nice, i luvs da philosophy, My favs are Hume, Locke and Russell
<strayjane> yeah i am trying to do that i just did it lets hope it works
<strayjane> my fav is Russell
<CockRingMcgee> centrx how do I do that? I would like to join
<strayjane> ;)
_lynX has joined #ruby
vlad_starkov has quit [Ping timeout: 252 seconds]
blom_ has quit [Remote host closed the connection]
maletor has quit [Ping timeout: 240 seconds]
vlad_sta_ has quit [Remote host closed the connection]
<CockRingMcgee> Yea I am reading History of Western Philosophy Book 3 now and that mofo is killing it!
vlad_starkov has joined #ruby
<CockRingMcgee> whats your start up about, just curious?
blom_ has joined #ruby
<strayjane> is there a room for the malaysian airlines lol
mikepack_ has joined #ruby
<strayjane> people to find roomate
<strayjane> the right roomate
<strayjane> sort of like match.com but for roommates
phantasm66 has quit [Quit: *sleeeep….]
<CockRingMcgee> Like check out coachsurfer.org for a good reference
<CockRingMcgee> it has a proven system that has worked for over a decade.
BuSerD_ has joined #ruby
<strayjane> not working
<CockRingMcgee> its not for room mates but the idea is analogous.
<strayjane> are you sure of the spelling
bynaryshef has joined #ruby
fijimunkii has quit [Ping timeout: 252 seconds]
<strayjane> good well we want it for roommates
<CockRingMcgee> ill find it for you
<strayjane> in Boston & NYC for now
<strayjane> people struggle a lot to live with the right person
<CockRingMcgee> yea, the idea of the system works for roommates as well
<strayjane> and life is short
<CockRingMcgee> i can agree with that
<CockRingMcgee> lol amen to that sister
BuSerD_ has quit [Client Quit]
<CockRingMcgee> what you need is a robust identification system
Merks has quit []
<CockRingMcgee> with good filters to sort people out
<strayjane> yes
Authenti1ator has quit [Quit: leaving]
<CockRingMcgee> check that out. look at the systemic design. not the technical aspects. but the look, feel, flow of the process of the business
<strayjane> we are working on that
mityaz has quit [Quit: See ya!]
<strayjane> only people with .edu are allowed to sign up
billiam has joined #ruby
<CockRingMcgee> you can just jack their model and apply it to your start up
<strayjane> and if you don't have .edu email then you must send your id
mikepack has quit [Ping timeout: 264 seconds]
<CockRingMcgee> good idea. how are you going to scale that tho?
maletor has joined #ruby
<strayjane> i don't want to jack anything
slash_kick is now known as slash_nick
<CockRingMcgee> well borrow"
blom_ has quit [Ping timeout: 255 seconds]
sparrovv has joined #ruby
<strayjane> we are shortlisting designers right now
abdulsattar_ has joined #ruby
<strayjane> who are working on the art work
<centrx> Big day for trolling
<CockRingMcgee> centrx sorry
bynaryshef has quit [Remote host closed the connection]
<CockRingMcgee> just curious about the business
nowthatsamatt has joined #ruby
<strayjane> is this like airbnb
Merks has joined #ruby
<strayjane> ?
abdulsattar_ has quit [Client Quit]
<strayjane> the website you sent
mattmcclure has joined #ruby
wallerdev has joined #ruby
Hanmac1 has joined #ruby
Elico has joined #ruby
Blaze_Boy has joined #ruby
isbadawi has quit [Read error: Connection reset by peer]
isbadawi1 has joined #ruby
mary5030 has quit [Remote host closed the connection]
ekinmur has quit []
<CockRingMcgee> yea, but it was made before airbnb
<CockRingMcgee> and its free
<CockRingMcgee> its sort of like the Napster to the iTunes
grzywacz has quit [Ping timeout: 246 seconds]
dayepa has quit [Quit: dayepa]
Hanmac has quit [Ping timeout: 252 seconds]
mgomezch_ has joined #ruby
jph98 has quit [Quit: jph98]
mgomezch has quit [Ping timeout: 264 seconds]
radic_ has quit [Ping timeout: 252 seconds]
jcarouth has joined #ruby
<strayjane> sorry everyone for talking about irrelevant things here, my apologies .... i am totally new and still learning
paulfm has quit []
bynaryshef has joined #ruby
<shinobi_one> sigh
cgore has joined #ruby
<CockRingMcgee> yup same here
radic has joined #ruby
<CockRingMcgee> my bad
mjs2600 has quit [Remote host closed the connection]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<CockRingMcgee> back to ruby
<strayjane> ^_-
dideler_work has quit [Quit: WeeChat 0.4.3-dev]
bynaryshef has quit [Remote host closed the connection]
bricker_ has joined #ruby
ferr has joined #ruby
guilund has joined #ruby
IceyEC has quit [Quit: IceyEC]
kirun has quit [Quit: Client exiting]
SonicX has joined #ruby
isbadawi1 has left #ruby [#ruby]
pothibo_ has joined #ruby
bricker has quit [Ping timeout: 255 seconds]
pothibo has quit [Ping timeout: 246 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
philcrissman has joined #ruby
Shidash has joined #ruby
danshultz has quit [Remote host closed the connection]
CreativeEmbassy has quit [Quit: Computer has gone to sleep.]
danshultz has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cya]
chipotle has joined #ruby
derek_c has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
maletor has quit [Ping timeout: 252 seconds]
blom_ has joined #ruby
_justin has quit [Quit: _justin]
maletor has joined #ruby
wjlafrance has joined #ruby
fgo has joined #ruby
saarinen has joined #ruby
mark_locklear has quit [Ping timeout: 246 seconds]
sailias has quit [Ping timeout: 246 seconds]
NicholasFlamel has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has joined #ruby
mary5030 has joined #ruby
Merks has quit []
YamakasY has joined #ruby
mary5030 has quit [Remote host closed the connection]
samuel02 has quit [Remote host closed the connection]
danshultz has quit [Ping timeout: 264 seconds]
aspires has joined #ruby
mary5030 has joined #ruby
radic has quit [Ping timeout: 246 seconds]
Merks has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
klaut has joined #ruby
radic has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
Jetchisel has joined #ruby
sdouglas has quit [Remote host closed the connection]
dapz has joined #ruby
dapz has quit [Max SendQ exceeded]
lw has quit [Quit: s]
mansi__ has quit [Remote host closed the connection]
<matcouto> hey guys, why this wont work https://gist.github.com/matcouto/173c7967dd722a01cbca ?
BuSerD_ has joined #ruby
mansi has joined #ruby
sdouglas has joined #ruby
duggiefresh has joined #ruby
<matcouto> undefined method `name' for nil:NilClass
<matcouto> from product object
BuSerD_ is now known as BuSerD
<slash_nick> matcouto: try defining "item"
m4n1f3st0 has quit []
<slash_nick> oh, it's because @item_cart.product returns nil, matcouto
Merks has quit []
<matcouto> but why? Im creating a new product here -> @item_cart.product = new Product("sfdsfds", "fdfds")
<matcouto> ops
<matcouto> sorry
invinceable has joined #ruby
<wallerdev> thats not how you initialize objects
<matcouto> my mistake
<slash_nick> and what is @item_cart?
<slash_nick> nil?
<centrx> It's nils all the way down
<slash_nick> wow wallerdev i didn't even register that
<centrx> >> NilClass.new
<eval-in> centrx => undefined method `new' for NilClass:Class (NoMethodError) ... (https://eval.in/122145)
<slash_nick> matcouto: there's a handful of reasons that won't work
<abdulsattar> I don't think @item_cart is nil, @item_cart.product = ... would itself have failed.
<slash_nick> centrx: heh, that's NilClass:Class instead of nil:NilClass
strayjane has quit [Quit: strayjane]
sdouglas has quit [Ping timeout: 252 seconds]
teddyp1cker has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
<centrx> >> ->(stab) { stab.stab }[:slash_nick]
<eval-in> centrx => undefined method `stab' for :slash_nick:Symbol (NoMethodError) ... (https://eval.in/122146)
<shinobi_one> :O
<matcouto> Ive just updated gist
afex has quit [Ping timeout: 252 seconds]
<matcouto> first block is how I'm creating the objects
mansi has joined #ruby
smathieu has quit [Remote host closed the connection]
<matcouto> don't worry about the 'item, it's fine
maasha has quit [Ping timeout: 245 seconds]
<slash_nick> matcouto: and what gives the error?
mike_k has quit [Remote host closed the connection]
smathieu has joined #ruby
<slash_nick> line 29 of the updated gist?
lmickh has quit [Remote host closed the connection]
<matcouto> slash_nick Failure/Error: puts @item_cart.product.name NoMethodError: undefined method `name' for nil:NilClass
m4n1f3st0 has joined #ruby
mansi has quit [Remote host closed the connection]
<slash_nick> before line 28, do "puts @item_cart.product"... after new Product(...) on line 28, do "puts @item_cart.product" again
<matcouto> yeah I've got this puts on line 18
<matcouto> puts @item_cart.product.name
m4n1f3st_ has joined #ruby
<crome> you should be rather trying to figure out why @item_cart.product is nil instead of trying to output its name
<slash_nick> matcouto: what i'm getting at is I think you're clearing it out... right here: https://gist.github.com/matcouto/173c7967dd722a01cbca#file-gistfile1-rb-L28
havenwood has quit []
smathieu has quit [Remote host closed the connection]
benlieb has joined #ruby
smathieu has joined #ruby
<slash_nick> matcouto: I didn't suggest "puts @item_cart.product.name", and I didn't say line 18...
blom_ has quit [Remote host closed the connection]
phansch has quit [Quit: WeeChat 0.4.2]
blom_ has joined #ruby
m4n1f3st0 has quit [Ping timeout: 240 seconds]
jkamenik has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mike_k has joined #ruby
<matcouto> slash_nick https://gist.github.com/matcouto/173c7967dd722a01cbca#file-gistfile1-rb-L4 right after this line, I should have an Product object inside @item_cart, right?
Blaze_Boy has quit [Quit: Blaze_Boy]
<matcouto> I mean *a product
monkegjinni has quit [Remote host closed the connection]
jragon has quit [Ping timeout: 255 seconds]
centrx is now known as roger_doofus
monkegjinni has joined #ruby
roger_doofus is now known as centrx
centrx has quit [Quit: All this computer hacking is making me thirsty]
saarinen has quit [Quit: saarinen]
<slash_nick> matcouto: sure... but what happened to that "new Product(...)" bit?
centrx has joined #ruby
centrx is now known as Guest57841
Guest57841 is now known as danny_dolittle
teddyp1cker has quit [Remote host closed the connection]
jkamenik1 has quit [Ping timeout: 264 seconds]
ikaros has quit [Quit: Ex-Chat]
<matcouto> I didnt mean to put that block, that why I removed. The things is, I'm losing product after the 'each' block
danny_dolittle is now known as centrx
jbueza has quit [Quit: Textual IRC Client: www.textualapp.com]
ga1j1n has joined #ruby
doodlehaus has quit [Remote host closed the connection]
blom_ has quit [Ping timeout: 252 seconds]
<slash_nick> matcouto: well, you are overwriting @item_cart with every iteration through #each
baroquebobcat has joined #ruby
<matcouto> slash_nick even though, I supposed to have at least the last item inserted, right?
vlad_starkov has joined #ruby
<fveillette> did someone have ever had a error like this: Could not open library 'libkernel32.so': libkernel32.so: cannot open shared object file: No such file or directory
kwoodson has joined #ruby
blom_ has joined #ruby
<matcouto> slash_nick I'll put @item_cart inside an array and see
centrx has quit [Client Quit]
northfurr has joined #ruby
centrx has joined #ruby
centrx has quit [Client Quit]
monkegjinni has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
<slash_nick> matcouto: eh, i just assumed the last item didn't have any... i have a very limited idea what you're dealing with inside those variables
centrx has quit [Client Quit]
beneggett has joined #ruby
centrx has joined #ruby
baroquebobcat_ has joined #ruby
centrx is now known as Guest7990
obs has quit [Read error: Connection reset by peer]
yubrew has joined #ruby
workmad3 has joined #ruby
Guest7990 is now known as centrx
jjbohn has quit [Quit: Leaving...]
deens has joined #ruby
vt102 has joined #ruby
<fveillette> did someone have ever had a error like this: Could not open library 'libkernel32.so': libkernel32.so: cannot open shared object file: No such file or directory
baroquebobcat has quit [Ping timeout: 240 seconds]
baroquebobcat_ is now known as baroquebobcat
<centrx> fveillette, Missing a library
Azure has joined #ruby
Jason has joined #ruby
<Jason> hi all - how do I get a string, but only retrieve anything after the first X letters of it?
<Jason> in python: x="1234"; x[2:]
<fveillette> rspec on my jenkins complain when i use win32-servcice gem in a chef recipe
<Jason> to get '34'.
<apeiros> >> "1234"[0,2]
<eval-in> apeiros => "12" (https://eval.in/122157)
<apeiros> Jason: ^
<Jason> oh. wow
<apeiros> ah, everything *after*
<Jason> apeiros: hm. how about after?
<Jason> yeah
<apeiros> >> "1234"[2..-1]
ankov has joined #ruby
* apeiros kicks eval-in
<Jason> works
<Jason> apeiros: you rock
<apeiros> Jason: check the docs of String#[]
<apeiros> it's quite versatile
yubrew has quit [Ping timeout: 264 seconds]
beauby has joined #ruby
<Jason> apeiros: aye. i'm a pythoner, so it's usually pretty easy for me to figure it out in ruby
<apeiros> either str[offset, length] or str[offset..offset] - there are many others.
deens has quit [Ping timeout: 252 seconds]
CockRingMcgee is now known as CockRingMcgeefor
IceyEC has joined #ruby
IceyEC has quit [Client Quit]
CockRingMcgeefor is now known as CockRingMcgeeRma
<Hanmac1> you can also try str[/\A.{x,y}/] or str[/.{x,y}\Z/] depending on your need ;P
glebm_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Hobogrammer_ has joined #ruby
maxims has joined #ruby
<matcouto> slash_nick the problem mas in the iteration. sorry about that =/
montyboy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shaileshg has quit [Quit: Connection closed for inactivity]
jph98 has joined #ruby
inkblot_ has joined #ruby
samuel02 has joined #ruby
beauby has quit [Ping timeout: 264 seconds]
zachallett has joined #ruby
Hobogrammer has quit [Ping timeout: 255 seconds]
<Jason> hrmph. one other question: i've got a double array: [["F", "940"], ["P", "940"], ["P", "941"]]
mary5030 has quit [Ping timeout: 264 seconds]
<Jason> I want to pick out the sub-arrays that have "P" for the first value.
<Jason> if that makes any sense. it did to me. :P
<shinobi_one> Jason: use a hash?
<Jason> shinobi_one: an array would be better for this since it'd be changing
<Jason> i think?
<shinobi_one> Jason: hashes change?
<bnagy> >> [["F", "940"], ["P", "940"], ["P", "941"]].select {|(a,b)| a=='P'}
<eval-in> bnagy => [["P", "940"], ["P", "941"]] (https://eval.in/122158)
<Jason> shinobi_one: hm.
<Jason> shinobi_one: maybe.
<bnagy> or don't decompose and use {|ary| ary.first
<Jason> bnagy: that's it - .select! i was looking at .find :P
CockRingMcgeeRma is now known as Suck_it
_justin has joined #ruby
<shinobi_one> { "P" => ["940", "941",..], "F" => "940" }
mostlybadfly has joined #ruby
<shinobi_one> or "F" => ["940"] rather
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
claymore has quit [Ping timeout: 240 seconds]
<Jason> shinobi_one: that would work actually. silly me.
<Jason> shinobi_one: thanks.
<shinobi_one> Jason: np
jjbohn has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
zorak has quit [Ping timeout: 264 seconds]
montyboy has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
beneggett has joined #ruby
montyboy has quit [Client Quit]
blom_ has quit [Remote host closed the connection]
freezey has quit [Remote host closed the connection]
freerobby has quit [Quit: Leaving.]
blom_ has joined #ruby
anoldhacker has joined #ruby
samuel02 has quit [Ping timeout: 246 seconds]
hfp`away has quit [Ping timeout: 245 seconds]
claymore has joined #ruby
afex has joined #ruby
baroquebobcat has joined #ruby
BuSerD is now known as BuSerD_zzzz
<anoldhacker> I'm having trouble compiling the thrift gem on a Mac, which was recently updated to Mavericks. I have XCode, and just downloaded the command line tools & installed. Any more ideas?
hfp`away has joined #ruby
GaryOak_ has joined #ruby
BuSerD_zzzz has quit [Quit: Sleepy time! ZZZzzz…]
zcreative has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
jjbohn has quit [Quit: Leaving...]
Es0teric has joined #ruby
BuSerD has joined #ruby
nateberkopec has quit [Quit: Leaving...]
<dstynchula> hi
blom_ has quit [Ping timeout: 255 seconds]
<dstynchula> how can I add the values of a group of hashes together?
freezey has joined #ruby
jjbohn has joined #ruby
anoldhacker has quit [Ping timeout: 240 seconds]
<centrx> dstynchula, disks.inject(0) { |sum, h| sum += h["SIZE"].to_i }
jamto11 has quit [Remote host closed the connection]
freerobby has joined #ruby
ferr has quit [Quit: Leaving.]
Chronocity has joined #ruby
geopet has joined #ruby
bricker_ is now known as bricker
guilund has quit [Remote host closed the connection]
<dstynchula> thank you centrx!
<shinobi_one> centrx: that's gross
<centrx> What
<centrx> Am I doing people's homeworks again
<shinobi_one> lol
<dstynchula> lawl
<dstynchula> not homework, thankfully.
atlas__ has quit [Ping timeout: 264 seconds]
osvico has quit [Ping timeout: 252 seconds]
deens has joined #ruby
beneggett has quit [Ping timeout: 246 seconds]
BuSerD has quit [Quit: BuSerD out........]
LiohAu has quit [Quit: LiohAu]
ferno has quit [Ping timeout: 240 seconds]
m4n1f3st_ has quit []
zorak has joined #ruby
<bnagy> you should write proper code to deal with those sizes though
<bnagy> to_i is going to bite someone
sambao21 has quit [Quit: Computer has gone to sleep.]
Suck_it has quit [Read error: Connection reset by peer]
<shinobi_one> >> "8G".to_i
<eval-in> shinobi_one => 8 (https://eval.in/122166)
TheEconomist has joined #ruby
anoldhacker has joined #ruby
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
<bnagy> >> '2T'.to_i
<eval-in> bnagy => 2 (https://eval.in/122167)
TheEconomist has quit [Client Quit]
<anoldhacker> Sorry network blinked. Any ideas about my command line tools problem?
shredding has quit [Quit: shredding]
<dstynchula> >> puts "Interpreted by chef?"
<eval-in> dstynchula => Interpreted by chef? ... (https://eval.in/122168)
<dstynchula> neat!
deens has quit [Ping timeout: 240 seconds]
<shinobi_one> >> "2GBMBTBPB".to_i
<eval-in> shinobi_one => 2 (https://eval.in/122169)
charliesome has joined #ruby
nopolitica has joined #ruby
duggiefresh has quit [Remote host closed the connection]
<bnagy> anoldhacker: try providing an actual error, you might get a bite
<rcs> >> "0xff".to_i
<eval-in> rcs => 0 (https://eval.in/122170)
TheEconomist has joined #ruby
fgo has joined #ruby
jph98 has quit [Quit: jph98]
ctp_ has joined #ruby
nifty has quit [Ping timeout: 252 seconds]
m4n1f3st0 has joined #ruby
ctp has quit [Ping timeout: 264 seconds]
saarinen has joined #ruby
beneggett has joined #ruby
chuk has joined #ruby
<slash_nick> matcouto: glad you got it worked out
dingus_khan has quit [Read error: Connection reset by peer]
zachallett has quit [Remote host closed the connection]
kpshek has quit []
randomnick_ has quit [Ping timeout: 264 seconds]
<matcouto> ;]
iliketurtles has joined #ruby
<anoldhacker> https://gist.github.com/student/9609439 — thrift fails to compile on Mavericks. Suspect out-of-date command line tools.
rootshift_ has joined #ruby
beneggett has quit [Client Quit]
dingus_khan has joined #ruby
nateberkopec has joined #ruby
sisco has quit [Quit: Quitte]
dingus_khan has quit [Remote host closed the connection]
claymore has quit [Ping timeout: 255 seconds]
rootshift_ has quit [Client Quit]
geggam has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 246 seconds]
BuSerD has joined #ruby
<bnagy> try not using your Jurassic Period system ruby and see if that helps
rootshift has quit [Ping timeout: 240 seconds]
<Hanmac1> rcs: but:
<Hanmac1> >> Integer("0xff")
<eval-in> Hanmac1 => 255 (https://eval.in/122171)
claymore has joined #ruby
IceyEC has joined #ruby
<shinobi_one> anoldhacker: i get the same error on ruby 2.0.0-p247 on mavericks with the latest command line tools
IceyEC has quit [Client Quit]
<bnagy> my recommendation is go get chruby and ruby-install then install mri 2.0 which is just 'ruby-2.0' I think
iliketurtles has quit [Client Quit]
<bnagy> but any way you want to install it is fine by me
<anoldhacker> I'm running rbenv. ruby —version reports 2.0.0p247
freezey has quit [Remote host closed the connection]
<bnagy> huh. Broken extconf then?
<bnagy> wait wait.. your error though. That's 1.8
claymore has quit [Read error: Connection reset by peer]
tfittsy has joined #ruby
beauby has joined #ruby
<anoldhacker> Yeah. I see that.
<bnagy> so whatever you're doing is not using your rbenv ruby. Could be sudo or something
<shinobi_one> ruby 2.1.0 i get the same error installing thrift
<anoldhacker> Bundler doesn't need sudo.
<shinobi_one> it's not the ruby version
TheEconomist_ has joined #ruby
<anoldhacker> It's some sort of config issue.
freezey has joined #ruby
<bnagy> it might not be, but it will still need fixing
tfitts has quit [Ping timeout: 246 seconds]
cantonic has joined #ruby
Virtualize|away has quit [Read error: Connection reset by peer]
virt|work has joined #ruby
<Sawbones> What GUI do y'all use for Ruby when you arn't doing web stuff?
<bnagy> I'm not sure why thrift wants to build its own strlcpy tbh :/
<shinobi_one> extconf.rb:25:in `<main>': Use RbConfig instead of obsolete and deprecated Config.
<shinobi_one> Sawbones: Chrome/Firefox/Safari/IE
<Sawbones> "When you arn't doing web stuff"
<shinobi_one> oops!
<shinobi_one> Sawbones: What do you mean by GUI exactly?
agharris73 has quit [Remote host closed the connection]
TheEconomist has quit [Ping timeout: 264 seconds]
cantonic has quit [Client Quit]
<Sawbones> gtk, qt, shoes, etc
pothibo_ has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
TheEconomist_ is now known as TheEconomist
agharris73 has joined #ruby
mjs2600 has joined #ruby
<shinobi_one> Sawbones: You mean for making desktop applications?
<shinobi_one> with Ruby
<Sawbones> yes
<bawNg> Sawbones: The size of any native GUI framework that has sufficient functionality makes packaging it for desktop release not very ideal
<davy_> Sawbones: I've used shoes, and it has some definite limitations
CpuID has joined #ruby
<davy_> Sawbones: I've also seen people do great things with Gosu, and is what I'm going to be investigating next
<bawNg> I wish there was a decent, light weight GUI framework, but there simply isn't
<shinobi_one> Eh, I don't make desktop applications in Ruby.
momigi has quit [Remote host closed the connection]
<bnagy> ha, second answer is 'I comitted a patch to check if strlcpy is builtin' :P
jobewan has quit [Quit: Leaving]
<bawNg> I wonder how many ruby developers are gamers
<shinobi_one> bawNg: I game.
<shinobi_one> so +1
TheEconomist has quit [Remote host closed the connection]
momigi has joined #ruby
<bawNg> I wonder how many play Rust :P
<Sawbones> I play rust
maletor has quit [Quit: Computer has gone to sleep.]
<bawNg> I'm almost done building a nearly real-time, detailed web based Rust server browser
<anoldhacker> I'm an addict, I'm afraid. Don't to pay-by-month, though.
<Sawbones> I want to get the ESO game
<shinobi_one> Sawbones: did you play the beta? or are you playing it?
<bawNg> Still need to implement the filtering UI, will get to it in the next day or two, but there are already real-time and history graphs, reddit integration, and other useful features
<Sawbones> shinobi_one: a friend let me play it for a little bit, and watched some videos on it
<bawNg> The in-game rust server browser is insanely limited
<bawNg> Sawbones: If you'd like to use the site, it is http://rustservers.intoxicated.co.za/
agharris73 has quit [Ping timeout: 255 seconds]
fschuindt has joined #ruby
<bawNg> The whole project is built in ruby and coffeescript
jbueza has joined #ruby
<shinobi_one> Sawbones: I thought it was mediocore tbh.
<shinobi_one> bawNg: so it's a web based server browser
<bawNg> shinobi_one: Yes, far more advanced than the in-game one, or any other web based one
<shinobi_one> bawNg: cool cool
<bawNg> It queries all 16k rust servers once every ~15 seconds
<bawNg> Graphs and table data is updates in real-time
<Sawbones> shinobi_one: someone wrote a great article about what to expect from the game.
<bawNg> *updated
vt102 has quit [Remote host closed the connection]
<anoldhacker> bang! And with an explicit .ruby-version file, I get the correct ruby as well.
dingus_khan has joined #ruby
<shinobi_one> Sawbones: I played a lot of the beta already.
dingus_khan has quit [Remote host closed the connection]
momigi has quit [Ping timeout: 240 seconds]
<Sawbones> I wish Ruby was fast enough for opengl, I'd love to have a game side project for funsies
<bawNg> I have not officially launched the site yet, I'll wait a few days until what I have initially planned is complete
<bawNg> But feel free to use it in the meantime
<Sawbones> bawNg: what library are you using for the charts?
_Andres has joined #ruby
isbadawi has joined #ruby
kotakotakota has joined #ruby
<bawNg> Sawbones: Highcharts
<banister> Sawbones ruby is "fast enough" for opengl, check out gosu
<Sawbones> bawNg: nice, I like it, definitely solves the problem with that crappy search it has
inkblot_ has left #ruby [#ruby]
<bawNg> The daemon backend is EventMachine based, it handles querying, scraping and async long polling updates. The basic web server is unicorn
SonicX_ has joined #ruby
<shinobi_one> bawNg: Rails?
dejanr has joined #ruby
<bawNg> The unicorn backend is Sinatra, the EventMachine one is just a rack application on Thin
SonicX has quit [Ping timeout: 252 seconds]
<shinobi_one> I see
<bawNg> I don't use Rails, since it's pretty much always more bloated than I need
phantomtiger has quit [Quit: phantomtiger]
<Sawbones> banister: dang that framerate dropped pretty quick :P
<bawNg> Sawbones: Yeah it still needs advanced filtering, but it is already far better than anything else out there
<bawNg> Should make life much easier for people who need to find decent servers
dejanr has quit [Quit: leaving]
dejanr has joined #ruby
maletor has joined #ruby
hexed has quit [Quit: Leaving]
dejanr has quit [Client Quit]
vlad_starkov has quit [Remote host closed the connection]
yubrew has joined #ruby
chris_thomson has joined #ruby
chris_thomson has quit [Client Quit]
dejanr has joined #ruby
<shinobi_one> bawNg: the ping is only relevant to south africans
<shinobi_one> ?
dejanr has quit [Client Quit]
freezey has quit [Ping timeout: 264 seconds]
<bawNg> Yes, since that is where the application is hosted
<shinobi_one> bawNg: are you going to move it to the US?
<bawNg> I don't unfortunately have US or EU resources to use for calculating pings
dejanr has joined #ruby
jjbohn has quit [Quit: Leaving...]
Mon_Ouie has quit [Quit: WeeChat 0.4.3]
<bawNg> Not until a point where it can pay for its self
<bawNg> or I find sponsored resources
m4n1f3st0 has quit [Ping timeout: 264 seconds]
dejanr has quit [Client Quit]
<bawNg> Ideally it should be able to calculate ping from a few locations, such as EU and US
rootshift has joined #ruby
dejanr has joined #ruby
Lewix has quit [Remote host closed the connection]
<bawNg> Sawbones: Clicking on a server brings up details, such as info, player count graphed over time and comments from reddit
<bawNg> That isn't currently stated anywhere, it probably should be
<shinobi_one> I don't play Rust, but it looks interesting.
chris_thomson has joined #ruby
ferno has joined #ruby
m4n1f3st0 has joined #ruby
<bawNg> Rust shows a lot of potential, it's already great for an early alpha
<shinobi_one> I'll probably play DayZ instead
yubrew has quit [Ping timeout: 240 seconds]
<bawNg> It'll probably be a year or two before DayZ standalone is worth the money
<bawNg> Rust is already worth it
<bawNg> Until then, you're better off getting Arma II and playing the DayZ mod
smathieu has quit [Remote host closed the connection]
dejanr has quit [Client Quit]
<shinobi_one> bawNg: I have that, but I can't invest my time in a game where I can be killed when I'm not playing :P
einarj has quit [Remote host closed the connection]
abdulsattar has quit [Ping timeout: 240 seconds]
CpuID has quit [Ping timeout: 252 seconds]
<bawNg> shinobi_one: You're talking about Rust?
smathieu has joined #ruby
<shinobi_one> yes
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bawNg> You need to find a decent server, preferably one with no crafting C4 and limited sleepers so your body disappears after being logged out for a while
<shinobi_one> lol sounds like work
<bawNg> I recommend the first server in the browser list (with the most reddit comments)
<bawNg> I haven't seen a better server
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
programmerq has quit [Remote host closed the connection]
<shinobi_one> i've been addicted to cs:go and hearthstone lately
smathieu has quit [Remote host closed the connection]
Avahey_ has joined #ruby
smathieu has joined #ruby
SonicX_ has quit [Read error: Connection reset by peer]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bawNg> I've been playing CS:GO for the past 26 months, Rust is the first game that has hooked me since the GO beta started
dik_dak has quit [Remote host closed the connection]
kevind has quit [Quit: kevind]
<bawNg> I do a lot of CS:GO modding too though
<shinobi_one> i've been playing CS since 2000 or so lol
Salve has quit [Remote host closed the connection]
<shinobi_one> although not entirely consistently
<bawNg> yeah I've been playing CS since 1.5 too
stringoO has quit [Quit: stringoO]
<bawNg> shinobi_one: Have you ever played on an Intoxicated 1v1 server?
<shinobi_one> sounds familiar, not sure
<bawNg> There was an EU one starting with "EU - " up until last week
<bawNg> I unfortunately no longer have EU hosting for it, but that is one of my world first CS mods
<bawNg> It allows multiple concurrent 1v1 matches on the same tiny map
<shinobi_one> nice
Salve_ has joined #ruby
<shinobi_one> bawNg: most people would ESEA aim map 1v1 probs tho
<bawNg> Very fast gameplay, great for warming up
m4n1f3st0 has quit []
beneggett has joined #ruby
ohwhoa has quit [Quit: woah!]
radic has quit [Disconnected by services]
radic_ has joined #ruby
michaeldeol has joined #ruby
<bawNg> How does ESEA 1v1 work? Is there a queue where people watch and wait for their turn?
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mikepack_ has quit [Remote host closed the connection]
Nyyx has joined #ruby
mikepack has joined #ruby
atmosx has quit [Remote host closed the connection]
<shinobi_one> bawNg: not sure how it works currently tbh
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Avahey_ has quit []
Nyyx has quit [Client Quit]
<bawNg> There is no other mod that allows concurrent 1v1 matches on a single server, I really need to find time to finish my mod, it's still an early alpha
Nyyx has joined #ruby
Avahey_ has joined #ruby
<bawNg> I just had enough time to make the prototype playable and stable for basic gameplay
yiati has joined #ruby
Avahey_ is now known as Avahey
m4n1f3st0 has joined #ruby
<shinobi_one> bawNg: esea has a 1v1 aim map league
tjr9898 has quit []
gr33n7007h has quit [Ping timeout: 264 seconds]
Salve_ has quit [Ping timeout: 246 seconds]
<bawNg> Yeah, but that is slow-paced and allows few rounds of gameplay
nopolitica has quit [Quit: leaving]
<shinobi_one> bawNg: i think that's the point though, it's a league, not a deathmatch style of play
<bawNg> My mod allows you to play 1v1 constantly, pretty much never stopping, you just keep getting new opponents and respawning
vhsmaia has joined #ruby
<shinobi_one> your mod sounds fun
<bawNg> It is made primarily for practise, nothing else compares to its efficiently
<bawNg> *efficiency
<shinobi_one> maybe if you finish go will add it :P
<bawNg> But I would like to add a ladder to it later
nopolitica has joined #ruby
<bawNg> I doubt that, and I really wouldn't want them to
<bawNg> Valves implementation of DM and GG are terrible
SCommette has quit [Quit: SCommette]
<bawNg> My mod is a complete hack of the engine, it relies on many reverse engineered hacks to make something that the engine really wasn't designed for, possible
RaCx_ has joined #ruby
vhsmaia is now known as SrPx
RaCx has quit [Ping timeout: 246 seconds]
RaCx_ is now known as RaCx
m4n1f3st0 has quit [Ping timeout: 255 seconds]
Soulcutter has quit [Quit: WeeChat 0.4.3]
chrisja has quit [Quit: leaving]
ferr has joined #ruby
<bawNg> Anyway, even though the channel is dead quiet at the moment, that is probably more than enough off topic discussion for this week.
<centrx> ?
<shinobi_one> lol
<centrx> Suffocate bunnies grassiest!
<shinobi_one> :O
benlieb has quit [Quit: benlieb]
creede has quit [Quit: Leaving]
CaptainJet has quit [Ping timeout: 252 seconds]
<bawNg> On another note, things seem to have gone quiet on my em-http bug report :(
Azure has quit [Quit: My MBP went to sleep.]
CaptainJet has joined #ruby
momigi has joined #ruby
nopolitica has quit [Quit: leaving]
trhodes_ has quit [Quit: ZNC - http://znc.in]
evenix has joined #ruby
<shinobi_one> can't say i know much about em-http-request
<bawNg> Until the issue is resolved, I recommend everyone who needs em-http-request builds a separate application that runs only to use em-http-request, so that only it has a low performance
trhodes_ has joined #ruby
<bawNg> That is what I had to do for my backend, so my web application now consists of 3 ruby applications
bradhe has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
evenix has quit [Remote host closed the connection]
mike_k has quit []
CaptainJet has quit [Read error: Connection reset by peer]
evenix has joined #ruby
funburn has joined #ruby
klaut has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
mercwithamouth has joined #ruby
mary5030 has joined #ruby
BuSerD has quit [Quit: Sleepy time! ZZZzzz…]
CaptainJet has joined #ruby
bradhe_ has joined #ruby
vlad_starkov has joined #ruby
deens has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yiati has quit []
baroquebobcat has quit [Quit: baroquebobcat]
mary5030 has quit [Ping timeout: 240 seconds]
Notte has quit [Remote host closed the connection]
Hobogrammer has joined #ruby
ga1j1n has quit [Remote host closed the connection]
ga1j1n has joined #ruby
Sawbones has quit []
arubincloud has quit []
m4n1f3st0 has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
lmickh has joined #ruby
snath has quit [Ping timeout: 255 seconds]
lw has joined #ruby
geopet has quit [Ping timeout: 252 seconds]
_justin has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
ktosiek has quit [Ping timeout: 252 seconds]
_justin has joined #ruby
yasushi has joined #ruby
deens has quit [Ping timeout: 264 seconds]
mengu has quit [Remote host closed the connection]
fgo has joined #ruby
Hobogrammer_ has quit [Ping timeout: 264 seconds]
mikemar10 has joined #ruby
strayjane has joined #ruby
strayjane has quit [Client Quit]
ga1j1n has quit [Ping timeout: 240 seconds]
SCommette has joined #ruby
BuSerD has joined #ruby
zenojis has joined #ruby
SCommette has quit [Client Quit]
ekinmur has joined #ruby
CaptainJet has quit [Ping timeout: 255 seconds]
segimondu is now known as segmond
yasushi has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
momigi has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 255 seconds]
momigi has joined #ruby
lilltiger has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
lilltiger has joined #ruby
Salve has joined #ruby
momigi has quit [Read error: Connection reset by peer]
apeiros has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
phantomwhale has quit [Ping timeout: 240 seconds]
lepht_ has quit [Read error: Connection reset by peer]
momigi has joined #ruby
jpinnix____ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
_justin has quit [Quit: _justin]
lepht_ has joined #ruby
ferr has quit [Quit: Leaving.]
phantomwhale has joined #ruby
jpinnix____ has joined #ruby
senayar has quit [Remote host closed the connection]
ce_afk is now known as cescalante
aspires has quit []
ekinmur has quit []
jibi has quit [Ping timeout: 252 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
CaptainJet has quit [Ping timeout: 252 seconds]
snuffeluffegus has joined #ruby
Salve has quit [Ping timeout: 264 seconds]
nw has quit [Ping timeout: 264 seconds]
crystal77 has joined #ruby
m4n1f3st0 has quit []
derek_c has joined #ruby
nw has joined #ruby
tt1187 has quit [Ping timeout: 264 seconds]
freerobby has quit [Quit: Leaving.]
AndChat| has quit [Ping timeout: 264 seconds]
beneggett has quit [Ping timeout: 264 seconds]
m4n1f3st0 has joined #ruby
beneggett has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
IceDragon has quit [Ping timeout: 255 seconds]
maxims has left #ruby ["Leaving"]
IceDragon has joined #ruby
sski has joined #ruby
jibi has joined #ruby
strayjane has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
yubrew has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Spami has joined #ruby
strayjane has quit [Client Quit]
msmith has joined #ruby
phantasm66 has joined #ruby
hobodave has quit [Ping timeout: 252 seconds]
msmith has quit [Remote host closed the connection]
phantasm66 has quit [Client Quit]
mary5030 has joined #ruby
samuel02 has joined #ruby
ctp_ has quit [Quit: Linkinus - http://linkinus.com]
yubrew has quit [Ping timeout: 240 seconds]
CaptainJet has joined #ruby
davy_ has quit [Remote host closed the connection]
jbe has quit [Quit: Leaving]
rootshift has quit [Quit: My MacBook has decided to go to sleep. Zzzz..]
samuel02 has quit [Ping timeout: 246 seconds]
teddyp1cker has joined #ruby
agharris73 has joined #ruby
enebo has quit [Quit: enebo]
workmad3 has quit [Ping timeout: 240 seconds]
geopet has joined #ruby
tylersmith has quit [Remote host closed the connection]
msmith has joined #ruby
bradhe_ has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
bradhe has joined #ruby
msmith has quit [Remote host closed the connection]
nfk has quit [Read error: Operation timed out]
teddyp1cker has quit [Ping timeout: 252 seconds]
geopet has quit [Ping timeout: 255 seconds]
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jjbohn has joined #ruby
IceyEC has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
crystal77 has quit [Quit: Computer has gone to sleep.]
anoldhacker has quit [Quit: Leaving.]
bradhe has joined #ruby
lmickh has quit [Remote host closed the connection]
IceyEC has quit [Client Quit]
chuk has quit [Quit: This computer has gone to sleep]
geopet has joined #ruby
m4n1f3st0 has quit [Ping timeout: 264 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
jhass is now known as jhass|off
confounds has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
m4n1f3st0 has joined #ruby
YamakasY has quit [Remote host closed the connection]
nisstyre has joined #ruby
jjbohn has quit [Quit: Leaving...]
mengu has quit [Ping timeout: 255 seconds]
_maes_ has joined #ruby
confounds has left #ruby [#ruby]
confounds has joined #ruby
kotk has quit [Quit: Leaving...]
linojon has quit [Quit: linojon]
geopet has quit []
jjbohn has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
mlpinit has quit [Quit: Leaving...]
__greg has joined #ruby
alexju has quit [Remote host closed the connection]
mmoretti has quit [Quit: Leaving...]
ankov has quit [Ping timeout: 240 seconds]
slash_join has joined #ruby
slash_join has quit [Changing host]
slash_join has joined #ruby
Atw has joined #ruby
twiceaday has quit [Ping timeout: 240 seconds]