News for hackers. Stuff that matters.

abarrett

Re:I was in the MAPS MDMA for PTSD study on Friday October 06, 2017 @03:09PM (#15419516)
Resize to around 480px width and you'll see the problem.
Re:Fedora Loves Python on Wednesday July 12, 2017 @05:21AM (#14751154)
I distro-hopped a lot before somewhat reluctantly giving Fedora a shot. Turns out it's a fantastic distribution for developers because:

  - You don't have to configure everything from scratch
  - Packages are kept relatively up to date
It's not rolling release (unless you use Rawhide) but software is recent enough for it to be a non-issue.

It's also an extremely well-established project with a huge software repository.

Re:Why Don't Computer Scientists Learn Math? (2016) on Friday March 24, 2017 @03:34PM (#13951581)
Provide this legend with the formula. Now how many people understand it?

∈ = is an element of

∀ = for all

∃ = there exists

Re:Practical Color Theory for People Who Code on Thursday March 16, 2017 @07:23AM (#13884115)
It's a linear interpolation of RGB values. I'm sure it could be improved on.

http://sass-lang.com/documentation/Sass/Script/Functions.htm...

200 mg twice a day for 4 years, that's crazy! I'm surprised that guy got any sleep at all.

I use Modafinil _responsibly_ (I like to think) and for me that means 50 mg, taken early in the morning, only on days that I might need the boost (bad night's sleep, busy day, etc).

Re:XXX TLD Officially Open on Thursday September 08, 2011 @07:02AM (#2973370)
For me it is simply: `, a = à. Using Windows. Go keyboard layouts! (United Kingdom Extended, in this case.)
Re:Google Fiber: 151Mbps down / 92Mbps up on Tuesday August 23, 2011 @06:42PM (#2918669)
Since we're talking hypothetically, the lower boundary would really be the diameter of Earth.

    12,756.2 km / c = 42.5501031 ms
http://www.google.com/search?q=diameter+of+earth+%2F+the+spe...
Re:Short array syntax finally in PHP 5.4 on Sunday July 24, 2011 @10:52AM (#2799478)
In addition, you only need to specify the first key to create a one-based array. Indexing will carry on from there.

    [1 => [4, 5, 6], [7, 8, 9], [10, 11, 12]]
Re:Short array syntax finally in PHP 5.4 on Sunday July 24, 2011 @10:48AM (#2799472)
http://www.php.net/manual/en/function.list.php

It's a language construct, not a function.

Re:Firefox 5 is now officially released on Wednesday June 22, 2011 @08:12AM (#2682734)
> 28 for for me. I assume it is dependant on the width of tabs, not the number.
Re:PHP Hacking aka trying to push PHP internals forwards on Friday June 10, 2011 @06:09PM (#2642608)
Regarding your first point: it seems short syntax for arrays may well make it into PHP 5.4.

http://www.reddit.com/r/PHP/comments/hw8da/php_fork_based_on...

Re:Conway's Game of Life in CoffeeScript on Tuesday May 17, 2011 @07:10AM (#2555999)
The original version still contains redundancy. It would be:

    cell.live = count == 3 if count != 2