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

Gross misconduct or insubordination is the wording usually used in UK contracts (IANAL, YMMV, etc)

comment 8y ago · link · parent

A better mantra would be: electricity takes all paths in inverse proportion to their resistance.

So with a single low resistance path, give or take, all the electricity will go that way. But with two paths of equal resistance, half the electricity will go each way.

comment 8y ago · link · parent

Since the transaction that did the write is uncommitted, dirty reads are generally a bad idea as you may act based on something that is subsequently thrown away.

Only useful use I've found for them: emulating sequences on a DB without them.

comment 8y ago · link · parent

Yes, yes I did! Thanks, that makes a lot more sense!

comment 8y ago · link · parent

Profit maximisation is not the only factor of running a business, even a public company.

But even given that, what are the PR and legal costs of this predictable [1] accident being made worse by a poor safety system? Plus the downtime on doing training/testing? And the probably harsher requirements that might now be enforced?

Maximizing profits doesn't mean doing everything on the cheap.

[1] in the sense there was likely to be an accident at some point.

comment 8y ago · link · parent

Also, Swiss French, which has proper words for seventy and ninety, is considered more complex than French French, even though I'd consider having specific words simpler (especially given the complexity of 97 (which is said as 4 x 20 + 10 + 7)

comment 8y ago · link · parent

Why are safety drivers not:

- working in pairs, so there is social pressure, conversation, and two pairs of eyes to increase alertness and safety?

- doing shifts of 30 - 45 minutes at most [1] (although they could potentially swap back and forth with a co-driver)

- issued a dumb-phone for emergencies and searched for entertainment devices (it's good enough for Amazon warehouse staff)

- being monitored by the driver-facing camera, with training and termination for drivers who can't hack it

- monitored automatically for attention using eye tracking or other methods, with the car safely stopping if lack of attention is detected

- required to take over on a random, regular basis for a short period to keep them engaged and attentive (and obviously, the car keeps driving if they don't take over, but they are marked down)

Due to the boredom, it is an extremely demanding job, but the way it is being done is clearly not good enough.

[1] I can't find anything published about how long the shifts are, but I'm guessing they are longer.

comment 8y ago · link · parent

    "If you're forced to choose between getting
    rear-ended and hitting a small animal — hit
    the animal."
If you are forced to make that choice, the car behind you is already driving illegally close to you. Kristine D'Arbelles, spokesperson for the Canadian Automobile Association (CAA), is just making excuses for other people's poor driving.

Stopping distances people! And the rule of thumb is double them for rain, ten times for ice. And if someone is tailgating you, let them pass you. They are in the wrong but there is no point saving a few seconds keeping in front of them.

/rant

comment 8y ago · link · parent

Not trying to be sarcastic, but I'd suggest the solution to finding work without networking is finding a way to network that works for you.

E.g. you have a difficulty that means you can't leave the house. Okay, so participate in open source or specialist online communities. Write blog posts. Post yourself on the seeking freelancer thread.

comment 8y ago · link · parent

Just wondering, would it be better to normalise like flooding point does and always include a virtual 1 on the front of the number? This encoding wastes space because some numbers can be encoded multiple ways e.g. 3 and 6.

On the other hand, that would mean zero couldn't be encoded, but you don't need a zero for most maths as it doesn't do anything (and you could use a zero register.)

Edit to add: the even shift is a problem, but you could use 7 bits of number, 1 implicit leading 1 bit, and 5 bits to cover any 32-bit shift.

comment 8y ago · link · parent

Try doing it with just two people. Then extend the concept somehow. All the details of the puzzle are important.

342.

Weird tricks with Redux(jlongster.com ↗)

1 points · by Robin_Message · 8y ago · discuss

comment 8y ago · link · parent

Another cool thing is recovery of picture from ambient reflected light. Sadly it only works on CRTs.

https://www.cl.cam.ac.uk/~mgk25/emsec/optical-faq.html

comment 8y ago · link · parent

I figure the lesson is that any time someone talks about the number of shares (and only the number), they are trying to cheat you.

comment 8y ago · link · parent

> Government is normally getting in the way or at least slowing down the process of innovation.

Citation needed, especially as I'll just note we're using a website, many innovative technical elements of which were government funded.

comment 8y ago · link · parent

If I worked in a physical job, I don't think I'd want to give up twenty minutes of my break for a workout with my manager...

comment 8y ago · link · parent

The mock is called by Swift code in test cases (that's the point of a mock) so how would generating some JSON help?

comment 8y ago · link · parent

OT: thank you for your conscientious objection, and for talking honestly about the situation. Would be fascinated to hear the rest of the story; I hope you didn't end up going to prison as many peaceniks seem to.

comment 9y ago · link · parent

The u,v coordinates are infinite since an infinite number of copies fit in the unit square.

comment 9y ago · link · parent

Maybe the law should say 'security patches or open source'?

351.

The missing piece of a manager’s responsibilities(medium.com ↗)

2 points · by Robin_Message · 9y ago · discuss

comment 9y ago · link · parent

Witchcraft, sword-fighting, riding around on beasts, feudalism, scarcity, walking...

Dune is great sci-fi even just for pointing out the future might look more like the past than the present.

Then, the middle books cover prescience and its implications. The last two have more typical 80's sci-fi: ships, planets, weapons, dystopian overcrowded cities.

The final clincher for me though is the strong thread of politics* throughout and the exploration of relationships outside of the bounds of the possibilities of past or present.

In case you can't guess, I highly rate it all! (Although 2 and 3 are a bit weaker.)

* Indeed, in an early scene, Paul identifies the purpose of the Bene Gesserit as politics, and they are arguably the main thread of the books.

comment 9y ago · link · parent

They probably meant 16-bit palette, which typically allocates 5 bits to red, 6 to green, and 5 to blue.

It was typical of computer games in the early noughties. It gives you a reasonable range of colours with only 2 bytes per pixel, which mattered then!

EDIT: Oh, and green gets the extra bit because your eye can perhaps perceive more shades of green than other colours.

comment 9y ago · link · parent

Firefly Learning | Senior front and back end developers, infrastructure lead | London, UK | fireflylearning.com

Firefly Learning is an award-winning EdTech company that works to bring teachers, parents and students together, enabling greater collaboration, intuitive workflows and rich resource creation, while saving teachers time. We’re used by hundreds of leading schools globally, including 8 of the top 10 UK Independents, and we've just raised the largest every EdTech investment in the UK.

We're looking for strengths like:

◦ Skill in web development: you’ll have the skill to understand existing code and technical tradeoffs, and to help design new systems. You have a solid understanding of how web apps are built and how the whole stack from IP to React fits together. You’re aware of the state of the art of the industry, in things such as the SOLID principles, the ports and adapters pattern, and the various agile methodologies.

◦ Balancing conflicting priorities: we want a product that is well engineered but not over-engineered. We have existing bugs, a long feature list, and new projects we’d like to start. We have new technologies and techniques we want to make use of.

◦ Clear communication: you can work closely with others and help your team communicate with the wider business. You’ll be able to form strong working relationships with the rest of the technical leadership team, the product team, and delivery manager. You know how to help your team participate in practices like sprint planning, estimation, retrospectives, and squads/cross-functional teams.

◦ In the lead role, experience of coaching other developers, sharing best practice as well as either having experience of or a desire to lead a small team of developers.

In terms of experience, we need you to be comfortable with a web platform. Our server-side code is written in C# and our web front end has a fair bit of Javascript, so you’ll need to know one of these or be able to pick them up. We work pretty generally, so experience of any of the following would be a positive: React, iOS, shell scripting, infrastructure automation, building API integrations, and databases (particularly SQL Server).

We offer competitive salaries dependent on experience. We’re committed to everyone’s professional development, so we offer a flexible training budget for you to spend on attending training courses or other events, as well as brown bag talks and Kaizen weeks for self-improvement and experimentation. In addition to this we offer 25 days holiday (plus bank holidays and 3 days over Christmas and New Year), 3% employer pension contributions and discounted gym membership.

So, if you’ve got an interest in education and a desire to learn your craft alongside others making the same journey, we want to hear from you. Our interview process is a call to get to know each other a bit more, a short take home test, and then an on-site interview with me, some of our developers, and the founding partners of Firefly (we like to be thorough and also make sure you meet a good cross-section of the team!)

Drop me an e-mail (robin at fireflylearning.com) or apply on our website – https://fireflylearning.com/careers

comment 9y ago · link · parent

I'm not sure what the case law on this is, but if you form a contact to supply X and the X you supply is broken, it's not unreasonable for you to demand a working X is provided as per the contract (specific performance).

Also, bricking someone's device remotely* and giving them only the option of a refund is dangerously close to criminal damage of their property.

* Although in this case it sounds like they blocked it on their side rather than remotely killing the device.

comment 9y ago · link · parent

Tree diff varies between O(N^2) and O(N^4) for simple solutions of varying complexity of matches possible, with a complex fully general algorithms coming in at O(N^2 log^2 N).

Tree diff is harder because the range of operations is bigger.

React.js cheats by insisting on keys for arrays so matching is much easier.

comment 9y ago · link · parent

There is: https://en.wikipedia.org/wiki/Longest_common_subsequence_pro...

which is what most diff tools use. It is a simple and clear algorithm with no special cases once you get your head around it. It works in O(NxM) time, which seems like a reasonable lower bound (you need to compare everything to everything else to have a chance of getting the best alignment) although there are ways to do better with constraints.

(I remember one for gene alignment which broke N and M in two, recurse 4 times on each pairing, and then had a quick-ish way to put those together again. Can't remember the details though!)

comment 9y ago · link · parent

> identifying memory leaks through fuzz testing.

Do you think that was in the original draft of the release?

comment 9y ago · link · parent

The trick (to get around the information theoretic limit of 12) is to be uncertain about which of the answers are correct.

For example, with 1 bit, you can transmit if the majority are 1 or 0, already getting you at least 11 right answers but no information about which ones are right.

1
111213
42