<shevy>
is yugui ever writing on the channel here ... :D
<apeiros_>
I don't think I've ever seen her write something
<apeiros_>
but that may be due to the timezones
<codestorm>
I'm looking for opinions on a stack for a social game REST API. No html, just JSON. It'll need to scale in case the game takes off, so it''ll most likely end up as a could soltuon a cloud most likely, should
<codestorm>
oops, it'll most likely end up as a cloud solution.
brianpWins_ has joined #ruby
brianpWins has quit [Ping timeout: 246 seconds]
brianpWins_ is now known as brianpWins
jonathan_ has quit [Remote host closed the connection]
<codestorm>
offhand, I'm thinking Ruby/sinatra and maybe mongoDB
<apeiros_>
scaling is a hard problem. hard problems are expensive to solve. which is why you usually should concentrate on it when it becomes necessary.
<apeiros_>
because usually when it becomes necessary, you also get the financial tools to pay for the solutions.
<banisterfiend>
apeiros_: which do u prefer tmux or screen
<apeiros_>
I don't use either
Karmaon has joined #ruby
<oz>
codestorm: Sinatra's a good choice, I've heard good things about Grape too if you're building an API, but never got to use it.
<codestorm>
thanks, i hadn't heard of Grape
<oz>
you should check it out to see if it fits your needs better than a bare Sinatra ^^
RainbowDashh has joined #ruby
ckrailo has quit [Quit: Computer has gone to sleep.]
lolsuper_ has joined #ruby
lolsuper_ has quit [Changing host]
lolsuper_ has joined #ruby
<codestorm>
yeah, I'll look into it
sorbo_ has joined #ruby
iocor has joined #ruby
<codestorm>
any thoughts on a back end? MongoDB? something else?
<oz>
well, what do you know?
<codestorm>
nothing that I'd want to use, really, I know MS-SQL, I've used noSQL on google app engine… so I'd rather pick the best tool and learn it
nfk has quit [Quit: yawn]
<oz>
well mysql or mongodb are both fine, and have good support in ruby
<oz>
postgresql is another good choice if you don't like Oracle :P
ukd1 has joined #ruby
<oz>
I'd run a few benchs if unsure
freeayu has joined #ruby
<codestorm>
thanks again, you too apeiros_
<oz>
you're welcome
jimeh has quit [Ping timeout: 248 seconds]
looopy has quit [Remote host closed the connection]
hunglin has quit [Quit: Leaving.]
axiak has quit [Remote host closed the connection]
bwlang has quit [Quit: bwlang]
Ravi has joined #ruby
akem has quit [Quit: Forget progress by proxy. Land on your own moon.]
Karmaon has quit [Remote host closed the connection]
yugui_zzz is now known as yugui
fantazo has quit [Ping timeout: 240 seconds]
iocor has quit [Quit: Computer has gone to sleep.]
<jsilver>
actually, I'm trying to create an HTTP chat that runs on the cloud, but don't use short polling
<jsilver>
and no javascript
<jsilver>
k
<shadoi>
You want websockets.
<jsilver>
yes, i've seen cramp, it looks good
<jsilver>
websockets ah
<Progster>
is there a way to specify multiple ranges as one?
<Progster>
like 'a'..'z' and '1'..'9'
<jsilver>
regex?
hunglin has joined #ruby
<jsilver>
use character class like [a-z0-9]. or w/e cant remember exact syntax
<shadoi>
Progster: a range is an instance of a class, so no.
<jsilver>
yeah
<jsilver>
Range itself is a single range
<jsilver>
you could use an array though
<jsilver>
[(a..z), (1..9)]
Hanmac has joined #ruby
<samuelkadolph>
[*("a".."z"), *("1".."9")]
ringotwo_ has quit [Remote host closed the connection]
<shadoi>
splatter
amh345 has joined #ruby
<Progster>
ahh you splat the range
<Progster>
nice
<samuelkadolph>
splat works with anything that responds to to_ary
billiamii has quit [Ping timeout: 244 seconds]
nso95 has joined #ruby
<jsilver>
wow Cramp looks better than rails!
<amh345>
has anyone here used amazons s3 bucket with and read the s3 directory?? on my nix file system Dir.glob("path/to/file/*.*) do | file | files << file end worked like a charm. but on s3. no dice.
bwlang has joined #ruby
* Enekoos
se despide
<shadoi>
jsilver: it's much more focused on a specific problem. :)
<nso95>
I'm going to begin my adventure from Python to Ruby
<jsilver>
ah
<jsilver>
inddeed
medik has quit [Ping timeout: 260 seconds]
<jsilver>
nso95: cool! let us kno if u have any questions
<nso95>
Sure will, Thank you :)
<shadoi>
amh345: you could use the s3fs (fuse I think) thing and then the same thing would work.
Enekoos has quit [Quit: Saliendo]
RainbowDashh has joined #ruby
bwlang has quit [Client Quit]
billiamii has joined #ruby
<jsilver>
aw no websockets on heroku
<amh345>
shadoi: sorry. is that on the s3 side of things or the ruby side ?
<shadoi>
amh345: linux
<jsilver>
whats the point of cloud if yr that efficient and scalable tho
Dreamer3 has quit [Quit: Computer has gone to sleep.]
<shadoi>
jsilver: the problem with getting all your info from IRC is there are too many opinions and not enough googling. :)
<amh345>
shadoi: that's pretty cool. i'll look into it if i cant get Dir.glob to work
<jsilver>
ah i barely come on here, ive been doin googling wrong or something
<jsilver>
i really really neeeded it lol :)
<jsilver>
seems like, if i can write a good enough stack, it shouldnt need heroku and i can have n connections
<jsilver>
just want my customers to be able to use it
<jsilver>
so this is good
<deryl>
How can you have any pudding if you don't eat your meat? See? Pink Floyd knew about the link between google and knowledge way before they became! pudding == knowledge, eat your meat == learn to google!
<deryl>
yeah thats my story and I'm stickin to it!
<shadoi>
drop the crack pipe.
<deryl>
hahaha
lolsuper_ has quit [Quit: Leaving]
noganex has quit [Ping timeout: 246 seconds]
strnx has joined #ruby
boredomist has joined #ruby
<jsilver>
i swear thats the last of my easily googleable questions i swear
noganex has joined #ruby
<G_pSp_r_>
ALLAH AKBAR!!!!!!!!!!!!
<deryl>
speaking of pudding. think its time to make some chocolate pudding for that instant gratification fix
dhruvasagar has quit [Read error: Connection reset by peer]
umttumt has joined #ruby
yoklov has quit [Quit: bye!]
umttumt has quit [Remote host closed the connection]
Karmaon has quit [Remote host closed the connection]
thecreators has joined #ruby
cj3kim has joined #ruby
Karmaon has joined #ruby
Sheehan has quit [Quit: Sheehan]
charliesome has joined #ruby
wookiehangover has quit [Quit: i'm out]
tewecske has joined #ruby
<nso95>
Is there any real difference between puts and print?
mockra has quit [Remote host closed the connection]
<heftig>
nso95: puts ensures a newline
<nso95>
Thanks
wookiehangover has joined #ruby
uris has quit [Quit: leaving]
techno has joined #ruby
randym has joined #ruby
Prometheus has quit [Ping timeout: 265 seconds]
nightzpy_ has quit [Quit: Saliendo]
emmanuelux has joined #ruby
mockra has joined #ruby
noyb has joined #ruby
Progster has quit [Ping timeout: 250 seconds]
emmanuelux has quit [Remote host closed the connection]
mohits has joined #ruby
mohits has quit [Changing host]
mohits has joined #ruby
daniel_hinojosa1 has joined #ruby
buharin has joined #ruby
<buharin>
hello :)
<buharin>
can y give me some advice?
daniel_hinojosa has quit [Ping timeout: 265 seconds]
<seanstickle>
Nope.
<Mon_Ouie>
I can give you one: don't ask for the permission to ask a question
RainbowDashh has quit [Quit: Computer has gone to sleep. DERPY HOOVES SLAMMING THE LAPTOP LID MISTAKE?]
elyos has joined #ruby
elyos has quit [Remote host closed the connection]
gtuckerkellogg has joined #ruby
ardianys has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
shadoi has quit [Quit: Leaving.]
<undyingrage>
in other languages, switch statements often require a return to prevent each case from following onto the next, in ruby you dont need to add return to exit the case anymore right?
<undyingrage>
^ but what if i want certain cases to have the same statements?
Banistergalaxy has quit [Ping timeout: 252 seconds]
<graspee>
add them with commas
<undyingrage>
what if they overlap with the default case, the else
<graspee>
how do you mean, sorry
<graspee>
i mean like do
<graspee>
case variable
<graspee>
when 1
<graspee>
do stuff
<graspee>
when 2
<graspee>
do stuff
<graspee>
when 5,9,45
<graspee>
do stuff
<graspee>
else
maletor has joined #ruby
<Paradox>
pastebin pls
<graspee>
do default stuff
<Paradox>
lol
<graspee>
sorry
<Paradox>
i didnt come here to bitch, actually
<Paradox>
im using rbenv
quest88 has quit [Quit: quest88]
<Paradox>
and just did a painful upgrade which entailed gem list --local > gems.txt
<Paradox>
then reinstalled them all after the upgrade to p194
<Paradox>
which got me wondering
<undyingrage>
graspee: yup got it thanks
<Paradox>
is there any way to list all installed gems on a system in a Gemfile format?
<Mon_Ouie>
em::Specification.each {|s| p [s.name, s.version.to_s] }em::Specification.each {|s| p [s.name, s.version] }
<Mon_Ouie>
448.mkv
<Mon_Ouie>
449.mkv
<Mon_Ouie>
Weird.
<Mon_Ouie>
Gem::Specification.each {|s| p [s.name, s.version.to_s] } <- what I actually meant
<Paradox>
thats close
<Paradox>
but not quite gemfile
<Paradox>
but i see what i could do now
<Paradox>
thanks
yugui is now known as yugui_zzz
hunglin has quit [Quit: Leaving.]
<Paradox>
Mon_Ouie, thats an awesome one-liner btw
<Paradox>
you just saved me a shitfuckload of trouble
Juul has quit [Ping timeout: 252 seconds]
umttumt has joined #ruby
ipoval has quit [Quit: ipoval]
francisfish has joined #ruby
superguenter has joined #ruby
mdw has joined #ruby
<Paradox>
banisterfiend, hey, pry-coolline seems to break ^U clearing of the input buffer
brianpWins has joined #ruby
<Paradox>
Mon_Ouie, or is that a feature of coolline
cyong has joined #ruby
RainbowDashh has joined #ruby
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
SegFaultAX has joined #ruby
<aces1up>
if i have a string "my string with $variable" -- what would be a good way to do a gsub on the $variable to replace it with the object variables using a send($variable.to_sym) ?
<aces1up>
damn ok well.. what is the best way to do what I want just by placeing a $before the string so if i have multiple $tags in my string it would replace with object vars?
RainbowDashh has quit [Quit: Computer has gone to sleep. DERPY HOOVES SLAMMING THE LAPTOP LID MISTAKE?]
<Paradox>
ah
<Paradox>
in your gsub
<Paradox>
reference capture groups via \1
<aces1up>
have an example?
<Paradox>
hold on
<Paradox>
you use a block
fgwaegeawgfwa has joined #ruby
<Paradox>
yeah
<Paradox>
use $1
<Paradox>
thats the match
<aces1up>
yeh, i'm not getting how to connect the whole thing with that
<Paradox>
probably dont need the |tag_element| art
virtualsue has quit [Quit: ChatZilla 0.9.88.2 [Firefox 13.0/20120601045813]]
ardianys has joined #ruby
francisfish has quit [Remote host closed the connection]
<aces1up>
seems to be working thanks.
bfig has joined #ruby
<aces1up>
for future ref.. is $1 thread safe?
kemplu has quit []
fantazo has quit [Remote host closed the connection]
khakimov has quit [Quit: Computer has gone to sleep.]
RainbowDashh has joined #ruby
<Paradox>
its a global
<bfig>
how are function calls supposed to work? i'm calling puts "a" "b" and "a" gets put, then "b" is computed?
<bfig>
ie, puts "a" "b" ~ puts "a"; "b"; ?
<Mon_Ouie>
Paradox: Coolline::Handler instead of Handler
<Paradox>
Mon_Ouie, thanks
seitensei has joined #ruby
<Paradox>
unfortunately it doesn't seem to be doing anything
<Paradox>
probably need to run load_config again
eurbach has joined #ruby
workmad3 has joined #ruby
kevin20 has joined #ruby
khakimov has joined #ruby
<bfig>
how are function calls supposed to work? i'm calling puts "a" "b" and "a" gets put, then "b" is computed?
khakimov has quit [Client Quit]
<Paradox>
no…
mockra has quit [Remote host closed the connection]
<banisterfiend>
bgupta: "a" and "b" get concatenated
<banisterfiend>
bfig: *
seitensei has quit [Ping timeout: 248 seconds]
<banisterfiend>
bfig: so its' the same as doing: puts "ab"
<bfig>
banisterfiend, no they don't
<bfig>
ohh yes they do
<bfig>
why am i getting a => Nil ?
<bfig>
is that the return value?
<banisterfiend>
bfig: puts returns nil
<bfig>
ok
Xethron has quit [Ping timeout: 244 seconds]
<bfig>
so the behavior of puts is to concatenate all values if they are strings, if they are not it throws an exception?
<bfig>
(and print them of course)
<bfig>
(and return Nil)
<banisterfiend>
bfig: puts can display other objects by calling to_s on it
<banisterfiend>
bfig: read a book :P
<bfig>
if i write puts "a" 3, it collapses
<bfig>
syntax error: unexpected tINTEGER
<banisterfiend>
bfig: ah, you were talking about concantenation
<banisterfiend>
bfig: yeah, basically you should never use puts "a" "b" anyway
<bfig>
i'm trying to reproduce the behavior of the irb in c++
<banisterfiend>
bfig: it's highly unidiomatic, if u want to concatenate two strings together use "a" + "b"
<banisterfiend>
bfig: why?
<bfig>
why not?
<bfig>
(school project)
nari has quit [Ping timeout: 240 seconds]
rdg has joined #ruby
cj3kim has quit [Quit: This computer has gone to sleep]
<bfig>
so, idiomatically, i'd like to have (Show a) => puts :: a -> IO () ?
<seanstickle>
Ha, I was going to link you to the draft ISO spec
<seanstickle>
But it seems that it is now password protected, as it is now an *official* and quite expensive spec
<bfig>
(i know that is haskell code but i feel it is sufficiently understandable and i don't know the ruby equivalent)
<bfig>
lol
<bfig>
dumbasses at iso
maletor has quit [Quit: Computer has gone to sleep.]
<seanstickle>
Yes, darn them and their self-financing ways
<seanstickle>
Their independent operational ability is to be mocked and jeered!
<bfig>
hey, it was a continuation of your sarcasm, don't start flaming me
seitensei has joined #ruby
kevin20 has quit [Ping timeout: 245 seconds]
<Paradox>
banisterfiend, while you're here, i'm trying to get pry-coolline to respect ^U to clear the line. I've got a snippet provided by Mon_Ouie added to my .pryrc, but it doesnt seem to work: https://gist.github.com/2943857
<csmrfx>
"To view this wep sait corretly, 1200p HD display is neededs"
deryl has joined #ruby
dekronin1 has quit [Ping timeout: 240 seconds]
<banisterfiend>
csmrfx: your website sux :)
<banisterfiend>
csmrfx: thoug u have some good links there, e.g pry
<csmrfx>
I am thinking of making my website pay-per-view
<dekroning>
I'm writing some integration specs, and currently i'm wondering when or perhaps if it's even advised to do mocking there? Reason is I want to double check that my CarRadio object is able to play a song, so when i run radio.play(song) I want to assert that the song receives a play message, thus mocking out the song interface
<csmrfx>
Me, I am a simple person and to me mocking is too complicated
<csmrfx>
sometimes you have to
<csmrfx>
but I usually go around in other ways than mocking, then
* csmrfx
is like the worst test engineer
<dekroning>
hehe :-)
<dekroning>
still i'll take your thoughts into consideration ;-)
zommi has joined #ruby
seanstickle has quit [Quit: Nihil sub sole novum]
relix has quit [Quit: Connection closed for inactivity]
mohits has joined #ruby
<dekroning>
I have a reason to mock it, and a nother reason so don't mock it :-) reason to Mock it, is that I don't want to implement all the dependencies yet (on the other hand, maybe I should because this is the integration test)
<banisterfiend>
dekroning: you've been obsessed with testing for the last few months iirc :P
<dekroning>
and the reason not to mock it, is that i'm not certain if everything works when I mock in my integration suite. (mocking external interfaces would be a different matter I think)
<dekroning>
banisterfiend: hahaha yeah :-)
<banisterfiend>
dekroning: i wonder if u ever write software, or just write endless tests instead? :)
<dekroning>
banisterfiend: at the moment, you are right. I'm not even writing software just endless tests indeed, which is a sad thing perhaps :)
<dekroning>
it's just that if I don't understand something, writing software doesn't feel good to me
<csmrfx>
mocking can lead to an interesting problem of re-engineering whatever you're mocking
<csmrfx>
then you'd need to write tests for that
<csmrfx>
and then...
<banisterfiend>
dekroning: why not pick an interesting opensource project, and analyse their tests
<banisterfiend>
dekroning: then you can make commits to the project, and write tests for your commits, and get feedback that way
<csmrfx>
I just friggin make a bunch of code blocks that print out "test ok" or "test failed" for testing
charliesome has quit [Quit: Computer has gone to sleep.]
araujo has joined #ruby
araujo has joined #ruby
<csmrfx>
imo best thing about having tests is you can feel confident youre not breaking things when fixing other things or adding features
<dekroning>
banisterfiend: intresting idea indeed. On the first issue, analyzing their tests... when looking at the test end restults. You just mis a lot of information on how it was formed. Ofcourse I could look at each individual commits to reveal some of those evolutions
<dekroning>
csmrfx: yeah and that's why in my integrationt tests. It feels unnatural to mock out some stuff, e.g. in my cause mock out the "song interface"
<dekroning>
on the other hand maybe it's not. Because the current "song interface" should in a sense be pretty stable for a certain brand of car radio's
<dekroning>
hope that makes sense :)
<csmrfx>
sure
kevinbond has quit [Quit: kevinbond]
deryl has quit [Ping timeout: 265 seconds]
<csmrfx>
but, can you just plug in the car radio and have tests actually run on that env
<dekroning>
an "on that env" you mean the "real" unstubbed/unmocked environment you mean right ?
<dekroning>
e.g. the integration team at BWM would really plug in a music CD and listen if the radio works
mohits has quit [Read error: Connection reset by peer]
schovi has joined #ruby
yekta has joined #ruby
tobago has quit [Ping timeout: 244 seconds]
tobago has joined #ruby
snearch has quit [Quit: Verlassend]
jimeh has quit [Ping timeout: 240 seconds]
dekroning has quit [Ping timeout: 248 seconds]
jimeh has joined #ruby
foofoobar has joined #ruby
bluOxigen has joined #ruby
<foofoobar>
Hi guys. I want to write a small GUI with ruby which replaces some stuff I currently do with excel. It's not that complex, just some saving of values, nicely printing them out and saving it to a sqlite database.
<foofoobar>
Why GUI framework can you suggest me? I had a look at ruby shoes, but is it really for "production" ?
francisfish has joined #ruby
<foofoobar>
My app is not that complex, but it should look nice and structured and I do not know if I can achieve this with ruby shoes
<csmrfx>
I guess, jruby would be the most cross platform
moshee has quit [Ping timeout: 245 seconds]
<foofoobar>
csmrfx: So if I want to give my application to a friend, what does he have to install for running something like monkey bars? jruby + monkey bars toolkit? Or Can I bundle all in one .exe for him? (he is on windows)
<Enekoos>
not know gen i put require "torrentsync" and "rubygems"
foofoobar has joined #ruby
<bnagy>
Enekoos: looks like you don't have nokogiri installed
<bnagy>
and whoever made that gem didn't include it as a dependency for some reason
Beoran_ has quit [Ping timeout: 245 seconds]
<shevy>
hmm
<Enekoos>
oh thanks "gem install nokogiri
<Enekoos>
noob error
<bnagy>
henn1nk: I'd suggest #rubyonrails because you said 'active record' but I don't know if this is just a plan ruby question - it's not clear what you want to do / what's not working
yugui is now known as yugui_zzz
<henn1nk>
bnagy: i know. but there is no anwer at the moment :P ... i would like to receive for get_type(:agb) source.agb
davidcelis has quit [Read error: Connection reset by peer]
jbw_ has quit [Ping timeout: 246 seconds]
davidcelis has joined #ruby
rdg has quit [Quit: ttfn]
ph^ has quit [Remote host closed the connection]
ph^ has joined #ruby
Kn|t3 has joined #ruby
<xbob>
hi, ruby noob needs some help after hours being stuck on something that has to be trivial but I don't get it (work based on "The Well-Grounded Rubyist" book)
darthdeus has quit [Read error: Connection reset by peer]
cousine has joined #ruby
<bnagy>
just use :file and not "file"
<shevy>
Enekoos notice the :
<Enekoos>
t.add_torrent(fichero, ":file") ->type has to be :url or :file. (ArgumentError) ||||| t.add_torrent(fichero, :file) -> `get_session_id': undefined method `debug' for nil:NilClass (NoMethodError)
<shevy>
the class is nil
yonggu has quit [Remote host closed the connection]
<shevy>
given how many problems you have with this project, I wonder if the project sucks ;)
<Enekoos>
:(
yonggu has joined #ruby
<csmrfx>
kalinihta
<csmrfx>
a torrent gem!?
<Enekoos>
I try around 5 gems for torrent all have problems
liluo has joined #ruby
foofoobar has quit [Quit: bb]
<Enekoos>
shevy-> I´m not sure can resolve proyect :/
francisfish has quit [Remote host closed the connection]
<Enekoos>
need add and remove torrent only!!! :(
bradhe has quit [Remote host closed the connection]
<Enekoos>
Your request had an invalid session-id header.
_br_ has joined #ruby
<bnagy>
something is broken between the gem's code and that rest api then
<Enekoos>
:/
<Enekoos>
I go to eat
<Enekoos>
thanks all for help :)
<Enekoos>
try now in 1 hour
neku has quit [Quit: Leaving...]
sbanwart has quit [Ping timeout: 260 seconds]
miho has joined #ruby
liluo has quit [Remote host closed the connection]
ronnie_ has quit [Quit: Leaving...]
gtuckerkellogg has joined #ruby
saschagehlich has joined #ruby
nari has joined #ruby
jimeh has joined #ruby
Vert has quit [Ping timeout: 252 seconds]
foofoobar has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen has joined #ruby
ZachBeta has joined #ruby
strnx has joined #ruby
schaerli has joined #ruby
Banistergalaxy has quit [Ping timeout: 265 seconds]
seanstickle has joined #ruby
KillerFox has quit [Ping timeout: 265 seconds]
umttumt has quit [Remote host closed the connection]
darthdeus has joined #ruby
KillerFox has joined #ruby
Croms has joined #ruby
Banistergalaxy has joined #ruby
ZachBeta has quit [Read error: Connection reset by peer]
twelvechairs has joined #ruby
ZachBeta has joined #ruby
SmoothSage has quit [Ping timeout: 244 seconds]
nytew has joined #ruby
liluo has joined #ruby
Markvilla has joined #ruby
johnjohnson has joined #ruby
tijmencc has joined #ruby
Progster has joined #ruby
gfuggiano has joined #ruby
<shevy>
everyone make more gems!
berkes has joined #ruby
<dekroning>
shevy: i'm doing my best ;-)
qwerxy has quit [Quit: offski]
<shevy>
:)
<seanstickle>
My ACT!, SugarCRM, and Goldmine gems will be forthcoming
<shevy>
ACT! ?
<shevy>
hmm gem names can include a ! ?
<shevy>
whoa this would be cool... look
<shevy>
module Dangerous!
<apeiros_>
SugarCRM?
<apeiros_>
sounds unhealthy… what's its usp?
emmanuelux has joined #ruby
miho has quit [Read error: Connection reset by peer]
<shevy>
we have require 'thin'
<shevy>
so it's a prerequisitive for SugarCRM
vitor-br has quit [Quit: Saindo]
vitor-br has joined #ruby
<dekroning>
seanstickle: your working on sugarcrm ?
<seanstickle>
apeiros_: It's good enough replacement for SalesForce is the typical USP
<seanstickle>
dekroning: sure nuff
miho has joined #ruby
<dekroning>
seanstickle: cool, lately i've been look at it :-)
sailias has joined #ruby
federic has joined #ruby
<seanstickle>
dekroning: it's a piece of crap
moshef has quit [Quit: moshef]
<dekroning>
seanstickle: really briefly actually
mickn has joined #ruby
<dekroning>
seanstickle: ow hehehe :)
<seanstickle>
dekroning: I am making a gem only to help out those who are stuck with it
Jackneill has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
Banistergalaxy has quit [Ping timeout: 248 seconds]
yekta has quit [Quit: yekta]
qwerxy has joined #ruby
ben_alman has quit [Excess Flood]
saschagehlich has joined #ruby
_Rix has joined #ruby
foofoobar has quit [Quit: bb]
<_Rix>
hey guys, how do i add an array [1, 2] to another [3, 4] to end up with [[1,2],[3,4]]?
<seanstickle>
a=[1,2]; b=[3,4]; c=[a,b]
bosphorus has quit [Remote host closed the connection]
ben_alman has joined #ruby
shevy has quit [Ping timeout: 246 seconds]
Kn|t3 has quit [Ping timeout: 265 seconds]
sailias has quit [Ping timeout: 246 seconds]
<_Rix>
seanstickle, if i now have an array of numbers A and another array B, how do i go about iterating the array A and: append a new array of even numbers everytime i encounter an odd number
<_Rix>
(append the array of even numbers to B to end up with a multi-array)
<seanstickle>
Give example
<seanstickle>
That description is too vague for this time of the morning
dekroning has quit [Ping timeout: 245 seconds]
<_Rix>
sorry. A = [1, 2, 3, 3, 4, 6, 8, 9, 10, 12] and i need to end up with B = [[2], [4,6,8], [10,12]]
gfuggiano has quit [Quit: Sto andando via]
strnx has quit [Quit: Hosted by rdlBNC (Server 4 - United Kingdom)]
ananthakumaran has joined #ruby
johnjohnson has quit []
<_Rix>
with my current code i just end up with [2, 4, 6, 8, 10, 12]
<fowl>
with iteration
DuHasT1911 has joined #ruby
saschagehlich has quit [Read error: Connection reset by peer]
saschagehlich has joined #ruby
Kn|t3 has joined #ruby
<_Rix>
fowl, i am already iterating through the array A, care to elaborate?
<shevy>
he /queried me whether he can ask questions. it is a lot easier to ask here on #ruby rather than /query. I dont reply to query, is why I write here in general
<apeiros_>
shevy: same here. referred him to the channel as well
<shevy>
:)
ciopte7 has quit [Quit: ciopte7]
<shevy>
maaaaan Spaceghostc2c
<apeiros_>
nytew: it's generally not appreciated to pm (= send private messages). ask your questions in the channel.
twock_ has joined #ruby
<Spaceghostc2c>
seanstickle: :D
<shevy>
what's like that, pm attack now :P
<seanstickle>
What's with all the smiling?
<shevy>
and everyone is innocent here!
wpaulson has joined #ruby
Ethan has quit [Client Quit]
<shevy>
huh... really thought there would be FileUtils.delete ...
ciopte7 has joined #ruby
<apeiros_>
I think there's File.delete
red5 has joined #ruby
silentpost has joined #ruby
red5 has quit [Client Quit]
<shevy>
my brain mixes things up again
<shevy>
I hate my brain, can't I get a new one?
Jake232 has joined #ruby
<shevy>
whoa...
<shevy>
"Repushing of gem versions is not allowed.
<shevy>
Please use `gem yank` to remove bad gem releases."
<shevy>
and then... when trying this
<shevy>
gem yank
<shevy>
Unknown command yank
<shevy>
ERROR: While executing gem ... (RuntimeError)
noyb has joined #ruby
francisfish has joined #ruby
zz_chrismcg is now known as chrismcg
macmartine has joined #ruby
chrismcg is now known as zz_chrismcg
jmeeuwen has quit [Ping timeout: 252 seconds]
<Spaceghostc2c>
shevy: Evidently you just can't yank correctly. Should I show you how? :p
yannis has quit [Quit: yannis]
<shevy>
I am great at yanking
<Spaceghostc2c>
shevy: gem install gemcutter
<shevy>
but incompetent when it comes to rubygem yanking
<shevy>
gemcutter can yank?
Sheehan has quit [Quit: Sheehan]
<shevy>
gem install gemyanker
<shevy>
ERROR: Could not find a valid gem 'gemyanker' (>= 0) in any repository
<shevy>
pffft nothing known about yanking
<shevy>
oh well
<shevy>
gem yank
<shevy>
A version argument is required: gem yank GEM -v VERSION [-p PLATFORM] [--undo] [--key KEY_NAME]
qwerxy has quit [Quit: offski]
<shevy>
it's never as simple as suggested!
<shevy>
gem god damn it, yank already
<Spaceghostc2c>
Shazam.
LowKey has quit [Ping timeout: 248 seconds]
<shevy>
I actually like gems nowadays though
<shevy>
I am going to become a gem whore
tomb_ has joined #ruby
wpaulson_ has joined #ruby
macmartine has quit [Quit: macmartine]
Sheehan has joined #ruby
wpaulson has quit [Ping timeout: 265 seconds]
wpaulson_ is now known as wpaulson
gtuckerkellogg has quit [Quit: Computer has gone to sleep.]
RainbowDashh has quit [Quit: Computer has gone to sleep. DERPY HOOVES SLAMMING THE LAPTOP LID MISTAKE?]
LowKey has joined #ruby
IrishGringo has joined #ruby
ph^ has quit [Remote host closed the connection]
ph^ has joined #ruby
mario123 has joined #ruby
bluOxigen has quit [Ping timeout: 246 seconds]
<mario123>
hi
yannis has joined #ruby
<mario123>
welcome yannis
<shevy>
hi supermario
m_3 has joined #ruby
ph^ has quit [Ping timeout: 260 seconds]
<mario123>
im not supermario
<seanstickle>
He's just ordinary Mario
<seanstickle>
Which is a big let down
<mario123>
i'm indonesian
<mario123>
i'm not good in english
_iMBA has joined #ruby
fantazo has joined #ruby
noyb has quit [Ping timeout: 240 seconds]
<mario123>
\quit
<Spaceghostc2c>
mario123: Neither am I, and it's my native language.
nari_ has quit [Ping timeout: 265 seconds]
digitalcakestudi has joined #ruby
ananthakumaran has joined #ruby
<shevy>
lol
<shevy>
mario123 it would be /quit
<mario123>
hehehehehe
<mario123>
i'm never using irc before
Asher1 has quit [Quit: Leaving.]
<mario123>
why this channel quiet?
macmartine has joined #ruby
Asher- has joined #ruby
emmanuelux has quit [Remote host closed the connection]
mario123 has quit [Quit: Ex-Chat]
<shevy>
:\
<shevy>
the 10 seconds question...
Yarou has quit [Quit: Leaving]
ciopte7 has quit [Quit: ciopte7]
RainbowDashh has joined #ruby
gentz has quit [Ping timeout: 248 seconds]
pk1001100011 has joined #ruby
tk___ has quit [Quit: ばいばい]
bosphorus_ has quit [Read error: Connection reset by peer]
LowKey has quit [Ping timeout: 252 seconds]
bosphorus has joined #ruby
lkba has joined #ruby
LowKey has joined #ruby
<any-key>
I am bored and tired
<shevy>
perfect time to code
<any-key>
working full-time coding this summer has ruined my drive for personal projects
<any-key>
it's a good sign, though, since I like my job enough I don't have to seek out more interesting projects on my own time
blacktulip has joined #ruby
<any-key>
okay, I have a command named "ebong" that I stumbled across tab completing
<any-key>
no manpage entry
<any-key>
google shows nothing
gentz has joined #ruby
sonkei has joined #ruby
cousine_ has joined #ruby
cousine has quit [Read error: Connection reset by peer]
deryl has quit [Quit: Time To Go, Too Bad, So Sad!]
<shevy>
manpages must die
deryl has joined #ruby
niklasb has quit [Quit: WeeChat 0.3.8]
ZachBeta has quit [Quit: Computer has gone to sleep.]
hunglin has joined #ruby
<any-key>
are there any good biographies on famous programmers that I should check out?
<any-key>
I just got a kindle, I need reading material
deryl has quit [Client Quit]
deryl has joined #ruby
johnjohnson has quit []
flip_digits has joined #ruby
niklasb has joined #ruby
<seanstickle>
any-key: Have you already read Levy's "Hackers" ?
<any-key>
nope, is it good?
<seanstickle>
Yes
<seanstickle>
Read that first.
<seanstickle>
It is required reading for programmers
<any-key>
awesome, thanks
<any-key>
this looks like a great read
<apeiros_>
is it also a required reading for master programmers?
<seanstickle>
apeiros_: yes
<apeiros_>
damit!
<apeiros_>
I don't read! only sci-fi
<seanstickle>
apeiros_: you haven't read it yet?
<apeiros_>
and some fantasy
<shevy>
should non-programmers read it as well?
<apeiros_>
no. I barely read books on programming.
<seanstickle>
shevy: it doesn't hurt
<any-key>
looks like it's not about programming as much as neat things
<any-key>
people doing cool things for the sake of doing cool things
<apeiros_>
they're usually 90% "know, know, know, yeah, yeah, yeah" or "no, that's bs, no that can be done better, no that's broken code"
<any-key>
like Woz
<apeiros_>
hm, more like 98% actually
<apeiros_>
and 2% genuinely new and useful info
<seanstickle>
It's the key history of the personal computer revolution
<seanstickle>
And the minicomputers before that
<apeiros_>
but… we're already in post personal computer era…
shevy is now known as Asher
<seanstickle>
apeiros_: Well, I did say it was a history
Asher is now known as shevy
thone_ has joined #ruby
saschagehlich has quit [Quit: saschagehlich]
bfig has quit [Read error: Connection reset by peer]
Asher- is now known as Asher
bfig has joined #ruby
<apeiros_>
but I love repeating it :-S
<apeiros_>
so I don't need to know history :)
* apeiros_
is actually sooo old, he witnessed those things…
thone has quit [Ping timeout: 248 seconds]
<any-key>
ha!
bwlang has joined #ruby
fmcgeough has joined #ruby
Sheehan has quit [Quit: Sheehan]
bwlang has quit [Client Quit]
* Enekoos
se retira
Enekoos has quit [Remote host closed the connection]
<shevy>
titties!
Ethan has joined #ruby
Ethan has quit [Changing host]
Ethan has joined #ruby
ZachBeta has joined #ruby
johnjohnson has joined #ruby
<azariah4>
What's the recommended way to escape a Ruby string so it conforms to postgresql escaping? (for example '' for ')
<seanstickle>
Don't
tijmencc has quit [Read error: Connection reset by peer]
<seanstickle>
Use a parameterized query and be safe
hemanth has quit [Read error: Connection reset by peer]
bier has quit [Ping timeout: 240 seconds]
looopy has joined #ruby
tijmencc has joined #ruby
hemanth has joined #ruby
<nytew>
someone that knows c++ and ruby ?
yonggu_ has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
RainbowDashh has quit [Quit: Computer has gone to sleep. DERPY HOOVES SLAMMING THE LAPTOP LID MISTAKE?]
<azariah4>
seanstickle: is there a function in pg for that?
rcsheets- is now known as octarine
yonggu has quit [Ping timeout: 248 seconds]
schaerli has quit [Remote host closed the connection]
<azariah4>
nevermind, I found the escape_string method
<Hanmac>
nytew i do
<apeiros_>
azariah4: aaaaaaah, DONT DO THAT
uris has joined #ruby
<apeiros_>
seriously
<apeiros_>
mind seanstickle's advice to use parametrized queries
Ethan has quit [Ping timeout: 245 seconds]
<apeiros_>
quoting is f'ing stupid. srsly.
schaerli has joined #ruby
<apeiros_>
parametrized queries, aka bind variables. pg can do that.
<apeiros_>
consult your friendly docs on bind variables.
adamramadhan has joined #ruby
<azariah4>
My google-fu fails me in finding a "hello-world" example of doing that (I'm new to Ruby and the pg gem)
<apeiros_>
it's a bit sad that postgres only has bind params by index, not by name
<seanstickle>
postgres has a lot of problems
<apeiros_>
do tell?
<apeiros_>
pm if you feel necessary
Prometheus has joined #ruby
<deryl>
thankfully less than mysql
<apeiros_>
and hopefully less than oracle… since I totally want to scrap oracle at work…
Sheehan has joined #ruby
<seanstickle>
Oh, it's much better than Oracle.
<apeiros_>
one thing I ran into was a lack of "show create table" :(
<seanstickle>
And it may be -- technically -- better than MySQL.
<seanstickle>
But MySQL has a community, documentation, and available know-how that tends to trump PostgreSQL.
<seanstickle>
So it has the sweet spot for me.
<deryl>
not in agreement with the documentation apsect, however, ok.. i can see your ppoint on the community aspect
<apeiros_>
mysql being owned by oracle makes it slightly less attractive…
<deryl>
hehe typo king this morning methinks
<seanstickle>
apeiros_: yeah, that certainly is a point in favor of PostgreSQL
<seanstickle>
apeiros_: although we'll see how these various MySQL fork projects do
keanehsiao has joined #ruby
<vandemar>
percona is good. mariadb tends to lag further behind.
sailias has joined #ruby
<deryl>
to my mind though i think mysql got more of a push than it deserved with the coupling to the php world. and yes, i admit thats a subjective statement
schaerli has quit [Ping timeout: 245 seconds]
<seanstickle>
Well, deserved or not, it happened
<seanstickle>
And PostgreSQL on Windows sucked for a long time, which didn't help
<deryl>
true :shudder:
schaerli has joined #ruby
<azariah4>
I built a query as "insert into foo (col1, col2) values ('$1', '$2'), and the $1 and $2 was not substitued by the params to PGconn.exec
<matled>
is there any reason that #take and #drop eagerly create an array instead of yielding another enumerable?
<any-key>
.to_a
<any-key>
you can convert an enumerable to an array
<matled>
any-key: yeah, but not the other way around
<matled>
if the original enumerable takes long to iterate completely, then so does foo.drop(20).take(100)
<any-key>
Array::enum_for
mayankkohaley has quit [Ping timeout: 252 seconds]
<matled>
because .drop(20) will enumerate over foo exhaustively, instead of yielding another enumerable
cousine_ has quit [Remote host closed the connection]
<_axx>
hey guys, if you have application related code, do you put that code in app/modules or in lib/modules?
<apeiros_>
anybody got a recommendation for server hardware akin to the macmini, but for gentoo?
nateberkopec has joined #ruby
yoklov has joined #ruby
<apeiros_>
may be a bit bigger than the mini. 3.5" HDD, i7, 4GB Ram, on board graphics are sufficient…
workmad3 has joined #ruby
keanehsiao has quit [Quit: keanehsiao]
wpaulson has quit [Ping timeout: 248 seconds]
centipedefarmer has joined #ruby
Eldariof-ru has joined #ruby
silentpost has quit [Ping timeout: 252 seconds]
td123 has joined #ruby
maletor has joined #ruby
fulmato has quit [Ping timeout: 240 seconds]
<shevy>
Hanmac heeh
<shevy>
_axx I never have app/ directory. sounds like rails to me.
IrishGringo has quit [Ping timeout: 244 seconds]
ryanf has joined #ruby
fulmato has joined #ruby
<samuelkadolph>
apeiros_: You could buy a mini and put gentoo on it.
mockra has joined #ruby
jimeh has quit [Ping timeout: 240 seconds]
SeySayux has quit [Ping timeout: 252 seconds]
wpaulson has joined #ruby
twock_ has quit [Quit: Lost terminal]
wpaulson_ has joined #ruby
JohnBat26 has joined #ruby
mdw has joined #ruby
mdw has quit [Remote host closed the connection]
selvakumaran has joined #ruby
n1x has joined #ruby
<_axx>
shevy: oh, wrong channel. :) my bad
wpaulson has quit [Ping timeout: 240 seconds]
VictorMartins has quit [Quit: Sleeping]
wpaulson_ is now known as wpaulson
<_axx>
i have them both in my irssi session and choose the wrong window :D
francisfish has quit [Remote host closed the connection]
qwerxy has joined #ruby
n1x has quit [Read error: Connection reset by peer]
<aces1up>
when I do a find on an array of hashes, I find a hash, but then when I change that hash to be a different hash, it doesn't change in the original array? I thought this should happen? why not?
umttumt has quit [Remote host closed the connection]
<politoed>
how are you changing the hash to be a different hash?
<samuelkadolph>
aces1up: How are you changing it? If you are doing ary.find(x) { |hash| hash = {} }, then that won't work.
twock has joined #ruby
<aces1up>
just myfoundhash = mynewhash
<apeiros_>
samuelkadolph: I thought there were probably cheaper machines out than apple's mini
SeySayux has joined #ruby
<aces1up>
samuelkadolph weird cause I have done it before on arrays..
<aces1up>
just not on a array of hashes.
<samuelkadolph>
apeiros_: Not in the same form factor with an i7.
<samuelkadolph>
aces1up: That will never work.
<apeiros_>
samuelkadolph: slightly bigger is ok too…
bosphorus has quit [Remote host closed the connection]
alexim has joined #ruby
bluOxigen has joined #ruby
<Hanmac>
mrbrdo: extconf.rb is normaly designd for makeing bindings ... not single .o files ...
<deryl>
return
<deryl>
but i don't remember if its return or exit that completely breaks out of the loop
jimeh has joined #ruby
<mrbrdo>
Hanmac: well actually I need just to include some files from another directory, and to compile and link some c files from another directory. and I need to specify optimization level for those c files
<deryl>
like break will break that run of the loop but stay in the loop 9goes next iteration), think its return you want
daniel_hinojosa has joined #ruby
<EstanislaoStan>
Return goes too far. I have more that's not in the pastie.
<deryl>
ok
eurbach has joined #ruby
<deryl>
eval break, return, and exit
<deryl>
se
<deryl>
e
<deryl>
see which works best for your particular situation
<mrbrdo>
EstanislaoStan: I don't think there's a proper way to do that… perhaps wrapping the if/else in begin/rescue/end and raise exception
<deryl>
what *I* am afraid of is saying use 'exit' because from ri exit it looks like it would cause the *entire* script to quit, not what i think you want
rippa has joined #ruby
<mrbrdo>
btw why can't you just use nested if? if something then ; work… ; end
<mrbrdo>
otherwise it will go out of the if anyway
<deryl>
could that be converted into a case?
<deryl>
(probably an aside, was just wondering)
<mrbrdo>
if is not really designed so you could "break out" of it
<mrbrdo>
so trying to do that is wrong imo
qwerxy has joined #ruby
<mrbrdo>
I don't even understand why you need that
<mrbrdo>
Hanmac: is there a way to tell extconf "also compile and link something.c"?
<mrbrdo>
and use -O3 for compiling it
<EstanislaoStan>
My main goal is to stop iterating through the array when I get a value that I need. Some of that might work. I'm not too familiar with case, so I guess I'll start there.
<selvakumaran>
can i use Qt interface for my Ruby prog?
<srji>
you can
<deryl>
EstanislaoStan: i would surmise case would be better for you
ZachBeta has joined #ruby
<deryl>
value match and execute something for that match are case's forte
<mrbrdo>
EstanislaoStan: so what is wrong with "break"?
mengu has joined #ruby
<deryl>
:)
selvakumaran has quit [Remote host closed the connection]
<deryl>
sorry, was testing turning off emoticons
<EstanislaoStan>
I was trying to break out of the code block. Not just from the first if.
_madcoder_ has joined #ruby
shadoi has joined #ruby
socomm has quit [Quit: WeeChat 0.3.7]
<mrbrdo>
EstanislaoStan: break doesn't break out of if, it breaks out of the loop
<tectonic>
Appreciate an upvote on Hacker News if you found it useful.
workmad3 has joined #ruby
yoklov has quit [Quit: computer sleeping]
nisstyre has joined #ruby
schaerli has joined #ruby
s1n4 has joined #ruby
<shevy>
hehe
shvelo has joined #ruby
digitalcakestudi has quit [Ping timeout: 246 seconds]
<shevy>
you need positive karma for upvotes there?
netogallo has quit [Read error: Connection reset by peer]
<tectonic>
Probably
<deryl>
which means it was built with the idea that at least one person HAD to start out WITH positive karma or else no body would have been able to upvote for you TO gain karma
<tectonic>
Heh. Maybe the karma limitation was added later.
<shevy>
quite the elitist club
<shevy>
don't dare write anything controversial or you'll get voted down!
<deryl>
yeah no shit
<tectonic>
I think you have to engage in the community with comments and stuff first.
<shevy>
I tried!
<shevy>
ok ok I did not really try
<shevy>
the only times I wanted to use ycombinator was because people on IRC asked for article upvotes
Eldariof-ru has quit []
<tectonic>
:)
zomgbie has quit [Ping timeout: 244 seconds]
timepilot has quit [Quit: timepilot]
grantbdev has joined #ruby
CheeToS has quit [Ping timeout: 252 seconds]
looopy has joined #ruby
zomgbie has joined #ruby
<wpaulson>
EstanislaoStan: re: loop / break: if what you want is to process the first match, use detect or find instead of each.
vlad_starkov has quit [Remote host closed the connection]
Prometheus has quit [Ping timeout: 260 seconds]
Jackneill has quit [Remote host closed the connection]
moshee has quit [Ping timeout: 244 seconds]
moshee has joined #ruby
looopy has quit [Remote host closed the connection]
<shvelo>
is there a ruby on rails channel?
<shevy>
shvelo #rubyonrails
<shvelo>
shevy, thanks
<shevy>
btw there is a guy called shlevy on #nixos
<shevy>
shvelo ... you could be the brother of shlevy and shevy !
<shvelo>
shevy, no :D
<s1n4>
lol
<shevy>
lol
<shvelo>
my surname is Shvelidze , so nickname is shvelo
<shvelo>
lol
* s1n4
has no brother on IRC :(
<shvelo>
s1n4, how do i post actions with XChat?
<s1n4>
shvelo, what do you mean ?
<shevy>
what kind of actions. there is emote via /me test
* shevy
test
<shvelo>
ah
* shvelo
understood
<shevy>
lol
<s1n4>
:D
andreime has quit [Quit: leaving]
<shevy>
and most clients can do coloursjust fine
andreime has joined #ruby
<shevy>
good old mIRC days...
<shvelo>
test
* s1n4
likes irssi so much
<shevy>
on my client, it works when I press control+k and then a number like 11
<shevy>
this is number 11
<shevy>
this is number 12
<shvelo>
test
<shevy>
<press-control-key>+k then followed by 11
<shevy>
mIRC had a nice usage chart there
<shevy>
I never knew xchat used the same, until I just tried it
* s1n4
hates windows applications
<shvelo>
hmm
<shevy>
I need to try this with my ruby irc client :D
<shvelo>
wow
<shvelo>
I'm kinda beginner
wpaulson_ has joined #ruby
schaerli has quit [Remote host closed the connection]
randomautomator has quit [Remote host closed the connection]
billiamii has joined #ruby
Axsuul has joined #ruby
jimeh has quit [Ping timeout: 260 seconds]
quest88 has quit [Quit: quest88]
ciopte7 has joined #ruby
mdw has left #ruby ["[self release]"]
wunz has quit [Ping timeout: 265 seconds]
berserkr has joined #ruby
wunz has joined #ruby
ryanf has quit [Quit: leaving]
heftig has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
Xai has joined #ruby
Guest47139 has quit [Ping timeout: 248 seconds]
graspee has quit [Ping timeout: 265 seconds]
graspee has joined #ruby
pk1001100011 has quit [Quit: Burn your gods and kill the king; Subjugate your suffering; Dead heart, in a dead world]
freeayu has joined #ruby
goraxe has quit [Quit: WeeChat 0.3.5]
Aristata has joined #ruby
<Aristata>
Does anyone here have an idea where I can look at what the different "transform" symbols mean in paperclip? I always see :dimensions => "400x400#" or "400x400>", I know that irc://irc.freenode.net:6667/# and > do something with the resizing, but I haven't been able to find anything that tells me what my options are or what each one does.
Codif has joined #ruby
<apeiros_>
Aristata: that's the straight commands to imagemagick
<Aristata>
Oh nm I forgot that's being passed to image magik
<Aristata>
lol
<Aristata>
Thanks :)
nari_ has joined #ruby
snip_it_ has quit [Quit: snip_it_]
Codif has quit [Remote host closed the connection]
jimeh has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
ben_m has joined #ruby
hemanth has joined #ruby
bosphorus has quit [Remote host closed the connection]
Vert has joined #ruby
slap has joined #ruby
centipedefarmer has joined #ruby
nowthatsamatt_ has joined #ruby
nowthatsamatt_ has quit [Client Quit]
wpaulson__ has quit [Read error: Connection reset by peer]
wpaulson has joined #ruby
graspee has quit [Ping timeout: 250 seconds]
malkomalko has joined #ruby
fantazo has quit [Remote host closed the connection]
graspee has joined #ruby
Bosma has joined #ruby
burntbit has joined #ruby
heftig has quit [Ping timeout: 245 seconds]
<nso95>
Ruby is strangely natural
jbw_ has quit [Ping timeout: 246 seconds]
tightwork has joined #ruby
<tightwork>
Hi... What is the hot way to parse xml in ruby? xmlsimple?
heftig has joined #ruby
perryh is now known as perry
<vikhyat>
tightwork: nokogiri might be a better choice.
<tightwork>
awesome, thanks for the answer
<seanstickle>
Nokogiri
<seanstickle>
Is the only sane choice
<tightwork>
im building a site where people can search for friends and send pictures to each other.. it will be like nothing anyone has ever seen ever
<graspee>
are you sure about that
<graspee>
my comediy is reliant on you being serious. if you're joking then i have failed my country
<tightwork>
jokes
malkomalko has quit [Remote host closed the connection]
saschagehlich has quit [Quit: saschagehlich]
slap has quit [Quit: slap]
wpaulson has quit [Read error: Connection reset by peer]
burntbit has quit [Ping timeout: 246 seconds]
mengu has quit [Remote host closed the connection]
vikhyat has left #ruby ["Leaving"]
burntbit has joined #ruby
vikhyat has joined #ruby
looopy has quit [Remote host closed the connection]
tommyvyo has joined #ruby
jbw_ has joined #ruby
wpaulson has joined #ruby
perry is now known as perryh_away
apeiros_ has quit [Remote host closed the connection]
marknyc has joined #ruby
pablo_ has joined #ruby
berserkr has quit [Quit: Leaving.]
MrGando has joined #ruby
heftig has quit [Quit: leaving]
deryldoucette has joined #ruby
ipoval has quit [Quit: ipoval]
deryl has quit [Ping timeout: 240 seconds]
deryldoucette is now known as deryl
pablo_ has quit [Quit: Ex-Chat]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
williamcotton has quit [Ping timeout: 248 seconds]
MissionCritical has quit [Ping timeout: 245 seconds]
williamcotton has joined #ruby
bwlang has joined #ruby
williamcotton has quit [Client Quit]
bluOxigen has quit [Ping timeout: 252 seconds]
eurbach has quit [Quit: Leaving.]
tomb_ has quit [Quit: Computer has gone to sleep.]
jimeh has quit [Ping timeout: 240 seconds]
ZachBeta has quit [Quit: Computer has gone to sleep.]
tomb_ has joined #ruby
dr_diamond has quit [Ping timeout: 246 seconds]
MrGando has quit [Remote host closed the connection]