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 don't wish to be rude, but how can you call yourself a staunch proponent of something you admit two sentences later not to really understand? That seems like an odd position to me.

More on topic, XML is not even a type 2 language since you have to check for matching of tags, and the tags can come from an arbitrary set, so you can't write a context-free grammar that recognises well-formed XML.

You'd want rules like:

    XML -> TAG
    TAG -> "<" ([a-z]+) ">" (TAG|Text)* "<" "/" \1 ">"
but backreferences are not possible. However, sane parsers allow a lexing phase and semantic rules or post-processing, which is why I think any academic assertions about which level of grammar you need for a certain file format are essentially a waste of time.

comment 15y ago · link · parent

Commenting about why you should be downvoted might stifle progress (of your karma downwards.)

comment 15y ago · link · parent

These are also available, complete with amusing illustrations, at http://logicien.fr/extension-schopenhauer.html

874.

The Art of Being Right (Schopenhauer, 1831)(en.wikipedia.org ↗)

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

comment 15y ago · link · parent

How many pounds of veggies do you think that pound of meat ate?

Meat is only more efficient when you can't grow crops on that land, e.g. sheep and goats on mountains.

comment 15y ago · link · parent

Category theory is much beloved of functional programming researchers, at least in my computer science department, mostly as a way of analysing and conceptualising type theory.

For example, one of my friends is working on showing equivalences between I/O in Haskell (purely functional) and Lucid (demand-driven dataflow). Category theory shows a neat relationship between the models and a way to move between them.

comment 15y ago · link · parent

The market is not shrinking; the problem is access to justice for ordinary people who cannot afford $500 an hour. Also, perverse incentives like "No win, no fee" encourage settlements and litigation without helping those who have been genuinely wronged or have an actual case that needs to go to trial.

comment 15y ago · link · parent

(as I commented on the site)

    > Account Log-in
    > 6 The browser submits Turing’s username and bcrypted hash to SecureR.
    > 7 SecureR directly compares the hash submitted by Turing with the one stored in his user record. If they match, account access is granted.
So, suppose I’ve stolen the password database of SecureR. Unfortunately, I can’t recover the password of the user. However, I only need the hash of it (which is stored in the database) to log in, so I don’t need to recover the password anyway.

This does protect against exposing the user’s password, so it’s not a total waste. An additional wrinkle:

You could store the hash of the bcrypted password in the database. The browser would submit the bcrypted password in 6, and the server would hash it in 7 before checking it. This makes recovering the password infeasible but logging in is cheap for the server, and the input to the hash function has high entropy, so it will still be hard to crack. At this point though, you need a security expert to evaluate it.

879.

Swiffy: convert SWF files to HTML5(googlecode.blogspot.com ↗)

254 points · by Robin_Message · 15y ago · 71 comments

comment 15y ago · link · parent

Human intervention to activate the dials and wind the chimes, but the timekeeping is good for 10000 years (they went for daily temperature changes as well as the pendulum.)

From http://www.kk.org/thetechnium/archives/2011/06/the_clock_in_...: So how does the Clock keep going if no one visits it for months, or years, or perhaps decades? If it is let to run down between visits, who would keep resetting it? The Clock is designed to run for 10,000 years even if no one ever visits (although it would not display the correct time till someone visited). If there is no attention for long periods of time the Clock uses the energy captured by changes in the temperature between day and night on the mountain top above to power its time-keeping apparatus. In a place like a top of a mountain, this diurnal difference of tens of degrees in temperature is significant and thus powerful. Thermal power has been used for small mantel clocks before, but it has not been done before at this scale. The differential power is transmitted to the interior of the Clock by long metal rods. As long as the sun shines and night comes, the Clock can keep time itself, without human help. But it can’t ring its chimes for long by itself, or show the time it knows, so it needs human visitors.

comment 15y ago · link · parent

A similar blog post by a UK police officer: http://nightjack2.wordpress.com/2008/07/24/a-survival-guide-... (some of it is tongue in cheek, like "get your complaint in first" and "allege homophobia or racism", but the point on not talking to your police without a lawyer is exactly the same.)

comment 15y ago · link · parent

(UK has a shared ATM network, so it's not the same issue it is the States where I fondly remember hunting for damm BofA machines. I agree there are other reasons to choose a bank than website.)

However, it seems like there is relatively little to distinguish between banks, and a web service that truly pleased people might be a good way to get and retain customers, whilst cutting costs (branches and call centres.)

883.

Perl 6 Metaoperators(perl6advent.wordpress.com ↗)

1 points · by Robin_Message · 15y ago · discuss

comment 15y ago · link · parent

Online bank websites are, at least in the UK, universally terrible. They seem to be just a very, very thin layer on top of the bank's back-end systems, giving such delightful results as being two different sorts of recurring payments and two types of non-recurring payments I can do from my online banking (actually, I can't set up or cancel every type from within online banking.)

Do banks make so little from checking/current accounts that it isn't worth spending a dollar per customer to build a decent solution?

comment 15y ago · link · parent

If all you want is region layout, try http://robinmessage.github.com/regionjs/ I didn't follow the CSS format of the Adobe proposal, but that code will layout columns nicely.

comment 15y ago · link · parent

Once you do that, why not scroll horizontally? That gives better context and allows for non-page height scrolling better.

comment 15y ago · link · parent

I am not a physicist, but that's detecting reception of (I think FM) UHF and requires specialised equipment. Detecting Wifi which uses a spread-spectrum modulation at a higher frequency would be even more difficult. Add to that the existing, allowed Wifi networks that probably already exist which overlap the banned ones.

The real problem in security is usually human factors — loose talk, spies, informers, interrogation — not technological ones.

comment 15y ago · link · parent

That level of blurring is almost certainly insufficient to actually redact the information, as discussed in http://dheera.net/projects/blur.php (discussed here http://news.ycombinator.com/item?id=1939607)

comment 15y ago · link · parent

It (probably) refers to a measure of correlation being 0.54 on a scale of 0=no correlation to 1=perfect linear relationship (http://en.wikipedia.org/wiki/Pearson_product-moment_correlat...) rather than a confidence interval, which is what p<0.05 refers to (http://en.wikipedia.org/wiki/P-value)

890.

Show HN: RegionJS, an implementation of Adobe's CSS regions in Javascript(robinmessage.github.com ↗)

1 points · by Robin_Message · 15y ago · discuss

comment 15y ago · link · parent

Unfortunately, this use of the word relation, while I agree correct, has fallen out of favour, I think because it is confusingly similar to relationship, and because table is used everywhere instead (except academia.)

I'm not sure I understand what you mean about pointers though. I'd agree that if you have literal memory pointers, then you have an object database or a graph/network database. But entries in a relation based on values of candidate keys of another relation (that is, foreign keys) fit exactly within the relational algebra (natural join).

I don't see how information hiding in OO is analogous to not calling a database relational.

comment 15y ago · link · parent

In writing for beginners the author should just say something truthy like: "A relational database is a database where all data is stored in values of an algebraic data type called a 'relation'. SQL uses the word 'table' instead of 'relation', but the two words mean roughly the same thing."

What you've written here is worse, for the simple reason it is now semantically wrong instead of just syntactically wrong in the use of the word relational.

As an example, all relational databases that the average reader can be expected to have heard of use bags(multisets) instead of sets, so they in fact don't store data in relations.

Language gets polluted over time. Trying to force a technically correct but obsolete meaning is not helpful to anyone.

comment 15y ago · link · parent

I know what a relation is, but that is my understanding of what a "relational database" is in standard practice. What do you think relational database actually means?

comment 15y ago · link · parent

I think the US Navy SEALs have a motto: "Two is one and one is nothing" when it comes to backup plans.

comment 15y ago · link · parent

The Less Wrong community has some excellent stuff on what this, which it calls akrasia¹. In particular, http://lesswrong.com/lw/1sm/akrasia_tactics_review/ gives ratings for different strategics.

Other HN threads on the same subject: http://news.ycombinator.com/item?id=1429634 and http://news.ycombinator.com/item?id=1190389

¹ http://www.google.com/search?q=less+wrong+akrasia

896.

How To Choose Your Startup Idea(blog.amirkhella.com ↗)

2 points · by Robin_Message · 15y ago · discuss

comment 15y ago · link · parent

Well, it's a little late now, but they could have kept to security best practices (hashed passwords, external hardware credit card encryption/decryption seem like two obvious things they chose not to do.) For a large network, that doesn't seem like an unreasonable burden.

Their business concerns are merely for their own good to try to protect their brand, not to actually benefit their customers. They will spend more on just PR, never mind making good any actual losses, than on just doing it right in the first place. At this point, they deserve to look shitty, because they were shitty. In the case of lying about it, that should be a serious corporate crime (and I think this sort of disclosure is required in most jurisdictions.)

More generally, why do businesses pay almost anything to protect their good names, but only after they themselves have let their reputation fall into the deep shit? Look at how much BP must have spent over the deepwater horizon spill, compared to how much it would have cost to maintain their equipment. Never mind the banking crisis. An ounce of rational prevention is worth a tonne of PR fire-fighting — why do companies struggle so much with mitigating downside risk?

comment 15y ago · link · parent

It feels like the same is true for the UK and the USA – perhaps the whole western whole? That particular political situation doesn't sound ideal though.

comment 15y ago · link · parent

I came here to say this and can't believe I had to scroll down so far. All you need are accurate tags and a way to filter by them. There is no point punishing people for submitting or voting up something the community is not interested in. Just make sure they tag it correctly so that it can be found or ignored according to reader's preference.

Note this discussion is exactly akin to deletionism on wikipedia – if we can categorise information effectively, why reject any of it?

900.

Belongingsfinder - find sentimental items after a disaster(belongingsfinder.org ↗)

1 points · by Robin_Message · 15y ago · discuss

1
293031
42