Jump to content

  • Log In with Google      Sign In   
  • Create Account

Anon Mike

Member Since 07 Feb 2001
Offline Last Active Oct 24 2012 06:07 PM

Topics I've Started

It would be nice to know what forum I'm replying to

04 January 2007 - 10:59 AM

When I'm replying to a post it's pretty common for for comments to be tailored depending on the forum. e.g. in "For Beginners" I try to be more forgiving of newbieism, more detailed in instructions, etc. In "General Programming" replies tend to be either more terse or sometimes wander into technical minutiae that would likely just confuse a beginner. The problem of course is that the reply page does not mention what forum you are replying to and I frequently forget. This leads to jumping through hoops of copying everything I just wrote to the clipboard, hitting back so I can find the forum name, going forward again, pasting the old text, hoping I didn't kill it while dancing, and then finally reviewing it for appropriateness.

Bad display in IE

02 October 2006 - 11:00 AM

What I'm seeing is that layout is screwed up - e.g. the Features/Resources/Community/Members links are in a single column above everything else. Colors are all wrong - I use the black theme but everything is white, quotes are all white instead of alternating colors, etc. Changing themes does not help. I also don't have a reply button when I open a topic. Basically in my ignorant opinion it smells like css is completely borked. I have a couple machines running IE7 and see it on all of them. I also have a couple machines running IE6 and see it on some but not others. I've done the usual broken internet stuff - cleared the cache/cookies, logged out / back in, etc. This happened sometime last week. Everything was fine before then.

Suggest a language for me

09 May 2006 - 11:54 AM

I am designing a new app. The app is fundamentally broken up into a bunch of seperate special-purpose tasks. Each task has a queue of work items associated with it. A task grabs a work item, performs some action, and hands it off to somebody else. The task may require results from sub-tasks to complete its job. These sub-tasks may execute sequentially or concurrently with each other. At no time may a given task block - all communication with other tasks must be asynchronous. While waiting for asynchronous results to complete the task must "put aside" it's current work item and grab the next one. Once the results do arrive the task must be able to resume where it left off. Items that are waiting for asynchronous results must be cancelable, although it is acceptable to model cancelation as a special type of result. Tasks are completely independent and may run concurrently with other tasks (inproc, out of proc, or on another machine) and only communicate via thier queues. I've written such apps in C++ before but it's a pain in the backside. I want to see if another language will lesson the pain as well as broaden my horizons a bit. This is being done for fun and likely will never go anywhere but I try to make these exercises "real" in the sense that they *could* go somewhere in theory. I consider myself an advanced user of C, C++, and x86 assembly (although the latter is fading). I've done projects of various levels of complexity in Java, C#, perl, and various scripting languages as well. I haven't done much with functional languages or other more esoteric stuff since college 12 years ago but I'm willing to learn. The description above sounds a lot like continuations to my unknowledgable eye. So first-class support for them would probably be good. Garbage collection is nice, deterministic garbage collection is better. Static typing is preferred. Control over the in-memory layout of structures would be nice. A rich *standard* library is nice, including support for sockets and database access. Rich third-party library support is acceptable, but not as nice. Some level of support for thunking to native Windows and/or Linux API's is required. I'll probably want a certain amount of direct bit-twiddling support. Perf is not a primary goal but it's not irrelevant either. Support for dynamic updates of code (without bringing the task down) would be cool. So, if anybody is still reading this, suggest away!

Dynamic alpha for images

31 March 2005 - 11:02 AM

Two questions... First, I have an RGBA image. Is there a way to draw the image while applying a global alpha to the whole thing without manually adjusting the image data? The global alpha would be in addition to whatever alpha the individual pixels have. The effect I want is a "fade to background" similiar to how many mmp's let you adjust the transpancy of their UI on the fly. I've found several things about fading to a color but that's not what I want. Secondly, I have a different image that consists only of alpha. Is there a way to draw this image while applying a global color to it? I tried calling glColor before drawing the alpha-image but the color wasn't picked up. The application for this is my font engine which outputs just the alpha channel of anti-aliased text. They're basically the same question to my mind. Some sort of glRasterColor api would solve both neatly but alas...

Simple newbie question

16 March 2005 - 01:37 PM

On a whim I gathered together various resources about OpenGL programming and started into it. Now I've got a simple app that lets me run around a flat plane along with a few other pc-controlled objects, kinda neat. Anyway, my question is - is there a way to set OpenGL to use radians instead of degrees? Having to convert back and forth is kind of annoying and error-prone. I can't really imagine why any floating-point and trig intensive environment would use anything other than radians...