Archive for category Apple
Steve Jobs at the D8 Conference and His Comments on Journalism
I was just watching the interview with Steve Jobs at the D8 Conference on iTunes. Around 41 minutes into the interview, there is a discussion about how the iPad is going to help journalists.
Jobs makes his second hint in the interview of his distaste for bloggers. His first happened earlier when they were discussing Gizmodo’s blogger who published pictures of the new iPhone. One could tell that he was a bit bitter about that situation, and he made comments that showed that in his opinion blogging is not journalism.
I totally agree with this point. Blogging isn’t journalism by default. As the interviewers pointed out, however, many journalists have turned to blogging as their medium of choice.
During the discussion of the iPad, Jobs points out that he doesn’t want to see us become a nation of bloggers. He states that he wants to help publications like the New York Times and the Washington Post sell their news.
Here is what I don’t agree with. These publications are failing because they have not been providing good journalism. All I see from the media, including news papers, is biased rhetoric or celebrity junk. Bloggers are doing the same, but I’ve found that in the bee’s hive that is the blogosphere, there is actually some good content. Some of that content is much better than the junk our fine journalists at CNN and such have been reporting.
If these publications want to make money, they should advertise. That’s where most of their money comes from anyway. They don’t make a ton from News Paper sales. They make enough there to pay for the materials and printing costs. Advertisements are where the money is at. They know that. They should just work on their advertising model.
Warning: simplexml_load_file() [function.simplexml-load-file]: URL file-access is disabled in the server configuration
Posted by Randy in Apple, Internet, Programming, technology, Web Development on September 24, 2009
If you’ve seen that error message you’ve probably happened upon a security feature that your shared web hosting provider has enabled. There are a few work-arounds for this error but most require you to have certain privileges on the server that you probably don’t have. Quite frankly, if you are getting these errors you probably don’t have the ability to change these settings yourself.
Rather than try to get the provider to change these settings (let’s face it, they have this enabled for a reason and surely someone else has already tried to get this changed, right?) one can easily get around this with Curl. In most cases, curl will be enabled on the server. So here is the quick and dirty way to get around it:
Create a PHP file and name it anything you want. For the sake of this article we’ll refer to it as curl_functions.php. In this file put the following functions:
<php function setupMyCurl() { $myCurl = curl_init(); $temp = curl_setopt($myCurl, CURLOPT_RETURNTRANSFER, 1); return($myCurl); } define("myCurl", setupMyCurl()); function curl_get_contents($url) { $temp = curl_setopt(myCurl, CURLOPT_URL, $url); return(curl_exec(myCurl)); } ?> |
Include or require this file. Then, all you have to do is use the curl_get_contents($url)
in your code to pull in the xml to a string. Then use the simplexml_load_string()
instead of simplexml_load_file()
. This will give you the same results but works around the url fopen feature. If you don’t have curl enabled on your host, GET ANOTHER HOST. 🙂
Slow wifi on iPhone 3GS
Posted by Randy in Apple, Internet, Networking, technology, Tips on July 24, 2009
I bought a new iPhone 3G S yesterday. These things are very nice, and I’m not an Apple fan boy by any stretch. One thing that was bugging me, however, was the slow speed I got a very high quality landline phone service so I was getting from the wifi. I was getting faster speeds from the 3G network than my home wireless, and this is while I was sitting right next to the router, so it wasn’t a signal problem.
I found the solution to this after reading through many, many forum posts. I saw others were having the same problem as me and were getting responses from people like “reboot the router” or “reset your network settings on the iPhone.” This is all well and good and I’m sure those people meant well but there was a big problem with their responses.
First of all, everyone having this trouble said that the wireless worked fine on their computers but not on the iPhone. Secondly, there aren’t many settings to “reset” inside the iPhone’s network settings. There’s just not anything in there that would cause this type of issue.
The solution to the problem ended up being an advanced setting on the router itself. From what I can tell of the issue and it’s solution, the iPhone’s wifi is just a bit more picky than a standard PC wifi device. Here are the settings I eventually had to change on my Netgear router.
The important items here are the fragmentation threshold and the CTS/RTS threshold. Each of these were set to their max value previously. After changing these two settings, my iPhone started working like a champ.
If you are experiencing the same problems with your iPhone or iPod Touch’s wifi, change these settings on your router. Also note, these settings have slightly different names on some routers. Refer to your router’s manual for more info.
Edit: I’ve gone much lower with these number with much success for my less powerful mobile devices. Going too low does seem to cause issues with more powerful computers on the wireless network. Test this out with lower settings and post your success or failures in the comments.
[phpbay]mac mini, 5, “”, “”[/phpbay]
The Best Dock for Linux
Posted by Randy in Apple, Linux Stuff, Open Source, technology on July 5, 2009
I’ve been looking for an OS X-like dock bar for Linux for many years. For a while, I used the launcher applet in gdesklets. It works without x-composite and pretty nice, but gdesklets can be a resource hog at times. Most of the gdesklets are written in Python if I’m not mistaking and Python, being an interpreted language, uses much more system resources than a native compiled application.
My next dock was AWN, or Avant Window Navigator. At one point, possibly the present, Google was involved with this project. Again, this is if I recall correctly. AWN is very nice, however, it only works if you are using the composite extension in X, as in Compiz/Beryl/Compiz Fusion. It’s very customizable and behaves much like the OS X dock.
There’s one part of the OS X dock that I really like that isn’t quite the same in these docks however. The fish-eye zoom of icons on the dock is a trademark of OS X. AWN and the launcher in gdesklets both have a zoom function but it’s just not the same.
I recently discovered that there is a great dock pretty much hidden away in a program called Gnome-Do. Gnome-Do itself is a cool search app for gnome. It’s somewhat like a KDE app I remember that lets you launch programs by hitting a keyboard shortcut and then typing the name of the app. I can’t remember the name of that app at the moment though. Gnome-Do does exactly that. One can type super(windows key) and the space bar to bring up Gnome-Do.
Of course, you will have to install it first though. After it is installed, simply run the application and go to the preferences for it. Change the appearance to “Docky”. Voila, the best dock you’ve ever had in Linux will appear. Play with it and you’ll soon see that this is very close to the OS X dock experience.
Where can I purchase an iPhone?
Last month I bought a Nokia N810. At first, I debated getting an Apple iPod Touch. To be honest, if the local retailer would have had some 16gb versions in stock, I would have probably went ahead and purchased one there. After going over what I wanted out of that type of device, I decided on the N810. For most other people I would suggest the iPod Touch or an iPhone.
There are a lot of people looking for iPhone’s and iPod Touches on the net. Everyone wants a good deal on them. The deals aren’t hard to find, you just have to know where to look guide to getting a loan. For instance, these are about the best one can find (clicking the links will take you to a site full of iPhones of all types):
[phpbay]Apple 3G iPhone, 6, 293, “case dock sportsuit holster clock cable wall transmitter sleeve skin sock nano earphone charge mount griffin LCD battery faceplate speaker charger speakers cradle belkin headphones headset”[/phpbay]
Anyone who wants to purchase an iPhone online, should check out these deals first. Plus, a lot of these phones have already been unlocked. Unlocked iPhones can be used with any carrier.
There are many imitation iPhones as well. The BlackBerry Storm is one of them. Blackberries are much more popular with the business crowd, or at least have been in the past due to the full QWERTY keyboards. They have also been integrated into the business environment much better. A company I used to work for used Blackberries along with their Lotus/Domino servers for mail, calendar, and other databases. This allowed people on the go to access all their appointments and contacts from anywhere. Unfortunately, the Blackberry Storm hasn’t recieved the best reviews, and it doesn’t have the features that business users looked for and received in the past with a Blackberry.
iPhones make great personal media devices, PDA, and (don’t forget) phone. If you’re in the market for one, go grab yours today. Also check out this site for more great deals.