ohryan.ca

A Web Developer in Winnipeg

  • privacy
  • The Little Things: Google+ Notifications

    July 4, 2011
    in Design, Google, Websites

    Google+ lets you respond to notifications right inside the notification dropdown menu. The notification bar is present at the top of all Google pages…pure genius!


  • Assault on the Hash (or how to make secure your passwords)

    July 4, 2011
    in Tips & How To’s

    In a recent episode of Build & Analyze Marco Armet (creator of Instapaper) explained that the standard practice of salting a hash is no longer a really good way to secure passwords. CPUs (and GPUs) are so fast that they can effectively guess your salt in a reasonable amount of time*.

    The solution, use bcrypt. Essentially, it’s an extremely slow hashing algorithm.

    To me this seems a little bit like security through obscurity, every once in awhile – as CPU speed increases – you’ll have to update your algorithm to generate hashes even slower.

    See also.

    • Marco’s Blog Post.
    • His PHP implementation of bcrypt.

    *A modern server can calculate over 300MB of hash data per second!


  • How To: File Upload Progress Bar. No Flash. No PHP addons.

    June 28, 2011
    in Tips & How To’s

    Upload progressbars are pretty common on the web these days, they add a touch of feedback to the long and mysterious process of uploading a file to a website. Unfortunately, the most common methods for doing so involve flash or baring that PHP addons that require a recompiling.

    In this post I’m going to talk about creating an upload progress bar without the need for a clunky flash object. I’m going to do it with PHP, jQueryUI and a gracefully-degrading framework-independent library.

    (more…)


←Previous Page Next Page→

Hi.

Hello, my name is Ryan! I’m a web developer in Winnipeg, Canada. I’ve been documenting my random thoughts and occasional bits of interesting code here since 2005. Twitter. Github. Instagram. Mastodon.

Recent Posts

  • Buy Canadian VegansApril 30, 2025
  • What is a “Note”?April 28, 2025
  • PortlandDecember 20, 2024
  • Thom Bargen, TuxedoDecember 10, 2024
  • VA CaféDecember 4, 2024
  • The Forks x Fools & HorsesNovember 27, 2024

Designed with WordPress