Forgot your password?

typodupeerror

Comment: Re:To hell with noise pollution (Score 1) 402

by ChrisMP1 (#39668143) Attached to: Audi Gives Silent Electric Car Synthetic Sound

Say, hold out your arm and point to the other side for 10 seconds before crossing. Then train drivers to actually stop for that signal?

OK, not a bad idea. Couple problems, but it could work.

Sighted people could use the same signal

And here is where it falls apart. People will start ignoring the signal again as soon as those who don't need to use it start to use it anyway.

Comment: Re:I have to agree (Score 1) 728

by ChrisMP1 (#38948167) Attached to: No Pardon For Turing
I don't see how Richard Dawkins is an "inflammatory jerk-off". Hitchens you could definitely make a strong case for, but Dawkins? Certainly he's very vocal about his opinions, but there's nothing wrong with that. He seems to me to be a very kind person. Christopher Hitchens was the one who'd miss no chance to tell you you're a fucking retard.

Comment: Re:Where are the hackers? (Score 1) 62

by ChrisMP1 (#38775186) Attached to: Adafruit's Open-source Wearable Platform, Flora

Any reason why you couldn't replace your ATmega with something like this Cortex M0 and have the same cheap DIP setup?

Actually, no. That's the first time I've seen a nice DIP ARM chip, and I'll have to look into it. Thank you! But I'm still not going to do that immediately, since I still have a bunch of AVRs sitting around, and quite a bit of time invested in learning the ins and outs of programming them. I also suspect that chip is a good bit more expensive than a simple ATmega, though I haven't actually looked, so I could be dead wrong.

Also did you benchmark the digitalWrite function?

No proper benchmarking, but in my experience it is much slower. I did read the source code. It compiles to a rather complex C++ function involving multiple table lookups and branches - repeated for every single digitalWrite(). Not nice at all for bit-banging protocols and such. When you call digitalWrite(12, 1);, it actually has to look up which register "pin 12" is in, and which bit that is. Then it checks to verify that you actually called pinMode(12, OUTPUT) - every damn time. And it does this with function calls, not just OR-ing the PORTB/C/D register with the right bit.

Comment: Where are the hackers? (Score 2) 62

by ChrisMP1 (#38773912) Attached to: Adafruit's Open-source Wearable Platform, Flora

Everyone is just bitching about how much better their favorite chip is than AVR. This isn't even an article about that. Save it for an article about different microcontrollers.

As for the "WTF would I do with a 'wearable platform'" questions - what happened to all the hackers on Slashdot? You know, the people who were actually interesting? Jesus, I don't know what you'd do with it. I don't know what I would do with it, to be honest, but whatever happened to that inventive spirit? Just because you can't think of anything doesn't mean it's useless.

Now allow me a minute of hypocrisy to discuss why I like AVR. When I want to prototype a microcontroller-based device, I don't need some $55 "Maple" device, or even an Arduino. I bought a tube of five ATmega328s from eBay for $7. I toss one on a breadboard with a 16 MHz crystal, a couple of capacitors and a pullup resistor for the reset pin and wire it up to a 5V power supply. When I make the final circuit, I throw a DIP socket on the board, and into that socket goes the programmed chip. Again, with just a crystal, two capacitors and a resistor (maybe with a decoupling cap, depending on the rest of the circuit). Total cost? Maybe $5.

No need to even use the Arduino "IDE" or anything else, if you don't want to. And why would you? It's crap, anyway. I edit the file in vim, and generally stay away from their slow helper functions like digitalWrite() in favor of direct register access. But sometimes, it's nice to throw an Arduino library in the project. They might not be fast, but hey, you're using a 16 MHz microcontroller! It's really easy to just #include and be ready to use an LCD.

Comment: Re:It's very likely he literally needs mental help (Score 1) 576

by ChrisMP1 (#38534614) Attached to: World's Worst PR Guy Gives His Side

Good point about autism, and that hits home for me because I have a large number of autistic family members. Of course, "slow" is still a valid description, if a bit politically incorrect, while "just didn't want to pay attention" intentionally blames the individual.

The difference that I see is that autism and ADHD can be studied properly, we know a good bit about their causes (if not enough, it's still a start) and can medicate (whether that is desirable is a different story, but it does show that there are actual, medical causes behind them). However, I have yet to see a difference between a personality disorder and a shitty personality. They seem to be just labels for a common personality we find unpleasant.

Don't abandon hope. Your Captain Midnight decoder ring arrives tomorrow.

Working...