Linktail

little code and rest is about life

About NUllability of Object references — March 27, 2018

About NUllability of Object references

I call it my billion-dollar mistake…At that time, I was designing the first comprehensive type system for references in an object-oriented language. My goal was to ensure that all use of references should be absolutely safe, with checking performed automatically by the compiler. But I couldn’t resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years.
— Tony Hoare, inventor of ALGOL W.

Advertisements
Resource Links —

Resource Links

https://medium.com/@intideceukelaire/why-you-shouldnt-share-links-on-facebook-f317ba4aa58b#.xnt6e3s48

http://yourstory.com/2016/05/inspirational-movies-entrepreneurship/

https://www.youtube.com/results?search_query=clean+architecture&page=&utm_source=opensearch Links: https://codeforgeek.com/2015/01/nodejs-mysql-tutorial/ https://www.codementor.io/nodejs/tutorial/node-js-mysql https://github.com/esoxjem/MovieGuide https://github.com/braydie/HowToBeAProgrammer https://github.com/googlesamples/android-architecture https://github.com/raveeshbhalla/Pacemaker https://github.com/github/gitignore https://github.com/andreis/interview https://github.com/jlevy/the-art-of-command-line https://github.com/codepath/android_guides https://github.com/googlesamples/android-architecture https://github.com/google/guava/wiki/ListenableFutureExplained View story at Medium.com https://kotlinlang.org/ View story at Medium.com View story at Medium.com https://medium.freecodecamp.com/simple-and-fast-android-networking-19ed860d1455#.36a3ilosh View story at Medium.com https://engineering.instagram.com/instagram-android-four-years-later-927c166b0201#.mkhrehcdl https://medium.freecodecamp.com/why-consider-flatbuffer-over-json-2e4aa8d4ed07#.7049p9bku https://github.com/amitshekhariitbhu/FlatBuffer https://www.bobbleapp.me/home https://github.com/amitshekhariitbhu/awesome-android-complete-reference https://github.com/amitshekhariitbhu?tab=repositories https://m.signalvnoise.com/how-i-built-my-first-android-open-source-library-and-how-you-can-too-8a731abbdd2a#.17pyscisz View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com http://blog.karumi.com/interfaces-for-presenters-in-mvp-are-a-waste-of-time/ http://blog.karumi.com/ http://karumi.github.io/AndroidAudit/ View story at Medium.com View story at Medium.com View story at Medium.com Chat App http://android-arsenal.com/details/3/3812 ANdroid Architecture https://labs.ribot.co.uk/android-application-architecture-8b6e34acda65#.azwzguwmy View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com https://labs.ribot.co.uk/approaching-android-with-mvvm-8ceec02d5442#.g759skuyq https://medium.com/android-news/keep-your-droid-clean-e9c093140eb6#.ovjoziqlc [Good] View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com https://medium.com/@cesarmcferreira/building-android-apps-30-things-that-experience-made-me-learn-the-hard-way-313680430bf9#.k3a9qddt6 [good] View story at Medium.com https://developer.android.com/studio/intro/index.html View story at Medium.com https://developer.android.com/training/keyboard-input/style.html http://fragmentedpodcast.com/ https://github.com/cesarferreira/dryrun http://android-arsenal.com/ https://developer.android.com/reference/android/accounts/AccountManager.html https://github.com/Triple-T/gradle-play-publisher https://developer.android.com/studio/write/vector-asset-studio.html http://android-arsenal.com/details/1/3751 View story at Medium.com http://android-arsenal.com/details/1/3745 http://android-arsenal.com/details/1/3774 View story at Medium.com https://engineering.instagram.com/beautiful-performant-android-ui-62ce61ca748c#.lt97yvk4l View story at Medium.com View profile at Medium.com https://blog.mixpanel.com/2016/05/24/magic-numbers-are-an-illusion/ https://medium.freecodecamp.com/jon-skeet-the-chuck-norris-of-programming-ee5781c7e18a#.43bm2roie https://eng.uber.com/tech-stack-part-one/ https://eng.uber.com/tech-stack-part-two/ https://medium.freecodecamp.com/ten-rules-for-negotiating-a-job-offer-ee17cccbdab6#.h0jkcyec7 View story at Medium.com http://code.tutsplus.com/tutorials/creating-and-publishing-an-android-library--cms-24582 http://www.vogella.com/tutorials/AndroidLibraryProjects/article.html View story at Medium.com https://developer.android.com/studio/projects/android-library.html https://github.com/bufferapp/android-guidelines/blob/master/project_style_guidelines.md http://hitherejoe.com/ https://open.buffer.com/transparent-salaries/ View story at Medium.com http://tools.android.com/tech-docs/layout-editor http://android-developers.blogspot.in/2016/05/android-studio-22-preview-new-ui.html View story at Medium.com http://hitherejoe.com/ https://github.com/cesarferreira/dryrun View story at Medium.com http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/ http://fernandocejas.com/2015/04/11/tasting-dagger-2-on-android/ View story at Medium.com View story at Medium.com https://slackhq.com/three-unconventional-interview-questions-664cc55501e#.lixj1n4jl View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com https://m.signalvnoise.com/my-favorite-people-and-resources-to-learn-android-programming-from-293f249e2b4e#.hdnjq4f3f http://androidbackstage.blogspot.in/ https://www.relay.fm/material View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com https://uxplanet.org/basic-patterns-for-mobile-navigation-d12a87686efe#.as071rmo0 View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com View story at Medium.com https://blog.aritraroy.in/what-my-2-years-of-android-development-have-taught-me-the-hard-way-52b495ba5c51#.woq6pxy7x https://riggaroo.co.za/introduction-automated-android-testing-part-6/?utm_source=Android+Weekly&utm_campaign=c0a2159802-Android_Weekly_222&utm_medium=email&utm_term=0_4eb677ad19-c0a2159802-338030769 https://medium.freecodecamp.com/live-asynchronously-c8e7172fe7ea#.w23ilf2fr https://github.com/bookdash/bookdash-android-app https://riggaroo.co.za/portfolio/ https://labs.ribot.co.uk/android-application-architecture-8b6e34acda65#.cnbowk2we https://github.com/googlesamples/android-architecture http://blog.cloudmagic.com/2014/02/11/30-android-developers-and-experts-to-follow-on-twitter/ http://blog.instabug.com/2015/11/37-influencers-follow-youre-android-developer/ https://www.airpair.com/android http://blog.sqisland.com/
A beginner’s guide to website optimization — March 9, 2018
Michael Lynch — March 1, 2018
he WhatsApp Architecture Facebook Bought For $19 Billion — February 28, 2018
How does bitcoin work? I built an app to show you. — December 29, 2017
Emojis on Medium — August 20, 2017
Tips and tricks for Medium writers — August 19, 2017
Our 6 Must Reads if You’re at a Startup With 30+ People — July 17, 2017
Git Commands Cheat Sheet — April 23, 2017

Git Commands Cheat Sheet

Create

  • Create a new local repository
    • git init
  • Clone an existing repository
    • git clone [your_repository_url]

Track chages

  • File status about local repository
    • git status
  • Chages to remote[tracked] files
    • git diff [source_branch] [target_branch]

Add file

  • Add all changes in commit
    • git add .
  • Add single file in commit
    • git add -p [your_file_name]

Commit file

  • Commit previously chaged file
    • git commit
  • Commit all local changes
    • git commit -a
  • Add single file in commit
    • git add -p [your_file_name]
  • Amending the most recent commit message in editor
    • git commit --amend
  • Amending the most recent commit message with new message
    • git commit --amend -m "New commit message"

See history

  • See all commit log details
    • git log
  • See commit log details about single file
    • git log -p [your_file_name]
  • Only the commits of a certain author
    • git log --author=[author_name]
  • Compressed log in one line:
    • git log --pretty=oneline
  • Log details only for changes files
    • git log --name-status

Command for branch

  • See all branch
    • git branch -av
  • Switch exisiting branch
    • git checkout [your_branch_name]
  • Create new local branch and switch to new branch
    • git checkout -b [your_branch_name]
  • Delete a local branch
    • git branch -d [your_branch_name]
  • Delete a remote branch
    • git branch -dr [your_branch_name]
  • Add tag on current commit
    • git tag [your_tag_name]

Remote

  • See all remote repository url
    • git remote -v
  • See info about remote repository
    • git remote show [remote_repository_url]
  • Add remote repository
    • git remote add [remote_repository_url]
  • Fetch all branch structure from remote
    • git fetch

pull

  • Fetch all changes from remote directory
    • git pull
    • git pull [remote] [branch]

push

  • Fetch all changes from remote directory
    • git push
    • git push [remote] [branch]
  • Publish your tags
    • git pull --tags

merge

  • Merge branch into your current HEAD
    • git merge [your_branch_name]
  • Solve conflics using mergetool
    • git mergetool

rebase

  • Rebase with HEAD branch
    • git rebase [your_branch_name]
  • Continue rebase after resolving conflicts
    • git rebase --continue
  • Abort rebase
    • git rebase --abort

reset

  • Discard all changes in your local branch
    • git reset --hard HEAD
  • Discard local branch changes for single file
    • git checkout HEAD [your_file_name]
  • Revert specific commit
    • git revert [commit_hash]
  • Reset your local branch with specific commit forcefully and discard local changes
    • git reset --hard [commit_hash]
  • Reset your local branch with specific commit and discard local changes
    • git reset [commit_hash]
  • Use colorful git output
    • git config color.ui true

References