Doing it right: Simple.
Simple is going to start blocking clients not running iOS 7.0.6 (which fixes goto fail) on Monday. Great move.
In 1921, General Electric successfully used carrier current communication [...] to communicate from a moving trolley car “with a point more than three miles distant.”
You know, I’ve been lazy before with my code… Unfortunately, I’ve done this more than once (exaggerated intentionally, I’m not this bad):
while(some condition) for(some iterator) if(some other condition) some method call
After the reason behind iOS 7.0.6 came out, it was discovered that this was the cause of the bug:
if ((err = ReadyHash(&SSLHashSHA1, &hashCtx)) != 0) goto fail; if ((err = SSLHashSHA1.update(&hashCtx, &clientRandom)) != 0) goto fail; if ((err = SSLHashSHA1.update(&hashCtx, &serverRandom)) != 0) goto fail; if ((err = SSLHashSHA1.update(&hashCtx, &signedParams)) != 0) goto fail; goto fail; if ((err = SSLHashSHA1.final(&hashCtx, &hashOut)) != 0) goto fail;
This sort of subtle bug deep in the code is a nightmare. I believe that it’s just a mistake and I feel very bad for whomever might have slipped in an editor and created it.
See something wrong there? Two goto’s in a row, the second one will always be evaluated. A merge gone bad as theorized? Probably. A plant by the NSA? Meh.
There’s a site out there to test if you’re vulnerable, with a funny name to boot: gotofail.com
On Monday, I’m making sure all of my code is braced.
The assignment I referred to in my previous post came out before the Kabletown/TWC merger announcement, but when that came out, I knew exactly what to write about.
I wrote this letter to the editor for an assignment, but I liked it, so here it is.
I’m not one who typically supports more government regulation, but something needs to be done, since ISPs have people by the… yeah, by them. I would love to hear other’s opinions on this.
Many homes in our area have only one viable choice for an Internet provider. The fact that residential Internet service is essentially a monopoly in this day and age is a disgrace. Instead, consumers should have a choice of their provider, similar to the options available for energy or telephone providers.
In a market with no competition, there is no incentive for providers to offer the best service at the lowest price possible. Cable TV providers are not strangers to competition: Their television services compete with the two major satellite television providers. However, their Internet businesses have the luxury of having no real competition. Other providers may exist, like those that are cellular or satellite based, but limitations on these services make them untenable for most users. Some neighborhoods in our area have service from the telephone company, either with conventional DSL or fiber to the home. These neighborhoods see the benefits, since the incumbent provider offers discounts and promotions to try to retain these customers.
The lack of competition on a larger scale is also causing complacency and technical stagnation. When the local cable company rolled out its Internet service almost 15 years ago, the standard package was 3 Mbps. Now, its standard package is only 15 Mbps. Meanwhile, the telephone provider was able to roll out service with a standard package in the same price range of 50 Mbps. Changes to the allocation of Internet addresses are also not being implemented, contrary to the recommendation of industry leaders, which may cause issues in the future.
Of course, technical reasons may be cited as excuses to prevent implementation. Cable broadband uses a shared medium to provide service, so determining the responsibilities of the respective companies may be difficult. These challenges were overcome in the energy industry though, where the responsibility of the utility that owns the infrastructure and the energy supplier is well defined.
In a world where there actually is competition for broadband subscribers, customers can only win. Better prices for service and improved technical capability are just two of the possible outcomes of this change. In addition, providers would actually have to work for customer retention, since customers would no longer be beholden to a monopoly. In order to realize these benefits, the state legislature needs to enact regulations to create the building blocks of change.
With the Mac’s 30th birthday going by (and I’m just getting to the podcasts that talk about it), a lot of people who are smarter than I am wrote about their personal history with this computer.
Being late to the party, I figured I would write about being late to the party.
In elementary school, I had the privilege of going to the newest school. With it, there were four Macintosh LCs and a printer in every classroom1, plus a computer lab with a computer for each student. I’m pretty sure this experience was a huge reason I’m in the field I am in now. At home we had a PS/2 which ran DOS, and so when I was at school, I leapt at the opportunity to use the Mac, which was so easy to use in comparison. By the time I was in middle school, the school district had switched over to Windows, and Dell Optiplexes. My only access to Macs was gone, and they left my mind.
A few years after the iMac was released we were visiting some friends2. They offered to let my dad look something up on their computer, who was perplexed by it3. Everything about it was still familiar to me, and I could navigate it with ease.
That was probably my last time with a Mac. I had friends that had them, but I never went there because I couldn’t afford it. The desktop I used from high school until 2009 had been continuously upgraded. Never to top of the line components, but just to what ever was cheap. Finally, one night in the fall of 2009, I snapped. The desktop had hard locked on me for the umpteenth time that day, and I was losing work every time it happened. I grabbed my work computer, went on store.apple.com, and bought a base model iMac. I added in 4GB of memory thankfully, but everything else was stock.
I loved it. I had tinkered with running Linux in the past, and enjoyed working with a system that was nix like. Unfortunately, I always got frustrated dealing with all of the things that need to be dealt with in Linux, like graphics cards or the other *futzing it expected you to do. The Mac was the best of both worlds.
Cate finally fell in love with it too (after trying to resist it), and that spring I bought the first of the current incarnation of MacBook Air.
Now, four years later, I’m still using the same computers. The iMac has been maxed out with 16GB of RAM, but everything else remains untouched. In fact, the latest OS X is better feeling on my older hardware. Try that with a Windows computer. (I do, we go three years with our work computers.)
- All of the computers in the building were linked with AppleTalk, and we had roaming network profiles. Seeing as how that’s still a difficult feat 15 years later, I am amazed. ↩
- This was probably around 2000, since OS X wasn’t released yet. That would make it about 4 years since I last touched a Mac. ↩
- He acted perplexed intentionally, since anytime something changes he finds a reason to complain bitterly. This is a man who complained about the transition from Windows 2000 to XP. ↩
So, LinkedIn popped this up:
Considering what her website looks like currently, I cannot with a clear conscience click “Endorse.”
And while we’re on the subject of IKEA… What the hell is this?