Profile cover photo
Profile photo
Joa Ebert
1,727 followers -
Non-blocking lock free greedy coloring humanoid.
Non-blocking lock free greedy coloring humanoid.

1,727 followers
About
Joa's posts

Post has shared content
Each dot is circling around the circle!
Animated Photo

Post has attachment
This just showed up in my Google Music "Listen Now" category. Do they simply add suggestions to your library without asking first?

Is there an option in Google+ to show less posts from a particular person?

Post has attachment
Anyone had a problem with iOS and render to texture before? Basically everything works for me on other platforms and the rendering code works on iOS too if it is not rendered to a texture.

int intWidth = 256;
int intHeight = 256;

// Allocate new frame buffer

_frameBuffer = gl.createFramebuffer();
gl.bindFramebuffer(FRAMEBUFFER, _frameBuffer);

// Allocate new texture

_glTexture = gl.createTexture();
gl.bindTexture(TEXTURE_2D, _glTexture);
gl.texParameteri(TEXTURE_2D, TEXTURE_MAG_FILTER, LINEAR);
gl.texParameteri(TEXTURE_2D, TEXTURE_MIN_FILTER, LINEAR);
gl.texParameteri(TEXTURE_2D, TEXTURE_WRAP_S, CLAMP_TO_EDGE);
gl.texParameteri(TEXTURE_2D, TEXTURE_WRAP_T, CLAMP_TO_EDGE);
gl.texImage2D(TEXTURE_2D, 0, RGBA, intWidth, intHeight, 0, RGBA, UNSIGNED_BYTE, null);
gl.framebufferTexture2D(FRAMEBUFFER, COLOR_ATTACHMENT0, TEXTURE_2D, _glTexture, 0);

// Allocate new render buffer

_renderBuffer = gl.createRenderbuffer();
gl.bindRenderbuffer(RENDERBUFFER, _renderBuffer);
gl.renderbufferStorage(RENDERBUFFER, DEPTH_COMPONENT16, intWidth, intHeight);
gl.framebufferRenderbuffer(FRAMEBUFFER, DEPTH_ATTACHMENT, RENDERBUFFER, _renderBuffer);

if(gl.checkFramebufferStatus(FRAMEBUFFER) != FRAMEBUFFER_COMPLETE) {
System.out.println("[WARNING]: Could not create framebuffer object.");
} else {
System.out.println("[INFO]: Successfully created a framebuffer with width "+_width+" and height "+_height+".");
}

gl.bindFramebuffer(FRAMEBUFFER, null);
gl.bindTexture(TEXTURE_2D, null);
gl.bindRenderbuffer(RENDERBUFFER, null);

...

gl.bindFramebuffer(FRAMEBUFFER, _frameBuffer);
gl.bindRenderbuffer(RENDERBUFFER, _renderBuffer);
gl.viewport(0, 0, intWidth, intHeight);

// RENDER STUFF

gl.bindFramebuffer(FRAMEBUFFER, null);
gl.bindRenderbuffer(RENDERBUFFER, null);

...

// DISPLAY THE TEXTURE

...

The code works fine on a desktop (Linux) and when using WebGL. However on the iPad (1) I am unsuccessful getting it to work. I see the line which says "[INFO] Successfully created a framebuffer ...." but the texture is not shown. I am also not using MSAA in the application.

The code to render everything works just like it should when it does not render to texture.

The code is mostly the same as here: http://developer.apple.com/library/ios/#documentation/3DDrawing/Conceptual/OpenGLES_ProgrammingGuide/WorkingwithEAGLContexts/WorkingwithEAGLContexts.html

I would be really happy if anyone could spot the error.

Post has attachment
Hilarious.

Wow. The new Google+ design looks so annoying on my screen. There is 710px of ... nothing?! ... between two columns.

Post has shared content
Word :)
We should think ourselves very lucky that Alan Turing didn't patent "a single machine which can be used to compute any computable sequence" - (via @jasongorman)

Post has shared content
Really, Google is evil now? Let's Get Real. How About Apple?

I just came across this story:

Google’s Broken Promise: The End of "Don’t Be Evil"
BY MAT HONAN
JAN 24, 2012
<http://gizmodo.com/5878987/its-official-google-is-evil-now>

I have to confess that I find the furor to be overblown.

Collecting data isn't evil. It's the currency of the future, a currency that we provide in order to buy useful services, many of which can ONLY be provided if that data is aggregated and analyzed and made relevant. There are evil things that you can do with that data, but just collecting it isn't evil. I wish people would avoid the linkbait headlines unless they have evidence that Google is actually doing bad things with that data.

If you want an example of a company that is doing "evil", consider Apple. I was horrified when I heard Mike Daisey, author of the one-man show "The Agony and the Ecstasy of Steve Jobs," talking on This American Life about working conditions in the factories that make the iPhone and iPad, and Apple's tepid monitoring of those conditions. When a company has $98 billion in cash, and profits of tens of billions of dollars each quarter, does it really need to squeeze every last cent out of manufacturing costs?

The account of how Apple's factories substituted n-hexane, a neurotoxin with well-documented long term adverse health effects, for alcohol to wipe those shining screens clean, gaining a miniscule advantage in drying time but exposing workers to a lifetime of disablement, nearly brought me to tears.

That's evil. Of course, Apple never promised to do no evil, so they get a free pass.

Journalists should listen to this episode, and then write about that, please:

http://www.thisamericanlife.org/radio-archives/episode/454/mr-daisey-and-the-apple-factory

Update: The point of this post was not to excuse Google by saying Apple is worse. It was to draw a distinction between the potential for harm (Google is collecting all this data, and that could be bad) and actual harm (Apple - and just about every other company making cheap electronics - is countenancing incredibly bad labor practices that do real damage to people, right now.) There are many things that Google does that I consider as violations of its "Don't be evil" mantram (including profiting from ads from content farms, spammers, IP thieves, et al), but collecting and analyzing user data isn't one of them. I'd be delighted to hear about and spread the word about actual violations of user privacy on Google's part that are causing actual harm. But alarmism about what they might do, given how much data they have, isn't a case of actual harm, and doesn't make Google "evil".

Post has shared content

Post has attachment
Wait while more posts are being loaded