"In the world ye shall have tribulation: but be of good cheer; I have overcome the world." –John 16:33

Year: 2016 Page 9 of 13

Endianness “bytes” me one more time.

I had a little bit of a breakthrough on my EKG project last night. I actually had the idea when I was completely away from the project for a few days. It caused me to re-read the manual where it said the readings from the EKG are sent down the serial cable in big endian order. Each value for a 10-bit number takes up two bytes. The high order byte can either be first or last. The receiving computer expected little endian order. I now swap the bytes before they are plotted or recorded and we get the beautiful plot above. You can barely see four little lines below the left side of the signal plot. Those lines make up the legend for the electrode channels. The system can handle six channels, but we are going to try to do just four on this setup. The next step is to get the graph to be a moving strip chart. The graph, as it is right now, just writes over itself.

I completely duplicated my current setup for a friend, Frank who is joining this project. He is way more skilled than I in a lot of this stuff–especially the electrical engineering parts. I need to order myself an additional three channels of electronics, but that is on its way to Frank right now.

P.S. We are thinking of cross platforming (Windows/Linux) and open sourcing (free as in both freedom and beer) the software and writing a user guide/tutorial on how to set the thing up if anyone shows any interests because there does not seem to be anything out there that is really hobby friendly. If I am wrong, maybe someone can correct me. Because of our day jobs we are still months away from that.

More on the community college thing

We started looking at other school options for Lorena because of the low quality of the community college system here in Texas. The criteria we are using to find something for Lorena are things like cost, accreditation, location (whether the school is one where we might envision ourselves living so should attend on campus some day), the regional and national reputation of the school (the rankings by institutions like US News are almost always completely bogus). We loved the Rankings done by the National Research Council when we looked for graduate schools in Electrical Engineering for the Christian, but Lorena is working on an undergraduate degree in business and they do not rank business schools nor undergraduate degrees.

What we found is that both Arizona State University and Oregon State University have stellar online bachelors degree programs in business. Arizona State has a significantly better business school, but either would be perfect for our needs. Both schools would accept the bulk of Lorena’s credits from her community college experience and there is a good chance we would be willing to land in either place for a year or two (if I retire or get a work from home job) so she could finish up on campus. We are going to continue looking, but at least we have some options that are profoundly better than the community college we investigated here in Texas.

Challenges at the community college

Lorena took all her transcripts into the local community college north of Dallas, Texas and to say her experience there differed greatly from virtually every other community college she has attended would be an understatement. They said they would take almost none of her credits because they were taken in a quarter based system rather than a semester system. When she pointed out that most of the classes she has taken were in a semester system, they said (there were three people there looking at her paperwork), I kid you not, “We don’t care.” So in short, the facilities were shabby, the administration was surly and non-helpful, they had non-standard transfer processes, they required Lorena to take tests required for people just entering the system and not people transferring in with more than half of the credits required to graduate–and there is more, but you get the drift. It was truly a bad experience. These are the same credits accepted at better community colleges and state universities in Oregon, North Carolina and Florida. Oh well, we will find another place for her to attend. Maybe it is time for her to start at a four year college.

Good Mexican food in Texas

It might be just us, but I have to admit we have struggled to find a good Mexican food place here in Texas. Of course we can get it with our Mexican family and friends, but it seems like what they represent to be Mexican food here is really Tex-Mex. I am not even trying to suggest Tex-Mex is not good or that it does not have its place. It is just that we really like Mexican food. We found the closest place yet today for lunch, but it was not nearly is close to real Mexican food as what we (actually took a long time to find) found in North Carolina and Oregon. I am going to start asking our Mexican family what we ought to try next, but we are a little bit suspicious that he conflates the two styles, too, in as much as he has spent the vast bulk of his life here.

Cooking at college

Christian was a pretty good cook by the time he left home for college. He could more than hold his own when it came to the basics and had a few specialties he liked to do. Kelly had an even wider repertoire and loved to experiment with her mom whenever she got the chance. I am not sure what I expected when they went off to college. I did not really think about it much, but I have to admit I am a little surprised at how much they have both embraced the art of cooking.

The Strawberry-Rhubarb concoction in the picture was fabulous. Kelly’s efforts aim at health as well as taste. She has somehow mastered the art of crust that is light, flaky and healthy. Up in Seattle, she has access to extensive varieties of fresh vegetables that she uses to eat healthy food that tastes good. Her problem is that she is so busy, her exercise regimen is less regular than it was when she is in her undergraduate degree.

Christian, on the other hand, because he follows a fairly rigorous workout schedule when he is not in finals, takes a more utilitarian approach.  During the lead up to the end of the semester he is so busy he depends on this stuff to get the nutrition into his system rapidly and efficiently. That is not a frequent occurrence–the rest of the time he cooks fish, pasta, chicken and eats lots of vegetables and the fruits that are more available in Arizona than colder climes.

The interesting thing is that they both try new recipes on an amazingly regular schedule. Who knew they would get into cooking so much?

A great homeschool story

Here is a link to the finish of a great homeschool story and the continuance of a couple of others. It is about a mother and her daughter who were a little late to start homeschool, but turned the typical government school “pick the winners, give them a mediocre education and neglect the rest” situation into a fairly incredible start. It also established a precedent and a path for the younger siblings. I especially love the part about the lacrosse. Too often, team sports in traditional school settings are as much a popularity contest as any indicator of who is the best player. With individual sports (track and field, swimming, wrestling), they cannot take it away from you if you are the fastest or best. That is not to say they do not often try.

What is particularly impressive is this young student went from pre-med to graduate in a math intensive field that is arguably more difficult with plans to go on to grad school. The whole story is very impressive. Kudos to them and good luck to the younger siblings.

Sometimes a lot of work does not manifest much

One of the most painful aspects of the work I do is that I need to learn to work with new software libraries on a regular basis. The pain is associated with learning new syntax, parameters, and usages. One generally knows what the libraries are supposed to do, but cannot get them to work until all of the nuances, idiosyncrasies and minutiae are well understood. For extensive libraries, that just takes a lot of time–at least for me. There are some libraries I have used for so long (OpenCV, Boost, Qt, etc.) that I can rapidly do the vast bulk of what needs to be done in a new application because I am intimate with the minutiae. But there is always something that changes and requires the use of new libraries–obsolescence, license changes, functionality changes and that sort of thing that require the adoption of new libraries. I actually kind of enjoy learning new stuff, but it is a lot more fun when there is no schedule or budget to create stress.

What was that all about? I have found some libraries I want to use to plot my EKG. They look great and I wish I would have started working with them sooner. I am confident now (well, not 100%, but very confident) they will be an excellent fit for this and future projects so I am starting to use them. Last night I spend three hours to get from the top images to the bottom image, then discovered I was probably using the wrong chart type for the thing I wanted to do, so I spent another hour to start getting the new graph type in place, but never got it quite working. This kind of thing is normal for me. Maybe I am just slow, but perseverance counts both in software development and in learning. Maybe I will be able to get the chart going tonight.

Technology caught up with us (that is a good thing)

I have had little time to work on the GaugeCam project due to other responsibilities. We got a helping hand with this product when we found that there are now cameras available that do precisely the part of the product we did not want to do and at which we were not that good. The camera in this post is an example of that. Before, we had to put together a cellphone enabled remote camera with mounting systems, batteries, a solar setup, etc. Now, you can just buy it and install it yourself. So now I think we will be able to concentrate on the software and the water level data that is accumulated from the product which is really our strong point anyway.

Now I will be able to concentrate on my EKG project a little more before I go back to GaugeCam. Also, I will be able to use the BeagleBone Black I purchased on the EKG if I want. I am hoping to communicate between the Arduino/EKG electronics and the mothership computer via Bluetooth, but I am not sure I can get it to go fast enough. The Bluetooth will handle it, but I do not know if the Arduino can shovel the bits fast enough for the EKG sample rate I need (1K Hz). We shall see!

Lots of little things.

Yesterday was a long day with some accomplishments. First, and maybe most important, Kiwi did not die while we were gone. Lorena’s cousin Beto was there to look in on here every now and then, but for the most part, she was on her own. She was and continues to be annoyingly happy to see us.

Toward the end of the day, I had the chance to work on the EKG project. I did not finish as much as I wanted because there were interruptions. I had the signals coming into my program from the EKG by the time I left town for vacation so now I am working on the strip chart that appears on the GUI as it is recorded. I hope to get the charting part complete by the end of the weekend so I can move on to record the data into a database. We will probably need some help from Christian to get the math right on parts of the signal processing of the two different heart rates we want to measure (a pregnant mother and her baby). I hope I have time, but I also am excited that I might get to work with him on something that is so closely associated with the work he does for his school.

Sometime this week, I have to get my Texas drivers license. I am at that awkward stage of life where I am more worried about the eye test part of the exam than the written or driving part. In fact, I do not think there will be a written or driving part. Lorena did not have to take those.

Lorena has all her transcripts from her all the community colleges she has attended so far (Portland, Linn Benton, Johnston, Wake Technical and Clackamas) turned into our new local community colldege in Texas. She has to take an orientation test this evening–we are not sure what that is about.

Beside all that, I am wanting to get back to work on the GaugeCam/Beaglebone Black project because people want to buy more cameras and our cell connectivity system is getting discontinued. I have it started and it has been running at the house for over a month now. My problem is that I just have too many other things going right now to get it done in a timely manner. Maybe I can get someone to volunteer on the project to help us. It is a great little project.

Back to work after Casa Grande

Lorena and I spent the weekend with Christian and our friends, Al and Michele and their family in Casa Grande, Arizona. It was a weekend for reflection. We needed that and came away invigorated. We got up at 2:30 AM in Phoenix to catch a plane so I could get to work in Texas on time this morning. I am not even tired. I am sure I will hit the wall sometime this evening, but it was WAY worth it.

When following one’s own path leads to death and destruction

I read a Facebook post from the daughter of a friend this morning that truly captured the zeitgeist of the day. It’s premise was that personal happiness based on one’s own personal preferences is the highest level of human achievement and a worthy way to live one’s life. That seems to be what has gotten this country and the entire world into a state of denial and decay. Self denial and allegiance to a goal higher than one’s own gratification is the single thing that leads to personal happiness and the betterment of society, but only if that higher goal is to follow the commandments of Jesus.

Jesus said unto him, Thou shalt love the Lord thy God with all thy heart, and with all thy soul, and with all thy mind. This is the first and great commandment. And the second is like unto it, Thou shalt love thy neighbor as thyself. On these two commandments hang all the law and the prophets.

This says nothing about self gratification.

Out of communication

We have turned off or cellphones and have no computer access during the day. We need to do this more often. It is amazingly refreshing. All we do is sit in done meetings, eat good food, talk with old friends and make new ones, all with no outside interruption.  It is very interesting that it seems I am moving a little off the very edge of the extrovert spectrum. That is no to say I am anywhere close to being am introvert–but maybe just a little bit less of on extrovert.

In Arizona with Christian

image

We made it to Arizona. Christian made it through his finals. We had a relatively leisurely breakfast at ihop. Now Christian is back to work and we are here in the apartment kicking back until he gets a few things done in the lab after which we can start our vacation!

The start of an EKG GUI

ekgGUIWhen I got my new $27 EKG running a few days ago, I used a Windows program that came as a binary and that is no longer being supported. I decided I wanted to write my own GUI to read this, at least one more EKG channel (which requires another $27) and maybe accommodates the $99 EEG electronics that is available from the same company. I used the audio button (play/pause/stop) to control the data stream and connection with the EKG electronics. Right now, the only things that happens with this is that the numbers are added to the text box labeled “Data” and the numbers just scroll as they come in for the EKG electronics (fly by actually). The next thing I am going to do, though, is to plot the EKG signal as it comes in the area above the text boxes. I can already tell I am going to need to reformat my GUI to show the data in different ways and to add some configuration capability.

Flying to Phoenix

I negotiated the next couple of days off when I was offered my current job so Lorena and I could fly to Phoenix to see Christian and attend a church event. Some of our old friends from San Diego will meet us there. We will have a chance to see old friends, visit and eat good food. Christian finished his last final for the semester yesterday, so he will be free to spend at least a little time with us. He is in the thick of his research right now and expects to remain that way for the next two and a half to three years. He needs to take seven more classes and they really just get in the way of what he is research.

Thankful to be a working stiff

There is a meeting of the board of directors at our company today. We cleaned up the office and made everything look nice, but the higher-ups in the company seem somewhat stressed.

The CEO said, “Why did I start another company” to me in the hallway.

He really did not need to start another company for any other reason than that is what he does. I get that. I love to do what I do. I am kind of a one trick pony, but I love my trick and can make a living doing it. I am glad that I learned my trick before I took a shot at being an entrepreneur. It gave me two advantages. The first is that I had something on which I could fall back after I found I was not such a great entrepreneur. The second was that it gave me the knowledge that one can get a lot of the benefits of entrepreneurship with only half the headaches if you have a good trick and people are willing to pay you a salary and equity for your trick.

Still, entrepreneurs make the business world go round. They provide jobs for lots of people, too. I would not get to do what I do if there were not people who took the risk to start businesses. I think watching new, small businesses and the people that run them is my version of spectator sports. I love to watch all of this, but the thought of a punch in the nose or a 360 pound tackle jumping on my head is not particularly appealing to me.

Intelligence is not immutable (again)

Maybe it is just confirmation bias, but I keep running into stuff that suggests that IQ is not immutable. The latest article titled Telltale Signs You’re Much Smarter Than Average seems to reinforce that point. It was interesting that there were things over which a person has little control like left handedness and propensity for anxiety, whether they come from nature or nurture, are indicators of intelligence. But more so, that things that parents can do for their kids like give them music lessons and teach them to read at an early age are big indicators of high intelligence. I have always believed that children learn to read when they get interested in reading, but I also believe a parent can have a big influence over when their kids get interested by reading to them a lot, by turning the learning process into a game and by just being enthusiastic about it. Also, it was very interesting that the indicator of high IQ was NOT whether the kid was musically talented or not. Rather, it was whether they received consistent musical training. The kid being a class clown thing–who knows how that plays in and/or whether it is something that can be taught. In our case, it we worked hard to teach our kids NOT to be funny in class. 🙂

Grandma Sarah in the hospital

Grandma Sarah and Grandpa Milo ride to meeting in the back of the Honda CRV 2016
I know a lot of people just my age who are dealing with aging parents. Grandma Sarah went to the hospital last night where we found she had an infection that needs treatment. It is hard to see a parent in this condition at this age when they have little reserve to deal with health problems. We are very thankful we had the chance to take Grandpa Milo and Grandma Sarah to meeting for a couple of years and are very thankful they are in such good hands with our good friends Gary and Drew.

Grandma Sarah in the hospital

Grandma Sarah and Grandpa Milo ride to meeting in the back of the Honda CRV 2016
I know a lot of people just my age who are dealing with aging parents. Grandma Sarah went to the hospital last night where we found she had an infection that needs treatment. It is hard to see a parent in this condition at this age when they have little reserve to deal with health problems. We are very thankful we had the chance to take Grandpa Milo and Grandma Sarah to meeting for a couple of years and are very thankful they are in such good hands with our good friends Gary and Drew.

Lorena finds another community college

Lorena's community college transcriptsThese are all the transcripts from the community colleges Lorena has attended since we got married. Actually, she took classes at a community college in Florida, too, but that was just for non-credit English as a second language classes. She is very close to her degree, so she plans to try to get it done here in Texas. The five sealed envelopes from five different places represent a lot of work. I congratulate her for her continued effort. She will take these to North Central Texas College on Monday to get the process started here. We think she only has four or five classes left for an Associates degree. Stay tuned.

Page 9 of 13

Powered by WordPress & Theme by Anders Norén