<digitalcake>
just not sure it there also a standar way most people do that so it does not make it too difficult for others to pick up and run with it.
rupee has quit [Quit: Leaving]
<joshu>
that's something i'm using in a ruby script tea simple
<joshu>
*very
emergion has quit [Ping timeout: 260 seconds]
hector__ has joined #ruby
Mattx has quit [Read error: Connection reset by peer]
krombr has quit [Remote host closed the connection]
mocfive has quit [Remote host closed the connection]
Mattx has joined #ruby
<joshu>
just add require 'dotenv', add Dotenv.load to your code and then create .env file with one entry per line like SECRET_KEY=1234
willrax has joined #ruby
<joshu>
then when you need to access it in your code do ENV[''SECRET_KEY']
<zphobic>
joshu: Well that's damned handy!
c0rn has quit [Quit: Computer has gone to sleep.]
<joshu>
zphobic yeah
<joshu>
makes it private cause you can say commit your code and gitignore .env
ziprar has quit [Ping timeout: 252 seconds]
<joshu>
i'm off night
saarinen has quit [Quit: saarinen]
marr has quit [Ping timeout: 252 seconds]
froy has quit [Quit: kablam!]
jonathanwallace has quit [Ping timeout: 252 seconds]
<otters>
oh, that's cool
Inside has joined #ruby
Inside has joined #ruby
Inside has quit [Changing host]
tomzx_mac has quit [Read error: Operation timed out]
happycrappy has joined #ruby
happycrappy has quit [Client Quit]
jdunck has joined #ruby
dik_dak has joined #ruby
jdunck has quit [Client Quit]
johnnyfuchs has quit [Remote host closed the connection]
nari has joined #ruby
jonathanwallace has joined #ruby
Davey has joined #ruby
julian-delphiki has joined #ruby
sailias has quit [Quit: Leaving.]
mrsolo has quit [Quit: This computer has gone to sleep]
icole has quit [Remote host closed the connection]
osvico has joined #ruby
_maes_ has joined #ruby
ivanoats has joined #ruby
c0rn has joined #ruby
timkohrumel has joined #ruby
yshh has quit [Remote host closed the connection]
staafl has quit [Read error: Connection reset by peer]
viszu has quit [Quit: Leaving.]
c0rn has quit [Client Quit]
froy has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
JZTech101 has joined #ruby
tommyvyo has quit [Quit:]
ariedler has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Eaven has quit [Remote host closed the connection]
<jkline__>
I'm new at ruby. I'm trying to write unit tests for my gem. My .gemspec has a spec.test_files but rake test doesn't seem to run any tests. Do I have to tell Rake what my test files are somehow else?
nettoweb has quit [Quit: nettoweb]
timkohrumel has joined #ruby
_Amaan has joined #ruby
<Spooner>
jkline__, It really depends on your test framework.
lyanchih has joined #ruby
<jkline__>
I currently have class FooTest < Test::Unit::TestCase
<jkline__>
I don' t know if that is a framework
<Spooner>
It is TestUnit.
<jkline__>
my rake file has require 'rake/testtast'
<jkline__>
sounds like I need to read the TestUnit docs
lyanchih has quit [Client Quit]
twoism has quit [Remote host closed the connection]
Michael_ has quit [Remote host closed the connection]
Michael_ has joined #ruby
bionhart has joined #ruby
bradhe has quit [Remote host closed the connection]
tommyvyo has joined #ruby
nettoweb has joined #ruby
tjbiddle_ has joined #ruby
lewis has quit [Remote host closed the connection]
yashshah has quit [Read error: Connection reset by peer]
wsterling has joined #ruby
tjbiddle has quit [Read error: Operation timed out]
tjbiddle_ is now known as tjbiddle
dik_dak has joined #ruby
bothra13 has quit [Read error: Connection reset by peer]
bionhart has quit [Remote host closed the connection]
bothra13 has joined #ruby
yashshah has joined #ruby
Michael_ has quit [Read error: Connection reset by peer]
Michael__ has joined #ruby
rockets has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 264 seconds]
dik_dak has quit [Quit: Leaving]
rockets has joined #ruby
nettoweb has quit [Quit: nettoweb]
Shirakawasuna has quit [Quit: Leaving]
Cultofmetatron has quit [Remote host closed the connection]
Michael__ has quit [Remote host closed the connection]
twoism has joined #ruby
arya_ has joined #ruby
Michael_ has joined #ruby
jamesfung14 has joined #ruby
aeontech has quit [Quit: aeontech]
Michael_ has quit [Remote host closed the connection]
<bnagy>
so, anyone know watir?
<bnagy>
trying to get sone find elements stuff efficient
<bnagy>
and I am really bad at web :/
kiwnix has quit [Quit: Leaving]
Michael_ has joined #ruby
<digitalcake>
been trying to `load "some.rb"` to play with a module def but the out put keeps the same regardless
Cultofmetatron has joined #ruby
<digitalcake>
do module def get cached?
Michael_ has quit [Remote host closed the connection]
<bnagy>
not if you load them, only for require
<digitalcake>
using load
chxane has joined #ruby
<bnagy>
do you really mean `` though?
<digitalcake>
and it returns => true each time
<digitalcake>
no
<bnagy>
ok good :)
<digitalcake>
markup habbit
Michael_ has joined #ruby
<bnagy>
have you eliminated retardedness?
nettoweb has joined #ruby
<bnagy>
ie make sure you're saving, make sure you're editing the file you think you're editing?
<digitalcake>
but yeah load returns true but if I puts something different I get what it was the first time regardless.
Michael_ has quit [Remote host closed the connection]
<digitalcake>
reloading irb works
<digitalcake>
but just trying to load my file again does not
Michael_ has joined #ruby
<bnagy>
how is the module being used?
Cultofmetatron has quit [Read error: Connection reset by peer]
<bnagy>
like, it won't be re-included into everything
<bnagy>
I don't think, anyway
Cultofmetatron has joined #ruby
<digitalcake>
derp, just figured it out
<digitalcake>
the main file "require" the other file that is getting edited. I guess I need to make sure I'm loading the edited file not just the main file
Michael_ has quit [Remote host closed the connection]
tchebb has quit [Ping timeout: 248 seconds]
grn has quit [Read error: Connection reset by peer]
splittingred has joined #ruby
grn has joined #ruby
SirSkidmore is now known as SirSkids|Zzz
<digitalcake>
some reason I thought if I reloaded the main file it would reload all the files it requires
Davey has joined #ruby
Nisstyre has quit [Read error: Connection reset by peer]
Cultofmetatron has quit [Remote host closed the connection]
<digitalcake>
is there a way to forse that type of load
Cultofmetatron has joined #ruby
<digitalcake>
force*
<bnagy>
uh.. it will
<bnagy>
but it will only require
<digitalcake>
hmm.
<arubin>
What is the popular HTTP library these days?
<bnagy>
which, as we just covered, will return true if it's loaded already
mikepack has quit [Remote host closed the connection]
Nisstyre has joined #ruby
<ariedler>
arubin: Faraday still I think
juarlex_ has joined #ruby
machuga is now known as machuga|away
<digitalcake>
why dont people just use Net::HTTP ?
rickruby has joined #ruby
<digitalcake>
I dont mean that in a you should know better
icole has quit [Remote host closed the connection]
bricker`LA has joined #ruby
<digitalcake>
I mean that in a whats so much better about it.
zeade has joined #ruby
buzzybron has joined #ruby
<digitalcake>
I'm writing an API wrapper gem to use as a learning example and the gem I was following from github used Faraday but its just a basic rest api it was calling
juarlex has quit [Ping timeout: 276 seconds]
jrajav has joined #ruby
DanKnox is now known as DanKnox_away
tjbiddle_ has joined #ruby
<digitalcake>
would I be better off just using basic Net::HTTP?
jkline__ has quit [Quit: jkline__]
Cultofmetatron has quit [Ping timeout: 252 seconds]
lyanchih has quit [Quit: lyanchih]
icole has joined #ruby
ioNull has quit [Quit: Computer has gone to sleep.]
lewis has joined #ruby
bradhe has joined #ruby
brennanMKE has quit [Remote host closed the connection]
io_syl has quit [Ping timeout: 260 seconds]
lyanchih has joined #ruby
rockets has quit [Remote host closed the connection]
tjbiddle has quit [Ping timeout: 256 seconds]
tjbiddle_ is now known as tjbiddle
zeade has quit [Ping timeout: 260 seconds]
ivanoats has quit [Remote host closed the connection]
brennanMKE has joined #ruby
miskander has quit [Quit: miskander]
gff has joined #ruby
pipework has quit [Remote host closed the connection]
snearch_ has quit [Quit: Verlassend]
gff has quit [Client Quit]
lewis has quit [Ping timeout: 252 seconds]
tundrax_ has quit [Remote host closed the connection]
darthdeus has quit [Quit: Leaving...]
mmitchell has quit [Remote host closed the connection]
jcromartie has quit [Quit: Computer has gone to sleep.]
pkrnj has quit [Ping timeout: 276 seconds]
osvico has joined #ruby
arya_ has quit [Ping timeout: 248 seconds]
<ariedler>
digitalcake: I think just cause of authentication plugins for Faraday really
tundrax has joined #ruby
pkrnj has joined #ruby
pkrnj has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
Myconix has quit [Read error: Connection reset by peer]
<ryan_turner>
Hi, I have an object that represents a GTK+ window, and I'm trying to add a signal connect to a button so that when a button is pressed, a method on an instance of another class is called. The other class is being instantiated before the GTK window is, but I dont know the right way to pass the other class into the GTK window's class for it to call methods.
tchebb has joined #ruby
tundrax_ has joined #ruby
<ryan_turner>
I tried adding a parameter to the initialize method on the GTK window class, but it gave me an error about not being another GTK window
arya_ has joined #ruby
cofin has quit [Quit: cofin]
chandankumar has joined #ruby
<ryan_turner>
getting the error "`initialize': not a Gtk::Window::Type" when adding a parameter to initialize to pass that instance
rickruby has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
tundrax has quit [Ping timeout: 240 seconds]
roadt_ has joined #ruby
iamjarvo has quit [Quit: Leaving.]
<bnagy>
ryan_turner: that all sounds pretty code dependant sorry
rickruby has joined #ruby
<ryan_turner>
Ok, hang on.
mikepack has joined #ruby
aeontech has joined #ruby
chandankumar has quit [Ping timeout: 256 seconds]
ioNull has joined #ruby
mtvee has joined #ruby
roadt has quit [Ping timeout: 252 seconds]
wimplash_ has joined #ruby
TomRone has quit [Ping timeout: 248 seconds]
zeade has joined #ruby
timkohrumel has joined #ruby
gommo has joined #ruby
darkapex has quit [Ping timeout: 260 seconds]
tommyvyo has quit [Quit:]
crise has joined #ruby
twoism has quit [Remote host closed the connection]
<ryan_turner>
So, how do I get that variable into the GTK class so that I can use it? :)
tommyvyo has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
yshh has joined #ruby
<bnagy>
uh
<bnagy>
you kind of need to get your design sorted
DrShoggoth has quit [Quit: Leaving]
<bnagy>
I don't really want to read a bunch of gtk code, tbh :)
Guedes0 has quit [Ping timeout: 245 seconds]
tommyvyo has quit [Client Quit]
<bnagy>
you could, for example, make the radio interface an ivar of the window
ravster has quit [Quit: Leaving.]
kenneth has quit [Quit: kenneth]
<ryan_turner>
bnagy, I've never used GTK and I've never used Ruby :)
zeade has quit [Ping timeout: 245 seconds]
<ryan_turner>
I dont know the right way to organize this code
wimplash_ has quit [Quit: Leaving...]
Bosox20051 has joined #ruby
harrymoreno has joined #ruby
<ryan_turner>
I figured that what I was doing so far was OK.
<bnagy>
just put attr_accessor: :radio_interface in the window class, and then window_instance.radio_interface = blah
<bnagy>
then I think your code would work as is, possibly
<ryan_turner>
Oh, duh.
wsterling has quit [Remote host closed the connection]
io_syl has joined #ruby
<bnagy>
or you can initialize the window instance of your special class with a radio interface if you like, and assign the ivar at that point
<bnagy>
that would look like def initialize radio_interface; super() # don't pass that arg to gtk; @radio_interface = radio_interface ... etc
ariedler has quit [Remote host closed the connection]
<ryan_turner>
Hmm
<ryan_turner>
I just tried the attr_accessor method, and it's freezing the GTK thread
DrShoggoth has joined #ruby
darkapex has joined #ruby
<bnagy>
ok well I don't know about that, it depends how your radio thing behaves
<bnagy>
you might need to make it nonblocking or something
<ryan_turner>
Aha yeah
<ryan_turner>
it's because the serial read is hanging.
<ryan_turner>
Ok, I can sort that out. Important thing is that now I can use the radiointerface instance within the window class. Thanks!
<bnagy>
I normally have a read thread that pumps a Queue
<ryan_turner>
I dont know anything about that :(
<bnagy>
well basically you need something to read your radio
<bnagy>
so you either need select or a nonblocking read or a blocking read in a Thread
<ryan_turner>
Yeah, I have a loop that's doing that
senorgrabby has joined #ruby
jamesfung14 has quit [Ping timeout: 245 seconds]
gentlehands has quit [Read error: Connection reset by peer]
Animawish has joined #ruby
Pequinno has joined #ruby
freeayu__ has joined #ruby
tommyvyo has joined #ruby
grn has quit [Read error: Connection reset by peer]
cooldman224 has quit [Remote host closed the connection]
Myconix has joined #ruby
threesome has quit [Ping timeout: 248 seconds]
momomomomo has joined #ruby
freeayu has quit [Ping timeout: 264 seconds]
freeayu3 has joined #ruby
zeade has joined #ruby
iamjarvo has joined #ruby
grn has joined #ruby
kofno has quit [Remote host closed the connection]
freeayu__ has quit [Ping timeout: 245 seconds]
<ryan_turner>
Ok bnagy, here's another question...
senorgrabby has quit [Read error: Connection reset by peer]
senorgrabby has joined #ruby
<ryan_turner>
In a method on the GTK window object, how can I change a variable that's in test.rb?
jurbat has joined #ruby
<bnagy>
you already can
<ryan_turner>
Trying to stop the thread_read thread so that it doesnt hang
<bnagy>
if it's an ivar or whatever that's a reference to the object
<ryan_turner>
Ok :)
<ryan_turner>
wait but then why couldn't I access radiointerface before?
<bnagy>
because it wasn't an ivar
<ryan_turner>
Guess I dont know what ivar means
<bnagy>
you can't "reach out" of your class, but you can mess with references to anything you've been given
ivanoats has joined #ruby
<bnagy>
@instance_variable, it's just a variable that is specific to an instance of a class
<bnagy>
sometimes called properties etc
<ryan_turner>
Its just a variable sitting in test.rb
<ryan_turner>
its not in a class
darkapex has quit [Ping timeout: 264 seconds]
<bnagy>
well then it's not going to be in scope for you instance methods
<ryan_turner>
Exactly
<bnagy>
you have to make it visible to them somehow
<ryan_turner>
yeah, how can I pass by reference?
Eaven has quit [Read error: Connection reset by peer]
<bnagy>
ruby virtually always does
<ryan_turner>
ok
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte_ has joined #ruby
<ryan_turner>
so if I just add another attr_accessor and set it
<ryan_turner>
then itll update the original var too? :/
Eaven has joined #ruby
<bnagy>
the "best" design imho is to explicitly give the instance everything it needs to do its job
saarinen has joined #ruby
<bnagy>
ideally in initialize
darkapex has joined #ruby
darkapex has quit [Changing host]
darkapex has joined #ruby
<ryan_turner>
Well, I can put this in the RadioInterface class instead
<bnagy>
well it won't update the var per se, the the var in test.rb and the @ivar will both point at the same object
Asher has quit [Ping timeout: 245 seconds]
<ryan_turner>
bnagy, what Im trying to do is have a var that is in scope for both threads
<ryan_turner>
specifically, a stop_thread var.
momomomomo has quit [Quit: momomomomo]
<bnagy>
two things that point at the same thing
<ryan_turner>
On the read thread, each time it iterates over the loop it checks to see if the stop_thread is true
<ryan_turner>
and if thats the case, it stops the read.
iamjarvo has quit [Ping timeout: 252 seconds]
<ryan_turner>
I need to be able to set that variable from within either the RadioInterface class or the Interface gtk class.
<bnagy>
we're going in circles
zx has quit [Quit: WeeChat 0.3.9.2]
<ryan_turner>
(so that way when its issuing a command that depends on getting a response from serial port, the read loop doesn't accidentally get it first and leave the other thread hanging)
heath has quit [Read error: Connection reset by peer]
Asher has joined #ruby
Nisstyre-laptop has joined #ruby
tommyvyo has quit [Quit:]
momomomomo has joined #ruby
banjara has joined #ruby
arya_ has quit [Ping timeout: 260 seconds]
lyanchih has quit [Quit: lyanchih]
rippa has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
arya has joined #ruby
rockets has joined #ruby
senorgrabby has quit [Quit: Leaving]
ttt has quit [Read error: Connection reset by peer]
jbueza has quit [Quit: Leaving.]
ttt has joined #ruby
Eaven has quit [Remote host closed the connection]
heath has joined #ruby
heath has joined #ruby
heath has quit [Changing host]
freakazoid0223 has quit [Ping timeout: 246 seconds]
kenneth has joined #ruby
rockets has quit [Ping timeout: 256 seconds]
krz has joined #ruby
cyong has joined #ruby
bradhe has quit [Ping timeout: 276 seconds]
ElderFain has joined #ruby
mmitchell has joined #ruby
reset has quit [Ping timeout: 252 seconds]
bionhart has quit [Remote host closed the connection]
tjbiddle has quit [Quit: tjbiddle]
mikepack has joined #ruby
mtvee has quit [Quit: ChatZilla 0.9.90 [Firefox 21.0/20130514193536]]
mmitchell has quit [Ping timeout: 256 seconds]
tjbiddle has joined #ruby
momomomomo has quit [Quit: momomomomo]
icole has quit [Remote host closed the connection]
icole has joined #ruby
zeade has quit [Quit: Leaving.]
benlieb has joined #ruby
tjbiddle has quit [Client Quit]
twoism has joined #ruby
tundrax_ has quit [Remote host closed the connection]
prk has joined #ruby
icole has quit [Ping timeout: 245 seconds]
Cyrus has joined #ruby
arya has quit [Ping timeout: 264 seconds]
lewis has joined #ruby
twoism has quit [Remote host closed the connection]
twoism has joined #ruby
aeontech has quit [Quit: aeontech]
haxrbyte_ has quit [Read error: No route to host]
haxrbyte has joined #ruby
graydot has joined #ruby
Inside has quit [Ping timeout: 276 seconds]
devoldmx has joined #ruby
digitalcake has quit [Ping timeout: 276 seconds]
IceDragon has quit [Quit: Space~~~]
harrymoreno has quit [Ping timeout: 252 seconds]
osvico has quit [Ping timeout: 245 seconds]
harrymoreno has joined #ruby
bluehavana_ has joined #ruby
phantasm66 has joined #ruby
phantasm66 has joined #ruby
bluehavana_ is now known as bluehavana
wsterling has joined #ruby
timkohrumel has joined #ruby
jbueza has joined #ruby
jarin has joined #ruby
tundrax has joined #ruby
Jackneill has joined #ruby
Jackneill has joined #ruby
bionhart has joined #ruby
reset has joined #ruby
wsterling has quit [Ping timeout: 248 seconds]
harrymoreno has quit [Ping timeout: 240 seconds]
kofno has joined #ruby
tundrax_ has joined #ruby
phantasm66 has quit [Quit: *sleeeep….]
robert_ has joined #ruby
tundrax has quit [Ping timeout: 252 seconds]
TomRone has quit [Ping timeout: 256 seconds]
akam-it has joined #ruby
drPoggs has quit [Quit: Goodbye]
kofno has quit [Ping timeout: 248 seconds]
drPoggs has joined #ruby
TomRone has joined #ruby
BeegPeeg00 has joined #ruby
krainboltgreene has quit [Ping timeout: 252 seconds]
macmartine has joined #ruby
girija has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
browndawg has joined #ruby
jnoob22 has quit [Remote host closed the connection]
splittingred has quit [Quit: splittingred]
krainboltgreene has joined #ruby
brennanMKE has quit [Remote host closed the connection]
ner0x has joined #ruby
ananthakumaran has joined #ruby
blandflakes has quit [Ping timeout: 256 seconds]
roadt_ has quit [Read error: Connection reset by peer]
MarioEIU has quit [Ping timeout: 260 seconds]
aeontech has joined #ruby
aeontech has quit [Client Quit]
blandflakes has joined #ruby
lyanchih has joined #ruby
bradhe has joined #ruby
ioNull has quit [Ping timeout: 245 seconds]
ioNull has joined #ruby
ioNull has quit [Max SendQ exceeded]
GeissT has quit [Ping timeout: 276 seconds]
ioNull has joined #ruby
ioNull has quit [Max SendQ exceeded]
deens__ has joined #ruby
macmartine has quit [Read error: Connection reset by peer]
ioNull has joined #ruby
Cultofmetatron has joined #ruby
bean has joined #ruby
macmartine has joined #ruby
codecop has joined #ruby
ivanoats has quit [Remote host closed the connection]
<havenwood>
talktokets: They are blocking me with javascript. Don't like that I block their ads.
<talktokets>
JS enabled ? on browser ?
<havenwood>
talktokets: "Please support us by at least allowing ads when viewing our website - that is all we ask! Your code. Your site. Use it! http://paste.org"
CyberMaN has joined #ruby
bradhe has joined #ruby
alup has joined #ruby
vlad_starkov has quit [Ping timeout: 245 seconds]
mjburgess has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
hector__ has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby
jarjar_prime has quit [Quit: Sleep time.]
<havenwood>
talktokets: So you are trying to call another method? Is `assign_ad_source(custom_ad_source)` the one that is throwing an error?
monkegjinni has joined #ruby
<havenwood>
talktokets: What's the error?
ephemerian has joined #ruby
dr_bob has joined #ruby
monkegji_ has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
Heero has quit [Read error: Connection reset by peer]
Heero has joined #ruby
Heero has joined #ruby
Heero has quit [Changing host]
rezzack has quit [Quit: Leaving.]
monkegjinni has quit [Ping timeout: 245 seconds]
icecandy has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
sideshowcoder has quit [Read error: Operation timed out]
leonidlm has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
<seoaqua>
havenwood, bundler 1.3.5, i think update is no problem
persand has joined #ruby
<havenwood>
seoaqua: Wierd!
<maloik_>
there's a newer ruby out as well btw, make sure to get that :-)
<maloik_>
some bugs were removed
bluOxigen has joined #ruby
talktokets has left #ruby [#ruby]
kofno has quit [Ping timeout: 256 seconds]
eploko_ has joined #ruby
druonysus has joined #ruby
druonysus has quit [Changing host]
druonysus has joined #ruby
slainer68 has quit [Remote host closed the connection]
altamic has joined #ruby
timonv has quit [Remote host closed the connection]
altamic has left #ruby [#ruby]
eploko has quit [Ping timeout: 252 seconds]
eploko_ is now known as eploko
sideshowcoder has joined #ruby
eploko has quit [Client Quit]
matchaw has joined #ruby
Criztian has joined #ruby
mjburgess has quit [Ping timeout: 245 seconds]
Pequinno has quit [Quit: Leaving.]
dfdf has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
kil0byte has quit [Remote host closed the connection]
shadoi has quit [Quit: Leaving.]
gtuckerkellogg has joined #ruby
rakl has joined #ruby
dhruvasagar has joined #ruby
Zeeraw has joined #ruby
tonini has joined #ruby
rakl has quit [Read error: Connection reset by peer]
spanx__ has quit [Ping timeout: 260 seconds]
gstamp has quit [Quit: Computer has gone to sleep.]
senayar_ has joined #ruby
ayaz has quit [Quit: Bye!]
dayepa1 has quit [Quit: dayepa1]
SeanTAllen has quit [Ping timeout: 260 seconds]
banjara has quit [Quit: Leaving.]
blaxter has joined #ruby
danslo has joined #ruby
teclator has joined #ruby
DarthGandalf has quit [Ping timeout: 240 seconds]
ybart has joined #ruby
<havenwood>
seoaqua: Might try asking in #bundler if you can't figure it out.
DarthGandalf has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
havenwood has quit [Remote host closed the connection]
senayar_ has quit [Remote host closed the connection]
charliesome_ has joined #ruby
senayar has joined #ruby
Spami has joined #ruby
Eaven has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
Coffers has joined #ruby
threesome has quit [Ping timeout: 248 seconds]
charliesome_ is now known as charliesome
k610 has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
ferdev has quit [Quit: ferdev]
DarthGandalf has quit [Ping timeout: 240 seconds]
pagios_ has joined #ruby
yannis has quit [Quit: yannis]
<pagios_>
hello , when trying to run ntpdate from ruby i get: ntpdate[1994]: no servers can be used, exiting if executed from command line it works fine, please note that i am setting up the ip configuration in ruby few lines before launcing the ntpdate command any idea?
monkegji_ has quit [Read error: Connection reset by peer]
<bnagy>
sounds like an issue reading ntp config files or something
jbpros has joined #ruby
monkegjinni has joined #ruby
<pagios_>
hmm ok let me hardcode that
<bnagy>
so running ntpdate and then doing irb and `ntpdate` give different results?
jeffreylevesque has quit [Read error: Connection reset by peer]
saarinen has quit [Quit: saarinen]
jeffreylevesque has joined #ruby
DarthGandalf has joined #ruby
Soliah has quit [Quit: Soliah]
<pagios_>
i didnt try irb i am just launcgin ntpdate using the ``
obs has joined #ruby
grn has quit [Read error: Connection reset by peer]
airtonix_ is now known as airtonix
grn has joined #ruby
<bnagy>
I'm saying that from the same shell, running the command then running it inside irb should give the same result
ybart has quit [Ping timeout: 245 seconds]
bluOxigen has quit [Ping timeout: 276 seconds]
<Nom->
Anyone know how I can trace down a version dependency problem in a gem tree? Something I'm pulling in is forcing an old version of 'builder' gem, which is resulting in several other gems going to very old versions...
Pequinno has joined #ruby
bluOxigen has joined #ruby
gtuckerkellogg has joined #ruby
ybart has joined #ruby
druonysus has quit [Ping timeout: 256 seconds]
zigomir has joined #ruby
<pagios_>
still not working, ntpdate[1994]: no servers can be used
<pagios_>
i dont know which parameter i should add to ntpdate for it to work in ``
nomenkun has joined #ruby
yacks has quit [Quit: Leaving]
<Nom->
bah it was the ci_reporter gem.. never mind... now how the heck to get integrate into my CI without that ;(
arya has joined #ruby
ctp has quit [Quit: Leaving...]
<bnagy>
pagios_: to confirm (again) do you get different results from a shell prompt running the exact same command in shell and in `` inside irb?
vlad_starkov has joined #ruby
<bnagy>
btw on OSX for example you need to give it some servers on the commandline and tell it not to try and set the clock
<bnagy>
unless you're running as root
<bnagy>
eg for me it would be ntpdate -q -s time.asia.apple.com
mikecmpbll has joined #ruby
<bnagy>
which gives me identical results inside `` in irb
DaniG2k has joined #ruby
haxrbyte_ has quit [Read error: No route to host]
haxrbyte has joined #ruby
ferdev has joined #ruby
skroon has joined #ruby
workmad3 has joined #ruby
bradhe has joined #ruby
milestone has joined #ruby
vlad_starkov has quit [Ping timeout: 256 seconds]
DaniG2k has left #ruby [#ruby]
threesome has joined #ruby
dfdf has joined #ruby
eploko has joined #ruby
apod has joined #ruby
nerdman has joined #ruby
niceguyjames has joined #ruby
NsOmNiAc has joined #ruby
bamdad has joined #ruby
bradhe has quit [Ping timeout: 248 seconds]
queequeg2 has quit [Ping timeout: 240 seconds]
lyanchih has quit [Quit: lyanchih]
sayan has joined #ruby
BeegPeeg00 has quit [Remote host closed the connection]
gtuckerkellogg has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
chandankumar has joined #ruby
<Nom->
Ok, it's not that... so i've got a dependency somewhere which is putting a require on activesupport=1.4.0 causing a whole dependency chain to screw up... any ideas on how I can find out what it is?
hogeo has joined #ruby
<bnagy>
grep?
Pequinno has left #ruby [#ruby]
<seoaqua>
havenwood, thanks
<Nom->
I'm trying that, but i'm not finding the explicit requirement anywhere ... yet at least
yacks has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
<pagios_>
bnagy: works fine with the -s thanks
Kar- has joined #ruby
freeayu has joined #ruby
Gooder has joined #ruby
queequeg1 has joined #ruby
tylersmith has quit [Ping timeout: 264 seconds]
bamdad has quit [Quit: bamdad]
NsOmNiAc has quit [Quit: Leaving]
tonini has joined #ruby
julian-delphiki has quit [Read error: Connection reset by peer]
Myconix has quit [Quit: Server Error 482: The server has been shot by a 12-gauge, please contact an administrator]
CyberMaN has quit [Changing host]
CyberMaN has joined #ruby
buscon has joined #ruby
Astral_ has joined #ruby
darthdeus has joined #ruby
tylersmith has joined #ruby
Pequinno has joined #ruby
Pequinno has quit [Client Quit]
Astralum has quit [Ping timeout: 256 seconds]
<bnagy>
I'm just going to re-ask every few hours :P - Anyone know about selectors in Watir ( or celerity, which uses the same API )?
simon__ has quit [Read error: Connection reset by peer]
monkegji_ has quit [Ping timeout: 248 seconds]
b0oh has joined #ruby
<canton7>
mikewintermute, it's not so much scoping, as the fact that + doesn't mutate strings, rather create a new string
<canton7>
so you're saying "create a new string with contents a[x] + '!', then throw it away"
<canton7>
had you used << instead of +, it would have mutated a[x]
emergion has quit [Quit: Computer has gone to sleep.]
Eaven has quit [Read error: Connection reset by peer]
markprovan has left #ruby [#ruby]
<mikewintermute>
canton7: aha, starting to see daylight
<canton7>
a[x] = a[x] + '!' or a[x] += '!' would have had the same visible effect (the difference being that this creates a new string, then assignes that back to a[x])
Eaven has joined #ruby
<canton7>
compare a = "foo"; b = a; a += " bar"; vs a = "foo"; b = a; a << " bar"
nobitanobi has joined #ruby
bradhe has joined #ruby
<mikewintermute>
canton7: at what stage does the new string get created in a[x] = a[x] + '!'?
<canton7>
(be careful with strings and << for this reason - e.g. if you pass a variabel containing a string as an argument to a function, then mutate it within that function, it's also mutated in the caller's scope)
<canton7>
mikewintermute, when "a[x] + '!'" gets evaluated, that creates a new string
chxane has quit [Quit: Leaving]
<mikewintermute>
so << mutates the string in the caller's scope?
<canton7>
more precisely, "a[z] + '!'" is better written a[z].+('!'), where '+' is a method which takes a string, and returns a string
<canton7>
mikewintermute, it mutates the string object. strings are passed by value
<canton7>
sorry, by reference
<canton7>
(all objects are passed by reference in ruby, but some (like numbers) are immutable, so it doesn't appear as such
Michael__ has joined #ruby
_veer has quit [Ping timeout: 276 seconds]
bradhe has quit [Ping timeout: 248 seconds]
swex_ has joined #ruby
Guedes0 has joined #ruby
khushildep has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
_veer has joined #ruby
Xeago has joined #ruby
ybart has joined #ruby
nari has quit [Ping timeout: 240 seconds]
swex has quit [Ping timeout: 256 seconds]
ddv has joined #ruby
kn0tsel has quit [Remote host closed the connection]
skattyadz has joined #ruby
lewix has quit [Remote host closed the connection]
krombr has quit [Remote host closed the connection]
Guedes0 has quit [Ping timeout: 260 seconds]
k611 has joined #ruby
lkba has joined #ruby
mikecmpbll has joined #ruby
camilasan has quit [Remote host closed the connection]
<Veejay>
Is there a way through some metaprogramming karate to turn the name of a constant to the equivalent string?
stonevil has quit [Remote host closed the connection]
<joshu>
canton7 yeah so I don't have cat in my ruby cmd as I'm already passing the contents
<canton7>
but yeah, opoen / popen3
<Veejay>
Like Foo::BLAH => "BLAH"
<bnagy>
Veejay: #to_s but it's not karate
<canton7>
joshu, you're not getting the difference here - you're asking the process to execute the *command* called *<contents of pdf file>*, the pipe that output to exiftool
slainer68 has quit [Ping timeout: 245 seconds]
<canton7>
no wonder it's not happy
<Veejay>
bnagy: Will it turn the value of the constant to a string or the name of the constant?
<joshu>
canton7 ok I see. So even if I replicate the command I use on the command line in ruby it will not work unless I either a) use popen or b) use a temp file?
<bnagy>
Veejay: you can look up constants in a namespace in a few ways
<canton7>
joshu, if you used ruby to execute "cat tempfile | exiftool" that'd be fine. but you're not
jprovazn has quit [Quit: Leaving]
<canton7>
you're using ruby to execute "<effectively random junk> | exiftool" - which won't work on the command-line *or* in ruby. you might as well be asking why trying to execute "fskldjfhsdlkfhlskd | exiftool" fails badly
<canton7>
joshu, as I've said, you can try horrible stuff to do with quoting the contents of the pdf file, and using echo to get them onto stdout, then piping them - or using popen which is much nicer and by far the best solution
<Veejay>
bnagy: Maybe I'll do something like ClassName.constants.detect {|c| ClassName.const_get(c) == value}.to_s
eploko has joined #ruby
<bnagy>
Veejay: if you already have the value it seems a little pointless, though. :P
chandankumar has quit [Ping timeout: 252 seconds]
<Veejay>
No it doesn't
ybart has quit [Quit: ybart]
<joshu>
canton7 I'll avoid the "horrible stuff" and look at popen. thanks canton7 and bnagy
<Veejay>
I have the value and I want the string representation of the constant
<bnagy>
or you want the constant name that has a specific value?
<bnagy>
ok
<bnagy>
yeah the select const_get
<Veejay>
To not have to create the messages
b0oh has quit [Quit: Leaving.]
boxmein has joined #ruby
monkegjinni has joined #ruby
camilasan has joined #ruby
Azulinho has joined #ruby
kf8a has joined #ruby
lyanchih has quit [Quit: lyanchih]
eploko has quit [Quit: Z-z-zzz...]
jnoob22 has joined #ruby
slainer6_ has quit [Remote host closed the connection]
Proshot has joined #ruby
ExxKA has joined #ruby
ananthakumaran1 has quit [Ping timeout: 252 seconds]
k612 has joined #ruby
haxrbyte has quit [Remote host closed the connection]
haxrbyte has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
banjara has joined #ruby
mixel has joined #ruby
dhruvasagar has joined #ruby
k611 has quit [Ping timeout: 276 seconds]
_veer has joined #ruby
ananthakumaran has joined #ruby
sayan has joined #ruby
banjara has quit [Ping timeout: 245 seconds]
ij has joined #ruby
prk has quit [Read error: Connection reset by peer]
emergion has joined #ruby
prk has joined #ruby
milestone has quit [Quit: milestone]
<ij>
Is there another way of adding a singleton method and using a local variable in scope in that method, besides "s = 'foo'; a = 1; singleton = class << s; self; end; singleton.define_method(:foo) do a * 2; end;" ?
cj3kim has quit [Remote host closed the connection]
<joshu>
ok not familiar with rails. What about using the rack environment like so: ENV['RACK_ENV'] == 'test'
hamakn_ has joined #ruby
machuga|away is now known as machuga
rdark has quit [Ping timeout: 248 seconds]
<apeiros>
sure. if you have a way to set that.
hamakn has quit [Ping timeout: 256 seconds]
alexwh has joined #ruby
rdark has joined #ruby
rh1n0 has joined #ruby
chichou has joined #ruby
niklasb has quit [Ping timeout: 248 seconds]
<joshu>
hmm so I couldn't do what you did but instead `RACK_ENV=test ruby script.rb`
hamakn_ has quit [Ping timeout: 248 seconds]
<apeiros>
if it is in ENV, then yes, you can set it like that
ffio has joined #ruby
TMM has quit [Quit: Bye]
persand has quit [Ping timeout: 240 seconds]
eploko has quit [Quit: Z-z-zzz...]
kf8a has quit [Quit: Computer has gone to sleep.]
senayar_ has quit [Remote host closed the connection]
TMM has joined #ruby
TMM has joined #ruby
TMM has quit [Changing host]
senayar has joined #ruby
ffio has quit [Client Quit]
agjacome has quit [Quit: leaving]
<joshu>
apeiros ah ok I think I understand, so I would have to specify RACK_ENV=test in my .env file as well as running ruby script.rb in the terminal has no environment setting?
snearch has joined #ruby
stonevil_ has quit [Remote host closed the connection]
slainer68 has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
azuri has joined #ruby
stonevil has joined #ruby
b0oh has joined #ruby
ArchBeOS has quit [Remote host closed the connection]
emergion has quit [Quit: Computer has gone to sleep.]
kf8a has joined #ruby
slainer6_ has quit [Ping timeout: 248 seconds]
persand has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
noop has quit [Ping timeout: 252 seconds]
kf8a has quit [Max SendQ exceeded]
charliesome has joined #ruby
Matip has joined #ruby
eploko has joined #ruby
decentrality has quit [Quit: decentrality]
mmitchell has joined #ruby
devoldmx3 has joined #ruby
boxmein is now known as [boxmein|DW]
persand has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
emergion has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
Mattx has quit [Ping timeout: 260 seconds]
phantasm66 has quit [Quit: *sleeeep….]
niklasb has joined #ruby
persand has joined #ruby
miclen has quit [Ping timeout: 256 seconds]
bradhe has quit [Ping timeout: 252 seconds]
mmitchell has quit [Remote host closed the connection]
Spooner has joined #ruby
D4T has joined #ruby
noop has joined #ruby
passcod_ has joined #ruby
passcod has quit [Ping timeout: 256 seconds]
closer has quit [Ping timeout: 256 seconds]
passcod_ is now known as passcod
skattyadz has joined #ruby
closer has joined #ruby
lyanchih has quit [Quit: lyanchih]
devoldmx has joined #ruby
Sirupsen has quit [Ping timeout: 260 seconds]
devoldmx3 has quit [Ping timeout: 240 seconds]
mark_locklear has joined #ruby
DestinyAwaits has joined #ruby
yshh has joined #ruby
yashshah has quit [Ping timeout: 276 seconds]
mephux has quit [Quit: w0ots...]
l33 has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
ananthakumaran has quit [Ping timeout: 252 seconds]
skattyadz has quit [Quit: skattyadz]
fixl has quit [Ping timeout: 256 seconds]
azuri has quit [Ping timeout: 260 seconds]
<joshu>
apeiros I'm looking at opt parse. You know how you helped me with tiff2pdf and that it didn't offer a stdin "-" option. How would I use opt parse for my own script to allow specifying a file or stdin using "-"
<joshu>
apeiros can't find an example online
bkparsons has joined #ruby
ananthakumaran has joined #ruby
noop has quit [Ping timeout: 276 seconds]
<apeiros>
well, don't need optparse for that
<apeiros>
optparse is for -f --foobar style options
yshh has quit [Ping timeout: 248 seconds]
<apeiros>
those without a flag end up in ARGV anyway
umren has quit [Quit: Once you know what it is you want to be true, instinct is a very useful device for enabling you to know that it is]
<Quadlex>
pandawarrior: Oh, that's fine... It's just when I merge again
<Quadlex>
Also there are a couple of commits I want to cherrypick
<pandawarrior>
ah right
geekbri has joined #ruby
Zai00 has left #ruby [#ruby]
camilasan has joined #ruby
banjara has quit [Ping timeout: 256 seconds]
<workmad3>
Quadlex: just make sure you merge, rather than rebase
Eaven has quit [Read error: Connection reset by peer]
fuzzyhor_ has joined #ruby
Eaven has joined #ruby
fuzzyhorns has quit [Ping timeout: 252 seconds]
miclen has joined #ruby
<pandawarrior>
workmad3: wouldn't you rebase interactive?
<Quadlex>
workmad3: rebase would erase history?
<workmad3>
rebase would change history
<workmad3>
and the history for the master is already pushed, so no rebasing master onto another branch at an earlier merge-point
<workmad3>
s/branch-point
jbpros has quit [Quit: jbpros]
<Quadlex>
Ah, right
postmodern has quit [Quit: Leaving]
<Quadlex>
Every time I think I understand git I realizeI don't
adambeynon has joined #ruby
<pandawarrior>
Quadlex: agree with that :)
Lubinski has joined #ruby
blaxter has quit [Ping timeout: 252 seconds]
<workmad3>
Quadlex: basically, rebasing master onto the branch as a 'merge' would mean that your master is rolled back to the commit you branched at, then all the commits since then are recommited onto the branch
<workmad3>
Quadlex: which would give you a nice consistent history... but would mean that your entire history would change, and you'd get 'your push is not a fast-forward' crap when trying to then push again :)
<Quadlex>
Ahh, right
<workmad3>
rebasing is nice for short-lived branches, but it's painful for long-lived branches
Iszak has joined #ruby
tomsthumb has quit [Read error: Connection reset by peer]
tomsthumb has joined #ruby
<workmad3>
I've had some great times in the past where I've had to resolve conflicts in a file half a dozen times too, because a rebase does each commit successively, while a simple merge would have been easier and cleaner because then it would have been at most one conflict
kapowaz has quit [Ping timeout: 260 seconds]
monkegjinni has joined #ruby
<Quadlex>
Nasty stuff
jrajav has joined #ruby
tommyvyo has quit [Quit:]
<workmad3>
yeah :)
MrZYX|off has joined #ruby
horsey has quit [Read error: Connection reset by peer]
jgarvey has joined #ruby
ij has quit [Read error: Operation timed out]
MrZYX|off is now known as MrZYX
hamakn has joined #ruby
horsey has joined #ruby
Hanmac has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
eploko has quit [Quit: Z-z-zzz...]
bothra13 is now known as bothra
Dummies_freelanc has joined #ruby
mmitchell has joined #ruby
DaniG2k has joined #ruby
tvw has joined #ruby
ij has joined #ruby
ij has joined #ruby
ij has quit [Changing host]
breakingthings has joined #ruby
viszu has joined #ruby
hamakn has quit [Ping timeout: 256 seconds]
chandankumar has joined #ruby
bradhe has joined #ruby
Guest has joined #ruby
dpathakj has joined #ruby
JustinAiken has joined #ruby
wallerdev has joined #ruby
machuga is now known as machuga|away
wmoxam has joined #ruby
chandankumar has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 248 seconds]
machuga|away has quit [Excess Flood]
fuzzyhorns has joined #ruby
nobitanobi has quit [Ping timeout: 264 seconds]
machuga has joined #ruby
skattyadz has joined #ruby
razi has quit [Ping timeout: 256 seconds]
jcromartie has joined #ruby
k612 has quit [Ping timeout: 240 seconds]
k610 has joined #ruby
fuzzyhor_ has quit [Ping timeout: 256 seconds]
jurbat has joined #ruby
BeegPeeg00 has joined #ruby
jbpros has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
gommo has quit [Remote host closed the connection]
mjburgess` has joined #ruby
gommo has joined #ruby
statarb3 has quit [Quit: Leaving]
jerius has joined #ruby
mjburgess has quit [Ping timeout: 240 seconds]
theRoUS has joined #ruby
nbjahan has quit [Remote host closed the connection]
northelks has quit [Read error: Connection reset by peer]
splittingred has joined #ruby
chandankumar has joined #ruby
mnaser has quit [Excess Flood]
fuzzyhorns has joined #ruby
cofin has quit [Quit: cofin]
nezumi has joined #ruby
nbjahan has joined #ruby
gommo has quit [Ping timeout: 256 seconds]
sailias has joined #ruby
rickruby has joined #ruby
Vivekananda has joined #ruby
mnaser has joined #ruby
cofin has joined #ruby
fuzzyhor_ has joined #ruby
<BeegPeeg00>
Hi, is anyone around? Got a quick question
`brendan has joined #ruby
northelks has joined #ruby
yshh has joined #ruby
mvangala has joined #ruby
fuzzyhorns has quit [Ping timeout: 256 seconds]
ariedler has joined #ruby
Appineer has joined #ruby
nettoweb_ has joined #ruby
Appineer has quit [Remote host closed the connection]
<Spooner>
BeegPeeg00, Ask; don't ask to ask ;)
Appineer has joined #ruby
ij has quit [Ping timeout: 240 seconds]
nettoweb has quit [Ping timeout: 252 seconds]
nettoweb_ is now known as nettoweb
<BeegPeeg00>
I would like a recommended series of steps to create a simple rails app that generates and validates cheques with a sender, recipient, date and amount, with the necessary validations, and the ability to sort through the index page by sender or recipient
sebastia_ has joined #ruby
danslo has quit [Quit: danslo]
fuzzyhor_ has quit [Ping timeout: 256 seconds]
<Spooner>
BeegPeeg00, Ask in #rubyonrails - this is a general #ruby channel.
<BeegPeeg00>
righto
generalissimo has joined #ruby
yekta has joined #ruby
chandankumar has quit [Ping timeout: 245 seconds]
jbpros has quit [Quit: jbpros]
devoldmx has quit [Ping timeout: 256 seconds]
tocki has joined #ruby
devoldmx has joined #ruby
browndawg has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
codecop has quit [Remote host closed the connection]
cmarques has joined #ruby
banjara has joined #ruby
Spooner has quit [Remote host closed the connection]
<canton7>
DaniG2k, hint: if you're after something like that, google for "Ruby <classname>" (e.g. "Ruby string"), hit up the first link, and ctrl-f / browse that
<DaniG2k>
alright
vlad_st__ has quit [Remote host closed the connection]
NsOmNiAc has joined #ruby
<canton7>
those docs are pretty good
sweeper has joined #ruby
vlad_starkov has joined #ruby
pipework has joined #ruby
<sweeper>
hey folks, how would I pass -j8 to rvm's install options?
nezumi has quit [Quit: Ex-Chat]
nezumi has joined #ruby
ishe_ua has joined #ruby
devoldmx3 has quit [Ping timeout: 248 seconds]
<sweeper>
oh, n/m, seems to be doing it automaically
Al_ has joined #ruby
ishe_ua has quit [Client Quit]
<Veejay>
Can I insert linefeeds between the different elements of a case when branch
<canton7>
sre
<Veejay>
A la when A,\nB\nC, etc.
<canton7>
*sure
<canton7>
oh, like that
<Veejay>
Yeah
<Veejay>
I have loads of very long constants and it's getting messy
<canton7>
so long as the first line isn't a complete statement in itself
monkegji_ has joined #ruby
monkegjinni has quit [Read error: Connection reset by peer]
ewag has quit [Remote host closed the connection]
<joshu>
anyone know how to use mail gem to forward an email. In other words I want to just change the To: header but keep the rest of the email unmodified
<canton7>
basically, when ruby parses line-by-line, if the line it's parsing isn't complete when it reaches the end, it'll continue down onto the next line
<Veejay>
I see
<canton7>
adding a \ onto the end of the line is another way to get the parser to continue onto the next line
carlyle has joined #ruby
vlad_starkov has quit [Ping timeout: 248 seconds]
icecandy has quit [Read error: Connection reset by peer]
Guest2630 is now known as mephux_
mephux_ is now known as mephux
apeiros has quit [Remote host closed the connection]
mephux has quit [Changing host]
mephux has joined #ruby
mvangala has quit [Read error: Connection reset by peer]
icecandy has joined #ruby
ner0x has joined #ruby
mvangala has joined #ruby
LaPetiteFromage has quit [Quit: LaPetiteFromage]
ij has joined #ruby
v0n has quit [Ping timeout: 252 seconds]
lyanchih has joined #ruby
mtvee has joined #ruby
bradhe has joined #ruby
_nitti has joined #ruby
Destiny101 is now known as DestinyAwaits
DestinyAwaits has quit [Changing host]
DestinyAwaits has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
[m]adman has joined #ruby
<[m]adman>
hi ppl.. i'm new to ruby..
<[m]adman>
i dont even know if i have it installed/enabled.. how can i tell?
rdark has quit [Read error: Operation timed out]
<sandstrom>
irb in the console
<BeegPeeg00>
in terminal
<[m]adman>
i justed installed IIS.. it had options and SDK stuff for Ruby..
<BeegPeeg00>
irb
Todd has quit [Read error: Operation timed out]
skattyadz has quit [Quit: skattyadz]
wallerdev has quit [Quit: wallerdev]
<[m]adman>
irb?
b0oh has joined #ruby
wolcanus has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
Davey has joined #ruby
rdark has joined #ruby
Todd has joined #ruby
rickruby has quit [Remote host closed the connection]
Sirupsen has joined #ruby
mjburgess` has quit []
seejohnrun has joined #ruby
mjburgess has joined #ruby
<philcrissman>
[m]adman: sounds like you're on windows. There usually aren't a lot of people on here who use windows for development, but you may want to check out http://railsinstaller.org/. I'm told it's one of the better ways to go about getting ruby/etc set up on rails.
timkohrumel has joined #ruby
<philcrissman>
even if you aren't intending to do rails, it will install ruby and other tools you need.
<[m]adman>
i sure am
tommyvyo has joined #ruby
<[m]adman>
mind blown... rubyonrails isnt ruby?
nettoweb_ has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
eploko has joined #ruby
nettoweb has quit [Ping timeout: 252 seconds]
nettoweb_ is now known as nettoweb
timkohrumel has quit [Remote host closed the connection]
niceguyjames has quit [Quit: Computer has gone to sleep.]
<JustinAiken>
Rails is framework built on ruby, but not ruby itself
rhys has joined #ruby
bamdad has joined #ruby
niceguyjames has joined #ruby
blueOxigen has joined #ruby
<mikewintermute>
why does this work: @adam = Person.new :id => 14
rippa has joined #ruby
<Hanmac>
mikewintermute: because of black magic?
<hoelzro>
mikewintermute: why shouldn't it?
bluOxigen has quit [Ping timeout: 260 seconds]
ananthakumaran has joined #ruby
<mikewintermute>
but this complains about a syntax error: @adam = Person.new ( :id => 14 }
andikr has quit [Remote host closed the connection]
Vivekananda has quit [Ping timeout: 248 seconds]
carlyle has quit [Remote host closed the connection]
<hoelzro>
I think Ruby doesn't care for space before (
nari has quit [Ping timeout: 248 seconds]
<JustinAiken>
also, is that a } to close a ( ??
<ChristianS>
space between method name and ( is not allowed iirc
<MrZYX>
and Person.new(:id => 14, :name => 'Adam') works too
aspiers has left #ruby ["WeeChat 0.4.0"]
RORgasm_ has quit [Read error: Connection reset by peer]
RORgasm has joined #ruby
<MrZYX>
And while we're at it: Person.new id: 14, name: 'Adam', Person.new(id: 14, name: 'Adam') and Person.new({id: 14, name: 'Adam'})
acrussell has joined #ruby
digitalcake has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
<mikewintermute>
cool, a bunch of ways. Out of interest why does this give me a syntax error (i.e. with the space after new): Person.new (:id => 14, :name => 'Adam')
<hoelzro>
it probably has something to do with ambiguity
blueOxigen has joined #ruby
ntus1017 has quit [Remote host closed the connection]
_Amaan has joined #ruby
timkohrumel has joined #ruby
wesside has joined #ruby
chandankumar has joined #ruby
cj3kim has quit [Remote host closed the connection]
dpathakj has quit [Quit: dpathakj]
Uranio has quit [Quit: while you reading this, a kitty dies]
darkapex has quit [Ping timeout: 245 seconds]
<MrZYX>
it's the same as Person.new((:id => 14, :name => 'Adam')) and (:id => 14, :name => 'Adam') is invalid syntax
blaxter has quit [Quit: KTHXBYE]
bean has quit [Quit: Computer has gone to sleep.]
atno has quit [Remote host closed the connection]
horsey has quit [Ping timeout: 245 seconds]
octarine has joined #ruby
tagrudev has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
sebastia_ has quit [Remote host closed the connection]
<MrZYX>
which is basically the literal translation, we also call it sz
<hoelzro>
well, the name is eszett
_maes_ has joined #ruby
<hoelzro>
which is what 'sz' sounds like in German =)
<MrZYX>
^^
<hoelzro>
er, I'm lecturing the wrong person =/
<MrZYX>
:P
<MrZYX>
I prefer to substitute it with ss though
apod has quit [Quit: apod]
Alina-malina has joined #ruby
arya has quit [Ping timeout: 248 seconds]
banjara has quit [Ping timeout: 256 seconds]
cj3kim has joined #ruby
apod has joined #ruby
wsterling has quit [Remote host closed the connection]
nobitanobi has joined #ruby
carlyle has joined #ruby
cj3kim has quit [Remote host closed the connection]
<aedorn>
Someone needs to write a guide: Open Source Your Work Project That Nobody (but you) Can Actually Use. A how-to guide.
nerdman has quit [Quit: leaving]
yekta has quit [Quit: yekta]
viszu has quit [Quit: Leaving.]
bean has joined #ruby
bean has quit [Max SendQ exceeded]
bean has joined #ruby
dhruvasagar has joined #ruby
kapowaz has joined #ruby
jprovazn is now known as jprovazn_afk
girija has quit [Ping timeout: 276 seconds]
stonevil has quit [Remote host closed the connection]
stonevil has joined #ruby
brennanMKE has joined #ruby
robscomputer has joined #ruby
BBBThunda has quit [Quit: It's a dud! It's a dud! It's a du...]
robscomputer has quit [Remote host closed the connection]
carlyle has quit [Ping timeout: 245 seconds]
arya has joined #ruby
robscomputer has joined #ruby
nettoweb has quit [Quit: nettoweb]
acrussell has left #ruby [#ruby]
blueOxigen has quit [Ping timeout: 276 seconds]
dhruvasagar has quit [Ping timeout: 256 seconds]
kf8a has joined #ruby
blueOxigen has joined #ruby
boxmein has quit [Quit: - Not today.]
cofin has quit [Quit: cofin]
io_syl has quit [Quit: Computer has gone to sleep.]
jlast has quit [Remote host closed the connection]
dr_bob has quit [Ping timeout: 256 seconds]
scrogson has quit [Ping timeout: 264 seconds]
lkba has quit [Ping timeout: 248 seconds]
Drewch has quit [Ping timeout: 264 seconds]
ananthakumaran1 has joined #ruby
persand has quit [Quit: persand]
Drewch has joined #ruby
<workmad3>
aedorn: I'm not sure that needs a guide
<workmad3>
aedorn: it seems pretty instinctive to a lot of people
mtvee has quit [Quit: ChatZilla 0.9.90 [Firefox 21.0/20130514193536]]
<apeiros>
hence it needs a guide
djwonk has joined #ruby
<apeiros>
to further confuse the instinct
scrogson has joined #ruby
graydot has quit [Quit: graydot]
<aedorn>
Exactly. We must work under the assumption that common sense is fairly uncommon.
johnnyfuchs1 has joined #ruby
<workmad3>
aedorn: I always operate under that assumption
<apeiros>
wtf… laptop is wet…
platzhirsch has joined #ruby
<apeiros>
so hot, even the laptop sweats
ananthakumaran has quit [Ping timeout: 252 seconds]
pduin has quit [Remote host closed the connection]
<platzhirsch>
I get WARN: Unresolved specs during Gem::Specification.reset: redis-namespace (>= 0)
<platzhirsch>
any idea how to fix that?
bradhe has joined #ruby
<workmad3>
platzhirsch: hit your hard drive repeatedly with a hammer?
<platzhirsch>
workmad3: I will try and let you know
ntus1017 has quit [Remote host closed the connection]
johnnyfuchs has quit [Read error: Operation timed out]
vlad_starkov has joined #ruby
blueOxigen has quit [Ping timeout: 245 seconds]
tomsthumb has joined #ruby
blueOxigen has joined #ruby
exprosic has joined #ruby
azuri has joined #ruby
[m]adman has quit [Ping timeout: 256 seconds]
exprosic has left #ruby [#ruby]
Tarential has quit [Excess Flood]
Tarential has joined #ruby
kf8a has quit [Read error: Connection reset by peer]
MarioEIU has joined #ruby
apod has quit [Quit: apod]
bradhe has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby
blueOxigen has quit [Ping timeout: 248 seconds]
vlad_starkov has quit [Ping timeout: 248 seconds]
tjbiddle has joined #ruby
blueOxigen has joined #ruby
mnaser has quit [Excess Flood]
mahmoudimus has joined #ruby
mnaser has joined #ruby
krombr has joined #ruby
codecop has joined #ruby
teclator has quit [Ping timeout: 264 seconds]
b0oh has left #ruby [#ruby]
timkohrumel has quit [Remote host closed the connection]
ckrailo has joined #ruby
Dreamer3 has joined #ruby
dhruvasagar has joined #ruby
azuri has left #ruby ["Leaving"]
niceguyjames has joined #ruby
chandankumar has quit [Ping timeout: 252 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
aganov has quit [Quit: aganov]
baroquebobcat has joined #ruby
sayan has quit [Ping timeout: 256 seconds]
baroquebobcat has quit [Client Quit]
tk_ has quit [Quit: ばいばい]
killown has joined #ruby
killown has left #ruby ["Saindo"]
baroquebobcat has joined #ruby
k610 has quit [Ping timeout: 276 seconds]
busybox42 has quit [Ping timeout: 245 seconds]
miclen has quit [Ping timeout: 256 seconds]
chrishough has joined #ruby
bionhart has joined #ruby
xardas has joined #ruby
xardas has quit [Changing host]
xardas has joined #ruby
momomomomo has quit [Quit: momomomomo]
grlpx has joined #ruby
stonevil has quit [Remote host closed the connection]
l33 has quit [Remote host closed the connection]
dpathakj has joined #ruby
IPGlider has joined #ruby
Kricir has joined #ruby
Vert has quit [Remote host closed the connection]
<grlpx>
hello all, I think everyone agrees that every language is good to do things for a particular porpoise. For instance C is good for system programming, ASM for performances, FORTRAN for high level computing, Javascript for web pages, Java for server side stuff, PHP the same, Bash for scripting etc etc. Can you please give me an example where Ruby (or phyton) can be useful to a practical programmer?
bamdad has joined #ruby
<hoelzro>
grlpx: I prefer Perl/Ruby/Python over Bash for scripting
niceguyjames has quit [Quit: Computer has gone to sleep.]
freezey has joined #ruby
<grlpx>
hoelzro: like how?
l33 has joined #ruby
<hoelzro>
my rule of thumb is that if it's worth saving to a file, it's worth using Perl/Python/Ruby
sandstrom has quit [Remote host closed the connection]
<hoelzro>
I often use Perl instead of Bash if I have to perform non-trivial manipulations as well
<ChristianS>
grlpx: all of the above, except probably for client-side web scripting
dpathakj has quit [Ping timeout: 252 seconds]
mahmoudimus has quit [Remote host closed the connection]
<wmoxam>
grlpx: Ruby is most often used for scripting as well as server software (particularily web software)
thejefflarson__ has quit [Ping timeout: 248 seconds]
blaxter has joined #ruby
<banister_>
but coffeescript is pretty damn similar to ruby, so you can get your ruby-fix on the client these days too ;)
blaxter has quit [Client Quit]
stonevil has joined #ruby
<wmoxam>
grlpx: Two of the more popular uses of Ruby are Ruby on Rails (server side web software) and Chef (server configuration management)
wolcanus has quit [Remote host closed the connection]
darkapex has joined #ruby
ewag has joined #ruby
ewag has quit [Changing host]
ewag has joined #ruby
platzhirsch has left #ruby [#ruby]
mahmoudimus has quit [Remote host closed the connection]
[m]adman has joined #ruby
Todd has joined #ruby
ntus1017 has joined #ruby
mityaz has joined #ruby
Eaven has quit [Remote host closed the connection]
krombr has quit [Remote host closed the connection]
BeegPeeg00 has quit [Remote host closed the connection]
IPGlider has quit [Quit: IPGlider]
dankest has joined #ruby
darkapex has quit [Ping timeout: 260 seconds]
BeegPeeg00 has joined #ruby
BeegPeeg00 has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
wsterling has joined #ruby
rubycode_ has joined #ruby
yeban has joined #ruby
<aedorn>
I use Ruby to keep my socks organized.
l33 has quit [Remote host closed the connection]
bradhe has joined #ruby
l33 has joined #ruby
jlast has joined #ruby
darkapex has joined #ruby
Appineer has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
Appineer has joined #ruby
<aedorn>
Actually... Ruby is quite an amazing prototyping language. It's quite quick to build a proof of concept for just about anything and then code it out in a language that's better suited for it. I know I'm late to this whole question, but I felt compelled to say at least that.
mafolz has quit [Read error: Operation timed out]
carlyle has joined #ruby
niceguyjames has joined #ruby
ivanoats has joined #ruby
radic has joined #ruby
nerocrux has joined #ruby
zigomir has quit [Quit: zigomir]
stonevil has quit [Remote host closed the connection]
Cultofmetatron has joined #ruby
matchaw has quit [Ping timeout: 256 seconds]
bradhe has quit [Ping timeout: 276 seconds]
timonv has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
Cultofmetatron has quit [Remote host closed the connection]
jurbat has quit [Quit: Computer has gone to sleep.]
mark_locklear has joined #ruby
cofin has joined #ruby
l33_ has joined #ruby
DanKnox is now known as DanKnox_away
twoism has quit [Remote host closed the connection]
bamdad has joined #ruby
kenneth has quit [Quit: kenneth]
akells` has joined #ruby
jdunck has joined #ruby
l33 has quit [Ping timeout: 248 seconds]
sayan has joined #ruby
<ryannielson>
Anyone have a good suggestion for a pure Ruby Markdown parser? I'd rather not have to install something on my server, and it would be harder to run on Heroku if it required something native.
harrymoreno has quit [Quit: harrymoreno]
tvw has quit [Ping timeout: 252 seconds]
thejefflarson__ has joined #ruby
<seejohnrun>
Redcarpet
* apeiros_
misses Hash#+
vlad_starkov has quit [Remote host closed the connection]
darkapex has quit [Ping timeout: 245 seconds]
<apeiros_>
redcarpet has native code, no'
<apeiros_>
?
<apeiros_>
ryannielson: maruku
Al_ has quit [Quit: Al_]
obs_ has quit [Quit: Konversation terminated!]
pandawarrior has quit [Quit: Leaving.]
Z_Mass has quit [Read error: Connection reset by peer]
viszu has joined #ruby
jlast has joined #ruby
anonymuse has joined #ruby
banister_ has quit [Remote host closed the connection]
<ryannielson>
seejohnrun
<ryannielson>
;
<ryannielson>
seejohnrun: Ya, Redcarpet is native.
darkapex has joined #ruby
<seejohnrun>
ryannielson: it runs on heroku just fine
<seejohnrun>
ryannielson: sorry :(
<seejohnrun>
seejohnrun: definitely has a native dep
<seejohnrun>
ryannielson: *
<ryannielson>
apeiros: Ya, I'll check that one out. Thanks.
<epitron>
that would be a good thing to include in every gem's gemspec
<ryannielson>
seejohnrun: Does it run fine on heroku? I just figured it wouldn't because I've had issues with other gems with native dependencies.
<epitron>
gemspec with C-library dependencies, and compiler dependencies
cofin has quit [Quit: cofin]
<ryannielson>
epitron: Ya, that's a good suggestion.
* epitron
watches as zenspider breaks all the gems again
<epitron>
NOOOOOOOOOOOOO
freerobby has joined #ruby
devoldmx3 has joined #ruby
icecandy has quit [Remote host closed the connection]
mahmoudimus has quit [Read error: Connection reset by peer]
mahmoudi_ has joined #ruby
Bry8Star{T2 has joined #ruby
troessner has quit [Ping timeout: 264 seconds]
toekutr has quit [Ping timeout: 252 seconds]
pandawarrior has joined #ruby
_veer has quit [Ping timeout: 248 seconds]
interactionjaxsn has quit [Remote host closed the connection]
pandawarrior has quit [Client Quit]
interactionjaxsn has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
Hanmac has quit [Read error: Connection reset by peer]
aedorn has quit [Quit: Leaving]
slash_nick has quit [Quit: Lost terminal]
aedorn has joined #ruby
browndawg has quit [Quit: Leaving.]
kenneth has joined #ruby
wargasm has joined #ruby
chandankumar has joined #ruby
gitesh has joined #ruby
devoldmx has joined #ruby
interactionjaxsn has quit [Ping timeout: 252 seconds]
DanKnox is now known as DanKnox_away
blueOxigen has quit [Ping timeout: 264 seconds]
blueOxigen has joined #ruby
alvaro_o has joined #ruby
_nitti has quit [Remote host closed the connection]
havenwood has joined #ruby
alvaro_o has quit [Read error: Connection reset by peer]
_nitti has joined #ruby
djwonk has quit [Quit: djwonk]
gitesh has left #ruby [#ruby]
MarioEIU has quit [Remote host closed the connection]
cantonic has joined #ruby
terrellt has quit [Ping timeout: 245 seconds]
<aedorn>
hmm.. use Ruby to create a ton of shell scripts, or rewrite a gigantic Python program? The choices are between "this will suck" and "this will suck". I need a quarter.
harrymoreno has joined #ruby
tbrock_ has quit [Quit: Computer has gone to sleep.]
zommi has joined #ruby
<atmosx>
aloha
<aedorn>
bonjour
<atmosx>
aedorn: I don't get why, what exactly you will write with py that you can't write with rb?
rezzack has joined #ruby
akemrir has quit [Quit: WeeChat 0.4.1]
<C0deMaver1ck>
also, you're in #ruby so we're going to say ruby
<aedorn>
atmosx: It's in Python now. I would rewrite it in Ruby so I don't have to create the shell scripts this Python program calls. Or, I would automate the building of the shell scripts.
<atmosx>
ruby
rdark has quit [Quit: leaving]
<aedorn>
It'll be Ruby either way, and it will suck either way. Hence the need for a quarter!
mikepack has quit [Remote host closed the connection]
Evixion` has joined #ruby
Evixion has quit [Ping timeout: 246 seconds]
<atmosx>
why will it suck?
saarinen has joined #ruby
LennyLinux has quit [Remote host closed the connection]
saarinen has quit [Client Quit]
l33_ has quit [Remote host closed the connection]
ramblex has quit [Remote host closed the connection]
l33 has joined #ruby
miclen has joined #ruby
otters is now known as joelteon
<aedorn>
There's just so much to do with either and a real need for it to be done yesterday. It's just not maintainable in the current form - something needs to give. It's a great tool for the original developers, but it needs stream lining to really be useful for others.
BizarreCake has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
bhaak has quit [Ping timeout: 264 seconds]
pi3r has quit [Quit: Leaving]
Davey has joined #ruby
ferdev has quit [Quit: ferdev]
bhaak has joined #ruby
tommyvyo has quit [Quit:]
toekutr has joined #ruby
snearch has joined #ruby
prk has joined #ruby
zastern_ has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
vlad_starkov has joined #ruby
freerobby has quit [Quit: Leaving.]
<bricker`work>
Can someone explain to me what "binary mode" is on an IO object? I see this http://ruby-doc.org/core-2.0/IO.html#method-i-binmode but I'm wondering if there's more to it than just those three bullet points, and what the purpose of going into binary mode is.
camilasan has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
camilasan has quit [Remote host closed the connection]
reset has joined #ruby
rsahae has joined #ruby
sambao21 has joined #ruby
miclen has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby
bamdad has quit [Quit: bamdad]
benlieb has joined #ruby
<apeiros_>
bricker`work: it's windows related
<apeiros_>
windows has text- and binary-mode
<apeiros_>
IMO binary would be a sane default. fuck anybody who uses text-editors which can only deal with \r\n
mocfive has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
vlad_sta_ has joined #ruby
<atmosx>
Developers should be aware of when potentially malicious data (user-input) is passed to Logger, and manually escape the untrusted data <-- from Ruby Logger doc page. But what sort of a data could a malicious user pass to a logger and create issues since logger just dumps data into a (in my case) txt file (or I guess syslog)?
devoldmx has quit [Ping timeout: 252 seconds]
zastern has joined #ruby
<bricker`work>
And while we're looking at that, what is the purpose of setting "src = @file" in that context?
<apeiros_>
bricker`work: correct, on *nix binary- and textmode should have no influence
<apeiros_>
though, it might be that binary mode might (since 1.9) set encoding to binary too
<bricker`work>
I see
wolcanus has quit [Remote host closed the connection]
zastern has quit [Remote host closed the connection]
devoldmx has joined #ruby
<aedorn>
bricker`work: Specifically - The mode string can also include the letter 'b' either as a last character or as a character between the characters in any of the two-character strings described above. This is strictly for compatibility with C89 and has no effect; the 'b' is ignored on all POSIX conforming systems, including Linux. (Other systems may treat text files and binary files differently, and adding the
<aedorn>
'b' may be a good idea if you do I/O to a binary file and expect that your program may be ported to non-UNIX environments.) As taken from fopen man page
wolcanus has joined #ruby
brotatos has joined #ruby
johchri has quit [Ping timeout: 240 seconds]
<aedorn>
While that's with fopen() and family, the main point is the same.
fuzzyhorns has quit [Remote host closed the connection]
devoldmx3 has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
wolcanus has quit [Read error: No route to host]
wolcanus has joined #ruby
<aedorn>
And now I shall go find lunch. Like a hunter or scavenger. I think there's a tree with some berries right outside!
`brendan has quit [Quit: - nbs-irc 2.39 - www.nbs-irc.net -]
johnnyfuchs1 has quit [Ping timeout: 264 seconds]
arya has left #ruby [#ruby]
<havenwood>
xibalba: Looking for remote or local work? Willing to relocate?
l33 has quit [Remote host closed the connection]
mixel has joined #ruby
eploko has joined #ruby
monkegjinni has quit [Remote host closed the connection]
ariedler has joined #ruby
emergion has joined #ruby
arya has joined #ruby
ctp_ has joined #ruby
Zeeraw has quit [Quit: Computer has gone to sleep.]
apeiros has joined #ruby
interactionjaxsn has quit [Ping timeout: 276 seconds]
jerius_ has joined #ruby
_nitti has quit [Ping timeout: 276 seconds]
jerius has quit [Ping timeout: 252 seconds]
jerius_ is now known as jerius
c0rn has quit [Quit: Computer has gone to sleep.]
noxoc has quit [Quit: noxoc]
ctp has quit [Ping timeout: 252 seconds]
forrest has quit [Quit: Leaving]
Andreo__ has joined #ruby
apeiros_ has quit [Ping timeout: 248 seconds]
<xibalba>
havenwood, this is for my wife. she's learning ruby/rails and javascript right now and wants to get a dev. career in about 4-5 months. i was telling her she should look around to see what the job market has to offer. I'll pass along that 37signals link to her. thanks
<xibalba>
also guessing remote isn't the best for starters
machuga|away is now known as machuga
dash_ has quit [Quit: Time to beer :)]
<havenwood>
xibalba: toprubyjobs.com or jobs.github.com are other resources
<havenwood>
xibalba: remote pairing isn't bad these days
jlast has joined #ruby
<havenwood>
xibalba: doable!
khushildep has quit [Ping timeout: 245 seconds]
<xibalba>
even for beginers you think?
Michael__ has joined #ruby
<xibalba>
We're located in San Diego
<havenwood>
xibalba: I'm in LA.
<xibalba>
brb
icole has quit [Remote host closed the connection]
brian` has quit [Ping timeout: 245 seconds]
ryannielson has joined #ruby
brian` has joined #ruby
Astral__ has quit [Read error: Connection reset by peer]
Andreo_ has quit [Ping timeout: 276 seconds]
bean has joined #ruby
Astral__ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
jerius has quit [Ping timeout: 276 seconds]
ravster has quit [Ping timeout: 264 seconds]
dik_dak has joined #ruby
devoldmx3 has joined #ruby
s00pcan has quit [Quit: Lost terminal]
poseid has quit [Ping timeout: 250 seconds]
Ortuna has joined #ruby
s00pcan has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
_nitti has joined #ruby
joast has quit [Quit: Leaving.]
generalissimo has quit [Remote host closed the connection]
_nitti has quit [Read error: Connection reset by peer]
emergion has quit [Quit: Computer has gone to sleep.]
_nitti has joined #ruby
havenwood has quit [Remote host closed the connection]
dik_dak has quit [Client Quit]
CaptainKnots has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby
radic has quit [Remote host closed the connection]
_nitti has quit [Remote host closed the connection]
CaptainKnots has joined #ruby
pcarrier_ has joined #ruby
radic has joined #ruby
emergion has joined #ruby
_nitti has joined #ruby
sambao21 has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
c0rn has joined #ruby
_nitti has quit [Remote host closed the connection]
cofin_ has quit [Quit: cofin_]
splittingred has quit [Quit: splittingred]
danslo has joined #ruby
jkline___ has quit [Quit: jkline___]
leonidlm has quit [Ping timeout: 252 seconds]
pskosinski has quit [Quit: pskosinski]
lucianosousa has quit [Quit: lucianosousa]
boxmein has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.1]
mocfive has quit [Remote host closed the connection]
jbueza has quit [Quit: Leaving.]
jbueza has joined #ruby
ravster has joined #ruby
jslowe has joined #ruby
jbueza has quit [Client Quit]
jkline has joined #ruby
joast has joined #ruby
jbueza has joined #ruby
jbueza has quit [Max SendQ exceeded]
jbueza has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
toekutr has joined #ruby
pipework has joined #ruby
pcarrier_ has quit [Ping timeout: 264 seconds]
danslo has quit [Quit: danslo]
boxmein has quit [Quit: stab]
wsterling has quit [Remote host closed the connection]
<xibalba>
back
Lubinski has quit [Quit: Leaving]
Eaven has joined #ruby
<sam113101>
I'm going to write a game server, should I use select() myself or should I use something like EventMachine?
cj3kim has joined #ruby
pipework has quit [Remote host closed the connection]
mikepack_ has quit [Remote host closed the connection]
eploko has quit [Quit: Z-z-zzz...]
senayar has quit [Quit: Quitte]
generalissimo has joined #ruby
mocfive has joined #ruby
xcvd`` has joined #ruby
carlyle has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
marr has quit [Ping timeout: 260 seconds]
generali_ has joined #ruby
stoic_squirrel has joined #ruby
emmanuelux has quit [Read error: Operation timed out]
devoldmx3 has quit [Ping timeout: 252 seconds]
devoldmx has joined #ruby
xcvd`` has quit [Client Quit]
Criztian has quit [Remote host closed the connection]
krombr has joined #ruby
jslowe has quit [Ping timeout: 252 seconds]
druonysus has quit [Quit: Konversation terminated!]
ybart has quit [Quit: ybart]
generalissimo has quit [Ping timeout: 276 seconds]
LennyLinux has quit [Remote host closed the connection]
chrisja has joined #ruby
eploko has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
stkowski has joined #ruby
jnoob22 has joined #ruby
LennyLinux has joined #ruby
LennyLinux has quit [Remote host closed the connection]
LennyLin_ has joined #ruby
pitzips has quit [Quit: Leaving]
Michael__ has quit [Remote host closed the connection]
nomadic has quit [Ping timeout: 256 seconds]
Michael__ has joined #ruby
tommyvyo has quit [Quit:]
_veer has quit [Ping timeout: 252 seconds]
jkline has quit [Quit: jkline]
devoldmx has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
nplusp has left #ruby [#ruby]
germanstudent has quit [Ping timeout: 248 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
robscomputer_ has joined #ruby
nplusp has joined #ruby
nezumi has quit [Ping timeout: 256 seconds]
gstamp has joined #ruby
emmanuelux has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
devoldmx27 has joined #ruby
robscomputer has quit [Ping timeout: 260 seconds]
arya has quit [Ping timeout: 264 seconds]
anonymuse has quit [Quit: Leaving...]
<nightfly>
EventMachine
nplusp has quit [Quit: Leaving.]
ner0x has joined #ruby
robscomputer_ has quit [Ping timeout: 276 seconds]
<xibalba>
sam113101, check out websocketsRails. My buddy has told me some other game companies are using that in their infrastructure.
danslo has joined #ruby
elliottcable is now known as elliottcable^
Nuck is now known as nuck^
Hanmac has joined #ruby
nuck^ is now known as ^n^u^c^k^
elliottcable^ is now known as ^lliott^able
^n^u^c^k^ is now known as ^uck
^lliott^able is now known as elliottcable^
snearch_ has quit [Quit: Verlassend]
rburton- has quit [Quit: Leaving...]
djwonk has quit [Quit: djwonk]
sonne has quit [Read error: Operation timed out]
elliottcable^ is now known as elliottcable
emmanuelux has quit [Read error: Operation timed out]
<sam113101>
is eventmachine multithreaded?
pcarrier_ has joined #ruby
danslo has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
icole_ has joined #ruby
Kar- has quit [Remote host closed the connection]
gstudent2 has joined #ruby
citizensinspace has joined #ruby
pbertain has quit [Quit: pbertain]
pbertain has joined #ruby
<citizensinspace>
Hi, does anyone have experience with elasticsearch? I'm trying to limit the number of results per type. (Ex: show 10 artists and 10 albums instead of 20 at random)
icole_ has quit [Read error: Connection reset by peer]
devoldmx27 has quit [Ping timeout: 264 seconds]
devoldmx has joined #ruby
icole has quit [Ping timeout: 264 seconds]
sonne has joined #ruby
slainer68 has quit [Remote host closed the connection]
krombr has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
rickruby has quit [Remote host closed the connection]
mocfive has quit [Remote host closed the connection]
butblack has joined #ruby
tommyvyo has quit [Quit:]
djbkd has quit [Remote host closed the connection]
predator217 has joined #ruby
Soliah has joined #ruby
tylersmith has quit [Remote host closed the connection]
mjburgess has quit [Ping timeout: 240 seconds]
predator117 has quit [Ping timeout: 252 seconds]
Cultofmetatron has joined #ruby
mrsolo has quit [Quit: Leaving]
generali_ has quit [Remote host closed the connection]
timkohrumel has quit [Remote host closed the connection]
Ortuna has quit [Quit: Computer has gone to sleep.]
khushildep has joined #ruby
Ortuna has joined #ruby
elliottcable is now known as elliottcable^
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
elliottcable^ is now known as elliottcable
elliottcable is now known as elliottcable^
huismon has left #ruby ["Leaving"]
devoldmx3 has joined #ruby
ner0x has quit [Quit: Leaving]
ryannielson has quit [Quit: ryannielson]
chipotle has quit [Quit: cya]
Eaven has quit [Read error: Connection reset by peer]
banister`shop is now known as banister`sleep
arya has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
wsterling has joined #ruby
lewis has joined #ruby
Eaven has joined #ruby
justsee has quit [Ping timeout: 264 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
teclator has quit [Ping timeout: 256 seconds]
<lewis>
do you guys know good ressources about ruby and twitter api
wsterling has quit [Ping timeout: 264 seconds]
<aedornm>
gah... I should replace systemd with systemrd ... because I have no idea how systemd works. If this were the matrix I would just load the knowledge into my brain
Senjai has joined #ruby
AgentWillyWonka has joined #ruby
zastern has quit [Remote host closed the connection]
koen__ has joined #ruby
koen__ is now known as vespakoen
zastern has joined #ruby
freerobby has joined #ruby
baroquebobcat has quit [Read error: Operation timed out]