* Posts by Brewster's Angle Grinder

972 posts • joined 23 May 2011

Page:

Google puts Android on a diet, names it after the first thing it sees under the sink – Brillo

Brewster's Angle Grinder
Silver badge

Re: I'm sure all the hackers

You've recruited me to help make Security Holes In Things a meme.

1
0
Brewster's Angle Grinder
Silver badge

Re: Brillo and Chromium plate

"coca-cola also cleans chrome an absolute treat."

Diet or regular? Inquiring minds want to know.

0
0

That EVIL TEXT that will CRASH your iPhone: We pop the hood

Brewster's Angle Grinder
Silver badge

@d3vy

Talking about EXCEPTION handlers: "really only useful for EXCEPTIONAL circumstances"

No shit.

You'd think, wouldn't you. But here's an example. Lets ask the user whether to proceed with this operation. If they say, "yes", the code returns. If they say, "no", it throws an exception.

Now I'm not going to hold truly lousy code against exceptions. But that's why I make the point that the name is a clue about how to use them.

0
0
Brewster's Angle Grinder
Silver badge

Re: Exception handling??

goto, no never. And definitely not its bastard evil sibling longjmp. But that's what an exception effectively is. That's my point: it's the mother of gotos.

And I agree, a missing error check is a problem. And being able to elide an if is nice syntactic sugar. However the error doesn't go away when you delete the if. What happens when the exception is thrown? I'll presume you're properly using RAII so nothing leaks. But what state is your object in? Will the class invariants be preserved? Had you started writing to a file? Were you in the middle of a database transaction? All those problems are shifted to the catcher which is not well equipped to answer them. And noob programmers---which I'm not implying you are---don't see and think about those things. Deleting the if doesn't solve the problems. In fact it encourages people not to think about them, which makes the code less robust.

It's the "...when properly implemented..." point. They are hard to implement properly. I use them where they really can improve the code. But it's taken a lot of experience to get there. And I seem use badly more often that I see them used well.

But we can agree that the examples are always fucking awful. They tend to be expected errors, too. Running out of core is an exception; a missing file, generally, isn't.

2
1
Brewster's Angle Grinder
Silver badge

Re: Exception handling??

All exceptions do is introduce extra hidden code paths. They don't make error handling any easier; arguably they make it more error prone. They are really only useful for exceptional circumstances where the next step is to terminate the module. But they are handy for getting errors out of constructors, provided they adhere to the basic guarantee.

2
2

NASA picks tools for voyage to possibly LIFE-SUPPORTING moon Europa

Brewster's Angle Grinder
Silver badge
Facepalm

@betacam

I only came here for the 2010 references, and you got that wrong.

1
0

Call girl gets six years for Googler's drug death

Brewster's Angle Grinder
Silver badge

Rationality is for sociopaths

@H4rm0ny If a client passes out in front of me, then I try to revive, then I CALL A FUCKING AMBULANCE, then maybe I down the wine to calm my sobbing while waiting for the authorities. (Obviously it wouldn't be good to be drunk when the cops show, but I'm not thinking straight.) Maybe, because I'm scared of facing up to what I've done, I flee the scene, after making some half-arsed effort to remove the evidence; but that's not in my best interests because the chances are the cops will catch me and, when they do, my actions might make them suspect what happened was murder not manslaughter.

I have no idea, how you measure "rational" in these situations. But when an adult does something wrong, they face up to it. Actions that lead to someone's death are about the most wrong you can do. And attempting to avoid responsibility is wrong.

1
0
Brewster's Angle Grinder
Silver badge

Re: Six years? Anonymous Coward

"Legally registered guns are not involved, only stolen ones."

That's the best argument I've heard for banning firearms: if there are no gun, then nobody can steal them and nobody dies!

0
0

Well YES, Silicon Valley VCs do think you're a CRETIN

Brewster's Angle Grinder
Silver badge

Dumb question

I can't be arsed to read any more about this. But is each chip mining individual bitcoins or are they collaborating to mine one bitcoin between N machines, each one doing some fraction of the calculation and pooling the results?

0
0

Twitter CRAWLS to Google ON ITS KNEES, starts blowing content

Brewster's Angle Grinder
Silver badge
Coat

Re: Did I understand this corerctly?

No, you get relevent tweets vomited upon you.

Mine's the throw away plastic mac, thanks.

We do need a FTFY icon; a hammar or something.

2
1

Are we looking at the first domain name meme? Neigh

Brewster's Angle Grinder
Silver badge

Oh, it's just a bit of horseplay.

1
0

Amazon cloud to BEND TIME, exist in own time zone for 24 hours

Brewster's Angle Grinder
Silver badge

Re: 1 second per month in 3752

Post Newtonian effects are already an issue. We talk about time on the surface of the Earth (the geoid) which is different to that at the centre of the earth or the centre of the solar system. If you move an atomic clock gravitational effects have to be accounted for and I believe GPS takes account of them, too.

0
0
Brewster's Angle Grinder
Silver badge
Boffin

Re: Units of Measurement

"Atomic time" is not based on "Ephemeris Time". "Atomic time" (TAI) is the average of a bunch of atomic clocks. "Ephemeris Time", well these day TT(TAI), is the independent variable used to calculate ephemeris. If your clock advances 86,400 second of atomic time then you add 86,400 to the coordinate used in your ephemeris and consult your model to determine where the sun, moon and stars will be.

The leap second changes neither "Ephemeris Time" nor "atomic time", but adds 1 SI second to UTC (wall clock time) so the difference between the wall clocks and atomic clocks (UTC-TAI) increases from 35s to 36s which ensures the the (mean) sun is overhead at midday.

0
0

Milking cow shot dead by police 'while trying to escape'

Brewster's Angle Grinder
Silver badge

Re: "....but there was not enough room for them to do so"

"A BFG"

A barbecue firing gun?

0
0

Mad Max: Fury Road – two hours of nonstop, utterly insane fantasy action

Brewster's Angle Grinder
Silver badge

Joke icon needed, perhaps?

0
0

Never trust a developer who says 'I can fix this in a few minutes'

Brewster's Angle Grinder
Silver badge
Paris Hilton

Re: Just another day in the life

"The left hand doesn't know what the right hand is doing..."

Same here. Unfortunately I am both the left hand and the right hand. Ugh. :(

Paris, because she's hands free.

1
0

Blocking pirate sites doesn't weaken pirates say Euroboffins

Brewster's Angle Grinder
Silver badge
Facepalm

Re: @h4rm0ny

"How much is the MPAA paying you? Seriously?"

FFS, just because you disagree with someone doesn't make them a shill. Check h4rm0ny's post history and you'll see they're a regular.

1
0

Row at UN domain-name body WIPO: Probes shut down, payout from controversial chief

Brewster's Angle Grinder
Silver badge
Joke

Re: to be clear

Yeah, but you have to buy the rubber stamp yourself.

4
0

Why Joe Hockey's Oz tax proposals only get five out of 10

Brewster's Angle Grinder
Silver badge

Amazon's logo looks like a golden shower is in progress

Yeah, I think Amazon's warehouses are covered by the "taking the piss" exception. And I also think you should be working for HMRC's legal team.

0
0

For its next trick, Microsoft diminishes the iPad with just a driver

Brewster's Angle Grinder
Silver badge

Chicken WLTM egg

"The problem is that 3rd party developers have, as a general rule, not released touch friendly apps."

When the device has lots of users, we'll target it.

2
0

Facebook echo chamber: Or, the British media and the election

Brewster's Angle Grinder
Silver badge
Coat

British built guidance system?

Mine's the hazmat suit.

0
0
Brewster's Angle Grinder
Silver badge
Boffin

You don't get an amplifier without a feedback path.

0
0

Fox gives Minority Report the nod – precog goes primetime on tellybox

Brewster's Angle Grinder
Silver badge

Re: Sci-fi shows too often have a rough ride and a short life

I loved SGU, but it was doomed from the start. The attempt to do an adult show for fans who'd got to use to Stargate levels of characterisation and plot was going to be an uphill struggle; that audience wanted heroes not flawed characters.

Many of the fans are female and yet there's no strong female character. If you're a geeky boy you empathise with Eli. If you're father, probably Young. If you're gung-ho you empathise with Greer. And there's Scott for the modern man.

But if you're a woman? If you want a maternal figure Johansen was great. Otherwise there was Chloe, who was pathetic; James, who was peripheral; and Wray who was perpetually incompetent and unsympathetic, even though she was morally right.

And for those of us who wanted an adult show, the constant lapse into one-bound-and-they're-free plotting was dispiriting. And I'm sure the luke-warm mysticism would've pissed off the rationalist sci-fi fans while seeming trite to those with knowledge of metaphysics or theology.

And then there's the ethos. I loved that they were always on the edge and barely surviving. But I wonder how well an ethos of "hanging in" went down in the land were everyone is a winner.

You can see the way the writers are trying to satisfy existing fans while roping in non-fans. But those two horses were always going in opposite directions. Still, I'm glad they tried. And the lights turning off at the end of S2 is moving.

2
0

Boffins turns landfill WinPhones into microscopes

Brewster's Angle Grinder
Silver badge

Re: Utter garbage...

Genuine questions:

How many $20,000 microscopes are spending the majority of their time looking at prepared slides?

How many more slides would we look at if microscope were in every pocket?

2
0
Brewster's Angle Grinder
Silver badge

Re: Crap

Yup, it's positively protozoan!

1
0

PEAK PC: 'Most' Google web searches 'come from mobiles' in US

Brewster's Angle Grinder
Silver badge

"If I type in text without spaces but with forward slashes, ITS A URL! try http, then https with it."

The other way round, I hope. And TBH if you can be forced to fallback to http, then it's a vuln.

2
2

Mozilla to whack HTTP sites with feature-ban stick

Brewster's Angle Grinder
Silver badge

Re: why, why, why... what is the point?

"The new MI9 force starts tracking down these immigrant sympathisers who have fallen foul to the new non-patriot act and using their, once innocent, browsing history start rounding up those who have been looking at sites which are pro-immigration, such as the BBC, Tesco, Haynes Motor Museum..."

They still know that, unless you encrypt your DNS lookups.

5
0

Inside the guts of Nano Server, Microsoft's tiny new Cloud OS

Brewster's Angle Grinder
Silver badge

It's a Snover Server!

2
0

BATWINGED DINO-PIGEON causes FLAP in bone-boffinry circles

Brewster's Angle Grinder
Silver badge
Coat

Re: Hoping soon to be in a conversation...

"Ladies, form an orderly queue..."

For the exit? :P

0
0
Brewster's Angle Grinder
Silver badge

Re: I wonder why that's the case

"Still, if it is a genuine find (always a worry when there's only one of them) it's a cracker!"

This is palaeontology: most of the time, they barely have a tenth of one.

4
0

NASA spies weird glow from Pluto's FRIGID pole

Brewster's Angle Grinder
Silver badge

Can El Reg please refer to Pluto by its correct name: Yuggoth.

5
0

C++ Daddy Bjarne Stroustrup outlines directions for v17

Brewster's Angle Grinder
Silver badge

Re: @Brewster's Angle Grinder (may I call you BAG?) was: Whatever.

@jake I found it got in the way, wasn't flexible and didn't give much back if you didn't need portability. (And I did do some K&R) And back then, most humans were better than compilers, especially on the register-starved, segmented x86.

Strong typing, overloading (*cough* C99 tgmath abomination), and references helped make up for that.

0
0
Brewster's Angle Grinder
Silver badge

Re: Whatever.

Unfortunately, I'm old enough to remember assembler programmers saying the same things about C.

6
0
Brewster's Angle Grinder
Silver badge
Joke

Re: C++ haters: What about performance?

There are no "haters", merely those who can program C++ and those who aren't smart enough to. (Mobile Users: Joke Icon)

17
0

Windows 10 Device Guard: Microsoft's effort to keep malware off PCs

Brewster's Angle Grinder
Silver badge

My reaction to hypervisors as a security mechanism is always, "Isn't that what the OS is supposed to do?" But, it's another layer. Kernels are big, necessarily include components written by third parties and do user facing operations (like IP stacks). There seems to be a recognition, as best I follow it, that we can write a much smaller, tighter kernel (the hypervisor) that does security and delegates the rest up the stack. The x86 has four protection rings, and it seems like we're finally catching up and putting device drivers in a separate ring.

1
0

Lawyer: Cops dropped robbery case rather than detail FBI's StingRay phone snoop gizmo

Brewster's Angle Grinder
Silver badge

Re: Loophole

"I wonder like others, where will the line be drawn? A single murderer? Serial killer? Massive terrorist attack?"

IANAL but I suspect, however, that the process is illegal so the evidence would be chucked out and the case lost. I guess it's meant to provide a heads up rather than be relied on in court; cf visiting a suspect disguised as ISP repair men.

1
0

Microsoft absorbs open-source internal startup MS Open Technology

Brewster's Angle Grinder
Silver badge

Re: Spawn...

"Imagine the offspring..."

Small and fluffy?

1
0

Dev gives HBO free math tips to nail Game of Thrones pirate leakers

Brewster's Angle Grinder
Silver badge

Re: Watermarking assembly

a86

1
0
Brewster's Angle Grinder
Silver badge
Pirate

"Plus, as noted, some pirates are determined to cover their tracks..."

Good business sense: if your sources get nicked, they won't be able to leak to you again. I'm sure the pirates could teach the big corporates a few things about customer care.

12
0

Rand Paul puts Hillary Clinton's hard drive on sale

Brewster's Angle Grinder
Silver badge
Gimp

T'An Suthai-Telestre.

1
0

Soil and sand harden as SPEEDING MISSILES and METEORS SLAM into GROUND – boffins

Brewster's Angle Grinder
Silver badge

A step closer to Dune-style shield technology.

0
0

ICANN urges US, Canada: Help us stop the 'predatory' monster we created ... dot-sucks!

Brewster's Angle Grinder
Silver badge
Coat

Re: Well...

Only a surprise for the boys.

0
0

Everything's code, 'zero tolerance for assholes': Yup, it's ChefConf

Brewster's Angle Grinder
Silver badge

Re: Cute...

@Nathenharvey

So that's the entire upper management of most companies with more than 50 employees.

8
0

ALIENS ARE COMING: Chief NASA boffin in shock warning

Brewster's Angle Grinder
Silver badge

Re: Who are the aliens anyway?

That's one of the many reasons for liking Forbidden Planet: the humans arrive in a flying saucer.

6
0

Pinterest, Yammer scramble to patch login thievery headaches

Brewster's Angle Grinder
Silver badge
Coat

"Updates are for nerds."

1
0

Can't patch this: Mozilla pulls Firefox encryption feature after just a week

Brewster's Angle Grinder
Silver badge

Bugs happen

"Going into reverse ferret mode and stripping out technology that evidently wasn't ready for prime time is a little embarrassing for Mozilla even though this is the responsible action to take in the circumstances."

So they dig the right thing and you're gonna slag them off anyway. Nice.

22
2

Chelsea Manning sets up low-tech Twitter account from prison

Brewster's Angle Grinder
Silver badge
Joke

Black Mirror

A new plan. Every time anybody needs public money, we put their whole story on a website and take a vote on whether or not we pay for it. So a kickstarter for welfare, medical services and wars. It's the only way democracy can work.

1
2

Ding Dong, ALIENS CALLING

Brewster's Angle Grinder
Silver badge

Re: No inclusion of the effects of dark matter and dark energy

It's a truly awful paper. But no problem in the maths jumps out. Of course, that could be because the presentation of the equations is so shockingly bad.

And the idea of a CMB reflection signature is novel.

0
0

Jailed Brit con phishes prison, gets bail

Brewster's Angle Grinder
Silver badge

I can't confirm this because the current edition of the Concise OED doesn't say whether a verb is transitive or intransitive. The Fucking OED.

1
0

700,000 beautiful women do the bidding of one Twitter-scamming man

Brewster's Angle Grinder
Silver badge

Re: An environmental catastrophe

Now think about all the wasted power used to run the comments section on El Reg...

0
0

Page:

Forums