Skip to main content

Posts

Showing posts from 2012

Python Hydrology

Recently I'm learning Python and encountered the Hydrology book. Had to upgrade some of python packages and some libraries needed to get working with the book. There is an instruction though about mostly using pip install packages need for the book. The problem is I can't get it work. It's missing some things so I did a little google and hopefully this is a compilation of the things I need to work with the examples of the book. First off, I updated the apt-get $ sudo apt-get update Next is I installed the pip package manager. I'm not too sure but I have Ubuntu 10 and it doesn't have the pip installed. So I installed using the command below. $ sudo apt-get install python-pip Now the development packages for python. $ sudo apt-get install python-dev Most of the examples uses the scientific number packages so I installed numpy and other packages I'm not quite aware of. It's just that some of the examples probably in the later part of the book use...

Reasons why you don't apply to some Companies

Just a note, this is just a joke. So for some companies, I would ask you to evaluate me first not base your judgement for hiring me in this post. :) Recently, I planned on getting another job. This time with programming languages I'm not familiar with. Just to get my hands on. Something like Python or Ruby, or JS and NoSQL. You know what I mean. Then came, job posts at some Ads. Recruiters really think they are smart. They're not even reviewing what they're posting and not getting consultation from experts offering a job. For example SEO Experts (20k to 30k) with GREAT “DAYTIME” CAREER OPPORTUNITIES A NEW COMPANY soon to expand OPERATIONS in CEBU!!! I'm sure 30k is not that great. And what's with the DAYTIME? Also Perfect Worklife Balance: “Daytime Work” and Guaranteed 5 day work week only Easy to Manage Accounts Excellent Compensation based on expertise, we are only looking for top talent and pay accordingly Performance and Attendance bonuses...

Lithium first glimpse

I decided to review my PHP and now I’m interested with the Lithium project. I wanted to get my hands on it just to see what it can do and what are the good stuff in it. Lithium by the way is a PHP web framework, it’s RAD. If you don’t know what a PHP web framework is, I don’t think I can help you. But a Google with the topic can result to many useful resources. I almost forgot most of my PHP background because it’s been 2 years since I coded it. And it was with 4.3 and Oracle. I’m not too sure about what to do next. Instead of installing everything from scratch, I decided to install XAMPP . It’s easy and good stuff (I think). Unlike before, installing PHP and Apache, make Apache recorgnized PHP, add a module to it, install MySQL… You know what I mean. It’s a hassle. But with XAMPP, it’s just a single install and everything is in there. Of course, this doesn’t help if you’re a geek and pretend to know everything and installing everything by hand makes you happy. But for me, it’s fine...

Not fashionable enough to be arrested

 I’ve been playing with .Net on one of my projects now and we’re using C#. Other teams are in the enterprise. Or the so called Java. You know what I mean, “the IMPLS”. Now I’m diverting. Anyway, Java people on the other teams have check styles. Ok, let’s just call them jTeam for now. Checking styles are one way to set rules on your codes. Some people usually think it’s useless but I have my liking to it. I think codes should be beautiful as oppose to fanciness. I don’t like fancy, simple is useful and should be at least beautiful. What I mean with beautiful is that code shouldn’t be messy. One example is spacing. Having code like x = y+z; and in another code there’s z=y + x * 2; There’s not much of a problem here. It’s just that the spacing is inconsistent. And I think it shouldn’t be that way. I think it’s irritating to look at. Checking all of these inconsistencies in about 2000 lines of code is awful. Horrible if you’ve got tens of thousands of lines or hundreds. But do not ...

Setting Up Ubuntu Development

Ubuntu! I know, all you Windows guys would say. Not again, another operating stuff. Okay. Got it! But I have to try it out. Not that it's cool but you know I have to learn other stuff. As we all know Ubuntu is a GNU/Linux distribution for mere mortals. Well, I'm certainly one of the mortals so I have to try it out. First off, virtual machine. I use VirtualBox, from Oracle. I know (have to try Qemu soon). VirtualBox can be download here . Installing it is simple so I don't need to put it here. After installation, now comes Ubuntu. I don't have to explain Ubuntu as the documentation is very helpful for any beginners. But you can download it from here . Besides I'm not English speaking so they can explain it better than me. But as introduction it's an operating system. That is all I can say. Now then open VirtualBox and create a new machine. It can be accessed through the Machine menu at the top and click New. When asked for a name, I usually enter Ubuntu10 De...