* Posts by Charlie Clark

12169 publicly visible posts • joined 16 Apr 2007

Apple, Google, Microsoft, Mozilla agree on something: Make web dev lives easier

Charlie Clark Silver badge

Re: Keep It Simple, Stupid.

Sorry, while I agree with some of the criticisms, I personally consider HTML 5 to be a considerable improvement on what was before. It was heavily influenced by Opera's MAMA study and does indeed make many common tasks easier, cleaner and more consistent. That was the main job. Since then there has been a certain amount of feature creep, mainly by Google, but this is better than the stasis that Microsoft forced upon HTML 4.

It should also be noted, that, if done correctly, the developments require less JS over time as stuff gets baked into the browsers.

Maxar Technologies: The eye in the sky tracking invasion of Ukraine

Charlie Clark Silver badge

Re: Image quality

Corruption and inefficiency are part of the Russian system. They're usually balanced by a huge area, seeminly limitless resources and a pliant population. So, even when things don't succeed initially you either wait for more to come along or, if necessary, retreat far enough so your enemy now has the problem. Then you bomb the shit out of them.

In this context, wastefulness is just a means to an end. The playbook for Ukraine is, unfortunately, likely to be similar to Chechyna: bomb and blow everything up and give the winning warlords carte blanche.

Charlie Clark Silver badge

Re: Image quality / Shoelaces

ta, but for all your shoelace knot needs it's nice to know there is a website dedicated to them. Of course, there is.

Charlie Clark Silver badge

Re: Image quality

The trick is to ensure the knot itself is tight, rather than the laces being too tight.

Of course, tying laces with a bow is something slightly different. But I have observed with some shoes that no matter how tight I make the bow, it tends to come undone. This is invariably with round laces and I'm fairly sure that the "right over left" stuff has to take the way the laces are twisted into consideration, just that I've never figured it out myself!

Charlie Clark Silver badge

Re: Image quality

Very true. I think the real point may be about the length and number of fronts and being able to keep them all supplied. Oh, and having clearly defined and obtainable objectives.

The Russian strategy seemed to be about splitting Ukrainian forces between the east and the centre, seizing Kiev and installing a puppet government. As strategies go there's a hint of the underpant gnomes in this one, just as there was when the US went into Baghdad.

The front will get longer and may soon include parts of Belorussia and Georgia and elsewhere. At the same time, the limits of kleptocracy are starting to be felt in parts of the economy vital to keeping the army supplied.

Charlie Clark Silver badge

Re: Image quality

I'm OCD enough to have taught myself how to tie a reef knot on my dressing gown for the same reason. But haven't yet learned how to tie shoelaces that resist bows (I believe it's to do with the direction of the twist)…

Charlie Clark Silver badge

Re: Image quality

The Russian communication strategy suggests they're not at all happy with the US being so open about the Russian military: it's a crime to report anything about the war that is not sanctioned by the military.

The convoys weren't supposed to be necessary but they got off to a bad start and kept getting ahead of their supply lines.

Charlie Clark Silver badge

Re: Eye in the sky until blinded

Ukrainian peoples willingness to fight and die for their country…

Yes, but as with Afghanistan and the "tribal areas" in Pakistan, there are people outside the country who are also willing and able. If the conflict moves west towards the Polish or Slovakian borders, or south towards Romania, the risk of targetting suppliers on the other side of the border in a NATO country will rise. There is also the risk of an uprising in Belorussia, where Lukashenko is only just keeping a lid on things.

And the long term aim of Putin to establish at least a land corridor to Königsberg if not reinvade the Baltic countries.

And you can also be pretty sure that the CIA, et al. are looking at the Caucuses and beyond, with Putin's troops so widely spread: there's resentment against Moscow from their to Siberia.

Wars are always messy and escalation is almost always inevitable.

Charlie Clark Silver badge
Coat

Re: Image quality

Or if you're wearing slipons…

Charlie Clark Silver badge

Re: Image quality

You can also assume that the images are provided with the consent and maybe even at the behest of the US military: they're for domestic consumption around the world to counter any suggestion by Russian trolls that it's just another training operation and that Ukrainians are welcoming them with garlands of flowers.

If Russia really is relying on convoys then it's asking for people to take pot shots.

Charlie Clark Silver badge

Re: Eye in the sky until blinded

Any attack on a US satellite would have to be by the Russian military and would, therefore, be considered an act of aggression and the US has definitely got the capability to react and take out Russian satellites, which it almost certainly depends upon for support at the moment.

Some kind of conflict is almost inevitable at some point, but Russia certainly doesn't want to draw NATO in yet: the last thing it wants is a no-fly zone.

EU cuts off key Russian banks from SWIFT system

Charlie Clark Silver badge

Re: Their EU subsidiaries are already declaring bankrupcy

Well, if the subsidiaries declare bankruptcy their local creditors will struggle. Bank insurance will cover some of their losses but seeing as it was a political decision to impose sanctions, the government will probably cover the rest.

The thornier issue is managing cross-border banking licences in the future.

The zero-password future can't come soon enough

Charlie Clark Silver badge

Re: Security keys aren't expensive

There are free apps for iPhone and Android to implement that.

That implement what exactly? One of the points about confirming identity is that it isn't a purely technical problem. The risks are well understood and none of the proposed technical solutions is without its problems as the post attempted to spell out.

And are you seriously suggesting that Apple and Google be given even greater power over devices?

Charlie Clark Silver badge

Everyone knows that good passwords should only be used once…

As you say, we've yet to come up with anything better that is as universal.

ARPANET pioneer Jack Haverty says the internet was never finished

Charlie Clark Silver badge

Re: What about IPv4?

Why take the wager so literally? It seems to me to be a philosophical justification for erring on the side of caution.

Charlie Clark Silver badge

Re: What about IPv4?

There are certainly elements of this, which is probably why uptake was initially so slow. However, nowadays you could consider adoption an example of Pascal's wager. At some point IPv6 may well be dominant so why not get on board now? If you're going through a network upgrade anyway, being able to run IPv6 outside your network isn't going to hurt.

Charlie Clark Silver badge

Re: What about IPv4?

Have to agree that full IPv6 addresses are easy to misread (though jumbling numbers in IPv4 is also really common), but I think a lot of the time you can get away without prefixes which makes things a lot easier.

Charlie Clark Silver badge

Re: What about IPv4?

The reason IPv4 still dominates is largely down to IP address depletion not affecting everyone equally. If IPv4 addresses had been allotted equally be country initially, the US would also have started to run out. IPv6 solves some of IPv4's problems, including address range, and is seeing increasing adoption within the networks and service providers with end users hardly noticing: their mobile network is probably already IPv6 and more and more providers are now 6to4 rather than allowing users to go 4to6. The transition will continue to be gradual and may never be complete. But this is true in other areas: altitude for planes is still in feet, speed of ships is still in knots, and some engineering is still done in thous…

Charlie Clark Silver badge

Re: There is no such thing as a prototype

Given how much computational code is written in Python but essentially running in Fortran, the usual approach is to prototype in Python but write real thing in Fortran or C++, or use any of the existing libraries.

Python and other similar languages have proved a godsend for all kinds of work because they let talented scientists do stuff they'd never otherwise be able to do without first getting a Comp Sci degree first. And at least 50% of this is down to providing bindings for decades of excellent Fortran and C++ code…

Apple has missed the video revolution

Charlie Clark Silver badge

Re: Apple had spectacularly bad timing

Thanks for the additional info. The M1 was released really for the Air crowd – maximum portability and battery time but not a lot of oomph and it was clear that any software that required hardware acceleration would take a while.

But I know people who for years have been doing video on Macs because of the hardware/software. For a while it was either Mac or Sony because of Firewire. Apple has definitely neglected third-party software by pushing its own audio-video solutions, but there are still plenty of media companies dependent upon solutions built on them.

But the article seems specifically to be about the Twitch/Influencer brigade. It's a mistake to consider this the future of video.

Good: People can spot a deepfake video. Bad: They're not so hot with text

Charlie Clark Silver badge

From the Department of the Bleeding Obvious

Even if this seems obvious to you, at least someone's done the study. That's science.

Really, thank you for telling us!

The relationship of sound, text, video to plausability has long been studied. Video is often abused/recruited to support a particular point of view. There are infamous clips from Gaza but really the film "Wag the Dog" does a great job in showing how media can be manipulated for particular purposes. And then there is Orson Welles' legendary broadcast of War of the Worlds. Sometimes people won't believe their own eyes.

Escape from The National Museum of Computing

Charlie Clark Silver badge

Re: You know you've got the right job...

I think this is why Tron hit such a nerve: an attempt to show what was going on in those new fangled electronic gizmos that were popping up everywhere.

But there is something about seeing the various electric and mechanical memory devices that were trying to solve the problem of persistence for the state machine. It was only when my dad demonstrated the rebuilt Baby at MoSI that I understood how DRAM really worked. A classical boffin hack but good enough to still be in use, in principle, in all today's systems.

Charlie Clark Silver badge

Re: You know you've got the right job...

IIRC the museum is largely run by volunteers and, at least when I was there, the relationship with the Bletchley Park museum is not as good as it should be.

It's well worth a visit, though you probably need to bring a bit of understanding of how computers work and how they've developed. Personally, I found looking at the electronic parts, some of which are now more than 40 years old but I remember from my childhood, less rewarding than the older stuff where you can see something's going on. Maybe that will change over the years.

US imposes sanctions as Russia invades Ukraine

Charlie Clark Silver badge

Re: re. more blankets

I find it hard to imagine Trump would have allowed such a screwup in leaving.

Which part of his 4 years of government didn't resemble a screwup? In particular, his relationship with the military was fraught because of his failure to appreciate that details matter in military planning.

In the end, it didn't really matter because the fundamental mistake was assuming the Afghan military just needed proper training and equipment. There's at least one lesson there.

Charlie Clark Silver badge

Re: re. more blankets

It's true that in the frozen North there aren't many options for power. But that doesn't make nuclear any "greener" than other sources of power. It remains very expensive and the waste problem is as unsolved as that of burning fossil fuel. For decades it has been promised that the next generation will be cheaper and cleaner. That might happen but that won't solve the problem of all the mess produced over the last 60 yeards.

In most places, wind and solar are cheaper than nuclear, which is why they're displacing it for baseload production. What's missing is effective storage (neither hydro nor batteries are really suitable) for surges in demand.

The fight over labels shows just how many vested interests are chasing the subsidies.

Charlie Clark Silver badge

Re: re. more blankets

Easy enough to invoke anti-terrorist legislation as was done against Iceland after the 2009 crash. That didn't make any real waves in the courts but doing it against Russia would be even easier to justify.

Charlie Clark Silver badge

Re: re. more blankets

The Finnish greens have traditionally been open to fission reactors, though their fervour seems to be dimming.

Really, until we've solved the problems of nuclear waste, fission isn't an option: it's a differently deferred problem, that's all.

But this isn't all about gas. It's about depending on relatively cheap source of energy without controlling their production.

Charlie Clark Silver badge

Re: re. more blankets

I'm not making predictions, but I think it would be naive to assume that the status quo in central Asia and the "Stans" as Russia turns it eyes westwards. Many of the seasoned troops due to be engaged in Ukraine are from that area and we've already seen Russia intervene in Kasaschstan.

I don't think we can rule anything out.

Charlie Clark Silver badge

Re: re. more blankets

Afghanistan was incompetence after incompetence but it was Trump who essentially set the timetable for the withdrawal.

Charlie Clark Silver badge

I know all about the borders being redrawn during and after the second world war. None of it can be considered fun. However, acknowledging the the borders has become a tenet for European peace. By going against this, Putin has effectively declared war on Europe, though some might not have noticed yet.

Unfortunately, it's probably only a matter of time before there is escalation beyond Ukraine's borders.

Charlie Clark Silver badge

Re: re. more blankets

Cost of extraction versus cost of synthesis. Russia has relatively high extraction costs.

Synthesis isn't cheap yet, but then again, we haven't really put much effort into it because industry has prefers other bigger handouts like batteries and "clean" hydrogen.

Charlie Clark Silver badge

It spent the last 400 years part of russia and was only really recreated again under Kruschev

You obviously don't know any Ukrainians. Like much of the former Russian empire, Ukraine, which has a longer tradition of statehood than Russia, with the Kiever Rus actually giving Russia its name, was subjected to various bouts of russification with Tsars banning the use of the language and Lenin stamping on the newly independent Ukraine in 1918.

But Putin has made it clear he won't stop at Ukraine. So, at some point, as the song goes, then they came for me.

Charlie Clark Silver badge

Re: left him too long

That always sounds good but regime change is always difficult to engineer.

Charlie Clark Silver badge

Re: re. more blankets

The initial decision to phase out nuclear power was taken at the start of the millennium. And, if anything wasn't rational, it was rolling that back and letting the power companies draw up new contracts with left them with fewer liabilities and a higher payoff when the inevitable shutdown came.

Putin has been playing with the gas tap all winter, but, while reserves are low, winter is coming to an end and new sources of supply such as US LNG are becoming available. This makes it largely a matter of price, which the West as a whole can easily afford. This suggests that Vlad's timing was poor.

Russia can try selling gas to China, but China will dictate the price. China might like annoying the US but it certainly doesn't want an aggressive and impulsive Russia.

Shutting the Russian government off from the bond markets is going to cause a lot of problems as is moving all those trained troops from the Caucuses and central Asia. Even Afghanistan could become Russia's problem again at the Taliban look for sources of income and power.

Google kills download-shrinking Lite Mode browser tech

Charlie Clark Silver badge

Re: Obligatory XKCD

Speed is only part of the problem. 3G is being replaced by LTE and more around the world. But even if the handset does 4G, it may well be underpowered for all that JS that it has to compile, even if it may never run it. This is why Opera's proxy strips out all the JS and does some rendering on the server. This and a good ad-blocker is the way to deal with the bloat.

Charlie Clark Silver badge

Re: Mobile pages optimized

I've seen the same thing, even significant drops in performance as some nice (and clean) optimisations were removed when changing CMS and service supplier. The data on httparchive.org also confirms that websites are getting fatter and slower.

JavaScript survey: Most use React but satisfaction low

Charlie Clark Silver badge

Re: Representative?

Considering what Javascript was initially developed for and what it's now used for and you can cut it some slack. In fact, given the speed with which it was released and, despite the fact that I don't like it personally, it was remarkably well done.

But, more importantly, static typing is not strong typing. Static typing gives the compiler some optimisation options and might catch the odd bug but won't solve any real problems. But if you want types for your front end web development, go with TypeScript.

Charlie Clark Silver badge

Representative?

Really, who cares about the gender distribution in self-reporting studies? Like other bits of web progamming, JS development has for years been outsourced to the cheapest bidder, so the survey is largely reflecting the career opportunities and choices in those countries.

But if you want more evidence that the survey is not representative then look no further than the number of respondents who want static typing! In Javascript? As if there aren't other, bigger problems with the language. But also with TypeScript there are alternatives for those who crave the staticness.

Adobe warns of second critical security hole in Adobe Commerce, Magento

Charlie Clark Silver badge

Re: Sadly, my company are magento heavy...

It got in there because it ticks the boxes for a "web shop", a bit like Drupal for CMS. Non-technical manglers appreciate the value of a company that can afford a sales department and has references they might have heard of. And they may also be wary of the IT department, for which there can be good reasons.

I've never worked a web shop but had discussions with people who've thought getting one. As with so many things online, they almost always forget that generating orders is the easy bit, fulfilment, returns, etc. are what take real work.

Charlie Clark Silver badge
Thumb Up

Re: So Magento has been fully integrated now

Well, that and Brainfuck, et al. You'd need a preprocessor to generate it but it's technically possible.

Charlie Clark Silver badge

Re: So Magento has been fully integrated now

Don't forget, like Flash, they bought Magento. And, as it's written in PHP, validation issues are to be expected. Yes, anyone can write good code in any language but for years PHP favoured convenience over best practice.

Alarm raised after Microsoft wins data-encoding patent

Charlie Clark Silver badge

That's the point I was making, though I'd never describe any of them as perfect. The US system is flawed by design because it benefits directly from granting patents and by implementation due to the Munro doctrine and US extraterratoriality. This may change over time given the number of patents that China now has on key areas of technology; along with its own myriad bogus patents created by its own flawed system. Once a few US companies have been successfully sued, and this is probably only a matter of time, then there might be a move for a more cooperative system over time. Banning products is only going to give temporary relief there now that China has both the market size and the technological sophistication to drive new standards forward.

Charlie Clark Silver badge

Just because the US patent system is fucked, doesn't mean everyone else's is.

Charlie Clark Silver badge
Stop

Re: Ban software patents.

The existence of PRIOR ART should have prevented the award of the patent in the first place. But the US patent system has been issuing such patents for years. The problem is that you then have to litigate to get the patent withdrawn.

In many jurisdictions software patents are not possible but the importance of the US economy and the tendency for US extra-terratoriality means that the rest of the world tends to live in fear of a district court in the US boondocks. This is a drag on innovation, development and commerce.

But the underlying problem is that all software patents are essentially the expressions of mathematical formulae, which are not patentable.

Chromium-adjacent Otter browser targets OS/2

Charlie Clark Silver badge

Re: Get the facts straight

I think you're right about most of the decisions. Of course, it couldn't have been 32-bt from the start, and initially it was too tightly tied to the MCA of the PS/2, which while better than ISA, wasn't sufficiently better for anyone to want to license or copy it, if IBM refused to license it.

By the mid-nineties the game was largely up. Those companies who'd invested in OS/2 knew their investment was safe and wouldn't have to replace it for > ten years and in the meantime they'd profit from "a better Windows than Windows", which it was. This is, at least, what Lou Gerstner later said when he pulled the plug on it. But it wasn't the development of the OS itself as much as spending money on marketing and getting application developers on board. At the time IBM was making more money than Microsoft by selling applications for Windows NT. IBM was later to drop the ball on Lotus Notes in much the same way, which let Microsoft sell the cancer that is Exchange to corporates.

Charlie Clark Silver badge
Pint

Re: A few more pedantic details

Thanks for all the extra details OS/2 could have been great if neither IBM nor Microsoft had had anything more to do with it!

Charlie Clark Silver badge

Get the facts straight

The OS was compatible with some Windows drivers, but Windows 3.x did so well that the IBM/Microsoft partnership dissolved in unhappy circumstances in 1992.

I'm not sure what the first phrase is supposed to mean because OS/2 required its own drivers for all hardware. One of the reasons Windows 3.x did so well was that large companies could run Windows 3.x applications in OS/2 with more memory and fewer crashes, because each application effectively got its own VM. OS/2 pioneered software virtualisation. But the reason why the partnership between IBM and Microsoft was dissolved was that Microsoft was working on a competing OS called Windows NT. Outsourcing the development of OS/2 to Microsoft was a terrible decision and indicative of IBM's management at the time.

Emergency updates: Adobe, Chrome patch security bugs under active attack

Charlie Clark Silver badge

Credit where credit's due

I don't use Google Chrome but nice to see Google eating its own dogfood with the security team finding bugs in Chrome and the Chrome team fixing them quickly.

We get the privacy we deserve from our behavior

Charlie Clark Silver badge

Why regulation is required

While I understand the thrust of the argument – if people are careless with their data, they should live with the consequences or learn the hard way – this can be applied to all kinds of areas where we have regulation because people either can't be trusted or don't understand. For example, in most places we have speed limits for cars because driving at high speed increases the chances of accidents and injury; we also restrict access to certain chemicals or medicines because too many people have been poisoned in the past, etc.

Add to this the devious or at times malicious practices of the data merchants with claims like "if you've nothing to hide, you've nothing to fear" and the case for regulation is even stronger. The economic argument that advertising allows services to be free to use is also fallacious because it ellides the fact that they are paid for by data. You could argue for this, if user's were able to set the price for their privacy after they have been shown market rates. This would be a useful excercise but would also destroy the market.

But even the best regulation can, and probably should not even purport to, prevent all abuse. GDPR has some great principles such as "privacy by design" and "privacy by default" which attempt to instill correct behaviour in developers and service providers, but will almost always been chasing developments. So, we as users and consumers must also play our part and learn to be a little less promiscuous.

20 years of .NET: Reflecting on Microsoft's not-Java

Charlie Clark Silver badge

Re: Alas poor SOAP!, I knew him

Not sure about the "all APIs are hard" bit, can you give an example?

I mean creating nice APIs. Like naming, it's one of those bits of IT that is often overlooked but when you're developing software, you often do it for yourself and know how you want to use it. The API, a bit like grammar in human language, only becomes necessary when someone else wants to use it.

Then, once something has been released, you realise all the things that should have been done differently and would like to change: can you change the API?

You're right, of course, about some of the ideas that companies had for extremely low value services that would then be proprietary but SOAP failed really because despite it's complexity it couldn't deliver anything very useful, not least because XML is shit for typing.

The API stuff came on top: each online weather, travel, etc. service had a completely different API. JSON ended up promising less but delivering more (yes schemas are a problem, but at least basic types were supported) by being simpler a hell of a lot faster.