My Verizon Galaxy Nexus phone which is almost three years old has barometer support, NFC, etc. Apple is nothing more than re-packaged yesterdays technology.
All it requires is on-site battery or capacitor storage. It makes even more sense since the batteries can be charged when electricity prices are cheap (i.e. at night).
Maybe it's just another Pacific Gas and Electric pipeline.
You can do this in C by using likely/unlikely. The compiler will put all of the unlikely stuff at the end of the function to optimize the likely hotpath. It can be a pain in the butt to do this though.
It was indeed a driver running in kernel mode. In the case of OS/2 it was a bit challenging because the driver ran in protected 16-bit mode where things were limited to 64K segments though pointers were 32-bits. I mean what an OS guy means as a driver, not something running in user space. It followed the OS/2 NDIS network driver model and talked directly with PCI or microchannel ATM networking cards.
Back in the 1990s I worked on a large ATM networking driver written in C++ for OS/2. The driver was around 100,000 lines of code. It was quite fast and reliable code and fairly easy to work on. We also had a driver for Windows NT written in C. The C driver had fewer features and was a lot buggier, slower and was 360,000 lines of code. It was also harder to work on since C++ provided a lot of nice abstraction.
Now the C++ code only used a subset of C++ and it kept the data path fairly flat to help optimize speed. The actual overhead from using C++ vs C was fairly minimal as well.
The ATM driver was quite complex since it supported the full signalling stack and switched virtual circuits and ATM LAN emulation for both Ethernet and tokenring and classical IP over ATM using switched circuits.
Here is an excellent article describing the Koch brothers: http://www.rollingstone.com/po...
My father had built a Heathkit H89 computer built around a Z80. As a kid I earned money soldering together boards my father had designed that under software control would double the speed from 2 to 4MHz. The H89 actually had two CPUs since it was also a H19 terminal. While it didn't do color and was limited to text based graphics it was a nice machine. My father's computer had something like 4 floppy drives and a hard drive hooked up to it. It ran both CPM and HDOS which was the first microcomputer operating system with loadable device drivers.
Later in college we used the Z80 for our microprocessor design class. The Z80 was trivial to wire up and included such things as automatic DRAM refresh support.
I do the same thing with my credit card. My house is free and clear and until recently I had only paid cash for my cars. With the interest rates so low, though, it can make sense to take out a loan rather than pay cash. As long as your cash is earning more than the interest rate on the loan you're ahead. With my last car it made more sense to take out a 2% loan rather than pay cash. My credit card has a 18% interest rate but it doesn't matter since it is always paid off in full every month.
When I bought my house I had never had a loan before. I had always paid cash for my cars. My only credit was my use of a couple of credit cards which I had maintained through college and several years after when I saved for a down payment. Despite this I still had a high credit score and was able to get a fixed interest 30 year loan after putting 20% down. I also had a steady job which I had held for several years. This is well before they started giving out insane loans to anyone with a pulse. Since then, rather than sell and move to a bigger more expensive house I put everything I had into paying down that mortgage and refinanced a few times to get a lower rate than over 7% I started with. After paying off the mortgage things are a lot easier.
I wonder if part of a credit score might be based on who you have your credit cards and loan with. Some banks may be better at reporting than others and some banks will just screw you (i.e. BoA). I also went through a mortgage broker rather than directly through a bank.
That sounds like California as well. Our electricity rates are sky high unless you're lucky enough to have municipal power. PG&E and our corrupt PUC rape us in terms of price gouging and poor maintenance.
At least in California HOAs cannot restrict EV chargers and must approve them. I have a coworker who bought a Tesla model S who lives in a condo. He had no problem getting a charging outlet installed though in his case the parking was under the building and access to power was not difficult. I think in the years to come apartment complexes will start installing support for EVs.
Already some places like San Jose are requiring that all new parking lots run conduit and whatnot to make it easy to install EV chargers in the future.
Many workplaces are also installing EV charging stations in the Bay Area. The problem is that even with this there typically aren't enough so they keep expanding them.
Some apartment complexes are also installing chargers.
One thing is that in most states the laws were written to protect franchises against the car manufacturers but in this case there are no franchises to protect to often these laws don't apply.
This podcast gives a lot of insight as to why the dealerships are so anti-consumer blood sucking parasites.
One other thing to keep in mind is that the dealership model has changed significantly. It used to be a bunch of mom and pop dealerships throughout the country. These aren't the dealerships complaining about Tesla. Instead it's the huge dealership conglomerates that have gobbled up and consolidated many of the smaller independent dealerships. These are also huge political donors in many states, getting laws written to protect them, often to the detriment of the automobile manufacturers.
Part of it is the way the car manufacturers have the dealerships competing against each other, giving them huge incentives to sell a certain number of cars by the end of the month, etc. The dealerships also make a lot of their money off of service, whether it be warranty service or just plain service.
Tesla does things differently. The people who work at the showrooms do not earn commissions on cars sold. Their job is to show the car, not play all these silly games pushing cars that people don't want to get their numbers.
Also, Tesla generally does not maintain an inventory of cars. Every car is built to order with only the features the buyer wants. They don't have huge lots of cars that they have to push since every car is already spoken for.
Their service is also different. They have publically stated that their goal is not to make a profit off of service. I have had to have things repaired that were not covered by warranty (I broke some clips). The cost to repair was actually fairly reasonable and was much less than what the cost would have been had the same sort of thing happened to my Prius.
My biggest complaint about service is that there is often a long wait to get an appointment because they're having trouble keeping up with the growing number of cars out there.
Tesla took a cue from Apple with the Apple stores. They want to provide a consistent experience for their customers without all of the hassles and problems often encountered at dealerships. The company has also consistently bent over backwards in favor of their customers. When news of the fires hit they quickly extended the battery warranty to cover fires caused by hitting objects then actively worked on methods to mitigate it. They retroactively increased the drive train warranty to unlimited miles.
How about bluetooth pairing? I have a bluetooth adapter and all I have to do is hold my phone up to it and it's automatically paired with it. I have a little bluetooth sticker in my car. I just hold my phone up to it and my phone reconfigures itself to how I want it in the car. The one on my keychain basically gives some contact info if found (i.e. email and phone number). There are a lot of interesting uses for NFC besides payment.