Profile

Cover photo
Richard Fabian
Works at 22cans
Lives in Guildford, UK
1,627 followers|334,385 views
AboutPostsPhotosYouTube

Stream

Richard Fabian

Shared publicly  - 
 
Oculus can't

I was wary of 3D in cinemas because of the director controlled focus. I watched Puss in boots and was jarred by the defocussed leaves on the tree in the beginning of the film.

I saw the Oculus and thought that as long as the games never put in any depth of field, the thing would work, but wouldn't ever have the full visual cues you need for depth close up.

This new solution taking light field as the basis, not only makes the screens much thinner, but also gives user driven focus. This, my friends, is the real future of 3D displays.

NVIDIA's Light-field Glasses Prototype demo @ Siggraph 2013

originally shared by +Steve Mayne 
10
4
Claire Blackshaw's profile photoMatthew J. Collins's profile photoSander van Rossen's profile photoAndy Reeves's profile photo
 
Very interesting, surprised this didn't make a bigger splash at Siggraph
Add a comment...

Richard Fabian

Shared publicly  - 
 
C++ wtf challenge

int main() {
int a;
if( a == 1 && a == 2 && a == 3 ) {
printf( "a==1 && a==2 && a==3\n" );
}
}

Make it print "a==1 && a==2 && a==3".

Rules: You can't change main (this code), but you can add whatever you like above it.

This should be quite easy in C++, but I'd like to see some alternatives to what I came up with. Post source!
1
Michael Bosley's profile photoRichard Fabian's profile photoTomasz Górecki's profile photoJames O'Hare's profile photo
13 comments
 
My first thought was what +Michael Bosley has suggested - a function with static variable. But here's another way:

int main()
{
   int a;

   a = 0;
#define a (++a)

   if (a == 1 && a == 2 && a == 3)
   {
      printf( "a==1 && a==2 && a==3\n" );
   }
}

It seems to work. :)
Add a comment...

Richard Fabian

Shared publicly  - 
 
This is how we don't do science, kids!

http://www.kvoa.com/images/news/2014-04/LUNARECLIPSE.jpg

How many stupid errors can you count?
1
Add a comment...

Richard Fabian

Shared publicly  - 
 
Arduino and Fizzy, and pink cylon lights.
1
Add a comment...

Richard Fabian

Shared publicly  - 
 
Beware the problems with wind power!

If it wasn't for all the wind turbines in the UK, then this would never have happened. You've seen the build-up of dust on the fans on your PC or laptop, and now you're seeing the result of the many and much larger fans we run all over the UK. Other countries, such as the U.S., who don't have as many wind farms, have not been affected by this. Damning proof if ever I saw it. I guess that explains the global warming too, too many solar panels!

http://www.independent.ie/weather/wet-mud-residue-on-cars-following-recent-rainfall-is-sand-from-sahara-desert-met-eireann-30139526.html
A simple explanation has been given for the red-brown sandy residue left on cars across the east and south of the country following last night’s rainfall.
1
Add a comment...
In his circles
2,334 people
Have him in circles
1,627 people
Richard Phillips's profile photo
Robert Hazlett's profile photo
Christian Schladetsch's profile photo

Richard Fabian

Shared publicly  - 
 
It's bits like this that make me love the ATmega328P

When the AVR exits from an interrupt, it will always return to the main program and execute one more instruction before any pending interrupt is served.

Think of all those times you've had your low priority thread starved to death. The Atmel chip guarantees that it will never truly be starved to death, right there in the hardware spec. Nice job Atmel, nice job.
1
Add a comment...

Richard Fabian

Shared publicly  - 
 
Just spent a few minutes wondering why go install hell wasn't working. Finally figured out it was because the go install is for windows, but I'm using cygwin.

export GOPATH=C:\\cygwin64\\home\\fabs\\gocode

fixes all my issues. FFS windows.
1
Add a comment...

Richard Fabian

Shared publicly  - 
 
I love this. Makes me want to use javascript more. https://blog.andyet.com/2014/04/07/nerdsniping
3
Isaac Kuo's profile photoRichard Fabian's profile photo
2 comments
 
I think he just meant his solution wouldn't have worked.
Add a comment...

Richard Fabian

Shared publicly  - 
4
Add a comment...

Richard Fabian

Shared publicly  - 
3
David Oliver's profile photoMartin Zeme's profile photo
2 comments
 
And the best part is that it actually works!  Sort of.
Add a comment...
People
In his circles
2,334 people
Have him in circles
1,627 people
Richard Phillips's profile photo
Robert Hazlett's profile photo
Christian Schladetsch's profile photo
Work
Occupation
Computer Games Programmer
Employment
  • 22cans
    Programmer, 2012 - present
  • Rockstar London
    Gameplay Programmer, 2010 - 2012
  • Frontier
    Senior Programmer, 2009 - 2010
  • Broadsword Interactive
    Senior Programmer, 2001 - 2009
  • Blue52
    Junior Programmer, 2000 - 2001
Basic Information
Gender
Male
Relationship
Married
Other names
fabs();
Apps with Google+ Sign-in
Story
Introduction
I was born in London, unable to fend for myself and didn't even know the language, but I managed okay with the help of some relatives. Moving to another country when I was 23 was a little less scary because they all spoke my language (apart from the sausage salesman). Many years and one wife later, I was ejected back to London to work as an officer in the Tar and Rocks corporation, until I opened a can of worms.

I write games.
Bragging rights
Had that yellow Goldwing in Aberystwyth
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Guildford, UK
Previously
London, Merton - London, Stratford - Cambridge, Cambridgeshire, UK - Aberystwyth - Llanon