Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: Looking for Suggestions on School Project

by diskcrash (Hermit)
on Sep 14, 2002 at 14:37 UTC ( #197864=note: print w/replies, xml ) Need Help??

in reply to Looking for Suggestions on School Project

Dear Flame,

Your GMS site looks very interesting and has some open issues on features. You might extend those but use a broader context for use in other apps. Some other suggestions:

1. Development of a script for some specific USB device support.

2. Create a new client server app (pick an open port number) and create some nifty chat/game/news/mail/file share display toy.

3. Find a pair of file types that need conversion but no one has built yet. For example astronomy FITS files.

4. Serial port I/O support in Perl has always needed some improvements. How about reviewing it and offering updates.

5. Code and set up an "always on" network port location for other people to test client server apps to. Config it with an e-mail then test it with a socket.. or?

Turn up the heat, Flame!


  • Comment on Re: Looking for Suggestions on School Project

Replies are listed 'Best First'.
Re: Re: Looking for Suggestions on School Project
by Flame (Deacon) on Sep 14, 2002 at 21:28 UTC
    Wow, thats quite a bit I hadn't even considered, mostly because I wouldn't know where, or, for that matter, how to begin.

    I'll look at them one by one.

    "Development of a script for some specific USB device support": Hmm, while interesting, I wouldn't have a clue how, though I'm more than willing to learn if you can point out something that could explain that.

    "Create a new client-server app": Ooh, this is something I've wanted to try to do for a while, but I've never gotten over that first major hurdle of figuring out how to get them to talk to each other, any suggestions?

    "Find a pair of file types that need conversion...": My biggest flaw at the moment may very well be that I have a rediculously hard time understanding the anatomy of a file format. I've never really worked with anything becides plain text. Once again, if you have any suggestions as to how I could get better, just say so :)

    "[Improve Perl I/O support]": Hmm, interesting, are you refering to the IO modules, or to something else though?

    #5: Well, umm... could you explain that in a little more detail (/me has minimal knowledge of network systems & program interaction)

    I know, I'm helpless! Hehe. Seriously, all of those sound interesting, but for most, I'd have no idea how to do it. That's part of why I'm doing this project though, to try to learn something I don't already know. So if you can answer any of those questions, I'll appreciate it. Thanks!

    Note: Yes, by some freak accident I made it to "Friar" here without any of that knowledge.

    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS | GMS

      Dear Flame,

      USB -support - there are a few USB test kit vendors out there who provide drivers and small USB test boards. They usally read switches and light LEDs. There are USB ref docs on the web. I'd contact a vendor and see if they would help you out.

      Client-server apps are documented with code in several Perl books. They usually let you send and receive a buffer full of bytes between two ports on two machines. You would add some structure to the buffer content and possibly use simple TK to display the results. You might make a master/follower mouse display or perhaps a "public scratchpad" app. Check out "Perl in a Nutshell" - Chapter 13.

      The file server converter is interesting. Use hex mode in vi (or similar editor) to look at the byte by byte content of a file. Start with a simple text file. You'll see the text and the "whitespace" characters, like line feeds, spaces etc. You can use Perl to read and parse this file and then spit out a different format. Consider a simple Unix /PC converter. You might also try a simple encryption technique.

      In the broader sense think about any app that needs to move info of one type to another in a consistent way. The term often used is "Data Munging" and there is a good book by that title for Perl (by David Cross). This sounds pedestrian, but a whole lot of people get paid a whole lot of money to come up with fast and accurate format conversions.

      Good luck and use strict


        Thanks for the explanation, a lot of this looks like it'd be really fun to mess around with. I'll add most of these to my list of possibilities.

        /me runs off to grab a copy of "Perl in a Nutshell"; meanwhile becoming luckier and using strict

        My code doesn't have bugs, it just develops random features.

        Flame ~ Lead Programmer: GMS | GMS

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://197864]
and a log crumbles through the grate...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2018-04-22 20:26 GMT
Find Nodes?
    Voting Booth?