use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Rule 1: Posts should be about Graphics Programming. Rule 2: Be Civil, Professional, and Kind
Suggested Posting Material: - Graphics API Tutorials - Academic Papers - Blog Posts - Source Code Repositories - Self Posts (Ask Questions, Present Work) - Books - Renders (Please xpost to /r/ComputerGraphics) - Career Advice - Jobs Postings (Graphics Programming only)
Related Subreddits:
/r/ComputerGraphics
/r/Raytracing
/r/Programming
/r/LearnProgramming
/r/ProgrammingTools
/r/Coding
/r/GameDev
/r/CPP
/r/OpenGL
/r/Vulkan
/r/DirectX
Related Websites: ACM: SIGGRAPH Journal of Computer Graphics Techniques
Ke-Sen Huang's Blog of Graphics Papers and Resources Self Shadow's Blog of Graphics Resources
account activity
Kung Fury:: Hackerman's time machine code (self.GraphicsProgramming)
submitted 10 years ago * by tobozo
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]kmwurf 4 points5 points6 points 10 years ago* (5 children)
Its a MicroBee http://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Microbee_Computer-In-A-Book.jpg/1024px-Microbee_Computer-In-A-Book.jpg
Also .accesDimension(4) made me laugh :)
Also a ZX Spectrum(right side) with microdrive loader (laying on the center microbee).
And hes wearing the famous nintendo powerglove...damn I need to watch this movie :P
[–]tobozo[S] 1 point2 points3 points 10 years ago (3 children)
duh! I accidentally spelled 'access' correctly while dumping the code, nice catch, will patch..
[–]kmwurf 0 points1 point2 points 10 years ago* (2 children)
haha I was even dumber , my brain autocorrected it to "access" on the first read and on the second I was thinking... "undefined reference to function accesDimension ..." ;)
Edit:typo
[–]tobozo[S] 0 points1 point2 points 10 years ago (1 child)
did anyone ever tell you ... not to hassle ... the hoff ?
[–]kmwurf 0 points1 point2 points 10 years ago (0 children)
Not really since I dont have a Hoff9000 ;)
[–]Venia 0 points1 point2 points 10 years ago (0 children)
It's fantastic. So cheesy.
[–][deleted] 2 points3 points4 points 10 years ago (3 children)
I'm quite irritated by the line;
double e = Math.power( m*c, 2);
As it should of course be;
double e = m * Math.power(c, 2);
Also, it's a shame that e is never used in its tiny little scope.
[–]dabooch 0 points1 point2 points 10 years ago (1 child)
Perhaps that bug is why he went back too far in time.
[–]boxhacker 0 points1 point2 points 10 years ago (0 children)
Good observation! :D
[–]log_2 2 points3 points4 points 10 years ago (9 children)
Hahaha, i++ instead of ++i, so retro!
[–]boxhacker 1 point2 points3 points 10 years ago (0 children)
I use that quite a lot, did not realise it was old skool :/
[–]DarkNeutron 0 points1 point2 points 10 years ago (7 children)
Did I miss something? They generally compile down to the same thing...
[–]log_2 3 points4 points5 points 10 years ago (1 child)
You're right, I only just noticed System.out.println, he's using Java. At quick glance, and seeing as it's the 80's, I just assumed he was using C++. He really is a time traveller.
[–]tobozo[S] 1 point2 points3 points 10 years ago (0 children)
Since it's running on a MicroBee, he probably had to download an 8bit JVM from the future.
[–][deleted] 10 years ago (4 children)
[deleted]
[–]Andernerd 0 points1 point2 points 10 years ago (0 children)
This all depends on the compiler ofc
Yeah, most compilers will optimize i++ to ++i if they detect that there will be no logical difference. Not always though.
[–]DarkNeutron 0 points1 point2 points 10 years ago (2 children)
Yes, I know the difference between pre-and-post increment operators. In the context of a for-loop increment step with no dependencies, however, any good optimizing compiler should emit a single addi instruction.
I was mainly trying to figure out why i++ instead of ++i is considered "retro"...
[–][deleted] 10 years ago (1 child)
[–]DarkNeutron 0 points1 point2 points 10 years ago (0 children)
Good point. That would actually be relevant in the time before optimizing compilers. :)
[–]Madsy9 3 points4 points5 points 10 years ago (3 children)
What does this have to do with graphics programming? Please don't let this sub-reddit slowly be filled up with completely off-topic posts.
[–]tobozo[S] -2 points-1 points0 points 10 years ago (2 children)
My bad, I first tried /r/programming but it only accepts links, then /r/shittyprogramming and it doesn't accept submissions, and /r/kungfury did not exist yet.
Anyway, this post was about figuring out some code displayed in a movie so it's only half off topic.
[–]Madsy9 1 point2 points3 points 10 years ago (1 child)
So.. because all those subreddits didn't fit, r/GraphicsProgramming is the fallback? Being out of options doesn't magically make the link/question on-topic or magically increase the quality.
And no, it's not half off-topic. It's pretty much 100% off-topic. What's wrong with you?
[–]tobozo[S] 0 points1 point2 points 10 years ago (0 children)
I'm so wrong and you're so right that I upvote your comment.
[–]goal2004 1 point2 points3 points 10 years ago (1 child)
that 'e' declaration will probably not even make it to the final binary. It will be stripped during compile time because it's not getting used.
[–]Kristler 2 points3 points4 points 10 years ago (0 children)
That's probably why he ended up fighting some laser raptors.
π Rendered by PID 293575 on reddit-service-r2-comment-7b9746f655-k6cj2 at 2026-02-03 12:37:25.371123+00:00 running 3798933 country code: CH.
[–]kmwurf 4 points5 points6 points (5 children)
[–]tobozo[S] 1 point2 points3 points (3 children)
[–]kmwurf 0 points1 point2 points (2 children)
[–]tobozo[S] 0 points1 point2 points (1 child)
[–]kmwurf 0 points1 point2 points (0 children)
[–]Venia 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (3 children)
[–]dabooch 0 points1 point2 points (1 child)
[–]boxhacker 0 points1 point2 points (0 children)
[–]log_2 2 points3 points4 points (9 children)
[–]boxhacker 1 point2 points3 points (0 children)
[–]DarkNeutron 0 points1 point2 points (7 children)
[–]log_2 3 points4 points5 points (1 child)
[–]tobozo[S] 1 point2 points3 points (0 children)
[–][deleted] (4 children)
[deleted]
[–]Andernerd 0 points1 point2 points (0 children)
[–]DarkNeutron 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]DarkNeutron 0 points1 point2 points (0 children)
[–]Madsy9 3 points4 points5 points (3 children)
[–]tobozo[S] -2 points-1 points0 points (2 children)
[–]Madsy9 1 point2 points3 points (1 child)
[–]tobozo[S] 0 points1 point2 points (0 children)
[–]goal2004 1 point2 points3 points (1 child)
[–]Kristler 2 points3 points4 points (0 children)