# |
Jul 22nd 2009, 03:44 |
alkemann |
no thanks. i just dont see a reason for not always hashing it |
# |
Jul 22nd 2009, 03:43 |
Phally |
no, only if username AND password are in the array, try it :p |
# |
Jul 22nd 2009, 03:43 |
alkemann |
why? and i thought auth always hashed password |
# |
Jul 22nd 2009, 03:42 |
Phally |
because that is how auth works, before it starts hashing everything... username and password must be in the array else no hashing |
# |
Jul 22nd 2009, 03:41 |
alkemann |
why? |
# |
Jul 22nd 2009, 03:41 |
Phally |
it depends on the proper AuthComponent::$fields to be available in $data |
# |
Jul 22nd 2009, 03:39 |
alkemann |
172 and 177 .. why is one hashed and other not? |
# |
Jul 22nd 2009, 03:39 |
alkemann |
Phally: http://thechaw.com/bakery/source/branches/2.0/plugins/users/tests/cases/components/access.test.php#177 |
# |
Jul 22nd 2009, 03:38 |
alkemann |
oh |
# |
Jul 22nd 2009, 03:38 |
Phally |
auth calls it |
# |
Jul 22nd 2009, 03:38 |
Phally |
eh, it is automatically called |
# |
Jul 22nd 2009, 03:37 |
alkemann |
i guess one could implement it in controller to just call this |
# |
Jul 22nd 2009, 03:37 |
alkemann |
Phally: $this->Controller->Access->isAuthorized() - why not isAuthorized() on controller? so it's automatically called? |
# |
Jul 22nd 2009, 03:37 |
Phally |
jawohl |
# |
Jul 22nd 2009, 03:36 |
alkemann |
Phally: ? |
# |
Jul 22nd 2009, 00:44 |
pointlessjon |
yeah, y'know the more i program the more i actually become interested in mathematics |
# |
Jul 22nd 2009, 00:43 |
jperras |
and besides, calculus is fun :P |
# |
Jul 22nd 2009, 00:39 |
jperras |
then your options are a bit more limited |
# |
Jul 22nd 2009, 00:35 |
pointlessjon |
i haven't |
# |
Jul 22nd 2009, 00:33 |
jperras |
there are books that start off with no calc, and others that dive right into the thick of it. |
# |
Jul 22nd 2009, 00:33 |
jperras |
it usually depends on whether or not you're familiar with calculus or not |
# |
Jul 22nd 2009, 00:33 |
pointlessjon |
no worries, it's a big internet out there |
# |
Jul 22nd 2009, 00:31 |
jperras |
not particularly; I took my stats classes in university for a math degree, so I'm not actually sure what they cover in those books. |
# |
Jul 22nd 2009, 00:31 |
pointlessjon |
any particular recommendations? |
# |
Jul 22nd 2009, 00:30 |
pointlessjon |
been on the computer too long today ;) |
# |
Jul 22nd 2009, 00:30 |
jperras |
if you're really interested, there are a few books out there on statistics for programmers |
# |
Jul 22nd 2009, 00:30 |
pointlessjon |
err |
# |
Jul 22nd 2009, 00:30 |
pointlessjon |
the solution gets fuzzy around the solution for me |
# |
Jul 22nd 2009, 00:29 |
pointlessjon |
yeah the problem is very clear |
# |
Jul 22nd 2009, 00:28 |
jperras |
I tried to explain it in plain English terms in the wiki, iirc |
# |
Jul 22nd 2009, 00:28 |
jperras |
yeah, they can be a bit dense in places |
# |
Jul 22nd 2009, 00:27 |
pointlessjon |
indeed. I tried reading into the articles you linked to but it was beyond me |
# |
Jul 22nd 2009, 00:26 |
jperras |
curiosity is mankind's greatest gift ;-) |
# |
Jul 22nd 2009, 00:26 |
pointlessjon |
i'm mostly asking out of curiousity |
# |
Jul 22nd 2009, 00:26 |
pointlessjon |
i see |
# |
Jul 22nd 2009, 00:26 |
jperras |
really, it's just a mathematical construct to get a more accurate picture |
# |
Jul 22nd 2009, 00:25 |
pointlessjon |
right |
# |
Jul 22nd 2009, 00:25 |
jperras |
when it should really be closer to 1 |
# |
Jul 22nd 2009, 00:25 |
jperras |
that outlier actually brings the mean to 1.8 |
# |
Jul 22nd 2009, 00:25 |
jperras |
one person gives it 5 stars (e.g. person who wrote article) |
# |
Jul 22nd 2009, 00:24 |
jperras |
4 give it 1 star |