<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6690437686504731086</id><updated>2011-12-16T18:23:35.603+01:00</updated><category term='install'/><category term='visual'/><category term='calendar'/><category term='usenet'/><category term='javascript'/><category term='package'/><category term='center'/><category term='javascript ternary operator multiple statements commands'/><category term='categorie'/><category term='iframe'/><category term='load'/><category term='tag'/><category term='gadget'/><category term='xmldb'/><category term='method'/><category term='nuova'/><category term='forum'/><category term='chrome'/><category term='dorazio'/><category term='mingw'/><category term='romano'/><category term='css'/><category term='cms'/><category term='cartelle'/><category term='iPod'/><category term='script'/><category term='bicker'/><category term='xhtml'/><category term='feste'/><category term='calendario'/><category term='flatnux2'/><category term='centering'/><category term='linux'/><category term='packages'/><category term='laparola'/><category term='sapienza'/><category term='festività'/><category term='php'/><category term='ajax'/><category term='msys'/><category term='uselessnet'/><category term='ical'/><category term='blog'/><category term='flatnux'/><category term='page'/><category term='liturgico'/><category term='costs'/><category term='formato'/><category term='iPhone'/><category term='javascript operatore ternario molteplici istruzioni'/><category term='umanesimo'/><category term='elettronico'/><category term='microsoft'/><category term='john'/><category term='organizzare'/><category term='versione'/><category term='ubuntu'/><category term='studio'/><category term='synaptic'/><category term='compiler'/><category term='jailbreak'/><category term='google'/><title type='text'>Sal et Humus, un pizzico e una manciata</title><subtitle type='html'>Sapore e umanità: pensieri vari, dalla tecnologia alla filosofia alla teologia e quant'altro</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-4268397287044238081</id><published>2011-12-16T18:17:00.002+01:00</published><updated>2011-12-16T18:23:35.608+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='synaptic'/><category scheme='http://www.blogger.com/atom/ns#' term='package'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='chrome'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Install Google Chrome on Ubuntu</title><content type='html'>Installing the Google Chrome browser on a Ubuntu linux OS is not exactly straightforward, simply because not all of the required dependencies are met. So here is a good way to get it done (I'm using Ubuntu 11.10 Oneiric Ocelot Server x64 with desktop installed):&lt;br /&gt;&lt;br /&gt;1. Download the correct version for your system from &lt;a href="https://www.google.com/chrome/"&gt;https://www.google.com/chrome/&lt;/a&gt;&lt;br /&gt;2. Using synaptic to install it won't work, so press CTRL+ALT+T to open up a terminal. Navigate to your downloads folder (usually something like "cd Downloads", or if you're not in your home folder "cd&amp;nbsp; ~/Downloads".&lt;br /&gt;3. Install using: "sudo dpkg -i name_of_the_package.deb" and press ENTER. The package is usually named along the lines of "google-chrome-stable-current....deb". You could just type the first few letters like "goog" then press TAB, and terminal will complete the name for you. If it doesn't find a correspondence, then type "ls" and press ENTER to see the downloaded files in the folder. After you give the "sudo dpkg" command, you will be prompted for your password, type it in and press ENTER.&lt;br /&gt;4. The installation won't complete because of the missing dependencies. So now you just do "sudo apt-get -f install", and the missing dependencies will be automatically installed for you and probably the google chrome package will complete installation too. There you go!&lt;br /&gt;Now just type in "exit" and press ENTER to go back to your desktop. &lt;br /&gt;&lt;br /&gt;In a nutshell, after you've downloaded your file, open a command line with CTRL+ALT+T, and:&lt;br /&gt;&lt;br /&gt;----------------------------------------&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;username@ubuntu:~$ cd Downloads&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;username@ubuntu:~/Downloads$&amp;nbsp; sudo dpkg -i google-chrome-stable-current_amd64.deb&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;username@ubuntu:~/Downloads$&amp;nbsp; sudo apt-get -f install&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; &lt;/span&gt;&lt;span style="font-family: inherit;"&gt;---------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: inherit;"&gt;and that should be it!&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-4268397287044238081?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/4268397287044238081/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/12/install-google-chrome-on-ubuntu.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/4268397287044238081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/4268397287044238081'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/12/install-google-chrome-on-ubuntu.html' title='Install Google Chrome on Ubuntu'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-4817576793252381900</id><published>2011-09-02T04:13:00.000+02:00</published><updated>2011-09-02T04:17:52.125+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='center'/><category scheme='http://www.blogger.com/atom/ns#' term='centering'/><category scheme='http://www.blogger.com/atom/ns#' term='tag'/><category scheme='http://www.blogger.com/atom/ns#' term='gadget'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='method'/><category scheme='http://www.blogger.com/atom/ns#' term='load'/><category scheme='http://www.blogger.com/atom/ns#' term='page'/><category scheme='http://www.blogger.com/atom/ns#' term='iframe'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>How to center a google gadget (or ajax load it)</title><content type='html'>I came across this problem myself when trying to insert the "Directions" gadget from Google Maps into a website. Googling the problem "center google gadget on page" shows that there are a number of other people looking for a solution to this too, and no one seems to have the right answer. Well I found it. Here goes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Paste the generated script tag for the google gadget in a separate file (for example, for the directions gadget, I created a file called "directionsgadget.html").&lt;/li&gt;&lt;li&gt;Wrap the script tag in a div tag. Look at the values sent in the script tag and find the ones that set the height and width of the gadget. In the directions script I found:&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d; font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&amp;amp;amp;w=320&amp;amp;amp;h=55&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;Set the inline style of the div tag such that the div's width is equal to or slightly larger than the gadget's width, and you are going to center this div using the margin property, like so:&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d; font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&amp;lt;div style="width:325px;margin:0 auto;"&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;script .... /&amp;gt;&lt;br /&gt;&amp;lt;/div&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;On the page where you want the gadget, add an iframe where you want the gadget to appear and set the src attribute to point to the file that you have just created (the one with the div-wrapped script tag for the gadget), and set the inline style of the iframe so as to center it pretty much the same way we did with the div. Like this:&lt;br /&gt;&lt;span class="Apple-style-span" style="color: #38761d; font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;&amp;lt;iframe src="path/to/directionsgadget.html" style="width:330px;margin:0 auto;text-align:center;"&amp;gt;&amp;lt;/iframe&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Voilà! You have your gadget and you have it centered!&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="color: #073763;"&gt;LOADING VIA AJAX PROBLEM SOLVED USING THIS SAME METHOD:&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;Have you ever tried loading via ajax contents that contain a google gadget, and you're not seeing your gadget?&lt;br /&gt;Guess what. This IFRAME method of loading the gadget fixes that.&lt;br /&gt;The reason it doesn't load when you are loading via ajax is that you can't load script tags that point to external sites via ajax because of cross-site scripting limitations in browsers (a good security measure). BUT... if you put your script tag in a separate file, and load it into your contents using an iframe... SHABAM! Your gadget is loaded even when your contents are loaded via ajax! You have overcome the cross-site scripting limitations!&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-4817576793252381900?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/4817576793252381900/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/09/how-to-center-google-gadget-or-ajax.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/4817576793252381900'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/4817576793252381900'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/09/how-to-center-google-gadget-or-ajax.html' title='How to center a google gadget (or ajax load it)'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-6276471525791002374</id><published>2011-07-12T15:26:00.000+02:00</published><updated>2011-07-12T15:26:31.975+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packages'/><category scheme='http://www.blogger.com/atom/ns#' term='msys'/><category scheme='http://www.blogger.com/atom/ns#' term='install'/><category scheme='http://www.blogger.com/atom/ns#' term='mingw'/><title type='text'>Installing packages in mingw</title><content type='html'>So I don't really understand completely the difference between cygwin, mingw and the likes yet... But I'm fiddling around trying to install node.js in a Windows environment which brought me to mingw.&lt;br /&gt;So I'm installing packages on mingw from the mingw command prompt using "mingw-get install nnn". I'm looking at a list of suggested packages from here:&amp;nbsp;&lt;a href="http://sourceforge.net/project/shownotes.php?release_id=540763"&gt;http://sourceforge.net/project/shownotes.php?release_id=540763&lt;/a&gt;. Some packages are installed fine, others give errors "unknown package". Well doing a "mingw-get update" I noticed that a number of packages were tied to msys. So I tried something new: "mingw-get install msys-nnn". Guess what. It worked!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-6276471525791002374?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/6276471525791002374/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/07/installing-packages-in-mingw.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/6276471525791002374'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/6276471525791002374'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/07/installing-packages-in-mingw.html' title='Installing packages in mingw'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-2068641345236043143</id><published>2011-06-17T02:11:00.000+02:00</published><updated>2011-06-17T02:11:46.712+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='visual'/><category scheme='http://www.blogger.com/atom/ns#' term='costs'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='studio'/><category scheme='http://www.blogger.com/atom/ns#' term='compiler'/><category scheme='http://www.blogger.com/atom/ns#' term='microsoft'/><title type='text'>linux all the way for compiling!</title><content type='html'>So I've never had much experience in compiling with C# or C++. I just recently had a try at it, I was interested in Google Talk and Google Voice functionalities, Google gives you their library libjingle to compile. They don't give it to you ready and compiled, you have to compile it.&lt;br /&gt;&lt;br /&gt;Ok, so let's go for it. I have Visual Studio Express (the light free version), so I try downloading all the necessary components and I try compiling it. Guess what. You can't with Visual Studio Express. It doesn't have all the necessary libraries. So you either have to get into the libjingle code and modify it so it'll work with VS Express, or you get the Professional version of Visual Studio with the full libraries. Guess what. I find out that Visual Studio 2010 Professional costs 1 grand. $1,000 ? No, I'm just joking. It doesn't cost a thousand dollars. It costs $ 12, 000 dollars! And this time I'm not kidding. Yup, 12 GRAND.&lt;br /&gt;&lt;br /&gt;Now is that crazy or what? Yup, that's crazy. That's what makes me say, Linux all the way. I've had a look at Linux in the past few years, though I never did get into it a whole lot because I only have one computer to work with, and I do use quite a bit of Microsoft Windows functionality, especially when it comes to video / audio compositing. No, not editing. Compositing. There are some Linux tools out there, but they aren't quite the thing you can find on Windows. Unfortunately, you have more possibilities on Windows when it comes to that. Or for 3d design. Yeah, you have Blender for 3d design... But Blender isn't Cinema 4d for example. Simply said, I'm unfortunately still stuck on Windows.&lt;br /&gt;&lt;br /&gt;But $ 12,000 dollars to be able to compile a library? I'm not a developer who works for a company that produces software to sell. I don't get anything out of it economically. I just like to learn. And who knows, I might offer some free services if I get to know enough about certain technologies. I'm a freelancer and nothing, I mean $0 and no cents goes into my pockets.&lt;br /&gt;&lt;br /&gt;So $12,000 to compile a library is absolutely absurd for me. But I guess not only for me. Even for developers who do put something into their pockets this seems to be pretty far-fetched. It's a sign that Microsoft is just a money guzzling, avid company. They don't seem to be very wise about competition either. They're losing ground very quickly. Here's what developers have to say (some of which work for Microsoft from what I read):&amp;nbsp;&lt;a href="http://www.dotnet247.com/247reference/msgs/46/231461.aspx"&gt;http://www.dotnet247.com/247reference/msgs/46/231461.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-2068641345236043143?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.dotnet247.com/247reference/msgs/46/231461.aspx' title='linux all the way for compiling!'/><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/2068641345236043143/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/06/linux-all-way-for-compiling.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/2068641345236043143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/2068641345236043143'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/06/linux-all-way-for-compiling.html' title='linux all the way for compiling!'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-1308198360271429831</id><published>2011-03-22T15:42:00.000+01:00</published><updated>2011-03-23T08:23:24.941+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='uselessnet'/><category scheme='http://www.blogger.com/atom/ns#' term='forum'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='usenet'/><category scheme='http://www.blogger.com/atom/ns#' term='bicker'/><title type='text'>Where not to go to ask questions about php or javascript programming</title><content type='html'>Wooooooooowww, I just had a heck of an experience trying to create a worthwhile dialog on a php forum to clear up a few of my own doubts. Through Google Groups comp.lang.php came right up into sight, so I figured it might be a good place to ask a question, I figured there would be a number of people who know their stuff and get me off on the right track.&lt;br /&gt;&lt;br /&gt;So I pose my question, very simply and straightforwardly. Well well well, some know-it-all stuck up geeks start answering me and write comments about everything EXCEPT the main point of my question. I stood up to this and tried illustrate my situation and my question as explicitly as possible so as to avoid any misunderstandings as to what I was actually asking, and what do I get? Another series of answers about how I'm stuck up, know-it-all, and too condescending when I'm the one who doesn't know what he's talking about and they know their stuff and all...&lt;br /&gt;&lt;br /&gt;And guess what, after going back and forth a few times I actually began getting some results. Until someone joined in on the conversation and brought down to the mud again. What a bickering bunch of folks over there on usenet! It must be a big group of 60-70 year olds who all they know how to do is show off, pick on people, try as hard as they can NOT to help, bicker, and then stomp their legs because you don't humiliate yourself enough in front of their great wisdom and knowledge.&lt;br /&gt;&lt;br /&gt;Guess what usenet, you can bathe in your own egotistical closed-minded confrontations that don't lead anywhere and don't actually build anything on the web. If the world wide web is going anywhere nowadays, it's notwithstanding you guys that's for sure.&lt;br /&gt;&lt;br /&gt;What a completely useless conversation that was. I think it should be called uselessnet, not usenet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-1308198360271429831?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/1308198360271429831/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/03/where-not-to-go-to-ask-questions-about.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/1308198360271429831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/1308198360271429831'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/03/where-not-to-go-to-ask-questions-about.html' title='Where not to go to ask questions about php or javascript programming'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-7395603069594526959</id><published>2011-03-22T06:34:00.012+01:00</published><updated>2011-03-26T04:59:22.796+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='feste'/><category scheme='http://www.blogger.com/atom/ns#' term='festività'/><category scheme='http://www.blogger.com/atom/ns#' term='liturgico'/><category scheme='http://www.blogger.com/atom/ns#' term='calendario'/><category scheme='http://www.blogger.com/atom/ns#' term='ical'/><category scheme='http://www.blogger.com/atom/ns#' term='formato'/><category scheme='http://www.blogger.com/atom/ns#' term='elettronico'/><category scheme='http://www.blogger.com/atom/ns#' term='calendar'/><category scheme='http://www.blogger.com/atom/ns#' term='laparola'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Finalmente il calendario liturgico di rito latino in formato iCal!</title><content type='html'>Lo scorso anno avevo preso contatto con diverse realtà ecclesiali presenti in web, che offrono la liturgia quotidiana, e spiegavo lo standard per il formato calendario "iCal", chiedendo quali potevano essere le possibilità per creare un calendario liturgico in formato iCal, compatibile quindi con applicazioni di calendario tipo Google Calendar, o applicazioni Macintosh... Se il calendario liturgico è appunto un calendario, perché non pubblicarlo in formato calendario standard per il web o per le applicazioni web / mobili / desktop ecc.? Ero del parere (come lo sono tuttora) che era un ottimo modo per condividere e consultare il calendario liturgico. Come diverse case editrici stampano i "calendarietti liturgici" dove troviamo le festività cristiane, le letture del giorno, e indicazioni per la recita della Liturgia delle Ore, perché non trasportare l'idea del "calendarietto liturgico" in formato elettronico standard, in formato iCal?&lt;br /&gt;&lt;br /&gt;Non molti mi hanno dato più di tanto retta. Se ne sono interessati in modo particolare Francesca Favero e Roberto Zago del sito laparola.it e abbiamo iniziato una conversazione costruttiva a questo proposito e a proposito di altro.&lt;br /&gt;&lt;br /&gt;Ebbene proprio pochi minuti fa ci tornavo sull'idea e ho deciso di googlare: "Calendario Liturgico iCal", e questa volta escono risultati. Qual'è il primo risultato? Dal sito laparola.it !&lt;br /&gt;&lt;br /&gt;Potete scaricare qui il calendario liturgico in formato iCal (non ci sono i colori liturgici o indicazioni per la liturgia delle ore; ci sono le festività e i santi con l'indicazione del grado della celebrazione liturgica, e nella descrizione dell'evento ci sono le letture del giorno):&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.laparola.it/calendario/CalendarioLiturgico2011.ics"&gt;http://www.laparola.it/calendario/CalendarioLiturgico2011.ics&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Io l'ho appena importato in Google Calendar, e ora attraverso Google Calendar potrà essere presente anche sul sito parrocchiale http://www.parrocchiasanlino.org.&lt;br /&gt;Se chiunque altro desidera incorporare la versione Google Calendar l'ho reso un calendario pubblico a questo indirizzo:&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.google.com/calendar/feeds/g1b2j0emjcmucavtqk4u2nbflg%40group.calendar.google.com/public/basic"&gt;https://www.google.com/calendar/feeds/g1b2j0emjcmucavtqk4u2nbflg%40group.calendar.google.com/public/basic&lt;/a&gt;&lt;br /&gt;&lt;b&gt;(per il feed XML)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://www.google.com/calendar/embed?src=g1b2j0emjcmucavtqk4u2nbflg%40group.calendar.google.com&amp;amp;ctz=Europe/Rome"&gt;https://www.google.com/calendar/embed?src=g1b2j0emjcmucavtqk4u2nbflg%40group.calendar.google.com&amp;amp;ctz=Europe/Rome&lt;/a&gt;&lt;br /&gt;&lt;b&gt;(per la versione web)&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Per incorporare il calendario nel tuo sito puoi utilizzare questo codice:&lt;br /&gt;&lt;pre class="c-sharp" name="code"&gt;&amp;lt;iframe frameborder="0" height="600" scrolling="no" src="https://www.google.com/calendar/embed?src=g1b2j0emjcmucavtqk4u2nbflg%40group.calendar.google.com&amp;amp;ctz=Europe/Rome" style="border: 0;" width="800"&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;h2&gt;Yahoo! AGENDA&lt;/h2&gt;Vuoi iscriverti con l'agenda di Yahoo? Se hai già fatto accesso al tuo account Yahoo! basta andare a questo indirizzo: &lt;a href="http://calendar.yahoo.com/subscribe"&gt;http://calendar.yahoo.com/subscribe&lt;/a&gt; (oppure dalla pagina dell'agenda, clicca su "Agende" nella colonna di sinistra, e seleziona "Iscriviti all'agenda"); poi inserisci l'indirizzo del file ics (&lt;a href="http://www.laparola.it/calendario/CalendarioLiturgico2011.ics"&gt;http://www.laparola.it/calendario/CalendarioLiturgico2011.ics&lt;/a&gt;) e cliccare su "Avanti". Nella schermata successiva dai un nome al nuovo Calendario ("Agenda") e Salva. Non poteva essere più facile!&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Calendario IPOD / IPHONE&lt;/h2&gt;Vuoi importare il Calendario Liturgico nel calendario del tuo Apple Ipod? Segui queste semplici istruzioni prese dal sito della Apple:&lt;br /&gt;&lt;div style="background:#FFFFFF;border:inset 2px #FF00FF;"&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;b style="font-weight: bold;"&gt;Copiare su iPod il documento iCal (.ics).&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style="color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px; list-style-image: initial; list-style-position: outside; list-style-type: square; margin-bottom: 5px; margin-left: 2em; margin-right: 0px; margin-top: 4px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;1. Collegare iPod al computer utilizzando il cavo FireWire fornito. 2. Fare doppio clic sull'icona iPod sulla Scrivania, o in una finestra Finder, per visualizzarne il contenuto (prima di procedere, è necessario impostare iPod per l'uso come disco rigido esterno; consultare il documento 61131, "&lt;a href="http://docs.info.apple.com/article.html?artnum=61131%C2%A0" style="color: #0088cc; text-decoration: none;"&gt;&lt;b style="font-weight: bold;"&gt;&lt;u&gt;iPod: utilizzare iPod come disco rigido esterno&lt;/u&gt;&lt;/b&gt;&lt;/a&gt;"). 3. Trascinare nella cartella Calendari di iPod il documento .ics (in questo caso: &lt;a href="http://www.laparola.it/calendario/CalendarioLiturgico2011.ics"&gt;http://www.laparola.it/calendario/CalendarioLiturgico2011.ics&lt;/a&gt;).&lt;/ul&gt;&lt;span class="Apple-style-span" style="color: #333333; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-7395603069594526959?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.laparola.it/calendario/CalendarioLiturgico2011.ics' title='Finalmente il calendario liturgico di rito latino in formato iCal!'/><link rel='enclosure' type='iframe' href='https://www.google.com/calendar/embed?src=g1b2j0emjcmucavtqk4u2nbflg%40group.calendar.google.com&amp;amp;ctz=Europe/Rome' length='0'/><link rel='enclosure' type='XML' href='https://www.google.com/calendar/feeds/g1b2j0emjcmucavtqk4u2nbflg%40group.calendar.google.com/public/basic' length='0'/><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/7395603069594526959/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/03/finalmente-il-calendario-liturgico-di.html#comment-form' title='1 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/7395603069594526959'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/7395603069594526959'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/03/finalmente-il-calendario-liturgico-di.html' title='Finalmente il calendario liturgico di rito latino in formato iCal!'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-4720844401568205651</id><published>2011-03-11T05:33:00.001+01:00</published><updated>2011-05-26T03:11:10.952+02:00</updated><title type='text'>D'Orazio's Triangle (or Pascal's Triangle modified)</title><content type='html'>I think I may have made an interesting discovery.&lt;br /&gt;I have been putting mathematical problems to my programming skills in the past couple weeks on my personal website &lt;a href="http://johnrdorazio.altervista.org/"&gt;johnrdorazio.altervista.org&lt;/a&gt;&amp;nbsp;. One of the problems that I translated into php code was Pascal's Triangle. I was intrigued to find out that highlighting the odd numbers in Pascal's Triangle creates a Sierpinski Triangle. And I began wondering. What if Pascal's Triangle was slightly different? What other kinds of results can be obtained by highlighting the odd numbers?&lt;br /&gt;&lt;br /&gt;So I thought I would try something very simple. You can see an example of Pascal's Triangle here:&lt;br /&gt;&lt;a href="http://johnrdorazio.altervista.org/SitoFlatnukePersonale/index.php?mod=problemsolving#pascal3angle"&gt;http://johnrdorazio.altervista.org/SitoFlatnukePersonale/index.php?mod=problemsolving#pascal3angle&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You see that Pascal's Triangle has invisible zero's outside the triangle that are added to the ones along the outer rim.&lt;br /&gt;And I wondered, what if instead of having ones on the outer rim, we had incrementals (1,2,3,4...)? Pascal's has incrementals, but on the second diagonal going inwards, such that the two diagonals with the incrementals cross at the top resulting in two ones right next to each other.&lt;br /&gt;And if instead the two diagonals didn't cross, but started off from the same 1, thus being the outer edges of the triangle? We get slightly different results in the addition that is being done.&lt;br /&gt;&lt;br /&gt;So now I try to highlight the odd numbers, and then also mod 3, and I make an interesting discovery: the first 33 lines are sort of like Sierpinski's triangle with a sort of fractal pattern, but from line 33 on we get a hyberbola. Well isn't that awesome! What does it mean? I have no idea. But I thought it was interesting...&lt;br /&gt;&lt;br /&gt;------------------------------------------------&lt;br /&gt;UPDATE:&lt;br /&gt;Ok I figured out in the meantime an error in my coding that was causing this behaviour of forming a "hyperbola" when highlighting mod 2 (=odd numbers) or mod 3. It has to do with the way php handles big integers. There is a limit on integer representation in php due to the number of bytes that a large integer occupies. I've read up that x64 machines can represent larger integers then x32 machines, since they have more "byteroom" to represent the integers. After that limit is reached, all larger integers will be represented as a float rather than in decimal notation. Float numbers don't have the same precision as decimal integers, so this inexact representation, when modded, turns out to have not more and more odd numbers, but more and more "odd looking" numbers (!). The amount of these "odd looking" numbers grows pretty constantly, which gives a hyperbola look to the highlighted cells.&lt;br /&gt;Even though it's an "error" in the php math, which can be corrected using other math functions provided by php such as bcmath, I still think it's sort of neat. I suppose it could be interesting to consider the bitwise representation of these large integers, which leads to the hyperbola look (odd numbers can usually be determined by examining the bit-endings in the binary value of the integer: a 0-bit ending represents an even number and a 1-bit ending represents an odd number; the php bitwise operator "&amp;amp;" can be used for this purpose). Perhaps more experiments can be done with binary representation rather than with decimal representation to see what comes of that.&lt;br /&gt;&lt;br /&gt;Instead the correct way of coding the php math functions (using bcmath, which utilizes string representations of large integers so that they will not lose their precision, and in such a way that there is practically no other limit than the available memory for calculation) gives us an odd-number highlighting a little different from Sierpinski's triangle, because the highlighted triangles seem to grow almost exponentially...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-4720844401568205651?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/4720844401568205651/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/03/dorazios-triangle-or-pascals-triangle.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/4720844401568205651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/4720844401568205651'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/03/dorazios-triangle-or-pascals-triangle.html' title='D&apos;Orazio&apos;s Triangle (or Pascal&apos;s Triangle modified)'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-8985863316194502057</id><published>2011-02-03T05:04:00.001+01:00</published><updated>2011-03-26T05:10:23.932+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xhtml'/><category scheme='http://www.blogger.com/atom/ns#' term='versione'/><category scheme='http://www.blogger.com/atom/ns#' term='cms'/><category scheme='http://www.blogger.com/atom/ns#' term='nuova'/><category scheme='http://www.blogger.com/atom/ns#' term='xmldb'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='flatnux2'/><category scheme='http://www.blogger.com/atom/ns#' term='flatnux'/><title type='text'>Flatnux 2 in arrivo!</title><content type='html'>Per il momento il mio sito personale &lt;a href="http://johnrdorazio.altervista.org/"&gt;http://johnrdorazio.altervista.org&lt;/a&gt;, che uso più che altro per la sperimentazione (non sono ancora arrivato ad usarlo come archivio personale), non è molto accessibile... Infatti comincio a provare le prime versioni "beta" o test di una nuova versione di Flatnux che Alessandro Vernassa sta sviluppando. Non soltanto un ultimo aggiornamento, ma una riscrittura vera e propria. Pare che questa versione sarà tutta basata sul nuovo motore (classe php) xml database scritto da Alessandro Vernassa, e dovrebbe pertanto presentare notevoli migliorie per amministratori di sito flatnux e soprattutto per sviluppatori flatnux.&lt;br /&gt;La nuova versione userà di default il mod rewrite per presentare all'utente finale url più "belle" da vedere, senza tutti i parametri per le variabili php GET.&lt;br /&gt;Pare che darà anche la possibilità di caricare le sezioni via ajax, scelta oculata a mio parere perché velocizza il caricamento delle sezioni evitando di ricaricare ogni volta tutta la pagina durante la navigazione. Certo che non sarà semplice implementarlo in maniera completa e affidabile quando ci sono informazioni che vengono scambiate tra sezioni e blocchi per esempio.&lt;br /&gt;Altra caratteristica è che tutto il codice del CMS è diventato rispettoso del XHTML strict, e direi che questo è un ottimo passo in avanti perché gli standard del web stanno migliorando sempre e già si comincia a guardare verso l'HTML5, che non è però ancora del tutto definito. Intanto adeguarsi al XHTML strict è una scelta molto utile, soprattutto quando ci si serve di strumenti serviti da API esterni (per fare un esempio, la "barra sociale" di Google Friend Connect richiede per forza un DOCTYPE XHTML strict, e così anche le funzionalità XFBML di Facebook Connect).&lt;br /&gt;&lt;br /&gt;Questo cambiamento potrebbe comportare per tutti i "flatnuxiani" un periodo di transizione onde aggiornare i propri siti alla nuova versione, perché non è possibile installare la versione 2 come aggiornamento dal pannello di controllo, necessita di un'installazione "pulita", ex novo. Pertanto bisognerà transizionare i contenuti dai propri siti nella nuova installazione. Ci vorrà un po' di pazienza ma credo che ne varrà la pena.&lt;br /&gt;&lt;br /&gt;Una nota pertanto anche ai&amp;nbsp;"parrocchiani" di San Lino, vorrà dire che in un prossimo futuro anche il sito parrocchiale &lt;a href="http://www.parrocchiasanlino.org/"&gt;http://www.parrocchiasanlino.org&lt;/a&gt; (che non ha al momento aiuti per l'aggiornamento dei contenuti!) subirà la transizione alla nuova versione del CMS, bisognerà pertanto ri-elaborare i contenuti del sito.&lt;br /&gt;&lt;br /&gt;Anch'io da parte mia dovrò rivedere il&lt;a href="https://github.com/Lwangaman/Glorioso-Theme"&gt; tema "open social"&lt;/a&gt; che ho cominciato a sviluppare per Flatnux, per adeguarlo a Flatnux 2, considerando che anche le funzioni di base del CMS verranno ridefinite e la stessa struttura del CMS subirà delle modifiche.&lt;br /&gt;&lt;br /&gt;Seguirò man mano lo sviluppo per aiutare Alessandro con osservazioni su eventuali errori / bug / correzioni da apportare, attendiamo speranzosi i risultati! Si possono scaricare le ultime versioni di test alla pagina&amp;nbsp;&lt;a href="http://flatnux.altervista.org/download.html"&gt;http://flatnux.altervista.org/download.html&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-8985863316194502057?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/8985863316194502057/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/02/flatnux-2-in-arrivo.html#comment-form' title='3 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/8985863316194502057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/8985863316194502057'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2011/02/flatnux-2-in-arrivo.html' title='Flatnux 2 in arrivo!'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-733542055563168886</id><published>2010-10-02T11:12:00.000+02:00</published><updated>2010-10-02T11:15:21.569+02:00</updated><title type='text'>Nuova istruzione in php 5.3 "goto"</title><content type='html'>Meno male! Lo speravo da tempo... Io che ho iniziato da ragazzo con il BASIC e GW-BASIC e QUICKBASIC e poi VISUAL-BASIC, ero abituato all'istruzione "GOTO" che rientrava in una logica di programmazione, dove si suddivideva il codice in "routines" e "sub-routines" e a seconda di certe condizioni che si verificavano potevi rimandare a certe sezioni del codice da eseguire con l'istruzione "GOTO". Finora in php si doveva ricorrere a un altro "workflow", ebbene ora hanno pensato che forse non era male il tradizionale "GOTO" e l'hanno re-incorporato. Penso che lo utilizzerò di sicuro in più circostanze!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.php.net/manual/en/control-structures.goto.php"&gt;http://www.php.net/manual/en/control-structures.goto.php&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.php.net/manual/en/images/0baa1b9fae6aec55bbb73037f3016001-xkcd-goto.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt="What's the worse thing that could happen if you use goto?" border="0" height="107" src="http://www.php.net/manual/en/images/0baa1b9fae6aec55bbb73037f3016001-xkcd-goto.png" style="border-bottom-width: 0px; border-color: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px;" width="400" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-733542055563168886?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/733542055563168886/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/10/nuova-istruzione-in-php-53-goto.html#comment-form' title='2 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/733542055563168886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/733542055563168886'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/10/nuova-istruzione-in-php-53-goto.html' title='Nuova istruzione in php 5.3 &quot;goto&quot;'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-1922513119305392423</id><published>2010-08-18T18:20:00.000+02:00</published><updated>2010-08-18T18:20:24.607+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript ternary operator multiple statements commands'/><title type='text'>Using javascript's ternary operator with multiple statements or commands</title><content type='html'>&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;Today I made a new discovery in javascript that does not seem to be very well documented. Maybe it's so obvious that it's given for granted. Well I'm self-taught so I can't take anything for granted. My discovery has to do with the use of the ternary operator, a kind of shortcut for conditional statements, with multiple statements. The ternary operator is a compact way of writing conditional statements, instead of writing out fully an "if...then...else" statement, that is "if (&lt;i&gt;condition&lt;/i&gt;) {&amp;nbsp;&lt;i&gt;statements;&lt;/i&gt;&amp;nbsp;} else {&amp;nbsp;&lt;i&gt;statements;&lt;/i&gt;&amp;nbsp;}", you just write &amp;nbsp;"(&lt;i&gt;condition&lt;/i&gt;) ?&amp;nbsp;&lt;i&gt;statement&lt;/i&gt;&amp;nbsp;:&amp;nbsp;&lt;i&gt;statement;&lt;/i&gt;", which corresponds like this: "(&lt;i&gt;if&lt;/i&gt;) ?&amp;nbsp;&lt;i&gt;then&lt;/i&gt;&amp;nbsp;:&amp;nbsp;&lt;i&gt;else&lt;/i&gt;;". Now I was trying to use the ternary operatore but I needed to give multiple statements or commands in case of a postive result. And in javascript multiple statements should be separated by a semicolon, but a semicolon in the middle of a ternary operator will interrupt it. Well I found a solution: you just have to chain the statements or commands with a plus sign "+". Maybe some people already know that, I didn't. Here are some examples that illustrate concretely these usages.&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Example of a conditional statement with a single command:&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;if(1==1) {&amp;nbsp;alert("Hello") }&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;else { alert("Goodbye") }&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Example of a conditional statement with multiple commands:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;if(1==1) {&amp;nbsp;alert("Hello"); alert("World!"); }&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;else { alert("Goodbye"); alert("Sky!"); }&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Example of a ternary operator with a single command:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;(1==1) ? alert("Hello") :&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;alert("Goodbye");&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Example of a ternary operator with multiple commands separated by a semicolon:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;(1==1) ? alert("Hello"); alert("World!"); :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;alert("Goodbye"); alert("Sky!");&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;i&gt;This form is not correct because the semicolon within the ternary operator will interrupt it.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;Instead in this way it is possible to have multiple commands in the ternary operator:&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;Example of a ternary operator with multiple commands chained by a plus sign "+":&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;(1==1) ? alert("Hello")+alert("World!") : alert("Goodbye")+alert("Sky!");&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;I had no problems with this method, I've tried in a couple of circumstances and it's worked great.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-1922513119305392423?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/1922513119305392423/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/08/using-javascripts-ternary-operator-with.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/1922513119305392423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/1922513119305392423'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/08/using-javascripts-ternary-operator-with.html' title='Using javascript&apos;s ternary operator with multiple statements or commands'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-5907379827158151741</id><published>2010-08-18T02:14:00.000+02:00</published><updated>2010-08-18T18:04:39.094+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript operatore ternario molteplici istruzioni'/><title type='text'>Javascript: operatore ternario con molteplici istruzioni</title><content type='html'>Oggi ho fatto una nuova scoperta in javascript di cui non si trova facilmente documentazione.&amp;nbsp;Si tratta dell'utilizzo dell'operatore ternario, una specie di scorciatioia per le istruzioni condizionali, con molteplici istruzioni. L'operatore ternario è un modo compatto per scrivere le istruzioni condizionali, in pratica anziché scrivere "if...then...else" ossia "if (&lt;i&gt;condizione&lt;/i&gt;) { &lt;i&gt;istruzioni;&lt;/i&gt; } else { &lt;i&gt;istruzioni;&lt;/i&gt; }", si scrive "(&lt;i&gt;condizione&lt;/i&gt;) ? &lt;i&gt;istruzione&lt;/i&gt; : &lt;i&gt;istruzione;&lt;/i&gt;", che corrisponde in questo modo: "(&lt;i&gt;if&lt;/i&gt;) ? &lt;i&gt;then&lt;/i&gt; : &lt;i&gt;else&lt;/i&gt;;". Stavo cercando di sfruttare l'operatore ternario utilizzando però più istruzioni in caso di risultato positivo.&amp;nbsp;Ora molteplici istruzioni in&amp;nbsp;javascript si dovrebbero separare con un punto e virgola. Ma se metti un punto e virgola in mezzo all'operatore ternario si interrompe. Ebbene ho trovato una soluzione: basta concatenare le varie istruzioni con un "+", con un segno più. Spiego meglio con degli esempi concreti la mia soluzione.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Esempio di un condizionale con una sola istruzione:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;if(1==1) {&amp;nbsp;alert("Hello") }&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;else { alert("Goodbye") }&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Esempio di un condizionale con molteplici istruzioni:&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;if(1==1) {&amp;nbsp;alert("Hello"); alert("World!"); }&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;else { alert("Goodbye"); alert("Sky!"); }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;Esempio di un'operatore ternario con una sola istruzione:&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;(1==1) ? alert("Hello") :&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;alert("Goodbye");&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;Esempio di un'operatore ternario con molteplici istruzioni separate da punto e virgola:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: 'Times New Roman'; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;(1==1) ? alert("Hello"); alert("World!"); :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt;alert("Goodbye"); alert("Sky!");&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;i&gt;Questa forma non è corretta perché il punto e virgola all'interno dell'operatore ternario lo interrompe.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;Sarà possibile avere molteplici istruzioni? Ebbene sì ed ecco il modo:&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;Esempio di un'operatore ternario con molteplici istruzioni concatenate dal segno più:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;(1==1) ? alert("Hello")+alert("World!") : alert("Goodbye")+alert("Sky!");&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman';"&gt;Non ho avuto alcun problema con questo metodo, ora l'ho provato in un paio di circostanze diverse e mi ha funzionato molto bene.&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-5907379827158151741?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/5907379827158151741/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/08/javascript-operatore-ternario-con.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/5907379827158151741'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/5907379827158151741'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/08/javascript-operatore-ternario-con.html' title='Javascript: operatore ternario con molteplici istruzioni'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-3130562442167224089</id><published>2010-07-08T21:05:00.000+02:00</published><updated>2010-07-08T21:05:41.886+02:00</updated><title type='text'>Nikola Tesla: riscopriamolo!</title><content type='html'>Nikola Tesla era un grande scienziato. Grande, perché non rubava idee dagli altri ma le congegnava lui stesso. E le sue idee le regalava agli altri. Non era ricco, e non poteva permettersi di patentare tutte le sue invenzioni. Credeva in quello che oggi viene chiamato l' "open source", il mercato libero delle idee. Per Nikola Tesla le invenzioni dovevano servire alla gente, alla società, e non per riempirsi le tasche. Oggi è difficile trovare un Nikola Tesla, non solo con questo spirito di servizio genuino alla società, ma anche qualcuno porti avanti il suo pensiero. Le sue idee erano talmente all'avanguardia che ancora oggi molte non sono state messe a frutto o meglio studiate. Eppure avrebbe ancora tanto da dire all'odierno mondo industrializzato per quanto riguarda le energie rinnovabili. Nikola Tesla sognava di mettere le redini alle fonti energetiche in mondo da poter dare energia gratuita al mondo. L'idea non piaceva alle industrie dell'energia e Tesla non ha mai trovato molto sostegno economico nelle sue ricerche!&lt;br /&gt;Tesla ha sperimentato con la trasmissione dell'elettricità senza fili, che ancora oggi potrebbe essere studiato molto meglio.&lt;br /&gt;Tesla ha sperimentato con la terra come fonte di energia elettrica, ho scoperta che la terra risponde a certe risonanze elettromagnetiche e quindi poteva diventare fonte quasi inesauribile di energia. Anche queste teorie ad oggi non sono stato messe a frutto.&lt;br /&gt;Altre sue scoperte sono state "rubate" dagli altri, per esempio la trasmissione radio oltre-oceano da parte di Marconi, al quale Tesla aveva confidate le proprie ricerche alcuni mesi prima. Tesla era quasi pronto per fare le prime sperimentazioni effettive quando giunse la notizia che l'aveva appena fatto Marconi.&lt;br /&gt;&lt;br /&gt;Tesla è una figura di un uomo sincero e umile ma con la mente da gigante. Anche ultimamente nVidia (produttore in particolare di processori GPU e schede grafiche) ha chiamato uno dei suoi più potenti processori GPU "Tesla" in suo onore.&lt;br /&gt;&lt;br /&gt;Quanto mi sarebbe piaciuto conoscerlo a lavorare a suo fianco. Quanto mi piacerebbe potermi dedicare di più a sperimentazioni sull'energia elettrica. Chissà, con il tempo e se le circostanze mi permettono, forse qualche cosina farò pure io... Almeno a conoscere meglio e far conoscere!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-3130562442167224089?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/3130562442167224089/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/nikola-tesla-riscopriamolo.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/3130562442167224089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/3130562442167224089'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/nikola-tesla-riscopriamolo.html' title='Nikola Tesla: riscopriamolo!'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-3229608489412406449</id><published>2010-07-08T16:52:00.000+02:00</published><updated>2010-07-08T16:53:14.192+02:00</updated><title type='text'>Lamento sui costi del fai-da-te!</title><content type='html'>Sono sempre stato uno che ha creduto nel detto "chi impara l'arte, mette da parte" ossia chi impara il fai-da-te risparmia un sacco di soldi. Ultimamente mi viene da dire: mica tanto! Sono veramente sbigottito per esempio dal costo del legno in Italia. E' una cosa abominevole! Costa più costruirsi un mobiletto con un legno morbido che non comprarne uno già fatto e magari con un legno duro! Non ci si crede... Mi piacerebbe fare di più l'artigiano ma i costi mi scoraggiano tantissimo. Mio bis-nonno aveva un po' dell'artigiano, e mio padre pure qualche cosa. Mio fratello maggiore ha potuto lavorare per uno stabilimento di artigianato e s'è imparato tante cose. Ce l'ho nel sangue, mi piace farlo, ma i costi in Italia lo rendono impensabile! La muratura già costa molto di meno, ma lavorare il legno non è molto proponibile. Ma è così che si perde l'arte in una società! Chi lavora più il legno in Italia? Non ci sono quasi più artigiani. Si fanno le cose in serie, industriali, ma non c'è il tocco artistico. Conserviamo la creatività dell'uomo! Conserviamo e favoriamo l'artigianato! Favoriamolo anche dal punto di visto economico!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-3229608489412406449?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/3229608489412406449/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/lamento-sui-costi-del-fai-da-te.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/3229608489412406449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/3229608489412406449'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/lamento-sui-costi-del-fai-da-te.html' title='Lamento sui costi del fai-da-te!'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-6628096072549792828</id><published>2010-07-05T01:43:00.000+02:00</published><updated>2010-07-06T03:44:02.248+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='iPhone'/><category scheme='http://www.blogger.com/atom/ns#' term='organizzare'/><category scheme='http://www.blogger.com/atom/ns#' term='iPod'/><category scheme='http://www.blogger.com/atom/ns#' term='cartelle'/><category scheme='http://www.blogger.com/atom/ns#' term='jailbreak'/><category scheme='http://www.blogger.com/atom/ns#' term='categorie'/><title type='text'>Come organizzare le apps sul tuo iPhone o iPod Touch senza jailbreak</title><content type='html'>Ho sentito in giro che è possibile, aggiornando la software del proprio iPod Touch al 4.0, organizzare le apps in cartelle o "categorie" o "raggruppamenti". Ho aggiornato la software ma lì per lì non sapevo ancora come fare per effettuare questi "raggruppamenti". Ho cercato in giro sul web googlando e tutti dicono che bisogna effettuare il jailbreak per poterlo fare. Beh, forse questi blog stanno parlando di un altro tipo di cartelle, perché l'ho scoperto ora il modo semplicemente mentre stavo organizzando le apps. Si tratta di una mossa semplicissima! Il lettore saprà già che per organizzare le apps sul proprio iPod Touch basta tenerne premuto una senza rilasciarla fino a quando tutte le apps cominciano a "dondolare" ("wobble" in inglese) e compare una "x" all'angolo superiore sinistro dell'icona di ogni app. Toccando con un colpetto di dito la "x" si può rimuovere un'app dal proprio iPod, altrimenti si può trascinare l'icona per spostarla altrova o sulla stessa pagina o, portandola verso le estremità sinistra o destra, sulla pagina precedente o successiva.&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ebbene per organizzare le icone delle tue apps in "categorie" o "cartelle" o "raggruppamenti" basta, mentre si è in questa modalità modifica o di "riorganizzazione", trascinare un'icona SOPRA un altra. Tutte e due le icone verranno raggruppate in un'unica icona condivisa e il tuo iPod cercherà di proporre un etichetta adatta che potrai modificare a piacere.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Per uscire dalla modalità "modifica" o di "riorganizzazione" basta cliccare sul tasto Home del tuo iPod. Voilà abbiamo organizzato le nostre apps in "cartelle"! Ora il nostro iPod è più pulito e più facile da consultare ed utilizzare!&lt;br /&gt;&lt;br /&gt;RIASSUMENDO:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;1. Attivate la modalità modifica tenendo premuto un'icona qualsiasi, fino a quando le icone non iniziano a dondolare e compare una "x" nell'angolo superiore sinistro&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;2. Trascina un'icona sopra un'altra e verranno raggruppate in una cartella con un'eticchetta già proposta, la puoi modificare a piacere. Appare praticamente una sezione all'interno della pagina e il resto della pagina diventa trasparente&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;3. Ora puoi semplicemente trascinare un'icona fuori dalla sezione per toglierla dalla cartella; puoi tornare a consultare il resto della pagina toccando con un colpetto di dito un punto qualsiasi della pagina fuori della sezione; potrai allora trascinare altre icone sopra la cartella per aggiungerle alla cartella.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #274e13;"&gt;4. Uscire dalla modalità modifica cliccando sul tasto Home in fondo al iPod.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-6628096072549792828?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/6628096072549792828/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/come-organizzare-le-apps-sul-tuo-iphone.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/6628096072549792828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/6628096072549792828'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/come-organizzare-le-apps-sul-tuo-iphone.html' title='Come organizzare le apps sul tuo iPhone o iPod Touch senza jailbreak'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6690437686504731086.post-6555015659637632081</id><published>2010-07-05T01:23:00.000+02:00</published><updated>2010-07-09T03:38:38.306+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sapienza'/><category scheme='http://www.blogger.com/atom/ns#' term='romano'/><category scheme='http://www.blogger.com/atom/ns#' term='blog'/><category scheme='http://www.blogger.com/atom/ns#' term='dorazio'/><category scheme='http://www.blogger.com/atom/ns#' term='john'/><category scheme='http://www.blogger.com/atom/ns#' term='umanesimo'/><title type='text'>La nascita del blog di John Romano D'Orazio</title><content type='html'>Forse un blog è un modo migliore per pubblicare pensieri che non un sito personale basato su CMS. Qualche anno fa mi sono creato un sito personale http://www.johnrdorazio.altervista.org come archivio personale, luogo di sperimentazione per la programmazione web... e credevo anche per pubblicare i miei pensieri. Ma a questo punto credo che un blog riesca meglio nel intento, almeno per quest'ultimo aspetto. Perciò apro pure il blog (oh, e ho abbandonato Windows Live Spaces già da qualche anno, sono diventato un fan di Google e tutte le cose Windows le ho prese in antipatia.)&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Non era facile scegliere un titolo per il blog, e non so se manterrò l'attuale "Sal et Humus", ma intanto ne spiego il significato. "Sal" in latino è sale, quell'elemento molto comune nella cucina e nella conservazione dei cibi. Il sale dà sapore. Il sale rende le cose interessanti. Suscita, nella giusta quantità, il piacere di consumare un pasto. Da qui l'analogia con la sapienza. Il sale "dà sapore", la sapienza è il sapore della vita, della scienza e della conoscenza. E' frutto dell'esperienza e della conoscenza insieme. E' sapiente chi è esperto, chi ha esperienza; è sapiente chi sa, chi conosce. E' sapiente l'uomo che si mette in umile ricerca della verità, e si apre agli altri per cercarla insieme.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;L'uomo per definizione è sapiente, "homo sapiens sapiens". E chi è l'uomo? Che cos'è umano? Cosa significa "umanità"? La radice della parola è questa: "humus". Ed ecco l'altro aspetto del titolo. Humus significa terreno, significa il luogo di provenienza, significa luogo di crescita, luogo fecondo, luogo "umido" in cui può nascere la vita. Da "humus" deriva, oltre ad "humanitas", anche "humilitas". Da humus deriva anche "humor". Humanitas, humilitas, humor, humus. E' tutto connesso. L'essere umili significa sapere di non sapere, e come diceva Socrate l'uomo sapiente è l'uomo che sa di non sapere. L'uomo che sa di non sapere è l'uomo che cerca di sapere di più. L'essere umani significa essere magnanimi e compassionevoli, significa apprezzare la cultura dell'uomo e della società umana. Significa avere una conoscenza a tutto raggio, un "umanesimo" che crede nel valore di tutto ciò che è dell'uomo, promuovere una cultura antropologica forte, credere che l'uomo è capace del bene ed è più uomo quando vive secondo la legge naturale iscritta nel suo animo.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6690437686504731086-6555015659637632081?l=johnromanodorazio.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://johnromanodorazio.blogspot.com/feeds/6555015659637632081/comments/default' title='Commenti sul post'/><link rel='replies' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/forse-un-blog-e-un-modo-migliore-per.html#comment-form' title='0 Commenti'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/6555015659637632081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6690437686504731086/posts/default/6555015659637632081'/><link rel='alternate' type='text/html' href='http://johnromanodorazio.blogspot.com/2010/07/forse-un-blog-e-un-modo-migliore-per.html' title='La nascita del blog di John Romano D&apos;Orazio'/><author><name>John R. D'Orazio</name><uri>http://www.blogger.com/profile/08124981585781818010</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://1.bp.blogspot.com/_CZ2TjMcG3gI/TDzaqDNaDXI/AAAAAAAAGrw/xNkuDrij4Go/s1600-R/24251_406835745986_648770986_5106985_5532599_s.jpg'/></author><thr:total>0</thr:total></entry></feed>
