• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Archives for November 2013

Chromecast Adds HBO Go

November 21, 2013

Google announced today that it can now stream HBO Go to Chromecast from both iOS and Android devices. Google is slowly adding the pieces together in making Chromecast a formidable streaming option. Priced at just $35, it’s an attractive buy considering the competition from Roku, Apple TV and others.

At this moment, Chromecast can now stream from Pandora, Hulu Plus, Netflix, and YouTube. In time, more and more services will be added in the future. In a year or two, we will see a much longer list of streaming services. Google should add sports programming next. NFL, NBA, MLB, NHL and MLS would be nice.

My only gripe about Chromecast is streaming local files. Technically, it’s possible by dropping them into the Google Chrome browser, but it’s not optimized for streaming. Video quality and delays are common issues. Chromecast initially supported access to local files, but Google removed it, but they did promise to put it back.

Filed Under: Linux Tagged With: chromecast

PHP.net New Design

November 20, 2013

PHP.net revealed its brand new website design today. PHP.net is the official website of PHP. The redesign is based on HTML5, Google Fonts, and Bootstrap. The website’s layout is a typical Bootstrap-centered layout with a top menu level. It’s both simple and elegant. The website color scheme remains purple, but the colors have been lightened a bit according to the PHP.net designers. The font of choice is “Source Sans Pro” making the website’s font much more smoother and softer to read. The PHP code examples are more readable.

In addition, the PHP documentation has also been redesigned. It’s a drastic improvement over the previous design. It’s easier to navigate and read, making the reading documentation fun again. The new design has been a long time coming. The older design was showing its age. The website seemed stuck in time ten years ago. So, kudos to the PHP Group and to those who were involved for making the bold move. There’s no doubting now, PHP is truly the most popular language of the web.

Filed Under: CSS, HTML, PHP Tagged With: php.net

CodeAcademy

November 20, 2013

If you want to learn how to develop websites, visit CodeAcademy.com. In about several dozen exercises or so, you can quickly learn how to write code in different languages that empower the web. Courses in HTML/CSS, PHP, Javascript, Python, Ruby, and APIs are being offered. The program is geared towards people with no programming experience, but challenging enough for those with some programming experience.

The programs are designed to get you started, and to get your feet wet. It’s by no means a be all exhaustive programming experience. The CodeAcademy exercises are designed to get you introduced to the basics of each language. If you’re looking for a programming experience that is exhaustive, extensive and covers intermediate and advanced levels, CodeAcademy is not this program. There are other certification programs offered for a handsome fee.

CodeAcademy programs are free.

Filed Under: CSS, HTML, JS, PHP Tagged With: codeacademy

2 Million Raspberry Pi

November 18, 2013

Sales of the popular and highly successful Raspberry Pi have hit the two million units last week. The creators of the $35 credit-card sized computer initially planned to sell a 1000 units. It took a year to sell the first million and 8 months to sell the second. I bought two units myself last year. Raspberry Pi have been introduced to schools to teach kids how to program. There are many uses for Raspberry Pi. The Linux-based units are used in variety of ways from running websites, mail servers, print servers, media servers, DNS servers, as well as automation. Raspberry Pi users have found different uses for the open-sourced units from running bars, as a translator, for ordering pizzas, etc.

Following the success of the Pi, there are other projects worth checking into in 2014.

Filed Under: Linux Tagged With: raspberry pi

Xcode Reinstall on Mavericks

November 13, 2013

I’ve been using Mac OS 10.9 Mavericks for a couple of weeks now. So far, so good. No issues whatsoever. There were several updates that followed the OS upgrade. Updates to iTunes, iMovie, iPhoto were the obvious ones, plus a couple of other small applications that were also updated as a result of the OS upgrade.

I happen to use Git for version control for my software projects. One thing I noticed after upgrading to Mavericks, Git stopped working completely. I tried to do a git pull, and I was met with this error, “xcode-select: note: no developer tools were found at ‘/Applications/Xcode.app’, requesting install. Choose an option in the dialog to download the command line developer tools.”

The cool part about all this is, Mavericks immediately recognized the problem and offered to correct it by asking the user to proceed with Xcode installation. I gladly clicked Update/Install. The update took less than 5 minutes to complete. After the install, I issued git pull command again, and sure enough the my git repository updated nicely.

I’m glad to report that after two weeks running on Mac OS Mavericks, I haven’t had any major problems, except for this relatively minor inconvenience of reinstalling Xcode.

Filed Under: Git Tagged With: git, mavericks, xcode

HTML5 Download Attribute

November 11, 2013

HTML5 has a little-known attribute called download. The download attribute is often used in conjunction with the link or the <a> tag. Check the correct markup for the link tag below. Clicking on a HTML link will typically result in the browser opening up a new page, image, or a document.

In some cases, depending on your browser settings, clicking on a link will download a document, file or an image. For consistency, we can alter the behavior of the link tag by adding the download attribute. Let’s say, we want our readers to download an image, pdf, or a web page. We simply add the download attribute in the link tag.

A typical link looks like this:

<a href="page.html">link</a>

<a href="page.html">link</a>

A link with the download tag would look something like this:

<a href="random-xxx.jpg" download="test.jpg">link</a>

<a href="random-xxx.jpg" download="test.jpg">link</a>

By adding a filename in the download tag, we are specifying that we want the downloaded file to be renamed to test.png. The download attribute is currently supported on Chrome and Firefox. Safari and IE have not adapted it yet. Click on the Sample link below to see the download tag in action.

Demo

Filed Under: HTML Tagged With: download, html5, link

Where Is Your RSS Feed?

November 1, 2013

RSS or Really Simple Syndication enable publishers to syndicate their data automatically. Readers can subscribe to the feed and content will be delivered automatically. Most websites, news feeds, blogs, forums, etc. nowadays run some kind of content management system or CMS. And most CMS, if not all, have built-in RSS feed generators.

But, why is it so hard to find the RSS feed for some websites? Why do readers have to go for a bunny hunt each time, just to find the RSS feed. If it’s not on the top of the page, it must be at the bottom. If it’s not on the front page, then clearly, it must be somewhere else on the site. Maybe, it’s searchable on the website. Well, try again. In some instances, there is no RSS at all. What a shame at this day and age.

If you do find it, will it work at all? You’ll be surprise, some RSS feeds don’t work at all. I’m not sure why publishers can’t adhere to the standard RSS format of either RSS 2.0 or Atom 1.0. Clearly, there must be a way to simplify the entire RSS hunt process. Maybe, modern browsers like Chrome, Firefox, Safari and IE can help out a bit in locating the RSS feeds of each website.

Browsers should be able to direct users to the RSS feed of each website, and make them accessible to minimize the hunt. There are several browser plugins or extensions that simplify the process. I use RSS Feed Reader for Chrome. Acquiring feeds for each website is not always automatic. I still have to type the domain, but it does simplify the process a bit.

Clearly, there has to be a better way. I hope Chrome, Firefox, or other browsers can help out.

Filed Under: HTML, PHP Tagged With: rss

  • Home
  • About
  • Archives

Copyright © 2023