Search results

  1. M

    Font Size

    Ok well this maybe a stupid question. what do you call in cocoa to change the size of text in a NSTextField i.e I don't really care what the font is I just want to make sure its 18 point. I want to do this programatically to. i.e not make the user pick a size.
  2. M

    recording sound from cocoa?

    Thats extremly different than I expected. I was expecting some fairly complicated Core Audio calls with weird callbacks. Can you tell me why this approach instead of core audio? Thanks lots Matt
  3. M

    recording sound from cocoa?

    Hey I noticed that this hasn't had a answer. I am really interested in this. Has anyone discovered anything?
  4. M

    BBEdit instead of vi

    Very well answered Theed. I find myself agreeing with you. I am a UNIX programmer by trade and I value anything that can save me time. That is why i choose vi(m). (and in the UNIX world you have no choice) I reacted badly to people in a UNIX forum slagging off the best editor (for UNIX...
  5. M

    BBEdit instead of vi

    Maybe that was a little harsh. But hell guys this is a UNIX forum. You guys that insist of shouting out about the virtues of BBEDIT shouldn't be in the terminal cause I don't really believe you know jack about UNIX. Which is fine.... nothing wrong with that at all.... but don't come in to...
  6. M

    BBEdit instead of vi

    123123the127812687rain213123 1in3231231spain123123123fails123123 12324124mainly123123123on23124124the12312312plain123 12312on123123the123123 123123plain12312144 in vi the following command. :%s/[0-9]*\([a-z]*\)[0-9]*/\1/g produces the rain in spain fails mainly on the plain...
  7. M

    BBEdit instead of vi

    come on I thought this was a UNIX forum. People dreaming that there is any finer text editor in the world than vim (vi improved). They obviously shouldn't be on a UNIX forum unless they are asking for advice. If you don't want to learn vi then you can't be serious about learning UNIX so get...
  8. M

    Kill!!!

    I come from a solaris background so i live in OSX's terminal. put these two lines in your .tcshrc file alias k 'ps -aux|grep \!*|grep -v grep|cut -c5-10| xargs kill -9' alias p 'ps -aux|grep \!*|grep -v grep' then type: source ~/.tcshrc if you want to find a process like the...
  9. M

    Fairly complicated, but there must be a way.

    In a unix world there exists a tool called rsync. rsync keep file systems in sync across ssh connections. You can use it to take files modified from a specific date. Good stuff check it out. a simple cron job running once a night you can do a backup with the minimum of effort. (i.e sticking a...
  10. M

    Kernel panic

    Has anyone noticed that if you mount a smb volume go to the terminal and move a file from the smb volume to a local volume we get a nasty kernel panic? i.e mv /Volume/SomeSmbVolume/SomeFile ~/Desktop
  11. M

    Complete newbie cc question.

    Hey whats all this talk about emacs or BBEDIT.... vi or its smarter brother vim is what all good UNIX people use. mmmmmmmm comand line editing mmmmmmm
  12. M

    I need to learn Java

    It is definately not as polished as OS 9. for example mounted volumes from Samba shares or NFS shares aren't updated in X.1 they are in 9. You have to dismount the Volume and remount it before change you have made to that drive are seen i.e new files. I love X.1 but the GUI needs maturing...
  13. M

    I need to learn Java

    call me a bigot if you like but I don't consider PC (mac or windows) serious programming. Sure you can do fantastic things on these platforms but its just not where you write serious code. I work for enterprises. I write serious sized applications on very serious hardware. If you read what...
  14. M

    I need to learn Java

    Basically largish development teams write code as individuals. They don't generally know what classes johnny has to do what and in the end it just seems easier to write your own. Or you hear about someones class that does something and you want to change it to do something else, You spend the...
  15. M

    I need to learn Java

    - When making a multiplatform product Let me be clear... there is NO thing in the Java language. Java has a set of standard class libraries for doing this.Just like C has a standard library on ALL platforms write a program using those libraries on any platform and it will work on any...
  16. M

    I need to learn Java

    Assembly is the best way to understand what you computer is doing. I agree. I don't disagree. But nobody programs in Assembly these days because it is too slow to write anything useful. But by all means learn it. It will teach you at least one thing.... that you don't want to write anything in...
  17. M

    I need to learn Java

    My assumptions were based on reading your posts throughout macosx.com. And they turned out to be correct. I didn't mean any offence by making the assumptions though and i apologies if any offense was taken :) Your right indeed, some languages can do stuff better and more efficiently than...
  18. M

    I need to learn Java

    As i said in my previous post. Count the most widely used UNIX apps. See how many of them are written in any other language than C. Then get back to me. OO that people write themselves is hardly ever if ever reused. Mainly because the people that wrote the code are unskilled in the are of...
  19. M

    I need to learn Java

    Why do I love C so much? basically because it is as low level as you can go WITHOUT programming in assembly (though you can embed assembly in C). This means that the compiler doesn't restrict you in what you can do. This is a plus and a minus. If you know what you are doing C can let you do...
  20. M

    I need to learn Java

    The best language for developing applications on any UNIX varient is C. UNIX is written in C. C is the best structured language there is. There is nothing special about Java as a language itself. It has its own complications that programmars need to be aware of or they will stuff their...
Top