HNHacker News
TopNewBestAskShowJobs

davidhbolton

114 karma · joined April 22, 2017

submissionscomments
davidhbolton··on Britain should scrap its online safety bill
My parent's house, bought in 1970 for £4,000 sold for £32,000 in 1986. That was the high inflation of the 1970s to blame. But a house I bought in 2000 for £185,000 sold for £550,000 in 2015. That wasn't inflation to blame but supply and demand; the demand being the vast increase in UK population from 2000 on.

If you're happy to accept mass migration, that's one of the effects as is bigger class sizes in schools, more traffic on roads and an overburdened NHS.

davidhbolton··on Ask HN: Should computer science degrees be separated from software engineering?
A CS degree when I got mine (41 years ago) was half and half though it wasn't called software engineering. Back then the "engineering stuff" was practical: things like programming, calculating latencies of disk drives and stuff like that. But the other half really needed a grounding in pure maths. (I'm British). I used to look at Computer Science journals and it was all pure maths stuff.
davidhbolton··on Lazarus – Professional Free Pascal Rad IDE
Confession. Learnt Pascal at Uni. Programmed in Compas Pascal 1984 (precursor to Turbo Pascal) then Turbo Pascal 3.0 from 1986-1993. Then from 1997 to the present day worked with Delphi (2,3,4,5,7, XE7 and XE 10.1). I wrote a 40,000 line Postal Game in 1989-1990 in TP 5.0 that still runs today.

Original Pascal was dire at anything except learning Pascal. Strings were type alfa- 10 character strings. Turbo Pascal was the first decent implementation and whipped the pants off its rival UCSD-Pascal. Delphi has been dead though since about 2000 but there's a lot of legacy code around and I'm one of a team of four that look after (maintain and enhance) a 1.35 million Lines of code property management application. A business laptop from 2020 can compile all 1.35 millions lines in around 11 seconds.

Unless you were an ace C++ Windows developer, Delphi was the next best programming language for using the Win32 API and doing low level COM stuff.

davidhbolton··on 100k Stars Chrome visualization experiment
It's a very neat visualisation. This is only 100,000 stars out of 200-400 billion in our galaxy. And the next level up- a flythrough 400,000 galaxies. https://www.youtube.com/watch?v=08LBltePDZw

Now that really makes me feel insignificant.

davidhbolton··on Britain being forced to go cashless 'against its will'
Other reasons to keep cash. 1. Self discipline. Plastic (debit or credit) lets you spend more than you should. Cash doesn't. 2. Privacy. Do you really want every transaction to be observed by the Government? "We think you are spending too much on alcohol. Reduce it and increase spending on greens by at least £5 a week". Don't think it will happen? Remember Nudgers gotta nudge. Also I wonder just how big the black economy is. 3. Where do you keep the rainy day fund? I don't think anyone is developing an electronic mattress.
davidhbolton··on Ask HN: Software Developer vs. Software Engineer
I worked at British Aerospace and my title was software engineer. Compared to previous programming jobs, this was roughly 70% paper work and 30% developing software. It was quite formal how they developed software using the waterfall method. Everything was documented and signed off before any development happened. Formal specs, design specs, acceptance tests (for afterwards) and so on. It felt more engineered than any other software development job I've had since.
davidhbolton··on Lessons from Learning Ada in 2021
I had been a Turbo Pascal Programmer and in the summer of 1990 joined British Aerospace as a programmer for their avionics test software. The first week I just sat with an Ada book and compiler and taught myself and week two started using it in anger. Three weeks later they put me on a one week formal training course which I sailed through as I had picked it up pretty well by then.

I know Ada now is different- it has OOP but back then it was very much like Pascal but string handling was stricter than TP. The on-aircraft software (which I didn't work on) didn't allow generics or threading.

davidhbolton··on UK Inches Closer to Eliminating Private Car Ownership
Here in the UK roughly 16% (not far off 10 million people) live outside towns and cities where public transport is next to non-existent. Roads are frequently without pavements so no walking and being single lane, incredibly dangerous for cyclists. I'm one of those near 10 million. The nearest supermarket is six miles away, as is the Doctors and the nearest hospital is 8 miles. For people like myself, a car is the only practical method of transport.

Before this I lived in London where a bus stop was 2 minutes walk away and a tube train just ten minutes. Bot outside London and cities that have trams like Sheffield, Nottingham and Manchester, public transport is just not to be found.

davidhbolton··on Assembly Language is Number 8
I have to disagree with your hypothesis. Hand written assembly will I doubt never match the speed of compiler optimized code for anything non-trivial, unless you are an expert and have spent many years developing in assembly. There are just too many tricks that compilers can do these days including out of order execution, branch pipelining optimization and so on. Compiler writers know these tricks and use them.

Besides which have you ever tried to do anything non-trivial like reading or writing database records, complex file structures in assembly? It's slow to do, tedious and very error-prone.

davidhbolton··on Brexit red tape knocks £17bn off UK trade with EU in just three months
People are surprised that dealing with the EU is cumbersome and overly bureaucratic? Who knew...
davidhbolton··on 94% of the universe’s galaxies are permanently beyond our reach
Watching this simulated fly through of 400,000 actual galaxies blows my mind. Space is frickin huge... https://www.youtube.com/watch?v=08LBltePDZw&t=31s
davidhbolton··on UK fuel shortage worsens as industry chief warns ‘people will go without’
No, the UK is not suffering from a shortage of fuel, just the delivery mechanism for one chain. BP.
davidhbolton··on Delphi 11 Alexandria
I'm part of a team that looks after a 1.3 million loc application in Delphi using the XE7 version. The 32-bit version builds in just 11 seconds on an 18 month old laptop.

I've just spent the last two years adding Virtual Channels support to our product. If you're not into COM in C++, Delphi is excellent for this kind of stuff. However the Infosec part of the company hates that we have to have Local Admin access but you can't register/unregister COM objects without it.

davidhbolton··on Ask HN: Why Did Pascal Fail?
I always think it ironic that the C order of variable declaration prevailed for so many years (C++, C#, Java) yet in recent times several newer languages have discovered that the Pascal declaration order is handy for compiler type inference.

var age : integer; pascal

var age int - Go

var age : int - Swift

var age = 52; - Dart

var age: Int = 10 Kotlin

davidhbolton··on Ask HN: Why Did Pascal Fail?
Turbo Pascal was a very fast compiler, written in assembler.

I'm a Delphi developer, and have spent about 24 of the past 36 years programming in Pascal. The Delphi XE7 compiler (now about 8 years old) can on a one year old Lenovo laptop with 16 GB RAM compile 1.35 million LOC (in 80 different files) in 11 seconds. The 64-bit compile takes roughly twice as long.

One of the design features of Pascal was a one pass compile which explains the speed. Note also that the Delphi/Turbo Pascal compilers are smart and discard all unused code.

davidhbolton··on Show HN: FractalCrypt 2.0 – free deniable encryption cryptoarchiver
In countries like the UK where you can be jailed or fined for not giving a password, this provides a way to do that and escape jail. Truecrypt did it and after the developers stopped supporting that, VeraCrypt came along.

You obviously don't reveal that you are using a plausible denial storage method. Give it a zip extension and rename the application that you access with to something like Zip Archiver. "It's an encrypted zip file and the password is ...." How do they know its not zip or that's there's secret data there?

davidhbolton··on UK Online Safety Bill proposes age verification for all user-interactive sites
Well there was the well publicised case of Luther Rahman, the Tower Hamlets Mayor. See https://www.bbc.co.uk/news/uk-england-london-32428648

But I'm more inclined to suspect postal fraud. There was talk of students voting twice but whether that was a big thing is unknown. But clearly there has been some level of election fraud going on.

davidhbolton··on Climate change will alter where many crops are grown
The trend is not clear and undeniable. Climate science is at best contentious and certainly highly politicised. All of the IPCC predictions of temperature rises have not happened. Sea level rises? The Maldives have been building several airports and both Al Gore and Barack Obama bought very expensive properties ($9 million and $15 million) by the sea. Hardly the actions of someone who believes flooding is imminent.
davidhbolton··on Climate change will alter where many crops are grown
Cold is still the big killer. 20x that of heat. According to this scientific study. https://www.sciencedaily.com/releases/2015/05/150520193831.h... "Cold weather kills 20 times as many people as hot weather, according to an international study analyzing over 74 million deaths in 384 locations across 13 countries. The findings, published in The Lancet, also reveal that deaths due to moderately hot or cold weather substantially exceed those resulting from extreme heat waves or cold spells."
davidhbolton··on EU unveils sweeping climate change plan
The EU is very much under the influence of big companies lobbyists. It always was and always will be. The EU parliament is a joke- voting is done in a way that makes it possible for people to vote for the wrong thing - see https://www.theverge.com/2019/3/27/18283837/europe-copyright... They are moving increasingly towards QMV (Qualified Majority Voting). I'm British and very glad of Brexit.
davidhbolton··on EU unveils sweeping climate change plan
In the UK about 9 million (roughly 1 in 15) people live in the countryside. My nearest supermarket is 7 miles away. There is no public transport to speak of. The nearest railway station is 6 miles away.
davidhbolton··on Police officer plays Taylor Swift song to keep a video off YouTube
I do wonder if there could be some nifty filtering tech that would allow the two voices to be isolated and the higher-pitch one (Taylor Swift) and music be removed.
davidhbolton··on Ask HN: Best “I brought down production” story?
I was part of a team that maintained end of day commodity trading software for a bank. Out of nowhere they got an $800 million inbalance one night. It was very odd and of such a magnitude that it was seen at board level (not good). We spent 12 nights watching end of days and debugging it in production before we found the issue.

It turned out that a new type of trade had been introduced which had a 0 days length. No trade we handled had ever had a zero day length; it was unheard of and the software did a divide by the trade length without checking for zero hence the bam. The div by zero exception was caught but only after it had skipped a Yen to $ fx conversion which is why the inbalance was so large.

davidhbolton··on How Parking Destroys Cities
Here in the UK, approx 10 million (about 16% of the population) people live outside of towns and cities. My nearest supermarket is seven miles away. Public transport is almost non-existent. Cars are a necessity not a luxury.

In cities (and I lived in London until six years ago) you needed a car for transporting shopping. Its either that or pay inflated prices at local convenience stores. Where I lived (Leyton) there were 1 or 2 supermarkets within a mile or two but other parts of London you had to travel further. Even with the much better public transport, you would not be able to carry more than a couple of bags of shopping. And much of London was just too dangerous to cycle on.

So I can understand why people like their cars even in cities.

davidhbolton··on Train firm's 'worker bonus' email is cybersecurity test
It would be interesting to see if the emails included personal information that only the firm should have known such as the recipient's name. In that case I'd argue that the test was flawed.
davidhbolton··on The Economic Consequences of Increasing Sleep Among the Urban Poor
I'm a 62 year old software developer. My normal sleep is between 4 and 5 hours with occasional 6 hour sleep according to my Fitbit. Anything less than 4 and I feel tired but I'm putting in a full days work with four or more hours sleep.

In the past while driving long distances, if I started getting fatigued, pulling over to a Motorway services I could fall asleep for 20 minutes and that freshened me up enough to finish any journey.

davidhbolton··on 50 Years of Pascal and Delphi Is in Power
Turbo Pascal, Borland Pascal and Delphi all suffered from the curse of units. Units were great, way superior to C/C++ compilation allowing fast compiles and efficient stripping of unused code. But they were version incompatible. If you lacked the source code for a compiled unit, you could never move to a later version with it.

But give it its due, the stuff you could do with Delphi for example COM made it probably the only Win 32 compatible language to compete with C++. It was the Betamax to the VHS of VB...

davidhbolton··on Ask HN: Why do you still use Wordpress in 2021?
Well I run a self-hosted WordPress. it's very robust, fast with static pages, excellent SEO, and very good security through plugins.

These days there's a lot more than just trotting out static pages although mine does that through caching. Publishing pages on a schedule, having both posts and pages. Popularity measuring, and archives. I doubt theres any alternatives that has the range of plugins, themes and widgets that self-hosted Wordpress offers.

davidhbolton··on Why inflation is not a threat
If you want to see an economist repeatedly criticise Richard Murphy on a regular ongoing basis, I recommend https://www.timworstall.com/category/ragging-on-ritchie/
davidhbolton··on YouTube will start deducting US taxes from creators who don’t live in the US
It's actually not that difficult. Yes you do not want to make any mistakes ($1000 fines) but there are companies who will sort this out.

There are plenty of people, myself included who live outside the US and get paid from US earnings with no tax deductions in the US. It helps of course if your country has a withholding treaty like the UK does with the US.

← PreviousPage 2 of 4Next →