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 15y ago · link · parent

I can guess GPS plus compass plus accelerometer is enough to know where it is and which way it is pointing. You're right it would be hard for the camera to see the stars.

comment 15y ago · link · parent

I can see that being really useful combined with depth data for creating 3D models.

comment 15y ago · link · parent

Bugger. I find it hard to believe its impossible, even if there is no formal or published process though. Good luck devising your own course of study then :)

comment 15y ago · link · parent

Then I'm afraid you applied to the wrong college. If it was me, I'd a) work out how to demonstrate you are top of the class and b) befriend someone in the faculty who will mentor you, with the probable aim of c) transferring to another, more challenging institution or at least course at the same institution. Fortune favours the bold.

comment 15y ago · link · parent

Well, people have already talked about extension attacks in general, but to be specific: I can potentially calculate the state of the hash algorithm after the salt bytes have been processed, meaning I can precompute to reduce it to hash'(pass) — I consider that broken if you intended to create the function mac(salt,pass). If you have a salt per user, then that's not so bad, but why bother guessing?

Cryptography comes down to much more than using the right primitives. You also have to use the right implementations of those primitives (timing attacks), combined in the right ways (double stream cipher failure), and you have to be sure that the properties you want give you the protection you want (CBC without mac doesn't give you authentication). If you aren't using something with a wikipedia page that describes the entire system, and has some papers describing it and suggesting attacks on it, then you are inventing your own cryptography.

comment 15y ago · link · parent

You have to use the salt in a way that is not trivially breakable. Look up HMAC for the only approved way I know of to do it (whoops, dogma; you can probably invent many ways to do it, but HMAC is simple and considered secure, and I don't know anything else that is). Anyone suggesting just making the salt longer is missing the whole damn point of this debate: Cryptography is really hard to get right and smarter people than all of us have screwed it up. Thus, relying on only the best decisions checked by many others is not "dogma"; its the only sensible decision.

comment 15y ago · link · parent

Ah, I get it. Thanks to you and bostonvaulter2.

It'd be interesting to see whether adding authentication/sign on to a protocol like DHCP would fit better. The hijacking of HTTP, while it obviously works well in the default case, seems nasty and this error code fixes the wrong problem. Better to have a DHCP field that tells you to visit a specific website to log in; then the OS could display that website when you connect to the wireless. A further advantage of putting it into the connectivity protocols is it makes automatic payment and negociation by the client's software possible—for example, connecting to the cheapest wifi in range.

comment 15y ago · link · parent

511 seems a little pointless -- browsers can treat it differently, but if the intermediate gateway intends to be malicious, then it won't return 511 anyway. The only useful thing I can see is avoiding accidents/attacks on the gateway compromising its clients.

comment 15y ago · link · parent

Previous entries in this excellent series were discussed at:

http://www.ribbonfarm.com/2009/10/07/the-gervais-principle-o... — http://news.ycombinator.com/item?id=881296

http://www.ribbonfarm.com/2009/11/11/the-gervais-principle-i... — http://news.ycombinator.com/item?id=937541

http://www.ribbonfarm.com/2010/04/14/the-gervais-principle-i... — http://news.ycombinator.com/item?id=1267202

http://www.ribbonfarm.com/2010/10/14/the-gervais-principle-i... — http://news.ycombinator.com/item?id=1790749

790.

The Gervais Principle V: Heads I Win, Tails You Lose(ribbonfarm.com ↗)

2 points · by Robin_Message · 15y ago · 1 comment

comment 15y ago · link · parent

I just got that off my shelf, and page 25 says to use the arithmetic mean. I can't see anywhere where it talks about outliers or better averages.

comment 15y ago · link · parent

It's not "entitlement" to ask to pay for something.

comment 15y ago · link · parent

Bystander effect (http://en.wikipedia.org/wiki/Bystander_effect)—since no-one else is helping, you don't want to, and since there are all these other people here, maybe they should be the ones to help. Maybe one of them is better trained to help than you.

Inconvenience—trivial sure, but can easily be rationalised as "who wants to be late to work in this climate?"

And personally I'd be worried about offering to help a random, confused, nervous looking person with blood on them. I would like to think I would help, but it would worry me.

794.

WikiHistory short story(abyssandapex.com ↗)

2 points · by Robin_Message · 15y ago · discuss

comment 15y ago · link · parent

For most internet users, web browser queries are the only hand-crafted DNS queries they make (except I suppose for their ISP mail servers but they are a set-up once thing), so there is relatively little wrong with breaking all their DNS queries to missing domains.

You're right about the RFCs and I think I made my point badly: I'm not saying ISPs should interpret them any way they like, I'm saying that they deal with a commercial reality and real end-users who just want things to work, and that sometimes the best is the enemy of the good.

In reality, a technically incorrect DNS server can easily work better (help them get their stuff done) for a naive user than a conforming one. Believing anything else is just geek self-delusion.

The right way to solve this is to improve browsers so that NXDOMAIN causes them to show a search page—which is exactly what they have started doing, so hopefully ISPs will stop doing this in future.

comment 15y ago · link · parent

Actually, putting an affiliate link into a sensible "I'm feeling lucky"-style address bar doesn't sound that bad to me. They did provide a useful service after all. Better than the spammy, crap search engine pages ISPs usually provide.

As for the correct thing being to return NXDOMAIN, browsers could have started providing helpful error pages for NXDOMAIN, perhaps with searches, years ago. They didn't, so ISPs provided a useful service, which happens to conflict with a 13 year old RFC.

Certainly though, the big evil is handing over customer data without fighting or even so much as a warrant.

comment 15y ago · link · parent

Bake in a jQuery-like thing, or make it easy to build jQuery-like things, since I would much rather write something like the following in any language:

  $('#menu').append(sliderMenu);

comment 15y ago · link · parent

All the more reason to make as clear and straightforward a declaration as possible. Not "I have vulnerabilities", but a DM saying "American Express is leaking customer information at this URL and it is imperative this is reported to your security department." It's their problem to escalate if they don't understand, but you have to give enough information to make escalation possible.

comment 15y ago · link · parent

Surely a DM message to the AskAmex account, with some actual details written in clear English, not jargon or "hacker lingo stuff" would have been more suitable? Or asking someone on here like Thomas to make a phone call?

I understand the argument between full disclosure and responsible disclosure, but if the author could have DM'd it on Twitter. Or posted it on Twitter wholesale, since its now public anyway.

comment 15y ago · link · parent

Any discussion of the technology of someone who is running a small business is certainly on-topic.

So, what about using exponential smoothing or 95% peak estimation to get a better "current" spending rate? There is also the possibility to do some data mining on the actual usage (assuming you have collect that data and are willing to use it in aggregate to improve service) — i.e. customers who spend like you do and have a balance like yours usually run out of money after x days.

Another option I just thought of: try and estimate usage several different ways, and then check the variance — if its low, then issue an alert. I wouldn't be surprised if there is some research on how to do this, so it should be cook-up-able relatively easily if its a feature you want to add.

comment 15y ago · link · parent

Just to note that lithium is not like oil: the lithium is not consumed in making the batteries, so if it turns out to be useful it'll be worth gathering even from low quality sources.

Also, sea water is 1-2ppm lithium -- expensive but plenty of it to extract.

comment 15y ago · link · parent

Yes, the demo is old, but I think the direction of "it searches for this, this and this" is weak. It'll be too easy for them to have focused on integrating more services. Actually handling something like dinner organising or flight booking has its own foibles and caveats, and while I believe it can be done, I think the best way to start doing it will be focus.

I'd pay for a tool that helped me organise social events without the irritating e-mails. Take Doodle: all it does is polls for dates, and it doesn't handle diary integration, contact integration, negotiation of possibilities, or choosing the place as well as the time. Despite those shortcomings, its a successful company. That's where I see an agent actually working.

comment 15y ago · link · parent

The demo isn't a virtual assistant. Its a glorified search engine with API integration and voice recognition.

My vision of a virtual assistant is that you would be able to say: "Book dinner with Ross and David next week", and the only other interactions you have with the agent are "You're going to that Indian you and Ross like on Tuesday at 7" or "Can't be done, how about Monday the week after?", and possibly a message when you use your calendar "Trying to book David and Ross for dinner this evening" on some days the assistant has picked out. Meanwhile, Ross and David get e-mails that appear to be from you in address, tone and content, suggesting dates and places. If they have assistants too, maybe they don't see them; if they don't, then they can reply and the assistant understands them.

That's the sort of thing a PA actually does; they don't Google the flights for you, they know your diary, your preferences and your needs and they book the right damn flight. Your phone should be saying "Walk out of your office at 2pm and get into the cab that'll be waiting. At the airport, walk to check-in desk 301 and hand me over. I'll take it from there."

The predictions, especially with regard to leveraging data in Facebook sound closer, so I'm waiting eagerly.

comment 15y ago · link · parent

Something I've been wondering about this style of hiring and more generally promotion of a business — does it only work for technology companies that primarily serve geeks and early adopters?

Or to put it another way, can you get good employees and exposure by writing about technology if you make factory management software? Or should you be writing about the management of factories?

comment 15y ago · link · parent

I think that would make a great practice at idea generation and learning about brand awareness: get a list of these and try to decide what the named company does. Then compare with others. I'd be interested to see whether there are any names that totally dictate what the idea is.

comment 15y ago · link · parent

It's annoying that they have purchased the domains, but there is no way to do this kind of boutique, pre-made branding without squatting the domains. So I'm not sure it is that clear cut. The logos and categorisation distinguish it from straight squatting.

comment 15y ago · link · parent

I thought Friedman argued they were intertwined, and that capitalism created freedom in many cases, but I haven't actually read his book.

comment 15y ago · link · parent

Except the Qatari royal family. Remember, capitalism leads to freedom!

comment 15y ago · link · parent

Why three random elements though? If you expect some structure in the array, then picking pivots based on that structure makes more sense (e.g. first, middle and last for sorted, reverse sorted for partially sorted arrays).

On the other hand, if you are sorting unsanitised input, then random is good, but it should be secure pseudo-random numbers if it's important to your security/performance whilst under attack.

comment 15y ago · link · parent

That's pretty heavy going though — I remember my algorithms lecturer suggesting we should only get those tomes for the geek points. Meanwhile, Cormen, Leiserson, Rivest and Stein's Introduction to Algorithms is relatively cheap, has good explanations, a more modern presentation of psuedocode, and a breadth of material that covers all the algorithms you could be expected to know as a general programmer, plus some more.
1
262728
42