News for hackers. Stuff that matters.

cuoverhere

The SK6812/APA102s come in a 2020 package now, but I haven't seen them on a strip. @wow_elec_tron on instagram has been working on his own flex pcbs for them. I think he may do a kickstarter to get some in production.
Re:What HP Must Do to Make Amends for Its Self-Destructing Printers on Wednesday September 28, 2016 @05:58PM (#12601683)
> "it's hard to put replaceable printheads with reliable plumbing into a low-end mechanism"

Isn't that exactly what HP is doing now when they sell a cheap printer with replaceable cartridges that contain ink and a print head? Are you saying the "plumbing" is the difficult part?

I suspect "economics" in this case means they weren't making huge margins on ink cartridges.

Re:Day of Week Algorithm on Friday March 25, 2016 @04:31PM (#11362469)
perl!

  sub GetDayofWeek {

    my ($year, $month, $day) = @_;
    
     my @monthTable = (0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4);
     
     my @DayofWeek = qw(Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday);
     
     $year -=  ($month < 3) ? 1: 0;
     
     return $DayofWeek[($year + $year / 4 - $year / 100 + $year / 400 + $monthTable[$month - 1] + $day) % 7];
       
  }