* Posts by Richie

4 posts • joined 25 Feb 2008

An unthinking programmer's guide to the new C++

Richie

CORAL66

"And you can make for loops in a style I last saw in CORAL 66, where one provides the list of values the loop variable takes."

MATLAB and R both do this. You pass in an array of whatever you like, and the language iterates over each element.

MATLAB style:

for i = [1 3 69 -7]

% something

end

R style:

for(i in c(1 3 69 -7))

{

# something

}

0
0

Boffins build super-accurate atomic clock

Richie
Joke

Hmm

"Also, casually mentioning that you made a clock that's accurate to a second for 300 million years is almost guaranteed to get you laid."

I'm afraid that's a common geek misconception.

0
0

Pro-Heathrow demo challenges Carbon Cult killjoys

Richie
Unhappy

The class argument is back to front

Cheap flights don't benefit the working classes that much. Ryanair and the other low cost carriers target their advertising towards the upper middle classes, who can afford second homes in the med, and take many more overseas holidays.

See, for example

http://www.monbiot.com/archives/2009/01/13/flying-over-the-cuckoos-nest/

0
0

Newcomer punts miniature 'pub phone'

Richie

Haven't I seen this before?

Check the link, tell me if the phone looks familiar:

http://blog.wired.com/gadgets/2007/05/worlds_smallest.html

Different brand and model number, otherwise suspiciously similar.

0
0

Forums