martedì, gennaio 24, 2006
Sriram Krishnan : Lisp is sin
Sriram Krishnan : Lisp is sin: Un giro sul blog di Don Box, che ha un'interessante anticipazione musicale su Windows, mi ha portato di nuovo dalle parti del LISP.
"Over the last few days, there has been one thought running in my head - 'All roads lead to Lisp'. I've tried to get it out of my head but like a tune from the radio, it has firmly lodged itself into my head and refuses to let go. Why this state? Call it a confluence of several items. In particular, these 3."
Tutte le strade portano al LISP? Vero, in qualche modo non c'è discussione o mezza idea che non finisca almeno per sfiorare quel quartiere.
Proprio oggi se ne parlava, a proposito di un sistema piuttosto vecchio e del modo di rinnovarlo, trasformandolo in una collezione di macro LISP.
Il LISP è stato anche uno dei primi linguaggi a venire in mente parlando di bambini e di insegnamento dei linguaggi.
Per gli scopi più lavorativi, invece, mi pare molto interessante lo sviluppo su ML che è in corso in Microsoft con F#.
In fin dei conti, le leggi sono scritte in un linguaggio funzionale, tradurre i requisiti in un linguaggio imperativo è spesso la maggior parte della fatica. Si può risparmiare del tempo.
domenica, gennaio 22, 2006
Concerto a Le Pecore 20 gennaio 2006
Eccoci dopo il concerto, stanchi ma soddisfatti. Anche il pubblico ha mostrato di gradire.
Tutti i dettagli (e le registrazioni) in cronaca.
Il pubblico ha ballato e ha mostrato di gradire, come si dovrebbe sentire dalle registrazioni.
Anche i nostri amici del locale ci hanno fatto qualche complimento.
domenica, gennaio 15, 2006
Teaching my kids to program
Teaching my kids to program
Anche Don Box, uno degli architetti del COM di Microsoft e uno dei firmatari delle specifiche di SOAP, si domanda come fare a insegnare ai bambini il giocattolo più flessibile di tutti.
Con un po' di sfondi scannerizzati, qualche disegno da animare e la fantasia dei bambini si potrebbero fare tantissime storie, ma che linguaggio scegliere?
Curiosamente, anche Don Box fa una lista che sembra un clone della mia: Lisp, ML, Smalltalk. Niente C o Java per carità. Alla fine la scelta sembra essere Ruby. Non saprei.
Forse FSharp è la scelta giusta: linguaggio minoritario, ma ben radicato in .NET.
giovedì, gennaio 12, 2006
Stripes - Home
Stripes - Home: "Stripes is a presentation framework for building web applications using the latest Java technologies. The main driver behind Stripes is that web application development in Java is just too much work! It seems like every existing framework requires gobs of configuration. Struts is pretty feature-light and has some serious architectural issues. Others, like WebWork 2 and Spring-MVC are much better, but still require a lot of configuration, and seem to require you to learn a whole new language just to get started."
Se metà degli obiettivi di progetto di Stripes sono raggiunti, si tratta di uno dei framework che tutti abbiamo desiderato usare per sviluppare qualcosa.
Da provare, appena c'è un momento libero :-)
domenica, gennaio 08, 2006
Google Pack
Annunciato da una voce del Google blog arriva il Google Pack. Di che si tratta? Di un pacchetto di tutte quelle cose che siamo abituati a considerare accessori necessari del PC, che per qualche ragione non sono lì quando compriamo una macchina. Insomma, un'alternativa al solito giro di cerca, scarica e lancia il wizard che accompagna un nuovo acquisto.
So you bought a new PC for yourself or a relative during the holidays. There was the initial excitement about its speed and the nice screen ? and then it came time to actually get it running. Which meant embarking on some real work -? downloading a browser, a couple of multimedia players, a PDF reader, a toolbar, and maybe something for voice and instant messaging. Don?t forget the anti-spyware and anti-virus apps ? you?ve got to have those. Hours, maybe even days, go by. How many wizards have you clicked through, not to mention license agreements and preference pickers? And then you have to ask: did I get everything? And how am I going to keep all of this up to date?
martedì, gennaio 03, 2006
Open Source Web Design - Download and upload free web designs.
Open Source Web Design - Download and upload free web designs.: "Open Source Web Design is a place to download free web designs and share yours with others.
We help make the internet a prettier place."
Serve un design HTML con accompagnamento di CSS ben ragionati? Pronto. Tutto open source.
mercoledì, dicembre 28, 2005
Envisioning a New Language: A Conversation With Sun Microsystems' Victoria Livschitz
Envisioning a New Language: A Conversation With Sun Microsystems' Victoria Livschitz: Ecco il seguito dell'intervista della Livschitz sul futuro dei linguaggi di programmazione.
"Consider a typical web service-based application running in a datacenter of a Fortune 500 company. When a failure occurs at runtime, is it the web service, the application server, the cluster, the service provisioning software, the monitoring tool, or the operating system that must react to the situation?"
The Next Move in Programming: A Conversation with Sun's Victoria Livschitz
The Next Move in Programming: A Conversation with Sun's Victoria Livschitz: "When I first became a developer on large, real-world projects at Ford as part of an elite development group, I was shocked by the deficiencies of the software engineering process at-large, and this subject has fascinated me ever since. It is widely known that few significant development projects, if any, finish successfully, on time, and within budget. At best, it takes at least one full release cycle to work out the major bugs. Many projects die quietly in development, crumbled by costs, changing requirements, lack of communication between the various teams involved, and who knows what else."
Un nuovo linguaggio di programmazione con nuove metafore, anzi chiamato metafore? Interessante. Indubbiamente Victoria Livschitz ha le carte in regola per parlare.
Chissà se una rivoluzione può arrivare da chi ne ha già fatta un'altra con il linguaggio object oriented di maggiore sucesso degli ultimi anni. Sto parlando di Sun e di Java.
Comunque sia, ci sono fermenti diffusi e diversi sentori di insoddisfazione con i linguaggi di oggi.
Che il futuro sia funzionale o object oriented è difficile da dire, ma sicuramente è massicciamente parallelo e basato su entità autonome che interagiscono.
martedì, dicembre 20, 2005
Migrating from x86 to PowerPC, Part 2: Anatomy of the Linux boot process
Migrating from x86 to PowerPC, Part 2: Anatomy of the Linux boot process: "This article describes the most common traits of embedded Linux? distributions that people employ on x86 hardware and contrasts some of the different options frequently seen on non-x86 embedded systems."
Il meccanismo di boot di un sistema operativo è molto interessante, anche se è un argomento molto esoterico.
Questo articolo lo spiega in modo abbastanza chiaro e per di più mostra anche il caso di sistemi embedded, che partono da ROM e sistemi Linux con processore non Intel e architettura diversa dal PC.
Interessante.
martedì, dicembre 13, 2005
URIResolver howto
[xsl] URIResolver howto: Si dice che dentro ogni problema c'è un problema più grande che aspetta di uscire.
Verissimo. Per esempio se uno stylesheet XSL è troppo grande conviene partizionarlo in sezioni e usare include o import.
In questo modo si ottiene di poter realizzare anche uno schema di test unitari per le varie sezioni.
Risolto un problema se ne presenta un altro.
Per fare funzionare le input, occorre realizzare una classe che faccia le veci della directory di lavoro nella trasformazione da riga di comando.
"When you need control over xsl:include/import or the document(), you need to use an URIResolver - you cannot do it in your stylesheet. This is very useful when you have a 'primary' XSL[1] and it includes, imports or uses document() to bring in other XML/XSL files/streams from two or more different points of control."
sabato, dicembre 10, 2005
Scaffali Ikea
Ecco una simpatica pubblicità per gli scaffali Lak. Edoardo si è arrampicato sul letto a castello (sempre Ikea, per carità) e si è avventurato sullo scaffale di fianco prima che Guido e Chiara iniziassero a intuire che era ora di chiamare mamma e papà a vedere.
Fortuna che sotto allo scaffale c'è il lettino di Edoardo, quindi un'eventuale caduta non sarebbe stata più di uno spavento.
venerdì, dicembre 09, 2005
Riapre il proxy bar
Dopo lunghe peripezie burocratiche fra due fornitori di connettività rieccolo. Il proxybar riapre in una sala macchine diversa, più a portata di mano.
Ci sono ancora dei quirk, ma saranno risolti e arriveranno delle novità: un wiki e qualche ritocco all'impaginazione.
lunedì, novembre 07, 2005
The Code Project - Free Source Code and Tutorials
The Code Project - Free Source Code and Tutorials: Se bisogna realizzare una shell extension meglio non iniziare prima di avere letto questi tutorial.
C'è anche una traduzione italiana.
Naturalmente non trascuriamo la documentazione Microsoft.
mercoledì, ottobre 05, 2005
DIV vuoti, bah!
Div vuoti, come ad esempio <div> causano problemi infiniti. In Mozilla schiacciando Ctrl-shift-I ho osservato un modello del documento totalmente sbagliato: l'elemento <div/>
era interpretato come <div>, quindi il resto del documento era contenuto nella div sbagliata, con problemi di posizionamento a dir poco assurdi.
venerdì, settembre 23, 2005
ONJava.com: ONJava 2005 Reader Survey Results, Part 1
ONJava.com: ONJava 2005 Reader Survey Results, Part 1: Chi sono gli sviluppatori Java? Il questionario annuale di onjava.com, un sito O'Reilly, mostra risultati interessanti.
Fra le cose notevoli, un predominio assoluto di Eclipse (76%), un ruolo minoritario per NetBeans (22%) e un ruolo di nicchia per gli ambienti commerciali, come JBuilder e IntelliJ.
Per quanto riguarda il piano acquisti, nessuno ha intenzione di comprare qualcosa quest'anno e ricorrere piuttosto all'open source.
"The feedback to this year's ONJava survey was tremendous. We received 988 responses in just 12 days--well ahead of last year's response. It's great to see that so many people are so interested in Java and how we cover it on the site."
giovedì, settembre 22, 2005
Scott Wiltamuth's C# blog : Kids Programming Language (KPL)
Scott Wiltamuth's C# blog : Kids Programming Language (KPL):
Un linguaggio pensato per i bambini? Interessante.
KPL è basato su .net e può creare codice C# o VB dal sorgente KPL.
Le demo dovrebbero essere divertenti e giocabili.
"Today I had a chance to meet with several people who are working on Kids Programming Language (KPL). KPL is a freely downloadable development environment and immersive runtime for helping kids learn to program. If you have kids who are at the 'learning to program' age, which seems to get lower and lower every year, check out this tool. The demo was very cool! The KPL overview has a quick description and some screenshots.
KPL is based on .NET, and includes its own immersive runtime for doing things like using sprites and collision detection. The tool can generate C# or VB code from the KPL code, which enables kids to learn in KPL and graduate to VB or C#."
mercoledì, settembre 21, 2005
Measuring Element Dimension and Location (Internet Explorer - DHTML)
Measuring Element Dimension and Location (Internet Explorer - DHTML): "The following section is designed to help Web authors understand how to access the dimension and location of elements on the page through the Dynamic HTML (DHTML) Object Model."
Una spiegazione del posizionamento delle DIV utile per chi tenta di formattare le pagine con i CSS, come vogliono i guru del W3C.
venerdì, settembre 16, 2005
ONJava.com: What Is a Portlet
ONJava.com: What Is a Portlet: "'Portlets are web components--like servlets--specifically designed to be aggregated in the context of a composite page. Usually, many portlets are invoked to in the single request of a portal page. Each portlet produces a fragment of markup that is combined with the markup of other portlets, all within the portal page markup.' (from the Portlet Specification, JSR 168)"
Le portlet sono interessanti perché sono un modo di realizzare una pagina web per componenti, ma il framework necessario per realizzare portlet potrebbe introdurre limitazioni e vincoli tali da complicare qualche parte del compito mentre ne semplifica altre.
Questo articolo sembra un buon punto di partenza per iniziare a studiare.
martedì, settembre 13, 2005
Guide to Using XMLHttpRequest (with Baby Steps) from WebPasties
Guide to Using XMLHttpRequest (with Baby Steps) from WebPasties: "The XMLHttpRequest object is a handy dandy JavaScript object that offers a convenient way for webpages to get information from servers without refreshing themselves."
Un tutorial eccellente sull'uso di un oggetto estremamente critico per realizzare applicazioni dinamiche, che mosra tutti i lati del discorso, soprattutto il modo (corretto) di fare interrogazioni asincrone.
XML.com: Remote Scripting with AJAX, Part 1
XML.com: Remote Scripting with AJAX, Part 1: "This two-part series of articles covers remote scripting using the AJAX XMLHttpRequest protocol. Part one walks through an example application that demonstrates how to implement the protocol, while part two will show how to create a usable interface."
Si fa un gran parlare di Ajax, un nuovo nome per definire tecniche usate da tempo, in realtà è meglio andare a leggere la definizione originale per cogliere l'accento sui quattro fondamenti della tecnologia, in particolare il supporto per gli standard e l'interazione asincrona col server.
Meglio studiare bene, quindi, per non rischiare di fare applicazioni Sjap (Synchronous Javascript and Proprietary formats). Applicazioni lente, che fanno dialogo inutile col server, impiegano parecchio tempo a comporre la pagina iniziale e non si basano su standard.
Iscriviti a:
Post (Atom)