# |
Jul 18th 2009, 11:56 |
Phally |
ok this is better |
# |
Jul 18th 2009, 11:54 |
Phally |
the font is a bit small though hehe |
# |
Jul 18th 2009, 11:53 |
Phally |
awesome |
# |
Jul 18th 2009, 11:53 |
alkemann |
not to forget that the biggest thing i missed from svn, single file history : "gitk filename.php" |
# |
Jul 18th 2009, 11:53 |
Phally |
holy shit |
# |
Jul 18th 2009, 11:52 |
alkemann |
and gitk and gitk --all is .. powerful |
# |
Jul 18th 2009, 11:52 |
Phally |
ok lets try |
# |
Jul 18th 2009, 11:52 |
Phally |
installing git-gui now :p |
# |
Jul 18th 2009, 11:50 |
alkemann |
yea, im growing into it more each time i use it. even started getting a hold of the menus in git gui |
# |
Jul 18th 2009, 11:48 |
Phally |
everydays work is so much less trouble |
# |
Jul 18th 2009, 11:48 |
Phally |
i'm starting to like GIT |
# |
Jul 18th 2009, 11:45 |
Phally |
alkemann: http://thechaw.com/bakery/commits/logs/4c07c9e421be6fff5877e15991c6b893457835ee..47fc47bb27963616e7a9b07cbcfd290b1a0398b9 |
# |
Jul 17th 2009, 19:58 |
techno-geek |
I am trying to start contributing for my first time. Is there anyone around that could please answer some basic questions on how you guys normally handle data in the db? |
# |
Jul 17th 2009, 19:41 |
techno-geek |
gwoo, do you have any kind've docs on the plugins plugin? |
# |
Jul 17th 2009, 19:13 |
Phally |
~bin |
# |
Jul 17th 2009, 19:13 |
Phally |
gwoo: still here? |
# |
Jul 17th 2009, 18:31 |
Phally |
oh no, that was a stupid idea, because start might as well be 4000 |
# |
Jul 17th 2009, 18:27 |
Phally |
yeah, that is one of the problems and instead of passing $first to first(), $start - 1 would do |
# |
Jul 17th 2009, 18:19 |
gwoo |
$start >= (int)$first |
# |
Jul 17th 2009, 18:19 |
gwoo |
so maybe first() is not working right? |
# |
Jul 17th 2009, 18:14 |
Phally |
so the modulus is in the right position, only the first() isn't called there |
# |
Jul 17th 2009, 18:10 |
Phally |
the 1 is my fix |
# |
Jul 17th 2009, 18:09 |
Phally |
in the numbers from that bin, 2-7 is the modulus |
# |
Jul 17th 2009, 18:01 |
Phally |
i was try to adapt the condition for the if indeed, but always ended up with double 2 |
# |
Jul 17th 2009, 18:00 |
gwoo |
maybe the calculation for $start is wrong |
# |
Jul 17th 2009, 17:59 |
gwoo |
and im thking this will make the code even clearner |
# |
Jul 17th 2009, 17:59 |
gwoo |
i think how much gets passed to first and last methods needs to be relative to the modulus and current page |
# |
Jul 17th 2009, 17:58 |
gwoo |
we need more test cases |
# |
Jul 17th 2009, 17:56 |
Phally |
right |
# |
Jul 17th 2009, 17:55 |
gwoo |
modules right? |
# |
Jul 17th 2009, 17:55 |
gwoo |
1-7 is the module |
# |
Jul 17th 2009, 17:55 |
gwoo |
according to your ticket |
# |
Jul 17th 2009, 17:55 |
gwoo |
Phally: that is not right |
# |
Jul 17th 2009, 17:51 |
Phally |
the hardcoded 2 seems hardcoded but it is actually (first page + 1) which is always 2 as the opposite of (pageCount - 1) |
# |
Jul 17th 2009, 17:44 |
Phally |
a lot of numbers, but it seems to give proper behavior: http://bin.cakephp.org/view/1518302476 |
# |
Jul 17th 2009, 17:35 |
gwoo |
and current page == 5 |
# |
Jul 17th 2009, 17:35 |
gwoo |
for example what happens if first == 5 and modulus == 5 |
# |
Jul 17th 2009, 17:35 |
gwoo |
because it seems to only take into account these tested cases |
# |
Jul 17th 2009, 17:34 |
gwoo |
the fix though i think needs some work |
# |
Jul 17th 2009, 17:34 |
gwoo |
i see the issue it points out |
# |
Jul 17th 2009, 17:34 |
Phally |
*patch |