I keep making Browserling easier to use and I just released an Opera add-on for Browserling. This add-on lets you quickly access all the platforms and browsers with one click. No need to go to browserling.com first to start cross-browser testing. Just install the addon and you're ready to go.

Try it out now and let me know what you think!


Install Browserling's Opera Add-on

In the next few months I'll also be releasing addons/extensions for Firefox, Safari, and IE. I already released Browserling's extension for Chrome two months ago.

Follow @browserling and me for updates and until next time!

This blog post is a repost of Announcing Browserling's Opera Addon on Browserling's Cross-browser testing blog.

I just ran into a problem with setTimeout and setInterval. Turns out the delay (in milliseconds) for these functions is a 32 bit signed quantity, which limits it to 231-1 ms (2147483647 ms) or 24.855 days.

I was writing an application that needed a 30+ day delay and my setTimeout callbacks were firing instantly. Here's code that demonstrates it:

setTimeout(function () {
  alert("doesn't work - instant alert");
}, 30 * 24 * 3600 * 1000) // 30 days (more than 2^31-1 milliseconds)

This doesn't work. Delay value overflows and setTimeout fires immediately.

I wrote my own setTimeout_ that wraps around native setTimeout and allows large delays:

function setTimeout_ (fn, delay) {
    var maxDelay = Math.pow(2,31)-1;

    if (delay > maxDelay) {
        var args = arguments;
        args[1] -= maxDelay;

        return setTimeout(function () {
            setTimeout_.apply(undefined, args);
        }, maxDelay);
    }

    return setTimeout.apply(undefined, arguments);
}

This function preserves arguments and you can clearTimeout it within first 24.855 days.

I'll leave getting clearTimeout to work after 24.855 days as an exercise to my blog readers. And I'll also leave getting setInterval to work with large delay as an exercise.

Until next time!

Last month I launched a new webcomic about web developer jokes. It's called lol.browserling.com. The cartoons are getting very popular and are being viewed tens of thousands of times.

Last week I added a new cartoon called Java Cafe:

Java Cafe
The programmer forgot to update Java, so he went to the coffee shop to get a fresh one.

If you like these cartoons, please subscribe to webcomic updates and follow me and @browserling on Twitter!

All cartoons are licensed under a Creative Commons Attribution-NonCommercial 4.0 International. You can share, remix, transform, copy, link to, redistribute cartoons and jokes but you can't sell them.

Visit lol.browserling.com, share some cartoons with your friends, and until next time!

More exciting news! I've joined Hackers/Founders (H/F) as Hacker in Residence. H/F is the largest network of entrepreneurs in the world with over 200,000 members in 40 countries.


www.hf.cx

Original blog post on Hackers/Founders blog Welcome to Peteris Krumins, H/F's New Hacker-in-Residence.

Hackers/Founders (H/F) is pleased to announce that Peteris Krumins has been named H/F Hacker-In-Residence. Peteris not only possesses exceptional technical knowledge, but openly shares that expertise with H/F Co-op companies. This appointment acknowledges the value of his ongoing commitment to the H/F community.

The H/F Co-op accelerator is a tight-knit cooperative, where concierge services are provided in exchange for equity, and where founders help each other and elect each other to the program.

Co-op coaches startup founders through a personalized 100+ item checklist. The agenda points founders toward product and pitch development to prepare them for fundraising. When fundraising launches, the Co-op team works with you to set up meaningful contacts with our large curated pool of investors.

It's a great honor to be joining Hackers/Founders. As a Hacker in Residence, I'll be helping H/F community and H/F Co-op startups with any and all possible technical and non-technical problems.

My company, Browserling, was the first company that was accepted in Co-op when it just started in 2011. You can read the full story about how Browserling started and joined H/F in my other blog post How I started Browserling.

My new H/F email is hacker@hf.cx. You can reach me any time. I'll be glad to help with any technical and startup questions that you've, even if you're not a H/F Co-op incubator company. I love helping people!

Onwards and upwards!

Exciting news! Earlier this year I joined a company called June as an advisor and we just launched! At June we're reinventing hiring. Job candidates get paid to hear job offers from the best recruiters in the world.

I know what's on your mind right now. You're probably thinking, why would a recruiter pay to speak with me?

That's a good question. Unfortunately, the recruiting industry's reputation has been tarnished over the years by unqualified individuals mass messaging talented IT professionals. This has pushed candidates away, fearful of these bad apples. We know better, there are great recruiters out there who work for dream companies. They are on June and they value your time. To prove this, they are willing to pay to speak with you.

June's solving a real problem in the recruiting industry and it's been already called the most disruptive tool in recruiting by WGN Chicago! Our launch partners are Amazon, Google, Microsoft, Rackspace, Hubspot, PayPal and several other huge tech companies. Sounds interesting? Go to June and sign up right now!

June was started by Lane Campbell. I've been good friends with Lane for many years. We met through one of my projects Digpicz that I did in 2007. Since then we've kept in touch and Lane's been sponsoring my open source work as well as helping at Browserling.

Here's an interview with Lane Campbell at WGN podcast Tomorrow's Business Today. He talks about his background and how he got an idea to start June.

Lane Campbell at WGN

Lane also recently did a Reddit IAMA where he was asked many tough questions about June, its business model, competitors and other topics.

As an advisor to June I provide advice on engineering, devops, security, marketing and even content publishing. I also help with interviewing and hiring new employees.

I'm very proud of June's team. I'm working with some of the smartest, most intelligent and motivated people. Check out June's about page to see everyone who's currently working at June.

It's been an exciting ride and I can't wait to see where we go next!

Sign up at June!

If you're interested, sign up at June! If you've any questions, check out June's FAQ. For any other questions feel free to reach out to me, peter@catonmat.net, or to Lane Campbell, lane@joinjune.com.

Onward and Upward!

I'll be sharing all exciting things happening at June on my blog, so make sure to subscribe to my blog, follow me on Twitter and follow June on Twitter.

Until next time!