-
Fraknestein MacBook
Ho giá parlato del mio fido MacBook Mid 2009 da 15 pollici che ancora funziona…la batteria è andata alle cozze ma il MacBook ancora si accende fiducioso, con il suo disco SSD al posto del lettore CD.
Approfittando dei saldi Amazon ho comperato un secondo hard disk ssd di mezzo tera, dal costo di appena 25-30 euro, per rimpiazzare l’hard disk meccanico che iniziava a dare segni di usura, poverino (raramente sembrava non partire, e cmq era l’ultimo pezzo meccanico ed era meglio toglierlo).
Read More -
After years, I decided to try a FreeBSD fresh install, to revive a old MacBookPro: the results was great and impressive, also if you think the hardware is over 15 years old. I want to share with you my success.
Read More -
On 2023 Ubuntu 18 LTS support will end, so I started to evaluate the next LTS release, Ubuntu 20.
Read More -
Bash support tcp connection out of the box :)
So you can write something like
#!/bin/bash webhost="gioorgi.com" exec 5<>/dev/tcp/$webhost/80 echo -e "GET / HTTP/1.1\\r\\nHost: $webhost\\r\\nContent-Length: 0\\r\\n\\r" >&5 # get reply: HTTP/1.1 301 Moved Permanently^M cat <&5
-
Assembly: the only way
In principle there was only one: assembly machine language. Hardware and software engineer was a one-role.The guy who was able to project a chip, was the one who was able to program it.
Then Fortan (1957), the first high level language compiler was created.
Read More -
Do you have cygwin base install right? So no dos2unix…you can convert a windows file to unix format with a small tr command like
tr -d '\\
15\\32' < winfile.txt > unixfile.txtI prefer the awk way of life:
[bash] awk ‘{ sub("\r$", ""); print }’ winfile.txt > unixfile.txt awk ‘sub("$", "\r")’ unixfile.txt > winfile.txt [/bash]
Read More -
"The most dangerous phrase in the language is, We’ve always done it this way" - Grace HopperI am a very happy owner of a RaspberryPi Model B 2, a quad core ARMv7 computation unit for a price between 45 and 35 €.
If you plug only a network cable it can be powered by a USB port of your router (!avoid putting on it other USB stuff, because the energy drain can be too much).
RaspberryPI is a perfect all-time-running machine, just follow this smart guide…
Read More -
Debian perfect work environment
Sep 28, 2014 · 3 min read ·
Working in a big company, my work laptop came with MS-Windows7 Enterprise installed. But as you imagine, Unix is my preferred desktop environment. So let’s how to configure a perfect Debian Linux for a old wolf consultant like me. You will be able to install commercial software mubmo jumbo like Oracle Express and IBM Websphere in a snap, and have a 64 rock solid system, easy to bring in a USB stick if you like.
Read More -
Bash scripting has evolved a lot in the last ten years.
I get used to relay on bash for all normal “data domination” tasks (like file system refactorings, database extraction and reporting and so on) and switching to python/ruby/perl when the complexity gets bigger. I didn’t imagine bash is even more powerful :) This article by Robert Muth so you new nice tricks: I add here some other like mapfile and stress the most important one.
Update 2016 Last but not least,if you do now know about bash history, this link will teach you a huge set of tricks Updated 2019 Bash Bible will further extend the topic.
Read More -
Fare il cloud da zero: cloudStorm
Aug 9, 2010 · 3 min read ·
A Gioorgi.com ci siamo già occupati di argomenti prettamente sistemistici come la virtualizzazione di ambienti Unix. Visto il successo del Cloud Computing, abbiamo pensato di tornare sull’argomento.
In questo articolo mostrerò come creare insieme di macchine configurate in modo omogeno, con il minor effort sistemistico possibile. Si tratta di un primo esercizio molto semplice.
Seguiteci…
Read More -
To convert an Emacs buffer from DOS line endings to Unix, type C-x [ENTER] f unix [ENTER].
-
Quick Look is a package to collect system statistics and output pretty graphics and (X)HTML pages. It allows system administrators to have a quick look on the status of their systems, without going for a more advanced (and heavier) solution.
Quick Look currently shows…
CPU and memory usage
Read More -
Working for a very big customer, I found a very nasty interaction between Sun HttpClient (JDK 1.4) and Http Load Balancers.
In a complex network environment, sometimes you can experience low level TCP/IP comunication errors, because sometimes HttpClient get confused and hangs.
The bad behavior of Sun HttpClient is well known: some guys suggested me to use the Axis Web Client. Anyway you can solve the issue adding these three parameters to the JVM launch line
Read More -
After my past experience with bad hosting provider, I am happy to say I have find a very good hosting service. If you need VPS hosting, Rimuhosting is a very good choice.
After about two years with Rimuhosting, I can summarize their feature here:
- They have a very good entry-price for a virtual hosting
- System aministrator has a very prompt response: on every issue I get support in 24 hours, also on Sunday
- Rimuhosting uses a Xen virtualization mechanism which is very effective. I have tried other virtualized solution, which are worst.
- Java hosting works well, without problems.
- The default Bandwith is very huge (30GB). There is also an automatic backup and a remote web-based shell out-of-the-box.
- You can choose between high-end Linux distribution (like Red Hat enterprise) and free one.
-
Dynamic languages troubles
Jan 30, 2008 · 3 min readblog-objectsrootcom en software · again ant api arc build business car code complex database design easy eclipse example fix hard hosting http ibm import java lion microsoft perl php plugin project projects python ruby simple small smalltalk sql system tools trouble ui unix war web world·
I have read http://www.manageability.org/blog/stuff/chandler-failure and I think it is very danger way of exposing concepts.
In the article pointed out, the quite dead Chandler project is compared to the multi-billion Eclipse project. And then a too easy analysis is done against dynamic languages, where Java is the absolute winner.
Read More