<rpag>
since its been a few years, you might be most surprised by how far javascript has come, there's mvc frameworks for it now too
<rpag>
and node.js on the server side
scripore has quit [Client Quit]
<simon`>
It's actually just going to be a rather simple site for my fathers architect bureau. I might have to put some designers work into code, so bootstrap sounds like a good idea.
<simon`>
Yeah, I heard about node.js
<rpag>
yeah, bootstrap is easy to use and looks good out of the box
<banister>
rpag sup pagg-dogg
<banister>
rpag i'm in tokyo
<rpag>
its built for mobile as well (since bootstrap3)
<rpag>
sup mah brutha
<rpag>
you lucky basterd :)
<rpag>
in the airport?
<rpag>
or city?
<banister>
rpag nah just transit on my way back to holland, but i left the airport and slept in a capsule hotel last night
Sawbones has joined #ruby
<rpag>
sweet, i heard about those
<rpag>
did you fit? =D
<banister>
lol
bonhoeffer has joined #ruby
bashusr has joined #ruby
<banister>
yeah, it's pretty comfortable, and they play ocean sounds to relax u
<simon`>
So what would be the workflow of using bootstrap in combination with lets say slim?
<rpag>
awesome
dangerousdave has quit [Ping timeout: 252 seconds]
shock_one has quit [Remote host closed the connection]
<simon`>
Would I need to manually put the bootstrap templates into code? Or is there some automated way of doing so?
<rpag>
include the bootstrap CSS and JS in your slim templates.
<rpag>
where are you using slim? Rails, Sinatra, ..?
<banister>
rpag how's dub
<bradland>
he’s using sinatra
<rpag>
banister, shittty, i hate it here, as you know :-)
<simon`>
banister: what do they charge in those casule hotels for a night?
<rpag>
banister, ive started to write programs to try win the euromillions :D
<banister>
simon` 45 euro
Sawbones has quit [Remote host closed the connection]
<banister>
rpag cool, what kinda stuff?
charliesome has joined #ruby
<banister>
darn this is weird, there's a white couple behind me speaking to eachother in fluent japanese
<rpag>
banister, something that will take my usual numbers and tell me if i won or not so far
<banister>
rpag oh, lottery?
<rpag>
yep
<banister>
cool
bonhoeffer has quit [Client Quit]
<rpag>
what kinda flight time are you looking at?
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
charliesome has quit [Ping timeout: 272 seconds]
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
rajeshchawla has quit []
rpag has quit [Quit: Leaving]
havenwood has joined #ruby
scripore has joined #ruby
jenrzzz has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<chrisseaton>
hi everyone - can any of you help me understand why does this work? https://gist.github.com/chrisseaton/926d4c5ba81a3ea3370f define_method is a method on Module, but self is a Object, so where does Ruby get this method from?
bashusr has joined #ruby
Xiti` has joined #ruby
charliesome has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Xiti has quit [Ping timeout: 264 seconds]
banister has joined #ruby
pwh has quit []
banister has quit [Client Quit]
kevr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dain_ has quit [Quit: dain_]
bashusr has joined #ruby
<bradland>
chrisseaton: Object.define_method exists because of Object’s ancestory
<bradland>
try adding two lines to the beginning of your script
<bradland>
Object.class
dling has quit []
mquin has quit [Read error: Connection reset by peer]
<bradland>
Object.ancestors
<bradland>
well, prefix those with p, so you can see the output, but you get what I mean
<chrisseaton>
bradland: I see [Object, Kernel, BasicObject] - but none of them include define_method
<bradland>
i think Object gets define_method through Class, which is the link to Module
<bradland>
sry, Object.class returns Class
<bradland>
do Class.ancestors instead
<bradland>
you can do the same in an irb/pry session
<chrisseaton>
bradland: hmm not sure that solves my problem Object.define_method is Module.define_method yeah - but self is not Object, so that's irrelevant isn't it?
<chrisseaton>
I think the root of the problem then is that there is no documentation of for the main object - so there's nowhere to look for this stuff is there?
<pontiki>
what actually is the problem?
<bradland>
ruby source code?
<bradland>
roffleburgers
<bradland>
traditionally, the definition of ruby is ruby
<jhass>
but Numeric makes no sense since Float includes that too
lifenoodles has quit [Ping timeout: 245 seconds]
<klmlfl>
I just changed my code from 'class Roman' to 'class Fixnum' and got the same error
<jhass>
and there's no such thing as roman literals for Floats
<jhass>
yes
<jhass>
since you define a singleton (class) method
<jhass>
and the tests call an instance method
bashusr has quit [Read error: Connection reset by peer]
skj3gg has quit [Quit: ZZZzzz…]
bashusr has joined #ruby
lifenoodles has joined #ruby
kasperti_ has quit []
<klmlfl>
i removed the self part
Trep has joined #ruby
einarj has joined #ruby
<klmlfl>
what if I make it so class Roman inherits from Fixnum? Will that be a viable solution?
crueber has joined #ruby
<klmlfl>
jhass:
<klmlfl>
sorry, i mean extends Fixnum
doritostains has quit [Quit: WeeChat 1.0.1]
<jhass>
is 1 of class Roman?
<klmlfl>
no, it is of class Fixnum
<jhass>
does that answer your question?
agjacome_ has quit [Quit: leaving]
<klmlfl>
But arent i rewriting the Fixnum class entirely if i do it this way?
TgMts has quit [Quit: No Ping reply in 180 seconds.]
<jhass>
nope
einarj has quit [Ping timeout: 252 seconds]
<jhass>
Ruby has an open class model, that means you can reopen any class or module at any time
<jhass>
all definitions will be treated as one big single definition
vdamewood has quit [Ping timeout: 244 seconds]
TgMts has joined #ruby
<jhass>
meaning class Foo; def bar; end; end; class Foo; def baz; end; end; is equivalent to class Foo; def bar; end; def baz; end; end;
kiyote23 has quit [Remote host closed the connection]
<klmlfl>
oh, cool.
agrinb has quit [Read error: Connection reset by peer]
^wald0 has quit [Quit: ^wald0]
agrinb has joined #ruby
<klmlfl>
RomanTest#test_1: NameError: undefined local variable or method `roman_numerals_values' for 1:Fixnum
^wald0 has joined #ruby
<klmlfl>
wtf
ptrrr has quit [Quit: ptrrr]
rebcabin has joined #ruby
^wald0 has quit [Client Quit]
rebcabin has quit [Client Quit]
charliesome has quit [Quit: zzz]
fedexo_ has joined #ruby
fedexo___ has joined #ruby
<jhass>
well you call that in your method and never define it
bashusr has quit [Read error: Connection reset by peer]
russt has quit [Quit: russt]
<jhass>
you probably meant to make that a constant
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
fedexo__ has quit [Ping timeout: 256 seconds]
fedexo has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
<klmlfl>
jhass: how do i refer to the Fixnum itself in the method that is being called on the Fixnum? for example in 27.to_roman, how do I refer to the 27 in the method definition?
<klmlfl>
I want to do something like if 27 - somenumber >= 0 ....
<klmlfl>
27.to_roman if 27 >=0 then...
<jhass>
self
<klmlfl>
self?
<klmlfl>
ok, I thought so
<jhass>
next time just try it out then ;)
<jhass>
that's how humans learn, try and error
<klmlfl>
I did, but I'm getting test results that I don't understand.
<klmlfl>
and I can keep fidgeting with my code until it works but I wont really know where / how I fixed it.
arescorpio has quit [Read error: Connection reset by peer]
<jhass>
style note: string is a bad name, it describes the datastructure, not what the data is about. literal or roman_literal would be better names here
mary5030 has quit [Remote host closed the connection]
freerobby has joined #ruby
DadoCe has joined #ruby
mary5030 has joined #ruby
Spami has joined #ruby
<klmlfl>
thanks
<klmlfl>
jhass: Can you help me understand my test result?
pdoherty has joined #ruby
JDiPierro has joined #ruby
mary5030 has quit [Ping timeout: 252 seconds]
<jhass>
yes, that's what my first two notes where about
<jhass>
*were
emmesswhy has quit [Quit: This computer has gone to sleep]
volsus has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
Pupeno has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Spami has quit [Ping timeout: 244 seconds]
<jhass>
style note: Ruby is most commonly indented with two spaces, not tabs
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<klmlfl>
i mean the --- expected +++ actual @@ -1 +1 @@ -"I" +{1000=>"M", 500=>"D", 100=>"C", 50=>"L", 10=>"X", 5=>"V", 1=>"I"} part
DadoCe has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 240 seconds]
zorak8 has joined #ruby
bashusr has joined #ruby
Musashi007 has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bonhoeffer has joined #ruby
emmesswhy has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Pupeno has quit [Remote host closed the connection]
<jhass>
yes
jenrzzz has quit [Ping timeout: 245 seconds]
<jhass>
that's saying it expected the return value of the method to be "i" but it was {1000=>"M"....
<jhass>
*"I"
bashusr has joined #ruby
nicolastarzia has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<jhass>
and that's because <insert my first two notes>
legauchiste has joined #ruby
<klmlfl>
i see
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
DadoCe has quit [Ping timeout: 264 seconds]
<havenwood>
klaas: just to put it another way - you're returning `roman_numerals_values` from #to_roman since the #each on line 6 returns the receiver. seems you mean to return `string` instead.
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
<havenwood>
klaas, sorry wrong nick
<havenwood>
klmlfl: ^
bashusr has quit [Read error: Connection reset by peer]
<klmlfl>
yea
freerobby has quit [Quit: Leaving.]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Xeago has quit [Remote host closed the connection]
agent_white has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
bashusr has joined #ruby
<agent_white>
evenin'
<havenwood>
agent_white: g'eve
nicolastarzia has quit [Ping timeout: 264 seconds]
<klmlfl>
havenwood: thanks!
hephaestus_rg has joined #ruby
<klmlfl>
jhass: thanks!
<klmlfl>
now if you'll excuse me I have some logic to fix
robustus|Off has joined #ruby
robustus|Off is now known as robustus
<jhass>
yeah, I hate that exercise :P
Kricir has joined #ruby
rag1ngGerba1 has joined #ruby
<rag1ngGerba1>
hey guys. does object.object_id.to_s take a really long time to process? or would it be relativly short processing time. ex. 10ms vs 500ms
nfk has quit [Quit: yawn]
sinkensabe has joined #ruby
russt has joined #ruby
<klmlfl>
;0
<klmlfl>
;)
russt has quit [Client Quit]
Spami has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
iamninja has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
Tricon has quit [Ping timeout: 256 seconds]
windowlicker has joined #ruby
<rag1ngGerba1>
or possibly does dict.has_key take a long time?
^wald0 has joined #ruby
^wald0 has quit [Client Quit]
crueber has quit [Quit: Leaving.]
jenrzzz has joined #ruby
freerobby has joined #ruby
Tricon has joined #ruby
rag1ngGerba1 has quit [Quit: Leaving]
ponga has joined #ruby
fedexo_ has quit [Ping timeout: 252 seconds]
fedexo___ has quit [Ping timeout: 256 seconds]
govg has quit [Ping timeout: 245 seconds]
legauchiste is now known as lemonstar
bluenemo has joined #ruby
bluenemo has joined #ruby
mrmargolis has joined #ruby
icebourg has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<Ikri>
quick question: I'm doing the rubyonrails getting started guide. just building a basic blog app. in views/articles/index.html.erb the guide says for the edit link, do link_to 'Edit', edit_article_path(article)
<jhass>
Ikri: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ help
<Ikri>
but in views/articles/show.html.erb the link_to 'Edit', edit_article_path(@article) uses the instance variable
<Ikri>
why would those two be different?
jenrzzz has quit [Ping timeout: 245 seconds]
bronson has joined #ruby
jenrzzz has joined #ruby
sondr3 has joined #ruby
^wald0 has joined #ruby
^wald0 has quit [Client Quit]
Musashi007 has quit [Quit: Musashi007]
<jhass>
because of @articles.each do |article| obviously. Maybe you should get a Ruby tut first? :)
bonhoeffer has quit [Quit: bonhoeffer]
lemonstar has quit [Quit: Ex-Chat]
<Ikri>
jhass: ah, the |article| param! okay, I see how that works. thanks :D
bronson has quit [Ping timeout: 264 seconds]
klmlfl has quit [Remote host closed the connection]
<shevy>
hmm
<shevy>
module Foo; class Foo
dorei has quit []
<shevy>
that makes it harder to target it right?
<ponga>
hi shevy
<jhass>
?!
<shevy>
hi ponga
<shevy>
jhass it was said that this should be avoided
<ponga>
what do you think is most desired situation to use proc/lambda in your code
<jhass>
ponga: you mean Proc objects or Kernel#proc and Kernel#lambda ?
<shevy>
ponga dunno. I never found a use case
<ponga>
proc obj
<jhass>
I mostly use them to pass blocks around
Joufflu has quit [Read error: Connection reset by peer]
Spami has quit [Ping timeout: 265 seconds]
DeanH has joined #ruby
DeanH has quit [Client Quit]
haxr has joined #ruby
rag1ngGerba1 has joined #ruby
Joufflu has joined #ruby
bonhoeffer has joined #ruby
Spami has joined #ruby
sevenseacat has joined #ruby
simon` has quit [Ping timeout: 244 seconds]
joecool_ has joined #ruby
joecool_ is now known as Guest82860
Guest82860 is now known as joecodes
Joufflu has quit [Ping timeout: 265 seconds]
kirun has quit [Quit: Client exiting]
bonhoeffer has quit [Ping timeout: 252 seconds]
ponga has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
yourabi has joined #ruby
rag1ngGerba1 has quit [Quit: Leaving]
bonhoeffer has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
ponga has quit [Read error: Connection reset by peer]
Rickmasta has quit [Ping timeout: 265 seconds]
panga has joined #ruby
jarjar_prime has joined #ruby
TgMts has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
ivanskie has joined #ruby
haxr has quit [Ping timeout: 252 seconds]
joecodes has quit [Quit: qwebirc exception: Buffer overflow.]
panga has quit [Read error: No route to host]
ponga has joined #ruby
mary5030 has joined #ruby
ponga has quit [Ping timeout: 264 seconds]
mrmargolis has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 244 seconds]
Spami has quit [Read error: Connection reset by peer]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
adriancb has quit [Remote host closed the connection]
TgMts has joined #ruby
hephaestus_rg has quit [Ping timeout: 264 seconds]
Spami has joined #ruby
Sawbones has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
yourabi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
zorak8 has quit [Ping timeout: 256 seconds]
Spami has quit [Ping timeout: 255 seconds]
Sawbones has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
Pupeno has quit [Ping timeout: 244 seconds]
ponga has quit [Ping timeout: 244 seconds]
ponga has joined #ruby
chrishough has joined #ruby
Musashi007 has joined #ruby
panga has joined #ruby
ponga_ has joined #ruby
russt has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
ponga has quit [Ping timeout: 264 seconds]
panga has quit [Ping timeout: 245 seconds]
hephaestus_rg has joined #ruby
ponga_ has quit [Ping timeout: 255 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
Spami has joined #ruby
^wald0 has joined #ruby
icebourg has quit []
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
JDiPierro has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
ponga has joined #ruby
^wald0 has quit [Client Quit]
Sawbones has joined #ruby
arrubin has quit []
yfeldblum has quit [Ping timeout: 252 seconds]
kiyote23 has quit [Remote host closed the connection]
Heero has joined #ruby
Heero has quit [Changing host]
Heero has joined #ruby
Heero has joined #ruby
bronson has joined #ruby
rpag has joined #ruby
Sawbones has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 245 seconds]
JDiPierro has joined #ruby
nycat- has joined #ruby
<nycat->
Are there any gosu/rubygame like libraries supporting wayland?
JDiPierro has quit [Remote host closed the connection]
TgMts_ has joined #ruby
TgMts has quit [Ping timeout: 244 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
davidhq has joined #ruby
russt has quit [Quit: russt]
AlSquirrel has quit [Quit: This computer has gone to sleep]
jefus__ has joined #ruby
Vile` has quit [Ping timeout: 264 seconds]
jefus_ has quit [Ping timeout: 264 seconds]
jakesyl_insomnia has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
Sawbones has joined #ruby
Spami has quit [Ping timeout: 265 seconds]
jakesyl_insomnia has joined #ruby
Vile` has joined #ruby
ponga has quit [Read error: No route to host]
pdoherty has joined #ruby
ponga has joined #ruby
Sawbones has quit [Remote host closed the connection]
TgMts_ has quit [Quit: No Ping reply in 180 seconds.]
bashusr has quit [Read error: Connection reset by peer]
yfeldblum has quit [Remote host closed the connection]
haxr has joined #ruby
dc_ has joined #ruby
dc_ has quit [Remote host closed the connection]
antgel has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
sovreign has quit [Ping timeout: 252 seconds]
bashusr has joined #ruby
visof has joined #ruby
m8 has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
bashusr has quit [Read error: Connection reset by peer]
dc_ has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
zarubin has joined #ruby
defrang has quit [Quit: defrang]
sinkensabe has joined #ruby
bashusr has joined #ruby
zarubin has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
mostlybadfly has quit [Quit: Connection closed for inactivity]
Cache_Money has quit [Quit: Cache_Money]
Cache_Money has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sovreign has joined #ruby
x1337807x has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
Dolphi has joined #ruby
<Dolphi>
Does anybody here have experience with RPG Maker XP?
<Dolphi>
I need some help with my game.
<wasamasa>
that sounds like something non-ruby on windows
<sevenseacat>
it actually uses ruby for scripting :P but yes, on windows
<Dolphi>
It uses Ruby scripting
<wasamasa>
well, that doesn't mean itself is written in ruby
<wasamasa>
irssi for instance is written in C, but does support perl plugins
<Dolphi>
I don't know where else to ask the question. I would have asked in the #gosu channel (since that is about game development) if it was actually active, but it isn't. I am new to programming and IRC, and I have yet to find a channel for RPG Maker.
<Dolphi>
I'm sorry if my question is in the wrong channel.
C1V0 has quit [Ping timeout: 265 seconds]
carvantes has quit [Quit: WeeChat 0.3.7]
haxr has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
<wasamasa>
anyways, the correct way of obtaining answers is not asking questions to ask questions
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<wasamasa>
ask for something more specific than for "experts"
<wasamasa>
it could very well be all you need is a push to the docs
bashusr has joined #ruby
<wasamasa>
or it's something not game-related at all everyone in here can help you with
decoponio has joined #ruby
<agent_white>
Dolphi: Don't "get a headcount". Just ask your question :)
<Dolphi>
I never asked for "experts", and I planned on just showing the glitch via Skype screen share so that it could be analyzed properly, instead of me trying to explain it in depth over text.
bashusr has quit [Read error: Connection reset by peer]
<sevenseacat>
well if its a ruby question, it has ruby code
<sevenseacat>
so you put the code in a gist, and we help you with it
<agent_white>
FEED US THE CODE
<sevenseacat>
if its not a ruby question, then its off topic for this channel
<wasamasa>
Dolphi: you asked for people experienced with something
teddyp1cker has joined #ruby
<Dolphi>
wasamasa, Having experience does not make you an expert though.
<Dolphi>
I believe we are getting off topic now.
<wasamasa>
Dolphi: true, that's why I put it in scare-quotes :P
<agent_white>
Dolphi: It was a figure of speech! :)
<Dolphi>
Just forget that I asked for help.
<Dolphi>
I'll try to find a more specific channel.
<agent_white>
Might as well ask while you're here!
Sawbones has quit [Ping timeout: 252 seconds]
<sevenseacat>
:(
<Dolphi>
Okay. Well, I believe that my problem would be fixed with a "switch", but I'm not sure.
<Dolphi>
Here is what happens:
<Dolphi>
I have an intro screen much like the old pokemon games. Black background. It asks you to input your name. Once that is done, it asks the user to choose a gender. During this timeframe I set my sprite's transparency to 0 so that only the text appears onscreen.
<sevenseacat>
i sense this is not a ruby question
<Dolphi>
For some reason though, if you select the female gender, the female sprite will pop up onscreen for a frame or two
ehc has quit [Quit: Connection closed for inactivity]
roshanavand has joined #ruby
sinkensabe has joined #ruby
<Dolphi>
No, it is more of a logic question I suppose.
bashusr has joined #ruby
<wasamasa>
do you have code that implements this logic?
<Dolphi>
This is why I said that I would try to find another channel.
apeiros__ has quit [Remote host closed the connection]
<Dolphi>
wasamasa, Let me see what I can do.
apeiros has joined #ruby
teddyp1cker has quit [Ping timeout: 264 seconds]
ptrrr has joined #ruby
<Dolphi>
I don't know how I would go about sharing the code. I don't even know how to view the scripting myself.
<Dolphi>
I just input the logic, and the scripting is behind the scenes. There has to be a way to see it though.
oo_ has quit [Remote host closed the connection]
govg has quit [Quit: leaving]
<agent_white>
Dolphi: Can't you just put all of your source code into a pastie or a gist?
<agent_white>
Otherwise, I dunno if anyone can help here.
Cache_Money has quit [Quit: Cache_Money]
conniemj_ has joined #ruby
oo_ has joined #ruby
<wasamasa>
I doubt anyone could have helped with only that information
<Dolphi>
I have no idea how to find the source code. Just forget it, I will figure it out.
jack_rabbit has quit [Ping timeout: 240 seconds]
<Dolphi>
I'll just Skype one of my friends at a more reasonable time of day. It is 3am here and I'm working hard on it.
AlexRussia has quit [Ping timeout: 252 seconds]
bashusr has quit [Read error: Connection reset by peer]
conniemj_ has quit [Ping timeout: 244 seconds]
agrinb has joined #ruby
<agent_white>
Dolphi: You'll figure it out! :D
<Dolphi>
agent_white, Thank you.
einarj has joined #ruby
sinkensabe has quit [Remote host closed the connection]
yfeldblum has joined #ruby
echevemaster has joined #ruby
bashusr has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
bashusr has quit [Read error: Connection reset by peer]
eguneys has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
p0wn3d_m1 has joined #ruby
Techguy305 has quit [Ping timeout: 245 seconds]
nyaa has joined #ruby
wallerdev has quit [Quit: wallerdev]
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
Dolphi has quit [Quit: Leaving]
bashusr has quit [Read error: Connection reset by peer]
x77686d has quit [Quit: x77686d]
ndrei has joined #ruby
dc_ has quit [Remote host closed the connection]
bashusr has joined #ruby
agjacome has joined #ruby
arup_r has quit [Quit: Leaving.]
amundj has joined #ruby
Sawbones has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Sawbones has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
TgMts has joined #ruby
dionysus69 has joined #ruby
sinkensabe has joined #ruby
josephndenton has joined #ruby
agrinb has joined #ruby
eguneys has joined #ruby
oponder has joined #ruby
Joufflu has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
bashusr has joined #ruby
Aryasam has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 265 seconds]
bashusr has quit [Read error: Connection reset by peer]
bMalum has joined #ruby
spider-mario has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
fantazo has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 264 seconds]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
eka has joined #ruby
bashusr has joined #ruby
devoldmx has quit [Remote host closed the connection]
TgMts has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
V_Ve has joined #ruby
lkba_ has quit [Ping timeout: 245 seconds]
Heskie has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
n008f4g_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
n1lo has quit [Quit: Leaving]
Heskie has quit [Client Quit]
iamninja has quit [Remote host closed the connection]
Heskie has joined #ruby
iamninja has joined #ruby
anitchrist has quit [Ping timeout: 252 seconds]
<shevy>
long live ruby!
devoldmx has joined #ruby
oetjenj has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oetjenj has joined #ruby
bashusr has joined #ruby
devoldmx has quit [Ping timeout: 245 seconds]
hgl has quit [Ping timeout: 264 seconds]
bashusr has quit [Read error: Connection reset by peer]
jubo2 has joined #ruby
<jubo2>
Hiya.. how do I stop and restart all ruby processes
<jubo2>
I mean I just want to take zombified Sidekiq down from a #Dispora pod so I can restart the server
einarj has joined #ruby
<jubo2>
I remember.. there was something with "ruby" and with "killall"
hgl has joined #ruby
<jubo2>
pls help the non-texy nub
duncannz has quit [Remote host closed the connection]
_5kg has quit [Ping timeout: 240 seconds]
eguneys has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
oo_ has quit [Remote host closed the connection]
<jubo2>
I feel tempted to 'ps ax | grep "ruby"' and 'kill <pid_goes_here>'
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 240 seconds]
<jubo2>
but there has got to be a more civilized way shut down the ruby program that's gone stuck because C☭mmiemist Debian GNU/Linux doesn't give the new curl version the #Diaspora* need in order to not get occasionally stuck
Heskie_ has joined #ruby
Heskie has quit [Ping timeout: 245 seconds]
Heskie_ is now known as Heskie
dionysus69 has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0/20141127111021]]
bashusr has joined #ruby
davedev24_ has quit [Remote host closed the connection]
dimaursu16 has joined #ruby
davedev24_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
iamninja has quit [Quit: ZZZzzz…]
teddyp1cker has joined #ruby
visof has left #ruby ["Leaving"]
<agent_white>
jubo2: /shrug -- Be generous and use `kill -15` ?
<sevenseacat>
lol
kapil__ has joined #ruby
<jubo2>
agent_white: but a plain kill is same as 15
<jubo2>
Nine is the more brutal option
agrinb has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jubo2>
I did a 'sudo killall ruby' and that did the job
<jubo2>
Dänks once again for helping out dimaursu16
<agent_white>
Oh good deal!
<jubo2>
Only 15B€
keen__________30 has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
<jubo2>
What is the situation with glueing ruby to C++ ?
<pontiki>
jubo2: look in the app root's tmp/pids directory
<pontiki>
see if there are saved pids (maybe not)
<jubo2>
I mean this http://MaidSafe.net ( official site ) - http://MaidSafe.org ( general chatter ) is gonna revolutionize how computers store, process and transmit information
<jubo2>
for the good of the human kind
<jubo2>
for once there is a serious effort to bring NAS to all
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bashusr has joined #ruby
jheg has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
<pontiki>
now you're just spamming
keen__________29 has quit [Ping timeout: 264 seconds]
beneggett has quit [Ping timeout: 255 seconds]
<jubo2>
pontiki: yeah but I spam with brown sauce and potatoes parisienne
bashusr has quit [Read error: Connection reset by peer]
keen__________31 has joined #ruby
amundj has joined #ruby
antgel has joined #ruby
bronson has joined #ruby
<pontiki>
better with pineapple on pizza
<jubo2>
I've no financial interest in the MaidSafe netoworku
<pontiki>
so?
TgMts_ has joined #ruby
keen__________30 has quit [Ping timeout: 264 seconds]
<sevenseacat>
pineapple on pizza is the bomb
Xeago has joined #ruby
<jubo2>
I like ananas with pepperoni or salami sausage
<jubo2>
You guys are invited to join ##eating where it's quite empty but no attitude problems or ##cooking with endless supply of attitude problems
pico-pete has quit [Ping timeout: 264 seconds]
TgMts has quit [Ping timeout: 252 seconds]
pico-pete has joined #ruby
<shevy>
yes!
<shevy>
#pizza!
<shevy>
#cheese!!
<shevy>
and #mice for sevenseacat
<sevenseacat>
lol
bashusr has joined #ruby
<shevy>
jubo2 btw hanmac here has a lot of experience bridging ruby and C++, he maintains the rwx bindings
TgMts_ has quit [Read error: Connection reset by peer]
<jubo2>
shevy: mmm.. nice
bronson has quit [Ping timeout: 245 seconds]
<jubo2>
shevy: I've even gotten a book on C++ from the uni library
bashusr has quit [Read error: Connection reset by peer]
<shevy>
I read one about 10 years ago... I even found the basic C++ nicer than the C example
<shevy>
I loved cout << "bla" << endl; compared to printf();
<shevy>
but I was ambitious when I was young. nowadays I am just lazy
TgMts has joined #ruby
az7ar is now known as az7ar_away
<jubo2>
I do better spaghetti in the kitchen then atk
<jubo2>
shevy: but I gonna set up 2 or maybe even 3 maidsafe nodes to farm for commons and farm for self
<shevy>
I fail at cooking
<shevy>
one needs patience for this kind of thing :(
pdoherty has joined #ruby
<jubo2>
Sentences that start with "My mum's closet..." that don't end in "... has Gigabit Ethernet hooked to the optic network." are usually quite crappy
zarubin has joined #ruby
<jubo2>
I gonna start mah farming with only 1.3TB rig that still has 5 free USB ports
<jubo2>
also gonna donate a node in Netherland
<jubo2>
but that's all offtopic
bashusr has joined #ruby
<jubo2>
is there #ruby-offtopic ?
az7ar_away is now known as az7ar
<jubo2>
I'm on #debian-offtopic , #kubuntu-offtopic and #ubuntu-offtopic
bashusr has quit [Read error: Connection reset by peer]
alexi5 has joined #ruby
sinkensabe has joined #ruby
Jackneill has joined #ruby
jubo2 has quit [Quit: Konversation terminated!]
konsolebox has joined #ruby
bashusr has joined #ruby
lessless has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
aswen has quit [Ping timeout: 245 seconds]
TgMts has joined #ruby
az7ar_away is now known as az7ar
bashusr has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
aswen has joined #ruby
MasterPiece has joined #ruby
bashusr has joined #ruby
rebcabin has joined #ruby
lukaszk1 has joined #ruby
Darryl__ has quit [Quit: Connection closed for inactivity]
sinkensabe has quit [Ping timeout: 244 seconds]
V_Ve_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
nyaa has joined #ruby
sinkensabe has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
V_Ve has quit [Ping timeout: 265 seconds]
az7ar is now known as az7ar_away
gr33n7007h has joined #ruby
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
einarj has joined #ruby
lukaszk1 has quit [Quit: lukaszk1]
greenbagels has quit [Read error: Connection reset by peer]
zarubin has joined #ruby
lukaszk1 has joined #ruby
devoldmx has joined #ruby
einarj has quit [Ping timeout: 245 seconds]
bashusr has joined #ruby
reinaldob has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 264 seconds]
sondr3 has joined #ruby
reinaldob has quit [Remote host closed the connection]
bonhoeffer has joined #ruby
bashusr has joined #ruby
timonv_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
gccostabr has quit [Quit: ZZZzzz…]
oo_ has joined #ruby
yfeldblum has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
agrinb has joined #ruby
MasterPiece has quit [Ping timeout: 264 seconds]
last_staff has joined #ruby
jheg has quit [Quit: jheg]
Alina-malina has joined #ruby
Alina-malina has joined #ruby
bashusr has joined #ruby
TrOuBleStArTeR has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
AlSquirrel has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
TrOuBleStArTeR has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 244 seconds]
TrOuBleStArTeR has joined #ruby
DadoCe has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
bonhoeffer has quit [Quit: bonhoeffer]
teddyp1cker has joined #ruby
joast has quit [Read error: Connection reset by peer]
sinkensa_ has joined #ruby
bashusr has joined #ruby
byprdct has joined #ruby
luizbafilho has joined #ruby
sinkensabe has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
timonv_ has joined #ruby
nyaa has quit [Ping timeout: 252 seconds]
last_staff has quit [Quit: last_staff]
teddyp1cker has quit [Ping timeout: 245 seconds]
MasterPiece has joined #ruby
MasterPiece has quit [Remote host closed the connection]
MasterPiece has joined #ruby
Rollabunna has quit [Remote host closed the connection]
Soda has joined #ruby
Rollabunna has joined #ruby
timonv_ has quit [Remote host closed the connection]
bMalum has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
sinkensa_ has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
zarubin has quit [Remote host closed the connection]
ndrei has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
Xeago has joined #ruby
ghostlin_ has joined #ruby
haxr has joined #ruby
bashusr has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
haxr has quit [Ping timeout: 255 seconds]
TgMts has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
sinkensa_ has joined #ruby
jubo2 has joined #ruby
pdoherty has joined #ruby
russt has joined #ruby
sinkensabe has quit [Ping timeout: 252 seconds]
timonv_ has joined #ruby
alexi5 has left #ruby [#ruby]
pdoherty has quit [Ping timeout: 245 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
kiyote23 has joined #ruby
dangerousdave has joined #ruby
lifenoodles has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
Sawbones has joined #ruby
djbender has quit [Ping timeout: 255 seconds]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
lifenoodles has joined #ruby
callenb___ has quit [Ping timeout: 245 seconds]
rfv has quit [Ping timeout: 245 seconds]
iamninja has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
n1ftyn8 has quit [Read error: Connection reset by peer]
alol has quit [Read error: Connection reset by peer]
sinthetix_bsd has joined #ruby
arya_ching has quit []
kiyote23 has quit [Ping timeout: 265 seconds]
alol has joined #ruby
n1ftyn8 has joined #ruby
callenb___ has joined #ruby
rfv has joined #ruby
govg has quit [Ping timeout: 265 seconds]
Sawbones has quit [Ping timeout: 264 seconds]
Hobogrammer has quit [Ping timeout: 255 seconds]
bashusr has joined #ruby
Mattais has joined #ruby
kl has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<Mattais>
is Ruby worth learning on a linux box?
<Mattais>
or would c or python be better?
m8 has joined #ruby
<crome>
for what?
Freelusion has joined #ruby
<crome>
good luck writing a quick webapp in C
<Mattais>
development
<crome>
development of what?
<Mattais>
software
<Mattais>
:)
<crome>
are you trolling?
<Mattais>
no i am not
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Mattais>
it might sound like a stupid question, but i am seriously wondering
<Mattais>
i've only dabbled in c and python
agrinb has joined #ruby
<eljojo>
Mattais: ruby is as good as python
<Mattais>
is it as powerful as c?
bMalum has quit [Quit: bMalum]
<crome>
you have very weird questions
<jhass>
what makes C powerful?
bashusr has joined #ruby
eljojo has quit [Remote host closed the connection]
<Mattais>
im sorry, guess i came to the wrong channel then
<crome>
Mattais: I would be happy to help bu you don't seem to have any specific questions in mind
bashusr has quit [Read error: Connection reset by peer]
<crome>
I don't know what you are looking for in your next programming language
<crome>
and as far as I can tell, you have no idea either
nyaa has joined #ruby
<Mattais>
crome: thank you for understanding
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
<jhass>
so, what feature of C do you consider "powerful"?
giuseppesolinas has quit [Client Quit]
<ponga>
fast?
<Mattais>
jhass: none
<Mattais>
its really slow
<Mattais>
worst language out, damn c
<ponga>
ruby is good as python now sir
<crome>
that said, ruby is a fun language. when I started out with some 10 years ago I didn't do it because I really wanted to use it for anything, I just liked the cool metaprogramming features and it's block syntax
<jhass>
yet you ask "is it as powerful as C?"?!
JDiPierro has joined #ruby
sinkensa_ has quit [Remote host closed the connection]
<crome>
with it*
agrinb has quit [Ping timeout: 265 seconds]
<crome>
its*
<crome>
-typos
<Mattais>
jhass: if c is compiled well enough it can be powerful, i dont wanna argue about efficiencies of languages
nfk has joined #ruby
<Mattais>
i am a noob to ruby, but i hear good things
davidhq has joined #ruby
yfeldblum has joined #ruby
oponder has quit []
<Mattais>
obviously asking if ruby is worth learning i am a noob, jhass has a bit of smarthass wit
<jhass>
"compiled well enough". How do I compile C not well enough?
kirun has joined #ruby
<Mattais>
dude, stop being a dick, please
<jhass>
just tried to understand your question
<jhass>
can't say whether Ruby is as "powerful" as C if you can't specify what aspect of "C" is powerful
lukaszk1 has quit [Ping timeout: 256 seconds]
<crome>
Mattais: nowadays ruby is a pretty fashionable language for webapps, apis, etc. if you want to get into that, you might as well stick to python if you know it already because it also has a million frameworks and libraries.
<crome>
if you want to develop desktop apps, don't bother about ruby at all
<Mattais>
what is ruby good for?
<Mattais>
development wise
bashusr has joined #ruby
arup_r has joined #ruby
<crome>
if you want to develop the next quake, don't waste time with ruby either
bashusr has quit [Read error: Connection reset by peer]
davedev24_ has quit [Remote host closed the connection]
<Xeago>
Mattais: ruby is good for not wasting developer time.
<Xeago>
Mattais: try it for yourself.
<Mattais>
what are some pros and cons of ruby?
cazrin has joined #ruby
<Mattais>
Xeago: i like how that sounds
kirun_ has joined #ruby
krz has joined #ruby
rebcabin has quit [Quit: Leaving.]
<jhass>
Mattais: programming languages are tools, much like the stuff you get in hardware stores. You can use any heavy object to hammer in a nail, but a hammer still works best. As a good developer, you have a rich toolbox. Every new tool you learn to use improves your general skills. There's no waste in learning how to use a new tool
<Mattais>
jhass: thats very insightful :) thank you
<jhass>
also you may enjoy working with one tool more than with others, but you won't find the tool you like the most without trying many out
<Cat_1>
I find that every programming language i learn has different conventions and things that I like, that shape how I program in other langauges.
rebcabin has joined #ruby
bashusr has joined #ruby
lxsameer has quit [Quit: Leaving]
danda has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<danda>
dvd
danda has left #ruby [#ruby]
zarubin has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
Freelusion has quit [Quit: Freelusion]
kirun_ has quit [Quit: Client exiting]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
einarj has joined #ruby
MasterPiece has quit [Ping timeout: 264 seconds]
rippa has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
MasterPiece has joined #ruby
devoldmx has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
cazrin has quit [Remote host closed the connection]
MasterPiece has quit [Client Quit]
devoldmx has quit [Ping timeout: 244 seconds]
cazrin has joined #ruby
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
apeiros has quit [Read error: Connection reset by peer]
govg has joined #ruby
apeiros has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
giuseppesolinas_ has joined #ruby
cazrin has quit []
bashusr has joined #ruby
Guest20 has joined #ruby
charliesome has quit [Quit: zzz]
agrinb has joined #ruby
wolf4ood has joined #ruby
psy_ has quit [Read error: Connection reset by peer]
psy_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
bashusr has quit [Read error: Connection reset by peer]
iamninja has quit [Quit: ZZZzzz…]
bronson has joined #ruby
npgm has quit [Quit: Connection closed for inactivity]
AlexRussia has quit [Ping timeout: 255 seconds]
nickjj has quit [Ping timeout: 264 seconds]
MuffinPimp has quit [Ping timeout: 264 seconds]
nickjj has joined #ruby
bashusr has joined #ruby
rooster has joined #ruby
tier has joined #ruby
ltd_ has joined #ruby
ltd has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
<rooster>
Pulling my hair out a bit - hope someone can help. Running rails -v I get a complain about bundler being the wrong version (1.3.5) but running bundler -v gives 1.7.11
MuffinPimp has joined #ruby
JDiPierro has quit [Remote host closed the connection]
lessless has joined #ruby
<rooster>
gem install bundler is quite happy - and installs 1.7.11, but then I still get the error "Bundler could not find compatible versions for gem "bundler" - Current Bundler version (1.3.5) when running rails -v
<rooster>
gem list bundler => bundler (1.7.11)
<waxjar>
can you copy and paste the output of which bundle and gem env?
blueOxigen has joined #ruby
mist_ has joined #ruby
marahin_ has joined #ruby
Axy has joined #ruby
kasperti_ has quit []
bashusr has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Read error: Connection reset by peer]
haxr has joined #ruby
haxr has quit [Max SendQ exceeded]
bashusr has quit [Read error: Connection reset by peer]
DadoCe has quit [Remote host closed the connection]
zarubin has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davedev2_ has joined #ruby
<havenwood>
YamakasY: depends what you're trying to do. make a gist showing various example possible inputs and the expected outputs and i'm sure someone here can help ya.
adriancb has quit [Ping timeout: 244 seconds]
davedev24_ has quit [Ping timeout: 265 seconds]
<YamakasY>
headius, the input it domain.tld and I need (domain)\.tld
adriancb has joined #ruby
freerobby has quit [Quit: Leaving.]
<havenwood>
YamakasY: unfortunately, i'm not headius
<YamakasY>
Iḿ testing your example
zarubin has joined #ruby
speakingcode is now known as SaulOfTarsus
<pontiki>
weird letters happening
drkyro has joined #ruby
<havenwood>
YamakasY: you're having acute accent problems
<shime>
wasamasa: but slop and trollop are closest to what I want - thor is insane
sinkensa_ has quit [Remote host closed the connection]
Photism_ has joined #ruby
Photism has quit [Read error: Connection reset by peer]
doodlehaus has quit [Remote host closed the connection]
zarubin has quit [Read error: Connection reset by peer]
bonhoeffer has quit [Quit: bonhoeffer]
Sawbones_ has quit [Ping timeout: 240 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
zarubin has joined #ruby
kiyote23 has joined #ruby
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
<atmosx_>
tectonic: so the syntax will be: td.class_name:nth-of-type(n) where n = 1, 2, 3.. etc.
* atmosx_
tries
dllama1 has joined #ruby
thumpba has quit [Remote host closed the connection]
<tectonic>
atmosx_: looks right
contradictioned has quit [Remote host closed the connection]
JBreit has joined #ruby
dllama1 is now known as dllama
pengin has quit [Ping timeout: 265 seconds]
emmesswhy has joined #ruby
teddyp1c_ has joined #ruby
dangerousdave has joined #ruby
<wasamasa>
shime: I don't get what you mean in the first place
mist_ is now known as mist
^wald0 has quit [Quit: ^wald0]
tier has joined #ruby
_5kg has joined #ruby
<tectonic>
atmosx_: you may find selectorgadget.com useful for this. I wrote it ;)
<atmosx_>
tectonic: seriously?
teddyp1cker has quit [Ping timeout: 265 seconds]
<tectonic>
a while ago yea
<atmosx_>
tectonic: thanks awesome
<tectonic>
np
<atmosx_>
tectonic: I saw it on a screencast about using nokogiri. Helped write some code a while back :-) that's cool
<dllama>
hey guys, really hope someone can lend a hand with mechanize. trying to fill out a form and click an image to submit (.submit doesn't work on that page) and am getting back an error. https://gist.github.com/mvoloz/2ce33461c11a5832c91f
nobitanobi has joined #ruby
<tectonic>
nice atmosx_!
<tectonic>
dllama: is the image inside of a link?
diegoviola has quit [Ping timeout: 245 seconds]
<tectonic>
or a button?
<dllama>
tectonic: its an image that runs some js on-click
vyorkin has joined #ruby
<pontiki>
probably want the parent, not the image itself
nobitanobi has quit [Read error: Connection reset by peer]
<pontiki>
oops
nobitanobi has joined #ruby
<pontiki>
mechanize doesn't do JS
tier has quit [Remote host closed the connection]
arrubin has quit []
reprazent has joined #ruby
DadoCe has joined #ruby
LudicrousMango has joined #ruby
<dllama>
hmm, well that sucks lol
<dllama>
guess i need to find an alternative
blueOxigen has quit [Ping timeout: 255 seconds]
<tectonic>
dllama: maybe phantomjs
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Trep has joined #ruby
* pontiki
suggests watirwebdriver with phantomjs
<atmosx_>
tectonic: you totally saved the day for me.
<atmosx_>
tectonic: I own you a pint.
<tectonic>
:)
<atmosx_>
err s/own/owe
<pontiki>
***\o/*** tectonic !!
atmosx_ is now known as atmosx
<atmosx>
pontiki yeah for the win!!!
<tectonic>
I'm @tectonic on Twitter. Hit me up if you're in SF ;)
apurcell has joined #ruby
* atmosx
can eat a pizza now
<dllama>
pontiki: i'm looking into both, thanks!
kiyote23 has quit [Remote host closed the connection]
contradictioned has joined #ruby
nobitanobi has quit [Ping timeout: 252 seconds]
<dllama>
can both be triggered via ruby code or will i have to do this in other ways?
tier has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx>
Now I can fetch all the data, I just need to write the code... why is it that when you figure you something, first you're happy then you're incredibly bored and you wish someone else would write the rest of the code for you :-(
^wald0 has joined #ruby
MrBigNum has quit [Remote host closed the connection]
contradictioned has quit [Remote host closed the connection]
contradictioned has joined #ruby
<pontiki>
dllama: watirwebdriver is ruby code; phantomjs is called by watirwebdriver
<dllama>
thank you kindly!
<dllama>
will give this a go
MrBigNum has joined #ruby
emmesswhy has quit [Quit: Leaving]
<pontiki>
another way to go is using selenium with poltergeist and phantomjs
Pupeno has joined #ruby
Pupeno has joined #ruby
<tectonic>
atmosx: haha
<tectonic>
atmosx: what are you making?
apurcell has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
<bradland>
dllama: the difference between mechanize and the other libraries being mentioned is that mechanize is an HTTP automation library, and watir, selenium, capybara, etc are browser automation libraries.
ivanskie has joined #ruby
<dllama>
understood
yfeldblum has quit [Ping timeout: 264 seconds]
<dllama>
yea, apparently the city of new york doesn't like thigns being automated
<bradland>
personally, i would recommend watir
<dllama>
i'm testing it now
<bradland>
it’s nice and high level, but allows you to drop down in to the driver if you need to
<dllama>
is it a viable solution to use on a larger scale?
topolinux has joined #ruby
<atmosx>
tectonic: a prototype for scrapping the earnings table from a betting website.
pengin has joined #ruby
<tectonic>
interesting
<dllama>
i remember testing somethign a few years back, but it actually opened browsers on my laptop and was a huge resource hog
antgel has joined #ruby
<atmosx>
tectonic: I was discussing with a friend and he has an idea about a weekend project, I'm just helping him with the code. If the whole seems to work, I might take it more seriously we'll see :-)
<bradland>
dllama: yeah, these new libraries are a bit better
<bradland>
instead of driving a web browser, you can use phantomjs
<bradland>
which is headless
spider-mario has quit [Ping timeout: 264 seconds]
delianides has joined #ruby
<bradland>
resource wise, they’re still a lot heavier than something like Mechanize
MrBigNum has quit [Ping timeout: 264 seconds]
<tectonic>
atmosx: a lot of cool things start as weekend projects
<bradland>
dllama: be sure to note which “web driver” you’re using with any of these. i haven’t worked with them for some time, but many used to use Chrome as the default.
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bradland>
if you want to use phantomjs (headless; doesn’t launch a browser), you have to install it separately, then specify to use phantomjs as the “web driver”
<dllama>
bradland: how would this work server side though on an ubuntu machine?
<dllama>
ahh ok, thats what i'm going to do
<dllama>
this app is actually a weekend project for me :)
<bradland>
dllama: yeah, you’d have some additional deps. namely phantomjs, which requires ghostscript, and some fonts and such.
spider-mario has joined #ruby
<bradland>
it will run on a server, but you have to fight through all the deps
gccostabr has quit [Quit: See you later!]
<atmosx>
tectonic: reading HN makes you think everything is possible but I try not to dream on too much. Time will tell I guess.
<dllama>
all good, everything about this project is new tech to me, so i guess it all falls inline with it :D
<bradland>
if you need javascript though, that’s pretty much your best option
<dllama>
first time using ionic, first time using foundationdb, lol
<bradland>
sounds like some fun stuff
bMalum has joined #ruby
<dllama>
tons and tons of tutorials :)
<dllama>
but i can say ionic is pretty damn cool
<tectonic>
atmosx: are you on twitter?
<dllama>
though it'd be easier if i had better understanding of ios
<atmosx>
tectonic: sure
tier has quit [Remote host closed the connection]
<dllama>
obj-c*
<atmosx>
tectonic: @patmatzidis .. you?
max96at is now known as max96at|off
gsd has joined #ruby
Pupeno has quit [Read error: Connection reset by peer]
<tectonic>
atmosx: @tectonic
timonv_ has joined #ruby
Pupeno has joined #ruby
mbug has joined #ruby
<atmosx>
tectonic: nice :-)
x1337807x has joined #ruby
mbug has quit [Max SendQ exceeded]
x1337807x has quit [Max SendQ exceeded]
<atmosx>
hm
mbug has joined #ruby
pengin has quit [Remote host closed the connection]
<atmosx>
you're the author of huginn
<tectonic>
yea
<atmosx>
that's interesting, I have another side-project which I was planning to link to monitorbooks.com at some point (when their API is ready).
timonv_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
teddyp1c_ has quit [Remote host closed the connection]
<atmosx>
But now that I see huginn, I think it's a better fit.
pengin has joined #ruby
<tectonic>
what is monitorbooks?
sinkensabe has quit [Remote host closed the connection]
<dllama>
bradland: would i need headless gem for this?
<atmosx>
tectonic: https://monitorbook.com price monitoring app. Works with something like gadget-selector you've made.
<tectonic>
oh cool
<bradland>
dllama: not sure what you mean. i’m not familiar with the headless gem.
<tectonic>
yea, i saw that recently atmosx
<tectonic>
looks useful
<atmosx>
tectonic: I'm not sure it's even legal to scrap Amazon... But I've used it works, not for every website but for most of them.
<tectonic>
definitely could do it for free with Huginn though :)
<dllama>
things like that make it hard not to love ruby :D
<dllama>
still hating NYC.gov though, but it is what it is :)
<dllama>
maybe if this app will gain some traction, i'll find a way to get real api access
apurcell has quit [Ping timeout: 265 seconds]
<bradland>
yeah, you’re going to want to do whatever task this watir code does outside of the request-response cycle
<bradland>
like in a cron task that updates your data periodically
<bradland>
because it’s going to be slow
DadoCe has quit [Remote host closed the connection]
<dllama>
yea i can move it to a delayed job or something
agrinb has quit [Ping timeout: 265 seconds]
<bradland>
not because ruby is slow, but because every time it runs, it basically boots up a headless web browser and makes a pile of requests
<bradland>
it’s like web browser inception :)
<bradland>
good call
<shevy>
at work I often delay my job
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
russt has joined #ruby
oo_ has joined #ruby
<tectonic>
"I wouldn't say I've been missing it, Bob."
DonOtreply has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Ping timeout: 244 seconds]
<dllama>
i built a small scraper app about a year ago or so, which was using mechanize i believe, also wasn't the fastest, but it wasn't too bad to spool up 8-9 VPS to download approximately 500k arbitration documents that required form fills. left them running over several nights and it finished
Channel6 has joined #ruby
<dllama>
acutally the longest part of that entire process wasn't the form fill/download, it was parsing the pdf's
x1337807x has joined #ruby
<agent_white>
Evenin' folks
<tectonic>
hello
kiyote23 has joined #ruby
<bradland>
parsing PDFs. there’s a job i’d delay.
<dllama>
entire process took maybe ~20 sec/document, which was form fill -> download -> parse -> save to db. ran it all thorugh sidekiq
robert__ has quit [Remote host closed the connection]
towski_ has joined #ruby
Pupeno_ has joined #ruby
<bradland>
if you need to parse lots of date information, and you’re on MRI, you have a couple of choices. if you optimize, you use Time#strptime and you get a 2x speedup over Time#parse
<bradland>
if you’re on jRuby, you can use JODA and get a 13x speedup
<dllama>
i have yet to build an app where I needed some large performance boosts
<bradland>
yeah, most of us don’t
<bradland>
that’s the dirty little secret of the long tail of development
<bradland>
i’m impatient though :)
Heskie has quit []
<bradland>
i put some conditionals in to some log parser code that uses JODA when running on jRuby, and it cut my file processing time by 30%
<tectonic>
premature optimization and all that
Musashi007 has quit [Read error: Connection reset by peer]
Pupeno has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
robert__ has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
<dllama>
still compiling phantomjs
apurcell has joined #ruby
<dllama>
a warning popped up saying its going to take a while when i first ran build.sh, it wasn't kidding
pdoherty has joined #ruby
voidwalkr has joined #ruby
towski_ has quit [Remote host closed the connection]
DonOtreply has joined #ruby
<bradland>
gentoo is one of those “everything builds from source” distros, isn’t it?
malcolmva has joined #ruby
<dllama>
i wish i can answer that with any authority lol
<dllama>
i'm the furthest thing from a server person
<crome>
bradland: mostt things, yes
<crome>
-t
vyorkin has quit [Quit: WeeChat 1.0.1]
<bradland>
not hurling stones or anything, heh. homebrew favors building from source, and it’s all i’ve got over here in OS X land.
<dllama>
only reason my vm is gentoo is because a buddy who was mentoring me with ruby suggested i use it rather than ubuntu and learn it.
<bradland>
i try to standardize on a single distro
pdoherty has quit [Ping timeout: 240 seconds]
<pontiki>
we all have our favourites, and try to force everyone to use them like us
<bradland>
the problem is that what works on your local gentoo VM may not translate directly to your servers
<pontiki>
no, j/k
<Nilium>
SO HOW ABOUT EMACS
apurcell has quit [Ping timeout: 252 seconds]
<iamjarvo>
the parse.c file gets created everytime I run `$ ruby -e puts 'hello'` or when i install ruby?
<pontiki>
EMACS!!! EMACS!!!
<crome>
Nilium: hahaha, good one, mate
<Nilium>
I saw "favorites" and I couldn't resist
<bradland>
so, while i don’t particularly care if someone uses ubuntu/gentoo/centos/coreos/whatev
<bradland>
i’d try to be consistent
<Nilium>
Also vaguely topical since I decided to nuke and rebuild my vim config recently
<Nilium>
So now it's way less horrible
jordsmi has quit [Quit: Connection closed for inactivity]
elaptics is now known as elaptics`away
<bradland>
iamjarvo: how can you run `ruby -e puts 'hello’` if you can’t install ruby?
<bradland>
iamjarvo: system ruby?
<Nilium>
Most likely
<bradland>
smells like environment
<bradland>
what method are you using to install ruby?
yfeldblum has joined #ruby
<iamjarvo>
i am just wondering when does ruby generate its parse.c file. text im reading says during build process
<dllama>
i'm not knowledgeable enough when it comes to *nix, i do have a digital ocean build that i'm very happy with, and i just always use that image when it comes to bringing up new servers
robert__ has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
<dllama>
and it happens to be ubuntu, so i'm following the "if it aint broke" concept here :)
<bradland>
iamjarvo: ruby shouldn’t generate a parse.c file when you invoke the interpreter. something is broken.
<iamjarvo>
bradland thanks
aswen has quit [Ping timeout: 245 seconds]
Heskie_ has joined #ruby
<bradland>
dllama: yeah, no worries. just general tips.
<bradland>
i try to stay in the mainstream so it’s easiest to get help
<bradland>
consistency means i only have to solve problems once
<dllama>
i guess you can say that i'm fairly standardized with that, since with the exception of like 3 servers, all my other ones use that image :)
shime has quit [Ping timeout: 264 seconds]
<bradland>
now all you need to do is standardize your local VM and you’ll be all set :)
<dllama>
i thought about it, and wanted to
<Nilium>
dllama: I do the same thing re: digital ocean
<dllama>
but it just seems like so much work to get it changed over now
<dllama>
not really worth it
<Nilium>
This is why I tell people at work they should never, ever ask me to deploy a server
diegoviola has joined #ruby
<dllama>
haha
Jackneill has quit [Remote host closed the connection]
einarj has joined #ruby
sondr3 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nicolastarzia has quit [Remote host closed the connection]
<pontiki>
probably similar reasons why i'm banned from painting walls and such in the house
<Nilium>
I was banned from that a very long time ago when my parents realized I liked painting
<Nilium>
Since then, everyone has been very careful to make sure I don't know there's paint anywhere
<Nilium>
And then someone asked me to paint the walls to cover up some scuff marks at my last job..
<Nilium>
Such a mistake.
tier has joined #ruby
maletor_ has joined #ruby
bMalum has joined #ruby
ptrrr has quit [Quit: ptrrr]
teddyp1c_ has quit [Remote host closed the connection]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar>
Linux does not have superiority, no
<mozzarella>
what's the hype about eyefinity and all that if it doesn't even come close to OS X
diegovio1 has quit [Quit: WeeChat 1.0.1]
checkit has joined #ruby
Tricon has quit [Ping timeout: 244 seconds]
<crome>
just wait until you see windows 8 on a high dpi screen
<crome>
it's amazing
emmesswhy has quit [Quit: This computer has gone to sleep]
<pipework>
The only way I'll see it is against my will./
emmesswhy has joined #ruby
false_economy has joined #ruby
codecop has quit [Quit: Išeinu]
Hobogrammer has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zarubin has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
davasaurous has quit [Remote host closed the connection]
davasaurous has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
Tricon has joined #ruby
m8 has quit [Quit: Sto andando via]
klmlfl has quit [Remote host closed the connection]
apurcell has joined #ruby
russt has quit [Quit: russt]
<Nilium>
Windows 8 is pretty good looking already, just don't mix screen DPIs
<Nilium>
i.e., if you have a 4k monitor and scale it up, do not under any circumstances connect a non-4k monitor.
JDiPierro has quit [Remote host closed the connection]
<Nilium>
Windows does not know how to handle the existence of multiple DPIs and although it will attempt to handle it because they've slowly been adding that to it, it will look bad, things will render poorly, and you will be sorry.
<tectonic>
atmosx: I posted SelectorGadget to HN just now since I don't know if people know about it these days.
<Nilium>
As a result, OS X is still the only OS I'm aware of that actually handles DPI changes gracefully.
<Nilium>
I'd think Android could too.
mbug has quit [Ping timeout: 244 seconds]
jordsmi has joined #ruby
olivier_bK has quit [Ping timeout: 265 seconds]
<Nilium>
Anyhow, font in the picture above was PragmataPro, by the way.
<Nilium>
You should buy it. It's awesome.
cleopatra has joined #ruby
dfinninger has joined #ruby
kasperti_ has quit []
apurcell has quit [Ping timeout: 265 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
russt has joined #ruby
Kricir has quit [Remote host closed the connection]
luizbafilho has joined #ruby
sevvie has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby
icebourg has joined #ruby
hashpuppy has joined #ruby
TheNet has joined #ruby
Areessell has joined #ruby
sevvie has joined #ruby
einarj has joined #ruby
parduse has quit []
pdoherty has joined #ruby
thumpba has joined #ruby
cbetta__ is now known as cbetta
mengu has quit []
cbetta has quit [Changing host]
cbetta has joined #ruby
cbetta has quit [Changing host]
cbetta has joined #ruby
supercom32 has quit [Quit: Leaving]
parduse has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
pdoherty has quit [Ping timeout: 244 seconds]
spider-mario has quit [Read error: Connection reset by peer]
robert__ has quit []
checkit_ has joined #ruby
checkit has quit [Read error: Connection reset by peer]
_honning_ has quit [Ping timeout: 245 seconds]
jenrzzz has joined #ruby
DadoCe has joined #ruby
StevenNunez has quit [Remote host closed the connection]
npgm has quit [Quit: Connection closed for inactivity]
sevvie has quit [Quit: leaving]
lemur has joined #ruby
teddyp1cker has joined #ruby
JDiPierro has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
DadoCe has quit [Ping timeout: 245 seconds]
Sawbones_ has joined #ruby
teddyp1cker has quit [Ping timeout: 245 seconds]
pen has joined #ruby
nicolastarzia has quit [Remote host closed the connection]