Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Search Forums > Search Results

Showing results 1 to 50 of 432
Search: Posts Made By: 00101001
Thread Thread Starter Last Post Replies Views Forum
Yeah, well thanks for all the extremely pertinent... 4,091 Views / 17 Replies  
Yeah, well thanks for all the extremely pertinent suggestions for my original question. Next time I feel like debating coding style I'll let you know.

I sometimes make extensive use of goto's,...
Posted by 00101001, on Sep 26, 2007 at 03:35 PM, in Developer Center
You don't want to be going through a method... 1,030 Views / 4 Replies  
You don't want to be going through a method lookup (or even a cached function pointer) on a pixel by pixel basis *at all*. If you already have an NSBitmapImageRep, you are in good shape... check out...
Posted by 00101001, on Sep 25, 2007 at 07:34 PM, in Developer Center
I thought I'd share some interesting things that... 4,091 Views / 17 Replies  
I thought I'd share some interesting things that I discovered in researching this.

http://www.unmutual.info/software/scexp (page seems down... see link below)
This is a really crazy project that...
Posted by 00101001, on Sep 25, 2007 at 05:17 PM, in Developer Center
I do have a function version of this particular... 4,091 Views / 17 Replies  
I do have a function version of this particular hunk of code. I would have liked a simple macro version for the sections where I can't afford the performance impact of multiple function calls...
Posted by 00101001, on Sep 24, 2007 at 02:28 PM, in Developer Center
So apparently an independent cpp implementation... 4,091 Views / 17 Replies  
So apparently an independent cpp implementation (http://www.cs.york.ac.uk/fp/cpphs/) exhibits the same behavior (commas within parenthesis are NOT argument delimiters). Chuckit, the link above could...
Posted by 00101001, on Sep 24, 2007 at 01:41 AM, in Developer Center
Yep, the preprocessor can be rather lame. M4... 4,091 Views / 17 Replies  
Yep, the preprocessor can be rather lame. M4 would have been awesome, but it's just so ugly.
Posted by 00101001, on Sep 23, 2007 at 08:42 PM, in Developer Center
The above is a *very* contrived example. I'm... 4,091 Views / 17 Replies  
The above is a *very* contrived example. I'm trying to find some info on how the preprocessor is supposed to work... What I'm actually doing does necessitate the use of macros to some degree, and...
Posted by 00101001, on Sep 23, 2007 at 08:36 PM, in Developer Center
Obscure C-preprocessor macro expansion question 4,091 Views / 17 Replies  
I'm attempting to do some funky things with the C preprocessor, and could not find any useful references on how macro arguments are evaluated. Specifically, my problem can be boiled down to the...
Posted by 00101001, on Sep 23, 2007 at 03:59 PM, in Developer Center
wow, that was a long time ago :) I just... 945 Views / 10 Replies  
wow, that was a long time ago :)

I just released vTunes4 -- finally got around to making a nice 3D one.
http://lorenb.com/software/vtunes/

Email me at dev@lorenb.com if you want the vTunes3...
Posted by 00101001, on Dec 5, 2004 at 10:47 AM, in Developer Center
burn the visuals? 851 Views / 2 Replies  
burn the visuals?
Posted by 00101001, on Mar 14, 2004 at 02:53 AM, in Developer Center
my god. that's incredible man. really -- i know... 679 Views / 7 Replies  
my god. that's incredible man. really -- i know some pretty strong chess players, and I got them all together once and we STILL couldn't beat it.
Posted by 00101001, on Feb 11, 2004 at 11:16 AM, in Applications
How about the Chess included? It's wicked good. ... 679 Views / 7 Replies  
How about the Chess included? It's wicked good. I have yet to beat it on easy... anyone have better luck?
Posted by 00101001, on Feb 10, 2004 at 09:31 PM, in Applications
there are only 2 lines, safari may be wrapping... 542 Views / 4 Replies  
there are only 2 lines, safari may be wrapping them, lines 2, 3, and 4 should all be 1 line, preceded by a single tab character.
Posted by 00101001, on Feb 10, 2004 at 03:49 PM, in Developer Center
Well, in the .c I commented out the... 542 Views / 4 Replies  
Well, in the .c I commented out the #include<malloc.h> -- you don't need it, it's included in stdlib.

For the Makefile, I stripped it down to this:
topixmodule.so: topixmodule.c
[tab] gcc -c...
Posted by 00101001, on Feb 10, 2004 at 01:47 AM, in Developer Center
In a nutshell, it would require some thought on... 1,273 Views / 35 Replies  
In a nutshell, it would require some thought on the part of the programmer with regards to data layout and whatnot, it's cumbersome, but possible. However, if I want OO I'll use ObjC :)



Check...
Posted by 00101001, on Feb 8, 2004 at 01:43 AM, in Developer Center
Yep yep, I give you that. Convenience is sorta... 1,273 Views / 35 Replies  
Yep yep, I give you that. Convenience is sorta nice... but if you sit down one day and create a whole bunch of data structures in C, you can reuse them to your hearts content. And chances are,...
Posted by 00101001, on Feb 7, 2004 at 05:28 PM, in Developer Center
IOStreams's cross platform-ness is arguable. cin... 1,273 Views / 35 Replies  
IOStreams's cross platform-ness is arguable. cin in particular. Try using getline on a Sun and a windows box without resorting to some obscure method calls to make it work sensibly.

But that's...
Posted by 00101001, on Feb 7, 2004 at 04:54 PM, in Developer Center
No, C++ is just bloated as hell. Also, IMHO,... 1,273 Views / 35 Replies  
No, C++ is just bloated as hell.

Also, IMHO, cout is the worst POS ever. If you need to use C++, just stick w/ printf -- it's your friend :)

P.S. I hate C++.

A lot.
Posted by 00101001, on Feb 6, 2004 at 12:13 PM, in Developer Center
Very strange. Have you tried doing a direct... 426 Views / 3 Replies  
Very strange. Have you tried doing a direct export to MPEG-2 from Final Cut? (I think it's File->Export->QuickTime Conversion or something).
Posted by 00101001, on Feb 3, 2004 at 05:04 PM, in Applications
Oops, either I didn't read that, or I have a... 511 Views / 4 Replies  
Oops, either I didn't read that, or I have a really short memory span. Sorry. Either way, whoever wrote that hack is uber-awesome. But it is also unfortunate in a way... I don't want any old...
Posted by 00101001, on Jan 27, 2004 at 08:28 PM, in Developer Center
check out the source code to this app: ... 511 Views / 4 Replies  
check out the source code to this app:

http://wsmanager.sourceforge.net/

everything you ever dreamed is possible -- just requires a funky hack
Posted by 00101001, on Jan 27, 2004 at 06:42 PM, in Developer Center
i have know idea how virtual desktop does its... 515 Views / 6 Replies  
i have know idea how virtual desktop does its tricks... polling the number of windows is the only way i know of... and that's unacceptable.
Posted by 00101001, on Jan 15, 2004 at 04:48 AM, in Developer Center
While not Cocoa, you may find the following... 515 Views / 6 Replies  
While not Cocoa, you may find the following useful... sorry I don't have time to explain each of the functions.

http://lorenb.com/developer/

you need to link against Carbon... but beware - it's...
Posted by 00101001, on Jan 13, 2004 at 01:22 PM, in Developer Center
safari opens a new window with the size of the... 440 Views / 2 Replies  
safari opens a new window with the size of the last one closed. try closing a window the size that you'd like it, and then reopen a new one
Posted by 00101001, on Jan 13, 2004 at 01:46 AM, in Applications
Don't really know from what you've said, but I... 410 Views / 5 Replies  
Don't really know from what you've said, but I also had massive compiling errors under XCode. This was attibuted to having a .c file include something that included something that was a .m. ...
Posted by 00101001, on Dec 2, 2003 at 12:02 AM, in Developer Center
PureRead: download photos from disposable digital camera 519 Views / 0 Replies  
PureRead is a Cocoa port of the pureread software for pulling photos off of the Pure Digital's Ritz Dakota variant disposable camera. Grab it here: http://lorenb.com/software/pureread/

get more...
Posted by 00101001, on Nov 14, 2003 at 02:46 PM, in Applications
I get it too, very annoying, what's the deal? 879 Views / 18 Replies  
I get it too, very annoying, what's the deal?
Posted by 00101001, on Nov 9, 2003 at 10:20 PM, in Mac OS X
Yep, that happens... it's not really a bad thing.... 393 Views / 2 Replies  
Yep, that happens... it's not really a bad thing. Fire up the terminal and try running fixprecoms and see if that helps.
Posted by 00101001, on Nov 2, 2003 at 02:05 AM, in Developer Center
Okay, maybe it won't burn out my LCD, but it'd... 3,204 Views / 57 Replies  
Okay, maybe it won't burn out my LCD, but it'd burn out my eyes.
Posted by 00101001, on Oct 31, 2003 at 08:23 PM, in GUI Customization
A nitpick, but no reason you shouldn't know this:... 544 Views / 5 Replies  
A nitpick, but no reason you shouldn't know this:

a*(b+c) is faster to compute than a*b + a*c
(1 mul, 1 add vs 2 mul, 1 add)

so in your case, factor out the [avalue floatValue] -- you won't...
Posted by 00101001, on Oct 31, 2003 at 08:18 PM, in Developer Center
ye gaad! Too white.. especially on my LCD. ... 3,204 Views / 57 Replies  
ye gaad! Too white.. especially on my LCD. Afraid it's gonna burn something out :)

I don't mid the brushed metal "idea" per, it's more the texture... it's too *strong*. Just like the stripes...
Posted by 00101001, on Oct 31, 2003 at 06:51 PM, in GUI Customization
May have a corrupted font (or two). Can you... 550 Views / 4 Replies  
May have a corrupted font (or two). Can you replace your /Library/Fonts/ and ~/Library/Fonts folders with those that came on the install discs?

OS X has very poor error checking for bad fonts.
Posted by 00101001, on Oct 29, 2003 at 03:58 PM, in Mac OS X
Hooks and callbacks are C-esque, In objC, I just... 392 Views / 3 Replies  
Hooks and callbacks are C-esque, In objC, I just refer to it as overriding methods (/subclassing)... eh, people will understand you pretty much no matter what.
Posted by 00101001, on Oct 29, 2003 at 02:13 PM, in Developer Center
screenshot 3,066 Views / 22 Replies  
here:

screenshot (http://lorenb.com/wvous1.jpg)
Posted by 00101001, on Oct 29, 2003 at 12:52 AM, in Mac OS X
after you've enabled it, in... 3,066 Views / 22 Replies  
after you've enabled it, in ~/Library/Preferences/ is a file com.apple.dock.plist

open that up, do a search for the fields x-pos and y-pos... those are what you want to change.
Posted by 00101001, on Oct 28, 2003 at 06:18 PM, in Mac OS X
Max menu level > 5 371 Views / 1 Replies  
Has this been fixed for a while? Am I slow? Sweetness :)

Screenshot (http://lorenb.com/menulevel.jpg)
Posted by 00101001, on Oct 28, 2003 at 12:33 PM, in Mac OS X
Dunno, never seen _unix used before. Of course,... 479 Views / 5 Replies  
Dunno, never seen _unix used before. Of course, you could always just do

#define _unix

somewhere at the top of the files.
Posted by 00101001, on Oct 26, 2003 at 09:09 PM, in Developer Center
pfft... open source is cheating ;) One day,... 753 Views / 9 Replies  
pfft... open source is cheating ;)

One day, when you decide to grow some glPubicHair, get the bezier path from the NSGlyph yourself and use a home-brewed delaunay triangulation algorithm written...
Posted by 00101001, on Oct 24, 2003 at 04:17 PM, in Developer Center
No need for viewports. To draw 3D + 2D +... 753 Views / 9 Replies  
No need for viewports. To draw 3D + 2D + whatever else you want, you really only need a handful of functions. Research these:

glMatrixMode
glLoadIdentity
glPushMatrix / glPopMatrix
glOrtho /...
Posted by 00101001, on Oct 24, 2003 at 10:50 AM, in Developer Center
*Anything* you do creates the "illusion" of... 753 Views / 9 Replies  
*Anything* you do creates the "illusion" of movement. If it looks the same, what's the difference? And FYI, gluLookAt() really just boils down to a bunch of concatenated rotate and translate...
Posted by 00101001, on Oct 22, 2003 at 04:35 PM, in Developer Center
Ahem, grayscale *is* a perfect color for a UI. ... 3,592 Views / 89 Replies  
Ahem, grayscale *is* a perfect color for a UI. But I'm not talking about color here I'm talking about unnecessary use of texture. *Aqua*, I agree, is sleek, modern, and clean. I love it. ...
Posted by 00101001, on Oct 12, 2003 at 11:27 AM, in Mac OS X
Don't get me wrong, I don't think brushed metal... 3,592 Views / 89 Replies  
Don't get me wrong, I don't think brushed metal is *ugly*, but my problem with it is that it has the potential to be sooo much sweeter.

Take for example what Apple is doing in their pro apps, why...
Posted by 00101001, on Oct 11, 2003 at 07:32 PM, in Mac OS X
check out the cbreak() function % man cbreak 779 Views / 11 Replies  
check out the cbreak() function

% man cbreak
Posted by 00101001, on Sep 18, 2003 at 07:09 PM, in Developer Center
OoooOoooh man, that's pretty sweet! :) Nice... 555 Views / 1 Replies  
OoooOoooh man, that's pretty sweet! :) Nice catch.
Posted by 00101001, on Aug 13, 2003 at 04:26 PM, in Applications
Re: Re: Anybody got FocusLayer 1,150 Views / 9 Replies  
Yeah, me :) ... Gul Banana, those were some good times. We should come up w/ a new idea and do it again one day, eh?
Posted by 00101001, on Aug 13, 2003 at 04:18 PM, in Mac OS X
properly coded Cocoa apps are responsible for... 1,792 Views / 45 Replies  
properly coded Cocoa apps are responsible for telling the finder that they modified files.

specifically, the NSWorkspace method noteFileSystemChanged:
...
Posted by 00101001, on Aug 11, 2003 at 02:47 AM, in Mac OS X
You guessed it :). Any application that supports... 441 Views / 3 Replies  
You guessed it :). Any application that supports printing supports PDF creation. At the bottom of the print panel is a button "Save as PDF"... click it and enjoy.
Posted by 00101001, on Aug 11, 2003 at 02:39 AM, in Applications
... printf() can do this quite easily. let's say... 573 Views / 6 Replies  
... printf() can do this quite easily. let's say you have a float f = 2.33445566. if you do:

printf("%0.2f\n",f);

it will print: 2.33

check out the sprintf variants if you want to store...
Posted by 00101001, on Jun 28, 2003 at 11:24 PM, in Developer Center
Mirror: 1,125 Views / 15 Replies  
mirror is up here:

http://lorenb.com/xcode/
Posted by 00101001, on Jun 28, 2003 at 04:24 PM, in Developer Center
yeah, it would probably work, never tried it_--... 690 Views / 11 Replies  
yeah, it would probably work, never tried it_-- I'm happy with the way I'm doing it now :) Give it a shot, let us know how it goes. Matrix maniplations are slow btw, you probably should keep them...
Posted by 00101001, on Jun 4, 2003 at 09:24 PM, in Developer Center
Showing results 1 to 50 of 432
 
Top
Privacy Policy
All times are GMT -4. The time now is 06:31 AM.
All contents of these forums © 1995-2015 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2015, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2