Being the test-driven developer that you are, you are writing a Jasmine test for your AngularJS factory function, which returns a promise generated by our beloved $q. You know how to test an asynchronous response with Jasmine. You confidently run the test and... bam, you get an error message "Timeout - Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL"
This week I resigned from my comfortable, well-paid job. Why on earth would a developer close to his 40s quit a very nice position as an architect/developer?
Scrum: this single word triggers heated debates, passionate evangelization and tales of horror stories. But whether you think it works or not, there is this one thing I've seen some Scrum adopters do, which defies the whole purpose of the methodology. And in my opinion, that is one of the factors that might lead to... epic failures!
You are developing your web client (AngularJS or any other) against your REST services' server, secured using cookies-based sessions and CSRF tokens sent as cookies. You've done everything by the book, followed the tutorials to make your security work, especially CORS and CSRF tokens. And yet you still get a pesky 403 when trying to login!
Welcome to my first "gotchas" post! In this series I'll try to document common traps we tend to fall into again and again. In this episode: Tomcat throws a java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory when deploying and starting your brand new Java web application...
And now for something completely different. I recently had the privilege to play the first alpha preview of Tower 57: a gorgeous old school, pixel-art designed, "Chaos Engine"-inspired game by Pixwerk. A little something I got for being an early backer of its Kickstarter campaign. Warning, biased shameless plug ahead!
In October 2015 me and my partner-in-dev Emad Heydari Beni ran a small survey on how our blog readers, friends and relatives felt about privacy and security on the Internet. The survey was closed November the 11th and we started analyzing the data we had gathered. The short version? We were actually surprised at some of the answers!
As you might already know, FMA (Free Music Archive) is currently trying to raise $50,000 to maintain and expand its mission as providers of curated, CC-licensed music. I usually try not to favor one site or the other (it's usually a double-edged sword), but I do believe that FMA are absolutely worth of your attention. Let me try to explain to you why they deserve our help.
When a team of developers works on projects, they need to agree on code conventions, standards, best practices... Wait, do they have to? What are the developers giving up on in order to deliver uniformly-formatted code? In this post i defend the idea that code conventions and standards come with a high price, and that there might be a different way of working together.
One month ago, me and my friend decided to run a survey about your perception of privacy and security on the Internet. We’ve gathered enough (anonymous) data, so today we decided to close the survey. I would like to personally thank all of you who took the time to respond. As promised, we will analyze …