Better HN
topnewbestaskshowjobs
Log inSign up

Robin_Message

3,901 karma · joined May 23, 2008 (18y ago) · 1,250 submissions

Email: robin at lambdacambridge.com

Director at Lambda Cambridge (https://lambdacambridge.com)

I offer software contracting and technical consulting services.

I am especially proficient in Javascript, Java, C#, Python and Ruby, but have completed projects in pretty much every modern commercial language as well as many academic ones.

I can also offer technical and team consulting, where I can help your developers with design and architecture, as well as process, tools, and how you work, either on a one-off or recurring basis.

Previously:

  Head of Technology at Firefly ­– http://fireflylearning.com
  Head of Development at Unifyo
  PhD in Computer Science at the University of Cambridge, UK
  Intern at Google London working on Swiffy, the mad but
    cool Flash-to-HTML5 converter
  Experience in a wide variety of languages and environments,
    including low-level networking, web development,
    hardware design, and security.
Submissions

comment 12y ago · link · parent

This is a bad example because the value of the Hermes handbag (to buyers and therefore to Hermes) comes partly from its rarity (a positional good http://en.wikipedia.org/wiki/Positional_good).

A better example would be a Honda car (or Ford, or whoever makes boring cars these days). Say you go to the factory, provide the raw materials and pay the workers to do one extra car which you then drive off in. And suppose otherwise you wouldn't have bothered buying a car at all.

Does Honda have something to complain about?

comment 12y ago · link · parent

This idea is cool, but there are some issues with their privacy claim.

They say they are hashing the MAC address (presumably on the device). However, they can't be salting the hash (else they wouldn't be able to match across different stores).

Since there is no salt (or a fixed salt), it is trivial to de-anonymise a specific MAC address (just hash it and see if any server has it).

Worse, there are only 46 bits that are variable in a MAC address, and there is structure in there (3 bytes manufacturer, 3 bytes serial), so a complete mapping from MACs to the hashed MAC is very doable.

A secret per-device key for a HMAC would preserve privacy much better, but would stop them doing the cool stuff they plan — the usual trade off.

comment 12y ago · link · parent

Could a trumpet be adapted to have an extra valve after the mouthpiece but before all of the other parts, that diverted a certain amount of the airflow, and thus would make the playing experience more similar, or do I not understand the physics of brass instruments ;-) ?

comment 12y ago · link · parent

And none of those annoying people that buy lunch out every day and complain about having no money all the time...

comment 12y ago · link · parent

So, I HMAC the serial numbers of the tank. Now you have a series of very large numbers, evenly distributed.

Someone else can do the proof, but I'm pretty sure the total number of tanks is inversely proportional to the smallest difference between two observed HMACs (or between the highest observed HMAC and the highest possible HMAC).

EDIT: Actually, scratch that. That only works if you see all the tanks...

comment 12y ago · link · parent

There's a great short story in the style of a forum about not killing Hitler – http://www.tor.com/stories/2011/08/wikihistory

comment 12y ago · link · parent

Michael, I respect and like a lot of what you write, but you've lost me here. An investor fact-checking a statement like "VC A said they would send us a term sheet" is morally wrong and should/is illegal?

And a founder saying "VC B has given us a term sheet", when no such term sheet exists and in fact they said "Normally we don't say no, but for you, we're going to make an exception. Don't call us again!" is okay and the right of the founder.

Could you explain why those two (separate) things should be like that? As a practical first thought, it seemed to me if investors couldn't fact check, and founders could lie freely, gathering social proof would be harder, not easier, which might make it harder to get investment.

comment 12y ago · link · parent

If proportion X (between 0 and 1) of the population knows the right answer (we'll call A, and the wrong answer B), and the other half guesses evenly, you would expect:

    A = X + (1 - X) / 2
So to calculate X, given A,

    2A = 2X + 1 - X = X + 1
    X = 2A - 1
The author implied the formula

    X = A - 0.5
which is not correct. In particular, assume everyone got the answer right (X=A=1). Then the assertion that half of the answers are correct guesses is absurd.

The correct lucky guess fraction (amount of the right answers to discard) is:

    A - X = A - (2A - 1) = 1 - A
If A is near to 0.5 (which we would expect if our model is accurate and few people know the answer, the 50% approximation the author used is about right.)

comment 12y ago · link · parent

A poll like this should ask the questions both ways around (and/or with multiple phrasings), so you can distinguish guessing (which should come out at 50% correct if the question is not biasing people and no-one knows the right answer) vs incorrect knowledge (which will come out <50% whatever the phrasing).

comment 12y ago · link · parent

From the rules:

> Coinbase must be the sole bitcoin payment method included in the app.

So, is it a hackathon to make something cool with bitcoin, or to make something cool with Coinbase?

Anything anyone does to make bitcoin bigger, better, and more mainstream, will benefit Coinbase in the long run. So it might be a bit short-sighted to restrict this unless there is a really good reason.

comment 12y ago · link · parent

I once wrote a parameter parsing function for a home-grown web framework (first job, over ten years ago). One of its features was correct handling of parameter arrays, e.g. foo[42][]=bar&foo[42][]=baz would be converted into {foo: {42: ["bar", "baz"]}}.

In my naivety (but laudable desire for code reuse and simple implementation(!)), I parsed the brackets using eval. Without sanitisation.

Parameter parsing using eval. Who would do that?!

Fortunately no-one ever passed foo[42][system("rm -rf .")]=whoops and really ruined our day...

And the worst thing is, this was only noticed by someone in their job interview, when we asked them a question based on our production code. They got the job :)

comment 12y ago · link · parent

The equipment is better for making the airline money, but doesn't sound especially more difficult to operate, certainly not 10x as difficult. Does working on a product that produces 10x the revenue justify paying ten times as much?

Union seniority rules (where pay increases with time of employment, and the cushiest jobs go to the most "senior") are one of the worse parts of unions IMHO, and discredit what should be a positive force for more reasonable, equitable workplaces.

> Also, senior pilots by definition have a limited amount of time left in their career (thanks to mandatory retirement age), the big paychecks don't last too many years.

I'm guessing large pensions for retired senior pilots are also part of the problem.

comment 12y ago · link · parent

Its been in the jargon file for a while – http://www.catb.org/jargon/html/B/boxen.html – I guess its an obvious analogy with ox/oxen.

comment 12y ago · link · parent

I assume `set HOME = /some/location` is the tcsh syntax to set a variable.

In Bash, it doesn't do anything useful.

comment 12y ago · link · parent

IANAL, and I'm not sure about US law, but this could be a problem for any laws against disability discrimination, if a dog allergy is counted as a disability (it could be, the UK legal definition is pretty broad).

On the one hand, I don't think the law should be heavy-handed about this. Nothing wrong with variety, and smaller companies should be able to try things.

On the other, its not people's choice to be allergic to something, and maybe that shouldn't prevent them from taking employment where they are otherwise a good fit. And what about if an employee develops a dog allergy? Do they have to quit, or does the company ban all dogs?

A tribunal to sort out these issues seems like a really good idea, and hopefully will find a way through these issues that preserves the culture. Kudos to Sparkfun for trying!

comment 12y ago · link · parent

Most decent developers will want the opportunity to work on the latest version. Certainly keeping reasonably current is much lower risk than not upgrading.

comment 12y ago · link · parent

That is really not very reassuring in terms of the level of technical understanding/oversight in managing their block list.

Mind you, I'm not surprised that someone updating the list is on a Sunday night is not qualified.

comment 12y ago · link · parent

Is it possible to depend on a named branch on a remote git path? Because, with some sensible conventions, that would be a suitable way to manage dependencies.

(i.e. if you change your major version, start a new branch. if you change your minor version, start a new branch but continue to update the old one also. Actually, without tool support, that's going to get painful, but the idea is sound and requires only local tooling.)

comment 12y ago · link · parent

This sounds great. I'm genuinely interested, how is the potential vaccine going to be presented to volunteers in Phase I? And do you also deliver a placebo vaccine for blinding?

It seems like believing you are vaccinated would increase risky behaviour. This is bad in itself. It is also bad if the vaccine is only partially effective, since the risk effect might balance the vaccine effect.

With a placebo, knowing you only have a 50/50 chance of getting the actual trial vaccine might also help mitigate the risk effect.

Anyway, just wondering how all this works. Finding an effective vaccine would be fantastic; keep up the good work!

comment 12y ago · link · parent

> apply for a job/internship in the U.S

Definitely apply for a job in the U.K. It's like the U.S., only smaller, nearer, and entirely straightforward for an Italian to get a job here (I assume you are Italian living in Italy. Otherwise, maybe its no easier).

Also, don't despair! You've got plenty of time. If you get a good job that is too easy, then focus on enjoying your passions, then finding ways to get paid for them.

English university: I wouldn't bother. If you've got a degree that's enough. Getting more coding experience and knowing what you're interested in will make a master's more interesting and useful if you do decide to get one.

comment 12y ago · link · parent

A deserializer might be able to instantiate arbitrary classes, so any class with a constructor that could execute an arbitrary command makes the deserializer vulnerable.

Of course, the correct answer is not to use the deserializer that can instantiate arbitrary classes when you have a well-defined list of classes that can be instantiated.

comment 12y ago · link · parent

I'm only going on our panel, which is perhaps slightly non-standard due to another UK electricity quirk [1], but was done by an electrician last year so is up to regulations at least.

It has a split in the bus, so there are two RCDs, one on the left with a couple of breakers and one on the right with the rest of the breakers, and a separator in the middle.

Like:

    supply in -> R-B-B | B-B-B-B-B-R <- supply in
                 C R R | R-R R R R C
    neutral   -> D-K-K | K-K-K-K-K-D <- neutral
[1] The quirk of our board is that the left hand breaker is driven by a separate supply cable from the meter, which is only turned on between midnight and 7am. In this way, we get cheaper electricity at night which is used for storage heaters and immersion water heater. However, we no longer have the storage heaters, so it doesn't really make sense. This set up is called Economy 7 (http://en.wikipedia.org/wiki/Economy_7).

Also, @alextingle, I didn't know that you were meant to have two separate circuits, although that makes sense. Lots of things are required to be RCD protected in the UK, so as you say, it makes sense just to put everything behind an RCD. We don't get any nuisance trips, which I attribute to a generally higher standard of wiring, earthing etc. in the UK, although that could just be jingoism :) (I did once live in the US and some of the literally fraying wiring connected to two pin sockets with no earthing in the house I lived in scared me.)

comment 12y ago · link · parent

You've reminded me of a funny quote from Immediate Action or Brazo Two Zero by Andy McNab, autobiographies of a famous British special forces soldier.

"No one runs faster than Mr Heckler and Koch."

(Heckler and Koch are a German gun manufacturer. If you are heavily armed and armoured, you don't really need to run after or away from your enemies.)

comment 12y ago · link · parent

Main breakers in the UK are often RCDs, which do in fact trip in the case of grounding issues. The main breaker usually feeds into several circuit breakers.

Generally the wiring goes: mains input -> 1 or more RCDs -> several circuit breakers -> several outlets -> fuse in plug -> appliance.

So a grounding fault can take out many circuits, and many-lots of sockets.

comment 12y ago · link · parent

Assuming John Smith comes back to the store a few times and you're willing to crunch the data, I think it would be very doable.

comment 12y ago · link · parent

Just to note, TA is the territorial army, a fully trained reserve branch of the military, so probably reasonable to count as part of the national infrastructure/defence.

I do agree that "considering attacking" does sound slightly weasely and like a thought-crime; hopefully they were seriously considering it.

comment 12y ago · link · parent

You are right; I've worked out the "accumulating savings" part reasonably well, but the "building wealth" is still eluding me.

Stock market index funds seemed to be a good answer in the past. By owning them, you share in the economic growth and income of your country (or another country or set of countries) as a whole. Although, the spectre of Japanese-style stagflation for most of the West makes this less appealing at the moment (although even with the flat growth of the past 13 years, there are still dividend returns.)

Property is popular because everyone has to live somewhere, the old "buy land, they don't make it any more" proverb, and the funemplyoment nature of buying, improving, renting, and selling property.

comment 12y ago · link · parent

Why?

What did he say that relates to a basic income and where can I read more?

(All I, and I suspect many people, know about him is that he is supposedly the correct answer to economics, promulgated all over the internet by crackpot^H^H^H^H^H^H^H idealistic libertarians.)

comment 12y ago · link · parent

One question is then, why does the Guardian chose to publish a broken version of the article?
1
171819
42