Narzew has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
Lewix has joined #ruby-lang
Lewix has quit [Changing host]
Lewix has joined #ruby-lang
danijoo has joined #ruby-lang
<RickHull>
does Ruby (these days) have anything similar to `2 < x < 20` i know the classic way, of course
<drbrain>
RickHull: Range#include? checks for integerness then does the same thing as Range#cover?
<RickHull>
makes sense
<RickHull>
actually, i should just use apeiros suggestion for #between
t_ has quit [Ping timeout: 258 seconds]
t_ has joined #ruby-lang
arBmind1 has joined #ruby-lang
arBmind has quit [Ping timeout: 255 seconds]
<RickHull>
drbrain: quick question regarding gem development workflow. i'm using ruby-prof like: ruby-prof `which conway_deathmatch` -- -s0 -n400 --silent
<RickHull>
if i want to test e.g. a one-line change, i must install a new gem locally with that change?
<RickHull>
is it worthwhile to try to avoid the gem install step?
<RickHull>
like the naive pickaxe workflow of edit&execute
benlovell has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
<RickHull>
the biggest hurdle would be the load path for the executable, not picking up my edit to the lib
skade has joined #ruby-lang
<womble>
RickHull: I just edit the gem in place; there's a gem command to re-install a gem, so it's a fairly well-acknowledged workflow.
<RickHull>
womble: ah, sure. i'm in my git workspace, created a perf branch
<RickHull>
and that wouldn't work too well with the installed gem loc
<RickHull>
but useful for quick edits, sure
<womble>
RickHull: RUBYLIB=<git>/lib works well enough for quick tests, otherwise I just build a gem and install it. Unfortunately that generally gives you a duplicate gem version, which is why I use and recommend (and wrote) git-version-bump
<womble>
Which gives you a unique version number every time you rebuild a dirty gem.
<womble>
RickHull: Yeah, same kind of thing, except I didn't rewrite what bundler already gives me (release, build, etc), and I think a VERSION file is just duplicating information already in the repo (tags).
<RickHull>
yeah, it's tough to know who should own what metadata, and keep it DRY
<RickHull>
there is some value to having all metadata in the repo contents
<RickHull>
for example, a gem installed on filesystem doesn't have repo tags, right?
<RickHull>
anyone have any suggestions for further performance optimization? i was going to play around with flamegraphs next. 2 things in the back of my mind are unbounded board, and perf optimization via skipping large empty spaces. both challenging
yfeldblum has quit [Ping timeout: 250 seconds]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soco_ has quit [Quit: Leaving]
daguar has quit [Ping timeout: 272 seconds]
<drbrain>
RickHull: try out perftools.rb too
<bnagy>
I wonder about skiplists
shennyg has quit [Ping timeout: 272 seconds]
<drbrain>
RickHull: there was a talk at goruco 2014 about a bunch of newer performance analysis tools for ruby
<bnagy>
like GoL is really just a long array, it's just laid out in 2d to make it pretty
<bnagy>
so the only live cells are ones that are filled or are possible candidates for being filled
daguar has joined #ruby-lang
EvilJStoker has quit [Ping timeout: 272 seconds]
<bnagy>
laying it out in 1d might make that easier to skip vast chunks without worrying about geometry
<bnagy>
like mergins live 'areas' or expanding blah blah
EvilJStoker has joined #ruby-lang
jdecuirm has quit [Read error: Connection reset by peer]
moogumbo has quit [Ping timeout: 272 seconds]
shennyg_ has joined #ruby-lang
<bnagy>
you can work out the adjacency just with some helpers that do idx%board_width
wizonesolutions has quit [Ping timeout: 272 seconds]
ggherdov has quit [Ping timeout: 272 seconds]
<RickHull>
bnagy: yeah, i think that is how some faster ones work
<bnagy>
that probably also lends itself well to divide and conquer
moogumbo has joined #ruby-lang
<RickHull>
i would take the stance that is fundamentally a grid / matrix / 2d but can be represented in 1d
wizonesolutions has joined #ruby-lang
<RickHull>
the neighbors concept, 3x3, is fundamental
<RickHull>
i think you'd be working out adjacency a ~lot~
<RickHull>
i'd be worried about the division boundarys for divide and conq as well
meizaps has quit [Ping timeout: 258 seconds]
meizaps has joined #ruby-lang
<bnagy>
well that part's easy if you're working on it 1d
<bnagy>
it's just contiguous chunks of live, although it can be made pathological pretty easily
lcdhoffman has quit [Quit: lcdhoffman]
<bnagy>
like traffic lights
<bnagy>
hm actually no those are ok, they flipflop but the cells all stay hot
skade has quit [Quit: Computer has gone to sleep.]
<bnagy>
anyway for large boards skipping empty space is pretty much imperative
<bnagy>
so you're gonna have to work it out :)
ggherdov has joined #ruby-lang
mcclurmc has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
hahuang65 has quit [Ping timeout: 256 seconds]
DarkBushido has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has joined #ruby-lang
ammar has quit [Quit: leaving]
senor_jalapeno has joined #ruby-lang
benlovell has quit [Ping timeout: 264 seconds]
hahuang65 has joined #ruby-lang
<zenspider>
RickHull: I'm tempted to take a whack at this and do it totally different from you for fun
<zenspider>
like... if I implement it in 1.8 I could do it with a Thread per cell. :)
kiyote23 has joined #ruby-lang
<red_menace>
keep forgetting that most Ruby are not compiled, but you are doing a lot of bounds checking and duplications in there
t_ has joined #ruby-lang
ammar has joined #ruby-lang
<RickHull>
zenspider: ha, please
<RickHull>
red_menace: yeah, i was going for correctness and simplicity first. only now thinking about performance. unbounded board is arguably more correct too
<RickHull>
also, i should probably be packing board state into bits. not ascii chars
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
<bnagy>
least of your worries
<RickHull>
yeah
<RickHull>
also, i figured on reimplementing in elixir or rust or something
<red_menace>
well, it's been about 20 years since I've written one, but using a couple of frame buffers/arrays and just going through the board size (whatever it is) instead of all those bounds checks and array dups should improve it a lot
<RickHull>
all as exercise and exploration
<bnagy>
unless ruby-prof itself is a think you're focused on you could run it under jruby, the java profiling tools are pretty great
<bnagy>
I'd be looking for a bead on creation / destruction stats
<RickHull>
no, i am trying to learn the profiling landscape too
<RickHull>
it runs on jruby-head (thanks travis!)
<bnagy>
well the java tools _are_ part of the profiling landscape imho
<RickHull>
yeah, sorry, i'm agreeing i guess
<RickHull>
no to focusing on ruby-prof in particular
<bnagy>
they make all the other stuff look like stone axes
<red_menace>
I'm kinda partial to bear skins, myself
pricees has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<RickHull>
red_menace: not sure I follow. i should only have to do bounds checking when looking at neighbors, for the outer "ring" of the board. currently i bounds-check 8x (every neighbor) for every cell
tzero_ is now known as tzero
<RickHull>
red_menace: the frame buffer, that is. bear skins, agreed
<red_menace>
I think I just wrapped around instead of checking for out of bounds
<RickHull>
yeah, that's reasonable. i'm leaning heavily towards unbounded board, if i can figure out an approach. (0,0) orientation with positive integers has some appeal
<RickHull>
i could just shift 0,0 and add rows / columns as nec
pricees has quit [Ping timeout: 272 seconds]
<RickHull>
hm, all that shifting
<red_menace>
yeah, like a dead zone or something that you ignore
fuhgeddaboudit has joined #ruby-lang
<RickHull>
maybe you track state without a "board" but just a list of alive points, negatives allowed
<RickHull>
i think you'd want to shard somehow for finding neighbors
micechal_ has joined #ruby-lang
ikrima_ has quit [Ping timeout: 244 seconds]
micechal has quit [Ping timeout: 250 seconds]
wallerdev has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
justinreyesv has quit [Ping timeout: 244 seconds]
drewxiu has quit [Ping timeout: 255 seconds]
spastorino has joined #ruby-lang
jimbach has joined #ruby-lang
jimbach has quit [Ping timeout: 272 seconds]
tmatthews0020 has joined #ruby-lang
capin has joined #ruby-lang
tkuchiki has joined #ruby-lang
tmatthews0020 has left #ruby-lang [#ruby-lang]
jimbach_ has joined #ruby-lang
<capin>
anyone know how i could debug an "Operation not permitted" error, im sure it's related to the permissions on my system, but not sure how i could debug the problem, for more detail info => https://github.com/helios-framework/helios/issues/124
<bnagy>
capin: 1. find out exactly what operatin isn't permitted 2. find out why
yfeldblu_ has quit [Read error: Connection reset by peer]
red_menace has quit [Quit: Quit]
<bnagy>
I usually just go hack on whatever gem is broken and add printf debugging
<bnagy>
like, in place, not forking etc
<capin>
bnagy: im going to experiment with the helios gem in an OS X VM, and see if i get the same results, as I am getting this error on an arch linux system.
<bnagy>
uh... you could do that I guess
<bnagy>
but it seems a bit orthogonal
<RickHull>
capin, might the link already exist?
<bnagy>
how will the answer of that help you fix your problem?
<capin>
RickHull: I don't think so, because I deleted the helios project and then created a new one.
<bnagy>
you basically want to boil it down to "what is ruby asking the OS to do" and then do that with native commands
<RickHull>
capin: you can confirm that with some simple fs checking, right?
<capin>
RickHull: not really sure how to go about doing some simple fs checking, i would have to google it :/
wallerdev has quit [Quit: wallerdev]
mistym has joined #ruby-lang
<RickHull>
`ls` should do it
fernandolopez has joined #ruby-lang
<RickHull>
ls -l shows permissions and whether a file exists (e.g. a link) with the given name / dir / address
nofxx__ has joined #ruby-lang
lskitto has joined #ruby-lang
<capin>
well i know that ;) just not sure why 'helios link' isn't working?
<RickHull>
unless i'm misunderstanding. but i think `helios link` is creating filesystem links
<RickHull>
did you see the last link (URL, heh) i posted?
<capin>
it is, but i can't even create the links with the command
<RickHull>
if the link already exists, it might error out as you're seeing
<bnagy>
if you know what link it's trying to create, try doing it with ln by hand
midhir has quit [Remote host closed the connection]
<capin>
not sure what exactly i would be linking
lsegal has joined #ruby-lang
<lskitto>
Hey :) could someone test this for me? I cannot seem to get it to work (I have a API key and stuff) but when I chmod it and run it it says a error like "../lib __FILE__ <something> <something>" :P
<RickHull>
try to show your environment, the command you're running, and the full error
<RickHull>
if it takes a few steps or commands to get API setup or whatever, show that. mask out any sensitive info
<RickHull>
capin: make a gist with the output of `ls -l /opt/src/KegCop-master/Resources/Accounts.xcdatamodeld/Accounts.xcdatamodel`
<RickHull>
or whatever
mattyohe has quit [Quit: Connection closed for inactivity]
<RickHull>
drbrain: that ruby-prof command with backticks you showed me. i don't quite get how that would work
<RickHull>
backticks would execute the command and be replaced by command's STDOUT, right?
<RickHull>
also, on the other side of the double dash is the options being passed to the command/script being profiled
pricees has joined #ruby-lang
cornerma1 has joined #ruby-lang
<lskitto>
I'm running Mac OS X 1.6.8 and these are the steps I done and the error (Arrpantly I can't execute Ruby from a 'cd' so I used a exact path for 'chmod' and executing it) - https://gist.github.com/anonymous/7bb7ba5d77793ddad3a5
<RickHull>
the gemspec is not meant to be executable
bmichelsen has joined #ruby-lang
<RickHull>
it's just metadata for the gem packaging system
<RickHull>
first, make sure you have rubygems (the `gem` command) installed
<lskitto>
and?
<RickHull>
then you can `gem install mumbletune`
<RickHull>
possibly with sudo or --user-install or whatever
<lskitto>
Ty
<RickHull>
since you cloned the git repo, maybe you are doing testing or development?
<RickHull>
or you just want to run the software?
allomov has quit [Ping timeout: 256 seconds]
<lskitto>
I've cloned it so I can use it lol
<lskitto>
*and test
<RickHull>
ok, for running ruby software, you want to use gem rather than git
<lskitto>
Ok
<RickHull>
git is for dealing directly with source code
<RickHull>
maybe you are going by instructions that say to clone the repo?
<RickHull>
git is useful for keeping up with the latest development, before gem packages are available
jgpawletko_away has quit [Quit: jgpawletko_away]
<lskitto>
Hang on.. taking a screenshot of the git page with the instructions on what I
<RickHull>
but in that case, there are some extra steps to getting it installed
<lskitto>
*I'm doing
emmesswhy has joined #ruby-lang
<lskitto>
Also it says I need some prequisites or whatever, the thing is, Mac's don't have apt-get! http://imgur.com/WJgenog
ikrima_ has joined #ruby-lang
<RickHull>
capin: wrong filename, looks like
<RickHull>
here's what is in the github issue: helios link /opt/src/KegCop-master/Resources/Accounts.xcdatamodeld/Accounts.xcdatamodel
<RickHull>
for whatever reason, that Accounts thing is duplicated
<weaksauce>
lskitto use brew for things
<weaksauce>
homebrew is the name of it brew is the command
<RickHull>
or maybe i'm misreading ls. anyway, i'm guessing there is an existing name where you want to create one, and that is the source of the error
jimbach_ has quit [Remote host closed the connection]
<lskitto>
brew install build-essential git ruby1.9.3 = No formula for build-essential
<lskitto>
brew install libcelt-dev libsamplerate0-dev = No formula for libcelt-dev
<capin>
RickHull: thats how Xcode organizes datamodel files
<lskitto>
*pokes* anyone?
justinreyesv has joined #ruby-lang
<RickHull>
lskitto: this is #ruby-lang. not sure where to go for brew
<RickHull>
lskitto: what does ruby --version show?
<RickHull>
i'm guessing you do want to go get a newer ruby, maybe via homebrew
<RickHull>
it's EOL, out of many kinds of support
<RickHull>
(i think)
<RickHull>
as far as ruby open source goes
<lskitto>
Anyways, when I do 'gem install bundler' I get these two errors: http://gems.rubyforge.org/ does not appear to be a repository AND could not find gem bundler locally or in a repository
<lskitto>
Ok
drewxiu has joined #ruby-lang
<RickHull>
yeah, that is old stuff
<lskitto>
done brew install ruby
<RickHull>
ruby --version # ?
<lskitto>
It's still working
<RickHull>
ah ok
<lskitto>
up to 'make install'
* RickHull
crosses fingers
<lskitto>
Answer my last question please?
<lskitto>
Actually nevermind... might change when I install the latest ruby
* RickHull
nod
allomov has quit [Ping timeout: 250 seconds]
mcclurmc has joined #ruby-lang
benlovell has quit [Ping timeout: 258 seconds]
kiyote23 has quit [Remote host closed the connection]
mcclurmc has quit [Ping timeout: 250 seconds]
<RickHull>
drbrain: part of the problem (i think) is that ruby-prof expects the first argument to be "a ruby script"
bmichelsen has quit [Quit: ZZZzzz…]
<RickHull>
I had originally `which conway_deathmatch` because it wouldn't accept conway_deathmatch (despite being in my PATH)
<lskitto>
Took about 10 mins.. yaya installed!
<lskitto>
*yay
<RickHull>
\o/
kiyote23 has joined #ruby-lang
sferik has quit [Read error: Connection reset by peer]
emmesswhy has quit [Read error: Connection reset by peer]
<lskitto>
Nope... still the same version! You know what, ima assume my Mac is screwed and do this on Ubuntu in VirtualBox lol
emmesswhy has joined #ruby-lang
nofxx__ has quit [Changing host]
nofxx__ has joined #ruby-lang
nofxx__ is now known as nofxx
<frank_o>
lskitto: Choose OpenBSD for your Unix needs. OpenBSD -- the world's simplest and most secure Unix-like OS. Creator of the world's most used SSH implementation OpenSSH, the world's most elegant firewall PF, the world's most elegant mail server OpenSMTPD, and the OpenSSL rewrite LibreSSL. OpenBSD -- the cleanest kernel, the cleanest userland and the cleanest configuration syntax.
pricees has joined #ruby-lang
caseydriscoll has joined #ruby-lang
<RickHull>
lskitto: heh, i had the same conclusion. but i'm biased
<RickHull>
i prefer to work with linux. ssh to box@wherever
t7y9r has quit [Ping timeout: 255 seconds]
<RickHull>
and yeah, BSDs are great too, i just lack experience
<RickHull>
but looking at BSD `true` vs. GNU `true` i like BSD
pricees has quit [Ping timeout: 255 seconds]
gix has quit [Ping timeout: 256 seconds]
kyb3r_ has joined #ruby-lang
t7y9r has joined #ruby-lang
<frank_o>
yep
gix has joined #ruby-lang
<lskitto>
But how big is the .iso file lol?
<frank_o>
200mb
<frank_o>
so simple
<nofxx>
frank_o, there's a pkg manager?
<lskitto>
Can you link me to it as I cannot seem to find it lol... Doesn't help the fact that their site is mostly plain text
<bougyman>
you can run most environments on it, except the ones infected with the systemd virus.
<bougyman>
I think gnome is the only one that absolutely positively requires systemd.
<lskitto>
Show mw the latest and I'll consider it.. right now I'm downloading Tails
nathanstitt has quit [Quit: I growing sleepy]
<lskitto>
905mb too...
<bougyman>
how goes openbsd's java support these days?
<bougyman>
I haven't looked into it in a while.
<frank_o>
nofxx: Yep
<bougyman>
openbsd was horribly inferior at multicore, the last time I tested.
<frank_o>
lskitto: fvwm is just a sucky window manager. if you want to a nice one, check out dwm. but like they say, "perfection is achieved, not when there's nothing left to add, but when there's nothing left to take away" -- so maybe its better to use no window manager at all
ur5us has quit [Remote host closed the connection]
<lskitto>
Ok
<lskitto>
Welp ima go
lskitto has quit []
<frank_o>
fvwm does have amazing theme support though
<frank_o>
bougyman: no idea sorry
<frank_o>
bougyman: i think multicore was fixed in 2012
|jemc| has joined #ruby-lang
<bougyman>
frank_o: if only dwm had a repl...
<bougyman>
I prefer stumpwm. a lisp machine as a desktop is a pretty amazing thing.
ruby-lang960 has joined #ruby-lang
<ruby-lang960>
anyone is having problem with ruby gems website or server atm ?
fernandolopez has quit [Remote host closed the connection]
caseydriscoll has quit [Remote host closed the connection]
justinreyesv has quit [Ping timeout: 244 seconds]
drewxiu has quit [Ping timeout: 264 seconds]
diegoviola has quit [Quit: WeeChat 1.0.1]
<nofxx>
Is this the correct way to have a class method 'plugin' system? trying to understand better the activesupport 'way'... http://pastebin.com/enGUNiVQ
<nofxx>
and if so, how it's possible to run my last line *after* Car was loaded?
<nofxx>
supposing they all reside on separated files and get autoloaded
ur5us has joined #ruby-lang
fedexo has joined #ruby-lang
mcclurmc has joined #ruby-lang
ur5us has quit [Ping timeout: 264 seconds]
Iskarlar has joined #ruby-lang
mcclurmc has quit [Ping timeout: 264 seconds]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby-lang
ruby-lang960 has quit [Ping timeout: 246 seconds]
araujo has quit [Ping timeout: 240 seconds]
bmichelsen has joined #ruby-lang
kiyote23 has quit [Ping timeout: 245 seconds]
mistym has quit [Remote host closed the connection]
<yorickpeterse>
well that makes it completely useless
dangerou_ has joined #ruby-lang
workmad3 has joined #ruby-lang
dxta has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
<ddfreyne>
:/
arBmind has joined #ruby-lang
mcclurmc has joined #ruby-lang
<yorickpeterse>
Unrelated, there was some service where you could send HTTP requests to and it would save the payloads, does anybody know the name of said service?
<canton7>
and you think we can do better than mattt's answer? :P
<capin>
i just tested the 'helios link' command in an OS X VM, and everything seems to work as intended, but im getting 'Operation not permitted' with my arch system
<centrx>
capin, So it looks like you need the right permissions in the current directory ( File.basename(path) -> ./filename )
drewxiu has quit [Ping timeout: 252 seconds]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
<capin>
centrx, i think i have the right permissions set, i could do an ls -l of the xcdatamodeld directory
mistym has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby-lang
sferik has quit [Ping timeout: 250 seconds]
<centrx>
capin, but the current directory, where you are running helios link from
RobertBirnie has joined #ruby-lang
<centrx>
capin, Also it might be that you can't File.link a directory
mcclurmc has quit [Ping timeout: 264 seconds]
<centrx>
Can't hard-link directories
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kirin` has quit [Ping timeout: 252 seconds]
<capin>
centrx: is that a linux specific thing? because i did 'helios link' in the OS X VM and it worked
yfeldblum has quit [Ping timeout: 250 seconds]
kirin` has joined #ruby-lang
<nofxx>
Is there a command in emacs ruby-mode to switch hash style? foo: 1, :foo => 1
djbkd has quit [Remote host closed the connection]
<centrx>
capin, Yes, looks like OS X filesystem supports hard link directories
jkad1 has quit [Quit: WeeChat 1.0.1]
<capin>
but linux FS doesn't support hard link of directories?
pricees has quit [Quit: Lost terminal]
<centrx>
correct
<centrx>
and most other OSes as well
<centrx>
It was something Apple added specifically for their Time Machine feature
<capin>
well that's a bummer, was reall hoping this ruby gem would work in arch :/
<centrx>
capin, Can you loop through the files in the directory and helios link them individually?
<capin>
centrx: there's only one file in the directory, it's named 'contents'
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
koderok has joined #ruby-lang
<capin>
centrx i was able to hardlink the file 'contents' inside the datamodel directory FWIW
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chouhoul_ has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
sferik has joined #ruby-lang
chouhoulis has joined #ruby-lang
duderonomy has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
mikecmpbll has quit [Ping timeout: 258 seconds]
benlovell has quit [Ping timeout: 250 seconds]
kurko__ has joined #ruby-lang
koderok has quit [Quit: koderok]
mistym has joined #ruby-lang
Miphix has quit [Quit: Leaving]
kirin` has quit [Read error: Connection reset by peer]
oak has joined #ruby-lang
kirin` has joined #ruby-lang
<billy_ran_away>
Anyone know how to add an alternate features directory to Cucumber?
oak has quit [Ping timeout: 252 seconds]
billy_ran_away was kicked from #ruby-lang by apeiros_ [when cross-posting, say that you are cross-posting in each channel.]
billy_ran_away has joined #ruby-lang
sferik has quit [Read error: Connection reset by peer]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
djbkd has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chussenot has quit [Quit: chussenot]
_djbkd has joined #ruby-lang
weaksauce has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 240 seconds]
dwknoxy has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kirin` has quit [Ping timeout: 256 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kirin` has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
GBrawl has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
GBrawl has quit [Client Quit]
banister has joined #ruby-lang
GBrawl has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pablocantero has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
chills42 has quit [Remote host closed the connection]
hahuang61 has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kirin` has quit [Ping timeout: 250 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
kirin` has joined #ruby-lang
yfeldblum has joined #ruby-lang
wallerdev has joined #ruby-lang
kirin` has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
kirin` has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest96728
oleo__ has quit [Remote host closed the connection]
chussenot has joined #ruby-lang
Guest96728 has quit [Ping timeout: 256 seconds]
pablocantero has quit [Read error: Connection reset by peer]
oleo__ has joined #ruby-lang
pablocantero has joined #ruby-lang
oleo__ is now known as oleo
kirin` has quit [Read error: Connection reset by peer]
elia has quit [Quit: Computer has gone to sleep.]
kirin` has joined #ruby-lang
riffraff has quit [Quit: Leaving]
imperator has quit [Quit: Valete!]
centrx has quit [Quit: Did gyre and gymble in ye wabe]
kirin` has quit [Ping timeout: 258 seconds]
kirin` has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
havenwood has quit []
allomov has quit [Remote host closed the connection]
klmlfl_ has joined #ruby-lang
hahuang61 has quit [Quit: WeeChat 1.0.1]
hahuang61 has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
klmlfl has quit [Ping timeout: 250 seconds]
caseydriscoll has joined #ruby-lang
hahuang65 has quit [Quit: WeeChat 1.0.1]
hahuang65 has joined #ruby-lang
hahuang65 has quit [Client Quit]
workmad3 has quit [Ping timeout: 252 seconds]
kirin` has quit [Ping timeout: 255 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
kirin` has joined #ruby-lang
hahuang65 has joined #ruby-lang
midhir has joined #ruby-lang
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
elia has joined #ruby-lang
t_ has quit [Ping timeout: 258 seconds]
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
hahuang65 has quit [Client Quit]
kirin` has quit [Read error: Connection reset by peer]
ConstantineXVI has quit [Max SendQ exceeded]
hahuang65 has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
kirin` has joined #ruby-lang
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
t_ has joined #ruby-lang
hahuang65 has quit [Client Quit]
ConstantineXVI has joined #ruby-lang
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hahuang61 has quit [Quit: WeeChat 1.0.1]
ConstantineXVI has quit [Max SendQ exceeded]
loincloth has quit [Remote host closed the connection]
ConstantineXVI has joined #ruby-lang
hahuang65 has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
elia has quit [Quit: Computer has gone to sleep.]
hahuang65 has quit [Client Quit]
hahuang65 has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
hahuang61 has joined #ruby-lang
iamninja has joined #ruby-lang
kirin` has quit [Ping timeout: 264 seconds]
ConstantineXVI has quit [Max SendQ exceeded]
ConstantineXVI has joined #ruby-lang
<ljarvis>
looks like *puts on sunglasses* billy ran away
kirin` has joined #ruby-lang
Guest1882 was banned on #ruby-lang by ljarvis [*!*rumitte@213.143.60.*]
Guest1882 was kicked from #ruby-lang by ljarvis [Guest1882]
midhir has quit [Remote host closed the connection]
ConstantineXVI has quit [Max SendQ exceeded]
midhir_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
<yorickpeterse>
police brutality
kirin` has quit [Read error: Connection reset by peer]
skade has quit [Quit: Computer has gone to sleep.]
hahuang61 has quit [Quit: WeeChat 1.0.1]
robbyoconnor has quit [Quit: Konversation terminated!]
hahuang61 has joined #ruby-lang
kirin` has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
hahuang61 has quit [Client Quit]
yfeldblum has quit [Ping timeout: 258 seconds]
hahuang61 has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
ConstantineXVI has joined #ruby-lang
chills42 has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
amjibaly has joined #ruby-lang
kirin` has quit [Ping timeout: 255 seconds]
kirin` has joined #ruby-lang
stamina has joined #ruby-lang
hahuang61 has quit [Quit: WeeChat 1.0.1]
hahuang61 has joined #ruby-lang
hahuang61 has quit [Client Quit]
hahuang61 has joined #ruby-lang
NoNMaDDeN has quit [Ping timeout: 240 seconds]
NoNMaDDeN has joined #ruby-lang
benlovell has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
weaksauce has joined #ruby-lang
solars has quit [Ping timeout: 244 seconds]
amjibaly has quit [Remote host closed the connection]
benlovell has quit [Ping timeout: 272 seconds]
kirin` has quit [Ping timeout: 264 seconds]
ConstantineXVI has joined #ruby-lang
lapide_viridi has joined #ruby-lang
senor_jalapeno has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
stamina has quit [Quit: WeeChat 1.0.1]
lapide_viridi has quit [Client Quit]
chussenot has quit [Ping timeout: 252 seconds]
lapide_viridi has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
banister has quit [Ping timeout: 250 seconds]
ConstantineXVI has quit [Max SendQ exceeded]
kiyote23 has joined #ruby-lang
senor_jalapeno has joined #ruby-lang
banister has joined #ruby-lang
chills42 has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
senor_jalapeno has quit [Ping timeout: 256 seconds]
kurko__ has joined #ruby-lang
kirin` has quit [Ping timeout: 272 seconds]
sarkyniin has joined #ruby-lang
tectonic has joined #ruby-lang
kirin` has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
skade has joined #ruby-lang
skade has quit [Client Quit]
kirin` has quit [Read error: Connection reset by peer]
postmodern has joined #ruby-lang
emmesswhy has joined #ruby-lang
kirin` has joined #ruby-lang
TTilus has quit [Ping timeout: 265 seconds]
ConstantineXVI has joined #ruby-lang
caseydriscoll has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
ConstantineXVI has joined #ruby-lang
lapideviridi has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
loincloth has joined #ruby-lang
emmesswhy has quit [Ping timeout: 250 seconds]
lapide_viridi has quit [Ping timeout: 250 seconds]
emmesswhy has joined #ruby-lang
lapideviridi has quit [Client Quit]
kirin` has quit [Ping timeout: 250 seconds]
lapide_viridi has joined #ruby-lang
dda has joined #ruby-lang
kirin` has joined #ruby-lang
cmhobbs has quit [Ping timeout: 258 seconds]
cmhobbs has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dda has quit [Quit: logging out.]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
solars has joined #ruby-lang
dda has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
ur5us has joined #ruby-lang
cmhobbs has quit [Quit: Leaving]
cmhobbs has joined #ruby-lang
cmhobbs has quit [Changing host]
cmhobbs has joined #ruby-lang
benanne has joined #ruby-lang
wallerdev has joined #ruby-lang
senor_jalapeno has joined #ruby-lang
sen_jalapeno has joined #ruby-lang
svajone has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
<svajone>
how do you pass an object dynamically to controller.sessions[ob]?
kirin` has joined #ruby-lang
<svajone>
I tried controller.sessions["#{obj}"] but it outputs exactly as I entered it.
solars has quit [Quit: WeeChat 0.4.2]
<svajone>
also, why can't I join #rubyonrails?
solars has joined #ruby-lang
fclausen has joined #ruby-lang
ldnunes has quit [Quit: Leaving]
TTilus has joined #ruby-lang
arBmind has joined #ruby-lang
<ljarvis>
svajone: you need a registered nick
<svajone>
in IRC?
<svajone>
How do I do that?
<ljarvis>
/msg nickserv help
kirin` has quit [Read error: Connection reset by peer]
emmesswhy has quit [Quit: This computer has gone to sleep]
kirin` has joined #ruby-lang
<svajone>
thanks!
ikrima has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kirin` has quit [Ping timeout: 245 seconds]
kurko__ has joined #ruby-lang
allomov has joined #ruby-lang
kirin` has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
senor_jalapeno has quit [Ping timeout: 240 seconds]
sen_jalapeno has quit [Ping timeout: 245 seconds]
tectonic has joined #ruby-lang
momomomomo has joined #ruby-lang
yfeldblum has joined #ruby-lang
kurko___ has joined #ruby-lang
kirin` has quit [Ping timeout: 245 seconds]
kirin` has joined #ruby-lang
kurko__ has quit [Ping timeout: 255 seconds]
klmlfl has joined #ruby-lang
seank_ has quit [Read error: Connection reset by peer]
CaryInVictoria has joined #ruby-lang
CaryInVictoria has quit [Client Quit]
seank_ has joined #ruby-lang
klmlfl_ has quit [Ping timeout: 272 seconds]
hagabaka has quit [Ping timeout: 244 seconds]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
pablocantero has joined #ruby-lang
hagabaka has joined #ruby-lang
Blaguvest has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
pablocantero has joined #ruby-lang
kirin` has quit [Ping timeout: 258 seconds]
loincloth has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
skade has joined #ruby-lang
lapide_viridi has quit [Quit: See ya'!]
_djbkd has quit [Remote host closed the connection]
sen_jalapeno has joined #ruby-lang
djbkd has joined #ruby-lang
senor_jalapeno has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
ikrima has quit [Ping timeout: 264 seconds]
LeDiegue has joined #ruby-lang
<LeDiegue>
Hola
lapide_viridi has joined #ruby-lang
mistym is now known as misty_lunch
kirin` has quit [Ping timeout: 252 seconds]
djbkd has quit [Ping timeout: 244 seconds]
kirin` has joined #ruby-lang
[spoiler] has quit [Quit: Leaving]
loincloth has joined #ruby-lang
<nofxx>
It's possible to have some module get run after who is loading it finishes loading itself? It's hard to explain... http://codepad.org/8LBAXpyf how Plugin can run line 36? That is, when Car is evaluated completely
kurko___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
LeDiegue has quit [Remote host closed the connection]
kirin` has quit [Ping timeout: 244 seconds]
wallerdev has joined #ruby-lang
kirin` has joined #ruby-lang
benlovell has joined #ruby-lang
elia has joined #ruby-lang
<jhass>
nofxx: still not sure what you're asking. Do you have an issue with that code or do you try to understand it?
benlovell has quit [Ping timeout: 244 seconds]
<nofxx>
jhass, trying to understand it. Real case examples are mongoid, nobrainer.. you define a bunch of field :foo , but how can I do something after I got all my fields?
robbyoconnor has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
<nofxx>
jhass, I'm trying to work out a activerecord plugin to work with eager_load off
lapide_viridi has quit [Quit: See ya'!]
Musashi007 has joined #ruby-lang
lapide_viridi has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
<jhass>
well, you can't hook into the point after a class is fully defined since by design that point doesn't exist in ruby
<jhass>
at any time I can reopen a class
robbyoconnor has quit [Read error: Connection reset by peer]
loincloth has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
kirin` has quit [Ping timeout: 255 seconds]
<jhass>
you would need either a method call by the user of such an API to say "I finished defining all my fields" or at least support from the library you want to hook into, though that would still be a guess on the library's part
lapide_viridi has quit [Quit: See ya'!]
kirin` has joined #ruby-lang
elia has joined #ruby-lang
loincloth has joined #ruby-lang
jgpawletko has quit [Quit: jgpawletko]
<nofxx>
jhass, I see...some kind of check/hook on the library (activerecord in the case) in the autoloader... or in the rails depedencies... run_an_extra if path =~ /models/
sarkyniin has quit [Remote host closed the connection]
<jhass>
depending on what your plugin is doing, I'd consider gathering that information on the first call the user to that plugin as an alternative approach, sort of as an implicit "I'm done defining" marker
hinbody has quit [Quit: leaving]
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
<nofxx>
a call to that plugin happens when there's any call to the model... it gets autoloaded and there's no hook for "I've done the autoloading needed for this session"
<nofxx>
there #to_prepare which runs exactly before autoloading...
hinbody has joined #ruby-lang
lapide_viridi has joined #ruby-lang
<nofxx>
jhass, it's an AR plugin, in order to run automatic in dev mode I need to run after the models get loaded https://github.com/nofxx/schemaless ,it actually works nicely with eager_load on
elia has quit [Quit: (IRC Client: textualapp.com)]
havenwood has joined #ruby-lang
kirin` has quit [Ping timeout: 245 seconds]
ConstantineXVI has joined #ruby-lang
kirin` has joined #ruby-lang
djbkd has joined #ruby-lang
ruby-lang748 has joined #ruby-lang
ruby-lang748 has quit [Client Quit]
klmlfl_ has joined #ruby-lang
klmlfl_ has quit [Remote host closed the connection]
klmlfl has quit [Read error: Connection reset by peer]
klmlfl has joined #ruby-lang
GBrawl has quit [Quit: (null)]
jimbach has quit [Remote host closed the connection]
pablocantero has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
shevy has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
godd2 has joined #ruby-lang
pablocantero has quit [Remote host closed the connection]
kirin` has quit [Ping timeout: 240 seconds]
pablocantero has joined #ruby-lang
kirin` has joined #ruby-lang
midhir has joined #ruby-lang
midhir_ has quit [Read error: Connection reset by peer]
oleo has quit [Quit: Verlassend]
oleo has joined #ruby-lang
lapide_viridi has quit [Quit: Leaving]
shinnya has quit [Ping timeout: 258 seconds]
kirin` has quit [Read error: Connection reset by peer]
red_menace has joined #ruby-lang
kirin` has joined #ruby-lang
misty_lunch is now known as mistym
shinnya has joined #ruby-lang
klmlfl has quit [Remote host closed the connection]
hahuang61 has quit [Quit: WeeChat 1.0.1]
jimbach has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
pablocantero has quit [Remote host closed the connection]