Wednesday, May 30, 2018

Shaffer Family Voting Guide - 2018 June Primary Edition


As always, people should be aware that I am a pretty liberal democrat, though I consider myself fiscally moderate. So these endorsements reflect that position on the political spectrum. Second, I was a little lazy and mostly followed the SF Chronicle endorsements, though for some I had to research further. I include below a link to each editorial source that I used.

Background:
    - I followed all the chronicle endorsements, *except* I picked Villaraigosa for governor. I really like Gavin Newsom, but here am trying to game the "top two" primary system. I am hoping for 2 democrats at the top of the ballot, to optimize the outcome for the November election, which seems to me to be one of the most important since... well... since the last national election...
    - Beyond that, I used the San Mateo Daily Journal, Palo Alto Daily Post and Sacramento Bee to source endorsements for positions not covered by the Chronicle.

Shaffer Family Endorsements (in order they appeared on my ballot):
* Governor: Antonio Villaraigosa (or Gavin Newsom, really...)
* Lieutenant Governor: Jeff Bleich
* Secretary of State: Alex Padilla
* Controller: Betty Yee
* Treasurer: Fiona Ma
* Attorney General: Xavier Becerra
* Insurance Commissioner: Steve Poizner
* Member State Board of Equalization, 2nd district: Malia Cohen
* US Senator: Dianne Feinstein

(San Mateo Ballot pages)
* US Representative: Jackie Speier
* 22nd Assembly District: Kevin Mullen
* Judge of Superior Court, office #2: Gerald Buchwald
* Superintendent of Public Instruction: Tony Thurmond
* County Superintendent of Schools: Nancy Magee
* Assessor: Mark Church
* Controller: Juan Raigoza
* Coroner: Robert Foucrault
* District Attorney: Stephen Wagstaffe
* Sheriff: Mark Melville (this was a close call, still not really sure...)
* Treasurer: Sandie Arnott
* Prop 68: Yes
* Prop 69: Yes
* Prop 70: No
* Prop 71: Yes
* Prop 72: Yes
* Regional Measure 3: Yes


Editorial Sources:

SF Chronicle endorsements:
    https://projects.sfchronicle.com/2018/voter-guide/endorsements-list/

San Mateo Daily Journal endorsements:
    https://www.smdailyjournal.com/opinion/editorials/daily-journal-endorsements-for-san-mateo-county-june-elections/article_be91448a-5fba-11e8-81f7-1bd664e210de.html

State Board of Equalization, 2nd District
    https://www.mercurynews.com/2018/05/09/editorial-pick-cohen-for-tax-board-that-should-be-shut-down/

Superintendent of Public Instruction:
    http://www.sacbee.com/opinion/california-forum/article209944079.html

San Mateo Judge:
    http://padailypost.com/2018/02/09/contested-judge-race-san-mateo-county-takes-interesting-turn/


Friday, April 27, 2018

Dave's Learner's permit tips

DMV learner's permit checklist: https://www.dmv.ca.gov/portal/dmv/detail/dl/checklists/permit_under18

Notes:
* I've updated some of this on 10/30/2020 (time of Covid, so this may not all apply when this pandemic is over), based on my son just getting his license.
* DMV's now take credit cards! Bring cash, check, credit or debit card for all transactions that require money. However, just getting your driver's license didn't seem to require any payment or application, if you have gotten a learner's permit.

Step 1: Fill Out Application Form

Step 2: Make Written Test / Learner's Permit Appointment
* We made an appointment for the learner's permit in San Mateo. These schedule out a couple months, so do this asap. The DMV checklist says you can't get a learner's permit without an appointment (except in San Jose, for this area), but it appears they don't enforce this, as I know two people who took their permit test as walk-ins. However this required hours of waiting - an appointment will greatly reduce wasted time and maybe they do sometimes enforce the rule that you need one.

* At this time, you should also make your in-car driving lesson appointment for as soon after your written test as possible, since your learner's permit won't be valid until you start the in-car lessons.

Step 3: Complete On-Line Driver's Ed Course
* You have to complete and pass the on-line course (e.g. we used driversed.com) before getting your learner's permit. They send you a physical certificate of completion in the USPS mail that you have to bring to the DMV to get your learner's permit. So you need to finish the on-line class maybe a week or more before your permit appointment...

Step 4: Take Written Test, with Required Docs, to Get Learner's Permit
* I wasn't sure based on the DMV info whether you need the learner's social security card. The answer seems to be you do not. They asked us if we had it, but when we said no, that didn't present a problem.

* You have to have proof of address, but it can be proof of the parent's address, as long as you have a birth certificate for the kid which shows that the parent is related to the kid.

Step 5: Start In-Car Driving Lessons
* Your permit is not valid until you take the first of the in-car driving lessons. These can take a month or more to schedule as well, so you should schedule this around the same time you schedule learner's permit appt. DriversEd.com doesn't do in-car lessons any more, and they have switched us to CoastlineAcademy.com - my son was especially happy with the driving instructor Sam and his driving seemed to get better quickly after two lessons w Sam.

Others have used Olympic driving school with Mohammed (Mo) and Jaime (650-777-0003) and been happy. You can schedule the lesson before you get the permit, so you should schedule the first in-car lesson for as close to the permit date as possible. If somehow you fail the permit written test, you can still do the in-car lesson as you can actually drive with them even before you get your permit - they just have to know in advance if you don't have your permit as they do some other kind of paperwork or something.


After you get your learner's permit
========================

* Our insurance company (USAA) wanted to be notified we had a driver in the household on a learner's permit and they added her to our policy. There was no charge for this, so no reason not to do it.

* For what it is worth, our auto insurance was an additional $1200/yr to add a 16 yr old girl in 2018 with a new driver's license to our policy (includes drivers ed and good student discounts). A medium nice new car (e.g. Rav4) will add another $1000/yr to our policy. We saved a significant amount of money by taking collision off our 16yr old BMW and assigning it as the primary car for the new driver.

In Oct 2020, we added our 16yr old son to our policy, with the same older car assignment and good student discounts, that added $1000 to our annual policy costs.

YMMV...


Preparing for your driver's test
=========================

Step 6: Schedule the In-car Driver's Test

* There is a big difference in the difficulty in passing the actual driving test. San Mateo is one of the hardest, and Daly City and Redwood City much easier, e.g. see:
http://roadtestpassrates.com/

* Make your DMV driving test appointment as soon as possible as things are a mess with the RealID requirements and Covid right now. You can theoretically book online at https://www.dmv.ca.gov/wasapp/foa/driveTest.do or call (800.777.0133). Also, fyi, I made an appointment for me (Dad) to get my CA RealID at the same time as my daughter was getting her driver's license. This worked out pretty well.

* If you are taking your test at the Daly City DMV, here are a couple practice routes to prepare for your test. Note that my son just got his license Oct 2020 and the route they took him on was very different. We don't have that one, but it was 9 mins total driving, so pretty quick.

https://docs.google.com/document/d/1hPFIrNl4_HX6xFGU7F7qjEcEM2rkDhcIb0lAsRt2WfE/edit?usp=sharing

* You will need to finish your last in-car driving lesson before taking the test. The driving schools will not take you on the DMV route (though, per above, you can do that yourself for Daly City) as they say it is illegal for them to do, or even drive right around the DMV. However, they will drive in the vicinity of the DMV where you are taking the test, which for us was a good idea.

* We had always wondered a few things:
    - Do you HAVE to take a right on red during your test, or can you choose not to? I asked the Daly City DMV person who administered my son's test and she said you don't have to, but if you do, it must be safely executed. Seems like you should do it, if you are very confident it will be safe, and skip it otherwise.
    - My son's driving instructor said he should look both ways and ahead when approaching EVERY intersection. This is something adult drivers rarely do, but it does seem to be part of the DMV test requirement. My son got docked 3 errors for this during his test (see test results below). Not a big deal, as you can have up to 15 of these minor errors, but this is a thing to note.
    - What exactly do they make you do in the pre-drive checklist? See below as well. In my son's case, they just made him point at things like windshield wiper control, defroster, etc.



Step 7: Take the Driver's Test

* You need to bring with you into the DMV:
    - your learner's permit with the certification from the driver's ed person that the in-car lessons have been completed
    - registration and current proof of insurance document

* Both my kids took the test in Daly City and found the examiner nice and friendly. They passed on the first try, for what it's worth. The whole process took about 3 hours w my daughter, pre-Covid on a Tues afternoon, and 90 mins w my son in Oct 2020. 

* Optional: your learner can get their CA RealId at the same time, assuming they pass the test, but to do this, you will need to bring those docs as well (soc sec card, passport, proof of residency like a bank statement - either in the learner's name, or in the parent's name, if you also bring a birth certificate for the learner which shows the parental relationship). Also, in the current time of Covid, it seems you have to do that as a separate process - fill out an application on a computer when you arrive and start a separate flow. This was different than it was 2 years ago, so we didn't do it and can't comment on how well it works to do this at the same time as the driver's license test.

* Once passed, call your insurance company to add the new driver

OK, that's all - good luck!!!





Tuesday, June 13, 2017

Lab 5-Lifecycle - Entries for cut + paste for command line

Set environment:

export PATH=/u01/app/oracle/fmw/12.2/oracle_common/modules/org.apache.ant_1.9.2/bin/:$PATH

export JAVA_HOME=/usr/java/jdk1.8.0_51

Find Ant packages:

cd /u01/app/oracle/fmw/12.2/soa/bin

Compile from command line:

ant -f ant-sca-package.xml -DcompositeDir=/u02/oracle/developer/mywork/POProcessing/POProcessing/SOA -DcompositeName=POProcessing -Drevision=3 -Dsca.application.home=/u02/oracle/developer/mywork/POProcessing

Deploy from command line:

ant -f ant-sca-deploy.xml -DserverURL=http://localhost:8001 -DsarLocation=/u02/oracle/developer/mywork/POProcessing/POProcessing/SOA/deploy/sca_POProcessing_rev3.jar -Doverwrite=true -DforceDefault=true -Dconfigplan=/u02/oracle/developer/mywork/POProcessing/POProcessing/POProcessing_dev_cfgplan.xml

Sunday, June 11, 2017

Connecting to SOA 12c Quickstart install embedded Java database

I couldn't find this information in the docs or any public sources via Google search, so I thought I would share it with the world.

Anyone reading this is likely already aware that Oracle SOA Suite 12c has a developer install called the Quickstart, which provides a JDeveloper dev environment with a bundled run-time server embedded in JDev for dev/test purposes. This server includes a Java database, which SOA Suite uses, but which also has pre-installed schemas for the end-to-end order processing tutorial. If you want to use this embedded Java database to create database adapters, or anything else requiring a database, you will need connection information - which is hard to find.

In any case, the answer is that if you are creating a database adapter for a SOA composite or Service Bus service, you use:
  • Note: first, you must start the embedded WebLogic Server Instance in JDev
  • Connection type: Java DB (Derby)
  • *No* username or password
  • Driver Class: org.apache.derby.jdbc.ClientDriver
  • Hostname: localhost
  • Database name: soainfra
  • JDBC Port: 1527
And if you are then perusing the database tables using the database adapter, to find the tutorial tables:
  • Select schema: SOAINFRA
  • Query against %
  • You will see all the tables begin with E2E, as in "E2E_1201_PAYMENT_INFO" for the credit card table
See screenshots below and enjoy!



Wednesday, June 29, 2016

Installing SOA Quickstart 12.1.3

(For those who still want to install / run SOA Suite 12.1.3 for whatever reason...)

Note: Oracle's 12.1.3 Quickstart install guide is located at: https://docs.oracle.com/middleware/1213/core/SOAQS/integrated.htm#SOAQS206. Or, you can use the quick cheat sheet below...

1. Download the SOA Suite 121.3 installer zip file from:
http://www.oracle.com/technetwork/middleware/soasuite/downloads/soa1213qsdownload-2769533.html

    -accept the OTN license and open up the Recommended Install Process region to get to the download

2. Unzip installer so you have the jar file in a directory <somewhere>

3. Download and install the JDK - docs say you need JDK 7 update 55 or later. I tested with JDK 7 update  80, which can be located at:
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html#jdk-7u80-oth-JPR
specifically for Windows 64 bit: http://download.oracle.com/otn/java/jdk/7u80-b15/jdk-7u80-windows-x64.exe (though this link only works if you have accepted the license agreement in the last 30 mins...)

Note: SOA Suite 12.1.3 only runs with Java 7 (not 8). SOA Suite 12.2.1 only runs with Java 8 (not 7...)

4. Open up a command prompt - RUNNING AS ADMINISTRATOR by right-clicking the command prompt icon and choosing run as administrator - and cd to where you put the SOA Suite jar files. You will also need to make sure you are picking up the right Java - both the right version you just downloaded and the one associated with a JDK and not a JRE. For me, accepting the default location on Windows 64 bit for my Java installation, I was able to run the SOA Suite installer with:
"C:\Program Files\Java\jdk1.7.0_80\bin\java.exe" -jar fmw_12.1.3.0.0_soa_quickstart.jar
(on my laptop, it takes 2-3 mins to extract all the files and then the graphical installer comes up - the screens in the installer wizard are pretty self-explanatory so I won't go through them here...)

5. Fire up JDev and go!

Friday, March 25, 2016

Second SOA Expert Series Webinar: Upgrading to SOA Suite 12c - Apr 6 at 9AM PDT

Upgrading to SOA Suite 12c:

Tips and Best Practices from Engineering, Customers and A-team

Presented by Oracle Integration Cloud team and Middleworks
Weds, April 6, 2016
9:00 am  |  Pacific Daylight Time (San Francisco, GMT-07:00)  |  1 hr

In this, the second webinar in our SOA Expert Series, we have put together a panel to share tips, tricks and best practices for upgrading to Oracle SOA Suite 12c. By now, many customers have made this transition, but there is still a very large install base of 11g deployments out there. This session will share real world experiences and lessons learned from those who have been down this path. As usual, we will have an active panel with brief, focused presentations and pointers to much more content which can be digested following the session. Come prepared with your questions and comments!

Planned participants on the panel or available to answer chat questions include:
  • Antony Reynolds and Jay Kasi from the Oracle Service and Cloud Integration prod mgmt team, responsible for 12c upgrades, providing an overview and best practices for upgrade and describing some of the new features in 12.2.1 available to those who upgrade
  • Danilo Schmiedel of Opitz, an Oracle ACE Director talking about lessons learned and best practices from a 12c upgrade experience
  • Deepak Arora of the Oracle A-Team who has assisted several customers with 12c upgrades
  • David Shaffer of Middleworks, moderating and providing additional resources
  • Kathryn Lustenberger from the Oracle Service and Cloud Integration prod mgmt team responsible for this series
  • Vamsee Goruganthu from the Oracle QA team, responsible for SOA 12c upgrade QA
The content for this session is fast, focused and highly technical, with extra materials and links to documentation provided in the slides for attendees future reference. All who register will receive invitations to future related events and the ability to access a recording of the webinar. To access this information for previous webinars, and see the schedule for future webinars, go to http://www.middleworks.com/soa-expert/


Finally, for anyone who has upgraded to 12c already, or plans to do so in the next 12 months, we request that you fill out the one-page survey below. This information will not be shared publicly, except in the aggregate or anonymously. But it will of great value to the product team and community:
    https://www.surveymonkey.com/r/soa-12c-upgrade

After your request has been submitted, you'll receive instructions for joining the meeting. Can't register? Contact support. Have requests for future webinar topics or want to offer to be a presenter? We would love to hear from you. And, please feel free to share this information with other interested colleagues.

Monday, March 21, 2016

Cheat sheet and links for installing SOA Suite 12.2.1

I just finished installing SOA Suite 12.2.1, developer edition, on my laptop and took a few notes to try to expedite the process for others. Personally, I find each time I install I need to spend a few mins looking around for the right links, the right JDK, the right commands to run the installer. So in case these are useful for others, here are my notes:

1. Download the two SOA Suite installer zip files from:
http://www.oracle.com/technetwork/middleware/soasuite/downloads/index.html
    -accept the OTN license and open up the Recommended Install Process region to get to the downloads

2. Unzip installers so you have two jar files in a directory <somewhere>

3. Download and install the JDK - docs say you need JDK 8 update 51 or later. I tested with JDK 8 update 92, which can be located at:
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
specifically for Windows 64 bit: http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-windows-x64.exe (though this link only works if you have accepted the license agreement in the last 30 mins...)

4. Open up a command prompt - RUNNING AS ADMINISTRATOR by right-clicking the command prompt icon and choosing run as administrator - and cd to where you put the SOA Suite jar files. You will also need to make sure you are picking up the right Java - both the right version you just downloaded and the one associated with a JDK and not a JRE. For me, accepting the default location on Windows 64 bit for my Java installation, I was able to run the SOA Suite installer with:
"C:\Program Files\Java\jdk1.8.0_92\bin\java.exe" -jar fmw_12.2.1.0.0_soa_quickstart.jar
(on my laptop, it takes 2-3 mins to extract all the files and then the graphical installer comes up - the screens in the installer wizard are pretty self-explanatory so I won't go through them here...)

5. Fire up JDev and go!