Over 60 generation loving self checkout! Who knew?

How many of you have suffered – literally suffered – from standing in long checkout lines at Shaw’s or other supermarkets.  Your children are cranky, your back hurts, your patience is at its breaking point – yet you wait and wait and wait. Your stress level is causing your face to redden and develop a …

Over 60 generation loving self checkout! Who knew? Read More »

Technology for the elderly and caregivers. Who Knew?

Technology has finally concentrated on the elderly – Thank God!  As a caregiver to both parents for over 20 years – manually checking blood pressure, lungs, heart rate, respiration, and blood sugars was exhausting for my parents and myself.  Congestive Heart Failure is a monitoring nightmare for the caregiver. Observing changes in walking and balance …

Technology for the elderly and caregivers. Who Knew? Read More »

Cypress (ala React, Front-end) is the beans…!

I’ve recently become an expert in Cypress (largely e2e testing, and for me/us largely ala React).  It is fantastic, and combines all the right techniques you know and love. I’ve spent years in Jest/Jasmine and other test/frameworks, and they lack so much.  But the reality is that testing front-end/GUI is just HARD!  It’s not like …

Cypress (ala React, Front-end) is the beans…! Read More »

New paper! Best Modern React Data Sharing Approaches

Too much confusion and far too complicated data-sharing use-cases cause many React developers to become more discouraged concerning how to share data between React components and classes while preserving one-flow direction and asynchronous updates to the UI often from server-side changes or companion components.  Even talented React developers do not truly understand ‘state’, ‘hooks’, ‘context’, …

New paper! Best Modern React Data Sharing Approaches Read More »

Who Knew? What do Knitting and Computers/Digital Technology have in Common?

Both have a positive association on cognitive abilities such as executive function, short term memory, reasoning, global cognitive function, processing speed and recall. In older adults these skills can stimulate several cognitive abilities, brain plasticity and  possibly reduce MCI (mild cognitive impairment).   Knitting can lower heart rate and blood pressure and reduce harmful blood levels …

Who Knew? What do Knitting and Computers/Digital Technology have in Common? Read More »

Special oddness with useState()/useEffect()

This is interesting/weird.  The following code does NOT work: const [refresh, setRefresh] = useState(10); useEffect(() => { setInterval(() => { console.log(“Timeout, refresh:”, refresh); setRefresh(refresh + 3); }, 1000); return list.unsubscribe; }, []); What happens is that each time the timer-interval goes off, the value of ‘refresh’ is still at 10. Why? The value goes to …

Special oddness with useState()/useEffect() Read More »

A different approach to data-sharing of server data/lists across components.

  I ran into a new challenge when I was refactoring and organizing code and components into smaller reusable pieces.  I ran into a case where HOC-like approaches wont work, but perhaps an Inheritance model will, and settled on a much different approach. Let’s discuss the use case.  Imagine your server holds a list of …

A different approach to data-sharing of server data/lists across components. Read More »

Some in-the-trenches tips/experiences with React/Jest (autotesting)

I love React, and mostly like Jest (and Jasmine and Java predecessors) but I will say: I spent a WAY MORE ENORMOUS time chasing simple debugging of jest scripts. Simple stuff. Why? I really dont know. It wasn’t designed for what I really want. It is designed for HUGE systems (like Citibank, Bank America, Amazon) …

Some in-the-trenches tips/experiences with React/Jest (autotesting) Read More »