apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
jhass is now known as jhass|off
predator117 has quit [Ping timeout: 264 seconds]
<csmrfx> lol sorry I'm trying to file my tax reports at the same time so I have no explanation
andrewjanssen has joined #ruby
dseitz has joined #ruby
cpruitt has joined #ruby
<IceDragon> Why is everyone filing tax reports right now...
railzForDaiz has joined #ruby
phinfonet has quit [Ping timeout: 240 seconds]
predator117 has joined #ruby
andrewjanssen has quit [Client Quit]
andrewjanssen has joined #ruby
nanoyak has joined #ruby
phinfonet has joined #ruby
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kaspergrubbe has joined #ruby
<csmrfx> (no accountant)
ahofmann has quit [Quit: Computer has gone to sleep.]
<IceDragon> I'm gonna bang my head against a desk...
djbkd has quit [Remote host closed the connection]
<shevy> IceDragon are you getting rich in the process
deric_skibotn has quit [Ping timeout: 272 seconds]
tcstar has quit [Remote host closed the connection]
<IceDragon> shevy: I'm having the grandest time with ruby: http://pastie.org/private/xtuown3ynn6wyvezku2ucw
<IceDragon> HALP ME SOLVE DAT PLS
<IceDragon> ;-;
ahofmann has joined #ruby
geggam has quit [Quit: Leaving]
<shevy> I am on a mission to learn ruby-on-rails
<shevy> my journey is interrupted by roid rage
nateberkopec has joined #ruby
<IceDragon> >:
<benzrf> shevy is a butt!
<IceDragon> I'll derail you!
<IceDragon> benzrf: halp?
<IceDragon> ;-; Someone halp me
<benzrf> IceDragon: as i understand it, include only /copies/
<shevy> benzrf learns haskell
<IceDragon> I promise I won't eat people, kidnap princess and burn villages anymore if you help me
<IceDragon> eh
<benzrf> IceDragon: if you change it later, it stays the same as when you included it
bradhe has joined #ruby
<benzrf> at least
<benzrf> that would explain your program's behavior d:
<IceDragon> :O but include used to chain it into the ancestors
<IceDragon> D8
nateberkopec has quit [Read error: No route to host]
<benzrf> well
<benzrf> at least for include-into-module
Vivekananda has joined #ruby
<benzrf> or maybe not
<benzrf> idk m8
nateberkopec has joined #ruby
<IceDragon> PLAN B
RxDx has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<shevy> ruby simply is too complex
<csmrfx> the methods to introspect what happens are there
<csmrfx> dont be lazy, use them
<csmrfx> >> module A; end; A.methods
<eval-in> csmrfx => [:freeze, :===, :==, :<=>, :<, :<=, :>, :>=, :to_s, :inspect, :included_modules, :include?, :name, :ancestors, :instance_methods, :public_instance_methods, :protected_instance_methods, :private_instanc ... (https://eval.in/162528)
kaspergrubbe has quit [Remote host closed the connection]
frem has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 240 seconds]
ahofmann has quit [Quit: Computer has gone to sleep.]
deric_skibotn has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
hpoydar has quit []
lw has quit [Quit: s]
marr has quit [Ping timeout: 240 seconds]
combusean has joined #ruby
<IceDragon> csmrfx: been there, done that ;_;
dgutierrez1287 has quit [Ping timeout: 272 seconds]
<csmrfx> its not over until you finish the job
senayar has quit [Remote host closed the connection]
<IceDragon> well I had even a wiff of an idea why it wasn't working, I'd be rolling in money
<csmrfx> haha
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
j_mcnally has quit [Ping timeout: 255 seconds]
<csmrfx> ok, time for my nap
hiyosi has joined #ruby
<IceDragon> bye
<IceDragon> nap well
* IceDragon throws code against the wall in frustration
ddv has quit [Ping timeout: 245 seconds]
cocotton has joined #ruby
ddv has joined #ruby
brasten_ has joined #ruby
theberlin has quit [Remote host closed the connection]
lw has joined #ruby
stantona has joined #ruby
joaoh82 has quit []
benlieb has quit [Read error: Connection reset by peer]
stantona has quit [Remote host closed the connection]
hiyosi has quit [Ping timeout: 252 seconds]
zorak_ has quit [Read error: Connection reset by peer]
stantona has joined #ruby
pu22l3r has joined #ruby
zorak has joined #ruby
benlieb has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Avahey_ has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
combusean has quit [Read error: Connection reset by peer]
vifino has quit [Quit: Ze Cat now leaves...]
combusean has joined #ruby
stantona has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
<BackEndCoder> so guys
<BackEndCoder> unicorn behind nginx sounds ok ??
saarinen has quit [Quit: saarinen]
<BackEndCoder> i can't mod my nginx with passenger
ixti has joined #ruby
brasten_ has quit [Remote host closed the connection]
brandonjmckay has quit [Quit: Leaving.]
tyfighter has quit [Quit: <3]
ephemerian has quit [Quit: Leaving.]
Hobogrammer has joined #ruby
kireevco has joined #ruby
toastynerd has joined #ruby
BWStearns has quit [Ping timeout: 240 seconds]
aspires has quit []
jamto11 has joined #ruby
railzForDaiz has quit [K-Lined]
aspires has joined #ruby
tkuchiki has joined #ruby
aspires has quit [Client Quit]
lw has quit [Quit: s]
ffranz has quit [Quit: Leaving]
linojon has quit [Quit: linojon]
<pcfreak30> Anyone familiar with puppet internals?
SCommette has joined #ruby
<crome> I fixed a bug in puppet once and submitted a patch
andrewjanssen has quit [Quit: Leaving...]
<crome> roughly 6 years ago
<crome> not sure it counts
<crome> I havent used it since that job :D
tkuchiki has quit [Ping timeout: 255 seconds]
<happytux> OK, what do you think is better? Rake or Gulp? I like Rake more as it is an internal task thing (something Fowler wrote).
<happytux> crome: Oh, yes, there are so many bugs still open in puppet.
<happytux> crome: What are you using as SCM?
Bira_ has joined #ruby
<pcfreak30> Does anyone know how to create a resource from within ruby via a custom provider?
<pcfreak30> for puppet
havenwood has joined #ruby
x1337807x has joined #ruby
<crome> happytux: nothing. I dont do that sort of stuff anymore
amargherio has joined #ruby
<crome> and Im happy
<crome> puppet was a fucking pain to use
Poultra has joined #ruby
<happytux> crome: hm, I find the others the same, too
<Poultra> me?
<pcfreak30> crome: I like puppet due to being declaritive. You just tell it what you want and dont worry about the steps
<happytux> crome: ansible for example. Many find it so cool. But honestly, it also got its downsides.
<crome> happytux: Im quite sure puppet has become a lot better since I last used it, also, there are probably alternatives
<Poultra> moi on ma casé le dos
mikepack has joined #ruby
<Poultra> ok !
<crome> I just dont have to deal with that sort of things anymore
<happytux> pcfreak30 / crome: There is an excellent dissertation out there about convergence and SCM and such. I just can't recall the URL or name. But it was short and fine.
<Poultra> et toi ?
<Poultra> t'aimes
<happytux> Poultra: Tu parles francais?
<dorei> crome: u sound relieved ;-)
<Poultra> oui
<Poultra> j'aimes la france
<Poultra> je suis le chef
<happytux> Poultra: Canadien?
<crome> dorei: as much as I loved being a sysadmin back then, I hated configuration management
<Poultra> des dj
<Poultra> et toi tu parles francais?
<Poultra> hahah
jottr has joined #ruby
<Poultra> et toi tu parles francais
pontiki has joined #ruby
zigomir has quit [Remote host closed the connection]
<pcfreak30> happytux: Um what? Smaller terms please?
Takle has joined #ruby
<Poultra> me
cocotton has quit [Remote host closed the connection]
<Poultra> i am 44
<Poultra> ety vous les fills
<happytux> pcfreak30: There is a nice article (scientific paper) about convergence and software configuration management, also investigating the effectiveness of different SCMs in long term.
omosoj has joined #ruby
<happytux> Poultra: filou
<Poultra> havenwood meee
<Poultra> noo
<Poultra> i am a sciertifique
<omosoj> Hey guys I'm setting up models for existing tables. How do I make the classes sync up to the tables, which have weird names?
<Poultra> and you like its ?
<happytux> lol
<Poultra> me model ye
<Poultra> and you
<pontiki> omosoj: is this in Rails?
<Poultra> model dance with me
<omosoj> pontiki, no
<csmrfx> BackEndCoder: you'd have to hire me!
<Poultra> dance-model with me
<happytux> I don't want to use the quit butotn/command of my IRC client. I prefer being kicked. :)
<Poultra> because !
<happytux> lol
<Poultra> i love you yappy
<Poultra> chevall
mikepack has quit [Ping timeout: 252 seconds]
<Poultra> youy dance
jeregrine has quit [Ping timeout: 260 seconds]
<Poultra> i know
mostlybadfly has quit [Read error: Connection reset by peer]
jpinnix_____ has quit [Read error: Connection reset by peer]
byonic has quit [Ping timeout: 260 seconds]
<csmrfx> omosoj: first you need to ask questions that people can answer
Tricon has joined #ruby
mostlybadfly has joined #ruby
jpinnix_____ has joined #ruby
genta has quit [Ping timeout: 245 seconds]
ukd1 has quit [Quit: Leaving...]
<Poultra> you love my musik!
jeregrine has joined #ruby
<shevy> what is the answer to everything
bricker`work has quit [Quit: leaving]
<Poultra> you love my musik!
<Poultra> ahhaa
Takle has quit [Ping timeout: 255 seconds]
<Poultra> 2 gays
<Poultra> talking
<csmrfx> I love ignore
byonic has joined #ruby
<shevy> csmrfx ok i will translate to you
<Poultra> 2 gays talking !!
<shevy> csmrfx he talks about some gay music
<shevy> in france
genta has joined #ruby
<shevy> poor people there
<Poultra> I am DJ
<shevy> he is on an ecstasy trip
<Poultra> we love techno
<happytux> lol
<Poultra> you loved me
<Poultra> yes
<happytux> Poultra: Tu aimes Hollande, oui?
<Poultra> football ?
<happytux> non
<happytux> soccer
<happytux> ball de foot
<Poultra> non jaime pas
<Poultra> dsl
<omosoj> csmrfx, there is an pre-existing mysql database filled with tables. I'm trying to connect to the table with active record to query it. the names of the tables aren't simple plural words so i'm not sure how to make sure the classes i create connect to them.
<csmrfx> ok
<happytux> Poultra: pour deployment j'utilise capi de strano
<Poultra> happytux tu aimes la mussiques?
<csmrfx> omosoj: and migrations?
zybi1 has quit [Remote host closed the connection]
<happytux> Poultra: non, je suis une personne triste
<omosoj> csmrfx, didn't know that they're necessary
<csmrfx> omosoj: do you know what a schema is?
toastynerd has quit [Remote host closed the connection]
<Poultra> ah ok
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<omosoj> csmrfx, yeah. the basic outline of a table, right?
<happytux> Poultra: je suis une entité digitale dans cette chaîne IRC pour l'éternité.
<csmrfx> with SQL you gotta dive deep to get simple stuff done
<shevy> hehe
x1337807x has joined #ruby
<Poultra> hapy moi aussi
<happytux> Poultra: ah
<csmrfx> omosoj: you will need to look into a schema-scheme, and afaics "migrate"
<happytux> Poultra: Hollande est bon, oui?
kireevco has quit [Read error: Connection reset by peer]
<Poultra> moui aussi
<Poultra> happy tu me rends triste
kireevco has joined #ruby
CaioTSan has joined #ruby
happytux is now known as tristetux
<omosoj> csmrfx, so i can't just write a script inside a directory containing a database and have the script query the database?
bobdobbs has quit [Read error: Connection reset by peer]
<csmrfx> perhaps there is a simpler approach, but I am not much of a AR user
<tristetux> Poultra: oui
<Poultra> ok
<Poultra> tout le monde parle est rtriste
Weredran has left #ruby [#ruby]
<Poultra> ok
<omosoj> not trying to alter the database, just query it
<Poultra> csmrfx
<csmrfx> ok
<csmrfx> well I'm pretty sure that is documented someplace
<Poultra> happy est triste
<tristetux> Poultra: Tu est un poulet francais, pas tu?
<omosoj> lol, k
<Poultra> tristetux ou
<csmrfx> omosoj: not sure if you are asking AR or SQL question
<csmrfx> again, vague means you get no answer
<csmrfx> good luck!
andrewjanssen has joined #ruby
bwilson has joined #ruby
Weredran has joined #ruby
tristetux is now known as happytux
<csmrfx> "pastie or it didn't happen"
<Poultra> tristetux je suis medium
<omosoj> think i was pretty clear. anyone else around to help?
<happytux> Poultra: Ou est tu en France? Nord? West? Oeust? Sud?
<csmrfx> lol so clear nobody can answer
<Poultra> happytux ta plus de dens
x1337807x has quit [Ping timeout: 255 seconds]
<Poultra> happytux t un sac de couchage
<csmrfx> >> ActiveRecord::Base.connection.tables
<eval-in> csmrfx => uninitialized constant ActiveRecord (NameError) ... (https://eval.in/162545)
yetanotherdave has quit [Ping timeout: 255 seconds]
bradhe has joined #ruby
akitada has joined #ruby
<Poultra> moi ?
Hobogrammer has quit [Ping timeout: 240 seconds]
<happytux> Poultra: comment tu as internet?
<happytux> Poultra: dans une tente?
codeurge has joined #ruby
<Poultra> oui
<Poultra> happytux
<happytux> Poultra: oui
<Poultra> c moi le patron !!
<Poultra> t'aimes
<Poultra> ma musiques
<Poultra> happytux
<Poultra> ^^
<happytux> Poultra: Tu as fait la musique?
<Poultra> oui
<Poultra> t'aimes cette musique
<Poultra> ??
<Poultra> oui
genta has quit [Quit: Quit]
<Poultra> jai 44 ans
<csmrfx> ok, time to "program data"
<Poultra> j'ai ete opéré de loreillé gauche
* csmrfx goes to http://guihacker.com/
<happytux> Poultra: mes oreilles...
<Poultra> professuer PORTAMAbn qui ma niké mon oreille !!
<Poultra> donc
<Poultra> jai une oçdtition nerveuse !!
<happytux> csmrfx: yes, they put that on many screens and this will be the HQ room lol
<csmrfx> (I always load that when I go to work at clients place, they all lower their voices in awe whenever walking by)
bradhe has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
<Poultra> il ma nikké mon oreille-gauche professeur prortaman !!
<happytux> csmrfx: LOL
<Poultra> maintenat
<happytux> csmrfx: some world map is missing. and some dna spinning in the background
<Poultra> vous aimerz
<Poultra> me !
cpruitt has quit [Quit: cpruitt]
<csmrfx> haha world map with little green humanoids or ufos chasing each other would be cool
genta has joined #ruby
<Poultra> a prodf-chirrugien
<Poultra> broken my oreilles 6 years
<Poultra> now <<<<<<i say caca
<Poultra> ok
<happytux> Poultra: o.O
<Poultra> i travel with oher dj
<Poultra> yes
<Poultra> :)
<happytux> csmrfx: hm, some 3d shapes of jets, also spinning
gruz0[russia] has quit [Quit: This computer has gone to sleep]
<happytux> csmrfx: ah yes and silent beeping in background
<Poultra> i think a doctor killed my eyses left !!!
<Poultra> its a shit
<Poultra> i want to kill himm
<Poultra> ok
<shevy> would you rather have preferred him to kill your left ball?
havenwood has quit [Remote host closed the connection]
<happytux> lol
<happytux> ah, soccer was today, right
<happytux> and yesterday
<shevy> yeah
<csmrfx> just disconnect the keyboard after you run that pastie
nateberkopec has quit [Ping timeout: 240 seconds]
JJMalina has joined #ruby
<shevy> the referees are too powerful
<shevy> and prone to do mistakes
<csmrfx> you can ask for a raise before the day is over
<happytux> shevy: right
<happytux> shevy: this always upsets me
<shevy> I think it's unfair, it's like a gambling pot
<happytux> csmrfx: lol
<shevy> you have matches that are almost even, suddenly a ref action favours one team, and the other team ends up desolate and demotivated
<shevy> and loses 1:5 hahaha
<Poultra> me?
<shevy> god Poultra LEARN ENGLISH
<Poultra> shevy k
<happytux> shevy: What team would you think should win (because of skill)?
<Poultra> jojo me merou
gigetoo has quit [Read error: Connection reset by peer]
CaioTSan has quit [Quit: Gotta go!]
<shevy> happytux dunno, the german team is brutal so it will probably win not because of skills but because they bulldozer over people
<Poultra> shevy go
musashi1 has quit [Quit: Musashi1]
<Poultra> shevyv
<shevy> happytux the netherlands have a few very intelligent dudes though
<Poultra> i am 44
<happytux> Poultra: interesting
<Poultra> shevy you my son
<happytux> Poultra: really?
<Poultra> happytux yes
<Poultra> happytux anaconda
<shevy> Poultra are you having some kind of fear of your death considering that you need to mention your age?
gigetoo has joined #ruby
<Poultra> yes et toi
<happytux> shevy: hm, I always bet on Spain. But this match was different.
<Poultra> shevy
<happytux> probably all fake, I guess he/she/it uses a proxy
amclain has joined #ruby
<shevy> happytux well they showed no tiki-taka and looked stupid on defence and incompetent on offence
<csmrfx> cat /dev/urandom | hexdump | grep "ca fe"
<Poultra> for me shevy is achevre
<shevy> use english Poultra
<happytux> Poultra: you are strange
<Poultra> shevy you use sodomi
* happytux whines and goes into a corner
<Poultra> i am french gilles
<shevy> stick a baguette in your ass Poultra
<Poultra> you fanrtasmes shevy
<csmrfx> in your cul
<happytux> Hm, some people don't click the quit button or close the IRC window. Now, they prefer being kickkked.
<shevy> that's not even a proper word
<shevy> not even in french
<happytux> google translator?
<shevy> "fanrtasmes"
<happytux> copy and paste some stuff into it
<Poultra> shevy no baguette dans ton culs shevyy
omosoj has quit [Quit: Leaving]
<Poultra> non
<Poultra> shevyy == fanrasme
<shevy> Poultra I am sorry that you never learned another language :(
<Poultra> shevy love animals
<happytux> lol
<Poultra> shevy love anymals
<shevy> my favourite animal is the Poultra monkey
<Poultra> lol
<shevy> it's a stupid one but kinda cute
<happytux> yes
<Poultra> shevy moi?
<happytux> oui oui oui
<shevy> use english
<shevy> and stop writing in french
<shevy> only Mon_Ouie can understand you
<Poultra> shevy love anials
mgberlin has joined #ruby
<shevy> I guess his keyboard is broken
<happytux> #ruby.fr
<csmrfx> I use ignore and can only see your whining in english guys
<Poultra> me?
<csmrfx> just ignore it and be happy
<Poultra> shevy in fance AZERTY
perlsyntax has quit []
<happytux> qwerty?
<shevy> csmrfx no I Must translate to you: <Pultra> shevy in fance AZERTY
pcfreak30 has quit [Remote host closed the connection]
<Poultra> me
<Poultra> querrty
<csmrfx> shevy: I understand french, thank you
<Poultra> in frane
<shevy> oh 2x the 'r' key
blackgoat_ has quit [Quit: Leaving...]
<Poultra> ok
<Poultra> banana
<shevy> lol
<happytux> They use AZERTY in France.
<shevy> now you are talking
<Poultra> non
<happytux> oui
JoshGlzB_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Poultra> bonjoyur
<csmrfx> cause "q" sounds like "cul" in french
hiyosi has joined #ruby
<Poultra> !!!
<csmrfx> and french is like backwards english
<Poultra> banane
<csmrfx> even HIV is VIH in french
<csmrfx> B)
Hobogrammer has joined #ruby
<happytux> lol
<Poultra> non
<happytux> indeed, it is
<Poultra> HIV enclaise
<Poultra> traditionné de pecheur
GriffinHeart has joined #ruby
<Poultra> csmrfx me ?
<csmrfx> so, conversely, and logically, AZERTY sounds like someone starting to say "ASS" in english
moritzschaefer has joined #ruby
Hanmac1 has joined #ruby
Blaguvest has joined #ruby
moritzs has joined #ruby
robustus has quit [Ping timeout: 252 seconds]
<csmrfx> <|B]
SCommette has quit [Quit: SCommette]
* happytux stares to the top 'this channel is logged at http://irclog.whitequark.org, [...]'
kireevco has quit [Quit: Leaving.]
* happytux reddens
robustus has joined #ruby
<Poultra> csmrfx une mongolienne
<happytux> shevy / csmrfx: Good night people.
<happytux> Poultra: bon nuit
happytux has quit [Quit: ChatZilla 0.9.90.1-rdmsoft [XULRunner 22.0/20130619132145]]
Hanmac has quit [Ping timeout: 240 seconds]
<Poultra> hamakn
<Poultra> une mongoiienne
<Poultra> :
<Poultra> je suis
<Poultra> fort
<Poultra> necepas
<Poultra> p
hiyosi has quit [Ping timeout: 252 seconds]
<Poultra> pas merci
<Poultra> ok
deric_skibotn has quit [Ping timeout: 272 seconds]
JJMalina has quit [Quit: Leaving...]
GriffinHeart has quit [Ping timeout: 240 seconds]
SCommette has joined #ruby
Bira_ has quit []
monkegjinni has joined #ruby
SCommette has quit [Client Quit]
mikesplain has joined #ruby
<csmrfx> 4 am here. I'm watching a video feed of black pussy
<csmrfx> pussy licking!
Channel6 has joined #ruby
<csmrfx> <|B)
danijoo has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
danijoo has joined #ruby
<Poultra> me
<Poultra> je pense a valerie
monkegjinni has quit [Ping timeout: 255 seconds]
cassioscabral has joined #ruby
chrstphrhrt has left #ruby [#ruby]
alexju has joined #ruby
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hiyosi has joined #ruby
tkuchiki has quit [Ping timeout: 240 seconds]
<RxDx> Please, how can I replace the first :beer_id with 'beer : { id: ? }'?? <%= f.select :beer_id, options_from_collection_for_select(Beer.all, "id", "name", @cheap_beer.beer.try(:id)) %>..
benzrf is now known as benzrf|offline
<csmrfx> hm, rails?
<RxDx> sry, wrong channer
<csmrfx> #rubyonrails helps more
<RxDx> thanks :)
<csmrfx> or is it #rails, not sure
<Poultra> csmrfx ok jai trouvé>
<Poultra> csmrfx ok jai trouvé
<Poultra> :p
alexju has quit [Remote host closed the connection]
<Poultra> <@===))
havenwood has joined #ruby
<Poultra> :-P :-X :-X
martisj has quit [Quit: Connection closed for inactivity]
<Poultra> qui aime
havenwood has quit [Remote host closed the connection]
maestrojed has joined #ruby
aniM has quit [Ping timeout: 244 seconds]
ixti has quit [Ping timeout: 252 seconds]
<shevy> Poultra (1) learn english man
<shevy> Poultra (2) learn ruby
<Poultra> I AM DJ 1970-inconnu
freerobby has joined #ruby
<Poultra> sorry I AM
toertore is now known as toretore
<toretore> /msg nickserv identify hunter2
<toretore> oops
<Poultra> its logique
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<csmrfx> thanks toretore
<toretore> i changed it, now it's hunter3
<csmrfx> are you sure you want all of ruby to use your irc nick, though?
<toretore> i mean, not hunter3 at all
mikepack has joined #ruby
<csmrfx> ok, hunter1
<toretore> something entirely different
dorei has quit []
<Poultra> me
dawkirst has joined #ruby
alexju has joined #ruby
Valesk has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Poultra> france
<Poultra> you love?
<toretore> too much
tectonic has joined #ruby
tectonic has quit [Client Quit]
streblo has quit [Ping timeout: 272 seconds]
<toretore> you have to be on drugs to like that sort of music
<Poultra> me
tkuchiki has joined #ruby
<Poultra> toretore you love lusk
<Poultra> music
<Poultra> did you love music
mikepack has quit [Ping timeout: 240 seconds]
<Poultra> allo
Spami has quit [Quit: This computer has gone to sleep]
<toretore> allo
<toretore> herr flick
<Poultra> t'aimes cette musik oupa?
<shevy> why have you skipped school Poultra
pu22l3r has quit [Remote host closed the connection]
<Poultra> you love muysique?
<shevy> you asked that before
moritzschaefer has quit [Ping timeout: 244 seconds]
dawkirst has quit [Ping timeout: 264 seconds]
<Poultra> ???*
the_f0ster has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 244 seconds]
bradhe has joined #ruby
JoshGlzBrk has joined #ruby
<toretore> i think someone's just come home from a night of drinking
<Poultra> me
datafirm has quit [Quit: Computer has gone to sleep.]
datafirm has joined #ruby
agent_white has quit [Quit: bbl]
RxDx has quit [Ping timeout: 246 seconds]
nateberkopec has joined #ruby
<Poultra> me
bradhe has quit [Ping timeout: 245 seconds]
datafirm has quit [Ping timeout: 255 seconds]
alexju has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
nateberkopec has quit [Ping timeout: 240 seconds]
<Poultra> super song
<Poultra> toretore follow- me
<Poultra> yes
absolutezeroff has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
mr_snowf1ake has joined #ruby
mr_snowf1ake has quit [Read error: Connection reset by peer]
<benlieb> how can I overwrite a method, but call the original method from inside the new one?
Poultra has quit [Read error: Connection reset by peer]
asteve has joined #ruby
asteve has quit [Changing host]
asteve has joined #ruby
<toretore> super
<shevy> :)
<shevy> benlieb you can also always keep a dangling reference to a method by using alias/alias_method
<benlieb> toretore: even if the method is defined via magic by rails?
<benlieb> in this case it's an association that I always want "ordered"
<csmrfx> why overwrite if it is not yours
radic has quit [Ping timeout: 272 seconds]
<toretore> 1) that's what default scope is for 2) don't use default scope
<benlieb> it's a has_many through association that I always want ordered
<benlieb> lessons.joins(:lessons_packs).order('lessons_packs.list_order')
<benlieb> toretore: lol
<csmrfx> you want your own method? make your own method
<toretore> 3) it's a stupid idea and you should forget about it
<benlieb> this needs to be an instance method
<csmrfx> you want your own method? make your own method
chipotle has joined #ruby
<benlieb> csmrfx: I originally made my own, but then I kind of have to remember to alway use it. now and in 3 years
radic has joined #ruby
<benlieb> I will never want these not ordered
<csmrfx> yes
<toretore> not until one day you do
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> Which do you think is harder? You changing and existing method for all future, or making your own method with correct name?
<toretore> and then you're stuck
mehlah has quit [Quit: Leaving...]
dfinly has quit [Quit: Farewell]
cassioscabral has quit [Ping timeout: 264 seconds]
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dvabr_ has joined #ruby
dvabr has quit [Ping timeout: 245 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
SCommette has joined #ruby
magicien has quit [Ping timeout: 240 seconds]
ejnahc has quit [Remote host closed the connection]
awkisopen has left #ruby ["Leaving"]
maestrojed has joined #ruby
ejnahc has joined #ruby
pu22l3r has joined #ruby
bbloom has joined #ruby
dvabr_ has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
binaryhat has joined #ruby
binaryhat has quit [Read error: Connection reset by peer]
alexju has joined #ruby
dvabr has joined #ruby
simoz111115 has quit [Ping timeout: 244 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
wiku5_ has joined #ruby
larissa has quit [Quit: Leaving]
wallerdev has quit [Quit: wallerdev]
joaoh82 has joined #ruby
<wiku5_> Anyone good with IP Tables?
pu22l3r has quit [Ping timeout: 255 seconds]
<krz> how do i get a random time from today?
<csmrfx> defo not the chan for iptables
<csmrfx> krz: you dont
nateberkopec has joined #ruby
alexju has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<krz> csmrfx: why not?
nateberkopec has quit [Ping timeout: 240 seconds]
xcesariox has joined #ruby
xcesariox has quit [Max SendQ exceeded]
promo has joined #ruby
<toretore> rand(86400)
<toretore> >> rand(86400)
<eval-in> toretore => 44103 (https://eval.in/162554)
<csmrfx> lol
skylite has quit [Quit: Linkinus - http://linkinus.com]
<csmrfx> krz: you might as well how do I get random cat from dog
<csmrfx> *ask
jrhe has quit [Quit: Connection closed for inactivity]
<toretore> >> t=Time.now; Time.utc(t.year, t.month, t.date) + rand(86400)
<eval-in> toretore => undefined method `date' for 2014-06-14 04:59:31 +0200:Time (NoMethodError) ... (https://eval.in/162555)
<toretore> >> t=Time.now; Time.utc(t.year, t.month, t.day) + rand(86400)
<eval-in> toretore => 2014-06-14 20:57:16 UTC (https://eval.in/162556)
ksinkar_ has quit [Ping timeout: 240 seconds]
ksinkar_ has joined #ruby
CpuID has joined #ruby
<csmrfx> why bother
dseitz has joined #ruby
Rollabunna has joined #ruby
treehug88 has quit []
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
seitensei has quit [Read error: Connection reset by peer]
hakunin_ has joined #ruby
mgberlin has joined #ruby
seitensei has joined #ruby
<krz> toretore: code does work though
CpuID has quit [Client Quit]
<csmrfx> maybe you should make it work, right
mikepack has joined #ruby
hakunin has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
promo has quit [Quit: BitchX: causing all sorts of havoc!]
Bosox20051 has joined #ruby
chipotle has quit [Quit: cya]
yetanotherdave has joined #ruby
aantix has joined #ruby
danshultz has joined #ruby
mikepack has quit [Ping timeout: 245 seconds]
bradhe has quit [Ping timeout: 272 seconds]
<krz> csmrfx: i dont understand what you mean
<krz> i havent implied anythign is broken
<krz> i just want a random time of today
combusean has quit [Read error: Connection reset by peer]
<csmrfx> ok
<csmrfx> that makes more sense
<csmrfx> krz: first, get ri
scx_ has joined #ruby
wallerdev has joined #ruby
<csmrfx> once you have ri, read $ ri Time and $ ri Date
datafirm has joined #ruby
ghr has joined #ruby
scx has quit [Ping timeout: 240 seconds]
yetanotherdave has quit [Quit: Lost terminal]
dvabr has quit [Quit: Textual IRC Client: www.textualapp.com]
combusean has joined #ruby
braincrash has quit [Quit: bye bye]
ghr has quit [Ping timeout: 245 seconds]
bbloom has quit [Quit: Computer has gone to sleep.]
nateberkopec has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Photism_ has joined #ruby
exgf_z_o_m has joined #ruby
bbloom has joined #ruby
braincrash has joined #ruby
Photism has quit [Ping timeout: 240 seconds]
akitada has quit [Quit: Connection closed for inactivity]
nateberkopec has quit [Ping timeout: 240 seconds]
exgf_z_o has quit [Ping timeout: 264 seconds]
GriffinHeart has joined #ruby
dik_dak has quit [Quit: Leaving]
GriffinHeart has quit [Ping timeout: 252 seconds]
hololeap has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
KTMBoi88 has joined #ruby
Bosox20051 has quit [Ping timeout: 272 seconds]
SCommette has quit [Quit: SCommette]
yfeldblum has joined #ruby
amargherio has quit [Read error: Connection reset by peer]
stantona has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
aantix has quit [Quit: aantix]
bbloom has quit [Quit: Computer has gone to sleep.]
ascarter has joined #ruby
atmosx has quit [Remote host closed the connection]
atmosx has joined #ruby
monkegjinni has joined #ruby
stantona has quit [Ping timeout: 264 seconds]
mikesplain has joined #ruby
tdk2fe has joined #ruby
asteve has joined #ruby
asteve has quit [Client Quit]
Juxtapositional has joined #ruby
monkegjinni has quit [Ping timeout: 264 seconds]
absk007 has joined #ruby
<absk007> How to compile Ruby 2.1 for Windows 7 Ult SP1?
<csmrfx> I am guessing, but does visual studio support ruby
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matti> absk007: Why? There is Windows installer.
lw has joined #ruby
<absk007> matti, there is no win installer for Ruby 2.1
atraylen has quit [Quit: Nettalk6 - www.ntalk.de]
<absk007> matti, cud u point me?
<csmrfx> compile != install
<csmrfx> absk007: see the link
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<matti> csmrfx: I doubt he wants to compile it on Windows.
phinfonet has quit []
<matti> absk007: http://rubyinstaller.org/ - by Luis et al
<absk007> matti, do u hav any link 2 install Ruby 2.1 version?
bradhe has joined #ruby
mikesplain has joined #ruby
aantix has joined #ruby
Bumptious has joined #ruby
<matti> absk007: No, but ask Luis, perhaps he would make one.
kireevco has joined #ruby
papercode has quit [Quit: WeeChat 0.4.3]
<matti> absk007: Or good luck with cross-compiling/compiling ;]
<csmrfx> absk007: there is a solution
<absk007> csmrfx, wats d soln.?
<csmrfx> absk007: install virtualbox, in it linux, in it ruby
<matti> Haha
<matti> +1
<absk007> yeah! i did just that using Vagrant
<absk007> but when i try 2 install gem, it shows some error
zoraj has joined #ruby
danshultz has quit [Remote host closed the connection]
mikepack has joined #ruby
danshultz has joined #ruby
<csmrfx> well you need to configure networking correctly
bradhe has quit [Ping timeout: 245 seconds]
<csmrfx> or, if it is the first gem install
<csmrfx> you need to update rubygems
<absk007> oh!
<absk007> csmrfx, using gem update. rt?
<csmrfx> well which rubygems version?
<csmrfx> (or ruby version)
ascarter has joined #ruby
jamto11 has quit [Remote host closed the connection]
<csmrfx> I think this will work most of the time: $ gem update --system
<absk007> csmrfx, probably 2.2.x
<csmrfx> or, you may need to do: $ sudo gem update --system
<csmrfx> depending on the linux version 8)
<absk007> k
<absk007> csmrfx, it's ubuntu. So sudo..
danshultz has quit [Ping timeout: 240 seconds]
verto has quit [Ping timeout: 252 seconds]
shtirlic has quit [Ping timeout: 252 seconds]
cassioscabral has joined #ruby
verto has joined #ruby
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dfedde has quit [Ping timeout: 252 seconds]
shtirlic has joined #ruby
dfedde has joined #ruby
saarinen has joined #ruby
JoshGlzBrk has joined #ruby
ghr has joined #ruby
fold has joined #ruby
Atrumx has joined #ruby
benlieb has quit [Quit: benlieb]
mikepack has quit [Remote host closed the connection]
wiku5_ has quit [Ping timeout: 264 seconds]
mgberlin_ has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
cassioscabral has quit [Ping timeout: 244 seconds]
mikepack has joined #ruby
xcesariox has joined #ruby
mgberlin has quit [Ping timeout: 245 seconds]
SCommette has joined #ruby
kartouch has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
fold has quit [Ping timeout: 272 seconds]
simoz111115 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Weredran is now known as Adran
simoz111116 has joined #ruby
kartouch has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simoz111115 has quit [Ping timeout: 272 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
chipotle has joined #ruby
kilk_ has joined #ruby
chipotle has quit [Client Quit]
etqqkoiflwhb has joined #ruby
linojon has joined #ruby
absk007 has quit [Quit: Good Bye. I Quit...]
testcore has joined #ruby
mikepack has quit [Remote host closed the connection]
Bumptious has quit [Remote host closed the connection]
Bumptious has joined #ruby
bwilson has quit [Quit: +++CARRIER LOST+++]
shenkan has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<billy_ran_away> Hey sudo apt-get update is giving me this error: http://pastie.org/9288427
saarinen has joined #ruby
<billy_ran_away> Can anyone help me?
mikesplain has joined #ruby
JoshGlzBrk has joined #ruby
<billy_ran_away> wrong channel
<billy_ran_away> my bad
<csmrfx> your apt/sources.list has obsolete entries
pvb has joined #ruby
<csmrfx> but, #ubuntu
mikesplain has quit [Ping timeout: 255 seconds]
bradhe has joined #ruby
mikesplain has joined #ruby
pu22l3r has joined #ruby
lw has quit [Quit: s]
Trilient has joined #ruby
<Trilient> Hi there
chipotle has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
chipotle has quit [Client Quit]
zoraj has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 255 seconds]
saarinen has quit [Quit: saarinen]
<csmrfx> hi
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zoraj has joined #ruby
ascarter has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
testcore has quit [Quit: [BX] Harry Potter uses BitchX. Shouldn't you?]
<Trilient> I have a dilemma. I'm sure it'll be easy for most of you though
testcore has joined #ruby
<Trilient> I just started learning ruby about 2 days ago, I'm trying to create my first program. It'll be a basic CRUD program.
<Trilient> I'd like it to also have a login system, but I'm unsure how to go about it
<Trilient> This is what I wrote for the login so far:
dvabr has joined #ruby
JoshGlzBrk has joined #ruby
<csmrfx> great, you paste code, excellent
<Trilient> However it's checking for the value of the username, and not the username itself. How do I make it check the username?
lowski has joined #ruby
<csmrfx> but pastebin is horibul, pastie or gist
<Trilient> pastebin was the only site I knew of, my apologies.
<csmrfx> np, np
<csmrfx> so, you want the value from the user_info hash
zoraj has quit [Ping timeout: 255 seconds]
<csmrfx> >> me_hsh = { "K" => "222" }; me_hsh["K"]
<eval-in> csmrfx => "222" (https://eval.in/162594)
<csmrfx> or
<csmrfx> >> user_input = "K"; me_hsh = { "K" => "222" }; me_hsh[user_input]
<eval-in> csmrfx => "222" (https://eval.in/162595)
<csmrfx> wait
<csmrfx> did I mis-read? haha
<csmrfx> typical
<csmrfx> >> me_hsh = { "K" => "222" }; me_hsh.has_key? "K"
<eval-in> csmrfx => true (https://eval.in/162603)
<Trilient> I'd like it to check the users input against the keys in the hash
<Trilient> If that's possible
<Trilient> Or a workaround
<csmrfx> there it is ^
djr has joined #ruby
lowski has left #ruby [#ruby]
<csmrfx> or, if you try to access hash with nonexistent key:
<csmrfx> >> me_hsh = { "K" => "222" }; me_hsh["C"]
<eval-in> csmrfx => nil (https://eval.in/162604)
<csmrfx> - so you could just see if the returned value is nil (assuming no nil is stored
zwer has joined #ruby
<csmrfx> Trilient: you have ri?
<Trilient> ri?
<csmrfx> with $ ri Hash you can see the documentation for Hash
<csmrfx> use ri
<csmrfx> or, in irb, use >> help Hash
<csmrfx> and then you can >> help Hash.has_key?
zoraj has joined #ruby
fukt has joined #ruby
<fukt> hello
dawkirst has joined #ruby
<csmrfx> oh, actually, you cannot lookup help for methods in irb, only ri (at least here it only works with ri)
<fukt> why not?
<csmrfx> fukt: does "help Hash.key" return docs for you in irb?
comma8 has quit [Ping timeout: 252 seconds]
<fukt> Dude tries to land a happy ending at the local Korean massage parlor but has difficulty getting past the language barrier. Even a hilarious visual demonstration fails to get his point across. "Happy Ending Fail" - http://efukt.com/20751_Happy_Ending_Fail.html
<csmrfx> ok, now you have me looking for a kick-button
nanoyak has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mgberlin has joined #ruby
<fukt> going by the time it is taking you you must be watching the clip first
absk007 has joined #ruby
tdk2fe has quit [Remote host closed the connection]
<csmrfx> nope, I'm not clicking
<fukt> pussy
<csmrfx> your mom? keep her out of this, spammer
dawkirst has quit [Ping timeout: 245 seconds]
dc has joined #ruby
<absk007> csmrfx, i've installed ruby 2.1 using rvm. It shows error when i try 2 update
ghr has joined #ruby
<csmrfx> I know
SCommette has quit [Quit: SCommette]
<absk007> csmrfx, error is ERROR: Loading command: update (LoadError)
<absk007> cannot load such file -- zlib
<absk007> undefined method `invoke_with_build_args' for nil:NilClass
<absk007> ERROR: While executing gem ... (NoMethodError)
<csmrfx> and that was for gem update?
andrewjanssen has quit [Quit: Leaving...]
<absk007> yeah! sudo gem update --system
<csmrfx> ok so google that error with "gem update"
simoz111116 has quit [Ping timeout: 255 seconds]
dc has quit [Remote host closed the connection]
mgberlin_ has joined #ruby
<csmrfx> buuut, perhaps very first update the whole OS
<csmrfx> (sudo apt-get update && sudo apt get upgrade)
fukt has quit [Quit: IRCGate CGI:IRC User (EOF)]
DrFukt has joined #ruby
<DrFukt> When an Azn teenager is reluctant to finish getting ass fucked, it's this guy's cue to utilize a pro-wrestling style submission maneuver and ride it home. Featuring acting so good Kirk Cameron would shed a single tear.. "The Anal Full Nelson" - aalmenar http://efukt.com/21122_The_Anal_Full_Nelson.html
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has joined #ruby
<csmrfx> nice, a spambot, fukt?
ghr has quit [Ping timeout: 240 seconds]
<csmrfx> You do realize spamming gets you freenode wide ban, fukt?
<DrFukt> yes
mgberlin has quit [Ping timeout: 240 seconds]
<DrFukt> yes
<csmrfx> I give you 20 seconds to take it out of #ruby
<csmrfx> starts now!
<DrFukt> but I am sharing nice clips with my ruby brethren, why would anyone report me
virtualize has joined #ruby
<csmrfx> time is up
<csmrfx> was nice chatting with you
micah`_ has quit [Ping timeout: 240 seconds]
<DrFukt> thank you
computerex has quit [Ping timeout: 264 seconds]
micah` has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
IceDragon has quit [Quit: Space~~~]
nanoyak has joined #ruby
harryk has quit [Ping timeout: 252 seconds]
<dinoex> /usr/local/libdata/pkgconfig/ruby-1.9.pc:DLDFLAGS=-L/usr/local/lib -Wl,-soname,$(.TARGET)
<dinoex> this fails in dependet ports.
paolooo has joined #ruby
mgberlin_ has quit [Remote host closed the connection]
<dinoex> eg graphviz with ruby enabled
<csmrfx> which ruby
kireevco has quit [Quit: Leaving.]
<csmrfx> ahem, bsd
<dinoex> sorry FreeBSD, wrong channel :)
<DrFukt> Dude tries to land a happy ending at the local Korean massage parlor but has difficulty getting past the language barrier. Even a hilarious visual demonstration fails to get his point across. "Happy Ending Fail" - http://efukt.com/20751_Happy_Ending_Fail.html
sputnik13 has joined #ruby
<DrFukt> sorry
<DrFukt> I posted that already
<csmrfx> dinoex: np
<absk007> csmrfx, when i use "rvm reinstall 2.1". Does it use up my bandwidth?
<csmrfx> hmm, I dont know
<csmrfx> I use stock debian rubies
<absk007> stock debian rubies doesn't include v2.1
<csmrfx> my last rvm ruby is on 2.0 or something
<absk007> csmrfx, i need that version 2 run devdocs.io offline
<csmrfx> testing or unstable might include 2.0
DrFukt has quit [Quit: IRCGate CGI:IRC User (EOF)]
DrFukt has joined #ruby
ta has quit [Ping timeout: 240 seconds]
combusean has quit [Quit: Leaving.]
gondalier has joined #ruby
<csmrfx> absk007: debian testing has 2.1
<DrFukt> If there's a book out there on what NOT to do during intercourse, I'd say this dude just paved the way for a fucking trilogy. Nevermind his Rosie O'Donnell-like figure, or his unsettling fetish for floppy disks. The real prize is at the 2.48 mark. Ladies and gentleman, this motherfucker just single-handedly brought back Planking. "The Creepiest Motherfucker in Porn" - http://efukt.com/21065_The_Creepiest_Motherfucker_in_Porn.html
<csmrfx> !ops DrFukt porn spam
<absk007> csmrfx, whc repo 2 add?
<DrFukt> spam?
<csmrfx> absk007: it is called jessie
<absk007> !ops DrFukt porn spam
<csmrfx> absk007: I would $ sudo synaptic & <enter> Settings > Repositories and select jessie / testing from there
<csmrfx> but then, there may be problems
combusean has joined #ruby
<absk007> csmrfx, wat probs?
<csmrfx> dependencies
alem0lars has joined #ruby
<csmrfx> may not exist yet, may be old, may be broken
<csmrfx> hence "testing"
<absk007> csmrfx, btw, i'm using UbuntuStudent
claymore has joined #ruby
<csmrfx> yeah its a different animal
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> rvm is fine
<csmrfx> (as long as you read the instructions)
<absk007> hmm...
yosafbridge has quit [Ping timeout: 240 seconds]
<absk007> reinstalling 2.1 after the fix. Will take smtime. Lemme c if it works...
DrFukt has left #ruby [#ruby]
monkegjinni has joined #ruby
yosafbridge has joined #ruby
monkegjinni has quit [Ping timeout: 244 seconds]
amclain has quit [Quit: Leaving]
linojon has quit [Quit: linojon]
sputnik13 has quit [Ping timeout: 245 seconds]
ta has joined #ruby
decoponio has joined #ruby
DrFukt has joined #ruby
DrFukt has quit [Client Quit]
absk007 has quit [Quit: Good Bye. I Quit...]
paolooo has quit [Ping timeout: 246 seconds]
joelteon has quit [Ping timeout: 240 seconds]
maletor has joined #ruby
nfk has joined #ruby
dc has joined #ruby
maletor_ has joined #ruby
maletor has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
axisys has quit [Remote host closed the connection]
jamto11 has joined #ruby
Doppp has quit [Quit: leaving]
maletor_ has quit [Ping timeout: 255 seconds]
maletor has joined #ruby
joelteon has joined #ruby
jamto11 has quit [Ping timeout: 244 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
danijoo has quit [Read error: Connection reset by peer]
senayar has joined #ruby
danijoo has joined #ruby
pu22l3r has joined #ruby
Doppp has joined #ruby
sputnik13 has joined #ruby
DrFukt has joined #ruby
<DrFukt> This girl is ridiculously cute. I want to hold her hand. I want to smell her hair. I want a 3x5 inch cut-out of the computer chair fabric that was blessed with her vaginal discharge. Until then though, check out her. "85 Pound Nerd Masturbates @ Work" - http://efukt.com/21057_85_Pound_Nerd_Masturbates_@_Work.html
dawkirst has joined #ruby
maletor has quit [Ping timeout: 255 seconds]
sputnik13 has quit [Client Quit]
maletor has joined #ruby
<Doppp> ...
<DrFukt> what do those dribbles represent?
senayar has quit [Ping timeout: 255 seconds]
datafirm has quit [Quit: Computer has gone to sleep.]
pu22l3r has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
datafirm has joined #ruby
jacks_spleen has joined #ruby
dawkirst has quit [Ping timeout: 244 seconds]
sputnik13 has joined #ruby
<DrFukt> This is perverse. More perverse than that happy-go-lucky bastard that ejaculates while donating to the homeless. It contains elder abuse, incestuous undertones and a talking parrot that'll channel your every thought. "Mom Fascinated By Daughter's Sextape" - http://efukt.com/21053_Mom_Fascinated_By_Daughter%27s_Sextape.html
<DrFukt> This is legendary pipe layer Big Red, most notable for his 7 inch penis and it's not-so-cervix-friendly curvature. The end result tends to involve women screaming louder than Warwick Davis after the release of box office figures on Leprechaun 4: In Space. "78 Percent Of His Sexual Partners Quit" - http://efukt.com/9/
nateberkopec has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
datafirm has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Read error: No route to host]
nateberkopec has joined #ruby
toastynerd has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
claymore has quit [Quit: Leaving]
zoraj has quit [Remote host closed the connection]
zoraj has joined #ruby
senayar has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
duncannz has quit [Ping timeout: 252 seconds]
zoraj has quit [Ping timeout: 272 seconds]
comma8 has joined #ruby
senayar has quit [Ping timeout: 272 seconds]
aantix has quit [Quit: aantix]
<DrFukt> Everyone loves their own brand. Especially fat people. "Scent Of A Woman" - http://efukt.com/20823_Scent_Of_A_Woman.html
KTMBoi88 has quit [Read error: Connection reset by peer]
KTMBoi88 has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb has joined #ruby
eguim has quit [Ping timeout: 244 seconds]
gondalier has quit []
ayaz has joined #ruby
relix has joined #ruby
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
alem0lars has quit [Quit: alem0lars]
Takle has joined #ruby
dawkirst has joined #ruby
DrFukt has quit [Quit: IRCGate CGI:IRC User (EOF)]
bradhe has joined #ruby
etqqkoiflwhb has quit [Ping timeout: 240 seconds]
weems has quit [Read error: Connection reset by peer]
ptierno has quit [Quit: leaving]
ptierno has joined #ruby
eguim has joined #ruby
KTMBoi88 has quit [Ping timeout: 272 seconds]
bradhe has quit [Ping timeout: 244 seconds]
dawkirst has quit [Quit: Leaving...]
Vivekananda has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby
LadyRainicorn has joined #ruby
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> DrFukts irc spam bot has gotta be the hugest waste of coding skills since windows millenium
garndt has quit [Quit: Connection closed for inactivity]
etqqkoiflwhb has joined #ruby
etqqkoiflwhb has quit [Remote host closed the connection]
alvaro_o has quit [Ping timeout: 252 seconds]
etqqkoiflwhb has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jprovazn has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
benlieb has joined #ruby
mikecmpbll has joined #ruby
j_mcnally has joined #ruby
jacks_spleen has quit [Quit: Leaving]
ninegrid has quit [Quit: leaving]
ninegrid_ has quit [Quit: leaving]
ninegrid has joined #ruby
arrubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
absolutezeroff has quit [Ping timeout: 272 seconds]
Trilient has quit []
toastynerd has quit [Remote host closed the connection]
weems has joined #ruby
sputnik13 has joined #ruby
sevenseacat has joined #ruby
jprovazn has quit [Quit: Odcházím]
alexju has joined #ruby
sarkis has quit [Ping timeout: 244 seconds]
ta has quit [Remote host closed the connection]
Morkel has joined #ruby
wallerdev has quit [Quit: wallerdev]
charliesome has quit [Ping timeout: 245 seconds]
aagdbl has joined #ruby
ghr has joined #ruby
charliesome has joined #ruby
klaut has joined #ruby
nateberkopec has joined #ruby
Hobogrammer has quit [Ping timeout: 255 seconds]
ghr has quit [Ping timeout: 255 seconds]
mahlon has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
sylver has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
senayar has quit [Ping timeout: 264 seconds]
anaeem1 has joined #ruby
anaeem1 has quit [Remote host closed the connection]
kilk_ has quit [Ping timeout: 245 seconds]
bradhe has joined #ruby
mahlon has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
zwer has quit [Remote host closed the connection]
gnephiak has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
TheKruex has joined #ruby
Nameo0 has joined #ruby
Channel6 has quit [Quit: Leaving]
sarkis has joined #ruby
charliesome has quit [Ping timeout: 245 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
zwer has joined #ruby
sputnik13 has joined #ruby
anaeem1_ has joined #ruby
<Nameo0> Hello, I am working on a program that organizes images (wallpapers) by resolution. I am using FastImage to obtain the resolution, but I was wondering if there is a way to catch an error from the FastImage.size() code and tell the code jsut to move onto the next file?
<Nameo0> My main question is how to tell ruby to continue running after the error happens.
<Nameo0> ?
charliesome has joined #ruby
combusean has quit [Quit: Leaving.]
<sevenseacat> catch the error?
<sevenseacat> and continue?
monkegjinni has joined #ruby
sarkis has quit [Ping timeout: 240 seconds]
yosafbridge has quit [Ping timeout: 240 seconds]
<Nameo0> Idk if this is even possible, but when a I put a file that is not an image into FastIamge.size(file_name), Rubyu gives me an error.
TheKruex has quit []
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<sevenseacat> and the error is?
<Nameo0> I was wondering if there is a way to tell Ruby to ignore the error and to continue runnning.
yosafbridge has joined #ruby
<Nameo0> C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/fastimage-1.6.3/lib/fastima
<Nameo0> ge.rb:292:in `initialize': Permission denied - D:/win7Part/Downloads/Wallpaper/2
<Nameo0> 3/lib/fastimage.rb:292:in `open'
<Nameo0> from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/fastimage-1.6.
<Nameo0> be sorted/. (Errno::EACCES)
<Nameo0> from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/fastimage-1.6.
<Nameo0> 3/lib/fastimage.rb:292:in `fetch_using_open_uri'
<Nameo0> from C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/fastimage-1.6.
Nameo0 has quit [Killed (idoru (Spam is off topic on freenode.))]
<sevenseacat> lol
<mozzarella> rofl
monkegjinni has quit [Ping timeout: 240 seconds]
sylver has quit [Ping timeout: 272 seconds]
sski has joined #ruby
<apeiros> that's interesting
diegoviola has joined #ruby
toastynerd has joined #ruby
brunops has quit [Quit: leaving]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
dreamchaser has quit [Quit: ZNC - http://znc.in]
sylver has joined #ruby
Hanmac has joined #ruby
Hanmac1 has quit [Ping timeout: 244 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sevenseacat has quit [Quit: Leaving.]
ta has joined #ruby
dangerousdave has joined #ruby
jamto11 has joined #ruby
ta has quit [Read error: Connection reset by peer]
MrDoctor has joined #ruby
JoshGlzBrk has joined #ruby
ta has joined #ruby
Hobogrammer has joined #ruby
jamto11 has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
chipotle has quit [Client Quit]
Notte has joined #ruby
dvabr has quit [Ping timeout: 240 seconds]
Morkel has quit [Quit: Morkel]
nateberkopec has joined #ruby
dvabr has joined #ruby
andrewlio has joined #ruby
hololeap has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
hy2guru has joined #ruby
ta has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
ta has joined #ruby
elaptics`away is now known as elaptics
hy2guru_ has joined #ruby
toastynerd has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 245 seconds]
ta has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
mikecmpbll has joined #ruby
dvabr has quit [Ping timeout: 240 seconds]
hololeap has joined #ruby
parduse has joined #ruby
hy2guru has quit [Quit: 전 이만 갑니다.]
rippa has joined #ruby
dvabr has joined #ruby
Zebroid has joined #ruby
sarkis has joined #ruby
pu22l3r has joined #ruby
Zebroid has quit [Remote host closed the connection]
Zebroid has joined #ruby
Zebroid has quit [Remote host closed the connection]
Zebroid has joined #ruby
MZAWeb has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pu22l3r has quit [Ping timeout: 252 seconds]
sarkis has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
arianit has joined #ruby
carraroj has joined #ruby
sylver has quit [Ping timeout: 244 seconds]
BizarreCake has joined #ruby
brasten_ has joined #ruby
mijicd has joined #ruby
brasten has quit [Ping timeout: 240 seconds]
brasten_ is now known as brasten
mijicd has quit [Client Quit]
alexju has quit [Remote host closed the connection]
hololeap has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gnephiak has quit [Ping timeout: 264 seconds]
Zebroid has quit [Remote host closed the connection]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zebroid has joined #ruby
mijicd has joined #ruby
mijicd has quit [Client Quit]
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
mijicd has joined #ruby
mijicd has quit [Client Quit]
ner0x has joined #ruby
mijicd has joined #ruby
mijicd has quit [Client Quit]
Zebroid has quit [Ping timeout: 240 seconds]
toastynerd has quit [Remote host closed the connection]
Shidash has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
mijicd has joined #ruby
mijicd has quit [Client Quit]
mijicd has joined #ruby
mijicd has quit [Client Quit]
toastynerd has joined #ruby
mijicd has joined #ruby
mijicd has quit [Client Quit]
zoraj has joined #ruby
zigomir has joined #ruby
jackneill has joined #ruby
mijicd has joined #ruby
mijicd has quit [Client Quit]
mijicd has joined #ruby
Notte has quit [Remote host closed the connection]
blackgoat_ has joined #ruby
Hobogrammer has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
mijicd has quit [Remote host closed the connection]
bradhe has joined #ruby
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb has joined #ruby
maroloccio has joined #ruby
etqqkoiflwhb has quit [Read error: Connection reset by peer]
senayar has joined #ruby
etqqkoiflwhb has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
arianit has quit [Quit: Ex-Chat]
aagdbl has quit [Quit: This computer has gone to sleep]
bradhe has quit [Ping timeout: 245 seconds]
Notte has joined #ruby
senayar has quit [Ping timeout: 240 seconds]
aagdbl has joined #ruby
alem0lars has joined #ruby
hy2guru has joined #ruby
lolmaus has joined #ruby
lkba has quit [Ping timeout: 272 seconds]
dvabr has quit [Quit: Textual IRC Client: www.textualapp.com]
carraroj has quit [Ping timeout: 244 seconds]
monkegjinni has joined #ruby
alem0lars has quit [Quit: Going AFK...]
sylver has joined #ruby
Arkaniad has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
toastynerd has quit [Remote host closed the connection]
chipotle has quit [Client Quit]
monkegjinni has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
sylver has quit [Ping timeout: 252 seconds]
chipotle has quit [Client Quit]
chipotle has joined #ruby
chipotle has quit [Client Quit]
chipotle has joined #ruby
chipotle has quit [Client Quit]
chipotle has joined #ruby
chipotle has quit [Client Quit]
benlieb has quit [Quit: benlieb]
moritzschaefer has joined #ruby
moritzs has joined #ruby
Takle has quit [Remote host closed the connection]
sinkensabe has joined #ruby
gattuso has joined #ruby
jamto11 has joined #ruby
yacks has quit [Ping timeout: 252 seconds]
MrDoctor_ has joined #ruby
zoraj_ has joined #ruby
yacks has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
djr has quit [Ping timeout: 264 seconds]
MrDoctor has quit [Ping timeout: 252 seconds]
zoraj has quit [Ping timeout: 255 seconds]
jhass|off is now known as jhass
bradhe has joined #ruby
dodgepong has quit [Quit: Leaving]
etqqkoiflwhb has quit [Quit: Computer has gone to sleep.]
nateberkopec has joined #ruby
etqqkoiflwhb has joined #ruby
MrDoctor_ has quit [Remote host closed the connection]
shredding has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
ta_ has quit [Ping timeout: 255 seconds]
ta has joined #ruby
etqqkoiflwhb_ has joined #ruby
etqqkoiflwhb has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 240 seconds]
sylver has joined #ruby
fantazo has quit [Ping timeout: 245 seconds]
gnephiak has joined #ruby
timonv has joined #ruby
maximski has joined #ruby
Zebroid has joined #ruby
hy2guru has quit [Remote host closed the connection]
ikaros has joined #ruby
sylver has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
Ch0c0late has joined #ruby
Zebroid has quit [Ping timeout: 245 seconds]
treehug88 has joined #ruby
sski has quit [Remote host closed the connection]
treehug88 has quit [Client Quit]
timonv has joined #ruby
pu22l3r has joined #ruby
sarkis has joined #ruby
<Ch0c0late> Hi. I've come up with a problem known as Modular Arithmetic. I wanna code an app which sums numbers between 1 to n but with a bit difference. If I wanna add up n numbers I can get n(n + 1)/2 formula which calculate the sum in O(1) time but I wanna add up n numbers in this way i=1 to n -> sum(i%m) and here m is a constant number like 6. The time complexity of this problem using a simple loop is O(n^2). n <= 10 ^ 9. Now the question is that how to
<Ch0c0late> reduce time complexity to n or log n and also how to describe this algorithm in terms of DP or Greedy or relevant algorithms that help me to solve this problem. I do not want solution. The only thing that I need is a piece of advice. Any suggestion?
elaptics is now known as elaptics`away
<apeiros> Ch0c0late: with i%m, summand groups repeat
<apeiros> you can probably exploit that
<apeiros> IMO it should be implementable in O(1) too
pu22l3r has quit [Ping timeout: 240 seconds]
<Ch0c0late> What's the method? DP, Greedy, D&C, BT, B&B, etc.
<apeiros> I don't know those names
<apeiros> also not sure why you think naive implementation was O(n^2)
<apeiros> seems to me like it was O(n)
sarkis has quit [Ping timeout: 240 seconds]
<apeiros> (assuming addition and modulus being O(1))
<Ch0c0late> Because of n(n+1)/2 -> O((n^2 + n)/2 ) -> Based on asymptotic notation we can get the greater value which is O(n^2)
aagdbl has quit [Quit: This computer has gone to sleep]
<apeiros> eh?
<apeiros> either you're confusing things or I completely misunderstand what you're asking.
<Ch0c0late> I can see that I repeat a sequence like this: 1 % 6 + 2 % 6 + 3 % 6 + ...
ta_ has joined #ruby
<apeiros> using a formula like n(n+1)/2 is O(1) (as you stated yourself). not O(n^2). not sure how you make that leap.
<apeiros> and sum(i%m) for i := 1->n can be expressed in a formula too. making it calculatable in O(1) too
ta has quit [Ping timeout: 240 seconds]
<Ch0c0late> Could you clear it a bit more?
<apeiros> no
<Ch0c0late> Okay.
<apeiros> if you have a specific question, maybe.
nffff has quit [Ping timeout: 244 seconds]
spider-mario has joined #ruby
<pvb> O(1) for one number. and O(n) for n numbers. (If I understand the problem.)
krz has quit [Read error: Connection reset by peer]
jheg has joined #ruby
<apeiros> pvb: no. unless he mislabels his variables.
<jheg> csmrfx: have you slept? :)
ta_ has quit [Read error: Connection reset by peer]
<jheg> ah my bad it just loaded my previous chat :L
<apeiros> this would be using "n" once for "sum for numbers 1 to n" and once for "with n different values for n"
<apeiros> you can't use the same variable for different dimensions/aspects :)
ta has joined #ruby
Takle has joined #ruby
mehlah has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
<apeiros> finding the sum of the numbers 1->n with a naive implementation like (1..n).inject(:+) is O(n) because you perform an operation (sum + i) n times.
<pvb> Yes, sure
<apeiros> in his modular arithmetic world, the naive implementation only changes minimally: (1..n).inject(0) { |sum, i| i % m }. this is O(n) too because you perform an operation (sum + i % m) n times.
<pvb> Yes
<pvb> But if you use n(n+1)/2 is O(1)
<pvb> for only one number
<apeiros> yes. and it will only be O(n) for n numbers unless your n numbers have some systematic to it.
<apeiros> so *even* if he meant "for n inputs" it still makes no sense.
klaut has quit [Remote host closed the connection]
etqqkoiflwhb_ has joined #ruby
<apeiros> s/only/always/
<apeiros> (why did I write "only"?)
<isomorphismes> koan asks: "If we redefine method_missing, what happens?" Unless I'm missing something...
<isomorphismes> >> class T; def method_missing; :poo; end; end; t = T.new; t.method_missing
<eval-in> isomorphismes => :poo (https://eval.in/162680)
<isomorphismes> Is that the takeaway I'm supposed to be seeing?
<apeiros> >> class T; def method_missing(*); "wait, what?"; end; end; T.new.whoopydoo
<eval-in> apeiros => "wait, what?" (https://eval.in/162681)
<yxhuvud> FWIW, (n + m) % k == n % k + m % k, assuming a % that never gives negative numbers.
<yxhuvud> (which it won't if all numbers are positive)
<apeiros> isomorphismes ^ is the secret of method_missing
Takle has quit [Ping timeout: 245 seconds]
<apeiros> yxhuvud: dude, he said he didn't want a solution! pffft :)
bradhe has joined #ruby
<apeiros> ah
robbyoconnor has joined #ruby
<apeiros> not a solution. just a way to simplify the problem even more
<isomorphismes> apeiros: you mean this is essentially what the native (inherited to every object you make) #method_missing essentially does?
<isomorphismes> oh oh I see what you meant
<apeiros> isomorphismes: method_missing is a catch-all
ta has quit [Ping timeout: 244 seconds]
<shevy> people often don't want solutions!
<isomorphismes> apeiros: and what the language writers did was stuff into that catch-all, a NoMethodError that returns useful information about like what class (so a call to self?)
kirun has joined #ruby
ta has joined #ruby
scx_ has quit [Ping timeout: 264 seconds]
<apeiros> isomorphismes: I think the NoMethodError is even more low level. but I think you can consider that an implementation detail.
<isomorphismes> I love the n*(n+1)/2 story. Great story of a child outsmarting an adult, *and* a good argument for pen-and-paper maths visavis coding simulations or bigass Monte Carlo's, what have you
<yxhuvud> uh, or well, (n+m) % k == (n % k + n % k) % k, rather.
<isomorphismes> cool. thank you apeiros
bradhe has quit [Ping timeout: 240 seconds]
<apeiros> yxhuvud: heh, yes. but he said "modular arithmetics". now I wonder … in true modular arithmetics, there wouldn't be any n >= m anyway, no?
scx has joined #ruby
<isomorphismes> Ch0c0late: hey if you want advice - check out finite fields
samphippen has joined #ruby
<isomorphismes> Ch0c0late: if you are doing mod a prime number it will be different than mod a composite number
<apeiros> but well, I actually lost interest in this question. it seems poorly formulated and the op seems to have gone awol anyway
<isomorphismes> Ch0c0late: I've never thought through this myself, but if you know the story of how it was derived (add 1+2+...+100, but then "loop the end to the beginning" and go in pairs) -- you might be able to work out how this works in modulo X
jottr has joined #ruby
etqqkoiflwhb_ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb_ has joined #ruby
nateberkopec has joined #ruby
<isomorphismes> Ch0c0late: with your example of mod 6, notice for example 7%6 == 1%6 == 13%6, and also 2+4==6==0, also 1+5==6==0. So only the 3's matter and every other of those disappear (3..0..3..0..3..0).
<isomorphismes> Ch0c0late: Just sort of spitballing on the fly here but maybe think about it in some way like that.
ta has quit [Ping timeout: 272 seconds]
etqqkoiflwhb__ has joined #ruby
etqqkoiflwhb__ has quit [Remote host closed the connection]
etqqkoiflwhb__ has joined #ruby
CorpusCallosum has joined #ruby
etqqkoiflwhb_ has quit [Ping timeout: 252 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
LadyR has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
ta has joined #ruby
axl_ has joined #ruby
<isomorphismes> Somebody earlier said "The power of ruby 1.9" (I'm not sure if this was in resopnse to one of my questions or not)
<isomorphismes> Did some features get lost in ruby 2.0? Or is ruby 2 somehow less powerful than 1.9?
<apeiros> I remember our elementary school teacher asking that question too. I didn't quite have the idea of using n*(n+1)/2, but at least I only summed up 1..9 and 1..10. i.e., I solved it with 10 additions and 2 multiplications
<apeiros> isomorphismes: I'm not aware of lost features in 2.0
<isomorphismes> apeiros: what do you mean 10 add and 2 mult?
axl_ has quit [Client Quit]
<isomorphismes> apeiros: oh - you mean the tens digits and units digits. that's nice
<apeiros> sum up 1 to 9 (8 additions), sum up 1 to 10 (1 addition since I already have 1 to 9), multiply sum(1..9) by 100, multiply sum(1..10) by 10, sum those two
<apeiros> i.e., 100*sum(1..9) + 10*sum(1..10)
<apeiros> but I think I was too unsure about my own cleverness back then and actually did the full summing before handing back the solution :)
LadyR has quit [Ping timeout: 240 seconds]
<isomorphismes> haha
senayar has quit [Ping timeout: 244 seconds]
<isomorphismes> well gauss even found an invariant*
<isomorphismes> so his was extremely nice
<apeiros> yeah. I was jealous when I heard about that solution :D
<isomorphismes> not necc a bad idea to check ones cleverness even on sum(1..20) or whatev
<pvb> I have no idea what is "Modular Arithmetic". But n(n+1)/2 is the winner's way.
<isomorphismes> i think yours is also good
<isomorphismes> you still looked at it "differently" than it was set to you
<isomorphismes> you looked "vertically" gauss "looped around to the begining" (and pairs). shapewise
gnephiak has quit [Ping timeout: 255 seconds]
<apeiros> I was already a good programmer back then - lazy to no end :D
sylver has joined #ruby
<isomorphismes> pvb: it's clock arithmetic
sinkensabe has quit [Remote host closed the connection]
<isomorphismes> pvb: what time is it 7 hours after 9 o'clock?
Ch0c0late has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gil has joined #ruby
sinkensabe has joined #ruby
<pvb> hmmm, 4 ?
<isomorphismes> pvb: how did you get that
klaut has joined #ruby
<pvb> goof question
<isomorphismes> pvb: you're right
Gil has quit [Remote host closed the connection]
<isomorphismes> pvb: what time is it 17 hours after 9 o'clock?
<apeiros> nice way to explain it
<isomorphismes> tks
jheg has quit [Quit: jheg]
<isomorphismes> by the way pvb once you get this you then know an example of a Monoid (func prog jargon)
<pvb> 2 ?
<isomorphismes> pvb: how did you get 2
ta has quit [Read error: Connection reset by peer]
sylver has quit [Ping timeout: 252 seconds]
<pvb> im not sure
<isomorphismes> >> 17 + 9 % 12; p "@pvb"
ta has joined #ruby
<eval-in> isomorphismes => "@pvb" ... (https://eval.in/162688)
perlsyntax has joined #ruby
<isomorphismes> >> 17 + 9 % 12
<eval-in> isomorphismes => 26 (https://eval.in/162689)
<apeiros> precedence ;-)
<apeiros> >> (17 + 9) % 12
sinkensabe has quit [Ping timeout: 245 seconds]
<eval-in> apeiros => 2 (https://eval.in/162690)
<perlsyntax> Does there a test unit that come with ruby 2.0?
<perlsyntax> For test out ruby script:)
<apeiros> perlsyntax: test/unit, but it's deprecated. use minitest.
<isomorphismes> ya what apeiros said pvb ;)
<pvb> something like 10 ,16, 8, 2 digits numerical systems
<perlsyntax> thank you:)
<pvb> but 12
<apeiros> no
<isomorphismes> EXACTLY
<apeiros> those are different bases
<isomorphismes> well without carrying the ten
<apeiros> the value is limited to a range of 0...12
<pvb> yeah
<isomorphismes> well its very close
<apeiros> yeah, it is related
<perlsyntax> apeiros, I thought they came with one:)
<isomorphismes> if pvb looks at the units digit only of, in let's say if you were converting from 0123456789abcdef .. to 01
<apeiros> perlsyntax: as said, it does, but with a deprecated one.
jarto has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
<perlsyntax> i see
<perlsyntax> Sorry i just start out in ruby;)
pu22l3r has joined #ruby
<apeiros> aw man, why do I work so slowly?
vifino has joined #ruby
<certainty> apeiros: it's just the others working too fast
<isomorphismes> apeiros: because you're on irc the whole time? ;)
<apeiros> certainty: no others around
<pvb> how can be useful modular arithmetica?
<apeiros> isomorphismes: if it wasn't irc, it was dreamhack…
<apeiros> pvb: you've just seen an example - clocks :)
<isomorphismes> pvb: anything that repeats.
<certainty> apeiros: well then it's saturday. It's ok to work slower
<apeiros> certainty: nowaayy!
<isomorphismes> pvb: seasons .. loop conditions that needt o happen every 193rd time..
<apeiros> I want this thing done :)
<apeiros> I switch between projects all the time, *sob*
<apeiros> and now I'm working on a game again
sarkis has joined #ruby
<certainty> well then pull yourself together and speed up!
<apeiros> will probably last another two or three days :D
<pvb> hmm, not alot
<pvb> i prefer usual arithmetica
ta_ has joined #ruby
<certainty> pvb: clocks are one thing. It's also frequently used in cryptography
<pvb> much useful
<isomorphismes> pvb: two very basic shapes are the line and the circle (topologically). so Z (-infty,...,-1,0,1,2,3,...,infty) be the line and Z mod p be a circle
<isomorphismes> pvb: every year is % 365
<apeiros> lots of knowledge is only rarely useful. but since you don't know which knowledge will be useful when… better to have it and recognize it when it is useful.
<apeiros> isomorphismes: noooooo!
<apeiros> leap years
<certainty> pvb: serial number arithmetic is done mod number of bits
<isomorphismes> i know i was thinking that
<isomorphismes> but you know, sort of spoils the point
<apeiros> date always spoils all points :(
<isomorphismes> hahaha
<isomorphismes> too true
<certainty> julian date is just days no? (i'm ignorant about time/date stuff mostly)
monkegjinni has joined #ruby
<apeiros> julian date has leap year too
<certainty> damn
<isomorphismes> >> for (i in 1..99); if (i % 3); p "fizz"; end; if (i % 5); p "buzz"; end; end
<eval-in> isomorphismes => /tmp/execpad-b82acb64cf5e/source-b82acb64cf5e:2: syntax error, unexpected keyword_in, expecting ')' ... (https://eval.in/162700)
<pvb> Okay, it seems that is not entirely useless stuff.
gattuso has quit [Ping timeout: 260 seconds]
<apeiros> julian has every 4 years. gregorian added the 100 and 400 year rules
<apeiros> iirc
ta_ has quit [Read error: Connection reset by peer]
ta has quit [Ping timeout: 264 seconds]
<apeiros> (and adjusted the date for the 1700 years which didn't use that rule)
danshultz has joined #ruby
maximski has quit []
ta has joined #ruby
<apeiros> average julian year: 365.25 days, average gregorian year: 365.2425 days :)
sarkis has quit [Ping timeout: 264 seconds]
xcv has joined #ruby
anaeem1_ has joined #ruby
shredding has quit [Quit: shredding]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
<isomorphismes> well pvb I just wrote that wrong but it would take up too much space anyway if it cleared. Butin the fizzbuzz problem it's entirely interms of modular arithmetic. (fizz every 3, buzz every 5, fizzbuss every 3x5=15). Can't tell me you've never written a loop wanting something like this
monkegjinni has quit [Ping timeout: 244 seconds]
etqqkoiflwhb__ has joined #ruby
<isomorphismes> and this isnt even dealing with international holidays...
<certainty> isomorphismes: now you're claiming fizzbuzz is useful? :p
<isomorphismes> for getting a job certainty ;)
<certainty> hehe
gattuso has joined #ruby
<pvb> haha, i'm listen about fizzzbuzz
aagdbl has joined #ruby
ta has quit [Read error: Connection reset by peer]
ta has joined #ruby
<pvb> And, And I can not remember that I wrote it ever. :)
<pvb> I should try to write it?
etqqkoiflwhb__ has quit [Ping timeout: 272 seconds]
zoraj_ has quit [Remote host closed the connection]
<pvb> isomorphismes, also you joking about Monte Carlo method. What wrong with it?
zoraj has joined #ruby
<isomorphismes> pvb: web.mit.edu/krugman/www/evolute.html
<pvb> oh, it will take some time.
<isomorphismes> pvb: No problem at all, just that running a bunch of experiments doesn't *substitute* for hard-fought wisdom. Eg if your thesis is 150 pages of printouts and charts with half your variables chosen by an algorithm you got from a book -- well you haven't explained anything to your audience
Notte has quit []
jxf has joined #ruby
zoraj has quit [Ping timeout: 255 seconds]
pu22l3r has quit [Remote host closed the connection]
<shevy> try to explain to your audience how a black hole works
<shevy> then show the experiments you did to come to this conclusion
bradhe has joined #ruby
<isomorphismes> pvb: Monte Carlo's give you fopvb: anyway think about it this way. % (modulo) wouldn't be one of the basic arithmetic operators in C if it weren't useful.
sinkensabe has joined #ruby
<pvb> shevy, it's easy, it sucks all like a vacuum cleaner.
<shevy> pvb ok but where to?
abdulsattar has joined #ruby
jamto11 has joined #ruby
<pvb> isomorphismes, thanks for explanations, i will think about it.
<isomorphismes> pvb: haha. just my attitude ;)
<pvb> inside the course
<certainty> i did say before, but today cryptography is probably one of the more important areas. just sayin
bradhe has quit [Ping timeout: 252 seconds]
<apeiros> cryptography could probably live without modulus and just use &
<pvb> Just like a vacuum cleaner sucks inward garbage.
Takle has joined #ruby
<apeiros> that said… I don't do cryptography and just assumed that they usually use mod(n**2). if that's not the case then I'm utterly mistaken :)
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
jamto11 has quit [Ping timeout: 244 seconds]
<isomorphismes> apeiros: what game are you working on?
<apeiros> master of orion alike
<apeiros> (though, using starbase orion as starting point - currently mostly copying that)
<isomorphismes> I thought crypto is about elliptic functions somehow? Dont know anything abou t it either.
<yxhuvud> apeiros: working mod n**2 is unheard of, afaik.
<apeiros> yxhuvud: ?
<yxhuvud> and even if you meant mod 2**n, it is wrong.
kaspergrubbe has joined #ruby
<apeiros> errr, yes. I meant 2**n. what is wrong?
<yxhuvud> at least for RSA and similar. can't remember how aes works.
<apeiros> you mean they don't only use mod 2**n?
lolmaus has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
hiyosi has quit [Ping timeout: 240 seconds]
<yxhuvud> at least RSA work mod p*1, p, q prime.
<yxhuvud> p*q
sepp2k has joined #ruby
lolmaus has joined #ruby
nateberkopec has joined #ruby
<apeiros> ok
<shevy> waaaat
<shevy> didn't you want to work on this game 10 years ago already apeiros :)
<apeiros> shevy: I did!
<apeiros> this time in JS + HTML, not ruby anymore
<pvb> Do I need to know the math, that would be a good programmer?
<pvb> RoR/JS for example
Notte has joined #ruby
<isomorphismes> pvb: No.
nateberkopec has quit [Ping timeout: 240 seconds]
<apeiros> it can help a lot. but in many areas it's mostly optional.
Papipo has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
<Papipo> Hi
<Papipo> anybody knows how can I create a method with dynamic named parameters?
snath has quit [Ping timeout: 264 seconds]
<pvb> Okay. If i want maintenance the linux kernel?
<certainty> yeah
<certainty> you need to know how to calculate the next version
Takle has quit [Remote host closed the connection]
carraroj has joined #ruby
<pvb> What parts of mathematics useful for a programmer?
<certainty> also to count how many times linus has told you to finally learn some math
<isomorphismes> pvb: Just do what you're trying to do -- you'll come up against a wall and then climb it.
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
zoraj has joined #ruby
<certainty> Papipo: can you give the use-case?
phoo1234567 has joined #ruby
<Papipo> I am creating a dynamic class
<pvb> Wow, 22 years Ph.D. Seems he is smart guy.
<Papipo> and I want it to have named parameters
<Papipo> well, actually I think I can do it using class_eval passing a string
GriffinHeart has quit [Remote host closed the connection]
<isomorphismes> pvb: I've heard many, many people say they wish they knew more linear algebra. But you know, if you're writing calls to jQuery every day - u probably aint gonna need it!
<certainty> Papipo: you could pass a hash, no?
<apeiros> Papipo: dynamic *named* parameters sounds like a rather bad idea and unecessary
<Papipo> It's not that bad
<Papipo> I want to do something similar to this https://github.com/tcrayford/Values
<apeiros> right, it's worse :-p
sevenseacat has joined #ruby
sylver has joined #ruby
<Papipo> but using named params
<Papipo> instead of a plain hash
chipotle has joined #ruby
<isomorphismes> pvb: (22yo accepted to phd program, not finished)
<apeiros> use **kwarg in 2.0+ or just arg
<apeiros> names params are just a hash
<Papipo> the thing is to have _required_ params
<Papipo> in the hash
Xaitec has joined #ruby
<Papipo> that's a 2.0 > feat
<Papipo> I think
<pvb> Yes. But after you learn math. You can learn Haskell and do not write more on JS.
<apeiros> yes, required named args is 2.1+
pu22l3r has joined #ruby
<apeiros> you can require the keys in code
roshanavand has joined #ruby
foobarbaz_ has joined #ruby
<apeiros> well
<foobarbaz_> Hi guys, is there a way to set a default in ruby - like there 's in javascript?
<foobarbaz_> function (a) { a = a || 5; ... }
<apeiros> foobarbaz_: def foo(a=default)
kies has quit [Ping timeout: 244 seconds]
<certainty> >> a = nil || 5; b = 1 || 5; [a,b]
<foobarbaz_> Hm, it's more of a default for a session variable though apeiros
<eval-in> certainty => [5, 1] (https://eval.in/162702)
<apeiros> and `a = a || 5` works in ruby too. you can even short it to `a ||= 5`
<isomorphismes> pvb: You should maybe be asking in #javascript and #Haskell forums for these questions ;)
ta has quit [Ping timeout: 240 seconds]
Zai00 has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
<apeiros> foobarbaz_: well, then make a proper example.
<foobarbaz_> session[:count] = session[:count] || 0
<foobarbaz_> session[:count] += 1
<foobarbaz_> Where session is just a ruby map
<apeiros> yes. that works. and there too, you can use ||= 0
<pvb> isomorphismes, oh only accepted. :( I was so happy for him.
sinkensabe has quit [Remote host closed the connection]
<nwkr> blah ||= value
<foobarbaz_> ah
<foobarbaz_> so i could do
ta has joined #ruby
<foobarbaz_> (blah ||= value) += 1
<foobarbaz_> or is that not ruby-eqsue
sylver has quit [Ping timeout: 240 seconds]
<foobarbaz_> esque*
sinkensabe has joined #ruby
lolmaus has quit [Ping timeout: 255 seconds]
<jhass> making that two lines is more common
sinkensabe has quit [Remote host closed the connection]
Takle has joined #ruby
sinkensabe has joined #ruby
<foobarbaz_> session[:counter] ||= 0
<foobarbaz_> session[:counter] += 1
<foobarbaz_> cool
<foobarbaz_> thanks! :)
pu22l3r has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Remote host closed the connection]
<nwkr> for oneliner i would ptobably go for blah = blah ? blah + 1 : 1
Guest50712 has quit [Quit: quit]
<nwkr> but i myself would prefer two liner anyway
<foobarbaz_> Ah, since assignment returns the new value
<foobarbaz_> yeah, was thinking the same :)
<foobarbaz_> Should I feel bad that I kinda like ruby + rails?
<foobarbaz_> Coming from a java/c# background, it doesn't feel right to say that
<foobarbaz_> xD
<foobarbaz_> I'm thinking that it's all going to fall apart once I get to the harder stuff, but it doesn't look like it so far
<shevy> foobarbaz_ is rails ruby?
<nwkr> i have been a java developer for five years
<nwkr> and moved to ruby for good a year ago
<foobarbaz_> shevy: I believe so, correct me if i'm wrong though :)
<shevy> foobarbaz_ is ruby rails?
lolmaus has joined #ruby
<foobarbaz_> No, it's a programming language
<shevy> I am not to correct anyone, I only ask questions
<foobarbaz_> rails is a framework which is written in ruby
<certainty> shevy: equivalence relations are always symmetric :p
digifiv5e has joined #ruby
Ch0c0late has joined #ruby
<foobarbaz_> The first question he asked didn't read as `rails == ruby`
<shevy> I find learning rails harder than learning ruby :\
digifiv5e is now known as Guest57424
<certainty> i'm being pedantic on purpose. :D
<foobarbaz_> shevy: I recommend the book `rails agile web development`
<shevy> I bought it years ago
Guest57424 has quit [Changing host]
Guest57424 has joined #ruby
<shevy> made it to page 76
<shevy> then ripped it apart and threw it away
<pvb> I learn rails and ruby in the same time. Sometimes i tried use rails methods in ruby :(
<foobarbaz_> I've gotten to page 137 in a few hours tbh
<foobarbaz_> it's pretty good
<shevy> you must have a good brain
<foobarbaz_> I wish! :)
<shevy> my brain constantly bugs me "wtf is this shit you are reading"
<sevenseacat> agile web dev with rails is a terrible book
<foobarbaz_> sevenseacat: I found it a lot more indepth than the other stuff I had watched/read tbh
anaeem1_ has quit [Remote host closed the connection]
<nwkr> pvb: once you learn it a bit more then you will know how to embed rails methods into your non rails project. keep learning ;)
<pvb> sevenseacat, really ? i read it right now :(
<apeiros> meh, damit, week-end shopping. *hate*
<shevy> I bought the pickaxe back then too and I liked it (back then; I also no longer have it, I keep only books that I want to or have to read over and over again; in regards to ruby, I store knowledge in a local database so I dont really need books anymore)
<apeiros> why are there always such menial tasks?
<shevy> apeiros buy new pants!
<certainty> apeiros: that's still on my list too :/
<foobarbaz_> It actually went somewhere, making a real application... More so than "Here's how you generate a default website! Now, go forth and claim you know RoR!"
<sevenseacat> !r4ia if you want a book to learn rails
<helpa> Rails 4 in Action - http://manning.com/bigg2 - An excellent book combining Rails and TDD/BDD development. Written by Steve Klabnik, Ryan Bigg, Yehuda Katz
hiyosi has joined #ruby
<apeiros> sevenseacat: eeehehe, the author of helpa isn't biased at all in that ;-p
<certainty> no way
<sevenseacat> ;)
<pvb> nwkr, thanks, I continue.
<shevy> foobarbaz_ a real application ... like ... a webshop?
<foobarbaz_> A 'substantial' application then :)
<certainty> two webshops
<shevy> lol
<shevy> now that's a funny answer
<shevy> but you are right... two must be better than one :)
<foobarbaz_> Something with relations is a lot better example of a platform, than simple CRUD apps
<foobarbaz_> Which is all I kept coming across :(
sandbags has joined #ruby
BizarreCake has quit [Quit: Leaving]
Guest57424 is now known as guyz
<certainty> a system that allows you to plan railways.
<sevenseacat> i think you'll pick up some bad habits with that book, as well as struggle with some of the blatantly obvious bugs in the code
<certainty> personally i think bugs make pretty good food
<certainty> is that meat?
scx_ has joined #ruby
<pvb> wow, Thanks for Rails 4 in Action! i did not know about this book.
scx has quit [Ping timeout: 245 seconds]
<apeiros> so, building queue is the last one left for a working planet screen. next up after that - universe generation :D
<shevy> only noobs make bugs
<shevy> universe generation sounds like The Next Big Thing
hiyosi has quit [Ping timeout: 272 seconds]
sandbags has quit [Remote host closed the connection]
sandbags has joined #ruby
shredding has quit [Quit: shredding]
sandbags0 has joined #ruby
<foobarbaz_> One thing i've found is; All tutorials seem to be broken unless you find out the exact RoR version they were using
joaoh82 has quit [Remote host closed the connection]
<foobarbaz_> It seems like things break between minor releases even?
_5kg has quit [Ping timeout: 272 seconds]
ta has quit [Ping timeout: 240 seconds]
<sevenseacat> things can be very different between minor versions, yes
ta has joined #ruby
<sevenseacat> rails changed a lot between 3.0 and 3.1 for example - it introduced the asset pipeline
<foobarbaz_> That's not the best when you're trying to get started! :P
shredding has joined #ruby
<sevenseacat> so use the same version as in the tutorial
<certainty> pros refer to it as the asspipe
<sevenseacat> they will tell you to do that
dgutierrez1287 has joined #ruby
sandbags0 has quit [Client Quit]
<foobarbaz_> So their asspipe is much improved now?
<certainty> :)
<shevy> their asstest pipelines are fully working again
sandbags has quit [Ping timeout: 252 seconds]
<isomorphismes> >> Math::E ** (Complex(0,1) * Math::PI) + 1
<eval-in> isomorphismes => (0.0+1.2246063538223773e-16i) (https://eval.in/162703)
<isomorphismes> fail
<isomorphismes> i guess this is just the rounding though
<certainty> hmm, pie
<apeiros> e-16 - yes, rounding
<pvb> >> 1+1
<eval-in> pvb => 2 (https://eval.in/162704)
<isomorphismes> >> Complex.polar(1,Math::PI) - Math::E ** (Complex(0,1) * Math::PI)
<eval-in> isomorphismes => (0.0+0.0i) (https://eval.in/162705)
<pvb> wow. sorry. just want to try
<isomorphismes> so we know how they implemented it
<foobarbaz_> I'm trying to remember where i've seen your name from before pvb...
<certainty> >> require 'etc'; Etc.getlogin
<eval-in> certainty => nil (https://eval.in/162706)
<foobarbaz_> Are you in #java a lot maybe?
* foobarbaz_ might be going crazy
ner0x has quit [Quit: Leaving]
<shevy> pvb surely is a video guru
<isomorphismes> >> Complex.polar( 1, 2*Math::PI * 219 )
<eval-in> isomorphismes => (1.0+5.2943652066594904e-14i) (https://eval.in/162707)
aagdbl has quit [Quit: Leaving]
<pvb> foobarbaz_, sorry, i dont think so
<isomorphismes> and changing that last number has essentially random effects on the error
bradhe has joined #ruby
<pvb> I don't know java
shredding has quit [Quit: shredding]
<foobarbaz_> okay :)
danshultz has quit [Read error: Connection reset by peer]
<shevy> java is a succinct programming language
danshultz has joined #ruby
<isomorphismes> >> Complex.polar(1, 2*Math::PI/3) + Complex.polar(1, 4*Math::PI/3) + Complex.polar(1,6*Math::PI/3)
<eval-in> isomorphismes => (-2.220446049250313e-16+8.814563662307151e-17i) (https://eval.in/162708)
zoraj has quit [Remote host closed the connection]
<pvb> I'm a new in irc also. just a few days use it
<isomorphismes> Basically what I'm getting at -- can you do roots of unity filter or any kind of Fourier stuf in ruby?
<certainty> shevy: you mean sucking. common mistake
zoraj has joined #ruby
<isomorphismes> fwiw R doesn't handle this kind of thing well, either.
<apeiros> isomorphismes: given that ruby is turing complete… yes, you can.
<apeiros> how well you can do it - no idea :)
charliesome has joined #ruby
Juxtapositional has quit [Quit: Leaving]
ta has quit [Ping timeout: 272 seconds]
<isomorphismes> ok, fair enough
mfedorov has joined #ruby
<isomorphismes> relatedly: I guess you could write your own class for rationals if you wanted. ?
bradhe has quit [Ping timeout: 255 seconds]
<isomorphismes> just thinking out loud about stuff that should be exact but isn't. Haskell has native classes for rationals which I believe do things exactly.
zoraj has quit [Ping timeout: 240 seconds]
AlexRussia_k has joined #ruby
<certainty> isomorphismes: soure you could
<certainty> sure
<shevy> don't correct your typos man
<shevy> it gives you a proper IRC accent
<certainty> heh
<shevy> soure yhou kould do taht
<shevy> I infer that isomorphismes is a strange person
<shevy> to know R _and_ Haskell
<shevy> that's like... a math person!
<certainty> Haskell doesn't make him weired so R must
<certainty> him or her
lolmaus has quit [Ping timeout: 245 seconds]
<shevy> or it
<shevy> could be anything
<shevy> remember, we are on IRC
<certainty> :D
<pvb> AI ?
<shevy> one day AIs will appear like real humans
<certainty> unlikely, but among the possibilities
kies has joined #ruby
Ch0c0late has quit [Quit: Textual IRC Client: www.textualapp.com]
enebo has joined #ruby
<apeiros> isomorphismes: ruby already has Rationals?
<apeiros> >> Rational(1,2)
heftig has quit [Quit: Quitting]
<eval-in> apeiros => (1/2) (https://eval.in/162717)
<certainty> that reminds me about HN a few days back that linked an article that reported that tha touring test has been past by an AI simulating a 13 year old boy
<certainty> turing
<certainty> damn what's wrong today
<pvb> certainty, I think that Elon Musk will make lt, after Mars colonizing.
<Mon_Ouie> And passed was redefined to mean fooled 1/3 of the people"
<certainty> Mon_Ouie: yeah
sonofflynn has quit [Remote host closed the connection]
<certainty> i thought that this was common practice though.
noop has joined #ruby
<apeiros> Mon_Ouie: passed was also redefined to pretend foreign language to explain bad expressions
kies has quit [Ping timeout: 245 seconds]
danshultz_ has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
danshultz_ is now known as danshultz
kies has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
perlsyntax has quit []
nateberkopec has joined #ruby
ghr has joined #ruby
Zebroid has joined #ruby
joaoh82 has joined #ruby
Guest92065 has joined #ruby
jottr has joined #ruby
Guest92065 is now known as dreamchaser
kies has quit [Ping timeout: 240 seconds]
dreamchaser is now known as Guest37871
Guest37871 has quit [Changing host]
Guest37871 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
senayar has joined #ruby
danshultz has quit [Quit: ZNC - http://znc.in]
strax has joined #ruby
Guest37871 is now known as dreamchaser
etqqkoiflwhb__ has joined #ruby
danshultz has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<banister> Mon_Ouie you've learned about fourier transforms already?
danshultz has quit [Client Quit]
danshultz has joined #ruby
<Mon_Ouie> banister: All our math class was about this semester was Fourier/Laplace/z-transform ;)
<banister> Mon_Ouie cool, what do you think of them?
joaoh82 has quit [Ping timeout: 255 seconds]
<Mon_Ouie> Enough to bother trying to implement them, as seen above. I thought it was pretty fun.
senayar has quit [Ping timeout: 240 seconds]
mostlybadfly has joined #ruby
hermanmunster has joined #ruby
hermanmunster has quit [Read error: No route to host]
hermanmunster has joined #ruby
gnephiak has joined #ruby
lolmaus has joined #ruby
sonofflynn has joined #ruby
Neomex has joined #ruby
Zebroid has quit [Remote host closed the connection]
gruz0[russia] has joined #ruby
lxsameer has quit [Quit: Leaving]
<isomorphismes> apeiros: oh sweet
<isomorphismes> Mon_Ouie: right, I was saying this be unreliable
stantona has joined #ruby
vifino has quit [Quit: Ze Cat now leaves...]
vifino has joined #ruby
<isomorphismes> Mon_Ouie: I remember http://math.stackexchange.com/a/4971 in R didn't work out
<isomorphismes> Mon_Ouie: Another example is try to do http://www.math.harvard.edu/~lurie/papers/thesis.pdf computationally -- I havent been able to yet
fschuindt has joined #ruby
hiyosi has joined #ruby
monkegjinni has joined #ruby
Notte has quit [Remote host closed the connection]
gruz0[russia] has quit [Quit: This computer has gone to sleep]
hiyosi has quit [Ping timeout: 244 seconds]
gattuso has quit [Ping timeout: 260 seconds]
abdulsattar has quit [Ping timeout: 252 seconds]
monkegjinni has quit [Ping timeout: 244 seconds]
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has quit [Remote host closed the connection]
<isomorphismes> >> @w=Math::E ** (2*Complex(0,1)*Math::PI/3); def f(k);1+@w**k+@w**(2*k);end; f(2.8);f(2.9);
<eval-in> isomorphismes => (2.891693058376405-0.6146483338935608i) (https://eval.in/162739)
bradhe has joined #ruby
codeurge has joined #ruby
<pvb> Why do you need all these mathematical things?
<isomorphismes> certainty: did you read Scott Aaronson's article about it www.scottaaronson.com/blog/?p=1858
<isomorphismes> pvb: I'm just kicking the tyres
gattuso has joined #ruby
dgutierrez1287 has quit [Ping timeout: 240 seconds]
<isomorphismes> pvb: for complex numbers, in theory you could use it for angles. But the stuff is clearly stored in rect form which is introducing rounding error
<isomorphismes> pvb: It's the same in R
<certainty> isomorphismes: nope not yet
bradhe has quit [Ping timeout: 272 seconds]
<pvb> I think there are special languages for math stuff.
<isomorphismes> pvb: there are
<isomorphismes> pvb: this is just how I know to test things
<certainty> isomorphismes: i was looking for transcripts of the conversations, thanks. Not very impressive
<isomorphismes> certainty: that's what I thought too. and at the bottom he notes the inventor isn't even trying to crow about it
<isomorphismes> certainty: I guess he even put a beanstalk link to the chatbot (it didn't load for me the other day).
<Mon_Ouie> But what's the problem that makes it impossible to do stuff with rounding errors? As far as I can tell, math-oriented languages use floats to and also have such errors
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
banister_ has joined #ruby
<isomorphismes> Mon_Ouie: not like singular and pari/gp
<isomorphismes> Macaulay2
<isomorphismes> magma
<isomorphismes> gap
<isomorphismes> you're probably thinking like numpy, fortran, fluid stuff .. there i think you're right
St_Marx has quit [Remote host closed the connection]
banister has quit [Ping timeout: 264 seconds]
St_Marx has joined #ruby
benzrf|offline is now known as benzrf
<Mon_Ouie> Yeah, those are the ones I know of. I don't know of many math libraries in Ruby except for what's in core/stdlib. though.
<isomorphismes> en.wikipedia.org/wiki/List_of_computer_algebra_systems
<benzrf> if u wan do math use haskell <- truth
SneakySnake has joined #ruby
SneakySnake has left #ruby ["Leaving"]
Trilient has joined #ruby
SneakySnake has joined #ruby
abdulsattar has joined #ruby
<Trilient> Why doesn't the list command in this script work properly?
DrOwl has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
gnephiak has quit [Ping timeout: 255 seconds]
GriffinHeart has joined #ruby
anaeem1 has joined #ruby
<isomorphismes> benzrf: ...is how I got to this forum (someone mentioned ruby favourably) ;)
nateberkopec has joined #ruby
<atmosx> Trilient: maybe, ou'd like to to use optparser I'm tired and I can't read your code
Eyess has quit [Read error: Connection reset by peer]
<mozzarella> Trilient: I'd be surprised that any command would work properly…
Gil has joined #ruby
<mozzarella> it would probably always run the "new" command
Eyes has joined #ruby
keen________ has quit [Read error: Connection reset by peer]
Papipo has left #ruby [#ruby]
ghr has joined #ruby
<Mon_Ouie> Trilient: You didn't explain in what way it doesn't work
DrOwl has joined #ruby
<Trilient> I wanted to try and get a response before I explained
<mozzarella> basically you're not "casing" against anything
GriffinHeart has quit [Ping timeout: 255 seconds]
<mozzarella> see you must do case command
joaoh82 has joined #ruby
<mozzarella> and then
<mozzarella> when "new"
keen________ has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
nateberkopec has quit [Ping timeout: 240 seconds]
<Trilient> The commands actually work as they are, but I can fix that
senayar has joined #ruby
<Mon_Ouie> mozzarella: What he did is correct
<Mon_Ouie> The way you suggest makes more sense though
<benzrf> isomorphismes: haskell is gr8 for math
anaeem1 has quit [Remote host closed the connection]
<Trilient> The problem is though, when I add/edit a new game to the hash, and then use the "list" command
<Trilient> It doesn't show the updates
<Trilient> It also doesn't give me an error back, and it -looks- like everything worked as it should
mikesplain has joined #ruby
<Trilient> this is my 3rd day of programming, and I've chosen ruby as my first langugae. Be gentle X.x
<yxhuvud> cool!
<benzrf> isomorphismes: u dont need to know category theory to do haskell
<benzrf> ive been doing it for like 2 yrs and im only learning a bit of cat theory now
ghr has quit [Ping timeout: 272 seconds]
<isomorphismes> nice
ponga has quit []
joaoh82 has quit [Ping timeout: 264 seconds]
<benzrf> isomorphismes: but haskell is great for higher level math
<benzrf> i.e. stuff that doesn't revolve around numbers ;)
<benzrf> (number stuff too though)
senayar has quit [Ping timeout: 240 seconds]
<mozzarella> Trilient: you're reassigning games at every iteration of the loop
<benzrf> the other day i figured out how many non-self-intersecting paths of length 2 or more there are through a 3x3 square
<benzrf> using haskell
<benzrf> (i got the wrong answer but that was because of my own error, not haskell's)
boris has joined #ruby
<Trilient> So moving the hash outside of the loop would fix that?
<benzrf> it was much more elegant than how i wouldve done it in ruby let me tell you :3
<mozzarella> Trilient: it should, try it
<Trilient> Oh gawd
bluOxigen has joined #ruby
* Trilient facepalms
<Trilient> I knew it'd be something super obvious
<Trilient> Yes, that fixed it
<yxhuvud> Trilient: some general advice, that doesn't really answer your question but may make it easier to find the problem: 1: tell your editor to indent the file properly. If your editor doesn't know how, get a better one. 2: break down the problem into smaller parts by defining functions. this allow you to focus on only one little part of the whole, which is simpler.
<Trilient> I know how to create and call functions, but for some reason they never work right if I try to use them conventionally
<Trilient> I don't know why
mikesplain has quit [Ping timeout: 255 seconds]
<benzrf> Trilient: in ruby we have no functions
<benzrf> only methods
<Trilient> methods I mean
<benzrf> :p
<Trilient> Sorry I'm still new to this lol
anaeem1_ has joined #ruby
<shevy> Trilient it's always the same in ruby: name_of_object.name_of_method
<shevy> cat.meow
<shevy> dog.bark
<shevy> trilient.leap :out_of_the_window
<yxhuvud> benzrf, : while technically correct, the difference between functions and methods defined at the top level is meaningless here. don't confuse more than necessary.
<certainty> when i learned C++ this was new to me
<benzrf> yxhuvud: i know, i just like being a pedantic dick
<certainty> *bad pun*
AlexRussia_k has quit [Quit: Konversation terminated!Good bye!]
Eyes has quit [Remote host closed the connection]
Eyes has joined #ruby
<Trilient> I've heard ruby methods be called functions before, So I assumed people would have a better idea of what I was talking about if I just said function
gnephiak has joined #ruby
RyanV has joined #ruby
<isomorphismes> benzrf: that's compelling. but I don't feel we shoudl be discussing other languages in #ruby
<Trilient> And then I realized I'm in a room all about ruby
<Trilient> So I should have known better
<Trilient> Lol
<benzrf> isomorphismes: then come to #haskell :-D
<benzrf> isomorphismes: i enjoy ruby for the things that ruby is good at
<benzrf> but maths is not one of them (at least compared to haskell(
<isomorphismes> benzrf: /wi isomorphismes I'm in there with you ;)
<yxhuvud> trilient, after three days of programming, you can't be expected to know anything.
sinkensabe has joined #ruby
SneakySnake has left #ruby ["Leaving"]
tharindu has joined #ruby
<Trilient> I like to learn and feel like I'm part of the "crowd".
<foobarbaz_> Trilient: Functions don't seem to be functions in ruby
<foobarbaz_> I'm new to ruby, but they're weird from what i can tell
<foobarbaz_> Or rather, blocks are weird
gattuso has quit [Ping timeout: 260 seconds]
<foobarbaz_> def succ(n) n + 1 end
Eyes has quit [Remote host closed the connection]
<Trilient> I'm new to programming period, so I don't know how functions work in other languages
<foobarbaz_> [1, 2, 3].map(succ)
<benzrf> foobarbaz_: ruby does not have first class functions
<foobarbaz_> [1, 2, 3].map(&:succ)
<foobarbaz_> I don't have a clue what &: means, but it's weird
<benzrf> foobarbaz_: & allows you to pass an object representing a proc
<foobarbaz_> :(
<benzrf> foobarbaz_: so
<benzrf> foo.bar(&some_proc)
<foobarbaz_> Is it sugar for Proc.new ?
<benzrf> foobarbaz_: if the object is not a proc, it will call to_proc on it
pu22l3r has joined #ruby
<foobarbaz_> Hm
<benzrf> and to_proc on symbols is like this:
<benzrf> :foo.to_proc == proc {|o, *args| o.send :foo, *args}
<benzrf> you can pass succ that way because methods defined at the top level become private methods on every object
<yxhuvud> trilient: you recreate the games hash from scratch whenever someone logs in.
<foobarbaz_> Coming from a js background this confuses me :D
<foobarbaz_> Thanks for explaining, I think it get it now :)
<benzrf> in js functions are just objects that support () after them
<yxhuvud> yes, as opposed to js, ruby doesn't automagically cast stuff unless told how to do it ;)
<benzrf> in ruby methods are always calls, never objects
sinkensabe has quit [Ping timeout: 255 seconds]
gattuso has joined #ruby
<benzrf> unless you create one using .method
<benzrf> >> def succ(n); n + 1; end; [1, 2, 3].map(&self.method(:succ))
<eval-in> benzrf => [2, 3, 4] (https://eval.in/162815)
<benzrf> the & passes the proc-thing as though youd written it out as the method's block
heftig has joined #ruby
<benzrf> sadly, ruby distinguishes between passing a normal arg and passing a block
<benzrf> still better than typing function() before everything and forcing super long parenthesis =3
joaoh82 has joined #ruby
<shevy> hehe
Soliah has joined #ruby
<shevy> benzrf, you used python
<shevy> why don't you like parens suddenly
<benzrf> did i say i liked that part of python?
<benzrf> i use haskell don't i
* certainty likes parens :(
sarkis has joined #ruby
<benzrf> we have EVEN LESS parens
<benzrf> fuck yea
pu22l3r has quit [Ping timeout: 244 seconds]
<Trilient> @ yxhuvud Yeah I figured that. I've updated the code to fix that
<yxhuvud> trilient: one way to detect things like that is to print more when searching for the error. if you call .inspect on the thing you want to print, then it will usually be more readable than simply putsing the object you are interested in.
hiyosi has joined #ruby
BizarreCake has joined #ruby
<Trilient> puts "#{game}: #{score}".inspect like that?
<shevy> foobarbaz_ there is a simple way to remember & - rather than writing: .map {|entry| entry.size } you can write .map(&:size) so in this case it would be significantly shorter; that's how you can remember it
<shevy> imagine if we could even call methods with arguments like that
<shevy> .map(&:my_method(3))
<yxhuvud> trilient: more like puts games.inspect
<benzrf> shevy: theres a thing for that eh
<shevy> .map {|entry| my_method(entry) )
ta has joined #ruby
<yxhuvud> you can also use 'p' instead of puts, that calls inspect automatically
<benzrf> remember when i showed that little snippet that let you do '.map(&:my_method.(3))'
<benzrf> and banister went nuts over it
<shevy> what is that
<shevy> I don't remember anything on IRC btw :( I have like a 2 hours memory
joaoh82 has quit [Ping timeout: 264 seconds]
<Trilient> games.each { |game, score| puts game.inspect + ": " + score.inspect }
<Trilient> Is that right?
<certainty> shevy: about too hours ago you promised me to donate some $ for my new project. Just wanted to remind you
sarkis has quit [Ping timeout: 255 seconds]
<certainty> two,even
<Mon_Ouie> Trilient: inspect is usually to print debugging information, I think you want to_s here
<Mon_Ouie> In which case using "#{game}: #{score}" is a more convenient notation
hiyosi has quit [Ping timeout: 240 seconds]
<shevy> certainty I don't remember that sorry
ta has quit [Read error: Connection reset by peer]
<benzrf> can i have some $ also
<benzrf> ^that's valid haskell syntax
<shevy> certainty don't you get paid in ? actually?
<yxhuvud> Mon_Ouie, : I was trying to instruct how to do print debugging information, but I may have failed at getting the purpose of it across
ta has joined #ruby
<certainty> shevy: yeah i know, that's why i remind you. But you did say so.
<certainty> shevy: in questionmarks?
<certainty> no i don't think so
<shevy> hey
<Mon_Ouie> yxhuvud: Oh, I had only seen his question, not what you said above
<shevy> I can read it just fine
<Trilient> Sorry for not properly understanding
<yxhuvud> don't be sorry, it is I that should be better at explaining.
<certainty> shevy: yeah because you use that newish utf-8 thing, no?
<shevy> now you both are sorry
<shevy> certainty nope, I am utf free since always!
<certainty> strange
moritzs has quit [Ping timeout: 264 seconds]
moritzschaefer has quit [Ping timeout: 264 seconds]
<certainty> me too on this box
<shevy> \o/
<certainty> but i assume you meant euros
<shevy> of course, I wrote ? after all
<certainty> 16:42 < shevy> of course, I wrote ? after all
<Trilient> How would I go about saving the information within this script into a file so it's called everytime it loads up, and the information is saved
Eyes has joined #ruby
<shevy> no see <shevy> of course, I wrote ? after all
<Mon_Ouie> Hah
<certainty> :D
<Trilient> It'd be useful it if didn't reload from scratch everytime it opened
Eyes has quit [Remote host closed the connection]
<shevy> btw that reminds me, what do you guys use for making a screenshot + uploading it somewhere?
<benzrf> shevy: a custom script :^)
<shevy> written in a normal language or in haskell?
<certainty> i usually upload my screenshots to /dev/null
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mozzarella> I use a gnome shell plugin
Eyes has joined #ruby
<certainty> but seriously i usually use gimp to take the screenshot
<mozzarella> it's fast
<shevy> wow
<certainty> clouds are evil
<benzrf> shevy: shell
<shevy> that's some colour overload you got there mozzarella
<benzrf> and python
<certainty> too much rain
sungai_keruh has joined #ruby
<benzrf> i made it back when python was my #1 lang
<sungai_keruh> hi
<shevy> hmm
<shevy> hi sungai_kangaroo
RyanV has quit [Quit: Computer has gone to sleep.]
<yxhuvud> Trilient: there is a File class you can use. some relevant methods to read up on are open, read, write, close.
<sungai_keruh> im hi shevy
<benzrf> mozzarella: irssi bros
dgutierrez1287 has joined #ruby
<benzrf> wait
<benzrf> is that irssi
<mozzarella> it's weechat ;|
<benzrf> haha
<benzrf> terminal + status bar tricked me
<certainty> looks like irssi
<benzrf> certainty: at a glance, perhaps
<benzrf> my irssi looks like this (1 sec)
<Trilient> yxhuvud: I did read up on the file class, but I don't know much about classes or how they work, and wasn't sure how to go about implementing it into this
freerobby has joined #ruby
<benzrf> [im on a craptop without my script]
Xaitec has quit [Remote host closed the connection]
Vivekananda has joined #ruby
<isomorphismes> so what's the advantage of [1,2,3].map(&:succ) over [1,2,3].map{|x|x+1} ?
<certainty> benzrf: i see +Z, nice :). I'm on classic theme http://lisp-unleashed.de/downloads/screen.png
<benzrf> +Z?
<benzrf> oh is that the znc mode
MrDoctor has joined #ruby
<certainty> isomorphismes: the former is less verbose
<certainty> benzrf: no that's an SSL connection
<benzrf> ah
Gil has quit [Remote host closed the connection]
<isomorphismes> cool
<benzrf> i switched to ssl so that i wouldnt have to keep my password in my config :p
<certainty> :()
RyanV has joined #ruby
Gil has joined #ruby
codeurge has joined #ruby
<benzrf> znc allows key-based auth when using ssl
<benzrf> former to that i had to save my pass in the connect command in my config
<benzrf> Trilient: protip: instead of '{:foo => bar}', write '{foo: bar}'
<certainty> nice. Especially when you connect from some shell account
<benzrf> lovely sugar
<benzrf> certainty: shell acc?
MrDoctor has quit [Remote host closed the connection]
<benzrf> Trilient: btw, use 'while login', not 'while login == true'
<certainty> benzrf: there are services that provide shells. There you can ssh into and have a screen/tmux session that runs irssi
<benzrf> ah
<certainty> that's the way i do it
<benzrf> i dont do that
<benzrf> i just start irssi from my laptop when i want it
newUser1234 has joined #ruby
<benzrf> what's the point in leaving it running when you have a bouncer?
<benzrf> :3
klaut has quit [Remote host closed the connection]
blueOxigen has joined #ruby
noop has quit [Ping timeout: 240 seconds]
<certainty> benzrf: well then what's the advantage of using znc? i suspect your private key is on that box too?
noop has joined #ruby
<certainty> benzrf: i don't have a bouncer :)
Takle has quit [Remote host closed the connection]
Gil has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 255 seconds]
<Trilient> thanks benzrf, cleaned it up based on your input :)
<benzrf> Trilient: no prob!
<benzrf> certainty: i run ZNC on my VPS
<certainty> znc is a bouncer?
<certainty> ok now it makes sense :)
Hanmac1 is now known as Hanmac
axl_ has joined #ruby
bbloom has joined #ruby
NukePuppy has joined #ruby
axl_ has quit [Client Quit]
<Trilient> benzrf, do you have any suggestions on how to store the information in the code into a file so that way it doesn't reset everytime I open it?
<certainty> yay i've setup ssh with my gpg smartcard. Next up, making it work with pam
<benzrf> Trilient: depending on what types of data you're storing, you could dump/load to/from json
<Trilient> It'd be The information in the hashes
<benzrf> Trilient: if you only have numbers, hashes, arrays, and strings in your structure
<benzrf> then you should be good with json
<benzrf> hmm
<benzrf> what's the ruby-native serializer called again?
<benzrf> something starting with m?
<certainty> like ted's best friend
DrOwl has quit [Ping timeout: 240 seconds]
<benzrf> g2g
benzrf is now known as benzrf|offline
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blueOxigen has quit []
DouweM has quit [Ping timeout: 272 seconds]
relix has joined #ruby
bogeyd6 has joined #ruby
gnephiak has quit [Quit: Konversation terminated!]
DrOwl has joined #ruby
Eyes has quit [Remote host closed the connection]
tharindu has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
Eyes has joined #ruby
Eyes has quit [Remote host closed the connection]
Eyes has joined #ruby
mikesplain has joined #ruby
sungai_keruh has quit [Ping timeout: 255 seconds]
Zebroid has joined #ruby
ghr has joined #ruby
bogeyd6 has quit [Read error: Connection reset by peer]
nateberkopec has quit [Ping timeout: 240 seconds]
Notte has joined #ruby
senayar has joined #ruby
Eyes has quit [Remote host closed the connection]
<Hanmac> certainty: then i will commit another native serializer and call him Barney ;P
Eyes has joined #ruby
diegoviola has joined #ruby
garndt has joined #ruby
Vivekananda has quit [Quit: Ex-Chat]
mary5030 has joined #ruby
Vivekananda has joined #ruby
NukePuppy has quit [Ping timeout: 244 seconds]
mikesplain has quit [Ping timeout: 252 seconds]
blackgoat_ has quit [Quit: Leaving...]
Vivekananda has quit [Read error: Connection reset by peer]
Vivekananda has joined #ruby
timonv has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
Eyes is now known as Eyess
MrDoctor has joined #ruby
senayar has quit [Ping timeout: 244 seconds]
mrnugget has joined #ruby
MrDoctor has quit [Remote host closed the connection]
<certainty> Hanmac: i'd support that! :D
lw has joined #ruby
Beoran__ has quit [Ping timeout: 264 seconds]
NukePuppy has joined #ruby
<certainty> hmme there is no gopher plugin for jekyll :(
<ver> sounds like a feature
lw has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
mrnugget has quit [Quit: mrnugget]
pvb has quit [Quit: Leaving]
chipotle has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
xcv has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
nateberkopec has joined #ruby
ikaros has quit [Quit: Ex-Chat]
blackgoat has quit [Ping timeout: 255 seconds]
Darryl has joined #ruby
ahofmann has joined #ruby
Beoran__ has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
joaoh82 has joined #ruby
sarkis has joined #ruby
IcyDragon has joined #ruby
Astralum has joined #ruby
hiyosi has joined #ruby
monkegjinni has joined #ruby
alexju has joined #ruby
xcv has joined #ruby
joaoh82 has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
<apeiros> yay, not the best generator, but galaxy generator is built and works :D
hiyosi has quit [Ping timeout: 245 seconds]
maximski has quit [Max SendQ exceeded]
monkegjinni has quit [Ping timeout: 240 seconds]
alexju has quit [Remote host closed the connection]
IcyDragon is now known as IceDragon
<IceDragon> apeiros: wassup?
<apeiros> working (once again) on a master of orion clone :D
maximski has joined #ruby
MrDoctor has joined #ruby
stantona has quit [Remote host closed the connection]
diegovio1 has joined #ruby
maximski has quit [Max SendQ exceeded]
diegoviola is now known as Guest2878
diegovio1 is now known as diegoviola
<apeiros> I'm probably at ~20% of a working single player without enemies
Guest2878 has quit [Ping timeout: 245 seconds]
<apeiros> and without any graphics to speak of ^^
mijicd has joined #ruby
maximski has joined #ruby
maximski has quit [Max SendQ exceeded]
stantona has joined #ruby
ta_ has joined #ruby
Vivekananda has quit [Quit: Ex-Chat]
maximski has joined #ruby
Vivekananda has joined #ruby
maximski has quit [Max SendQ exceeded]
sinkensabe has joined #ruby
maximski has joined #ruby
sinkensabe has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 264 seconds]
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 255 seconds]
maximski has quit [Max SendQ exceeded]
IceDragon has joined #ruby
testcore has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 252 seconds]
testcore has joined #ruby
maximski has joined #ruby
Vivekananda has quit [Client Quit]
Vivekananda has joined #ruby
McFreely has joined #ruby
maximski has quit [Max SendQ exceeded]
sevenseacat has quit [Quit: Leaving.]
chipotle has joined #ruby
maximski has joined #ruby
axilla has quit [Ping timeout: 276 seconds]
wald0 has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
SCommette has joined #ruby
NukePuppy has quit [Ping timeout: 272 seconds]
eam has quit [Ping timeout: 244 seconds]
maximski has quit [Max SendQ exceeded]
MrDoctor has quit [Remote host closed the connection]
wald0 has joined #ruby
sepp2k has quit [Quit: Leaving.]
lw has joined #ruby
MrDoctor has joined #ruby
eam has joined #ruby
maximski has joined #ruby
stantona has quit [Remote host closed the connection]
sepp2k has joined #ruby
maximski has quit [Max SendQ exceeded]
maximski has joined #ruby
GriffinHeart has joined #ruby
newUser1234 has quit [Read error: Connection reset by peer]
chipotle has quit [Read error: Connection reset by peer]
nemesit|znc has quit [Ping timeout: 245 seconds]
maximski has quit [Max SendQ exceeded]
newUser1234 has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
maximski has joined #ruby
jamto11 has joined #ruby
danijoo has joined #ruby
pvb has joined #ruby
maximski has quit [Max SendQ exceeded]
gbchaosmaster has joined #ruby
Neomex has quit [Ping timeout: 272 seconds]
MrDoctor has quit [Ping timeout: 244 seconds]
Neomex has joined #ruby
maximski has joined #ruby
nemesit|znc has joined #ruby
maximski has quit [Max SendQ exceeded]
aantix has joined #ruby
IceDragon has quit [Ping timeout: 264 seconds]
maximski has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
maximski has quit [Max SendQ exceeded]
mehlah has quit [Quit: Leaving...]
maximski has joined #ruby
roshanavand has joined #ruby
wald0 has quit [Quit: Lost terminal]
MrDoctor has joined #ruby
Astral_ has joined #ruby
jamto11 has quit [Ping timeout: 244 seconds]
McFreely has quit [Quit: Lingo - http://lingoirc.com]
stantona has joined #ruby
stantona has quit [Remote host closed the connection]
MrDoctor has quit [Remote host closed the connection]
Paul_McFreely has joined #ruby
mary5030 has quit [Remote host closed the connection]
Fraeon has quit [Read error: Connection reset by peer]
Astralum has quit [Ping timeout: 264 seconds]
amargherio has joined #ruby
axilla has joined #ruby
jameswlane has joined #ruby
<shevy> well
<shevy> people can be recruited
<apeiros> sure. but given how quickly I change projects, I won't do that before I have at least a minimally playable version
<shevy> about 3 years ago we did that for parpg (which was however stopped); but all the graphics were done from scratch, by different people http://blog.parpg.net/
aantix has quit [Quit: aantix]
freerobby has quit [Quit: Leaving.]
ta_ has quit [Remote host closed the connection]
<shevy> one of the worst thing for parpg was how quickly people come and go (as in leave, because they lost interest or lack time again); I neverb efore saw such a high turnover rate
aantix has joined #ruby
ta has joined #ruby
<shevy> hardest thing was finding 3D modellers :(
narendraj9 has joined #ruby
bbloom has quit [Quit: Computer has gone to sleep.]
bmurt has joined #ruby
ahofmann has quit [Quit: Computer has gone to sleep.]
_2easy has joined #ruby
pvb has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
RyanV has quit [Quit: Lingo - http://www.lingoirc.com]
mgberlin has joined #ruby
j75 has joined #ruby
BizarreCake has quit [Quit: Leaving]
Kricir has joined #ruby
chipotle has joined #ruby
Kaozr has quit [Remote host closed the connection]
Takle has quit [Read error: Connection reset by peer]
chipotle has quit [Read error: Connection reset by peer]
Kaozr has joined #ruby
nateberkopec has quit [Quit: Leaving...]
chipotle has joined #ruby
timonv has quit [Remote host closed the connection]
tkuchiki has quit [Remote host closed the connection]
Takle has joined #ruby
Notte has quit [Remote host closed the connection]
chipotle has quit [Read error: Connection reset by peer]
IceDragon has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
chipotle has joined #ruby
pvb has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
Soliah has quit [Quit: Soliah]
bradhe has joined #ruby
lolmaus has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
axl_ has joined #ruby
ta_ has joined #ruby
cafhacker has joined #ruby
Zebroid has quit [Remote host closed the connection]
Bumptious has quit [Ping timeout: 264 seconds]
axl_ has quit [Client Quit]
kies has joined #ruby
kies has left #ruby [#ruby]
ta_ has quit [Read error: Connection reset by peer]
Notte has joined #ruby
ta has quit [Ping timeout: 244 seconds]
bradhe has quit [Ping timeout: 240 seconds]
maximski has quit [Read error: Connection reset by peer]
maximski has joined #ruby
carraroj has joined #ruby
ta has joined #ruby
mary5030 has joined #ruby
ahofmann has joined #ruby
Takle has quit [Remote host closed the connection]
chipotle has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
chipotle has joined #ruby
axl_ has quit [Client Quit]
scx_ is now known as scx
ahofmann has quit [Client Quit]
chipotle has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
lkba has joined #ruby
Rahul_Roy has joined #ruby
hiyosi has joined #ruby
chipotle has joined #ruby
apeiros has quit []
arrubin has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
m8 has joined #ruby
lolmaus has joined #ruby
chipotle has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
chipotle has quit [Read error: Connection reset by peer]
hiyosi has quit [Ping timeout: 255 seconds]
bmurt has quit []
maximski has quit []
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Kricir has quit [Remote host closed the connection]
Astral__ has joined #ruby
ahofmann has joined #ruby
routes has joined #ruby
nateberkopec has joined #ruby
brunops has joined #ruby
tkuchiki has joined #ruby
sinkensabe has joined #ruby
drowl_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Kricir has joined #ruby
Astral_ has quit [Ping timeout: 264 seconds]
ahofmann has quit [Client Quit]
Astral__ has quit [Read error: Connection reset by peer]
Notte has quit [Ping timeout: 252 seconds]
Astralum has joined #ruby
timonv has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
Channel6 has joined #ruby
mgberlin has quit [Remote host closed the connection]
DrOwl has quit [*.net *.split]
Olipro has quit [*.net *.split]
drowl_ is now known as DrOwl
iamayam has quit [Ping timeout: 252 seconds]
wallerdev has joined #ruby
freggles has quit [Remote host closed the connection]
gruz0[russia] has joined #ruby
Trilient has quit []
LadyRainicorn has joined #ruby
xcesariox has joined #ruby
Notte has joined #ruby
jheg has joined #ruby
lw has quit [Quit: s]
lw has joined #ruby
mfedorov has quit [Remote host closed the connection]
lw has quit [Max SendQ exceeded]
lw has joined #ruby
snapcase has quit [Quit: leaving]
Olipro has joined #ruby
mgberlin has joined #ruby
routes has quit [Ping timeout: 252 seconds]
Paul_McFreely has quit [Quit: Computer has gone to sleep.]
maestrojed has joined #ruby
Paul_McFreely has joined #ruby
MrDoctor has joined #ruby
senayar has joined #ruby
lw has quit [Client Quit]
cafhacker has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
sski has joined #ruby
ahofmann has joined #ruby
mikesplain has joined #ruby
anaeem1_ has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
senayar has quit [Ping timeout: 245 seconds]
Takle has joined #ruby
bradhe has joined #ruby
MrDoctor has quit [Remote host closed the connection]
anaeem___ has joined #ruby
ahofmann has quit [Client Quit]
mikesplain has quit [Ping timeout: 255 seconds]
SCommette has quit [Quit: SCommette]
anaeem1_ has quit [Ping timeout: 255 seconds]
ahofmann has joined #ruby
Notte has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
bradhe has quit [Ping timeout: 240 seconds]
centrx has joined #ruby
timonv has quit [Remote host closed the connection]
havenwood has joined #ruby
maestrojed has quit [Quit: Computer has gone to sleep.]
Takle has quit [Remote host closed the connection]
moritzs has joined #ruby
moritzschaefer has joined #ruby
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
mary5030 has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
ahofmann has quit [Quit: Computer has gone to sleep.]
maroloccio has quit [Quit: WeeChat 0.4.3]
hiyosi has joined #ruby
kaspergrubbe has joined #ruby
moritzschaefer has quit [Ping timeout: 264 seconds]
moritzs has quit [Ping timeout: 264 seconds]
MrDoctor has joined #ruby
joaoh82 has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
joaoh82 has quit [Read error: Connection reset by peer]
monkegjinni has joined #ruby
joaoh82 has joined #ruby
nateberkopec has joined #ruby
combusean has joined #ruby
aantix has quit [Quit: aantix]
sski has quit [Read error: Connection reset by peer]
sski_ has joined #ruby
Takle has joined #ruby
monkegjinni has quit [Ping timeout: 245 seconds]
joaoh82 has quit [Ping timeout: 240 seconds]
joaoh82 has joined #ruby
Astralum has quit [Read error: No route to host]
GriffinHeart has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
nateberkopec has quit [Quit: Leaving...]
dgutierrez1287 has quit [Ping timeout: 244 seconds]
maestrojed has joined #ruby
jarto has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
Takle has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 240 seconds]
combusean has quit [Quit: Leaving.]
Gil has joined #ruby
diegoviola has joined #ruby
kireevco has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
dvabr has joined #ruby
combusean has joined #ruby
Gil has quit [Remote host closed the connection]
kaspergr_ has joined #ruby
Gil has joined #ruby
bmurt has joined #ruby
aspires has joined #ruby
Zai00 has joined #ruby
kaspergrubbe has quit [Ping timeout: 255 seconds]
MatthewsFace has joined #ruby
Gil has quit [Ping timeout: 252 seconds]
jamto11 has joined #ruby
bmurt has quit [Ping timeout: 272 seconds]
jamto11 has quit [Ping timeout: 240 seconds]
MrDoctor has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
gruz0[russia] has quit [Quit: Leaving]
maestrojed has quit [Quit: Computer has gone to sleep.]
Deejay_ has joined #ruby
MrDoctor has joined #ruby
saarinen has joined #ruby
fschuindt has quit [Quit: Textual IRC Client: www.textualapp.com]
maestrojed has joined #ruby
maestrojed has quit [Client Quit]
MrDoctor has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
MatthewsFace has quit [Quit: This computer has gone to sleep]
mercwithamouth has joined #ruby
aspires has quit []
shiggityjoe has joined #ruby
aspires has joined #ruby
<shiggityjoe> howdy all
senayar has joined #ruby
<shiggityjoe> so ive got a question about eventmachine
ghr has joined #ruby
<shiggityjoe> let’s say I’m using an array as a queue right now to and then processing it in an EM reactor.
<shiggityjoe> Would it be better to use an actual Queue?
<shiggityjoe> or is there a different data structure better suited for this than a simple array?
<shiggityjoe> Oh man, does EM have it’s own Queue? just found this Class: EventMachine::Queue
MatthewsFace has joined #ruby
cocotton has joined #ruby
Kricir has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
SCommette has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
havenwood has joined #ruby
cocotton has quit [Remote host closed the connection]
grieg has joined #ruby
mgberlin has quit [Remote host closed the connection]
mgberlin has joined #ruby
exgf_z_o_m_n has joined #ruby
benzrf|offline is now known as benzrf
aantix has joined #ruby
exgf_z_o_m has quit [Ping timeout: 264 seconds]
djr has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
nateberkopec has quit [Quit: Leaving...]
MatthewsFace has quit [Quit: This computer has gone to sleep]
jottr_ has joined #ruby
kaspergrubbe has joined #ruby
datafirm has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
blackgoat has joined #ruby
kaspergr_ has quit [Ping timeout: 264 seconds]
<toretore> shiggityjoe: as far as thread safety goes, you don't need a Queue unless you're using threads
<shiggityjoe> yeah that’s what I’m reading
<toretore> if all the work is being done on the reactor thread, a simple array will suffice
<shiggityjoe> and looks like doing the whole messaging rabbitmq type of thing is only nesc for multiple processes, which I’m not doing
<shiggityjoe> Thanks
LadyRainicorn has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
MrDoctor has joined #ruby
fold has joined #ruby
Paul_McFreely has quit [Quit: Computer has gone to sleep.]
Paul_McFreely has joined #ruby
larissa has joined #ruby
iamayam has joined #ruby
St_Marx has joined #ruby
Xeago has quit [Remote host closed the connection]
papercode has joined #ruby
Neomex has quit [Quit: Leaving]
workmad3 has joined #ruby
joaoh82 has quit [Remote host closed the connection]
dgutierrez1287 has joined #ruby
roshanavand has quit [Quit: Leaving]
gondalier has joined #ruby
m8 has quit [Quit: Sto andando via]
Takle has quit [Ping timeout: 252 seconds]
nateberkopec has joined #ruby
LadyRainicorn has joined #ruby
Zubin has joined #ruby
MZAWeb has joined #ruby
MrDoctor has quit [Remote host closed the connection]
MZAWeb has quit [Client Quit]
gattuso has quit [Ping timeout: 260 seconds]
gruz0[russia] has joined #ruby
Fraeon has joined #ruby
ahofmann has joined #ruby
shiggityjoe has quit [Quit: shiggityjoe]
abdulsattar has quit [Ping timeout: 240 seconds]
ta has quit [Remote host closed the connection]
gattuso has joined #ruby
aantix has quit [Quit: aantix]
combusean has quit [Read error: Connection reset by peer]
kies has joined #ruby
timonv has joined #ruby
<shevy> hmm
<shevy> am I the only one to find gem install rather slow?
saarinen has quit [Quit: saarinen]
<mozzarella> depends on the gems
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
aspires has quit []
<centrx> shevy, It's usually the doc generation, which you can disable
happytux has joined #ruby
<happytux> hi
aspires has joined #ruby
narendraj9 has quit [Quit: Connection closed for inactivity]
combusean has joined #ruby
senayar has joined #ruby
enebo has quit [Quit: enebo]
Takle has joined #ruby
ghr has joined #ruby
joaoh82 has joined #ruby
<mozzarella> centrx: man, how do I disable that
Deejay_ has quit [Quit: Computer has gone to sleep.]
<mozzarella> I never use it anyway
<happytux> any rspec people here?
<jhass> don't do meta questions, just ask away
<happytux> I want to check how many tests were tested by rspec in at_exit {
abdulsattar has joined #ruby
sepp2k has joined #ruby
senayar has quit [Ping timeout: 245 seconds]
<shevy> perhaps there are no rspec people here!
Mon_Ouie has quit [Ping timeout: 240 seconds]
NukePuppy has joined #ruby
boris has quit [Remote host closed the connection]
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
ghr has quit [Ping timeout: 252 seconds]
joaoh82 has quit [Ping timeout: 245 seconds]
mijicd has quit [Remote host closed the connection]
Shidash has joined #ruby
Mon_Ouie has joined #ruby
vinleod has joined #ruby
SCommette has quit [Quit: SCommette]
dvabr has quit [Ping timeout: 264 seconds]
nateberkopec has quit [Quit: Leaving...]
dvabr has joined #ruby
<banister_> Mon_Ouie 'alut
Takle has quit [Ping timeout: 255 seconds]
<happytux> yesterday, I wrote 'Bon nuit.', however, right would be 'Bonne nuit.'.
zly has quit [Read error: Connection reset by peer]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stantona has joined #ruby
codecop has joined #ruby
pu22l3r has joined #ruby
nffff has joined #ruby
<Hanmac> havenwood: DoctorWho or AdventureTime gewatcht?
gimpygoo has quit [Ping timeout: 240 seconds]
jpierre03 has quit [Read error: Connection reset by peer]
GriffinHeart has joined #ruby
jpierre03 has joined #ruby
<Hanmac> hm outside its smelling after petrichor ...
pu22l3r has quit [Ping timeout: 272 seconds]
<happytux> Hanmac: mulch smells nice
robbyoconnor has quit [Excess Flood]
<benzrf> adventure time !!
stantona has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
robbyoconnor has joined #ruby
<benzrf> cmon grab yo friends
<benzrf> well go to very
<benzrf> distant lands
<Hanmac> petrichor is defined as "the smell of dust after rain" ... while i think the "the smell of air literally before rain" is also nice
<Hanmac> benzrf: MY leg is MATH, is your leg math too? ;P
sinkensabe has joined #ruby
NukePuppy has quit [Ping timeout: 244 seconds]
<Hanmac> hm i should print that question on a tShirt ...
<benzrf> your leg is math more like my brain is monadic
kireevco has quit [Quit: Leaving.]
monkegjinni has joined #ruby
GriffinHeart has quit [Ping timeout: 255 seconds]
jottr_ is now known as jottr
<Hanmac> benzrf: another series for you, did you try to watch GravityFalls?
<benzrf> of course i did!
<benzrf> did you know that neil cicierega wrote an entry for the theme song but it lost
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
KTMBoi88 has joined #ruby
Deejay_ has joined #ruby
shiggityjoe has joined #ruby
monkegjinni has quit [Ping timeout: 255 seconds]
<Hanmac> benzrf: nope i did not yet, but now my HDD knows ;P whats your opion about the last episode?
<benzrf> spoopy
binaryhat has joined #ruby
binaryhat has quit [Read error: Connection reset by peer]
ahofmann has quit [Quit: Computer has gone to sleep.]
<Hanmac> benzrf: i mean that kind of "Stargate" was wtf ... did you know it was build to travel between the multiverse and meet girls? ;D
ahofmann has joined #ruby
Deejay_ has quit [Client Quit]
Arkaniad has joined #ruby
kirun has quit [Remote host closed the connection]
anaeem___ has quit [Remote host closed the connection]
<benzrf> creppy
decoponio has quit [Quit: Leaving...]
Xeago has joined #ruby
Zubin has quit [Quit: Leaving]
<Hanmac> benzrf: on of the best chars in GravityFalls is BillCipher ... and i think he is getting a main role in season2 ... same as for Stans possible twin brother ...
nateberkopec has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
<benzrf> too spoopy to live, too creppy to die
Hobogrammer has joined #ruby
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
SCommette has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
kazi has joined #ruby
<Hanmac> benzrf: some episodes of GravityFalls feels like they are wrote them while they where on LSD ... like Mables "Kitten for Fists" ;P ... or they watched one episode of AT ... thats similar to using LSD ...
toastynerd has quit [Remote host closed the connection]
jamto11 has joined #ruby
bradhe has joined #ruby
Darryl has quit [Quit: Connection closed for inactivity]
<happytux> Hm, have they all replaced Ruby with NodeJS or did this channel became an offtopic one ;)
toastynerd has joined #ruby
<RubyPanther> happytux: Node is a framework, Ruby is a language
maletor has joined #ruby
<happytux> RubyPanther: It was a joke, nothing of it meant to be serious. :)
<RubyPanther> happytux: Better jokes please, thank you.
toastynerd has quit [Read error: No route to host]
larissa has quit [Quit: Leaving]
kirun has joined #ruby
toastynerd has joined #ruby
amargherio has quit [Ping timeout: 252 seconds]
ta has joined #ruby
<benzrf> happytux: ignore RubyPanther, he's constantly full of shit
<shevy> lol
jamto11 has quit [Ping timeout: 245 seconds]
* happytux was trying to start a flame war.
bradhe has quit [Ping timeout: 252 seconds]
<RubyPanther> benzrf: And you statement was full of what, kittens and ponies?"
<benzrf> ;)
kireevco has joined #ruby
<happytux> Full of unicorns.
kazi has left #ruby ["Leaving"]
amargherio has joined #ruby
<shevy> benzrf is young
<shevy> and foolish
<benzrf> more like YOURE foolish (oh snap)
<shevy> youre? what is youre... is that like yoghurt?
<benzrf> yoghurt is delishis
<shevy> kinda of depends
<shevy> if it has real fruits then yeah
<shevy> there may also be some... raw yoghurt? how do you call them... they are white, and taste very bitter, but if you pour sugar over them it's really great
<Hanmac> shevy thankyou now i have that image of "YOUTH" inside my head (try google it with Naruto)
<shevy> some turkish kefir-like yoghurts
<csmrfx> only the raw yoghurt is yoghurt
<shevy> csmrfx we may not add strawberries?
maletor has quit [Ping timeout: 240 seconds]
<csmrfx> the by-products of dairy industry that gets a "yoghurt" label are horrendous, usually
Rojo has quit [Ping timeout: 272 seconds]
<csmrfx> shevy: please do, and natural blueberries
<shevy> yeah
<csmrfx> you will live to 120
<shevy> damn
<shevy> what shall I do with all that time
<shevy> why do you punish me so much
<shevy> why do you hate me csmrfx :(
<csmrfx> make a ruby simulation of Newark?
codezomb has joined #ruby
<shevy> I wonder if I would still use ruby if I am age 120
<shevy> I always said ruby lacks something like squeak VM
<csmrfx> consider the eleet coding skills after the first 100 years of coding?
jameswlane has joined #ruby
Paul_McFreely has quit [Quit: Lingo - http://lingoirc.com]
<csmrfx> and yeah, I think visual symbolic coding is going to come soon
Bosox20051 has joined #ruby
senayar has joined #ruby
maletor has joined #ruby
<RubyPanther> shevy: I think youre is like a levée for nerds
marr has joined #ruby
kireevco has quit [Quit: Leaving.]
relix has joined #ruby
<csmrfx> squeak was not so nice with a mouse, but perhaps a touch screen version would really make it happen
kireevco has joined #ruby
ghr has joined #ruby
kies has quit [Ping timeout: 245 seconds]
joaoh82 has joined #ruby
kireevco has quit [Client Quit]
KTMBoi88 has quit [Ping timeout: 272 seconds]
hamakn has quit [Remote host closed the connection]
<RubyPanther> csmrfx: How is "high level programming" using "source code" not already "visual symbolic coding?"
hamakn has joined #ruby
<RubyPanther> There are already perverts who use flow charts to generate their code
Photism_ has quit [Quit: Leaving]
kies has joined #ruby
bbloom has joined #ruby
senayar has quit [Ping timeout: 255 seconds]
kireevco has joined #ruby
kireevco has quit [Client Quit]
mikepack has joined #ruby
hamakn has quit [Remote host closed the connection]
<csmrfx> RubyPanther: you are not thinking outside the box
hamakn has joined #ruby
<RubyPanther> csmrfx: Maybe I can see a bigger box
mikepack has quit [Read error: Connection reset by peer]
mikepack has joined #ruby
<csmrfx> RubyPanther: the correct question is: How can vizualization boost logic generation or debugging?
ghr has quit [Ping timeout: 255 seconds]
<RubyPanther> If your words only describe what we already have, how can you express what you're hoping to see in the future?
joaoh82 has quit [Ping timeout: 240 seconds]
everett has quit [Ping timeout: 240 seconds]
<RubyPanther> csmrfx: Well, "how" comes a lot of loading!
datafirm has quit [Quit: Computer has gone to sleep.]
<csmrfx> being prisoner in a semantic world is a horrible thing!
<RubyPanther> if you ask "how" it means you're already claiming it is a goal
<csmrfx> because as you know, words are ambiguous
datafirm has joined #ruby
<RubyPanther> I think the better first question is "Does vizualization boost logic generation or debugging?"
<RubyPanther> So far, yes! That's why we do it...
everett has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
<RubyPanther> To the extent that you mean things that are not being used, those are the things that are not yet found to boost logic generation or debugging.
lw has joined #ruby
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<csmrfx> well I have no such faith in efficiency of the universe
<RubyPanther> Hanmac: Good example! So far most people agree it is more valuable to create visualizations of regex than to actually build the state machines with diagrams and then generate the regex from that. And it is not really clear how the visualization would assist in the first instance; you'd still have to fit the whole regex abstraction into your head, with the same unit size
<csmrfx> I bet the things that are being used are those that teachers found simple enough to sell to the school board
<csmrfx> or something trivial like that
datafirm has quit [Ping timeout: 264 seconds]
<RubyPanther> Once you've written the code, generating the diagrams does help with debugging
<RubyPanther> but that is already done, see: http://www.confreaks.com/videos/782-magrails2011-pattern-matching
<csmrfx> I still keep asking myself, how could I draw logic in a "natural" way
<csmrfx> then, suddenly it starts looking like electronics schematic and thats not natural
<csmrfx> (usually)
<csmrfx> it is a hard problem
zorak has quit [Ping timeout: 252 seconds]
<RubyPanther> me too, and I've solved the problem too, but the reality is that it is mostly useful in "special education"
<RubyPanther> It is an easy problem IF you're only modeling OOP
Channel6 has quit [Quit: Leaving]
<RubyPanther> (or -only- FP, but that would be even less useful)
Takle has joined #ruby
<Hanmac> RubyPanther: i would like to have a RPGMaker where i could make the event code with StateMachines ... but i think that might be overkill :/
<RubyPanther> Hanmac: Naw, "overkill" doesn't apply to code!
<RubyPanther> And how can a "maker" (eg, code generator) be over-built? By being too abstract? What?!
<RubyPanther> If it is more abstracted, it should actually get simpler, so you would only get "overkill" by writing bad code, never by trying to do too much
zorak has joined #ruby
mobi_pontiki has joined #ruby
<RubyPanther> If you have too much code and not enough features, I guess that would be "over-built." But reducing the features doesn't improve that; increasing them might, since the existing code isn't doing enough
<Hanmac> one of my main goals in programming is to write a OpenSource RPG maker totally written in ruby
<RubyPanther> Hanmac: If you go with all-state-machines, you can write it in Ruby that outputs ragel, and then you can compile it to any language
<csmrfx> is that D&D type, or Rolemaster?
kies has quit [Ping timeout: 245 seconds]
Takle has quit [Ping timeout: 264 seconds]
<shevy> csmrfx I think he means openrpg maker
<RubyPanther> The whole idea of "visual logic," that is what we already do!
<shevy> RubyPanther by piecing together standalone .rb files? :)
<csmrfx> ok I see what that means
<RubyPanther> shevy: I'm not even sure what you're asking
<shevy> visual logic!
<shevy> all the visual part split up into thousands of thousands .rb files spread out all over on the hdd
jxf has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
<RubyPanther> shevy: "visual logic" isn't the same as "`visual' IDE"
<Hanmac> RubyPanther: hm "all-state-machines" & ragel ... i need to think about that later ... currently the Maker is only a Editor, the game(-stater) itself is a different project but it should also be written in ruby
<csmrfx> does it not even imply, that its a whole new area compared to semantic logic?
kies has joined #ruby
<RubyPanther> If you divide your code into discrete units and store them on a HD, then yes, you will have n files spread out however your filesystem spreads out files, that doesn't address if your code uses visual logic or not
gruz0[russia] has quit [Quit: This computer has gone to sleep]
<csmrfx> your file manager might
queequeg1 has joined #ruby
<shevy> can I use .erb files like .rb files ?
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
kleine has joined #ruby
<shevy> right now my .erb file looks like a .html file!
<RubyPanther> Hanmac: if you use state machines, then the same code can be used by a map generator, but also by an NPC that wants to simulate routes (for navigation), and by multiple clients offering different visualizations of the map
<csmrfx> shevy: well remove the template
kleine has left #ruby [#ruby]
nateberkopec has joined #ruby
<mobi_pontiki> shevy: you can't require them
<RubyPanther> shevy: you can use any file any way you want, your real problem isn't the file "type" or extension, but the differing content
<Hanmac> RubyPanther: i will look for it, but i dont know if ragel is the answer ... the maps are already tmx format and can be opend by tiled
SCommette has quit [Quit: SCommette]
<RubyPanther> Hanmac: Yeah, it probably already has too much entrenched legacy... considerations... to make it that awesome
papercode has quit [Quit: WeeChat 0.4.3]
<Hanmac> about the last spam link: hm making money is very easy ... just make your own country and declear something as currency ;P
nonnatus has joined #ruby
fuhgeddaboudit has joined #ruby
<csmrfx> Why do I need my own country for that?
<RubyPanther> Consider a "symbolic link" in your filesystem. What would need to be different to make it go from symbolic logic to "visual symbolic logic?" A different file manager? The value of symbolic logic is in the symbols, not in the visualization.
kies has quit [Ping timeout: 245 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
<csmrfx> Hanmac: why redo an 80s level game editor?
pvb has quit [Ping timeout: 255 seconds]
yfeldblu_ has joined #ruby
<csmrfx> why not make a better, 2010s game editor?
<Hanmac> csmrfx: because retro is IN?
<csmrfx> didn't they already do the real thing?
nfk has quit [Quit: yawn]
<Hanmac> and its 1000times easier to make games like that
<csmrfx> sure
yfeldblu_ has quit [Remote host closed the connection]
<csmrfx> but time investment is the hardest thing there
<RubyPanther> "visual symbolic logic" is what Grace Hopper brought to computing...
<csmrfx> and is that even hex-layout? does it have z-levels (height/3D map)?
irdan has joined #ruby
<csmrfx> etc
bbloom has quit [Quit: Computer has gone to sleep.]
yfeldblu_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
<Hanmac> csmrfx: all RPGMaker from ASCII and Enterbrain are 2D with orthogonal layout (2-3 zlevels), Tiled (the format i use has isometic too, but hexagon is not supported yet) (nearly infinte z levels)
fuhgeddaboudit has quit [Ping timeout: 244 seconds]
jrichocean has joined #ruby
<csmrfx> does the combat system have criticals, body parts, etc?
<RubyPanther> thinking back to my 80s RPG experiences, we used square grid graph paper for custom maps, they easily have 8 directions of movement, hex maps work good for combat simulation like battletech, but it sucks for campaigning
havenwood has quit [Remote host closed the connection]
SCommette has joined #ruby
irdan has left #ruby ["WeeChat 0.3.2"]
jrichocean has quit [Client Quit]
<csmrfx> like, in dwarf fortress you can kick in angry bunnys teeth, and shut a dwarf with it in a room, and the bunny will keep attacking the dwarf but will never do any damage (no teeth) - dorf gets dodging experience
<RubyPanther> csmrfx: That is all stuff I would want to hide behind various APIs, and the generator wouldn't care
kies has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
<csmrfx> Ive been working (slowly) on a svg-to-game-map concept
<Hanmac> csmrfx: depends, they have critical hits or someting but per default it does not change the layout, but the api is extendable with scripts
<csmrfx> ok cool to know
<Hanmac> but good ideas about body parts i add it to my scripts
<csmrfx> well I was thinking of Rolemaster and dwarf fortress
bradhe has joined #ruby
<csmrfx> Rolemaster is classic dice-and-paper format rpg
<csmrfx> or was
sinkensabe has joined #ruby
<csmrfx> it had the "best" combat system back in 80s
monkegjinni has joined #ruby
kies has quit [Ping timeout: 240 seconds]
maletor has quit [Quit: Computer has gone to sleep.]
mobi_pontiki has quit [Quit: Bye]
saarinen has joined #ruby
LadyRainicorn has quit [Quit: Bye]
bradhe has quit [Ping timeout: 240 seconds]
bbloom has joined #ruby
<Hanmac> csmrfx: my current problem with the script logic was that my different parts like Battler-status & Battler-Ability(some kind of passive skill) did collide into a infinite recursion (Ability are levelable and can add status, while status can change the level of the abilities ... you see my problem there, ne?) so i need some kind of system how that will be checked without running into a recursion
timonv has quit [Remote host closed the connection]
carraroj has quit [Ping timeout: 272 seconds]
gondalier has quit []
<csmrfx> Rolemaster char generator
monkegjinni has quit [Remote host closed the connection]
BWStearns has joined #ruby
jxf has joined #ruby
monkegjinni has joined #ruby
noop has quit [Ping timeout: 255 seconds]
SCommette has quit [Quit: SCommette]
frankS2 has joined #ruby
spider-mario has quit [Remote host closed the connection]
klaut has joined #ruby
klaut has quit [Remote host closed the connection]
fold has quit [Ping timeout: 240 seconds]
<shevy> we must make ruby the best scripting language out there
senayar has joined #ruby
klaut has joined #ruby
jxf has quit [Ping timeout: 240 seconds]
kies has joined #ruby
<benzrf> shevy: implying it isnt already
<csmrfx> I think as a language it is there
<csmrfx> but there might be work with operating systems, installers, documentation, gems, ...
dvcliving has joined #ruby
<dvcliving> hello people, someone know's any gem
<dvcliving> to use activerecord selecting attributes based on roles?
jackneill has quit [Ping timeout: 245 seconds]
<dvcliving> for example, as a normal user cannot access to product.user_id, it's bad to just select it and them filtering it with active_model_serialization
<shevy> benzrf well python seems to have a few really strong points, like numpy, biopython, and more devs
<shevy> yeah csmrfx
joaoh82 has joined #ruby
<shevy> it's like you may lead in a 100 metres run
<Sigma00> dvcliving: you want role-based filtering on a column-by-column level?
<shevy> but you stop short saying "hey I could have won anyway"
<dvcliving> yes
senayar has quit [Ping timeout: 240 seconds]
<Sigma00> that's kinda useless
<Sigma00> since the data never leaves your server as long as your view doesn't print it
<csmrfx> shevy: I think python wins the 400 and 800, but ruby wins in longer races
<shevy> hmm
<dvcliving> I mean, if we are admin, then I use Product.find(1) and it will use SELECT * FROM PRODUCTS, right? Thats good because I have permission to read all
<shevy> and who wins for 100 and 200?
<dvcliving> however, if I'm a not logged in user
<csmrfx> bash, ecma and lua
<dvcliving> it's a waste of resources just use SELECT * FROM products, but SELECT (title, price, description) is ok
<Sigma00> dvcliving: from a security standpoint, there's no need (and you'll suffer a performance penalty)
<csmrfx> perhaps VB etc
<csmrfx> haha
<dvcliving> u understand?
<Sigma00> I understand, and I still think you'll lose performance if you do that
gruz0[russia] has joined #ruby
<Sigma00> and increase complexity
GriffinHeart has joined #ruby
datafirm has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
<dvcliving> Sigma00 but make serializer is still a extra process columb-by-column, right?
<Sigma00> ?
skmp has joined #ruby
<csmrfx> I wonder if its best to leave optimizations to SQL
<dvcliving> yes, we get the whole object with Product.find(1) and then the controller uses a serializer, which is not other thing that a function filtering attribute by attribute based on roles
<dvcliving> so still there is a permormance penalty
<dvcliving> and what about indexes
<Sigma00> ah, youre using a serializer
<dvcliving> where we need to apply serializers to a list of records
<Sigma00> that's different
yfeldblu_ has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
<dvcliving> what do you suggest Sigma00 ?
<Sigma00> I assumed you were doing a normal rails app
<Sigma00> should have asked
<dvcliving> I have a rails 3 app
<dvcliving> but now I'm moving to Grape API
<dvcliving> but I need roles and permissions by attribute
Edelwin has joined #ruby
<Edelwin> hi
DrCode has quit [Ping timeout: 264 seconds]
<dvcliving> so, filter json result attributes based on a role and making attr_accessible based on a role
GriffinHeart has quit [Ping timeout: 240 seconds]
<Edelwin> is there a way to get the "tumblr_mynzt7JpIr1s81ybio1_500.jpg" part?
datafirm has quit [Ping timeout: 240 seconds]
<Sigma00> use URI
DrCode has joined #ruby
<Sigma00> dvcliving: rolify and call pluck?
<Sigma00> pluck goes to the DB itself
mattstratton has joined #ruby
<Edelwin> Sigma00: I don't find anything for my problem in the ruby documentation :x
<Sigma00> later, time to entertain people
<csmrfx> Edelwin: ri URI
<csmrfx> Edelwin: you got ri?
<Edelwin> I... don't think so...
<csmrfx> get ri
<Edelwin> ok
yfeldblum has joined #ruby
<csmrfx> then $ ri URI
<Hanmac> dvcliving: any reason why you dont ask rails questions in the #rubyonrails channel?
pu22l3r has joined #ruby
<dvcliving> Sigma00 AWESOME, as always, really useful advices. Thanks man, thanks a lot
<Edelwin> thanks
<dvcliving> Hanmac, cannot join, invite only
<Hanmac> dvcliving: register with nameserv (google might help)
<Sigma00> >> URI("http://google.com/this/is/test").path.split('/').last #Edelwin
<eval-in> Sigma00 => undefined method `URI' for main:Object (NoMethodError) ... (https://eval.in/162882)
<Sigma00> fuck you, Edelwin
<Sigma00> er
<Sigma00> eval-in:
<Sigma00> ANYHOW
<Sigma00> later
lw has quit [Quit: s]
mobi_pontiki has joined #ruby
<Edelwin> :')
bbloom has quit [Quit: Computer has gone to sleep.]
<csmrfx> >> require URI; URI("http://sigmassigmama.com/mama/sig/ma.html#h1").split
<eval-in> csmrfx => uninitialized constant URI (NameError) ... (https://eval.in/162883)
<Hanmac> >> require "uri"; require "pathname"; Pathname(URI("http://google.com/this/is/test").path).basename.to_s
<eval-in> Hanmac => "test" (https://eval.in/162884)
mobi_pontiki has quit [Quit: Disconnected]
jxf has joined #ruby
<Edelwin> ho, it does require pathname too
<csmrfx> never, ever test your code before pasting to public channel
<Edelwin> well, thanks a lot you all :3
pu22l3r has quit [Ping timeout: 244 seconds]
<Hanmac> Edelwin: i thought splitting a path with pathname would be more intuitive
<Hanmac> without pathname using file methods:
<Hanmac> >> require "uri"; File.basename(URI("http://google.com/this/is/test").path)
<eval-in> Hanmac => "test" (https://eval.in/162889)
<csmrfx> lol
saarinen has quit [Quit: saarinen]
<Edelwin> <3
jxf has quit [Max SendQ exceeded]
<csmrfx> irb often causes terminator to become unresponsive, I find
saarinen has joined #ruby
<Edelwin> >> require "uri" ; url="https://blah.com/pix.jpg"; File.basename(URI(url).path)
<eval-in> Edelwin => "pix.jpg" (https://eval.in/162892)
kies has quit [Ping timeout: 272 seconds]
<Edelwin> :D
saarinen has quit [Client Quit]
Zenigor has joined #ruby
kies has joined #ruby
nateberkopec has quit [Quit: Leaving...]
mikepack has quit [Remote host closed the connection]
oponder has quit []
Blaguvest has quit []
bbloom has joined #ruby
kies has quit [Ping timeout: 244 seconds]
monkegjinni has quit [Remote host closed the connection]
mashua has joined #ruby
fantazo has joined #ruby
bradhe has joined #ruby
OffTheRails has joined #ruby
fold has joined #ruby
hiyosi has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
tier has joined #ruby
kaspergrubbe has quit [Read error: Connection reset by peer]
bradhe has quit [Ping timeout: 245 seconds]
kaspergrubbe has joined #ruby
Rojo has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
<atmosx> is there any smart way to capture a string from a website?
Atrumx has quit [Quit: Exit]
jhass is now known as jhass|off
<apeiros> atmosx: open-uri?
AlexRussia has joined #ruby
<atmosx> No I need to extract a the URL
<atmosx> from the italian radio-tv, to adjust the cache with mplayer
<apeiros> atmosx: you're quite vague
Takle has quit [Remote host closed the connection]
<apeiros> "a string", "an url".
<apeiros> use css, use xpath
<atmosx> I'd like to exgtract the stream from this: http://www.radiorai.rai.it/dl/portaleRadio/popup/player_radio.html?v=1
<atmosx> in way I could use it with mplayer
jamto11 has joined #ruby
<atmosx> nah never mind, just music.
<AlexRussia> atmosx: ?
<atmosx> I want to find a radio stream with Italian speaker for Italy vs England
<shevy> how do you find out the stream info?
mashua has quit [Quit: Leaving]
<atmosx> but no time now, I'm wathing it in CZ and I have the national TV's website, but the speaker speaks Czech and it's awful
<shevy> the match has already started YOU MAY COME TOO LATE HURRY UP!
zz_jrhorn424 is now known as jrhorn424
<shevy> lol
Azure has quit [Quit: My MBP went to sleep.]
<shevy> I don't care who wins
<shevy> as long as the UK loses
kaspergrubbe has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 255 seconds]
<seitensei> shevy: well said
kaspergrubbe has joined #ruby
<seitensei> down with the redcoats
zorak has quit [Read error: Connection reset by peer]
bbloom has quit [Quit: Computer has gone to sleep.]
Zenigor has quit [Remote host closed the connection]
shredding has joined #ruby
shredding has quit [Client Quit]
codecop has quit [Remote host closed the connection]
mijicd has joined #ruby
codabrink has quit [Ping timeout: 255 seconds]
bbloom has joined #ruby
senayar has joined #ruby
combusean has quit [Quit: Leaving.]
diegoviola has quit [Remote host closed the connection]
riotjones has joined #ruby
<foobarbaz_> <shevy> I don't care who wins - as long as the UK loses
* foobarbaz_ is hurt
ghr has joined #ruby
Rojo has quit [Quit: Leaving]
<foobarbaz_> I've just put your name down on the list, the Queen is not impressed.
senayar has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
joaoh82 has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<AlexRussia> shevy: HELL-O my brother
danijoo has joined #ruby
bbloom has quit [Quit: Computer has gone to sleep.]
riotjone_ has quit [Ping timeout: 252 seconds]
ghr has quit [Ping timeout: 252 seconds]
joaoh82 has quit [Ping timeout: 240 seconds]
datafirm has joined #ruby
andrewlio has quit [Remote host closed the connection]
mehlah has joined #ruby
joaoh82 has joined #ruby
combusean has joined #ruby
<shevy> foobarbaz_ well so far, the UK team actually is better, the italian team is starting to go on my nerves
sinkensabe has quit [Remote host closed the connection]
<shevy> the spanish team used to be famous in 2010 for their tiki-taka; the italian team copied it in 2014, except for the fact that they do not run at all.
sinkensabe has joined #ruby
datafirm has quit [Ping timeout: 272 seconds]
<shevy> AlexRussia are you writing ruby code
vinleod has joined #ruby
sinkensabe has quit [Ping timeout: 244 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
s3ri0us has joined #ruby
isthisreallife has joined #ruby
nateberkopec has joined #ruby
jxf has joined #ruby
<foobarbaz_> What's the difference between the different kinds of map values?
<foobarbaz_> Like, def foo(attr = {}) puts attr end
<foobarbaz_> foo(key: true)
<foobarbaz_> works fine... somehow
<joelteon> what do you mean
<foobarbaz_> even though `key: true` isn't a map
<joelteon> why wouldn't it work
<joelteon> yeah, it is
<joelteon> it's { :key => true }
<joelteon> syntax sugar
<foobarbaz_> key = "hello world"
<foobarbaz_> foo(key: 'true')
<foobarbaz_> what happens now?
<joelteon> { :key => "true" }
bradhe has joined #ruby
shiggityjoe has quit [Quit: shiggityjoe]
nateberkopec has quit [Ping timeout: 240 seconds]
<foobarbaz_> foo({key => 'true'})
<joelteon> { key: 'true' } is { :key => 'true' }; { key => 'true' } is { "hello world" => 'true' }
tier has quit []
nonnatus has quit [Ping timeout: 252 seconds]
<foobarbaz_> ah okay
jxf has quit [Ping timeout: 240 seconds]
<foobarbaz_> Ruby is indeed interesting!
auxbuss has joined #ruby
shiggityjoe has joined #ruby
buzz0763 has joined #ruby
aspires has quit []
<csmrfx> foobarbaz_: do you have irb
<foobarbaz_> csmrfx: aye :)
<foobarbaz_> Was messing in there when joelteon was telling me about the sugar :P
bradhe has quit [Ping timeout: 272 seconds]
hiyosi has joined #ruby
<csmrfx> yes
joaoh82 has quit [Remote host closed the connection]
<shevy> foobarbaz_
<shevy> are you still trapped in java
<shevy> or are you on your way to leave it already
<foobarbaz_> I'm entering a Ruby job :P
SCommette has joined #ruby
jxf has joined #ruby
<shevy> btw when you see things like that:
<shevy> key: 'true'
<shevy> always keep in mind that it was added in like ruby 1.9.3
<foobarbaz_> So I'm committed to ruby for the foreseeable future
<shevy> before that, the only way for the same was:
<shevy> :key => 'true'
<shevy> a bit weird that you have a string called 'true'
joaoh82 has joined #ruby
<foobarbaz_> shevy: It was arbitrary haha
<shevy> I even added .to_bool on class String for my internal addons
<shevy> 'true'.to_bool
<shevy> take that!
timonv has joined #ruby
<foobarbaz_> <3
vifino has quit [Quit: Ze Cat now leaves...]
hiyosi has quit [Ping timeout: 245 seconds]
kith has quit [Ping timeout: 252 seconds]
combusean has quit [Quit: Leaving.]
<joelteon> foobarbaz_: fun fact; that syntax was added so that ruby 1.9 could fake keyword arguments
<joelteon> then ruby 2.0 added actual keyword arguments
<joelteon> now we have both!
<foobarbaz_> o.o
<foobarbaz_> keyword arguments?
<foobarbaz_> IE named arguments?
timonv has quit [Ping timeout: 255 seconds]
combusean has joined #ruby
<joelteon> yes.
<joelteon> like python
<foobarbaz_> oh wow, ruby calls them keyword arguments
<foobarbaz_> That's why i couldn't google it earlier
codezomb has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mgberlin has quit [Remote host closed the connection]
sheepman has quit [Ping timeout: 260 seconds]
jxf has quit [Ping timeout: 264 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
sheepman has joined #ruby
codezomb has joined #ruby
nateberkopec has joined #ruby
auxbuss has quit [Quit: I'm gone.]
sputnik13 has joined #ruby
sinkensabe has joined #ruby
dangerou_ has quit [Ping timeout: 255 seconds]
<shevy> no that is incorrect
<joelteon> is it
<shevy> the feature made it in mostly because of a push by the rails guys
<shevy> the keyword addition came at a much later time
<joelteon> feature made it in so that ruby could have keyword arguments, though
<shevy> we stand on opposing sides here, it's like scotland vs. the UK, you are the UK, and I wear a scottish gown
<shevy> wanna look underneath? :>
<shevy> foobarbaz_ did you try googling for kwargs too?
<shevy> hahaha cool
<shevy> the 2nd result is python
<shevy> almost
Takle has joined #ruby
<foobarbaz_> awesome
<foobarbaz_> Got so much ruby to learn, it seems
<foobarbaz_> It's challenging to learn, as every version seems to be very different to the last
<foobarbaz_> Or at least, that's true for Rails
GriffinHeart has joined #ruby
<shevy> man you know what
<shevy> ruby and python should merge into a new language
klaut has quit [Remote host closed the connection]
<foobarbaz_> Good idea!
<foobarbaz_> Let's also add static typing
<foobarbaz_> <3
sinkensabe has quit [Remote host closed the connection]
<foobarbaz_> and pattern matching
<shevy> yeah but the first one must be optional
<Sigma00> optional static typing would be great
<shevy> because enforced static typing makes you lose a great deal of flexibility foobarbaz_
<shevy> just look at nimrod
sinkensabe has joined #ruby
benzrf is now known as benzrf|offline
jrhe has joined #ruby
<shevy> foobarbaz_ http://nimrod-lang.org/tut1.html proc yes(question: string): bool = echo(question, " (y/n)")
<foobarbaz_> shevy: what's wrong with nimrod
<shevy> there is as far as I know no way to omit : string there
McFreely has joined #ruby
<foobarbaz_> eh
<foobarbaz_> That's type inference limitations most likely
<foobarbaz_> Look at haskell for instance
<shevy> I can't make out anything in haskell
<shevy> it's like aliens came down to earth and wrote it
<shevy> their ufo was constructed using monads
Takle has quit [Ping timeout: 244 seconds]
<Sigma00> better than one made of gonads if you ask me
GriffinHeart has quit [Ping timeout: 244 seconds]
McFreely has quit [Client Quit]
<foobarbaz_> shevy: ml families use better type inference
<shevy> lol Sigma00
<foobarbaz_> Languages like scala and nimrod use local type inference
McFreely has joined #ruby
<shevy> haskell coders have their gonads wrapped up in monads
jameswlane has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
sinkensabe has quit [Ping timeout: 264 seconds]
duncannz has joined #ruby
<shevy> foobarbaz_ I have literally no idea why people really use haskell
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
sputnik13 has joined #ruby
jxf has joined #ruby
<foobarbaz_> shevy: it was an example of types not being 'restrictive'
gruz0[russia] has quit [Quit: This computer has gone to sleep]
<foobarbaz_> or at least, needing to be explicitly specified
dc has quit [Remote host closed the connection]
<shevy> I don't even know what that means
nitr has joined #ruby
joaoh82 has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
datafirm has joined #ruby
robbyoconnor has joined #ruby
charliesome has joined #ruby
Asher2 is now known as Asher
mercwithamouth has quit [Ping timeout: 255 seconds]
<foobarbaz_> shevy: What's a limitation of a static type system you've ran into?
Hobogrammer has quit [Ping timeout: 264 seconds]
xenon- has joined #ruby
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pu22l3r has joined #ruby
<shevy> that I must specify a type
datafirm has quit [Ping timeout: 240 seconds]
<Sigma00> since we're talking about monads https://github.com/ms-ati/rumonade
<shevy> Sigma00 didn't you talk about gonads?
xenon- has quit [Client Quit]
<shevy> "A Ruby Monad Library, Inspired by Scala"
<shevy> omg
<zwer> I wonder if haskell would appear less scary if Monad was named Pipeable
<Sigma00> that's a weird way to ask for dick pics, shevy
xenon- has joined #ruby
<shevy> don't show me nils Sigma00!!!
<shevy> zwer probably. but I am sure Pipeable would not be a real Monad somewhere would it?
<shevy> I mean, can there be a monad that can not be piped
<shevy> like a singleton monad
<Sigma00> not according to the monad definition
<foobarbaz_> monads in ruby don't really make sense
Hanmac1 has joined #ruby
<zwer> what is a singleton monad?
spastorino has joined #ruby
<csmrfx> a streaming block?
<foobarbaz_> without a formal type system, a lot of the useful monads like option/maybe are kinda useless
Hanmac has quit [Ping timeout: 240 seconds]
SCommette has quit [Quit: SCommette]
bradhe has joined #ruby
<Sigma00> option would be useful for nil values
<Sigma00> go look at the use-cases for Rumonade on it's github page
Hanmac has joined #ruby
kaspergrubbe has quit [Remote host closed the connection]
joaoh82 has joined #ruby
<foobarbaz_> Sigma00: But without knowing that you've got an option
Xeago has joined #ruby
Hanmac1 has quit [Ping timeout: 245 seconds]
OffTheRails has quit [Ping timeout: 244 seconds]
<foobarbaz_> You're practically in the same position as something returning you nill
codeurge has quit [Quit: Quit.]
<Sigma00> this would help for your own methods
benzrf|offline is now known as benzrf
bradhe has quit [Ping timeout: 240 seconds]
datafirm has joined #ruby
TheKruex has joined #ruby
<xenon-> all monads can be piped. >>= is part of the monad interface and it pipes a "wrapped" value to a function accept an "unwrapped" value
kirun has quit [Quit: Client exiting]
<xenon-> accepting
TheKruex has quit [Remote host closed the connection]
grabe has joined #ruby
<grabe> what ruby GUI lib is usually recommended
kies has joined #ruby
<csmrfx> I know very little, but usually consider jruby an simple avenue to building GUIs using java libs
<grabe> Deciding between qtruby and rubygtk
<grabe> csmrfx: using jruby?
jrhorn424 is now known as zz_jrhorn424
<csmrfx> not at the moment
zzzak has joined #ruby
mercwithamouth has joined #ruby
combusean has quit [Quit: Leaving.]
monkegjinni has joined #ruby
<grabe> i mean when using java libs
nanodano has quit [Quit: Leaving.]
xenon- has quit [Quit: IRCGate CGI:IRC User (Ping timeout)]
sarkis has quit [Ping timeout: 264 seconds]
hiyosi has joined #ruby
<grabe> no compatibility issues when using jruby e"with java libraries?
<grabe> i mean with ruby libraries
combusean has joined #ruby
duncannz has quit [Quit: Leaving]
xenon- has joined #ruby
marr has quit []
monkegjinni has quit [Ping timeout: 244 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jxf has quit [Ping timeout: 272 seconds]
hiyosi has quit [Ping timeout: 264 seconds]
sgen has joined #ruby
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
jameswlane has joined #ruby
sputnik13 has joined #ruby
predator217 has joined #ruby
fuhgeddaboudit has joined #ruby
sputnik13 has quit [Client Quit]
sputnik13 has joined #ruby
sepp2k1 has joined #ruby
predator117 has quit [Ping timeout: 244 seconds]
<grabe> shoes looks like a neat little library
sepp2k has quit [Ping timeout: 244 seconds]
dc has joined #ruby