Better HN
topnewbestaskshowjobs
Log inSign up

pointyhatuk

97 karma · joined Apr 10, 2013 (13y ago) · 37 submissions

http://pointyhat.org.uk/
Submissions

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

Spot on. This is why I'm still a fan of the old directory style systems like dmoz.

comment 13y ago · link · parent

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

comment 13y ago · link · parent

Agreed. The number of things Ghostery blocks seems inversely proportional to the utility value of the site!

comment 13y ago · link · parent

Regarding 1 (pair programming), I find that we work well with all our own personalities but not other people's :)

comment 13y ago · link · parent

What buttons?

(adblock)

comment 13y ago · link · parent

Serial killer? :)

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

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...

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

My point entirely :)

comment 13y ago · link · parent

This.

Integration is hell. This is a universal fact.

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

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Both of those are subjective.

comment 13y ago · link · parent

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.

comment 13y ago · link · parent

Good point. Need a rustfmt like gofmt in go.

comment 13y ago · link · parent

Perhaps the GP owns a windows phone :)
12