News for hackers. Stuff that matters.
Re:Adventures in Wearable Electronics – Making a Light-up Dress by conesus on Thursday January 16, 2014 @01:28PM (#7071406)
I addressed the repeated nature of the code in the post. Fact is I was under a 2 day deadline, and that included both hardware and software.

I would have loved to abstract the code so I could not only not repeat myself when addressing multiple strands, but there are a couple routines where the lights go in one direction then immediately switch to go back where they came from. That also could have been refactored, but with only two days to do it all I had to cut corners.

But hey, it shipped!

Re:Adventures in Wearable Electronics – Making a Light-up Dress by jgrahamc on Thursday January 16, 2014 @01:37PM (#7071477)
I agree. Shipping matters: my comment on the code was just a friendly observation.
Re:Adventures in Wearable Electronics – Making a Light-up Dress by hnriot on Friday January 17, 2014 @12:04AM (#7074392)
"but with only two days to do it all I had to cut corners." - I took one look at the code and would hazard a guess that getting rid of all the repetition would have saved you time. It's hard to look at all that repetition and not want to fix it! The dress is cool though, not so keen on the jacket.

not sure if there's much demographic overlap, but you should check out some of the rave gear if you enjoy lightshows.

Re:Adventures in Wearable Electronics – Making a Light-up Dress by RyanMcGreal on Friday January 17, 2014 @07:57AM (#7075478)
"I would have written a shorter letter, but I did not have the time." -- Blaise Pascal