Having hard time to say No?

Saying “No” to people was always hard to me, because I am so thoughtful about people and when I say no to their requests/needs, I feel like I am deceiving them. But I passed over this feeling to do the following:

  • Saying “No” does not mean that you are disagreeable or a nasty person. it can actually prove that you are tuned in.
  • Ignoring requests will diminish your value and relationships faster than saying “No” more often than you say “Yes.” It appears that you are not listening which is clearly disrespectful.
  • Four simple steps to asses requests and say “No” when it’s appropriate:
    • Hear it:
      • Your responsibility to get to heart if the request and why it matters.
    • Goal First:
      • If you are going to say “No”, you should assess the request
      • A goal first approach is about defining your vision, because if you do not have a vision you will more likely to accept whatever comes to you as a request.
    • Yes or No
      • You should respond to requests quickly as they come in.
      • You need to quickly analyze them as they are received and allow your “goal first” strategy to guide you.
    • Be Transparent:
      • Explaining the “why” makes the “what” simple to digest.
      • You need to be more than just nice because being nice alone does not help someone see your perspective.
      • Tell them why you cannot accept that request and be honest!
  • There are some time that you cannot refuse the request because of your hierarchical position ;
  • IF your boss asks for something that is difficult, sometimes you will need to say “Yes”. Bu
    • But you should also explain that you are working on A, B, and C and would be happy to move something out to get the request done
    • Ask for guidance when the priorities are not clear.

 

 

I hope, You love the topic… Leave comment below, Share your thoughts with me, I will pleased to hear them

Say no to everything, so you can say yes to the one thing.

Richie Norton

Pickle in a Python Jar ?!?!

Pickling, serializing, marshaling, or flattening, they are all names that you can intersect with when you learn deep Python. What is the meaning of pickling? This is a question that I want to answer it today.

When I was studying the content in “Head First Python” book by O’reilly, I saw a term pickle. I thought the book was making it interesting and teach it that way. However, it was using the real term.

import pickle  # This is the way that you call the module

The pickle module implements a fundamental, but powerful algorithm for serializing and de-serializing a Python object structure. Pickling/Serializing – is the process whereby a Python object hierarchy is converted into a byte stream, and Unpickling/De-serializing – is the inverse operation, whereby a byte stream is converted back into an object hierarchy.

If we want to save, reuse, or send to someone else our data structure which locates in our memory, we have several ways to make this process happen.

“Many games allow you to save your progress when you quit the game and pick up where you left off when you relaunch the game. (Actually, many non-gaming applications do this as well.) In this case, a data structure that captures “your progress so far” needs to be stored on disk when you quit, then loaded from disk when you relaunch. The data is only meant to be used by the same program that created it, never sent over a network, and never read by anything other than the program that created it. Therefore, the interoperability issues are limited to ensuring that later versions of the program can read data written by earlier versions. ” (Dive-Into-Python3)

Python has a module inside of its standard library called pickle, for situations like above. Let’s see the usage of pickle module:

# This code saves a dictionary into a pickle file.
import pickle
favorite_color = {"lion": "yellow", "kitty": "red"}
pickle.dumb(favorite_color, open("save.p", "wb"))

# This code loads the dictionary back from the pickle file.
import pickle
favorite_color = pickle.load( open("save.p", "rb"))

For further reading I suggest the official pickle documentation

Talk is cheap. Show me the code.

Linus Torvalds

What Successful People do Before Sleep

 

Today I want to share something, which I think will be very essential for people who wants to be successful on whatever they do… This is a digest of a post from lifehack.org. I hope you’d enjoy it…

Wrap up the day

 

After sometime spending at work, school or any other place that, takes huge amount of time from you; end your work day, and spend time for yourself, focus another part of your life…

 

Most of the time people get tired after 6-7 pm, it is great time to end you casual, daily and boring -for most of the population on earth- day and start your special time.

 

Don’t just rest physically also rest mentally with spending your time with what you like to do most such as, cooking, playing card games, staring at the people across the street from your balcony -you can even yell at them if you wish :)- , and so on.

 

Read Book

 

Not a surprise in here, reading books… Your elderlies, professors, doctors and the other people, who really know that reading is important, would say this to you at least thousands of time, but I will repeat here again…

 

Reading and Learning can shortcut your journey to success.

 

Successful people, including me -Do you believe :)- read book and articles until they get tired and ready, from another point of view, then they go to sleep.

Spend Quality Time with Family and Friends

 

Connections are very important for success. Successful people most of the time try to met with their friends and family to consult with them. This is very important to grow connections and find new ones.

 

Nights, especially your special time is an amazing time period to consult with your family and friend.

 

Get Connected, Stay Connected

 

Plan and Get Ready for the Next Day

 

Planning for tomorrow is make you time more abundant, because you already planned what you will do for tomorrow, approximately of course. There will be always some hitches, but if you have a plan you can simply skip it to do other plans. Without a plan, you will spend more time to think about it and   waste your precious time.

 

How can you plan your day: writing down what you need to do is very old fashion, however most efficient way to keep things organized.

 

Ironing your clothes, uniting all document you will need for tomorrow, preparing for school with organizing your backpack, are in the category of Planning and getting ready for the next day.

 

Unplug form World

 

Ok, Indeed this is very hard topic to implement to our life -as a student- but did we try yet?

 

Successful people can successfully implement this habit in their life because they know that technology have been stealing from our private life. Spending 2 hours without   technology will give you priceless   qualified time to spend with your family and friends, reading great novel, opportunity to plan your next day, or even imagine your future plans…

 

Meditation

 

Meditation is another act that successful people do before sleep. It gives human body relaxation.

 

Meditation is simply fixing your breathing varying your heart beats. Meditations gives you to measure every aspects in your life more carefully. We can say meditation improves your willpower, self control.

 

Meditation will rest your body a little bit and it will prepare you a great sleep…

 

Envision Tomorrow

 

Envisioning is almost same as planning, but there is slight different between envision and plan. Envision does not require pen pencil or electronic device, which requires only imaginative mind. You simply imagine your next day. What will occur, how things will show up… It makes you be ready for challenges that you could possibly change.

 

More experience in your field, will give you more precise envisions for the next day…

 

Write Down Accomplishment for the Day

 

What have you accomplished the day that finished for you? Don’t think too perfectionist. Even if little goals, which appears in your mind during the day; such as having dinner with your friend, or going to cinema, finishing the chapter in your book… could be you achievements for the day.

 

Seeing your accomplishments in a list, will improve your self-confidence and give you an understanding that you can actually do things..

 

Get Things Done Before Sleeping

 

Getting things done before sleeping means, not postponing things to another day.

 

Things that postponed for another day always be in your mind during whatever you are dealing with at that time.

 

Get Enough Sleep

 

Sleep is a meditation that restore you body, cellular activities, and brain functions. Sleeping time, which should be at night time… is giving your body to rest and try to fix thing s in your body.

 

Scientist says that 8 hours sleep is ideal for average humans. However, it depends on human, there are magnificent people, who change the world does not need that much time, or they can not sacrifice that much time for sleep.

 

As I said, don’t be offend, I am not judging any body. I am pointing out that you can live with 4-6 hour sleep… 🙂 Thing about it!!!

 

 

I hope, You love the topic… Leave comment below, Share your thoughts with me, I will pleased to here them

 

In order to succeed, your desire for success should be greater than your fear of failure.

Bill Cosby

How to Become a Data Scientist

I am a great fan of Quora.com. I spend sometime, everyday to check out what’s going on on my area and related areas. Past two days, I have been intersecting with some data scientist questions. I would like to plot some answers that I loved and found very useful.

But before starting to say these are necessary to become a data scientist, I would like to define a data science and data scientist:

Data science is an art of helping people with analyzing and building things with respect to those analysis. Data Scientists are people with some mix of coding and statistical skills who work on making data useful in various ways. There are 2 types of data scientists in general:

Type A is data scientists who are working mostly on analysis part. Type A Data Scientist is very similar to a statistician (and may be one) but knows all the practical details of working with data that aren’t taught in the statistics curriculum:  data cleaning, methods for dealing with very large data sets, visualization, deep knowledge of a particular domain, writing well about data, and so on.  They can code enough to work, not necessarily an expert on coding. But they may have some significant skills on experimental design, forecasting, modeling, statistical inference, or other things typically taught in statistics departments.

Type B is a data scientist who are working mostly on building part. Type B Data Scientists share some statistical background with Type A, but they are also very strong coders and may be trained software engineers.  The Type B Data Scientist is mainly interested in using data “in production.”  They build models which interact with users, often serving recommendations (products, people you may know, ads, movies, search results).

How we can be one of the type that we discussed above?

Pre-requisites:

  • Math, Algorithms and Databases:
    • Calculus-3, Linear Algebra, Algorithms, Database Systems
  • Statistics:
    • Probability and Statistics
    • Data Analysis
  • Programming:
    • R programming
    • Scientific Python
    • pandas library

Acquire and Scrub Data:

Filter and Mine Data:

Represent and Refine Data:

 Domain Knowledge:

This skill is developed through experience working in an industry. Each dataset is different and comes with certain assumptions and industry knowledge. For example, a data analyst specializing in stock market data would need time to develop knowledge in analyzing transactional data for restaurants.

Combining all the above:

Data Literacy Course — IAP
UC Berkeley Introduction to Data Science
Coursera-Introduction to Data Science
Teach Data Science-Syracuse University

Apply the knowledge:
Harvard Data Science Course Homework
Kaggle: The Home of Data Science
Analyzing Big Data with Twitter
Analyzing Twitter Data with Apache Hadoop

 

Thanks to Pronojit Saha for this amazing answer on Quora.

Studying R and Python

Programming is essential for computer scientist. That’s why I am spending most valuable time of me studying how to programming and solving problems using some programming languages.

Python is always my best language. I am solving almost all of my  problems using small scripts written in Python. It is great first language for learners also. I did not start learning programming in Python though.  It was C, which taught by my school. Then I start learning Java, also it was required by  my school. During last summer I found that Python is very suitable for computational biology area, and its very reliable language, because it getting popular and rigid.

I start learning Python, using Codecademy tutorials as a guide. Then I bought a reference book which is about thousand pages… but it was very comprehensive. After learning some basics of Python,  I regret my time that I have spent with C and Java. However It was required for my school classes so, it was not bad…

Now I am trying to learn R language, and data analysis, because in my future studies I will need some data handling and statistical analysis. Having these skills will put forward my CV when I am applying PhD.(Hopefully 🙂 ) I am taking John Hopkins Data Science Track from Coursera.

Here are some links that you can learn R form:

If you know more sources please leave a comment or contact with me.

Computing is not about computers anymore. It is about living

Nicholas Negroponte

Entering a new path…

This blog is a tool for me to keep track all the accomplishments, struggles, happiness and sadness while I am walking on difficult path called “Academic path.” In academic life, you could forget things easily, because of your hard and stressful life. Your prof always gives you assignment, projects look like impossible to complete and the extra work that you have to make to go to your dream college for masters or PhD program. With using blog, you can both keep track of your of your work and improve your social, writing skills. I am very happy to step into this very challenge…

Everything is theoretically impossible, until it is done.
Robert A. Heinlein