Reliability issues...

1 min read

[@121]
To 12.42.232.132:

If you think I'm dumb enough to allow javascript in my guestbook, you got another thing coming.

[@109]
Reliability issues…

I'm having some major reliability issues with this site. Spam is the problem. I'm using SpamAssassin's spamd/spamc which have a nasty tendancy to spike up the load.

If the load stays too high for too long, everything else starts dying. Changing the priority on the spamd deamon has had very little effect so far.

I emailed Matt over the weekend and asked him what he was using to monitor/restart Tomcat. He sent me some nifty scripts his ISP wrote for him. They gave me a pretty good idea as to what to look for.

I'm using monit, to monitor and restart services. Here's what I have for Tomcat 5 in my /etc/monitrc:

check process tomcat-apache with pidfile /var/run/tomcat5.pid
  start program = "/etc/rc.d/init.d/tomcat5 start"
  stop program = "/etc/rc.d/init.d/tomcat5 stop"
  if failed host www.thauvin.net port 80
    send "GET /blog/monit.jsp HTTP/1.0"
    expect "HTTP/[0-9.]{3} 200 .*"
    with timeout 15 seconds
  then restart
  every 3 cycles
  alert erik@localhost
  depends on tomcat
  group web

check process tomcat with pidfile /var/run/tomcat5.pid
  start program = "/etc/rc.d/init.d/tomcat5 start"
  stop program = "/etc/rc.d/init.d/tomcat5 stop"
  if failed port 8009 then restart
  if cpu > 80% for 8 cycles then restart
  if loadavg(15min) > 10 for 8 cycles then restart
  if 3 restarts within 5 cycles then timeout
  alert erik@localhost
  group web

So far it has been working like a charm.

Of course it isn't a permanent solution. I need to address the real problem. In the next few days I'll be installing RBLs directly into sendmail which I'm hoping will deal with it once and for all.

Where did the links go? Visit my new Linkblog.

TiVO

1 min read

[@200]
TiVOTiVO

Marc and Scoble wonder why TiVO hasn't taken off yet.

While I agree with Robert that the technology is too expensive and complex. I think TiVO also suffers from a major case of pathetic marketing.

Ask people who are not technology-savvy about the advantage of TiVO over a plain old VCR. They won't know, and probably won't care. TiVO is marketing itself as a replacement for the VCR, but in fact is nothing more than a companion to it.

“I can't go to my favorite video store and rent a few flixs to play on my TiVO, can I?

You mean I also need a VCR?

How about DVDs? I need a DVD player too?

Sheesh… What is this thing good for?”

You can buy a VCR for around $40 nowadays, versus $200 for a TiVO box. That's another losing proposition.

I've seen a few TiVO units with build-in DVD players, but what about a build-in video player? Last I looked Blockbuster and Hollywood Video still have more VHS offering than DVDs. Everybody has a VCR, yet, TiVo, its wanna-be replacement, is really not compatible.

A few years back, I received a flyer from my old cable company, AT&T Digital Cable, promoting their TiVo-enabled unit. I recall sitting there in my living reading it and wondering what market they were actually trying to target. $10-a-month cable subscribers are not going to spend that kind of money, no matter what.

It's all about technology, but technology is a hard sell. Let me play devil's advocate for a sec…

Commercial Skip — My 4 years old VCR has something called commercial-marking, works like a charm.

Scheduling — Once, again, my 4 years old VCR can easily record a show on a daily, weekly or monthly basis. I just have to remember to change the tape when full. With VCR+ I just pickup my TV guide and find the code, not too hard. I think even my wife can do that. Well… maybe not. (Sorry, honey.)

Pausing Live TV — I can't do that. But I can record a show while watching another live, a single-tuner TiVo unit can't.

Instant Live TV Replay — I really can't do that. Don't call me while I watch TV, please.

Digital Recording — Yeah, cool, but so what?

Of course TiVO makes everything a lot easier, but as far a John Doe customer is concerned it is certainly not compelling enough.

TiVO needs a hook, like Apple with the iPod's coolness factor. Relying on movie stars blabbing about how much they like their TiVO on late night talk shows is not going to cut it in the end.

Where did the links go? Visit my new Linkblog.

Where did the links go?

<1 min read

[@940]
Where did the links go?

The links have moved to my new Linkblog. Update your bookmarks.

Why the move?

Multiple reasons.

Two of them being that it makes it a lot easier for me to manage, and easier for you to search, categorize, etc.

Are there feeds for the Linkblog?

Of course, look at the bottom of the page for the subscription icons. There are both RSS and Atom feeds.

The feeds are category-aware. If you select a specific category, the feed subscription icons will reflect your selection.

Multiple-categories can be selected by simply separating them by commas, for example:

http://erik.thauvin.net/linkblog/xml.jsp?cat=Java,Mobile

The feed entries are grouped by posting. If you prefer to list one entry per link, simply append view=links to the feed's url, for example:

http://erik.thauvin.net/linkblog/xml.jsp?view=links

What will happen to this blog?

I'll use this blog to post about more personal issues, etc.

Old friend...

6 min read

[@024]

javaTutorial: Developing JavaServer Faces Applications Using WebSphere Studio 5.1.1.

javaGetting on the open road: Migrate to the Java platform. A three-part series of roadmaps designed to assist developers of .NET, Windows client/server, and ASP applications make the jump to the Java platform.

javaJava programming dynamics, Part 6: Aspect-oriented changes with Javassist.

javaTune Eclipse's Startup performance with the Runtime Spy, Part 1.

developmentA survey of XML standards, Part 4.

mobileSecrets of the wireless elite: Alexei Polyakov. A Russian developer in Japan talks about why westerners are going to be gratified by 3G.

mobile blogRuss — Jabber Goes Mobile.

mobile blogFrank — The fastest and cheapest pipe will win content.

newsDell Founder Steps Down as Chief Executive but Remains Chairman. Michael Dell, step down as chief executive, but remain chairman.

javaNeil — JTwister — Now that's what I'm talking about.

javaPaul — Copying files in Java.

java blogSteve — just where is the Palm MIDP 2.0 public beta?

java blogMatt — JAG - similar to AppFuse, but offers more choices.

java blogHani — Eclipse LAF: HUH?

java blogCameron — Looking for a Swing developer ..

java blogCarl — Benchmarks for .append().

java blogCedric — SGen clarifications.

javaJMWS 0.0.1, a Java Managed Web System.

tvTiVo revenue up 85 percent; loss narrows.

pcReview: Acer Ferrari 3000.

moviesCourt stops DVD-copying software. A New York court bans sales of a DVD-copying program, after a similar ruling in California.

[@700]

java blogMerrick — First Impressions of SGen.

linuxCA named as SCO licensee. Computer Associates has licensed The SCO Group's Intellectual Property License for Linux.

meYesterday I received a call from a friend I hadn't heard from in over 15 years. What a rush. It brought back all kind of memories.

javaPHP or Java Class Code Generator 1.0. A generator of classes for accessing databases in the Java-beans style.

netSweden Adopts EU Ban on Spam. Sweden has belatedly adopted a European Union ban on unsolicited e-mail.

perlPerl 5.005_04 Released.

javaSun Java site running sluggish on decaf. Doctor orders cache injection.

mac blogPaul — Pepsi Super Bowl promo failing, Apple's 100 million song goal in serious danger. I've yet to see any of the bottles at my local grocery store.

javaJTGL 0.65b. Java Tiny Gfx Layer.

musicSurvey: Employees still swapping at work.

newsGates downplays Mickey Mouse rumors. No bid, focused on software.

[@632]

netMike — AOL Launches Its Own Social Network Around ICQ.

wirelessMike — Sell Your Own WiFi Access.

javaBen — Java agents.

javaBlitz JavaSpaces 2.0.1, an open source JavaSpaces implementation.

linux'We're just like the RIAA,' says SCO. Is your daughter safe?

meHappy B'day, Sweetie.

javaGUIFFY 6.0, a diff/merge utility.

javaNew IBM Software PowerPack evaluation program for Java and .Net developers.

java blogHugo — Is JBoss's source still open?

java blogKevin — Entity Beans and Me!

mobile javajtReversi 0.87, a J2ME Reversi game.

mobile blogMichael — Configure mobile phhones.

netRevealed: the true cost of broadband. Move to Sweden, avoid Switzerland.

javaHow to Render Real-time Situation Displays I0x Faster Than Swing. Interested in a way to accelerate Swing by a factor of ten or even twenty?

wirelessWorld's first Bluetooth 1.2-certified product. CSR's notebook PC.

java blogDaniel — Coming to Java from .Net.

javaJGoodies Forms 1.0.4 and JGoodies Looks 1.2.1.

java blogLeo — Rethinking attributes.

linuxEmail 'leak' suggests SCO got up to $100m from MS. VC and IP deals cited as the route.

[@416]

java blogJoseph — Minimalist Guide to Installing Apache 2.0.48, Tomcat 5.0.19, and JK2.

javaInterface Tool for Java. A tool that allows Java programs to communicate with ActiveX objects.

development blogMatt — Atom API: I Want My SOAP!

java blogRuss — MySQL JDBC Driver and Tomcat Pooling.

java blogChris — Eclipse New Look and Feel.

linux blogJesus — Mozilla Thunderbird vs. Ximian Evolution.

java blogNick — Parsing HTML as XML.

java blogWolf — Swiml 1.1.

blogLeslie — Quick Links.

newsCan a person convicted of a crime serve as president? 35 years old, natural-born U.S. citizen, must have resided in the U.S. for at least 14 years at the time of the election.

java blogJean-Philippe — Voilà pourquoi je suis nul en informatique.

blogJeremy — Amazon.com's new RSS Feeds.

blogRobert — Did the CIA write viruses to bring down Soviet Union.

windows blogTodd — 300 Tweaks to Windows XP.

sponsorToday's sponsor is ReportMill Software.

Linkblog

6 min read

[@138]

javaLanguage Features of Java Generics. Get the lowdown on J2SE's new support of generics in the core language of its upcoming 1.5 release.

javaUsing Java to Prevent Attacks. Follow two important rules to prevent your Java application from falling victim to attacks.

javaWriting a Code Generator in Java. Design and implement a flexible, Java code-generation system that is easy to maintain, intuitive to work with, and based on IOM.

javaXEsoft Releases XMLFace 1.3. A a toolkit for building Swing and/or SWT based application using an easy to use (and extensible) XML based language.

javaAnother Java Servlet Filter Most Web Applications Should Have. Activate client-side caching.

javaJCP Releases JavaServer Faces 1.0.

linux blogRuss  — What to do about EV1?

mobileVerizon Introduces New Forward-to-Plane Service. $10/month.

java blogBrian — No JavaOne For Me .

java blogSimon — Displaying international characters in JSP.

java blogDion — iPlanet upgrade on java.sun.com the problem? Ouch.

blogMike — Jabber for devices!

java blogCedric — SGen: an XDoclet killer.

blogRui — No Time, Some Links.

javaiReport 0.2.3 for JasperReports.

mac blogDiego — two weeks with a mac.

javajTDS 0.7.1. A JDBC driver for MS SQL Server.

newsJudge orders SCO, IBM to produce disputed code. For a change, the SCO Group had no comment, because Judge Wells told it not to issue any.

newsSun Microsystems Names Sueltz's Successor. Marissa Peterson, executive vice president of worldwide operations.

tvReview: ReplayTV 5504.

javaEclipse board names new member. Four new members.

linuxCourt that will hear SCO v AutoZone lawsuit itself runs Linux. Presumably, SCO's lawyers filed the lawsuit using a system that it contends infringes its intellectual property.

wirelessMike — Free WiFi Catching On At Airports.

netStates Bent on Collecting Internet Taxes. Remember all those gifts you bought online during the holidays? Now it's time to pay sales tax on them…

[@750]

development blogRusty — I'm pleased to announce the release of the XML 1.1 Bible.

javaSwingWT 0.80. An implementation of the Java Swing and AWT APIs which instead drives SWT applications.

developmentHow to hire great open source developers. Many companies have employment policies that stipulate that the company owns anything its employees develop.

java blogPelle — Open Source like Java CPU.

blogRogers — Google: 10,000 dancing Linux servers.

java blogEric — Getting Started with Eclipse, and Using VSS, Oracle, and Tomcat.

javaOpenWFE 0.6.1, an open source java workflow engine.

newsEx-WorldCom CEO surrenders to FBI. Bernard Ebbers turns himself in.

musicMike — RIAA's Latest Tactic To Drive File Sharers Underground.

java blogDion — WebLogic Configuration: Part 2.

macFinder co-designer not keen on current user interface. Steve Capps, co-designer of the Finder. Amen.

linuxSwapping Red Hat for a Fedora. Fedora is meant for those who want to stay on the bleeding edge of Linux development.

blogRafe — Will miracles never cease?

[@627]

javaCarlos — What is the best Java framework for Web development?

javaGlen — POI 2.5 FINAL Released.

windows blogRobert — Visual Studio tips.

javaJavaPerformanceTuning Newsletter: Fast Random Access.

javaJavaLobby Newsletter: HomePod in the house, and JavaOne for $24.95.

linuxSCO announces quarterly results, first user target. The lucky winner is AutoZone.

booksReview: Java Regular Expressions.

technologyPasswords are passport to theft. How secure are you?

java blogDaniel — Getting Testy.

netGo Daddy Backs Up ICANN in Fight with VeriSign. Domain registrar Go Daddy has agreed to pay ICANN's legal bills, up to $100,000.

blogPelle — Japanese for Nerds.

[@500]

javaConverting XML to PDF, using FOP. 

javaAutoboxing/Unboxing. The problem with the collection API is that you cannot put primitive data types into it.

javaAtlassian releases JIRA 2.6.

javaMultivalent PDF Tools, a free set of PDF manipulation tools.

netJustices Hear Arguments on Internet Pornography Law. The Supreme Court heard oral arguments about Internet pornography.

gadgetsAlan — Engadget.

windows blogBernard — Tail for Win32. There's also Paul's jLogTailer, on the Java-side.

blogDaniel — Googlebot doesn't play nice.

java blogHani — JBoss thoughtspeak.

java blogAnthony — Building Eclipse plugins redux.

blogLeslie — Quick Links.

java blogAaron Johnson — Struts & Java Tips: Issue #1.

blogOvidiu — Virus attack on Apache committers.

humorPhilip  — Mel Gibson and the Passion movie again…

zaurusReview: Zaurus SL-5600 Linux PDA.

javaIBM open source Java proposal puzzles Sun official. Schwartz stresses platform compatibility.

moviesThird Spider-Man film 'under way'. Sony confirms a third Spider-Man movie is to be made, according to a report.

gadgetsBBC does Top Ten Gadgets of 2004. [via Mobitopia]

sponsorToday's sponsor is ReportMill Software.

04-03-02

4 min read

[@039]

javaDaniel — JavaOne Notifications.

javaExcelsior FlawDetector 1.0 beta 4, a Java static testing and consistency checking tool.

java blogMatthew — Cocoon Portal at CeBIT.

mobile blogEwan — Scottish Schools Ban Camera Phones.

java blogRusty — ArgoUML 0.15.4 and Xalan-Java 2.6.0.

java blogDion — Oracle Releases OC4J 10g Developer Preview 2.

java blogMarc — Java System.out debugging.

java blogMatt — Anthill 1.7.0 Released!

java blogTalip — Java Serialization Part II: Inheritance.

java blogNorman — JavaOne blues, verse 2.

development blogCedric — The value of free? Not much.

zaurusJSquiggle 1.5, a peer-to-peer wireless sketch pad.

macJobs dominates in Forbes CEO ratings. For over a year, Forbes has been asking its readers to rate the performance of America's most notable CEOs on a monthly basis…

javaJess 7.0pre-a1, a rule engine.

linux8% of Linux developers think SCO has merit. 73% believe the SCO Group's legal attacks on the open-source operating system lack merit.

pdaPalm OS 6 simulator available for developers. From PalmSource for Cobalt.

technologyMike — Court Says No Go On FCC's Telecom Rules.

technologySenators Try to Smoke Out Spyware. Three U.S. senators are tackling the growing problem of "spyware".

java blogChris — How To Add a Custom JSP Tag Library to JDeveloper 10g.

windowsMicrosoft Releases BizTalk Server 2004.

[@590]

mac blogErik — MacTech Renewal. We got a couple settlement checks too.

mac blogSteven — WebDesktop 2.2.

linuxTutorial: SpamAssassin-ClamAV-Procmail-Howto.

newsHow to Stop Receiving Credit Card Offers. Tired of annoying "pre-approved" credit card offers?

mobile blogMartin — Direct Handset Application Downloads.

java blogLuke — Open up Java?

java blogAndy — What is Unit Testing?

javaJMS Enables Concurrent Processing in EJB. JMS provides an elegant solution for overcoming the restrictions you face when developing concurrent applications with EJB.

mobile javaPush Your MIDlets to Do a Lot More with MIDP 2.0 PushRegistry. Learn how to push your MIDlets up to first-class status on a range of mobile devices using the PushRegistry.

java blogGuillaume — Heads-up on File/Stream groovy methods.

blogLowem — Toyota Volta - hybrid supercar.

java blogFred — JDJ Makes Last Stand with Last J2ME Column.

blogLeslie — Quick Links.

musicJeremy — Belkin's New iPod Microphone Adapter.

development blogTed — YAGNI != No planning.

musicAnalyst: iPod to account for $1 billion in Apple revenue.

java blogJames— eclipse, groovy and dynaop.

javaJxtray 0.1, a Java Database Explorer.

javayGuard 1.3.1, an Ant bytecode obfuscation tool.

technologyAudacity 1.2.0. Multi-platform sound editing tool.

blogFrank — SAP Executive Blogs.

development blogJulian — How To Spot A Fake Programmer.

mac blogSylvain — Apple's hidden X11 installer.

netYahoo Adopts New Fees to Explore Web. Adopting a new system for indexing Web pages that will charge businesses to include more material.

sponsorToday's sponsor is ReportMill Software.

Code Style

6 min read

[@046]

javaJIDE Software new releases: JIDE Docking Framework 1.4.1, JIDE Components 1.3.2, JIDE Grids 1.2.1 and JIDE Dialogs 1.0.1.

javaCayenne ORM Milestone M3, a unique open source Object Relational Framework written in Java.

technology"Professional Open Source" - VP Discusses JBoss's Venture Funding Strategy.

mac blogMatthew — Collaboration works.

blogRuss — Spain: Time Europe Special Report and Confirmation and Affirmation.

java blogDavid — Updated Examples from Java Examples in a Nutshell.

mobile blogAlan — J2ME TV looks at the Oscars.

mac blogBrent — cocoa.mamasam donation.

java blogRickard — Updating client caches.

blogRogers — 2.7 million bloggers doesn't impress AP.

java blogLance — Atom4J.

development blogKevin — Charles Miller defends YAGNI.

javaJMP3Renamer-1.9, a small tool written which renames downloaded MP3 files with the help of CDDB entries.

linuxSCO Reveals its First Linux Licensee and suffered a setback in the German courts. 

netMossad website 'hacker' walks free. And gets pat on head for 'acting in the public good'.

[@790]

development blogRick — I think I'm done with thought leaders. (For Joe)

java blogChris — Spring: Telling the framework where to load beans.

javaJPluck 2.1.2, a Plucker document creation toolkit.

netUUNet tops spammer-hosting super league. ISPs harbour world's worst offenders.

newsSoft drink is purified tap water. Dasani.

moviesComplete List of Academy Award Winners. The list of winners at the 76th Annual Academy Awards.

javaStructural Analysis for Java. A technology that analyzes structural dependencies of Java applications…

[@701]

linuxIntel Hyper-Threading on Linux: Fact or Myth. Hyper-Threading is a performance enhancement that was an after thought of the original P4 design.

netFirst Misleading Domain Name Jail-term. Luring kids to porn websites brings prison term.

java blogRusty — jTDS 0.7, ImageInfo 1.5 and JFugue.

java blogCarsten — Is Eclipse M7 usable?

tvJoey — The Oscars. I agree wholeheartedly.

mac blogPaul — Microsoft Xbox 2 Software Development Kit is … Based on Apple Technology?

macApple's Shake at the Oscars. For the seventh year in a row, a film using Apple's Shake compositing software won "Best Visual Effects" at the Oscars…

musicForbes: iTunes Vs. Napster.

netNetcraft: Most Reliable Hosting Providers during February.

java blogDave — Today we learn.

javaAndrew — Using Java For Soft Real-Time Simulation.

javaJPOX 1.0.0 Beta 2. Java Persistent Objects.

netOpenOffice.org for Windows 1.1.1rc and OpenOffice.org for Linux 1.1.1rc.

java blogMatt — AppFuse 1.4 Released!

[@570]

javaMarrying Java to C for numerical computing.

javaJNode 1.6 and JasperAssistant 1.0.8.

javaJava Serialization. Lesson 7.

development blogDiego — feedvalidator bug or feature?

musicMatt — Katy Rose.

blogRuss is catching up:

mobile blogFrank — Joi Ito's $3500 GPRS bill.

mobileSanDisk Reveals Tiny New Memory Cards for Phones. T-Flash.

java blogTim — Java v. C++ from a different perspective.

development blogBhagvan — Software Architecture Analysis Method (SAAM).

development blogKevin — MSDN article about platform selection even mentions Linux and Mac OS.

javaRusty — JSwat 2.24.

java blogCarsten — Apache Portals PMC.

java blogJ Aaron — Avalon HOWTO's.

java blogDavid — Static Import Surprises.

java blogMalcom — Adapt the Java style for your own.

development blogKeith — How different browsers interpret HTML font sizes.

java blogLeo — jicarilla-platform 0.4a release.

development blogMark — GMT vs. UTC.

development blogCheah — The best list of CSS filters, so far.

java blogAlan — Russell Beattie's Invasion of the J2ME Snatchers.

development blogWeiqi — Subversion: First Impression.

java blogDaniel — Let the compiler help you, Laird!

java blogDaniel — Concurrency Utilities.

blogLeslie — Quick Links.

mac blogBill — Subversion, Xcode projects, and Diffs.

development blogBill — Hash generator.

mobile blogChristian — Getting most out of Series 60 - My selected gems.

mobile blogSteve — more on palm MIDP 2.0.

development blogRui — Bayesian.

moviesMartin — One film to rule them all.

windowsFileZilla 2.2.4c, a nice FTP client.

javaQuartz 1.3.3. An enterprise-level scheduler.

javaJFCUnit 2.03. An extension to the JUnit framework to execute unit tests against code that presents a Swing GUI based interface.

netICANN Responds to VeriSign Suit. Disappointed.

netNetcraft: March 2004 Web Server Survey.

java blogAdrian — Java Coding Style.

sponsorToday's sponsor is ReportMill Software.