Recent content by mrjohns

  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...
Top