apeiros_ changed the topic of #ruby to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
justsee has quit [Quit: Leaving...]
kofno has quit [Ping timeout: 264 seconds]
<tay1> is there anyway to compile ruby app into a standalone app?
hbpoison has quit [Ping timeout: 245 seconds]
ukd1 has quit [Remote host closed the connection]
Goles has joined #ruby
mahmoudimus has joined #ruby
kofno has joined #ruby
blf has joined #ruby
<blf> Anyone have any idea why "jruby --server -X+C [script]" works, but "jruby --server -X+C -J-Xmx2048m [script]" fails with "Cannot find Java 1.5 or higher"?
mahmoudimus has quit [Ping timeout: 245 seconds]
Goles has quit [Quit: Out.]
yshh has quit [Remote host closed the connection]
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
Quebert has joined #ruby
ukd1 has joined #ruby
kiwnix has joined #ruby
hbpoison has joined #ruby
joofsh_ has quit [Remote host closed the connection]
yebyen has left #ruby [#ruby]
ndboost has joined #ruby
atyz has joined #ruby
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
apok has joined #ruby
hmarr has quit []
timmow has quit [Remote host closed the connection]
atyz has quit [Ping timeout: 246 seconds]
eka has joined #ruby
bradhe has joined #ruby
kristofers has quit []
stanzh has left #ruby [#ruby]
apeiros_ has quit [Remote host closed the connection]
brhelwig has joined #ruby
bradhe_ has quit [Ping timeout: 260 seconds]
brhelwig_ has quit [Ping timeout: 246 seconds]
joofsh has joined #ruby
miso1337 has quit [Quit: afk]
pepper_chico has quit [Quit: Computer has gone to sleep.]
nari has quit [Ping timeout: 256 seconds]
erry has quit [Quit: Segmentation fault]
blf has quit [Quit: Page closed]
erry_ has joined #ruby
tealmage has quit [Remote host closed the connection]
atal421 has joined #ruby
atal421 has quit [Client Quit]
erry_ is now known as erry
samphippen has quit [Quit: Computer has gone to sleep.]
postmodern has joined #ruby
rgbdev has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
drumsrgr1 has quit [Ping timeout: 264 seconds]
frosks has joined #ruby
classix has joined #ruby
chrisja has quit [Quit: leaving]
rickmasta has quit [Quit: Leaving...]
keyo has left #ruby [#ruby]
chipotle_ has joined #ruby
Rioji has joined #ruby
axhlf has quit [Ping timeout: 256 seconds]
daemoen has quit [Ping timeout: 252 seconds]
bubblehead has joined #ruby
lewix has joined #ruby
chipotle_ has quit [Client Quit]
pen has quit [Remote host closed the connection]
brhelwig has quit [Remote host closed the connection]
shammancer has joined #ruby
jclarke has joined #ruby
Inside has joined #ruby
pygmael has joined #ruby
<Inside> HELLO #RUBIANS. I HAVE DECIDED TO BECOME ONE OF YOU. WHAT IS THE LATEST RECOMENDED VERSION OF RUBY TO DOWNLOAD. THANK YOU.
elaptics is now known as elaptics`away
ukd1 has quit [Remote host closed the connection]
<`p> Download the newest.
brhelwig has joined #ruby
justsee has quit [Ping timeout: 258 seconds]
<Inside> 2.0.0 or 1.9.3? I'm not sure if it's a python like thing where 2.7 and 3.2 (3.3?) are almost different languages
eka has quit [Quit: Computer has gone to sleep.]
<shevy> Inside 1.9.x paved the way to 2.0
<shevy> so 2.0 should be used
adkron has joined #ruby
<Inside> I guess this is more of a RoR question since that's what I want to learn how to use eventually, but no difference in downloading 2.0 and stuff vs. RoR, right?
<Inside> (I don't know much about .. well.. anything ruby related)
skattyadz has quit [Quit: skattyadz]
Guedes has quit [Disconnected by services]
Guedes0 is now known as Guedes
predator217 has joined #ruby
jclarke has quit [Ping timeout: 264 seconds]
Guedes has quit [Changing host]
Guedes has joined #ruby
pygmael has quit [Client Quit]
<`p> Inside if you are following a rails tutorial guide like mhartls download the one the book requires
<`p> if i were you i'd download rvm
Guedes0 has joined #ruby
pygmael has joined #ruby
<`p> grab rvm and follow the installation guide that makes it easy to manage ruby environments, i woudl say its nearly a must
<`p> to use rvm to manage ruby versions alogn with rails
<Inside> Well I read this "Rails is a web application framework running on the Ruby programming language. If you have no prior experience with Ruby, you will find a very steep learning curve diving straight into Rails. There are some good free resources on the internet for learning Ruby, including:" about RoR so I figured I'd start with ruby before getting on the rails
<`p> pretty much everyone uses rvm, those that do not use rvm use rubyenv, i feel rvm is better.
<`p> Here inside, pm
<Inside> okie doke
elaptics`away is now known as elaptics
predator117 has quit [Ping timeout: 264 seconds]
madb055 has quit [Ping timeout: 264 seconds]
SilverKey has joined #ruby
etcetera has joined #ruby
rickmasta has joined #ruby
justsee has joined #ruby
nomadic has quit [Ping timeout: 245 seconds]
brhelwig has quit [Remote host closed the connection]
brhelwig has joined #ruby
sambao21 has joined #ruby
hakunin_ has joined #ruby
v0yager has quit [Remote host closed the connection]
v0yager has joined #ruby
nomadic has joined #ruby
cdambrosio has quit [Remote host closed the connection]
pepper_chico has joined #ruby
hakunin has quit [Ping timeout: 258 seconds]
voodoofish has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
Tricon has quit [Quit: Linkinus - http://linkinus.com]
Rioji has quit [Remote host closed the connection]
etcetera has quit []
idiocrash has joined #ruby
chrishough has joined #ruby
marr has quit [Ping timeout: 240 seconds]
yshh has joined #ruby
pen has joined #ruby
elaptics is now known as elaptics`away
nari has joined #ruby
Xeago has quit [Remote host closed the connection]
brum has joined #ruby
justsee has quit [Ping timeout: 252 seconds]
slainer6_ has quit [Remote host closed the connection]
Kirotan has quit [Ping timeout: 248 seconds]
tealmage has joined #ruby
atyz has joined #ruby
Kirotan has joined #ruby
mercy____ has quit [Quit: mercy____]
pencilcheck has joined #ruby
mercy____ has joined #ruby
vickaita has joined #ruby
<Inside> Pdppt. I actually wonder if ruby/ror is where I want to go.
<Inside> I was thinking of maing a browser-based MUD-like game, except with minor graphics... but I don't know the first thing about web-stuff
miso1337 has joined #ruby
yashshah- has quit [Read error: Connection reset by peer]
<breakingthings> That sounds like mostly javascript.
atyz has quit [Ping timeout: 245 seconds]
yashshah- has joined #ruby
DrCode has quit [Remote host closed the connection]
pen has quit [Ping timeout: 258 seconds]
<Inside> Right, but wouldn't ruby be used to handle server-end stuff?
chrishough has quit [Quit: chrishough]
tay1 has quit [Ping timeout: 252 seconds]
<breakingthings> yes indeed
<breakingthings> the balance of js to serverside would depend on your game
serhart has joined #ruby
<Inside> Hmmm
<breakingthings> graphics and such would be all js.
<Inside> Well, have you played MUDs?
<breakingthings> (and html/css)
* Inside hisses.
<breakingthings> no, I haven't, but I know what it is.
<breakingthings> You would likely be doing connectivity stuff via rubby.
<breakingthings> to maintain game state.
<Inside> Hmmm
<Inside> I guess I don't even know what spot to dive in!
<aedornm> Rails wouldn't make much sense for a MUD
<breakingthings> aedorn: a web service wouldn't really make much sense
<Inside> aedorn: well not really a MUD
<Inside> Have you played kingdom of loathing?
<nga4> just write a mud game like mud games used to be written
<aedornm> breakingthings: Nonsense!
ndboost has quit [Remote host closed the connection]
<Inside> I suppose at first it would be just a very simple html-page with nothing fancy -- just various buttons that could be hit to perform actions. Eventually add in very minor graphics to spice up the interface so it's not all text-based.
<breakingthings> aedornm: I mean, you -can- do it, but it would be messy
<breakingthings> it would be easier to have an open connection
<breakingthings> like a streaming server
<breakingthings> or WEBSOCKS
<breakingthings> because socks deserve to be on the web
<breakingthings> just like the other underwebs
<Inside> aren't sockets not supported by all browsers?
ndboost has joined #ruby
serhart has quit [Ping timeout: 252 seconds]
nfk has quit [Quit: yawn]
statarb3 has quit [Quit: Leaving]
<breakingthings> there's quite a few ways you can do it
timmow has joined #ruby
<breakingthings> just not really too well with a static web service
<breakingthings> because you'd have AJAX mess errywhere
<breakingthings> so you'd have to websocks or streaming server or...
<Inside> flash or something?
<breakingthings> but yes, it is possible.
* breakingthings shrugs
<breakingthings> I assume there should be a way that involves js
sam113101 has quit [Quit: WeeChat 0.3.8]
<Inside> Poo.
<breakingthings> just not particularly well done with ajax
<breakingthings> flash is a pain but you can use it
v0yager has quit [Remote host closed the connection]
<breakingthings> but then you're working with flash
<breakingthings> so you might as well give up at that point
v0yager has joined #ruby
threesome has quit [Read error: Operation timed out]
<aedornm> so much flash hate =p
<Inside> :P
sam113101 has joined #ruby
<breakingthings> eh, there are just better ways to do it these days.
MrZYX is now known as MrZYX|off
<breakingthings> flash would just make it heftier.
<Inside> I've never seen a flash app that didn't lag like crazy on my ancient PC
Tricon has joined #ruby
Vektur has quit []
slapt has joined #ruby
<breakingthings> especially for something like a MUD which isn't graphic intensive
<Inside> hrmm
senayar has quit [Quit: Quitte]
<Inside> Yeah, wouldn't be graphic intensive at all. Graphics would definitely be involved, but I'm not sure to what degree.
niklasb has quit [Ping timeout: 258 seconds]
<breakingthings> probably limited to map, with possible art for interaction or whatever.
<breakingthings> regardless
<Inside> yup, pretty much
timmow has quit [Ping timeout: 252 seconds]
<breakingthings> you're gonna have to figure out what approach you want to take
randomor has quit [Remote host closed the connection]
<Inside> Although some streaming of information about things like HP or when you can make the next special attack, etc, would be paramount.
<breakingthings> i would suggest you do some research on websockets with js and see if that will work
<breakingthings> shouldn't need to stream all of that
<breakingthings> mostly position and HPs
<breakingthings> clients can do the rest
<Inside> True true
niklasb has joined #ruby
<breakingthings> if websocks don't work out for what you need (I think they probably should, but I've never used them so who knows), you might be able to fall back to a streaming server that interfaces with JS, or sumthin.
Domon has joined #ruby
<breakingthings> or maybe both, who the hell knows.
<breakingthings> I don't.
<Inside> christ, may be over my head here.
chrishough has joined #ruby
chipotle_ has joined #ruby
techlife has quit [Ping timeout: 256 seconds]
cupakromer has left #ruby [#ruby]
npx has quit [Quit: npx]
<breakingthings> Interbutt streaming is a toughy
<breakingthings> I tried a streaming service once
<breakingthings> the streaming bit was the hardest part
<breakingthings> eventually put it on the back burner
nga4 has quit []
slainer68 has joined #ruby
niklasb has quit [Ping timeout: 256 seconds]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
chipotle_ has quit [Quit: cya]
justsee has quit [Client Quit]
jgrevich has quit [Ping timeout: 255 seconds]
jgrevich_ has joined #ruby
freeayu has quit [Ping timeout: 246 seconds]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
techlife has joined #ruby
binaryplease has joined #ruby
freeayu has joined #ruby
tomku has quit [Quit: WeeChat 0.3.9.2]
cisco has quit [Quit: Leaving.]
ndboost has quit [Remote host closed the connection]
chipotle_ has joined #ruby
slainer68 has quit [Ping timeout: 240 seconds]
techlife has quit [Ping timeout: 276 seconds]
bradhe has quit [Remote host closed the connection]
huttan has quit [Read error: Connection reset by peer]
huttan has joined #ruby
tomku has joined #ruby
andrew12- has joined #ruby
adkron_ has joined #ruby
techlife has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.0]
`p has quit [Read error: Connection reset by peer]
tylersmith has quit [Quit: tylersmith]
`p has joined #ruby
tomzx_mac has quit [Read error: Operation timed out]
adkron has quit [Ping timeout: 264 seconds]
Yakko has joined #ruby
HecAtic has joined #ruby
pencilcheck has quit [Remote host closed the connection]
fschuindt has quit [Quit: Computer has gone to sleep.]
shammancer has quit [Quit: Leaving.]
shammancer has joined #ruby
jeffreybaird has quit [Ping timeout: 248 seconds]
cyong has joined #ruby
ttt has joined #ruby
drumsrgr1 has joined #ruby
jlast has quit [Remote host closed the connection]
jlast has joined #ruby
hakunin_ is now known as hakunin
jpfuentes2 has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
charlie_ has joined #ruby
wargasm has joined #ruby
wargasm1 has quit [Ping timeout: 245 seconds]
Turkishviking has quit [Ping timeout: 256 seconds]
jlast has quit [Ping timeout: 256 seconds]
atyz has joined #ruby
kofno has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
brhelwig has quit [Remote host closed the connection]
mahmoudimus has joined #ruby
atyz has quit [Ping timeout: 264 seconds]
sleetdrop has joined #ruby
ukd1 has joined #ruby
v0yager has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
Hanmac1 has joined #ruby
rickmasta has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Hanmac has quit [Ping timeout: 260 seconds]
sambao21 has joined #ruby
heftig has joined #ruby
rgbdev has quit [Quit: rgbdev]
bigoldrock1 has quit [Remote host closed the connection]
_veer has quit [Read error: Connection reset by peer]
Bofu2U_ has joined #ruby
Bofu2U has quit [Remote host closed the connection]
Bofu2U_ is now known as Bofu2U
pac1 has quit [Ping timeout: 245 seconds]
Nullable_A has joined #ruby
NullableCX has quit [Read error: Connection reset by peer]
tish1 has joined #ruby
_veer has joined #ruby
Nullable_A is now known as NullableCX
tish has quit [Ping timeout: 252 seconds]
kornnflake is now known as kornnflake_zzz
douglarek has quit [Remote host closed the connection]
beneggett has quit [Quit: Computer has gone to sleep.]
slapt has quit [Ping timeout: 276 seconds]
jlast has joined #ruby
hoens has joined #ruby
<Inside> breakingthings: http://www.reddit.com/r/gamedev/comments/1ai2sg/webbased_mudlike_game/ basically what I'm looking at doing
Yakko has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
fire has joined #ruby
joofsh has quit [Remote host closed the connection]
drumsrgr1 has quit [Ping timeout: 276 seconds]
aed has quit [Quit: aed]
tealmage has quit [Remote host closed the connection]
kevinfagan has quit [Ping timeout: 245 seconds]
brhelwig has joined #ruby
jlast has quit [Ping timeout: 246 seconds]
kevinfagan has joined #ruby
ukd1 has quit [Remote host closed the connection]
jetblack has joined #ruby
tay1 has joined #ruby
ukd1 has joined #ruby
tay1 has quit [Read error: Connection reset by peer]
tay1 has joined #ruby
emmanuelux has quit [Remote host closed the connection]
Bofu2U has quit [Remote host closed the connection]
DrShoggoth has quit [Quit: Leaving]
SilverKey has quit [Quit: "Sleep now."]
Artheist has quit [Remote host closed the connection]
ozgura has joined #ruby
idletom has joined #ruby
Opettaja has joined #ruby
crimezone20xx has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
crazysim has quit [Ping timeout: 245 seconds]
Voting has quit [Ping timeout: 252 seconds]
<idletom> anyone help me why this is giving me syntax errors
tish1 has quit [Quit: Leaving.]
tish has joined #ruby
beneggett has joined #ruby
<idletom> nm got it
crazysim has joined #ruby
vickaita has quit [Ping timeout: 245 seconds]
Virunga has quit [Remote host closed the connection]
ukd1 has quit [Remote host closed the connection]
ukd1 has joined #ruby
Opettaja has quit [Quit: WeeChat 0.4.0]
chipotle_ has quit [Quit: cya]
beneggett has quit [Remote host closed the connection]
cerito has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
jrajav has joined #ruby
brum has quit [Read error: Connection reset by peer]
atyz has joined #ruby
yashshah- has quit [Read error: Connection reset by peer]
yashshah- has joined #ruby
frosks has quit [Remote host closed the connection]
mikepack has joined #ruby
cerito is now known as TrueniTo
lewix has quit [Remote host closed the connection]
atyz has quit [Ping timeout: 258 seconds]
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
lewix has joined #ruby
tylersmith has joined #ruby
roadt has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmith_ has joined #ruby
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
sayan has joined #ruby
mikepack has quit [Remote host closed the connection]
slapt has joined #ruby
TrueniTo has quit [Quit: TrueniTo]
breakingthings has quit []
drumsrgr1 has joined #ruby
kiwnix has quit [Quit: Leaving]
eAlchemist has quit [Remote host closed the connection]
<A124> Hey. I'm looking for an SQL/NoSQL database that can run as a part of ruby / standalone server with some decent memory limit of around 50MB. Would you give any advice what to look at? :)
lewix has quit [Remote host closed the connection]
Voting has joined #ruby
jlast has joined #ruby
austinbv has joined #ruby
subbyyy has joined #ruby
adkron_ has quit [Ping timeout: 240 seconds]
ukd1 has quit [Remote host closed the connection]
Quebert has quit [Ping timeout: 258 seconds]
joshman_ has joined #ruby
Stilo has joined #ruby
PanPan has joined #ruby
adkron has joined #ruby
idiocrash has quit [Remote host closed the connection]
Beoran_ has joined #ruby
Beoran__ has quit [Read error: Operation timed out]
jlast has quit [Ping timeout: 264 seconds]
jeffreybaird has joined #ruby
Funcoot_ has joined #ruby
<Funcoot_> Can someone take a look at this small code please. http://pastebin.com/vhpkSeH9
<Funcoot_> I get an error that says name is an undefined method, but I don't know why it is returning that
danslo has quit [Quit: danslo]
jeffreybaird has quit [Ping timeout: 264 seconds]
austinbv has quit [Ping timeout: 252 seconds]
joshman_ has quit [Ping timeout: 258 seconds]
drumsrgr1 has quit [Ping timeout: 256 seconds]
eAlchemist has joined #ruby
lewix has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
adkron has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
zubov has quit [Remote host closed the connection]
BizarreCake has joined #ruby
<Boohbah> Funcoot_: Shores.name is calling the name method but you haven't defined a name method. look into attr_accessor to define methods based on instance variables
austinbv has joined #ruby
angusiguess has joined #ruby
<Funcoot_> I finally realized that. Rookie mistake, thank you Boohbah for pointing that out to me.
hbpoison has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
vickaita has joined #ruby
pdtpatrick has quit [Quit: leaving]
pdtpatrick has joined #ruby
<Boohbah> >> class Foo; attr_accessor :name; end
<eval-in> Boohbah => nil (http://eval.in/12934)
<Boohbah> >> foo = Foo.new; foo.name = "bar"; foo.name
<eval-in> Boohbah => /tmp/execpad-11ac2563d8cc/source-11ac2563d8cc:2:in `<main>': uninitialized constant Foo (NameError) (http://eval.in/12935)
<Boohbah> heh
<Boohbah> >> class Foo; attr_accessor :name; end; foo = Foo.new; foo.name = "bar"; foo.name
<eval-in> Boohbah => "bar" (http://eval.in/12936)
<Boohbah> bar!
vlad_starkov has joined #ruby
bubblehead has quit []
macmartine has joined #ruby
austinbv has quit [Ping timeout: 252 seconds]
angusiguess has quit [Ping timeout: 258 seconds]
atyz has joined #ruby
Davey has quit [Quit: Computer has gone to sleep.]
gf3 has quit [Changing host]
gf3 has joined #ruby
tylersmith_ has quit [Quit: tylersmith_]
vickaita has quit [Ping timeout: 252 seconds]
austinbv has joined #ruby
divout has joined #ruby
Davey has joined #ruby
jrhorn424 has joined #ruby
MehLaptop has joined #ruby
atyz has quit [Ping timeout: 258 seconds]
vlad_starkov has quit [Remote host closed the connection]
jrajav has quit [Quit: I tend to be neutral about apples]
rickmasta has quit [Quit: Leaving...]
cibs has joined #ruby
wallerdev has quit [Quit: wallerdev]
Domon has quit [Remote host closed the connection]
rickmasta has joined #ruby
xcv has joined #ruby
brhelwig has quit [Remote host closed the connection]
brhelwig has joined #ruby
zack has quit [Quit: zack]
<A124> Hey. I'm looking for an SQL/NoSQL database that can run as a part of ruby / standalone server with some decent memory limit of around 50MB. Would you give any advice what to look at? :)
<xcv> A124: What do you mean by a 50MB memory limit?
<xcv> Do you mean that your dataset won't exceed 50MB in size?
<`p> thats how I read it xcv.
Inside has quit [Ping timeout: 260 seconds]
<xcv> A124: In that case, you should be able to cache almost everything and use the database mostly as persistent storage.
hbpoison has joined #ruby
<xcv> Postgresql is a solid SQL DB. For a small dataset, the differences between SQL and NOSQL mostly boil down to how you want to represent and query your data.
<`p> Probably has a max size of database available
<`p> err a 50mb max size of database allowed
<xcv> (of course there are other differences, as in ACID)
<xcv> like a limit imposed by a cloud provider or the like?
ARCADIVS has joined #ruby
sandGorgon has joined #ruby
macmartine has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
threesome has joined #ruby
austinbv has quit [Ping timeout: 264 seconds]
<Funcoot_> Boohbah: you still here?
<Boohbah> Funcoot_: i'm still here
<Funcoot_> Boohbah: I was wondering what you're suggestion would be to automatically add each instance of Resort to the Pstore. http://pastebin.com/MHSatWjN
hemanth_ is now known as hemanth
jlast has joined #ruby
<Funcoot_> So say I create 5 different instances of it, I don't have to go ResortList[Shores.name] = Shores ResortList[Boardwalk.name] = Boardwalk
rippa has joined #ruby
phed_ has joined #ruby
radic has quit [Disconnected by services]
radic_ has joined #ruby
<Funcoot_> etc
<A124> xcv, `p: Yeah I have no limit. It's memory limis not storage. As I'd like to have it not resource hungry. Also the dataset is simple but querries of type, find duplicate values in colmn X, where Y >20. The rows are to be in milions
<`p> what are you doing??
<`p> millions of records
<A124> File management system
<`p> oh
jrhorn424 has left #ruby ["Textual IRC Client: www.textualapp.com"]
<Funcoot_> Boohbah, I was thinking of making an array of the instances of the Resort class, then making a for loop that goes through each element, makes a transaction for each element and adding it to the pstore, but that sounds really inefficient
jdolitsky has quit [Remote host closed the connection]
phed_ has quit [Remote host closed the connection]
<xcv> A124: Tight RAM limits will slow any database system down, not sure how feasible it is to run queries on such a large dataset with so little RAM... But Postgresql can go as low as 32MB
<xcv> but you'd probably be better off checking out the freenode channels for each of the major databases and ask around there
jlast has quit [Ping timeout: 252 seconds]
<A124> xcv, `p: The memory limit is not mandatory, but would be appreciated to have a smaller footprint. Transactions per second are not much of an issue, if I'm able to querry the DB. I'm open to any suggestions. I'll probably will develop the system based on sqlite3, then move onto something else. But the querry /sort ability of the DB as well other parts are better to be known in advance
<bnagy> do not develop on sqlite
<bnagy> unless you are an insane lunatic
<bnagy> it's a pile of shit
<A124> Calm down!
<A124> Develop, not use
<ddd> you should be developing using the same db as what you'll run in production
<ddd> so if you're not going to use sqlite3 in prod, don't use it in dev
<bnagy> it's large amounts of work to move from crapqlite to a real db
<A124> ddd: That's why ask about DB now :P
<bnagy> just dev on your target db
brhelwig has quit [Remote host closed the connection]
<A124> I'm developing now only the non DB related code primarily
<bnagy> relational queries across 'millions' of rows you need an SQL db imho
<`p> i agree ^
<bnagy> so the only two really worth looking at aer mysql and postgresql
<bnagy> imvho postgres is Just Better
<ddd> (or oracle depending)
<bnagy> btu I am not a dba
<ddd> though I'm a postgresql fan myself
<xcv> A124: I can recommend Postgresql (we use it at my company) as a relational DB,
<`p> i was gonna say postgresql from the start but was waiting to see what everyone else said i'm not that experienced
<xcv> one great thing postgresql has is a transactional DDL
<A124> I was at the birth of ArangoDB (AvocadoDB) and I think it's capable. But as for versatility and ease of deployment I'm looking for others :) I'll check postresl definitely, thanks xcv :)
<xcv> which is great when you have a huge dataset
<xcv> no prob!
douglarek has joined #ruby
douglarek has left #ruby ["离开"]
<xcv> the dudes in the postgresql channel know much more than I do, of course
<xcv> but I think I can safely say it's technically very solid and people are generally satisfied with it in production
dallasm has quit [Remote host closed the connection]
<A124> Btw: sqlite3 is nice.
jdolitsky has joined #ruby
<bnagy> no.
<A124> Nothing to worry about, although it's a crap, when you just focus on the rest and no devel on DB side yet. Except storing data
hogeo has joined #ruby
<ddd> xcv: plus its compliance levels within the sql standards world is better than most others, including mysql.
<A124> mssql is best
<A124> (just kidding)
vlad_starkov has joined #ruby
girija has joined #ruby
<ddd> anyways, as fast as i came out the dark, i shall fade back into it. time to rack out for the night. night all
lguardiola has quit [Ping timeout: 245 seconds]
<A124> ddd: Good night, sir!
<xcv> good night!
angusiguess has joined #ruby
austinbv has joined #ruby
yashshah- has quit [Read error: Connection reset by peer]
yashshah- has joined #ruby
Opettaja has joined #ruby
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
angusiguess has quit [Ping timeout: 246 seconds]
jekotia has quit [Quit: ChatZilla 0.9.90-rdmsoft [XULRunner 18.0.2/20130201065344]]
atyz has joined #ruby
lethjakman has quit [Ping timeout: 245 seconds]
lguardiola has joined #ruby
lethjakman has joined #ruby
ananthakumaran has joined #ruby
atyz has quit [Ping timeout: 248 seconds]
austinbv has quit [Ping timeout: 252 seconds]
Domon has joined #ruby
lguardiola has left #ruby ["Leaving"]
sayan has quit [Ping timeout: 255 seconds]
juarlex has quit [Read error: Connection reset by peer]
apok has quit [Ping timeout: 258 seconds]
juarlex has joined #ruby
jonahR has joined #ruby
roadt has quit [Ping timeout: 258 seconds]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
brhelwig has joined #ruby
tommyvyo has quit [Quit:]
Akuma has quit [Ping timeout: 246 seconds]
bricker has quit [Ping timeout: 245 seconds]
lewix has quit [Remote host closed the connection]
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
cads has joined #ruby
browndawg has joined #ruby
eAlchemist has quit [Remote host closed the connection]
eAlchemist has joined #ruby
brhelwig has quit [Ping timeout: 264 seconds]
<cads> hey guys, what is the difference between the ruby channel and the ruby-lang channel?
atyz has joined #ruby
<banisterfiend> cads: people ask less daft questions on #ruby-lang
hemanth has quit [Read error: Connection reset by peer]
hemanth has joined #ruby
sayan has joined #ruby
eAlchemist has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Akuma has joined #ruby
jgrevich has joined #ruby
bricker has joined #ruby
jgrevich_ has quit [Ping timeout: 260 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
kofno has joined #ruby
<cads> banisterfiend: heh
ohno` has joined #ruby
<ohno`> agrillio mellish. Blakes my bog. kedda mah go go
<ohno`> mageezik Does anyone heck teck the rooga beega bagga?
<ohno`> Hebber master hoon a ferr fee. Hilly a mackhole.
<ohno`> The shiny dot in the middle of a liddle
<ohno`> light, of the middle of a lep lep lains!
<ohno`> Gotta get that schit ass shcrap biteoad. Ruproudj a
<ohno`> malef loo Moistie bather. riberian schmecklef Mulla Malee loo
<ohno`> lup the new flood wars. Chuddy dip, chuddy dip,
<ohno`> chuddy microchip. Bucka lucka loo, bucky lucky blay. Bucka
<ohno`> lucky blay lee. Burpaline: The wonder world. Salmy magoo
<ohno`> goal greggats Rump duh duh duh dump, duh duh
<ohno`> duh demp doop dump, runna nuh nah Riggity ass
<ohno`> gaggags i nick Roddan raldwell Roady carewell reggal mahole
<ohno`> Rup tup shmelly smelly shmebb ub. Roady farewell rose
<ohno`> bose mahaggal. A pocahontas watch Blubbity ash hoosh her
<ohno`> mellopath. a Maticake for my buddy andy Oh we-heh-heh-hell
<banisterfiend> ohno`: not bad
<ohno`> f ` & * - g 3 T ` ^ * > " ; [ u w , F C u n ^ A K d U v S Z d c 7 Z u F H b ! g / . <
<ohno`> v S c H `
<ohno`> ~ < a 3 i x W x u , G | } j Z Q [ Q k j d J & t T - ~ % u d * - l F + x 2 * ! R z W j e h `
<ohno`> * p t C H | c 9 _ 0 S o < Z * w M q { F 5 K | > s - e L K | { u ' ? y u h k s L ; $ F K D r r 4 p D
<ohno`> ( s % f >
<ohno`> [ 4 o q
<ohno`> c ` _ ` 2 l D X ) ( < & ; " 6 $ ` ; 1 y ~ - n Q ( K ' ; t a u s 1 I 0 - ] ; B S | ^ i w 3 p + > {
<ohno`> V - - l D & N 8 N = # p T Z v p * N > { v j \ y & y N ) " [ $ p \ w @ ` J m 4 O S X C _ 8 p % A
<ohno`> . M F 1 G
<ohno`> y " u t
<ohno`> E Z H h g X 2 ` K K P - 8 n w U J a $ k l | | N v [ = Z G w K V ( i @ k E T 8 * Q - 5 " L K e z
<idletom> ..
<ohno`> _ a < k Q ~ < p ) F Y q e ? R 7 t { ` @ ] Q . _ y g i y G C ) " p [ : R i 6 N ~ t " I ; $ p 4 I j
<ohno`> | A x W
<ohno`> } R ? H
<ohno`> G 3 + . 3 Y o L Z h H r a ) P r e , u U z ` ' o h } W | ] p ^ z i E N \ b t w D J U ? ? e O N m O
<ohno`> : m ' S H . z \ " O < $ K ( E . U > l E - L R < Z < I T t a a ? \ < | V W s A Q ( ^ U W a
<ohno`> ] u m
<ohno`> N B N v : P p B l { : Q i ^ n X U ^ Y _ O f N o m u D * H p ( o y K E u ` : g % f @ B * c . O = b : A
<ohno`> < O n
<ohno`> { } H ]
<ohno`> / R _ ! N ' { h b X ] & h H E P Z ) x ] _ l [ r x s & E < V C 4 m P . l z j L ~ B k . P $
<ohno`> | X P l J o
Voting has quit [Ping timeout: 240 seconds]
<ohno`> 4 D ) q J ` J > ] ( , D 7 M | ` ! C I > L p h ~ s l Q s C ( 4 v n N Y K q P o % - I - d ' c ~
<ohno`> v m R }
<ohno`> n o I ' ] v L } N u 0 / F U . q & - l X ' D O * c t " i a O o K H n = S c = Q = < ' e " ) L ~ ! i
<ohno`> { L ' a
<ohno`> . q h G t w m $ - q U > " 6 J n J ; b 3 8 : X j _ : y l * g r . ( > K e ~ Q f r : A W I j ; U
<ohno`> ` q V K O
<ohno`> n J X U A f # [ c O A & @ m A X + H # w . N A d * & N i _ } R . C X " l c T > h K 2 G y ] < O 7 g ,
<ohno`> , d S a .
<ohno`> M z b ' ? u V k _ G t q - u / ? e d V d = # o = ) > > [ K / O v ) O & r # V p " D : > z + r
<ohno`> 0 ? b = @
<ohno`> P 7 y i F a t < x B c ] ` 4 & + ; t P n 7 + A U . j I M ~ Y q & l v b ! + 2 % X < j L I ; p % V / s _ x
<ohno`> m F g t
<ohno`> = + j ] g x ; h h # ` A R + q } g @ ( \ u , H z H P I g { T " _ K r K { o Y n P / 8 U 5 e ' y L
<ohno`> g A F u
<ohno`> w ; , ) j y N _ # c l p , N A i I ] G v ` | + m ; U - < j K L \ F v l f { a q / j O ^ @ - B ' n (
<ohno`> J ; M U
<ohno`> n j U @ 0 h x ~ i Y k @ U } c ? \ u . , Y y X ^ @ 2 E [ T B ! M E i ! Y X @ ] D R < T C I + h N K $
<ohno`> ( [ O f
<ohno`> W o 6 # j . p | x \ j l c D ] c ( F W ! 4 a & d g & ! r , j r G C " [ ~ K - < s h a e ; " U
<ohno`> 7 Z <
<ohno`> r f O F $ 0 g b c x % B D / L + N @ : A M 7 f F I " E " W z % w E ( o Z i 3 U G N ^ j V V l
<ohno`> t T n F C E
<ohno`> @ j K . ! W V T i 2 W K ` c ? D ? t b I L i @ N m r % F I @ Y h u ! I ! k | . # b * o u > X ( I {
<ohno`> g [ 5 p
<ohno`> y o U Q o + ^ b # e $ ^ m s E % w c y d 6 e ] S t ; u n { W ) X > o : } W $ W " K _ 0 S - B k e
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<ohno`> K O , j F
<ohno`> H q $ # m G o v v M t O % K _ 7 F ; V D < e a M B g k T v 5 % # L y & r R b , K X ( = 7 d t C T
<ohno`> & J s }
<ohno`> k p > D $ 9 ' S h Z K Z % 5 [ J ) K f J 3 > E ? ; " E d V n j r $ [ ) C @ I ? b F - \ < : \ U (
<ohno`> o ) } g M
<ohno`> N ( q H v v u I $ M y D ] - < F ' 9 C - ; T g # J J I ) K D u C G 6 j < k H Q H Y L M s s s ? k Q s t
<ohno`> 3 | B v f
<ohno`> D c ( + S . { a V ' Y z D Y " J u % ' I p Z V 8 _ * J y A M l S g a m f A $ % % i " i ' ; H r C
<ohno`> l k I F z
<ohno`> u _ V w m [ < k \ l | F ; c & / L G = p w q 9 # H v A Q I x \ { , C P e ] N $ l | Q U e y l f i y U
Nimsical has joined #ruby
<ohno`> p ~ " "
<ohno`> 7 , } k Q [ ) c ! a i ! c ' [ m r f y = V A * c X # Q " b \ k q m 5 T N , H ? & f B J B v & A " , (
<ohno`> o n n
hogeo has left #ruby ["Leaving..."]
<ohno`> m U \ v O k : w + 5 r , F D 8 u = # F V D ) t P y < } o & r E ^ * f t m D z V p | . v ' # G 0 Y
<ohno`> a b - ] J c
<ohno`> r b V N O m U 1 F ^ w Q w n A + Y n | & U l ? C z k K H y r h j Q F > m T - ? ; I z y v F j \ q B w d
<ohno`> P T ! q "
<ohno`> ~ O O [ y m t e | 5 h U R O [ , - ; K $ + a 9 r ' _ j # O x 8 p E { , i ~ U i u c ` E P a E ~
<ohno`> Q + 4 z V
<ohno`> | Z D L d F s ( ' { w 9 / k z K c 6 9 . g / i O . l c 5 I t 1 t = U l H h & , R U M u ! O p c
<ohno`> n % > {
<ohno`> b S 3 t > z a O h ~ g H + E S q w ; ( A k P [ ^ A M S . = X > N C + = n j K t G $ K R * & : " % 1
<ohno`> W p k 2
<ohno`> B p H N = @ & j a @ x ^ f s W ) h y W . ^ V m H D B p # P . < ) @ 5 Y G > G u 3 S : % i < 8 )
uris has quit [Quit: Leaving]
<ohno`> I c T < ^
<ohno`> } ? ; s v ` : v h u z N q h n 7 0 ! I } p a 2 R p b t c r l v l L B B C H D s k l D " ; z o 8
<ohno`> W H I q i
<ohno`> < ) } A 3 S a J C 5 r i & i [ A D . > [ ` o u R ) - | W D , A , ' ? V S ' ^ & W S V V e = Y i . w ;
<ohno`> z K ' / C
<ohno`> & % . M U 3 C j U T a 7 A ^ X } 2 @ R { + 6 } U + x ; V S r m h U ' } [ F u ! b b Z : ? X U \
<ohno`> Z T B c m
<ohno`> M < 6 T 6 = ! ] : q h t z B r < t Y & # d 0 _ u M q ( T a t ) ; l H V = A [ ) f t } O P B ! o
<ohno`> u $ b {
<ohno`> [ } h I P ] V B ' ] k C j I e % W p S } % ~ 4 ) Q i R = s , l ) - # . w < Y i ? 1 < G , l t M _
<ohno`> \ t f T
<ohno`> + r S V Z K i l E i m q 0 y ^ ( M I R n / n 1 ! < { G : P q S U S k 5 ; 4 c [ 9 Z ; < d
<ohno`> + % V .
<ohno`> ` Y / * i d | s | 3 g N s B = Y > x [ F R ~ G J * ! f K d T j H a J T ! A Z [ h ' i j } ] /
<ohno`> r X 3
<ohno`> } = r l { f F . Q " ( @ A i - & : j x [ K _ # " ? ^ O # , C } & 2 ` X R . \ % K < o C W T ! z
<ohno`> ( 3 ] ` #
<ohno`> 9 = L A a P / g q P } > # P U j J o N x Q d 3 I " { J [ e L 1 q ! , O V ` N u r P i A b L
<ohno`> F ! { :
<ohno`> # ' W T S V | b ] ] < g " G Z ^ = B v e : i } } . & % > Z ) > . * x r a z G j . S u c 4 V , % i
<ohno`> N ? [
<ohno`> X " I y s F o C = 5 ; n k K Q k ` J K ; < , S m G m I @ ' } M X y * f K - O f 7 > D | y S
<ohno`> * B N p
<ohno`> I X < n k \ w ^ i Y \ } 8 ^ : ] w ) { > 0 ` S D B B p z ? P ~ [ - m | ~ i h % r = $ ; m \ Z
<ohno`> ! ' Y
<ohno`> . Q V G P w R | < + J U u + V P K H X a & 3 N t M ) j r s D - ` R ( ( 1 z v R 9 K x D - @ * '
<ohno`> T X 2 W
<ohno`> H } } P } \ 0 ' j r M u M < r . x l g % X y Y s R _ H % e ` T ' y ? U H { J ^ ~ . ] Q d y , : S f
<ohno`> u J J
<ohno`> ) G r K c ( ! . ~ i f < / ] = ^ | 5 t . , B a Y C ` K ) e ( ( ' b [ 4 % G I 2 h % I Q ( z \ y ` > =
<ohno`> 0 q E \
<ohno`> C [ o U Y $ t v U v | - T W 4 ; ; ? 0 G > { ^ ` | Y y < G w : | & " ' Z _ z N O ( Q = f a @ ] s B [
<ohno`> s ) ~ H +
<ohno`> K L + ^ " 3 L t I Y l H . t z & l = % | i | W x G = h K w k H R I | * C ^ 5 y < Z o N r : < }
<ohno`> e F $ 6 Y
<ohno`> U m T W = z s Q T n h @ G I r Z M L J | u ? ` p H w K O } w S = ` , # > s h ? H ; q E F ] n S @ ~ E
<ohno`> & d < e
<ohno`> ~ ] y 2 O e ( Z v F . p I ( Y h N m v | & Q 0 ' ` / N d o & S z " 3 - E q z 7 7 F ~ ! , 1 V $ x F b
<ohno`> ? F |
<ohno`> f q B z V G N & K @ T k P l n m A j B E F : r P " = + d R a q @ w P G P ^ ] 8 y ^ x N A D C ? U x r
<ohno`> M j
<ohno`> " k E . s t ; w E @ ` 5 z = j ` j $ k K N [ S # ` - G v # f ; = V ( y - V v d a I , t K D a
<shaman42> fuck is that shit
<ohno`> R c C ; +
<ohno`> # p " 5 0 h " R q R F w ` g x V n ? S F | m / L V # < # h I j ( t y ` r } 2 m U - V ; C 8 P f
<ohno`> % < >
<ohno`> $ g { = [ v _ M * a V Y v h { W " ' L s m n p O Q 9 O ; 2 F } w * { O * j * N d # } , { t F ! J K ? |
<ohno`> ~ I - $ X
<ohno`> I C * " ^ e $ F T V ~ L p Y L P 2 ' ' * _ + J @ | ) \ = X . @ ~ p h J s O & O E v k l t ) I =
<ohno`> T e $ =
<ohno`> = d b | ( m Y ] w @ + _ U > ( 4 ) } 3 l ^ w @ ` - / | _ 1 A ^ A - - ) D ~ 3 f E % { ] H b p
<ohno`> V ( ] z
<ohno`> E R | N = r " T s i E + * D ? $ > Y & \ x j Z W w f D x o ) " a f + 9 @ C 9 U n p a m 4 * % . $ D
<ohno`> P ` H I
<ohno`> / s o e * h f t x o T - d } R / i i s } [ a L x s F > [ 2 - D v ? . | s G q 5 & G g [ _ f F =
<ohno`> l T T t 3 (
<ohno`> U , z y ! _ ? M F y D d } < W ] { @ k ^ i z ' s j ` < n k G % 1 D p P y " < F ] X 3 s j m / z f #
<ohno`> = 4 q ?
<ohno`> " $ @ ` M * E C = 7 g % Z ~ H + D N z s D / r ` a Z f . ` M y T 7 F k ! $ { ( o / u T ' ' X % e
<ohno`> d n < % }
<ohno`> M m I I < : D [ 0 + , p ; ' c < o & n < " J j | M N @ A w W @ v a o s ! { ^ S b I - I i , I { 2 / f c
<ohno`> h D ~ f o
<ohno`> M T [ ' | V 6 ( = e } m J R V + ] ) o W Q ~ 1 m [ T ! 8 U k [ v Y v i G X c & ` c 0 H S b P W
<ohno`> Z c O h < :
<ohno`> W q w , M W b Q ? y M * v c . f n | . # , n # % G } { k T ` _ W ! p V < ; I ! * A Q , T J r R
<ohno`> [ $ z
<ohno`> S m B { l b E R < > I g ( H z ] e ' f F = > , P z e ? E I O a ? - E a D f X V + ? h r J [ | # m
<ohno`> x ? P s
<ohno`> f q 1 B K { I R { r Q d + ( q t T 4 a : m x * Y M ; q < Q _ . 2 % W w A H | ( f K r $ V G 7 , ^
<ohno`> ; : /
<ohno`> N [ | H f + E % I * f > Z o O F ` K y E A i R T _ : Y R d [ ^ o t # } \ , H ^ f R C > N d A k
<ohno`> P E ] L 3
<ohno`> Q + _ v ` d & ] ? J E [ v r w y \ s _ # \ q { | H \ m Z D } ` . e p y [ t U h Y z x # m
<ohno`> , Z . 9 g
<ohno`> ' ( ) L r V x r Z { " / b e I < ' [ & ( g * @ L I j l 0 i E 3 a I ! d b } , _ T & q % D } : X 3 b
<ohno`> ( < E <
<ohno`> ~ M # W M q L 8 = _ h @ ; c M J B f % 3 r " | W % w a P p { F ` K u + E j Q ^ \ A q v G l
<ohno`> R | ] 8
<ohno`> A Q m 1 f M X a z Q J : | @ ^ = W ^ j x : o N < C ' l b ~ \ : Y ' * @ m k Z = ' j ( t ; s Q [ 1 c C B ] <
<ohno`> m 2 S
<ohno`> w L @ u < s D > N t j b @ i c M ? y T g Y - R p K J ^ i y # ; ' & m C 6 I ~ * w & @ F q e ? m U }
<ohno`> 6 . p z 9
<ohno`> ` G ! { = y A I K e M @ b b a o I T i ( ~ ; r g U " L t @ g . y 7 R N l V Q g | x ~ l ^ $ / Y )
<ohno`> < E ^ \
<ohno`> I p C $ t P g W 6 d % a ) ( + , , H " A N D + ' ! ] h l C v M > ^ I $ < } | G c 7 w L c
<ohno`> 9 Z n Y
<ohno`> P \ $ + ] . X 0 v r L Q x 9 @ N & | R X g . : ! U Y M A o { L ^ V ) g ` l a % C : V _ > ~ h & % g
<ohno`> q s X E `
<ohno`> @ z | & n ) c j e p ` # c ? 2 $ h e p ) e r W , I p + = M I > = 6 D ` y T q + U < \ ' u m X g
<ohno`> D ~ 0 K ~
<ohno`> B q ] x H 8 g d { H - D m v V z s % K @ A V q K } ~ 3 C 7 j X . W " 2 ^ * f h F * g h f H n q q X
<ohno`> @ n t &
<ohno`> O K S G 6 P R q < h ` X * = } B j - g C $ V e U # E f i 9 ^ R . Q h R J z y ( ' c l ? B H ~ B V {
<ohno`> n S ; ~
<ohno`> P 6 q 1 _ L o W > m k f 7 r - : l = - f ] D q ~ | n C e m o U < p Z C T j W l , / F Q ! Q h > [ r
<ohno`> V X l
<ohno`> P Q F x J / _ = l B Y K c { ; V x o y ] / r I c 1 G M z a r = P \ K b F % T $ Y ) 1 ' o t > ? #
<ohno`> L ' .
<ohno`> x u r : p O R b s ? w [ w P I l M s D ? R m e o v ? ) O \ S k T C h Q m | ` I c r = @ A q I b y
<ohno`> & Y w $
<ohno`> D g / e ! A v : C & [ N B x V & H ! t . # I ( # q @ Y ] ( 6 F s [ r N & L ' H ) x { 4 ) F ]
<ohno`> 8 { ; 6
bradhe has joined #ruby
<ohno`> ~ E { z " C ^ ( _ r Z J b v w # " [ D l 8 K P ' b l _ - I N W U u i Z k U x ? l e 6 ! X k q ( ' w H
<ohno`> L ' ;
<ohno`> F s ` M c , t | | r | a X > u u ^ H J W O a % $ G + M = / Y > w P R e < ! e < S { _ x m
<ohno`> q H ; o R
<ohno`> W S 2 D z P . m v ? . _ U y 1 9 i % K C U g H o / Q C D h | ] { d p > G T $ L [ . u _ U a h h X
<ohno`> D h Z /
<ohno`> J d ! L o 6 n X U % O ( f = j ~ ^ - y _ 9 % z D 9 % * p l / s K Y g , } K u ( { \ / + " ~ Z
<ohno`> T + -
<ohno`> C E { : L 3 : K Z 4 _ h . T ] ( = \ u U c V ? S c ) < K | . & ! e = # e C g / B h $ V f m O a ^
<ohno`> - G .
<ohno`> { 9 ( R = w ! a L f d [ V l i y R q " + H s 8 7 K C + r U o . P N C q A < x F F > e ~ - e q | S D
<ohno`> , M I $
<ohno`> F # V 0 : X ' \ ] j f z 2 $ Y V a M D ] + - t n , Z C } g E I D K R < r t J o r 2 $ w # v } ] % x w
<ohno`> j _ B P
<ohno`> ~ Z j ? R d . R G _ E 7 a / W - V = D d C p s v @ m w I I - R G o e C e F V S | w C o A b z =
<ohno`> I E P ! $
<ohno`> @ Z * a A Q ( f < [ m v D ~ w f O K B , W i ^ u p r \ e n ( F G # O 5 t C = z P # U , g ! . v G ; a
<ohno`> \ u
<ohno`> # / , \ R H > \ W ) A r s , y Q E C n S + F M S + M W & G H " | } > $ P H Q $ S 2 h P w } 5 # "
<ohno`> $ s y u X
<ohno`> " w g 6 3 W i d B f f P T @ ? d p U k M Z = B _ b b v U r . ! ~ \ K m > , { _ y t k : ' x v B
<ohno`> b : f
<ohno`> z L w k \ H ( - p N T s / # 2 < c . ; [ J . > H z C | # 4 F N t + = K g 6 V ; > i ? ( | {
<ohno`> H j R k
<ohno`> ' * O > Y p > $ = y O I S b h ` . q ; y ) > V i * ( 6 a p - ] f k l g 6 m ~ * k ] n d | X
<ohno`> I b | I
<ohno`> I f Q , c Y T e : T A = Y ( E T o ] 1 R Q : 2 e 5 q = I I u y k U ' + T 6 ` ~ [ j } t N z z " D
<ohno`> A @ R z "
<ohno`> z g O n 1 N g O T U t X g = A L : W q W z > ` - ! | y _ J _ x P O z 5 N : W J { c O { Q A A
<ohno`> e O & #
<ohno`> p i z 1 ? S s g . R X M F K @ < r u \ Q [ T j m P v , { P e y ~ g w } ; p ( s ! 0 P " F q # m E
justsee has quit [Quit: Linkinus - http://linkinus.com]
<ohno`> @ c n \
<ohno`> E _ ( q 2 n o ( C % C s ( > L K 3 p V t . r K > Y $ \ H " i U Y b f E N } < - : V m / b 3 G R
<ohno`> Q _ e n
<ohno`> ! m s t # | ! Q Y o m W a # p # { D F f R ; ! > J c R * p 4 J @ K j P m o 4 s @ $ $ k + " p >
<ohno`> P c Q S x o
<ohno`> \ ( c \ / ; y R p Y | u - A " @ ? l v G V < t V , 0 H g D 9 ! w > & H ? x \ o k / U > v { b
<ohno`> R e k m
<ohno`> ) B ! E h v " 6 X : D u y { ] F < I [ h e K , s S I t ' ^ & L # z f N 8 q O z U z U , c + @ m
<ohno`> ? x p
<ohno`> # Q d C T V a Q c C G o w G ^ O Z I X W M L { v w O # ^ % V * = l d + W S w Y Q p ) u M r "
<ohno`> w ( G u i "
<ohno`> e Z Z S c 2 W $ + . . V R j M 8 ^ , r I > & ' x S ) [ [ J x Z d z + G q E o W ~ ` n ) b ` o I {
<ohno`> a g l
<ohno`> F P i Z T p - | h : 5 o [ } 9 : F : . Q z | b ^ | q ' S @ E % 1 S W A \ A 6 D 0 y ` { w m , # a *
<ohno`> S ; _
<ohno`> E N " > # M ? " m W ! ! & k O . ` v & c / u ( # v M S + b T L l ! { ~ $ \ " . n / n k G v L
robustus has quit [Ping timeout: 255 seconds]
<ohno`> > X H ( _ N
<ohno`> P < A V l R Y 7 i N w [ r f d ( d & F r & * ' x _ ? V F L z ] T ' @ 7 = f { c % " x [ ( , Z c
<ohno`> F " S
<ohno`> . m 4 r , _ & p U % > C ~ C * O e Z S $ r a ) 0 - - n U _ ' p v b ^ < I e # \ V = M ( e = # N N b
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
<ohno`> t " n
<ohno`> d j S D ( u { e Y % h Z N & " 0 S R 0 S U w { + z & " @ s ' < { K \ 5 b V @ ( ) + 1 ' y x = [
<ohno`> = R u & ?
<ohno`> u L ! e m = > Z _ } z x L i W s u a 1 U s } Q $ [ D : _ T F ^ 8 7 A . i 5 t Q 3 r W y } b
<ohno`> W n I
<ohno`> s > g $ % $ { u k K D h c * X ; I < P < p % t ? { B z S y q " . Q M Q X u o x ' % # e ] \ W [ " +
<ohno`> z #
<ohno`> b / r G h h \ " r C k U o j ? T q V k ` j = a S x 7 * B l S M k N } r y q ; u V Y - ) a P = *
<ohno`> M R ; h
<ohno`> Q i U % j Z ) H @ 9 v ^ Z H | C i V S I c l . e B R Q ! d W i s Q 9 ~ W d F ( > T [ @ L # 1
<ohno`> 3 ? B Y B
<ohno`> Q x 5 D % / t h Z V ! h r V x C P Y + q s l ~ V 8 Q ; 7 p ^ | - > 2 D v 5 T B s z Q O < V 2 X ?
<ohno`> = , ' 2
<ohno`> # = ? . ^ : 3 ~ N b x 5 : ( f ; u ) 6 N u > " & 4 g A M d 2 A P t + h R j e L > G j q s : ) , D
<ohno`> z [ R X ? / h
<ohno`> o ~ % { r L } U f v [ y r i / S ) M + w M l . ( Y a u v Q | e n R < , z U * f W k d V \ j q x S M \ G
crackfu has quit [Remote host closed the connection]
<ohno`> ^ Z Z
<ohno`> K $ _ * H b k y } B r h T z Y a s i { l 5 / @ L k x h b o z w D < d p \ z b { h y | U U l k * W B H
<ohno`> ! n d /
<ohno`> @ - / x U & y T W = Z O I [ U w w c a P E ] # G h b f s ) U t B w M q H b a " b h P 7 ~ 4 ! _ m i
<ohno`> l h
<ohno`> - ] s N ' O A ^ ( < " x < X i D x @ H o ^ g i k ^ K D h K { q " , ; 6 G ! d y N a - < f
<ohno`> G 6 m J
<ohno`> S g K f S ? # P n E V h | t g V % & T ! { K @ $ C G 7 " N \ O z x n + x h - I g a v > A S % Z h h
<ohno`> J @ ^ /
<ohno`> ? 7 o P b H Q ~ | @ ~ v 4 ^ q X v I [ N R Z # % : J T X R W = c 0 q W o R M 0 / W [ C P " j @ &
<ohno`> { ? T
<ohno`> h O \ ( _ w c j w + _ k u ( s k k . 0 f Q S t X s n r P j q | 4 5 ' _ z R ! " I F H 1 u ` Y G E
<ohno`> j ~ N 8
robustus has joined #ruby
<ohno`> z ' + % & U m k X ] C ' * s ) : i * H Y w k j U k i & + { t f 9 f : Q c p P l P H ? % O e ^ h ? Z k l
<ohno`> z / J
<ohno`> B ; z @ } y q h r N K V $ 9 i - K . P C ( w Y % a O z } # * R J c y d k < { m / , P @ > " l J
<ohno`> b x %
<ohno`> { b 4 w + " D c C J % ? F S ^ < f ^ ? L f $ } ! B r q X | b B R W [ d I S 8 & f $ % Y W V h q f
<ohno`> 0 9 = L F
<ohno`> h i ' Z x = : l m } z n N V s 5 K T b " ! Z u ( p # X p d > ( Z M { " D * % ` ' T < 3 [ K a a
<ohno`> G h Z
<ohno`> Q U : ^ R & d 5 G a 3 Y C d y m D z / @ H ) \ Y P g X D M g R m } X , + I 1 l ` E e { n L
<ohno`> H + # J
<ohno`> L , < x g L - ! 7 P ( & B { ^ # \ u " U r ' H J s A 7 W [ ^ ) ? S t Y p P } ^ c ] B x X P
<ohno`> P I s $ p
<ohno`> t o = z ` u y M - k 7 K R v P : ! 6 l K $ q J j ' y K M = ' b g x i C S E A | g J n p M ] f \
<ohno`> + 0 R o z
<ohno`> X C L @ [ + & < " ' ^ i $ & # ) Z x s $ L z ! ^ E M & \ Y / ( O V / \ N e R S S K G T A y \ E 5
<ohno`> $ 8 ^ 8
<ohno`> M [ w L i U + L { K O V o f Z < n = R E # m 7 l ~ b W B _ | Z o & I b I F N , i g p * d [ ) > ,
<ohno`> : b Y ` e
<ohno`> , k N B ] y M " @ s @ ) B h G Z @ a u r Q N } : E 9 ; C L V \ ? M M } = C z l / 2 I Z : o S F Y !
<ohno`> + I e <
<ohno`> d : + ~ P u 2 ? G v b = * 0 v W < j E N / * h _ | < k ' 0 x % O * V @ { > L n { e $ ? < _ V | ( D T q
<ohno`> D , X
<ohno`> ! % i : Z " X q # = ; n ? \ k F I " } P S : ? / ~ [ n a h n n I = s x ; w A : \ ? s D O # p a + s R
<ohno`> o x , ^
<ohno`> . c & c Z S ; L g ' Y ? P f / [ ; w Z x a X > u e ] L Q n j G \ j / = ) ` ~ D , - L Q _ . / | a 8
<ohno`> K V 3 } s
<ohno`> ` i ' q q J ; X B S { - I A C ) D G % W , | 2 ] o y > J U R Q ] * t u F D { E U Z 3 , T t l @
<ohno`> > z { ~ 2
<ohno`> h H t \ n m ' M Y 8 ; ] 3 i [ q X ~ 9 M [ + ) Z _ B f r - X R \ T % / U # k O A l + " J I | d Z K
<ohno`> e x I %
<ohno`> F ` | = 0 " 6 f 7 b n ? / | $ g I E T ) v J 1 M y $ ) m G 4 y K f 2 _ S x ^ E W v M % ` Z q Q n ,
<ohno`> 5 d q .
<ohno`> 7 k z y Z G y ^ j p 6 S 2 ) F } | - { P L < { 1 T , $ q p H ~ " W A ? Z q & t x s F s / U % !
<ohno`> " : $
<ohno`> { d Y { $ K D < B f L ; ` # e j ' k e d l ^ < N t V & , A ; g x w ? J < D q y S + + ? T Q H ' R q
<ohno`> O O j >
<ohno`> d p o B f S \ U ! e { > k v U S Y ~ L % / ; e i P ~ \ H u m g _ e D , z y Y o M < W Q ( " h _ z =
<ohno`> P z ' k
<ohno`> m D Y | ; ] r g W q L K y v U 2 G z 8 ) s < d g R R H o h n g H I * y s a w u ' + 3 % L h 8 R }
<ohno`> D ? S <
<ohno`> , i o / $ ? b E i t Y J & / ( 4 t W c } R k d D ; [ U v l ; G + d [ & ^ > P / 1 ? ~ l s : &
<ohno`> W < \
<ohno`> r Y z k s M y C ] a D c > e o o 9 C X w B # T V ] { y W L D E A _ G L , { R 3 i t t G : Q n z 8 X %
<ohno`> V @ r E
<ohno`> W } Q & r T i % c a m M > d D a H m j & $ 2 e r @ ; ) < x O [ - t c $ R c = : n p ) T v c , / 9 o f
<ohno`> n b J j
<ohno`> 2 , ] 4 } < ; 5 X & { { K O $ | ` [ ^ ( # } v x \ | p [ z - B N x * ) o E K m Y j ] % & , ^ & - r E Y
<ohno`> ' B q d
<ohno`> ] ] G 6 k H \ ` Y O l l ' V k = e 0 ] P I { Y ^ a @ v y - . ' F - * A l p R J B K o L 5 z + _ I e
<ohno`> B a 5 T \
<ohno`> C E 0 : N I P [ I $ o ( o ] r { & e n = M I e I ) > R h Y b \ d V p ; D V < O c y E & D ! "
<ohno`> [ b j
<ohno`> [ b h \ y [ # M . f e > ~ a h C ] & W x f u Q < K O # x } * L $ L m W P X X u @ F m N : v
jlast has joined #ruby
<ohno`> { q r
<ohno`> | b m B X x d m m # I y x J h < & Z M j G o i . 6 > B 5 " T m / [ : W H l Z h t K e ` - c p
<ohno`> " J O
<ohno`> , ; # w 3 9 ? P # t & A \ ~ * V W h E u , T i $ # * { i P p U A & \ s { u ' b S o } = - # % u " x q
<ohno`> I k S :
<ohno`> y > { @ A ] D a h W Z a x a ] 5 J > v ^ { q ) \ - W < n a k ? M : a [ O a h 3 { j a s " x
<ohno`> o ^ % "
<ohno`> M S u ; 0 G D & n ] h ` M U ] B T L ) + 9 u ? U b ( ? [ } o } Q } w , V / U v " 0 6 L % > u C ~
<ohno`> . X \ U $
<ohno`> 9 / % W i $ 8 > X ~ < K o o a / m P : / Y F G ; A e i j l m ~ : ' " F ) B + A \ m g 0 o $
<ohno`> { V + < v
<ohno`> u e F S ! " T = g F O # I _ Y T E C ! E , 3 G 2 w 1 W P 8 + ( # O % . ( S ! 2 j Q . ( E ] ) u z
<ohno`> N [ ^ h D
<ohno`> t . 1 x n M 0 d I m ] E ' A ` < T { e g ^ A ) ! & ` " 9 U < p h * e s C ^ ` % l ! _ N e B w " ] W U
<ohno`> ? C ^ i
<ohno`> W d t Y ; / u _ ^ j # x n ) | ( S F | { r _ V p Z q u F c _ , i ' ^ ^ R N S k b S @ J _ W ~ t H ( J n
<ohno`> p ^ N
<ohno`> f c E , B Y x S Z W < \ ~ } U ( ~ Z + " L Y - N & r R U F D H = $ & n ! : w H W H B { < f o < [ D &
<ohno`> 3 G y
<ohno`> a Q g [ | < 5 ! n j i L @ # % / A , W O [ # = W R _ Z = Q p j Q V % & | U a n . ;
<ohno`> a J H D
<ohno`> M ) u ` 3 p w ( d ` q ~ v f [ ^ [ / : z t I / x C b d r N m d Z # N " A m | s m g O y s H H C I e
<ohno`> & < I [
<ohno`> C f C & = = C 8 k . # [ + H e t j Y e ! _ m " E : C u $ V w @ 7 ^ W * ] 7 N v 0 / ' u $ K ! b m m
<ohno`> 8 ` E
<ohno`> = + c I q < t I O D A = 1 | B + C P Y n ~ x N ; \ O w N w - w a x q s Y = = ? u w o e J < C 4 / = c
<ohno`> t S " K R
<ohno`> I i t p F P * S ! | S " # . e W { i P { q ) V b ( M a S ! e H k % l e e r E Y r ' ? W & R 8 c w H
<ohno`> q F U y
<ohno`> q N } x = i ' ; x M n a Y + r f o F W / ; Y a U | s Q & c U ; 3 T u k g C H w Y O X f G y 3 ^ < T
<ohno`> n T Q
<ohno`> $ s & n C s | | V | J R / Y - [ $ ? z e h 3 ] M l / M e ~ W ? s z m @ S O q * K p D 7 - l > F g l
<ohno`> ` ~
<ohno`> } W N } + t p J v 0 = e j Q W k X f Z i t V B K \ ^ { K ! $ Y F ~ E ( L B > A > & ^ Q k + ? ) 5 + y V
<ohno`> f ! >
<ohno`> y z H $ E J + b ; ; P ) & 0 4 Z . y q J ; { + f = G y X o Q u C M p \ N u z N @ s % ` 0 ! ! g
<ohno`> K ;
<ohno`> C & / W H b C ; _ y m 7 . < G m G B S F c [ y J m N " M G e = _ . # ) _ [ L Q % p H E D R y a i ? ? <
<ohno`> w Z I
<ohno`> Z D ^ s ) i F } A P k n D v & U Y h P | 6 , Z W q L 5 * - I . v . Q Y K V 0 T L Q A V ` o r \
<ohno`> C p X a
<ohno`> < # " X . 0 1 B : { I T I W R v V } b * J q d > g B a L m H m p r q k C Q - > m J " y A } U
<ohno`> 7 E a : a
<ohno`> Z w A D < V C > H I V q J ; a & . # \ 2 K b k E % O = p ; k _ W A T . % I | ^ g K 7 V & ; # ^ ( Y n
<ohno`> o V r [
<ohno`> m k , g e 3 | , ` e a : W | . P H + P E N A ) ' H < e C o | T 7 ] f ' v & h G ) ) k K d @ n
<ohno`> | o | W %
gtmanfred has joined #ruby
<ohno`> ] p ] ^ ) % B c y g ~ 9 ^ g / x _ Q d V M N \ N ] J S - % s o r ( u r < p i G ; ( , M F r k M ] k
<lushious> cool story brah
<ohno`> @ , m
<ohno`> P i A w ? " & s G D ] E F ` S b B } g t ; ! ; : + t i z p K K & h y q y : k K P d p } m g w
<ohno`> V @ G . H
<ohno`> v # A t , s ? r ' p L G w m N h z + f Q F k ! ~ n X & \ F [ , ? Y e C H k K i 9 T U Q h J C \
<ohno`> ` q Q { U !
<ohno`> C W ~ h J U M d ) c \ g g { [ T w T ! I 5 n i Q & d % ^ " q G = H 7 x 0 o R < Q u = [ " y ? h
<ohno`> ~ h V &
<ohno`> ( t b v Y s p * N L " e M ^ U U b > w | / L F P o % X : N G s a : % m e w H ( n ] n 0 - n E 0 _ r / u
<ohno`> @ 6 - m
<ohno`> i | = U C P l $ Q l b Y Y < = X q U k Y { ) ] % N O t G & G N i A 1 E Y ] \ U = | z S S s
<ohno`> } ( ^ L i
<ohno`> W ) v ^ ~ > D d 6 l ; / ` g m ? n u r \ S X G 5 I O 9 ; h r b A x ' N } + P @ G ] , { & ^
<ohno`> & G '
<ohno`> Q o ' : \ < t H Y B ^ % s w O ` H k u ^ " + K A X \ ' m $ . B m v N L N V : q 6 r ` + | Q y u g 9 i
<ohno`> q H & b
<Nightmare> naughty little girl
<ohno`> ^ Y & W [ ^ J b g G G ( K t H * " J Q ` X K X x b f # # T f ~ z d ? ` i C " . _ Z O H Y k ^ & q
<ohno`> D ~ & ~
<ohno`> & D | o 5 ] Y T u k & 3 g 1 & B U J q > L H v / ] Y C ` ( X ! S o O Z # " ) D ! 9 v s f c ^
<ohno`> s Y e ; n
<ohno`> w y P r S U R ! " h U G [ P I o g ( t n P > ( d % P , " > l = % K * v O o ! U i 8 \ \ R 9 : v 1 x Y
<ohno`> > Q U @
<ohno`> " K \ [ % ' : } * = E ' % s p I ` Z b W _ T % . I u P p a t y . T 8 . A ' / K 1 Q % ) o R i L K
<ohno`> t , Q X
<ohno`> - } O Q w Z 4 i Y + / ` g = j J v b 9 o \ S q s w b \ % & S [ y O z H J m _ ] X ] s [ % } i f ;
<ohno`> b " E /
<shaman42> any ops around, kick that butt pirate outta here.
<ohno`> r n L % , r ! y F n > N 8 w J x g v c f r N r | x ^ X > X E w S G K " ; 8 * A f = T 8 U D _ * * l
<ohno`> ? . % ^
<ohno`> v C - T \ ` [ " G D : " F k h V T 2 ^ S * U p ! ; > x ~ C S _ v \ < Y : X > S \ l k M K X } a s
<ohno`> { a C -
<ohno`> k ' h ( B n O I ( X v H U ! N ( ` h q q Q 5 Z X + ] ! F M ' E < " k ( V z < \ ; - v - \ ! I ) L a N
<ohno`> @ \ - w y
<ohno`> 0 - ^ - m G K / a r X w < m d @ } | A ; p \ I x S z V _ 5 + + t 4 J E r U ' R l 4 K , g j / E
<ohno`> D ; ? S 1
<ohno`> H [ F U L X d S v L T i 7 % [ 8 # h D b " A f [ u M H a Z H n { V O ` E ] * { U , I { t H M B W
<ohno`> & % G C #
ananthakumaran1 has joined #ruby
<lushious> thanks
gry has joined #ruby
icole has joined #ruby
ohno` has left #ruby [#ruby]
<shaman42> what did he try to achieve with that spam?
gtmanfred has left #ruby ["WeeChat 0.4.1-dev"]
<banisterfiend> i think it was some monkeys trying to write shakespear
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby
<hemanth> :D
danslo has joined #ruby
ananthakumaran has quit [Ping timeout: 256 seconds]
raffer__ has quit [Ping timeout: 240 seconds]
<lushious> looked like php syntax to me
raffer__ has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
generali_ has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 252 seconds]
Nimsical has quit [Ping timeout: 252 seconds]
whitedawg has joined #ruby
atyz has quit [Quit: Leaving...]
pitzips has quit [Remote host closed the connection]
artm has joined #ruby
brhelwig has joined #ruby
artm has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby
pyrac has joined #ruby
polito has joined #ruby
a_a_g has joined #ruby
noop has joined #ruby
timonv has quit [Remote host closed the connection]
austinbv has joined #ruby
aganov has joined #ruby
Nisstyre-laptop has quit [Ping timeout: 256 seconds]
<Apes> Rubygems is extremely frustrating. It feels to me like rubygems is package manager for people who can't be bothered to use existing platform package managers.
marcdel has joined #ruby
<A124> Apes: huH?
marcdel has quit [Client Quit]
<Quadlex> Yeah, I second that huh
<A124> So you make trilions of packages for all platforms and die in the meantime?
<A124> Or make one that compiles self on all platforms?
<epochwolf> Apes: and how would ruby work on OS X and Windows?
<A124> *Nobrains*
codecop has joined #ruby
S1kx has quit [Quit: Leaving]
<A124> Also packages by distros are for ease of use. So you don't have to have headers, build tools and such. So you can install most commonly used package with ease. You should be thankful for that. Not complaining about one o the other, I guess :P
<Apes> True - It might provide a one size fits all solution. But Rubygems combined with Yum or Apt results in some amazing dependency nightmares.
<A124> Apes: Why would you combine?
<A124> Cause of feeling doing sht to complain bout?
<A124> :D
<Apes> Because I would like to use more than just Ruby...
<A124> Yep, you just made no sense...
<A124> I get what you mean... That's avoidable easily.
austinbv has quit [Ping timeout: 252 seconds]
pcarrier has joined #ruby
<Apes> That's easily said, but I haven't found an easy path.
<Apes> Bundler kind of works, but it's a complex tool.
<Apes> It's certainly not "easy"
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<Apes> I guess if your workflow is "I wrote the code and it works on my machine, now Operations can deal with it."
<Apes> Then it might be easy
tay1 has quit []
a_a_g1 has joined #ruby
baba has joined #ruby
<A124> Apes: Nope. Then you have poor system in your company or so.
fire has quit [Ping timeout: 264 seconds]
<epochwolf> A124: ruby really makes the traditional seperation between devs and ops hard to maintain
idletom has quit [Ping timeout: 256 seconds]
a_a_g has quit [Ping timeout: 255 seconds]
<epochwolf> A124: give that kind of environment, I would probably just go with jruby and sling war files over the fence.
vlad_starkov has quit [Remote host closed the connection]
braoru has joined #ruby
MehLaptop has quit [Remote host closed the connection]
carraroj has joined #ruby
bricker has quit [Ping timeout: 264 seconds]
brhelwig has quit [Remote host closed the connection]
brhelwig has joined #ruby
<Funcoot_> Can anyone explain to me why the data from the class gets dumped to the file, but when I try to read it, it just returns nil?
bricker has joined #ruby
atyz has joined #ruby
tagrudev has joined #ruby
zigomir has joined #ruby
nga4 has joined #ruby
a_a_g has joined #ruby
xbayrockx has joined #ruby
xbayrockx is now known as wf2f
cyong has quit [Quit: Leaving.]
fixl has joined #ruby
a_a_g1 has quit [Ping timeout: 252 seconds]
<Funcoot_> Anybody? :/
Tricon has quit [Quit: Linkinus - http://linkinus.com]
16SAA4TP0 has joined #ruby
JohnBat26 has joined #ruby
verysoftoiletppr has joined #ruby
16SAA4TP0 has quit [Ping timeout: 260 seconds]
pdtpatrick has quit [Quit: leaving]
pdtpatrick has joined #ruby
ozgura has quit [Remote host closed the connection]
himsin has joined #ruby
pcarrier has quit []
a_a_g has quit [Quit: Leaving.]
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
kofno has joined #ruby
a_a_g has joined #ruby
jlast has joined #ruby
rickmasta has quit [Quit: Leaving...]
girija_ has joined #ruby
pepper_chico has quit [Quit: Computer has gone to sleep.]
a_a_g has quit [Client Quit]
girija has quit [Read error: Connection reset by peer]
atyz has quit [Ping timeout: 260 seconds]
subbyyy has quit [Ping timeout: 276 seconds]
chrishough has quit [Quit: chrishough]
workmad3 has joined #ruby
kofno has quit [Ping timeout: 240 seconds]
ChristianS has quit [Excess Flood]
ChristianS has joined #ruby
Mon_Ouie has quit [Ping timeout: 264 seconds]
Shrink has quit [Read error: Connection reset by peer]
yashshah- has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 252 seconds]
tam_tam has joined #ruby
yashshah- has joined #ruby
trend has joined #ruby
<tam_tam> :)
Shrink has joined #ruby
bradhe has quit [Remote host closed the connection]
<trend> what datastructure am I looking for here? http://pastebin.com/aTpvcN7h
<bnagy> trend: OpenStruct I guess
<bnagy> imho just use a Hash and use config[:username] etc
<trend> ok, will look into both of those
<trend> why do you say hash over OpenStruct ?
pyrac has quit [Quit: pyrac]
<trend> that worked jut how i wanted it, thanks :)
mahmoudimus has joined #ruby
nobitanobi has joined #ruby
fphilipe has joined #ruby
angusiguess has joined #ruby
neku has joined #ruby
<bnagy> Hash makes it clearer what you're doing and you don't need to require ostruct
<bnagy> imho as a rule of thumb, if you're not adding _any_ methods to a 'storage' class just use a Hash
<bnagy> and, if you _are_ then I recommend a DelegateClass to OpenStruct but that's a long story
mahmoudimus has quit [Quit: Computer has gone to sleep.]
austinbv has joined #ruby
freeayu has quit [Read error: Connection reset by peer]
<trend> heh, cool
freeayu has joined #ruby
<Boohbah> Funcoot_: what is "pstore" ?
<bnagy> an overrated stdlib feature
<Funcoot_> PStore is an object, part of the YAML lib
<Funcoot_> I actually solved my problem
austinbv has quit [Ping timeout: 246 seconds]
<Funcoot_> Can someone tell me how stupid I was when fixing it? lol
<bnagy> wth does pstore have to do with YAML?
mafolz has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
vlad_starkov has joined #ruby
<Funcoot_> woops, im sorry, it just stores data in YAML
<bnagy> it does?
<bnagy> used to use Marshal
shock_one has joined #ruby
<Funcoot_> I think you can override something and force it to use marshal, but it uses YAML now
tam_tam has quit [Quit: Page closed]
<Funcoot_> wait no... i may be wrong
mercy____ has quit [Quit: mercy____]
<Funcoot_> :(
<Funcoot_> yeah, it appears i'm wrong
<Funcoot_> It uses marshal
<Funcoot_> bnagy, is there anything explicitly stupid I did in my code? http://pastebin.com/t0tyE3e2
<bnagy> it's awful
<Funcoot_> :(
<Funcoot_> What can I do to make it better? Or how would you go about completing that task?
<bnagy> you have hardcoded the Pstore class in your Resort class
<bnagy> that's called 'coupling' and it's bad
<Funcoot_> See, that's what I thought was a bad idea
<Funcoot_> But I have no idea to go around this.
mafolz has quit [Quit: mafolz]
drale2k has joined #ruby
<bnagy> well I would just use a Hash
andikr has joined #ruby
<bnagy> but I am old and like simple code
mafolz has joined #ruby
mafolz has quit [Client Quit]
<Funcoot_> You mean, you wouldn't even use PStore?
mafolz has joined #ruby
bigkevmcd has joined #ruby
<Funcoot_> I plan on expanding the Resort class to include more variables.
mafolz has quit [Client Quit]
mafolz has joined #ruby
<bnagy> Pstore is honestly just a wrapper around Hash and Marshal
<bnagy> the only thing it brings to the table is a transaction-a-like
Morkel has joined #ruby
<Funcoot_> So, you would just store the objects in a hash and then marshal that?
tam_tam has joined #ruby
polito has quit [Remote host closed the connection]
drale2k has quit [Client Quit]
francisfish has joined #ruby
<bnagy> yep
<bnagy> the good thing is, most nosql databases pretty much shadow the Hash API
<bnagy> so they are drop-in replacements for using a Hash but make it magically persistent
<Funcoot_> well wait.. I'm sorry I'm pretty new, but so you would still keep the Resort object
<Funcoot_> just put it in a hash, then marshal the hash
<bnagy> no, it's useless
<Funcoot_> I just want to make sure I understand
<tam_tam> how the implementation of the algorithm banker in ruby?? please help me...
hbpoison has quit [Ping timeout: 260 seconds]
<Funcoot_> I could just store all of the information in hashes?
<bnagy> Funcoot_: yes
hbpoison has joined #ruby
<Funcoot_> is it okay to have a hash, within a hash?
<bnagy> sure
<Funcoot_> I would have a hash which is an index of resorts
<Funcoot_> each resort would be a hash of the condominiums at that resort
<Funcoot_> What I essentially want to make is a program that just has a list of the beach resorts in my town, the amount of units at the resort, etc.
<Funcoot_> I'm just doing this for practice.
nomenkun has joined #ruby
<Funcoot_> I would want it to list the resorts in town, the amount of condos at the resort, and the details about each condo.
<tam_tam> ada yang dari indonesia???
<Funcoot_> How would you exactly accomplish that?
tish has quit [Ping timeout: 252 seconds]
tish1 has joined #ruby
<Funcoot_> bnagy: Would I use the same method you mentioned with hashes?
<bnagy> Funcoot_: read up on Hash#select
<bnagy> which is actually Enumerable#select
<tam_tam> HOW THE IMPLEMENTATION OF THE ALGORITHM BANKER IN RUBY?????
<bnagy> tam_tam: calm down, dude
<bnagy> you're making no sense, which is why nobody is answering you
nomenkun has quit [Ping timeout: 264 seconds]
<tam_tam> is so hurt.... please answer my question !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
xcv has quit [Read error: Connection reset by peer]
freeayu__ has joined #ruby
<Funcoot_> bnagy: thanks. I'm going to keep on figuring out how I can do this.
<bnagy> tam_tam: your question doesn't make any sense, and you're not acting in a way that would make people want to help you
emergion has joined #ruby
<Funcoot_> I'm still just a little confused, I don't see how a hash can hold enough information for what I want
<Funcoot_> it's just an index and value
Morkel_ has joined #ruby
whitedawg has quit [Ping timeout: 260 seconds]
<Funcoot_> wouldn't I need to combine hashes and structs to hold more than one value?
Morkel has quit [Ping timeout: 245 seconds]
Morkel_ is now known as Morkel
<bnagy> {name: "Big Place", size: 400, location: "blah", smoking: true ...}
<nobitanobi> I love Ruby. I love its community, and I want to give back what they have given to me. What would be a good way to start "collaborating" to Ruby open source projects?
dr_bob has joined #ruby
noesis has quit [Quit: Lost terminal]
<Funcoot_> Ah okay, I understand now how I might use them
freeayu has quit [Ping timeout: 256 seconds]
timmow has joined #ruby
timmow has quit [Remote host closed the connection]
ChristianS has left #ruby ["Ciao"]
<Funcoot_> bnagy: thank you for your help I really appreciate it
tam_tam has quit [Quit: Page closed]
timmow has joined #ruby
<bnagy> np
<Funcoot_> nobitanobi, the Shoes team is looking for mac users if you are a mac user, to help develop their library
neku has quit [Quit: Leaving...]
anderse has joined #ruby
hashmal has joined #ruby
<nobitanobi> Funcoot_, Ubuntu here :(
<Funcoot_> Ah, me too :(
jprovazn has joined #ruby
zavier has quit [Quit: WeeChat 0.3.8]
thebastl has joined #ruby
zavier has joined #ruby
threesome has quit [Read error: Operation timed out]
emergion has quit [Quit: Computer has gone to sleep.]
fphilipe has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 264 seconds]
verysoftoiletppr has quit []
<trend> what is wrong w/ this sprint? puts "here is %s %s" % "a " "test"
<trend> I get 'ArgumentError: too few arguments'
tish1 has quit [Quit: Leaving.]
gregorg_taf has joined #ruby
jlast has joined #ruby
verysoftoiletppr has joined #ruby
whitedawg has joined #ruby
verysoftoiletppr has quit [Client Quit]
cantonic has joined #ruby
`gregorg` has joined #ruby
brhelwig has quit [Remote host closed the connection]
Arafangion has joined #ruby
<Arafangion> Do we have a 'rake' channel here?
sandGorgon has quit [Ping timeout: 264 seconds]
<Arafangion> I am wondering if anyone might have at hand a 'best practices' article about using rake?
`gregorg` has quit [Client Quit]
jimeh has joined #ruby
gregorg has quit [Ping timeout: 252 seconds]
marr has joined #ruby
arturaz has joined #ruby
mahmoudimus has joined #ruby
hoelzro|away is now known as hoelzro
gregorg_taf has quit [Ping timeout: 276 seconds]
S1kx has joined #ruby
S1kx has joined #ruby
S1kx has quit [Changing host]
sandGorgon has joined #ruby
anderse has quit [Ping timeout: 260 seconds]
KevinSjoberg has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
axhlf has joined #ruby
elposarious has joined #ruby
hemanth_ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
hemanth has quit [Read error: Connection reset by peer]
tonini has joined #ruby
hemanth_ has joined #ruby
axhlf has quit [Read error: Connection reset by peer]
floyd1 has joined #ruby
axhlf has joined #ruby
kristofers has joined #ruby
m3pow has quit [Remote host closed the connection]
m3pow has joined #ruby
francisfish has quit [Remote host closed the connection]
brhelwig has joined #ruby
cantonic has quit [Quit: cantonic]
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
bricker_ has joined #ruby
<bnagy> >> puts "here is %s %s" % ["a", "test"]
<eval-in> bnagy => here is a test ... (http://eval.in/12986)
timmow has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
<Funcoot_> bnagy, before I go I have on last question about hashes
gry has left #ruby [#ruby]
misc[] has joined #ruby
<Funcoot_> is there any reason I would want to use name: "Name Goes Here" inside of a hash
<Funcoot_> as opposed to "Name" => "Name Goes Here"
bricker has quit [Ping timeout: 255 seconds]
<misc[]> Hi guys. Does anybody here know whether "+=" is a method (that can be overridden) or simply syncactic sugar (for a = a + b)?
aedornm has quit [Remote host closed the connection]
whitedawg1 has joined #ruby
<bnagy> Funcoot_: yeah, using a symbol saves creating many String instances
whitedawg has quit [Ping timeout: 245 seconds]
<Funcoot_> why would you want to avoid creating many string instances?
<Funcoot_> just less memory, faster code?
<hoelzro> less memory, and faster comparison/lookup
<bnagy> yep
maxmanders has joined #ruby
<Funcoot_> Awesome, thanks guys
<Arafangion> Funcoot_: You don't need to compare the contents of symbols.
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
brhelwig has quit [Remote host closed the connection]
<Funcoot_> Arafanqion: Can you elaborate? What do you mean you don't need to compare symboles?
<Arafangion> Funcoot_: Given two variables, 'a' and 'b', and given that they are strings, how would you compare them?
<Arafangion> Funcoot_: Would you have to check each character to ensure that they're the same?
<hoelzro> misc[]: I believe you may not
bricker_ is now known as bricker
<hoelzro> you need to override +
<Funcoot_> I guess you wouldn't?
<Arafangion> Funcoot_: Why wouldn't you?
<bnagy> Arafangion: Hash doesn't work that way, btw, but I'm assuming you're being didactic
<Funcoot_> I mean.. you can't compare 'a' and 'b' they're letters
<Funcoot_> Unless I am grossly misunderstanding you
InFlames has quit [Remote host closed the connection]
<bnagy> I always assumed += was sugar, but I am too lazy to check :P
<Arafangion> Funcoot_: ``a'', and ``b'', then, I meant that they were names, not that they were actual ruby code.
<hoelzro> bnagy: it is
neku has joined #ruby
<Arafangion> bnagy: Yeah, Hash works on object identity, doesn't it?
fphilipe has joined #ruby
<Funcoot_> I'm still not following unfortunately Arafangion. I'm sorry
<bnagy> Arafangion: well lookup with string keys wouldn't work then :)
<Arafangion> Funcoot_: Lets have a real example, then: a = someValue(); b = someOtherValue()
m3pow has quit [Ping timeout: 246 seconds]
<Funcoot_> Yes
<Arafangion> Funcoot_: How would you compare 'a' and 'b', there?
charliesome has joined #ruby
<Funcoot_> erm, I'm not sure by what you mean compare :(
mpfundstein has joined #ruby
<Funcoot_> I'm only a few days into learning ruby. I'm sorry
<Arafangion> Funcoot_: How would you know if 'a' and 'b' were the same, or different value?
brhelwig has joined #ruby
<Funcoot_> if a == b
obs has joined #ruby
<Funcoot_> <stuff>
<Funcoot_> end
<Arafangion> Funcoot_: Lets think about how that could work on the hardware. How might the hardware do that computation?
<Funcoot_> I'm sorry, but I'm still not sure
<Arafangion> Funcoot_: Well, lets suppose that: a = "hello", and b = "world".
<Arafangion> Funcoot_: Are 'a' and 'b' the same there?
<Funcoot_> alright
<Funcoot_> no
<Arafangion> Funcoot_: Why not?
<Funcoot_> they're different strings
<Funcoot_> hello is not the same as world
io_syl has quit [Quit: Computer has gone to sleep.]
<Funcoot_> They are the same length though.. so maybe they are the same?
<Funcoot_> byte wise?'
<Arafangion> Funcoot_: To a computer, *everything* is bytes.
<Funcoot_> so they're the same
<Funcoot_> ?
grzywacz has joined #ruby
<Funcoot_> or no because they're different characters
pi3r has joined #ruby
<Arafangion> Funcoot_: Each character has it's own byte sequence, it is almost a 1 to 1 mapping, "hello" would be interpreted as a list of mere numbers to the computer.
<Funcoot_> hmm alright
whitedawg has joined #ruby
<Funcoot_> so they would be different
<Funcoot_> and not equal to eachother
whitedawg1 has quit [Ping timeout: 245 seconds]
<Arafangion> Funcoot_: Correct. If they have different bytes, they would certainly be different values, by the same reasoning that two numbers, 42 and 43, are different numbers.
pyrac has joined #ruby
<Funcoot_> I see
<Arafangion> Funcoot_: But some languages use a LOT of strings, it can be tedious for the computer to have to check the values all the time.
<Arafangion> Funcoot_: Especially if they never change.
tvw has joined #ruby
<Funcoot_> ahhhhh
<Funcoot_> So that is why if I'm going to use something that doesn't change, it'd be better to use a symbol
rdark has joined #ruby
<Funcoot_> name: instead of "name"
<Arafangion> Funcoot_: :name, instead of 'name', indeed.
<Funcoot_> Arafangion: thank you for that walkthrough
alex88 has joined #ruby
<Arafangion> Funcoot_: But please, please worry more about what that means to the programmer. Don't make the decision merely because it's faster.
hasimo-t has quit [Remote host closed the connection]
<Arafangion> Funcoot_: Use symbols when it makes _sense_ to use them, that is, when you want to say: "This is a symbol, the value of which never changes".
<alex88> hi guys, should I use the File class to do something like "rm filebasename_*"?
opioids38 has quit [Quit: opioids38]
<Funcoot_> Arafangion: Yes, I've seen too many programming threads devolve into stupid arguments
<Arafangion> Funcoot_: (Don't take that too literally, either - you can chagne the value of symbols, but the point is that you want to use it as a 'symbol', a value that represents a string)
<Funcoot_> It seems that there are 100 different ways to do one thing, and everyone thinks they have the best way to do it
vlad_starkov has quit [Remote host closed the connection]
<Arafangion> Funcoot_: That's another discussion. :)
<Funcoot_> hahaha
etcetera has joined #ruby
icole has quit [Remote host closed the connection]
<Funcoot_> Anyways, I'm off to bed
<Funcoot_> goodnight all
authenticity25 has joined #ruby
mulinux has joined #ruby
<bnagy> alex88: FileUtils might be what you're looking for
<alex88> thanks bnagy, I'll look into that
tms has joined #ruby
bricker_ has joined #ruby
Funcoot_ has quit [Ping timeout: 245 seconds]
<marwinism> uhm, webricks is running, but I can't reach any of my pages? any ideas on what it might be?
maasha has joined #ruby
etcetera has quit [Ping timeout: 256 seconds]
threesome has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
Domon has quit [Remote host closed the connection]
hemanth_ has joined #ruby
<marwinism> nevermind. it works on localhost, and not outside. fudge.
crackfu has joined #ruby
<maasha> Hi, I have made a mess of different versions of ruby installs. Now I am going old school and want to delete everything ruby 1.9.1 and only run 1.9.3. So I did, but bundle still install stuff in /usr/local/lib/ruby/gems/1.9.1/ ?\
bricker`LA has joined #ruby
bricker has quit [Ping timeout: 245 seconds]
shock_one has quit [Ping timeout: 252 seconds]
crackfu has quit [Remote host closed the connection]
misc[] has quit [Quit: Page closed]
bricker_ has quit [Ping timeout: 240 seconds]
dmoctezuma has quit [Ping timeout: 245 seconds]
<bnagy> maasha: that's 'normal' afaik
<bnagy> it refers to some spec version or something, not to your actual ruby version
nobitanobi has quit [Ping timeout: 258 seconds]
Hanmac has joined #ruby
bricker has joined #ruby
<maasha> bnagy: so surprising is 'normal' for ruby now :o) ?
axhlf has quit [Remote host closed the connection]
emergion has joined #ruby
<bnagy> everything is surprising when you don't know how things work
Mattx has quit [Read error: Operation timed out]
bricker`2A has joined #ruby
Clownz has joined #ruby
vlad_starkov has joined #ruby
senayar has joined #ruby
adambeynon has joined #ruby
angusiguess has joined #ruby
brhelwig has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 245 seconds]
dmoctezuma has joined #ruby
<maasha> bnagy: where is a good place to read on this? I am always confused about gem and ruby versions
bricker has quit [Ping timeout: 252 seconds]
<Arafangion> maasha: Forget about gem versions, learn bundler. :)
<maasha> I can google myself, but if you have some good clue ...
bricker has joined #ruby
cantonic has joined #ruby
<bnagy> maasha: I would just be googling, sorry
<maasha> Arafangion: well, this mess came with the onboard ruby1.8 - another ruby installed with xcode - another installed with macport - then some with rvm ... NO MORE!
<Arafangion> maasha: Well, first... Don't touch your system ruby. That version is sacred.
<maasha> so I wiped everything (ongoing - you find ruby files the most unexpected places) - and manual configure, compile and install.
vlad_starkov has quit [Ping timeout: 252 seconds]
<maasha> Arafangion: anything ruby 1.8 should be shot and killed.
Clownz has quit [Remote host closed the connection]
<Arafangion> maasha: Incorrect.
<Arafangion> maasha: Why?
tcstar has quit [Ping timeout: 252 seconds]
<bnagy> maasha: you might want to look into chruby, or rbenv
<bnagy> chruby is probably a better choice going forward, but rbenv works fine
emergion has quit [Quit: Computer has gone to sleep.]
<bnagy> they're both much simpler and more unixy than rvm
yashshah- has quit [Read error: Connection reset by peer]
<marwinism> Does Sinatra/webricks have a config somewhere that tells it what interfaces to use, and hosts and so on?
<bnagy> which is, imho, batshit insane
<Hanmac> ruby1.8 is outdated and in a few month it dont get any patches anymroe
<Arafangion> Hanmac: But it's in the base system.
yashshah- has joined #ruby
jgrevich has quit [Remote host closed the connection]
tcstar has joined #ruby
<Arafangion> If you get scripts specifying ruby 1.8, they should continue to work.
<maasha> Arafangion: system updates keep making the systems ruby default replacing any 1.9 you have installed (at least on my mac). and then new gem installs break. especially RubyInline.
<Hanmac> Arafangion that is not a excluse ... than the system should update this version ... and if the system is to dump for that, then the user have the problem
<bnagy> I'm with Hanmac ( for once ), kill 1.8 with fire
hemanth_ has quit [Read error: Connection reset by peer]
tish has joined #ruby
authenticity25 has quit [Ping timeout: 252 seconds]
<Arafangion> Hanmac: Well, you could update the system to a newer Ruby by sending a bit of cash Apple's way.
hemanth_ has joined #ruby
<maasha> bnagy: in that case you are with me and yet again (I presume) against Hanmac
<maasha> no, sorry
<maasha> me is messing up names
<bnagy> :>
<Arafangion> But seriously, if you're using a newer ruby, such as 1.9 or 2.0, why are you even slightly concerned about the system ruby? Or heck, python for that matter.
Domon has joined #ruby
<maasha> I hope the transition to ruby2.0 is faring better ...
<Hanmac> ubuntu has allready ruby1.9 as default, even debian will follow in next versions
nomenkun has joined #ruby
crackfu has joined #ruby
<Hanmac> Arafangion: they only remove stuff that was allready deplicated in 1.8
<rdark> Hanmac: debian testing/unstable have had 1.9 for couple of years now
<Hanmac> rdark yeah as package, but as ruby-defaults too?
<maasha> Arafangion: I just had this install fail because it was using a version of bundle that had a shebang pointing to /opt/bin/ruby1.9 - where the correct would be /usr/local/bin/ruby
authenticity25 has joined #ruby
<maasha> And why they simply dont use /usr/bin/env ruby is a mystery to me. that is the closest you get to a defacto standard.
<Arafangion> maasha: They wanted a specific version, and didn't know how.
cads has quit [Ping timeout: 258 seconds]
<rdark> Hanmac: yep. They have meta packages for 1.8 as well if that's needed
sk87 has joined #ruby
<rdark> ubuntu is generally speaking downstream of debian unstable
* Arafangion twitches.
Mattx has joined #ruby
jlast has joined #ruby
lethjakman has quit [Ping timeout: 245 seconds]
cads has joined #ruby
blacktulip has joined #ruby
daig0ro has joined #ruby
<Hanmac> rdark yeah, debian has that since wheezy
plantseeker has joined #ruby
daig0ro has quit [Client Quit]
<Arafangion> Debian squeeze is 1.8.7
<rdark> Debian stable will still be on 1.8.7, as will RHEL + clones
<rdark> yep
cads has quit [Max SendQ exceeded]
cads has joined #ruby
<Arafangion> And if I were to install a newer ruby, I'd put it in /opt, and leave the system ruby well alone.
* Hanmac wonders when debian will have ruby2.0 packs
<Arafangion> It would cease to be relevant.
hbpoison has quit [Ping timeout: 245 seconds]
<Hanmac> Arafan you could also install it in /usr/local
nomenkun_ has joined #ruby
<rdark> Arafangion: +1. RVM is what I tend to do when dealing with 'stable' distros
cads has quit [Max SendQ exceeded]
<Arafangion> Hanmac: Maybe.
<Arafangion> Hanmac: I'd prefer /opt.
nomenkun has quit [Read error: Operation timed out]
<Arafangion> Hanmac: /opt/ruby1.9, to be precise.
<Hanmac> the ruby i installed into /usr/local is trunk :P
cads has joined #ruby
blaxter has joined #ruby
<Arafangion> Ok, Debian unstable's still at ruby 1.9.3, I think.
<maasha> One thing I for sure will not recommend is to have several versions half installed/removed at surprising locations
<Arafangion> Hanmac: ANd how will you delete that when the whim arises?
artm has joined #ruby
HecAtic has quit [Quit: HecAtic]
icole has joined #ruby
<bnagy> are we honestly doing opt vs usr local?
bashdy has joined #ruby
m3pow has joined #ruby
ozgura has joined #ruby
<Hanmac> Arafangion: there is an "make uninstall"
jdolitsky has quit [Quit: Leaving]
jlast has quit [Ping timeout: 252 seconds]
<Arafangion> Hanmac: You can't count on that, although maybe you can for ruby.
<marwinism> I just noticed i have 1.8, 1.9.1, and ruby -v said 2.0.0.. it's time to clean up.
timmow has joined #ruby
elaptics`away is now known as elaptics
Vainoharhainen has joined #ruby
francisfish has joined #ruby
<maasha> marwinism: at least you should supplement 1.9.1 with 1.9.3 - perhaps even replace.
plantseeker has quit [Quit: Nettalk6 - www.ntalk.de]
hemanth_ is now known as hemanth
<Arafangion> bnagy: Sorry, former LFS user here, I couldn't resist. :(
Banistergalaxy has quit [Ping timeout: 264 seconds]
haxrbyte has joined #ruby
Banistergalaxy has joined #ruby
<artm> which gem provides similar API to coffescripts object?.field ?
<marwinism> maasha: i'm yanking it all out, and reinstalling with 1.9.3, or just 2.0.0
<Hanmac> artm .. do you mean in rails or in general ruby?
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
crackfu has quit [Remote host closed the connection]
<artm> Hanmac: I'd prefer in general, but i'm in rails atm
plantseeker has joined #ruby
<Hanmac> maasha & marwinism: ruby1.9.1 -v #=> ruby 1.9.3p194
icole has quit [Ping timeout: 258 seconds]
<Hanmac> artm: "object?.field" does not work because its invalid ruby syntax
<artm> Hanmac, I realize that. I mean the same functionality
<Hanmac> hm ok its not invalid, but it does not do what you want
haxrbyte_ has joined #ruby
MrZYX|off is now known as MrZYX
<Hanmac> artm you need: object ? object.field : nil
<Hanmac> OR: object and object.field
timmow has quit [Remote host closed the connection]
nari has quit [Ping timeout: 245 seconds]
<artm> hanmac: that right. I was wondering if there was something provinding a shorter way to do that
<Hanmac> not in ruby, but maybe in #rubyonrails
<artm> ok, thanks
<Politoed> there's a try method in activesupport
<Politoed> object.try(:field)
tms has left #ruby ["Konversation terminated!"]
bricker has quit [Quit: leaving]
bricker`2A has quit [Quit: leaving]
bricker`LA has joined #ruby
niklasb has joined #ruby
haxrbyte has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby
<artm> Politoed, that looks like what I want, I'm gonna give it a try ;-)
<Hanmac> Politoed like i said, not in default ruby, only in fails :P ... i mean its dump to require activesupport only for this?
ARCADIVS has quit [Quit: WeeChat 0.3.8]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
miso1337 has quit [Ping timeout: 258 seconds]
timonv has joined #ruby
trend has quit [Ping timeout: 256 seconds]
<Politoed> you can require just activesupport/ext/core/try, or something like that
<Politoed> or check the implementation and clone it in your project
browndawg has quit [Ping timeout: 258 seconds]
brhelwig has joined #ruby
<artm> yep, try does exactly what I want. Thanks. Like I said at the moment I'm in rails so it'll do for this morning :)
<marwinism> Ok, so looks like I have cleaned up a bit, but webrick starts, but only runs on localhost. Config for webrick 1.3.1 on ruby 2.0.0?
mark9 has joined #ruby
bricker`LA has quit [Ping timeout: 264 seconds]
bricker`LA has joined #ruby
mark9 has left #ruby [#ruby]
freeayu3 has joined #ruby
brhelwig has quit [Ping timeout: 258 seconds]
timmow has joined #ruby
crackfu has joined #ruby
hbpoison has joined #ruby
freeayu__ has quit [Ping timeout: 264 seconds]
plantseeker has left #ruby [#ruby]
crackfu has quit [Remote host closed the connection]
fermion has joined #ruby
chipotle_ has joined #ruby
crimezone20xx has quit [Ping timeout: 276 seconds]
chipotle_ has quit [Client Quit]
razibog has joined #ruby
jetblack has quit [Ping timeout: 276 seconds]
jacky has quit [Excess Flood]
binaryplease has joined #ruby
tomzx_mac has joined #ruby
jacky has joined #ruby
axhlf has joined #ruby
elaptics is now known as elaptics`away
elaptics`away is now known as elaptics
mulinux has quit [Quit: mulinux]
angusiguess has quit [Ping timeout: 252 seconds]
Harlin has quit [Quit: Leaving]
beiter has joined #ruby
slainer68 has joined #ruby
aaronmcadam has joined #ruby
raffer__ has quit [Read error: Connection reset by peer]
slainer6_ has joined #ruby
maxmanders has quit [Quit: Textual IRC Client: www.textualapp.com]
axhlf has quit [Remote host closed the connection]
jacky has quit [Excess Flood]
pduin has joined #ruby
Guedes has quit [Ping timeout: 276 seconds]
nari has joined #ruby
bashdy has quit []
nyuszika7h has quit [Excess Flood]
obs has quit [Quit: Konversation terminated!]
lkba has quit [Ping timeout: 258 seconds]
yshh has quit [Remote host closed the connection]
hmarr has joined #ruby
slainer68 has quit [Ping timeout: 258 seconds]
nyuszika7h has joined #ruby
sk87 has quit [Quit: sk87]
sk87 has joined #ruby
NullableCX has quit []
jacky- has joined #ruby
artm has quit [Read error: Connection reset by peer]
sam113101 has quit [Quit: WeeChat 0.3.8]
swingha has joined #ruby
klaas has quit [Ping timeout: 264 seconds]
Vert has joined #ruby
klaas has joined #ruby
Zai00 has joined #ruby
artm has joined #ruby
sam113101 has joined #ruby
lampe2 has joined #ruby
jlast has joined #ruby
<lampe2> hey i want to read all http post that come to a specific port right now iam uesing tcpserver but i cant get any information from the client like the header or body! can someone give me a hint ?
<Hanmac> lampe2 rails question?
<lampe2> hanmac pure ruby
<lampe2> so no rails questions
<hoelzro> lampe2: you have a TCP server listening for HTTP requests, but you want to parse the incoming bytes into an HTTP request?
<lampe2> hoelzro: iam getting http post to a specific port and i wanne just print that request to the terminal
sepp2k has joined #ruby
<hoelzro> lampe2: could you paste the code you're using to listen for requests?
<lampe2> sure one moment
<hoelzro> lampe2: instead of using TCPServer, why not use an actual HTTP server library?
emergion has joined #ruby
<lampe2> hoelzro: when you tell me a tiny one sure i would use it
* hoelzro doesn't know of any offhand
<JonnieCache> how tiny does it need to be?
<JonnieCache> the various HTTPds people use as rails application servers are pretty minimal
<lampe2> JonnieCache: just simple get a request and send a response
<JonnieCache> thin, puma and so on
<lampe2> i was looking at thin maybe i should give it another try
<hemanth> Hanmac, http://h3manth.com/quotes/ && http://h3manth.com/philosophy/ things todo for brain.refresh() :-)
jlast has quit [Ping timeout: 264 seconds]
<Hanmac> are there quotes from me too? :P
pac1 has joined #ruby
<hemanth> Hanmac, lol not yet :D
<marwinism> halp!
<marwinism> Sinatra starts on port 4567, but from the outside I can't access it. Just went thru all the config files, and bindAddress is set to 'nil', port is set to 'nil'. I totally stuck
<marwinism> sorry about that
<hoelzro> marwinism: what OS are you on?
<marwinism> ubuntu 12.04 LTS
freeayu3 has quit [Ping timeout: 245 seconds]
<hoelzro> marwinism: use netstat to see what interface(s) it's listening on
Mattx has quit [Remote host closed the connection]
eka has joined #ruby
Zai00 has quit [Read error: Connection reset by peer]
crackfu has joined #ruby
hbpoison has quit [Ping timeout: 264 seconds]
mark9 has joined #ruby
<marwinism> hoelzro: uhm, it's not there ?
<hoelzro> marwinism: what's not there?
ephemerian has joined #ruby
<marwinism> webrick or anything on ports 4567
<hoelzro> also, what flags are you providing to netstat?
<hoelzro> and are you running it as root?
binaryplease has quit [Quit: WeeChat 0.4.0]
Banistergalaxy has quit [Ping timeout: 258 seconds]
<marwinism> hoelzro: *facepalm* well, I forgot the root part. Ok, got it at localhost:4657
<hoelzro> ;)
<hoelzro> marwinism: specify -n
<hoelzro> I'm guessing it's only listening on 127.0.0.1
<hoelzro> so only your machine may access it
<marwinism> but what handles what interfaces it listen to? I've been through the config.rb, and httpserver.rb for webrick without success
* hoelzro shrugs
<hoelzro> probably a setting named 'host' or something
jacky- has quit [Excess Flood]
<marwinism> config.rb have :bindAddress, but that was a dead end. goddammit. it worked last night. then I belive I killed my server.
berserkr has joined #ruby
<hoelzro> bindAddress would probably be it
<marwinism> I'll hack around more. poke on everything i'll find. thanks hoelzro
<hoelzro> good luck!
bluOxigen has joined #ruby
mark9 has left #ruby [#ruby]
samphippen has joined #ruby
pac1 has quit [Ping timeout: 264 seconds]
crackfu has quit [Remote host closed the connection]
wmoxam has quit [Quit: leaving]
Guedes0 is now known as Guedes
Guedes has quit [Changing host]
Guedes has joined #ruby
dsferreira has joined #ruby
mikecmpbll has joined #ruby
gregorg has joined #ruby
s1n4 has joined #ruby
nobitanobi has joined #ruby
ozgura has quit [Remote host closed the connection]
Hanmac has quit [Quit: Leaving.]
Hanmac has joined #ruby
kofno has joined #ruby
Xeago has joined #ruby
postmodern has quit [Quit: Leaving]
angusiguess has joined #ruby
hmarr has quit []
hmarr has joined #ruby
davetherat has quit [Remote host closed the connection]
Domon has quit [Remote host closed the connection]
davetherat has joined #ruby
hmarr has quit [Client Quit]
pduin has quit [Remote host closed the connection]
hmarr has joined #ruby
angusiguess has quit [Ping timeout: 252 seconds]
cantonic has quit [Ping timeout: 256 seconds]
Spooner_ has joined #ruby
kofno has quit [Ping timeout: 258 seconds]
yashshah- has quit [Read error: Connection reset by peer]
yashshah- has joined #ruby
cantonic has joined #ruby
fphilipe has quit [Remote host closed the connection]
s1n4 has quit [Quit: leaving]
angusiguess has joined #ruby
freeayu has joined #ruby
kofno has joined #ruby
r0bby has joined #ruby
robbyoconnor has quit [Ping timeout: 255 seconds]
* maasha kicks refinery in the groins
<maasha> revenge!
<maasha> stupid cms
hybris has joined #ruby
<JonnieCache> maasha: it seemed ok when i looked at its internals last year
<JonnieCache> maasha: is it not cooperating?
<maasha> JonnieCache: got stuck at #2 in the installation instructions :oP
<JonnieCache> which is that
browndawg has joined #ruby
Mohan has quit [Ping timeout: 256 seconds]
r0bby has quit [Ping timeout: 258 seconds]
pduin has joined #ruby
ozgura has joined #ruby
beiter has quit [Quit: beiter]
yshh has joined #ruby
lkba has joined #ruby
heftig has quit [Read error: Connection timed out]
atno has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby
Virunga has joined #ruby
yshh has quit [Ping timeout: 264 seconds]
atno has joined #ruby
sleetdrop has quit [Ping timeout: 264 seconds]
<maasha> JonnieCache: rails s -> localhost:3000 - default rails app and no route to the cms
slapt has quit [Ping timeout: 276 seconds]
jlast has joined #ruby
<maasha> anyways, I submitted logs and stuff to the google group. pending accept and answer.
serhart has joined #ruby
elposarious has quit [Quit: Windows power time]
gyre007 has joined #ruby
Nisstyre-laptop has joined #ruby
yshh has joined #ruby
serhart has quit [Ping timeout: 252 seconds]
xbob has joined #ruby
Nisstyre-laptop has quit [Read error: Connection reset by peer]
huoxito has joined #ruby
jlast has quit [Ping timeout: 252 seconds]
SilverKey has joined #ruby
jonahR has quit [Quit: jonahR]
hbpoison has joined #ruby
authenticity25 has quit [Ping timeout: 276 seconds]
<Morkel> Does anyone know a good Statistic gem for Ruby. I can use R but i hate the language and Matlab are to expensive
tk_ has joined #ruby
<Morkel> I know that Python has some good libs but i never used python
rickmasta has joined #ruby
akashj87 has joined #ruby
ananthakumaran has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
eka has quit [Quit: Computer has gone to sleep.]
trend has joined #ruby
ananthakumaran1 has quit [Ping timeout: 252 seconds]
akashj87 has quit [Ping timeout: 256 seconds]
kofno has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 258 seconds]
<JonnieCache> Morkel: Julia is another alternative to R
apeiros_ has joined #ruby
wmoxam has joined #ruby
Bofu2U has joined #ruby
Neomex has joined #ruby
Neomex has quit [Client Quit]
SilverKey has quit [Quit: "Cheerio!"]
rickmasta has quit [Quit: Leaving...]
jacky- has joined #ruby
andrew12- has quit [Changing host]
andrew12- has joined #ruby
andrew12- is now known as andrew12
kofno has joined #ruby
artofraw has joined #ruby
samphippen has joined #ruby
Bofu2U has quit [Remote host closed the connection]
akashj87 has joined #ruby
beiter has joined #ruby
Bry8Star has quit [Remote host closed the connection]
realDAB has joined #ruby
yshh has quit [Remote host closed the connection]
maligree has joined #ruby
nkr has joined #ruby
Qwak has joined #ruby
timonv has quit [Remote host closed the connection]
fphilipe has joined #ruby
itsdavem has joined #ruby
ArchBeOS has joined #ruby
itsdavem has quit [Remote host closed the connection]
mark_locklear has joined #ruby
divout has quit [Quit: Leaving.]
maligree has quit [Ping timeout: 255 seconds]
k610 has joined #ruby
NiteRain has quit [Ping timeout: 246 seconds]
kofno has quit [Remote host closed the connection]
as-cii has joined #ruby
jonahR has joined #ruby
wobblini has quit [Ping timeout: 255 seconds]
wmoxam has quit [Ping timeout: 252 seconds]
jonahR has quit [Client Quit]
maligree has joined #ruby
sambio has joined #ruby
as-cii has quit [Client Quit]
jetblack has joined #ruby
kofno has joined #ruby
drumsrgr1 has joined #ruby
AndChat| has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
timonv has joined #ruby
Xeago has quit [Remote host closed the connection]
Bry8Star has joined #ruby
akashj87 has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 252 seconds]
ner0x has joined #ruby
Banistergalaxy has quit [Ping timeout: 258 seconds]
yacks has quit [Ping timeout: 264 seconds]
pskosinski has joined #ruby
geekbri has joined #ruby
nfk has joined #ruby
icole has joined #ruby
philipd has joined #ruby
philipd has quit [Max SendQ exceeded]
jlast has joined #ruby
icole has quit [Ping timeout: 251 seconds]
subbyyy has joined #ruby
Voting has joined #ruby
trend has quit [Ping timeout: 276 seconds]
s1n4 has joined #ruby
jlast has quit [Ping timeout: 258 seconds]
wf2f has quit []
<Morkel> JonnieCache: It would be fine when i dont must learn a new language. What is with Javascript? Does this work with some
goganchic has joined #ruby
hybris has quit [Ping timeout: 264 seconds]
Voting has quit [Ping timeout: 256 seconds]
hbpoison has quit [Ping timeout: 255 seconds]
cmarques has joined #ruby
tommyvyo has joined #ruby
rmartin has joined #ruby
hybris has joined #ruby
moos3 has joined #ruby
ozgura has quit [Read error: Connection reset by peer]
ozgura has joined #ruby
wting has quit [Ping timeout: 248 seconds]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kornnflake_zzz is now known as kornnflake
csmrfx has joined #ruby
serhart has joined #ruby
<maasha> there is some free alternative to matlab
<maasha> I dont know anything about it
<csmrfx> irb?
drale2k has joined #ruby
<maasha> octave I think
<csmrfx> seriously, did you mean Octave
ozgura has quit [Read error: Connection reset by peer]
jgarvey has joined #ruby
wting has joined #ruby
<csmrfx> also you have freemat and R in debian repos
ozgura has joined #ruby
sailias has quit [Ping timeout: 245 seconds]
yacks has joined #ruby
<maasha> But the reason why R is awful is because it should be a befitting punishment for doing statistics in the first place
<maasha> lies, damn lies and statistics
ozgura has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
ozgura has joined #ruby
* maasha would like to see statisticians design a space rocket and try to fly the result
sambao21 has joined #ruby
nobitanobi has quit [Ping timeout: 258 seconds]
angusiguess has joined #ruby
<csmrfx> Let's be fair
jerius has joined #ruby
lethjakman has joined #ruby
<csmrfx> Medicine and agriculture, not to mention empirical science owes everything to the stuff statisticians came up between 17th and 20th century
* csmrfx Whats really awful about R is it's name. Just try to find it in debian repos by searching for "R"
m3pow has quit [Read error: Operation timed out]
Al____ has joined #ruby
<maasha> csmrfx: like C ?
samphippen has quit [Quit: Computer has gone to sleep.]
<csmrfx> R language gets 3517 lines of results, C language only 3513
<Xeago> wow, those 4 results make the difference
<csmrfx> 8F
<maasha> but is that significant ?
ttt has quit [Remote host closed the connection]
<maasha> statistically ....
<Hanmac> i only have seen R in the list of languages that are supported for syntax highlighting ... i never did see R-code in "reallife"
<csmrfx> I dont know, I cant calc the mean error probability for "wc -l" cause I cant install R
<Xeago> csmrfx: you don't need r for that, that is math
<maasha> go to r-lang.org, download and compile
<csmrfx> Zed sed R's a-ok
jpcamara has joined #ruby
yashshah- has quit [Read error: Connection reset by peer]
<maasha> r-project.org that is
yashshah- has joined #ruby
kirun has joined #ruby
mmitchell has joined #ruby
kenkclam has joined #ruby
dustint has joined #ruby
kenkclam has left #ruby ["Leaving"]
sambao21 has quit [Quit: Computer has gone to sleep.]
drale2k has quit [Quit: Leaving...]
PanPan has quit [Quit: ChatZilla 0.9.90 [Firefox 19.0.2/20130307023931]]
goganchic has quit []
taqutor has joined #ruby
wmoxam has joined #ruby
NiteRain has joined #ruby
alanp_ is now known as alanp
nagahoge has joined #ruby
kirun_ has joined #ruby
yshh has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
kirun has quit [Read error: Operation timed out]
kirun_ has quit [Client Quit]
subbyyy has quit [Ping timeout: 248 seconds]
drumsrgr1 has quit [Ping timeout: 256 seconds]
statix_ has quit []
heftig has joined #ruby
browndawg has quit [Quit: Leaving.]
RonScagz has joined #ruby
tcstar has quit [Remote host closed the connection]
yshh has quit [Ping timeout: 258 seconds]
s1n4 has quit [Quit: peace out]
BizarreCake has quit [Ping timeout: 246 seconds]
tish has quit [Quit: Leaving.]
drumsrgr1 has joined #ruby
krainboltgreene has joined #ruby
Vainoharhainen has quit [Read error: Connection reset by peer]
<krainboltgreene> I need a library that gives me an interface to a key value store, abstracts it so I can use redis, memcached, or ruby hash. Anyone got any ideas?
Zai00 has joined #ruby
carloslopes has joined #ruby
kirun has joined #ruby
sleetdrop has joined #ruby
avelldiroll has quit [Ping timeout: 256 seconds]
hbpoison has joined #ruby
RonScagz has quit [Client Quit]
grzywacz has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
mengu has joined #ruby
AltGrendel has joined #ruby
jpfuentes2 has joined #ruby
nomenkun_ has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
<banisterfiend> Hanmac: R has good and bad features, bad: OO is a mess and bolted on, good: inbuilt mathematical datastructures and really nice functions for pulling data out of a structure
<JonnieCache> krainboltgreene: https://github.com/jnunemaker/toystore
<krainboltgreene> JonnieCache Yeah, looks dead though. I'm also loving the look of https://github.com/minad/moneta
realDAB has quit [Quit: realDAB]
<JonnieCache> dead? last commit was 13 days ago
girija_ has quit [Ping timeout: 258 seconds]
<JonnieCache> you might have looked at the old repo, it has been moved
icole has joined #ruby
<JonnieCache> i linked the new one
<JonnieCache> that moneta thing looks very similar
cads has quit [Remote host closed the connection]
jlast has quit [Ping timeout: 264 seconds]
stat1x has joined #ruby
justsee has quit [Quit: Leaving...]
jonathanwallace has joined #ruby
<krainboltgreene> Looks like it comes down to the tests then!
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<krainboltgreene> And yes, I was JonnieCache.
lethjakman has quit [Ping timeout: 248 seconds]
Giorgio has joined #ruby
slainer6_ has quit [Ping timeout: 264 seconds]
elux has quit [Quit: Leaving...]
Ohga has joined #ruby
slainer68 has joined #ruby
Ohga has left #ruby [#ruby]
theRoUS has joined #ruby
icole has quit [Ping timeout: 258 seconds]
staafl has quit [Ping timeout: 245 seconds]
endzyme has joined #ruby
BizarreCake has joined #ruby
Goles has joined #ruby
drumsrgr1 has quit [Ping timeout: 256 seconds]
joofsh has joined #ruby
beiter has quit [Quit: beiter]
avelldiroll has joined #ruby
uris has joined #ruby
shevy has quit [Ping timeout: 245 seconds]
vlad_starkov has joined #ruby
yshh has joined #ruby
beiter has joined #ruby
_hemanth has joined #ruby
hemanth has quit [Read error: Connection reset by peer]
_hemanth has quit [Read error: Connection reset by peer]
mengu has quit [Read error: No route to host]
_hemanth has joined #ruby
sailias has joined #ruby
mengu has joined #ruby
krainboltgreene has quit []
jpfuentes2 has quit [Quit: Computer has gone to sleep.]
sailias has quit [Client Quit]
cupakromer has joined #ruby
sonda has joined #ruby
jpfuentes2 has joined #ruby
sambao21 has joined #ruby
eka has joined #ruby
angusiguess has joined #ruby
elux has joined #ruby
sailias has joined #ruby
sayan has quit [Read error: Connection reset by peer]
ffranz has joined #ruby
shevy has joined #ruby
jprovazn has quit [Quit: Leaving]
sonots has joined #ruby
samphippen has joined #ruby
jonathanwallace has quit [Ping timeout: 255 seconds]
whitedawg has quit [Ping timeout: 255 seconds]
apod has joined #ruby
statarb3 has joined #ruby
nateberkopec has joined #ruby
dhruvasagar has quit [Ping timeout: 240 seconds]
pcarrier has joined #ruby
m3pow has joined #ruby
Arafangion has quit [Remote host closed the connection]
vickaita has joined #ruby
joshman_ has joined #ruby
adkron has joined #ruby
JonnieCache has quit [Quit: Reconnecting]
JonnieCache has joined #ruby
jtharris has joined #ruby
avelldiroll has quit [Ping timeout: 256 seconds]
joshman_ has quit [Ping timeout: 240 seconds]
gaspar|work has quit [Quit: gaspar|work]
hashmal has quit [Quit: Computer has gone to sleep.]
invisime has joined #ruby
hbpoison has quit [Ping timeout: 256 seconds]
nga4 has quit []
jimeh has quit [Ping timeout: 264 seconds]
jonathanwallace has joined #ruby
mercy____ has joined #ruby
freeayu has quit [Remote host closed the connection]
drumsrgr1 has joined #ruby
kornnflake is now known as kornnflake_zzz
eddiezane has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
Asher has quit [Quit: Leaving.]
sleetdrop has quit [Remote host closed the connection]
jlast has joined #ruby
eldariof has joined #ruby
sleetdrop has joined #ruby
pavilionXP has quit [Read error: Connection reset by peer]
grzywacz has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
interactionjaxsn has joined #ruby
drumsrgr1 is now known as drumsrgr8forn8
drale2k has joined #ruby
sonots has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
sayan has joined #ruby
jimeh has joined #ruby
pduin has quit [Remote host closed the connection]
statix_ has joined #ruby
stat1x has quit [Ping timeout: 256 seconds]
avelldiroll has joined #ruby
ttt has joined #ruby
Astralum has quit [Ping timeout: 264 seconds]
chrisja has joined #ruby
apod has quit []
Mon_Ouie has joined #ruby
binaryplease has joined #ruby
Xeago has quit [Remote host closed the connection]
tcstar has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
failshell has joined #ruby
cilquirm has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
k610 has quit [Quit: Leaving]
ttt has quit [Ping timeout: 276 seconds]
statix_ is now known as stat1x
v0n has joined #ruby
_2easy has joined #ruby
Morrolan has quit [Ping timeout: 248 seconds]
drale2k has quit [Quit: Leaving...]
lkba has joined #ruby
thone has quit [Ping timeout: 258 seconds]
sepp2k has quit [Ping timeout: 258 seconds]
austinbv has joined #ruby
thone has joined #ruby
sleetdro_ has joined #ruby
maasha has quit [Quit: Page closed]
withnale has joined #ruby
sleetdrop has quit [Read error: Connection reset by peer]
blacktulip has quit [Remote host closed the connection]
seejohnrun has joined #ruby
bradleyprice has joined #ruby
Morrolan has joined #ruby
sepp2k has joined #ruby
ArchBeOS is now known as DarmokAndJalad
DarmokAndJalad has left #ruby ["Leaving"]
pygmael has quit [Quit: pygmael]
bean has joined #ruby
workmad3 has joined #ruby
rickmasta has joined #ruby
austinbv has quit [Ping timeout: 252 seconds]
justsee has quit [Quit: Leaving...]
_nitti has joined #ruby
Asher has joined #ruby
joshman_ has joined #ruby
_2easy has quit [Ping timeout: 245 seconds]
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
Asher has quit [Read error: Connection reset by peer]
Asher has joined #ruby
_2easy has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.0]
idletom has joined #ruby
pseudonymous has joined #ruby
Asher has quit [Read error: Connection reset by peer]
Asher2 has joined #ruby
hbpoison has joined #ruby
trend has joined #ruby
megha has joined #ruby
<pseudonymous> I'm hoping to write some code that needs to function just like File.open w. a block does - ie if an exception is raised, a method or so of mine is run to clean up before the script continues. I'm drawing a blank as to what I should search for in regards to blocks to make this happen
axl_ has joined #ruby
baba has quit [Ping timeout: 264 seconds]
pcarrier has quit []
Asher2 has quit [Client Quit]
<MrZYX> pseudonymous: begin; yield; rescue; cleanup; raise; end
_nitti has quit [Remote host closed the connection]
beiter has quit [Quit: beiter]
codecop has quit [Remote host closed the connection]
Voting has joined #ruby
nateberkopec has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
<ged> Anyone have any advice on how to deal with wchar_t strings in a Ruby C extension?
mmitchel_ has joined #ruby
_nitti has joined #ruby
mmitchell has quit [Read error: Connection reset by peer]
nomenkun has quit [Read error: Connection reset by peer]
sandGorgon has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
linnea_ has joined #ruby
linnea_ has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
mercy____ has quit [Quit: mercy____]
thebastl has quit [Ping timeout: 256 seconds]
tomzx_mac has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
xbob has quit [Quit: Leaving]
justsee has joined #ruby
justsee has joined #ruby
justsee has quit [Changing host]
Stilo has joined #ruby
brhelwig has joined #ruby
a_a_g has joined #ruby
krawchyk has joined #ruby
girija_ has joined #ruby
__Big0__ has joined #ruby
linnea_ has joined #ruby
linnea_ has quit [Remote host closed the connection]
linnea_ has joined #ruby
brhelwig has quit [Ping timeout: 264 seconds]
s1n4 has joined #ruby
__Big0__ has quit [Read error: Connection reset by peer]
awarner has joined #ruby
hbpoison has quit [Ping timeout: 264 seconds]
ozgura has quit [Read error: Connection reset by peer]
ozgura_ has joined #ruby
generalissimo has joined #ruby
hbpoison has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
trend has quit [Read error: Operation timed out]
ozgura_ has quit [Read error: Connection reset by peer]
stat1x has quit [Ping timeout: 276 seconds]
stat1x has joined #ruby
slainer68 has quit [Remote host closed the connection]
carlyle has joined #ruby
slainer68 has joined #ruby
theoros has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
rismoney has joined #ruby
theoros has joined #ruby
newUser1234 has joined #ruby
SCommette has joined #ruby
kornnflake_zzz is now known as kornnflake
shock_one has joined #ruby
yashshah- has quit [Read error: Connection reset by peer]
carraroj has quit [Quit: Konversation terminated!]
yashshah- has joined #ruby
drale2k has joined #ruby
Asher has joined #ruby
vlad_starkov has joined #ruby
dhruvasagar has joined #ruby
Asher has quit [Client Quit]
drale2k has quit [Client Quit]
joshman_ has quit [Ping timeout: 264 seconds]
ramblex has joined #ruby
__Big0__ has joined #ruby
wobblini has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
samphippen has joined #ruby
JohnBat26 has quit [Ping timeout: 264 seconds]
Mattix has joined #ruby
joshman_ has joined #ruby
woolite64 has joined #ruby
Uranio has joined #ruby
linnea_ has quit [Remote host closed the connection]
linnea_ has joined #ruby
a_a_g has quit [Quit: Leaving.]
pyrac has quit [Ping timeout: 248 seconds]
pygmael has joined #ruby
eddiezane has left #ruby [#ruby]
eldariof has quit []
dawkirst has quit [Ping timeout: 245 seconds]
rcassidy has joined #ruby
pygmael has quit [Client Quit]
pygmael has joined #ruby
linnea_ has quit [Remote host closed the connection]
binaryplease has joined #ruby
Qwak has quit []
dhruvasagar has quit [Ping timeout: 252 seconds]
classix has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
bluOxigen has quit [Ping timeout: 264 seconds]
classix has joined #ruby
xclite has quit [Remote host closed the connection]
Spooner_ has quit [Remote host closed the connection]
jlast has quit [Read error: Connection reset by peer]
pskosinski has quit [Ping timeout: 240 seconds]
jlast has joined #ruby
authenticity25 has joined #ruby
andikr has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
xclite has joined #ruby
geggam_wk has joined #ruby
cupakromer has left #ruby [#ruby]
interactionjaxsn has quit [Remote host closed the connection]
austinbv has joined #ruby
aganov has quit [Quit: aganov]
carloslopes has quit [Remote host closed the connection]
dawkirst has joined #ruby
sambao21 has joined #ruby
xclite has quit [Remote host closed the connection]
braoru has quit [Quit: Leaving]
vlad_starkov has joined #ruby
xclite has joined #ruby
sleetdro_ has quit [Remote host closed the connection]
linnea_ has joined #ruby
austinbv has quit [Ping timeout: 256 seconds]
echobin0 has joined #ruby
linnea_ has quit [Remote host closed the connection]
jeremywrowe has quit [Quit: Lost terminal]
vlad_starkov has quit [Remote host closed the connection]
pduin has joined #ruby
__Big0__ has quit [Remote host closed the connection]
ozgura has joined #ruby
slapt has joined #ruby
freerobby has joined #ruby
charlie_ has quit [Read error: Connection reset by peer]
tk_ has quit [Quit: ばいばい]
chrishough has joined #ruby
shock_one has quit [Ping timeout: 264 seconds]
ckrailo has joined #ruby
Liquid-- has joined #ruby
__Big0__ has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
tjbiddle has joined #ruby
bricker`LA has quit [Ping timeout: 248 seconds]
yfeldblum has joined #ruby
__Big0__ has quit [Remote host closed the connection]
mikepack has joined #ruby
mockra has quit [Remote host closed the connection]
casheew has quit [Read error: Connection reset by peer]
pskosinski has joined #ruby
binaryplease has quit [Quit: WeeChat 0.4.0]
casheew has joined #ruby
bricker`LA has joined #ruby
Uranio has quit [Quit: while you reading this, a kitty dies]
dhruvasagar has joined #ruby
tagrudev has quit [Remote host closed the connection]
samphippen has joined #ruby
nomenkun has joined #ruby
bradhe has joined #ruby
asobrasil has joined #ruby
maletor has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
Asher- has joined #ruby
Asher- has quit [Client Quit]
bradhe has quit [Ping timeout: 264 seconds]
Asher has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
nomenkun has quit [Ping timeout: 264 seconds]
<Voting> https://coderwall.com/p/_-_mha <- is this the best thing I can read to help me understand, deeply, closures vs. block vs. Proc vs. lambda vs. method vs... whatever else there is that is of like these? Or what SHOULD I read. Working my way though Well Grounded book... still weak in this area.
<banisterfiend> Voting: honestly that explanation looks confused and messed up
casheew has quit [Read error: Connection reset by peer]
<banisterfiend> Voting: read it in the book IMO
<Voting> the book?
<banisterfiend> that book is probably ok, but the one i really liked was 'the ruby programming language' by flanagan and matz
<banisterfiend> Voting: the book you frikkin mentioned ;)
<Voting> banisterfiend: which pages?
<banisterfiend> Voting: ah, ok the ruby programming language?
<banisterfiend> of*
<banisterfiend> one sec ill check
<Voting> tx!
kpshek has joined #ruby
Xeago has quit [Remote host closed the connection]
<banisterfiend> Voting: im on kindle, but location 5075 looks to be it
casheew has joined #ruby
<banisterfiend> Voting: but seriously if you just google for it you should find a tonne of great explanations, esp on stackoverflow
nga4 has joined #ruby
<Voting> Of the dave thomus book, banisterfiend?
daniel_- has joined #ruby
daniel_- has joined #ruby
daniel_- has quit [Changing host]
<banisterfiend> i dont know that book very well, but im sure it's good
pavilionXP has joined #ruby
Xeago has joined #ruby
mahmoudimus has joined #ruby
casheew has quit [Read error: Connection reset by peer]
<Voting> banisterfiend: which book are YOU talking about?
tonini has quit [Remote host closed the connection]
fphilipe has quit [Remote host closed the connection]
m3pow has quit [Ping timeout: 264 seconds]
<Voting> Plus of implicit blocks... that I'm finding confusing.
interactionjaxsn has joined #ruby
justsee has quit [Quit: Leaving...]
casheew has joined #ruby
nari has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby
chussenot_ has joined #ruby
Nisstyre has joined #ruby
m3pow has joined #ruby
yshh_ has joined #ruby
angusiguess has quit [Ping timeout: 256 seconds]
yshh has quit [Read error: Connection reset by peer]
<AltGrendel> Heading home for the meeting, see you soon.
AltGrendel has quit [Quit: Leaving.]
psyprus has quit [Changing host]
psyprus has joined #ruby
kornnflake is now known as kornnflake_zzz
_veer has quit [Ping timeout: 258 seconds]
akhet has joined #ruby
carloslopes has quit [Read error: Connection reset by peer]
carloslopes has joined #ruby
frem has joined #ruby
welandC has joined #ruby
bradhe has joined #ruby
welandB has quit [Ping timeout: 252 seconds]
rickmasta has quit [Quit: Be back later]
iron_dude has joined #ruby
rickmasta has joined #ruby
Kelet has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
fphilipe has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
w400z has joined #ruby
<kapowaz> I was using this gem in a project (http://rubygems.org/gems/time-ago-in-words) — anyone know what happened to it or what is a good alternative? This is not a rails app, fwiw
echobin0 has quit [Read error: Connection reset by peer]
echobin92 has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
ozgura has quit [Read error: Connection reset by peer]
joshman_ has quit [Ping timeout: 252 seconds]
ozgura has joined #ruby
dustint has quit [Ping timeout: 240 seconds]
seejohnrun has quit [Ping timeout: 255 seconds]
joshman_ has joined #ruby
xcv has joined #ruby
etcetera has joined #ruby
a_a_g has joined #ruby
Nisstyre has quit [Read error: Connection reset by peer]
welandC has quit [Ping timeout: 258 seconds]
<bean> i just use
<bean> require 'action_view'
<bean> include ActionView::Helpers::DateHelper
<bean> and then distance_of_time_in_words( is available
<bean> kinda hacky
fphilipe has quit [Remote host closed the connection]
<aedorn> ChronicDuration
<aedorn> or just Chronic depending... can't even see what that time-ago-in-words gem does!
blacktulip has joined #ruby
browndawg has joined #ruby
<kapowaz> bean: yeah, see — it's *not* a Rails app
<bean> aware.
<kapowaz> so I don't want to get into the business of including all that other actionview crap just to get time string formatting
<kapowaz> I'm consciously not including those things
<kapowaz> looks like time-lord is the thing I need now though
<bean> chronicduration looks nice
maletor has joined #ruby
dmiller2 has joined #ruby
<aedorn> I like it!
kornnflake_zzz is now known as kornnflake
adkron has quit [Ping timeout: 248 seconds]
<axl_> i want to call a 'to_i' on the values of a hash if the value is not nil, and have the values change permanently in the hash. is that doable?
angusiguess has joined #ruby
casheew has quit [Read error: Connection reset by peer]
casheew has joined #ruby
vickaita has quit [Ping timeout: 240 seconds]
<axl_> roughly i want to define 'my_method' in this gist: https://gist.github.com/gaganawhad/616d8fde9da6d5b37e8d
lethjakman has joined #ruby
austinbv has joined #ruby
Voodoofish430 has joined #ruby
<pskosinski> I hate Sequel… how it is that query works when I write it into sqlite3 console but not when I copy paste it to Ruby + Sequel…
_maes_ has joined #ruby
mikecmpbll has joined #ruby
tomzx_mac has quit [Ping timeout: 255 seconds]
JMcAfreak has quit [Remote host closed the connection]
Kelet has left #ruby [#ruby]
Giorgio has quit [Read error: Operation timed out]
zeade has joined #ruby
threesome has quit [Ping timeout: 256 seconds]
carloslopes has quit [Remote host closed the connection]
austinbv has quit [Ping timeout: 252 seconds]
cilquirm has quit [Quit: cilquirm]
freerobby has quit [Quit: Leaving.]
skattyadz has joined #ruby
chendo_ has quit [Ping timeout: 248 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
Liquid-- has quit [Quit: Computer has gone to sleep.]
Nisstyre has joined #ruby
zigomir has quit [Quit: zigomir]
rickmasta has quit [Quit: Leaving...]
JMcAfreak has joined #ruby
frem has quit [Quit: Computer has gone to sleep.]
chendo_ has joined #ruby
chendo_ has quit [Changing host]
chendo_ has joined #ruby
JonnieCache has quit [Read error: Operation timed out]
<otters> a
<otters> axl_: hsh.each{|k,v|hsh[k] = v.to_i}
<axl_> thanks otters
<Hanmac> otters you did not notic the nils :p
<Hanmac> i did my_hash.update(my_hash) {|_,val,_| val ? val.to_i : val} #:P
<otters> ok fine
<otters> class NilClass; def to_i; nil; end; end
<otters> then it'll work
pduin has quit [Remote host closed the connection]
<Hanmac> hm but this kind of monkey patching is not nice
<otters> you're not nice
<gf3> LOL
<otters> anyway, update is the way to go
<otters> or merge!!
<banisterfiend> otters: is to_i allowed to return nil?
xclite has quit [Remote host closed the connection]
<MrZYX> hm why val ? val.to_i : val over val && val.to_i ?
<otters> because nil && 0 is false
<otters> not nil
<banisterfiend> otters: i think to_i always returns a Fixnum (or doesn't exist at all)
<otters> OH
Bry8Star_ has joined #ruby
<otters> no it is nil
<otters> lol look at me
dhruvasagar has joined #ruby
_maes_ has quit [Read error: Connection reset by peer]
<otters> everyone have a laugh
<otters> banisterfiend: i don't think to_i is constrained to return anything at all
<otters> ruby is not strongly typed
<MrZYX> >> nil && 0
<eval-in> MrZYX => nil (http://eval.in/13014)
<banisterfiend> otters: well, im just looking at stdlib/core, and i can't get it to return anything other than a Fixnum
<banisterfiend> otters: this is probably a reasonable assumption one makes about to_i methods
<otters> >> class NilClass; def to_i; nil; end; end; nil.to_i
<eval-in> otters => nil (http://eval.in/13015)
j^2 has joined #ruby
<banisterfiend> otters: also, nil.to_i already returns 0
<banisterfiend> yu're breaking shit by making it return nil
<otters> right, not nil
<otters> you could use refinements then
<otters> he wanted nil to be nil
<otters> the best way to do that is just ignore nil values
akashj87 has joined #ruby
<axl_> thanks guys. this has been interesting. it makes me wonder too many times if nil.to_i should be returning a nil
Bry8Star has quit [Ping timeout: 276 seconds]
Eiam has joined #ruby
<axl_> but whatever… i think i am making some progress with making my code look elegant with the recommendations you guys gave
kornnflake is now known as kornnflake_zzz
xclite has joined #ruby
<banisterfiend> axl_: dont ever monkeypatch
<banisterfiend> :)
<banisterfiend> well, in your own code i guess it's ok, but not in library code
mahmoudimus has quit [Quit: Computer has gone to sleep.]
Vainoharhainen has joined #ruby
<banisterfiend> not sure what it is you're writing
<axl_> sure. ill remember that
<otters> axl_: don't take any of my advice
hoelzro is now known as hoelzro|away
<otters> there should be a disclaimer under my nick but I don't think freenode supports that
<banisterfiend> take that advice though ^
<banisterfiend> ;)
hoopsho has joined #ruby
<otters> heh
<otters> don't take any of my advice, including when i said not to take my advice
<otters> it's a paradox
hoopsho has quit [Client Quit]
<banisterfiend> though ruby is a bit confusing, even defining a top-level method is effectively a monkeypatch
<otters> yeah
<otters> >> [0b1101.object_id, 0b11011]
<eval-in> otters => [27, 27] (http://eval.in/13016)
<otters> :o
<Wardje> So I have someone's rails project. To properly set up the db's tables (I have already created a db and a user with appropriate access), do I have to run `rake db:migrate` or something else? (Forgive the possible silliness of the question, not much of a ruby/rails user and either I'm googling badly or this information isn't out there properly)
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
w400z has quit []
kornnflake_zzz is now known as kornnflake
arturaz has quit [Read error: Operation timed out]
maligree has quit [Ping timeout: 256 seconds]
nmeum has quit [Quit: WeeChat 0.3.8]
danman has joined #ruby
<axl_> Wardje: that
<Wardje> Just that? Alright, thanks
<axl_> err… thats a #rails question … but `rake db:migrate` will run all your migrations
enricostn has joined #ruby
<Wardje> o I wasn't aware of #rails, my bad
m_3 has quit [Remote host closed the connection]
maligree has joined #ruby
rcassidy has left #ruby [#ruby]
axl_ has quit [Quit: axl_]
<enricostn> hi, there is a way to mock UTC in tests?
brhelwig has joined #ruby
m_3 has joined #ruby
pygmael has quit [Quit: pygmael]
nmeum has joined #ruby
razibog has quit [Ping timeout: 248 seconds]
seejohnrun has joined #ruby
chrishough has quit [Quit: chrishough]
ssvo has quit [Quit: leaving]
bricker`LA has quit [Ping timeout: 264 seconds]
neku has quit [Quit: Linkinus - http://linkinus.com]
trend has joined #ruby
tomzx_mac has joined #ruby
ssvo has joined #ruby
echobin97 has joined #ruby
echobin92 has quit [Read error: Connection reset by peer]
ssvo has quit [Client Quit]
ssvo has joined #ruby
ssvo has quit [Client Quit]
ssvo has joined #ruby
<reactormonk> enricostn, timecop or similar?
kpshek has quit []
<enricostn> yeah it's what I'm looking at right now, thanks
miskander has joined #ruby
dhruvasagar has quit [Ping timeout: 245 seconds]
<enricostn> it could "simulate" like my machine is using UTC, right?
<reactormonk> enricostn, oh. That's something different.
<pskosinski> Ruby + databases is for masochists or IRM noobs.
<pskosinski> ORM *
eAlchemi_ has joined #ruby
yashshah- has quit [Read error: Connection reset by peer]
<reactormonk> pskosinski, welcome to company then
yashshah- has joined #ruby
havenwood has joined #ruby
alanp has quit [Remote host closed the connection]
dhruvasagar has joined #ruby
dustint has joined #ruby
anonymuse has joined #ruby
samphippen has quit [Quit: Computer has gone to sleep.]
freerobby has joined #ruby
jrajav has joined #ruby
<enricostn> reactormonk, mh I see
<enricostn> must be a way to do that
chrishough has joined #ruby
timonv has quit [Remote host closed the connection]
rakm has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
alanp has joined #ruby
francisfish has quit [Remote host closed the connection]
Liquid-- has joined #ruby
francisfish has joined #ruby
<reactormonk> enricostn, maybe timecop can do that
axl_ has joined #ruby
<reactormonk> enricostn, sometimes I miss (flet)
davetherat has quit [Remote host closed the connection]
davetherat has joined #ruby
flagg0204 has quit [Quit: leaving]
rickmasta has joined #ruby
_nitti_ has joined #ruby
<axl_> Hanmac: you wrote code sometime ago that involved passing underscore to the update method of a hash
francisfish has quit [Ping timeout: 256 seconds]
grayson has joined #ruby
<axl_> where i can i get information about how passing underscore in ruby as argument is handled and when it should be used?
tjbiddle has joined #ruby
_nitti has quit [Ping timeout: 245 seconds]
tjbiddle has quit [Remote host closed the connection]
_nitti has joined #ruby
tjbiddle has joined #ruby
freerobby has quit [Ping timeout: 252 seconds]
flagg0204 has joined #ruby
freerobby has joined #ruby
<reactormonk> axl_, code sample?
<havenwood> axl_: The convention is to use an underscore for a parameter that isn't thereafter used.
io_syl has joined #ruby
<reactormonk> havenwood, where is that actually useful? Except in blocks?
<axl_> havenwood: this is what you did: my_hash.update(my_hash) {|_,val,_| val ? val.to_i : val}
<axl_> i have never come across passing underscore as an argument before
<havenwood> axl_: It is in the Github manual of style.
skattyadz has quit [Ping timeout: 258 seconds]
<axl_> is there a place i can read about it?
_nitti_ has quit [Ping timeout: 252 seconds]
sepp2k has quit [Ping timeout: 258 seconds]
sepp2k has joined #ruby
<axl_> or is it just programming convention
Spooner has joined #ruby
carlyle has quit [Remote host closed the connection]
<havenwood> reactormonk: I did read in 2.0 change log that when run with warnings enabled, a variable beginning with _ will not raise a warning if that variable is assigned and then never used.
eykosioux has joined #ruby
dhruvasagar has quit [Ping timeout: 272 seconds]
<havenwood> axl_: I think it is idiomatic Ruby. I can't think of anywhere it is discussed. Typically style guides just say something like: "Use _ for unused block parameters."
pygmael has joined #ruby
<axl_> ok thanks
<havenwood> # bad; result = hash.map { |k, v| v + 1 }
tomzx_mac has quit [Ping timeout: 258 seconds]
WanderingGlitch has joined #ruby
<havenwood> # good; result = hash.map { |_, v| v + 1 }
dhruvasagar has joined #ruby
<axl_> awesome
<axl_> thanks
samphippen has joined #ruby
vickaita has joined #ruby
Stilo has joined #ruby
newUser1234 has quit [Read error: Operation timed out]
mockra has joined #ruby
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ruby
newUser1234 has joined #ruby
carloslopes has joined #ruby
maligree has quit [Ping timeout: 252 seconds]
Amfy has quit [Excess Flood]
Amfy has joined #ruby
kpshek has joined #ruby
chrishough has quit [Quit: chrishough]
maligree has joined #ruby
freezey has joined #ruby
skattyadz has joined #ruby
mrsolo has joined #ruby
grzywacz has quit [Ping timeout: 264 seconds]
Quebert has joined #ruby
fphilipe has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
mahmoudimus has joined #ruby
chrishough has joined #ruby
Liquid-- has quit [Quit: Computer has gone to sleep.]
etcetera has quit []
RagingDave has joined #ruby
Tricon has joined #ruby
Morkel has quit [Quit: Morkel]
jonahR has joined #ruby
jgrevich has joined #ruby
carlyle has joined #ruby
jekotia has joined #ruby
chussenot_ has quit [Quit: chussenot_]
seejohnrun has quit [Remote host closed the connection]
swex_ has quit [Read error: Connection reset by peer]
linnea_ has joined #ruby
icole has joined #ruby
linnea_ has quit [Remote host closed the connection]
Aiur has joined #ruby
<shevy> hmm
linnea_ has joined #ruby
<shevy> let's say I want to display something on the commandline, in a "table layout"
<shevy> cat tom
<shevy> mouse jerry
<shevy> you see it is aligned properly (with the ' ' as padding)
swex has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shevy> now I know there is a way to specify that via those format thingies... with sprintf() and so on
krawchyk has quit [Remote host closed the connection]
<shevy> but is there not a much simpler way to do that?
lkba has quit [Ping timeout: 245 seconds]
sk87 has quit [Quit: sk87]
<shevy> I always have to look it up before I can use it :(
spider-mario has joined #ruby
<gf3> shevy: There are a few table formatter libraries
cilquirm has joined #ruby
pseudonymous has quit [Ping timeout: 276 seconds]
pygmael has quit [Quit: pygmael]
<shevy> hmm but how do you guys do it? I feel it always comes back again and again, and somehow I struggle with that more than I think I should, it feels easier to hard-align by doing the ' ' padding for small tables, rather than using %-3d or something like that
icole has quit [Ping timeout: 276 seconds]
eldariof has joined #ruby
zeade has quit [Quit: Leaving.]
zeade has joined #ruby
etcetera has joined #ruby
philipd has joined #ruby
Spaceghostc2c has quit [Quit: Until next time.]
pskosinski has quit [Ping timeout: 260 seconds]
generali_ has joined #ruby
<aaronmcadam> anybody know how to use one connection with HTTParty and then close it when done? I'm sending multiple requests in a loop
denstark has joined #ruby
nazty has joined #ruby
chussenot_ has joined #ruby
umarillian has joined #ruby
pskosinski has joined #ruby
generalissimo has quit [Ping timeout: 258 seconds]
angusiguess has joined #ruby
jgrevich_ has joined #ruby
_nitti has quit [Remote host closed the connection]
Harlin has joined #ruby
jgrevich has quit [Ping timeout: 240 seconds]
jgrevich_ is now known as jgrevich
Scudelletti has joined #ruby
DaniG2k has joined #ruby
<DaniG2k> guys if I have a class Var that when initialized sets @s
<DaniG2k> and then if I do v = Var.new("a")
<DaniG2k> I get => #<Var:0x000001010b1e20 @s="a">
<DaniG2k> how can I access that @s instnace variable?
<gf3> shevy: Honestly, ruby's string formatting is so nice and easy to use I usually just use that
adkron has joined #ruby
<Harlin> trying to understand private methods... calling one from an inside same class http://pastebin.com/YCXGQRwk any ideas why i may be getting this error?
fphilipe has quit [Remote host closed the connection]
austinbv has joined #ruby
alvaro_o has joined #ruby
<gf3> Harlin: `do` is a keyword to start a block
<gf3> Harlin: Try renaming it to `run` or something similar
<Scudelletti> DaniG2K u can get the var using Var.new('a').instance_variable_get(:@s)
<DaniG2k> aha
<DaniG2k> thanks
<gf3> Harlin: Oh you already have a `run`, just name it something else
frem has joined #ruby
<Harlin> oh crud
<Harlin> thanks gf3
<Harlin> funny that i ran into that same issue with php :-\
<Harlin> shoulda known that.
Coolhand has quit [Read error: Connection reset by peer]
alexspeller has quit [Quit: ZNC - http://znc.in]
Nightmare has quit [Quit: DDoS has died, DDoS has risen, DDoS comin' again]
<gf3> Harlin: It's a pretty common keyword among langs, although `do` in ruby is very different from `do` in PHP
rezzack has joined #ruby
<Harlin> indeed. thanks for pointing that out
<Scudelletti> DaniG2K is more readable if u use attr_acessors like this => http://www.paste.to/MjU4NzE=
pi3r has quit [Quit: Leaving]
austinbv has quit [Quit: WeeChat 0.3.8]
tommyvyo has quit [Read error: Connection reset by peer]
tommyvyo_ has joined #ruby
Coolhand has joined #ruby
echobin97 has quit [Read error: Connection reset by peer]
echobin57 has joined #ruby
etcetera has quit [Ping timeout: 255 seconds]
Harlin has quit [Remote host closed the connection]
Coolhand has quit [Remote host closed the connection]
enricostn has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 256 seconds]
rickmasta has quit [Quit: Leaving...]
hybris has quit [Read error: Connection reset by peer]
braoru has joined #ruby
b_ has joined #ruby
b_ has quit [Remote host closed the connection]
miskander has quit [Quit: miskander]
Coolhand has joined #ruby
etcetera has joined #ruby
braoru has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
wmoxam has quit [Ping timeout: 256 seconds]
Giorgio has joined #ruby
slainer68 has quit [Remote host closed the connection]
<shevy> gf3 hmm yeah, but you dont have to look the rules up? have you memorized them all?
miskander has joined #ruby
wmoxam has joined #ruby
hbpoison has quit [Ping timeout: 246 seconds]
<gf3> shevy: I use them pretty often
sambao21 has joined #ruby
slainer68 has joined #ruby
aaronmcadam has quit [Ping timeout: 252 seconds]
<gf3> shevy: But you could easily roll your own `row` function or something
<shevy> DaniG2k usually you use a method to query an @ivar (a "getter"), with attr_reader you define a getter for an @ivar, like: attr_reader :foo would make a method called foo() which queries the instance variable @foo
ephemerian has quit [Quit: Leaving.]
<gf3> shevy: Which is basically just a thin wrapper on format
Vainoharhainen has quit [Quit: Linkinus - http://linkinus.com]
<shevy> gf3 hmm ok so you have memorized them in your brain then basically I guess
maligree has quit [Quit: Passed out.]
hbpoison has joined #ruby
razibog has joined #ruby
<shevy> on the commandline I use ascii colours quite a bit
<gf3> Cool
<shevy> ANIMAL | Colour of Fur
<shevy> tom the cat | black
<shevy> jerry the mouse | brown
<shevy> omg... :\
<shevy> next time I think I make a screenshot ...
<shevy> gf3 did you use C or something before that you know the formatting rules in ruby?
c0rn has joined #ruby
<shevy> Hanmac well these are awesome ideas, but
<shevy> Hanmac you always alienate existing technology and people who want to retain power/money/influence
<shevy> the coolest idea may fail if you have enough others set up against those ideas
<shevy> "printing a car", eh. that would change the whole world
<Hanmac> i read about a 3d-printer that can print an entire HOUSE :D
<shevy> well, biological cells can "print" information encoded in genes, so all you would have to do is encode the information of a whole house in a genome and let cells/animals build it for you
<gf3> shevy: A little, but I use it much more in ruby
eldariof has quit [Remote host closed the connection]
<Hanmac> shevy so whould the entire house living too? :P
artm has quit [Quit: Ex-Chat]
chipotle_ has joined #ruby
shock_one has joined #ruby
artm_ has joined #ruby
slainer68 has quit [Remote host closed the connection]
<shevy> Hanmac would not have to be, I mean just look at a dead tree, or wood
kpshek has quit [Ping timeout: 240 seconds]
twoism has joined #ruby
Nightmare has joined #ruby
<shevy> Hanmac what would be harder would be stone/minerals, I am unsure how to collect that efficiently with biological harvesting alone
haxrbyte has joined #ruby
s1n4 has quit [Quit: leaving]
<shevy> or steel and so forth
<shevy> that's probably never possible to create from biological sources, not even with nanobiotechnology :(
twoism has quit [Read error: Connection reset by peer]
<Hanmac> shevy image you would live inside a living walking tree :P
<Hanmac> if the tree is fast enough, the Tax-men would not get you :D
<shevy> yeah, would be cool, should be possible too one day, you only need a set of directions for cells to adapt to that
twoism has joined #ruby
<shevy> I mean, you start out as a single cell, and you end up with a full human being
haxrbyte_ has quit [Read error: Connection reset by peer]
interactionjaxsn has quit [Remote host closed the connection]
eldariof has joined #ruby
chussenot_ has quit [Quit: chussenot_]
anderse has joined #ruby
girija_ has quit [Ping timeout: 258 seconds]
<csmrfx> biological harvesting in terms of mining is today
chussenot_ has joined #ruby
<aedorn> So what we need to do is genetically modify ourselves to attract other cells to combine, form, and replace dying cells. Or just me. I will take the self sacrifice of living forever for science.
dr_bob has left #ruby [#ruby]
<csmrfx> Hold your horses
<csmrfx> we cannot do that
<csmrfx> look around you
brianpWins has joined #ruby
<csmrfx> everything that is alive, is that because evolution of millions of years tested the code
_nitti has joined #ruby
<csmrfx> you think you can make it better?
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<wmoxam> csmrfx: that's a poor argument
<csmrfx> no, thats reality
<wmoxam> if that were true we'd all eat only raw food ;)
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<Hanmac> cshrfx it allows OSX to exist .. so there is no evolution
<csmrfx> wmoxam: if we would have made it better, there would be no obesity or diets -- we made food worse!!
skattyadz has quit [Quit: skattyadz]
kpshek has joined #ruby
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby
<wmoxam> csmrfx: I didn't realize every one was obese/dieting
kenyabob has quit [Quit: kenyabob]
pepper_chico has quit [Max SendQ exceeded]
<wmoxam> carry on
<aedorn> csmrfx: Using that argument doesn't make sense. The reason that food has become "worse" is really because the underlying motivation to change it was money.
francisfish has joined #ruby
Quebert has quit [Quit: Linkinus - http://linkinus.com]
Dreamer3 has joined #ruby
arturaz has joined #ruby
dhruvasagar has quit [Ping timeout: 264 seconds]
<csmrfx> Exhibit A: Adult Type II Diabetes. Entirely caused by poor diet. Affects hundreds of millions.
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<havenwood> I see where this is going... humanity is a virus. I'm a disease, I make myself sick.
<csmrfx> I can go on, but this is all just common facts.
* havenwood calls into work, sick with case of self.
mpfundstein has quit [Remote host closed the connection]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
chipotle_ has quit [Quit: cya]
<csmrfx> some things can indeed be improved like OSX, but we will never beat evolution
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<csmrfx> In Finland there was this large mining accident in Talvivaara, where they use bacteria to mine metals from the store ore
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<csmrfx> great idea, but humans managed to screw that up, too!
chussenot_ is now known as chussenot
browndawg has quit [Quit: Leaving.]
h8R has quit [Read error: Connection reset by peer]
interactionjaxsn has joined #ruby
pepper_chico has joined #ruby
h8R has joined #ruby
s1n4 has joined #ruby
pepper_chico has quit [Client Quit]
jdunck has joined #ruby
<wmoxam> csmrfx: yes I agree, technological progress should only be made if there is 0 chance that we screw up, or try to defy nature in any way!!!!
<Hanmac> csmrfx: the mono island in a discworld book was funny ... because at this place you can see evolution in action :P ... when you are want to smoke there will be a ziggarette plant in a few minutes ... including with fiters
<csmrfx> wmoxam: and arguments only made if you actually have an argument?
_nitti has quit [Ping timeout: 246 seconds]
crimezone20xx has joined #ruby
vlad_starkov has joined #ruby
<csmrfx> Hanmac: Do those ciggies also have natural Polonium isotope that causes cancer?
* csmrfx goes to ask Terry
<wmoxam> csmrfx: sorry, I'm busy eating raw carrots, don't want to get diabetes
<Hanmac> csmrfx hm, i dont know, but the filter has seeds inside that needs fire to bloom :P
freerobby has quit [Quit: Leaving.]
<csmrfx> wmoxam: ok, I'll go twist some words while I wait
jdunck has quit [Ping timeout: 245 seconds]
RORgasm has joined #ruby
<wmoxam> *crunch* *cruncH* *crunch*
toekutr has quit [Remote host closed the connection]
fphilipe has joined #ruby
aaronmcadam has joined #ruby
jbueza has joined #ruby
jbueza has quit [Max SendQ exceeded]
rh1n0 has joined #ruby
jbueza has joined #ruby
<interactionjaxsn> wmoxam: didn't you hear, they cured diabetus in rats... humans will be soon
chussenot has quit [Quit: chussenot]
<Hanmac> csmrfx if i have access to a biogenetic laboratory i would try to make plants that can produce meat :P
<wmoxam> interactionjaxsn: blasphemy! we will never beat evolution!!
vlad_starkov has quit [Ping timeout: 255 seconds]
<aedorn> Hanmac: isnt' that what tofu is for? =p
<interactionjaxsn> wmoxam: what's evolution?
drale2k has joined #ruby
<wmoxam> interactionjaxsn: everything that is alive, is that because evolution of millions of years tested the code!!
ryanf has joined #ruby
<wmoxam> don't modify poorly commented code you don't understand!
Al____ has quit [Quit: Al____]
<wmoxam> or BOOM!
<Hanmac> wmoxam: imo the evolution should get it faster :P
<Hanmac> aedorn tofu is only a replica, an imitate, a mimic :P ... i want to make a plant which can make Ham-like fruits :P
anderse has quit [Quit: anderse]
timmow has quit [Ping timeout: 252 seconds]
alexyz has quit [Remote host closed the connection]
jdunck has joined #ruby
horrror has joined #ruby
jamesk has joined #ruby
<interactionjaxsn> Hanmac: ham with seeds?
<horrror> weird question. I'm running a huge data structuring script with Jruby (text to neo4j.rb format) and it takes 3 days (finished 80%) and I forgot to appropriately close the object (Neo4j::Batch::Inserter) and on neo4j.rb doc it says that not closing the object might make the graph data corrupted. My question is can I create a new file that only closes the mentioned object? and have Neo4j::Batch::Inserter.shutdown? Surely I will run the file o
<horrror> when the first script will completely finish.
anderse has joined #ruby
<aedorn> Hanmac: In that case, let me know when you're done genetically modifying the apple tree to produce filet mignon. I'll send you all my money!
<jamesk> So, I've been a java dev for about two years now. Then last week, I learnt ruby. I think I might be in love.
iron_dude has quit [Read error: Connection reset by peer]
<Hanmac> aedorn i have enough ideas to freak you out :P ... i would comine apple with pidgeons ... only because i would can :P
blaxter has quit [Ping timeout: 246 seconds]
<TMM> I was wondering if someone could tell me if ruby has facilities to do something like : http://ideone.com/Eg2cav a bit cleverer? It doesn't appear to be possible to pass a comparison function into something like Array#compare (not that it has that, but that's what I'd expect)
maggit has joined #ruby
Ontolog has joined #ruby
mityaz has joined #ruby
fphilipe has quit [Remote host closed the connection]
linnea_ has quit [Remote host closed the connection]
<TMM> I don't want to implement a #== is in my "X" class because the comparison that I need is not for every attribute of the objects and would be confusing (imagine "X" having a bunch of attributes, but for this I only care to know about one of them)
<wmoxam> Hanmac: evolution is lazily evaluated
elaptics is now known as elaptics`away
akashj87 has quit [Ping timeout: 252 seconds]
_nitti has joined #ruby
<shevy> Hanmac an apple with feathers?
<Hanmac> TMM : i think this would be better x.reject{ |x_item| y.any? { |y_item| x_item.attribute == y_item.attribute } }
<Hanmac> shevy: yep :P
<TheMoonMaster> That pinged me. Awesome.
<Hanmac> shevy: more currect: an flying apple with feathers :D
sonda has quit [Remote host closed the connection]
<shevy> aedorn living forever could become rather boring
linnea_ has joined #ruby
elposarious has joined #ruby
drale2k has quit [Quit: Leaving...]
<TMM> hanmac: what is better about it?
<wmoxam> shevy: fuck no
<Hanmac> TMM .any? is faster than .index
kpshek has quit [Ping timeout: 245 seconds]
<shevy> wmoxam what are you going to do after 3 billion years man
<TMM> ah, ok
<shevy> reset the universe? :P
<wmoxam> shevy: read the latest, greatest novel
<shevy> lol
<Hanmac> shevy: after this years Java would be bugfree
<TMM> so there is no clever way to supply your own evaluator to a Array#== equivalent?
<shevy> Hanmac I think it would just be very very very large
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
<aedorn> shevy: Maybe... but I'm willing to risk it
<wmoxam> shevy: AFACIT, if aging and cancer, etc were eliminated, you'd still die, just after a couple of thousand of years on average (accident, war, etc)
<TMM> I'm kind of wondering why apparently Array#== is implemented as itself rather than as a special case of something like Array#compare which doesn't exist
<TMM> patches welcome I suppose? :P
<shevy> wmoxam well yeah but some accidents just could not be prevented
Catbuntu has joined #ruby
<shevy> wmoxam dying to cancer or some other awful disease undoubtedly and totally sucks
<wmoxam> shevy: that's what I'm saying
<shevy> or getting whacked on by a car in a car accident while you are walking
kpshek has joined #ruby
<wmoxam> or get shot by some lunatic
icole has joined #ruby
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
freerobby has joined #ruby
<shevy> we must ban shotguns
kornnflake is now known as kornnflake_zzz
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
mklappstuhl has joined #ruby
tenmilestereo has joined #ruby
crimezone20xx has quit [Ping timeout: 245 seconds]
<Hanmac> shevy: imo its a bit dump that organs die nearly instantly when they dont get any Oxyen ... imo they should automaticly fallback into some hibernation
bradhe has quit [Remote host closed the connection]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<shevy> Hanmac but then the cell would become more or less dormant
<shevy> Hanmac when it is active, it produces various proteins
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
alexyz has joined #ruby
<mklappstuhl> can anyone tell my the resoning behind the new hash syntax? are there any performance gains or is it just "beautification"?
Gadgetoid has quit [Remote host closed the connection]
<shevy> mklappstuhl I think rails guys mostly wanted it
<shevy> it's a bit shorter if you compare it
<shevy> { :foo => 'bar' }
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<shevy> { foo: 'bar' }
Gadgetoid has joined #ruby
<shevy> if you repeat this on a few hundred lines, it's a bit more readable I suppose
<Hanmac> shevy you can leave the {} out too
<shevy> I would hate to write
<shevy> foo: 'bar'
<shevy> and this would be also awful
pepper_chico has joined #ruby
<shevy> :foo => 'bar'
pepper_chico has quit [Max SendQ exceeded]
<Hanmac> hm its a) beautification and b) it may be a bit different for the new 2.0 way there you have *args and **opts in the same function
jbueza1 has joined #ruby
jbueza1 has quit [Read error: Connection reset by peer]
<shevy> but actually, I prefer to always do the leading : for every symbol I use, I dont like that it is on the right side
jbueza1 has joined #ruby
jbueza has quit [Read error: Connection reset by peer]
<shevy> what is **opts ?
pepper_chico has joined #ruby
<yxhuvud> keyword arguments.
pepper_chico has quit [Max SendQ exceeded]
_2easy has quit [Ping timeout: 255 seconds]
<shevy> hmm interesting
mafolz has quit [Remote host closed the connection]
<mklappstuhl> yxhuvud: kind of like command line flags?
_whitelogger has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
ryanf has left #ruby [#ruby]
blaxter has joined #ruby
<mklappstuhl> I feel kind of skeptic when it comes to changing such a crucial part of a language just for beautification.
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
w400z has joined #ruby
<aedorn> mklappstuhl: why is that?
<banisterfiend> mklappstuhl: many languages have keyword args
pepper_chico has joined #ruby
<banisterfiend> no ruby kind of has them though
pepper_chico has quit [Max SendQ exceeded]
<banisterfiend> though they're still a bit crippled compared to python and R, etc
<shevy> mklappstuhl I think matz wanted to change ruby one way or the other
<mklappstuhl> I'm talking about hash syntax, not keyword args
pepper_chico has joined #ruby
<lectrick> Is there any way to temporarily separate include and inherited-from dependencies in a unit test? For example, if I have a class that includes 3 other modules at class load, what is the best way of stubbing out the included functionality?
<mklappstuhl> There are certain use cases where you cannot simply use the new hash syntax afaik
<lectrick> Without loading more files
<shevy> mklappstuhl and with a transition towards a new version, he can try to change several things
<shevy> mklappstuhl then do what I do and stick to the old way ;P
codecop has joined #ruby
<mklappstuhl> Mongoid: Model.where(:created_at.lt => Time.now)
<mklappstuhl> Is that possible with the new hash syntax?
<shevy> eh, what the heck is this
<shevy> a method on a symbol?
<Spooner> That isn't a hash.
<Spooner> I mean, that isn't a symbol Hash.
<shevy> I have never seen anyone do that before mklappstuhl
<mklappstuhl> shevy: It's pretty common if you're using mongoid
greasegum has joined #ruby
Xeago has quit [Remote host closed the connection]
<shevy> first time I see this
<Spooner> Yes, but it has no relation to symbolic hashes, so the fact that you can't use the new syntax is not too important.
Xeago has joined #ruby
<mklappstuhl> Spooner: yeah, realizing that it's not a "pure" hash now too :)
<banisterfiend> mklappstuhl: so 'lt' is a method on Symbol ?
h8R has quit [Read error: Connection reset by peer]
_2easy has joined #ruby
crimezone20xx has joined #ruby
<banisterfiend> mklappstuhl: what does it return?
greasegum has quit [Client Quit]
<mklappstuhl> banisterfiend: it means less than
Hanmac has quit [Ping timeout: 264 seconds]
<banisterfiend> mklappstuhl: yes but what does it return, just curious
tylersmith has joined #ruby
<mklappstuhl> Mongoid::Criteria or something like that
<mklappstuhl> Query object
echobin57 has quit [Read error: Connection reset by peer]
yashshah- has quit [Read error: Connection reset by peer]
<banisterfiend> ah ok, so that's your hash key, interesting
<Spooner> Just trued it and it is an Origin::Key object.
echobin82 has joined #ruby
<shevy> hehehehe
yashshah- has joined #ruby
arturaz has quit [Ping timeout: 256 seconds]
<mklappstuhl> Are you guys laughing about me haha?
<Spooner> Laughing at how much Mongoid hates Ruby syntax :D
drale2k has joined #ruby
h8R has joined #ruby
<Spooner> I've used it, but I didn't come across that.
<shevy> mklappstuhl no
<shevy> mklappstuhl I am laughing because Mongoid seems to do things in ways I have never before seen it used somewhere else
<shevy> perhaps it is more common, but that is really the first time I see :foo.bar used
<mklappstuhl> ok, so I guess my point regarding the new hash syntax being incompatible with certain things is invalid then. :)
Xeago has quit [Ping timeout: 246 seconds]
bradhe has joined #ruby
<mklappstuhl> shevy, Spooner I wouldn't have taken a laugh as an offense btw :)
<shevy> mklappstuhl well, internally it becomes the old syntax
<Spooner> You can even mix new and old, which is horrific: { :x => 1, y: 2, "z" => 1 }
<shevy> argh
<shevy> well, makes sense when you would think of the new syntax to be an alias to the old :P
<mklappstuhl> you got to love that, eh? :)
<Spooner> But if you need to do that, you should use only rockets.
ramblex has quit [Remote host closed the connection]
<shevy> mklappstuhl dunno, as long as I can use the old way I don't really care. ruby has so many things that one does not need to use, like @@var, one just needs to find out whether one wants to use something or not
graft has joined #ruby
<mklappstuhl> I looked at clojure recently and what can I say. every other language is just syntactically poor now ...
<graft> hey is there a shell command for getting the path where a gem is installed?
<shevy> yeah, it's my problem... I would want to have more alternatives to ruby but it's difficult
<Spooner> graft, gem which my_gem
h8R has quit [Remote host closed the connection]
<shevy> something like lua would be nice, a minimal ruby, but not with the constraint of "hey, this language must only be used as embedded language for C programs", more a general purpose one
<shevy> like good old perl... but with better syntax
<Spooner> Lua is extensible enough to pretty much add a lot of Rubyified objects and syntax to it.
francisfish has quit [Remote host closed the connection]
<pskosinski> "This is a terrible hack and should be removed but is required" Often I see something like this when reading a Ruby code…
<graft> Spooner: i get: can't find ruby library file or shared library passenger (after gem which passenger)
jacky- has quit [Excess Flood]
horrror has quit [Quit: horrror]
<shevy> pskosinski yeah, this is because of complexity I think
<Spooner> graft, Means you don't have it installed.
<shevy> pskosinski when you try to have minimal design, often things always become very simple as a result
axl_ has quit [Quit: axl_]
<lectrick> banisterfiend: let me ask you... if I have a class with a few includes, and I want to unit test that class, but I don't need all the includes, is there a way to break the dependency on the named includes so that I don't have to load them too?
<pskosinski> shevy: Ah, I didn't paste end :( This is a terrible hack and should be removed but is required for older versions of rails
<shevy> pskosinski oh man, rails ...
<graft> Spooner: i do have it installed, it shows up in my gem list
<shevy> it'll become its own language one day
<Spooner> That is Rails, not Ruby though.
<shevy> :D
<Spooner> And that won't come a day too soon, shevy :D
niklasb has quit [Ping timeout: 245 seconds]
<shevy> hahaha yeah, it may be a good thing
bigkevmcd has quit [Ping timeout: 246 seconds]
<shevy> perhaps we have less people then, but they could be more dedicated to ruby as a general purpose programming language
<shevy> and not just "web stuff only"
<shevy> like in the good old _why days!
jamesk has quit [Quit: jamesk]
<shevy> and the whycats
<banisterfiend> lectrick: sounds really weird
hemanth_ has joined #ruby
hemanth_ has quit [Read error: Connection reset by peer]
slapt has quit [Ping timeout: 276 seconds]
niklasb has joined #ruby
swingha has quit [Quit: WeeChat 0.4.0]
hemanth_ has joined #ruby
<shevy> mklappstuhl, if you do this in irb ruby 2.0: { :x => 5, y: 6 }
<lectrick> banisterfiend: I suppose what I have to do is move all the class' methods into a module and then include that module in a test version of the class so that I can test the modules in isolation without needing the class itself and its own dependencies
<shevy> irb gives you back this here as a result: => {:x=>5, :y=>6}
_hemanth has quit [Read error: Connection reset by peer]
<lectrick> test the methods*, not modules
<Spooner> graft, Not sure why it wouldn't show up with gem which then. Is it installed via a package rather than via gem? *shrugs*
<shevy> hmm odd why it turns :x => 5 into :x=>5
sambao21 has quit [Quit: Computer has gone to sleep.]
drale2k has quit [Quit: Leaving...]
<Spooner> Why wouldn't it? It is code, not a string.
Hanmac has joined #ruby
<Spooner> *shouldn't
<mklappstuhl> shevy: whats wrong with that?
rezzack has quit [Quit: Leaving.]
bigkevmcd has joined #ruby
<mklappstuhl> shevy: why are you tending towards lua?
swingha has joined #ruby
pkrnj has joined #ruby
<shevy> mklappstuhl I like the ' ' around the =>, makes it easier for my poor eyes
BizarreCake has quit [Ping timeout: 240 seconds]
<shevy> mklappstuhl no I would tend towards lua because I like to have things simple in principle, I really find ruby too big, too complex for newcomers etc.. and I cant say I like lua syntax that much
<mklappstuhl> shevy: I guess what IRB returns is just Hash.serialize or something like that
thone_ has joined #ruby
<Spooner> shevy, Override Hash#inspect then if it bothers you.
<shevy> mklappstuhl but lua is also too specialized in my opinion
<shevy> Spooner hmm cool, I could do this only in irb right?
<shevy> like in irbrc
<shevy> yeah, I will do so if it is possible :)
<Spooner> The thing with Lua is that you need to add a lot to have a non-trivial language and that is not going to be as standard as having a full language.
<shevy> yeah :(
<shevy> I want a simplistic language... but I also want it to be feature rich ... which kind of is a conflicting design
bradhe has quit [Remote host closed the connection]
<mklappstuhl> shevy: did you take a look at clojure?
bradhe has joined #ruby
<shevy> not yet, it requires a working java as a base or?
<shevy> or was that scala...
luckyruby has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<mklappstuhl> shevy: this will set you up in a minute: https://github.com/technomancy/leiningen
thone has quit [Ping timeout: 276 seconds]
<mklappstuhl> setup has been really really simple the last few times
<havenwood> shevy: I kinda like Scala.
crimezone20xx has quit [Ping timeout: 246 seconds]
<mklappstuhl> if you are on osx you can even install it using homebrew
trh178 has quit [Remote host closed the connection]
<havenwood> I think Elixir is my fav new lang though. Erlang for Rubyists!
mpfundstein has joined #ruby
<mklappstuhl> havenwood: why? I haven't looked much into it but I don't see much of a benefit except a little nicer syntax & JVM
artm_ has quit [Quit: Ex-Chat]
artm_ has joined #ruby
<havenwood> mklappstuhl: Why Scala?
<mklappstuhl> havenwood: yup
fcahoon has joined #ruby
<mklappstuhl> Since I looked at clojure I can really only imagine the "one true language" to be a lisp :D
bradhe has quit [Ping timeout: 245 seconds]
_hemanth has joined #ruby
_hemanth has quit [Read error: Connection reset by peer]
hemanth_ has quit [Read error: Connection reset by peer]
_hemanth has joined #ruby
<Hanmac> mklappstuhl "shakespeare" is the only true one :P
<havenwood> mklappstuhl: Here you go, a Lisp interpreter written in Scala: https://github.com/Mononofu/Scalisp
ebobby has joined #ruby
<mklappstuhl> Hanmac: I also like it. It's so general purpose :D
Guest36030 has quit [Changing host]
Guest36030 has joined #ruby
Guest36030 is now known as guyz
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<mklappstuhl> havenwood: Why should poeple use this? I don't see the point (if you are trying to make one :))
DrShoggoth has joined #ruby
<havenwood> mklappstuhl: :P
jonathanwallace has joined #ruby
Pufferfo_ has quit [Read error: Connection reset by peer]
brhelwig has quit [Remote host closed the connection]
Stilo has joined #ruby
rdark has quit [Quit: leaving]
<csmrfx> Psst`? Hygienic macros?
hemanth_ has joined #ruby
_hemanth has quit [Read error: Connection reset by peer]
hemanth_ has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
nagahoge has quit [Ping timeout: 245 seconds]
slapt has joined #ruby
<havenwood> mklappstuhl: Okay, things I like about Scala. Fast. Good concurrency model. Excellent functional paradigm without insisting on always-functional. JVM tooling. Pleasant syntax.
sayan has quit [Ping timeout: 258 seconds]
<havenwood> mklappstuhl: I like the smart static typing too, whatever you call it. Static typing that looks dynamic.
shock_one has quit [Ping timeout: 252 seconds]
rezzack has joined #ruby
hmarr has quit [Read error: Operation timed out]
eykosioux has quit [Remote host closed the connection]
`p has quit [Remote host closed the connection]
fourq has quit [Disconnected by services]
Zoup has joined #ruby
brhelwig has joined #ruby
Giorgio has quit [Ping timeout: 276 seconds]
chendo_ has quit [Ping timeout: 256 seconds]
ozgura has quit [Remote host closed the connection]
chendo_ has joined #ruby
chendo_ has quit [Changing host]
chendo_ has joined #ruby
<havenwood> mklappstuhl: Why would you use Closure or Scheme over Scala? Any compelling reasons?
<mklappstuhl> havenwood: Okay, good reasons. Some people in my office are probably shifting towards Scala, but I'm kind of sceptical about the "without insisting on always functional". Could result in very different coding styles etc.
Aiur has quit [Quit: Computer has gone to sleep.]
<havenwood> mklappstuhl: Mmm. Yeah, prolly easier to write 'bad' Scala.
dhruvasagar has joined #ruby
alexspeller has joined #ruby
<mklappstuhl> havenwood: I'm totally in love with LISPs syntax for it's simplicity and everything you get for free with that.
<havenwood> mklappstuhl: Any thoughts on Closure vs Scheme, I'm curious as I haven't really looked very closely at either?
<mklappstuhl> havenwood: I haven't looked at scheme except Racket for like 5 minutes.
swingha has quit [Quit: WeeChat 0.4.0]
Artheist has joined #ruby
Morkel has joined #ruby
<mklappstuhl> havenwood: I have the impression that there is a LOT of activity in the Clojure community. Also there is more buzz around it than around scheme/racket I think
grotr has joined #ruby
codelitt has joined #ruby
eldariof has quit []
grotr has left #ruby [#ruby]
breakingthings has joined #ruby
sambao21 has joined #ruby
danslo has quit [Quit: danslo]
dhruvasagar has quit [Ping timeout: 248 seconds]
zmanfx has quit [Ping timeout: 245 seconds]
<csmrfx> aka hype?
<csmrfx> lel
<csmrfx> you get a lot of free parenthesis, thats for shyure
Zai00 has quit [Quit: Zai00]
Aiur has joined #ruby
codelitt has quit [Remote host closed the connection]
<mklappstuhl> csmrfx: It's definitly hyped. But I dont neccessarily view this as a bad thing.
nomenkun has joined #ruby
codelitt has joined #ruby
<csmrfx> well, its an interesting thing to look at, imo -- vitality of the community means a lot for a language
<csmrfx> although, it is hard to see scheme going anywhere
<mklappstuhl> csmrfx: and regarding the parens: you get a lot syntax with every language. most language don't achive so much with so little though.
aedorn has quit [Quit: Leaving]
<mklappstuhl> csmrfx: I did not say that scheme would go anywhere. I was referring to clojure
<csmrfx> yes
<csmrfx> schmee is probably staying about where it is -- not near the center, not dropping off the margin
<csmrfx> clouzr, really hard call
<csmrfx> I decided to skip it
francisfish has joined #ruby
freezey has quit [Remote host closed the connection]
bradhe has joined #ruby
<mklappstuhl> csmrfx: why? what else are you waiting for? ITS THE HOLY GRAIL!! (jk)
codelitt has quit [Ping timeout: 246 seconds]
headius has joined #ruby
zmanfx has joined #ruby
<csmrfx> yeah well you should hear the things the few-years-new-to-ecmascript node.js -fans say
codelitt has joined #ruby
<csmrfx> it's like the 2000 again!
<mklappstuhl> csmrfx: Oh right I forgot about JS, the other holy grail.
pkrnj has quit [Quit: Computer has gone to sleep.]
serhart has quit [Remote host closed the connection]
atno has quit [Ping timeout: 264 seconds]
<csmrfx> well who knows, maybe rails will be quaking on its rails soon due to node
<mklappstuhl> but regarding JS I really believe in it's success as well. It's less a technical view opinion though. Everything is just playing out nicely for the language.
arturaz has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
<havenwood> csmrfx: Right, Node scales. No other languages have evented-io, just Node. Lets port Rails to Node.
<mklappstuhl> havenwood: haha
<havenwood> Nails.
<mklappstuhl> :D
<csmrfx> now you got talkin
<shevy> :(
<shevy> always javascript
bluOxigen has joined #ruby
<shevy> mklappstuhl it is easy to make the biggest shit language a success if enough people use it
<mklappstuhl> shevy: did you give clojure a spin?
<shevy> you just pool loads of resources into it
<fcahoon> did someone mention php?
<csmrfx> or, if people have no choice
<mklappstuhl> shevy: whats so shitty about it?
codelitt has quit [Ping timeout: 276 seconds]
<shevy> mklappstuhl not yet, I have to work through 2 big pdf first :(
<shevy> mklappstuhl that you have no alternative to it!
codelitt has joined #ruby
DrShoggoth has quit [Ping timeout: 252 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
fcahoon has quit [Quit: Leaving]
<shevy> mklappstuhl that it's syntax is uglier than ruby's syntax
<shevy> mklappstuhl that I can't use it as a general purpose programming language like perl
<Hanmac> uglier than ":=~" ? :D
fcahoon has joined #ruby
<shevy> what is the :=~
jdunck has quit [Ping timeout: 264 seconds]
<shevy> I am in favour of removing symbols btw :P
<havenwood> From Ruby manpage: If you "like the concept of LISP, but don't like too much parentheses, Ruby may be the language of your choice."
jamesk has joined #ruby
<Hanmac> its a symbol of a "=~" method
jamesk has quit [Client Quit]
<shevy> hah, I knew it! a symbol
fcahoon has quit [Client Quit]
<shevy> oh wait... =~ is a method in itself?
<havenwood> 'too much parentheses" manpage grammar fails!
<shevy> can I define it on an object?
rakm has joined #ruby
<mklappstuhl> shevy: coffeescript, clojurescript, whateverscript will eventually have good integrations as well
<shevy> japanese english is awful
<shevy> mklappstuhl but coffeescript only exists because javascript exists
<mklappstuhl> shevy: but I get the point and you are right about it
<shevy> I mean if ruby would be used in every browser, and then I could use a minimal ruby on top of that, man that would be awesome :D
<shevy> but I think javascript won that race
<shevy> perhaps we could all do what coffeescript did
aedorn has joined #ruby
<shevy> use the language we want to use and let it generate the javascript for us
<mklappstuhl> havenwood: ruby might implement some lisp ideas but a language without the parens can never have all the features that are implicit by having parens
codelitt has quit [Ping timeout: 246 seconds]
mahmoudimus has joined #ruby
jdunck has joined #ruby
<shevy> well ruby has parens too!
<shevy> but optional in most situations
jonathanwallace has quit [Quit: WeeChat 0.3.9.2]
lampe2 has quit [Quit: lampe2]
<Hanmac> shevy yeah "=~" is a method
<shevy> what about infix mklappstuhl ... what was it... hmmm (+ 5 2 6 ) or something like that... I probably forgot some parens
codelitt has joined #ruby
<shevy> Hanmac cool, let me try that
Nimsical has joined #ruby
<mklappstuhl> shevy: infix? why?
crimezone20xx has joined #ruby
<shevy> cool it works
<csmrfx> shevy: I dont get it, why cant you use a JVM lang as a general purpose lang?
<shevy> class Test; define_method(:=~) {|input| puts input * 2 }; end
whitedawg has joined #ruby
<shevy> test = Test.new; test =~ 5 # 10
danslo has joined #ruby
<shevy> csmrfx I need java??? :(
<csmrfx> are there platforms that dont support it?
danslo has quit [Client Quit]
<breakingthings> wat are you guys even talk aboot
<breakingthings> jabba
<mklappstuhl> csmrfx: when did he say that he cannot use a JVM lang as general purpose language
echobin82 has quit [Read error: Connection reset by peer]
<csmrfx> was just pointing out an flaw in argument
<Hanmac> shevy: "~" is a method too
<breakingthings> i feel like this conversation was about javascript
danslo has joined #ruby
<shevy> well that's similar to coffeescript too then
echobin40 has joined #ruby
<csmrfx> 21:45 < shevy> mklappstuhl that I can't use it as a general purpose programming language like perl
<breakingthings> but now you're talking about JVM
<breakingthings> and that confuses me
<shevy> and you can use perl without java
danslo has quit [Client Quit]
<csmrfx> I thought we were talking about Clojure! 8D
<shevy> java should die
timwis has joined #ruby
<breakingthings> I don't even
<shevy> though, something like the JVM should be ubiquitous
<breakingthings> I am so confuse
marcdel has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
<breakingthings> jabbascrip is not jabba
<mklappstuhl> csmrfx: no I think at that point we already reached JS
<breakingthings> pls dont confuse
<shevy> like the cloud virtual machine... CVM
<mklappstuhl> :D
<shevy> hive programming
danslo has joined #ruby
<csmrfx> oh
danslo has quit [Client Quit]
codelitt has quit [Ping timeout: 272 seconds]
xcv_ has joined #ruby
<csmrfx> well, its a browser lang
codelitt has joined #ruby
danslo has joined #ruby
<atmosx> hello
jonathanwallace has joined #ruby
jonathanwallace has quit [Client Quit]
whitedawg has quit [Quit: Leaving.]
xcv has quit [Ping timeout: 240 seconds]
ozgura has joined #ruby
Promotos has joined #ruby
xcv_ has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
_nitti has quit [Ping timeout: 264 seconds]
danneu has joined #ruby
timonv has joined #ruby
hmarr has joined #ruby
aLeSD has quit [Ping timeout: 258 seconds]
m3pow has left #ruby [#ruby]
Promotos has quit [Client Quit]
codelitt has quit [Ping timeout: 252 seconds]
codelitt has joined #ruby
atno has joined #ruby
aLeSD has joined #ruby
francisfish has quit [Remote host closed the connection]
`p has joined #ruby
rupee has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
nomenkun has quit [Remote host closed the connection]
morphyx has joined #ruby
_nitti has joined #ruby
lkba has joined #ruby
tenmilestereo has quit [Quit: Leaving]
_2easy_ has joined #ruby
dmiller2 has quit [Ping timeout: 260 seconds]
codelitt has quit [Ping timeout: 245 seconds]
codelitt has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
hoelzro|away is now known as hoelzro
pkrnj has joined #ruby
sambao21 has joined #ruby
whitedawg has joined #ruby
atno has quit [Read error: Connection reset by peer]
atno__ has joined #ruby
bradhe has joined #ruby
ephemerian has joined #ruby
generali_ has quit [Remote host closed the connection]
whitedawg has quit [Client Quit]
m8 has joined #ruby
axl_ has joined #ruby
slainer68 has joined #ruby
beiter has joined #ruby
jamesfung14 has joined #ruby
codelitt has quit [Ping timeout: 248 seconds]
lxsameer has joined #ruby
mklappstuhl has quit [Read error: Operation timed out]
codelitt has joined #ruby
<lxsameer> hi guys is there any tools like python virtualenv for ruby with bootstrapping ability ?
kpshek has quit []
apeiros_ has quit [Remote host closed the connection]
kornnflake_zzz is now known as kornnflake
blaxter has quit [Ping timeout: 246 seconds]
mpfundstein has quit [Remote host closed the connection]
jrajav has joined #ruby
idletom has quit [Quit: Leaving]
mr_pp has joined #ruby
<bean> bundler
atno has joined #ruby
jdolitsky has joined #ruby
jdolitsky1 has joined #ruby
<bean> or
<bean> RVM
<bean> though some people here hate RVM
rezzack has quit [Quit: Leaving.]
lushious has quit [Read error: Connection reset by peer]
polito has joined #ruby
atno__ has quit [Ping timeout: 240 seconds]
codelitt has quit [Ping timeout: 256 seconds]
jdolitsky1 has quit [Client Quit]
<mityaz> lxsameer: use rbenv
yashshah- has quit [Ping timeout: 260 seconds]
<lxsameer> bean: add me to that list
timwis has quit [Quit: Page closed]
angusiguess has joined #ruby
codelitt has joined #ruby
<bean> meh, just a suggestion, to each their own
lahwran has quit [Changing host]
lahwran has joined #ruby
end_guy has quit [Ping timeout: 276 seconds]
_2easy_ has quit [Quit: leaving]
baroquebobcat has joined #ruby
_2easy has quit [Quit: leaving]
crimezon120xx has joined #ruby
arietis has joined #ruby
rippa has quit [Ping timeout: 240 seconds]
Bry8Star_ has quit [Remote host closed the connection]
d2dchat has quit [Remote host closed the connection]
bean has quit [Quit: Computer has gone to sleep.]
mityaz has quit [Quit: See ya!]
nomenkun has joined #ruby
crimezone20xx has quit [Ping timeout: 245 seconds]
<pskosinski> Why OpenSSL::Digest::SHA256.hexdigest("string") is returning string encoded with ASCII-8BIT and not UTF-8? Could it be changed…? I guess that most gems/libraries are using UTF-8?
trend has quit [Ping timeout: 255 seconds]
codelitt has quit [Ping timeout: 240 seconds]
Bry8Star has joined #ruby
<pskosinski> If you try to use it to make hash of pass for query to database you can have problem, like me…
<Hanmac> why should something that can only have [/0-9a-f/] UTF-8 encoded?
codelitt has joined #ruby
<pskosinski> For consistency?
artm_ has quit [Ping timeout: 258 seconds]
<pskosinski> Does it has any advantages? Because I see only problems with it ^^
razibog has quit [Ping timeout: 256 seconds]
maggit has left #ruby ["Leaving"]
<Hanmac> i think your database gem do it wrong for not checking the string encoding
<pskosinski> A few bytes fewer :p
d34th4ck3r has joined #ruby
jjbohn has joined #ruby
<pskosinski> Maybe…
kpshek has joined #ruby
yacks has quit [Quit: Leaving]
postmodern has joined #ruby
<Hanmac> i tihnk your database is configured wrong too ... if a column can only have an hexdigest i would give them an char(64) with ASCII encoding ... an good database should support encoding-per-column too
_veer has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
ebobby has quit [Ping timeout: 264 seconds]
BSaboia has joined #ruby
bitZero__ has joined #ruby
ndboost has joined #ruby
BSaboia has quit [Client Quit]
codelitt has quit [Ping timeout: 246 seconds]
bitZero__ has quit [Client Quit]
BSaboia has joined #ruby
kornnflake is now known as kornnflake_zzz
codelitt has joined #ruby
aLeSD has quit [Ping timeout: 245 seconds]
<pskosinski> I hear about it first time, thanks, will read.
mpfundstein has joined #ruby
mpfundstein has quit [Remote host closed the connection]
bitZero__ has joined #ruby
aLeSD has joined #ruby
jdolitsky1 has joined #ruby
xcv has joined #ruby
timonv has quit [Remote host closed the connection]
artm_ has joined #ruby
<pskosinski> sqlite3 supports only utf-8 and utf-16 and only one encoding per database, as I read. it can convert on fly from one encoding to another…
Arzaga has joined #ruby
codelitt has quit [Ping timeout: 264 seconds]
Zai00 has joined #ruby
codelitt has joined #ruby
jdolitsky has quit [Ping timeout: 252 seconds]
mpfundstein has joined #ruby
rezzack has joined #ruby
huoxito has quit [Quit: Leaving]
jdolitsky1 has quit [Ping timeout: 252 seconds]
jdolitsky has joined #ruby
codelitt has quit [Ping timeout: 248 seconds]
ananthakumaran has quit [Quit: Leaving.]
chrishough has quit [Quit: chrishough]
angusiguess has quit [Ping timeout: 255 seconds]
jdolitsky1 has joined #ruby
Morkel_ has joined #ruby
Morkel has quit [Read error: Connection reset by peer]
Morkel_ is now known as Morkel
codelitt has joined #ruby
c0rn has joined #ruby
itman has joined #ruby
bean has joined #ruby
erry is now known as errietta
interactionjaxsn has quit [Remote host closed the connection]
bricker`1way has joined #ruby
brhelwig has quit [Remote host closed the connection]
Arzaga has quit [Quit: Computer has gone to sleep.]
jdolitsky has quit [Ping timeout: 252 seconds]
bricker`away has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby
codelitt has quit [Ping timeout: 245 seconds]
arturaz has quit [Read error: Connection reset by peer]
codelitt has joined #ruby
interactionjaxsn has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
mpfundstein has quit [Remote host closed the connection]
haxrbyte has quit [Ping timeout: 252 seconds]
miskander has quit [Quit: miskander]
mpfundstein has joined #ruby
haxrbyte has joined #ruby
w400z has quit []
nkr has quit [Quit: Linkinus - http://linkinus.com]
markalanevans has joined #ruby
Guedes0 has joined #ruby
kornnflake_zzz is now known as kornnflake
codelitt has quit [Ping timeout: 264 seconds]
jdolitsky1 has quit [Ping timeout: 252 seconds]
codelitt has joined #ruby
toekutr has joined #ruby
miskander has joined #ruby
nomenkun has quit [Remote host closed the connection]
atyz has joined #ruby
|christian| has joined #ruby
w400z has joined #ruby
bricker`1way is now known as bricker`work
kristofers has quit [Read error: Connection reset by peer]
arietis has quit [Quit: Computer has gone to sleep.]
sharpobj1ct is now known as sharpobject
codelitt has quit [Ping timeout: 276 seconds]
segora has joined #ruby
codelitt has joined #ruby
kojul has joined #ruby
_nitti has quit [Remote host closed the connection]
kristofers has joined #ruby
_nitti has joined #ruby
echobin53 has joined #ruby
_nitti has quit [Remote host closed the connection]
echobin40 has quit [Read error: Connection reset by peer]
mark_locklear has quit [Ping timeout: 264 seconds]
_nitti has joined #ruby
_2easy has joined #ruby
_2easy has joined #ruby
_2easy has quit [Changing host]
kristofers has quit [Read error: Connection reset by peer]
reset has joined #ruby
foofoobar has joined #ruby
ner0x has quit [Quit: Leaving]
sailias has quit [Ping timeout: 245 seconds]
miskander has quit [Quit: miskander]
brhelwig has joined #ruby
codelitt has quit [Ping timeout: 272 seconds]
<foofoobar> Hi. I'm trying to run an old version of redmine on my server. I transferred it from my local machine (thats why its not the newest version). Now I'm running "bundle install --without development test mysql"
<foofoobar> The bundle install prices breaks when trying to install mysql. Why? I excluded it with the --without
kristofers has joined #ruby
codelitt has joined #ruby
arietis has joined #ruby
_nitti has quit [Ping timeout: 246 seconds]
_nitti_ has joined #ruby
Matip has joined #ruby
echobin53 has quit [Ping timeout: 264 seconds]
Murr_ has joined #ruby
Murr_ has quit [Client Quit]
Virunga has quit [Ping timeout: 258 seconds]
kofno has quit [Remote host closed the connection]
jdolitsky1 has joined #ruby
codelitt has quit [Ping timeout: 255 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
<Hanmac> foofoobar is the dev stuff of mysql installed?
<foofoobar> Hanmac, what do you mean=
Mattix has quit [Ping timeout: 264 seconds]
vjacob has joined #ruby
<foofoobar> Hanmac, I commented out the 'gem "mysql", …" stuff from the Gemfile now. Bundle works then
markisonfire has joined #ruby
<foofoobar> But I wonder why the --without did not work
linnea_ has quit [Remote host closed the connection]
codelitt has joined #ruby
linnea_ has joined #ruby
kristofers has quit [Read error: Connection reset by peer]
<Hanmac> foofoobar ask #bundler about that, i dont trust them, i can only help you to get the mysql gem installed
vjacob has left #ruby [#ruby]
umarillian has quit [Ping timeout: 258 seconds]
<MrZYX> foofoobar: --without is only excluding groups
<foofoobar> MrZYX, groups? what does that mean?
<MrZYX> you can group gems in a Gemfile
staafl has joined #ruby
rmartin has quit [Remote host closed the connection]
jimeh has quit [Quit: Computer has gone to sleep.]
kristofers has joined #ruby
sambao21 has joined #ruby
<MrZYX> if you open it up you'll notice group: :foo options on the gem lines and/or group :foo blocks that include gem lines
<MrZYX> everything that's outside/has no explicit group specified is in the "default" group
jimeh has joined #ruby
txdv has quit [Ping timeout: 240 seconds]
theoros has left #ruby [#ruby]
codelitt has quit [Ping timeout: 256 seconds]
codelitt has joined #ruby
geekbri has quit [Remote host closed the connection]
psyprus has quit [Ping timeout: 258 seconds]
miskander has joined #ruby
grzywacz has joined #ruby
Neomex has joined #ruby
Al_ has joined #ruby
mpfundstein has quit [Remote host closed the connection]
rh1n0 has quit [Quit: -- I'm out --]
Scudelletti has quit [Remote host closed the connection]
mpfundstein has joined #ruby
echobin18 has joined #ruby
Neomex has quit [Client Quit]
Giorgio has joined #ruby
Wigflip has joined #ruby
frem has quit [Ping timeout: 264 seconds]
polito has quit [Ping timeout: 272 seconds]
txdv has joined #ruby
codelitt has quit [Ping timeout: 264 seconds]
codelitt has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
kojul has quit [Quit: kojul]
Stilo has joined #ruby
psyprus has joined #ruby
v0n has quit [Ping timeout: 264 seconds]
emmanuelux has joined #ruby
zodiak has quit [Remote host closed the connection]
mpfundstein has quit [Ping timeout: 245 seconds]
carloslopes has quit [Remote host closed the connection]
segora has quit [Quit: segora]
eykosioux has joined #ruby
miskander has quit [Quit: miskander]
_veer has quit [Ping timeout: 245 seconds]
cilquirm has quit [Ping timeout: 256 seconds]
codelitt has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
codelitt has joined #ruby
apeiros_ has joined #ruby
francisfish has quit [Remote host closed the connection]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
xardas has joined #ruby
Morkel has quit [Quit: Morkel]
bradleyprice has quit [Read error: Connection reset by peer]
bradleyprice has joined #ruby
Morkel has joined #ruby
tonini has joined #ruby
tommyvyo_ has quit [Quit:]
babinho has quit [Quit: leaving]
dv_ has quit [Read error: Connection reset by peer]
Catbuntu has quit [Quit: Leaving]
markisonfire has quit [Quit: markisonfire]
ebobby has joined #ruby
_nitti has joined #ruby
codelitt has quit [Ping timeout: 264 seconds]
apeiros_ has quit [Ping timeout: 248 seconds]
codelitt has joined #ruby
_nitti_ has quit [Ping timeout: 246 seconds]
adambeynon has joined #ruby
dv_ has joined #ruby
danneu has quit [Quit: WeeChat 0.3.8]
RagingDave has quit [Quit: Ex-Chat]
codelitt has quit [Ping timeout: 240 seconds]
hashmal has joined #ruby
codelitt has joined #ruby
beneggett has joined #ruby
<DaniG2k> guys
<DaniG2k> if I want to add to an array
<DaniG2k> env = [["a",1],["b",2]]
<shevy> DaniG2k this array is complicated
<DaniG2k> say I want to add ["c",3]
<shevy> normally you use <<
<DaniG2k> ["c",3] +env returns
<DaniG2k> => ["c", 3, ["a", 1], ["b", 2]]
<shevy> wait
<DaniG2k> that's not the behavior I want
<shevy> no
<shevy> what do you want
<DaniG2k> I want => [["c", 3], ["a", 1], ["b", 2]]
<hoelzro> DaniG2k: [['c', 3]] + env
<DaniG2k> hoelzro: aha! thanks :D
Virunga has joined #ruby
elux has quit [Quit: Leaving...]
<hoelzro> env << ['c', 3] will probably do it too
<hoelzro> >> [['a', 1], ['b', 2]] << ['c', 3]
<eval-in> hoelzro => [["a", 1], ["b", 2], ["c", 3]] (http://eval.in/13021)
<hoelzro> sure enough.
<shevy> or env[0,0] = [["c",3]]
artofraw has quit [Remote host closed the connection]
<Hanmac> >> [['a', 1], ['b', 2]].unshift(['c',3])
<eval-in> Hanmac => [["c", 3], ["a", 1], ["b", 2]] (http://eval.in/13022)
hassans has joined #ruby
colonolGron has joined #ruby
hassans has left #ruby [#ruby]
tommyvyo has joined #ruby
niklasb has quit [Ping timeout: 255 seconds]
codelitt has quit [Ping timeout: 272 seconds]
codelitt has joined #ruby
echobin18 has quit [Ping timeout: 272 seconds]
carlyle has quit [Remote host closed the connection]
bigoldrock has joined #ruby
codecop has quit [Remote host closed the connection]
Guedes0 has quit [Ping timeout: 252 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
cantonic has quit [Quit: cantonic]
Virunga_ has joined #ruby
Guedes0 has joined #ruby
jrajav has quit [Quit: phunq, sandwich store loop, WHAT NO UNIVERSE]
freerobby has quit [Quit: Leaving.]
codelitt has quit [Ping timeout: 255 seconds]
Virunga has quit [Ping timeout: 276 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
threesome has joined #ruby
codelitt has joined #ruby
anderse has quit [Quit: anderse]
<shevy> Hanmac whatcha coding on lately?
<shevy> I am trying to find things to integrate into my pseudo shell
mr_pp has left #ruby [#ruby]
huoxito has joined #ruby
cupakromer has joined #ruby
Neomex has joined #ruby
Nimsical has quit [Quit: Computer has gone to sleep.]
pygmael has joined #ruby
rgbdev has joined #ruby
justsee has joined #ruby
justsee has joined #ruby
babinho has joined #ruby
codelitt has quit [Ping timeout: 264 seconds]
codelitt has joined #ruby
beiter has quit [Quit: beiter]
mpfundstein has joined #ruby
eykosioux has quit [Remote host closed the connection]
hmarr has quit []
ndboost has quit [Remote host closed the connection]
cmarques has quit [Ping timeout: 240 seconds]
Nisstyre has quit [Ping timeout: 246 seconds]
hrs has joined #ruby
codelitt has quit [Ping timeout: 252 seconds]
hrs has quit [Client Quit]
Nisstyre has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
niklasb has joined #ruby
brhelwig has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
codelitt has joined #ruby
fphilipe has joined #ruby
Zoup has quit [Quit: Lost terminal]
bradleyprice has quit [Ping timeout: 245 seconds]
blacktulip has quit [Remote host closed the connection]
_2easy has quit [Quit: leaving]
codelitt has quit [Ping timeout: 264 seconds]
spider-mario has quit [Read error: Connection reset by peer]
eykosioux has joined #ruby
breakingthings has quit []
codelitt has joined #ruby
Xeago has joined #ruby
fphilipe has quit [Remote host closed the connection]
foofoobar has quit [Quit: Textual IRC Client: www.textualapp.com]
TimmyTwoTooth has joined #ruby
fschuindt has joined #ruby
codelitt has quit [Ping timeout: 245 seconds]
theRoUS has quit [Ping timeout: 258 seconds]
interactionjaxsn has quit [Remote host closed the connection]
s1n4 has left #ruby ["leaving"]
TimmyTwoTooth has quit [Killed (idoru (Spam is off topic on freenode.))]
slyv has joined #ruby
codelitt has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
<Xeago> banisterfiend, up for some minigames in sc2?
aedorn has quit [Ping timeout: 264 seconds]
geggam_wk has quit [Remote host closed the connection]
jjbohn has quit [Quit: Leaving...]
cisco has joined #ruby
<banisterfiend> Xeago: i dont play it, and i dont think i ever will
codelitt has quit [Ping timeout: 246 seconds]
cisco1 has joined #ruby
codelitt has joined #ruby
errietta is now known as erry
cisco has quit [Ping timeout: 245 seconds]
Bofu2U_ has joined #ruby
colonolGron has quit [Quit: leaving]
vickaita has quit [Ping timeout: 276 seconds]
mpfundstein has quit [Remote host closed the connection]
mpfundstein has joined #ruby
emergion has joined #ruby
kofno has joined #ruby
kornnflake has quit [Ping timeout: 255 seconds]
codelitt has quit [Ping timeout: 260 seconds]
codelitt has joined #ruby
kornnflake has joined #ruby
wmoxam has quit [Ping timeout: 276 seconds]
pkrnj has joined #ruby
kuzushi has joined #ruby
Nisstyre has quit [Quit: Leaving]
brhelwig has joined #ruby
drumsrgr8forn8 has quit [Ping timeout: 276 seconds]
codelitt has quit [Ping timeout: 264 seconds]
markisonfire has joined #ruby
codelitt has joined #ruby
kofno has quit [Ping timeout: 245 seconds]
Mon_Ouie has joined #ruby
khnok has joined #ruby
<khnok> hi!
<khnok> how to change version of rubygems in ubunut?
pepper_chico has quit [Quit: Computer has gone to sleep.]
tonini has quit [Remote host closed the connection]
_2easy has joined #ruby
<khnok> i use this command: sudo update-alternatives --config gem
<khnok> but doesn't work when i run sudo bundle install
bean has quit [Quit: Computer has gone to sleep.]
<khnok> this is the error http://pastebin.com/b6kdx45W
cyberarm has joined #ruby
codelitt has quit [Ping timeout: 245 seconds]
_nitti has quit [Ping timeout: 240 seconds]
hoelzro is now known as hoelzro|away
<havenwood> khnok: What do you get for: locate mkmf
bitZero__ has quit [Read error: Connection reset by peer]
bitZero__ has joined #ruby
chrishough has joined #ruby
codelitt has joined #ruby
cyberarm has quit [Remote host closed the connection]
hemanth_ has quit [Read error: Connection reset by peer]
<khnok> locate mkmf ...
<khnok> nathing
<havenwood> khnok: Your error is a problem compiling the C-ext for a gem in particular. Do you have the `-dev` Ruby package installed?
<havenwood> khnok: sudo apt-get install ruby-dev
heftig has quit [Quit: Quitting]
hemanth_ has joined #ruby
adkron has quit [Ping timeout: 260 seconds]
heftig has joined #ruby
xcv has quit [Remote host closed the connection]
philipd has quit [Quit: Computer has gone to sleep.]
<khnok> yes
<khnok> ruby 1.8.7 (2012-02-08 patchlevel 358) [x86_64-linux]
Raydiation has joined #ruby
<havenwood> khnok: Do you have build-essential package installed?
<Raydiation> any libs for scaffolding?
hemanth_ has quit [Read error: Connection reset by peer]
<havenwood> khnok: sudo apt-get install build-essential
haxrbyte has quit [Read error: Connection reset by peer]
hemanth_ has joined #ruby
<khnok> yes
Tarential has quit [Excess Flood]
<khnok> i installed
Tarential has joined #ruby
xcv has joined #ruby
jamesfung14 has quit [Ping timeout: 248 seconds]
codelitt has quit [Ping timeout: 245 seconds]
earthquake has joined #ruby
<havenwood> Raydiation: What kind of scaffolding? Like for a Rails app or a Gem?
kirun has quit [Quit: Client exiting]
newUser1234 has quit [Remote host closed the connection]
<Raydiation> havenwood: php
* Raydiation is waiting to get stoned
codelitt has joined #ruby
hmarr has joined #ruby
<havenwood> Raydiation: PHP? Wat?
<Raydiation> owncloud apps development
<Raydiation> we use vagrant and cucumber
invisime has quit [Quit: Leaving.]
<Raydiation> so people meant that we should focus on ruby because we already have some build tools
jdunck has quit [Ping timeout: 245 seconds]
jlast has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 272 seconds]
jlast has joined #ruby
<Raydiation> id prefer python but ruby is nice too :)
<csmrfx> how about jekyll
<csmrfx> or just plain ruby
<Raydiation> yeah, thought about templates
<Raydiation> it would be nice if you could adjust the app skeleton
<csmrfx> that means nothing
jgarvey has quit [Quit: Leaving]
<csmrfx> what do you want to adjust?
security has joined #ruby
<havenwood> khnok: 1.8 is End-of-Life in June, you ought go ahead and switch to 1.9.3 or better-yet 2.0.0. `sudo apt-get build-dep ruby1.9.1` for 1.9.3 or for 2.0.0: https://gist.github.com/ngauthier/5039249
<Raydiation> namespaces in every file and author details in agpl headers
<Raydiation> route names
<Raydiation> quite a lot
axl_ has quit [Quit: axl_]
stkowski has joined #ruby
endzyme has quit [Remote host closed the connection]
<csmrfx> "namespaces in every file"?
megha has quit [Ping timeout: 256 seconds]
<csmrfx> are you talking about translating existing source base to ruby?
<Raydiation> no :)
<Raydiation> sec
codelitt has quit [Ping timeout: 264 seconds]
brianstorti has joined #ruby
<havenwood> khnok: I use chruby instead of Ubuntu package version, but the way you're doing it *should* work. You've just got to figure out why the C-ext isn't building (could be you need Ruby 1.9 for that gem?).
grier has joined #ruby
codelitt has joined #ruby
<khnok> but is the problem is with this project
<khnok> rvm use ruby-1.8.7-p334@agiles2011 --create
<havenwood> khnok: wait, you use RVM?
chimkan has joined #ruby
<Raydiation> csmrfx: just generating php
<khnok> no
<csmrfx> slim has slick web site http://slim-lang.com/
jlast has quit [Ping timeout: 256 seconds]
<khnok> i only run cat .rvmrc
<csmrfx> Raydiation: you mean fructose?
<havenwood> csmrfx: That is nice! (They do need a 2x asset for the 'fork me on github' though, looks fuzzy on retina display.)
sailias has joined #ruby
<havenwood> khnok: ahh, gotcha
<Raydiation> csmrfx: no, weve got a basic app skeleton
<havenwood> khnok: I'll actually read your pastebin, sec. :O
pepper_chico has joined #ruby
pepper_chico has quit [Max SendQ exceeded]
<Raydiation> and we dont want to require people to copy paste 10 files
<csmrfx> pixels should go
<csmrfx> dont forget I told you so
<csmrfx> but pixels should now go
pepper_chico has joined #ruby
crimezon120xx has quit [Ping timeout: 245 seconds]
<Raydiation> csmrfx: is that the name of a lib?
<csmrfx> Raydiation: I have no idea what you're talking about
pac1 has joined #ruby
<Raydiation> do you know: djangoadmin.py startproject NAME?
<Raydiation> theres something similar in rails i think
<Raydiation> it generates a project layout
<shevy> sure
codelitt has quit [Ping timeout: 276 seconds]
<shevy> I think it is rails create bla
jonahR has quit [Quit: jonahR]
<shevy> but this is rails specific, they sit on #rubyonrails
codelitt has joined #ruby
<Raydiation> i know, i heard there are ruby libs for this kind of stuff though
<shevy> for pixels?
<Raydiation> is that what this is called
Aiur has quit [Quit: Computer has gone to sleep.]
<csmrfx> scaffolding
<shevy> dont think so, I am just picking up what csmrfx wrote hehe
<havenwood> khnok: Double check that ruby1.8-dev (not just ruby1.8) is installed?: dpkg -s ruby1.8-dev
<csmrfx> but not to php
hmarr has quit []
kpshek has quit []
_veer has joined #ruby
<havenwood> khnok: And, assuming dpkg says ruby1.8-dev is installed, check that its dependencies are installed?: sudo apt-get check ruby1.8-dev
jamesfung14 has joined #ruby
<Raydiation> ok, thanks anyway :)
mpfundstein has quit [Remote host closed the connection]
<Raydiation> i think ill just take a templating language
Bofu2U_ is now known as Bofu2U
<havenwood> khnok: Maybe try?: sudo apt-get install ruby-redcloth
<Xeago> banisterfiend: not even mini games?
<khnok> ok
lxsameer has quit [Quit: Leaving]
atyz has quit [Ping timeout: 245 seconds]
_2easy has quit [Quit: leaving]
cam` has quit [Ping timeout: 260 seconds]
<khnok> same error :/
Al_ has quit [Quit: Al_]
codelitt has quit [Ping timeout: 256 seconds]
SeanTAllen has quit [Ping timeout: 255 seconds]
codelitt has joined #ruby
joofsh has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
<havenwood> khnok: And?: dpkg -s ruby1.8-dev
drumsrgr8forn8 has joined #ruby
etcetera has quit []
newUser1234 has joined #ruby
hashmal is now known as Jor
w400z has quit []
jamesfung14 has quit [Ping timeout: 245 seconds]
codelitt has quit [Ping timeout: 255 seconds]
<havenwood> khnok: Try?: sudo apt-get build-dep ruby1.8-dev
NiteRain has quit [Ping timeout: 246 seconds]
newUser1234 has quit [Remote host closed the connection]
Raydiation has left #ruby [#ruby]
codelitt has joined #ruby
newUser1234 has joined #ruby
mikepack_ has joined #ruby
huoxito has quit [Quit: Leaving]
<havenwood> khnok: sudo apt-get -y build-dep ruby1.8-dev
Jor is now known as Nor
danman has quit [Read error: No route to host]
<khnok> nathing for install
sailias has quit [Quit: Leaving.]
<khnok> the same..
<havenwood> khnok: well... it *should* work >.>
danman has joined #ruby
Wardje has quit [Read error: Operation timed out]
mengu has quit [Quit: Konversation terminated!]
<khnok> ok, thanks for help
adkron has joined #ruby
hasimo-t has joined #ruby
<havenwood> khnok: I'd prolly give it a go on Ruby 1.9, see if that works. Or if you can't get apt-get 1.8 C-ext build working, maybe try rvm, chruby or rbenv install of 1.8.
newUser1234 has quit [Ping timeout: 256 seconds]
codelitt has quit [Ping timeout: 276 seconds]
khnok has quit [Quit: Page closed]
Morkel has quit [Quit: Morkel]
codelitt has joined #ruby
cupakromer has left #ruby [#ruby]
sailias has joined #ruby
alanp_ has joined #ruby
alanp_ has quit [Read error: Connection reset by peer]
jtharris has quit [Quit: WeeChat 0.4.0]
gyre007 has quit [Ping timeout: 258 seconds]
alanp_ has joined #ruby
FullTiltProspect has joined #ruby
nga4 has quit [Remote host closed the connection]
pygmael has quit [Quit: pygmael]
etcetera has joined #ruby
nga4 has joined #ruby
alanp has quit [Disconnected by services]
alanp_ is now known as alanp
pygmael has joined #ruby
codelitt has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby
tcstar has quit [Read error: Connection reset by peer]
grayson has quit [Quit: Computer has gone to sleep.]
Neomex has quit [Quit: Neomex]
codelitt has joined #ruby
grzywacz has quit [Ping timeout: 276 seconds]
QKO has quit [Remote host closed the connection]
brianstorti has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
danslo has quit [Quit: danslo]
m8 has quit [Quit: Sto andando via]
SCommette has quit [Quit: SCommette]
ner0x has joined #ruby
bradleyprice has joined #ruby
danslo has joined #ruby
freeayu has joined #ruby
jamesfung14 has joined #ruby
mmitchel_ has quit [Ping timeout: 264 seconds]
avelldiroll has quit [Ping timeout: 264 seconds]
Wardje has joined #ruby
codelitt has quit [Ping timeout: 252 seconds]
codelitt has joined #ruby
jgrevich has quit [Ping timeout: 264 seconds]
jgrevich has joined #ruby
_veer has quit [Quit: Leaving]
Soliah has joined #ruby
daniel_hinojosa has joined #ruby
tommyvyo has quit [Quit:]
jonahR has quit [Quit: jonahR]
tjbiddle_ has joined #ruby
anonymuse has quit [Quit: Leaving...]
slapt has quit [Ping timeout: 276 seconds]
codelitt has quit [Ping timeout: 264 seconds]
codelitt has joined #ruby
miskander has joined #ruby
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
<Xeago> banisterfiend: not even mini games? Any chance my gf can borrow your account so I can play with her?
eykosioux has quit [Remote host closed the connection]
thone_ has quit [Read error: Operation timed out]
<banisterfiend> Xeago: you can buy it from me ;)
<Xeago> what price?
j^2 has quit [Ping timeout: 248 seconds]
tjbiddle has quit [Ping timeout: 245 seconds]
lancepantz is now known as lancepantz_
Nor is now known as superfaget
<banisterfiend> Xeago: 90 euro
tjbiddle_ has quit [Ping timeout: 276 seconds]
<Xeago> pff
<Xeago> that is like 6times retail atm?
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
ArchBeOS has joined #ruby
kristofers has quit []
Hanmac has quit [Ping timeout: 245 seconds]
codelitt has quit [Ping timeout: 256 seconds]
<banisterfiend> Xeago: you mean you wont even pay 15 euro for your gf to join you in a game? :)
<Xeago> don't have that, sorry
<Xeago> 15 euro is about a week of food for me and gf
codelitt has joined #ruby
<banisterfiend> ouch
<banisterfiend> Xeago: well if it's easy to give you my a/c information i can give it
<banisterfiend> but i have no idae how to find it, i never play it
<Xeago> lol xD
jrajav has joined #ruby
<Xeago> how did you buy it?
<Xeago> retail, or blizzard store (online)?
superfaget is now known as one[faget]
<Xeago> do you have any other blizzard games attached (like diable/wow)
slash_nick has joined #ruby
mmitchell has joined #ruby
<banisterfiend> online, no i dont
<Xeago> you can recover the account using your e-mail address
one[faget] is now known as hashmal
<banisterfiend> you need to tell me more than that, i have no idea the name of the website or anything
<Xeago> http://eu.battle.net/en/ -> login -> can't login
bluOxigen has quit [Ping timeout: 256 seconds]
<Xeago> you can encrypt the information using gpg: 0x9195AFFA4BCB4091
tomzx_mac has joined #ruby
codelitt has quit [Ping timeout: 240 seconds]
avelldiroll has joined #ruby
lockweel has joined #ruby
<banisterfiend> Xeago: sry this is too much hard work :P
<banisterfiend> i would have done it if it was a 10 sec job
axhlf has joined #ruby
<banisterfiend> Xeago: ping me another day when i'm not feeling so lazy
<Xeago> you don't have to encrypt it if you don't want to :)
<Xeago> sure!
<banisterfiend> but im about to sleep here
<Xeago> yea, should do that too
<Xeago> what was the game called you play?
codelitt has joined #ruby
floyd1 has quit [Ping timeout: 264 seconds]
adkron has quit [Ping timeout: 256 seconds]
mikepack_ has quit [Remote host closed the connection]
<banisterfiend> Xeago: nino kuni i think
apok has joined #ruby
<banisterfiend> fuck
banisterfiend is now known as banister`sleep
mmitchell has quit [Read error: Connection reset by peer]
apok has quit [Client Quit]
<Xeago> console game :O
<DaniG2k> how can I find the class of an instance variable @e ?
<banister`sleep> DaniG2k: @e.class
newUser1234 has joined #ruby
<DaniG2k> thnx
sambao21 has joined #ruby
codelitt has quit [Ping timeout: 276 seconds]
codelitt has joined #ruby
maetthew has quit [Ping timeout: 245 seconds]
tmiller has joined #ruby
DrShoggoth has joined #ruby
ndboost has joined #ruby
bean has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
maetthew has joined #ruby
aed has joined #ruby
ndboost has quit [Remote host closed the connection]
Giorgio has quit [Remote host closed the connection]
codelitt has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
luckyruby has quit [Remote host closed the connection]
SCommette has joined #ruby
danneu has joined #ruby
codelitt has joined #ruby
hmarr has joined #ruby
SCommette has quit [Client Quit]
sambao21 has quit [Ping timeout: 246 seconds]
d34th4ck3r has quit [Quit: Konversation terminated!]
Inside has joined #ruby
phelps has joined #ruby
joofsh has joined #ruby
jimeh has quit [Quit: Computer has gone to sleep.]
<phelps> how can I shuffle a 2D array, ['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4].shuffle doesn't do it
codelitt has quit [Ping timeout: 245 seconds]
<Xeago> .shuffle gives a new array I think
SilverKey has joined #ruby
<Xeago> and isn't that a hash?
thone has joined #ruby
codelitt has joined #ruby
<Xeago> >> [1,2,3].shuffle
<eval-in> Xeago => [1, 3, 2] (http://eval.in/13023)
<Xeago> >> [1,2,3].shuffle!
<eval-in> Xeago => [3, 1, 2] (http://eval.in/13024)
<Xeago> the latter one is in place
<phelps> right
<phelps> >> ['a' => 1, 'b' => 2, 'c' => 3, 'd' => 4].shuffle!
<eval-in> phelps => [{"a"=>1, "b"=>2, "c"=>3, "d"=>4}] (http://eval.in/13025)
<Xeago> these aren't cryptographically secure shuffles tho, so don't implement a card shuffle like this
<Xeago> phelps: hashes aren't ordered
<Xeago> and that is an array of 1 hash-element
<Xeago> as you can see in the output
danslo has quit [Quit: danslo]
xardas has quit [Ping timeout: 260 seconds]
<Xeago> >> {1,2,3}.shuffle
<eval-in> Xeago => /tmp/execpad-57f63831005d/source-57f63831005d:2: syntax error, unexpected ',', expecting => ... (http://eval.in/13026)
<Xeago> arf
alkino has joined #ruby
<phelps> there isn't a way to get a random hash key
<alkino> hi o/
danslo has joined #ruby
<alkino> please I've never done ruby in my life
<alkino> a << [s,m] unless s.zero?
<phelps> I should have caught that it was treating it as a hash
<alkino> what can it means?
<Xeago> phelps: you can access all keys, and shuffle those, what exactl do you want?
<banister`sleep> phelps: that is a one element array with that element being a hash
eykosioux has joined #ruby
<Xeago> alkino: << usually means append
<banister`sleep> phelps: very confusing
codelitt has quit [Ping timeout: 256 seconds]
<phelps> Xeago: it is for a card game, but this is just to use for testing the dealer AI ( w/e you wanna call it )
<Xeago> phelps: you really should use a cryptographic shuffle for that
SCommette has joined #ruby
<slash_nick> banister`sleep is sleep coding again
<alkino> Xeago: thanks
<banister`sleep> :))
lethjakman has quit [Ping timeout: 252 seconds]
<alkino> and [s,m] tuple ?!?
<phelps> it isn't important to test the AI, I'll use something secure for real play
<slash_nick> phelps: try @hash.keys.shuffle.each {|key| @hash[key] }
<havenwood> phelps: hash = {"a"=>1, "b"=>2, "c"=>3, "d"=>4}; hash[hash.keys[SecureRandom.random_number hash.keys.size]]
pygmael has quit [Quit: pygmael]
<phelps> I'm going to use a client/server key pair for the real shuffle
wmoxam has joined #ruby
<phelps> just don't know exactly how yet
<Xeago> phelps: that doesn't make sense
<phelps> lol
<Xeago> let me find a link for ya
<phelps> its a paper from back in the 60s
<phelps> but still applies today
AndChat| has quit [Ping timeout: 258 seconds]
chrisja has quit [Quit: leaving]
<Xeago> 1999
Banistergalaxy has joined #ruby
philipd has joined #ruby
<Xeago> proper shuffling has nothing to do with client/server key pairs
philipd has quit [Max SendQ exceeded]
<phelps> I know
<phelps> but to prove its a fair shuffle, its the only real way
<Xeago> that
<Xeago> what?
<phelps> haha
newUser1234 has quit [Remote host closed the connection]
ArchBeOS is now known as ArchBeOS-Angry
ArchBeOS-Angry has left #ruby ["Leaving"]
<Xeago> you can't prove clientside, what server side has done
<slash_nick> Is ruby's Array#shuffle built around ruby's #rand ?
<MrZYX> Xeago: I think you're feeding the troll ;P
<Xeago> in any of the online card games, you have to trust the server for supplying true randomness
<phelps> I understand that, its just a layer of "we are fair"
<Xeago> what layer?
<Xeago> client/server key pairs deal with transport of data and authenticity of data
mikepack has quit [Remote host closed the connection]
drumsrgr8forn8 has quit [Ping timeout: 264 seconds]
<Xeago> (and integrity)
eykosiou_ has joined #ruby
danman has quit [Quit: danman]
eykosioux has quit [Read error: Connection reset by peer]
DaniG2k has quit [Quit: DaniG2k]
w400z has joined #ruby
gyre007 has joined #ruby
<Xeago> phelps: in all those cases the server acts as an authority
<phelps> its all bullshit in reality, I can _say_ I'm doing anything and lie
Kirotan has quit [Ping timeout: 258 seconds]
<phelps> just something I want to play around with
pskosinski has quit [Quit: Red Eclipse, game of racist admins/devs: http://pawelk.pl/racist-red-eclipse-quin-zeroknight-gingerbear/]
<Xeago> it generates randomness, applies an OWF, sends OWF to alice, alice picks and returns but it is already flawed
<Xeago> phelps: uhu, correct
artm_ has quit [Ping timeout: 258 seconds]
w400z has quit [Client Quit]