joe codes

x-cart guru & custom programmer

  • About
  • Archives
  • Contact

Powered by Genesis

Bad App Alert

August 10, 2017 by joecodes Leave a Comment

Bad App Alert? You could take this to mean that I’m alerting you of a problem with an app or that I’m showing you how to be notified when an app is behaving badly. It’s a little of both.

[Read more…]

Filed Under: Programming Tagged With: Apple, stability

Security at Github

August 17, 2016 by joecodes Leave a Comment

Prompted by a tweet by CSS-Tricks about protecting the token, this is a brief post that showcases a handful of security techniques used at Github from Let’s look at some of the security at Github.

[Read more…]

Filed Under: Programming Tagged With: security

QuickTime for Windows is Emblematic

April 21, 2016 by joecodes Leave a Comment

Apple recently discontinued QuickTime for Windows after it was reported to have security issues. Here is a letter I wrote to Tim Cook.

[Read more…]

Filed Under: Programming Tagged With: Apple, security, stability

My Personal Three S’s of Development

June 3, 2015 by joecodes 1 Comment

In the lead-up to Apple’s WWDC next week with the supposed focus on quality I thought this would be a timely topic.

Over the years I feel like I’ve learned a thing or two about building new systems. “New systems” is a generic term you can apply to just about anything you do. This could apply to adding a new feature to a car, or coming up with a new idea for an app, or anything in your field of interest or expertise. While the shiny and whiz-bang features get all the attention, none of it matters one bit if the development of this new thing doesn’t start with the following three S’s.

[Read more…]

Filed Under: Programming Tagged With: Apple, security, speed, stability, WWDC

Smarty Strip

October 30, 2008 by joecodes Leave a Comment

If you are a Smarty expert then this will be very dumb. I knew about the cool Smarty tag, strip, but hadn’t found a really good use for it. When you are using Smarty you are changing the how the HTML is created when the page is loaded. In some cases, how the code is formatted affects how the browser displays it, especially for IE. One of the most common areas I’ve seen this is when formatting using an indented structure and having an image at the end of a block. By having the closing block tag (/div, /td, etc.) on a new line an extra bit of space is added behind or below the image. This extra space is usually noticeable and causes page rendering differences among browsers. Here is an example of this piece of code:

    <img src="myimage.gif" alt="" />
</div>

[Read more…]

Filed Under: Programming Tagged With: Mason, Smarty

Sales Tax

September 9, 2007 by joecodes Leave a Comment

Yeah, I said it. Sales tax. It has to be one of the uglier sides of configuring online shopping carts. Now there are rumblings that some states are going to require that tax be collected by e-tailers for each state, county, city, or municipality. That is a lot of tax. No one seems to really know how it’s supposed to work. Everyone seems to have a different opinion, including accountants. I’m not a tax expert, and work hard at keeping it that way, but I still have to work with it here and there.

[Read more…]

Filed Under: Programming Tagged With: Perl, Tax, X-Cart

My New Blog

June 24, 2007 by joecodes Leave a Comment

A look-at-my-new-blog post is pretty typical for a first post, but I really do want you to look at mine. It’s because my awesome wife designed it as a surprise just for me! I had mentioned wanting to start a blog and she came up with this design. It’s just another excellent example of her great sense of design and ability. Thanks Cherie!

[Read more…]

Filed Under: Personal, Programming Tagged With: Apple, Perl, PHP, Smarty

  • « Previous Page
  • 1
  • 2

Quick Thoughts

  • I was surprised to learn that foreach in JavaScript does not have a traditional break. The loop will run to completion.

  • Who knew that combination sums across all permutation lengths of an array would be so difficult? It was a challenge but the final product looks good and takes a lot of resources. Limiting the max length for basic memory limits. Would only do something like this for occasional reporting.

  • Working on a new project that can have hundreds of forms on a page. The browser was spending way too much time in Parse HTML. Wasted a bunch of time before learning this is a long-standing bug in Chrome when there are many forms or inputs. Other browsers are fine.

Recent Posts

  • Progressive Enhancement
  • Keychain Password Search
  • Smarty preg_match
  • iPhone Plus Experiment
  • Time Machine Speed-Up Tip

Tag Cloud

Apple JavaScript Mason Perl PHP security simple Smarty speed stability Tax WWDC X-Cart

Search

Subscribe

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Recent Comments

  • Bad App Alert on Startup Item Help
  • iPhone Pre-Order Needs to Change on iPhone Pre-Order Warning
  • Apple vs Pro on My Personal Three S’s of Development