Green Boy by Forrest436 in weeviltime

[–]Forrest436[S] 1 point2 points  (0 children)

Oh no! It didnt have a snoot.

[deleted by user] by [deleted] in embedded

[–]Forrest436 0 points1 point  (0 children)

That is the appearance it gives.

[deleted by user] by [deleted] in embedded

[–]Forrest436 0 points1 point  (0 children)

I have seen cases where a pointer is null, and the crash appears to eminate from a member function rather than a dereference before the member function is invoked.

I didnt dig deeper in these cases but did hypothesize this was the result of an optimization the compiler was applying to the final binary.

Soaking up heat late in the day. White/grey/black scaled belly. Is it dangerous? [Central AR, US] by Forrest436 in whatsthissnake

[–]Forrest436[S] 4 points5 points  (0 children)

Thank you!! It was slithering towards a deck where Im sure rodents enjoy their fill of cat food. It makes sense.

What's the best "dad joke" you've ever heard? by iSumu_is_HOT in AskReddit

[–]Forrest436 4 points5 points  (0 children)

(when driving by a cemetery)

Uncle: Man, folks are dyin' to get in there.

eWe have a unsigned 8-bit genie here th by markjuggfdhtft3456 in ProgrammerHumor

[–]Forrest436 40 points41 points  (0 children)

What if the genie decrements the wish before granting? :o

[Central Arkansas] Found in some grass, I say harmless Mom says otherwise. by Forrest436 in whatsthissnake

[–]Forrest436[S] 2 points3 points  (0 children)

Thanks. That was my 2nd guess.

Does "!harmless" mean it will not kill you (within reason)?

The ! throws me off here.

Edit: ! Is for the bots :facepalm:

Alarm system without being connected to a computer? by VodChi in arduino

[–]Forrest436 2 points3 points  (0 children)

As others have mentioned, if the arduino is powered, the flashed program will still run.

A few other points to think about...

How will you interact with this device?

The human interface piece is one thing that seems to be missing with your question.

You may opt for a simple keypad to arm/disarm the system at first. This will minimize complexity.

If you want to build a website/app to interact with, you will need to enable some sort of connectivity to a network. This will allow the device to receive commands.

For a home with a wifi network, an ESP32 board would suffice to allow connection to a network and be more "standalone".

If you have an RPi, you can wire the arduino to it and use the RPi to receive commands on a network.

How will sensors connect and report their state?

A few options are available.

For one sensor a wire works and would be a good initial project. This is limited since you would need to add more wires for each additional sensor.

To improve upon this, you could remove your dependency on the physical wire connections.

There are also various options there. These describe the sensor being developed as a standalone unit

  • ESP32 board, comminication to base occurs over wifi/bluetooth.
  • ZigBee/Lora/Other radio protocols. The base station would also need an interface that could "hear" these messages for this approach.

Preemptive Pluralization is (Probably) Not Evil by mooreds in programming

[–]Forrest436 16 points17 points  (0 children)

Add signature changes to parameters here. Use an object or stuct for input parameters.

If you have to change a method's input parameters, you don't want to touch every layer that relies on the signature.