Dec 27, 2013
Show all hidden files and folders Mac OS X Finder
Posted Dec 27, 2013
Labels:
Finder,
Lion,
Mavericks,
Mountain Lion,
OS X,
Snow Leopard
Oct 18, 2013
Why I can't upgrade my Openshift account to a paid one [Updated]
Posted Oct 18, 2013
[Update 19 March 2014] Openshift has just introduced a new plan: Bronze plan! Which costs $0 to maintain and you have options to place add-ons. This is great news!
--
Openshift is a great platform to host your web application. I like the the way it was designed, allowing the community to contribute. I like its performance and up time. Another great thing about Openshift is the free account; you start with 3 small gears, 512MB RAM and 1GB storage and unlimited bandwidth which is good enough for a small start-up website.
What's the problem with Openshift?
I find its pricing plan unusual. If you're on FreeShift, you cannot add resources (like storage, RAM, etc).. not until you upgrade to Silver Plan. So from $0 per month, your next option is already the Silver plan which is $20 per month + resource usage costs.
I find this extremely strange why you're forced to have a minimum of $20 per month before you can add resources. It's expensive, where as Digital Ocean offers 20GB of storage space 512MB RAM for $5 per month; only downside is the 1TB bandwidth limitation.
There's already a feature request to add a pay-as-you-go storage for FreeShift but no update yet when it will be implemented.
--
Openshift is a great platform to host your web application. I like the the way it was designed, allowing the community to contribute. I like its performance and up time. Another great thing about Openshift is the free account; you start with 3 small gears, 512MB RAM and 1GB storage and unlimited bandwidth which is good enough for a small start-up website.
What's the problem with Openshift?
I find its pricing plan unusual. If you're on FreeShift, you cannot add resources (like storage, RAM, etc).. not until you upgrade to Silver Plan. So from $0 per month, your next option is already the Silver plan which is $20 per month + resource usage costs.
I find this extremely strange why you're forced to have a minimum of $20 per month before you can add resources. It's expensive, where as Digital Ocean offers 20GB of storage space 512MB RAM for $5 per month; only downside is the 1TB bandwidth limitation.
There's already a feature request to add a pay-as-you-go storage for FreeShift but no update yet when it will be implemented.
Oct 4, 2013
[Solved] How to make iOS Simulator choose Wi-Fi Connection
Posted Oct 4, 2013
Depending on your configuration, you may notice that the iPad or iPhone simulator uses the LAN connection. One workaround is to unplug your ethernet cable so that the simulator will be forced to use WiFi, but if you don't want to do this every time, you may also try the following configuration below:
1. Go to Network Preferences
2. Click the Gear icon and choose "Set Service Order"
3. Move the Wi-Fi service on top of Ethernet service.
You can restart the simulator and see if it uses the Wi-Fi connection.
Sep 25, 2013
How to update regular Eclipse Kepler to Java EE [WTP, Webtools]
Posted Sep 25, 2013
If you're like me who downloaded the Standard Edition of Eclipse in the hopes of saving space and maybe performance (Because I was supposed to just use it as a CVS client for Mac OS), then you'll also realize later that you should've downloaded the Java EE version instead because Eclipse's Web Tools Platform is very useful.
I tried the Eclipse Market Place and the Install New Version menu (using existing update sites) to no avail.
If you tried searching the web how to update Eclipse to J2EE version without downloading the entire Eclipse again, then it is most likely that you've probably ended up in an outdated documentation pointing to an old Webtools repository.
To cut to the chase, to add Webtools Platform (WTP) to Eclipse Kepler, go to Help > Install New Software
Add http://download.eclipse.org/webtools/repository/kepler/ to Location and Name it whatever you like e.g. Webtools Kepler. Check the Web Tools Platform and update your Eclipse. After installation you should now have the Java EE perspective and the various editors for Javascript, HTML, CSS, and other web components.
For other version of Eclipse, it's will highly likely follow the pattern
http://download.eclipse.org/webtools/repository/[eclipse_name]/
I tried the Eclipse Market Place and the Install New Version menu (using existing update sites) to no avail.
If you tried searching the web how to update Eclipse to J2EE version without downloading the entire Eclipse again, then it is most likely that you've probably ended up in an outdated documentation pointing to an old Webtools repository.
To cut to the chase, to add Webtools Platform (WTP) to Eclipse Kepler, go to Help > Install New Software
Add http://download.eclipse.org/webtools/repository/kepler/ to Location and Name it whatever you like e.g. Webtools Kepler. Check the Web Tools Platform and update your Eclipse. After installation you should now have the Java EE perspective and the various editors for Javascript, HTML, CSS, and other web components.
For other version of Eclipse, it's will highly likely follow the pattern
http://download.eclipse.org/webtools/repository/[eclipse_name]/
Labels:
Eclipse,
Eclipse Standard,
J2EE,
Java Enterprise,
Update Repository
Sep 17, 2013
[Solved] Smooth Div Scrolling in iPad Browser (or iPhone / iOS Devices)
Posted Sep 17, 2013
If you have a scrollable div using overflow: auto or overflow: scroll, you will notice that the scroll is slow or choppy. To make the inline scroll smooth, just add the following in your css class:
E.g.
-webkit-overflow-scrolling: touch;
E.g.
#SCROLLABLE_DIV { height: 300px; overflow: auto; -webkit-overflow-scrolling: touch; }
Labels:
choppy,
cordova,
Inline Scrolling,
iOS,
iPad,
iPhone,
Performance,
phonegap,
Slow,
smooth scrolling
Sep 13, 2013
[Solved, Mac OS X] Disable web security in Chrome
Posted Sep 13, 2013
Execute this in terminal:
I use the above settings when testing Backbone JS + Require JS + Underscore JS + Text Plugin to read files from file system. Google Chrome won't allow it unless the above parameter is set. This is also related to disabling Chrome's Same Origin Policy.
open /Applications/Google\ Chrome.app/ --args --disable-web-security
I use the above settings when testing Backbone JS + Require JS + Underscore JS + Text Plugin to read files from file system. Google Chrome won't allow it unless the above parameter is set. This is also related to disabling Chrome's Same Origin Policy.
Aug 11, 2013
I hate Ghost Blogging Platform!
Posted Aug 11, 2013
Hate is such a strong word along with despise, abhor, resent, loathe.. okay I'm just writing synonyms here but the thing is, this is not a hate blog, it's just a response to a blog written by Nitin Khanna. I enjoyed reading the post because it gives a different perspective on the what's not to like in project Ghost.
For those who don't know yet, Ghost is an open source blogging platform started by John O'Nolan. The motive and vision are great. I was immediately hooked and got excited with the idea of a new blogging platform to address the issues of existing ones, plus it will be written in my current favorite framework: Node JS which is based on Javascript.
Upon reading John's idea of his new project, a question popped in my head: will he and his team really achieve the "Just a blogging platform" concept? This aims to focus mainly on publishing content, but at the same time, make it customizable. I don't want to fight the idea, but more of challenge it, because what I'm seeing is this will be a Wordpress-like platform that does everything, but hopefully better. Sure, it will start as "Just a blogging platform" but if it's really that customizable, then there's no stopping anyone from turning this into the next WCM or CMS built for modern times. Just like what happened to WP.
For those who don't know yet, Ghost is an open source blogging platform started by John O'Nolan. The motive and vision are great. I was immediately hooked and got excited with the idea of a new blogging platform to address the issues of existing ones, plus it will be written in my current favorite framework: Node JS which is based on Javascript.
Upon reading John's idea of his new project, a question popped in my head: will he and his team really achieve the "Just a blogging platform" concept? This aims to focus mainly on publishing content, but at the same time, make it customizable. I don't want to fight the idea, but more of challenge it, because what I'm seeing is this will be a Wordpress-like platform that does everything, but hopefully better. Sure, it will start as "Just a blogging platform" but if it's really that customizable, then there's no stopping anyone from turning this into the next WCM or CMS built for modern times. Just like what happened to WP.
Do we really need another Wordpress like platform?
If you understand what Node JS is addressing, then YES we do need another blogging platforfm. In my experience in using Node JS, from very simple codes like this site mvergel.com to somewhat more complicated ones, like in Pesobility.com, I really enjoyed it. Coming from a Java background, it made me excited about web programming again. Simple codes, doing extra-ordinary stuff; much like Ruby on Rails but I don't know, it might be very subjective to say it, but I didn't enjoy RoR as much as I enjoyed programming in Node.
This is the reason why I found Ghost in the first place, because I was looking for a blogging platform / CMS based on Node JS. But since node is still relatively new, I found it difficult to find a pre-built open source systems that just work.
However, Ghost is not really advertising itself as another Wordpress like platform, but more of a blogging platform. It will probably also focus on workflows and workflow customization which is virtually non-existent in other platforms (well, at least natively). Even so, do we need another blogging platform? A new one wouldn't hurt. People arguably just choose between Blogger and Wordpress nowadays. Those who wants more elegance and professionalism would go for Wordpress, those who want more freedom and lesser cost would go for Blogger.
NodeJs, Yes! Really!
Nitin Khanna's point is that Node is not yet ready for prime time: problem with native hosting support, and usability issue for non-developers. I can't speak for the laymans, but as a developer I find it relatively easy to get Node JS up and running, to the point the it can be done in one command. The command can be wrapped in a shell script which an end user can just double click, wait a few minutes and see his/her system live on the internet.
There are already various free and paid hosts that support Node: See the list here. One of the great things about Node is its resource consumption because it doesn't require a huge ram to run, and start-up is also relatively fast. These were my main problem with Grails framework, a Java framework. The framework is great, but it's so bulky and consumes a lot of resource that even a simple application needs at least 512MB of RAM to run normally, and start-up is extremely slow. Node JS I think only needs 256MB to run smoothly. It's relatively easy and less costly to support Node compared to other frameworks, and it's happening right now; more and more hosts are supporting Node.
Nitin's point may still be right though as Node is still new and needs more time to mature. It's getting there, yes, but probably not yet prime time-ready. However, Ghost, when it's released, won't be a mature platform instantly anyway. It will also take time and probably years to be ready for prime time; just enough time for Node to also mature.
Wordpress is here to stay.. well, at least for a while.
Another Nitin's point is how O'Nolan allegedly stole from Wordpress and gave nothing back. Controversial statement which John O'Nolan couldn't resist but to reply in the comment section. It would be cool if he were to also comment in this blog, but I don't have anything controversial to say, haha!
From my perspective, O'Nolan is passionate about writing / blogging and would like to use a platform in which he could really enjoy doing it. I believe WordPress is ALMOST it but still not quite, and this "almost but not quite" feeling probably bothered him everyday; why isn't there a service or a system that he really wants to use? I can relate to this. This is the same reason why I created Pesobility.com; for my needs, and help others who have the same needs and wants as I do.
Ghost won't probably replace WP anytime soon. WordPress is a proven platform, whereas Ghost still needs to time to prove itself. And even in the far future, I would see the two, along with other blogging platforms, co-existing to give end users a choice.
Final Words
Many of us, especially software developers / designers, have ideas that pop-up in our head from time to time. Some are great, some are not so great, but only a few really go out their way to make their idea into reality. Not everyone has been given the chance to learn to type stuff and make the computer do something special. It's almost a god-like skill because it is as if you are creating something out of nothing; the possibility is endless, imagination is your limit. Take advantage of it!
I admire what O'Nolan started. I'm excited to try Ghost now, but unfortunately the code is not yet available publicly. I do wish they release it soon! This part I don't get, why not just release the code immediately. I hate it! I hate Ghost Blogging Platform, haha!
A thought just came to mind.. I wonder if Google would think of upgrading Blogger to use Ghost. Far-fetched.
A thought just came to mind.. I wonder if Google would think of upgrading Blogger to use Ghost. Far-fetched.
Labels:
Blogging,
Ghost,
nodejs,
Platform,
Wordpress Alternative
Subscribe to:
Posts (Atom)









