After ONDC (Open Network for Digital Commerce), it’s high time that the Indian Government also launch their own app store. It will help making things better for companies & developers as currently they are on the mercy of the rules decided by Google which are not very developer-friendly. They charge 25% commision on the payment…
Author: Abhineet Mittal
Someone found a human finger in their ice-cream
Someone found a human finger in their ice-cream. The ice-cream company, which outsources its manufacturing, have stopped the outsourcing and decided to manufacture their ice-cream themselves. This shows how outsourcing is not a solid way to build a business. It may work in the short term, but in the long term, it has so many…
The case of the aspiring Ola-Uber killer
The case of the aspiring Ola-Uber killer BluSmart cab service started as an aspiring Ola-Uber killer promising to solve all the issues which customers faced with Ola and Uber. When they began their operations, an important feature of their marketing campaign was that they will not indulge in differential peak hour pricing. In fact, this…
I lost 40% in a day
I lost 40% in a day On June 4, during the counting of votes of the Indian General Elections, the stock market crashed and I lost almost 40% of the unrealized gains of last one year in my stock portfolio. But I did nothing. 9 days later, my unrealized stock gains have doubled and are…
Startup Investors To Lose Their Special Rights
Startup Investors To Lose Their Special Rights When a startup gets money from an early investor, it is more about investor’s faith in some people with an idea. It is a huge financial risk for the investors. The startup founders have less financial risk compared to the investors. To compensate this, the investors get special…
Banks are running out of money
Banks are running out of money due to mutual funds & stocks Well in simplified terms, they are getting less deposits and giving out more loans. This is because more and more people are now investing their money in mutual funds & stocks, and moving away from the traditional bank deposits. Is it bad sign?…
The war of trash balloons and loud speakers
The war of trash balloons and loud speakers Recently North Korea launched hundreds of trash balloons which landed in South Korea. Meanwhile, South Korea is broadcasting messages criticizing the North Korean government through loudspeakers pointed towards North Korea at the border. Reports are that North Korea is also installing speakers on their side. It is…
Is it a good time to invest in the market?
Is it a good time to invest in the market? I am sitting on more than 40% unrealized profit on a good portion of my investments in just a few months, thanks to the recent rise in the market. A lot of people have been saying that if you have not invested in the current…
Book Review: The Great Gatsby
I just finished reading the The Great Gatsby. It is the first book I read on my new Kindle e-reader. I bought this new Kindle to read the most popular classics and this book marked its beginning. The Great Gatsby is a very popular book which has been made into multiple movies as well. I…
How to detect English/ASCII string in PHP
There is no direct function for this in my knowledge. But it can be done easily like so. “`php if ( mb_strlen( $string, ‘ASCII’ ) === mb_strlen( $string, ‘utf-8’ ) ) { return true; } “`
The state of automobile dealerships in India
My father had a "not-so-great" experience during routine service of his two-wheeler vehicle at a Honda service-center at my hometown. And it is the same for most dealerships and service outlets of major automobile companies in Tier-2 and Tier-3 cities in India. These dealerships are operated as local businesses and though they adhere to company…
Sending JSON with data Javascript Fetch
An important reminder to include following header while sending data in Javascript fetch() call in JSON format. Also, do not forget to use JSON.Stringify(). var data = { some_data: ABC}; headers: { ‘Content-Type’: ‘application/json’, }, body: JSON.stringify( data ), This is not needed if you are creating a form data object and appending data to…
Disable RSS Feed Pages in WordPress
To disable RSS feed pages in WordPress, hook into the action filters provided for each feed page function and then redirect to the home page. // Disable RSS feed pages add_action( ‘do_feed’, ‘disable_rss_feed_pages’, 1); add_action( ‘do_feed_rdf’, ‘disable_rss_feed_pages’, 1); add_action( ‘do_feed_rss’, ‘disable_rss_feed_pages’, 1); add_action( ‘do_feed_rss2’, ‘disable_rss_feed_pages’, 1); add_action( ‘do_feed_atom’, ‘disable_rss_feed_pages’, 1); add_action( ‘do_feed_rss2_comments’, ‘disable_rss_feed_pages’, 1); add_action(…
Safety & Liquidity of Debt Mutual Funds
Yesterday I wrote an article about Debt Mutual Funds. I got a few questions about the liquidity and safety of a particular fund. So, I am adding a few more points. Many Debt Mutual Funds like Nippon, Axis and HDFC offer instant redemption and you get the money within 30 minutes. Safety of money means…
FDs are destroying your wealth
If you are still making FDs of your monthly savings, you are destroying your wealth. Interest on FDs is taxable. That means the current interest rate of about 5.5% effectively gives you ~3.8% return on your money (Assuming you fall in the highest income tax slab). With more than 6% inflation, your money is losing…
A useful tip to save upto Rs.15k in tax: Section 80TTB for Senior Citizens
As we are just 2 days away from the last date of filing income tax return, here is a useful tip to save upto Rs.15k in tax. If you are helping out a senior citizen in filing their Income Tax Return, do not forget section 80TTB which allows Rs.50k deduction on their interest income from…
WordPress adding slashes in POST requests
WordPress adds slashes before quotes even if we do not want to use magic quotes. To solve this problem, you can use either of the following two functions on the values returned from POST requests- wp_unslash stripslashes_deep References: https://developer.wordpress.org/reference/functions/wp_unslash/ https://developer.wordpress.org/reference/functions/stripslashes_deep/ https://core.trac.wordpress.org/ticket/18322
How to disable translation pop-up on website in Google Chrome
Google Chrome on Android tries to show pages in user’s preferred language by continuously showing translation pop-up on each page load. This happens when website content is in a different language than user’s preferred language. But this creates issues in user experience by hiding bottom content on website. My site had fixed bottom navigation bar…
How to Modify Title Tag in WordPress
I always missed a function to directly change the title tag in WordPress template. But here is a function which can do that for you. function modify_title( $new_title ) { add_action( ‘pre_get_document_title’, function( $current_title ) use( $new_title ) { return $new_title; }, 9999 ); } Please note that this function uses use keyword to bind…
Restrict number of selected checkboxes in html
This code will restrict html multi select input to given number. document.addEventListener( “click”, function( event ) { if ( event.target.matches( ‘.input-checkbox’ ) ) { var inputCheckboxes = document.querySelectorAll( ‘.input-checkbox[type=”checkbox”]:checked’ ); if( inputCheckboxes.length > 3 ) { event.preventDefault(); alert( ‘You cannot select more than 3 categories for a post.’ ); } } } );