DrCode has quit [Remote host closed the connection]
yxhuvud has joined #ruby
tommyvyo has joined #ruby
iliketurtles has joined #ruby
failshell has joined #ruby
renderfu_ has quit [Read error: Connection reset by peer]
jkline has joined #ruby
renderful has joined #ruby
etman has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
stuff has quit []
DrCode has joined #ruby
nari has joined #ruby
moses_m has joined #ruby
i_s has quit [Remote host closed the connection]
jkline has quit [Client Quit]
butblack has left #ruby [#ruby]
i_s has joined #ruby
jjbohn|afk is now known as jjbohn
tommyvyo has quit [Quit:]
codesoda has joined #ruby
twoism_ has quit [Remote host closed the connection]
twoism has joined #ruby
etman has quit [Ping timeout: 240 seconds]
nucatus has joined #ruby
Tricon has quit [Read error: Connection reset by peer]
pitzips has quit [Ping timeout: 246 seconds]
Tricon has joined #ruby
failshell has quit [Remote host closed the connection]
tgunr has quit [Quit: Nity nite]
tgunr has joined #ruby
sparr has joined #ruby
mlpinit has joined #ruby
tanema has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
twoism has quit [Ping timeout: 268 seconds]
Beoran__ has joined #ruby
fenicks has joined #ruby
hamakn has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
fenicks has left #ruby ["Message"]
Beoran_ has quit [Read error: Operation timed out]
etman has joined #ruby
fenicks has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
robscomputer has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
failshell has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
krainboltgreene has joined #ruby
_maes_ has joined #ruby
tristanp has joined #ruby
tristanp has quit [Client Quit]
robscomputer_ has joined #ruby
brianpWins has quit [Quit: brianpWins]
mansi has quit [Remote host closed the connection]
Voodoofish430 has quit [Quit: Leaving.]
robscomputer has quit [Ping timeout: 276 seconds]
wuzzzzaah has joined #ruby
Lewix has joined #ruby
jjbohn has quit [Quit: Leaving...]
smathieu has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
poga has joined #ruby
Badreddin has quit [Ping timeout: 245 seconds]
eka has quit [Quit: Computer has gone to sleep.]
Badreddin has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
snovak has joined #ruby
fenicks has quit [Ping timeout: 276 seconds]
zachrab_ has joined #ruby
Neener54 has joined #ruby
Domon has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
graydot has joined #ruby
tgunr has quit [Quit: Nity nite]
randomau_ has joined #ruby
dankest has quit [Quit: dankest]
randomau_ has quit [Read error: Connection reset by peer]
etman has quit [Quit: etman]
randomautomator has quit [Ping timeout: 241 seconds]
havenwood has quit [Remote host closed the connection]
etman has joined #ruby
dankest has joined #ruby
vlad_starkov has joined #ruby
krainbol_ has joined #ruby
echevemaster has joined #ruby
krainboltgreene has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
andredublin has joined #ruby
rickruby has joined #ruby
cads has joined #ruby
optimusprimem has joined #ruby
optimusprimem has joined #ruby
Badreddin has quit [Ping timeout: 245 seconds]
rubyguy has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
threesome has quit [Ping timeout: 268 seconds]
Guest6856 has joined #ruby
Guest6856 is now known as diegoviola
dickson66 has joined #ruby
zachrab_ has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 264 seconds]
Vivekananda has quit [Ping timeout: 240 seconds]
v0n has quit [Read error: Operation timed out]
BillCriswell has quit [Remote host closed the connection]
chriskk has joined #ruby
rurufufuss has quit [Ping timeout: 245 seconds]
optimusprimem has quit [Max SendQ exceeded]
Niamkik_ has quit [Quit: Disconnecting from stoned server.]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Niamkik has joined #ruby
bzitzow has quit [Ping timeout: 246 seconds]
optimusprimem has joined #ruby
yy-nm has joined #ruby
Scient has quit [Ping timeout: 240 seconds]
sparr has quit [Ping timeout: 264 seconds]
waysc has joined #ruby
radic__ has quit [Ping timeout: 246 seconds]
DaveRoR has joined #ruby
tjad has joined #ruby
sambao21 has joined #ruby
Scient has joined #ruby
lesliewen has joined #ruby
kilophoton has joined #ruby
codesoda has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
Guest54726 has quit [Ping timeout: 260 seconds]
evenix has joined #ruby
Niichan has quit [Ping timeout: 260 seconds]
rickruby has joined #ruby
graydot has quit [Ping timeout: 240 seconds]
sambao21 has quit [Ping timeout: 264 seconds]
JZTech101 is now known as JZ|Zzz
hiyosi has quit [Ping timeout: 264 seconds]
dbRenaud is now known as zz_dbRenaud
<DaveRoR>
Anyone know a good place to find the reference for "super"?
<DaveRoR>
It is called inside a function of a module, with two arguments.
Nitrodex has joined #ruby
evenix has quit [Ping timeout: 240 seconds]
<Tricon>
DaveRoR: Oh, you mean where it's called?
<sevenseacat>
the superclass of the object?
Nitrodex is now known as Guest83359
Niichan has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
<DaveRoR>
Tricon: I mean, what does "super" actually do.
<DaveRoR>
Tricon: I'm confused and I can find no reference.
<sevenseacat>
it calls the same method in the parent object
<Tricon>
DaveRoR: ^
<zets>
btw, if it's called with no arguments, it passes the same arguments used in the child object method call
<DaveRoR>
But what if it is passed two arguments? The first is a string, and the second is a class object?
<DaveRoR>
(Sorry I'm a noob...)
ukd1 has quit [Remote host closed the connection]
viszu has joined #ruby
graydot has joined #ruby
<DaveRoR>
Trion: ^
banister`sleep has quit [Remote host closed the connection]
<DaveRoR>
Tricon: ^
<DaveRoR>
sevenseacat: ^
<sevenseacat>
then it passes those two arguments to the parent method
zorg24 has joined #ruby
radic__ has joined #ruby
nucatus has joined #ruby
<zets>
DaveRoR: https://gist.github.com/zetsubo/6237718 this is really contrived, but this would output "test" and then "called from B#my_func" - the super call is calling the parent method's version
_|christian|_ has joined #ruby
Badreddin has joined #ruby
<DaveRoR>
zets: Got it! Thanks! :D
postmodern has joined #ruby
<zets>
np :D
Lewix has quit [Remote host closed the connection]
moses_m has quit [Ping timeout: 240 seconds]
krz has joined #ruby
Lewix has joined #ruby
Dreamer3 has joined #ruby
jkline has joined #ruby
nucatus has quit [Ping timeout: 276 seconds]
gianlucadv has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 240 seconds]
amacgregor has quit [Read error: Connection reset by peer]
thepumpkin has quit [Remote host closed the connection]
jdenen has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
zachrab_ has joined #ruby
krainbol_ has quit [Quit: krainbol_]
krainboltgreene has joined #ruby
Nightmare is now known as TheTFEF
sparq_ has quit [Ping timeout: 264 seconds]
ssvo has joined #ruby
Joel_re has joined #ruby
<pontiki>
if you're a noob, why do you have RoR in your nick?
<zendeavor>
because he wants to talk about ror
baroquebobcat has quit [Quit: baroquebobcat]
<jrobeson>
i see this all the time in other channels
mansi has joined #ruby
<jrobeson>
i think it has to do with them trying their name.. and finding it already taken
<jrobeson>
so they just add whatever they are looking for support for
<zendeavor>
my favourites are "linuxnoobie" and similar
smathieu has joined #ruby
<jrobeson>
those ones grind my gears unnecessarily :(
<jrobeson>
i don't know why i get upset about it
<jrobeson>
but for some reason it's a big pet peeve of mine . :(
<sevenseacat>
or the ones like 'railsking' when people are learning, i love those
<zendeavor>
because they tend toward intentional ignorance rather than welcoming a learning experience
<jrobeson>
a learning experience about which part?
<jrobeson>
learning irc culture?
<zendeavor>
linux
<jrobeson>
how does their nick choice reflect intentional ignorance?
zets is now known as xXCORERAILSm45ST
<zendeavor>
it doesn't, they tend toward it
<jrobeson>
or at least that specific nick choice type
xXCORERAILSm45ST is now known as zets
<zendeavor>
it's a phenomenon in #archlinu
<zendeavor>
x
<jrobeson>
that's not the only one ..
<jrobeson>
i used to help with support for gentoo
<jrobeson>
same kinda people
<zendeavor>
mhmm
<zendeavor>
why do those personalities pick such similar nicks? no clue.
duper has quit [Ping timeout: 248 seconds]
<pontiki>
maybe it's the only form of validation they get?
viszu has quit [Quit: Leaving.]
snovak has joined #ruby
<jrobeson>
i always wanted to know why one would want to advertise themselves as being a noob.. either in nick choice or post..
<zendeavor>
same
mansi has quit [Remote host closed the connection]
idoru has quit [Read error: Operation timed out]
<pontiki>
when i am a noob in places, i find sometimes it helps the other person know they need to explain a bit differently
<pontiki>
or hit me with a tonne of bricks because i asked the question wrong
mansi has joined #ruby
<jrobeson>
i guess i'd just say.. some tl;dr of "here's what i know..., here's what i'm trying to figure out"
<pontiki>
yeah
<pontiki>
graceful revelation of noobishness
<jrobeson>
well.. people always like it if you have some indication that you've tried something already
<pontiki>
ah
<pontiki>
i think that's a bit different, although in the same arena
<pontiki>
i like it when people show an interest in trying stuff out, yeah, rather than arguing about why it works the way it does
<jrobeson>
or at least.. read something already..
<jrobeson>
well.. it helps to know everything in computers is a kludge
<sevenseacat>
thats my #1 pet peeve, when people ask if something will work instead of trying it
duper has joined #ruby
<jrobeson>
unless it's really hard to try :)
<sam113101>
unless it takes a long time to setup
smathieu has quit [Ping timeout: 264 seconds]
<sevenseacat>
most of the time it isnt though, its basic syntactic stuff
TheTFEF is now known as Nightmare
<sam113101>
… right?
<jrobeson>
sevenseacat, yes.. that i find annoying
<sevenseacat>
syntactical? whatever
<sam113101>
because I always do that :)
zachrab_ has quit [Remote host closed the connection]
<jrobeson>
i think i've been doing irc help too long
<zendeavor>
3 years running
snovak has quit [Ping timeout: 264 seconds]
<zendeavor>
already too long.
robscomputer_ has quit [Remote host closed the connection]
<pontiki>
aye
<jrobeson>
uhmm.. what always happens to me.. is .. i join some irc channel to learn something.. but nobody there can help me out
<pontiki>
that is a long time
<zendeavor>
i should get a medal
<jrobeson>
and then i end up helping peopel with the basic stuff
DanBoy has joined #ruby
<zendeavor>
i'm ~legendary~ in #archlinux
<pontiki>
jrobeson: and you end up answering everyone else's questions
robscomputer has joined #ruby
<jrobeson>
hmm.. i'm about 12 years now.. :(
mansi has quit [Ping timeout: 268 seconds]
maniacal has joined #ruby
<Nilium>
Coffee is not a good thing to drink before playing multiplayer shooters. Great for coding, not for games.
<jrobeson>
ever since i got involved in postnuke
wuzzzzaah has quit [Ping timeout: 250 seconds]
<sam113101>
I can you remember you from there zendeavor
<zendeavor>
i disagree that it's good for coding
<sam113101>
though I don't use archilnux anymore
<Nilium>
I disagree that you're good for coding.
<sevenseacat>
lol
<zendeavor>
maybe
<pontiki>
stims
<pontiki>
need the stims
<jrobeson>
pontiki, i think they just call that meth now..
<Nilium>
<zendeavor> if it ain't a needle it ain't in me
<sevenseacat>
need more stims *goes to fridge*
<pontiki>
but i am intrigued, why is coffee not good before mulitplayer shooters?
pvizcay has joined #ruby
<Nilium>
Makes my hand oddly shaky.
<zets>
gotta keep that meth cold
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki>
ah so
<pontiki>
jrobeson: was thinking of B5 in particular
<pontiki>
i'm sure they are *well* past meth
<jrobeson>
i was thinking of bsg ..
<Nilium>
Like it starts out shaky, balances out a bit and improves, then I get weirdly erratic.
<jrobeson>
never saw b5..
<pontiki>
omg
<pontiki>
SEE IT
<Nilium>
The coffee is less likely to be the issue and the whole me playing for too long thing is more likely to be the problem.
<jrobeson>
i've never seen star trek either..
<jrobeson>
or dr who
<pontiki>
but you have seen BSG?
<pontiki>
i find this interesting....
v0n has joined #ruby
<jrobeson>
well i've seen some episodes of both .. but i didn't really like them
rbento has quit [Quit: ┐('~`;)┌]
<pontiki>
ah, ok
<Nilium>
I've seen a couple episodes of Star Trek and that weeping angel episode of Dr. Who and that is the extent of my TV scifi. Aside from Lexx, which I kind of have a hard time considering scifi.
<pontiki>
that's different
ssvo has quit [Ping timeout: 240 seconds]
<jrobeson>
well generally i stayed away from things that happen in space
<pvizcay>
Hi! I've a simple script, that is made into a daemon with daemons gem. The startup and stop is working well when run from the command line, but I'm not able to configure it to start automatically with init.d (ubuntu server 12.04). I've tryied "sudo update-rc.d ruby startdaemon.rb defaults with no luck (looks like it looks for just a command line without parameters). Any ideas? thanks
<pontiki>
i cannot figure out Lexx. why was it made? who thought it was worth paying actors and crew for? WHO WROTE THE DAMN THING???
<jrobeson>
but.. i liked caprica.. so i watched bsg
<pontiki>
oh, you're working backwards then
<Nilium>
pontiki: It's the mystery that keeps it alive.
<pontiki>
Caprica was darn interesting
<sevenseacat>
hooray more diet coke
robscomputer has quit [Ping timeout: 268 seconds]
<Nilium>
I will also never claim to even understand Lexx's plot 'cause I don't know if it had one
<jrobeson>
they had to close it out really quickly .. very sad
<jrobeson>
same as dollhouse
vlad_starkov has joined #ruby
<pontiki>
i can see why it got cancelled, the pacing was too slow for most TV
<jrobeson>
i liked the pacing..
<pontiki>
i did too, and the storytelling
<jrobeson>
i guess that's the kinda thing you gotta find a way to make money on the internet for..
<Nilium>
Speaking of TV shows, I wonder if the Walking Dead ever stopped being boring.
<jrobeson>
Nilium, you thought season 1 was boring?
<pontiki>
i wouldn't know
<Nilium>
I liked Season 1 until it got to the Resident Evil movie ripoff ending episode.
<jrobeson>
season 2.. boring..
<pontiki>
i stopped after halfway in first season
<Nilium>
At which point I just went "what the fuck" and never looked back
<jrobeson>
season 3.. definitely stopped being boring
<Nilium>
That said, I was one of the people hoping it'd stick close to the comic
<pontiki>
when the walkers have more personality than the live people
<Nilium>
The Walking Dead game did a much better job, I thought, as far as telling a story goes
ner0x has quit [Quit: Leaving]
<jrobeson>
i also like silly things too tho
<Nilium>
It didn't try to cram in a stupid underground laboratory ala Resident Evil or anything.
<jrobeson>
if that perhaps changes your opinion of mine.. :) .. i liked eureka and warehouse 13 for example..
<Nilium>
The whole underground lab thing might be the biggest problem I had with the series.
<Nilium>
Because it seriously pissed me off.
<jrobeson>
that only happened in two episodes
<pontiki>
i still like w13
<pontiki>
and i loved eureka
<jrobeson>
it wasn't really a core plotpoint
<Nilium>
I must not forgive it for those two episodes.
dankest has quit [Quit: dankest]
r4nd0m1 has quit [Read error: Connection reset by peer]
chxane has joined #ruby
<Nilium>
They were just completely out of nowhere and amazingly stupid
<jrobeson>
pontiki, 6 more episodes and w13 is a goner :(
<pontiki>
yeah
<pontiki>
i have't watched any of s4 yet :(
<jrobeson>
waiting for it to hit netflix or something?
<pontiki>
no, i have the eps
<pontiki>
just not the time
<jrobeson>
ah
<pontiki>
i'm not watching anything right now
<l34ch>
is it hard to get a job and then relocate to the bay area?
<pontiki>
it's much harder to do it the other way 'round
<jrobeson>
i've binged on too much stuff on this past few motnhs in this little town..
<Nilium>
l34ch: The finding an apartment bit might be difficult.
<Nilium>
Or house.
<pontiki>
assuming said job is *in* the bay area
<l34ch>
yeah ive read its like 3 to 4 grand a month
<pontiki>
you have to have roommates
<jrobeson>
pick the right company and they will help you relocate
<pontiki>
or multiple incomes
<sevenseacat>
sounds like fun
<pontiki>
no, it's not that much
vlad_starkov has quit [Ping timeout: 240 seconds]
<Nilium>
Or find something out of town.
Cyrus_ has joined #ruby
<jrobeson>
pontiki, well.. it could easily be $3000 ... depending on the utilities..
<pontiki>
if you're able to pay that much in rent, you can still buy a house for less monthly mortgage than that
<pontiki>
especially south bay
<jrobeson>
i have never heard anybody talk about utility costs
sayd has left #ruby ["WeeChat 0.4.1"]
<pontiki>
in the city, it's way hard
<jrobeson>
but.. i've definitely seen rents that are pretty high..
<pontiki>
if you're in santa clara, utility costs are way low
<jrobeson>
i'd be willing to pay it if i had one of those kinda jobs..
<Nilium>
Chances are utilities won't be as big a factor.
<pontiki>
except internet
gianlucadv has joined #ruby
<Nilium>
That's not really utilities though.
<jrobeson>
who knows what those crazy californians get up to..
<pontiki>
i do
<pontiki>
:P
<Nilium>
I used to live in California, but it's been about 13 years, so I have no idea what's up down there.
<jrobeson>
down there?
<jrobeson>
from where
<pontiki>
Nilium: for those of us in this particular world, internet is a utility
<Nilium>
Plus I lived north of the Bay Area around Roseville.
<pontiki>
but it's not regulated as one
<Nilium>
And I was like 11 years old.
<jrobeson>
i plan on visiting the bay area at some point
<jrobeson>
but i doubt i'd move there anytime soon
<pontiki>
i can't wait to move back
<pontiki>
all of my friends and family
<sevenseacat>
when i think of utilities i think like gas, electricity, water, etc.
<pontiki>
sevenseacat: those are the typical regulated ones
<jrobeson>
the internet should be counted as a utility.. but then .. so should have phones..
<Nilium>
I want to go back just because most of my family is there and California's still the place I oddly consider home.
pothibo has quit [Quit: pothibo]
<pontiki>
i do consider it home
<pontiki>
though i wasn't born there or raised there
alvaro_o has quit [Quit: Ex-Chat]
<Nilium>
I was born there, but less than half my life was spent there.
<jrobeson>
i've only passed through california on the train
<jrobeson>
to and from oregon
<Nilium>
It's difficult to explain my irrational fondness for the state.
<pontiki>
i was there for about 27 years. had two kids, great friends, other family
<jrobeson>
fondess for california doesn't seem irrationally..
<Nilium>
It does when I can't find a reason for it.
<pontiki>
oh, lots of people loathe the place
idoru has joined #ruby
<jrobeson>
sure they do
<Nilium>
I'm in Idaho, everyone but the Californians who moved here hate California
<pontiki>
i don't think there's any rationality to liking/disliking -- it's all emotional
<Nilium>
They mostly hate the Californians 'cause they moved to Idaho and are considered a blight.
<jrobeson>
hmm? climate is a very good reason to like california
<jrobeson>
that's quite rational
<pontiki>
heh, i've heard that a lot, Nilium
<zets>
or hate it
kobain_ has quit [Ping timeout: 245 seconds]
<pontiki>
jrobeson: that's a post-hoc rationalization :)
<zets>
SF weather drives me crazy sometimes
<jrobeson>
liking californians..
<jrobeson>
now tha'ts different
<jrobeson>
i think most people hate californians.. not california
<Nilium>
Climate, culture, the state trying to generally do good things (and failing every time), etc.
<pontiki>
i get off the plane in SFO and breathe in the marine layer and all that -- it's entirely feelings
tanema has quit [Remote host closed the connection]
<pontiki>
it makes me feel good
forced_request has quit [Read error: Connection reset by peer]
<Nilium>
Though I could never get used to LA and such. Would drive me mad living there.
krainboltgreene has quit [Quit: krainboltgreene]
<pontiki>
Westside wasn't so bad, but i couldn't stand venturing inland
<jrobeson>
i slept in the train station in LA ..
<Nilium>
It's just too big for me to imagine living there.
<jrobeson>
and ate tacos
<pontiki>
yeah
<jrobeson>
that's about it ..
<Nilium>
You need to get a burrito in the Bay Area.
<pontiki>
but if you confine yourself to like Venice, SM, Long Beach, it's not so bad
<pontiki>
OMG
<pontiki>
MISSION BURRITOS
<pontiki>
NOW
<Nilium>
Exactly.
<Nilium>
You have not had a burrito 'til you've had one of those.
<jrobeson>
we'll see about that..
pkrnj has quit [Quit: Computer has gone to sleep.]
<jrobeson>
i'll be tasting all your burriots
<jrobeson>
burritos
Neener54 has joined #ruby
<pontiki>
only off a truck
<jrobeson>
duh..
<jrobeson>
i do eat tacos in a place that isn't a truck tho..
<pontiki>
living here is like living in a cultural wasteland, except for the theatre
<jrobeson>
the building looks like it should be on a dirt road in some sort of desert like area
<Nilium>
Your likelihood of getting food poisoning skyrockets, but it's pretty worth it.
<jrobeson>
pontiki, where do you live then ?
<pontiki>
right now i'm in minnesnodia
<jrobeson>
uhmm..
<jrobeson>
where there
<pontiki>
twin cities
<jrobeson>
ah ok..
<jrobeson>
well.. who knows there could be a real place called that
<jrobeson>
it can't be that bad..
<pontiki>
maybe not if you've never left
<pontiki>
let me put it this way: would you willingly choose to go from 20Mbs broadband back to 52kpbs dial-up?
<Nilium>
Reminds me of the move from California to Idaho.
<Nilium>
I didn't get cable up here 'til.. 2006 I think.
<jrobeson>
move to virginia beach pontiki .. :)
<jrobeson>
hah
pkrnj has joined #ruby
<Nilium>
Might have been 2007.
<jrobeson>
we'll see how you feel about the twin cities then..
<pontiki>
why should it go further down to 300baud?
ananthakumaran has joined #ruby
<jrobeson>
hey now.. it's not that bad..
lusory has quit [Quit: leaving]
<pontiki>
1200?
<jrobeson>
the place i am now is like 300
<jrobeson>
parkersburg , wv
<jrobeson>
until i move back to portland
<pontiki>
sympathies. deepest sympathies
<pontiki>
pdx is awesome
<DaveRoR>
Has there been any significant changes in the functionality of "extend"?
<pontiki>
i'd live there as well
<zendeavor>
i get bored in portland
<pontiki>
whoa
<zendeavor>
let's throw a party
<pontiki>
bored in portlandia??
<pontiki>
the city of quirk?
<zendeavor>
too much quirk
<zendeavor>
not enough substance
<zendeavor>
all shallow weird.
<pontiki>
hmm
<Nilium>
DaveRoR: Since when?
<zendeavor>
we stole "keep portland weird" from austin anyway
<pontiki>
i guess the folks i know are different
nga4 has quit [Ping timeout: 264 seconds]
<zendeavor>
there's some good people
<Nilium>
And has something changed for you?
<zendeavor>
most of the area is actually shallow hipster memes
<zendeavor>
like, just what they say on the interwebs about hipsters
<pontiki>
seattle is much the same way
<zendeavor>
screw it, i'm just gonna go to the LUG
<zendeavor>
real geeks.
tjad has quit [Ping timeout: 264 seconds]
<pontiki>
but i do have some awesome friends there
<zendeavor>
neckbeard geeks.
<jrobeson>
i didn't think portland was that bad
<zendeavor>
yeah there's some really cool people. most, probably.
<zendeavor>
but you have to dig deep to get it outta them
<jrobeson>
i only accidentally moved there in the first place
<zendeavor>
hey me too
<jrobeson>
i was living in baltimore before that
seich- has quit [Ping timeout: 264 seconds]
<jrobeson>
i went for a visit.. ended up staying for a few years
<zendeavor>
it's a fun place
<jrobeson>
made some friends.. and they are all begging me to come back
* Nilium
pokes DaveRoR
<jrobeson>
got plenty of couches to crash
lesliewen has quit [Quit: Leaving.]
<pontiki>
living in SM was bad for socializing; LA has the weird thing going on it seems
<pontiki>
hard to make friends and just be friends
<DaveRoR>
Nilium: Since like, two years ago?
<pontiki>
just hang and talk and stuff
<Nilium>
Could you be more specific? Version numbers?
<jrobeson>
i found portland to be good for that
<Nilium>
Between vX and vY?
<pontiki>
me too, jrobeson
v0n has quit [Ping timeout: 245 seconds]
<jrobeson>
so.. a real ruby question ..
<pontiki>
but LA -- maybe i was doing it wrong
<Nilium>
Is there something you're actually noticing or just asking if there are differences?
<DaveRoR>
Nilium: 1.9.2 and 1.9.3?
<pontiki>
a few ppl i met, no one would want to do anything
<jrobeson>
anybody used ruby-serial ? i saw some bugs about missing bytes.. and i'm just wondering if it's an endemic problem.. or just some random quirk..
<zendeavor>
dude
<zendeavor>
no one in portland wants to do anything but walk around downtown
<zendeavor>
i'm like
<jrobeson>
do what?
<DaveRoR>
Nilium: I suspect that the functionality of "extend" is messing with my rails app, that's why...
<jrobeson>
we went downtown to do stuff..
<jrobeson>
but we never hung out down there
<jrobeson>
i think you spent too much time in the pearl..
<sevenseacat>
extend is fine with rails
<zendeavor>
yeah like, hang out. downtown. doing nothing.
<jrobeson>
i lived in SE
<Nilium>
I don't think anything in extend changed in any significant or noticeable way in 1.9.2 to 1.9.3
<zendeavor>
just walk around
<pontiki>
actually, all the folks i know live away from town
<pontiki>
we just hang out
<jrobeson>
none of my friends are computer nerds
<Nilium>
If there's something wrong in your rails app, it's most likely something else you're doing wrong.
<sevenseacat>
yep.
<DaveRoR>
Nilium: Thanks!
<jrobeson>
i personally do like walking around downtown..
<jrobeson>
any and all downtowns
seich- has joined #ruby
<jrobeson>
everybody in pdx is like.. let's go hiking.. let's go to mt hood, or the falls, or blah blah blah
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson>
the coast..
ukd1 has joined #ruby
<jrobeson>
let's go on 20 mile bikerides
<Nilium>
I went camping once in my life and I'm never doing it again. Camping made me realize that we have houses for a reason.
kung has quit [Quit: Bye!]
<zendeavor>
everyone i know that wants to go hiking means "highking"
<Nilium>
Is that like a competitive king of the hill thing?
<zendeavor>
and they don't have vehicles
<zendeavor>
yes Nilium definitely.
<Nilium>
So lots of backstabbing and poisoning and so on?
<jrobeson>
everybody i know is too laid back for that kinda thing..
Dreamer3 has quit [Quit: Leaving...]
<jrobeson>
that's the portland stereotype i know.. low ambition ..
<Nilium>
I'm pretty happy to just go on a bike ride around town or a walk or something. I don't need to put myself in the position to potentially die to be happy.
nucatus has joined #ruby
ravster has quit [Quit: Leaving.]
<Nilium>
I mean I could go climb to the top of some mountain or go hiking in the snow or something equally likely to result in me slipping and falling to my death but I'm more okay with not doing that.
<jrobeson>
hmm.. should i write this in perl hmm..
<Nilium>
I should write more blog posts
<Nilium>
But after realizing I wasn't a super genius by writing code, I kind of stopped
<Nilium>
So now I just hoard all the stuff I've written.
<sevenseacat>
i keep meaning to start a blog
<Nilium>
Maybe I'll rewrite my blog gem and then blog about rewriting a blog gem.
cj3kim has quit [Remote host closed the connection]
<Nilium>
OakTree certainly needs a giant internal thrashing.
krz has quit [Ping timeout: 256 seconds]
<pontiki>
how meta,not-meta,meta
tgunr has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
<Nilium>
I think that thereby negates meta-ness.
<pontiki>
i keep starting and stopping
<pontiki>
i like to write
<Nilium>
And then comes around full circle to "hey I have a severe case of NIH syndrome"
<sevenseacat>
i like to write too, i dont do a lot of it anymore
lusory has joined #ruby
<Nilium>
I like to write so much I got a degree in English :|
tommyvyo has joined #ruby
<Nilium>
Still trying to get my fiction/nonfiction/poetry into a literary journal.
<Nilium>
That's the really annoying thing though -- I can't publish stuff myself if I want it in a journal.
sparq_ has joined #ruby
<Nilium>
At least not until it's already been in a journal
<sevenseacat>
last time i formally studied English, i failed it (in high school)
<Nilium>
I didn't go to high school, so I have no idea what it would've been like.
<Nilium>
Supposedly it's hell.
<sevenseacat>
home schooled?
<Nilium>
Yep.
newUser1234 has joined #ruby
<sevenseacat>
nice
<Nilium>
Homeschooled and then went to a community college at 16. Made me want to eventually get a masters so I could teach at a CC.
<Nilium>
Not sure when I'll do the masters thing since I'm still sort of burnt out from the first four years.
s2013 has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
Joel_re has quit [Ping timeout: 276 seconds]
agjacome has joined #ruby
zachrab_ has joined #ruby
cj3kim has joined #ruby
tjad has joined #ruby
_|christian|_ has quit [Quit: Leaving]
cj3kim has quit [Remote host closed the connection]
<pontiki>
hmm... used to be you could qualify to teach at CC with just a bachelor's
<pontiki>
not true any more?
kil0byte has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
Neener54 has joined #ruby
sarkis has joined #ruby
Joel_re has joined #ruby
<pontiki>
still, by all means grab the masters
<pontiki>
i wish i had one
<pontiki>
mostly for the experience of studying something that intensely
moses_m has joined #ruby
DaveRoR has left #ruby [#ruby]
Neener54 has quit [Client Quit]
snovak has joined #ruby
<sevenseacat>
i'd love to go back and study some more. i dont have the time or money though :(
Neener54 has joined #ruby
<pontiki>
but as i recall public high school (ages and ages ago), it was exceedingly homogenised, ruled by jocks and cheers, no one ever actually taught you the truth, and geeks, freaks, and queers were always at the bottom of everything
zets has quit []
Joel_re has quit [Read error: Connection reset by peer]
<jrobeson>
not much different.. here or anywhere else
snovak has quit [Ping timeout: 246 seconds]
<bnagy>
_anywhere_ else?
thepumpkin has joined #ruby
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson>
american and anywhere else..
nanoxd has joined #ruby
<jrobeson>
where they have something like highschool..
skasio has joined #ruby
Kelet has quit [Read error: Connection reset by peer]
<bnagy>
...
<bnagy>
tell me more about your global survey of secondary education!
emogirlj has joined #ruby
<pontiki>
you going to subscribe to his newsletter?
<sevenseacat>
a bit different over here, no such 'jocks and cheers'
<pontiki>
nod
<pontiki>
my experience seems typical of US public schools, some better, some worse, some completely different, too
cha1tanya has joined #ruby
<pontiki>
magnet schools, specialty schools, art schools, science schools...
<pontiki>
these things did not exist
<pontiki>
but my dad taught in public high schools
zachrab_ has quit [Remote host closed the connection]
<pontiki>
i survived
<pontiki>
mostly
<pontiki>
easier to jump out and get to uni
<pontiki>
but this was a long long time ago
<pontiki>
my girls had more opportunities for alternate education
vlad_starkov has joined #ruby
<pontiki>
one needed it, one did not
zorg24 has quit [Ping timeout: 268 seconds]
goleldar has quit [Ping timeout: 268 seconds]
baroquebobcat has joined #ruby
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
dankest has joined #ruby
ryandeussing has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
andredublin has quit [Remote host closed the connection]
ukd1 has joined #ruby
DanielRb has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
dodosan has joined #ruby
Domon has quit [Ping timeout: 276 seconds]
ewnd9 has quit [Ping timeout: 245 seconds]
maniacal has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
Lewix has quit [Remote host closed the connection]
Soliah has joined #ruby
dodosan has quit [Remote host closed the connection]
Z3tta has quit [Ping timeout: 260 seconds]
dodosan has joined #ruby
jkline has quit [Quit: jkline]
b00stfr3ak has joined #ruby
tommyvyo has quit [Quit:]
yy-nm1 has joined #ruby
yy-nm has left #ruby [#ruby]
mercwithamouth has joined #ruby
yy-nm1 has left #ruby [#ruby]
Lewix has joined #ruby
yy-nm1 has joined #ruby
<jrobeson>
i was just talking to some folks from germany, belgium and whatnot.. there seems to be a hierarchy wherever you go
<jrobeson>
oh.. australia sounded somewhat similiar
<jrobeson>
although.. not so much on the heterogenous education..
ukd1 has quit [Ping timeout: 268 seconds]
Geison_Bequer has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
<sevenseacat>
well a hierarchy, sure
<jrobeson>
i should have been clear.. i was mostly referring to cliques
kevinykchan has joined #ruby
<sevenseacat>
cliques form in any sort of social environment
<bnagy>
especially ones that actively encourage them
nga4 has joined #ruby
newUser1234 has quit [Remote host closed the connection]
tommyvyo has joined #ruby
<jrobeson>
people of a certain age.. are people of a certain age..
<jrobeson>
i have a serial device that takes input from pressure sensors.. need to forward them to a web app
tomzx_mac has quit [Ping timeout: 268 seconds]
Z3tta has joined #ruby
<bnagy>
on windows?
<jrobeson>
nah.. on linux
<bnagy>
oh.. why does just reading from the device not work?
<jrobeson>
that's like asking why one would use cdparanoia to handle cd audio files vs cat /dev/cdrom > some iso
<jrobeson>
plus all all you get out of that is just plain gunk
<jrobeson>
unreadable characters
<jrobeson>
but when using minicom.. it'll actually convert it to hex.
nucatus has joined #ruby
<bnagy>
ok, I'm going to go and not waste my time somewhere
Heero has joined #ruby
l34ch_ has joined #ruby
<l34ch_>
hello
nucatus has quit [Ping timeout: 240 seconds]
sarkis has quit [Ping timeout: 245 seconds]
unRealElite has joined #ruby
amacgregor has joined #ruby
l34ch_ has left #ruby [#ruby]
kil0byte has quit [Remote host closed the connection]
Guest23754 has joined #ruby
i_s has joined #ruby
tommyvyo has quit [Quit:]
Heero has quit [Quit: Leaving]
amacgregor_ has joined #ruby
<Nilium>
I'd ask why converting it to hex is somehow valuable but it's better not to.
amacgregor__ has joined #ruby
unRealElite has quit [Quit: This computer has gone to sleep]
amacgregor has quit [Ping timeout: 264 seconds]
<jrobeson>
Nilium, so i can read it ..
<Nilium>
But why do you need a gem to convert anything to hex?
<jrobeson>
anyways.. it works fine last time i did it in perl.. just wondered if anybody had any of the "missing bytes" issues mentioned in the ruby-serial issue tracker
<jrobeson>
if they had in fact used it
ukd1 has joined #ruby
<jrobeson>
Nilium, i don't need the gem for that
amacgregor_ has quit [Ping timeout: 264 seconds]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson>
i need the gem for reading from the port.. and sending the result to some webapp
<Nilium>
Why would a web-app need it in hex?
<jrobeson>
and i can't guarantee good results by reading from the device directly
<jrobeson>
that's irrelevant to using the gem..
<Nilium>
Oh well, I'll just assume you know what you're doing or don't know what you're doing
<Nilium>
You can be schrodinger's programmer.
<pontiki>
just stick the output from minicom onto a redis queue? web app reads it when it needs to?
<Nilium>
Unobserved, nobody has a clue if you know what you're doing.
<jrobeson>
Nilium, it doesn't matter.. i was just trying to find out .. if somebody who has used the ruby gem.. had in fact noticed missing bytes
<jrobeson>
that's it
<jrobeson>
because if they had.. that sounds pretty broken.. and i shouldn't boether with the gem
ssvo has joined #ruby
<jrobeson>
there are many other other ways.. like using socat and forwarding the output directly..
<pontiki>
you don't have to write everything in the same language...
zeropx has quit [Quit: has left the room … Or did he?]
<jrobeson>
surely don't.. it just makes it easier
<jrobeson>
i already did it once in perl.. quite easily
<pontiki>
that's what i'm saying, you implemented it once, easily, you know it works, use it
<jrobeson>
because it eases the depedencies for installing it ..
<jrobeson>
requiring perl just for that is not something i'd like to do .. unless i have to
<pontiki>
wat
<pontiki>
what distro does not come with perl ?
<jrobeson>
i currently use linux, but that doesn't mean the software will always be run on linux
<jrobeson>
although i hope it will.. that would make things easier certainly.. but i have no guarantee of that
<pontiki>
maybe not
popl has joined #ruby
thepumpkin has quit [Remote host closed the connection]
<jrobeson>
hmm.. sending it to redis is a good idea.. i'm not familiar with the protocol though
<pontiki>
but then again, if you have something that works, now, and you don't *know* it's going to be run anywhere else, you're burrowing into YAGNI
<jrobeson>
i was trying to think of where i'd put the bridge.. i could do a rest API
<jrobeson>
that was 9 years ago.. i don't have the code anymore
<pontiki>
ah, well that's a different issue then
<jrobeson>
i was only replying that i know i knew i didn't have to use ruby.. and could certainly use something else :)
<pontiki>
and i was saying use what you have, but it turns out you don't have it
i_s has quit [Remote host closed the connection]
<jrobeson>
i was also trying to figure out next how i would bridge the serial port to the webapp..
Guest23754 is now known as diegoviola
<pontiki>
even so, architecturally, i'd say what you are doing is speed matching things that run a different rates, an asynch solution like using a queue seems better than polling an api
<jrobeson>
so.. i could just use socat.. and do a raw tcp stream.. but i think that's a persistant connection..
snovak has joined #ruby
<jrobeson>
well this is send from serial.. so it wouldn't be polling
<pontiki>
wrong area
<jrobeson>
now submitting to the webapp.. i could do it with an api.. or just drop it in redis like you said
<pontiki>
that's what i am talking about
<jrobeson>
in this particular case.. i'm more used to hacking around shared nothing in php.. and dropping it into a mysql db directly
<pontiki>
in the api scenario, your web app will need to poll *something* to get the data
<pontiki>
not the serial port itself
<jrobeson>
that is.. i always had to work before managing queues in a way that worked with shared yuck hosting
etman has joined #ruby
<pontiki>
in the redis scenario, it will consume the queu
<jrobeson>
so iwas trying to do it the right way this time
bluOxigen has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
<jrobeson>
i was also looking into seeing what i could do with gearman
<pontiki>
dunno gearman
icole has joined #ruby
<jrobeson>
i've always wanted to play with redis.. this is one of the first times in all this time i've done web app coding where i've had a chance to control the entire stack..
<jrobeson>
i think i've spent my entire app dev career writing stuff that could work even in the most yuck situations like shared hosting :(
<jrobeson>
not really a big problem for web apps.. until you wanna do something likle this
pvizcay has left #ruby ["ruby"]
ananthakumaran has quit [Quit: Leaving.]
<pontiki>
i find it a problem for all but the most generic web apps
snovak has quit [Ping timeout: 264 seconds]
<jrobeson>
hmm.. i don't recal having a problem.. only kinda hacky for queue management..
icole has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 246 seconds]
<jrobeson>
well more than kinda ..
<jrobeson>
but it did work..
<pontiki>
i just have a hard time working via an ftp interface to manage the site
<jrobeson>
oh.. ftp.. no freakin way
<jrobeson>
i could never manage a site with ftp..
dodosan has joined #ruby
<pontiki>
or control panels
<jrobeson>
i'm not the one who ever has to actually use them that way
<jrobeson>
i just make it so they can be used tha tway
<jrobeson>
i can't imagine not having ssh
amacgregor has joined #ruby
<pontiki>
so many of the cheap hosting plans don't allow any shell access
<jrobeson>
ah.. well there is a breaking point..
amacgregor has quit [Read error: Connection reset by peer]
<popl>
pontiki: if they allow shell access they've got to support shell access.
<pontiki>
and once you roll over it, wth, get a VPS
<pontiki>
they don't allow it
amacgregor has joined #ruby
<pontiki>
that's the point
<jrobeson>
sure.. vpses weren't exactly an option back then ..
<pontiki>
back.. when??
<jrobeson>
vps have only really been an option for uhmm.. maybe 6 years?
<jrobeson>
i took a break for awhile.. not sure when i remember seeing them
khushildep has joined #ruby
<jrobeson>
dedicated servers were the only alternative for a long time
<jrobeson>
well and coloing..
<popl>
an ellipsis is ... or …, FYI
<popl>
;P
vlad_starkov has joined #ruby
krz has joined #ruby
<jrobeson>
ok?
amacgregor__ has quit [Ping timeout: 264 seconds]
<pontiki>
i had a VDS back in like 02?
<jrobeson>
how much was that?
<jrobeson>
i don't really remembering seeing such things until usermode linux was a thing
<pontiki>
wait, are you saying not an option because of price or because of availability?
SeySayux has quit [Ping timeout: 246 seconds]
<jrobeson>
i'm just trying to remember seeing any vdses before usermode linux
<jrobeson>
and i'm not remembering any
jpun has quit [Ping timeout: 264 seconds]
<jrobeson>
perhaps they were bsd jailed ?
<pontiki>
price was like $600/yr
Demo_of_doom_ has joined #ruby
<pontiki>
from godaddy
<pontiki>
the vps i have now from them is half that
yfeldblum has quit [Ping timeout: 268 seconds]
<jrobeson>
ah.. my memory of that is really shot then.. :(
Demo_of_doom_ has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
browndawg has joined #ruby
<jrobeson>
ok.. time to cry in my uhmm.. water
anderson has joined #ruby
St_Marx has joined #ruby
sparr has quit [Ping timeout: 246 seconds]
s2013 has quit [Ping timeout: 240 seconds]
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
unRealElite has joined #ruby
twoism has joined #ruby
samsagaz has joined #ruby
<popl>
haha
<popl>
poor jrobeson
samsagaz has left #ruby ["Konversation terminated!"]
vlad_starkov has quit [Ping timeout: 264 seconds]
* pontiki
refills jrobeson's glass
<popl>
I saw some flavor lab making bourbon-flavored water on Bizarre Foods :P
Guest___ has joined #ruby
Guest___ has quit [Client Quit]
SeySayux has joined #ruby
popl has quit [Quit: We must make an idol of our fear, and call it God.]
Guest___ has joined #ruby
Guest___ is now known as Darkco
maniacal has joined #ruby
<jrobeson>
pontiki, is that such a good idea?
jpun has joined #ruby
twoism_ has joined #ruby
mlpinit has quit [Ping timeout: 240 seconds]
twoism has quit [Ping timeout: 240 seconds]
twoism_ has quit [Ping timeout: 264 seconds]
<pontiki>
i dunno
<pontiki>
is it not?
<pontiki>
thought you might be thirsty after spending all those tears. dun want you to get dehydrated...
<YaNakilon>
probably possible with .lazy .flat_map .take?
<YaNakilon>
i don't have 2.0 to test
<YaNakilon>
but idk how to start the expression
lyanchih has quit [Quit: lyanchih]
sjltaylor has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
nga4 has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
kung has joined #ruby
caveat- has quit [Ping timeout: 268 seconds]
bnagy has quit [Remote host closed the connection]
Astral_ has joined #ruby
Kabaka has joined #ruby
blackmes1 has joined #ruby
jds has quit [Ping timeout: 264 seconds]
banister`sleep has joined #ruby
caveat- has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
Astralum has quit [Ping timeout: 245 seconds]
niceguyjames has joined #ruby
ahawkins has quit [Ping timeout: 264 seconds]
coderhut has quit [Ping timeout: 250 seconds]
jds has joined #ruby
ananthakumaran1 has joined #ruby
Wildhoney has joined #ruby
jds has quit [Read error: Connection reset by peer]
ryandeussing has joined #ruby
jds has joined #ruby
ukd1 has quit [Ping timeout: 276 seconds]
brandon has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
ahawkins has joined #ruby
ryandeussing has quit [Ping timeout: 256 seconds]
jds has quit [Ping timeout: 245 seconds]
Fuzai has quit [Quit: No Ping reply in 180 seconds.]
fuzzy has joined #ruby
_honning_ has quit [Ping timeout: 256 seconds]
bnagy has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
Emmy has joined #ruby
dangerousdave has joined #ruby
jds has joined #ruby
colonolGron has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
ntus1017 has joined #ruby
jds has quit [Ping timeout: 276 seconds]
dv__ is now known as dv_
nari has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
cha1tanya has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
smathieu has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
staafl_alt has joined #ruby
ukd1 has joined #ruby
mklappstuhl has joined #ruby
ezotrank has joined #ruby
fermion has joined #ruby
staafl has quit [Ping timeout: 240 seconds]
goleldar has joined #ruby
snovak has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
browndawg has quit [Ping timeout: 256 seconds]
ahawkins has quit [Quit: Lost terminal]
JZ|Zzz is now known as JZTech101
BRMatt has joined #ruby
lyanchih has quit [Quit: lyanchih]
maasdesigner1 has joined #ruby
maasdesigner1 is now known as maasdesigner
snovak has quit [Ping timeout: 240 seconds]
Wildhoney has quit [Ping timeout: 240 seconds]
ahawkins has joined #ruby
Wildhoney has joined #ruby
ukd1 has quit [Ping timeout: 268 seconds]
jds has joined #ruby
jds has quit [Ping timeout: 264 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<e-dard>
Hi, just wondering if anyone has any experience with creating a secured backend API, and a decoupled js-based UI, e.g., Backbone/Angular/whatever. I'm interested in athentication
Matriks has quit [Remote host closed the connection]
iFire_ has quit [Read error: Connection reset by peer]
<e-dard>
The thoughts I had were: make the backend API token-based, i.e., and API token for each user. In web-app user sends user:pass using form and server responds with token in header
<e-dard>
web-app then uses the token in subsequent requests. All over SSL of course.
<e-dard>
Is this a common approach? Are there any issues here/
<bnagy>
... is login + cookie a common approach?
<bnagy>
uh... hmm. dunno...
iFire has joined #ruby
<e-dard>
bnagy: I want this to be stateless
<bnagy>
but webby question are probably going to get more traction in one of the rails channels
<bnagy>
well it's the web, it's all stateless
<e-dard>
bnagy: cool I try Rails
<e-dard>
bnagy: I'm not sure what you mean by "it's all stateless", but I'm talking about a more RESTful approach than one involving cookies and server-side processing of client state
<bnagy>
the web. Is all stateless.
<bnagy>
well modulo whatever this websocket crap is about
Speed has joined #ruby
lupine has quit [Ping timeout: 264 seconds]
dweeb_ has quit [Quit: Computer has gone to sleep.]
nfk has joined #ruby
dweeb has joined #ruby
Senjai has quit [Read error: Operation timed out]
ismlages has joined #ruby
postmodern has quit [Quit: Leaving]
novaon has joined #ruby
<novaon>
is thr way i can create simple app to call trough a land phone and play a pre recorded voice file
<_br_>
Joel_re: Switch to Faraday and use a different HTTP adapter.
<shevy>
Joel_re, perhaps URI.escape ?
<Joel_re>
thanks
<Joel_re>
hrm, havent tried URI escape
<shevy>
I am not sure why .get truncates
<shevy>
could be a bug?
jerius has joined #ruby
novaon has quit [Read error: Connection reset by peer]
robwilliamsukio has quit [Excess Flood]
robwilliamsuk has joined #ruby
ArchBeOS has quit [Remote host closed the connection]
ArchBeOS has joined #ruby
jds has joined #ruby
nucatus has quit [Ping timeout: 245 seconds]
ukd1 has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
snovak has joined #ruby
devoldmx has joined #ruby
cody-- has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
tanema has joined #ruby
JDHankle has joined #ruby
_maes_ has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
anderson has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
wmoxam has joined #ruby
colonolGron has quit [Quit: Lost terminal]
Appineer has joined #ruby
Appineer has left #ruby [#ruby]
JDHankle has quit [Ping timeout: 246 seconds]
mklappstuhl has quit [Ping timeout: 246 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jds has quit [Read error: Connection reset by peer]
jds has joined #ruby
BlueShark is now known as blueshark
DeanH has joined #ruby
browndawg has quit [Quit: Leaving.]
mklappstuhl has joined #ruby
phantummm has joined #ruby
Matriks has quit [Remote host closed the connection]
blueshark is now known as BlueShark
kaspergrubbe has quit [Remote host closed the connection]
ezotrank has joined #ruby
kaspergrubbe has joined #ruby
niklasb has joined #ruby
decoponio has joined #ruby
huevon has quit [Ping timeout: 240 seconds]
baordog has joined #ruby
ntus1017 has quit [Remote host closed the connection]
jds has quit [Ping timeout: 256 seconds]
nucatus has joined #ruby
polymar has joined #ruby
Niamkik_ has joined #ruby
huevon has joined #ruby
<shevy>
how to check whether I am allowed to delete a file? when I try to delete a file that was protected via "chattr -i" before, ruby throws me an Errno::EPERM error
<shevy>
fileutils.rb:1406:in `unlink': Operation not permitted - /Depot/jjj/version-check.sh (Errno::EPERM)
Niamkik has quit [Ping timeout: 268 seconds]
mklappstuhl has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
<mikecmpbll>
shevy: would File.writable? cover it
jds has joined #ruby
anderson has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
tealmage has joined #ruby
devoldmx has joined #ruby
mmitchell has joined #ruby
homelinen has quit [Ping timeout: 245 seconds]
gazarsgo has joined #ruby
<gazarsgo>
joshu: use curb :)
chrisseaton has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
<chrisseaton>
Hello. Where should I submit a possible docs bug for Ruby 1.9? I'm not sure from the info on https://bugs.ruby-lang.org.
ehc has joined #ruby
homelinen has joined #ruby
pipework has joined #ruby
_honning_ has joined #ruby
tealmage has quit [Ping timeout: 240 seconds]
vince_prignano has joined #ruby
huoxito has joined #ruby
jds has quit [Ping timeout: 276 seconds]
persand has quit [Quit: persand]
Wildhoney has quit [Ping timeout: 240 seconds]
chrisseaton has quit [Client Quit]
breakingthings has joined #ruby
sambao21 has joined #ruby
tealmage has joined #ruby
darrik has quit [Ping timeout: 264 seconds]
viszu has joined #ruby
joast has joined #ruby
jds has joined #ruby
failshell has joined #ruby
mansi has joined #ruby
freerobby has joined #ruby
mikepack has joined #ruby
julweber has joined #ruby
moses_m has joined #ruby
Wildhoney has joined #ruby
jds has quit [Ping timeout: 268 seconds]
tealmage has quit [Ping timeout: 268 seconds]
zeel has quit [Remote host closed the connection]
xiphffff2 has quit [Read error: Connection reset by peer]
rezzack has quit [Read error: Connection reset by peer]
tomzx_mac has quit [Ping timeout: 245 seconds]
xiphffff2 has joined #ruby
rezzack has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
jds has joined #ruby
Tricon has joined #ruby
sparr has joined #ruby
julweber has quit [Remote host closed the connection]
smigg has joined #ruby
rbento has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
cody-- has joined #ruby
pothibo has joined #ruby
JDHankle has joined #ruby
mansi has joined #ruby
frotto has joined #ruby
devoldmx has joined #ruby
pentameter has joined #ruby
jds has quit [Ping timeout: 245 seconds]
mikleog has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
<shevy>
mikecmpbll let me test
Badreddin has joined #ruby
endash has joined #ruby
<shevy>
mikecmpbll hmm it seems to work, I think I will use it
<mikecmpbll>
shevy :)
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonkri_ has quit [Quit: jonkri_]
Lewix has joined #ruby
jim0thy_ has joined #ruby
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<joshu>
gazarsgo I only have the choice of using std lib net/http or the rest_client gem.
<gazarsgo>
no you don't
<gazarsgo>
provision a new webserver in heroku or amazon if you have to :)
sambao21 has quit [Quit: Computer has gone to sleep.]
mary5030 has quit [Remote host closed the connection]
<shevy>
hmm is it "writeable" or "writable"
Kricir has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
[Goodoog] has quit [Ping timeout: 260 seconds]
elux has joined #ruby
Lewix has quit [Ping timeout: 264 seconds]
[Goodoog] has joined #ruby
<joshu>
gazarsgo my specific use case I only have those two choices. Anyway doesn't matter I've used net/http but just heard about rest_client so I'll give it a try and see which I prefer.
tesuji has quit [Read error: Connection reset by peer]
Haya has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
ukd1 has joined #ruby
<mikecmpbll>
shevy: writable.
[Goodoog] has quit [Client Quit]
Haya has joined #ruby
relix has joined #ruby
maroloccio has joined #ruby
<shevy>
mikecmpbll cool, ok, I would have picked writeable
<lectrick>
What is the canonical way to raise a custom exception? raise MyExceptionClass ... or raise MyExceptionClass.new... or raise MyExceptionClass.new("some informative detail"), or?
<apeiros>
e-dard: StandardError is an acceptable superclass. However, I hope you don't actually name your exception 'Error'
<apeiros>
lectrick: depends
<apeiros>
lectrick: if your custom exception doesn't have additional attributes, then `raise YourException, "message"`
<lectrick>
apeiros: what is the real difference between raising the class itself and an instance of it? is the instance not necessary?
hamakn has quit [Ping timeout: 264 seconds]
<apeiros>
if it does have additional attributes, you'll have to use `raise YourException.new(*args)`
freerobby has quit [Quit: Leaving.]
<lectrick>
So there is no real reason to "raise MyException.new" then...?
<apeiros>
lectrick: raise YourClass will instantiate the exception for you
<lectrick>
ok
<apeiros>
lectrick: only if you have custom attrs or initializer
<lectrick>
ok
mary5030 has quit [Remote host closed the connection]
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ukd1 has joined #ruby
Kricir has quit [Remote host closed the connection]
nucatus has quit [Remote host closed the connection]
leeurooi has joined #ruby
<lectrick>
apeiros: thanks again as always
<endash>
Anyone know if its possible to programatically add queues to sidekiq
bluenemo has quit [Remote host closed the connection]
alex__c2022 has joined #ruby
eldariof has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
ssvo has quit [Ping timeout: 256 seconds]
<endash>
well my use case and this admittedly might sound obtuse
freeayu has joined #ruby
Solnse has joined #ruby
<endash>
my app generates a crapload of notifications, so all that busywork gets offloaded to sidekiq so the API returns quickly. I want a given user's notifications to be processed in order, so I was thinking: create a queue for each user, and use sidekiq-limit_fetch to make each queue sequential
mengu has joined #ruby
ezotrank has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
<endash>
i also use sidekiq for more traditional background processing e.g. pdf generation and such so I want to stay with sidekiq if possible
tjad has quit [Ping timeout: 246 seconds]
Notte has joined #ruby
baroquebobcat has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
aryaching has joined #ruby
smathieu has joined #ruby
Kricir has joined #ruby
freeayu has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 240 seconds]
devoldmx3 has joined #ruby
_maes_ has joined #ruby
ebanoid has joined #ruby
<_br_>
that makes sense
devoldmx has quit [Ping timeout: 268 seconds]
acrussell has joined #ruby
bobbyz_ has quit [Ping timeout: 260 seconds]
<endash>
thing is it seems like sidekiq expects to know the queues ahead of time :/
acrussell has left #ruby [#ruby]
<_br_>
notifications crammed via AMQP into Rabbit and then processed. Sequentially? Is that necessary? Also, remember that sidekiq by default requires you to program your worker to perform idempotent
<xybre>
endash: can't you just communicate with the redis server?
<Xeago>
endash: if you want it to happen synchronously make it a single worker?
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
smathieu has quit [Ping timeout: 264 seconds]
<endash>
i want a given user's queue to be sequential. individual users can still be spread over additional workers
<Xeago>
let each step, queue up the next step?
<endash>
sequential is necessary because there's some expiration going on as well
<endash>
i think i need to think about how to make this more robust
<Xeago>
having each step queue the next step, is quite robust
<Xeago>
pain to manage tho
ntus1017 has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 276 seconds]
amacgregor has quit [Ping timeout: 276 seconds]
dallasm has joined #ruby
cmarques has quit [Ping timeout: 268 seconds]
<endash>
well as structured it's also possible for a failed worker, retrying much later, to generate notifications that can't be cleared because the operation that clears that notification has already happened
<endash>
which is bad
<endash>
im just gonna give this more thought
<endash>
thanks guys
thepumpkin has joined #ruby
thepumpk_ has quit [Ping timeout: 240 seconds]
ntus1017 has joined #ruby
bobbyz has joined #ruby
r4nd0m1 has joined #ruby
ryandeussing has joined #ruby
rippa has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
yebyen has joined #ruby
sarkis has joined #ruby
<yebyen>
can anyone say how to run simplecov from within rspec in a way such that none of your spec files wind up in the coverage report?
<Xeago>
yebyen: I think they are supposed to excluded in a config file
<yebyen>
i tried using a spec_helper file but it didn't change anything... the first (alphabetically) spec file does not show in the coverage report, but the second (and presumably later) would
thepumpkin has quit [Read error: Connection reset by peer]
pallavi has joined #ruby
oddalot has quit [Remote host closed the connection]
polymar has quit [Remote host closed the connection]
<yebyen>
Xeago: that makes sense
<Xeago>
I don't know how to out of my head tho :'(
<yebyen>
there aren't any configuration files for simplecov at present :)
JohnBat26 has quit [Ping timeout: 240 seconds]
<yebyen>
what is going on with my internet today
<yebyen>
maybe it's the wireless
ssvo has joined #ruby
AndChat| has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
aganov has quit [Remote host closed the connection]
randomautomator has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
<apeiros>
f'ing ddosers…
<shredding>
Ah, ok. The DOS attack may be caused by my ceo who is hitting F5 to see if our sdk is already live :)
randomau_ has joined #ruby
tealmage has joined #ruby
Neener54 has joined #ruby
juarlex_ has quit [Ping timeout: 245 seconds]
_Andres has joined #ruby
Megtastique has joined #ruby
BillCriswell has quit [Remote host closed the connection]
artcurmudgeon has joined #ruby
randomautomator has quit [Ping timeout: 246 seconds]
kaspergrubbe has quit [Remote host closed the connection]
zeropx has joined #ruby
zorg24 has quit [Ping timeout: 276 seconds]
thebastl has joined #ruby
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby
starship has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
graft has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
tealmage has quit [Ping timeout: 240 seconds]
zorg24 has joined #ruby
mansi has quit [Read error: Connection reset by peer]
splittingred has quit [Read error: Operation timed out]
mansi has joined #ruby
juarlex has joined #ruby
<spike|spiegel>
oh github can't take traffic? nothing new
pumper has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
thepumpk_ has quit [Remote host closed the connection]
<spike|spiegel>
"large DDoS" we decide what's "large" give us the numbers.
maxmanders has joined #ruby
wolcanus has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
renderful has joined #ruby
<YaNakilon>
ddosers are the same people as githubers
pallavi has joined #ruby
ebanoid has quit [Quit: brbomgwtfbbq]
juarlex has joined #ruby
<YaNakilon>
useless individuals, wasting time for fame, lulz, not profit
<Banistergalaxy>
Spike yeah yeah yeah
shredding has left #ruby [#ruby]
shredding has joined #ruby
<shredding>
Isn't DDOS always the reason?
<shredding>
Noone will ever say "Ups, we totally f****ed up"
yacks has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
jleishman has quit [Remote host closed the connection]
etman has joined #ruby
kpshek has joined #ruby
thesheff17 has joined #ruby
<xybre>
Well, Github is typically pretty honest about what they've fucked up.
devoldmx3 has quit [Read error: Connection reset by peer]
renderful has quit [Ping timeout: 264 seconds]
<graft>
can anyone explain this psych encode_with stuff to me?
_withnale is now known as withnale
aryaching has joined #ruby
<graft>
like wth this coder object is
cha1tanya has quit [Quit: cha1tanya]
i_s has joined #ruby
nomenkun has quit [Ping timeout: 276 seconds]
oddalot has quit [Remote host closed the connection]
dash_ has quit [Quit: dash_]
<shevy>
why is it so hard to recover from DOS attacks?
moses_m has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
<yebyen>
well i changed to a .rspec config with --color --require=rspec_helper and that at least shows the spec files in the coverage analysis consistently, not omitting the first one. So, I am happy
<xybre>
shevy: give me your ip and I'll show you
proxie has joined #ruby
pel_daniel has joined #ruby
jonkri_ has joined #ruby
ukd1 has joined #ruby
noname001 has quit [Ping timeout: 276 seconds]
ebanoid has joined #ruby
mark_locklear has quit [Read error: Connection reset by peer]
aedorn has joined #ruby
maxmanders has quit [Ping timeout: 276 seconds]
mansi has quit [Remote host closed the connection]
aryaching has quit []
jonkri has quit [Ping timeout: 256 seconds]
<shevy>
hmm
mansi has joined #ruby
<_br_>
shevy: Depends on your infrastructure. DDOS attacks normally take days. Also, you don't know who is doing a "bad" and a "good" request since they orginate from a large Botnet. Given proper Traffic Shaping, Rate limiting and sprinkeled in 5xx errors and multiple data centers with round robin dns, you can keep running even though being hammered massively. Quite a loss of money though. Fun starts when you have enough ressources to actuall
<shevy>
aha
<shevy>
so it is also hard to realize that a DDOS happens in the first place
<shevy>
ok but why are DDOS done actually?
rippa has quit [Read error: Connection reset by peer]
<_br_>
well, not really. If you do some monitoring you will notice a constant increase of many thousand percent which is obvious.
<shevy>
yeah, well, I did not think of botnets
<_br_>
Many reasons, black hats do that for fun but also for profit.
ukd1 has quit [Ping timeout: 246 seconds]
krzkrz has joined #ruby
<aedorn>
DDoS sometimes will expose vulnerabilities, or can be used as a distraction to exploit something else.
<_br_>
e.g. if you are a stock exchange traded company a blackout of your service can cause the stock to plummet on which you can bet making effectively money.
<_br_>
exactly
renderful has joined #ruby
<aedorn>
Most times it's just "we're taking your service down" kind of deal, but every now and again there's a deeper meaning. Take for instance when PlayStation Network was hacked a few years ago. That was a DDoS distraction to exploit a vulnerability.
maxmanders has joined #ruby
<_br_>
in the case of github, maybe they want to get access to a particular repo to taint it somehow causing a malicious patched version of some git tree being deployed.
krzkrz is now known as krz
<_br_>
the sony people were asking for it, their security procedures were beyond a joke.
krz has quit [Client Quit]
<_br_>
and sony trys to keep this stuff secret wallering in their "security by obscurity"
<aedorn>
Right, just using it as an example of when it wasn't just to take the service down.
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
mansi has quit [Ping timeout: 268 seconds]
<_br_>
jap
<_br_>
Botnets are facinating though. Particular C&C structure and the nitty gritty details
bluOxigen has quit [Read error: Connection reset by peer]
relix has joined #ruby
ukd1 has joined #ruby
bluOxigen has joined #ruby
JDHankle has quit [Remote host closed the connection]
<xybre>
_br_++
jonahR has quit [Quit: jonahR]
<lectrick>
github back... what are the github alternatives? Hosting our own secure git repo I guess
<aedorn>
Though I'm still questioning why anyone is attacking GitHub. Large banks I get, GitHub ... not so much.
geggam has joined #ruby
<shevy>
yeah
<shevy>
they should hit banks and not github
<lectrick>
Nobody understands. It's proof that whoever is in charge of the ddos botnet out there is an asshole
Wildhoney has quit [Ping timeout: 276 seconds]
<pontiki>
as if proof of that were needed...
<lectrick>
It's also a call to arms for anyone who wants to create the "decentralized github"
<xybre>
lectrick: gitlab
<aedorn>
We use GitLab here, but yeah, hosting your own git service is your only real alternative if you want to avoid things like this.
chrisja has joined #ruby
Dwarf has quit [Max SendQ exceeded]
<lectrick>
xybre: nice.
Dwarf has joined #ruby
<lectrick>
xybre: do they have the pull request functionality that github has? That's probably the feature we use most :/
<aedorn>
Decentralized GitHub is a pipe dream =p
<jokke>
hello
<_br_>
aedorn: Most black hats try to compromise secondary ressources to gain access to their primary target. Github maybe hosts a peace of software which is likely being used by some target they want to compromise. Could be many things though. Occrams razor might point to pure idiotism and "for fun" angle.
<lectrick>
aedorn: Decentralization is a hard problem which also solves some very real-world problems
<xybre>
There's also Atlassian Stash, but they also make Jira so I won't have anything to do with them.
<jokke>
i tried to google this, but i get only results for the other way around. I want to run capistrano tasks from rake
<jokke>
is this possible?
<lectrick>
GitHub took a decentralized VCS and effectively centralized it.
<jokke>
i could just use backticks of course but that'd be ugly
<lectrick>
xybre: what's wrong with jira? (we use it here)
frotto has quit [Ping timeout: 264 seconds]
<_br_>
lectrick: True, one reason why Linus finds it a joke.
thepumpkin has joined #ruby
nopolitica has joined #ruby
frotto has joined #ruby
<lectrick>
_br_: Which is fine, and yet github seems to be doing quite well
<shevy>
hmm but linus uses github too
<xybre>
lectrick: looks like gitlab supports merge requests
Neomex has joined #ruby
<shevy>
I love issue reporting in github
amacgregor has joined #ruby
<lectrick>
github needs to figure out how to decentralize itself. somehow. they're smart enough.
<xybre>
lectrick: jira has been nothing but a waste of time at every company I've used, HR loves it for some reason, but the devs never find a use for it
<aedorn>
lectrick: I can only imagine the future git system will be like Skype, and everybody with a faster than 5Mbps upstream will become a supernode VCS server for partial pieces.
Wildhoney has joined #ruby
<lectrick>
xybre: it's being used rather effectively here (or as effectively as a bug/feature tracker/PM app can seem to get, which is "not super effective"). Maybe it's the direction? :)
<ashp>
haha, I'm still trying to improve my ruby, I'm permanently stuck in the sort of intermediate zone where I "sort of get procs and blocks and lambdas and classes, but struggle to use any of it effectively"
<shevy>
yeah
<shevy>
ashp I still try to find a usecase for lambdas myself
<shevy>
blocks however are available to every method so they are always useful
dodosan has joined #ruby
amacleod has joined #ruby
ananthakumaran has joined #ruby
abstrusenick has joined #ruby
kirun has joined #ruby
Peej has joined #ruby
<ashp>
shevy: only thing that's helped me so far is I went through codeschool.com's "Ruby bits"
<ashp>
shevy: and those were incredibly helpful
<ashp>
i wish they had more pure ruby things as they really helped, they skipped all the beginner stuff of "here are variables, here are functions!" and dived right into the hard confusing bits
<shevy>
aha
ipsifendus has joined #ruby
<shevy>
that would have only confused me if I would have started that way
cmarques has quit [Ping timeout: 264 seconds]
jkline has joined #ruby
BillCriswell has joined #ruby
pallavi has quit [Quit: Leaving]
krz has quit [Quit: krz]
shredding has quit [Quit: shredding]
Neomex has quit [Quit: Neomex]
BRMatt has quit [Ping timeout: 246 seconds]
shredding has joined #ruby
redmenace has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Neomex has joined #ruby
ilyam has joined #ruby
segmond has joined #ruby
blackmes1 has joined #ruby
xbob_ has joined #ruby
Haya has quit [Read error: Connection reset by peer]
stkowski has joined #ruby
mark_locklear has joined #ruby
jkline has quit [Quit: jkline]
xbob_ has quit [Client Quit]
tvw has quit []
AlHafoudh has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
Haya has joined #ruby
AlHafoudh has joined #ruby
Asher has joined #ruby
carlyle has joined #ruby
fgo has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 264 seconds]
wolcanus has joined #ruby
abstrusenick has quit [Quit: abstrusenick]
tealmage has joined #ruby
Es0teric has joined #ruby
Spami has quit [Quit: Leaving]
anonymuse has quit [Read error: Connection reset by peer]
segmond has left #ruby [#ruby]
devoldmx3 has quit [Ping timeout: 268 seconds]
devoldmx3 has joined #ruby
rippa has joined #ruby
Neomex has quit [Quit: Neomex]
kpshek has joined #ruby
blufsh has joined #ruby
<blufsh>
what is the benefit here of putting factor in an array ?
brennanMKE has quit [Remote host closed the connection]
<blufsh>
I was missing something :S
mml has joined #ruby
beingjohnm has left #ruby [#ruby]
<wuest>
Listing ancestors up front might be a reasonable change to documentation, to avoid such issues.
workmad3 has joined #ruby
<apeiros>
it does list superclass and included modules
<Dysruption>
when utilizing cucumber and rspec, what is does a normal development cycle look like? cucumber main features first, then rspec the system edge cases?
akemrir has quit [Quit: WeeChat 0.4.1]
bluOxigen has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
tjbiddle has joined #ruby
cheenpo_ has quit [Ping timeout: 250 seconds]
<amacleod>
Dysruption, last time I used it, the wheel-within-a-wheel diagram was pretty accurate.
dv_ has quit [Ping timeout: 276 seconds]
<Dysruption>
amacleod: never heard of that, you have a link?
<wuest>
apeiros: indeed; I meant finding a way of displaying them more prominently/clearly. "Where does $method come from" is a frequent enough question, and it's most often answerable by checking ancestors.
<apeiros>
wuest: hard. you'll never please everybody.
<apeiros>
when you move X up, people will come and complain that Y isn't placed more prominently.
<amacleod>
Dysruption, 1. Write cucumber scenario (RED), 2. Write RSpec cases to support scenario (all RED), 3. Write code until all RSpec cases are GREEN, 4. Add the RSpec cases you forgot, 5. Once scenario is GREEN, lather rinse repeat.
<wuest>
apeiros: very true. :)
<Dysruption>
amacleod: awesome, thank you.
fermion has quit [Ping timeout: 268 seconds]
<Dysruption>
don't know how I ever coded before without TDD
devoldmx3 has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
<amacleod>
Dysruption, hopefully by the time you get a few scenarios hammered out, you'll be at the point where you can re-use half or more of your supporting RSpec cases.
barratt has joined #ruby
zastern has joined #ruby
mark_locklear has quit [Ping timeout: 264 seconds]
<amacleod>
Also, in real life, I found I actually wrote 3 or 4 scenarios at once, and then revised whichever scenarios I worked on later in reaction to stuff I discovered while working on the first.
<Dysruption>
amacleod: what do you mean by writing rspec cases to support scenario? isn't that the equiv of cucmber steps
<Dysruption>
ah okay, I'm reading that now. just started
<amacleod>
But yeah, having a more-or-less one-to-one mapping between Cucumber steps and RSpec cases worked pretty well for me.
<amacleod>
Exceptions being Cuke steps that were actually defined in terms of other Cucumber steps.
zombiebit has joined #ruby
<Dysruption>
cool. amacleod is the Cucumber Book any good?
devoldmx3 has joined #ruby
<amacleod>
Or RSpec cases that I thought of while working on other stuff that didn't necessarily pertain to any Cucumber step that I was currently working on.
adambeynon has quit [Ping timeout: 240 seconds]
Shirakawasuna has quit [Quit: Leaving]
razi has quit [Ping timeout: 276 seconds]
mosez has quit [Ping timeout: 240 seconds]
<amacleod>
Dysruption, I haven't looked at the Cucumber book. I would imagine it builds on the RSpec book and goes more in-depth about BDD and how it differs from and/or augments TDD. Generally I've been well-impressed by Pragmatic books.
<amacleod>
They're not universally perfect, by any means, but they're generally good quality and get right to the meat of things.
<Dysruption>
Okay very cool, I'll work through the Rspec book and if I find myself wanting more I'll probably check it out
frotto has quit [Ping timeout: 268 seconds]
robbyoconnor has quit [Excess Flood]
<Olipro>
I hear Spinach is the new fad
<Olipro>
people need to stop naming their f*cking gems after vegetables
matled has quit [Write error: Broken pipe]
jds has quit [Write error: Broken pipe]
<Olipro>
Dysruption: but seriously, before you get too into Cucumber, check out Spinach
<amacleod>
I can't find a reference to the diagram I'm thinking about, but I think it's in the RSpec book about 2/3 of the way through.
robbyoconnor has joined #ruby
rippa has quit [Read error: Connection reset by peer]
<Dysruption>
Olipro: can you tell me the benefits?
<Olipro>
it's like Cucumber, powered by Gherkin, but more natural, none of the nasty regexing
<Olipro>
here's a good article on it: blog.codegram.com/2011/10/how-to-achieve-more-clean-encapsulated-modular-step-definitions-with-spinach
devoldmx3 has quit [Ping timeout: 264 seconds]
jjbohn is now known as jjbohn|afk
<Olipro>
"Spinach is powered by Gherkin and nicer than Cucumber" - sounds like the ravings of a lunatic
<Dysruption>
I'll definitely check it out, thanks Olipro
barratt has quit [Quit: Leaving...]
devoldmx3 has joined #ruby
frotto has joined #ruby
<amacleod>
Pickle-powered development. Full of antioxidants. But yeah, Spinach sounds neat... the Gherkin parser is really the nicest thing about Cucumber.
noopq has quit [Ping timeout: 246 seconds]
tylersmith has quit [Remote host closed the connection]
fantazo has joined #ruby
jjbohn|afk is now known as jjbohn
<Dysruption>
I like that feature steps are in a class
<Olipro>
gherkin, cucumber, spinach... maybe throw some Carrot and Cabbage in there
WhereIsMySpoon has joined #ruby
Vivekananda has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
<amacleod>
chard, kale, arugula
tylersmith has quit [Ping timeout: 240 seconds]
thesheff17 has quit [Read error: Connection reset by peer]
maxmanders has quit [Quit: Computer has gone to sleep.]
pothibo has joined #ruby
geekbri has joined #ruby
jlast_ has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
vlad_starkov has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
kaspergrubbe has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
snovak_ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
tealmage has joined #ruby
darrik has joined #ruby
snovak_ has quit [Remote host closed the connection]
artcurmudgeon has left #ruby [#ruby]
dankest has joined #ruby
mary5030 has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
<Dysruption>
well dammit now I'm just reading this RSpec book just thinking about how I should use Spinach instead
<amacleod>
Hopefully Spinach is enough like Cucumber that you can adapt the examples without too much sweat.
<Dysruption>
it seems like it
spider-mario has quit [Ping timeout: 264 seconds]
<lewellyn>
amacleod: that's a quote of the day.
devoldmx27 has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
xbob has joined #ruby
<lewellyn>
i didn't pay attention to which channel i was in and it read quite amusingly.
moted has quit [Remote host closed the connection]
geekbri has quit [Remote host closed the connection]
<amacleod>
Olipro's statement about the sanity of talking about veggie-themed gems is so very, very, very true.
xbob has quit [Client Quit]
noopq has joined #ruby
<Olipro>
lewellyn: ohai
xbob has joined #ruby
<lewellyn>
Olipro: mu
mansi has quit [Remote host closed the connection]
<Olipro>
so, you're a Rubyist too eh?
elaptics`away is now known as elaptics
<lewellyn>
amacleod: i still find it a wonder that ruby has any enterprise presence with the names of some of the gems.
alex__c2022 has joined #ruby
<lewellyn>
Olipro: i'm $everywhere
relix has joined #ruby
<Olipro>
ahaha, I know that feel
xbob has quit [Client Quit]
<lewellyn>
but i've been around long enough that i preordered the pickaxe book ;)
kpshek has quit []
Asher has joined #ruby
devoldmx3 has quit [Ping timeout: 245 seconds]
darrik has quit [Ping timeout: 240 seconds]
renderful has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
tealmage has quit [Ping timeout: 276 seconds]
chriskk has joined #ruby
<MasterAsia>
I've been around since DHH released rails 3.2
<MasterAsia>
that was..pretty recent.
mary5030 has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
ewnd9 has quit [Remote host closed the connection]
<Olipro>
heh
mary5030 has joined #ruby
<Olipro>
Ruby's so wonderful, you don't need a book to learn it!
barratt has joined #ruby
<amacleod>
Its online documentation has gotten much better since 1.8 (which is about when I started using Ruby).
Demo_of_doom_ has joined #ruby
<amacleod>
Not that it was awful back then, just a little confusing when trying to figure out where methods came from.
mansi has joined #ruby
ewnd9 has joined #ruby
allaire has quit [Quit: allaire]
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
splittingred has joined #ruby
cads has joined #ruby
<reactormonk>
What's a fast way to find a string inside a directory of files? We're talking about 250GB of data here and I want to know in which file it is.
<amacleod>
In Ruby specifically?
devoldmx3 has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<reactormonk>
Well, I'm running jruby. You could shell out too.
<amacleod>
If not, there are utility programs to do that. On Linux, I'd recommend 'ack-grep'. On Windows, GrepWin.
mansi has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
mansi has joined #ruby
barratt has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
<Olipro>
shunt: mentioning a perl program in #ruby is heresy!
<reactormonk>
shunt, I think that's too slow :-/
Kricir has quit [Ping timeout: 264 seconds]
<MasterAsia>
reactormonk: these are textfiles?
barratt has joined #ruby
mansi_ has joined #ruby
<Neener54>
would the silver searcher be useful?
mansi has quit [Read error: Connection reset by peer]
<shunt>
i thought that's what amacleod was referring to; seems no more heretical than mentioning windows :)
agjacome has joined #ruby
agjacome has quit [Client Quit]
<reactormonk>
MasterAsia, yup
* amacleod
started all the heresy this time, he will freely admit.
<reactormonk>
MasterAsia, well, XML and some more.
zachrab_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<amacleod>
Neener54, thanks for mentioning silver searcher... I might switch to that from ack. :)
mansi_ has quit [Remote host closed the connection]
mansi has joined #ruby
ukd1 has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
i_s has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
dmyers has quit [Quit: dmyers]
<banisterfiend>
Neener54: what language is the silver search written in?
Es0teric has quit [Client Quit]
<banisterfiend>
ah, C
<Neener54>
banisterfiend he he, you beat me to it
centr0 has joined #ruby
nopolitica has quit [Quit: Lost terminal]
<epitron>
ag is pretty great
<epitron>
it's got a troublesome name though
zachrab_ has joined #ruby
iliketur_ has joined #ruby
cmarques has quit [Quit: leaving]
workmad3 has joined #ruby
kpshek has joined #ruby
Kricir has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
nucatus_ has quit [Remote host closed the connection]
<banisterfiend>
epitron: oh hello epitron.
zachrab_ has quit [Remote host closed the connection]
<banisterfiend>
epitron: I just wonder if it has the same level of integration
kpshek has quit [Client Quit]
<banisterfiend>
i normally use ack through emacs
<banisterfiend>
i guess if it's similar enough to ack i can just opint emacs at the ag executable instead
maasdesigner1 has joined #ruby
<amacleod>
Seems like the author took pains to make ag's interface enough like ack's that it slots into most tools without pain.
fuzzy has quit [Read error: Operation timed out]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maasdesigner1 is now known as maasdesigner
nanoxd has joined #ruby
maxmanders has joined #ruby
<epitron>
yeah, ack supports some more advanced stuff
<epitron>
and it's usually fast enough
<epitron>
ag is a great powertool
<epitron>
and it saves you typing an extra letter
blackmes1 is now known as blackmesa
<epitron>
and all letters are on the left side of the keyboard
<epitron>
:D
<brisbin>
git grep (aliased as gg) is good enough for me
<epitron>
so i use ag more than ack
noopq has quit [Ping timeout: 240 seconds]
<epitron>
2 letter commands ftw
<amacleod>
epitron, actually, each letter is on an opposite side of my Dvorak keyboard, making it a nice comfortable two-hand two-stroke gesture. :-P
fuzzy has joined #ruby
xcv has quit [Remote host closed the connection]
<epitron>
whatever, weirdo!
<epitron>
;)
<amacleod>
(correct response detected)
<epitron>
haha
mansi has joined #ruby
anonymuse has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
Matriks has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 264 seconds]
<MasterAsia>
amacleod: makes me wonder if there is a science to keyboard key placement
brunoro has joined #ruby
<amacleod>
MasterAsia, there is a religion to keyboard key placement.
anonymuse has joined #ruby
<MasterAsia>
orly
<amacleod>
Kind of. There's a long and possibly sordid history of keyboard design.
robustus has joined #ruby
jds has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
<amacleod>
Weirdoes like me prefer Dvorak because all the vowels are left-hand home keys and the most common consonants are right-hand home keys. A couple of the axioms behind Dvorak are that less motion is better for typists and alternating between left and right hands is also better.
Peej has quit [Disconnected by services]
Jeep has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
fermion has joined #ruby
<amacleod>
I'm forgetting to cite sources, but various studies have shown that the difference isn't all that big after all. That said, the world record for typing speed was set using a Dvorak layout.
RichardBaker has joined #ruby
allsystemsarego has quit [Quit: Leaving]
<Morrolan>
How long did it take you to get used to it? :)
<amacleod>
The niftiest smear anecdote we Dvorakers have against QWERTY is that the QWERTY layout arose because typewriter manufacturers had to make typing harder to slow typists down to prevent jamming.
<amacleod>
Morrolan, a couple of months, but I was pretty young at the time. I'd expect an adult to take maybe 2 months of intensive training or 4 months of casual use to become comfortable.
<matled>
that sounds about right
<matled>
the worst moment is when you are equally bad with both keyboard layouts
<Morrolan>
Hmm, might have to get a labeled keyboard, and start practicing. :)
<Morrolan>
With my current keyboard that would lead to a giant mess. *snrk*
<matled>
I felt so helpless sitting in front of the keyboard and not being able to type with a decent speed, neither with qwerty nor dvorak
<matled>
I think you should be fine then. I bet there are good online courses out there that show you the keyboard while giving you training sessions that focus on the home row first and progress gradually to use more keys
<Morrolan>
amacleod: I'm using one of those, actually.
* amacleod
apologizes for derailing #ruby from talking about Ruby. The moment an actual Ruby question comes along, I will totally shut up.
jjbohn is now known as jjbohn|afk
freerobby has quit [Quit: Leaving.]
<Morrolan>
Oh, the new models include an USB hub? That would have been a nice thing to have.
mansi has joined #ruby
<matled>
oh. one of the hardest part of learning dvorak are all those key bindings in programs, as I noticed that I remember most of them by which key to press, not which letter to press.
<matled>
vim was really strange for a while
<amacleod>
I know for a a fact that there are editions of Mavis Beacon Teaches Typing that support Dvorak.
freerobby has joined #ruby
<Morrolan>
matled: I can imagine. :)
<amacleod>
Haha. It took me a long while to realize that the movement keys in Nethack were positionally arranged, and not just random gibberish.
<Morrolan>
Especially since there's some key combos where I shift my hands away from the typing position.
vlad_starkov has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
<matled>
hjkl isn't too bad, jk are on the left hand and hl on the right hand, and the ordering is right, too.
<amacleod>
The most annoying part for me is playing first-person shooters that use WASD for movement. First thing I have to do when playing a new game is go to the keyboard settings.
geometry06 has quit [Max SendQ exceeded]
johnnyfuchs has joined #ruby
<Morrolan>
Heh.
<matled>
yeah, but I'd do that anyway and use sdfe, so you have more keys to use with your pinky :)
jkline has joined #ruby
<matled>
no idea why someone thought moving the hand one place to the left would be a good idea
geometry06 has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
<mml>
has anyone heard of reports of Marshal dump/load issues in ruby2.0p247?
<mml>
"null byte in string" specifically
dodosan has joined #ruby
dodosan has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
dodosan has joined #ruby
c0rn has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
blufsh has quit [Quit: Page closed]
reset has quit [Quit: Leaving...]
mary5030 has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
pkrnj has quit [Quit: Computer has gone to sleep.]
rbento has quit [Quit: ZZZzzz…]
adambeynon has joined #ruby
splittingred has quit [Ping timeout: 276 seconds]
Asher has quit [Quit: Leaving.]
<MasterAsia>
amacleod: I'd say just screw it
cj3kim has quit [Remote host closed the connection]
<MasterAsia>
Fck Dvorak if it causes that much trouble
i_s has joined #ruby
<amacleod>
MasterAsia, which part?
<MasterAsia>
I'd take a 10% hit to typing speed for convenience
sambao21 has quit [Quit: Computer has gone to sleep.]
<MasterAsia>
(having to change controls for every fps game?)
<amacleod>
MasterAsia, you'd pretty much be right. I still like it because I learned so young and it's therefore comfortable to me.
havenwood has quit [Remote host closed the connection]
<MasterAsia>
convert convert!
DrShoggoth has quit [Quit: Leaving]
<matled>
one point for dvorak may be if you have problems with your hands/wrists
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
shredding has quit [Quit: shredding]
Dreamer3 has joined #ruby
<Morrolan>
I could imagine that it's healthier, yea. But if you've got problems, then one of those ergonomic keyboards might be a better help than a different keyboard layout.
<matled>
a friend of mine had problems when using qwerty with his wrists until he switched to dvorak
devoldmx27 has joined #ruby
<matled>
well, you can do both :)
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
sambao21 has joined #ruby
tealmage has joined #ruby
devoldmx3 has quit [Ping timeout: 256 seconds]
<shevy>
cannot load such file -- rake/extensiontask
<shevy>
hmm anyone knows this error?
sarkis has quit [Quit: leaving]
amacgregor has quit [Ping timeout: 276 seconds]
<amacleod>
Sounds like it might be part of rake-compiler? (which is a thing I do not know about)
saarinen has quit [Quit: saarinen]
i_s has quit [Ping timeout: 240 seconds]
thebastl has quit [Quit: Ex-Chat]
postmodern has joined #ruby
snovak has joined #ruby
tealmage has quit [Ping timeout: 276 seconds]
vince_prignano has quit [Quit: vince_prignano]
blackmesa has quit [Ping timeout: 240 seconds]
<reactormonk>
how do I include a module to toplevel? I did some class << self; <code> ; end magic in the module, but include Module doesn't
<reactormonk>
make the methods accessable.
Demo_of_doom_ has quit [Remote host closed the connection]
froy has joined #ruby
reset has joined #ruby
i_s has joined #ruby
havenwood has joined #ruby
<amacleod>
reactormonk, I don't think you can.
wolcanus has joined #ruby
stuartrexking has joined #ruby
newUser1_ has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
<amacleod>
reactormonk, there are some contexts where you can include things in what _seems_ like the "top level". For instance Rake has some fancy stuff where you can include modules... What it's actually doing is including them on whatever class its environment is stored in.
banisterfiend is now known as banister`sleep
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
ArchBeOS has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130730113002]]
krawchyk has quit [Remote host closed the connection]
Neener54 has quit [Ping timeout: 246 seconds]
atyz has joined #ruby
lushious has quit [Remote host closed the connection]
kobain has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
dtcrshr has joined #ruby
cody-- has joined #ruby
Megtastique has joined #ruby
GazD has joined #ruby
kilophoton has joined #ruby
jlast_ has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
maxmanders has joined #ruby
<maasdesigner>
hi
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
<Nilium>
One time there was a squirrel and it was my friend and I gave it some bread and it looked pretty happy the end.
jlast has joined #ruby
<maasdesigner>
is this :hide_sections ruby command in that code or rails command <%= render '/refinery/content_page', :hide_sections => :body_content_title %> ?
superscott[8] has quit [Quit: superscott[8]]
<amacleod>
It looks like one association of a hash, which Rails probably interprets as a directive of some sort.
<amacleod>
Well, when I say "one association of a hash" I probably mean "a Hash with one association".
<amacleod>
It also looks like the second argument to the 'render' function.
d45h has quit [Quit: d45h]
<amacleod>
So the documentation for 'render' might tell you more about what it means to put a :hide_sections key there.
<Nilium>
maasdesigner: If you have to ask, it's almost always rails. Plus you should ask the rails channel, not the ruby channel.
nucatus has joined #ruby
evenix has quit [Remote host closed the connection]
rbento has joined #ruby
Dysruption has quit [Quit: Dysruption]
<Nilium>
Anyway, chances are render has a definition something like def render(something, **args) and just takes a hash of stuff.
fantazo has quit [Remote host closed the connection]
Xeago has joined #ruby
superscott[8] has joined #ruby
<maasdesigner>
Nilium: i wasnt sure its about ruby or rails and i first asked here and thank you for comments also amacleod
<Nilium>
Well, if you knew Ruby, you'd have known already.
<Nilium>
And if you're using Rails without knowing Ruby, holy hell are you in for a world of pain
blackmesa has joined #ruby
<maasdesigner>
Nilium: yes you are right and i am suffering now.
saarinen has joined #ruby
<Nilium>
So if I just dump a bucket of spiders on you, would that be more suffering or less suffering? Trying to get an idea of the current level of suffering.
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium>
How about ladybugs?
bsdbandit has joined #ruby
nucatus has quit [Ping timeout: 245 seconds]
<Nilium>
A bucket of ladybugs would probably be an improvement if I were using PHP right now.
* amacleod
is not sure how spiders in a bucket are relevant to Ruby programming, but it's a delightful mental image.
<bsdbandit>
hello wall
<bsdbandit>
all
<Nilium>
A bucket of spiders is relevant to Ruby in discerning how much one's suffering increases by using Rails without knowing Ruby.
brennanMKE has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Companion is now known as companion
<Nilium>
If the bucket of spiders makes things better, then we have a way to begin approximating the suffering induced by rails
<Nilium>
It's kind of like a binary search.
<amacleod>
Test and correct... makes sense.
<maasdesigner>
Nilium: im graphic designer and last 3 months almost i look ruby and ruby on rails
<aedorn>
Wasn't there a console recording app that was like super easy to use? Something .io ....
<Nilium>
Should I take that to mean that spiders improve rails?
<aedorn>
Times like these are what bookmarks are for. Maybe one day I'll start using those.
<Nilium>
Looks like that one's a little iffy though
<maasdesigner>
Nilium: so you suggest me to go back first learn ruby ? with some test examples ? like koans? i've finished ruby lessons in code school and codecademy then i passed to rails directly maybe its my fault i jump to rails early
<Nilium>
Also, if you aren't actually coding in Ruby, koans, lessons, etc. are all wasted.
jjbohn|afk is now known as jjbohn
<Nilium>
Oh, right, forgot to mention aedorn's name so I'd ping him.
<Nilium>
Look up.
<aedorn>
no, I saw, sorry.. just yeah.
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
<Nilium>
Anyway, maas, if you're not invested in coding, you're going to be a shite coder. You don't want to be a shite coder, so try to come up with some personal non-rails/webdev projects first and build them in Ruby.
sambao21 has quit [Quit: Computer has gone to sleep.]
newUser1234 has joined #ruby
tjad has quit [Ping timeout: 276 seconds]
jprovazn has joined #ruby
<Nilium>
That is, build things that aren't related to web development, 'cause everything I've seen of webdev in Ruby results in heavily obfuscating logic.
<maasdesigner>
Nilium: ok i highly getting this as advice to my brain thank u
<Nilium>
O_o
phantummm has quit [Quit: phantummm]
* Nilium
thinks he'll go get a cup of coffee.
sambao21 has joined #ruby
<zendeavor>
you may need it
<aedorn>
oh, didn't see ascii.io.. yes.. that's what I think I was looking at.
<aedorn>
I think I need coffee, too.
platzhirsch has joined #ruby
<platzhirsch>
What's up in the Ruby mine
<Nilium>
Buckets of spiders/ladybugs.
<zendeavor>
oh the horror
<Nilium>
Fun-fact: you can actually buy a bucket of ladybugs.
<zendeavor>
oh the suffers
Geison_Bequer has joined #ruby
<maasdesigner>
Nilium: if i post my blog here does it going as spam ?
<linduxed>
amacleod: so an Item could have the name of "Matrix" would have the category of "Movie" and would have the secondary_attr of whatever-the-year-was-it-was-released
tjbiddle has quit [Read error: Connection reset by peer]
<amacleod>
linduxed, and you just know what the secondary_attr means by looking at its category and having rules defined for each category?
<linduxed>
another item might have the name "The Trial", the category of "Book" and the secondary_attr of "Franz Kafka"
vlad_starkov has joined #ruby
nanoxd has joined #ruby
tgunr has quit [Quit: Nity nite]
DeanH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<linduxed>
now it might be that i have an actual Book, Movie and Whathaveyou class
sparr has quit [Ping timeout: 264 seconds]
jlast has quit [Remote host closed the connection]
thecreators has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<linduxed>
and they could actually house it in more sensible names, like @author and stuff like that
ner0x has quit [Quit: Leaving]
<amacleod>
linduxed, if I were designing something like this, I would have a hash called "attributes", and put in {year: 1999}, {author: "Franz Kafka"} and such.
<linduxed>
but all of them need to respond to something like secondary_attr, and i'm not sure about that name
kaldrenon has quit [Remote host closed the connection]
tjbiddle has joined #ruby
barratt has quit [Quit: Leaving...]
<amacleod>
Since you already have arbitrary rules for the semantics of secondary_attr, those rules could also embed the symbol needed to look the thing up in attributes.
IceyEC has quit [Quit: IceyEC]
kaldrenon has joined #ruby
<ganeshran>
Has anyone written a custom strategy for ominauth based on omniauth-oauth2?
<amacleod>
Actually, since the secondary attribute seems always to be a single value, you could use "datum". It's enough different from "data" to not totally fall into the "this is a horribly generic term" trap, while still remaining generic enough to never be incorrect.
brunoro has quit [Ping timeout: 245 seconds]
jjbohn has quit [Quit: Leaving...]
<linduxed>
amacleod: never heard "datum" ever, but i do like it
<amacleod>
It's the singular of "data". (data being the Latin for, roughly "pieces of information")
sambao21 has joined #ruby
vlad_starkov has quit [Ping timeout: 268 seconds]
Megtastique has quit [Quit: Megtastique]
gadgetoid_ has joined #ruby
<amacleod>
I mean, if you want to make it deliberately offensive so that people are inclined to go to the class's accessor instead of using the underlying "secondary_attr" message, you could choose something weird and ungainly and not really related to its meaning like "barnacle".
DrCode has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
<amacleod>
Or "carbuncle"... that evokes the notion that the attribute is an extraneous egregious thing that sticks out and should be filed off and covered with a band-aid. :-P
Kricir has quit [Remote host closed the connection]
kaldrenon has quit [Ping timeout: 245 seconds]
mansi has quit [Read error: Connection reset by peer]
<linduxed>
i'm not a big fan of names which make you scratch your head and force you to have a look at the implementation :-P
mansi has joined #ruby
ukd1 has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<shevy>
hmm I would have thought of datum as the german name for date
<linduxed>
well it is date in swedish
<amacleod>
Well, you've got a continuum then. "data" is so generic that people will just gloss over it with a shrug. "spidwhicket" is weird enough that people will _have_ to look at the implementation to get it.
newUser1234 has quit [Remote host closed the connection]
mansi has joined #ruby
k3VB6u4d has quit [Excess Flood]
<linduxed>
amacleod: i think secondary_attr is the best one so far then :-/
moted has joined #ruby
<amacleod>
I suppose if your audience is European, using "datum" would have a nonzero chance of causing confusion when a Swede or a German wonders why it isn't always a date.
workmad3 has joined #ruby
stuartrexkin has joined #ruby
k3VB6u4d has joined #ruby
digital-ghost has quit [Remote host closed the connection]
kpshek has quit []
SDev has joined #ruby
adambeynon has joined #ruby
kpshek has joined #ruby
atno has joined #ruby
ldnunes has quit [Quit: Leaving]
<amacleod>
ooh, ooh. What about "addendum"?
babykosh has joined #ruby
<amacleod>
Just means "thing added on".
Astralum has quit [Ping timeout: 268 seconds]
DrCode has joined #ruby
stuartrexking has quit [Ping timeout: 276 seconds]
<babykosh>
is there a sublime text channel out here?
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
smathieu_ has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
Astralum has joined #ruby
tgunr has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
jdenen has quit [Read error: Connection reset by peer]
ukd1 has quit [Ping timeout: 240 seconds]
<Nilium>
babykosh: Yes, #sublimetext.
Astral_ has joined #ruby
<babykosh>
Thank you
<zendeavor>
babykosh: /msg alis help
dtcrshr has quit [Remote host closed the connection]
theRoUS has quit [Ping timeout: 246 seconds]
smigg has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
interactionjaxsn has joined #ruby
ryandeus_ has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
xcv has joined #ruby
dv_ has joined #ruby
Notte has quit [Remote host closed the connection]
ukd1 has joined #ruby
matled has quit [Write error: Broken pipe]
jaimef has quit [Excess Flood]
etman has quit [Quit: etman]
ryandeussing has quit [Ping timeout: 276 seconds]
matled- has joined #ruby
matled- is now known as matled
staafl has joined #ruby
pskosinski has joined #ruby
interactionjaxsn has quit [Ping timeout: 240 seconds]
<zendeavor>
coming to ruby for webdev is a silly idea
<rajath>
well, not exactly
<rajath>
I was gonna use RoR for web dev
grzywacz has quit [Quit: :wq]
<rajath>
so thought of learning Ruby first
<zendeavor>
blegh
<zendeavor>
it's good to learn ruby first, of course
<rajath>
but RoR is not really a good idea, you say?
<zendeavor>
it can be a fine idea
<zendeavor>
it's just monolithic frameworks are usually rather unnecessary
ganeshran has quit [Quit: Page closed]
pentameter has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
<zendeavor>
great for big corporate app servers and stuff (maybe)
<zendeavor>
personal projects are better served by rolling your own, or sticking with a smaller thing that fits just your needs
pkrnj has joined #ruby
<rajath>
okay
<zendeavor>
if you're expecting to need to scale up to a billion hits a day or something, sure, go RoR
mansi has quit [Remote host closed the connection]
<zendeavor>
in either case, learn ruby because you're interested in ruby. not because you're interested in webdev.
<zendeavor>
python can do webdev just the same.
mansi has joined #ruby
<rajath>
hmm
<rajath>
then I can probably use Python
<rajath>
since I know Python already
<zendeavor>
i don't want to discourage you from ruby, mind
<rajath>
:)
k3VB6u4d has quit [Excess Flood]
<zendeavor>
but just...don't pick it because RoR
<rajath>
ohh.. Okay
<rajath>
yeah.. Makes sense
<workmad3>
plenty of people do pick ruby because of RoR
<zendeavor>
they do, and it's utterly silly.
kilophoton has quit [Quit: kilophoton]
jkline has joined #ruby
<Nilium>
And I hate them for it >:|
<workmad3>
and RoR used to be a nice framework for easing your way into web-dev without having to know everything before you start (less so now, IMO)
<Nilium>
Ruby is too awesome to just be known for Rails
rhys has quit [Quit: Leaving]
<zendeavor>
ruby and python are essentially equivalent languages
mlpinit has quit [Ping timeout: 256 seconds]
<amacleod>
zendeavor, that's like saying Java and C# are essentially equivalent languages.
<workmad3>
zendeavor: I dislike python... I find it annoyingly verbose and rigid in its approaches compared to ruby
kilophoton has joined #ruby
<zendeavor>
amacleod: do you know why?
<zendeavor>
because it's true
vlad_starkov has quit [Ping timeout: 240 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
<workmad3>
zendeavor: you've not done much java or C#, have you? :)
<zendeavor>
makes me sick
<Nilium>
Java and C# are essentially equivalent aside from C# basically being a better Java with more features.
<Nilium>
Which is like saying one form of herpes is better than another, but that's neither here nor there.
<amacleod>
zendeavor, well, I suppose you can say that every Turing-complete language is equivalent to every other Turing-complete language.
mansi has quit [Ping timeout: 245 seconds]
<zendeavor>
now you're really reaching
<Nilium>
In terms of general structure, C# and Java code is usually pretty similar.
<zendeavor>
let's not devolve into a semantic debate, okay?
k3VB6u4d has joined #ruby
<Nilium>
I think that's fair to say.
<workmad3>
well, any program written in one turing-complete language can be translated into another turing-complete language
<zendeavor>
the abstractions available are rather similar
<amacleod>
I'll grant that Ruby and Python are very similar in many regards. Still, they're different enough that I disagree with your statement that they are essentially equivalent.
<workmad3>
(if you take 'program' to include all supporting code down to the bare metal)
<Nilium>
I disagree mostly with Python and Ruby being similar just because Python comes across as stricter and less.. friendly to object-oriented code.
<amacleod>
They have different visual aesthetics, for one thing. Which matters.
<workmad3>
python and ruby are superficially similar
<Nilium>
The impression I get is that they're similar because both use 'def'
* zendeavor
boggle
cek has quit [Ping timeout: 264 seconds]
<Nilium>
Anyway, zendeavor's like the resident troll so it's fine
<zendeavor>
that's prevailing wisdom
<zendeavor>
wrong, but prevailing.
<workmad3>
however, they have different philosophies driving development, different communities, different ecosystems (python's easy-install is, IMO, one of the worst atrocities around), different idioms, different views of design elegance...
<amacleod>
Well I, for one, just got trolled.
<Nilium>
Let's talk about how perl is dying
<Nilium>
Who wants to defend perl?
<zendeavor>
someone tried that crap already
<Nilium>
I know, I kicked it off last time :D
<Nilium>
Or recently.
<Nilium>
Maybe it happens more often than I thought.
<workmad3>
Nilium: perl 6 is awesome, I installed it today with 'ruby-build 2.0.0-p448'
Banistergalaxy has quit [Ping timeout: 256 seconds]
Es0teric has joined #ruby
<Nilium>
Well played.
kilophoton has quit [Quit: Leaving]
reset has joined #ruby
<rajath>
guys, coming back to my question.. Should I use a specific Python framework for web dev or just plain web programming in Python?
<Nilium>
Also, Do you mean 1.9.3-p448?
Banistergalaxy has joined #ruby
<Nilium>
rajath: Wrong room.
<workmad3>
Nilium: no, I mean 2.0.0-p247
<amacleod>
rajath, you might be better off asking the Python community.
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has quit [Remote host closed the connection]
<pontiki>
not necessarily
<pontiki>
Open3 has a bunch of methods
mansi has joined #ruby
<pontiki>
Open3#popen3 gives you control over stdin, stdout, and stderr, but it has some caveats you have to watch out for
<pontiki>
such as possible blocking on the stdout and stderr
kaspergrubbe has quit [Ping timeout: 276 seconds]
danman has quit [Quit: danman]
danman has joined #ruby
newUser1234 has quit [Remote host closed the connection]
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
ewnd9 has quit [Ping timeout: 240 seconds]
gstamp has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
maasdesigner has quit [Quit: maasdesigner.com]
amacleod has quit [Quit: Leaving]
wolcanus has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
danman has quit [Client Quit]
danman has joined #ruby
saarinen has quit [Quit: saarinen]
io_syl has joined #ruby
virtualize has joined #ruby
snovak has joined #ruby
tomzx_mac has joined #ruby
barratt has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
vlad_starkov has quit [Ping timeout: 268 seconds]
__maes_ has quit [Ping timeout: 264 seconds]
wolcanus has quit [Ping timeout: 264 seconds]
ctp has joined #ruby
_maes_ has quit [Ping timeout: 240 seconds]
cads has quit [Ping timeout: 268 seconds]
jeremyb has joined #ruby
aryaching has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
g0bl1n has joined #ruby
mikepack has quit [Remote host closed the connection]
ilyam has quit [Quit: ilyam]
yfeldblum has quit [Ping timeout: 264 seconds]
jjbohn has joined #ruby
<jeremyb>
working on installing https://github.com/calagator/calagator ; i have the specified versions of gem and ruby. (1.3.7 / 1.8.7); i keep getting an error about the format of a gemspec file. (i very recently blew away ~/.gem and ~/.gems and started from scratch)
<jeremyb>
> WARNING: Invalid .gemspec format in "$HOME/.gems/specifications/themes_for_rails-0.5.1.gemspec"
<jeremyb>
any ideas?
* jeremyb
is not a ruby person
mklappstuhl has joined #ruby
Evixion has quit [Read error: Connection reset by peer]
snovak has quit [Read error: Operation timed out]
<jeremyb>
also, Could not find factory_girl_rails-1.7.0 in any of the sources
aryaching has quit [Ping timeout: 264 seconds]
Evixion has joined #ruby
Evixion has quit [Client Quit]
jefflyne has joined #ruby
pkrnj has joined #ruby
pipework has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 256 seconds]
carlyle has joined #ruby
<Neener54>
jeremyb I'm assuming you reinstalled the gems right?
<Neener54>
jeremyb are you using bundler?
<jeremyb>
Neener54: the instructions say to run `bundle`. that's what i did
<jeremyb>
Neener54: the guy sitting next to me found something that mentioned `bundle install` so that's running now. but the docs just say `bundle`
<Neener54>
jeremyb Well the invalid gem spec probably isn't a huge concern, I've seen gems with that issue before that worked just fine.
johnnyfuchs has quit [Remote host closed the connection]
<Neener54>
jeremyb running 'bundle' will do a bundle install if nothing is passed to it
<jeremyb>
k
sambao21 has joined #ruby
<jeremyb>
Neener54: it's preceeded by a significant amount of output (i guess stderr, but maybe stdout)
<jeremyb>
seems like raw, uninterpreted ruby
<Neener54>
Could you create a gist of it and link it?