Guest14504 has quit [Remote host closed the connection]
ssb123 has quit [Remote host closed the connection]
vjacob has quit [Ping timeout: 276 seconds]
skade has quit [Ping timeout: 255 seconds]
CaptainJet has joined #ruby-lang
cored has quit [Ping timeout: 252 seconds]
johnissocool has joined #ruby-lang
<johnissocool>
Is there an easy way to make my simple ruby project use a webpage? I would like to be able to use web text boxes for input and buttons etc.
CaptainJet has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby-lang
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen has joined #ruby-lang
robbyoconnor has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jason__ has quit [Remote host closed the connection]
willmarshall has joined #ruby-lang
jsullivandigs has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 264 seconds]
faces has quit [Ping timeout: 240 seconds]
kalehv has quit [Read error: Connection reset by peer]
face has joined #ruby-lang
kalehv has joined #ruby-lang
yubrew has joined #ruby-lang
dorei has quit []
johnissocool has quit []
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
saarinen has quit [Quit: saarinen]
robbyoconnor has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
twright has quit [Ping timeout: 264 seconds]
rwk1 has joined #ruby-lang
ssb123 has joined #ruby-lang
Rubynewbie has joined #ruby-lang
karamazov has quit []
<Rubynewbie>
So, I've got a fairly short little program that isn't running the way i'd like. It runs and jumps to the method I want, but then user input should direct the program to another method. Instead, it is just exiting the program. Anyone willing to look at this? https://gist.github.com/anonymous/11239604
philoserf has joined #ruby-lang
ikrima has joined #ruby-lang
skade has joined #ruby-lang
mykoweb has joined #ruby-lang
sdouglas has joined #ruby-lang
Rubynewbie has quit [Quit: Page closed]
symm- has quit [Ping timeout: 265 seconds]
CaptainJet has quit []
skade has quit [Ping timeout: 252 seconds]
michaeldeol has joined #ruby-lang
michaeldeol has quit [Read error: Connection reset by peer]
kalehv has joined #ruby-lang
michaeldeol has joined #ruby-lang
Coincidental has quit [Remote host closed the connection]
mr-foobar has quit [Read error: Connection reset by peer]
philoserf has quit [Ping timeout: 264 seconds]
imperator2 has quit [Quit: Valete!]
ikrima has quit [Ping timeout: 276 seconds]
mykoweb has quit [Remote host closed the connection]
yubrew has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
ikrima has joined #ruby-lang
philoserf has joined #ruby-lang
diegoviola has quit [Ping timeout: 255 seconds]
sdouglas has quit [Remote host closed the connection]
<shalicke>
the gist of it is ftp.putbinaryfile(open(an_s3_url), some_remote_filename)) and it hangs while retrieving(?) the file. Actually it seems post-retrieval since it writes the whole file to disk in a tmp-like format (open-uri-XXYY) and then ... nothin.
<shalicke>
it's easy enough to work around, but i'm looking for an answer on why this doesn't work, since it certainly seems like it should (using open-uri.)
havenwood has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
amerine has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
Letopanyu has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
guns has quit [Quit: guns]
skade has joined #ruby-lang
robbyoconnor has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
skade has quit [Ping timeout: 276 seconds]
centrx has quit [Quit: All this computer hacking is making me thirsty]
jsullivandigs has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
hahuang65 has joined #ruby-lang
miwood has quit [Ping timeout: 240 seconds]
rahul_j has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby-lang
yubrew has joined #ruby-lang
Lewix has joined #ruby-lang
skade has joined #ruby-lang
omosoj has quit [Ping timeout: 240 seconds]
LMity has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
skade has quit [Ping timeout: 252 seconds]
LMity has quit [Ping timeout: 240 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
philoserf has quit [Quit: Yep. Gotta run. Later.]
phansch has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
sdouglas has joined #ruby-lang
rahul_j has joined #ruby-lang
omosoj has joined #ruby-lang
rahul_j has quit [Client Quit]
skade has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
emaxi has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
Letopanyu has quit [Read error: Connection reset by peer]
havenwood has joined #ruby-lang
rwk1 has joined #ruby-lang
_ht has joined #ruby-lang
amerine has quit [Read error: Connection reset by peer]
rwk1 has quit [Ping timeout: 252 seconds]
amerine_ has joined #ruby-lang
alexju has joined #ruby-lang
nisstyre has quit [Ping timeout: 240 seconds]
metamaterial has joined #ruby-lang
jasiek has quit [Ping timeout: 240 seconds]
skade has quit [Ping timeout: 252 seconds]
valeri_ufo has quit [Ping timeout: 264 seconds]
miwood has joined #ruby-lang
havenwood has quit [Ping timeout: 276 seconds]
philoserf has joined #ruby-lang
metamaterial has quit [Remote host closed the connection]
<shalicke>
turned out to be a "problem" with net/ftp: ftp.passive needed to be set to true.
miwood has quit [Client Quit]
valeri_ufo has joined #ruby-lang
jasiek has joined #ruby-lang
yubrew has joined #ruby-lang
iliketurtles has joined #ruby-lang
michaeldeol has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
yfeldblum has quit [Remote host closed the connection]
Barrin6 has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
jsullivandigs has joined #ruby-lang
omosoj has quit [Quit: Leaving]
amerine_ is now known as amerine
rwk1 has joined #ruby-lang
nisstyre has joined #ruby-lang
philoserf has quit [Quit: Yep. Gotta run. Later.]
ledestin has quit [Ping timeout: 265 seconds]
kyb3r__ has joined #ruby-lang
ledestin has joined #ruby-lang
kyb3r_ has quit [Ping timeout: 252 seconds]
Lewix has quit [Remote host closed the connection]
twright has joined #ruby-lang
knu has joined #ruby-lang
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby-lang
rwk1 has quit [Ping timeout: 255 seconds]
ItSANg___ has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
ItSANgo has quit [Ping timeout: 245 seconds]
havenwood has joined #ruby-lang
knu has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
digs has joined #ruby-lang
digs is now known as Guest75515
rwk1 has joined #ruby-lang
mistym has joined #ruby-lang
twright has quit [Ping timeout: 264 seconds]
havenwood has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Ping timeout: 276 seconds]
amclain has quit [Quit: Leaving]
philoserf has joined #ruby-lang
Guest75515 has quit [Remote host closed the connection]
toastynerd has quit []
emaxi has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
philoserf has quit [Client Quit]
rahul_j has joined #ruby-lang
emaxi has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
emaxi has quit [Ping timeout: 265 seconds]
sdouglas_ has joined #ruby-lang
apeiros has quit [Read error: Connection reset by peer]
apeiros has joined #ruby-lang
sdouglas_ has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
yubrew has joined #ruby-lang
hakunin has quit []
rahul_j has quit [Quit: rahul_j]
hakunin has joined #ruby-lang
yubrew has quit [Ping timeout: 264 seconds]
Barrin6 has quit [Quit: Leaving]
Lewix has joined #ruby-lang
sdouglas has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
woollyams has quit [Ping timeout: 252 seconds]
apeiros has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
sdouglas has quit [Remote host closed the connection]
D9 has quit [Quit: Leaving]
woollyams has joined #ruby-lang
apeiros has quit [Ping timeout: 265 seconds]
jsullivandigs has joined #ruby-lang
nisstyre has quit [Quit: WeeChat 0.4.3]
twright has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
jsullivandigs has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
twright has quit [Ping timeout: 264 seconds]
mannyt has quit [Quit: Connection closed for inactivity]
jsullivandigs has quit [Ping timeout: 240 seconds]
[spoiler] has joined #ruby-lang
twright has joined #ruby-lang
sdouglas has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 252 seconds]
arBmind has joined #ruby-lang
woollyams has quit [Ping timeout: 252 seconds]
arBmind1 has quit [Ping timeout: 240 seconds]
bzalasky has joined #ruby-lang
twright has quit [Ping timeout: 264 seconds]
zlogan has joined #ruby-lang
emaxi has joined #ruby-lang
|jemc| has quit [Quit: WeeChat 0.4.1]
havenwood has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
woollyams has joined #ruby-lang
[spoiler] has quit [Remote host closed the connection]
emaxi has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
emaxi has joined #ruby-lang
Lumio has joined #ruby-lang
[spoiler] has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
kyb3r__ has quit [Quit: Leaving]
kyb3r_ has joined #ruby-lang
emaxi has quit [Ping timeout: 252 seconds]
ddv has quit [Changing host]
ddv has joined #ruby-lang
yfeldblum has joined #ruby-lang
yubrew has joined #ruby-lang
arBmind has quit [Ping timeout: 276 seconds]
sdouglas has quit [Remote host closed the connection]
rwk1 has quit [Ping timeout: 265 seconds]
mr-foobar has joined #ruby-lang
Lumio has quit [Quit: ...]
yubrew has quit [Ping timeout: 240 seconds]
brushbox has joined #ruby-lang
brushbox has quit [Client Quit]
brushbox has joined #ruby-lang
sdouglas has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
rofel has joined #ruby-lang
bzalasky has joined #ruby-lang
dsaint-p_ has quit [Remote host closed the connection]
imperator has quit [Ping timeout: 240 seconds]
DEac- has quit [Ping timeout: 264 seconds]
DEac- has joined #ruby-lang
drbrain has quit [Ping timeout: 264 seconds]
dsaint-pierre has joined #ruby-lang
mistym has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
arBmind has joined #ruby-lang
jsullivandigs has joined #ruby-lang
bzalasky has quit [Ping timeout: 264 seconds]
dsaint-pierre has quit [Ping timeout: 276 seconds]
arBmind1 has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 255 seconds]
metamaterial has joined #ruby-lang
rofel has quit [Quit: Leaving...]
twright has joined #ruby-lang
arBmind has quit [Ping timeout: 252 seconds]
bzalasky has joined #ruby-lang
emaxi has joined #ruby-lang
qba73 has joined #ruby-lang
frobrob_ has joined #ruby-lang
emaxi has quit [Ping timeout: 276 seconds]
arBmind1 has quit [Ping timeout: 252 seconds]
twright has quit [Ping timeout: 264 seconds]
arBmind has joined #ruby-lang
frobrob has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
willmarshall has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
solars has joined #ruby-lang
fragamus_ has joined #ruby-lang
havenwood has quit [Ping timeout: 252 seconds]
Letopanyu has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
dsaint-pierre has joined #ruby-lang
relix has joined #ruby-lang
rwk1 has joined #ruby-lang
bzalasky has quit []
ta has quit [Quit: Leaving...]
tbuehlmann has joined #ruby-lang
Letopanyu has quit [Ping timeout: 276 seconds]
dsaint-pierre has quit [Ping timeout: 240 seconds]
ta has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
sdouglas has quit [Remote host closed the connection]
sdouglas has joined #ruby-lang
benlovell has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
rwk1 has quit [Ping timeout: 264 seconds]
DEac- has quit [Read error: Connection reset by peer]
DEac- has joined #ruby-lang
solars has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
khaase has joined #ruby-lang
khaase has quit [Changing host]
khaase has joined #ruby-lang
rolfb has joined #ruby-lang
rwk1 has joined #ruby-lang
davidae has joined #ruby-lang
metamaterial has quit [Remote host closed the connection]
mehlah has quit [Quit: Leaving...]
Pupeno has joined #ruby-lang
metamaterial has joined #ruby-lang
Guest84839 is now known as msch
jsrn has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has joined #ruby-lang
jsullivandigs has joined #ruby-lang
marr123 has joined #ruby-lang
solars has quit [Ping timeout: 252 seconds]
<yorickpeterse>
morning
hahuang61 has joined #ruby-lang
emaxi has joined #ruby-lang
rwk1 has quit [Remote host closed the connection]
qba73 has quit [Remote host closed the connection]
rwk1 has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 252 seconds]
elia has joined #ruby-lang
face has quit [Remote host closed the connection]
face has joined #ruby-lang
qba73 has joined #ruby-lang
emaxi has quit [Ping timeout: 252 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rwk1 has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
heftig has joined #ruby-lang
marr123 is now known as marr
robbyoconnor has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
solars has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
robbyoconnor has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
heftig has quit [Ping timeout: 245 seconds]
yubrew has joined #ruby-lang
whitecrow1 has joined #ruby-lang
whitecrow1 has joined #ruby-lang
[spoiler] has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
nofxx has quit [Ping timeout: 264 seconds]
elia has joined #ruby-lang
cnivolle has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.1]
woollyams has quit [Ping timeout: 252 seconds]
heftig has joined #ruby-lang
elia has quit [Client Quit]
skade has joined #ruby-lang
elia has joined #ruby-lang
yubrew has quit [Ping timeout: 252 seconds]
dsaint-pierre has quit [Ping timeout: 252 seconds]
drbrain has joined #ruby-lang
sdouglas has joined #ruby-lang
btiefert has quit [Read error: Connection reset by peer]
btiefert has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
sarkyniin has joined #ruby-lang
banister has joined #ruby-lang
mikecmpbll has joined #ruby-lang
rahul_j has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
yfeldblu_ has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby-lang
rwk1 has joined #ruby-lang
emaxi has joined #ruby-lang
phansch has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 252 seconds]
jsullivandigs has joined #ruby-lang
yfeldblum has joined #ruby-lang
emaxi has quit [Ping timeout: 252 seconds]
jsullivandigs has quit [Ping timeout: 276 seconds]
stamina has joined #ruby-lang
Speed has joined #ruby-lang
rwk1 has quit [Ping timeout: 240 seconds]
willmarshall has joined #ruby-lang
knu has joined #ruby-lang
willmarshall has quit [Client Quit]
yubrew has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
sarkyniin: also for the future - you can easily answer such questions yourself by using pry (or irb)
<sarkyniin>
okay, thanks
yubrew has quit [Ping timeout: 276 seconds]
<sarkyniin>
apeiros: what's pry?
<sarkyniin>
I only use irb
<apeiros>
pry is a better irb
<metamaterial>
how do i pry
<apeiros>
gem install pry pry-doc
dsaint-pierre has joined #ruby-lang
<apeiros>
then just type `pry` instead of `irb`
yfeldblum has quit [Ping timeout: 240 seconds]
robmiller has joined #ruby-lang
dsaint-pierre has quit [Ping timeout: 252 seconds]
sdouglas has joined #ruby-lang
mr-foobar has quit []
ikrima has quit [Ping timeout: 255 seconds]
sdouglas has quit [Ping timeout: 240 seconds]
kitak_ has quit [Read error: Connection reset by peer]
kitak_ has joined #ruby-lang
mr-foobar has joined #ruby-lang
workmad3 has joined #ruby-lang
ob264 has joined #ruby-lang
JohnBat26 has joined #ruby-lang
sdouglas has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
ob264 has quit [Quit: Ex-Chat]
ob264 has joined #ruby-lang
sdouglas has quit [Ping timeout: 240 seconds]
ob264 has quit [Client Quit]
ob264 has joined #ruby-lang
banister has joined #ruby-lang
skade has joined #ruby-lang
emaxi has joined #ruby-lang
benlovell has quit [Ping timeout: 240 seconds]
<yorickpeterse>
Created a repository called "Shepherd"
<yorickpeterse>
Very tempted to put Mass Effect references in it
benlovell has joined #ruby-lang
retro|cz has quit [Ping timeout: 240 seconds]
emaxi has quit [Ping timeout: 265 seconds]
LMity has joined #ruby-lang
ob264 has quit [Quit: Ex-Chat]
jsullivandigs has joined #ruby-lang
fragamus_ has quit [Quit: Computer has gone to sleep.]
ngw has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 240 seconds]
mr-foobar has quit []
LMity has quit [Ping timeout: 276 seconds]
jonathanmarvens has joined #ruby-lang
d4rkr4i has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
mr-foobar has joined #ruby-lang
twright has joined #ruby-lang
yubrew has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
twright has quit [Ping timeout: 264 seconds]
d4rkr4i has quit [Quit: Leaving.]
d4rkr4i has joined #ruby-lang
yubrew has quit [Ping timeout: 265 seconds]
ikrima has joined #ruby-lang
rwk1 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
<gnufied>
yorickpeterse: i sorta love/hate ruby-lint man
dsaint-pierre has joined #ruby-lang
<gnufied>
i am running git master and it almost never detects methods/constants defined in other files in project
<gnufied>
i have been wondering if ruby-lint has a notion of "project"
<yorickpeterse>
Have you considered reporting this as an actual issue so I can look at it?
<yorickpeterse>
and no, it has no notion of a project
<yorickpeterse>
only a working directory
kyb3r_ has quit [Read error: Connection reset by peer]
<yorickpeterse>
It's also rather pedantic about how it expects files to be named
<yorickpeterse>
e.g. if it sees a class called "User" it expects the file "user.rb" (somewhere) to define it
yfeldblum has quit [Ping timeout: 252 seconds]
<yorickpeterse>
It can not handle meta magic very well at the moment
<gnufied>
yeah, I found it to be much more useful than rubocop
<gnufied>
and it integrates nicely via flycheck in emacs
<yorickpeterse>
In all cases if it can't find shit that's a bug
florianb_ has joined #ruby-lang
<yorickpeterse>
with the rare exception of where it's just not possible to find a definition
<gnufied>
it need not handle meta magic, but it seems to be - it should be aware of Project and use all files there
dsaint-pierre has quit [Ping timeout: 252 seconds]
<gnufied>
would you consider it, making it .git aware?
<yorickpeterse>
No
<yorickpeterse>
It already scans ./app and ./lib
<yorickpeterse>
and you can customize those directories
<gnufied>
ah yes.
<yorickpeterse>
That's as close as you can get to a definition of a "project"
<gnufied>
but if I am in, app/models/user/foobar.rb
<yorickpeterse>
which reminds me that I'll need to update Flaycheck and Syntastic this month for the new CLI
<yorickpeterse>
errr flycheck
<gnufied>
then it would look for rubylint.yml in user directory
<yorickpeterse>
gnufied: is your PWD ./app/models/user or ./ ?
<gnufied>
not in root directory of project?
<yorickpeterse>
Yes, it uses PWD/ruby-lint.yml
<gnufied>
depends on how flycheck invokes it, but I suspect it will have inner directory as PWD
<yorickpeterse>
It doesn't work its way up the directory tree because that's slow as a snail
enkristoffer has joined #ruby-lang
florianb_ has quit [Client Quit]
<yorickpeterse>
gah wtf RVM, you don't need to update libaml to 0.1.6
<yorickpeterse>
I ALREADY HAVE IT INSTALLED
<gnufied>
isn't that a design flaw then?
<gnufied>
not in rubylint itself
<yorickpeterse>
it has little to do with ruby-lint or anything in particular
<yorickpeterse>
e.g.
<yorickpeterse>
if you're in foo/bar/bar/asjhdad/asd/asdasd/ads/asd/asd/asd/asd/as/dasd/asd/ and your config file is in foo/ruby-lint.yml, it will take a while to work its way up
<yorickpeterse>
as such it either looks in PWD/ruby-lint.yml or ~/.ruby-lint.yml
<gnufied>
i don't agree it will take awhile to work its way up.
<oddmunds>
that's not exactly what you asked for, but it might solve your problem
<sarkyniin>
ah, yeah, that works
<sarkyniin>
thanks, oddmunds
<sarkyniin>
(I'm working on a bot, and I want to add memos to send to users, but I have to use gists since heroku doesn't support writing to files on disk)
itsmynick has quit [Ping timeout: 255 seconds]
<yorickpeterse>
Doesn't Heroku offer things like PostgreSQL?
<oddmunds>
yeah, maybe you should look into something more suited than gists
<oddmunds>
you can get a free small mongo thing at mongohq for your heroku
alexju has quit [Remote host closed the connection]
<oddmunds>
or, really anything you prefer
<sarkyniin>
yorickpeterse: it's just easier to use gists for a small file
<sarkyniin>
PostgreSQL seems like waaaay too much overkill
havenwood has quit [Remote host closed the connection]
diegoviola has quit [Remote host closed the connection]
<yorickpeterse>
Using Gist for persistent data storage is like using a car tire for writing on paper
havenwood has joined #ruby-lang
elia has joined #ruby-lang
d4rkr4i has joined #ruby-lang
tbuehlmann has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
beef-wellington has quit [Ping timeout: 252 seconds]
<oddmunds>
hehe
wm3|lunch is now known as workmad3
ssb123 has joined #ruby-lang
<oddmunds>
sarkyniin: a nosql thing sounds like it would be a perfect fit for your needs
ikrima has joined #ruby-lang
<yorickpeterse>
actually a nosql storage is a terrible thing for this
<yorickpeterse>
Given they have the "eventual consistency" crap
<oddmunds>
because of their laxness?
sandbags has quit [Ping timeout: 252 seconds]
<yorickpeterse>
Because when you insert a memo you probably want it to be stored right away
<yorickpeterse>
Not a potential 6 hours later
<cout>
hmm.
<oddmunds>
i didn't know that was a feature of nosqls
<yorickpeterse>
Not always, but it's a pretty popular concept amongst them
d4rkr4i has quit [Quit: Leaving.]
<yorickpeterse>
e.g. Mongo, Amazon DynamoDB, etc
alekst has joined #ruby-lang
<sarkyniin>
Is there any small file hosting service that has an easy-to-use api and support to edit files?
<yorickpeterse>
Redis and Memcached don't have it I believe, not sure about Redis though
havenwood has quit [Remote host closed the connection]
<sarkyniin>
I really don't want much, just to host a couple small files
<yorickpeterse>
sarkyniin: Postgres comes for free with Heroku
<oddmunds>
surely, you'd be able to force your persistance thing to store right away?
<sarkyniin>
yorickpeterse: does it update immediatly?
<yorickpeterse>
update?
<yorickpeterse>
you mean the database version?
<oddmunds>
i think he/she refers to the 6 hours thing you mentioned
rwk1 has joined #ruby-lang
<yorickpeterse>
oh right
<yorickpeterse>
Yes, Postgres is consistent in that regard
<sarkyniin>
oh, okay
<yorickpeterse>
Most RDMS systems are
<yorickpeterse>
if not all
<yorickpeterse>
heh, "RDMS systems"
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
dik_dak has joined #ruby-lang
<oddmunds>
Built with NT technology
sdouglas has joined #ruby-lang
yubrew has joined #ruby-lang
philoserf has joined #ruby-lang
fijimunk1i has joined #ruby-lang
<sarkyniin>
yorickpeterse: do you have a simple, easy tutorial as to how postgresql databases work
fijimunkii has quit [Read error: Connection reset by peer]
<sarkyniin>
I'm still beginning, and I don't know how to use db's
alekst has quit [Ping timeout: 276 seconds]
sdouglas has quit [Ping timeout: 255 seconds]
Lewix has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 264 seconds]
fijimunk1i has quit [Ping timeout: 240 seconds]
ikrima has quit [Ping timeout: 252 seconds]
fijimunkii has joined #ruby-lang
yubrew has joined #ruby-lang
philoserf has quit [Quit: Yep. Gotta run. Later.]
vpretzel is now known as vpretzel|1343
ascarter has joined #ruby-lang
rwk1 has quit [Ping timeout: 252 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
nathanstitt has joined #ruby-lang
jsullivandigs has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
khaase_ has joined #ruby-lang
solars has quit [Ping timeout: 255 seconds]
khaase has quit [Ping timeout: 255 seconds]
jsullivandigs has quit [Ping timeout: 240 seconds]
apeiros has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
apeiros has joined #ruby-lang
kitak has quit [Remote host closed the connection]
kitak has joined #ruby-lang
sandbags has quit [Remote host closed the connection]
sandbags has joined #ruby-lang
rwk1 has joined #ruby-lang
ssb123 has joined #ruby-lang
beef-wellington has joined #ruby-lang
apeiros has quit [Ping timeout: 265 seconds]
<gnufied>
eventually consistency only refers to how storage behaves in distributed environment
<gnufied>
I don't like mongo as much as you, but I think you are way off its definition
<gnufied>
yorickpeterse: ^
havenwood has joined #ruby-lang
sandbags has quit [Ping timeout: 252 seconds]
<yorickpeterse>
No, I said it's often a part of NoSQL (but not a core definition)
<yorickpeterse>
One of the things is that there's no guarantee made about when something happens when modifying data
solars has quit [Ping timeout: 252 seconds]
<gnufied>
you are conflating DURABILITY with eventual consistency
<gnufied>
:-)
<yorickpeterse>
eh, no
ssb123 has quit [Ping timeout: 240 seconds]
<yorickpeterse>
It might not occur when you run a single master
<bougyman>
doesn't mongo have an ACID mode yet?
<gnufied>
yorickpeterse: and that is called durability, when you save something db should guarantee that it is saved to disk
emaxi has quit [Remote host closed the connection]
<yorickpeterse>
bougyman: you have a bunch of options that can give you pseudo consistency
<bougyman>
I can never understand why someone would use a non-acid datastore for authorative data.
<bougyman>
yorickpeterse: pseudo is not good enough.
<yorickpeterse>
I'm more than aware of that
<yorickpeterse>
Hence you should not run a Bitcoin service on Mongo
emaxi has joined #ruby-lang
<gnufied>
eventual conssitency means, when you save something the changes will be propagated to all particapating nodes eventually
mindriot101 has joined #ruby-lang
<yorickpeterse>
gnufied: that's my point, I never said anything about saving to disk or w/e
<gnufied>
even mysql replication is eventually consistent
<yorickpeterse>
I stated that if you save shit it *might* not be there directly
<bougyman>
gnufied: mysql replication is possible consistent, eventually.
<bougyman>
*possibly
<yorickpeterse>
At least MySQL is generally concistently fast in it
<yorickpeterse>
(at least for us)
<gnufied>
whats what I said, isn't it?
<bougyman>
you left out the 'possibly'
<yorickpeterse>
heh
mindriot101 has quit [Client Quit]
<bougyman>
unless one can afford oracle or foundation db, postgres seems the only sane choice, if given the choice.
<bougyman>
even given that choice, in most cases I would take pg over oracle & foundation.
<yorickpeterse>
Perhaps a better case against NoSQL: you very much know the schema when storing memos
<bougyman>
postgres is great at nosql, as well.
<jtperreault>
I need to iterate over an array and create n new arrays containing the values. How to do this without first creating the arrays to push the values into?
<bougyman>
i saw a case study where it did graphing as efficiently as neo4j. document as efficiently (and with durability) as mongo.
<yorickpeterse>
bougyman: I'd like to see people benchmark it with more than 10 rows of identical data
emaxi has quit [Ping timeout: 276 seconds]
<bougyman>
with its ability to index on json now, it really obviates a bunch of noSQL
<yorickpeterse>
Often you'll see folks run "benchmarks" of 10 000 identical documents
<bougyman>
yorickpeterse: check out keith4 or davidfetter's blog.
<yorickpeterse>
But yes, the json storage feature is actually quite interesting
<yorickpeterse>
bougyman: link?
<yorickpeterse>
I have no idea who those people are
<workmad3>
sarkyniin: look very closely at this - 'Class Memo'
<sarkyniin>
is it "class Memo"?
imperator has joined #ruby-lang
<sarkyniin>
oh man, it was that.
<sarkyniin>
thanks workmad3
<sarkyniin>
also thanks apeiros
benlovell has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Ping timeout: 252 seconds]
philoserf_ has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby-lang
philoserf has joined #ruby-lang
philoserf_ has left #ruby-lang [#ruby-lang]
symm- has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
d4rkr4i has joined #ruby-lang
symm- has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
arBmind1 has quit [Ping timeout: 276 seconds]
tris has quit [Read error: Connection reset by peer]
qba73 has quit []
mikecmpbll has joined #ruby-lang
ascarter has joined #ruby-lang
robbyoconnor has quit [Excess Flood]
ikrima has joined #ruby-lang
robbyoconnor has joined #ruby-lang
tris has joined #ruby-lang
skade has joined #ruby-lang
symm- has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
retro|cz has quit [Ping timeout: 255 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 252 seconds]
iliketurtles has joined #ruby-lang
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hauleth has joined #ruby-lang
ascarter has joined #ruby-lang
philoserf is now known as _random_citizen_
djbkd has joined #ruby-lang
hauleth has left #ruby-lang [#ruby-lang]
Jolly1 has quit [Ping timeout: 264 seconds]
hauleth has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
elia has joined #ruby-lang
elia has quit [Client Quit]
futilegames has quit [Quit: futilegames]
amsi has joined #ruby-lang
symm- has joined #ruby-lang
phansch has quit [Quit: WeeChat 0.4.2]
mikecmpbll has joined #ruby-lang
rofel has joined #ruby-lang
elia has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
khaase has joined #ruby-lang
khaase has quit [Changing host]
khaase has joined #ruby-lang
djbkd has joined #ruby-lang
RobertBirnie has joined #ruby-lang
dorei has joined #ruby-lang
jsrn has joined #ruby-lang
t4nk331 has joined #ruby-lang
<t4nk331>
hi everyone
_elia has joined #ruby-lang
<t4nk331>
i had a question is their any good ruby admin resoucres for remote host and stuff
skade has quit [Quit: WeeChat 0.4.3]
mikecmpb_ has joined #ruby-lang
ikrima has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby-lang
elia has quit [Ping timeout: 252 seconds]
jsrn has quit [Quit: Leaving]
rwk1 has quit [Remote host closed the connection]
DJScias has joined #ruby-lang
<DJScias>
Hello there!
<DJScias>
How are you all today?
itsmynick has joined #ruby-lang
<centrx>
.
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
<DJScias>
I have a small question and the time to wait to see if anyone feels like answering: I'm working on an ircbot in ruby which posts the commits through IRC.. The bot uses a 'system("mkfifo #{$fifo}")' in the '/tmp/' folder.. But for some reason there is no fifo being created. I'm running on windows, any ideas?
<centrx>
Does Windows have mkfifo?
robbyoconnor has quit [Ping timeout: 252 seconds]
Pupeno has quit []
<DJScias>
I've been looking around for that and nothing really gives me an answer on that.
<DJScias>
It was a simple bot created for running under the Windows environment though.
<DJScias>
If you want, I can create a gist. /shrugs
<centrx>
mkfifo is a Unix command and /tmp/ is a Unix directory
<centrx>
It might by using a Unix environment under Windows, like cygwin or ming
<ledestin>
DJScias: you could go all the way and use cygwin
<DJScias>
I'll be honest when I say I have no idea how to change it to that.
djbkd has quit [Remote host closed the connection]
<DJScias>
I'm working with a script that was provided for the bot, I did minor changes to it.. But that's how far my knowledge goes
<ledestin>
install cygwin, run it from cygwin shell
vpretzel|1343 has quit [Ping timeout: 265 seconds]
<DJScias>
Alright.
Asher has quit [Quit: Leaving.]
<imperator>
globals, hard coded paths and system calls
<imperator>
OOF
dwknoxy has joined #ruby-lang
vpretzel_ is now known as vpretzel
robbyoconnor has quit [Ping timeout: 252 seconds]
hahuang65 has joined #ruby-lang
enebo has quit [Quit: enebo]
hahuang61 has joined #ruby-lang
robbyoconnor has joined #ruby-lang
emaxi has quit [Remote host closed the connection]
rofel has quit [Remote host closed the connection]
emaxi has joined #ruby-lang
metamaterial has joined #ruby-lang
developerjustin has joined #ruby-lang
itsmynick has quit [Ping timeout: 252 seconds]
emaxi has quit [Ping timeout: 252 seconds]
_elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has joined #ruby-lang
<TimmyB>
Newbie question: why does "Hello".downcase! return "hello" while "hello".downcase! returns nil ?
<ledestin>
TimmyB: changed string vs unchanged
<ledestin>
it should be reflected in docs
<ledestin>
it’s a common pattern in Ruby core
<apeiros>
TimmyB: use the non-bang method if you want the return value
qba73 has joined #ruby-lang
<TimmyB>
seems confusing. okay thanks ledestin and apeiros
<ledestin>
TimmyB: it’s bad enough, especially for map!
<apeiros>
TimmyB: bang methods mutate the object in-place. you're not supposed to need the return value. so the patter is to make the return value meaningful by returning nil w/o change and self with change
havenwood has quit [Ping timeout: 252 seconds]
dsaint-pierre has quit [Remote host closed the connection]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Kristine_>
rvm install 2.0.0 --patch gcdata --name perf failed with Patch 'gcdata' not found.
yann_ck has joined #ruby-lang
vpretzel has quit [Remote host closed the connection]
vpretzel has joined #ruby-lang
dsaint-pierre has joined #ruby-lang
kith has quit [Quit: kith]
kith has joined #ruby-lang
jonathanmarvens has quit [Remote host closed the connection]
<centrx>
Kristine_, RVM source directory only has that patch for 1.9.3 and 1.9.2
<centrx>
Kristine_, There have been significant garbage-collection changes since then
emaxi has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
emaxi has quit [Client Quit]
DJScias has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby-lang
iliketurtles has joined #ruby-lang
dsaint-pierre has quit [Ping timeout: 276 seconds]
<Kristine_>
Thx for the info. I ran ruby-prof against a rake task in ruby 2.0.0 with --mode=memory and --printer=graph_html and the results are not useful (no memory usage information). https://github.com/ruby-prof/ruby-prof mentions that a 'patched Ruby interpreter' is required. My running theory is that ruby-prof doesn't play well with ruby 2.0 yet, so I'll try a patched 1.9.3 instead temporarily just to profile.
loincloth has joined #ruby-lang
jonathanmarvens has quit [Ping timeout: 264 seconds]
Squarepy has joined #ruby-lang
ttilley has quit [Quit: Leaving...]
* imperator
sees what appears to be a few forks of ruby-prof, wonders if one of them works with 2.0
<imperator>
hm, changelog says it supports ruby 2.0 as of 0.14.0
<imperator>
2.1
amsi has quit [Ping timeout: 264 seconds]
amsi has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
Fretta has quit [Ping timeout: 252 seconds]
allomov has quit [Ping timeout: 252 seconds]
ikrima has joined #ruby-lang
rwk1 has joined #ruby-lang
qba73 has quit [Remote host closed the connection]
allomov has joined #ruby-lang
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 265 seconds]
ikrima has quit [Ping timeout: 276 seconds]
rwk1 has quit [Ping timeout: 240 seconds]
qba73 has joined #ruby-lang
itsmynick has joined #ruby-lang
itsmynick has quit [Client Quit]
jonathanmarvens has joined #ruby-lang
omosoj has quit [Ping timeout: 252 seconds]
CodeBunny has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
<imperator>
how do I avoid this warning? syswrite for buffered IO
<imperator>
ah, sync = true
justinweiss has quit [Ping timeout: 246 seconds]
lele has quit [Ping timeout: 246 seconds]
phrozen77 has quit [Ping timeout: 246 seconds]
kvs has quit [Ping timeout: 246 seconds]
kalleth has quit [Ping timeout: 246 seconds]
zenojis has quit [Ping timeout: 246 seconds]
cschneid has quit [Ping timeout: 247 seconds]
lele|w has quit [Ping timeout: 247 seconds]
RubyDubyDoo has quit [Quit: Leaving.]
stamina has joined #ruby-lang
justinweiss has joined #ruby-lang
ikrima has joined #ruby-lang
amsi has joined #ruby-lang
amsi has quit [Ping timeout: 264 seconds]
antonishen has quit [Ping timeout: 246 seconds]
gnufied has quit [Ping timeout: 245 seconds]
kalleth has joined #ruby-lang
kvs_ has joined #ruby-lang
strmpnk has quit [Ping timeout: 246 seconds]
swills has quit [Ping timeout: 246 seconds]
joelmheim has quit [Ping timeout: 246 seconds]
avdi has quit [Ping timeout: 245 seconds]
gchristensen has joined #ruby-lang
stamina has quit [Client Quit]
ratmav has joined #ruby-lang
robmiller has quit [Quit: Leaving.]
<gchristensen>
is there a difference between #ruby and #ruby-lang?
<apeiros>
take your pick :)
<apeiros>
"-lang", ~600 people, this one being the official
<ratmav>
i'm looking to return either true or false from a method. which is preferred? creating a variable, assigning true/false to the variable, then implictly return the variable?
lele has joined #ruby-lang
gnufied has left #ruby-lang [#ruby-lang]
<CodeBunny>
ratmav: The later is more straghtforward, the former is sometimes easier to use
<ratmav>
apeiros, explicit return?
<ratmav>
let me get that gist up
postmodern has joined #ruby-lang
<gchristensen>
*phew* -lang sounds way better, I'm not sure I've ever gotten good help from #ruby itself
joelmheim has joined #ruby-lang
axv has joined #ruby-lang
<ratmav>
apeiros, i'll mock up a gist real quick
zenojis has joined #ruby-lang
antonishen has joined #ruby-lang
gnufied has joined #ruby-lang
elia has joined #ruby-lang
<apeiros>
oh, different owners
<ratmav>
apeiros, CodeBunny : trying to get my style "proper" i guess. been using the ruby style guide lately
<CodeBunny>
I use both, depending on what I'm trying to do.
<CodeBunny>
and 'proper' be fucked
<apeiros>
ratmav: latter if you can
<ratmav>
or explicitly returning true or false?
<apeiros>
ratmav: yes. but feel free to gist the method in question.
<CodeBunny>
#ruby is chattier
jgpawletko has quit [Quit: jgpawletko]
lacrosse has quit [Ping timeout: 249 seconds]
allomov has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
yann_ck has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arBmind has quit [Quit: Leaving.]
zlogan has joined #ruby-lang
<CodeBunny>
But I'm a stinky girl and I use tabs
<apeiros>
CodeBunny: IMO the former case will be obvious, as in the method is multiline and the result can come from several places or similar
phrozen77 has joined #ruby-lang
avdi has joined #ruby-lang
<apeiros>
CodeBunny: i.e., use latter if you can, if you can't it'll be self-evident anyway
<apeiros>
but something like: def foo?; res = @x =~ /blah/; res ? true : false; end # <-- silly, drop that `res =` and do the ternary straight
strmpnk has joined #ruby-lang
<apeiros>
ratmav: reduce that to just array_list.include? parameter
<apeiros>
single line method really
yfeldblum has joined #ruby-lang
<apeiros>
there's zero point in "translating" the already boolean return value of include?
<gchristensen>
I'm using open-uri on an HTTPS resource, and I'm getting an OpenSSL::SSL::SSLError SSL_connect exception about certificate verify failed, meanwhile chrome and curl do fine, running 2.0.0p353 -- here's a gist (with a sample URL, and output) https://gist.github.com/grahamc/a05e6e1d80524e694807 -- any tips on resolving this? I tried updating the ca bundle, that didn't seem to make an effect. I don't want to