?

Log in

No account? Create an account
entries friends calendar profile My Website Previous Previous
mrflash818

2011 Honda Pilot - oil change

New Purolator oil filter and Valvoline 5w20 oil.

Odometer at 99,886miles

Tags: , , ,

Leave a comment

Roadside Picnic by Arkady and Boris Strugatsky

Sci-fi

Aliens have visited and left spots on earth. They left Artifacts the people try to study and understand.

Liked it

Reminded me of the vibe from "The Man in the Maze" by Robert Silverburg

Tags: , ,

Leave a comment

Geek-friendly (hopefully) places to apply to, for my Next Job

JPL/Nasa

Movie studios - WB, Paramount, Dreamworks, Sony, etc

Entertainment companies - ABC, NBC, etc

Tags: , ,

Leave a comment

timediff - c++ version - using with gnu date

The gnu date command give the current date on the computer system. The --iso-8601 parameter tells date to provide in the YYYY-MM-DD format

robert@pip2:/tmp$ date
Sun Feb 10 07:35:12 PST 2019

robert@pip2:/tmp$ date --iso-8601
2019-02-10

Then you use command substitution to get the output of the gnu date command, in the format timediff needs (ISO 8601), as an input to timediff:

robert@pip2:~/projects/cplusplus/timediff$ ./timediff
timediff date1 date2 

where 

dates are in ISO 8601 format and are after 1800 A.D. 
(http://en.wikipedia.org/wiki/ISO_8601) 
(basically yyyy-mm-dd) 


robert@pip2:~/projects/cplusplus/timediff$ ./timediff $(date --iso-8601) 2019-12-31
324
robert@pip2:~/projects/cplusplus/timediff$ 

Tags: , , , , ,

Leave a comment

Virtual Light by William Gibson

Sci-fi. Spends a lot of time in a Future San Francisco that I think I would enjoy living in, or nearby enough to interact with.

Liked it.

Tags: , ,

Leave a comment

1998 Jeep Cherokee - "She's dead, Jim" -- Star Trek

December was the month the Jeep's registration was due. For 2018 the registration required a smog check.

Took the Jeep to the local "test only " smog check station, as needed.

They put the Jeep on the dynomometer. Even at twenty years old, the Jeep passed tailpipe emissions quite well.

test%CO2%O2HC (PPM) MEASCO% MEASNO (PPM) MEASRESULTS
15mph15.90.0160.01130pass
25mph15.20.0110.02123pass

BUT this year, then the smog technician did the OBD check (I do not remember they _ever_ being required to do an OBD check before this time, if it had passed the dyno), and it gave them two "pre" trouble codes. Mind you, car had just passed the dyno tailpipe emissions test. No "check engine" light ever turned on in the Jeep.

SO, because of the two "pre" trouble-codes, they failed the Jeep for the smog check, and I could not get it registered for 2019.

So, yes: I feel frustrated. The car does not pollute. I feel like it could not get registered due to a technicality. So what if a sensor might be bad on a twenty year old car. If it does not pollute, per emissions tailpipe, it should be allowed to be driven. Period.

But, since it failed, technicality or not, it cannot be driven. I am not going to put half a thousand dollars of repairs into a car that might just die anyway and get replaced. So, for all practicable purposes, my Jeep is dead.

Now will clean it out of tools and personal belongings, then research salvage yards that might give me a few dollars for it, and then have it towed away.

It served myself and my little family well, for twenty years. I am grateful to those that built it. I knew it had a finite lifetime. Cannot begrudge twenty years of service.

Tags: , , ,

Leave a comment

1998 Jeep Cherokee - fuel gauge busted

Kinda bummed. The fuel gauge on the 20yr old Jeep Cherokee is busted. Says 1/2 tank. Car wouldn't start. Bought a 2gal gas can and put 2gal of gas in it, and it started right up.

Now I gotta be careful to fill it up more often than I think it needs, so I don't get stranded again. *old car woes*

Will also now keep the 2gal gas can and funnel in the car at all times, just in case.

EDIT 2018-12-08

Will start researching the parts and procedures to replace the in-tank fuel sending module (fuel pump + fuel level sensor). Hoping I can do it myself, as a driveway mechanic, one weekend in the next few months.

Tags: , , ,

Leave a comment

2011 Honda Pilot - rear brake pads replacement

Odometer was at 95038miles.

Procedure update. Like for the front brake pads: Only remove the lower 12mm caliper bolt. Rotate the caliper upwards, and use a bungie cord through the 12mm bolt eyelet to secure the caliper out of the way. Rest of the procedure same as before.

Tags: , , ,

Leave a comment

C++ multi-threading programming, debian, g++, gnumake, design patterns

I haven't played with multi-threaded programming since college. Having fun reading online tutorials about using std::thread, mostly. Next, want to try to find/discover best-practices in designing C++ multi-threaded programs, multi-threaded design-patterns, multi-threaded OOSE, and such.

Tags: , , , , ,

Leave a comment

C++ multi-threading programming, g++, gnumake

For the compiler in Debian Stable that I use, the Programmer needs to add two flags to enable support for

  • <thread> and
  • std::thread
functionality to the CXXFLAGS variable.

So in my makefile(s) that I use for using C++ multi-threading, I added the below two CXXFLAGS.

  • "-std=c++11" and
  • "-pthread"

#
# CXXFLAGS
# used by gnu make's implicit rules
#
# I choose to show all warnings (-Wall), and include debugging information (-g)
# I choose to include support for C++11 (-std=c++11);
#   the g++ version in my Debian Stable, g++ version 4.9.2,
#   requires it to use std::thread
# I choose to include support for pthreads (-pthread)
#   the g++ version in my Debian Stable, g++ version 4.9.2,
#   requires it to use std::thread
#
CXXFLAGS := -Wall -g -std=c++11 -pthread

Tags: , , , , , , ,

Leave a comment