Monday, September 24, 2012
Saturday, September 22, 2012
The Go programming language
Just installed the Go programming language on my iMac.
$ sudo port install go
---> Computing dependencies for go
---> Fetching archive for go
---> Attempting to fetch go-1.0.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/go
---> Attempting to fetch go-1.0.2_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/go
---> Attempting to fetch go-1.0.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/go
---> Fetching distfiles for go
---> Attempting to fetch go1.0.2.src.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/go
---> Verifying checksum(s) for go
---> Extracting go
---> Configuring go
---> Building go
---> Staging go into destroot
Warning: go installs files outside the common directory structure.
---> Installing go @1.0.2_0
---> Activating go @1.0.2_0
---> Cleaning go
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
$ go version
go version go1.0.2
$ sudo port install go
---> Computing dependencies for go
---> Fetching archive for go
---> Attempting to fetch go-1.0.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/go
---> Attempting to fetch go-1.0.2_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/go
---> Attempting to fetch go-1.0.2_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/go
---> Fetching distfiles for go
---> Attempting to fetch go1.0.2.src.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/go
---> Verifying checksum(s) for go
---> Extracting go
---> Configuring go
---> Building go
---> Staging go into destroot
Warning: go installs files outside the common directory structure.
---> Installing go @1.0.2_0
---> Activating go @1.0.2_0
---> Cleaning go
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
$ go version
go version go1.0.2
Posted by WidgetBook at 11:38 0 comments
Labels: Go, Programming
Wednesday, September 19, 2012
Saturday, September 15, 2012
If someone want professional work
"It's true, if someone wants professional work, then he will need to hire professionals. But it's also true that as amateurs are happy to do the work that professionals used to charge for, the best (and only) path to getting paid is to redefine the very nature of professional work."
Read the rest here.
Read the rest here.
Posted by WidgetBook at 21:11 0 comments
Labels: Blog
Friday, September 14, 2012
My articles for the August 2012 MacTech issue
1st article
Title: An introduction to gdb
Subtitle: How to use the GNU debugger
2nd article
Title: The tcpdump network utility
Subtitle: How to capture network data using tcpdump
and yes, there is a 3rd article! (co-author: Christos Karidis)
Title: Installating an SSD drive on an iMac
Subtitle: Replacing the HD of a late 2009 27-inch iMac with a SSD
You can imagine how happy I am :)
Title: An introduction to gdb
Subtitle: How to use the GNU debugger
2nd article
Title: The tcpdump network utility
Subtitle: How to capture network data using tcpdump
and yes, there is a 3rd article! (co-author: Christos Karidis)
Title: Installating an SSD drive on an iMac
Subtitle: Replacing the HD of a late 2009 27-inch iMac with a SSD
You can imagine how happy I am :)
Posted by WidgetBook at 15:29 0 comments
Wednesday, September 12, 2012
(personal) iPhone 5 FAQ
1. Will you buy the new iPhone 5?
Yes!
2. When?
As soon as it comes in Greece.
3. Why?
It is my job. I write software for iOS, I write articles for iOS and I want both a bigger screen and a faster CPU.
4. Which iPhone are you currently have?
I have an iPhone 4.
5. Thanks.
Thank you too!
Yes!
2. When?
As soon as it comes in Greece.
3. Why?
It is my job. I write software for iOS, I write articles for iOS and I want both a bigger screen and a faster CPU.
4. Which iPhone are you currently have?
I have an iPhone 4.
5. Thanks.
Thank you too!
Posted by WidgetBook at 22:10 0 comments
Tuesday, September 11, 2012
Monday, September 10, 2012
Old binary format
$ file test
test: Mach-O executable ppc
$ ./test
-bash: ./test: Bad CPU type in executable
Posted by WidgetBook at 09:11 0 comments
Labels: PowerMac G5, Programming
Sunday, September 9, 2012
Friday, September 7, 2012
Tuesday, September 4, 2012
Monday, September 3, 2012
Changing bash shell history size
In order to change the bash shell history size and history file size, I added the following two lines inside .bash_profile file.
HISTSIZE=10000
HISTFILESIZE=10000
HISTSIZE=10000
HISTFILESIZE=10000
Posted by WidgetBook at 20:18 0 comments
Saturday, September 1, 2012
Subscribe to:
Posts (Atom)