A A A i

jeudi 26 juin 2003jeudi 26 juin 2003

java.net: amusing misbehaving

Following a link wrongly typed on Fred Grott's weblog:

http://today.java.net/pub/a/today/2003/06/10/desing.html

Note that design is wrongly spelled. What should a normal server return? A 404 right? In a normal world yes. But you know SUN and the way they do standards...

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<p>
Please contact the server administrator,
 webmaster@oreillynet.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<p>
More information about this error may be available
in the server error log.<p>
</body></html>

Notice that the server administrator is O-Reilly, SUN is not competent enough to manage a web server? That could explain many things about JSPs...(Cyberpunk, 2003/06/26 18:55) lien permanent


mardi 24 juin 2003mardi 24 juin 2003

Sans titre

and how do you desactivate the bloody space insertion when you type ':'!(Cyberpunk, 2003/06/24 18:19) lien permanent


samedi 14 juin 2003samedi 14 juin 2003

Remove this flash out of my sight

For some months now, Mozilla is my primary browser, and now all the links to Internet Explorer have been remove from menus, toolbars, folders... And except for one or two brainfucked sites, I don't launch it more than once a month. This is mainly due to loosy coding, with static checking of the User-Agent (easily spoof I know), and more problematic, non compatible javascript scripts.

Next step toward the compatible way, remove the Flash plugin. My intention was to get rid of some ads, they break the usability (if you use your mouse 4-th button to go back over one of those ads, the click event never reach the browser), and they (currently) can be rejected by a standard install of Mozilla. To my pleasure, to remove this plug-in doesn't affect many sites I regularly visit. But for some of them, they are completely broken without Flash, they don't use the browser paradigm: a stack of visited web pages. Click on a link, you throw the part of the stack that is above your current stack cursor, and push the new page. Click the back button, go deep one level in the stack. Click the forward button, climb one level in the stack. Easy to remember, so natural when you use it... it's a walk with little memories: you can only remember your last trip forward.

One of the site the most broken in this regard is www.sony-europe.com. First, it uses a strictly javascript based navigation, the result? Only 6110 pages referenced in Google. sony.com? 29200. hp.com? 269000. That hurts. Secondly, some crucial things are accessible only through Flash. For instance, for many products that use Memory Stick, you've a link "Memory Stick Universe" that opens a pop-up via javascript, which doesn't remove all the toolbars because I've more that the standard, and that brings you to a magnificient page, scolding you: The Macromedia Flash plugin is not installed (HTML tags are from the very page), and with two broken images to really show you that you're not welcome. I want the "Memory Stick universe", not the "Flash Universe"! On the other hand, some other links bring to pages which don't do any plugin detection, you're only allowed to contemplate the void.

Am I going to reinstall this plugin? In the sites I visit (including sony-europe.com), what I miss is: ugly buttons, ads and marketing presentations. When I see the little square with the lizard button, I'm just relieved that there is something useless that doesn't clutter anymore my visual space.(Cyberpunk, 2003/06/14 20:32) lien permanent


vendredi 13 juin 2003vendredi 13 juin 2003

Another reboot

Another lock lost in space by Word...(Cyberpunk, 2003/06/13 11:24) lien permanent


jeudi 12 juin 2003jeudi 12 juin 2003

XML only with RDF?

ajeru says in "Never use XML without RDF":

To use pure XML for describing semantics is terribly inefficient and a big step backwards. It's a step back from a logical model to a purely physical representation. XML should be used only as a data transfer mechanism for higher level languages like RDF.

I'm sincerely not convinced that XML/RDF is the best exemple of use of XML :-) Let's remember that XML's father SGML is 20 years old, and has proven its benefits since that, without RDF or any other generalized semantic description framework. Now, we're all fed up with XML here, XML there. XML gave us:

  • a hint that there is a thing called SGML
  • a way to format textually and quickly hierarchical data
  • through this, remind us that before the object model and the relational model, we used to master the hierarchical model
  • a kick in HTML's ass in order to have a strict and more usable data model

Unfortunately, that gave birth to monstruosities like XML Schema, SOAP and EAN.UCC XML among others. But, this should not prevent us from using XML where it's worth: a lightweight, easily parseable and human-readable format for hierarchical textual information.(Cyberpunk, 2003/06/12 08:01) lien permanent


mercredi 11 juin 2003mercredi 11 juin 2003

Tenkû no Shiro Laputa (Castle In The Sky) in theaters soon

At least Laputa is released here. I failed to mention that I was looking for this soundtrack, soon released by ULM / Universal. I wanted to know if it was the 1986 or the 1999 version of the score. It's clear after seeing the release official site that this is the 1986's one.

By the way, this site is painful, completely in Flash, slow as Hell, with some silly JavaScript blocked by Mozilla (hopefully, I like pop-up prevention) if you reach the normal welcome page.(Cyberpunk, 2003/06/11 04:06) lien permanent

Comments on "What's New in Visual Studio .NET 2003"

Found a reference on OSNews on this article[3leaf.com]. I can't resist to comment some parts.

There are a couple of things worth pointing out right off the bat. First you can (and may have to) install both VS 2002 and VS 2003 on the same machine at the same time. They will operate side-by-side just fine.

Wow! It's exceptionnal, a MS software that manages to not mess too much with the registry! Two rounds of applause!

You can even install Visual Studio 6, VS 2002, and VS 2003 Final Beta, all on Windows .NET Server RC2.

Who wants to install an IDE on a server? The free cash era is dead guys.

As usual, VB leads with productivity and IDE enhancements.

Followed by some stunning things:

  • procedure separators: VB coders apparently need a line drawn between the methods
  • context-sensitive object and method drop-down menu: champagne!
  • automatic skeleton when implementing an interface: well, I've this for almost 3 years in JDEE...
  • abbrev mode: type try and you've got a "Try catch end try"... hmm, abbrev.el, ©1985, 1986, 1987, 1992 Free Software Foundation, Inc... another killer feature...

One new feature with VB .NET is that you can now declare variables right inside of loops. [...] They've also added in bit shift operators for VB.NET.

The clone wasn't finished? I'm surprised.

You can now build mobile applications (which use either ASP .NET Mobile Controls for targeting browser-enabled cell phones, or Smart Device Applications for targeting the Pocket PC) without downloading any extra extensions.

So either you're online with a browser or you've got a Pocket PC... hmm... I think there are higher priorities right now. But it's nice you don't have to pay more (what's the price already? 1900€?) for such a little market share.

There's really nothing bad to say about VS 2003.

At least there is something new!

(Cyberpunk, 2003/06/11 04:05) lien permanent


lundi  9 juin 2003lundi 9 juin 2003

Flowchart program?

Does anyone know a flowchart drawing program? DiaGen was promising, but it's a little buggy. Nothing seems to be released using neither GEF [eclipse] nor  GEF [tigris]. Perhaps someone will have the time to do one with SATIN.(Cyberpunk, 2003/06/09 12:31) lien permanent


vendredi  6 juin 2003vendredi 6 juin 2003

Are JSP worth the pain ?

I've done JSP for almost 3 years now, and I can't understand anymore the ecstasy around it which seems to reign in some circles. At the beginning there was HTML, and HTML was cool. And then some spirits thought they could do applications inside a simple web browser, denying its most powerful feature after hyperlinks: the back button. So came the servlet.

But most of the times, the servlets were just full of strings, and had little code relevant to the process. So came the JSP. Over the time, servlets has been reduced to the role of an almighty controller, taking part of the almighty Model2 (or MVC 2), which is the definite absolute unevitable solution for building applications with a web frontend.

Let's remember that all this relies on HTTP, a stateless text-only protocol, primarly designed to transport HTML. All this has evolved in a patchy mess that some groups try to clean, and we face today the situation where Internet Explorer is THE browser required by corporations, even if it's the less standard compliant on the market today (think Opera, Gecko, KHtml). The problem is (and has always been) to keep a "programmatic" integrity between our objects on the server side and their treatment on the client side. Of course the client may have an object notion (applet, javascript, flash?), but most of the times, HTML forms are used. This is called serialization... The answer given by JSP is to use a text file, mixed with java code, mixed with some kinds of controls called tags, and everything is transformed in an almighty servlet with ONE method (this has been thoroughly described as "it sucks" in several articles, so I won't enforce the point). This hasn't been that much a problem until the last months when the rush for the Ultimate Taglib has begun. Normally you could use JSP not only for HTML but for all texts formats as well. But since there is no control on the linefeed and some spaces in the output stream, you are restricted to formats loosy on this matter. Typically, using a tag entails 10 to 20 times more bytecode that calling a function, because a tag manages scriptability, looping and exception handling must be taken care of. The 64kB barrier is nearby (I've encountered it only because of tags use), and frankly, tags are just a kludge on JSP... all in all, Java for the web is not great.

One thing promoted with JSP was the clean separation between the design and the code... at best it's ignorance, at worse it's a lie. A tag is just a thin layer over code, and the taglib must be declared inside the file, there is NO separation. Eventually you have:

  • at best code mixed with presentation
  • at worst no presentation, with the HTML tags strictly generated in JSP tags, which is the current trend of some "standard" frameworks
  • a page size practically limited
  • a "flexible" format, with only one practical use: HTML output
  • no answer to the real problems of object oriented web applications: how to keep in sync server and client transparently for the developper (this has already been solved of course, by Apple's WebObjects for instance)
  • a new non-standard ultra-verbose procedural language: the different implementations of JSP tags

Sincerily, are the "benefits" worth the pain?(Cyberpunk, 2003/06/06 04:46) lien permanent

Commentaires ici et ailleurs :

You really should take a look at Echo framework :

http://www.nextapp.com/products/echo/

Posté par Lunar, le lundi 16 juin 2003 à 08:15 #

Hi Lunar, nothing better than a server in the USA to talk when you leave at 10 min on foot. I've looked quickly... but I'm more a "bare metal" guy. It could be a good solution for a completely in-house project, I'll be more inclined to use that at work if I've the time to test the demo application. But I can't imagine using it "privately".

Posté par Damien B, le lundi 16 juin 2003 à 19:29 #

live not leave... so silly

Posté par Damien B, le lundi 16 juin 2003 à 19:29 #


mercredi  4 juin 2003mercredi 4 juin 2003

Dangling locks

In Office, when you work on a document on a "windows share", a lock is put. This is the same approach in Visual Source Safe, exclusive locking. Most of the time, it's completely useless, because there is someone in charge for the file edition (but the Office programs don't let you view a document in a simple way). If there are several people in charge of some piece of work, for God's sake, don't use a format which is not externally diff'able. So, locks are put... and they are removed when all goes well, that is, most of the times. And when something happens:

  • Word goes nuts (just try Word 2002 on Windows XP, you have a 2 hours TTL)
  • a "windows share" unproper disconnection
  • windows (from W2K, windows isn't less buggy, but bugs don't lead systematically to a GPF anymore)

the lock is lost, and your stupid Office program is proud to announce that the document is locked by yourself when you try to reopen it. The solution? Reboot 3 times. Have fun.(Cyberpunk, 2003/06/04 10:44) lien permanent

Days like this, I want to throw windows through the window

For three hours now, I try to reinstall the driver for my Wacom tablet. Multiple install, uninstall, registry cleaning, safe mode reboot for erasing protected files... No error message during the installation, no message in the system logs, but no uninstaller appears into the add/remove control panel. And the Wacom control panel fails with a miserable "No driver found" message.

And eventually, a lightning strikes me, some months ago, I set the Wacom NT service to Manual...(Cyberpunk, 2003/06/04 10:42) lien permanent

Time to format... soon...

I can't synchronize anymore my PDA via infrared, PInstall fails miserably whatever the connection, Outlook takes ages to start and refresh... It's time to do a clean install of Window$.(Cyberpunk, 2003/06/04 10:41) lien permanent

Cleaning windows...

1.64GB

That's the place taken by c:\windows. Add to this "Documents and settings" (I've removed "My Documents" from it), and "Program Files\Common Files", and "Program Files\Accessories", and "Program Files\Internet Explorer", and you will have the true size of the so called operating system.

Some people will say "it's because the silly programmers are polluting the Windows\System32 directory". The silly programmers put files where Micro$oft Best Practices advise them to put.

So I end up with a dilemma: to format or not to format? Whether it is nobler... I don't fear reinstalling Windows, since the 3.1 area, I guess I count maybe 100 installations. The problem are:

  • Micro$oft Office: it's the corporate edition, and I've a master image for windows 98, thus I need the Office CD in order to make Outlook and some other parts to work under windows 2000.
  • Reinstall all the other programs: I can't just export my registry and reimport it, because there is a too big risk that I break something. I would have done it if "regclean" was still supported by Micro$oft, but they say that it will break any M$ Office 2000 install. So I'm stuck.
  • Windows updates: after SP3, I must manually choose the fixs, because some are buggy and prevent me from using some peripherals.

Not format means living with this unmanageable system, its 3000 dll, and the fear to break something if I ever dare to manually clean it up.(Cyberpunk, 2003/06/04 10:41) lien permanent

Counter-productivity has a name

Microsoft Word 2002

  • not reproducible behaviour
  • ugly styles management
  • unlimited hability to automatically destroy a layout
  • obstrusive interface

Why upgrade? Because you're forced to!(Cyberpunk, 2003/06/04 10:40) lien permanent


qui est

nom : Damien Bonvillain
courriel : kame à cinemasie.com
bloggercode:
B9 D+ T+ K S F I- O X+ E- L- C-- Y1 R+ W- P+ M5 N-- N+
un peu plus : Google Whoring tortue

Messagerie instantanée

    les koms

    m'enfin

    Quant à mes invectives imaginaires, je vous laisse chercher un endroit adéquat pour les ranger. Elles craignent la lumière, si vous voulez une piste.
    Lien associé
    Eolas - « Aimez moi, c'est un ordre. »

    les bons vieux


    archives

    « juin 2003 »
    lunmarmerjeuvensamdim
    1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30

    XML RSS 2.0 XML RSS 2.0 commentaires A A A i

    liens

    allégeance

    Blog sans chat

    colophon

    Propulsé par pointClairMerci à la caféineDevelopment with EmacsBadges from GTMcKnightFreeListed on BlogSharesGeoURL