|
NIH syndrome |
|
adrianl (15:22 8/4/2005) ksattic (16:40 8/4/2005) Loris (17:54 8/4/2005) andrew (23:14 8/4/2005) monkeyson2 (01:04 9/4/2005) Phlamethrower (15:00 9/4/2005) adrianl (22:18 9/4/2005) instantiator (16:25 3/5/2005) adrianl (07:16 4/5/2005)
|
|
Adrian Lees |
Message #64131, posted by adrianl at 15:22, 8/4/2005 |
Member
Posts: 1637
|
Do you, in common with many other RISC OS programmers, suffer from 'Not Invented Here' syndrome? Simply fill in the following questionaire to find out: Have you written your own (i) Heap manager? (ii) String handling routines (strlen, strcpy, memcpy)? (iii) Optimised sprite plotting code? (iv) Library of C routines for abstracting the Wimp's behaviour? (v) Serial port file transfer utility? (vi) Simple telnet-style terminal emulator? If you can answer yes to 3 or more of the above questions you are a 'true RISC OS programmer', congratulations. If you have answered yes to all 6 questions, try this further test to ascertain whether you are indeed beyond redemption: (vi) Are you working on your own divergent branch of RISC OS?
[Edited by adrianl at 16:25, 8/4/2005] |
|
[ Log in to reply ] |
|
Simon Wilson |
Message #64132, posted by ksattic at 16:40, 8/4/2005, in reply to message #64131 |
Finally, an avatar!
Posts: 1291
|
(i) Heap manager? Heap data structure, yes.
(ii) String handling routines (strlen, strcpy, memcpy)? String class, too.
(iii) Optimised sprite plotting code? Not yet, though why when you have a BLT engine available?
(iv) Library of C routines for abstracting the Wimp's behaviour? Yes, it's growing in size all the time.
(v) Serial port file transfer utility? Yes, er...in Java!
(vi) Simple telnet-style terminal emulator? Started a telnet server before. Never finished.
Most of these were assignments at uni, though, so they really had to be reinvented.
(vi) Are you working on your own divergent branch of RISC OS? Why would I do such a silly thing? |
|
[ Log in to reply ] |
|
Tony Haines |
Message #64133, posted by Loris at 17:54, 8/4/2005, in reply to message #64131 |
Ha ha, me mine, mwahahahaha
Posts: 1025
|
(i) Heap manager? No, but then again, maybe.. sort of. Arn't these the sort of things for which different implementations are superiour for different purposes?
(ii) String handling routines (strlen, strcpy, memcpy)? That is a C programmers disease, I understand.
(iii) Optimised sprite plotting code? Many, many times. And I was considering doing so again. The old routines never do quite what I want..
(iv) Library of C routines for abstracting the Wimp's behaviour? (v) Serial port file transfer utility? (vi) Simple telnet-style terminal emulator? No, no and no. Not interested. |
|
[ Log in to reply ] |
|
Andrew |
Message #64139, posted by andrew at 23:14, 8/4/2005, in reply to message #64133 |
Handbag Boi
Posts: 3439
|
Done the sprite handling. |
|
[ Log in to reply ] |
|
Phil Mellor |
Message #64141, posted by monkeyson2 at 01:04, 9/4/2005, in reply to message #64139 |
Please don't let them make me be a monkey butler
Posts: 12380
|
I think you should not only ask whether you wrote these routines yourself, but also whether you rewrote them for each new program |
|
[ Log in to reply ] |
|
Jeffrey Lee |
Message #64144, posted by Phlamethrower at 15:00, 9/4/2005, in reply to message #64131 |
Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff
Posts: 15100
|
(i) Heap manager? Kind of. I've got a priority queue that uses a heap, but that was just knicked from some textbook. I've also got a couple of simple memory manager abstractions, to provide quick allocation of small, regular sized chunks of data, and another to maintain a reference count for blocks of memory to provide some form of automated garbage collection.
(ii) String handling routines (strlen, strcpy, memcpy)? Yes - but only because I needed to work with strings with funny terminating characters (Typically any nonprintable char)
(iii) Optimised sprite plotting code? I could answer this at least 4 times. Although now I tend to let the computer write most of the code for me (Yay!)
(iv) Library of C routines for abstracting the Wimp's behaviour? Of course! I couldn't be bothered finding an actively developed library that was easy to use and would teach me how the WIMP works, so I just wrote my own.
(v) Serial port file transfer utility? Nope
(vi) Simple telnet-style terminal emulator? Kind of. There's some text buffery stuff in my Befunge interpreter; an unreleased taskwindow proggy; a Quake-style console in Dark Matter (And some taskwindow code for good measure), and a small module to echo character IO over the serial bus (Since the OS_Byte call that does it tends to hang the machine if the serial buffer gets full)
If you can answer yes to 3 or more of the above questions you are a 'true RISC OS programmer', congratulations. Hurrah!
Do we get badges to wear? Or silly hats?
(vi) Are you working on your own divergent branch of RISC OS? I wonder what your answer to that would be? |
|
[ Log in to reply ] |
|
Adrian Lees |
Message #64152, posted by adrianl at 22:18, 9/4/2005, in reply to message #64144 |
Member
Posts: 1637
|
Hurrah! Well done
Do we get badges to wear? Or silly hats? You get to wear a bushy and unkempt beard, and a 10-year old Clan t-shirt that really ought to be replaced with something more presentable.
(vi) Are you working on your own divergent branch of RISC OS? I wonder what your answer to that would be? That I really should merge a couple of my projects together and get back to a single branch? |
|
[ Log in to reply ] |
|
Lewis Westbury |
Message #64844, posted by instantiator at 16:25, 3/5/2005, in reply to message #64131 |
Member
Posts: 365
|
(i) Heap manager? Heapsort count? Yep. In C.
(ii) String handling routines (strlen, strcpy, memcpy)? Accidentally rewrote some of the Java ones before I realised...
(iii) Optimised sprite plotting code? Not yet. But I sometimes think about it. 'Sort-of did' in the BBC days...
(iv) Library of C routines for abstracting the Wimp's behaviour? Just beginning...
(v) Serial port file transfer utility? Not yet, but I want one.
(vi) Simple telnet-style terminal emulator? Yep. In Java. Really I want a terminal-over-serial tool. But I'll probably never get round to it. |
|
[ Log in to reply ] |
|
Adrian Lees |
Message #64857, posted by adrianl at 07:16, 4/5/2005, in reply to message #64844 |
Member
Posts: 1637
|
I've decided to add another to my list: (vii) ARM emulator I've very nearly lost count of the number of people/projects wanting to run RISC OS software under emulation just lately. I am, of course, guilty of this one too. |
|
[ Log in to reply ] |
|
|