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

I don't have time to read extensively, but an Earth-Sun binary with all the other planets orbiting the sun doesn't make sense given our understanding of gravity.

Also, NASA has flown shit to pretty much every planet. You think they could do that if the heliocentric model was wrong?

comment 4y ago · link · parent

I'm sorry, there are fake gun shots in active shooter drills? What the fucking fuck? That is insane. What possible benefit could there be to that bit of simulation that would outweigh the additional trauma that would cause?

Not to mention all the survivors of school shootings who presumably have the dubious pleasure of being retraumatised on an annual basis. Fuck.

You're right on "do something". But fuck. I never guessed anyone would make it deliberately more traumatic.

comment 4y ago · link · parent

Since the OP is here, I am confused.

In the first section, are you saying that:

a) tags can and should be named to include the sha at the end; and

b) git commands silently discard everything before "-g" if what follows is a sha?

I feel like I've missed something as I find b) very surprising. (Consider giving someone the string $LATEST_VERSION_NUMBER-g$MALICIOUS_VERSION_SHA; I can't work out an exact exploit but it seems wrong to only process the SHA.)

comment 4y ago · link · parent

My wife runs a community choir with some friends in a notional elected committee. Is buying the committee a token yearly thank you like buying gifts for a boss too?

It seems to me, at best, the HOA is a committee of volunteers from the community, serving the community. It is not your boss; it's your peers completing the executive function of the rules and procedures you have collectively agreed.

Buying a gift for a peer's uncompensated labour is standard politeness.

comment 4y ago · link · parent

I get the impression that some American unions operate exactly as a cartel that also sets standards. I'm not against unions at all but the conflation of roles in the US is probably bad for workers long term.

E.g. plumbers unions opposed waterless urinals, and then created a standard that required water pipes installing anyway - https://reason.com/2010/06/24/plumbers-unions-vs-waterless-u...

Temporary job security, but long term makes people hate the union.

comment 4y ago · link · parent

I live in Europe. Currently, instead of the small risk of a nuclear plant going near me going bad (which even in the worst case scenarios has led to very limited loss of life), we're instead funding a country that is actively threatening nuclear retaliation for some of our policies.

So personally, I'd be happy to trade the small risk of a nearby industrial accident for the small risk of a massive fucking bomb exploding in my general vicinity.

comment 4y ago · link · parent

Those rates are skewed by electric and hybrid cars though. Diesel and petrol cars are still majority manual in the UK.

comment 4y ago · link · parent

N.B. that shoreline is a cinema local to silicon valley, not a different movie.

comment 4y ago · link · parent

.git/info/exclude is a local .gitignore file which is never committed which you can also use for this kind of purpose.

comment 4y ago · link · parent

I didn't see "wage-price spiral" on that list. It's something that's definitely being trotted out at the moment to justify not giving raises despite rampant inflation, but it's far from a proven concept.

comment 4y ago · link · parent

Fair enough, thanks for sharing. It's not really serious proposal but interesting to learn it wouldn't work. I guess the ongoing cost of rails and rolling stock are killer.

comment 4y ago · link · parent

And ARM had clockless processor prototypes in 2006; I remember learning about them at university. https://www.eetimes.com/arm-clockless-core-cuts-power-to-abo...

comment 4y ago · link · parent

I make a similar argument for train travel: since the death rate is ~10% that of other forms of transport, if trains could be made cheaper by compromising safety to say 50% of other modes, that would be a net positive as cheaper trains would move people off other, still more dangerous forms of transport.

comment 4y ago · link · parent

This article is focussed on performance of large data sets.

Unless you have gigabytes of user IDs to hash on a regular basis, it doesn't matter what hash you use aside from achieving the randomness you desire, which I imagine almost any function, even x%2==0, would achieve.

comment 4y ago · link · parent

I have no skin in the game, but I don't think the paragraph above meets the specification claimed by the GP: "we apologized[1] pretty frankly to Casey and everyone else involved in this discussion."

comment 4y ago · link · parent

If it's running locally (or in a cloud the user choses to trust), it doesn't need to be a CRDT any more to get the same security properties, which would ironically mean it is now easier to develop.

(Granted CRDTs might enable other features although OT is generally considered simpler)

comment 4y ago · link · parent

Thanks! Indeed, the variability of size and usage of each instance was the big issue, and then doing features that crossed instances meant they'd be crossing shards whatever they did, so it made sense to fix the variability issue.

(I'm also surprised/reminded how fast Slack grew and how quickly it became effectively ubiquitous — I think every company I've contracted for in the last five years has used Slack).

comment 4y ago · link · parent

I am confused by the query that had the problem. Specifically, I am confused by why the sharding is done by user id.

Even the largest Slack instance probably has under 100,000 users and less than 1000 peak messages per second. That feels to me like it could be served by a single master DB. It feels like that would be a better way to shard.

Major downside is the major difference in shard sizes so some management/migration might be needed but it seems doable to me.

Certainly it feels naively that scaling should be easy due to the way slack instances are independent (unlike say Twitter).

comment 4y ago · link · parent

Metro Bank has a great feature for transfer amounts. When you type an amount, commas are added automatically.

However, if you paste a number with commas in it, it will display correctly, but on the next screen you will discover it is transferring a different amount, as if it parsed the number up to the first comma.

(As an aside, this is one of the underrated things about best-practice React: that kind of bug can never ever happen. What is displayed is fixed by the rendering of the data model, never the other way around.)

comment 4y ago · link · parent

Aside: in case that's an eggcorn and not a typo, the day would be "fateful", as in, something momentous happened, rather than "faithful", showing loyalty.

comment 4y ago · link · parent

That's apples to oranges: we don't store anything like a year's worth of gas.

And anyone in Europe can tell you that natural gas transfer and storage is far from a solved problem.

comment 4y ago · link · parent

I think it's a bit of a catch-22: given one of Putin's stated aims is to demilitarise Ukraine and remove Western weapons, NATO arming Ukraine earlier would have caused Russia to invade earlier.

comment 4y ago · link · parent

C.f. the US military removing the degradation of the civilian GPS during the first gulf war due to a lack of military receivers.

comment 4y ago · link · parent

CFR was something like 1% early on, and higher in Wuhan where there was a partial collapse of health systems. World population is >7 billion, so 1% gets you 70 millions deaths.

If hospitals collapsed and treatments hadn't been found, a not inconceivable 2-3% fatality rate would get us to "hundreds of millions".

(This estimate is unrealistic in other ways though, e.g. communities would begin imposing their own and hoc lockdowns if hospitals were overwhelmed, and global spread might have been slowed.)

comment 4y ago · link · parent

It seems to me that carries are where this trips up. Which is weirdly human. I wonder if there are enough examples to learn each digit pair addition or subtraction, but not enough to learn every contextual action.

comment 4y ago · link · parent

What does it mean to give "equality of opportunity" to a black child in America, who's ancestors were enslaved, who's great grandparent was lynched, who's grandparents couldn't vote, who's parents couldn't go to university because of discrimination?

Who lives in a country where three white men can murder a black jogger, and it requires a international outcry for the police to prosecute?

As I understand "woke", it does mean trying to equalise "opportunity"; it just recognises that "opportunity" in the sense of "something offered" is not the same as "opportunity" in the sense of "the chance to do well", and tries to correct that.

In this particular case, does it make sense to take away gifted and talented programmes? There is clearly equality of opportunity offered. But a woke response might be to also identify individuals in disadvantaged groups who would be at that level were it not for their disadvantage and help them get there.

comment 4y ago · link · parent

Poor management practices, e.g. cancelling or changing shifts last minute, have real business value in terms of labour flexibility (for the employer), so in an employers' market, you can expect some businesses to take advantage of those practices to improve their bottom line.

The underlying shift, as I see it, is a scarcity of labour, combined with a bullishness of employee attitudes, leading to those poor practices being penalised where previously they had to be tolerated.

comment 4y ago · link · parent

Dates can be very meaningfully and sensibly converted to/from a numeric representation, yet the addition of two dates doesn't make sense, so I don't think not bring able to add versions holds.

And not everything can be mapped 1-1 with the integers; reals for example, and therefore arbitrary strings. (Of course, that's only theoretically; with a limited string length you can obviously manage)

You're right that the ordering is the key feature of a version representation; munging it into an integer gives you that for free but risks getting to overflow quite easily (as in this case). I guess the conclusion is, use a language like Rust or Ruby when you can define ordering easily on structured data.

comment 4y ago · link · parent

Sounds like your complaint is with Red Hat and not the developer?
12345
42