* Posts by Clive Galway

411 posts • joined 15 Feb 2007

Page:

Q. What's today's top language? A. Python... no, wait, Java... no, C

Clive Galway

Nothing like C.

With C, the rule is that if the conditional has no braces, then the first line after the condition is in the block and nothing else.

Whitespace in this case is utterly irrelevant

1
0
Clive Galway

I meant what is inside the code block, not what is part of the condition.

numbers = [2, 4, 6, 8]

product = 1

for number in numbers:

....product = product * number

product = product * number is only part of the loop because of it's indenting. This is what I was referring to.

Trying to post some Python code somewhere that does not allow indenting (I cannot figure out how to do it on this site, even pre blocks strip out leading whitespace) and you simply cannot post valid code.

What happens if somehow you end up with source that contains spaces and tabs? The code could then surely APPEAR to mean one thing, but in fact means something completely different.

2
0
Clive Galway

Any language where whitespace dictates what is inside a conditional and what isn't (eg Python) needs to die a slow and painful death IMHO.

12
4

UK government's war on e-cigs is over

Clive Galway

Re: Organised crime

They voted in feb of this year to regulate growing, so that is likely coming to an end.

Whatever way you slice it, it would still bring in hundreds of million of pounds a year in taxes, and by some estimates, over a billion a year.

0
0
Clive Galway
FAIL

Re: No vaping in the workplace please

Honestly, you make a comment like "The main trigger is damp in houses for me, so god knows what it was pumping out" indicating that there is some link between your ailment is water vapor, and wondering why an e-cig is triggering it, and I pointed out that e-cigs pump out a LOT of water vapor and then you make a dumb comment like "I don't collapse unable to breath every time I brew up".

Well duh, e-cig vapor is not steam. Steam is above the boiling point of water and is a gas. e-cig vapor is not above boiling point of water, it is still a liquid.

1
3
Clive Galway

You mean like Holland, Canada or many US states? Because we are so close to winning the War On Drugs, and the government does not need all that pesky tax, it's much smarter to put that money in the hands of criminal gangs where it can do some good.

30
0
Clive Galway

Re: No vaping in the workplace please

Because maybe the majority of the "Smoke" from an e-cig is water vapor?

20
8

His Muskiness wheels out the Tesla Model 3

Clive Galway
Stop

The Grauniad

Pot, kettle, black?

Get your own house in order before throwing that insult around.

6
1

Nokia touts future of virtual reality ads... but who's the audience?

Clive Galway

Re: Almost there

"Your physical movement space is limited to about 1m^2"

For what? Vive is 25x larger than that.

0
0
Clive Galway
FAIL

Purchases in VR

"Please enter your credit card number..."

By definition (For VR, not AR), you can either see the virtual keyboard, or the card, but not both.

1
0

NHS WannaCrypt postmortem: Outbreak blamed on lack of accountability

Clive Galway

Re: "Windows XP used on 4.7% of systems"

I worked in NHS IT for a number of years. You would be amazed.

1
0
Clive Galway
Stop

"Windows XP used on 4.7% of systems"

Yes, but I am betting that that figure would rise DRAMATICALLY if you were to only include servers.

A large part of the problem is not keeping workstations up-to-date, it is keeping the servers up-to-date.

1
3

Everything you need to know about the Petya, er, NotPetya nasty trashing PCs worldwide

Clive Galway
Trollface

"endpoint lockdown specialists Tanium"

Unless of course you are customer of Tanium, in which case your endpoints are used to demo their product.

3
0

Apple, LG, Huawei, ZTE, HTC accused of pilfering 'find my phone' tech

Clive Galway
FAIL

Re: I'm baffled

Of course it was completely obvious in 2004 - it existed as a product.

I had tracking software on all my Windows Mobile devices, certainly before 2004

4
0

Silk Road boss Ross Ulbricht denied bid for new trial

Clive Galway

Utterly mental drug equivalencies in that document

§2D1.1

Level 38 offences:

90 KG or more of Heroin;

450 KG or more of Cocaine;

45 KG or more of Amphetamine

You fucking what?? Speed is 10x more of an offence that Cocaine?

Twice as much of an offence as HEROIN??

Sounds like someone is spending too much time in the evidence room...

0
0
Clive Galway
Trollface

I tried to get to level 43 weed smoker, but it involved too much grinding, so I gave up.

Thanks, I'm here all week!

2
0

Proposed PATCH Act forces US snoops to quit hoarding code exploits

Clive Galway
FAIL

"The bill is a response to last week's WannaCry ransomware outbreak"

"It's designed to force the US intelligence agencies to pass on vulnerabilities to developers and hardware makers if there is evidence other people are exploiting them."

So it isn't a response to WannaCry then.

0
0

Male escort forgot pregnancy protection, scores data protection instead

Clive Galway

Re: In the UK

And what if he did "bag up"?

Barrier contraception isn't 100% reliable.

2
0

Shooting org demands answers from Met Police over gun owner blab

Clive Galway
WTF?

Stickers?

"The force press office admitted that its main idea with the Smartwater initiative for gun owners was about deterrence, thanks to the stickers that Smartwater sells, rather than identifying stolen guns"

And where, exactly, are you meant to put this sticker?

On your front window? Announces there is a gun in the house and makes you a target.

On the gun? WAY too late by this point - if you have broken in and have the gun in your hand, are you REALLY gonna put it down because of a sticker?

12
0

Honor phone for paupers goes upmarket, assails flagships

Clive Galway
FAIL

Worst.strapline.ever

"For the brave" does not instill visions of reliability.

Plus, for UK sales, using the american spelling of Honour is not a smart move.

3
0

Astroboffins stunned by biggest brown dwarf ever seen – just a hop and a skip away (750 ly)

Clive Galway

Re: It's quite a small object

"Rather than trying to prop up the existing theory with a new layer of epicycles, a new hypothesis should be developed based on observations. Those observations tell us that our understanding of gravity is incomplete."

And what do we do while that new hypothesis is being worked upon? Delete the theory of gravity from the textbooks?

No, you triage it as best you can with a big fat warning "We don't really know what this fudge factor is, we're working on it"

1
0

Amazing new WikiLeaks CIA bombshell: Agents can install software on Apple Macs, iPhones right in front of them

Clive Galway

Re: Beware strangers bearing gifts

"Think about it: why go to all that bother when you can send someone an infected birthday present?"

How common do you think it is to get a birthday present of a computing device worth thousands from someone who is not a family member or personal friend?

If it is a business associate, then aren't there bribery laws on giving personal gifts?

It just does not add up. An expensive wine or tickets to an event maybe, but businesses do not generally give iDevices to each other.

1
0
Clive Galway

Beware strangers bearing gifts

"Think about it: why go to all that bother when you can send someone an infected birthday present?"

Am I missing something or are you being REALLY dumb?

An stranger gives you a free iDevice - how is this not massively suspicious?

1
0

User jams up PC. Literally. No, we don't know which flavour

Clive Galway

Yup, me too.

Most surprising person to report it was the lead coder on a game.

F'ing really?? You work as a software developer and you cannot work out how a floppy drive works?

3
0

Frustrated by reboot-happy Windows 10? Creators Update hopes to take away the pain

Clive Galway
FAIL

Just WARN me that you are going to update, dammit!

It's not windows rebooting when left alone that winds me up, it's windows installing updates when I reboot with ZERO warning.

If windows is going to update when you reboot, it needs to explicitly state it - ie the restart option should be renamed to "Reboot and update" and it should offer you a "Reboot and don't update".

We had an evening utterly ruined by this while on holiday the other week - 4 of us in our holiday apartment, using the laptop for entertainment - we rebooted after installing an app, then it installed a massive update which took all night with no warning whatsoever.

0
0

The Psion returns! Meet Gemini, the 21st century pocket computer

Clive Galway

SHUT UP AND TAKE MY MONEY!

That is all.

2
0

BlackBerry's comeback: El Reg gets its claws on the QWERTY KEYone

Clive Galway

Would give my left nut for a landscape slider

The HTC Touch series were the absolute pinnacle of design IMHO.

But no, everyone is obsessed with how thin a phone is these days, so sod all chance of that :(

If you are gonna do a QWERTY as well, may as well have a dedicated number row.

1
0

Google to cough up $20m after Chrome rips off anti-malware patents

Clive Galway

Litigation from beyond the grave?

The patents [...] were awarded to former Lucent engineer Allen Rozman, who died aged 52 in 2012, and Alfonso J. Cioffi, both of Texas*, who filed suit [PDF] against Google in 2013.

Allen Rozman came back from the dead to patent troll Google?

I thought the patent situation in Texas was bad, but not that bad.

2
0

Northumbria Uni fined £400K after boffin's bad math gives students a near-killer caffeine high

Clive Galway
FAIL

Tasteless statement

"Luckily for them and for everyone they were in the sort of physical shape that was able to deal safely with this large amount of caffeine"

No, their body was NOT able to "deal safely with this large amount of caffeine". They had to be taken to hospital.

6
0

Congratulations – you're looking better than ever this morning!

Clive Galway

"much-embiggened" version

"and you can see a much-embiggened version here."

985x975? Hardly.

1
0

Chevy Bolt electric car came alive, reversed into my workbench, says stunned bloke

Clive Galway
FAIL

I smell bullshit

"Besides, he noted, if he had failed to put it into park, the car would have rolled forward – not gone into reverse."

Look at the pictures. The front of the car MUST be pointing out of the garage, otherwise how else would he have gotten in? Therefore, the last gear he used was reverse, not forwards, so his statement is patently false.

0
0

The top doc, the FBI, the Geek Squad informant – and the child porn pic that technically wasn't

Clive Galway
Stop

I call bullshit

"To be clear, our agents unintentionally find child pornography as they try to make the repairs the customer is paying for. They are not looking for it. Our policies prohibit agents from doing anything other than what is necessary to solve the customer’s problem"

"the image was pulled from unallocated space on Rettenmaier's hard drive"

Unless the customer is paying for file recovery, these two statements are fundamentally incompatible.

16
0

Cache flush: AI poker bot to compete against top players in tourney

Clive Galway

Starcraft?

Surely an AI could gain a significant advantage over a human in terms of speed of play.

No human could issue orders as fast as an AI (Top SC players are blazingly fast, but not *that* fast), so I do not see this as a fair match - the decision making probably would not need to be that good, as the AI could micromanage every unit everywhere on the map simultaneously.

1
0

Twas the week before Xmas ... not a creature was stirring – except Microsoft admitting its Windows 10 upgrade pop-up went 'too far'

Clive Galway

Re: Microsoft has been getting it wrong with user interfaces

You turn it off, you turn it on, fix the start menu, reboot a couple of times...

TFTFY

2
1

Hackers electrocute selves in quest to turn secure doors inside out

Clive Galway

Re: Push The Button To Exit

"Which is one of the reasons good security doors require you to authenticate every time you open the door no matter which way you are transiting."

Aren't there laws against that? Doesn't sound very safe to me.

1
0

TfL to track Tube users in stations by their MAC addresses

Clive Galway

Anyone care to explain how a MAC can be "de-personalised"?

Yeah, right, hash the MACs and call it "de-personalised", that's not gonna help you if the spooks already know your MAC and the algo it was hash with.

0
2

Tesla to charge for road trip 'leccy, promises it will cost less than petrol

Clive Galway

So your typos now extend to using L33+5P33k ?

The company will now offer new buyers credits for 400 kWh of electricity, which translat3s to about 1,600km (1,000 miles) of driving each year.

Seriously, do you even USE a spellchecker?

0
0

Tesco Bank limits online transactions after fraud hits thousands

Clive Galway

Fail

"In the meantime it has suspended online transactions from current accounts, including contactless transactions"

Translation: "We fucked up, but we are putting the hurt on our customers to minimize our losses".

4
0

It's ALIVE: Juno back online after reboot

Clive Galway

Figures sound wrong

3.6 kg of fuel to change velocity by 5.8 mph? That sounds horrifically inefficient!

3
1

Vodafone rapped with RECORD £4.6m fine for failing customers

Clive Galway
FAIL

The Regsitter proofreader strikes again

What is it with El Reg these days and mangled opening sentences in articles?

For a rag whose stock in trade is poking fun at companies who fail at the most basic of tasks, you sure do seem to have a serious problem with this most basic of tasks.

"Vodafone has been fined £4.6m for failing customers for mis-selling to customers"

0
0

Uber's robo-truck makes first delivery of ... Budweiser in Colorado

Clive Galway

Otto was also the name of the autopilot in Airplane!

Which, as any fule kno, is the funniest film ever made, bar none. RIP Leslie Nielsen

11
0

New Brit Hubble analysis finds 2,000 billion galaxies, 10x previous count

Clive Galway

Heard of this new thing called Proof-reading?

I have heard it is rather good.

10x previous count.Space is big. Really big. You just won't believe how vastly hugely mindbogglingly big it is Douglas Adams was right. Space is big. Really big. You just won't believe how vastly hugely mindbogglingly big it is

Plus messed up HTML at the end.

5
0

BT Yahoo! customers: Why! can't! we! grrr! delete! our! webmail! accounts!?

Clive Galway

Yeah, cos forwarding is gonna help you

"The customer said BT/Yahoo! had also made it impossible for BT customers to configure the forwarding of emails to a third party address from their BT Yahoo addresses."

If you think all the emails are being read, then exactly how do you think configuring a forwarder is gonna help you?

The mind truly boggles.

7
1

Lenovo denies claims it plotted with Microsoft to block Linux installs

Clive Galway

Re: "To improve system performance, Lenovo is ... adopting RAID on the SSDs..."

From the product page:

Storage: Up to 1 TB SSD

And yeah, it may have eSATA ports, but it's an ULTRABOOK.

Who buys an ultrabook and then lugs around an external RAID enclosure?

2
1
Clive Galway
FAIL

"To improve system performance, Lenovo is ... adopting RAID on the SSDs..."

From the Reddit thread:

"I got a reply from Lenovo on my Best Buy review about why the BIOS on my Yoga 900 ISK2 UltraBook has been set to stop people from using Linux."

Specs for the Yoga 900 ISK2:

http://shop.lenovo.com/us/en/laptops/yoga/900-series/yoga-900-13/#tab-tech_specs

It's a laptop with ONE DRIVE BAY.

So what possible benefit would putting SSD RAID on a laptop with one drive bay bring?

Pull the other one, it's got bells on.

52
2

EU ends anonymity and rules open Wi-Fi hotspots need passwords

Clive Galway
FAIL

Utterly unworkable

If you require a passport or whatever for user #1 to use the WiFi, what is stopping user #2 from getting the WiFi password from user #1? One-time passwords etc? Well that is unfair on the smaller shops that cannot afford to pay for the kit that would support such a solution.

2
0

Is there paper in the printer? Yes and it's so neatly wrapped!

This post has been deleted by a moderator

Is it a bird? Is it a plane? No, it's... er, Graphene bubbles – 200 times stronger than Superman

Clive Galway
Stop

Ekaterina Khestanova, a PhD student who performed the experiments, believes the pressurised bubbles could be used to prevent liquids from freezing.

"Such pressures are enough to modify the properties of a material trapped inside the bubbles and, for example, can force crystallization of a liquid well above its normal freezing temperature," she said

Eh? Isn't she saying the exact opposite? Sounds to me like she is saying you can get it to freeze at a higher temperature.

20
0

The Internet of Cows is moo-ving fast … no bull!

Clive Galway

Mating Control

Simples.

RFID controlled "chastity belts" for the females, activated by RFID chips mounted on the bellies of the males.

1
0

Five-storey Blue Screen Of Death spotted in Thailand

Clive Galway

Re: It sucks when it's your bank's ATM...

And how are you in any different a situation to keeping your money buried?

At least if you keep it buried, you can withdraw 100% of it (Assuming nobody else found it that is). If the economy is that screwed that there is hyperinflation, chances are you wouldn't be able to get all your money out of the bank quickly enough (Too many queues, banks don't actually have everyone's deposits).

3
0

Page:

Forums

Biting the hand that feeds IT © 1998–2017