5 Google Products That Failed and What Startups Can Learn From It

Visit following link. Saved just to bookmark on blog.

https://blog.kissmetrics.com/google-products-that-failed/

Advertisements
Posted in Uncategorized. Leave a Comment »

I’ve inherited 200K lines of spaghetti code — what now?

​I came across a very good question (as mentioned in title of post) and fantastic answer. This is common problem for senior developers / project leads who just landed on some previously coded project. I’ve seen such scenes quite a lot time and all ends in frustration and left unresolved.

Posting on blog for reference. Actual question / answers are here:
http://programmers.stackexchange.com/questions/155488/ive-inherited-200k-lines-of-spaghetti-code-what-now

Top answer summary:

Executive Summary for the Impatient

  • Define a rigid project structure, with:
    • project templates,
    • coding conventions,
    • familiar build systems,
    • and sets of usage guidelines for your infrastructure and tools.
  • Install a good SCM and make sure they know how to use it.
  • Point them to good IDEs for their technology, and make sure they know how to use them.
  • Implement code quality checkers and automatic reporting in the build system.
  • Couple the build system to continuous integration and continuous inspection systems.
  • With the help of the above, identify code quality "hotspots" and refactor.

Now for the long version… Caution, brace yourselves!

Read here: http://programmers.stackexchange.com/questions/155488/ive-inherited-200k-lines-of-spaghetti-code-what-now

Posted in Uncategorized. Leave a Comment »

PHP library for Charts, Graphs, Guages & Dashboard

A PHP Chart library (www.chartphp.com) that promises to supports many features and looks to be an alternate to FusionCharts PHP wrapper, PHPChart, HighCharts PHP etc. Basically, A simple PHP wrapper is missing element in many charting libraries as it takes time to understand the JS api. Other factor to use these libraries is the Cost. From their website, here are some highlights of ChartPHP library:

  • HTML5 powered PHP Charts for Web and Mobile devices
  • Delightful & Hassle free – Line Charts, Multi-line Area Charts, Bar Charts, Pie/Donut Charts, Meter Guages, Funnel Charts and many more.
  • Supports databases including MySql, PostgreSQL, SQL Server, Oracle, DB2
  • Ready-to-Use PHP Sample Code & Demo Charts
  • Chrome, IE 7, IE 8, Firefox, Safari, and Opera Compatible

These libraries definitely save a lot of time, making admin reports, stats charts OR business kpi dashboards.

​The product website seems to be under development​ now.

Posted in Uncategorized. Leave a Comment »

Fixing Thinkpad Fan error

If someone wish to repair FAN ERROR issue of thinkpad byself, here is the tutorial​

https://hwshim.wordpress.com/2009/11/23/fixing-thinkpad-fan-error/

Posted in Uncategorized. Leave a Comment »

Easy Database Apps Builders

As a business start-up owner, many of us still thinks that excel is enough for me for customer information and mini CRM, but it is valid only when you have limited usage. When you grow advance, the excel misses several functions like access control, sharing, maintaining central security of data, storing media etc.

Database driven application resolves this limitation by provides stable alternates. Corporates usually hire some IT team and give them requirements for app. But when some one need quick and budget friendly solution, easy option is to use some kind of database application makers. Here i want to share my working, while doing some research on database application builders.

Basic searching idea was, they should be built for business users. No coding and programming skills requirements.

Good:
http://www.caspio.com/
https://www.zoho.com/creator/
https://www.knackhq.com/

Average:
https://www.nubuilder.net/
http://awareim.com/
http://creator.ifreetools.com/
http://bigprof.com/appgini/
http://www.elevatesoft.com/products?category=ewb
http://www.viravis.com/
http://www.longtion.com/dbappbuilder/dbappbuilder.html

Shoutcast version 1.9.8 (mp3 straming for free)

T​he shoutcast v2, don’t allow mp3 streaming unless you subscribe to Yepp (cost $5). The shoutcast v1 does not have such restriction. So i went to save cash and moved to v1. If someone is finding hard to get download link of v1, here is it:​

http://dynapub.shoutcast.com/broadcast-tools

​Rest usage is pretty simple:

1) Extract the server, and configure the shoutcast server

vim ./sc_serv.conf

In that you can change port (default to 8000) & broadcast/admin password. Nothing else required to touch, unless you know what you are doing.

2) Run the server (preferred in screen)
./sc_serv sc_serv.conf​

​​

​All for now.​

Posted in Uncategorized. Leave a Comment »

gVim for PHP – windows config

Recently, i tested another editor for PHP (@mwasim, @zshah, @zkhan … which is actually my time wasting hobby). Reason was PDT and Zend was eating up my laptop’s resources and making it too slow. I am fan of notepad++ but it lacks some speedy work which we have in SublimeText. Sublimetext is really nice, but 1) Paid 2) Slow at big files.

The new experiment is not really an innovation. It is the GUI version of linux ‘vim’.

gvim for php

I tweaked some startup config in _vimrc (placed C:\Program Files\Vim).

colorscheme darkblue        " my theme
set guifont=consolas:h11    " my font
set nu!                        " line num

map <C-e> <Esc>dd            " delete line
map <C-d> <Esc>yyp            " duplicate line

let g:netrw_liststyle=3        " tree like explorer
let g:netrw_altv = 1        
let g:netrw_preview = 1

set smartindent                " indenting to 4 space
set tabstop=4                
set shiftwidth=4

Vim comes up with lots of shortcuts, but it gets comfortable only when you used to few tricks. It’s faster than any other so far.

Quick Usage Tips:

– You can open any file in VIM using right click context menu
– Either goto Windows -> File Explorer OR write :Ve command (vertical split explorer)
– Use arrow key to navigate files, and when opening press ‘v’ (for vertical split) or ‘t’ (for new tab)
– Use ‘Ctrl+w+c’ to close any window
– And the key source for file explorer help, try :h netrw

Useful Plugins:

The most wanted sublimetext like Ctrl+P feature in gVim. Install this plugin. Download the archive and place override all the folders inside the vim directory.

screenshot

Posted in Uncategorized. Leave a Comment »