apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
PSKOSINSKI has quit [Ping timeout: 240 seconds]
wmoxam has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
heftig has quit [Quit: Quitting]
heftig has joined #ruby-lang
fridim__ has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
_jpb_ has joined #ruby-lang
jstorimer has joined #ruby-lang
lutfidemirci has joined #ruby-lang
GeissT has joined #ruby-lang
hashkey has quit []
jstorimer has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
<whitequark> zenspider: did you ever release that ruby obfuscator you were working on in 2006?
andrewvos has quit [Ping timeout: 246 seconds]
glebm_ has joined #ruby-lang
marr has quit [Ping timeout: 268 seconds]
marcostoledo has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 240 seconds]
wmoxam has quit [Ping timeout: 252 seconds]
fenicks has quit [Remote host closed the connection]
Kabaka has quit [Ping timeout: 240 seconds]
arubin has joined #ruby-lang
havenwood has quit [Ping timeout: 260 seconds]
Kabaka has joined #ruby-lang
x0f has quit [Read error: Operation timed out]
x0f has joined #ruby-lang
andrewvos has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
<whitequark> and what happened to metaruby?
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
_jpb_ has quit [Ping timeout: 246 seconds]
crackity_jones has quit [Quit: Computer has gone to sleep.]
chris_rb_ has quit [Quit: Ex-Chat]
_jpb_ has joined #ruby-lang
bzalasky has joined #ruby-lang
dankest has quit [Quit: Leaving...]
vlad_starkov has joined #ruby-lang
<zenspider> whitequark: it wasn't released ... it was a commercial product
<zenspider> whitequark: do you have ANY CLUE how the fuck MRI 2.0 distinguishes between 'def !@' and '!@ivar' ? because it totally looks like it will always slurp up '!@' like an operator
<zenspider> metaruby got us hired into rubinius and then we dropped it
<zenspider> I'm so fucking stuck
<zenspider> I don't want to resort to negative lookahead
pkrnj has joined #ruby-lang
<erikh> zenspider: thanks for putting that patch in!
_jpb_ has quit [Ping timeout: 246 seconds]
<zenspider> erikh: n/p
_jpb_ has joined #ruby-lang
<whitequark> zenspider: I do
<whitequark> !@ is parsed in EXPR_FNAME state
<whitequark> "!@" is one token; "!@ivar" are two tokens, "!" and "@ivar"
<whitequark> longest match rule mandates that "!@" should be lexed in that context
<zenspider> but mri isn't a peg. I don't see how longest even comes into play
<zenspider> and the ! handler is before the tIVAR handler
glebm_ is now known as glebm
<whitequark> hm? longest match is the usual rule for all lexers
<zenspider> no... MRI's lexer returns immediately on any match
<zenspider> so it is first one wins
<whitequark> well, it doesn't, since it distinguishes = and == for example
<whitequark> but lemme check parse.y
<whitequark> that will be quicker.
<whitequark> also, I fixed tabs in RXR
<zenspider> line 7008 vs 8011
mdedetrich has quit [Quit: Computer has gone to sleep.]
joshuawscott has quit [Quit: Leaving.]
<zenspider> I'm going with lex_state check and a negative lookahead for now :/
<whitequark> zenspider: line 6938
<whitequark> in 2.0.0-p0
<zenspider> I'm not sure I'm on the same code... whitespace check?
<whitequark> and IS_AFTER_OPERATOR() includes EXPR_FNAME
<zenspider> thanks
<whitequark> btw, regarding my lexer PR. there's a slew of fixed bugs in parser's lexer lately, and there will likely be more
<whitequark> so I'll release parser 2 first, and then update the PR. don't want to play human patch twice
krohrbaugh has quit [Ping timeout: 252 seconds]
<zenspider> right... hit bang, if after def look for @...
<zenspider> whitequark: I'm 2 files from hitting 4 sigma...
<zenspider> so, hold off on your PR anyhow
<zenspider> I think I'm just being too clever... but I have to go. almost out of battery anyhow
<whitequark> 'k
<zenspider> I'll keep this up and see if I'm overlooking something after I get food
<zenspider> FOUR SIGMA
<zenspider> kills me. I'm so close
<whitequark> I should run parser with gauntlet, too
<whitequark> probably
<zenspider> out of 801k files... 52 failures atm
<zenspider> anyhow. later
<whitequark> last time I tried I was out of disk space...
<zenspider> hah. yeah. I've curated a tarball w/ unique'd ruby-only files broken up into managable indexed dirs :)
<whitequark> zenspider: care to share?
<whitequark> it'd be *really* convenient.
Oloryn_lt2 has joined #ruby-lang
lsegal has joined #ruby-lang
jstorimer has joined #ruby-lang
tylersmith has joined #ruby-lang
gja has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
jstorimer has quit [Ping timeout: 260 seconds]
diegoviola has quit [Ping timeout: 260 seconds]
mdedetrich has joined #ruby-lang
tylersmith has quit [Ping timeout: 256 seconds]
symm- has quit [Ping timeout: 246 seconds]
bzalasky has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
<Gaelan> Is cheat (cheat.errtheblog.com) still working for others? It seems to have become read-only for me.
joshuawscott has joined #ruby-lang
andrewvos has quit [Ping timeout: 248 seconds]
RickHull1 has quit [Quit: Leaving.]
RickHull1 has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
mbj has quit [Ping timeout: 246 seconds]
kgrz has joined #ruby-lang
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
kgrz has quit [Ping timeout: 246 seconds]
joshuawscott has quit [Quit: Leaving.]
andrewvos has joined #ruby-lang
mdedetrich has joined #ruby-lang
dhruvasagar has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
andrewvos has quit [Ping timeout: 276 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
arooni-mobile has quit [Ping timeout: 240 seconds]
arooni-mobile has joined #ruby-lang
jstorimer has joined #ruby-lang
jsulliva_ has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
crazyhorse has joined #ruby-lang
fridim__ has quit [Ping timeout: 256 seconds]
<crazyhorse> hey
<crazyhorse> i need to run many system commands
<drbrain> Process.spawn!
<crazyhorse> is there a nice way of getting the pids etc?
<crazyhorse> and the exit codes
<crazyhorse> i don't' really like system and then $?
<drbrain> pid = Process.spawn "your command"; status = Process.wait pid
<crazyhorse> oh let me try
jstorimer has quit [Ping timeout: 246 seconds]
<drbrain> Process.spawn also handles redirection and management of the environment in a friendly way
mbj has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 256 seconds]
<crazyhorse> ok.. so for the example Process.spawn(ls)
<crazyhorse> 'ls'
<crazyhorse> whats a nice way of getting an object back that contains the full stdout, stderr,pid and exitcode?
<crazyhorse> when i run Process.spawn('ls') in irb it doesn't return control back to my user
<drbrain> crazyhorse: you can use open4 (gem) for in/out/err/pid
<crazyhorse> hellllo :D
<crazyhorse> yes this looks nice
<crazyhorse> i wonder if you could run open4 over ssh
<drbrain> crazyhorse: yes, you can, look at rake-remote_task
savagecroc has joined #ruby-lang
crazyhorse has quit [Read error: Connection reset by peer]
<savagecroc> drbrain: sorry got booted
<drbrain> savagecroc == crazyhorse/
<drbrain> ?
<savagecroc> yep
<drbrain> look at rake-remote_task for ssh + open4
<savagecroc> https://github.com/seattlerb/rake-remote_task/blob/master/lib/rake/remote_task.rb << ah they look like they've implemented very nicely
hashkey has joined #ruby-lang
andrewvos has joined #ruby-lang
<savagecroc> this is excellent, he's even supported collecting the sudo command
<drbrain> savagecroc: that's me + zenspider + Defiler
<savagecroc> ah i couldn't work out how to do the sudo password via Net:SSH
<savagecroc> and i spent hours on it
<savagecroc> this should fix all of those problems
jstorimer has joined #ruby-lang
andrewvos has quit [Ping timeout: 240 seconds]
RickHull1 has quit [Quit: Leaving.]
jstorimer has quit [Read error: Connection reset by peer]
jstorime_ has joined #ruby-lang
RickHull1 has joined #ruby-lang
dgibson has joined #ruby-lang
<savagecroc> drbrain: ah your library ones a single command via ssh and then closes the connection/
<savagecroc> ?
<drbrain> yes, you can send multiple commands with ;
<savagecroc> what we've built is a capistrano style replacement.. and so it ends up running thousands of commands and the next command is based on results from previous commands
<savagecroc> i.e. checking statuses exit codes etc
<savagecroc> so we pretty much have to maintain an open ssh connection to do it
<drbrain> ah
<savagecroc> i've got it working with Net:SSH
<savagecroc> but i couldn't get the sudo password stuff to work
<savagecroc> and also i wanted to be able to use our libraries to run code locally and remotely in an identical manner
<savagecroc> lol.. and ssh'ing to myself seems silly
<savagecroc> it's a pity there is a distinction between a local environment and a remote environment
<savagecroc> in terms of the terminal window
hashkey has quit [Ping timeout: 246 seconds]
marcostoledo has quit [Quit: Leaving...]
jstorime_ has quit [Remote host closed the connection]
hashkey has joined #ruby-lang
dgibson has quit [Quit: Lost terminal]
io_syl has joined #ruby-lang
mbj has quit [Ping timeout: 264 seconds]
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
AWW is now known as Aww
Gaelan has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andrewvos has joined #ruby-lang
_jpb_ has quit [Ping timeout: 252 seconds]
_jpb_ has joined #ruby-lang
rrva has joined #ruby-lang
Guest45402 has joined #ruby-lang
Guest45402 is now known as diegoviola
andrewvos has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
jstorimer has joined #ruby-lang
heftig_ has joined #ruby-lang
Gaelan has joined #ruby-lang
RickHull1 has quit [Quit: Leaving.]
heftig has quit [Ping timeout: 246 seconds]
RickHull1 has joined #ruby-lang
ledestin has joined #ruby-lang
<eam> savagecroc: use something like pam_ssh_agent_auth or pam_krb5_ccache to do passwordless sudo
<eam> feeding passwords into sudo expect-style is extremely bad practice
<eam> or ssh in as root directly
<drbrain> LOL
<eam> ?
<drbrain> "ssh in as root directly"
<eam> allowing sshd to perform the privilege elevation is considerably more secure than transmitting your cleartext password to the remote system and feeding it into sudo
<drbrain> so you don't trust ssh to securely transmit data?
<eam> (assuming challeng/response via ssh keys, kerberos or the like -- and not password auth)
<eam> drbrain: you're missing the point. If the remote system is compromised, encryption on the wire is meaningless
<eam> ssh keys or kerberos will keep secrets off the remote host entirely
<savagecroc> back back
<eam> sudo OTOH requires you to feed your password through the remote terminal in cleartext
<drbrain> no it doesn't
<eam> drbrain: it certainly does
<drbrain> then you need to learn how to configure sudo
<eam> unless you use one of the pam modules I mentioned above
<eam> drbrain: I've written modules for it, I think I know how
<eam> how do /you/ think it works?
<savagecroc> eam: are you going to be around in 30 mins?
<eam> savagecroc: probably
<savagecroc> awesome... would love to chat about this more but i've ordered lunch :D
<eam> hah, sure
<whitequark> zenspider: also you don't need tUBANG, it's not even present in upstream parse.y... just use tBANG
<whitequark> aka '!'
tRAS has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
<eam> drbrain: in normal configuration, sudo reads your cleartext password from stdin/terminal and auths against whatever your system is config'd to use (generally pam, something like pam_unix.so)
lutfidemirci has joined #ruby-lang
<drbrain> eam: if you can change one thing you can change another, like the sudoers configuration
<eam> what I'm suggesting is to modify the pam config to farm it out to a challenge-response system, like ssh-key based
<eam> drbrain: yeah but that's what I said: "use something like pam_ssh_agent_auth or pam_krb5_ccache to do passwordless sudo"
<whitequark> drbrain: the point here is to keep *password* off the remote host
<whitequark> the secrets
<eam> those are PAM modules for sudo
<drbrain> sudo can be configured to not need a password
lutfidemirci has quit [Read error: Connection reset by peer]
<eam> (one of which I'm the author of)
crackity_jones has joined #ruby-lang
<whitequark> drbrain: right. sudo plus pam_ssh_auth allows you to not have passwordless sudo on remote host
<whitequark> drbrain: so if *something else* runs with rights of your account, it won't be able to escalate its privileges
<eam> you can also use NOPASSWD -- but I'd suggest using sshd itself instead
<drbrain> sounds a hell of a lot better than logging in directly as root
<eam> drbrain: nah
<eam> common misconception
<eam> "don't log in as root" is advice for people who know nothing, who would use logging in as root for day to day operations
<eam> and while that's good advice, it really doesn't apply when considering a holistic approach to privilige escalation in a production environment
<eam> privilege even
<whitequark> eam: also, nice trick. thanks. I will probably use it.
<eam> whitequark: it's really really cool, have used it at large scale
cofin has joined #ruby-lang
brianpWins has joined #ruby-lang
hashkey has quit [Ping timeout: 252 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 246 seconds]
andrewvos has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
hashkey has joined #ruby-lang
andrewvos has quit [Ping timeout: 246 seconds]
brianpWins has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
Icharus has joined #ruby-lang
kgrz has joined #ruby-lang
<savagecroc> ok back
<savagecroc> eam: ok currently i have sudo set to NOPASSWD
<savagecroc> so what i'm worried about is if some command gets executed in my user account
<savagecroc> they don't need to authenticate to run it
jstorimer has quit [Remote host closed the connection]
<savagecroc> so basically i have root, sysadmin1, sysadmin2, nginx, postgres, app1, app2, app3, app4 etc as my users. root i never login as but sysadmin1 and sysadmin2 both have nopasswd for sudo
kgrz has quit [Ping timeout: 260 seconds]
<savagecroc> nginx only has read access to the webserver directory, postgres only postgres stuff.. and the apps only have read access to files and write access to log files (and some directories where they need to dump cache stuff)
<savagecroc> for deployments everything gets run via sysadmin1 / sysadmin2
RickHull1 has quit [Quit: Leaving.]
RickHull1 has joined #ruby-lang
krombr has quit [Remote host closed the connection]
Icharus has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
MasterNayru has joined #ruby-lang
pothibo has quit [Quit: pothibo]
_jpb_ has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
jsullivandigs has joined #ruby-lang
ledestin has quit [Ping timeout: 246 seconds]
<eam> savagecroc: yo
<savagecroc> hey
brianpWins has quit [Quit: brianpWins]
<savagecroc> eam: ok
<eam> I'd typically either grant users access to those role accounts directly (especially if you want to say, rsync as that user) or use a pam module to make sudo authenticated, but not via passwords
<savagecroc> so pretty much the script that connects essentially is a "root" script.. it can decide which commands to run as root and which should be run as a particular user
<eam> savagecroc: the best way to drive that decision tree is sshd, imo, by granting the correct users access to login via ssh keys
<eam> running a homebrew dispatch script as root is an easy attack vector
<eam> sudo is an ok-ish version of a configurable dispatch script, but it's kinda clumsy and often misconfigured itself
<savagecroc> so you'd allow every user login ability?
<savagecroc> i.e. app1 can actually ssh in
<eam> savagecroc: you can limit commands if you want, via ~/.ssh/authorized_keys
<eam> restricted shell, etc
<savagecroc> eam: ohhh whitelist the commands?
<eam> yup
<savagecroc> how does chef do it.. install a module on the server.. then that server starts delegating the commands
Sambalero has joined #ruby-lang
<eam> in your security model you should probably still assume they can run arbitrary commands, but it can help limit policy-wise what goes on
<eam> savagecroc: not familiar with chef, but in the file chef configures you can list the commands and other options
<savagecroc> lol.. lots of thinking to do
<eam> if you let someone deploy and invoke code as a user, they essentially have full access to the user
<savagecroc> yeah but the people who can deploy have full access to the system anyway
andrewvos has joined #ruby-lang
hhatch has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 252 seconds]
andrewvos has quit [Ping timeout: 248 seconds]
wallerdev has quit [Quit: wallerdev]
achiu1 has quit [Quit: WeeChat 0.4.1]
achiu has joined #ruby-lang
wallerdev has joined #ruby-lang
Gaelan has quit [Quit: Bye!]
tomzx_mac has quit [Ping timeout: 268 seconds]
kgrz has joined #ruby-lang
jstorimer has joined #ruby-lang
jstorimer has quit [Ping timeout: 246 seconds]
kgrz has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
hashkey has quit [Ping timeout: 264 seconds]
<charliesome> whitequark: TIL about !@
hashkey has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
cofin has joined #ruby-lang
hashkey has quit [Ping timeout: 246 seconds]
kgrz has joined #ruby-lang
gianlucadv has quit [Ping timeout: 260 seconds]
<charliesome> >> :!@ == :"!@"
<eval-in> charliesome => false (https://eval.in/35609)
andrewvos has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
MasterNayru has quit [Remote host closed the connection]
andrewvos has quit [Ping timeout: 248 seconds]
fridim__ has joined #ruby-lang
macmartine has joined #ruby-lang
<savagecroc> hmm
<savagecroc> any suggestions on how to make open4 not ask for your sudo password more than once?
<savagecroc> basically i'm getting one for almost every command
countdigi has joined #ruby-lang
spuk has joined #ruby-lang
<ryanf> charliesome: haha wtf
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
swav has joined #ruby-lang
<heftig_> savagecroc: disable the tty_tickets option in sudoers
<savagecroc> heftig_: thankyou :)
heftig_ is now known as heftig
macmartine has quit [Quit: Computer has gone to sleep.]
fridim__ has quit [Ping timeout: 252 seconds]
andrewvos has joined #ruby-lang
GeissT has quit [Ping timeout: 256 seconds]
architbaweja has quit [Read error: Operation timed out]
andrewvos has quit [Ping timeout: 260 seconds]
jsullivandigs has quit [Remote host closed the connection]
ffio_ has joined #ruby-lang
ffio has quit [Ping timeout: 268 seconds]
jsullivandigs has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 252 seconds]
architbaweja has joined #ruby-lang
ryez has quit [Ping timeout: 250 seconds]
cofin has quit [Quit: cofin]
setmeaway has quit [Ping timeout: 246 seconds]
tRAS has quit [Quit: Mother, did it need to be so high?]
vlad_sta_ has quit [Ping timeout: 256 seconds]
marr has joined #ruby-lang
<yorickpeterse> HI GUYS
<yorickpeterse> doing lightning talks, ohgod
mistym_ has joined #ruby-lang
zzak_ has joined #ruby-lang
menghon has joined #ruby-lang
spinky has joined #ruby-lang
ammar_ has joined #ruby-lang
[dmp]_ has joined #ruby-lang
[dmp]_ has joined #ruby-lang
[dmp]_ has quit [Changing host]
Raynes_ has joined #ruby-lang
ddd__ has joined #ruby-lang
mksm has joined #ruby-lang
countdig1 has joined #ruby-lang
cout_ has joined #ruby-lang
foca_ has quit [Ping timeout: 276 seconds]
bryanl has quit [Ping timeout: 276 seconds]
perry has quit [Ping timeout: 276 seconds]
Raynes has quit [Ping timeout: 276 seconds]
canton7 has quit [Ping timeout: 276 seconds]
nikky has quit [Ping timeout: 276 seconds]
countdigi has quit [Ping timeout: 276 seconds]
architbaweja has quit [Ping timeout: 276 seconds]
mdedetrich has quit [Ping timeout: 276 seconds]
Mawk has quit [Ping timeout: 276 seconds]
retro|cz has quit [Ping timeout: 276 seconds]
mistym has quit [Ping timeout: 276 seconds]
segy has quit [Ping timeout: 276 seconds]
[dmp] has quit [Ping timeout: 276 seconds]
mclee has quit [Ping timeout: 276 seconds]
brixen has quit [Ping timeout: 276 seconds]
swygue has quit [Ping timeout: 276 seconds]
dvorak has quit [Ping timeout: 276 seconds]
FiXato has quit [Ping timeout: 276 seconds]
flexd has quit [Ping timeout: 276 seconds]
zzak has quit [Ping timeout: 276 seconds]
ammar has quit [Ping timeout: 276 seconds]
ddd has quit [Ping timeout: 276 seconds]
cout has quit [Ping timeout: 276 seconds]
Guest4693 has quit [Ping timeout: 276 seconds]
braidn has quit [Ping timeout: 276 seconds]
benwoody has quit [Ping timeout: 276 seconds]
singpolyma has quit [Ping timeout: 276 seconds]
mdedetrich has joined #ruby-lang
braidn_ has joined #ruby-lang
mksm is now known as Guest30040
FiXato|VPS has joined #ruby-lang
mclee has joined #ruby-lang
perry has joined #ruby-lang
architbaweja has joined #ruby-lang
nikky has joined #ruby-lang
brixen_ has joined #ruby-lang
benwoody has joined #ruby-lang
segy has joined #ruby-lang
foca has joined #ruby-lang
bryanl_ has joined #ruby-lang
flexd has joined #ruby-lang
singpolyma has joined #ruby-lang
retro|cz has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
tkuchiki has joined #ruby-lang
andrewvos has joined #ruby-lang
hashkey has joined #ruby-lang
Raynes_ has left #ruby-lang [#ruby-lang]
tkuchiki has quit [Remote host closed the connection]
andrewvos has quit [Ping timeout: 268 seconds]
tRAS has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
bzalasky has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
ledestin has joined #ruby-lang
marr has quit [Ping timeout: 268 seconds]
hashkey has quit []
RickHull1 has quit [Ping timeout: 256 seconds]
bzalasky has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
RickHull1 has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
bzalasky has joined #ruby-lang
hogeo has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
hashkey has joined #ruby-lang
judofyr has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
<judofyr> hey folks
<judofyr> anyone here?
<drbrain> hi
<judofyr> hey 'brain
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
<drbrain> it's near my bed time
<judofyr> ah
<judofyr> I'm thinking about a better way to handle block helpers with output
<judofyr> I'm not a big fan of Rails' regexp for detecting it
<judofyr> so I had this idea: pastie.org/
<judofyr> I find #{} easier to type than <%= %>
<drbrain> yeah
<drbrain> in ERb you can change the <% %> to other things
<drbrain> I'm unsure how well rails likes that, though
<judofyr> Rails uses Erubis internally
<charliesome> sup drbrain
mikewintermute has joined #ruby-lang
<charliesome> drbrain: i see you were advocating sudo with NOPASSWD earlier… i suggest you check out http://rubygems.org/gems/panic ;)
andrewvos has joined #ruby-lang
<judofyr> where it generates different code for <%= foo %> and <%= foo do %>
ffio_ is now known as ffio
<judofyr> charliesome: I'm just waiting for "User X has left IRC (connection reset by peer)"
<judofyr> reminds me of the nice trick of saying there was an easter egg in mIRC you could invoke with Ctrl-zorro
<judofyr> (where ctrl-z was actually "quit")
<judofyr> oh, or a nice Norwegian one: "partall" and "oddetall" means evens/odds, so you could ask: "is 6 a /partall or a /oddetall" and people would run the /part all command
adambeynon has joined #ruby-lang
<judofyr> good times
<charliesome> haha
<charliesome> reminds me of F10 in team fortress 2
<judofyr> so what does it do?
<judofyr> ah, closes the game
<judofyr> nice
mistym_ has quit [Remote host closed the connection]
<charliesome> also the download count for the panic gem has ticked up 2 since i pasted it in here :\
<charliesome> i should update it with some local priv escalation exploits
<judofyr> 10:38 mistym_ has left IRC (Remote host closed the connection)
andrewvos has quit [Ping timeout: 240 seconds]
<charliesome> lol
<drbrain> I'm a big fan of `gem unpack` when somebody says "hey, install this!"
<judofyr> yeah
<charliesome> oh cool TIL
<charliesome> i've always been doing it manuall
<charliesome> y
<judofyr> I wish there was I way to say "review extconf.rb" before installing
<charliesome> judofyr: this *10000
<charliesome> drbrain ^
<charliesome> i wasn't sure why that string escaping exploit a while ago was even a big deal
<charliesome> when extconf.rb is an even bigger hole
<drbrain> that could be done, can someone open a feature request on rubygems/rubygems?
<charliesome> drbrain sure
M_BlX has joined #ruby-lang
<charliesome> unless judofyr wants to claim it
<judofyr> charliesome: you can do it
<charliesome> it'll probably break bundler though
<drbrain> if bundler uses the API properly it might be fine
tbuehlmann has joined #ruby-lang
bzalasky has joined #ruby-lang
<yorickpeterse> charliesome: I'm lazy so copy-pasta: yorickpeterse | charliesome: you're famous here at Euruko
<charliesome> https://github.com/rubygems/rubygems/issues/581 cc drbrain judofyr
<charliesome> yorickpeterse: i was watching _ko1's talk live!
<yorickpeterse> ah
<yorickpeterse> dbussink also mentioned you
<judofyr> charliesome: what did you do?
<yorickpeterse> write the code
<charliesome> yorickpeterse: oh cool, are the talks going to be uploaded after the conf?
<drbrain> charliesome: thanks!
<yorickpeterse> charliesome: yes
<charliesome> yorickpeterse: sick
* charliesome is vain
<yorickpeterse> I'm doing a lightning talk. I have 4 slides
<yorickpeterse> lel
<charliesome> yorickpeterse: what did dbussink say?
<yorickpeterse> mentioned your blag post about method caches
<yorickpeterse> and your inline method cache
<charliesome> judofyr: _ko1 mentioned the class heirarchy inline cache patch i did for trunk
<charliesome> yorickpeterse: oh cool
<judofyr> charliesome: nice
<yorickpeterse> you're offline-internet famous now
<charliesome> yorickpeterse: the best kind of internet famous
<charliesome> i need to poke him about actually getting that merged into trunk actually
<charliesome> he had a bunch of feedback that i went and fixed
<charliesome> i've got a bunch of other cool patches that rely on some of the ground work done by that patchj
<yorickpeterse> are you a hacker?
<charliesome> yorickpeterse: the 31337est
<yorickpeterse> can u hack teh facebuwk?
<judofyr> all of them
<yorickpeterse> dyum
<charliesome> yorickpeterse: why are you asking me? ask judofyr
<yorickpeterse> * dayum
<yorickpeterse> haha
<yorickpeterse> haha yeah he hacked the twitter
<yorickpeterse> * twitters, damn it
<charliesome> he hacked the facebooks too
<judofyr> even got cach
<judofyr> cash*
<yorickpeterse> judofyr has the hustle
<charliesome> cache?
<judofyr> too much programming lately
<judofyr> I can't spell cash anymore
lutfidemirci has joined #ruby-lang
<yorickpeterse> metherd cache
<charliesome> i hacked twitter and all i got was a mention on the security page that took >2 weeks for them to actually update
<charliesome> next time i'll probably just have fun instead of being responsible
<yorickpeterse> heh, idea: Gem metherd cache: caches mispelled method names so it can call them faster
<drbrain> oh, this is not the one I'm thinking of
<drbrain> there's one that does typo correction via method_missing
<charliesome> yorickpeterse: add levenshtein to the method lookup code of MRI
<yorickpeterse> drbrain: wat
bzalasky has quit [Remote host closed the connection]
dc5ala has joined #ruby-lang
M_BlX has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
zmike123 has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
solars has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
solars has quit [Ping timeout: 246 seconds]
andrewvos has joined #ruby-lang
mikewintermute has quit [Quit: mikewintermute]
andrewvos has quit [Ping timeout: 276 seconds]
sbpraveen34 has joined #ruby-lang
gianlucadv has joined #ruby-lang
relix has joined #ruby-lang
savagecroc has quit [Remote host closed the connection]
benanne has joined #ruby-lang
lutfidemirci has quit [Remote host closed the connection]
stamina has joined #ruby-lang
bzalasky has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
dernise has joined #ruby-lang
<dernise> 'Morning!
workmad3 has joined #ruby-lang
dankest has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
<whitequark> charliesome: what did you hack
cored has quit [Ping timeout: 248 seconds]
hapster has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
dankest has quit [Quit: Leaving...]
Taranis has joined #ruby-lang
andrewvos has joined #ruby-lang
sepp2k has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
<charliesome> whitequark: their oauth
<charliesome> found a csrf that let me get full access to a logged in user's account with no user intervention
andrewvos has quit [Ping timeout: 276 seconds]
zmike123 has quit [Read error: Connection reset by peer]
workmad3 has quit [Ping timeout: 268 seconds]
<dernise> What's the difference between : @variable and self.variable ?
<Mon_Ouie> @variable accesses an instance variable, self.variable calls the variable method on self
<Mon_Ouie> If that method was defined using attr_reader (or attr_accessor) they will return the same thing, but the latter could read "variable" from another source than instance variables
swav has quit [Remote host closed the connection]
swav has joined #ruby-lang
<dernise> got it
<dernise> thanks
setmeaway has joined #ruby-lang
io_syl has joined #ruby-lang
swav has quit [Ping timeout: 256 seconds]
zmike123 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
zmike123 has quit [Ping timeout: 246 seconds]
Weems has quit [Ping timeout: 252 seconds]
peterc has joined #ruby-lang
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
jstorimer has joined #ruby-lang
rrva has quit [Quit: Lost terminal]
canton7 has joined #ruby-lang
andrewvos has joined #ruby-lang
zmike123 has joined #ruby-lang
Mon_Ouie has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
apeiros has joined #ruby-lang
xxaM has quit [Remote host closed the connection]
PSKOSINSKI has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby-lang
justinram has joined #ruby-lang
xxaM has joined #ruby-lang
glebm has joined #ruby-lang
glebm has quit [Client Quit]
kgrz has quit [Remote host closed the connection]
stamina has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
hapster has quit [Quit: Leaving]
roadt has quit [Ping timeout: 256 seconds]
WindSong has joined #ruby-lang
WindSong has left #ruby-lang [#ruby-lang]
lutfidemirci has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 268 seconds]
ruurd has joined #ruby-lang
glebm has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
Mon_Ouie has joined #ruby-lang
sush24 has joined #ruby-lang
jxie has quit [Quit: leaving]
apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
lutfidemirci has quit [Remote host closed the connection]
kstuart has joined #ruby-lang
gja has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
sush24 has quit [Quit: This computer has gone to sleep]
relix has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
jstorimer has quit [Remote host closed the connection]
<zzak_> hi
sbpraveen34 has quit [Quit: ChatZilla 0.9.90 [Firefox 24.0a1/20130622094432]]
glebm has quit [Quit: Computer has gone to sleep.]
glebm has joined #ruby-lang
sush24 has joined #ruby-lang
mbj has joined #ruby-lang
<charliesome> zzak_ yo
publicvoid has joined #ruby-lang
sush24 has quit [Ping timeout: 246 seconds]
joshuawscott has joined #ruby-lang
sush24 has joined #ruby-lang
andrewvos has quit [Ping timeout: 256 seconds]
<apeiros> zzak_: what was your url to contribute to ruby documentation? forgot to bookmark it :(
pothibo has joined #ruby-lang
pothibo has quit [Client Quit]
sush24 has quit [Client Quit]
sush24 has joined #ruby-lang
<charliesome> zzak_: ping
hashkey has quit [Ping timeout: 240 seconds]
hashkey has joined #ruby-lang
hashkey is now known as Guest68617
kgrz has joined #ruby-lang
hogeo has joined #ruby-lang
roadt has joined #ruby-lang
Guest68617 is now known as hashkey
RegEchse has joined #ruby-lang
kgrz has quit [Ping timeout: 246 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
andrewvos has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
sush24_ has joined #ruby-lang
sush24 has quit [Ping timeout: 246 seconds]
skmp has joined #ruby-lang
skmp has quit [Client Quit]
skmp has joined #ruby-lang
mikewintermute has joined #ruby-lang
sush24_ has quit [Ping timeout: 240 seconds]
cofin has joined #ruby-lang
sush24_ has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
Guest___ has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
skmp has quit [Quit: Leaving.]
Guest___ has quit [Client Quit]
sush24_ has quit [Ping timeout: 246 seconds]
kstuart has quit [Ping timeout: 260 seconds]
haowei has joined #ruby-lang
haowei has quit [Client Quit]
menghon has quit [Quit: menghon]
kgrz has joined #ruby-lang
Mawk has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
mdedetrich has joined #ruby-lang
sush24_ has joined #ruby-lang
scholar01 has quit [Quit: Leaving.]
jstorimer has joined #ruby-lang
hogeo has joined #ruby-lang
<zzak_> pong
jstorimer has quit [Ping timeout: 268 seconds]
swav has joined #ruby-lang
<apeiros> zzak_: ah, http://documenting-ruby.org was the one I was looking for. thanks!
<zzak_> np!
<zzak_> charliesome: pong
tejas has joined #ruby-lang
tejas has joined #ruby-lang
tejas has quit [Changing host]
<charliesome> zzak_: do you know what the process for becoming maintainer of a ruby ext is?
<zzak_> either someone vouches for you, or you ask + proposal
<charliesome> i fixed some stuff in the etc ext the other weekend and i just noticed there's no listed maintainer
<zzak_> you only need to be maintainer if you want to change api
<charliesome> ah right
gja has quit [Ping timeout: 256 seconds]
<judofyr> charliesome: maybe in Ruby 4.0 "" will default to frozen strings :)
<charliesome> judofyr: it would certainly speed things up
sush24_ has quit [Quit: This computer has gone to sleep]
hogeo_ has joined #ruby-lang
<zzak_> there is a feature proposal meeting coming up soonish
hogeo has quit [Read error: Connection reset by peer]
<judofyr> charliesome: and then maybe String.new could create a non-frozen string
<zzak_> if you have any api changes that would be a good time
<judofyr> I really want #call_under
<charliesome> judofyr: what would call_under do?
<judofyr> charliesome: Proc#call_under(self, *args, &blk)
<charliesome> judofyr: ah yeah
<judofyr> charliesome: combines instance_eval/instance_exec, and makes it possible to call a block with a block + self
justinram has quit [Remote host closed the connection]
<charliesome> judofyr: tilt related, or in general?
<judofyr> charliesome: in general. not sure if it helps Tilt.
<charliesome> i think i spotted an opportunity for that in tilt aages ago when we were trying to avoid blowing the method cache on render
<judofyr> constant lookup is the tricky thing for Tilt
<charliesome> judofyr: re: your reddit post, you can add another class to what params[:foo] could be - fixnum ;)
<judofyr> charliesome: Float as well?
<charliesome> judofyr: ye[
<judofyr> Nobody Knows Rails' Request Parsing
<judofyr> what a mess
<judofyr> zzak_: hm. the Rake documentation is right next to the Ruby documentation: http://www.ruby-doc.org/core-2.0/_lib/rake/doc/rational_rdoc.html :S
<zzak_> yeah :/
<zzak_> its included in cruby source ./doc
<zzak_> so rdoc picks it up
<charliesome> judofyr: yeah. imo #[] should default to string, and you should have explicit type methods
<charliesome> params.hash(:whatever)
<judofyr> yes
<judofyr> I agree :)
elia has joined #ruby-lang
<charliesome> judofyr: also here's another type
<charliesome> date
<judofyr> charliesome: Rails parse that automatically as well?
<charliesome> judofyr: yup
<judofyr> W T F
hogeo_ has quit [Read error: Connection reset by peer]
hogeo has joined #ruby-lang
<charliesome> judofyr: also StringIO
<judofyr> charliesome: file uploads?
<charliesome> judofyr: xml as well
<judofyr> …
<charliesome> <lol type="file">BASE64</lol>
joshuawscott has quit [Quit: Leaving.]
hapster has joined #ruby-lang
ruurd has joined #ruby-lang
<judofyr> who.. wha.. why did they do this??
<charliesome> judofyr: these are the same people who at one point parsed json by regexing it into yaml
<charliesome> judofyr: also booleans can be passed in requests
fess has quit [Read error: Connection reset by peer]
fess has joined #ruby-lang
<charliesome> judofyr: also BigDecimal
mdedetrich has quit [Quit: Computer has gone to sleep.]
fridim__ has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
mytrile has joined #ruby-lang
<charliesome> also you happen to be trusting that Date.parse and friends are perfectly secure
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has quit [Changing host]
<apeiros> and/or sane
<judofyr> charliesome: where is this code again?
<charliesome> current status, reading C string fiddling code ;)
wallerdev has joined #ruby-lang
<judofyr> charliesome: didn't they disable XML parsing?
<charliesome> judofyr: nope
<charliesome> they disabled the YAML and symbol types in XML
hashkey has quit []
<charliesome> anyone who is sane will have an initializer in their app with ActionDispatch::ParamsParser::DEFAULT_PARSERS.delete(Mime::XML) in it
<charliesome> judofyr: you can pass a parameter to Hash.from_xml overriding the yaml/symbol disablement
<apeiros> charliesome: I thought XML parsing was disabled now by default?
<charliesome> apeiros: not afaik
<charliesome> prove me wrong please :)
<apeiros> ah, backlog
<apeiros> charliesome: that'd involve reading rails source. so: sorry, but no :)
<charliesome> apeiros hehe
<charliesome> holy crap reading C string fiddling code gives me the shivers
<charliesome> you need to be 100% paying attention when writing it and when auditing it
MaddinXx has joined #ruby-lang
joshuawscott has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
skmp has joined #ruby-lang
skmp has quit [Client Quit]
ffio has joined #ruby-lang
elia has joined #ruby-lang
retro|cz has quit [Read error: Operation timed out]
hashkey has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
<charliesome> excellent. :)
mytrile has joined #ruby-lang
roadt has quit [Read error: Connection reset by peer]
roadt_ has joined #ruby-lang
Sambalero has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
kgrz has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
jstorimer has joined #ruby-lang
<judofyr> charliesome: done?
<charliesome> judofyr: hm?
<judofyr> charliesome: with whatever C string fiddling code you're doing
elia has joined #ruby-lang
<charliesome> judofyr: yup, done
<judofyr> \o/
<charliesome> judofyr: how come?
<judofyr> charliesome: just trying to be social :D
<charliesome> judofyr: ah
Asher1 has joined #ruby-lang
* charliesome looks at shoes
<judofyr> I should probably just go out and get some fresh air
Asher has quit [Ping timeout: 246 seconds]
elia has quit [Client Quit]
Asher has joined #ruby-lang
Asher1 has quit [Ping timeout: 248 seconds]
jstorimer has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
skmpa has joined #ruby-lang
mytrile has quit [Ping timeout: 276 seconds]
arooni-mobile has joined #ruby-lang
vbatts has joined #ruby-lang
peterc has quit [Remote host closed the connection]
crackity_jones has joined #ruby-lang
kgrz has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
pieux has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
skmpa has quit [Remote host closed the connection]
wallerdev has quit [Client Quit]
skmpa has joined #ruby-lang
vbatts has quit [Quit: WeeChat 0.3.6]
wmoxam has joined #ruby-lang
vbatts has joined #ruby-lang
jstorimer has joined #ruby-lang
wallerdev has joined #ruby-lang
arubin has joined #ruby-lang
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
pieux has quit [Remote host closed the connection]
jstorimer has quit [Remote host closed the connection]
ruurd has joined #ruby-lang
bzalasky has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
wmoxam has quit [Ping timeout: 252 seconds]
<yorickpeterse> injekt: I also made you offline-internet famous
<yorickpeterse> also I'm out again, toodles
benanne has quit [Quit: kbai]
tylersmith has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
lutfidemirci has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
jstorimer has joined #ruby-lang
skmpa has quit [Ping timeout: 240 seconds]
MartynKeigher has quit [Ping timeout: 245 seconds]
jstorimer has quit [Ping timeout: 268 seconds]
vladgh has joined #ruby-lang
MartynKeigher has joined #ruby-lang
mbj has quit [Ping timeout: 252 seconds]
barttenbrinke has joined #ruby-lang
ia___ has joined #ruby-lang
bzalasky has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 260 seconds]
kgrz has quit [Remote host closed the connection]
joshuawscott has joined #ruby-lang
tejas has quit [Quit: This computer has gone to sleep]
pkrnj has joined #ruby-lang
dr_bob has joined #ruby-lang
joshuawscott1 has joined #ruby-lang
joshuawscott has quit [Ping timeout: 246 seconds]
jstorimer has joined #ruby-lang
johnny_rugger has joined #ruby-lang
RegEchse has quit [Quit: <3 WeeChat (v0.4.2-dev)]
joshuawscott1 has quit [Ping timeout: 268 seconds]
crackity_jones has quit [Quit: Computer has gone to sleep.]
elia has joined #ruby-lang
jstorimer has quit [Ping timeout: 256 seconds]
tomzx_mac has joined #ruby-lang
holgerno has quit [Quit: Leaving...]
lutfidemirci has quit [Remote host closed the connection]
lutfidemirci has joined #ruby-lang
gja has joined #ruby-lang
lutfidemirci has quit [Ping timeout: 268 seconds]
jxie has joined #ruby-lang
pkrnj has quit [Ping timeout: 240 seconds]
benanne has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
elia has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
jstorimer has joined #ruby-lang
publicvoid has quit [Ping timeout: 248 seconds]
elia has joined #ruby-lang
joshuawscott has joined #ruby-lang
Aria has joined #ruby-lang
Aria has quit [Remote host closed the connection]
elia has quit [Client Quit]
randym_ has quit [Ping timeout: 264 seconds]
johnny_rugger has quit [Quit: Textual IRC Client: www.textualapp.com]
kgrz has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
vlad_gh has joined #ruby-lang
kgrz has quit [Ping timeout: 260 seconds]
vladgh has quit [Ping timeout: 246 seconds]
gja has quit [Quit: This computer has gone to sleep]
vlad_gh has quit [Ping timeout: 264 seconds]
benanne has quit [Quit: kbai]
holgerno has quit [Ping timeout: 256 seconds]
bzalasky has quit [Remote host closed the connection]
jstorimer has quit [Remote host closed the connection]
mbj has joined #ruby-lang
vladgh has joined #ruby-lang
jstorimer has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
mistym has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 248 seconds]
jstorimer has quit [Remote host closed the connection]
hhatch has quit [Ping timeout: 256 seconds]
cofin has quit [Quit: cofin]
lsegal has joined #ruby-lang
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mbj has quit [Read error: Connection reset by peer]
mbj has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
<yorickpeterse> I'll just leave this here: https://pbs.twimg.com/media/BN72Ux9CAAAtpE5.jpg:large
vigintas has joined #ruby-lang
<whitequark> wow, the stage is... huge
<whitequark> also congrats!
<yorickpeterse> Yeah, there were like 500 people or so I think
<judofyr> nice!
<oddmunds> imagine them naked
<yorickpeterse> I also quoted inkjet :>
<apeiros> nice
<yorickpeterse> oddmunds: actually
<yorickpeterse> http://www.ustream.tv/recorded/35120003 starts around 39m
<judofyr> they were?
<yorickpeterse> no, sec
<apeiros> nakedrubyconf? :)
<apeiros> rather: rubynakedconf?
<yorickpeterse> downside of the lightning talk: mic was basically in my nose (I only just noticed how clearly you can hear me breathe
<judofyr> yorickpeterse: hah
<oddmunds> yorickpeterse: i'm gonna have to spew golden quotes your way, so i can be famous in meatspace too
<yorickpeterse> haha
<yorickpeterse> Also, _ko1 mentioned EDD (Event Driven Development). I think that holds true for me as well
<yorickpeterse> fixed quite a few bugs and stuff in the past two days
* apeiros does primal urge driven development
<yorickpeterse> 130 files changed, 3619 insertions(+), 5415 deletions(-)
<yorickpeterse> 2 months and a week of work
<yorickpeterse> and my internet will expire soon (no free wifi at the hotel :<) so I'll be out for some food, toodles
zmike123 has quit [Read error: Operation timed out]
barttenbrinke has joined #ruby-lang
melter has quit [Read error: Connection reset by peer]
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has quit [Changing host]
tRAS has joined #ruby-lang
<judofyr> apeiros: not using proper CSV library?
<whitequark> RequestProcessorFactoryFactory.BuggyRequestProcessorFactoryFactory ?
<judofyr> apeiros: or putting it into its own class?
<apeiros> that'd be acceptable if he'd at least do csv right
<whitequark> judofyr: both?
workmad3 has quit [Ping timeout: 246 seconds]
holgerno has quit [Ping timeout: 256 seconds]
dankest has joined #ruby-lang
<judofyr> fair enough
barttenbrinke has quit [Ping timeout: 276 seconds]
<judofyr> yorickpeterse: so, how's euroku? or are you afk now?
rickruby has joined #ruby-lang
<andrewvos> Awww mannnn
<andrewvos> RubyMotion on iOS has a normal coordinate system, but when making an OSX app it's flipped
<andrewvos> This breaks ALL THE GEMS EVER
<andrewvos> (Rubymotion gems that is)
<judofyr> andrewvos: that's just how Cocoa is
holgerno has joined #ruby-lang
holgerno has joined #ruby-lang
holgerno has quit [Changing host]
asahi has joined #ruby-lang
<andrewvos> Yeah I know this now
<andrewvos> After lots of pain mind
<judofyr> heh
<judofyr> andrewvos: REWRITE ALL THE GEMS
<andrewvos> Oh my god I'm so tired of this now I might just give up my project
zmike123 has joined #ruby-lang
<andrewvos> Like, all the code is done. I just need to align THIS STUPID MOTHER FUCKING NSTextField
<judofyr> andrewvos: what are you working on?
<andrewvos> It's a replacement for Fluid.app
<andrewvos> Literally the same UI
<andrewvos> But it makes a Chrome app
<judofyr> cool
<andrewvos> I give up
<andrewvos> This is too silly
mikewintermute has quit [Quit: mikewintermute]
relix has joined #ruby-lang
relix has quit [Max SendQ exceeded]
jstorimer has joined #ruby-lang
relix has joined #ruby-lang
symm- has joined #ruby-lang
Weems has joined #ruby-lang
pkrnj has joined #ruby-lang
relix has quit [Ping timeout: 276 seconds]
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
nathanstitt has joined #ruby-lang
lutfidemirci has joined #ruby-lang
vigintas has quit [Ping timeout: 246 seconds]
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby-lang
randym_ has joined #ruby-lang
workmad3 has joined #ruby-lang
sush24 has joined #ruby-lang
jackhammer2022 has joined #ruby-lang
sush24 has quit [Client Quit]
arpan has joined #ruby-lang
arpan has quit [Client Quit]
kgrz has joined #ruby-lang
johnny_rugger has joined #ruby-lang
loincloth has joined #ruby-lang
kgrz has quit [Ping timeout: 256 seconds]
loincloth has quit [Ping timeout: 276 seconds]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 246 seconds]
zmike123 has quit [Quit: ~]
mistym has quit [Remote host closed the connection]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rickruby has quit [Remote host closed the connection]
mistym has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
jstorimer has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
MaddinXx has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
arooni-mobile has quit [Read error: Operation timed out]
x0f has quit [Ping timeout: 246 seconds]
x0f has joined #ruby-lang
saarinen has joined #ruby-lang
johnny_rugger has joined #ruby-lang
pkrnj has quit [Quit: Computer has gone to sleep.]
saarinen has quit [Quit: saarinen]
apeiros_ has joined #ruby-lang
apeiros has quit [Ping timeout: 248 seconds]
vlad_sta_ has joined #ruby-lang
nathanstitt has joined #ruby-lang
<mistym> Hahaha, wow, Ruby 1.8.2's ostruct is delightfully broken.
vlad_starkov has quit [Ping timeout: 248 seconds]
<judofyr> mistym: 1.8.2?
<judofyr> I hope you don't have to maintain code for 1.8.2…
kgrz has joined #ruby-lang
<mistym> judofyr: :(
<mistym> judofyr: It's what comes with Mac OS X Tiger.
<judofyr> mistym: …
<mistym> I maintain a fork of Homebrew that supports Tiger/PPC.
<lianj> adventurous
<mistym> ...but at this point I think I'm just going to decouple it from the system Ruby
<mistym> It works better than you'd think.
<judofyr> I'm impressed :)
<judofyr> but it might be time to buy a new Mac?
<mistym> I do own a modern MBP!
<mistym> But a) I like keeping old hardware running (my 2005 PBG4 is actually very usable even now);
<mistym> b) other people depend on old Macs for various reasons and I'm supporting their usecases too;
<mistym> c) I like the challenge ;)
kgrz has quit [Ping timeout: 256 seconds]
<judofyr> mistym: I hope you're getting paid for it as well ;)
<mistym> Nope ;D
randallagordon has joined #ruby-lang
<mistym> So ostruct's new_ostruct_member, in 1.8.2, uses *eval* to build setter/getter methods on ostruct objects
<mistym> With predictable results when the ostruct member ends with an exclamation or question mark.
pipework has joined #ruby-lang
<judofyr> mistym: monkey patch it?
<mistym> I'm trying, but with very bizarre results. It's still calling the original method, and I'm not sure why.
<mistym> Sanity-check: am I making an obvious mistake?
nathanstitt has quit [Quit: I growing sleepy]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mistym> new_ostruct_member is an instance method on OpenStruct in the original. Original source here: https://gist.github.com/mistydemeo/45e8095a94cd196caba6
<mistym> I call my monkey patches *after* `require 'ostruct'`
<judofyr> hm
<judofyr> it looks right
<mistym> ...oh, of course, initialize is pry bound to the original new_ostruct_member rather than the new one of that name?
<judofyr> it should pick up the new method
<mistym> And even when I redefine initialize it's picking up on the old one
<mistym> ...okay, what the hell. Even when I redefine initialize *that's* not being called
<mistym> My monkey-patch is being evaluated, because if I stick a puts in the class body it picks *that* up
<judofyr> one does not simply monkey-patch ostruct.rb, it seems
<mistym> Please, please tell me monkey-patches *work* in 1.8.2
<judofyr> I don't know
<judofyr> I woudl think so
<mistym> OK, so monkey-patching the class in IRB works. It *doesn't* if I put it in my backports file and require that after requiring ostruct.
<mistym> Ah. Requiring ostruct in the file with the monkey-patches was what was necessary. I'm pretty sure it was already loaded by that point, but whatever
holgerno has quit [Quit: Linkinus - http://linkinus.com]
arooni-mobile has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
<judofyr> mistym: can't you install Ruby 1.8.7?
<mistym> judofyr: Yeah, and at this point I'm considering uncoupling it from the system Ruby on Tiger.
<mistym> But it has to be minimally functional first because if people are going to install a newer Ruby, they need Tigerbrew to work in order to do that
<judofyr> mistym: why not just port Mountain Lion to PPC? :D
<mistym> judofyr: If Apple gives me their source code... ;o
<mistym> More seriously, some people are stuck on Tiger (and PPC) because they need Classic, but also need modern *nix software on the same box.
workmad3 has quit [Ping timeout: 248 seconds]
<judofyr> mistym: I feel their pain
<mistym> People in video and photography houses have specialty hardware they still use that was never updated past OS 9, for example. A surprising number of shops keep old Macs around for that reason.
cored has quit [Ping timeout: 264 seconds]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
DenSchub has joined #ruby-lang
joshuawscott has joined #ruby-lang
<DenSchub> ohai. i'm on debian squeeze running libcurl 7.21.0. ethon 0.5.12 keeps segfaulting at calling curl: https://gist.github.com/denschub/eccaf8ae2b2293388470/raw/b0cada398b3220e35536d1ca291736b7b4d42c72/gistfile1.txt any ideas?
PSKOSINSKI has quit [Remote host closed the connection]
PSKOSINSKI has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
arooni-mobile has quit [Ping timeout: 276 seconds]
joshuawscott has quit [Quit: Leaving.]
<judofyr> nope
<judofyr> there wasn't much information there
<judofyr> other than SEGV
mikewintermute has joined #ruby-lang
wmoxam has joined #ruby-lang
asahi has quit [Quit: Leaving.]
Gaelan has joined #ruby-lang
tylersmith has joined #ruby-lang
kgrz has joined #ruby-lang
arooni-mobile has joined #ruby-lang
marr has joined #ruby-lang
loincloth has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
loincloth has quit [Ping timeout: 252 seconds]
kgrz has quit [Ping timeout: 246 seconds]
ttyr3 has joined #ruby-lang
asahi has joined #ruby-lang
Aww is now known as zombiaww
elia has joined #ruby-lang
asahi has quit [Client Quit]
x0f has quit [Ping timeout: 264 seconds]
postmodern has joined #ruby-lang
havenwood has joined #ruby-lang
x0f has joined #ruby-lang
ttyr3 has quit [Quit: leaving]
wmoxam has quit [Ping timeout: 260 seconds]
justinmburrous has joined #ruby-lang
zombiaww is now known as Aww
judofyr has joined #ruby-lang
<judofyr> whitequark: you here?
<whitequark> yep
randalla1ordon has joined #ruby-lang
<judofyr> whitequark: async IO: can closing a socket be async?
<whitequark> I don't think it can block
randallagordon has quit [Ping timeout: 256 seconds]
<whitequark> so; it always is
<judofyr> but is it considered closed right after you call close()
<judofyr> or is it in some flux state between?
<whitequark> it depends on socket
<whitequark> UDP ones are immediately closed
<judofyr> and TCP?
<whitequark> TCP ones are in CLOSE_WAIT state waiting for the FIN|ACK
<whitequark> you can also do shutdown() to selectively disable either send or recv channel
<judofyr> what happens if you call close() while in CLOSE_WAIT?
<whitequark> close() 1) kills the fd 2) issues shutdown with both options
<judofyr> so the FD is no longer "valid" after close()?
mikewintermute has quit [Quit: mikewintermute]
* whitequark nods
<judofyr> and if you call close() there's no way to wait for the FIN|ACK?
<judofyr> the OS handles it?
<whitequark> yes
Aww is now known as Aww[_]
<judofyr> kthx
<whitequark> yw
stamina has joined #ruby-lang
ffio has quit [Read error: Operation timed out]
rickruby has joined #ruby-lang
mikewintermute has joined #ruby-lang
ffio_ has joined #ruby-lang
rickruby has quit [Remote host closed the connection]
rickruby has joined #ruby-lang
vlad_sta_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
publicvoid has joined #ruby-lang
stamina has quit [Ping timeout: 256 seconds]
lutfidemirci has quit [Remote host closed the connection]
judofyr has quit [Remote host closed the connection]
johnny_rugger has joined #ruby-lang
nathanstitt has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 240 seconds]
pkrnj has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
cofin has joined #ruby-lang
rickruby has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
kgrz has quit [Ping timeout: 246 seconds]
johnny_rugger has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Sambalero has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
lutfidemirci has joined #ruby-lang
mistym has quit [Remote host closed the connection]
jstorimer has quit [Remote host closed the connection]
elia has joined #ruby-lang
scholar01 has joined #ruby-lang
scholar01 has quit [Changing host]
scholar01 has joined #ruby-lang
workmad3 has joined #ruby-lang
lutfidemirci has quit [Ping timeout: 268 seconds]
nathanstitt has quit [Quit: I growing sleepy]
arooni-mobile has joined #ruby-lang
Sambalero has joined #ruby-lang
nathanstitt has joined #ruby-lang
nathanstitt has quit [Client Quit]
Sambalero has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Sambalero has joined #ruby-lang
Spaceghost|work has joined #ruby-lang
pipework has quit [Ping timeout: 248 seconds]
jstorimer has joined #ruby-lang
jbsan has quit [Quit: JB.. OUT!]
julweber has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
Gaelan has quit [Quit: Bye!]
workmad3 has quit [Ping timeout: 260 seconds]
jstorimer has quit [Ping timeout: 240 seconds]
loincloth has joined #ruby-lang
kgrz has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
loincloth has quit [Ping timeout: 248 seconds]
joshuawscott has joined #ruby-lang
kgrz has quit [Ping timeout: 268 seconds]
publicvoid has quit [Ping timeout: 276 seconds]
joshuawscott has quit [Client Quit]
cofin has quit [Quit: cofin]
joshuawscott has joined #ruby-lang
fuhgeddaboudit has joined #ruby-lang
PSKOSINSKI has quit [Ping timeout: 240 seconds]
gix- has quit [Ping timeout: 240 seconds]
Asher has quit [Ping timeout: 256 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
lutfidemirci has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 276 seconds]
Asher has joined #ruby-lang
gix has joined #ruby-lang
PSKOSINSKI has joined #ruby-lang
joshuawscott has quit [Quit: Leaving.]
mistym has joined #ruby-lang
lutfidemirci has quit [Ping timeout: 268 seconds]
arooni-mobile has joined #ruby-lang