Friday, October 29, 2021
Monday, October 25, 2021
Sunday, October 24, 2021
Monday, October 18, 2021
Sunday, October 17, 2021
Software development conventions
No comments
We use proper variable names instead of comments. The only exceptions for comments are "//TODO" temporary labels.
Order of class members in within the class definition
Internet suggests multiple ways for ordering and sorting members, and I follow neither of them. It is up to everybody to choose his/her own way of sorting members. It is not important how we sort members; rather it is important how consistently we follow our chosen methodology. So my way to sort members is as follows:
- Inherited (overridden) members from the parent class.
- Everything else.
In within of each of these, items are sorted as follows:
- Variables
- Init{} block
- Constructors(){}
- Functions(){}
- Everything else
In within of each of these, items are sorted as follows:
- Abstract
- Public
- Private
- Everything else
Friday, October 15, 2021
How to reuse (upcycle) garbage at home
This post is an extension for the main philosophy for the Reuse section of Reduce, Reuse and Recycle post.
Garbage types for reuse:
Glass
Tuesday, October 12, 2021
Sunday, October 10, 2021
How to connect an OBD device (car scanner) to an Android phone
To find my OBD device faster, I usually keep it already plugged in the OBD car slot under the steering wheel or at the shelf of the left driver's door.
Turn on the Bluetooth on the phone.
In the phone Bluetooth settings, connect to the "OBDII" device with the password (PIN) "1234".
If the Bluetooth doesn't see OBDII, probably OBDII is already connected to another phone.
If the phone doesn't see " OBDII" device, try to plug the OBD device out of the car's socket and plug it in again.
Download "Car scanner" app:
https://play.google.com/store/apps/details?id=com.ovz.carscanner
In the app, connect to the "OBD" device.
In the app, press "Engine codes".
Troubleshooting:
- switch the phone
- switch the OBD device
- reboot the phone
- plug out and plug in the OBD device
- make sure the car engine is on
Tuesday, October 5, 2021
Monday, October 4, 2021
Sunday, October 3, 2021
Friday, October 1, 2021
Physical aspects of learning and brain work: blood flow, moving, sugar level, oxygen level etc...
A: Watch, A: Inet, A: Listen
Subscribe to:
Posts (Atom)