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

This is genius. It provides one of the killer apps of Google Wave -- planning a trip with friends and sharing the photos afterwards -- but without all the extra cruft Wave added (new logins, no email integration, threading, branching and histories).

1082.

Chronolapse - time lapse screen captures as a productivity tool(keeyai.com ↗)

2 points · by Robin_Message · 16y ago · discuss

comment 16y ago · link · parent

Stats: First six months of 2010, 112 million CD albums sold, 42 million download albums sold, 600 million CD singles sold (~60 million album equivalent) [1] so it's about 50/50 on digital music. Physical music distribution is not it it's death throes. Also, the decline is slowing, and the market is fairly saturated.

The thing that killed film cameras is that digital cameras just work better and have at least one killer feature -- Instant review. That is a massive advantage for consumer and professional alike. Once the disadvantages were moore's lawed away -- quality for professionals and price, size and printing for consumers -- film could not stand.

There is no killer feature with download music. I can get it faster, but so what? It might grasp the fashion markets, but not everyone needs music now. It has added no killer feature and it's not even cheaper. And one thing that's not like all the others -- it's a worse product. Most people have a CD player in their house and their car. And their computer. And their friends have CD players †. And they can play their CD's everywhere, and they can rip them and put them on portable devices, and they can display them in their living rooms.

Newspapers - physicality is nice, but I can well see them disappearing, because digital news will be more convenient, cheaper and more up-to-date. The winners will be the digital newspapers that preserve or enhance the paper reading experience, which might not mean having reporters and so on, but will mean selecting and presenting information in a way people value (in particular, mirroring the reader's values. It just occurred to me that the Daily Mirror in the UK is the best (and most ironically) named newspaper ever.)

[1] http://www.prosoundnews.com/blog/30154

† iPod docks in hifis and cars are getting penetration, but are not standard yet, and certainly not ubiquitous. Fixing this will be one thing that kills physical music.

comment 16y ago · link · parent

I didn't vote on the comment, but I can imagine it was downvoted for slightly rude tone "Well, I couldn't know that" and claiming not to read the article but only "the headline".

comment 16y ago · link · parent

Good luck building a Unicode trie -- the branching factor would be too high, never mind lookup time. Instead, you'd make the trie of an encoding, probably UTF-8 (off the top of my head) that would enable you to keep the branching factor at 256, which is already rather large but doable (You can switch to Judy arrays if the wasted space bothers you.)

Does anyone know, is there a Unicode encoding that enables you to map arbitrary ranges (so I can, for example, use the greek alphabet only at 1 byte per character or less)? I suppose UTF-8 is already hard enough to decode.

comment 16y ago · link · parent

In-memory databases do make sense for some things if you can: a. easily dump data as code and b. construct good key-value maps.

Incidentally, doesn't HN run as a stoarray?

comment 16y ago · link · parent

I'm not sure. You can borrow a lab machine, or a friend's machine. Surely it is no worse than a dead tree book - you either have to buy it or find somewhere to borrow it from. Embrace DRM or fail seems like a false dichotomy.

I do agree that this is a worrying trend, and Stallman make a valid point in The Right to Read, but I think the point he is making is that once you have DRM, you can stop people borrowing stuff. That is bad, but we haven't got there yet.

comment 16y ago · link · parent

It could just be some mid-level person, US spook say, who has done this, since they would not be worried about the longer term consequences or getting found out. Someone could easily take some of the leaks personally.

comment 16y ago · link · parent

A hundred-million people don't think he is a super hero. I doubt a hundred million know him by name. And the fact is, it won't be too hard to convert most of the people who do know of him and like him into disliking him.

This could be the first part of it. Combine it with the first solider to die which is linked to the information released, and any goodwill the public feels towards him is going bye-bye.

In the next year, he can probably look forward to going from a modern day Robin Hood to some weirdo, introverted, odd male hacker who is trying to disrupt our ordinary lives.

1090.

Squier Stratocaster plays both real and virtual guitar... at the same time(engadget.com ↗)

1 points · by Robin_Message · 16y ago · discuss

comment 16y ago · link · parent

Tell us more! :)

comment 16y ago · link · parent

And the US 1950–2000 has been a great argument for government authority and leaving the economy to the rich and welfare to chance? </sarcasm>

comment 16y ago · link · parent

Yes. Generally you then start cheating by passing around a function pointer and a void* that is the first argument of the function, i.e. doing closure conversion yourself. You can hide this with some macros and get close to having a functional language, but it's ugly and tedious (Cfront anyone?) Also, what I'm describing here is more similar to object orientation than functional programming. It's worth remembering the following koan though:

The venerable master Qc Na was walking with his student, Anton. Hoping to prompt the master into a discussion, Anton said "Master, I have heard that objects are a very good thing - is this true?" Qc Na looked pityingly at his student and replied, "Foolish pupil - objects are merely a poor man's closures."

Chastised, Anton took his leave from his master and returned to his cell, intent on studying closures. He carefully read the entire "Lambda: The Ultimate..." series of papers and its cousins, and implemented a small Scheme interpreter with a closure-based object system. He learned much, and looked forward to informing his master of his progress.

On his next walk with Qc Na, Anton attempted to impress his master by saying "Master, I have diligently studied the matter, and now understand that objects are truly a poor man's closures." Qc Na responded by hitting Anton with his stick, saying "When will you learn? Closures are a poor man's object." At that moment, Anton became enlightened.

-- Anton van Straaten

comment 16y ago · link · parent

From the OP's definition, it needs static types so it can be compiled efficiently. You can do it dynamically (e.g. Ruby) but you can't do it as fast in general.

Additionally, generic programming is a computer science concept, and those types tend to prefer static-typing for safety reasons. They're probably not strictly necessary if you ignore efficiency.

comment 16y ago · link · parent

Firstly, using the preprocessor will mean there is code duplication, even if it is not necessary. Secondly, once you are using the preprocessor to do generic stuff, you have probably thrown type-safety away.

That's not to say you can't write C in a generic way, but "generic programming" means something specific to computer scientists and has certain prerequisites.

And you can't write functional code without a functional language, without building a functional language on top of your language (which may not even be possible, e.g. you can do functional-ish stuff in C because of function pointers. Without them, you'd be stuffed.)

You can write functional code in a "non functional language", if by functional language you mean "Haskell, ML or Scala". But you need certain features like function pointers to do it, and in that sense you do need a functional language. Same for generic programming - you need certain features.

comment 16y ago · link · parent

I think the idea is to interpolate the palettes "in-between" a shift of x and a shift of x+1. If you are going at 60 frames a second, but you only shift palettes every 6 frames say, then you see a jerky ever tenth of a second. If instead you shift the palette by 1/6 every frame (so after a shift of 1/6, you are using 5/6 of colour x and 1/6 of colour x+1), you get a much smoother effect. The computation is trivial, since you are only changing the palette, so you have at most 768 bytes to recalculate. You can also change palettes every frame by outputting those 768 bytes (in fact I think you can only output the changes), which is trivial to do fast.

comment 16y ago · link · parent

Flagging is not negative karma, it is marking something as spam. You don't see a flag link because you don't have enough karma.

As to your post, a new version of PostGres is interesting to many people. Release of open source P2P project - not so much. However, your post is actually a blog post that has some interesting info in, so I'd suggest with a better title your post would have appeared much less spammy and encouraged more clicks (e.g. "As of today, JXTA 2.6 is a mature library for P2P in Java". But not that. Just like that. Not that.)

As to transparency, no-one sees how many flags a post has (except pg I guess and some automated algorithm.) People must simply make an honest assessment themselves if they think a post is off-topic/spam. By not showing the number of flags pile-on effects are avoided. Multiple flags are required to kill a post, so it would have to be a large, shady conspiracy to bury your P2P software - perhaps the flags came from riaa1 through riaa10!

comment 16y ago · link · parent

4. Get better at generalising knowledge and reasoning to new areas.

When you get it wrong, look at why. Were you missing a crucial fact? Then how could you have found that fact out, and other facts like it. Is your reasoning faulty? Get better at reasoning. Did you make an unfounded assumption? Check your assumptions better. Did you ignore something without good reason? Don't. Is their something special about working in this field? Learn that stuff. Are you expected to have background knowledge? Grab some of that.

... I guess that's really a solution to 1 though.

comment 16y ago · link · parent

It's not lying. For some people "fact you know" is not a well-defined category. If you are smart and good at inferring stuff, and you know some facts, then maybe you can go further. Maybe you can provide insights. You can certainly appear more knowledgeable than you are (you aren't, you're working things out as you go along, which isn't guaranteed to be correct.)

What it is unfortunately is intellectually arrogant. I saw a great comment from roel_v (http://news.ycombinator.com/item?id=1535064) about this (reproduced below). If the benefits are working out for you (you look smart, you're right often enough) then great. But if you keep getting called out, and you're worried about that, then you need to equivocate more. You also need to become more aware of the unknown unknowns. It's all very well knowing some things, and guessing others, but you also need to know what you actually know and what you don't, otherwise you'll not only look stupid, but at some point you'll also do something really dumb too.

"95% of legal chatter amongst technical people on the internet is meaningless to lawyers ('meaningless' as in 'jibberish', 'flux capacitor'-style nonsense) - because the fundamental assumptions and reasoning methods are so vastly different"

comment 16y ago · link · parent

I read that story a while back, and it sucked. I empathise with your anger and sympathise with your loss. But I am trying quite hard to write a comment to say there is another way, and it is better.

> you can try and hurt them twice, no matter the cost. Culture choice.

In trying to hurt them twice, can you hurt them for what it costs you to do so? Or do you just have to pay that cost out of pocket? And if you hurt them twice, but they only directly did one bad thing to you, can they hurt you back? And can you hurt them back for that? Most wars are founded on logic such as this.

If you are talking Jewish philosophy, what about Job (the book is newer than an eye for an eye, but Job himself probably lived before the Torah was given)? I believe Job says (amongst other things), "Life isn't fair. Good things happen to the bad guys. Bad things happen to the good guys. Accept that in the knowledge that God will make it right in the end."

comment 16y ago · link · parent

I don't have Safari to test, but it looks like it does two things differently to other browsers. The first has been mentioned — slurping data from the local address book and feeding it to any site.

The second I can't test, but looking at the screenshot, it appears that Safari actually fills in the text field with the contents of the auto-fill, before you actually choose that auto-fill, and it highlights that text so typing something overwrites it, which is a standard way of doing autofill. However, using script to ask the textbox for its contents then exposes sensitive data. In contrast, other browsers display the sensitive data in (inaccessible to script) browser chrome, so no data is exposed.

  Safari:    R|*obin Message* (in the textbox itself)
  Firefox:   R|
             Robin Message (in a popup, push down to get to it)

comment 16y ago · link · parent

I see your point, but pretending to bomb planes has no upside or possible reason behind it. It is not comparable to taking pictures of your kids having fun.

comment 16y ago · link · parent

Bear in mind that you have to have a "need to know" in addition to your clearance. We can speculate that there are also levels beyond top secret. In particular, eyes-only for the most sensitive stuff [1], and (what I have seen called but can't find a reference for) code-word secrecy for particular projects/operations.

[1] Which is where the Bond film For Your Eyes Only gets its title.

comment 16y ago · link · parent

http://www.youtube.com/watch?v=HMGIbOGu8q0 (Mitchell and Webb Look - Homoeopathic Hospital)

comment 16y ago · link · parent

Where was this and what was the agency?

comment 16y ago · link · parent

Surely the whole tech bubble is a much bigger factor in this? Although correlation is not causation... :) Here's my thinking:

In the bubble, IPOs abounded and investors were buying whatever shit they could lap up if it had "e" in the name. Post-bubble, tech companies that survived have been successful (by definition) and have sought to absorb smaller companies both to gain technologies and to kill off competitors; whereas investors have been wary of new tech stocks. This alone could explain the shift from IPO to acquisition.

Also, a small, nimble, well-leveraged tech start-up surely doesn't want or need an IPO anyway. An IPO doesn't make sense if you don't need the cash (unless you VC would rather have an "exit" than profits†). It is hard for investors to evaluate the potential of a small tech company; acquisition makes much more sense.

† VCs demanding an exit in a fixed time frame might make an IPO impossible -- is this something that happens? Do any VCs accept dividends instead of a buyout?

comment 16y ago · link · parent

There's some good advice in chapter 8 of Code Complete on Defensive programming. One example given there is the C function realloc, which resizes a block of memory, which can sometimes mean moving the whole block to a new, larger block. Since intermittent bugs are indeed the worst kind, Steve suggests making the debug compile memory allocator always move the block, so as to exercise that code path everywhere in testing.

Edit: Wrong Steve and wrong book -- it's a running example in "Writing Solid Code" by Steve Maguire.

comment 16y ago · link · parent

> You driving to the store for your toothpaste may seem like a negligible amount of pollution contribution - but multiply that by everyone in your entire city, and suddenly hauling a fleet of semi trailers would seem downright clean in comparison.

But I don't drive to the store. I cycle. Ever seen a UPS guy on a bike, delivering everyone's Amazon orders?

> there is no SUV with a single passenger hauling 3 bags of groceries

People doing that are, frankly, tossers. If you start from A and say "B is a great optimisation compared to A," then you are missing C,D and E, all of which are better.

As a practical thing Amazon could do, how about slipping a tube of toothpaste in with your regular books order, a few days before you would otherwise have ordered a new tube?

comment 16y ago · link · parent

So your point is that strip malls and car dependency are bad, right? But that doesn't mean that trucking a tube of toothpaste to my house is good.

FWIW, I cycle to the store, so until Amazon has a distribution hub in my town and cycle couriers for delivery, they're not going to be more fuel-efficient.

1
363738
42