Better HN
topnewbestaskshowjobs
Log inSign up

VBprogrammer

8,523 karma · joined Mar 16, 2009 (17y ago) · 2,630 submissions

Submissions

2401.

Tron-like map of bike journeys reveals London's hubs(newscientist.com ↗)

4 points · by VBprogrammer · 14y ago · discuss

2402.

Do Patents Encourage or Hinder Innovation? The Case of the Steam Engine(thefreemanonline.org ↗)

2 points · by VBprogrammer · 14y ago · discuss

comment 14y ago · link · parent

Jack who?

comment 14y ago · link · parent

I'm intrigued as to why you think there would be a speed difference. If your language of choice can't iterate around a loop faster than your network card can push out a couple of network packets then I think you have some issues.

comment 14y ago · link · parent

I present this more as a interesting anecdote than a real argument but the fatality rate on the roads in Germany (where the autobhans have no enforced speed limit and seeing someone drive at 150mph is not uncommon) is considerably lower than in the US.

The reason this isn't a particularly great comparison is that driver training, car design and even the German attitude to driving are all built around the potential for high speeds.

comment 14y ago · link · parent

Doing one small and very specific thing is practically the definition of what a function should be. I don't completely agree with names given in the original post but I know that I cannot stand working with developers who cannot structure code into meaningful functions.

comment 14y ago · link · parent

Distances and speeds on our road system are always measured in miles. As such most British people generally have a much stronger intuition of Miles than they do Kilometres (except strangely runners who quite often use Kilometres).

comment 14y ago · link · parent

This appears to be a UK based site so why on earth are the distance units in Kilometres?

comment 14y ago · link · parent

I didn't see in the article how that one works but most of the metal 3D printers use metal powders mixed with a bonding agent which is activated by heating it with a laser.

I therefore don't think you could really heat treat the product as the metal isn't in its normal crystalline structure.

comment 14y ago · link · parent

As a Londoner I think saying the corporate non-sense spoiled the Olympics is very much overstating the facts.

Yes, it left a slightly bitter after taste. Yes I'd have liked local businesses to be able to cash in to some extent on the Olympics. But seriously, it was a great event, something I will probably never see again in my lifetime and I'm glad to have witnessed it.

Unfortunately it would be really difficult to put on an event of such magnitude without sponsorship, and if everyone can associate themselves with the games then I'm sure that would ultimately reduce the value of that sponsorship.

comment 14y ago · link · parent

I expect it will be a mixture of carrot and stick like any good phased replacement. Dedicated lanes (since they can drive 2ft from the car in front) and higher speeds because they are able to cut the reaction time down so much lower.

Eventually making it mandatory for some classes of roads (motorways / highways).

At some point in the very distant future your classic car will only be good for showing off on track days or classic car meets.

comment 14y ago · link · parent

Before you even think about this can you make sure you've got the basics down. No one in this day and age should have basic SQL injection attacks, but there clearly are given the number of 'whoops we got our database stolen threads'. Add to that Remote Code Injection, XSS, CSRF, Session Fixation Attacks etc.

comment 14y ago · link · parent

I think that Google have simply done a better job of creating a self-driving car than you are willing to let yourself believe.

They have done this by attacking the problem from the 'Big Data' mindset which Google are intimately familiar with. Instead of trying to crack hard AI problems (computer vision being the most obvious) they are simply counting on being able to record and use enough information both before and during the actual driving that they simply avoid these problems.

From what I have seen this approach seems to be working. My real concern is it will not be economically viable to integrate the kind of sensor arrays they are depending on into a real car (2 radars and the laser scanner being the killers).

comment 14y ago · link · parent

I love driving. I find it incredibly enjoyable. I don't think automatically driven cars will change that because I'd happily give up 80 - 90% of my real world driving to a computer. Driving on a congested motorway (highway) or in a busy town just isn't fun, no matter how nice the car you are driving.

I think horse riding might be the best example of the way things will go if and when automatically driven cars become a reality. Once a life skill required by everyone, now a hobby in all but the most extreme of communities.

comment 14y ago · link · parent

Not if all of the cars can do it just as easily.

comment 14y ago · link · parent

Best way to do this is to init the remote repository using:

  git init --bare

comment 14y ago · link · parent

I strongly disagree. I suspect you are looking at this from the 'American Dream' capitalist point of view. Our tax rates might be higher, but this is more than balanced out by our strong social security and healthcare systems which allow us to take risks a silicon valley startup couldn't dream of.

I can only speak for the UK (and lumping all of Europe together is pretty foolish given that it has a range of countries from borderline 3rd world to international superpowers) but in London the tech scene is very much alive and well. I myself work for a middle aged startup (going through some horrible growing pains just now), I love to get involved in the London tech scene and I've talked with plenty of people doing well from startups.

comment 14y ago · link · parent

There is very little that annoys me more than mobile applications, or worse mobile versions of a website, which are feature crippled. I'm sure it can't only be me who finds this completely infuriating.

A simple example is not being able to delete a comment on Facebook when you have second thoughts or need to correct an typo / autocorrect disaster.

comment 14y ago · link · parent

Throw in free Pizza and a few beers and I'll be there.

I would relish the opportunity to meet new people and work on something different.

comment 14y ago · link · parent

I don't think so but I'm not an expert. The ruling in this case would be that no own could implement the same API without violating the copyright on the GPL code. For example you couldn't create a GPL free glib etc.

I would be willing to bet that if that ruling would cause vastly more issues than it solves for the open source community.

comment 14y ago · link · parent

Asking the free software foundation their opinion on this is pretty much like asking the turkey if it's looking forward to Christmas. The idea of an API being copyright runs so contrary to their ideals.

That being said, I'd hate to think of the number of APIs which have been cloned without the explicit permission of the copyright owner.

I can't imagine how this wouldn't cause trouble for Wine. Possibly even VirtualBox, it re-implements the IBM PC API. Could any emulator fall victim to this? Isn't a processors instruction set just the API for the processor?

comment 14y ago · link · parent

Do you regret suggesting it? I mean, sure, there would have been some immediate pain involved in finding a new job but surely that was balanced out by not working in a inefficient toxic working environment.

comment 14y ago · link · parent

Does anyone know the significance of 315475 as a password? I can't immediately see what would make this so popular.

Unless of course as other people pointed out its just the same person who registered a large portion of these accounts.

comment 14y ago · link · parent

My experience in Spain is that drivers won't yield unless the alternative is hitting you! In that regard not much will change with self driving cars.

comment 14y ago · link · parent

> Updating a customer's winnings and recording a win are definitely things that should be together in a transaction - if one happened and not the other, that's a failure.

Yes, they these clearly do belong in the same transaction. Inserting a congratulations email into the email queue doesn't.

comment 14y ago · link · parent

I'm not sure I really get what you are trying to say. I know what a transaction is, and I know it wasn't the fault of transactions. It was the fault of our poor use of transactions, in the same monolithic transaction pattern that the OP appears to be advocating.

comment 14y ago · link · parent

   The idea is that a transaction starts when a request  starts, and it’s automatically rolled back if there’s an exception. This is behavior you want from the start! It’s half (err, ¼) the point of using a database.
I mostly agreed with the rest of the article but this strikes me as massive blooper. I can see no reason this would be considered good advise.

It's the database equivalent of the GIL, can't figure out what you actually need to lock? Just lock everything!

An example of this going wrong in production, I work in the online gaming (gambling) industry. One of our users won a large jackpot, our code started a transaction, contacted the 3rd party to have them release the funds, recorded the win in the transaction journal, updated the customers balance etc. Then the stored procedure which inserted a row into the outgoing email queue had a small error. This caused all of the database work on our end to rollback.

For what its worth, this was discovered during a reconciliation with the 3rd party and the customer received his winnings.

My point being, this is a horrible way of dealing with database transactions. Only things which are transactional by nature should be carried out within the same transaction. Obviously your code needs to deal with any errors and carry on or report an error as is appropriate.

comment 14y ago · link · parent

Interesting observation. I'd also add that learning Prolog would be a much more self expanding experience than the languages listed. I've yet to encounter another paridigim with such a leap in it's learning curve.

comment 14y ago · link · parent

A lot of his complaints remind me of a situation I'm sure everyone here is familiar with:

Client / Non-technical Manager: I looked it up on the interwebs and we should use [MongoDB / Node.js / Java / C++ ...] for [Completely inappropriate problem space].

You: But that technology doesn't fit our problem space and / or we have no domain knowledge of that technology.

Client: The interwebs said it was the fastest hipster technology around it would be stupid not to use it. You just want to charge your extortionate rates analyzing the problem just to come to the same conclusion.

You: ....What?!

I'm not saying there isn't anything wrong with the medical profession, and the US seem to have fostered a special brand of messed up in there healthcare system but suggesting that the doctor should just agree with the patients own diagnosis, or worse the the patient should just self medicate, seems like a crazy thing to advocate.

comment 14y ago · link · parent

In my experience it is far more likely that the Bulgarian and the Spaniard would communicate in English than in either native tongue.
1
808182
88