Berkeley CSUA MOTD:Entry 19645
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2025/05/25 [General] UID:1000 Activity:popular
5/25    

2000/11/4-5 [Computer/SW/Languages/Java] UID:19645 Activity:high
11/4    I need a program which will "read" a serial port and output which
        pins are jumped (connected).  Any pointers?  If i have to program
        it myself (not a programer but i'll manage) what is a good (easy
        more important than robust) language to learn - and what is a good
        reference to start with - for this kind of a project?
        \_ Microsoft DDK
        \_ Chances are you want to use the parallel, not serial, port.
           What is the OS you're gonna use?  What are you trying to accomplish?
        \_ Java Communications API: http://java.sun.com/products/javacomm
           \_ I've used this. It's really straightforward... It works fine
              under Windows and Solaris. Haven't used the Linux version
              (written by a 3rd party, not Sun)
        \_ Assembly.  Get right to the hardware.  Should be lots of stuff on
           the net to deal with ports already written for you.
           \_ The original poster is "not a programmer".  Writing stuff
              \_ kcik the poster in the nuts.
              at the device level is hard, esp. in assembly.  My guess
              is that whatever he/she is trying to do is redundant, but
              more information is necessary in any case.
              \_ yeah, but you dont really have to *learn* assembly
                 to do this in assembly.  if you find the right files on the
                 net, which is not hard to do, they will tell you how
                 to use the assembly commands "in" and "out" in a C program.
                 you just put these in a function, and do the rest in C.
              \_ kick the poster in the nuts.  [typo fixed.  -motd typo god]
                 it's really not bad.  i did it and i am also not a programmer.
                 \_ Thanks for making my point better than me.  (no sarcasm)
                        -original person who suggested assembly
                 \_ That's not what I would call "assembly programming".
                    Using in and out (which are often available as standard
                    functions, and are unavodable when dealing with raw
                    hardware) is different from writing the driver in
                    assembly (which is almost never necessary).
                    \_ Speaking of in and out, did you try kicking it
                       in the nuts?
ERROR, url_link recursive (eces.Colorado.EDU/secure/mindterm2) 2025/05/25 [General] UID:1000 Activity:popular
5/25    

You may also be interested in these entries...
2013/4/29-5/18 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Compilers] UID:54665 Activity:nil
4/29    Why were C and Java designed to require "break;" statements for a
        "case" section to terminate rather than falling-through to the next
        section?  99% of the time poeple want a "case" section to terminate.
        In fact some compilers issue warning if there is no "break;" statement
        in a "case" section.  Why not just design the languages to have
        termination as the default behavior, and provide a "fallthru;"
	...
2013/3/5-26 [Computer/SW/Languages/Java] UID:54618 Activity:nil
3/5     Three emergency Java updates in a month. Why do I have a feeling
        that the third one won't be the last one?
        \_ Bingo!
	...
2012/12/18-2013/1/24 [Computer/SW/Languages/Perl] UID:54561 Activity:nil
12/18   Happy 25th birthday Perl, and FUCK YOU Larry Wall for fucking up
        the computer science formalism that sets back compilers development
        back for at least a decade:
        http://techcrunch.com/2012/12/18/print-happy-25th-birthday-perl
        \_ I tried to learn Perl but was scared away by it.  Maybe scripting
           lanauages have to be like that in order to work well?
	...
2012/8/29-11/7 [Computer/SW/Security] UID:54467 Activity:nil
8/29    There was once a CSUA web page which runs an SSH client for logging
        on to soda.  Does that page still exist?  Can someone remind me of the
        URL please?  Thx.
        \_ what do you mean? instruction on how to ssh into soda?
           \_ No I think he means the ssh applet, which, iirc, was an applet
              that implemented an ssh v1 client.  I think this page went away
	...
2011/12/8-2012/1/10 [Computer/SW/Languages/Java, Computer/SW/Security] UID:54252 Activity:nil
12/8    Java code much worse IRL than pretty much everything else:
        http://preview.tinyurl.com/d5e46cq [ars technica]
	...
2011/4/16-7/13 [Computer/SW/Languages/Python] UID:54086 Activity:nil
4/16    Whoa, I just heard that MIT discontinued 6.001 (classic scheme)
        to 6.01. In fact, 6.00, 6.01 and 6.02 all use Python. What the
        hell? What has the world become? It's a sad sad day. SICP forever!
        \_ old story, they've ditched that shitty book and lang for a while.
        \_ I used to think scheme was cool, then I saw Ka Ping Yee's
           "Beautiful Code" class aka 61a in python, and converted.
	...
2011/2/24-4/20 [Computer/SW/Languages/Java] UID:54048 Activity:nil
2/24    Go Programming Language.  Anyone here use it?  It kind of
        reminds me of java-meets python, and well, that is fitting given it's
        a GOOG product.  What is so special about it?
        \_ as I understand it, it's a suitable OOP-y systems language with more
           structure than C, less complexity than C++, and less overhead than
           Java/Python.
	...
2010/8/8-9/7 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Web] UID:53914 Activity:nil
8/8     Trying to make a list of interesting features languages have
        touted as this whole PL field comes around, trying to see if they
        have basis in the culture of the time: feel free to add some/dispute
        1970 C, "portability"
        1980 C++, classes, oop, iterators, streams, functors, templates
             expert systems
	...
2009/12/5-26 [Computer/SW/Languages/Java] UID:53569 Activity:nil
12/4    what do people have their JAVA_HOME's set to on soda?
        \_ don't. are you trying to get sun java? It is installed, but not
           the default.  check dpkg -l and dpkg -L
           \_ I'm trying to run maven to get scala/lift.net working
              properly and it's complaining that JAVA_HOME is not set.
              \_ you probably want one of the directories in /usr/lib/jvm,
	...
2009/9/28-10/8 [Computer/SW/Languages/C_Cplusplus] UID:53409 Activity:nil
9/28    http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
        Java is #1!!! Followed by C, PHP, C++, Visual Basic, Perl,
        C#, Python, Javascript, then finally Ruby. The good news is
        Pascal is going waaaay back up!
        \_ C is still more popular than C++?  I feel much better about myself
           now.
	...
2009/8/7-14 [Computer/SW/Languages/C_Cplusplus, Computer/SW/Languages/Java] UID:53252 Activity:high
8/6     In C one can do "typedef int my_index_t;".  What's the equivalent in
        C#?  Thanks.
        \_ C#? Are you serious? Is this what the class of 2009 learn?
           \_ No.  I have to learn .NET code at work.  I am Class of '93.
           \_ python is what 2009 learns, see the motd thread about recent
              cal courses and languages
	...
2009/7/21-24 [Computer/SW/Languages/Java] UID:53168 Activity:moderate
7/20    For those who care btw, it looks like eclipse is now A Standard Tool
        at UCB ugrad cs, probably replaced emacs.  Furthermore, people get
        angry at seeing Makefiles, (since eclispe takes care of that).  I
        guess it's just a sign of the times.
        \_ The more people at my work use eclipse the less the code is
           managable in emacs.  I'm not sure which application's fault
	...
Cache (1715 bytes)
java.sun.com/products/javacomm -> java.sun.com/products/javacomm/
Developers Home > 10 Products & Technologies > 11 Java Technology > 12 J2SE > 13 Core Java > 14 Join a Sun Developer Network Community 15 Profile and Registration | 16 Why Register? Core Java Java Communications 17 Downloads 18 Reference - 19 API Specifications - 20 Documentation - 21 FAQs 22 Community - 23 Bug Database - 24 Forums 25 Learning - 26 Technical Articles & Tips The Java Communications API can be used to write platform-independent communications applications for technologies such as voice mail, fax, and smart cards. The Java Communications API contains support for RS232 serial ports and IEEE 1284 parallel ports. With updated functionality, developers can: * Enumerate ports available on the system * Open and claim ownership of ports * Resolve port ownership contention between multiple applications * Perform asynchronous and synchronous I/O on ports * Receive Beans-style events describing communication port state changes What's New Community Events 28 2004 JavaOne Conference. Join the thousands of developers worldwide who come to the JavaOne conference each year in San Francisco to immerse themselves in Java technology, the latest innovations, the community, and the learning opportunities. Members of 31 Sun Developer Network can 32 sign up to receive these (and other) newsletters. Learn the basics of the Java programming language and keep up-to-date on additions to the New-to-Java Programming Center. Core Java Technologies Newsletter Find out about new enterprise Java technologies, products, tools, and resources for developers. Core Java Technologies Tech Tips Get expert tips, sample code solutions, and techniques for developing in the Java 2 Platform, Standard Edition (J2SE).