HNHacker News
TopNewBestAskShowJobs

pointyhatuk

97 karma · joined April 10, 2013

http://pointyhat.org.uk/
submissionscomments
pointyhatuk··on Linode hacked, CCs and passwords leaked
That's totally shit.

Its also why we invoice and take wire payments rather than storing CC details. There's just so much to go wrong.

Also PKI is shit for this sort of thing. As demonstrated, the moment that public key is gone, then the whole system falls like a house of cards. For the non believers of this fact, why else would there be a certificate revocation list and root CA updates for windows periodically...

pointyhatuk··on This Page Is Why The Internet Sucks
Spot on. This is why I'm still a fan of the old directory style systems like dmoz.
pointyhatuk··on This Page Is Why The Internet Sucks
You have obviously never used Lotus Notes in the early '00s then!

Same grade turd, just with a bigger price tag and more consultants than you can shake a shitty stick at.

Nostalgia here:

http://coderjournal.com/2008/02/lotus-notes-aol-corporate-wo...

vom

pointyhatuk··on This Page Is Why The Internet Sucks
Agreed. The number of things Ghostery blocks seems inversely proportional to the utility value of the site!
pointyhatuk··on How to work with Software Engineers
Regarding 1 (pair programming), I find that we work well with all our own personalities but not other people's :)
pointyhatuk··on This Page Is Why The Internet Sucks
What buttons?

(adblock)

pointyhatuk··on Oh, I’m not a… — Medium
Serial killer? :)
pointyhatuk··on Postgres 9.3 feature highlight: JSON operators
Well your database is a black box technically speaking. It's very hard to scale it horizontally and it is very expensive to scale it vertically as time goes on.

Logic suggests that you should keep as much processing functionality outside something which can't be scaled cheaply or easily and push it to cheaper front end servers.

On this basis, anything which implies more work than collecting and shifting the data over the wire shouldn't really be in the database. Parsing / processing JSON is one of those things that's going to eat CPU/memory.

Fundamentally there's nothing wrong with storing JSON inside the database and processing it externally, but processing it inside the database is a big risk.

I've seen the same thing over the years with XML in the database and more recently people adding CLR code to SQL Server stored procedures.

pointyhatuk··on OS X 10.9: A downward spiral or a new hope?
Agreed.

We've got them on Windows too - .msi files :)

The main advantage of standalone packages is I can choose whatever version of package XYZ I want and push it out rather than being stuck with the package version the repository ships with until either the maintainer updates it or you patch it yourself or argue with some shoddy backport.

pointyhatuk··on OS X 10.9: A downward spiral or a new hope?
That's fine but for some of us, connectivity is not ubiquitous and it isn't necessarily legal to ship our code or data somewhere else unknown on the Internet...
pointyhatuk··on OS X 10.9: A downward spiral or a new hope?
Citation from me - stuff that hasn't worked properly for me in the last 5 years:

Acer Timeline 1810TZ, Acer Timeline 3810TZ, Sony Vaio VPC-J1, Lenovo ThinkPad T61, Dell Precision 390, Dell Precision T3500.

All have irritating bugs, hibernation and sleep problems, random crashes despite being absolutely bog standard Intel hardware across the board supposedly fully supported by Linux. The same kit doesn't exhibit any problems under Windows.

The Timeline series machines under Windows 7 got a whopping 8-10 hours battery life of average load OUT OF THE BOX. Under Ubuntu, even with all the powertop tweaks etc, 3 hours was pushing it.

Current Ubuntu, CentOS and Debian were tried on each machine at the time.

Just can't be bothered any more. Linux (Debian) sits inside a VirtualBox VM on Windows on my T61 where ironically the battery lasts longer when it's in a VM than on bare metal...

pointyhatuk··on Postgres 9.3 feature highlight: JSON operators
Ugh another thing I really don't want in the database. Seriously, stuff like this will knacker your scalability over time.

I only say this because I've been there, with SQL Server's XML processing stuff, then spent nearly 2 years getting rid of it.

pointyhatuk··on What's Going On (on "Why Python, Ruby, and Javascript are Slow")
My point entirely :)
pointyhatuk··on What's Going On (on "Why Python, Ruby, and Javascript are Slow")
This.

Integration is hell. This is a universal fact.

I'd rather pick a tool which doesn't add integration requirements!

pointyhatuk··on What's Going On (on "Why Python, Ruby, and Javascript are Slow")
Perhaps my point wasn't quite described as well as it could have been. What I meant to say was:

What distinguishes your product is not how it stores or presents the data but what value it derives or extracts from that data.

Most CRUD apps are just a form of lock in which provide no value past storing your stuff in one place. That covers pretty much the entire enterprise software space and most trendy startups these days.

pointyhatuk··on What's Going On (on "Why Python, Ruby, and Javascript are Slow")
I didn't mention C :)

I wouldn't drop down to C ever at application level. There is virtually no need to do this these days without introducing more risks from a security and memory perspective and the inevitable situation of "integration hell". I'd rather throw it in a JVM than drop to C. Then again if I started with a JVM I wouldn't have the problem to start with as it solves both ends of the problem. The CLR is equally applicable here. Go hits the mark too.

From my experience here dealing with a massive 100kloc python project. Python maintenance:

a) Horrible to refactor. I mean really horrible. You don't get everything right the first time and when it comes to fixing that it's hell.

b) no type safety or contracts which is hell when working with other developers.

c) indentation issues which are totally horrible at merge time as it introduces a shit ton more work to do.

Reliability:

a) Some algorithms don't scale the same way as they do in other languages due to the points the article raises. It gets to the point that for something in Java is O(N), it can approach O(N^2) due to all the dict fudging and copying which is not good.

b) It's slow anyway - I mean really slow. If something feels slow, it is slow. PyPy may fix this but (c) below causes an issue as well.

c) Optimisations aren't consistent across python versions (consider how crappy IO was in the first py3k drop).

I wouldn't use Python for a new project now. The only utility I see is quick disposable bits of glue.

pointyhatuk··on What's Going On (on "Why Python, Ruby, and Javascript are Slow")
Actually I find the opposite. Python is easy for quick wins but from a maintenance, performance and reliability perspective it rapidly falls off a cliff. If your code propels your business then these concerns need to be considered up front.

Even off the shelf functionality doesnt have the same time/complexity properties as say c#, java or go resulting in a fairly basic algorithm reaching ridiculous time constraints very quickly.

As for CRUD type apps, you are probably right but its the bits that aren't CRUD which add the most value to your product.

pointyhatuk··on What's Going On (on "Why Python, Ruby, and Javascript are Slow")
Both of those are subjective.
pointyhatuk··on Microsoft, BSA, others file briefs in support of Oracle's appeal against Google
Why Microsoft is involved I don't know. I know their market share of windows phone is a bit crappy [1], but posturing themselves as opponents to Android isn't going to help their image either to the industry or the public and therefore their market share.

I would have thought they'd get the point by now and stop acting like asshats.

Oh and unsurprising SCO mention. This crap has been going on behind the scenes forever.

Watching the corporate battleground is tiresome and makes me drift away from all parties.

[1] I own a windows phone before anyone marks me up as a hater.

pointyhatuk··on Quake 3 engine in Rust
Good point. Need a rustfmt like gofmt in go.
pointyhatuk··on You know, Google, the web already had this feature
Perhaps the GP owns a windows phone :)
pointyhatuk··on Poll: What is your age?
It still looks roughly like a bell curve. I think the genuine answers are enough to extrapolate some information from this.
pointyhatuk··on Sqwiggle Makes Working Remotely Less Lonely, More Awesome
Isn't this basically a virtual panopticon?

With all the distractions and unnecessary meetings to make certain staff feel functional?

This is basically all the disadvantages of working in an office projected on home working.

A management dream!

EDIT: perhaps I'm just cynical and an isolationist :)

pointyhatuk··on What's the real environmental cost of electric cars?
...or even better, just not travel as much. Most current travel is either unnecessary or inefficient.

Citation: I live on a fairly busy road in London, UK. I just watched 45 cars go past my living room window with only one person in, followed by a double decker bus with about 5 people in it. Hardly efficient!

pointyhatuk··on PC sales plunge, Microsoft and Windows 8 blamed
Agree entirely. The recent purchase of a 128Gb Samsung 840 Pro was a game changer for me.
pointyhatuk··on PC sales plunge, Microsoft and Windows 8 blamed
That'll be because of three reasons I think, only one of which is mentioned:

1) The last generation of computers that people already own (Intel i3/5/7 with Windows 7) is actually pretty damn good and covers most requirements perfectly well. In fact my 5 year old Core 2 Duo 2.0GHz ThinkPad T61 with a Samsung 840 Pro SSD is really fast to the point I have no plans to upgrade any time soon. I see people hanging on to these sorts of PCs now because they are the first generation to work pretty flawlessly, ever. People hang on to stuff that works and I don't blame them for doing that. Businesses do the same and to be honest, with some heel dragging, they're good until Windows 7 EOL in 2020.

2) Windows 8 is just horrible. I've tried it several times at different points of time on different machines ranging from laptop to desktop to touchscreen desktop and the usability has just completely gone out of the window. It doesn't work on a laptop and doesn't work on a desktop in any adequate way. It physically hurts you if you have to use it on a touch screen desktop either through mouse hoop jumping or aching arms. New device paradigms are being pushed but they all feel awkward and a bit Heath Robinson. I do think they got Windows Phone pretty spot on but that experience doesn't scale up to larger devices well.

3) Consumers used to drive a big chunk of sales, but this has been relatively scuppered by other vendor's consumption devices such as tablets and smart phones.

pointyhatuk··on Lulu: An App No One Should Accept
I can't imagine they would get away with this in the EU. One data protection request and subsequent slander case would destroy them in an instant.

I find the whole idea objectionable at every level and about as innovative as "rate my poo".

pointyhatuk··on Obfuscated C Code Contest 2006. Please explain sykes2.c
I used to avidly reverse engineer the IOCCC entries when announced. It was a wonderful learning experience that teaches you quite a bit about C that you don't get from a mainstream book. Time well spent.