Friday, December 31, 2010

Remington Sps Varmint Vs Tikka

Mail-it: do you speak Python?


La cosa più difficile per un Programmatore è “parlare” un linguaggio different. The most challenging thing is to know how to say "speak" many languages \u200b\u200b(no matter if you have the linguistic dexterity of a coconut seller apprentice). But the only smart thing for a program and choose a language based on the context, well, do not believe that it is rare to hear a programmer Italian speaking German while on holidays in the Red Sea?



In my life as a programmer I can say Multilingual: Basic, Visual Basic, Assembler, C, C + +, Visual C, ASP, PHP, HTML, CSS, Bash, SQL, and various dialects, but I have a tendency to spin everything to chew slop incomprehensible and computer "not working". And then, of Strong Computer Guru, I can help my selective memory, deprecated and low that early makes me forget all the other languages. Well

from inevitable smart programmer I have not seen fit to speak in German, but to learn to speak the "Mar Rossonese" for my future vacation I do not know when I can do!
Metaphors aside, I decided to learn a new language for the creation of a "banal desktop program" for Linux. The choice of language has slipped up Python.


Mail-it: a tender heart, born from the "Hello World"

Programmer rude learn a new language without manuals, without inquiry and without a flow sheet, as it is a necessity that stimulates a need that pushes the programmer to write software in the language in which you want to head, sooner or later, learn, or at least this was my curriculum.

The need
A colleague of mine spent a few hours a month to take pictures, open GIMP to reduce the required size and crop them, save them in JPEG optimization for the web, open an HTML document with complex Kate , find the point where to write the news, write, being careful not to damage the code layout and formatting of copying and pasting him loosely packed (HTML tags), open the file with a web browser, IceWeasel to verify all the mistakes he made without being able to see the images that are still on your local disk, open an obscure FTP client, Filezilla , to upload the HTML document and all images in the right folder, make sure the online version of functions and, finally, open Icedove and copy the HTML document to send the sweaty newsmail to a mailing list.

solution
From fervent Programmer I thought it was time to streamline those routine, and potentially dangerous operations creandogli interface to automate some processes to do his job to concentrate solely on his real task: to write the news!
Solutions as PHPlist focus primarily on the mechanism of sending the mailing, while my colleague was mainly used a guide to help him load properly, and occasionally the news and images within a HTML template (crafted by a specialist) to compose a newsmail.
And, working out, upload online publication and send the mailing.

Creating
Python I learned watching the Net code examples, the famous "Hello World . Peeps peeps here and there, the code is stacked in a functional form of the program. Software to version 0.9 sees his release under the GPL license on SourceForge under the name of Mail-it . Now my colleague

looming on the horizon .. save many hours of work that could easily invest in lavish and generous enough to offer me coffee while I cradle with moisturizing compliments. Here is a screenshot

:




Well, now I can say I speak as an apprentice pynthonese coconut seller on those beaches of the Red Sea where my colleague will spend his holidays at my face. Enjoy
Python


PS: But my colleague, who is packing his bags, he does not know that I have not yet created a module to manage the sending of newsmail ;-)


For More Information, download, use and implement mail.it: -mail it.sourceforge.net

If anyone would like to report bugs or contribute to the development and / or improve the translation (it is now only in Italian and English) ... write (somewhere there should be my email address)

If someone wants to create a logo nicer than what I Oxygen icons from the cloning can send their contributions in formato SVG

Se qualcuno volesse offrirmi un caffè... beh, mi venga a trovare, qui ci sono dei validi bar ;-)

Wednesday, December 15, 2010

Grannies In High Heels

Un'installazione di ordinaria follia: Internet Explorer 6.0 per Linux


Ci sono cose nella vita che vanno ben oltre il traffico in tangenziale; una di queste è la necessità di far funzionare un obsoleto software proprietario su un sistema operativo fuori dal suo raggio di azione.


Il perché di questa necessità anacronistica bisognerebbe chiederlo a quei Programmatori che hanno creato soluzioni informatiche accessibili unicamente da un browser proprietario, limitato ed esclusivo a un solo sistema operativo e assolutamente non conforme agli standard.

Se you do not want to hurt and you can overcome the obstacles of those programmers obsolete, I urge you not continue reading, remembering that there are many web browsers for Linux (and not), here is a range of activities:




The wrong solution

If you have not stopped a uno dei link sopra citati significa che siete disperatamente schiacciati dal potere di vecchie soluzioni gestite da ottusi amministratori incompetenti; a tal demerito accetto la vostra compagnia in questo cammino lungo una selva oscura * .


Se cercate in Internet una soluzione per installare Internet Explorer 6.0 sotto Linux, troverete sicuramente la soluzione che ci ha guidato per anni: IE4Linux .
Purtroppo non si sono più visti aggiornamenti dal 2008 e, anche se l'installazione va a buon fine, capita che un demone, wineserver , impazzisce bruciando tutte le risorse della CPU e obbligandoci infine a riavviare la macchina ** .

Qualora si chiedessero explanations for this anomaly the programmers Wine engine that makes this black magic, you get the right answer but insipita:
"IE4Linux is not a solution supported by Wine"

The wrong solution and running after

the arms of Morpheus I was close (troppo!) all night, in the morning, aching like a wool sweater spun, I find the way "right": winetricks .


Here the monster running on my Linux desktop KDE:


With a pang, I will explain the installation
Notes: Tested on Debian Squeeze (both 32bit and 64 bit)

As root you have to add the following repository to install the latest version of wine.
repositoruy Open the file with your favorite editor (I use VI, you do as you please):
> vi / etc / apt / sources.list

Add the following lines: # wine

http://wine.sourceforge.net/apt/ deb binary /

Then install the following packages
> aptitude install wine cabextract libxxf86dga1 libxxf86vm1

Only for 64-bit systems you must also install the following package:
> aptitude install-lib32nss mDNS

Then login as normal user will use the application and the home run the following commands:

IMPORTANT: Give programs ( System-> Configure Wine ) Wine run configuration tab and click on Drive Automatically detect . Save and exit.

# download the latest version of the script winetricks
> wget http://www.kegel.com/wine/winetricks
# check the attributes of the script execution
> chmod + x winetricks
# proceed with the installation of Internet Explorer 6 (you can also install other version of the familiar browser ... see the documentation for the site )
> sh winetricks ie6_full


After the operation can proceed with the ' installing the Flash Player browser plugin:
> winetricks sh flash

Finally, launch Internet Explorer 6 to run the command:
> wine c: \\ \\ Program Files \\ \\ Internet \\ Explorer \\ \\ IEXPLORE.EXE


If you do not work are three cases:

  1. you are among those who copy and paste commands without reading carefully
  2. Qualcuno da lassù vi sta guardando e vi vuol guidare sulla via corretta (lascia perdere IE6)
  3. ritenta tutti i passaggi: forse sarai tra gli sfortunati che vedranno la schermata di accettazione della licenza di Microsoft Internet Explorer






Note:
* Il riferimento (per chi ha letto Dante) lascia intendere la destinazione ultima dell'installazione
** quella in garage, per andare a farci un giro lontano dal computer e nel traffico della città per maledirci della nostra stoltezza: Internet Explorer 6 sotto Linux ….brrr!!

Tuesday, November 30, 2010

What Does It Mean When My Ankles Are Swollen

Quando è il cestino ad essere immondizia


IT speaking in an informal tone, I must confess that the Recycle Bin is a feature labeled with 3 1 i: i Nutile, the Lord and the gnobile.
Let's face it, too, that his real counterpart, the household rubbish bin is just a transit to finish in the landfill, and no one would dream of using it as a container to give the possibility to retrieve the trash after a change of heart.



But that information has become trash now a major placebo effect: it makes us feel safe and relaxed while using the computer. And that's why it was labeled with the third: a programmatic commitment is sufficient to show a "chic" dustbin iconified on the desktop or dock.

But ...
I am a confident person, when I delete files using the awkward key combinations Shift + DEL to throw directly into the landfill (the neglect of bytes / dev / null) ... but with time I have softened and my basket is swelling for the decomposition of giga stored behind an icon that could be representative of our age. The
terabyte of my computer, reflecting well the opulence of this era, it makes me seem unnecessary effort trying the option empty cestino , così la montagna artificiale di “monnezza” si alza di giorno in giorno, fino a quando, un giorno, ci verrà a trovare Caronte per traghettarci laggiù.

Quel giorno, per me, è arrivato; con il file manager aperto su una cascata di directory, SitoA , SitoB , SitoC , SitoD ..., scopro di aver cancellato erroneamente il file index.html sbagliato.
Caronte è arrivato con un traghetto a vapore 2 .
La traversata dell' Acheronte è un viaggio di riflessione; i miei pensieri, all'ombra dell'immensa montagna che si staglia horizon, they search the last time I emptied the trash ever. Do
a generous tip to Charon and say, "Dear 3 wait for the return journey. I go and come back, "but his dark eyes I'm not reassured.
climbs the mountain of waste sorted in alphabetical order and when I come up to the ind .. am, of course, 52 files with the same name.
And here I find the weight of the 3: programmers of my Desktop Environment have neglected, ignored and snubbed the usefulness of the basket and you are clearly assigned to a mere placebo effect so as not to develop anything inside that tolla 4 disegnata con un'impegnativa abilità grafica.
Mi si fa chiara l'ombra dello sguardo di Caronte: nulla qui mi aiuta, non c'è segnata alcuna data di cancellazione, il percorso originario del file... non c'è nessun suggerimento per capire quale file dovrei ripristinare. Per fortuna, la disperazione che rimbalza nella mia scatola cranica, scopre il ricordo riposto di aver conservato un vecchio backup nel server. Corro lontano da quella montagna, non prima di aver incendiato quell'inutile ammasso di byte, e mi rifugio nelle braccia del mio backup.


Cosa mi fa arrabbiare?
KDE 4 sta giocando con i plasmoidi trascurando i servizi base.
Gnome 2.32, after 14 years, announces, as if it were an innovation of the second millennium:
When you view the contents of the basket is a new button in the information bar that allows you to restore selected files. In the basket are also indicated the original location of deleted files and the date on which it was removed .

Hey, where are the new and useful services that would turn trash into something useful?
I do not want a list of dry tons of files, I would be able to view / search for files deleted on the basis of logical criteria (history of erasure, the type of file ,...), features to help me manage that discarica, come potrebbero essere, ad esempio: svuota i file più vecchi di XXX, svuota i file più vecchi di XXX automaticamente, recupera i file (selezionati, o conformi ai criteri di una ricerca) in una cartella di destinazione specificata, ecc...


Sono esigente? 
Sono figlio del 2.0, dove quel 2 sta a indicare che i ruoli sono cambiati : non è più l'utente che deve capire e adattarsi al computer.



Note
1 nella guida Gambero Rosso dei programmatori
2 anche lì i tempi cambiano
3 Caro, diminutive of Charon
4 is a form of expression to indicate a tin, tins ...

Thursday, November 11, 2010

What Do Dg's Do For Initiation

Espressamente per voi le Espressioni regolari for dummy


If you the regular expressions may appear jargon to define those dialogues were born to be said but to be heard, "Hey, how are you?" "There ' is bad, and you? ", perhaps you should reconsider your definition when you have a program that wipes out in front of his eyes while he says, sounding sullen, dull drivel that those are routine.



To make you understand the resentment of the programmer to you, think about the harmony you perceive when you can say "I have regular bowel " and now, after entering into this harmonious state, think of the feeling of seize power by ' expression interlocutor after telling him "I did the Stelvio pass in cycling," Well if you add up the two sensations you might have a vague idea of \u200b\u200bthe pathos that the programmer lives against and regular expressions of his hatred towards you because not participating in the same emotion and idolatry on such magnificence.

Already, the programmer when he hears the expression regular expressions and estasiaticamente inevitably sees before one's eyes the superlative power of strings also this:
'/^[^ 0-9] [a-zA-Z0-9_] + ( [.] [a-zA-Z0-9_ ]+)*[@][ a-zA-Z0-9_ ]+([.][ a-zA-Z0-9_-to ]+)*[.][ zA-Z] {2,4} $ / '
source


As you can see from the above-quoted string, the regular expression represent the most powerful and fastest way to do lexical analysis of a text.


If at this point you are still in the oblivion of that is to say?? evidentemente non avete minimamente colto l'opportunità di poter lavorare meno ...e meglio (ma quest'ultimo aspetto forse interessa a molti meno).


La fatica ai muli

Vi sarà sicuramente capitato di soffrire per un vostro collega, o per voi stessi, quando lo vedete ridotto a un mulo automa, ad esempio, mentre corregge manualmente la punteggiatura di un elenco con centinaia di voci.

Non so a voi, ma a me capita spesso di dover correggere la punteggiatura errata dei punti elenco (ma io non soffro), già perché sovente gli autori dimenticano che un punto elenco dovrebbe avere un'adeguata punteggiatura: ogni voce termina con il punto e virgola tranne l'ultima che termina con il punto.


Un esempio per tutti
Moltissimi editor di testi offrono appunto l'utilizzo delle espressioni regolari, ad esempio se con Writer di OpenOffice dobbiamo provvedere a inserire la punteggiatura dimenticata (il punto e virgola alla fine della voce) in un mastodontico elenco, invece di chinare la testa e digitare a mo' di uomo robotizzato i punti e virgola per ogni voce per le prossime ore possiamo semplicemente e velocemente selezionare l'intero elenco, tranne l'ultima voce (dove metterete il punto), e dal menu Modifica scegliere il comando Cerca e sostituisci .
Nella finestra che comparirà dovrete cliccare sul pulsante in basso Other Options and put the check mark:
  • only in the selection ;
  • Regular expression.

Now, having enabled the regular expressions, you can pick the rules of lexical analysis.
In our case, in Search we will need to tell him to seek the end of each line, to do this simply type the character $ which indicates the end line.
Then in the Replace with field , we tell him to put the semicolon, but, importantly, we must also tell him not to remove the newline, so type the following combination Character:
\\ n
where ; is the character that will be inserted (replace) at each end of the line, and characters \\ n specify to keep (or replace) the end of the line in order to maintain the vertical structure list (otherwise we would end up all the items in a single horizontal line).





And if ...

And if the author turns to rookie of the text had to be corrected manually entered the numbers in front of the item in the list, how to remove it to leave (or enter) only bullet formatting to the editor?
Simple: by using le espressioni regolari !

Compiendo le operazione poc'anzi menzionate, nel campo Cerca scriveremo:
^[:digit:].
Mentre il campo Sostituisci con lo lasceremo vuoto.
Ehi, non dimenticarti infine di cliccare sul pulsante Sostituisci tutto !!

Take It Easy

Quando la pigrizia ti impedisce di leggerti l'help

Ti riporto la pagina di OpenOffice che spiega i caratteri usati per scrivere le espressioni regolari in Writer (ma impara a leggerti gli help):

\\ n boxes \\ n in the text box Search represents a line break was inserted with the key combination Shift + Enter. Find the search term appears only at the end of a word. For example, "love \\>" finds "branches," but not "friends." al termine che compare nella casella Sostituisci con Ad esempio, se inserite "cornice" nella casella e "&finestra" nella casella Sostituisci con , la parola "cornice" viene sostituita con "cornicefinestra". Sostituisci con The code for the special character depends on the font used. To view the codes, choose Insert - Special Character . this trova sia "questo" che "quello". {2} {1,2} {1,} ( ) Defines the characters in brackets for reference. You can then refer to the first referenced in the active with "\\ 1" per second "\\ 2" and so on. For example, if your text contains the number 13487889 and run a search using the regular expression (8) 7 \\ 1 \\ 1, is found "8788". To group terms can also use (), for example, "a (bc)? D" finds "to" or "abcd". In the Replace with box Use the $ (dollar) instead of \\ (double backslash) to replace references. $ 0 used to replace the entire string found. [:alpha:] [:alnum:] [:space:] [:print:] [:cntrl:] [: lower:] Search Options exact area. represents an uppercase character if you selected Search Options exact

Wednesday, November 3, 2010

Yamaha Phazer Idle Adjustment

La preistoria che non si è estinta: i FileManager

One night I woke my wife to tell her that the conception of File Manager is a mistake that makes us still live in the midst of the dinosaurs and that night I found myself to sleep out in the cold, probably in the company of dinosaurs not extinct.
Carattere
Effect / use
Any character represents the character data unless otherwise noted.
.. Represents any single character except the characters a line break or paragraph break. For example, search for "R.ssi" returns both "Smith" and "Russians."
^ Find the search term appears only at the beginning of a paragraph. Any special items (such as empty fields or character anchored frames) at the beginning of a paragraph are ignored. Example: "^ Mario."
$ Find the word sought if it appears at the end of a paragraph. Any special items (such as empty fields or character anchored frames) at the end of a paragraph are ignored. Example: "Mario $".
* Identifies the absence or presence of one or more of the characters preceding "*". For example, "Ab * c" finds "Ac", "Abc", "ABBC", "abbbc" and so on.
+ Identifies one or more characters before "+". For example, "AX. +4" Finds "AXx4" but not "AX4".
will always find the longest string corresponding to the search pattern in a paragraph. If the paragraph contains the string "AX 4 AX4" the entire passage is highlighted.
? Finds zero or a single occurrence of the characters before "?". For example, "Texts?" return "Test" and "Text", and "x (ab the key combination Shift + Enter. To transform the line break in a paragraph break, enter
Search and Replace with , then execute a search and replace.
\\ n in the Replace With text box is a paragraph that can be inserted with the Enter key. \\ t Represents a tab. You can use this expression in the Replace with box
.
\\>
\\ \u0026lt; Find the search term appears only at the beginning of a word. For example, "\\ \u0026lt;love" finds "friends" but not "branches".
^ $ Locate an empty paragraph.
^. Search the first character of a paragraph.
& o $ 0 When you make a replacement, adds the string found by the search criteria in the Search box
. Cerca
Immettendo il carattere "&" nella casella potete modificare gli Attributi o il Formato della stringa individuata dai criteri di ricerca.
[abc123]
Rappresenta uno dei caratteri compresi tra parentesi. [a-e] Rappresenta i caratteri compresi tra le lettere "a" ed "e".
[a-eh-x] represents the characters between the letters "a" and "e" and between the letters "h" and "x".
[^ as] represents the characters between "a" and "s".
\\ XXXXX represents a special character by its hexadecimal code to four digits (XXXX).

Definisce il numero di ripetizioni del carattere che precede la parentesi graffa aperta. Ad esempio, "mol{2}e" trova "molle".
Definisce quante volte può ripetersi il carattere che precede la parentesi graffa aperta. Ad esempio, "mol{1,2}e" trova "mole" e "molle".
Definisce il numero minimo di volte che il carattere che precede la parentesi graffa aperta può ripetersi. Ad esempio, "mol{2}e" trova "molle", "mollle" e "mollllle".
Nella casella Search :
:
Rappresenta un carattere alfabetico. Per cercarne uno usate [:alpha:]+.


[:digit:]
Rappresenta una cifra decimale. Per cercarne una usate [:digit:]+.
Rappresenta un carattere alfanumerico ([:alpha:] e [:digit:]).
Rappresenta un carattere di spazio singolo (ma non altri caratteri di spaziatura).
Rappresenta qualsiasi carattere stampabile.
Rappresenta qualsiasi carattere non stampabile.
represents a lowercase character if you selected
[: upper:]
area.
possible that a misconception is keeping alive the prosperous culture of the "club" as a technological tool most used in the twenty-first century? And my wife does not understand the gravity of this revelation at night?
I still remember the words of my professor: "The HardDisk is like a wardrobe, if you put so much stuff you have to learn to be ordered" ... otherwise you will not find anything: it was a tacit warning that the final I felt back in the '90s (and the harddisk was 40 Mb.)
Case History 1: When the memory betrays
I took the computer in hand after a week of illness, because I had to send a slide to a customer that I had made that last day in office with his head stuck in the loop of influence. Well, I did not remember the name of the file, and especially in which the umpteenth directory / subdirectory that build digital city I had saved my HardDisk.
Nothing serious, just rely on the invaluable research tool
Find File ...
your File Manager.
Not knowing where to look and even the name and file extension (I do not remember if I had saved in pdf, ppt and odp), I did a search simple and focused:
search all files modified between 23 to 25 October 2010

only associated directory
Home
comprensivo delle sottodirectory

e l'autore sono IO (informazione aggiunta per mero scrupolo)


Sotto l'effetto dell'influenza, in quei tre giorni lavorativi avrò al massimo manipolato una trentina di file, pertanto i parametri di ricerca mi sembravano più che adeguati per trovare velocemente il file in questione. Invece no! Lo stolto FileManager mi risponde con un incredibile e disumano elenco di
69'844
file trovati!!!!
    Perché? Perché è stupido, il File Manager ha processato la richiesta in modo elementare, matematico, fisico ma non “umano”. Nella sua ricerca ha considerato anche tutti i file modificati/creati in my name from the system through various programs and services (eg temporary files, backups, cookies, settings ...); as a dear friend would say such
  • Foffi which ignore the existence
  • !
  • Case History 2: ephemeral certainties
  • E 'Friday night, completed a presentation on the morning following my colleague the emailing and run home.
  • sweaty Saturday morning I received a phone call that resonates with the words "the attached file is corrupt!"
  • Strange, control the attachment of the email and resubmission. Soon, a new phone even more wet gutter with these words "The attached file is corrupted !!!".
Encapsulates the file in an archive 7zip and resubmission. Shortly after the same call: "The attached file is corrupt!". I support him and the file on the server I download it via FTP, and here is his worried voice: "The attached file is corrupted !!!".
Something eludes us, and I inquire about his only words: "The attached file is corrupted !!!". She then discovers that his FileManager (I mention no names) does not recognize the file type, therefore, finds himself unable to perform the correct application to open it. In fact, in the name of the file was missing (for my careless omission) extension: the old, hoary and labile how to identify the file through i nomi.
Dovete sapere che i FileManager più seri riconosco il tipo di file semplicemente analizzando la prima riga contenuta in esso, ma.... quante brutte abitudine sono dure a morire e pesano sull'utente ignaro!

Case History 3: nomi a fantasia sequenziale
Trovo un piccolo ritaglio di tempo per manipolare le foto del compleanno di mio figlio. Salvo la prima e il programma mi chiede il nome del file. Digito “Compleanno di Mario”. Salvo la seconda è mi chiede il nome, il soggetto è sempre il medesimo ergo gli attribuisco lo stesso nome “Compleanno di Mario”, ed ecco impuntito il geniale File Manager mi avvisa solerte di un conflitto con un altro file che ha nome uguale.

Unfortunately you can not communicate with the File Manager, otherwise I would have tried to explain that this is an image with the same subject, and if he is confused because I do not worry I'll tell by the preview of ' image. But no, I bent to the imagination of sequential name (pippo1, pippo2, pippo3 ...) I strongly suggested that the File Manager as


evolved.



File Manager: the ancient wardrobe If you ask what is the application you use more could you really answer? Text editors, graphics programs, web browser, email client .... no! is certainly the unnamed
File
Manager (Explorer, Finder, Dolphin, Nautilus ... to name the most famous).
It should be a software specially designed to mediate the tasks of the filesystem (the one that handles any data onto the hard disk) with your needs in order to facilitate the common file operations.

I want to show a gallery of screenshots of some of the most popular and current File Manager:

















change names, Operating Systems, the computer, but I would say that there is little imagination, seem all products from the same concept of "interface for file management." Now I'll take a step back in time, here is the default File Manager in the first visual environment of Microsoft Windows 1.01:


is 25 years, yet, as you might guess from the pictures, the 'evolution of this basic software, the File System, is reduced to mere emotions such as color graphics, icons, transparency ... to the folk management in 3D like this:










File Manager: da armadio a ..comò? Quel vetusto software (il File Manager) è nato stanco e vecchio, il suo ruolo di mediatore è scialbo e pigro. E' inaudito pensare a un software che per funzionare debba usare, oltre alle risorse del computer, anche le risorse dell'utente: la memoria, la capacità di organizzazione...(a oggi, senza la mia memoria non ritroverei alcun file nell'obeso HardDisk). Se un File Manager moderno non mi aiuta a svincolarmi dalla mia memoria, dalla mia capacità di organizzare e strutturare il mio HardDisk (l'armadio) in cassetti e cassettoni per archiviare la mia esagerata mole di file e non riesce nemmeno ad aiutarmi a cercare what can I lose in the vastness of the Gigabyte, I think that it is an anachronism and a source of obstacles for newcomers. In my opinion you forget to "files and folders", will no longer be responsible for assigning unique names and create a maze of subdirectories. The software will (finally) to retrieve and store all the information for easy retrieval of the files using a File Manager which will become ever more like a search engine and the Filesystem to a database engine . Finally, perhaps, its interface will finally dress the role of mediator between the user and the file system. I know ... forgetting the archaic navigation for directories, separately in the first real user files from all the others, showing recently used files, a classification by activity (where the same file may appear in more activities without those hated / misunderstood "links"), a chronological classification by file type, and a nice text box to compose simple and functional questions ...

short, something like (grab the provocation):





Software, ideas and prototypes there are so many .. but lacks the program that puts together all this stuff to review and re-establish the concept and using the File Manager.

Monday, November 1, 2010

Disney Cruise Line Auditions 2010

Fair Auto and motorcycles Padova 2010

Link album on my Facebook - http://www.facebook.com/album.php?aid=14345&id=100001577920187&saved # / album.php? Aid = 14345 & ; id = 100001577920187

Monday, October 11, 2010

How To Open A Lock Combination For A Bag

L'arido 2.0: quando la comunicazione inficia sul comunicare




The communication from the plump cheeks ruddy and fair is the breasts, the store lost property of the old-fashioned transport station.
We all got to read the passionate and adorned with ruminations lexical D'Annunzio, the rich and endless descriptions of Eco, the heartbreaking emotions inlaid in the words of Dostoevsky ... All of us have read more words than are in our vocabulary, we have fluctuated in enriching verbal abstractions of an imaginary enclosed by metaphors and similes and we have to drink to the rich sources.
But only now, I'm starting to focus on the idea that we infelici Utenti, viviamo in una nuova era contrassegnata da quel arido
2
La comunicazione 2.0
Quel arido 2.0 è un segno non tangibile ma concreto che
qualcuno
ha fatto un upgrade di release a quest'epoca. Ma chi è quel
qualcuno ? Siamo io

1

! Siamo noi Programmatori che animiamo una tecnologia impalpabile, invisibile, inodore e in-
PerTuttiGliAltriDeiCinqueSens

i.

Il software è the proponent of that 2.
Software that we limit the number of words, software that encourage us to shorten, condense and impoverish the text, software that translate the Italian text in a "tiled", software that indexes the contents of crumbling texts in empty words, software that "guessing" software that captures the arrogance of reason ... is inevitable, the software is making us change communication. I had read somewhere that the writer (aka Writer ) should not bend the rules of the software (for the semantic web, condensation of keywords in titles, short link
&
long title , statistical analysis of the search words ...), but should continue to educate people in building a harmonious lexical, rather than impoverish the forms in favor of new technologies and arid (-> chewing well the text to make a bolus digestible by a stupid software).
As you can see, I never had the habit of shaping my lyrics to make them juicy, stuffed full of saliva and chewed the eyes of a pretentious

crawler, so I write as a mother made me

.
But perhaps my stubborn economic prose is unusual and only a pompous text that confuses people, from the research done in the web, seems to be clear.
How I came to this conclusion? I used a software! Yes, it looks ridiculous and it is, but I could really use a software to understand, moreover, are a programmer who made a hole a few lessons of Italian for "studying" the mysterious video game software to the sound of coins from $ 500. What

told me this software? Some your curiosity led you here. As you can see the image at the opening, someone / a had the wonderful ability to make a stout web search by dialing (rather than a search phrase like a sonnet spring) these words:


like making love in the butt

Leaving aside an analysis of four cents sull'ignaro / a

a user, the question that I have done is : How is it possible that this blog ranks first in one of the most important search engines? Before even "The FAQ: The session or an ** ** The"??

, and only then, I wondered: how can a person do such a search is tempted to click on the link of this blog to log my words, which reports descriptive as the sum produced by a collegiate Software:

More+: Il didietro di Debian - Programmatore per caso

22 giu 2010 ... Certamente sì. Il bello è che per ora non serve farlo esplicitamente: sta ... Per loro la bellezza estetica è una parte fondamentale del marketing, ... Una comunità volontaria come Debian fa marketing con modalità ...




Certo le frasi come “
Il bello è che per ora non serve farlo explicit "and" A community volunteer "could give points out to anything but ...
not tell me that we are already at the threshold of another new epochal change: the 3.0?
The age of 3.0
will be the era where people now addicted to the modus operandi imposed by the software, developed texts as (and worst) of the crawlers that have brought us the age of 2.0!
Maybe in the eyes of unsuspecting Internet users that 3.0 that my article has given more satisfactory mysterious revelations of an ancient FAQ 2.0.
Finally, the analysis produces a + More Top conclude this post with an inevitable + More Top:

the best that led thirsty surfers in the circle of my readers
.

(I prefer not to classify and comment)



intimacy

Corgnati

you're a ** ses


or butt woman you want to put it behind



the hair of women with much more hair
  • true images of the potatoes and you
  • **
  • of women you like making love in the butt women who do it behind
  • my first time back to women's forum
  • Sooner or later you will say to me: This mio blog, almeno, ha soddisfatto queste vostre inconfessabili curiosità? Vi devo spiegare qualcosa?
  • Note:



1
 No, non è un errore, è una sorta di, passatemi la definizione, “singolare maestatis”

2 
 Ignaro: non consapevole che qualche software potrebbe aver registrato la sua richiesta

Monday, October 4, 2010

Live View / – Axis Reno

All motors show 2010 (Pianiga VE)

Link album on my Facebook - http://www.facebook.com/album.php?aid=14354&id=100001577920187 # / album.php? aid = 14354 & id = 100001577920187


Friday, September 24, 2010

Yellow Lump In Throat

Nginx: alfabetizziamoci con un estratto omeopatico


Provate a leggere ad alta voce, tre volte consecutive, la storia dei Tre Maialini mentre gli occhi cercano di spezzare quella tension that is keeping the lid raised, the language becomes a block of porphyry rose. When this happens, you realize you have a problem to solve, a new challenge, in my case: avoid collapsing the web server, virtualized with 256 MB of dedicated memory, when you try to run the site "Three pigs". nginx
.
While my tongue, swollen and bloated bastard from Italian vowels, twisting in the mouth shyly and quietly to find the correct phonetic form (enghienics, nògincs, ennegienneicsete sitarelli ...), the office, I reveal that the decision of a tongue twister that is a trivial compression "engine x" ... this was to enlighten me on what I was about to face.
The engine undercover, aka Engine X, is blatantly considered the "aspirin" of the web server. Solving any wrong (may be used as a proxy mail), is solid, strong, lean, efficient, fast ... and above all, its architecture is designed to give a winning answer to a problem that afflicts humanity unaware Internal

C10K problem. So advise everyone to install it. You never know, if you fall e vi sbucciate le ginocchia potete sempre farvi una fasciatura con delle stampe dei suoi codici sorgenti.
Secondo le autorevoli stime di Netcraft , Nginx si è guadagnato il terzo posto (4,24% di share) in termini di diffusione (forse il tam tam in Rete dei suoi effetti curativi e placebo ha partecipato in parte a questo successo), diventando a tutti gli effetti la valida, snella e breve alternativa al blasonato “
Apache, figlio di Apollo; Fece una palla di pelle di pollo; Tutti i pesci vennero a galla; Per vedere la palla di pelle di pollo; Fatta da Apelle figlio di Apollo
”.
Come avrete sicuramente notato, Apache
è uno scioglilingua obeso dalle vocali, non istiga alla violenza la nostra lingua, ma si muove con flatulenta prepotenza su server minidotati come il mio (server!!).
Arriviamo al dunque di questo post tecnico (eureka, il primo su questo blog!!) che tutti voi bramate da un Pro Pro Pro
 
Pro 
(no, non è l'audio della flatulenza di Apache sul server minidotato), Pro vvidenziale Pro grammatore
Pro
fessionista Pro vinciale, del mio calibro.

nginx: teoria e pratica Ovviamente, per fare l'amato “uovo fuori dalla cavagna” (Di questo detto non ho mai allargato il mio bagaglio culturale cercando la definizione di “cavagna”; da una veloce ricerca in Internet  il risultato mi lascia perplesso... ma compiaciuto. Happy ignoranza ), ho pensato di iniziare dalla fine per rovinarvi la suspence dell'inizio. Buon inizio Nel mezzo del cammin di nostra vita
mi ritrovai per una selva oscura
ché la diritta via era smarrita.

(Divina Commedia)

Premessa obbligatoria




Un
install nginx sarebbe sufficiente per installare questo web server, e il post ad alto contenuto tecnico sarebbe finito, purtroppo il mio minidotato virtual server must interpret the PHP pages ... and here the fun begins.

The official guide to nginx
relies on a list of sites, pages and blogs of geeks who have found a road works, and yes, there are different ways to run PHP, and everyone autoca declaring himself as "the bearer of an absolute truth. "
Well, the guide for installing nginx + php + mysql + phpmyadmin "absolutely right, better and effective" is written in this post, do not believe others ;-) Initially I wanted to follow the way "declared righteous" but discovered the maze of streets, I thought I'd make myself the criteria for evaluating the method di installazione da seguire:

non compilare alcun software

non usare alcun software che non sia contemplato dai repository ufficiali della distro installata sul server (Debian Squeeze 64 bit) cercare di fare il minor numero di hack (questo la dice lunga su nginx + php)

e, infine, far funzionare nginx+php+mysql+phpmyadmin sul server da 256 Mb
Con questi presupposti, vi scoraggio a cercare nella grande Rete e vi incoraggio a lasciar perdere; se proprio insistete continuate a leggere qui (abbiate un po' di pazienza), che è riportato l'unico, assoluto, magnifico e funzionate “how to install: nginx php5 mysql phpmyadmin”.


    I benchmark: conclusione dell'installazione
  1. Il sito dei “Tre maialini” sta girando sul mio server virtualizzato! Fine.
  2. Ma, adesso che tutto funziona, facciamo delle valutazioni per capire se ne è valsa la pena.
  3. Per un veloce confronto, vista la comodità e velocità di installazione di Apache2 (no comment), ho creato un'altra macchina per eseguire il medesimo compito.
  4. Con questo banale test verifico l'utilizzo
  5. totale
  6. della memoria consumata da tutti i servizi avviati  nei rispettivi server.

Nota: Le impostazioni di Apache, ngnix, PHP e mysql sono state lasciate con i valori di default delle reciproche installazioni.


1) -------------------------------

Stato all'avvio delle due macchine:




Nginx:      247 Mb


Apache2: 239 Mb

2) -------------------------------
Visualizzazione della prima pagina, dopo il login, di PhpMyAdmin, da parte di un'unica sessione di un browser esterno.

Nginx:      316 Mb Apache2: 306 Mb
3) ------------------------------- Navigazione tra le pagine e query di PhpMyAdmin, da parte di tre browser esterni.

Nginx: 309 Mb

with the following details of the individual services they start:

USER PID% CPU% MEM VSZ RSS TTY STAT START TIME COMMAND


root 1 0.0 0.0 8352 808? Ss 10:19 0:00 init [2]


root 212 0.0 0.1 54156 1484? Sl 10:19 0:00 / usr / sbin / rsyslogd-c4

101 223 23 260 0.0 0.0 592? Ss 10:19 0:00 / usr / bin / dbus-daemon - system
root 229 0.0 0.1 49168 1156? Ss 10:19 0:00 / usr / sbin / sshd
root 254 0.0 0.0 3952 648 ? S 10:19 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 365 0.0 2.5 236788 25952 ? Sl 10:19 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --us
root 366 0.0 0.0 3852 624 ? S 10:19 0:00 logger -t mysqld -p daemon.error
root 414 0.0 0.0 30188 956 ? Ss 10:19 0:00 nginx: master process /usr/sbin/nginx
www-data 415 0.0 0.2 30980 2308 ? S 10:19 0:00 nginx: worker process
www-data 425 0.0 0.8 131212 8436 ? Ss 10:19 0:00 /usr/bin/php5-cgi
www-data 435 0.0 1.6 140536 16248 ? S 10:19 0:00 /usr/bin/php5-cgi
www-data 436 0.0 1.6 140800 16448 ? S 10:19 0:00 /usr/bin/php5-cgi
www-data 437 0.0 1.6 140800 16288 ? S 10:19 0:00 /usr/bin/php5-cgi
www-data 438 0.0 1.4 138716 14632 ? S 10:19 0:00 /usr/bin/php5-cgi
www-data 439 0.0 1.5 139752 15472 ? S 10:19 0:00 /usr/bin/php5-cgi
www-data 440 0.0 6.1 140 532 16 236? S 10:19 0:00 / usr/bin/php5-cgi
root 484 0.0 0.0 20 904 952? Ss 10:19 0:00 / usr / sbin / cron
root 856 0.0 0.0 18 624 624? Ss 10:48 0:00 vzctl: pts / 0
root 857 0.0 0.1 17688 1876 pts / 0 Ss 10:48 0:00-bash
root 864 0.0 0.1 14812 1040 pts / 0 R + 10:49 0:00 ps aux
Apache2: 368 Mb
with the following details of the individual services they start: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 8352 808 ? Ss 10:19 0:00 init [2]


root 211 0.0 0.1 119692 1496 ? Sl 10:19 0:00 /usr/sbin/rsyslogd -c4

101 222 0.0 0.0 23260 592 ? Ss 10:19 0:00 /usr/bin/dbus-daemon --system
root 228 0.0 0.1 49168 1136 ? Ss 10:19 0:00 /usr/sbin/sshd
root 253 0.0 0.0 3952 648 ? S 10:19 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 364 0.0 2.5 171240 25748 ? Sl 10:19 0:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --us
root 365 0.0 0.0 3852 624 ? S 10:19 0:00 logger -t mysqld -p daemon.error
root 443 0.0 0.0 20904 952 ? Ss 10:19 0:00 /usr/sbin/cron
root 460 0.0 0.9 181832 9584 ? Ss 10:19 0:00 /usr/sbin/apache2 -k start
www-data 514 0.0 1.6 189428 16800 ? S 10:19 0:00 /usr/sbin/apache2 -k start
www-data 515 0.0 1.1 184652 11872 ? S 10:19 0:00 /usr/sbin/apache2 -k start
www-data 516 0.0 1.1 184628 11344 ? S 10:19 0:00 /usr/sbin/apache2 -k start
www-data 517 0.0 1.2 185656 12828 ? S 10:19 0:00 /usr/sbin/apache2 -k start
root 572 0.0 0.0 18624 620 ? Ss 10:21 0:00 vzctl: pts/0
root 573 0.0 0.1 17688 1876 pts/0 Ss+ 10:21 0:00 -bash
www-data 584 0.0 1.8 191132 18288 ? S 10:24 0:00 /usr/sbin/apache2 -k start
www-data 585 0.0 1.5 188788 16012 ? S 10:24 0:00 /usr/sbin/apache2 -k start
www-data 588 0.0 1.6 189044 16384 ? S 10:24 0:00 /usr/sbin/apache2 -k start
www-data 589 0.0 1.1 184628 11736 ? S 10:24 0:00 /usr/sbin/apache2 -k start
www-data 731 0.0 1.2 185652 12660 ? S 10:35 0:00 /usr/sbin/apache2 -k start
root 735 0.0 0.0 18624 624 ? Ss 10:38 0:00 vzctl: pts/1
root 736 0.0 0.1 17688 1876 pts / 1 Ss 10:38 0:00-bash
www-data 895 0.0 0.6 181 832 6160? S 10:47 0:00 / usr/sbin/apache2-k start
www-data 896 0.0 0.6 181 832 6160? S 10:47 0:00 / usr/sbin/apache2-k start
www-data 897 0.0 0.6 181 832 6160? S 10:47 0:00 / usr/sbin/apache2-k start
root 899 0.0 0.1 14812 1032 pts / 1 R + 10:47 0:00 ps aux
The "Aspirin" ( nginx alias) has disappointed my expectations. Initially Apache2 is more light, in terms of memory occupied, compared to the much-praised nginx. Of course, the Mediterranean diet
nginx you start to appreciate when multiple clients are connected simultaneously to the browser the web server. But with a good optimization settings Apache2, and considering that my minidotato server will connect more than 10 clients, only to manage the control panels of the machine on the internet, and therefore do not ever find out what the infamous C10K problem, I would say that the shaking below me I could easily spare.
Who makes us do: Finish installation For people who need using PHP and did not have the fear of C10K problem, I believe that the purchase of a bank of RAM to meet the calorie Apache2 is the best solution. Considering that the architecture of Apache in the view of the dynamic page should be more reactive, in addition to ease of installation, the wealth of documentation, vast potential and ease and confidence with which you can install a wide variety of sites / web services: phpmyadmin, wordpress, joomla, drupal, etc ...

I can only say, "why are you still going to read my precious
Manual for installing nginx with php, mysql and phpmyadmin
that follows soon? "(still has some 'patience, the text is highly technical!).

WARNING: at the end, my commitment to install a panacea for all ills (aka nginx ) I was not able to overcome the initial challenge:
avoid collapsing the web server, virtualized with 256 MB of dedicated memory, when you try to run the site of the "Three pigs"
.

There takes at least 512 Mb to run phpmyadmin

(aka "Three pigs")!

How To: Codest document highly technical coveted NB: Installazione testata su Debian Squeeze, 64 bit
Installazione nginx con php Installare i seguenti pacchetti per avere anche il supporto php:
apt-get install nginx php5-cli php5-cgi spawn-fcgi mysql-server


Eseguire il seguente comando:



echo "console output" >> /etc/init.d/nginx


Avviare il servizio di nginx:
/etc/init.d/nginx start


Creare lo script di avvio di fastcgi per eseguire PHP:

vi /usr/bin/php-fastcgi

e scrivere all'interno del file il seguente testo:


#!/bin/sh
/usr/bin/spawn-fcgi -a 127.0.0.1 -p 9000 -C 6 -u www-data -f /usr/bin/php5-cgi



NOTA del 15/11/10:
 

l'opzione
-C

6
al comando sopra citato specifica di utilizzare 6 processi figli aggiuntivi per servire le pagine PHP, quest'opzione è utile per servire più connessioni. Non inserendo quest'opzione non si avranno processi figli: scelta ottimale per risparmiare memoria al sistema where the links were limited. Assign the correct permissions to the file created: chmod a + x / usr / bin / php-fastcgi Create the script for the automatic management of the service: vi / etc / init.d / php-fastcgi within the file and write the following:


# / bin / bash


# # # BEGIN INIT INFO


# Provides: php-fastcgi

# Required-Start: $ all
# Required-Stop: $ all
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start and stop php-cgi in external FASTCGI mode
# Description: Start and stop php-cgi in external FASTCGI mode
### END INIT INFO
PHP_SCRIPT=/usr/bin/php-fastcgi
FASTCGI_USER=www-data
RETVAL=0
case "$1" in
start)
   su - $FASTCGI_USER -c $PHP_SCRIPT
   RETVAL=$?
   ;;
stop)
   killall -9 php5-cgi
   RETVAL=$?
   ;;
restart)
   killall -9 php5-cgi
   su - $FASTCGI_USER -c $PHP_SCRIPT
RETVAL = $?
;;
*)
echo "Usage: php-fastcgi {start chmod 755 / etc / init.d / php-fastcgi
allows the automatic execution of the script: update-rc.d
php-fastcgi defaults
Start the service: / etc / init.d / php-fastcgi start
to allow php to read the pages you need to change your domain settings. In my case, hosting a single domain, use the configuration file for the default domain.
vi / etc / nginx / sites-available / default and add the following lines:
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
location ~ \\. Php $ {



FIX # verify the existence of the requested file to avoid security breaches if ( ! REQUEST_FILENAME-f $) {
return 404;}




root / var / www


fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $ DOCUMENT_ROOT $ fastcgi_script_name; includes fastcgi_params;}




NOTE: The FIX has been added due to the presence of a flaw Security in FastCGI:


here you can find more information about .
You can also specify the root directory of the Web sites and to indicate the default index page, here's an example:
location / {root
/var/www;

  index index.html index.htm
;

  fastcgi_index  index.php; }



Per verificare in funzionamento creare una pagina php di prova:

vi /var/www/index.php
e scrivere dentro il seguente testo:




Successivamente navigare all'indirizzo del server (ES: http://indirizzoIP/index.php ) con un browser per testare se la pagina php viene letta correttamente. Dovreste visualizzare una pagina simile a questa:

Installazione phpmyadmin Purtroppo non è stato facile capire come fare, senza caricare phpmyadmin nella document root del web. Ma è possibile seguendo questa guida:
Installare il pacchetto dai repository : apt-get install phpmyadmin
verranno fatta delle domande, nella lista dei server web non compare nginx (e te pareva!), pertanto ho selezionato casualmente apache (ma credo sia meglio non seleziona nulla).

Finita l'installazione per fare funziona phpmyadmin all'indirizzo
http://localhost/phpmyadmin , visto che non c'è l'installazione dedicata per nginx, bisogna procedere con i seguenti passi:
Aprire il file di configurazione del dominio (continuo ad usare quello di default):

vi /etc/nginx/sites-available/default
e aggiungere le seguenti righe:
        location /phpmyadmin {                 fastcgi_index  index.php;

               index index.php;
        }


        location ~ ^/phpmyadmin.+.php$ {
                fastcgi_pass   127.0.0.1:9000;

                fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;


                include fastcgi_params;
        }





Infine riavviate i servizi: /etc/init.d/nginx reload


/etc/init.d/php-fastcgi restart
e provate a collegarvi all'indirizzo 
http://indirizzoIP/phpmyadmin . Buona navigazione.
Ringraziamenti
Questa preziosissima guida è frutto di: un abile copia e incolla, imprecazioni (tante), prove e cocciutaggine personale. Pertanto si ringrazia tutti quelli che hanno nascosto una traccia importante nelle loro guide o quelli che avevano esigenze chiaramente diverse dalle mie... o guide per altre piattaforme.
Vorrei citare tutte le possibili sources, but they are too short and simple with an inspiring quote!