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

Search: Posts Made By: Samad
Thread Thread Starter Last Post Replies Views Forum
It's not a particularly easy thing to do for... 1,725 Views / 17 Replies  
It's not a particularly easy thing to do for someone unaccustomed to using UNIX. If you're desperate for this software, either get someone who's fairly knowledgable in Linux/UNIX or read Linux for...
Posted by Samad, on Jul 9, 2006 at 02:43 AM, in Developer Center
I don't know any way to stop a NSScrollView from... 1,616 Views / 2 Replies  
I don't know any way to stop a NSScrollView from scrolling (that's what it's supposed to do.) But to keep the mouse wheel from vertical scrolling, this might work:
[myScrollView...
Posted by Samad, on Nov 22, 2005 at 09:05 PM, in Developer Center
It seems the only thing it needs besides the... 598 Views / 2 Replies  
It seems the only thing it needs besides the other libraries it specifies is Xlib. If you are having problems compiling, maybe you haven't installed X11?
Posted by Samad, on Nov 22, 2005 at 08:57 PM, in Developer Center
Have you been able to compile the libraries that... 598 Views / 2 Replies  
Have you been able to compile the libraries that the project is dependent on?
Posted by Samad, on Nov 22, 2005 at 08:55 PM, in Developer Center
checking for memory leaks in obj-c? 671 Views / 3 Replies  
Anyone know of any good libraries or tools for checking for memory leaks in an Obj-C program? ObjectAlloc is more of an object "backtrace" than something that looks for memory leaks. OmniObjectMeter...
Posted by Samad, on Oct 28, 2005 at 01:43 PM, in Developer Center
Double buffering or painting on images 903 Views / 1 Replies  
How does one draw on NSImages? I want to render a particular image, save it to a buffer, then draw that buffer onto the window. This rendering consists just of drawing lines, circles, and text....
Posted by Samad, on Jul 21, 2005 at 05:15 PM, in Developer Center
Parsing input from a socket 471 Views / 0 Replies  
I'm writing a class that interacts with a server over the TCP/IP protocol. When the client connects to the server, it starts a new thread that reads input from the server. Any good ideas on how to...
Posted by Samad, on Jul 10, 2005 at 08:50 PM, in Developer Center
By the way, it would be great if Xcode had ways... 1,277 Views / 14 Replies  
By the way, it would be great if Xcode had ways to extend it. It would be great if one could install a plugin that overrides Xcode's editor. That way, one could write a plugin that when you open a...
Posted by Samad, on May 28, 2005 at 02:17 AM, in Developer Center
Dumping a YUV buffer into the frame buffer will... 2,153 Views / 2 Replies  
Dumping a YUV buffer into the frame buffer will give you a jumbled buffer, because it expects an RGBA buffer. I'm pretty sure QuickTime does not support YUV channels, although I'm not certain. YUV is...
Posted by Samad, on May 28, 2005 at 02:06 AM, in Developer Center
I got the book "Learning the vi editor" by Linda... 1,277 Views / 14 Replies  
I got the book "Learning the vi editor" by Linda Lamb and Arnold Robbins from the library and I'm already starting to like vi a great deal. emacs commands take a lot longer to enter and it has far...
Posted by Samad, on May 28, 2005 at 01:58 AM, in Developer Center
I tried emacs but found the number of keyboard... 1,277 Views / 14 Replies  
I tried emacs but found the number of keyboard strokes to use it difficult to get used to. I might try and learn vim (thanks to you, parallax).
Posted by Samad, on May 25, 2005 at 05:09 PM, in Developer Center
Here's an example on reading the output of a... 2,037 Views / 4 Replies  
Here's an example on reading the output of a program:

//Create a task
NSTask *task = [[NSTask alloc] init];

// Create a pipe for communicating with task
NSPipe *pipe = [[NSPipe alloc] init];...
Posted by Samad, on May 6, 2005 at 12:55 AM, in Developer Center
Here are some thoughts off the top of my head: ... 2,037 Views / 4 Replies  
Here are some thoughts off the top of my head:
1) Close stdout (id = 1) and open it up to another file with an id = 1. Read that file to get stdout. I'm not too sure how to do this but it might be...
Posted by Samad, on May 6, 2005 at 12:46 AM, in Developer Center
emacs? 1,277 Views / 14 Replies  
Do you guys use emacs, vi, or other standard Unix text editors for development? Since OS X, we've become very Unix-savvy. As anyone who follows the Unix tradition will tell you, these text editors...
Posted by Samad, on Apr 29, 2005 at 02:50 AM, in Developer Center
The flipcode tutorial is great because it goes... 842 Views / 9 Replies  
The flipcode tutorial is great because it goes beyond lex & yacc and into the world of parser trees and even into the world of virtual machines. If you really want to get into designing a good...
Posted by Samad, on Apr 24, 2005 at 11:31 PM, in Developer Center
Lex and Yacc are great tools to use. Switching to... 842 Views / 9 Replies  
Lex and Yacc are great tools to use. Switching to lex and yacc to write language parsers is recommended over writing them by hand because:

* Lex & Yacc is very fast and optimized
* Lex & Yacc...
Posted by Samad, on Apr 24, 2005 at 03:32 PM, in Developer Center
It seems like we get a "new to programming, help... 1,092 Views / 11 Replies  
It seems like we get a "new to programming, help me right now" post every week or so. Is it too difficult to type "new to programming" in the search field? I'm surprised you guys tolerate these...
Posted by Samad, on Apr 7, 2005 at 06:43 PM, in Developer Center
Unix went through a phase during the 80's where... 818 Views / 11 Replies  
Unix went through a phase during the 80's where many companies developed their own versions. As each company's Unix evolved, each began to have different APIs, data structures, etc. This greatly...
Posted by Samad, on Mar 6, 2005 at 06:20 PM, in Developer Center
Why Cocoa-Java API? 818 Views / 11 Replies  
What's the point of having an Obj-C to Java bridge for Cocoa? It seems pretty pointless to develop Cocoa applications in Java. Java already has its own windowing toolkit. Why did Apple decide to...
Posted by Samad, on Mar 5, 2005 at 08:12 PM, in Developer Center
If you're just starting out on a Mac, begin with... 810 Views / 7 Replies  
If you're just starting out on a Mac, begin with something easy like REALbasic. REALbasic can do exactly what you would like it to do. There's no point in rushing in and trying to learn Cocoa....
Posted by Samad, on Mar 4, 2005 at 12:41 AM, in Developer Center
It really depends on your view of corporate law.... 1,096 Views / 14 Replies  
It really depends on your view of corporate law. If you think legal, corporate contracts have ethical value, then you shouldn't try to get out of paying $500.
Posted by Samad, on Feb 26, 2005 at 04:43 PM, in Developer Center
If you really want to do diehard sockets... 847 Views / 7 Replies  
If you really want to do diehard sockets programming, check out Unix Network Programming, Vol 1 by W. Richard Stevens. When I say "check out," I mean that literally, like from a library. This book is...
Posted by Samad, on Feb 23, 2005 at 10:39 PM, in Developer Center
My question is more about how you, the... 724 Views / 6 Replies  
My question is more about how you, the developers, see REALbasic. What are some of your experiences�successes or failures? Benefits or downfalls?
Posted by Samad, on Feb 12, 2005 at 03:13 PM, in Developer Center
REALbasic & The Developer Community 724 Views / 6 Replies  
What place does REALbasic have in the developer community? How popular is it amongst developers/hobbyists? Are there lots of professional OS X programs out there made with REALbasic? Is it an...
Posted by Samad, on Feb 12, 2005 at 01:48 PM, in Developer Center
Propofol, I have developed in C on Windows so I... 881 Views / 16 Replies  
Propofol, I have developed in C on Windows so I know where you are coming from. If you really want something that resembles Win API, stick with Carbon. However, ObjC/Cocoa is far more sophisticated,...
Posted by Samad, on Feb 11, 2005 at 02:50 PM, in Developer Center
Free Software is Important 637 Views / 3 Replies  
I believe, to some degree, with the post. Unix was almost killed by the fissures and fractures within the community that arose when companys began to develop their own, seperate Unix-based OS. Unix...
Posted by Samad, on Feb 6, 2005 at 11:15 PM, in Developer Center
Oh yeah, and Xcode has issues with bison and... 788 Views / 7 Replies  
Oh yeah, and Xcode has issues with bison and flex�I've been completely unable to set specific options to pass to bison or flex. Makefiles seemed like the only solution to this problem.
Posted by Samad, on Jan 27, 2005 at 12:44 AM, in Developer Center
Xcode has its benefits, no doubt. But I was... 788 Views / 7 Replies  
Xcode has its benefits, no doubt. But I was wondering if anyone out there used their own techniques for building applications. I personally like using Makefiles because, well, I'm a Unix fanatic �...
Posted by Samad, on Jan 26, 2005 at 12:09 AM, in Developer Center
How difficult would it be to write one's own 68k... 3,970 Views / 17 Replies  
How difficult would it be to write one's own 68k assembler and emulator? Doesn't seem terribly complicated if one is used to writing higher language parsers.
Posted by Samad, on Jan 25, 2005 at 07:53 PM, in Developer Center
Xcode 1.1. I tried adding a second target that is... 788 Views / 7 Replies  
Xcode 1.1. I tried adding a second target that is a "Unix terminal" program (i.e., it is linked to libc++) and it kept raising exceptions. Plus, it would never build the second target. Anyway, after...
Posted by Samad, on Jan 21, 2005 at 11:37 AM, in Developer Center
Xcode or building an app yourself 788 Views / 7 Replies  
About six months ago, I posted a question on this forum on how to write a Makefile that builds a proper Cocoa application. Needless to say, I've been (mostly) successful in writing Makefiles that...
Posted by Samad, on Jan 17, 2005 at 10:09 PM, in Developer Center
HyperCard has the tradition of having a... 764 Views / 7 Replies  
HyperCard has the tradition of having a hobbyist/hacker audience. The problem with SuperCard, MetaCard, and RunRev is it is too expensive for the common hacker. FreeCard has a lot of great ideas, but...
Posted by Samad, on Dec 25, 2004 at 06:00 PM, in Developer Center
How about a link to a web page of your programs? 726 Views / 3 Replies  
How about a link to a web page of your programs?
Posted by Samad, on Dec 20, 2004 at 02:49 AM, in Developer Center
Any chance of a brave individual to implement a... 764 Views / 7 Replies  
Any chance of a brave individual to implement a GNU implementation of HyperCard? FreeCard seems to be a fairly inactive project.
Posted by Samad, on Dec 20, 2004 at 02:46 AM, in Developer Center
GNU make question 443 Views / 0 Replies  
Is it possible to have a directory as a target and dependency? So if I change the contents of a directory, the rule that depends on that directory will be executed. I tried doing this:

all:...
Posted by Samad, on Dec 10, 2004 at 05:55 PM, in Developer Center
I tried doing that, and I got a button with the... 2,110 Views / 3 Replies  
I tried doing that, and I got a button with the OpenStep appearance, not Aqua. Here's the source code for the AppController:

- (void) awakeFromNib
{
NSRect frame = {{50.0, 50.0}, {100.0,...
Posted by Samad, on Dec 10, 2004 at 03:19 AM, in Developer Center
Dynamically create NSButtons or NSTextFields? 2,110 Views / 3 Replies  
Is there any way to dynamically create NSButtons or NSTextFields without having to code my own NSView that can implement the same functionality and appearance?
Posted by Samad, on Dec 9, 2004 at 10:30 PM, in Developer Center
Here's a great page if anyone wants some... 1,076 Views / 4 Replies  
Here's a great page if anyone wants some information on precompiled headers.

http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html

If anyone wants me to rewrite the sample script I wrote...
Posted by Samad, on Jun 18, 2004 at 01:13 PM, in Developer Center
Alright, I got the general format down, if... 1,076 Views / 4 Replies  
Alright, I got the general format down, if anyone's curious. I haven't figured out precompiled headers yet, so this doesn't include that.

_AppName = name of application
_AppPath = location of...
Posted by Samad, on Jun 17, 2004 at 01:55 AM, in Developer Center
Building Cocoa applications by hand 1,076 Views / 4 Replies  
I'm wondering how to build a Cocoa application by entering commands into a shell or with a makefile. When I build a project with Xcode, the Build Results window shows an incomplete list of commands...
Posted by Samad, on Jun 16, 2004 at 01:25 AM, in Developer Center
I noticed that on a lot of *nicies, like Linux,... 1,012 Views / 17 Replies  
I noticed that on a lot of *nicies, like Linux, when entering an incorrect password at su or login, it takes 2 seconds to display "Incorrect login" but if the password is correct, there is no delay....
Posted by Samad, on Sep 3, 2002 at 11:20 PM, in macOS
It should be noted that Linux is very... 1,284 Views / 15 Replies  
It should be noted that Linux is very POSIX-compliant. Apple still hasn't made Darwin fully POSIX compliant. For example, I tried writing a program that uses IPC POSIX message queues, but as it turns...
Posted by Samad, on Aug 26, 2002 at 06:16 PM, in macOS
I'm pretty certain that installing OSX on UFS... 1,284 Views / 15 Replies  
I'm pretty certain that installing OSX on UFS doesn't make a difference. BTW, are there ANY benefits for installing OSX on a UFS partition than HFS+? I completely agree with what you had to say about...
Posted by Samad, on Aug 26, 2002 at 03:48 PM, in macOS
NFS sharing woes 814 Views / 9 Replies  
I have two computers on my LAN:
10.0.0.1 - Linux (Mandrake)
10.0.0.2 - Jaguar
I would like 10.0.0.1 be able to mount /Users/samad on 10.0.0.2. In the NetInfo Mgr, I set up my /exports like this:...
Posted by Samad, on Aug 26, 2002 at 03:11 PM, in macOS
IPC SysV Message Queues? 642 Views / 0 Replies  
I was trying to figure out a simple and easy IPC method between 2 processes. So I looked at my various options: pipes, FIFOs, message queues, shared memory, etc. I decided that message queues would...
Posted by Samad, on Aug 14, 2002 at 05:55 PM, in macOS
NFS Server? 521 Views / 2 Replies  
Has anybody been able to set up an NFS server on their OSX box? I checked out fink.sourceforge.net, but they don't have any packages for NFS. I also checked out freshmeat.net, but the NFS server is...
Posted by Samad, on Jul 18, 2002 at 05:55 PM, in macOS
glib? 451 Views / 1 Replies  
Is it possible to compile glib directly from ftp.gimp.org? I can't compile directly from the tar. It complains it cannot determine the host when I execute the configure script. I then do: ./configure...
Posted by Samad, on Nov 9, 2001 at 01:17 AM, in Developer Center
 
Top
Privacy Policy
All times are GMT -4. The time now is 08:32 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,