* Posts by Charlie Clark

12162 publicly visible posts • joined 16 Apr 2007

Clutching at its Perl 6, developer community ponders language name with less baggage

Charlie Clark Silver badge

Re: Comparison with Python isn't really fair

The library issue was a key problem, which is why the PSF sponsored some ports, but even then adoption was hindered for a long time (until Python 3.5) because Python 3 used more memory and was slower for many things and didn't offer anything new. That was never going to help overcome software maintenance inertia.

But I think that, in the end, we learned from the experience as can be evinced by the vastly improved release process.

I personally don't know of many libraries that transpile, though I'm sure there are some. For most developers without C-extensions six or something similar and universal support for u'' and b'' prefixes was enough. Certainly less work than, say, switching from unittest to pytest.

Charlie Clark Silver badge

Re: Why exactly is Perl any worse than Python? : About efficiency.

Actually lots of parsers written in Python or Perl are as fast as those written in C, because they're largely wrapping C libraries. And this is one of the points of these languages: they're encouraging you not to reinvent the wheel. Yes, there will be times when you reach for a library and it turns out to be a dog so you do need to write your own code, but that will generally be the exception that proves the rule.

Of course, parsing gets harder and slower if you have to deal with unicode…

Charlie Clark Silver badge

Comparison with Python isn't really fair

Yes, the move from Python 2 to Python 3 was botched but the changes in the syntax were minimal. They were still enough to cause problems and more work than should have been necessary to migrate but the core developers did at one point take the blame and do something about it. Now, with Python 2's EOL rapidly approaching the vast majority of projects should be okay. Some, of course, will continue to Python 2.7 (I know of some places still using Python 1.5) but these are large legacy systems with no access to the internet, so security aspects are minimal. But basically there was never really much of a discussion of 2 versus 3, but more one of "why should I invest the resources to switch?" and it took a while for answers in the form of features and perfomance to appear.

Charlie Clark Silver badge

Getting rid of support for backticks, copied at one point slavishly from perl/shell, was one of the best revisions Python ever made.

Charlie Clark Silver badge

Re: Why exactly is Perl any worse than Python?

Languages are not all me too. They're generally written as a response to different problems.

There are lots of good comparisons of the two languages, highlighting the pros and cons of each, but at the end of the day it largely comes down to personal preference but C definitely isn't the answer for everyone's problems. While at the silicon level computers haven't changed, at the user level they have. For decades now we've had people needing to program as part of their day job and they simply don't have the education or aptitude to be able to use something like C correctly. But that doesn't mean that they can't write perfectly reasonable code in something else that internally relies on C.

The top three attributes for getting injured on e-scooters? Having no helmet, being drunk or drugged, oddly enough

Charlie Clark Silver badge

Re: Of course people aren't going to wear helmets

It's also a red herring in the context as, fortunately, most of the injuries aren't to the head. However, the number of serious (including fatal ones) accidents/km is startingly high with these toys.

It's also yet another failed, fake green business model™: the vehices are expected to last for about 6 months, which means their CO2 balance is disastrous; they're not being used to replace car journeys; and the owners have to pay people to drive around collect, charge and redistribute them.

Hey, it's 2019. Quit making battery-draining webpages – say makers of webpage-displaying battery-powered kit

Charlie Clark Silver badge

Re: At Charlie Clark, re: bells & whistles.

OnMouseOver hover events to make a menu appear?

So, like everyone using a mobile phone? I wonder if anyone's thought about this?

Sites I've worked upon have been through ARIA tests and needed only minimal changes to gain approval, not least because screen readers can take advantage of correctly used HTML 5 semantics.

So, it can be done, if developers know their stuff and are prepared to argue the case. As Bruce Lawson is fond of saying accessibility is usability.

Charlie Clark Silver badge

Re: An easy way to save power...

I guess it depends a lot upon your definition. But, at its core, HTML5 was about the semantics. So we got <nav>, <section>, <article>, <video> and a heap of useful form elements. This was based on research done by Opera as to what people were actually doing. At least regarding the language a lot of the rest was about fixing things like defining errors so that behaviour across browsers could be more consistent.

I agree that a lot of the associated changes in things like Javascript have caused avoidable problems, but that does not invalidate the exercise.

Charlie Clark Silver badge

Re: An easy way to save power...

While I agree that a lot of stuff that we're subjected to serves no one other perhaps than the designers, programmers or those who consider themselves such, I don't think that a return to 1990 is required.

HTML 5 comes with the necessary semantics to make websites that both look good and are comprehensible in other modes. I'm surprised that CSS is causing problems, presumably due to some poorly implemented transitions, I assume.

I advise a company in this area and the website has excellent performance and accessibility as well as looking good (modern and has lots of bells and whistles). But the majority of website owners and developers really don't seem to understand how important it is to do this.

Charlie Clark Silver badge

Re: Good luck that

There still quite a few websites out there that rely on Flash (Channel 4's videos for one spring to mind) that miraculously work without it on IOS. Not that Apple's drive to remove Flash was only about security or performance. It was at least as much about control and licences, which is why its contributions to an "open web" more or less stopped once DRM video was possible.

Charlie Clark Silver badge

Re: An easy way to save power...

Lots of HTML5 is a big step up in terms of performance. The real issues are third-party scripts for tracking and advertising and the current fad to try and write websites as JS apps.

British Prime Minister Boris Johnson moves to shut Parliament

Charlie Clark Silver badge

Re: Taking back control

This certainly seems to be the line of, presumably, social media fed vox pops.

Mind you, Her Majesty's Loyal Opposition has contributed to this by steadfastly refusing to adopt a position over the key issue.

Instead of the government suspending parliament, it should parliament suspending government and forming a true government of national unity to take care of business until negotiations with the rest of the EU 27 have reached a satisfactory conclusion. Easy enough if you get parliament involved in the negotiations, something which May refused to do and which Boris won't even countenance.

I guess the plan is to try and ride out the protests, crash out and hope for a wave of patriotism in the ensuing general election.

Charlie Clark Silver badge

Re: About Time

Don't forget the deal with the Faeroe Islands!

Charlie Clark Silver badge

Re: Inaccurate

It can't vote for jack shit if it's suspended.

Charlie Clark Silver badge

Re: Inaccurate

So the votes don't count at all?

And the only way to prevent parliament from passing the required primary legislation is to suspend it?

Nice definition of democracy you have there.

Charlie Clark Silver badge
Stop

Re: About Time

To be fair, no one is really able to reliably quantify the effects. The reports rushed out in 2016 backfired but more recent ones from things like the Official of Fiscal Responsbility and the Bank of England are not impressed by leaving and definitely against doing it on no terms. The other side, however, is full of what-if scenarios heavily dependent upon yet-to-be started trade negotiations.

To leave a trading bloc with which the country does most of its trade is going to be a huge hit, especially for industry with complex supply chains which see products repeatedly cross borders. Throw in the problems and costs are reintroducing customs controls and it's difficult to see an upside. The government is likely to be forced to spend and, hence, borrow more, increasing the debt and quite possibly driving up borrowing costs if there is a run on the currency.

But, hey, I've got an idea. Let's just do it and if it all goes titsup then we've still got our trust funds and overseas accounts, haven't we?

Charlie Clark Silver badge
Thumb Up

Re: Inaccurate

Well played, sir. Both the UK and US Supreme Courts have come to the same conclusion. Both are, of course, also well-known "enemies of the people".

Charlie Clark Silver badge
FAIL

Re: Inaccurate

Parliament has already voted by a majority not to leave without a deal. If this cannot be done within a specified time then an extension should be sought. It is the government that is ignoring the will of the people.

Charlie Clark Silver badge

Now we know what taking back control really means…

…giving it back to the Privy Council. Why not bring back the inquisition while we're at it?

Let's hope this ends up being Bojo's resignation letter.

Female-free speaker list causes PHP show to collapse when diversity-oriented devs jump ship

Charlie Clark Silver badge

The majority of psychological studies show that there are innate differences between the sexes. However, even the apparent innate preferences (observable in other primates) don't explain the study preferences in the West. Hence, the larger proportion of very good engineers and technicians in places like the former Soviet Union, India and Iran.

Charlie Clark Silver badge

Both my parents were left-handed and both were forced to try and learn to write with their right hand. That's fucking barbaric!

Charlie Clark Silver badge

Which ends up as pretty much the same thing.

Charlie Clark Silver badge

Re: White men complain that there are too many white men…

I've seen lots of radical and new ideas at conferences, including from young kids. Competence is not the same as expertise and indeed most of the best talks are less about cramming you full of knowledge than making you think and questioning your assumptions.

Reminds me that I've even been called out at a conference for making a joke about another programming language (it wasn't about PHP, which is already a joke ;-)). Someone thought this wasn't being inclusive enough and decided to report me.

Charlie Clark Silver badge

It's not really about anything other than power. The "diversity" card is merely used to gain influence.

Charlie Clark Silver badge

And poor. Outreach campaigns never seem to extend to ghettos.

Charlie Clark Silver badge

White men complain that there are too many white men…

But there is presumably an irony embargo.

Most of these complaints lead to dumbing down of conferences. I know a few women in IT who positively resent this approach. If you want more women in IT then you have to focus elsewhere and start younger. Promoting the idea that diversity is more important than competence is a bad idea for technical conferences.

Audible hasn't even launched its AI-powered book subtitles and publishers have already fired off a sueball

Charlie Clark Silver badge

Re: Already paid.

Just do a thought experiment with what you describe and apply it to close-captioning for a film, that doesn't include it.

Charlie Clark Silver badge

Re: Clearly discriminatory here

I think courts are likely to follow that argument and, as long as Amazon can demonstrate that the results cannot be accessed separately, then I think they'll be okay.

As for the idea that transcription is only possible for companies with deep pockets, that's hogwash. Lots of the research on has been publicly funded for assistive technologies as good models are avaiable. If publishers wanted to, they could easily provide their own versions.

I'm no fan of Amazon (love my Kobo Aura One) but Audible and GoodRead.com were excellent buys for the country getting into digitall services, and there's no doubt that Audible has brought audiobooks to a much wider audience.

Trump attacks and appeals 'fundamentally misconceived' Twitter block decision

Charlie Clark Silver badge

Re: Control is not Ownership

FWIW it was the court that insisted that the block be lifted.

If Trump would limit his use of the service to entirely personal interest (say gardening or gold tips) then he might possibly have a case. But even then not really because Twitter is a public forum.

As for partisanship: this has been Trump's successful modus operandi but it cuts both ways.

Currently for every one of his supporters who think his claims are valid, there are two who think he's a paranoid bullshitter.

Samsung Note10+ torn apart to expose three 5G antennas: One has to pick up something

Charlie Clark Silver badge

Re: Ban nontreplaceable batteries

A lot of studies have shown that electric toothbrushes really do a modestly better job of cleaning than manual

Ie. minimal. They're a solution looking for a problem. There are so many other things to do first: clean your teeth regularly; use the right kind of brush for you and change it regularly; reducing sugary food and drinks (including fruit); don't smoke; getting enough fluoride either in the drinking water or naturally from things like tea (withour sugar, of course), etc. If you don't do that then difficult to see how an electric brush is going to help.

Over four decades with my adult teeth and no fillings yet. Or am I just lucky?

Charlie Clark Silver badge

Re: Why buy a Samsung Note?

The Note was the first phone with a very large screen and a stylus was immediately popular with some people as a result and the first time Samsung led the way. The full-fat one comes with 256 GB and will take SD cards. Try that with an I-Phone.

Not for me, but they do have their fans as was evinced in the reactions to the withdrawal of the Note 8.

Charlie Clark Silver badge
Flame

Re: Ban nontreplaceable batteries

Better still ban electric toothbrushes, it's not as if the really improve dental hygiene. Instead they sit in their chargers all the time. The standby power-use is a bigger problem than whether the batteries can be replaced or not.

Charlie Clark Silver badge

Thanks for the correction! Still, imagine a phone with a 15Ah battery!

Charlie Clark Silver badge

Again glued in place, the powerpack is a 16.56Wh unit

Fuck me, at least 5 times the size found on most phones and bigger than many powerbanks! I can imagine that being enough of a reason for some boffins. At around 1000 charge cycles per battery they should last a good few years.

As browser rivals block third-party tracking, Google pitches 'Privacy Sandbox' peace plan

Charlie Clark Silver badge

Irony

What I like in the article are the quotes from the tracker and advertiser also ran. Basically, how can you trust anyone who uses Twitter to talk about privacy?

As for the discussion about user profiles and ads, I'd like to see more research into the whole idea of whether knowing so much about someone really makes that much of a difference when it comes to product advertising. The general assumption is that it does and this is why advertisers are prepared to pay more for it, but I'm personally not that convinced. Contextual adverts are certainly the ones I respond best to. Of course, the two approaches meet in services like Spotify and Netflix (and boy do they both love our data).

I've thought for a while that Google has a greater understanding of personal versus aggregate data. For example, in most cities it probably has sufficient aggregate data to suggest where would be a good spot to put a hotel or a chinese restaurant, or cycle lane. I'm sure there's a great deal of trade in such data and find it strange we don't hear much about it.

Brit rocketeer Skyrora reckons it'll be orbital in 3 years – that is, if UK government plays ball

Charlie Clark Silver badge
Facepalm

While the UK Parliament is a little preoccupied with other matters at present

Like the summer holidays, perhaps. Country going to hell in a handcart, MPs off to Provence, Tuscany and all points South!

I wish I was joking!

Cali court backs ex-Apple engineer who says he invented Find My iPhone and Passbook

Charlie Clark Silver badge

Re: Why

Bell Labs was famous for it, and able to bask in the glow of the associated Nobel prizes.

It can make excellent business sense to allow researchers a stake in their patents and we're seeing this with some of the top AI boffins who would rather be cited on the patent than earn even more money.

Charlie Clark Silver badge

Why would assigning all the righs to the FSF help anything?

The GPL is political ideology masquerading as technology. The stated aim is more or less to make commercial software development impossible.

Charlie Clark Silver badge

About the only thing the USPTO has failed to accept a patent for is stupidity!

Once the principle of software patents were accepted, companies have gone mad for them out of the fear that if they didn't patent "the patently obvious" someone else would and sue them for it.

The patent for rounded corners doesn't come close to some of the software ideas or "business practices" that have been patented. If he was around today Pythagoras would either be a billionaire or in debtors' prison!

A challenger appears: Taiwanese devs' answer to Gemini PDA wraps a Raspberry Pi in a tablet

Charlie Clark Silver badge

You can control the temperature/power in software. But if these are a real consideration then an SoC with a better TDP would be the better choice.

Charlie Clark Silver badge

Re: Not enough bandwidth, and given me a proper keyboard

This is a Pi 3 and not a 4.

I have frequently hit problems with IO on USB 2, happens quite quickly when you're trying to use the disk and the network. Maybe they've found a workaround but I thought it was an SoC restriction.

Charlie Clark Silver badge

Not enough bandwidth, and given me a proper keyboard

The Gemini's form factor is a winner: it does fit into a pocket and a real keyboard is a real advantage. Planet is struggling with the software but the package all in all is compelling. All the Pi's struggle with being limited to USB 2's meagre bandwidth. In many situations this doesn't seem like a problem, but once you starting doing real stuff IO quickly becomes an issue. Going with the Pi 4 would let them use the relatively open platform that Broadcom provides, but it's also difficult to see what this brings over an Android with a soft keyboard.

Shiny new toys take backseat in Android Studio 3.5 for now as '600 bugs' squished

Charlie Clark Silver badge

Re: Curious take on AV

If it's affecting file system performance so much, they've got a point. But think of it more like disabling triggers and reindexing per table when doing a bulk DB load.

There once was a biz called Bitbucket, that told Mercurial to suck it. Now devs are dejected, their code soon ejected

Charlie Clark Silver badge

Re: A latecomer to version control

To be honest, they're largely equivalent with some differences in the detail, which is, of course, where the devil resides. I think we've all trashed respositories as we got to know the various systems but in the end, having any kind of repository is better than having none.

I still find Git positively arcane in comparison to Mercurial.

Charlie Clark Silver badge

Re: Monopoly

Well, it's git and the git toolchain, which seduces users and leads to a self-fulfilling prophecy.

I've always disliked the "common cold" argument: if everyone else has the flu/siphyllis/ebola, should I get it too?

I'd very much like to stick with Mercurial. Does anyone know of anyone still prepared to offer a choice?

My MacBook Woe: I got up close and personal with city's snatch'n'dash crooks (aka some bastard stole my laptop)

Charlie Clark Silver badge

Re: Sad

You may well be right, though I guess it depends on the expected pay-off. Most likely they just know how to get out with the target with the minimum of disruption. Quite often they'll only need to shove someone aside.

Charlie Clark Silver badge
Coat

Re: It was obviously....

Just have to raise an eyebrow at your typo and Apple's Secrete Operations department. Has Kieren been slimed?

Charlie Clark Silver badge

Re: Sad

Having had the odd thing nicked in my life (who hasn't?) I can sympathise with the feelings it generates: why me? could I and should have done something to stop it?

But what strikes me over the theft and the reports of other similar thefts is that it sounds very much like the thieves are confident that they can overcome Apple's protection because the machine is otherwise fairly worthless. So, the machine is gone: wipe it remotely and remove it from your Apple account.

This was a professional theft and not a junkie's opportunistic smash and grab: getaway vehicle with fake plates. All done at speed so that even if there is a have-a-go-hero around, they're not likely to react in time and, even if they do, the guy probably has a trained response: if you're risking going down for a felony, you're not that likely to worry about being done for assault as well.

Oh, and back the shit up, especially if you're out and about a lot. When my MacBook got nicked in 2014 (out of my room while I was asleep) I might have felt like a prize numpty, but was able to do a suprising amount of work on my aged Mac Mini until I got a replacement sorted. Installing to a MacBook from a backup can take a while but is simple and just works™. So, also think about having a backup device.

Dropbox would rather write code twice than try to make C++ work on both iOS and Android

Charlie Clark Silver badge

Re: Pardon my Ignorance.....

The platform problem becomes the language problem; the language problem becomes a maintenance problem which then becomes a project risk.

Charlie Clark Silver badge

Re: Agile project management failure

I don't know if that's really the case here. It's not really about the GUI side of things, where QT excels, but the low-level system stuff. Plus, the blog article makes it clear: they're having trouble finding people with the C++ skills to maintain what they already have. While we might bemoan this as yet more evidence of decadence in the IT industry, that won't change the associated risks. Switching to the platforms' preferred languages at least makes this someone else's probem.