HNHacker News
TopNewBestAskShowJobs

dave1010uk

7,240 karma · joined March 8, 2011

Dave Hulbert

https://dave.engineer

Work https://passenger.tech

http://github.com/dave1010 @dave1010 dave1010 at gmail dot com

submissionscomments
dave1010uk··on Autocomplete of entire Linux kernel using Redis's new ZRANGEBYLEX
What's the performance of a MySQL LIKE query on a similar sized table (with an index)?
dave1010uk··on Status IE – IE's feature status and plans
I see WebP but no mention of WebM video at the moment. Any reason it's not there?
dave1010uk··on Ask HN: Who is hiring? (April 2014)

    Senior PHP Engineer
    We Are Base
    Bournemouth, United Kingdom
    Full time, in house 
A bit about the role 

This is a genuine opportunity to work alongside talented people to innovate and build digital services that make a difference to people every day, including an exciting product spin out. Working in an increasingly connected life, the role looks a little something like this:

1st class engineer 

You will be used to working as part of an unsilo’d production team, where designers work alongside developers, in agile sprints where they’re useful. Your main skill set is writing PHP but you may have experience with other languages (like JavaScript/Node.js, Go, Objective C or Java) that has influenced how you code. You’ll be familiar with PHP frameworks, such as Symfony, Laravel, Aura & Zend, and building on top of content management systems, such as WordPress. You’ll be comfortable with object orientated design patterns, unit testing, APIs & databases. Every pony at Base is capable of more than one trick. You’ll have an understanding of usability and how that works with functionality

Data hungry 

You’ll have a keen interest in datasets, with good skills in filtering the signals from the noise. You’ll have an eye to the future and know that tracking something now will make for way more interesting times later. You’ll be comfortable integrating 3rd party systems through APIs you’ve helped architect.

Open all hours 

You’ll have a keen interest in the way openness in technology (and in particular open data) can change things. And you’ll have ideas that mash one set with another, whether you’ve realised them yet or not. Our developers come up with projects for our clients, rarely the other way round.

Solver of riddles 

You won’t know the answer to every question that comes your way, but you’ll be someone who knows how to hunt it down. This job isn’t forensic science, but being able to piece the jigsaw back together and crack the nut is your daily bread. Inquisitive by nature you, like us, want to understand what makes things tick to make them better.

Getting shit done 

You’ll understand technical debt and be acutely aware that most pieces of code aren’t perfect, but you’ll be good at balancing the need to do something beautifully and the need to do it fast, including both where you can. You’ll regularly use Git, bash scripting and Sass, or similar, because of what they bring to the table.

Commercially aware 

You will be able to develop a genuine understanding of our client businesses, allowing you to identify opportunities for and with them. The best developers understand the end goal, not just their role in a project. You’ll be able to think commercially about the client business, as well as deliver work that doesn’t fall over as its user base scales. You’ll be expected to apply innovation to solve challenges, remembering that the best solutions are often beautiful in their simplicity.

Keen eye, tuned ear 

An eye for detail and a high standard of output is important to the success of the role. We’ve developed a code standard that gives us a bar to reach for. You’ll play a part in developing and guiding it as we grow. You’ll know that most project budgets don’t allow interface designers to cover every inch of an application, so you’re good at communicating with them and finding ways to smartly join the dots with a minimum of fuss.

Security and speed 

You’ll be hot on security too. The one thing that no one sees, until it goes to the wall. Then everyone knows about it. You’ll know how to react when an overseas friend tries to gain access to one of your servers from your years of ethical hacking. Creating applications that are quick is fundamental to the role too. An understanding of devices, connections and optimisation is key to delivering the quality we’re after. But then you already know that.

About We Are Base

We're a digital service design company that builds user-centred digital services for businesses, using data they already have.

We help our clients realise opportunities by transforming their data into something new and valuable. Clients include Timex, Garmin and Nottingham City Transport.

At Base you will be part of a team of makers and doers, working across a variety of projects and clients. We’re agile, but not dogmatic about it. Our process evolves to suit our needs.

We value and support CPD, actively seeking clients with a like-minded desire to push boundaries, providing you with an opportunity to build your experience and skills.

We practice a sustainable pace, recognising that we each have lives and families outside of work. Late nights and > 40 hour weeks are rare by design.

http://wearebase.com/hiring

dave1010uk··on Quake III bounty: we have a winner
This is really great! I'd be interested to know what framerate the Pi can output at 1080p.

Someone ported Quake 3 to ARMv6 Symbian smartphones in 2008 [0]. I remember running this on a Nokia E90 Communicator and the framerate was over 15fps most of the time.

[0] http://koti.mbnet.fi/hinkka/Download.html

dave1010uk··on Noob comments on HN
Seeing these comments by themselves gives no context. While a good comment is likely to be recognisable by itself, this is not always the case.
dave1010uk··on [dead]
Announcement: https://code.facebook.com/posts/264544830379293/hack-a-new-p...
dave1010uk··on Open source has won the battle but is losing the war
What application did you use to post that comment? Is it Open Source?
dave1010uk··on 'I was bullied and beaten every day. Programming saved my life'
I'm Dan's manager and tech lead at the company. We're going to look after Dan as best we can.
dave1010uk··on Apple starts 2014 with 41.6% US smartphone share, Samsung at 26.7%; BlackBery...
Wow, I never knew how different the US was to the rest of the world with smartphone market share. Gartner says [0] that Apple has just 12% worldwide, whereas Samsung has 32%. Android as a whole is at an incredible 82%.

[0] http://www.gartner.com/newsroom/id/2623415

dave1010uk··on When you see a Heisenbug in C, change your compiler's optimization level (2010)
In this case it might be useful if compilers (or a test compiling tool) had a "go crazy for undefined behaviour option". This might be difficult to implement but could do things like randomise sort order where it's undefined. Similar to how fuzz testing an application's input, this would fuzz test the compilation phase.
dave1010uk··on Ask HN: Who is hiring? (March 2014)

    Senior PHP Engineer
    We Are Base 
    Bournemouth, United Kingdom
    Full time, in house
A bit about the role 

This is a genuine opportunity to work alongside talented people to innovate and build digital services that make a difference to people every day, including an exciting product spin out. Working in an increasingly connected life, the role looks a little something like this:

1st class engineer 

You will be used to working as part of an unsilo’d production team, where designers work alongside developers, in agile sprints where they’re useful. Your main skill set is writing PHP but you may have experience with other languages (like JavaScript/Node.js, Go, Objective C or Java) that has influenced how you code. You’ll be familiar with PHP frameworks, such as Symfony, Laravel, Aura & Zend, and building on top of content management systems, such as WordPress. You’ll be comfortable with object orientated design patterns, unit testing, APIs & databases. Every pony at Base is capable of more than one trick. You’ll have an understanding of usability and how that works with functionality

Data hungry 

You’ll have a keen interest in datasets, with good skills in filtering the signals from the noise. You’ll have an eye to the future and know that tracking something now will make for way more interesting times later. You’ll be comfortable integrating 3rd party systems through APIs you’ve helped architect.

Open all hours 

You’ll have a keen interest in the way openness in technology (and in particular open data) can change things. And you’ll have ideas that mash one set with another, whether you’ve realised them yet or not. Our developers come up with projects for our clients, rarely the other way round.

Solver of riddles 

You won’t know the answer to every question that comes your way, but you’ll be someone who knows how to hunt it down. This job isn’t forensic science, but being able to piece the jigsaw back together and crack the nut is your daily bread. Inquisitive by nature you, like us, want to understand what makes things tick to make them better.

Getting shit done 

You’ll understand technical debt and be acutely aware that most pieces of code aren’t perfect, but you’ll be good at balancing the need to do something beautifully and the need to do it fast, including both where you can. You’ll regularly use Git, bash scripting and Sass, or similar, because of what they bring to the table.

Commercially aware 

You will be able to develop a genuine understanding of our client businesses, allowing you to identify opportunities for and with them. The best developers understand the end goal, not just their role in a project. You’ll be able to think commercially about the client business, as well as deliver work that doesn’t fall over as its user base scales. You’ll be expected to apply innovation to solve challenges, remembering that the best solutions are often beautiful in their simplicity.

Keen eye, tuned ear 

An eye for detail and a high standard of output is important to the success of the role. We’ve developed a code standard that gives us a bar to reach for. You’ll play a part in developing and guiding it as we grow. You’ll know that most project budgets don’t allow interface designers to cover every inch of an application, so you’re good at communicating with them and finding ways to smartly join the dots with a minimum of fuss.

Security and speed 

You’ll be hot on security too. The one thing that no one sees, until it goes to the wall. Then everyone knows about it. You’ll know how to react when an overseas friend tries to gain access to one of your servers from your years of ethical hacking. Creating applications that are quick is fundamental to the role too. An understanding of devices, connections and optimisation is key to delivering the quality we’re after. But then you already know that.

About We Are Base

We're a digital service design company that builds user-centred digital services for businesses, using data they already have.

We help our clients realise opportunities by transforming their data into something new and valuable. Clients include Timex, Garmin and Nottingham City Transport.

At Base you will be part of a team of makers and doers, working across a variety of projects and clients. We’re agile, but not dogmatic about it. Our process evolves to suit our needs.

We value and support CPD, actively seeking clients with a like-minded desire to push boundaries, providing you with an opportunity to build your experience and skills.

We practice a sustainable pace, recognising that we each have lives and families outside of work. Late nights and > 40 hour weeks are rare by design.

http://wearebase.com/hiring

dave1010uk··on Objective-C isn't what you think it is
I've never really thought about it before but PHP has some very similar metaprogramming features.

For starters, the incredibly dangerous runkit extension (like importing Objective-C's runtime).

There's also the Reflection API, which provides introspection and is quite widely used.

PHP also has magic methods, such as __call(), which give the ability to handle calling a method that doesn't exist.

As others have mentioned about Objective-C, these are all nice tools to know about and understand, however using them is often a code smell and can lead to unmaintainable code.

PHP doesn't have anything like categories, which is a shame because they look really useful in cases (as long as you don't mind violating the SRP a little). PHP has traits, which are more similar to mixins in ruby than categories in Objective-C.

Oh, PHP also has eval().

dave1010uk··on A Bitcoin Address with 782,000 BTC Moved Through It
To save you doing the math, that many bitcoins is about $375 million at today's prices - not that the market is deep enough to be able to sell it for anywhere near that price.
dave1010uk··on Rails XSS vulnerability in number formatting (CVE-2014-0081)
So why would a currency formatter generate HTML instead of plain text? That seems very strange to me. How does the helper know if I want to use the number in HTML, an email header or even a shell argument? Or are RoR helpers designed to be only usable directly with HTML?

PHP's number_format() doesn't escape for HTML - is that an XSS bug too?

dave1010uk··on Rails XSS vulnerability in number formatting (CVE-2014-0081)
I'm not sure I understand this. Are the number helpers now escaping for a HTML context? Isn't it best practice to escape user input just before outputting it (so you know the context) rather than in every helper function?

Disclaimer: not a RoR developer.

dave1010uk··on Linking to free web content is legal, says EU Court
> If paywalls are implemented by covering page content with a white rectangle, will viewing source be considered unauthorised access?

Viewing source in this case seems like it's bypassing DRM, which I believe is illegal under the DMCA in the USA.

dave1010uk··on Ham on Nye: The high cost of “winning” an evolution/creation debate
I wouldn't call myself a creationist, but I think there's a substantial chance that our current understanding of the physics of the universe will seem as backwards to people in a 200 years as people's under standing 200 years ago does to us now. I even believe that there's a small chance that our understanding of the universe now will seem as backwards as creationism in 5000 years.

As there is so much we don't know yet, it seems crazy to say that creationism absolutely cannot be true, even though it's crazy to say that creationism is true.

dave1010uk··on The Magic of strace
Quick strace command that I use all the time to see what files a process is opening:

    strace -f <command> 2>&1 | grep ^open
Really useful to see what config files something is reading (and the order) or to see what PHP (or similar) files are being included.

There's normally other ways to do this (eg using a debugger) but sending strace's stderr to stdout and piping through grep is useful in so many cases it's become a command I use every day or 2.

dave1010uk··on Kvazaar HEVC/H.265 encoder released under GPLv2
Is it as clear cut as binaries == license required; source code == no licence required? Is this specific to the codec's patent pool or how patents work in general? What about interpreted languages or bytecode?
dave1010uk··on Kvazaar HEVC/H.265 encoder released under GPLv2
I believe with a BSD licence you could pay royalties for the license and keep distributing under the BSD license. The GPL clause doesn't allow you to do this.
dave1010uk··on Hand Coding A Personal Website
Very rough benchmarks running "ab" against a random page on localhost:

    with AllowOverride 215rps
    without AllowOverride 245rps
It makes a difference, but there's not enough data to conclude much.
dave1010uk··on SSL Labs: Stricter security requirements for 2014
Can anyone share the bits of an Apache config required to get an A+? Even better would be an Ansible / Puppet / Chef cookbook.
dave1010uk··on Running your JS code in Python
There is also a PHP extension to use the V8 engine:

http://www.php.net/manual/en/book.v8js.php

dave1010uk··on Ask HN: How would a new OS be different?
Like apt/yum, but with multiple sandboxed versions and installable in users' home directories.
dave1010uk··on Developer and Power Users Tool List for Windows
Tasked is like an Android version of AutoHotKey. You can even use it to create APKs, which you can distribute in the Play store. I've used it to do loads of things, like unlock my phone based on WiFi, send automatic responses, and log the GPS coordinates when I leave the car.

http://tasker.dinglisch.net/

dave1010uk··on Google just approved our first CyanogenMod phone
Does the same apply to a laptop or desktop PC? If not, why not?
dave1010uk··on The Right Stuff: Breaking the PageSpeed Barrier with Bootstrap
Does mod_pagespeed work with Apache 2.4 now?
dave1010uk··on Ask HN: Who is hiring? (December 2013)
Base - http://www.wearebase.com - Bournemouth, UK

We're a digital agency, looking for 1 full time senior PHP developer and 1 full time Android/iOS developer. Full details:

http://wearebase.com/BaseJobSpecificationPHPLAMPDev.pdf

http://wearebase.com/BaseJobSpecificationAppDev.pdf

dave1010uk··on Signholder Receives Over $24,000 In Bitcoin After QR Code Appears On ESPN
The address or number they produce is human readable. If QR code clients don't show this then it's not a fault of the QR code system itself.
dave1010uk··on Poll: HTML 5 or Native mobile development ?
From my experience, clients generally prefer native, as the quality is so much better. Looking more closely, however, agencies / freelancers pitch HTML5 apps at a considerably lower cost than native. I've seen them come in at half the cost.

What would the result be if you got 2 developers, 1 with 5 years experience building HTML5 apps and 1 with 5 years building native apps, and gave them 3 months to create an apps for Android and iOS?

← PreviousPage 3 of 17Next →