Slashdot Mirror


User: bzhou

bzhou's activity in the archive.

Stories
0
Comments
23
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 23

  1. Linux software that can run on wrt and nslu2 on Name Your Favorite Bloat-Free Software · · Score: 1

    These devices have very limited RAM and CPU, so anything that can comfortably run there usually are non-bloat. See optware for example. You can also look for packages in openembedded feeds and various wrt feeds.

  2. openembedded.org and nslu2-linux.org ... on What Embedded Linux Distros Would You Support? · · Score: 1

    Are two leading embedded linux sites, with cross build environment setup that covers lots of boards/devices.

  3. Re:JRuby versus Java [code comparison - short] on JRuby Great Addition To Java Development · · Score: 4, Funny
    vs. Jython
    from java import awt
    from pawt import swing

    labels = ["0", "1", "2", "+",
    "3", "4", "5", "-",
    "6", "7", "8", "*",
    "9", ".", "=", "/" ]

    keys = swing.JPanel(awt.GridLayout(4, 4))
    display = swing.JTextField()

    def push(event):
    display.replaceSelection(event.actionCommand)

    d ef enter(event): # <= def, slashdot formatting bug?
    display.text = str(eval(display.text))
    display.selectAll()

    for label in labels:
    key = swing.JButton(label)
    if "=" == label:
    key.actionPerformed = enter
    else:
    key.actionPerformed = push
    keys.add(key)

    panel = swing.JPanel(awt.BorderLayout())
    panel.add("North ", display)
    panel.add("Center", keys)
    swing.test(panel)
  4. snownews on What is Your Favorite RSS Reader? · · Score: 1

    Excellent text mode (TUI) RSS reader, free, open source, customizable key bindings, customizable browser. I use it on both linux and OS X. For Panther, you can get it from Darwinports.

    Text mode reduces distraction, and let you focus on the content. That's a major point of RSS, isn't it?

    Nobody has mentioned it yet, I'll have to sacrifice the mod point for this thread.

  5. Re:Good Smalltalk book? on Visual Age for Smalltalk For Non-Comm Use · · Score: 1

    This site lists a couple of free Smalltalk books. Unlike tons of Java books that're hard to choose, most Smalltalk books are of high quality.

  6. Re:Can anyone list pros of debian vs gentoo on Debian Turning 10 · · Score: 1

    Debian by default uses pre-compiled binary packages, so for example you can install a firewall machine or production server without even the need of having a compiler on it. You can still get src package and compile yourself if you want it.

    If I understand it correctly, Gentoo is a source based package. Everything can have the potential of fully optimized. And after long hours of compiling, you certainly feel it has been fully optimized.

  7. Re:8000 developers? on Oracle's Infrastructure Now Fully Linux-ized · · Score: 2, Informative

    Work around: get readline source code (I'm using 4.3), build and install example/rlfe, alias sqlplus='rlfe sqlplus'. This program can transparently add readline to command line programs unaware of readline.

  8. Re:Still looking for a book on modern approaches.. on JSP and Tag Libraries for Web Development · · Score: 2, Interesting

    For modern approaches, you'll have to look outside of the java box. From the language/devel environment that brings us MVC, there's Seaside. Similar continuation-based approach is used more in the Lisp/Scheme community. On java platform, Coccon Control Flow also uses continuation.

    I don't believe there's any book on those yet.

  9. Re:A (hopefully) unbiased opinion on Perl v. Pytho on Python in a Nutshell · · Score: 1
    Isn't it a bit off topic to compare Perl and Python under a Python book review topic?

    Now, with that in mind, and being a Python user for years, I do have something to say about the shortcoming of Python's design:

    I think it's important to get stackless to merge with the main Python. Some Python developers argue continuation does not bring enough benefit. I think it's shortsighted - for web development, Squeak Smalltalk have Seaside, Cocoon uses Rhino/continuation, all use first class continuation as the next generation web development model. The advantage will soon show. BTW, "continuation" solves the multi-level break problem easily, exception, generator, lightweight thread can all be implemented on top of it.

  10. Re:Alternative Recommendations on Python in a Nutshell · · Score: 1

    You're probably confusing Learning Python with Programming Python. Both have M. Lutz as author. IMHO, "Learning Python" is a pretty good first book on Python.

  11. Re:OS X books written for FreeBSD users? on Mac OS X: The Missing Manual (Second Edition) · · Score: 1

    Mac OS X Hacks might suite you better as it talks the Unix side more.

  12. Language Runtime and OS are merging on Programming Languages Will Become OSes · · Score: 1

    All those languages that works almost like OS:

    Lisp machines

    Smalltalk-80

    Forth

    UCSP-Pascal

    Java

    .Net languages

    have one thing in common, in addition to the language itself/themselves, they all rely on the language runtime. The more the dependence on the language runtime, the more they look like OS. If you look at the most fancy runtimes, they manage memory, processes/threads, lots of similarity!

    So Mr. Flat does have his point. But it probably can be stated more clearly as: language runtime (not language itself) and OS are merging. We went thru the phase of building better machines to support optimized compiler, now we are trying to build better support to the running of computer languages.

  13. my translation of that line on Linux PDA From China · · Score: 1

    The only Chinese linux PDA in the world, more stable and more free(dom).

  14. iMount on Apple Introduces Xserve Rackmount Servers · · Score: 1

    after iChat.

    Seriously, Oracle 9i on X is exciting.

  15. Re:Carly Fiona will still have a job? on Fiorina Says HP May Get Out Of The PC Business · · Score: 1

    The former HP medical product group was part of the Agilent spin-off, renamed as Healthcare Solution Group. And again, the division was bought by Royal Philips. So neither HP nor Agilent has any medical product anymore.

  16. XMLC is the core of Enhydra on Lutris Closes Enhydra Source · · Score: 1

    For lots of projects, XMLC is good enough. Let's keep using the open source part, and avoid J2EE when we don't have to. This is the kind of message we need to give back to Sun.

  17. Re:Better stored proc languages... on MySQL Gets Perl Stored Procedures · · Score: 2, Insightful

    Why is the suggestion of T-SQL funny? It's just an alternate, and IMHO a better-than-perl alternate. It's more compatible with core SQL and more compatible with the calling layer. I don't think people using Python or JDBC will be too fond of the myperl solution. T-SQL started from Sybase, not everything MS using is bad. But kudo and congrats to the myperl author anyway, at least people start to feel the need of stored procedures.

  18. My favorite: jython servlet on PHP, Perl, Java Servlets - What's Right For You? · · Score: 1

    Jython rocks! It got the static but stable java class libraries with the dynamic scripting power of python. Everything JSP can do, jython servlet can do as well.

    For larger project, you no longer have to mix presentation with logic like ASP, PHP or JSP, you can use XMLC with it for clear separation.

    See this site for more info.

  19. just offer a quote from Alan Kay on Computer Science vs. Computer Engineering? · · Score: 1
    From this article by Alan Kay:
    Somebody recently asked me what I am and I answered along the following lines: there is a discipline called mathematics, one called science, and one called engineering, and if those are put in a Venn diagram the intersection of the three is modern-day technology. Engineering was around a lot longer than science, but there is very little engineering that is done today that is not hooked into scientific investigation and scientific results. And math is the lingua franca for both of these disciplines. I would say that, temperamentally, I am basically an idealist, which makes me pretty much of a mathematician. Scientists tend to be realists, and engineers pragmatists. I am much more of an idealist than a realist or a pragmatist. In a way, when I think of myself, I think of myself as a scientist more than a mathematician or an engineer, but when I look at what I have done it has been mostly math and engineering and very little actual science. So these are just three ways of dealing with those things.
  20. Squeak! on Where Can I Find Beautiful Code? · · Score: 1

    Surprised nobody mentioned smalltalk code.

    See Squeak for example, even the bootstrap C code is generated from squeak itself.

    Once you get used to the syntax, the code is so much easier to understand for the same functionality compared with ones in other languages. Thanks for the OO nature, the code is easier to maintain as well.

    I don't want to start another comp.lang war. I like C, I like Haskell, I use java/python quite a lot, but for purity and elegance, nothing comes close to Smalltalk.

    The fact is..
    no matter how closely I study it,
    no matter how I take it apart,
    no matter how I break it down,
    It remains consistant.
    I wish you were here to see it.
    I like it.
    - King Crimson [Discipline] "Indiscipline"
  21. deja great! ask corp for money on Deja.com Vu! · · Score: 1

    Been using the power search page for years, hope it can keep this excellent resource and bring back the old archive. OTOH, I see opportunity for deja.com expanding their business towards corporations. Lots of company has intranet newsgroups, some provide public newsgroup supporting their products. Natually it will bring value to them if their news are threaded and web searchable.

  22. Re:He who likes Java does not know other languages on Why Linux Lovers Jilt Java · · Score: 1

    I personally like C, Java AND python 'cause each have its own merit. I use whatever got the job done best. Ever heard of jpython/jython? It's like the best of both dynamic and static worlds. To me open source is about open-mind. I'm learning Objective Caml right now :-)

  23. what freebsd need on FreeBSD 4.0 Code Freeze · · Score: 1

    Real database server like Oracle, Sybase that supports transaction/stored procedure; Good performance 1.2 JVM.