Aova has quit [Read error: Connection reset by peer]
kadwill has quit [Remote host closed the connection]
kadwill has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
cornerma1 has joined #ruby-lang
Aova has joined #ruby-lang
bluurn has joined #ruby-lang
cornerman has quit [Ping timeout: 246 seconds]
cornerma1 is now known as cornerman
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Lewix has quit [Ping timeout: 264 seconds]
j4cknewt_ has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
roamingdog has joined #ruby-lang
ta_ has joined #ruby-lang
jdecuirm has quit [Ping timeout: 245 seconds]
kadwill has quit [Remote host closed the connection]
jlpeters has quit [Read error: Connection reset by peer]
jdecuirm has joined #ruby-lang
jlpeters has joined #ruby-lang
kadwill has joined #ruby-lang
ta_ has quit [Ping timeout: 246 seconds]
kadwill has quit [Ping timeout: 265 seconds]
marcdel has quit []
wallerdev has joined #ruby-lang
AlexAltea has joined #ruby-lang
wallerdev has quit [Ping timeout: 252 seconds]
jdecuirm has quit [Ping timeout: 245 seconds]
jdecuirm has joined #ruby-lang
RobertBirnie has joined #ruby-lang
riotjones has joined #ruby-lang
lytol has joined #ruby-lang
riotjones has quit [Ping timeout: 246 seconds]
ta_ has joined #ruby-lang
Asher2 has quit [Quit: Leaving.]
Asher has joined #ruby-lang
lytol has quit [Ping timeout: 265 seconds]
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluurn has quit [Quit: Leaving]
ocdmw has joined #ruby-lang
j4cknewt has quit [Remote host closed the connection]
ta_ has quit [Ping timeout: 245 seconds]
slawrence00 has joined #ruby-lang
twe4ked has quit [Ping timeout: 245 seconds]
kadwill has joined #ruby-lang
j4cknewt has joined #ruby-lang
ayonkhan has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby-lang
ocdmw has quit [Remote host closed the connection]
ocdmw has joined #ruby-lang
Aova has joined #ruby-lang
ocdmw has quit [Remote host closed the connection]
red_menace has joined #ruby-lang
kadwill has quit [Remote host closed the connection]
pico-pete has joined #ruby-lang
ta_ has joined #ruby-lang
Musashi007 has quit [Quit: Musashi007]
<ljarvis>
gahhh need group_by but 1 million times faster
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
Musashi007 has joined #ruby-lang
<apeiros>
algorithms to the rescue
<apeiros>
!
tunaCanBruh has joined #ruby-lang
<ljarvis>
actually this connects to pg so really i need to stop being lazy and build a decent query
<ljarvis>
but AR gets in my way so much :(
iamninja has quit [Quit: ZZZzzz…]
<apeiros>
I know that
<ljarvis>
and grouping in databases is not my favourite thing
<apeiros>
I usually solve that by creating views and/or procedures
iamninja has joined #ruby-lang
<apeiros>
(you can return tables from procedures)
<ljarvis>
yeah
<apeiros>
a model with a parametrized procedure as table would be interesting :D
tunaCanBruh has quit [Ping timeout: 265 seconds]
<ljarvis>
definitely. I need the aggregate data back in my code otherwise the sql is going to be massively messy
<ljarvis>
not to mention won't support my i18n well if at all
ta_ has quit [Ping timeout: 245 seconds]
roamingdog has quit [Remote host closed the connection]
<ljarvis>
plus pagination
<ljarvis>
so not im tired of even thinking about this
<ljarvis>
now*
<apeiros>
yeah, views make such things so much easier
rahul_j has quit [Quit: rahul_j]
<apeiros>
oh, reminds me that I haven't implemented an important column type for my framework - translated code
<ljarvis>
:)
<ljarvis>
better get on that before the masses complain... oh wait, it's not released still!
<ljarvis>
/bitter
twe4ked has joined #ruby-lang
<apeiros>
I probably won't release it to the masses before end of year. but I intend to take 2 weeks off after next week (depends a bit on how things go at work). after those two weeks I'm pretty sure I can at least supply pre-alpha testers :D
<ljarvis>
that's a long time :(
<ljarvis>
but good to hear!
<apeiros>
competition is strong
arBmind has joined #ruby-lang
Motoservo has quit [Quit: Shhh. I'm trying to get some sleep here.]
ayonkhan has quit [Ping timeout: 246 seconds]
symm- has joined #ruby-lang
Motoservo has joined #ruby-lang
coca_rails has joined #ruby-lang
coca_rails has left #ruby-lang [#ruby-lang]
shinnya has joined #ruby-lang
red_menace has quit [Ping timeout: 245 seconds]
arBmind has quit [Read error: Connection reset by peer]
ta_ has joined #ruby-lang
red_menace has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
AlexAltea has quit [Quit: Leaving]
<yorickpeterse>
ljarvis: bro use Sequel
ta_ has quit [Ping timeout: 252 seconds]
oleo__ has quit [Quit: Verlassend]
Aova has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
Aova has joined #ruby-lang
<diegoviola>
sequel ftw
<diegoviola>
who on earth would use activerecord right
ocdmw has joined #ruby-lang
kadwill has joined #ruby-lang
arBmind has joined #ruby-lang
Bwild has quit [Quit: leaving]
kadwill has quit [Ping timeout: 245 seconds]
twe4ked has quit [Ping timeout: 245 seconds]
oleo has joined #ruby-lang
j4cknewt has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Ping timeout: 245 seconds]
j4cknewt has joined #ruby-lang
lytol has joined #ruby-lang
<bnagy>
or even use it at all
wallerdev has joined #ruby-lang
waxjar has quit [Ping timeout: 264 seconds]
priodev has quit [Ping timeout: 252 seconds]
priodev has joined #ruby-lang
waxjar has joined #ruby-lang
lytol has quit [Ping timeout: 264 seconds]
Musashi007 has quit [Quit: Musashi007]
wallerdev has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
ta_ has joined #ruby-lang
twe4ked has joined #ruby-lang
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 245 seconds]
rod_ has quit [Quit: Leaving]
j4cknewt has quit [Read error: Connection reset by peer]
ledestin has quit [Quit: ledestin]
Aova has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
Aova has joined #ruby-lang
arooni-mobile__ has left #ruby-lang ["Leaving"]
j4cknewt has quit [Read error: Connection reset by peer]
j4cknewt has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
kadwill has joined #ruby-lang
ta_ has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 246 seconds]
kadwill has quit [Ping timeout: 250 seconds]
stef204 has joined #ruby-lang
ta_ has quit [Ping timeout: 264 seconds]
rbowlby has quit [Ping timeout: 246 seconds]
Antivan has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
slawrence00 has joined #ruby-lang
charliesome has joined #ruby-lang
<yorickpeterse>
I'd be worried if somebody on Mars was using it
ta_ has joined #ruby-lang
<apeiros>
mars? that robot planet?
j4cknewt has quit [Ping timeout: 256 seconds]
Forgetful_Lion has quit [Remote host closed the connection]
mostlybadfly has joined #ruby-lang
ta_ has quit [Ping timeout: 255 seconds]
stef204 has quit [Ping timeout: 252 seconds]
stef204 has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
ta_ has joined #ruby-lang
stef204 has quit [Ping timeout: 250 seconds]
Aova has joined #ruby-lang
ta_ has quit [Ping timeout: 265 seconds]
ocdmw has quit [Remote host closed the connection]
ocdmw has joined #ruby-lang
ta_ has joined #ruby-lang
yfeldblum has joined #ruby-lang
nofxx has joined #ruby-lang
nofxx has joined #ruby-lang
ocdmw has quit [Ping timeout: 246 seconds]
stef204 has joined #ruby-lang
rahul_j has joined #ruby-lang
riotjones has joined #ruby-lang
mathias1 has joined #ruby-lang
lytol has joined #ruby-lang
mathias1 has quit [Client Quit]
yfeldblum has quit [Ping timeout: 264 seconds]
riotjones has quit [Ping timeout: 246 seconds]
lytol has quit [Ping timeout: 245 seconds]
stef204 has quit [Ping timeout: 250 seconds]
araujo has quit [Ping timeout: 264 seconds]
fcanela has quit [Quit: leaving]
symm- has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 250 seconds]
nofxx has quit [Read error: No route to host]
Sadin has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
araujo has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 245 seconds]
ziggy has joined #ruby-lang
ziggy is now known as count_gizmo
Aova has quit [Read error: Connection reset by peer]
MaciejCzyzewski has joined #ruby-lang
Aova has joined #ruby-lang
MaciejCzyzewski has left #ruby-lang [#ruby-lang]
ocdmw has joined #ruby-lang
yfeldblum has joined #ruby-lang
roamingdog has joined #ruby-lang
Lewix has joined #ruby-lang
stef204 has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
Lewix has quit [Ping timeout: 252 seconds]
chinmay_dd has joined #ruby-lang
houhoulis has quit [Remote host closed the connection]
lytol has joined #ruby-lang
Sadin has quit [Read error: Connection reset by peer]
count_gizmo has quit [Quit: This computer has gone to sleep]
fujimura_ has joined #ruby-lang
Integralist has joined #ruby-lang
lytol has quit [Ping timeout: 240 seconds]
b_hoffman has joined #ruby-lang
dzejrou has joined #ruby-lang
stamina has joined #ruby-lang
wallerdev has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
wallerdev has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby-lang
tunaCanBruh has joined #ruby-lang
rahul_j has joined #ruby-lang
ocdmw has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 246 seconds]
ocdmw has joined #ruby-lang
ocdmw has quit [Remote host closed the connection]
jo__ has joined #ruby-lang
jds has joined #ruby-lang
jbae has joined #ruby-lang
Aova has quit [Read error: Connection reset by peer]
ta_ has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
Aova has joined #ruby-lang
symm- has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
vozcelik has joined #ruby-lang
fujimura_ has quit [Remote host closed the connection]
vozcelik has quit [Ping timeout: 255 seconds]
ta_ has joined #ruby-lang
hramrach_ has quit [Ping timeout: 250 seconds]
slawrence00 has quit [Ping timeout: 246 seconds]
imperator has joined #ruby-lang
roamingdog has quit [Remote host closed the connection]
hramrach_ has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
Mon_Ouie has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby-lang
Pugsley_ has joined #ruby-lang
j4cknewt has joined #ruby-lang
ocdmw has joined #ruby-lang
ocdmw has quit [Remote host closed the connection]
ocdmw has joined #ruby-lang
kadwill has joined #ruby-lang
j4cknewt has quit [Ping timeout: 240 seconds]
Aova has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby-lang
kadwill has quit [Remote host closed the connection]
rahul_j has quit [Ping timeout: 246 seconds]
Aova has joined #ruby-lang
marcdel has joined #ruby-lang
yfeldblum has quit [Ping timeout: 245 seconds]
hrafn has joined #ruby-lang
rahul_j has joined #ruby-lang
ta_ has joined #ruby-lang
lytol has joined #ruby-lang
ta_ has quit [Ping timeout: 252 seconds]
lytol has quit [Ping timeout: 245 seconds]
Integralist has quit [Quit: leaving]
chadwtaylor has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
b_hoffman has quit [Quit: b_hoffman]
ocdmw has quit [Remote host closed the connection]
daBee has quit [Quit: daBee]
tunaCanBruh has joined #ruby-lang
ta_ has joined #ruby-lang
tunaCanBruh has quit [Ping timeout: 250 seconds]
diegoviola has quit [Read error: Connection reset by peer]
arBmind has joined #ruby-lang
chadwtaylor has quit [Remote host closed the connection]
rod_ has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby-lang
riotjones has joined #ruby-lang
Lewix has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 252 seconds]
riotjones has quit [Ping timeout: 250 seconds]
Aova has quit [Read error: Connection reset by peer]
<rod_>
Hi
<rod_>
i'm taking a look to a BreadthFirst implementation
<rod_>
i don't understand why is usgin class << self
<rod_>
is it necessary?
Aova has joined #ruby-lang
Lewix has joined #ruby-lang
Lewix has joined #ruby-lang
<yxhuvud>
rod: it mean you invoke it with BreadthFirst.run, instead of creating an instance of it that you run.
<red_menace>
that is just one way of defining a class method
<rod_>
amm, i though it was the default behaviour, meaning you set a method and you can run it like instance.method
<rod_>
so in fact this should be usual
<rod_>
to find the methods like this i guess
<rod_>
why i wouldn't like to use it?
<rod_>
class << self i mean
<yxhuvud>
because it cannot refer to any state in the instance (due to being in the scope of the class).
<red_menace>
that is a class method, not an instance method
<rod_>
ok thank you, i gonna take a look again to the doc about oop :-) ?
<rod_>
make sense
<rod_>
thx
roamingdog has quit []
<yxhuvud>
honestly, that piece of code is totally written by a newbie, and you shouldn't take it any seriously when it comes to style and good practices.
ta_ has joined #ruby-lang
<rod_>
what's still less than a newbie? i'm this at this moment, well i was looking for implementations of these algorithm on ruby and i found that
jefus has quit [Ping timeout: 265 seconds]
<rod_>
i just want to learn by fun
<rod_>
and doing something instead just exercices..