News for hackers. Stuff that matters.
Re:Hands-on with the PocketBeagle: a $25 Linux computer with... by DannyB2 on Monday December 04, 2017 @01:10PM (#15846027)
Problem: when a certain alarm condition occurs, an LED on the control panel needs to blink.

Dimwit #1: Ah, use a 555 timer.

Dimwit #2: Use an Arduino with the Blink sketch.

Senior Software Developer: I'll use a Linux board with a blink program running on Node.js. The blink program will watch for the alarm condition and blink the LED in response. The program will also provide a web based configuration interface. What if marketing changes the requirements from a simple blink pattern to:

blink blink (pause) blink blink (pause) etc...

The simple 555 timer approach would be too inflexible.

The arduino approach would require altering, recompiling and re-flashing the firmware.

The senior software developer approach would be sufficiently flexible that you could connect a web browser and reconfigure the blink pattern.

Each blink pattern can be given a name and saved. Such as the slow-blink, fast-blink, double-blink, etc. Each pattern consists of a list of on/off states associated with a duration in milliseconds. Anyone can point their browser to this and reconfigure new blink patterns that become popular.

What could possibly go wrong?

Re:Hands-on with the PocketBeagle: a $25 Linux computer with... by imba404 on Monday December 04, 2017 @02:29PM (#15846682)
Not quite sure if this is sarcasm...

Here's my counter-argument in case you were serious.

Dimwit #1: 555's fail when hell freezes over. An engineering intern can make changes and see it work. The PCB will cost more than the electronics. 555 as a component will be available for years.

Dimwit #2: Arduino/ATMEGA are so well documented that the next engineer supporting this should have no problem making appropriate changes even 10 years from now, assuming Microchip sustains the ATMEGA product line.

Senior Software Developer: You've introduced an attack vector [the web interface], increased the BOM cost [the Linux board], programmed it in a language that changes on a yearly basis [node.js]. Not to mention having to provide a Linux image source programmable [preferably eMMC], and ensuring compatibility of the web config for major browsers for the lifetime of the product. All for a blinking LED.

Re:Hands-on with the PocketBeagle: a $25 Linux computer with... by softawre on Monday December 04, 2017 @03:32PM (#15847200)
His post was obviously sarcasm.
Re:Hands-on with the PocketBeagle: a $25 Linux computer with... by cr0sh on Monday December 04, 2017 @03:59PM (#15847440)
Dimwit #0: A couple of transistors, some resistors, a cap or two - instant flip-flop...
Re:Hands-on with the PocketBeagle: a $25 Linux computer with... by makapuf on Tuesday December 05, 2017 @04:50AM (#15850824)
Dimwit -#0.5 whadayamean a couple ? we already have a diode. http://easy-electronics4u.blogspot.fr/2012/02/simplest-led-f...

Although I'd use a tiny micro or a blinking diode by now.

Re:Hands-on with the PocketBeagle: a $25 Linux computer with... by CamperBob2 on Monday December 04, 2017 @04:04PM (#15847484)
Dimwit #-1: Specify a flashing LED
Re:Hands-on with the PocketBeagle: a $25 Linux computer with... by kees99 on Monday December 04, 2017 @08:24PM (#15849084)
Dimwit #-2: Hey, we already have a microcontroller on this board, and it happens to have plenty of free flash/ram/10mA-sink-gpio. Specify a regular LED and an extra timer in RTOS.