apeiros changed the topic of #ruby-lang to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste code on http://gist.github.com
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.
benlovell has quit [Ping timeout: 272 seconds]
<RickHull> womble: related: https://github.com/rickhull/buildar
jdecuirm has joined #ruby-lang
Soco_ has joined #ruby-lang
<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?
<drbrain> RickHull: ruby_prof `ruby -Ilib bin/conway_deathmatch` -- …
<drbrain> from the checkout of your project
<womble> RickHull: A gem installed on the filesystem has its version encoded in the directory it has been installed into.
<Soco_> I just decided to give Ruby a go. Any suggestions on books or other materials to help get started?
<RickHull> drbrain: ah, right. duh
<jhass> Soco_: until somebody replies with books or whatever: tryruby.org ;)
<drbrain> Soco_: if you have experiences with other languages, try the pickaxe book: https://pragprog.com/book/ruby/programming-ruby
znz_jp has quit [Quit: kill -QUIT $$]
<drbrain> if not, try learn to program: https://pragprog.com/book/ltp2/learn-to-program
<Soco_> jhass: drbrian: Thanks for the info.
spastorino has quit [Quit: Connection closed for inactivity]
jkad1 has quit [Quit: WeeChat 1.0.1]
znz_jp has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
lcdhoffman has joined #ruby-lang
meizaps has quit [Ping timeout: 258 seconds]
mcclurmc has joined #ruby-lang
<RickHull> some better numbers with int.between?(0, @xmax - 1) https://gist.github.com/rickhull/3925531c1e6ee2860ea6#file-ruby-prof-3
pricees has joined #ruby-lang
havenn has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
<Soco_> Also, I'm looking for an IDE. What are some simple, preferably free options?
<RickHull> Soco_: what OS are you on?
<Soco_> Windows
<RickHull> my own preference is developing on linux using emacs. if i'm on a windows desktop, i'll prefer to ssh to linux and run emacs there
yfeldblum has joined #ruby-lang
<drbrain> Soco_: maybe this: https://www.jetbrains.com/ruby/download/
<bnagy> Soco_: Sublime may as well be an IDE and it's 'free' although you should pay because it's awesome
<bnagy> and runs everywhere with _vaguely_ consistent key bindings
pricees has quit [Ping timeout: 250 seconds]
<drbrain> Soco_: or: https://atom.io
meizaps has joined #ruby-lang
yusuf1 has joined #ruby-lang
<Soco_> Thanks, I'll give those a try.
nathanstitt has joined #ruby-lang
<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]
tkuchiki has joined #ruby-lang
DarkBushido has joined #ruby-lang
<matti> whitequark: Kind Sir! Oh please fix rxr :)
<matti> whitequark: It seem to be unhappy.
skade has joined #ruby-lang
adambeynon_ has quit [Ping timeout: 258 seconds]
adambeynon_ has joined #ruby-lang
arBmind1 has quit [Quit: Leaving.]
tkuchiki has quit [Ping timeout: 252 seconds]
RobertBirnie has quit [Ping timeout: 244 seconds]
<whitequark> uh oh
<whitequark> fixed
lcdhoffman has joined #ruby-lang
<matti> whitequark: Thank you!
<matti> :)
<RickHull> bnagy: how does 1d impl improve over 2d? for example processing rows or columns can be done "contiguously"
momomomomo has quit [Quit: momomomomo]
yfeldblum has joined #ruby-lang
hendranata_ has joined #ruby-lang
kiyote23 has joined #ruby-lang
<bnagy> RickHull: I was wondering if it would make it easier to skip between contiguous areas
kiyote23 has quit [Remote host closed the connection]
<RickHull> i think i'm just going to scan the board once for maskable areas
marr has quit [Ping timeout: 252 seconds]
jxie has quit [Ping timeout: 264 seconds]
<RickHull> heh, just a Small Matter of Programming
jxie has joined #ruby-lang
<bnagy> like I said, I would do it as a vector with at least indicies that mark the start of a live area
<bnagy> and then just do the maths for adjacency, that will be FAST
<bnagy> if you want to be fancy you can probably just use bitwise integer ops to make the required changes to adjacent cells
<bnagy> the key, in ruby, is to avoid object creation
allomov has joined #ruby-lang
houhoulis has joined #ruby-lang
<bnagy> so personally I would be afraid that abstracting "areas" of any kind of going to lead to lots of object creation
<bnagy> *is going to lead
<bnagy> but ymmv, this is obviously a learning exercise, so
<RickHull> yep, thanks
allomov has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
<zenspider> RickHull: what are you working on?
fuhgeddaboudit has joined #ruby-lang
<zenspider> collision detection or somesuch?
<zenspider> oh. haha
<RickHull> my current impl (game of life) is very naive. starting to look (broadly) at perf optimization
mistym has quit [Remote host closed the connection]
fuhgeddaboudit has quit [Client Quit]
fuhgeddaboudit has joined #ruby-lang
<zenspider> RickHull: do you have performance problems? (also, what size are you running?)
lcdhoffman has quit [Quit: lcdhoffman]
<RickHull> default is 70x40. 400 iterations was taking 20 secods or so
<RickHull> sorry, it was taking under 13s at one point
shinnya_ has quit [Ping timeout: 240 seconds]
<red_menace> this is in ObjC?
<zenspider> yeah, that seems slow for what it is
<zenspider> RickHull: assuming there really is an 80/20 bottleneck, the easiest way to identify it is to run the code and hit ^c randomly
<zenspider> statistically you'll be in it
<RickHull> ha
<bnagy> hahahaha
<bnagy> sigint sampling profiler
fuhgeddaboudit has quit [Ping timeout: 272 seconds]
<RickHull> i'm at user: 16.5 seconds now. it was up over 23s for a bit
wallerdev has quit [Quit: wallerdev]
<RickHull> doing a lot of unnecessary bounds checking and comparisons
<RickHull> i was thinking the "right" way is an unbounded board anyway
benlovell has joined #ruby-lang
<RickHull> so maybe that's the ticket
yfeldblum has quit [Remote host closed the connection]
futilegames has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby-lang
t_ has quit [Ping timeout: 258 seconds]
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
yfeldblum has joined #ruby-lang
<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
<capin> i have a Core Data datamodel file / directory, but not sure what that links to
<RickHull> lskitto: make a gist with your command line session that generates the error
<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
pricees has quit [Ping timeout: 244 seconds]
<lskitto> API info is irrelevant
<lskitto> *Spotify API Key
<lskitto> **whatever
cornerman has quit [Ping timeout: 240 seconds]
cornerma1 is now known as cornerman
tmatthews0020 has joined #ruby-lang
<tmatthews0020> what is the rails irc channel?
ducklobster has joined #ruby-lang
<tmatthews0020> im getting an error trying to connect to #rubyonrails
<weaksauce> #rubyonrails
<weaksauce> need to be registered
allomov has joined #ruby-lang
<tmatthews0020> ohhh well i was at one point i guess. it must of expired. thanks
<RickHull> lskitto: xD
<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?
hellome has joined #ruby-lang
allomov has joined #ruby-lang
<lskitto> ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin10.0]
benlovell has joined #ruby-lang
<RickHull> ok, that is kinda dark ages
<RickHull> but totally reasonable
<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]
<lskitto> ruby --version still shows "ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin10.0]" dafaq 0.0
sferik_ has joined #ruby-lang
<RickHull> no biggie
<RickHull> try logging out and back in
<RickHull> i don't know about homebrew
<RickHull> but it has to set up so it finds the new ruby
<lskitto> Ok..
<RickHull> read up in the homebrew docs
<RickHull> i'm sure there is a tutorial or something
kapil__ has joined #ruby-lang
havenwood has joined #ruby-lang
frank_o has joined #ruby-lang
lskitto has quit [Ping timeout: 246 seconds]
_fritchie has quit [Quit: Textual IRC Client: www.textualapp.com]
centrx has joined #ruby-lang
centrx has quit [Client Quit]
lskitto has joined #ruby-lang
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
<lskitto> THIS is the GUI? http://en.wikipedia.org/wiki/OpenBSD#mediaviewer/File:OpenBSD49-fvwm.png I'd prefer something else lol
<bougyman> that's not the only gui, heh.
<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]
clamstar has quit [Quit: ZNC - http://znc.in]
mistym has joined #ruby-lang
clamstar has joined #ruby-lang
clamstar has quit [Read error: Connection reset by peer]
midhir has joined #ruby-lang
clamstar has joined #ruby-lang
dsilva has joined #ruby-lang
midhir has quit [Ping timeout: 256 seconds]
dsilva_ has quit [Ping timeout: 256 seconds]
araujo has joined #ruby-lang
hahuang65 has quit [Quit: WeeChat 1.0.1]
jimbach has joined #ruby-lang
dsilva_ has joined #ruby-lang
clamstar has quit [Remote host closed the connection]
dsilva has quit [Ping timeout: 264 seconds]
dsilva has joined #ruby-lang
clamstar has joined #ruby-lang
jimbach has quit [Ping timeout: 256 seconds]
dsilva_ has quit [Ping timeout: 252 seconds]
AKASkip has joined #ruby-lang
benlovell has joined #ruby-lang
hahuang65 has joined #ruby-lang
benlovell has quit [Ping timeout: 244 seconds]
mistym has quit [Remote host closed the connection]
gianlucadv has quit [Ping timeout: 240 seconds]
|jemc| has joined #ruby-lang
mistym has joined #ruby-lang
oleo__ has joined #ruby-lang
oleo is now known as Guest55659
Guest55659 has quit [Ping timeout: 256 seconds]
ur5us has joined #ruby-lang
Averna has quit [Quit: Leaving.]
ur5us has quit [Ping timeout: 272 seconds]
houhoulis has quit [Remote host closed the connection]
pricees has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
pricees has quit [Ping timeout: 245 seconds]
rahul_j has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
hagabaka has quit [Ping timeout: 264 seconds]
rahul_j has left #ruby-lang [#ruby-lang]
oak has joined #ruby-lang
hagabaka has joined #ruby-lang
oleo__ has quit [Quit: Verlassend]
|jemc| has quit [Ping timeout: 250 seconds]
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skade has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
dwknoxy has quit [Quit: Textual IRC Client: www.textualapp.com]
JohnBat26 has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
futilegames has joined #ruby-lang
tenderlo_ has joined #ruby-lang
|jemc| has joined #ruby-lang
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #ruby-lang
sross07 has quit [Read error: Connection reset by peer]
kyb3r_ has quit [Read error: Connection reset by peer]
sross07 has joined #ruby-lang
lsegal` has joined #ruby-lang
kyb3r_ has joined #ruby-lang
lsegal has quit [Read error: Connection reset by peer]
mcclurmc has joined #ruby-lang
tenderlo_ has quit [Remote host closed the connection]
mcclurmc has quit [Ping timeout: 264 seconds]
araujo has quit [Ping timeout: 264 seconds]
allomov has joined #ruby-lang
Miphix has joined #ruby-lang
hhatch has joined #ruby-lang
yfeldblum has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
Lewix has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
RickHull has quit [Ping timeout: 246 seconds]
apeiros_ has quit [Ping timeout: 250 seconds]
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby-lang
benlovell has joined #ruby-lang
midhir has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
benlovell has quit [Ping timeout: 264 seconds]
jimbach has joined #ruby-lang
midhir has quit [Ping timeout: 240 seconds]
frank_o has quit [Ping timeout: 250 seconds]
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
frank_o has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
frank_o has quit [Ping timeout: 264 seconds]
Forgetful_Lion has joined #ruby-lang
|jemc| has quit [Ping timeout: 256 seconds]
kiyote23 has joined #ruby-lang
nofxx has quit [Ping timeout: 245 seconds]
futilegames has quit [Ping timeout: 256 seconds]
fedexo has quit [Ping timeout: 245 seconds]
futilegames has joined #ruby-lang
bmichelsen has quit [Quit: ZZZzzz…]
futilegames has quit [Ping timeout: 258 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
tenderlove has joined #ruby-lang
ur5us has joined #ruby-lang
bmichelsen has joined #ruby-lang
futilegames has joined #ruby-lang
AKASkip has quit [Quit: Leaving.]
solars has joined #ruby-lang
kwd has joined #ruby-lang
pricees has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
tenderlove has quit [Ping timeout: 245 seconds]
futilegames has joined #ruby-lang
pricees has quit [Ping timeout: 252 seconds]
kyb3r_ has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby-lang
kyb3r_ has quit [Max SendQ exceeded]
michael_mbp has quit [Ping timeout: 240 seconds]
sferik_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michael_mbp has joined #ruby-lang
apeiros_ has joined #ruby-lang
arBmind has joined #ruby-lang
lsegal` has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
Iskarlar has joined #ruby-lang
Forgetful_Lion has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
yfeldblu_ has joined #ruby-lang
mistym has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
Iskarlar has quit [Read error: Connection reset by peer]
Iskarlar has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
mkaesz has joined #ruby-lang
araujo has joined #ruby-lang
ruby-lang190 has joined #ruby-lang
<ruby-lang190> hi, how can i check if my ruby file is loaded with require '..' or executed on commandline ?
<apeiros_> if it doesn't raise, it was loaded.
<ruby-lang190> i mean i will use the file standalone as script but in another script as well because there is a class inside the script
<tobiasvl> ruby-lang190: you can check if __FILE__ == $0
<tobiasvl> if it's true, it was executed
<tobiasvl> not sure how idiomatic it is but it works
oak has quit [Ping timeout: 240 seconds]
<ruby-lang190> ok thanks
fusillicode has joined #ruby-lang
chussenot has joined #ruby-lang
chussenot has quit [Client Quit]
oak has joined #ruby-lang
<maloik> ruby-lang190: is this a gem youre building?
<maloik> most gems have a bin folder for commandline executables where you basically just use the classes from your gem
<maloik> not sure if that'd help at all, but it's a clean way if you are in fact making a gem
kyb3r_ has joined #ruby-lang
allomov has quit [Remote host closed the connection]
chussenot has joined #ruby-lang
oak has quit [Ping timeout: 240 seconds]
allomov has joined #ruby-lang
fclausen has joined #ruby-lang
benlovell has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
benlovell has quit [Ping timeout: 250 seconds]
bmichelsen has quit [Quit: ZZZzzz…]
jimbach has joined #ruby-lang
francisfish has joined #ruby-lang
allomov has quit [Remote host closed the connection]
jimbach has quit [Ping timeout: 258 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
midhir has joined #ruby-lang
toretore has joined #ruby-lang
fusillicode has quit [Ping timeout: 240 seconds]
midhir has quit [Ping timeout: 250 seconds]
futilegames has quit [Ping timeout: 256 seconds]
<yorickpeterse> morning
<maloik> o/
rahul_j has joined #ruby-lang
emmesswhy has joined #ruby-lang
rahul_j has quit [Client Quit]
futilegames has joined #ruby-lang
futilegames has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby-lang
futilegames has joined #ruby-lang
Thecrazylumberja has joined #ruby-lang
knu has quit [Remote host closed the connection]
futilegames_ has joined #ruby-lang
arBmind has joined #ruby-lang
marr has joined #ruby-lang
futilegames has quit [Ping timeout: 256 seconds]
futilegames_ is now known as futilegames
fusillicode has joined #ruby-lang
allomov has joined #ruby-lang
knu has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
kyb3r_ has quit [Read error: Connection reset by peer]
heftig_ is now known as heftig
pricees has joined #ruby-lang
pricees has quit [Ping timeout: 264 seconds]
kiyote23 has quit [Read error: Connection reset by peer]
dsilva_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
dsilva has quit [Ping timeout: 252 seconds]
hendranata_ has quit [Quit: Leaving]
benlovell has joined #ruby-lang
kiyote23 has joined #ruby-lang
<ddfreyne> Hm, Rubocop complains about useless "data = nil" assignments…
benlovell has quit [Ping timeout: 240 seconds]
<ddfreyne> But assigning nil to a variable after you’re done with it can make it available for GC.
<ddfreyne> Is this something that is generally done?
Thecrazylumberja has quit [Quit: Leaving]
<ljarvis> ddfreyne: I'd say it's rarely done, since it's such a specific optimisation
<ddfreyne> huge_string = File.read(…) ; huge_json_object = JSON.parse(huge_string) ; huge_string = nil
<ljarvis> but I don't really thing it's helpful to complain about assigning nils to locals
<ddfreyne> This is my specific use case.
<soahccc> ddfreyne: it depends on details... since it's GCd when there is no more active reference
<ljarvis> wouldn't using the File.open block relieve the memory in this specific case anyway?
<soahccc> there is no open block and no not necesseraly
<soahccc> god my hands are to slow to type
<ddfreyne> ljarvis: I’m not using File, actually… but even then, the string would still be accessible within the block.
<ljarvis> yes there is?
<ljarvis> ddfreyne: right, true
<ddfreyne> (Ideally, I’d use some sort of streaming JSON parser, but that increases complexity tenfold.)
skade has joined #ruby-lang
<ljarvis> ddfreyne: did you run any tests to see if this assignment actually helps?
<ddfreyne> ljarvis: Nope.
<ddfreyne> I might do that soon.
<yorickpeterse> ddfreyne: assigning nil to have it GC'd is a hack
<yorickpeterse> there's no guarantee it actually happens
<ddfreyne> Oh, I know. My Ruby process exits because it runs out of memory though, so that’s why I’m looking into this.
<yorickpeterse> MRI, nor JRuby nor Rbx use reference counting, so memory isn't freed the memory a reference is lost
<yorickpeterse> * the moment
<yorickpeterse> Your process is most likely leaking due to reading and parsing a large string as a whole
<yorickpeterse> JSON.load can take IO as an input, you might want to look into that
<yorickpeterse> e.g.
<yorickpeterse> JSON.load(File.open('/tmp/test.json', 'r')) # => {"name"=>"Yorick"}
dsilva has joined #ruby-lang
<ddfreyne> Ah, good idea! Not sure how well that works with my Java ByteArrayOutputStream though!
<yorickpeterse> if it implements IO it should be fine
elia has joined #ruby-lang
<ddfreyne> yorickpeterse: “Implements IO” is a kinda big requirement
<yorickpeterse> Not really, just defining #read is enough
dsilva_ has quit [Ping timeout: 264 seconds]
allomov has quit [Remote host closed the connection]
<yorickpeterse> At least I believe that's what JSON uses under the hood
<ddfreyne> Seems like it
<yorickpeterse> oh wtf, JSON reads the thing as a whole by the looks of it
<ddfreyne> Even with #read?
dangerou_ has joined #ruby-lang
dangerou_ has quit [Client Quit]
<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?
<yorickpeterse> (not httpbin.org)
hramrach_ has quit [Ping timeout: 250 seconds]
<yorickpeterse> Ah found it: http://requestb.in/
mcclurmc has quit [Ping timeout: 264 seconds]
hramrach_ has joined #ruby-lang
GBrawl has joined #ruby-lang
dsilva_ has joined #ruby-lang
dsilva has quit [Ping timeout: 258 seconds]
ldnunes has joined #ruby-lang
dsilva has joined #ruby-lang
allomov has joined #ruby-lang
dsilva_ has quit [Ping timeout: 264 seconds]
dsilva_ has joined #ruby-lang
dsilva has quit [Ping timeout: 250 seconds]
jimbach has joined #ruby-lang
dsilva has joined #ruby-lang
dsilva_ has quit [Ping timeout: 250 seconds]
dangerou_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dsilva_ has joined #ruby-lang
dsilva has quit [Ping timeout: 240 seconds]
dangerou_ has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
tkuchiki has quit [Remote host closed the connection]
dangerou_ has quit [Client Quit]
tkuchiki has joined #ruby-lang
yusuf1 has quit [Quit: Leaving.]
emmesswhy has quit [Quit: This computer has gone to sleep]
emmesswhy has joined #ruby-lang
emmesswhy has quit [Client Quit]
dangerou_ has joined #ruby-lang
dsilva has joined #ruby-lang
dangerou_ has quit [Client Quit]
tkuchiki has quit [Ping timeout: 264 seconds]
arBmind has quit [Quit: Leaving.]
dsilva_ has quit [Ping timeout: 256 seconds]
yfeldblu_ has quit [Remote host closed the connection]
midhir has joined #ruby-lang
chussenot has quit [Quit: chussenot]
chussenot has joined #ruby-lang
dsilva_ has joined #ruby-lang
emmesswhy has joined #ruby-lang
dsilva has quit [Ping timeout: 272 seconds]
mkaesz has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby-lang
dsilva has joined #ruby-lang
iamninja has joined #ruby-lang
dsilva_ has quit [Ping timeout: 245 seconds]
pricees has joined #ruby-lang
ur5us has quit [Ping timeout: 255 seconds]
pricees has quit [Ping timeout: 245 seconds]
dsilva has quit [Ping timeout: 258 seconds]
dsilva has joined #ruby-lang
ledestin has quit [Quit: ledestin]
ta has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
riffraff has joined #ruby-lang
benlovell has joined #ruby-lang
dr_bob has joined #ruby-lang
Iskarlar has quit [Quit: Textual IRC Client: www.textualapp.com]
benlovell has quit [Ping timeout: 258 seconds]
t_ has quit [Ping timeout: 258 seconds]
t_ has joined #ruby-lang
koderok has joined #ruby-lang
mkaesz has joined #ruby-lang
koderok has quit [Client Quit]
francisfish has quit []
fclausen has quit [Ping timeout: 272 seconds]
dsilva_ has joined #ruby-lang
dsilva has quit [Ping timeout: 258 seconds]
chills42 has joined #ruby-lang
midhir has quit [Ping timeout: 240 seconds]
fclausen has joined #ruby-lang
pablocantero has joined #ruby-lang
kiyote23 has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby-lang
fclausen has quit [Ping timeout: 272 seconds]
jgpawletko has joined #ruby-lang
godd2 has quit [Ping timeout: 272 seconds]
nofxx has joined #ruby-lang
arBmind has joined #ruby-lang
bmichelsen has joined #ruby-lang
jimbach has joined #ruby-lang
rcvalle has quit [Quit: rcvalle]
futilegames has quit [Quit: futilegames]
ikrima_ has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby-lang
dsilva has joined #ruby-lang
jimbach has quit [Ping timeout: 258 seconds]
dsilva_ has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
bmichelsen has quit [Ping timeout: 244 seconds]
dsilva has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 258 seconds]
lapide_viridi has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
rcvalle has joined #ruby-lang
benlovell has quit [Ping timeout: 252 seconds]
spastorino has joined #ruby-lang
Guest1882 has joined #ruby-lang
yfeldblum has joined #ruby-lang
midhir has joined #ruby-lang
apeiros_ has quit [Ping timeout: 240 seconds]
ikrima has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
apeiros_ has joined #ruby-lang
iamninja has quit [Remote host closed the connection]
lapideviridi has joined #ruby-lang
hinbody has joined #ruby-lang
GBrawl has quit [Quit: (null)]
lapide_viridi has quit [Ping timeout: 272 seconds]
iamninja has joined #ruby-lang
banister has joined #ruby-lang
tenderlove has joined #ruby-lang
pricees has joined #ruby-lang
sferik has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
tenderlove has quit [Ping timeout: 250 seconds]
pricees has quit [Ping timeout: 245 seconds]
chills42 has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
caseydriscoll has joined #ruby-lang
charliesome has joined #ruby-lang
yfeldblum has joined #ruby-lang
danijoo_ has joined #ruby-lang
danijoo has quit [Read error: Connection reset by peer]
yfeldblum has quit [Ping timeout: 244 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jimbach has joined #ruby-lang
DivineEntity has quit [Quit: Lost terminal]
ConstantineXVI has joined #ruby-lang
malconis has joined #ruby-lang
malconis has quit [Remote host closed the connection]
malconis has joined #ruby-lang
jimbach has quit [Read error: Network is unreachable]
slumos has quit [Ping timeout: 264 seconds]
jimbach has joined #ruby-lang
DivineEntity has joined #ruby-lang
stamina has joined #ruby-lang
benlovell has joined #ruby-lang
caseydriscoll has quit [Remote host closed the connection]
sferik has joined #ruby-lang
GBrawl has joined #ruby-lang
benlovell has quit [Ping timeout: 245 seconds]
mcclurmc has joined #ruby-lang
sferik has quit [Client Quit]
ikrima has quit [Ping timeout: 256 seconds]
setanta has joined #ruby-lang
mcclurmc has quit [Ping timeout: 255 seconds]
jeaye has quit [Ping timeout: 258 seconds]
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
terabytest has joined #ruby-lang
pablocantero has quit [Read error: Connection reset by peer]
pablocantero has joined #ruby-lang
terabytest has quit [Client Quit]
terabytest has joined #ruby-lang
pablocan_ has joined #ruby-lang
pablocantero has quit [Read error: Connection reset by peer]
thang has quit [Ping timeout: 265 seconds]
thang has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Constant_ has joined #ruby-lang
terabytest has quit [Client Quit]
terabytest has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
jeaye has joined #ruby-lang
ConstantineXVI has quit []
ruby-lang190 has quit [Ping timeout: 246 seconds]
gix has quit [Quit: Client exiting]
justinreyesv has joined #ruby-lang
drewxiu has joined #ruby-lang
workmad3 has quit [Ping timeout: 245 seconds]
pricees has joined #ruby-lang
ConstantineXVI has joined #ruby-lang
ConstantineXVI has quit [Max SendQ exceeded]
ConstantineXVI has joined #ruby-lang
kiyote23 has quit [Read error: Connection reset by peer]
chussenot has quit [Quit: chussenot]
pricees has quit [Ping timeout: 240 seconds]
terabytest has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmichelsen has joined #ruby-lang
kiyote23 has joined #ruby-lang
yfeldblum has joined #ruby-lang
GBrawl has quit [Read error: Connection reset by peer]
oleo has joined #ruby-lang
havenwood has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
bfraser has quit [Quit: Ex-Chat]
sferik has joined #ruby-lang
sferik has quit [Client Quit]
sferik has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
jimbach has joined #ruby-lang
caseydriscoll has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
justinreyesv has quit [Ping timeout: 244 seconds]
drewxiu has quit [Ping timeout: 244 seconds]
<tobiasvl> "/ignore -channels #ruby-lang * JOINS PARTS QUITS NICKS
<tobiasvl> oops
sferik has quit [Client Quit]
mattyohe has joined #ruby-lang
shambrarian has joined #ruby-lang
nathanstitt has joined #ruby-lang
chinmay_dd has joined #ruby-lang
mcclurmc has joined #ruby-lang
sferik has joined #ruby-lang
<yorickpeterse> hihi
banister has joined #ruby-lang
pablocantero has joined #ruby-lang
pablocan_ has quit [Read error: Connection reset by peer]
chussenot has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
postmodern has quit [Read error: Connection reset by peer]
pablocan_ has joined #ruby-lang
pablocantero has quit [Ping timeout: 240 seconds]
whippythellama has joined #ruby-lang
chills42 has quit [Remote host closed the connection]
chills42 has joined #ruby-lang
GBrawl has joined #ruby-lang
Cyrano has quit [Quit: Cyrano]
chills42 has quit [Ping timeout: 244 seconds]
futilegames has joined #ruby-lang
chussenot has quit [Quit: chussenot]
shinnya has joined #ruby-lang
chussenot has joined #ruby-lang
loincloth has joined #ruby-lang
<nofxx> yorickpeterse, unpolished but working https://github.com/nofxx/schemaless check the Production part
<nofxx> I just can't understand how to work the ar autoload thing to work without eager load =/
<yorickpeterse> well, your schema is still defined in the DB
<yorickpeterse> You're just mirroring it code wise
tenderlove has joined #ruby-lang
iamninja has quit [Quit: ZZZzzz…]
yfeldblum has joined #ruby-lang
<nofxx> yorickpeterse, yup, production don't see anything different... it's like a annotate models that works for you in dev mode
workmad3 has joined #ruby-lang
fedexo has joined #ruby-lang
yfeldblum has quit [Ping timeout: 240 seconds]
yorickpeterse is now known as eurobrixen
Lewix has quit []
kiyote23 has quit [Remote host closed the connection]
kiyote23_ has joined #ruby-lang
pablocan_ has quit [Remote host closed the connection]
fusillicode has quit [Ping timeout: 240 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kiyote23_ has quit [Remote host closed the connection]
shtirlic_ has quit [Ping timeout: 258 seconds]
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
sferik has quit [Ping timeout: 250 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
pablocantero has joined #ruby-lang
banister has joined #ruby-lang
GBrawl has quit [Quit: (null)]
banister has quit [Max SendQ exceeded]
GBrawl has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
rippa has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
shtirlic has joined #ruby-lang
benlovell has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
cornerma1 has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
pricees has joined #ruby-lang
banister has joined #ruby-lang
kalleth_ has quit [Ping timeout: 258 seconds]
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
cmhobbs has joined #ruby-lang
cmhobbs has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kalleth has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
cornerman has quit [Ping timeout: 256 seconds]
sferik has joined #ruby-lang
cornerma1 is now known as cornerman
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
benlovell has quit [Ping timeout: 250 seconds]
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
banister has quit [Max SendQ exceeded]
charliesome has quit [Quit: zzz]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
momomomomo has joined #ruby-lang
klmlfl has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
lapideviridi has quit [Quit: See ya'!]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
klmlfl has quit [Remote host closed the connection]
kapil__ has quit [Quit: Connection closed for inactivity]
nofxx has quit [Ping timeout: 272 seconds]
mistym has joined #ruby-lang
imperator has joined #ruby-lang
klmlfl has joined #ruby-lang
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby-lang
stamina has quit [Ping timeout: 252 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
sferik has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
mcclurmc has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
apeiros_ has quit [Ping timeout: 252 seconds]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
kurko__ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
emmesswhy has joined #ruby-lang
eurobrixen is now known as yorickpeterse
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]
klmlfl has quit [Remote host closed the connection]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
klmlfl has joined #ruby-lang
kalleth has quit [Ping timeout: 258 seconds]
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]
kalleth has joined #ruby-lang
fusillicode 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]
yfeldblum has joined #ruby-lang
chills42 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
tenderlove has joined #ruby-lang
centrx has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
yfeldblum has quit [Ping timeout: 255 seconds]
tenderlove has joined #ruby-lang
kalleth has quit [Quit: No Ping reply in 180 seconds.]
nofxx has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
kalleth has joined #ruby-lang
dr_bob has quit [Quit: Hust!]
tenderlove has quit [Remote host closed the connection]
kirin` has quit [Ping timeout: 245 seconds]
jkad1 has joined #ruby-lang
kirin` has joined #ruby-lang
clamstar has quit [Remote host closed the connection]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #ruby-lang
diegoviola has joined #ruby-lang
th_ has quit [Remote host closed the connection]
emmesswhy has quit [Quit: This computer has gone to sleep]
tenderlove has joined #ruby-lang
kirin` has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
beseku has joined #ruby-lang
beseku has quit [Client Quit]
mkaesz has quit [Ping timeout: 245 seconds]
pablocantero has quit [Remote host closed the connection]
kirin` has quit [Ping timeout: 252 seconds]
<yorickpeterse> ha
<yorickpeterse> ha
<yorickpeterse> ha
<yorickpeterse> Disabling the GC, my fucking goodness
<centrx> PHP is for Pros
kirin` has joined #ruby-lang
drewxiu has joined #ruby-lang
nofxx has quit [Read error: Connection reset by peer]
nofxx has joined #ruby-lang
matti has joined #ruby-lang
matti has quit [Changing host]
shtirlic has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby-lang
fedexo has quit [Ping timeout: 244 seconds]
kirin` has quit [Read error: Connection reset by peer]
momomomomo has quit [Quit: momomomomo]
klmlfl has quit [Remote host closed the connection]
kirin` has joined #ruby-lang
klmlfl has joined #ruby-lang
GBrawl has quit [Quit: (null)]
midhir has quit [Remote host closed the connection]
chussenot has quit [Quit: chussenot]
shtirlic has joined #ruby-lang
kirin` has quit [Ping timeout: 245 seconds]
chussenot has joined #ruby-lang
kurko__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ericwood> it's an installer so it's not the worst thing ever
<ericwood> it finishes, shit gets destroyed
<ericwood> but...I'm not fond of it lol
pricees has quit [Ping timeout: 258 seconds]
kurko__ has joined #ruby-lang
sferik has quit [Read error: Connection reset by peer]
kirin` has joined #ruby-lang
apeiros_ has joined #ruby-lang
<canton7> the hn comment says the reference counting keeps track of everything anyway, in this case
chinmay_dd has quit [Quit: Leaving]
<capin> im running into the following problem, https://github.com/helios-framework/helios/issues/124
<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
pricees has joined #ruby-lang
sferik has joined #ruby-lang
chouhoul_ has joined #ruby-lang
mcclurmc has joined #ruby-lang
<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]
shambrarian_ has joined #ruby-lang
jimbach has joined #ruby-lang
kirin` has quit [Ping timeout: 244 seconds]
mark06 has joined #ruby-lang
midhir has quit [Ping timeout: 256 seconds]
mark06 has left #ruby-lang ["http://pidgin.renatosilva.me - Pidgin++"]
kirin` has joined #ruby-lang
arooni-mobile has joined #ruby-lang
shambrarian has quit [Ping timeout: 258 seconds]
tectonic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kirin` has quit [Read error: Connection reset by peer]
GBrawl has joined #ruby-lang
midhir has joined #ruby-lang
klmlfl has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
yalue has quit [Quit: Leaving]
DivineEntity has quit [Read error: Connection reset by peer]
DivineEntity has joined #ruby-lang
tectonic has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby-lang
tectonic has quit [Quit: Textual IRC Client: www.textualapp.com]
caseydriscoll has quit [Remote host closed the connection]
ta has joined #ruby-lang
benanne has quit [Quit: kbai]
kiyote23 has quit []
GBrawl has quit [Quit: (null)]
kiyote23 has joined #ruby-lang
svajone has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
allomov has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
workmad3 has quit [Quit: Reconnecting]
workmad3 has joined #ruby-lang
workmad3 has quit [Client Quit]
workmad3 has joined #ruby-lang
LeDiegue has joined #ruby-lang
caseydriscoll has joined #ruby-lang
<loincloth> hey all
solars has quit [Ping timeout: 245 seconds]
ducklobster has quit [Ping timeout: 244 seconds]
LeDiegue has quit [Read error: Connection reset by peer]
<loincloth> I have a simple Rack app to serve a directory. This statement in my .ru file works as expected: run Rack::Directory.new(root)
<loincloth> I wanted to add the convenience of assuming "/" => "/index.html" so i went looking and noticed Rack::Static seems to be the way to do that
<loincloth> adding this line does not work as expected: use Rack::Static, urls: { '/' => 'index.html' }, root: root
<loincloth> I added that before the run statement, to be clear
<loincloth> I also tried it without the :root option
benlovell has joined #ruby-lang
<loincloth> The error seems to be that ENV['PATH_INFO'] is unexpectedly nil
cmhobbs has quit [Remote host closed the connection]
<loincloth> from inside rack/static
shinnya has quit [Ping timeout: 252 seconds]
<loincloth> Is there anything I'm missing from this code or something that error speaks to that I should investigate?
shtirlic has quit [Ping timeout: 258 seconds]
<loincloth> i am using Thin as the server, FWIW
jeaye has quit [Ping timeout: 252 seconds]
ggherdov has quit [Ping timeout: 252 seconds]
vieq has quit [Ping timeout: 252 seconds]
kwd has quit [Max SendQ exceeded]
<loincloth> call it a day? i hear that... ;)
micechal_ has quit [Ping timeout: 252 seconds]
shinnya has joined #ruby-lang
duderonomy has quit [Ping timeout: 252 seconds]
shtirlic has joined #ruby-lang
weaksauce has quit [Ping timeout: 252 seconds]
dagda1 has quit [Ping timeout: 252 seconds]
<workmad3> loincloth: is it awful that the last time I wanted to do that, I used node? :)
vieq has joined #ruby-lang
micechal has joined #ruby-lang
micechal has quit [Read error: Connection reset by peer]
seank_ has quit [Ping timeout: 252 seconds]
benlovell has quit [Ping timeout: 258 seconds]
micechal has joined #ruby-lang
red_menace has quit [Ping timeout: 252 seconds]
shambrarian_ has quit [Quit: bye!]
kwd has joined #ruby-lang
hagebake has joined #ruby-lang
seank_ has joined #ruby-lang
dagda1 has joined #ruby-lang
hagabaka has quit [Ping timeout: 252 seconds]
LeDiegue 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]
shevy has left #ruby-lang ["I'll be back ... maybe"]
kurko__ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
pablocantero 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
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
banister has quit [Max SendQ exceeded]
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
pablocantero has quit [Ping timeout: 264 seconds]
sideshowcoder_ has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
jeaye has joined #ruby-lang
banister has joined #ruby-lang
banister has quit [Max SendQ exceeded]
<whitequark> >node
<whitequark> you said it
banister has joined #ruby-lang
Guest1882 has joined #ruby-lang
banister has quit [Max SendQ exceeded]
<ljarvis> it probably scaled
ggherdov has joined #ruby-lang
banister has joined #ruby-lang
rcvalle has quit [Ping timeout: 252 seconds]
sideshowcoder_ has quit [Client Quit]
sideshowcoder_ has joined #ruby-lang
weaksauce has joined #ruby-lang
loincloth has quit [Remote host closed the connection]
whippythellama has quit [Quit: whippythellama]
sideshowcoder has quit [Quit: Cheers!]
sideshowcoder_ is now known as sideshowcoder
elia has joined #ruby-lang
Guest1882 has quit [Ping timeout: 250 seconds]
momomomomo has joined #ruby-lang
malconis_ has joined #ruby-lang
<LeDiegue> Hi!
Guest1882 has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
malconis has quit [Ping timeout: 245 seconds]
nathanstitt has quit [Ping timeout: 240 seconds]
<ericwood> hi
lcdhoffman has joined #ruby-lang
tenderlove has quit [Quit: Leaving...]
midhir_ has joined #ruby-lang
midhir has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elia has quit [Quit: Computer has gone to sleep.]
arooni-mobile has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
sen_jalapeno has quit [Quit: Leaving]
sen_jalapeno has joined #ruby-lang
sen_jalapeno has quit [Client Quit]
spastorino has quit [Quit: Connection closed for inactivity]