I recently wanted an Android shake detection library and came across lots of examples like this which are great for explaining the basics of how the sensor system works. Unfortunately, what they detect is simply a fast acceleration. Simply passing the phone to someone else quickly could trigger a “shake”. So let’s develop a better one.
It’s common to see people advertising a website on a domain they own like mydomain.co.uk yet advertise an email address like email@example.com or firstname.lastname@example.org instead of email@example.com, which is insane. Continue reading
Recently one project has been launched and another announced all from the same code base. Continue reading
One of the things that I think is key to a good technical talk is to introduce concepts instead of getting bogged down in code details.
I want a notes app on my mobile devices, and I want the content synced across all my devices and available at my desktop. Now there are tons of companies clamoring to offer such a service if I just open an account with them, but because I’m concerned about the security and safety of my data I’d ideally like one I can control and back up. Continue reading
Why do we still have to deal with phone numbers? Why are we still having to remember long numbers, or having to go and look up the number for a pizza place? Or telling someone our number, and checking they got it right? Or looking up our own number, because we can’t remember it? It’s a pain isn’t it?
One common trick web authors do because they think it’s neat is make elements of a webpage fixed so as the user scrolls around part of the webpage stays still. “This is so important the viewer must always see it!”, they think.
Sometimes it’s done with good intents; a rich web app may decide a toolbar should always be visible, for instance. Usually it’s done with scummy intents; “If I make the viewer see SHARE ME! buttons wherever they scroll, eventually they’ll give up and do it!”.
Either way, read on for a simple visual guide as to why this must stop. Continue reading
Most of the time people put a URL as the QR code so they have records of when it’s scanned. I even heard of one firm where the staff had a competition to see who could get their QR code scanned the most.
But the problem with that is that firstly it doesn’t work if the user is off line, and secondly, you make the user perform an extra action to get to anything good.
What’s the alternative? You can embed several pieces of information including a URL in one code with a contact record (VCARD). Continue reading
Hackdays, events that bring many people from different backgrounds together to work on ideas, can be great fun for many reasons. But for computer programmers there is one particular reason it’s great fun.
Remember, the aim of the hack day is to explore an idea with other people, to see what is possible and hopefully kickstart the project into life after the hackday. You’ll probably end up building a prototype of the idea, to demonstrate how it works. The energy and ideas that are unearthed as people from different backgrounds work together is amazing.