Tuesday, March 31, 2015

I ****FINALLY**** got onto ADP Time and Attendance. I tried everything to get the Java version working, but nothing worked. So I hacked my way in. If you watch carefully, there's a screen that sometimes appears briefly before the java applet tries to start, giving you a choice to use the HTML version, but it doesn't wait and just continues with starting the Java app. I tried logging off (top right corner of Java time entry applet page) and deleting cookies, but still just goes to Login page. But i noticed that the URL that is briefly displayed on the way to displaying the Java Applet page was as follows
https://eetd2.adp.com/adp/Welcome.aspx?URLType=Java
So i figured i'd change Java to html and it worked!!
So just login as normal to ADP, then enter the following in another tab of your browser to use the HTML time entry webpage
https://eetd2.adp.com/adp/Welcome.aspx?URLType=html

Friday, May 24, 2013

Volt - day 1

First day of Chevy Volt ownership.

I charged it overnight using 110V using delayed charge mode with finish time = 7am and 12Amp. This resulted in a charging start time of about 9pm.

The volt has a 16 kwh battery, but only charges to about 14. This is actually a good thing for me because i live on a hill and get about 3 miles more from regenerative braking as i descend the hill.

The car tells you how far it can go on battery. This morning it said 37miles.
At the bottom of the hill it was 41miles.

I drove to work (slightly different route than normal because i stopped at Macarthur Bart station) and when i got to work it said 30 miles. (from memory, the trip was 21 miles)

So how much does it cost to do my work commute?

PGE E-9A rates are here
http://www.pge.com/tariffs/tm2/pdf/ELEC_SCHEDS_E-9.pdf


My baseline is 7.5kwh in summer and 9.1 kwh in winter (i'm in territory T)

Summer (service from May 1 through October 31):
Peak: 2:00 p.m. to 9:00 p.m. Monday through Friday.
Partial-Peak: 7:00 a.m. to 2:00 p.m. AND 9:00 p.m. to 12:00 midnight Monday
through Friday, plus 5:00 p.m. to 9:00 p.m. Saturday and Sunday.
Off-Peak: All other hours.
Winter (service from November 1 through April 30):
Partial-Peak: 7:00 a.m. to 12:00 midnight Monday through Friday, and 5:00 p.m.
to 9:00 p.m. Saturday and Sunday.
Off-Peak: All other hours.

Here's our typical electricity usage (the peaks on Thursday are when the cleaner comes and uses the washing machine /  dryer / vacuum etc although how she possibly uses 12kwh in 3 hours is beyond me).



It averages to about 12kwh/day.

Previously we were on the standard E1 rate, and we just make it into the higher price tiers. If we were to keep using the E1 rate, the 14kwh we need to charge the car would be at 35 cents per kwh i.e. $4.90 to fully charge.

So how much will it cost to charge on the E-9A rate schedule?
To do the 14kwh volt charge overnight, i'll be using 3 hours of part peak (between 10 and 30 cents per kwh) and 7 hours of off peak (between 4 and 20 cents per kwh). I noticed (from PGE usage statistics on their website) that it charges at about 1.4 kw ... (i.e. 110volts*12amp).
My total per day will go from 12kwh to 26kwh which is about 3 times the baseline, so let's assume I use an equal amount of each baseline and just use an average of them. Average for off peak is 4+6+18+21 / 4 = 12.25. Average for part peak = 10 + 12 + 31 + 35 / 4 = 22. So cost will be 12.25 * 7 + 3 * 22 = $1.51.

So my daily commute of 44 miles should be about $1.51. (I don't know yet if i can do the entire commute on electric, but given that i made it halfway with 30 miles of electric left it will be mostly electric. I normally do a maybe 4 miles over lunch as well).

How does this compare to my old car? I'm not sure what it's mpg was, but let's assume it was 30mpg. 44 miles @ 30mpg = 1.46gallons. At $4.10 / gallon that's $6.

Over a year (250 workdays), gas would cost 250*6 = $1500 and electric costs 250*1.51 = 377. So savings just for work commute (and not considering other trips i do as well on weekends) = $1122.

Friday, January 11, 2013

Julia's School - Jan/Feb 2013



2012-2013 松园消息 Songyuan News—No.3
January 2 – February 6
Pine Garden Kindergarten Inquiry Planner
 Kai-Yao To 
Libby Beytien-Carlson
ShuRenSchool.org 

Important Dates
1/1 Tuesday               New Year Holiday (No School)
1/2 Wednesday          School Resumes
1/21 Monday              Martin Luther King Jr. Holiday (No School)
1/24 Thursday           Field Trip to SF Symphony
2/9 Saturday              Shu Ren Lunar Chinese New Year Party
2/10 Sunday               Lunar Chinese New Year


Greetings Pine Garden families,

I hope you all had a wonderful break. It is very nice to see the children return back to school well rested. This week, we will kick off our third unit of inquiry on Drama 戏剧. We will develop this unit through Language, Social Study, Arts, PSE, and Mathematics. The central idea is that drama expresses human ideas through voice, action, and spirit and this has had significant impact on societies and beliefs. Our Drama unit will be covered in the five-week period from 1/2 to 2/6. The key concepts offunction, reflection, and perspective will be used to answer the questions. Here are my questions/provocations for the children to reflect upon:
·      What is your favorite story character?  
·      What is your favorite story place?  
·      How do stories end?  
·      How would you change the ending of your favorite stories?  
·      What is your favorite part of this story?  
·      Why do we have dramas, plays?  
·      Have you been to a play or drama; how did you like it?

Kindergarten events and activities:

Berkeley Repertory Field Trip: On Thursday, December 6 we went to Berkeley Rep to watch a well-known Chinese folktale performance, “White Snake.” We had a great time. I want to say thank you to Christine (Lukas’ mom) and Wilfred (Aliana’s dad) for chaperoning the field trip. We also had a class discussion after viewing the show. The children talked about their feelings about the play. We will be continuing to inquire about the story, stage design, music, and language, and actors and actresses in the White Snake play.

Guest Speaker from Berkeley Repertory: On Monday, 1/7 at 10am a guest speaker from Berkeley Rep will be coming to teach the children how to develop a play story.

Field Trip to SF Symphony: On Thursday, 1/24 at 9am we will attend a performance at the SF Symphony.  All children should bring a BART ticket with at least $10 in order to pay for the fare from North Berkeley Station to downtown SF.  We will be back at school before 3pm.  We will not need parent chaperone’s for this field trip due to limited tickets to the symphony presentation. More details will be posted.

Chinese Lunar New Year Celebration: As you know, the Chinese Lunar New Year is coming on Sunday, 2/10. The Shu Ren PTO will be organizing a celebration party on Saturday, 2/9. Please mark this date in your calendars if you plan to attend this event! More details and the Party event location will be posted. As is the tradition, the Pine Gardeners will be performing the lion dance. The children have started to practice a lion dance for our Chinese Lunar New Year celebration. They will follow the drumbeat and learn how to sniff, run, and bow like a lion. Please note that this is a good opportunity for your child to learn how to collaborate with others and also is one of our Drama inquiry presentations. Your child needs to be very committed for rehearsals as well. The rehearsals will be during the last period of the day. Please give much encouragement to your child. Thank you for your cooperation!

Room Parents: I want to say thank you to Shauna (Alec’s mom). I am very appreciative of Shauna’s dedication and for all that she has done for the Pine Garden. Following Alec’s promotion to the 1st and 2nd grade class, Shauna has stepped down from her Kindergarten room parent job. I am also very glad that Kendall (Margaret’s mom) has agreed to take over the room parent duties. Thank you Kendall!!! Kendall will be organizing the class events and field trip parent volunteers. If you would like to get involved, you can contact Kendall at kcon123@gmail.com

Action Tree Wall: What does action mean to you!! This was a provocation that I learned in LA at the IB workshop. I would like to share with you why it’s very important for children to initiate action. To make PYP happen, I found that provoking children’s thinking and learning are very important. I would like to ask parents to take a moment to think about the action your child takes at home and write them on a sticky note or notes to post on the Kinder action tree wall (by the front door white board). How did the child show action? The child’s action could be very simple that she/he shows initiated action through her/his learning. For example, regarding our second inquiry Celebrations, we have children who have explained how we celebrate the Day of the Dead and Hanukkah in the class. They shared their learning with their family members. Some children also shared their understandings of the Hanukkah by sharing Chinese vocabulary with Jewish synagogue’s Pre-School students and teachers. Your participation is also very important to help me to understand your child’s learning. I will be adding your comments and your child’s action onto her/his report card. I am hoping the Pine Gardeners will learn how to make the right decisions and take good action to embed into their learning and become well-rounded people.

Kindergarten inquiry and subject planners:

Chinese Language: In this section, we will learn Unit one and Unit two, lesson four.

Lesson 4 “男孩和女孩 Boys and Girls” In this lesson the children will learn how to write:  (and),  (is, yes), (girl),  (child),  (today, now) ,  (year) ,  (boy).

We will continue to view from Lesson one to Lesson three. In this session, the children will learn how to make simple sentences to introduce herself/himself. By the end of these lessons, the children will understand and know how to use the vocabulary to construct their bios. Such as who is she/he, how old is she/he, her name/his name, she is a girl or he is a boy, and does she/he like etc… I will send the sentence structure samples home with your child for her/him to use as a homework guide sheet. With the text sentence practices and vocabulary increasing, the children will start to enhance their oral conversation in how to respond and say hello in Chinese, and how to count, how to introduce herself/himself, and write Chinese sentences. The children also will learn the Drama unit of inquiry related vocabulary. We will start to work on our second “My Word Bank Book” to use as a home guided reading.  The word bank book will include Yes! Chinese, Lesson three and the Celebrations unit of inquiry key words.

English Language: As we’ve started our new unit on Drama, the students have learned what retelling a story means. They had an opportunity to discuss and retell the Chinese folktale performance of “White Snake.” I re-read the White Snake, and we brainstormed what happened in the beginning, middle and end of the story. Students were then able to draw the beginning, middle, and end scenes of the White Snake. Every student described their pictures to me as I wrote down what they each said. For this unit, we will focus on a variety of expressions we make and answer “how do we express ourselves in certain situations?” We are also going to read plenty of literature and focus on characters, setting and the sequence of the story (beginning, middle, and end). I will continue with pulling individual students to come read with me in the afternoons. In the morning, we will continue to have three centers focusing on different areas of English. Also, our word wall words are still growing and growing! I look forward for this semester. I have really enjoyed teaching your children! 

Math: In this session, we will learn about Weight, Capacity, and Number Operations. The children also will learn how to recognize and write 轻 (light), 重 (heavy), 比较 (than),  (more), 少 (less), and 一样 (same) math characters.

Weight
·      Identify, name, and compare objects that are lighter or heavier 
·      Compare the weights of objects relative to each other using the terms “heavier than” and “lighter than”
·      Read a balancing scale to determine the weight of objects according to non-standard units of measurement
Capacity
·      Identify objects that have capacity and objects that do not.
·      Compare the capacity of various objects by identifying which can hold more and which can hold less
·      Identify equivalent capacities.
·      Measure the capacity of larger containers by utilizing the capacity of smaller containers. 


Number Operations
Compare Sets
·      Identify and describe sets of numbers and objects using the terms such as 'equal to' or are the 'same', 'more than' 'greater than', 'less than' or 'fewer than'
Comparing Numbers
·      Recognize groups that are more, less or the same
·      Compare the value of two sets of numbers within 10
·      Compare numbers using more than, less/fewer than, or the same as
·      Find “how many more, or less/fewer, than” through matching objects to find remainder (or one-to-one correspondence)
Social Studies and PSE: The children will learn theme transdisciplinary skills of the Communications—Presentation skills bydoing dramatic performance and working on presentation skills such as projecting their voice and showing effective body language eye contact. Reflective will be the leaner profile attribute we focus on. The children will think about the emotions and feelings of characters in stories and plays and will reflect on ways in which they have had similar feelings or experiences and how those have shaped their lives. The PYP Attitude focus is on Creativity & CooperationThe children will develop their creativity in making a drama in the class with their own story and scenery, and they will develop their cooperation skills in working together to produce a drama as a class. In this unit, the children will create a production timeline for the play they will create that shows all the things that they will need to do from beginning to end including writing the script, designing the stage, etc. and putting the steps in chronological order. The children will learn how to develop some body gestures/movements, facial expressions or phrases, to demonstrate a particular emotion and to reflect on how they can relate to that particular emotion. They will learn how to describe their feelings. The children will also learn how to describe and present to the class the reasons they wanted to be a particular character in the play and how that character’s points of view differ or are similar to other characters. After performance, we will have a reflective discussion. We will reread our play story and then have a discussion about the story, the characters, the points of view; the parts the students like or do not like, and how they would change the story.  


Geography: We will be reading many folktales, stories from different regions and cultures. The children will learn about where the stories come from and also can name some of the countries after this unit. We also will compare some similar folktales across cultures. Such as different cultural versions of “Cinderella.”

Art: The children will learn how to draw a stage design and costume design. We will review the costume in White Snake. The children will learn about the timeline of clothing from Ming Dynasty through current modern outfit style. They also will learn how to compare the Ming Dynasty costume style with the same period costume style in the West. The children also will learn how to draw play script books and also will learn how to make their own play costumes for their drama production.
Description: https://mail.google.com/mail/images/cleardot.gif
Singing: The children will learn songs “Expressions / 情绪表达 and Stage / 舞台.”

Wednesday, October 26, 2011

Reset SQL Server Express 2008 sa password and change from windows authentication to SQL server authentication


The challenge ... get sa access to an unknown SQL server express 2008 R2 database using SQL server authentication without installing SQL server management studio when database was setup with windows authentication.

I needed a database on the remote server, and it already had a SQL server express database but i didn't know anything about it including username/passwords. I could log on from my machine using SSMS using windows authentication, but did not have enough permissions to create a database. I figured i needed an sa login (both for my SMSS connection, and for using the database later from software). There's lots of information out there for doing this with SMSS installed locally on the machine, but i didn't want to install SMSS because it's just so big (500MB) and takes a long time and i have a wifi connection to the remote server and i was up for a challenge of how to do it without SMSS.

First, we need to reset the sa password. (Actually, SQL server by default installs without sa enabled and you would normally set a strong password in SMSS and enable the account)

You need to switch SQL server express to run in single user mode i.e. the -m switch.
Start SQL server Configuration Manager (Start > Programs > Microsoft SQL Server 2008 > Configuration Tools), and right click on the Sql server process and select properties. On the "advanced" tab, select startup parameters and you see "-dc:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\master.mdf;-ec:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\Log\ERRORLOG;-lc:\Program Files\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQL\DATA\mastlog.ldf". Add ";-m" to the end of this and restart service.

You can run MS SQL Server commands with osql e.g. from command prompt run
osql -E -q "SELECT * FROM sysdatabases"
List your database instances with
osql -L
then run commands on your chosen instance.
Set the sa password to something new...
C:\Users\Administrator>osql -S instance -E
1> sp_password NULL,'yourPassword','sa'
2> go
and enable the sa user
C:\Users\Administrator>osql -E -q "ALTER LOGIN sa ENABLE"
1> go

When i tried to login with SQL Server authentication, i got error 18456
Checking event viewer on the server, it says SQL server is setup for windows authentication.

We need to enable Mixed mode authentication. This is easy enough by changing registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL10.SQLEXPRESS\MSSQLServer\LoginMode = 2

Now i can login with sa using SQL server authentication

Wednesday, January 12, 2011

Completely silent/quiet PVR / Home Theater PC system


The hard part in building your own completely silent PVR / home theater PC system is choosing the correct components.

You need the following
- a quite PC
- a tv receiver
- a remote
- software

For software, you have lots of choices like mythtv, windows media center etc.
After trying a few, we found ourselves using microsoft media center. It's super easy to setup and use, virtually configures itself with the hardware you have (remote, tv receiver), and gives you program schedules (what's on tv) for your zip.
I did like the XBMC UI, but it requires a myth backend and gets complicated.

For a quite PC, you can't beat the Shuttle XS35GT. If you install an SSD hard drive, it's completely silent. It has no fan. It's super powerful too with dual core hyper-threaded (4 cpus in task manager). Cost ~240
http://www.newegg.com/Product/Product.aspx?Item=N82E16856101114
It comes with a handy CD that has all the windows 7 drivers which makes windows 7 installation a breeze. e.g. network drivers etc.

Matching memory can go up to 2GB.
Cost ~32
http://www.newegg.com/Product/Product.aspx?Item=N82E16820220281

SSD silent hard drive - Grab the biggest you can. win7 takes about 12 gb. Media center will want about 10GB for cache (allowing pause etc), and you need 15GB per hour of digital tv. I got a 120GB for $169. , otherwise i'd probably buy one of these http://www.newegg.com/Product/Product.aspx?Item=20-148-348&nm_mc=EMCPB-012011&cm_mmc=EMCPB-012011-_-PB010811-_-Item-_-20-148-348 which has sweet specs)


For a remote, i like the VRC-1100 MCE remote. It includes controls to move the mouse as well which is handy.

The tv receiver is a cheap kworld ub435-q usb thingo. cost = ~30
It has win7 driver.

Works great.

** note about network storage --- windows media center simply does not support or allow recording directly to network locations. However, it's not a big deal because you can create a windows task scheduler task to move recorded programs to a network drive immediately after the recording completes. You do this by starting task scheduler (type task scheduler in the start button find box), and select action > create basic task. Give it a name (e.g. copy recorded tv programs to network location) and hit next. Select the task to start when a specific windows event occurs, and in the drop for event, select media center and the source being recording and the event id is 1 (for when a recording finishes normally). Then create a batch file in notepad (i.e. a file with name tv_copy.bat where you save it using "All Files" so that it really ends in .bat and not .txt) and it contains one line like
start /MIN move /Y "C:\Users\Public\Recorded TV\*.*" L:\
where L:\ is the destination (mapped network drive)
This will move recorded programs that end normally. To move recorded programs that are stopped manually, create another task that uses event id 3.
reference

Saturday, January 8, 2011

MAME in 5 minutes

Mame emulates arcade machines.
grab mameui32 from here http://www.mameui.info/
and install it. Current version is 141.
Each Mame build is linked to a set of games/ROMs, but mame itself doesn't come with any ROMs.
In the tree view on the left, you'll see all the All Games, and Available. Available will be empty.
You have to supply them yourself and copy them into the roms folder.
For example, download space invaders ROM from http://www.romnation.net/srv/roms/mame103/s.html and store it in your mameui32/ROMs folder
Start mame, and hit F5 (or select refresh from view menu) and then your game appears in the available folder.
There're over 8000 games - and they vary a lot in size. Some sites sell DVDs will the entire collection. The complete set is about 12 DVDs. But a minority of games (about 250) are much bigger, and require significant hardware to run (think quad CPU with SLI graphics) and so are hard to run and so you can also get 7DVDs that contain all but those.
As a rough guide, the above game runs fine on a core2 laptop.

Monday, January 3, 2011

Music event at Julia's preschool - Dec 2010


Here's some video of the Dec 2010 music event at Julia's preschool.
The video was taken by another parent - so you see their child a lot. We couldn't make it to the event and were so happy to get these videos with Julia.

Looks like video quality not as good as facebook. Check them out on my facebook page for better quality.