benlovell has quit [Read error: Connection reset by peer]
bruno- has joined #ruby-lang
arBmind has joined #ruby-lang
benlovell has joined #ruby-lang
bruno- has quit [Ping timeout: 255 seconds]
benlovell has quit [Read error: Connection reset by peer]
benlovell has joined #ruby-lang
robmiller has joined #ruby-lang
benlovell has quit [Ping timeout: 272 seconds]
LMity has joined #ruby-lang
robmiller has quit [Quit: robmiller]
tacit7 has joined #ruby-lang
tacit7 has left #ruby-lang [#ruby-lang]
benlovell has joined #ruby-lang
LMity has quit [Ping timeout: 248 seconds]
ItSANgo has quit [Read error: Connection reset by peer]
ItSANgo has joined #ruby-lang
martinbmadsen has joined #ruby-lang
jas02 has joined #ruby-lang
ItSAN____ has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 246 seconds]
ItSANgo has quit [Ping timeout: 256 seconds]
gregf_ has quit [Ping timeout: 252 seconds]
michael_mbp has quit [Excess Flood]
kfpratt has joined #ruby-lang
gregf_ has joined #ruby-lang
tkuchiki has quit [Ping timeout: 246 seconds]
michael_mbp has joined #ruby-lang
jgpawletko has joined #ruby-lang
imperator has joined #ruby-lang
jas02 has quit [Quit: jas02]
robbyoconnor has joined #ruby-lang
robmiller has joined #ruby-lang
intinig has joined #ruby-lang
kfpratt has quit [Ping timeout: 252 seconds]
jefus_ has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
intinig has quit []
Lewix has joined #ruby-lang
jefus has quit [Ping timeout: 265 seconds]
tsujp has quit [Quit: tsujp is snoozing]
ledestin has joined #ruby-lang
benlovell has quit [Read error: Connection reset by peer]
lytol has joined #ruby-lang
ghostpl_ has joined #ruby-lang
intinig has joined #ruby-lang
ldnunes has joined #ruby-lang
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lytol has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby-lang
ghostpl_ has quit [Ping timeout: 255 seconds]
smoitra has quit [Remote host closed the connection]
skade has joined #ruby-lang
imperator has quit [Quit: Leaving]
jas02 has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
intinig has quit [Remote host closed the connection]
stamina has quit [Quit: WeeChat 1.1.1]
<yorickpeterse>
yay finally at the office
<yorickpeterse>
what otherwise takes ~1 hour in total took about 4
jas02 has quit [Quit: jas02]
pwnz0r has joined #ruby-lang
pwnz0r has quit [Ping timeout: 265 seconds]
<apeiros>
sounds like you had a fun ride
<djellemah>
yorickpeterse: what happened
<djellemah>
?
<yorickpeterse>
power outage in large parts of the province
<yorickpeterse>
apeiros: that's the joke, there was no ride
<apeiros>
large enough that it made it in the radio here
<yorickpeterse>
Was stuck on a station for a few hours, had to order a cab eventually
<apeiros>
yorickpeterse: did you feel powerless? *scnr*
<yorickpeterse>
Yeah, I had a complete mental shutdown
b_hoffman has joined #ruby-lang
<djellemah>
yorickpeterse: yeah, but why was there a power outage? Bad weather? Over here, our excuse is bad government :-|
<surrounder>
government is always bad
<djellemah>
lol, you have no idea.
<karma_>
In Stockholm our commuters train signaling system is from the early Jura period so the excuse is always "Severe signaling problem", like this morning. Does not affect me though.
<yorickpeterse>
djellemah: malfunction at a power station
<djellemah>
Currently our state-run power company can't use about 28% of it's capacity because of 20 years of neglect. My neighbours have a generator, and I'm seriously considering buying one.
Musashi007 has quit [Quit: Musashi007]
<djellemah>
Q: What did South Africa use before candles? A: Electricity.
<yorickpeterse>
har har
brushbox has joined #ruby-lang
kfpratt has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
tsujp has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
auzty has quit [Quit: Leaving]
kfpratt has quit [Ping timeout: 246 seconds]
<djellemah>
Ironically, because power outages are a given here, anything critical already has a backup generator. Unlike, say, Schipol :-|
Bertg has joined #ruby-lang
melter has joined #ruby-lang
Bertg has quit [Read error: Connection reset by peer]
<yorickpeterse>
Schiphol has one
<yorickpeterse>
They however don't, apparently, have an instant failover system and instead require a certain period of time for the generators to kick in
<yorickpeterse>
which worries me
<yorickpeterse>
Typically a datacentre will have regular power, some form of batteries and generators
<yorickpeterse>
regular power dead? Use the batteries while waiting for the generators to kick in
charliesome has joined #ruby-lang
b_hoffman has joined #ruby-lang
bruno- has joined #ruby-lang
sarkyniin has joined #ruby-lang
benlovell has joined #ruby-lang
SylarRuby has joined #ruby-lang
brushbox has quit [Quit: Leaving.]
Integralist has left #ruby-lang [#ruby-lang]
intinig has joined #ruby-lang
bruno- has quit [Ping timeout: 244 seconds]
bruno- has joined #ruby-lang
sgambino has joined #ruby-lang
intinig has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 250 seconds]
bruno- has joined #ruby-lang
symm- has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
enebo has joined #ruby-lang
benlovell has joined #ruby-lang
<darix>
yorickpeterse: just curious ... for your pgsql setup: pgpool for failover?
<yorickpeterse>
darix: RDS
<yorickpeterse>
So no idea
<darix>
ah
<yorickpeterse>
We do have a multi-AZ setup, but that's not exactly the same as pgpool
<darix>
yorickpeterse: well pgpool can do the master selection, was just wondering if you used it and how it worked for you. :)
<yorickpeterse>
No, never used it. I looked into it seeing if RDS might secretly be using it, but that's about it
intinig has joined #ruby-lang
haraoka_ has quit [Ping timeout: 248 seconds]
benlovell has quit [Ping timeout: 250 seconds]
malconis has joined #ruby-lang
<darix>
ok
<bougyman>
darix: seen pl-proxy ?
<bougyman>
I've been meaning to give that a run for sharding tasks.
charliesome has quit [Quit: zzz]
pepperbreath has quit [Read error: Connection reset by peer]
<darix>
bougyman: i only packaged pgpool, pgbouncer so far
<darix>
bougyman: and i really only want "failover handling + single entry point for clients"
<bougyman>
ah.
<bougyman>
pl-proxy could give you that.
<bougyman>
I mean, the features list and docs say it can, I haven't _done it_ yet.
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 250 seconds]
sankaber has joined #ruby-lang
aeze has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
TheKnarf has joined #ruby-lang
TheKnarf has quit [Client Quit]
yowell has joined #ruby-lang
lytol has joined #ruby-lang
yowell has quit [Client Quit]
rbowlby has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
momomomomo has joined #ruby-lang
benlovell has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
Vivex_ has joined #ruby-lang
ghostpl_ has joined #ruby-lang
ta has joined #ruby-lang
momomomomo has quit [Ping timeout: 250 seconds]
bruno-_ has joined #ruby-lang
_1_smarty3 has joined #ruby-lang
Vivex has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 250 seconds]
ledestin has joined #ruby-lang
_1_smarty3 has quit [Remote host closed the connection]
j4cknewt has quit []
benlovell has quit [Ping timeout: 245 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
airdisa has joined #ruby-lang
benlovell has joined #ruby-lang
b_hoffman has joined #ruby-lang
intinig has joined #ruby-lang
benlovell has quit [Ping timeout: 244 seconds]
benlovell has joined #ruby-lang
rippa has joined #ruby-lang
__butch__ has joined #ruby-lang
imperator has joined #ruby-lang
agarie has quit [Remote host closed the connection]
marr has quit [Ping timeout: 264 seconds]
<imperator>
need a little help with rb_raise if anyone has a moment
lytol has joined #ruby-lang
<imperator>
basically want i want is the C version of: raise SystemCallError.new("Oops", 22)
<imperator>
which would give me: #<Errno::EINVAL: Invalid argument - Oops>
<imperator>
in my extension i tried this: rb_raise(rb_eSystemCallError, "Oops", 22);
<imperator>
but that gives me: unknown error - Oops (SystemCallError)
javon has joined #ruby-lang
ta has quit [Remote host closed the connection]
<imperator>
i thought, ok, i'll create an instance of SystemCallError and raise that, but I don't see an internal function that allows that
javon has quit [Client Quit]
momomomomo has joined #ruby-lang
bantic has joined #ruby-lang
<imperator>
any ideas how to do what I want?
haraoka has quit [Ping timeout: 265 seconds]
gwendall has quit []
riotjones has joined #ruby-lang
matrisking has joined #ruby-lang
rbowlby has joined #ruby-lang
setanta has joined #ruby-lang
intinig has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 248 seconds]
Guest77940 has quit [Changing host]
Guest77940 has joined #ruby-lang
Guest77940 is now known as bougyman
Lewix has joined #ruby-lang
banister has joined #ruby-lang
intinig has joined #ruby-lang
lapide_viridi has joined #ruby-lang
Lewix has quit [Ping timeout: 264 seconds]
<Burgestrand>
imperator: couldn’t you just call new on rb_eSystemCallError, just as you do in Ruby, and raise that?
<Burgestrand>
imperator: e.g. rb_funcall(rb_eSystemCallError, rb_intern(“new”), 2, rb_str_new2(“Oops”), INT2FIX(22))
<Burgestrand>
Hmm, looks like your third argument is causing you trouble. rb_raise takes a format string, and so your third argument will be interpreted as a format string argument, that’s probably why it isn’t working for you.
<Burgestrand>
Either way the second method ought to work, assuming you call `raise` on Kernel with your newly created error.
Bertg has quit [Read error: Connection reset by peer]
Bertg has joined #ruby-lang
ttilley has joined #ruby-lang
ttilley has quit [Changing host]
ttilley has joined #ruby-lang
bb010g has quit [Quit: Connection closed for inactivity]
marr has joined #ruby-lang
sepp2k has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sepp2k has quit [Client Quit]
deol has joined #ruby-lang
<imperator>
Burgestrand, ok, will try
* imperator
must go
imperator has quit [Quit: Leaving]
lele|w has quit [Ping timeout: 272 seconds]
agarie has joined #ruby-lang
lele|w has joined #ruby-lang
[H]unt3r has joined #ruby-lang
lele|w has quit [Ping timeout: 272 seconds]
momomomomo has quit [Quit: momomomomo]
lele|w has joined #ruby-lang
ledestin has joined #ruby-lang
ruby-lang320 has joined #ruby-lang
<ruby-lang320>
hi
ledestin has quit [Client Quit]
bantic has quit [Quit: bantic]
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
hi
<Senjai>
hi
ruby-lang320 has quit [Ping timeout: 246 seconds]
skade has quit [Quit: Computer has gone to sleep.]
robmiller has quit [Quit: robmiller]
skade has joined #ruby-lang
martinbmadsen has joined #ruby-lang
momomomomo has joined #ruby-lang
skade has quit [Ping timeout: 246 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
b_hoffman has quit [Quit: b_hoffman]
malconis has joined #ruby-lang
wprice has joined #ruby-lang
wallerdev has joined #ruby-lang
Sirupsen has joined #ruby-lang
heftig has quit [Remote host closed the connection]
mikecmpbll has quit [Ping timeout: 244 seconds]
heftig has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
intinig has quit [Remote host closed the connection]
stan has quit [Ping timeout: 265 seconds]
intinig has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
__butch__ has joined #ruby-lang
intinig has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
tsujp has quit [Quit: tsujp is snoozing]
symm- has quit [Ping timeout: 265 seconds]
benlovell has joined #ruby-lang
whippythellama has quit [Quit: whippythellama]
Iskarlar has quit [Ping timeout: 264 seconds]
iliketurtles has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Burgestrand has quit [Quit: Burgestrand]
benlovel1 has joined #ruby-lang
duderonomy has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby-lang
airdisa has quit [Remote host closed the connection]
robmiller has joined #ruby-lang
airdisa has joined #ruby-lang
riotjones has quit [Ping timeout: 272 seconds]
arBmind has quit [Ping timeout: 252 seconds]
airdisa has quit [Ping timeout: 265 seconds]
bantic has joined #ruby-lang
arBmind has joined #ruby-lang
robmiller has quit [Ping timeout: 256 seconds]
drbrain has quit [Quit: Goodbye]
drbrain has joined #ruby-lang
agarie has quit [Remote host closed the connection]
tris- has quit [Ping timeout: 265 seconds]
SylarRuby has quit [Remote host closed the connection]
tris- has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
Iskarlar has joined #ruby-lang
airdisa has joined #ruby-lang
symm- has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
Iskarlar_ has joined #ruby-lang
agarie has joined #ruby-lang
jefus_ is now known as jefus
revath has joined #ruby-lang
Iskarlar has quit [Ping timeout: 256 seconds]
rgb-one has joined #ruby-lang
airdisa has quit [Remote host closed the connection]
airdisa has joined #ruby-lang
rbowlby has quit [Remote host closed the connection]
rbowlby has joined #ruby-lang
[H]unt3r has quit [Quit: Leaving]
airdisa_ has joined #ruby-lang
airdisa__ has joined #ruby-lang
airdisa has quit [Ping timeout: 265 seconds]
centrx has joined #ruby-lang
hahuang61 has joined #ruby-lang
revath has quit [Ping timeout: 248 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
airdisa_ has quit [Ping timeout: 256 seconds]
benlovel1 has quit [Ping timeout: 250 seconds]
AugustoCesar has joined #ruby-lang
arBmind has joined #ruby-lang
tohsig has joined #ruby-lang
postmodern has joined #ruby-lang
SylarRuby has joined #ruby-lang
Bertg has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby-lang
baweaver has joined #ruby-lang
airdisa__ has quit [Remote host closed the connection]
airdisa has joined #ruby-lang
martinbmadsen has quit [Ping timeout: 246 seconds]
sarkyniin has joined #ruby-lang
shinnya has joined #ruby-lang
airdisa has quit [Ping timeout: 244 seconds]
waxjar has quit [Ping timeout: 256 seconds]
havenn has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
ta has joined #ruby-lang
mtrimmer has joined #ruby-lang
revath has joined #ruby-lang
ta has quit [Ping timeout: 256 seconds]
<mtrimmer>
Does anyone here know anything about OptionParser's Shell Completion functionality? It looks like OptionParser always defines a --*-completion-bash flag, that if I pass part of an option, it retuns the list of possible matches. However I haven't found any documentation on how to configure bash to make use of this
baweaver has quit [Remote host closed the connection]
<mtrimmer>
The doc does say: Shell Completion¶ ↑For modern shells (e.g. bash, zsh, etc.), you can use shell completion for command line options.
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Asher has quit [Quit: Leaving.]
hal_9000_ has joined #ruby-lang
stef204 has joined #ruby-lang
Iskarlar_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has joined #ruby-lang
iliketur_ has joined #ruby-lang
wprice has quit [Quit: wprice]
iliketurtles has quit [Ping timeout: 272 seconds]
Miphix has quit [Quit: Leaving]
Rayford has joined #ruby-lang
benlovell has joined #ruby-lang
joaomdmoura has joined #ruby-lang
baweaver has joined #ruby-lang
kwd has quit [Remote host closed the connection]
dorei has joined #ruby-lang
banister is now known as banisterfiend
baweaver has quit [Remote host closed the connection]
joaomdmoura has quit [Remote host closed the connection]
Asher has joined #ruby-lang
Rayford has quit [Quit: Rayford]
leat has joined #ruby-lang
airdisa has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
riotjones has joined #ruby-lang
lytol has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
roamingdog has joined #ruby-lang
riotjones has quit [Ping timeout: 248 seconds]
joaomdmoura has joined #ruby-lang
kadoppe has quit [Ping timeout: 256 seconds]
iliketur_ has quit [Quit: zzzzz…..]
kadoppe has joined #ruby-lang
duderonomy has joined #ruby-lang
duderonomy has quit [Client Quit]
Iskarlar has joined #ruby-lang
vipaca has joined #ruby-lang
centrx has quit [Quit: Shutting down, Please wait...]
iliketurtles has joined #ruby-lang
SylarRuby has quit [Remote host closed the connection]
sgambino has quit [Remote host closed the connection]
sobol has joined #ruby-lang
Iskarlar has quit [Ping timeout: 256 seconds]
benlovel1 has joined #ruby-lang
benlovell has quit [Ping timeout: 255 seconds]
Iskarlar has joined #ruby-lang
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby-lang
revath has quit [Ping timeout: 248 seconds]
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
iliketurtles has quit [Read error: Connection reset by peer]
apt-get_ has joined #ruby-lang
iliketurtles has joined #ruby-lang
benlovel1 has quit [Ping timeout: 255 seconds]
baweaver has quit [Ping timeout: 246 seconds]
Angelo__ has joined #ruby-lang
Angelo__ has left #ruby-lang [#ruby-lang]
sarkyniin has quit [Ping timeout: 256 seconds]
elia has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
anomaly1337 has joined #ruby-lang
<anomaly1337>
hi all)
kfpratt has joined #ruby-lang
<anomaly1337>
are anybody here?
<cpt_yossarian>
hello
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malconis has quit [Ping timeout: 250 seconds]
malconis has joined #ruby-lang
<anomaly1337>
who whrere storage business logic in railis app?
<anomaly1337>
))
toertore has quit [Ping timeout: 245 seconds]
crdpink2 has joined #ruby-lang
crdpink has quit [Read error: Connection reset by peer]
toertore has joined #ruby-lang
Musashi007 has joined #ruby-lang
elia has joined #ruby-lang
<yorickpeterse>
That question makes no sense
havenn has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
havenwood has joined #ruby-lang
airdisa has quit [Remote host closed the connection]
airdisa has joined #ruby-lang
lytol has joined #ruby-lang
baweaver has joined #ruby-lang
lapide_viridi has quit [Quit: Leaving]
wallerdev has joined #ruby-lang
airdisa has quit [Ping timeout: 265 seconds]
<mtrimmer>
Does anyone here know anything about OptionParser's Shell Completion functionality? It looks like OptionParser always defines a --*-completion-bash flag, that if I pass part of an option, it returns the list of possible matches. However I haven't found any documentation on how to configure bash to make use of this
<mtrimmer>
The doc does say: Shell Completion¶ ↑For modern shells (e.g. bash, zsh, etc.), you can use shell completion for command line options.
<mtrimmer>
come on, this question makes sense! :-p
aeze has quit [Ping timeout: 245 seconds]
shazaum has quit [Quit: Leaving]
<cpt_yossarian>
mtrimmer: bash loads shell completion via sourcing, so i could only guess that OptionParser provides some way to generate bash_completion scripts
stef204 has joined #ruby-lang
<cpt_yossarian>
i don't think it's possible to do it dynamically though, it has to be done as a separate command (e.g. at shell startup or by the user)
<mtrimmer>
yeah, i'll have to export something into the environment, or set a bash "complete" command, I'm just looking for some documentation on how that was designed to work
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby-lang
SylarRuby has joined #ruby-lang
<cpt_yossarian>
interesting
gchristensen has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
elia has quit [Quit: Computer has gone to sleep.]
iliketurtles has joined #ruby-lang
joaomdmoura has quit [Remote host closed the connection]
<gchristensen>
Hi, I'm running ruby 2.2.1, and running @metrics.slice_before(len: 0) do |element, state| ... end, but get the error: warning: initial_state given for slice_before. (Use local variables.). it isn't clear to me what the resolution is. any suggestion?
baweaver has quit [Ping timeout: 250 seconds]
LMity has joined #ruby-lang
baweaver has joined #ruby-lang
lytol has joined #ruby-lang
<jhass>
gchristensen: the parameter is deprecated, closure over a local variable instead
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vipaca has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
state = 0; @metrics.slice_before do |element| slice? element, state; end;
crdpink has joined #ruby-lang
crdpink2 has quit [Ping timeout: 265 seconds]
<apeiros>
gchristensen is cross posting.
<gchristensen>
sorry about that, apeiros
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
cornerma1 has joined #ruby-lang
elia has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
<gchristensen>
I appreciate your help, jhass
Lewix has quit [Read error: Connection reset by peer]
dellavg_ has quit [Ping timeout: 264 seconds]
LMity has quit [Ping timeout: 252 seconds]
baweaver has quit [Remote host closed the connection]
lytol has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby-lang
lytol has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
sankaber has joined #ruby-lang
Zen-Zen has joined #ruby-lang
<Zen-Zen>
First time here... happy to find this.
<havenwood>
Zen-Zen: welcome!
<Zen-Zen>
taking a Ruby class and off to shaky start... is OK to post questions here?
ta has quit [Remote host closed the connection]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros>
Zen-Zen: sure
<havenwood>
Zen-Zen: yeah, both here and #ruby are good places for general Ruby questions
<apeiros>
and don't worry, if we're not happy about something, we'll say so
<apeiros>
(and usually common sense will steer you easily clear of such events)
relix has joined #ruby-lang
<Zen-Zen>
Ok here goes... been working on this for couple days and I am googled out. I need to check the first letter of sentence for being capitalized. User input is several sentences.
<Zen-Zen>
I x.split them into arrays of sentences, words, and letter ok...
ta has joined #ruby-lang
<apeiros>
Zen-Zen: I suggest you use gist.github.com to paste your best approach, with an example input.
<apeiros>
then tell us where you're stuck with your approach
<Zen-Zen>
just cannot figure out a way to iterate through the array and test for capitals?
<Zen-Zen>
OK good idea.
enebo has quit [Quit: enebo]
<apeiros>
I assume you only have to test ascii?
<apeiros>
that is, A-Z. nothing like Ä or similar…?
<Zen-Zen>
yes, this is an intro to Ruby class... not test place in memory or anything yet.
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tohsig has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
airdisa has joined #ruby-lang
GBrawl has joined #ruby-lang
rgb-one has quit [Remote host closed the connection]
symm-_ has joined #ruby-lang
symm- has quit [Read error: Connection reset by peer]
baweaver has joined #ruby-lang
lele is now known as Guest24
amystephen has joined #ruby-lang
airdisa has quit [Ping timeout: 248 seconds]
baweaver has quit [Ping timeout: 256 seconds]
cinch_ has joined #ruby-lang
cinch_ has quit [Remote host closed the connection]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cinch_ has joined #ruby-lang
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
martinbmadsen has quit [Ping timeout: 255 seconds]
<jhass>
Zen-Zen: how's that gist going? :)
cinch_ has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
airdisa has joined #ruby-lang
[spoiler] has quit [Quit: WeeChat 1.1]
deol has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
deol has quit [Client Quit]
leat has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby-lang
deol has joined #ruby-lang
iliketurtles has joined #ruby-lang
Dysp has joined #ruby-lang
<Dysp>
Hi. I hope there are some nice people here who wants to help out. I am a total programming newbie and just need a little help to get started. I've decided to use Aptana studio 3 and try creating a Rails project. But, I can't even getting past installing and getting around errors. It's very discouraging because learning the damn language is gonna be hard - I don't feel like juggling with install files and errors even before I get star
<Dysp>
-g me? :)
momomomomo has quit [Quit: momomomomo]
<Dysp>
PM me and I'll paste where I am stuck in the installing progress.
matrisking has quit [Quit: leaving]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
Dysp: first line got cut off at "I get star", however don't be afraid of posting in query, just make a gist with the error you're getting
<apeiros>
Dysp: I can't help with aptana. but I can help you get help. ask in the channel. people are *far* less likely to help in private.
<jhass>
er of posting in public I mean
GBrawl has quit [Remote host closed the connection]
<Dysp>
Well, creating a project gets Aptana to try installing some gems, but it seems it get stuck and the makes the following error:
<Dysp>
Please take notice that I am deaf, dumb and blind when it comes to programming :p I cant get my away around Excel and that is it. So assume I know nothing.
<Dysp>
can*
<jhass>
well, this is more system administration than programming :P
<Dysp>
That too :P
<jhass>
can you enter commands where that output comes from? I've never even seen Aptana ;)
<Dysp>
Yes, its a terminal
caseydriscoll has quit [Remote host closed the connection]
<jhass>
was that where you run gem --version earlier? What does it report there now?
Sirupsen has joined #ruby-lang
<Dysp>
Yes.
<Dysp>
2.2.2 still.
<jhass>
mmh
<Dysp>
Soab..
<Dysp>
:P
<jhass>
do you still have the log of the steps we took earlier?
Sirupsen has quit [Client Quit]
<Dysp>
I just ran the step we did before again
<Dysp>
Successfully installed rubygems-update-2.4.6 Parsing documentation for rubygems-update-2.4.6 Done installing documentation for rubygems-update after 0 seconds 1 gem installed
<Dysp>
Running the gem --version just still yield 2.2.2
<jhass>
yes, you must run update_rubygems
__butch__ has quit [Quit: Leaving.]
<Dysp>
Ah.
<Dysp>
how? :D
<jhass>
like gem
<jhass>
type: update_rubygems
<jhass>
press enter
<Dysp>
So first I just downloaded, but didn't actually use it for anything?
sondr3 has joined #ruby-lang
<Dysp>
Okay, 2.4.6 now. Great. Good. Nice.
<jhass>
well, it's the manual way to update the gem command
<jhass>
we couldn't use the built in way (gem update --system) since that's broken too on windows for that version
<Dysp>
Awesome.
<Dysp>
The "DL is deprecated, please use Fiddle". Should I worry about that?
<jhass>
no
<Dysp>
Okay. It seems like.. like.. it works.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Dysp>
I'll go tell my daughter to stop dancing for the Ruby gods
<Dysp>
(I dont have a daughter)
<Dysp>
Also, can I ask you if I should learn about github? I was thinking it would be a good idea to use it, hence I will be needing a shitload of help from external people.
apt-get__ has joined #ruby-lang
<jhass>
github is a nice tool, it's the defacto standard for open source collaboration and source code management these days, however you don't need to mix that with learning programming, focus on that first and look at SCM when you have some confidence
<jhass>
trying to learn everything there is at once will just make you have less progress in either ;)
apt-get_ has quit [Ping timeout: 246 seconds]
<Dysp>
True story.
bantic has quit [Quit: bantic]
wallerdev_ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
mikecmpbll has joined #ruby-lang
lytol has quit [Remote host closed the connection]
wallerdev has quit [Ping timeout: 244 seconds]
wallerdev_ is now known as wallerdev
dmr8 has quit [Quit: Leaving]
jds has quit [Quit: Connection closed for inactivity]
martinbmadsen has joined #ruby-lang
riotjones has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has joined #ruby-lang
Forgetful_Lion has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 256 seconds]
Dysp has quit [Quit: Page closed]
bantic has joined #ruby-lang
kfpratt has quit [Remote host closed the connection]
caseydriscoll has joined #ruby-lang
davispuh has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
chouhoulis has quit [Ping timeout: 252 seconds]
jefus_ has joined #ruby-lang
djbkd has joined #ruby-lang
jefus has quit [Ping timeout: 250 seconds]
waxjar has joined #ruby-lang
lytol has joined #ruby-lang
brushbox has joined #ruby-lang
arBmind1 has joined #ruby-lang
lytol_ has joined #ruby-lang
lytol_ has quit [Remote host closed the connection]
arBmind has quit [Ping timeout: 265 seconds]
sondr3 has left #ruby-lang ["Whelp."]
lytol_ has joined #ruby-lang
lytol_ has quit [Remote host closed the connection]
lytol_ has joined #ruby-lang
lytol_ has quit [Remote host closed the connection]
lytol has quit [Ping timeout: 250 seconds]
GBrawl has quit [Quit: (null)]
sobol has quit [Quit: Leaving]
lytol has joined #ruby-lang
lytol has quit [Remote host closed the connection]