A A A i

dimanche 11 janvier 2004dimanche 11 janvier 2004

For the Internet Explorer impaired...

and especially those who set their font size to smallest :-) You've now the possibility to select another style sheet with a bigger font size. The choice is saved in a cookie, so you won't need to make this choice every time you come back (even if the biggest probability is that you'll never come back, but that's another matter): this is thanks to A List Apart script. Three icons have been added beside the XML badge below the calendar: default stylesheet, stylesheet with bigger font size and no stylesheet. The i-Mode icon has been moved beside them in order to avoid cluttering too much the calendar block like it did before, but this icon is a little bit little, I'll perhaps make one in the future.(Cyberpunk, 2004/01/11 18:31) lien permanent


vendredi  9 janvier 2004vendredi 9 janvier 2004

Nostalgie

Aujourd'hui au cours d'une conversation avec un collègue, nous nous demandions quelle était la qualité de notre code Java à nos débuts. Par chance (?), il se trouve que j'avais sur mon disque dur les sources de mon premier programme en Java, c'était il y a 5 ans... Le code n'est clairement pas superbe, mais ce qui m'affole c'est que la complexité de ce que je fais aujourd'hui (essentiellement des applications web pour des entreprises) me paraît dérisoire comparé à ce qu'il y a dans ce petit GUI. Toute la difficulté à l'heure actuelle repose réellement sur l'utilisation de produits mal finis, buggués et mal documentés : c'est un coup à déprimer.[Ecoute en cours: Te Souviens-Tu - Mano Solo - (3:08)](Cyberpunk, 2004/01/09 19:46) lien permanent

Commentaires ici et ailleurs :

En tout cas, sympa pour une premiere application Java.

Perso, ce fut un moteur 3D...


http://jyperion.com/java/3d_1 et http://jyperion.com/java/3d_2



Thierry

http://janaudy.com/

Posté par Thierry Janaudy, le dimanche 11 janvier 2004 à 13:33 #

Il aurait fallu fusionner les deux pour faire la visualisation de l'atelier en 3D :-)

Posté par Damien, le dimanche 11 janvier 2004 à 15:51 #


jeudi  8 janvier 2004jeudi 8 janvier 2004

Gathering information from ColdFusion stack trace

Today, a ColdFusion stack trace, on ".NET Developer's Journal". Compared to JSP, there's not much of an improvement, since ColdFusion is unable to track the line where the error happened. But at least it details some useful information with a specialized error-handler (SQL error in that case). I put below a copy of the page, in case of the source error is corrected. Of course, such information should never be displayed to the customer on a production site.

Another interesting thing is the approach taken by ColdFusion : pipelining with filters. We see in the stack trace the following steps: DataSource, Globals, Browser, ClientScopePersistence, Exception, Path, RequestMonitor, Application, Include. Some people may think "overkill", and some days I may be one of those. Right now I think "clean, very procedural but clean". After all, building websites with Java following the SUN way has never been object-oriented, so why not. And in fact, whereas some people see in a so called Model 2X an evolution which would be good to integrate in JSP engines, I can't help thinking it fits nicely with the kludgy evolution JSP has always had since its birth. J2EE 1.3 Filters are of course from a least advanced engineering, but they are predictable, which is something very important while debugging. [Ecoute en cours: Eye to eye with you - Nancy Danino - Xavier Jamaux - (4:05)]

Error Occurred While Processing Request

Error Executing Database Query.

General error: Table 'content.dotnetspecial' doesn't exist
 
The error occurred in E:\Inetpub\wwwroot\dotnet\readmessage.cfm: line 1
-1 : Unable to display error's location in a CFML template.

SQL    select * FROM dotnetspecial order by id desc
DATASOURCE   content
VENDORERRORCODE   1146
SQLSTATE   S1000
Please try the following:

Browser   Mozilla/5.0 (Windows; U; Windows NT 5.0; fr-FR; rv:1.5) Gecko/20031007
Remote Address   xxx.xxx.xxx.xxx
Referrer   http://sys-con.com/dotnet/articleprint.cfm?id=356
Date/Time   08-Jan-04 06:18 PM
Stack Trace
at cfreadmessage2ecfm205899276.runPage(E:\Inetpub\wwwroot\dotnet\readmessage.cfm:1) at cfreadmessage2ecfm205899276.runPage(E:\Inetpub\wwwroot\dotnet\readmessage.cfm:1)

java.sql.SQLException: General error: Table 'content.dotnetspecial' doesn't exist
	at org.gjt.mm.mysql.MysqlIO.sendCommand(Unknown Source)
	at org.gjt.mm.mysql.MysqlIO.sqlQueryDirect(Unknown Source)
	at org.gjt.mm.mysql.MysqlIO.sqlQuery(Unknown Source)
	at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
	at org.gjt.mm.mysql.Connection.execSQL(Unknown Source)
	at org.gjt.mm.mysql.Statement.execute(Unknown Source)
	at org.gjt.mm.mysql.jdbc2.Statement.execute(Unknown Source)
	at coldfusion.server.j2ee.sql.JRunStatement.execute(JRunStatement.java:212)
	at coldfusion.sql.Executive.executeQuery(Executive.java:974)
	at coldfusion.sql.Executive.executeQuery(Executive.java:886)
	at coldfusion.sql.SqlImpl.execute(SqlImpl.java:229)
	at coldfusion.tagext.sql.QueryTag.setupCachedQuery(QueryTag.java:603)
	at coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.java:443)
	at cfreadmessage2ecfm205899276.runPage(E:\Inetpub\wwwroot\dotnet\readmessage.cfm:1)
	at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:147)
	at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:357)
	at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:62)
	at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:107)
	at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)
	at coldfusion.filter.PathFilter.invoke(PathFilter.java:80)
	at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:47)
	at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
	at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:35)
	at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:43)
	at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
	at coldfusion.CfmServlet.service(CfmServlet.java:105)
	at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)
	at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
	at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:252)
	at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:527)
	at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:192)
	at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:348)
	at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:451)
	at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:294)
	at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

(Cyberpunk, 2004/01/08 18:17) lien permanent

Commentaires ici et ailleurs :

Two things: in IE, oh god - your blog is IMPOSSIBLE to read with it set to "small text."
Secondly, you're being unfair to poor JSP - *my* JSP container of choice is very much able to describe line numbers.

Posté par Anonymous, le vendredi 9 janvier 2004 à 06:14 #

First point: yes, I should check my blog on IE sometime. But regarding the font size, it should be the "right" size with the IE default, I like small text...
Second point: what is your JSP container of choice? The problem in my daily work is that I don't choose the one I work with :-)

Posté par Damien, le vendredi 9 janvier 2004 à 07:18 #


mardi  6 janvier 2004mardi 6 janvier 2004

Sony fait confiance à SAP

Dans la série les sites web Sony plante. Celle-là est très sympatique.

  1. Aller à l'adresse suivante : http://shop.sonystyle-europe.com/SonyStyle/b2c/forwardToAction.do
  2. cliquer sur "Start application"
  3. aller de nouveau à l'adresse en (1) en la collant dans la barre d'adresse par exemple
  4. Bingo !
     A runtime error occurred    java.lang.RuntimeException: The requested forward success was not defined in the action com.sapmarkets.isa.isacore.action.GetForwardAction
Contact the administrator
Please click here to return to our European Homepage.

Le code source HTML de l'erreur est légèrement différent de celui de l'autre jour, on suppose qu'on ne passe pas exactement par le même chemin. Cette erreur peut-être reproduite de façon plus naturelle en naviguant sur les sites Sony qui sont tous intercroisés (en allant de la boutique à la description d'un produit par exemple et en suivant le lien vers la boutique Sony à partir de là par exemple). Au passage on voit que la boutique, 100% pur frames est réalisée avec SAP MarketPlace, qui est apparemment basé pour partie sur Struts. Ce qui est étrange c'est que Marketplace a l'air d'être plus dirigé vers le B2B que le B2C, mauvaise utilisation donc ? Enfin bref, un site qui plante sur une simple navigation, c'est assez navrant, et ceci n'est malheureusement que le prémisse de ce que vont nous apporter JSF et Struts : tout ce qui est sur le web doit être une application. Une porte ouverte à toutes les petites erreurs qu'on vient de voir.(Cyberpunk, 2004/01/06 11:21) lien permanent


dimanche  4 janvier 2004dimanche 4 janvier 2004

Sony utilise Struts

Et avec quel brio ! Visiblement le site s'est emmêlé les pinceaux avec un cookie quelconque... résultat, sur http://shop.sonystyle-europe.com/SonyStyle/b2c/forwardToAction.do :

 
   A runtime error occurred  
 java.lang.RuntimeException: The requested forward shopexist was not defined in the action com.sony.isa.isacore.action.Z_CaptureShopReadAction

Contact the administrator
Please click here to return to our European Homepage.

Le formatage ici est incomplet, vu qu'il manque la CSS. Un grand bravo pour avoir travaillé leur page d'erreur dans un esprit "customer friendly"...[Ecoute en cours: Dahlia - X Japan - (8:01)](Cyberpunk, 2004/01/04 18:09) 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

    « janvier 2004 »
    lunmarmerjeuvensamdim
    1234
    567891011
    12131415161718
    19202122232425
    262728293031

    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