robbyoconnor has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby-lang
nertzy has joined #ruby-lang
<|jemc|>
a little off topic, but does anyone know of a good "mailing list viewer"
<|jemc|>
Gmane and such publish an RSS feed, but I'm picturing the viewer being able to link together replies to a thread in one continuous view
<|jemc|>
(like a vanilla RSS reader won't)
<|jemc|>
if it was a command line viewer, it would be bonus, but I won't press my luck
<|jemc|>
if it was written in ruby then my question would become more on-topic :P
<ohsix>
like gmail does? there's a weird intersection with the dark ages when you deal with mail; and the mailing list archivers aren't always able to put the threads together since people fail at email
<ohsix>
i think mutt can collapse threads so you see the original post, then can expand it or go into a thread view
Asher has quit [Quit: Leaving.]
Asher has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
__butch__ has quit [Quit: Leaving.]
sarkyniin has quit [Remote host closed the connection]
Tab_ has joined #ruby-lang
nertzy has quit [Read error: Connection reset by peer]
<|jemc|>
hm. well I was hoping to be able to browse mailing list archives for lists I am not subscribed to or was not subscribed to at the time
nertzy has joined #ruby-lang
<|jemc|>
maybe I should just whip up a little webcrawler for gmane in ruby that uses curses :)
<|jemc|>
I just kinda figured somebody else had done it
Miphix has joined #ruby-lang
duderonomy has joined #ruby-lang
duderonomy has quit [Max SendQ exceeded]
shinnya has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
<siwica>
when having a method that is only doing some stuff and has no actual return value, is there a canonical value one should return if the operation succeeds?
<ledestin>
siwica: true?
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kirin` has joined #ruby-lang
snovity has quit [Ping timeout: 244 seconds]
kirin` has quit [Remote host closed the connection]
marcdel has joined #ruby-lang
kirin` has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
mattyohe has joined #ruby-lang
marcdel has quit [Ping timeout: 264 seconds]
gianlucadv has joined #ruby-lang
cantonic has quit [Ping timeout: 245 seconds]
David_H__ has quit [Remote host closed the connection]
kirin` has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
cantonic has joined #ruby-lang
David_H_Smith has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
David_H_Smith has joined #ruby-lang
David_H_Smith has quit [Remote host closed the connection]
lsegal has joined #ruby-lang
David_H_Smith has joined #ruby-lang
marcdel has joined #ruby-lang
David_H_Smith has quit [Remote host closed the connection]
David_H_Smith has joined #ruby-lang
bantic has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 250 seconds]
saramic_ has joined #ruby-lang
saramic_ has quit [Client Quit]
jxie has joined #ruby-lang
saramic has quit [Ping timeout: 264 seconds]
nertzy has joined #ruby-lang
gix- has quit [Ping timeout: 265 seconds]
marcdel has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
Lewix has joined #ruby-lang
marcdel has joined #ruby-lang
gix has joined #ruby-lang
havenwood has joined #ruby-lang
gianlucadv has quit [Ping timeout: 256 seconds]
duderonomy has joined #ruby-lang
duderonomy has quit [Max SendQ exceeded]
kirin` has joined #ruby-lang
nertzy has quit [Quit: This computer has gone to sleep]
kirin` has quit [Remote host closed the connection]
sunaku has joined #ruby-lang
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby-lang
robbyoconnor has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
siwica has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Client Quit]
sunaku has quit [Quit: WeeChat 1.0.1]
sunaku has joined #ruby-lang
disKounted has quit []
oleo__ is now known as oleo
ur5us has quit [Remote host closed the connection]
SuMo_D has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
AKASkip has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
duderonomy has joined #ruby-lang
rahul_j has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest74485
Guest74485 has quit [Ping timeout: 255 seconds]
oleo__ has quit [Read error: Connection reset by peer]
oleo__ has joined #ruby-lang
oleo__ is now known as oleo
siwica has joined #ruby-lang
Blaguvest has quit []
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
siwica has quit [Remote host closed the connection]
siwica has joined #ruby-lang
AKASkip has quit [Ping timeout: 250 seconds]
oleo has quit [Quit: Verlassend]
JoshuaPaling has joined #ruby-lang
jg has joined #ruby-lang
siwica1 has joined #ruby-lang
kirin` has joined #ruby-lang
cantonic has quit [Quit: cantonic]
RobertBirnie has joined #ruby-lang
siwica has quit [Ping timeout: 244 seconds]
kirin` has quit [Remote host closed the connection]
francisfish has quit [Remote host closed the connection]
bnagy has quit [Ping timeout: 258 seconds]
bnagy has joined #ruby-lang
francisfish has joined #ruby-lang
kirin` has joined #ruby-lang
siwica has quit [Ping timeout: 250 seconds]
francisfish has quit [Ping timeout: 260 seconds]
tenderlove has joined #ruby-lang
robbyoconnor has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
clauswitt has joined #ruby-lang
q_leonetti has joined #ruby-lang
AmBienCeD has quit [Read error: Connection reset by peer]
q_leonetti has quit [Client Quit]
sunaku has quit [Ping timeout: 255 seconds]
lsegal has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
rahul_j has quit [Ping timeout: 244 seconds]
tenderlove has quit [Ping timeout: 244 seconds]
q_leonetti has joined #ruby-lang
rahul_j has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
kirin` has joined #ruby-lang
rahul_j has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
q_leonetti has quit [Quit: q_leonetti]
kirin` has quit [Ping timeout: 255 seconds]
vondruch has joined #ruby-lang
justinmcp_ has quit []
q_leonetti has joined #ruby-lang
mistym has quit [Remote host closed the connection]
cantonic has joined #ruby-lang
marcdel has quit []
solars has joined #ruby-lang
yfeldblum has quit [Ping timeout: 265 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
futilegames has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
benlovell has joined #ruby-lang
q_leonetti has joined #ruby-lang
apeiros has joined #ruby-lang
mark_slight has joined #ruby-lang
skade has joined #ruby-lang
kirin` has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
mark_slight has quit [Quit: mark_slight]
fusillicode has joined #ruby-lang
RitterJack has joined #ruby-lang
fusillicode has quit [Client Quit]
fusillicode has joined #ruby-lang
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
mamantoha_ has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
pr0ton_ has joined #ruby-lang
fusillicode has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
arBmind has joined #ruby-lang
kirin` has joined #ruby-lang
arBmind1 has quit [Ping timeout: 265 seconds]
Sgeo is now known as WickedWitch
billy_ran_away has quit [Ping timeout: 265 seconds]
WickedWitch is now known as Sgeo
jmrepett_ has quit [Remote host closed the connection]
rahul_j has quit [Quit: rahul_j]
rippa has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
symm- has joined #ruby-lang
cornerma1 has joined #ruby-lang
duderonomy has quit [Ping timeout: 255 seconds]
yfeldblum has joined #ruby-lang
cornerman has quit [Ping timeout: 264 seconds]
cornerma1 is now known as cornerman
rahul_j has joined #ruby-lang
kirin` has joined #ruby-lang
marr has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
<yorickpeterse>
morning
kyb3r_ has quit [Read error: Connection reset by peer]
<ljarvis>
moin
ender|dkm has quit [Ping timeout: 255 seconds]
kirin` has joined #ruby-lang
fusillicode has joined #ruby-lang
kirin` has quit [Remote host closed the connection]
allomov has joined #ruby-lang
francisfish has joined #ruby-lang
shennyg____ has quit [Ping timeout: 265 seconds]
shennyg____ has joined #ruby-lang
mkaesz has joined #ruby-lang
funnel has quit [Ping timeout: 265 seconds]
dangerousdave has joined #ruby-lang
mark_slight has joined #ruby-lang
stardiviner has joined #ruby-lang
funnel has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
fusillicode1 has joined #ruby-lang
fusillicode has quit [Read error: Connection reset by peer]
jmrepetti has joined #ruby-lang
mame0 has quit [Ping timeout: 250 seconds]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mame0 has joined #ruby-lang
ironhide_604 has joined #ruby-lang
dangerousdave has joined #ruby-lang
allomov has quit [Remote host closed the connection]
<yorickpeterse>
query time: 18,4 seconds
<yorickpeterse>
dat query
ironcamel has quit [Ping timeout: 244 seconds]
ironcamel has joined #ruby-lang
Miphix has quit [Quit: Leaving]
GBrawl has joined #ruby-lang
GBrawl has quit [Client Quit]
RitterJack has quit [Remote host closed the connection]
jxie has quit [Quit: leaving]
stamina has joined #ruby-lang
Miphix has joined #ruby-lang
<yorickpeterse>
In unrelated news, handling migrations in ActiveRecord spread over different apps for the same DB is a total fucking nightmare
<yorickpeterse>
Schema conflicts, AR being dumb as a brick and not tracking things correctly, general ugh
<zenspider>
AR being dumb? no... that scenario is just dumb
<yorickpeterse>
The sceneraio makes perfect sense if apps share a database and a common set of tables, but also at some point need to change those
<yorickpeterse>
You have to at some point decide that app would own those migrations, then you have to make sure the others can still run on their own (e.g. during tests or development)
<yorickpeterse>
s/that app/what app
<zenspider>
no, that doesn't make perfect sense.
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zenspider>
that's a good rationalization, but it doesn't make perfect sense
<yorickpeterse>
wat
<zenspider>
AR uses tables in the db to track migrations, and you overwrote them by splitting this across 2+ apps.
<yorickpeterse>
No no
<yorickpeterse>
The table itself is just one table
<yorickpeterse>
But yes, using separate ones is one way of doing it
<zenspider>
the right thing to do would probably be to push all AR code into a single shared gem that all the apps use so all the models and migrations were in one place.
<yorickpeterse>
e.g. Sequel supports that
<yorickpeterse>
Ah no, we've tried that
<yorickpeterse>
at least with AR models
<yorickpeterse>
it's a total nightmare
fusillicode has joined #ruby-lang
<yorickpeterse>
AR doesn't play nice when you extend models (e.g. a base Foo model and a custom MyOtherProject::Foo model) and relations
<yorickpeterse>
though in certain other cases it does, sometimes. It's super confusing
<zenspider>
yup. doing super confusing things is super confusing.
<zenspider>
it's called "the rails way" for a reason. going against it, esp THIS bad, has pain
<yorickpeterse>
well yeah, namespacing in general is a PITA in Rails
tenderlove has joined #ruby-lang
fusillicode1 has quit [Ping timeout: 265 seconds]
<yorickpeterse>
Ah well, soon (tm) there will be a new database so we get another go at doing this properly
<yorickpeterse>
I wonder if AR can store migrations in different tables though
<zenspider>
that I don't know. tenderlove might
<zenspider>
I don't think that's really tenderlove tho
SuMo_D has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
cantonic has quit [Quit: cantonic]
symm- has quit [Ping timeout: 265 seconds]
joast has quit [Ping timeout: 244 seconds]
migbar has joined #ruby-lang
mark_slight has quit [Quit: mark_slight]
ledestin has quit [Read error: Connection reset by peer]
SuMo_D has quit [Ping timeout: 264 seconds]
ledestin has joined #ruby-lang
mattyohe has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[spoiler] has quit [Quit: Leaving]
surrounder has quit [Ping timeout: 264 seconds]
surrounder has joined #ruby-lang
yfeldblum has joined #ruby-lang
q_leonetti has quit [Quit: q_leonetti]
<imperator>
good morning
yfeldblum has quit [Ping timeout: 265 seconds]
snoopybbt has quit [Quit: leaving]
jmrepetti has joined #ruby-lang
shinnya has quit [Ping timeout: 260 seconds]
jxie has joined #ruby-lang
mannyt has joined #ruby-lang
Sunlorhic has joined #ruby-lang
whippythellama has joined #ruby-lang
q_leonetti has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
arBmind1 has joined #ruby-lang
joast has joined #ruby-lang
charliesome has quit [Quit: zzz]
arBmind has quit [Ping timeout: 264 seconds]
apeiros has quit [Ping timeout: 256 seconds]
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
tenderlove has joined #ruby-lang
mkaesz has joined #ruby-lang
apeiros has joined #ruby-lang
SuMo_D has joined #ruby-lang
mark_slight has joined #ruby-lang
kurko__ has joined #ruby-lang
michaeldeol has joined #ruby-lang
jondot has joined #ruby-lang
clauswitt has quit [Remote host closed the connection]
karamazov has joined #ruby-lang
<karamazov>
Is it possible to retrieve a cookie set by a third party?
Lewix has joined #ruby-lang
yfeldblum has joined #ruby-lang
mistym has joined #ruby-lang
jondot has quit []
<ljarvis>
karamazov: no
yfeldblum has quit [Ping timeout: 256 seconds]
<ljarvis>
that would be massively insecure
<karamazov>
Interesting - I'm using a referral service that sets a cookie with a code in the browser then run their JS to fill in a text box with a code that's in their cookie. So somehow they're doing it in their code on my domain?
<apeiros>
theoretically yes, it is possible. practically no browser will allow that, because of what ljarvis said.
<karamazov>
Their JS is obfuscated so it's a bit difficult to decipher
nathanstitt has joined #ruby-lang
<apeiros>
their js maybe does a roundtrip to their server via ajax
fusillicode has quit [Read error: Connection reset by peer]
<karamazov>
Regardless, they're interacting with the cookie that's set on my domain though, right?
fusillicode has joined #ruby-lang
snovity has quit [Ping timeout: 244 seconds]
<workmad3>
karamazov: JS running in a page served by your domain can access cookies from your domain
<karamazov>
document.cookies yeah?
<ljarvis>
correct
<karamazov>
But it can't access cookies set by another.
<ljarvis>
correct
<karamazov>
Yet I'm running JS on my domain that reads the code from their cookie
<ljarvis>
that was set on your domain
<workmad3>
karamazov: but it could send the cookies to another server via a CORS or JSONP request, and said request could pass back the information that was in cookies sent by the browser to that domain
<ljarvis>
cookiemania
<karamazov>
I'm not sure I follow - right now, document.cookies doesn't show their cookie. But I can see the cookie by viewing cookies on the page in chrome.
mistym has quit [Remote host closed the connection]
<karamazov>
haha...ok - that makes sense.
<ljarvis>
document.cookies shows your cookies for that website
<ljarvis>
nobody elses
ender|dkm has joined #ruby-lang
<workmad3>
karamazov: also, you can see the cookies in the requests in things like the network panel
<workmad3>
karamazov: but that doesn't mean that the JS code in the page can see them ;)
<apeiros>
karamazov: not regardless. either they read on your domain a cookie set by your domain. or they do an ajax roundtrip where they read the cookie set on their domain within their domain.
<karamazov>
I'm really interested as to how their JS is sending it then.
<workmad3>
karamazov: cookies are automatically inserted into requests made to the relevant domain
<karamazov>
Ooooreally?
<workmad3>
it's kinda the point of a cookie ;)
nathanstitt has quit [Client Quit]
<apeiros>
…
<ljarvis>
:/
davs has quit [Ping timeout: 250 seconds]
<karamazov>
I didn't realize their post request would contain the cookie.
<ljarvis>
apeiros: gtfo with your posh ellipsis
<apeiros>
I'm posh all I want!
<ljarvis>
next you'll be using real em dashes
<karamazov>
Is it that shocking that I didn't know that?
<ljarvis>
karamazov: yes
<ljarvis>
:P
<workmad3>
karamazov: if you had to manually attach cookies to requests, they'd just be normal request data :P
<ljarvis>
browsers do this for you, because otherwise they would suck
<workmad3>
karamazov: or you'd be doing curl...
<karamazov>
I missed the cookies course in my self teaching endeavor :)
tbuehlmann has quit [Remote host closed the connection]
q_leonetti has quit [Quit: q_leonetti]
<ljarvis>
⋯
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ljarvis>
apeiros: EAT THAT
<apeiros>
<ljarvis>
⋰
<apeiros>
⁙
<ljarvis>
⋱
<workmad3>
<apeiros>
shevy is probably all confused about all those <?>'s in his chatlog :-p
futilegames has quit [Quit: futilegames]
<workmad3>
<ljarvis>
nathanstitt has joined #ruby-lang
<karamazov>
Thanks for the help albeit my lower self worth ;)
<workmad3>
karamazov: hey, you managed to avoid a link to google... that should count as a win ;)
<ljarvis>
lernz++
<karamazov>
True. And I didn't ask my coworkers so they don't know I didn't know.
<karamazov>
My pay has not been deducted.
<ljarvis>
now go and school them
allomov has joined #ruby-lang
<ljarvis>
YO U HEARD ABOUT COOKIES?
<karamazov>
THEY BE SENDIN IN REQUESTS IN SHEET
snovity has joined #ruby-lang
havenwood has joined #ruby-lang
<apeiros>
cookies? OM NOM NOM!
fusillicode1 has joined #ruby-lang
<yorickpeterse>
WHAT DID I MISS WHY ARE WE TALKING IN CAPS?
nathanstitt has quit [Quit: I growing sleepy]
Lewix has quit [Remote host closed the connection]
fusillicode has quit [Ping timeout: 250 seconds]
ironhide_604 has quit [Ping timeout: 250 seconds]
mistym has joined #ruby-lang
Sunlorhic has quit [Ping timeout: 255 seconds]
nathanstitt has joined #ruby-lang
davs has joined #ruby-lang
nathanstitt has quit [Client Quit]
Lewix has joined #ruby-lang
cored has joined #ruby-lang
cored has joined #ruby-lang
dagda1 has joined #ruby-lang
Sunlorhic has joined #ruby-lang
arooni-mobile has joined #ruby-lang
davs has quit [Client Quit]
davs has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]