Windows 7 – Ritorno nel Castle

La gestione di Vista è stata estremamente tormentata e molte cose sono apparse e poi scomparse nell’alternarsi delle release.

Una di quelle che ricordo maggiormente mi colpi fu la modalità di security Castle, vi riporto qui (in inglese) quanto riportato nel Privacy Statement delle pre-release di Windows Vista:

Castle

What This Feature Does:
The “castle” feature allows users to have the networking functionality of the domain, including roaming the user’s profile, machine trust and having a consistent user identity throughout the network. The main difference with Castle is that users do not have to setup a dedicated machine, such as a domain controller, to maintain the trust and identity relationship. It also makes it easy to share and access files on those computers. Each computer on the same subnet can discover and join an existing castle. Or, the user can create a Castle. To join an existing castle, you must know the login credentials of an administrator account already part of the castle. Only non-blank passwords can grant access. This helps ensure only authorized computers join the castle (use of strong passwords for administrator accounts is highly recommended). When a computer joins a castle, the accounts on that computer will be added to the list of accounts accessible from any computer in the castle. User specific data (e.g. their password, access rights, and preferences) will be replicated on each computer in the castle and kept in sync. In addition, the newly joined computer will inherit and respect all policies from the Castle.

Information Collected, Processed, or Transmitted:
To help standalone computers find the available castles on the subnet, the machines in the Castle send a broadcast a beacon containing the Castle’s name. Be aware that if you share a subnet with other people (e.g. your neighbor when using a cable modem without a hardware router/firewall) they may be able to see the name of your castles. In this case only choose castle names you are comfortable sharing with others. When joining a castle, the credentials you enter will be sent using security technology (NTLM) to other computers in the castle.

Use of the Information:
Broadcasting the name of each castle makes it easy to discover what castles are available on the subnet. When joining a castle, the credentials help ensure only authorized computers join the castle.

Choice/Control:
The user must initiate joining a castle using the user interface provided. Whether the user’s computer is able to join a castle depends on whether an administrator of a computer already part of the castle has provided the user with the appropriate credentials. When a castle is formed, a beacon containing the castle name will be broadcast. In this release there is no easy way to disable the beacon. A mechanism to disable the beacon will be added in a future release.

Important Information:
The Internet Connection Firewall (ICF) is enabled by default in this software. Therefore, if you create a Castle, it will send out the beacon, but because ICF is enabled, other computers running this software that have the firewall enabled won’t see the beacon.

Sostanzialmente si tratta di una modalità peer-to-peer simile al Workgroup che molti di voi ben conoscono con la differenza che i profili utente e le policy vengono replicate in ciascun membro del Castello.

Col numero di computer costantemente in aumento all’interno delle nostre case la possibiltà di poter portare il proprio account con se unitamente ad un minimo di amministrazione centralizzata è sicuramente una feature che migliora la sicurezza delle reti casalinghe ed offre una esperieza di utilizzo consistente.

Probabilmente il motivo principale per cui tale modalità è stata eliminata da Vista non risiede tanto nella problematica tecnologica, già ampiamente implementate e testata sulle piattaforme server con ben altri numeri, ma nel cogliere l’oppurtinità di business quando tutti i pezzi erano in campo.

Ora che Windows Home Server è stato introdotto sul mercato, che prodotti come One Care inizino ad utilizzare policy di sicurezza comune a tutti i PC controllati non è difficile pensare che gli utenti siano pronti al concetto di Castle. Speriamo che non venga accantonato anche questa volta.

del.icio.us tags: , , ,

La ricorsa ad iPhone è iniziata

Oggi ho avuto modo di giocare un po con l’iPhone del mio collega. Grazie ad un collegamento Wireless ho provato quella che, a mio giudizio, è la più grande innovazione di quell’oggetto: il suo fantastico browser Safari.

In effetti vi debbo confermare che l’iPhone è un oggetto dannatamente veloce, facile da usare (persino la tastiera softtouch è fantastica) e, grazie al suo browser, è finalmente possibile navigare comodamente con un oggetto così piccolo.

Certo il mondo PocketPC non sta a guardare e oltre DeepFish, di cui non ho più notizie, anche Opera 9.5 rappresenta un decisivo passo in avanti nei browser su palmari.

Guardatevi questo video:


Opera Mobile 9.5
by operasoftware

del.icio.us tags: , , , ,

Prima apparizione di Windows 7

In questo video potete vedere i primi vagiti del prossimo sistema operativo di Microsoft.  Ovviamente, salvo qualche piccola novità già visibile, la build ha più l’obbiettivo di verificare i cambiamenti interni che quelli estetici.

Il video non è nuovissimo ma ho aspettato qualche conferma visto che è molto facile fare un finto nuovo sistema operativo….. Pare sia autentico.

del.icio.us tags: , , ,

Il customer service dei miei sogni

Alle prese con diversi servizi clienti di alcuni famosi operatori di telefonia e ADSL del nostro stivale, veramente mi stupisce riportarvi la notizia che Mondozune.com ha in home page.

Il customer service contatta le persone, le avvisa che esiste una possibilità che il regalo di S.Valentino non arrivi in tempo e gli rimborsa l’intera somma senza chiedergli indietro il device.

Insomma è come se Infostrada, invece di prendermi in giro con mail in template mandate da qualche sistema automatico, mi mandasse qualche tecnico a casa e nel frattempo sospendesse il pagamento dell’abbonamento per un servizio che non mi sta dando.

Robba dell’altro mondo! L’America.

del.icio.us tags: , , ,

Write once debug everywhere (..if you can)

Non sono stato mai un sostenitore di questo ambiente di sviluppo se non per quanto riguarda i concetti di base e l’eleganza del linguaggio.
I concetti di Java, come linguaggio di programmazione ed ambiente di esecuzione in-Sandbox, sono talmente potenti da aver segnato per sempre l’informatica spingendo la tecnologia verso una direzione che ne ha aiutato la rapida espansione.

Purtroppo, una cosa sono i concetti e i linguaggi, un’altra è il business e, più in generale, la capacità di realizzare fattivamente certe cose. In questo Sun ha fallito miseramente generando lei per prima una confusione ed una incertezza che hanno minato alla base il suo gioiello.

Ora che, in virtù dei soliti esperti da brochure pubblicitaria, per alcune cose abbiamo scelto di utilizzare questa tecnologia unitamente a Oracle e BEA ci troviamo nel peggiore dei mondi possibili di questo variegato universo: il versioning hell.

Avendo vissuto, nel mondo Windows, il famoso DLL Hell non pensavo di doverci ricadere dopo aver tanto penato in quell’incubo. Invece….

Sun e compari hanno pensato bene di moltiplicare i flavor di Java (J2EE, J2SE, Java Beans e compagnia cantante..) e se questo non bastasse il versioning è da panico. Alcune cose fatte in 1.4 non vanno in in 1.4.05 oppure in 1.4.11 e il JDK è versionato in maniera non allineata con la JVM che ha al suo interno.

In più BEA ha la sua versione speciale della JVM, JRockit, che segue un versioning tutto suo a ruota dei rilasci di SUN ma non completamente allineati e causa dei problemi con le librerie: in una parola INCUBO.

Sono un pò di giorni che abbiamo un misterioso problema su una conversione di tipo LONG nel driver di Oracle che si presenta, almeno in maniera riconducibile ad un problema unico, solo nell’ambiente di produzione.

L’errore è questo:

java.sql.SQLException: ORA-01461: si può eseguire associazione di valore LONG solo per inserirlo in una colonna LONG
	at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
	at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
	at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:744)
	at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:215)	        at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:954)	at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1169)at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3338)	at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3444)	        at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:104)
	at it.code.dao.ChildDAO.processNotUniqueChild(ChildDAO.java:278)
	at it.code.dao.ChildDAO.serialize(ChildDAO.java:183)
	at it.code.model.Child.serialize(Child.java:75)
	at it.code.engine.Feeder.createParentsFS(Feeder.java:1358)
	at it.code.engine.Feeder.run(Feeder.java:278)

Sebbene l’argomento sia stato già a lungo dibattuto e indirizzato mi sono trovato a cambiare il driver Oracle seguendo la tabellina seguente:

Oracle Database 10g Release 2 (10.2.0.3) JDBC Drivers

JDBC Thin for All Platforms

  • classes12.jar (1,600,090 bytes) – for use with JDK 1.2 and JDK 1.3
  • classes12_g.jar (2,044,594 bytes) – same as classes12.jar, except that classes were compiled with “javac -g” and contain some tracing information.
  • classes12dms.jar (1,607,745 bytes) – same as classes12.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
  • classes12dms_g.jar (2,052,968 bytes) – same as classes12dms.jar except that classes were compiled with “javac -g” and contain some tracing information.
  • ojdbc14.jar (1,545,954 bytes) – classes for use with JDK 1.4 and 1.5
  • ojdbc14_g.jar (1,938,906 bytes) – same as ojdbc14.jar, except that classes were compiled with “javac -g” and contain some tracing information.
  • ojdbc14dms.jar (1,553,561 bytes) – same as ojdbc14.jar, except that it contains additional code`to support Oracle Dynamic Monitoring Service.
  • ojdbc14dms_g.jar (1,947,136 bytes) – same as ojdbc14dms.jar, except that classes were compiled with “javac -g” and contain some tracing information.
  • orai18n.jar (1,645,114 bytes) – NLS classes for use with JDK 1.2, 1.3, 1.4, and 1.5. This jar file replaces the old nls_charset jar/zip files.
  • ons.jar (48,492 bytes) – for use by the pure Java client-side Oracle Notification Services (ONS) deamon.
  • demo.tar (604,160 bytes) or demo.zip (529,267 bytes) – contains sample JDBC programs.

Sarà sicuramente per mancanza di esperienza ma questo mi sembra veramente confuso e non aiuta la soluzione del problema.
Infatti il driver non è il problema e l’assenza di un debugger serio costringe ad andare per esclusione allungando drammaticamente i tempi di risoluzione.

.Net certo non è perfetto ma ha affrontato, e risolto, tutti i problemi che stanno uccidendo Java.

L’ironia vuole che, il motto che avrebbe dovuto fare di Java un grande linguaggio di programmazione oltre che di runtime (Write once, run everywhere), è stato modificato e scimmiottato in modo quanto mai efficace dai suoi avversari (write once, debug everywhere).

del.icio.us tags: , , , ,

Xbox 360 Portatile

Su Mondoxbox.com ho trovato questa notizia e il video riportato qui di seguito. Magari sarà un fake (non sarebbe strano che avesse attaccato lo schermo ad una Xbox 360 messa chissà dove) ma in caso positivo sarebbe un ottimo scalda vivande.

Peccato che dovremmo sempre portarci dietro la trappola acchiappa fantasmi (ehm, l’alimentatore della 360..) altrimenti sarebbe veramente fico

del.icio.us tags: , , ,