networking

This is a page from my book, Functional Programming, Simplified

Networking

“Grasshopper, know yourself, and never fear thus
to be naked to the eyes of others.
Yet know that man so often masks himself.”

From the Kung Fu tv series

I’m a technical person. I was trained as an Aerospace Engineer, and taught myself to be a computer programmer and systems architect. I don’t really like small talk. I’m an introvert, not a networker. I don’t like networking at all. I don’t even like the word “networking.”

This is a page from my book, Functional Programming, Simplified

Section 3: Marketing

When it comes to the overall set of skills that define “consulting,” marketing is my weakest topic, which is the main reason it’s the third section of this book instead of the first.

Marketing is a little bit of a weakness for me because I was fortunate to start working for one consulting firm in Louisville, Kentucky in 1993, where I made a number of important contacts. When I later started my own consulting firm in 1996, I got back in touch with a few of these clients, and eventually did millions of dollars of business with them.

How to use PHP curl and curl_setopt with JSON web services

Here are two PHP scripts I just wrote that use curl and curl_setopt. The first example makes a GET request, and the second example makes a POST request, and passes JSON data to the web service it accesses.

A PHP curl GET request

This first one makes an HTTP GET request and prints the data that is returned by the URL that it hits:

Restart Mac OS X networking (AirPort) from the Mac command line

It looks like there may be a couple of ways to restart Mac networking -- AirPort to be specific -- from the Mac command line. The first is the old-school approach of using the ifconfig command. This command shuts down the en0 or en1 interface, which is typically the AirPort wireless interface. On my MacBook Air it's en0, so I'll show that here:

sudo ifconfig en0 down

You bring it back up/online in the same way:

'Why is my Mac slow?' - How to debug Mac (some) networking problems

A lot of times when I'm asked to debug a Unix, Linux, or Mac OS X system, I'll hear a complaint like "The network seems slow", or just "It seems slow", followed by the usual "What is it doing?"

I actually think that last question is a wonderful one: What is this computer doing?

You can see a lot of information about Unix processes using the ps command or the top utility, but it seems like many system administrators don't know how to find networking information, at least not without a network sniffer.

Social networking - Who do you trust?

I've been trying to do a lot of things lately to make my "social networking" life easier, but technology keeps beating me down. Yesterday I created some Safari web clips so I could see Twitter, Facebook, and several other web pages on my Mac dashboard (dashboard widgets), but the Twitter and Facebook web clips kept crashing, so after several tries, I gave up.

What the Bleep is my Mac doing?

In my new office setup my network router is now within eyesight of my desk, and even when I just have my iMac running, I can see the lights on the router constantly flickering, including the incoming and outgoing traffic lights. When I see this, I wonder, "What the Bleep is my Mac doing?" What is it downloading, or uploading?

iPhone 3G iOS 4 performance issues

Immediately after I installed iOS4 on my iPhone 3G I reported that it seemed surprisingly fast. However, within two days, whatever pleasant surprise I felt about my iPhone 3G iOS performance came crashing down, and I do mean crashing.

The iPhone iBooks application, for example, crashes, a lot. Try to open a PDF in iBooks? Crash. Try to read a book? Crash. Time to wait for iBooks to open after you've downloaded 10 eBooks? I have no idea, I'm not that patient.

The Facebook app on my iPhone 3G w/ iOS 4? It crashes at least once out of every five startups.