Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
User Journal

Journal Journal: My New Journals goes to https://rss.hn.org/roller

Well, so lang time went by since I wrote my last journal on /. Eventually I setup my own new site, which hosts my new journals.

There are quite a few reasons why I move to my site.

  • The first is of course it's my own site.:)
  • The second is the new site supports Chinese, which not available on slashdot.
  • The third is, I control the tech details of my site, therefor I can perform some good things, if I want.
  • The fourth is, there are some others categories on my site, I can integrated them.

But there are a few shortcomings now for my site. In particular, it's a big problem to how to save my data permanently. I'm planning to develop a distribute d backup system to achieve this.

And there is as well another problem now for my site, it is about the up time, Surely as a personal web site, it hasn't the same availability as /., since slashdot is for millions of users, and my site is only for myself only now.:)

Debian

Journal Journal: PPPoE in Linux

  1. Download the newest install package.
  2. here .

  3. Unzip it.
  4. read README
  5. follow README.
Java

Journal Journal: Jasper: Package dori.jasper was replaced by net.sf.jasperrep

When I studied hactl JAF (Java Application Framework, provided by sun, I got a compiling error -- "can not resolve the package dori.jasper.*...".
It seemed a library, but I had never heard a library named "dori.*', since it was the first time to jasperreport for me.
I googled "dori.engine" many times but still could not found where to download this library, later I downloaded jasperreport source code and ireport source code and tried to find the java file with package name "dori.*" but failed as well as.
Finally, when I read the changes.txt coming with jasperreort source code bundle, and understood what happened:

- the package name hierarchy has changed throughout the entire library. The now obsolete root package called "dori.jasper" was replaced by "net.sf.jasperreports" for standardization reasons;

update:
Because I had downloaded the newest version: jasperreport-0.6.3.jar, but the package name was still dori.* at version 0.5.0.

User Journal

Journal Journal: I've Come Back

Today I finished my holidays and came back to Company...

User Journal

Journal Journal: Go My HomeTown For The Spring Festivals

Tomorrow I will go back to my hometown for the Spring Festivals. During these days maybe I couldn't visit to /. It's a pity that if I miss so many excellent stories here...

Linux

Journal Journal: Wine

When I installed my Linux system, I forgot to install the Wine package. These days I'm testing the co-operation between Windows and Linux, So I need wine.

So, I visited the wine offical site, and follow its advices to check out the source code to build it:

$ cvs -d :pserver:cvs@cvs.winehq.org:/home/wine login
$ cvs -z3 -d :pserver:cvs@cvs.winehq.org:/home/wine co wine
$ cd wine
$ ./tools/wineinstall

The wineinstall will auto make all for you, but you maybe want to customize the default configuration, you can edit the script file :./tools/wineinstall. For me, because I could not install successfully due to the default --prefix option (--prefix=/usr/local), I changed it to /opt.

And if you changed the default prefix value, do not forget to copy the document/samples/config from the source dir to ~/.wine/, and modify it to fit you, also you maybe need to export the env. variable MANPATH to /opt/man for wine manuals.

Java

Journal Journal: Web Services, SOA, etc.

There are some worthy reading weblogs at java.net.

Yesterday, I found a hot weblog on it named Stop the hype about webservices!. In this article, the author said that web serivces, has been overhyped by MS, IBM etc. vendors; it's not a new technology and has own shortcomings, and in most cases, you would not need it!

Especially, Author pointed out two things that web services is not suitable to do:

  • EAI between 2 applications based on Java
  • There are so many better solutions already existing here, such as RMI/HTTP, EJB, CORBA, etc., so you needn't use a slowest, unreliable technology (means web services)

  • EAI among applications which have better forms of integration.
  • There are some infrastuctures/applications that have already support integration with others, using standard and popular protocols such as RMI/IIOP, CORBA. Hence, you needn't change them for web services

There are some good links in this article:

And some new stuff to me:

AMD

Journal Journal: Linux iptables

Great thanks to Oskar Andreasson , it's his article that told me how to configurate iptables.

Because I was not much well aware of the low level details of tcp/ip protocol, it took me some time to read it, and till now, I only read 1/3 parts of the whole article.

But now I can use iptables to do some simple but essential things. One of them is to log and block all other machines access to my host:

Yes, very simple, just issue two commands like below:

#iptables -A INPUT -p tcp --syn -s ! localhost -j LOG --log-level debug
#iptables -A INPUT -p tcp --syn -s ! localhost -j REJECT

User Journal

Journal Journal: Linux Printing

I always work on a Linux box, sometime I need to print something, but our printer server is a Windows 2000 Server on the LAN.

So it's a big problem to how to print my document from my Linux workstation to the Windows Printer Server.

I had used the command "gnome-cups-add" to add a Windows printer but never succeeded. One of causes is a Windows printer server only provided a port 135, but not the default port 139 used by Samba, and the "gnome-cups-add" did not provide a method to change the port; In another case, I configurated all necessary settings, but failed at the last step: the program asked me to input username and password again and again, even though every time I input the right username and passwd. (I could connect to the target server by directly using the command smbclient with this username/password pair.)

Today I found a good web resource to introduce to share printer between Windows and Linux. it uses some "pure" command such as "lpadmin", "lp", "accept" etc, not a GUI program like those I had used before.

But, until the moment I'm writting this journal, I have not succeeded to configurate a Linux printer client. :(

User Journal

Journal Journal: Linux Digital Camera

LiuLei, one of my companions, has bought an Olympus digital camera for RMB 4000+. Today I saw those pics that he shot. very beautifull, really!

I decide to buy one, but I want use it to connect my laptop under Linux. I found some resources:

User Journal

Journal Journal: OpenOffice + Google

When I was writting the solution, I fount a stuff that can power my OpenOffice suite: Google image.

Unlike StarOffice, there are few pictures/images in OpenOffice, it's not convenient when I want to draw something using OpenOffice Drawing.

The day before yesterday, I found a way to do it: using google image search!

Of course I knew this function before, but I was not impressed by it before.

OK, you can try it now: telephone, mobile phone, people, linux, J2EE

You can try sex, you will get nothing!

Slashdot Top Deals

"Just Say No." - Nancy Reagan "No." - Ronald Reagan

Working...