* Posts by MacroRodent

1979 publicly visible posts • joined 18 May 2007

Oracle demands dev tear down iOS app that has 'JavaScript' in its name

MacroRodent
Trollface

Re: Well this all raises a pretty good point

> but ECMAScript is an even worse name (sounding as if it is an unfortunate medical condition somewhere between eczema and acne).

And thus describes that mess of a programming language pretty well!

Gmail is secure. Netflix is secure. Together they're a phishing threat

MacroRodent

Re: TL;DR but what is it with ****ing developers

They ask for country code and had the expected county code starting with a + already filled in. It then refused the accept the + as it only allows numbers

Heh. Copy-paste coding. The net is rife with examples where a phone number is supposedly "validated" so that + in front is not allowed. Eg. https://stackoverflow.com/questions/2386054/javascript-phone-number-validation

I too encounter this all the time. There is a legit workaround: "00" is usually acceptable as an alternative to "+", but not in all countries. In fact, the "+" notation was introduced precisely because of the variation in international prefixes. (But probably there are some moronical web sites that forbid also phone numbers stating with zeros).

2001: A Space Odyssey has haunted pop culture with anxiety about rogue AIs for half a century

MacroRodent

Re: For more details....

> I think the glass pyramid idea was dropped because of the technical difficulties of filming a large piece of light refracting material.

According to the "Lost worlds" they next planned a transparent monolith with the 1x4x9 dimensions, and actually cast it from Lucite (whatever that is, Clarke claims it was the largest block ever made of that material), but as you note, filming the transparent object convincingly was too difficult, and they switched to black. In the book version of 2001, the monolith is still transparent (to be precise, the version the ape-men encounter is transparent, in later appearances it is black).

> Must find my, by now, yellow copy of The Lost Worlds...(No, it's not for sale!)

I hope I still have my in my attic, under tons of other stuff. Got to check.

Microsoft patches patch for Meltdown bug patch: Windows 7, Server 2008 rushed an emergency fix

MacroRodent

The Singularity

We have clearly reached the Singularity. No, not the Kurtzweill one, but a situation where the combined complexity of processors and OS means every patch creates at least as many bugs as it fixes. From now on, there is no reliable computing, unless you are willing to simplify radically.

What the @#$%&!? Microsoft bans nudity, swearing in Skype, emails, Office 365 docs

MacroRodent

Illegal

I'm pretty sure it would be illegal for Microsoft to scan private email and skype messages just based on user complaints in Finland and other countries with strict privacy legislation. But of course at that point they would argue the server is in the U.S...

Meet the open sorcerers who have vowed to make Facebook history

MacroRodent

The hardware underneath

The big thing Facebook, Google etc bring to the table is a huge network of maintained servers. We can dream up alternative social networks and software all we want, but it has to run somewhere, And that costs real money, and cannot be done as a hobby (at least not for long).

Hurrah! TLS 1.3 is here. Now to implement it and put it into software

MacroRodent

Mauritius?

Hacking on Mauritius? Sounds delightful. Maybe start considering move from Finland, where spring seems to be canceled this year,,,

Windows 10 to force you to use Edge, even if it isn't default browser

MacroRodent

Testing waters

About "this change won’t have a massive effect because Windows Mail isn’t a big deal. ": Of course it isn't - yet. This is a trial balloon. The change will start affecting other parts of Windows 10, if Redmont does not see too much outcry. Boiling the frog, and all that.

Mulled EU copyright shakeup will turn us into robo-censors – GitHub

MacroRodent

Re: Simples

What is even worse, even many multi-statement code sections are going to be similar, because sometimes there is just one or very few ways to do something, or the code section in both programs may have originated from a common source that is in the public domain, or liberalry licensed.

But no doubt this will be a gold mine for IP lawyers.

Office junior had one job: Tearing perforated bits off tractor-feed dot matrix printer paper

MacroRodent

Re: Ah, the "good old days" ...

In my first computer-related job in the 1980's, me and other trainees had among others the task of printing and mailing monthly reports to branch offices around the country from a line printer, with ink ribbons that resembled Torah scrolls. I recall the printer itself rarely caused grief (apart from the regular need to change the scrolls and clean the print head), but whoever had written the reporting software (for the Honeywell Bull mainframe) did not bother to sort the output by office. So we implemented a manual sort algorithm on the mailing room floor. That was to most time-consuming part. But I guess trainee time was cheaper than CPU time in those days...

A smartphone recession is coming and animated poo emojis can't stop it

MacroRodent
Mushroom

Re: Need help from the Russians

Running a phone for years on a radioisotope battery should be doable with current technology, but the shielding might make it a bit heavy...

Android P will hear no evil, see no evil, support evil notches

MacroRodent

Pris

- The memorable android character in "Blade Runner", played by Daryl Hannah.

(Why should it always be confectionery?)

ESA builds air-breathing engine that works in space

MacroRodent

GOCE

>ESA’s GOCE gravity-mapping mission, but it carried 40kg of Xenon gas to provide it with thrust so it could change altitude when its orbit became low.

Actually it ran the ion thruster all the time, to keep it orbiting smoothly, despite the air resistance.

10 PRINT "ZX81 at 37" 20 GOTO 10

MacroRodent
Happy

Borrowed

I never owned one, but borrowed from a friend for a while (enough to experience the data loss from the infamous wobbly RAM pack). One thing not mentioned in the article was that since the screen refresh was almost entirely handled by the Z80 CPU, your program ran much faster if you turned it off. The BASIC had FAST and SLOW commands for this. In the FAST mode, the screen just displayed "snow" until the program execution ended.

Hypersonic nukes! Nuclear-powered drone subs! Putin unwraps his new (propaganda) toys

MacroRodent

Putin's gift to U.S. the armaments industry

Expect plenty of new weapons programs to be announced by the U.S, in response to the toys Putin just announced...

The phone OS that muggers wouldn't touch is back from the dead

MacroRodent

accessibility

It has a keypad. Good! After watching elderly relatives struggle with smartphones (even a supposedly simplified Doro), I am convinced phones with keypads and very simple UIs have a long future, with our aging population.

IPv6 and 5G will make life hell for spooks and cops say Australia's spooks and cops

MacroRodent

Re: I would have thought...

I wondered about that too. If every device has its own global IPv6 address, it should be easier for the cops argue some particular laptop was used for something naughty. The alleged criminal cannot so easily claim the IP address was actually used by someone else's device, like a neighbour or a "wardriver" who has managed to break in into his WLAN.

Intellisense was off and developer learned you can't code in Canadian

MacroRodent

Re: C fun

OK, looks like I'd be in the same situation you were. What's the problem?

Missing keyword "case" before each enumeration constant name. Without it, the names are interpreted as labels for use with goto statements.

MacroRodent
Facepalm

C fun

Early in my C programming career, I wrote the equivalent of

switch (some_enum_variable)

{

constant_a:

some_code1();

break;

constant_b:

some_code2();

break;

constant_c:

some_code3();

break;

}

and spent many hours wondering why none of the branches ever activated... (no, the compiler did not even warn about this. It is syntactically perfectly correct C).

Waddawewant? Free video codecs! When do we... oh, look, the last MPEG-2 patent expired!

MacroRodent
Happy

Still widely used

Standard DVD video disks are encoded with MPEG-2, so anyone wanting to create them on Linux is happier there are no patent restrictions now. Not that it stopped us before. Even if mainstream Linux distributions omitted patent-encumbered codecs, they were easy install from alternate repositories.

Btw. Ffmpeg is not the only free MPEG-2 encoder implementation, there is also mencoder, and possibly others.

Due to Oracle being Oracle, Eclipse holds poll to rename Java EE (No, it won't be Java McJava Face)

MacroRodent

Re: Lame name options IMHO

"Robusta" could have been nice: it is a variety of the coffee plant, and also associates with robustness, something one wants in an enterprise platform.

No yolking matter: Google Translate cock-up gives Norwegians more than un œuf eggs

MacroRodent

Translating a number?

I wonder how that came across. One would assume the chefs wrote 1500 instead of its equivalent as Norvegian words. In a little experiment of translating the egg order from Finnish to Korean, Google seemed to leave that number and variants like 1 500 alone. Hmm, maybe the chefs made the blunder themselves in the original text, and are now blaming Google...

No Windows 10, no Office 2019, says Microsoft

MacroRodent
Facepalm

Re: Missing something

with just thin clients and server based applications

Hahahahah.... happened to read this while waiting my remote desktop in the cloud to become available again, due to big outage in the company intranet. Sometimes fixing these takes hours.

Ugly, perfect ten-rated bug hits Cisco VPNs

MacroRodent

Re: Security appliances memory errors and programming bugs

What was the name of the CPU and chipset that fails if you try and double free a region of memory?

Uh, it is not the CPU or chipset that fails, but the program. A double free is a common blunder in C and C++ programming, which leads to a crash or other undefined behaviour, which may be exploitable as a security vulnerability.

You can't ignore Spectre. Look, it's pressing its nose against your screen

MacroRodent

Re: Arm A53

I'm afraid that does not help much, since what we need is an in-order CPU that is also fast!.

RIP Ursula K Le Guin: The wizard of Earthsea

MacroRodent

Re: Six Earthsea books

Of the later series, I found Tehanu good, but wish she had stopped there. The last one spoils the Magic by its explication of the relationship between humans, dragons and the land of the dead, and the writing is not up to her former standards.

Despite this minor grumble, she was one of the greatest, and influenced me much. Rest in peace.

No parcel drones. No robo-trucks – Teamsters driver union delivers its demands to UPS

MacroRodent

Re: Horse carts vs delivery trucks again.

Who's going to write the code to allow the AI in the trucks?: humans.

Who's designing the electronics (Chips, circuits, etc.)?: humans

Who's doing the maintenance on the trucks?: humans.

Who's issuing the instructions?: humans.

Actually, many of those jobs can also be automated in the future, so that few if any humans are needed...

Even if not, those employ much fewer people than was needed for driving the trucks: Once the code is written and electronics designed, they can be replicated automatically and with next to no cost.

Here we go again... UK Prime Minister urges nerds to come up with magic crypto backdoors

MacroRodent

Re: No is the answer and it remains that way

I'd love to see an algorithm that only works if a "good guy" uses it.

Note I wrote "half-way credible", not "credible". For example, always make the crypto implementation store the user's key on the device or data stream but encrypted with a key known only to the good guys. This may well bamboozle people who forget to consider who all will have want to have these master keys (UK? US? China?), and can they be trusted to keep them secret. (And like you point out, will the custodians remain the good guys?).

MacroRodent

Re: No is the answer and it remains that way

making secure crypto that is only breakable for lawful law enforcement is just as easy as staying in EU and exiting the EU at the same time. May does that flawlessly, so obviously that crypto stuff is just as flawless

Actually, it is easy to think of several half-way credible ways of doing that. I mean the crypto breakable by good guys only, not the Schrödinger's Brexit. And politicians, aided by some intellectually dishonest experts, may well latch on one of those and make it mandatory.

Death notice: Moore's Law. 19 April 1965 – 2 January 2018

MacroRodent

Re: Speculative execution

so we need to program with small local memories and explicit communication between processors to get performance. Using more specialised processors can also help somewhat.

Sounds like the Transputer from the 80's. https://en.wikipedia.org/wiki/Transputer

Samba 4.8 to squish scaling bug that Tridge himself coded in 2009

MacroRodent

Re: Samba is still relevant? Yea!

File shares do let you use large files without downloading it all when reading and uploading it all when writing. With OneDrive, Dropbox etc your local storage limits what remote files you can use. So the discs are huge these days? Yes, and so is the amount of crap that accumulates on them!

Also, if you need to log file accesses, you can do it with Samba down to painful details.

President Trump turns out the lights on solar panel imports into US

MacroRodent

Wonder what the effect will be in the rest of the world?

If this means China will sell the panels even cheaper in Europe, I'm all for it... Maybe pave my entire roof with the dirt-cheap panels, and enjoy the free electricity :-)

The Reg visits London Met Police's digital and electronics forensics labs

MacroRodent

Mobira

In case the young uns don't know, Mobira was the predecessor of Nokia Mobile Phones division. It was a separate company, jointly owned by Nokia and Salora (an old Finnish electronics company), but the name changed after Nokia bought Salora.

Meltdown/Spectre week three: World still knee-deep in something nasty

MacroRodent

Raise the Itanic!

So far as I can see the only sure way out of this is to not use speculative execution. Welcome back to the Dark Ages of CPU architectures. Things will get very slow...

Or use explicit parallelism with wide instructions, like Intel Itanium...

MacroRodent

Software has to pay attention

It looks like CPU hardware will not be getting faster for a while, with the microcode and OS patches slowing down even existing CPU:s, and Intel&AMD having to go back to the drawing board, delaying new releases. So software writers (whether proprietary or open source) cannot now rely on CPU speed growth to mask the bloat new versions introduce. This could actually have a positive effect on software quality.

Destroying the city to save the robocar

MacroRodent

Enclosed fairing (Re: Obviously the solution is....)

- an enclosed fairing. The extra weight and wind resistance can be mitigated with an electric motor.

Doesn't work (except in California or other warm climates). Unless it is heated vigorously, it will quickly get fogged in cold weather! The energy required would need either a heavy battery, or some fuel-burning heater. Both pretty much negate the whole idea of a bicycle.

Linux's Grsecurity dev team takes blog 'libel' fight to higher court

MacroRodent

Re: Way to damage your own credibility

Yes, disappointing. Many years ago, I even sent the project a small donation, as I was using their patch, and they appeared to be good guys. I wonder what happened?

EU court to rule whether Facebook should seek and destroy hate speech

MacroRodent

Simple Criteria

The big question in all this is, who defines hate speech?

I think a pretty clear criterium is, does it advocate violence (either physical or mental) against a person or group. An example. Free speech: "The ABCD religion is so stupid". Hate speech: "All adherents of the ABCD religion should be expelled from the country".

Uncle Sam's treatment of Huawei is world-class hypocrisy – consumers will pay the price

MacroRodent

Facesaving indeed

Huawei would give full access to its source code to GCHQ experts in a clean-room environment. It was examined, and pronounced clean.

Completely pointless, since there is no assurance that this code is what actually goes into production devices. (It almost certainly isn't, if only because of bugfixes added after the inspection).

Meltdown, Spectre bug patch slowdown gets real – and what you can do about it

MacroRodent
Boffin

Re: also weird

Python is always compiled.

Depends on what you mean by compiled. There are actually multiple Python implementations, but the most commonly used (the one from www.python.org) compiles into an intermediate "bytecode", and then interprets that.

MacroRodent

Re: also weird

Answering myself: had a look with a test program and strace on Linux. I did NOT find any extra system calls in the interpreter loop. So there is NO intrinsic reason why Python should slow down more than similar code written in other programming languages.

MacroRodent

Re: also weird

It makes no sense to suggest that "Python", as a single thing, can be slowed down by a single amount by these changes.

Depends on its implementation. Python is an high-level interpreted language that may be doing a lot of things not explicitly written into the program code.. A wild guess: maybe the interpreter loop has code that occasionally queries the system time, which needs a syscall. Or polls some file descriptor state. I don't know if any of these is the case, but they are plausible. I guess I right now need to stop talking out of my ass, and go look at the actual (open source) code to see if I can find anything like that.

Smartphones' security enhancements just make them more dangerous

MacroRodent

Muddle through

IOW, if Franklin really is right, then human civilization is essentially doomed.

He is both right and wrong. These things are not absolutes no matter what the extremists say. Civilization will just muddle through in the middle, as it has always done.

If Australian animals don't poison you or eat you, they'll BURN DOWN YOUR HOUSE

MacroRodent

But how do they spread fires?

Somehow I don't think they steal matches or cigarette lighters.

Here come the lawyers! Intel slapped with three Meltdown bug lawsuits

MacroRodent

Pentium I

No need to go all the way to 286. The original Pentium and Pentium mmx did not spekulate. They just executed two adjacent instructions at the same time, if the pair satisfied certain conditions. Fun for compiler writers.

Woo-yay, Meltdown CPU fixes are here. Now, Spectre flaws will haunt tech industry for years

MacroRodent
Headmaster

Error?

"This time difference is very small, so by keeping the resolution of the timers that are exposed to JavaScript high enough, we mitigate the ability of the attacker to perform this step."

Isn't it the other way around? To mitigate the attack, the timer resolution must be LOW enough.

Open-source civil war: Olive branch offered in trademark spat... with live grenade attached

MacroRodent

Re: The most disturbing thing...

Is that either one of these supposed defenders of "freedom" felt it necessary to implement blatantly anti-freedom bullshit like "trademarks" in the first place

Unfortunately, if you don't get a trademark, someone else will, if you are succesful, and then hassle you with it. In the early days of Linux, there was a guy who had nothing to do with Linux, but trademarked it anyway! This caused a lot of concern for the real project. Eventually this was settled so that Linus Torvalds got the trademark. (see eg http://www.linuxjournal.com/article/2559 )

Ubuntu 17.10 pulled: Linux OS knackers laptop BIOSes, Intel kernel driver fingered

MacroRodent

Re: Jumpers

> OMG welcome to the '90's when moving jumpers on the MB* was an absolutely almight b******g p-in-the-a!!**

You did not have to do it very often, and after you got the settings right, you could be sure no mere software could reach out with its clammy fingers to move the jumpers!

Yes, your old iPhone is slowing down: iOS hits brakes on CPUs as batteries wear out

MacroRodent

Re: Economy

It ought to be criminal to sell expensive devices without a user-replaceable battery.