Friday, October 23, 2015
Saturday, August 08, 2015
Monday, July 13, 2015
Mac on Empty Hard Drive Install
Interesting article on how to install mac on a empty hard drive
https://discussions.apple.com/thread/5507912?tstart=0
https://discussions.apple.com/thread/5507912?tstart=0
Sunday, June 28, 2015
Ruby on Rails Contd..
What is Rails? (From the Rails Website itself)
Rails is a web application development framework written in the Ruby language. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other languages and frameworks. Experienced Rails developers also report that it makes web application development more fun.
Rails is a web application development framework written in the Ruby language. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other languages and frameworks. Experienced Rails developers also report that it makes web application development more fun.
Rails is opinionated software. It makes the assumption that there is the "best" way to do things, and it's designed to encourage that way - and in some cases to discourage alternatives. If you learn 'The Rails Way' you'll probably discover a tremendous increase in productivity. If you persist in bringing old habits from other languages to your Rails development, and trying to use patterns you learned elsewhere, you may have a less happy experience.The Rails philosophy includes two major guiding principles:
- Don't Repeat Yourself: DRY is a principle of software development which states that "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system." By not writing the same information over and over again, our code is more maintainable, more extensible, and less buggy.
- Convention Over Configuration: Rails has opinions about the best way to do many things in a web application, and defaults to this set of conventions, rather than require that you specify every minutiae through endless configuration files.
Ruby and Rails Learning
Posting after ages
Ruby and Rails Learnings:
Trying hands on Ruby and Rails
Ruby Resources: https://www.ruby-lang.org/en/documentation/installation. On OSX you need the Homebrew package manager to install or it is recommended to use it to install Ruby. More on Homebrew
Best startup Learning guide for Ruby: https://www.ruby-lang.org/en/documentation/quickstart/
One thing I realized is how important Git has become. I have had experience with perforce now and Git has become the defacto standard of source control management. Basic Git knowledge is located here: https://git-scm.com/book/en/v2/Getting-Started-Git-Basics
Ruby and Rails Learnings:
Trying hands on Ruby and Rails
Ruby Resources: https://www.ruby-lang.org/en/documentation/installation. On OSX you need the Homebrew package manager to install or it is recommended to use it to install Ruby. More on Homebrew
Best startup Learning guide for Ruby: https://www.ruby-lang.org/en/documentation/quickstart/
One thing I realized is how important Git has become. I have had experience with perforce now and Git has become the defacto standard of source control management. Basic Git knowledge is located here: https://git-scm.com/book/en/v2/Getting-Started-Git-Basics
Tuesday, January 12, 2010
Drive Book Notes
Drive by Daniel H Pink talks essentially about 3 things
A - Autonomous
M - Mastery
P - Progress
These three characteristics are primary motivators which drive us.
A - Autonomous
M - Mastery
P - Progress
These three characteristics are primary motivators which drive us.
Monday, August 17, 2009
Saturday, June 06, 2009
Why and what to read?
Often times I pick up a book loose interest in it and leave it and it is on my to do list to finish the book. Have you ever faced such situation?
I have realized this plan works for me and I am sure it will be different for every individual
- Decide what you want to study
- Question yourself as to why are you studying
- After I read a chapter can I summarize the chapter in a few sentences.
- Can I write a good/bad review for this book.
- Use the book learning and APPLY
I have realized this plan works for me and I am sure it will be different for every individual
- Decide what you want to study
- Question yourself as to why are you studying
- After I read a chapter can I summarize the chapter in a few sentences.
- Can I write a good/bad review for this book.
- Use the book learning and APPLY
Saturday, May 30, 2009
Thursday, May 28, 2009
Saturday, May 23, 2009
Thursday, May 14, 2009
Combine two files line by line
file1
-----
a
b
c
file2
-----
1
2
3
Output
------
a 1
b 2
c 3
Use this: paste -d"\0" file1 file2 > Output
From: Here
-----
a
b
c
file2
-----
1
2
3
Output
------
a 1
b 2
c 3
Use this: paste -d"\0" file1 file2 > Output
From: Here
Saturday, May 02, 2009
Home ownership woes?
I am not in the market for hunting homes but thought it might be a good idea to check what the process is
First steps detailed here are pretty good
Home Ownership
Some highlights
I think choosing the right people for the job is what matters. To start with I will focus on choosing the right Realtor.
I see that most of the realtors claim that they are not pushy and are not like car salesman. Why are car salesman looked so down upon? Can a car salesman not say that I am not like a Realtor.
Well from my perspective these are two different salesman in two different contexts, one is selling you something in the range of 20K to 30K (if you are buying cars like Camry , Accord, Corolla, Civic etc).
Realtor is trying to get you into a house you like worth close to 200K to 400K (shouldn't I just go to Redfin). So the Realtor cannot be pushy like a cars salesman since I would be uncomfortable since it is such a huge amount and will walk away from it. I am not an expert but I would choose these when selecting realtor
Choosing a realtor is almost like you started a small company and hiring your first employee, would you hire someone if he did not have your interest.
A lot of home ownership is dependent on whom you choose at the end of the day as he or she can be the deal breaker. I will not like a realtor recommending me something without doing his research and showing me the numbers (As said "numbers don't lie").
First steps detailed here are pretty good
Some highlights
- Education
- Credit History
- Budget
- Research
- Pre approval
- Your Priorties
- The search
- You are home
I think choosing the right people for the job is what matters. To start with I will focus on choosing the right Realtor.
I see that most of the realtors claim that they are not pushy and are not like car salesman. Why are car salesman looked so down upon? Can a car salesman not say that I am not like a Realtor.
Well from my perspective these are two different salesman in two different contexts, one is selling you something in the range of 20K to 30K (if you are buying cars like Camry , Accord, Corolla, Civic etc).
Realtor is trying to get you into a house you like worth close to 200K to 400K (shouldn't I just go to Redfin). So the Realtor cannot be pushy like a cars salesman since I would be uncomfortable since it is such a huge amount and will walk away from it. I am not an expert but I would choose these when selecting realtor
- Experience
- References
- In all circumstances he should have your interest
- How comfortable he is with comparable sales and running repeatedly
Choosing a realtor is almost like you started a small company and hiring your first employee, would you hire someone if he did not have your interest.
A lot of home ownership is dependent on whom you choose at the end of the day as he or she can be the deal breaker. I will not like a realtor recommending me something without doing his research and showing me the numbers (As said "numbers don't lie").
Thursday, April 23, 2009
Oracle setting timestamp format and query
alter session set NLS_DATE_FORMAT='DD-MM-YYYY HH24:MI:SS'
select * from table where date > to_date('2009-04-01','yyyy-mm-dd');
select * from table where date > to_date('2009-04-01','yyyy-mm-dd');
Saturday, April 11, 2009
Problems with macbook
I started having this problem with my macbook and apparently I am not the only one
MacBook Crack
MacBook Crack
How to run a process even when your session ends and exits
Process :
-run process (from zshell)
-Ctrl-Z (to suspend)
-disown
-kill -CONT
-run process (from zshell)
-Ctrl-Z (to suspend)
-disown
-kill -CONT
Sunday, April 05, 2009
WalkScore of a Place
Get Walkscore of your place is a pretty handy tool to find out how accessible is your place to the nearby restaurants, gorceries, banks etc.
Wednesday, March 25, 2009
Write a binary stream (cannot output to a string)
std::string s(record.data.buf(), record.data.size());
ofstream file1;
file1.open ("/tmp/kalyan",ios::binary);
file1.write(bytebuffer, size);
file1.close();
ofstream file1;
file1.open ("/tmp/kalyan",ios::binary);
file1.write(bytebuffer, size);
file1.close();
Sunday, February 15, 2009
Saturday, February 14, 2009
Better terminal for Mac
Iterm is pretty good if you are not happy with the mac osx built in terminal
Subscribe to:
Posts (Atom)