Profile

Cover photo
Joa Ebert
1,589 followers|49,070 views
AboutPostsPhotosYouTube
People
Have him in circles
1,589 people
Basic Information
Gender
Male
Story
Tagline
Non-blocking lock free greedy coloring humanoid.

Stream

Joa Ebert

Shared publicly  - 
 
 
Each dot is circling around the circle!
18
3
Gokhan Sivrikaya's profile photoTi nk's profile photoSi Robertson's profile photoManfred Karrer's profile photo
Ti nk
 
Whoa trips me out a bit.
Add a comment...

Joa Ebert

Shared publicly  - 
 
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.
1
Joa Ebert's profile photo
 
Nevermind the code is fine. In fact it was something completely different ...
Add a comment...

Joa Ebert

Shared publicly  - 
 
Wow. The new Google+ design looks so annoying on my screen. There is 710px of ... nothing?! ... between two columns.
4
Peter Elst's profile photokarim beyrouti's profile photoJoa Ebert's profile photodave padovano's profile photo
8 comments
 
+Werner Van Belle looking forward to that!
Add a comment...

Joa Ebert

Shared publicly  - 
 
Tim O'Reilly originally shared:
 
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".
3
1
Add a comment...

Joa Ebert

Shared publicly  - 
 
Just a 3.15h train ride form Cologne. Perfect!
10
1
Nicolas Cannasse's profile photo
 
Looking forward to see you there ;)
Add a comment...
Have him in circles
1,589 people
 
This just showed up in my Google Music "Listen Now" category. Do they simply add suggestions to your library without asking first?
1
Add a comment...

Joa Ebert

Shared publicly  - 
 
Is there an option in Google+ to show less posts from a particular person?
1
Andreas Rønning's profile photoTony Bonavera's profile photoMatt Thomson's profile photoJoa Ebert's profile photo
7 comments
 
Okay, I finally found it. Who whould have thought that I can only change that from within the circle's feed and not the whole circle management ... 
Add a comment...

Joa Ebert

Shared publicly  - 
4
Michel Boudreau's profile photo
 
He's everywhere! moonwalk car
Add a comment...

Joa Ebert

Shared publicly  - 
 
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)
14
4
Add a comment...