Tuesday, April 1, 2025

#ArrestKpSherePrachanda #arrestgyanendra

After the current political scenario and the activeness of the King and his supporters there are hashtags trending on Nepalese social media accounts.

#arrestgyanendra is being trended by the democratic supporters.

#ArrestKpSherePrachanda is being trended by the king supporters and the ones who are really frustrated by the current political scenario of top 3 leaders.

What do you think?










Monday, March 31, 2025

Can Monarchy be a solution for current Nepalese Political scenario?

Monarchy is the form a state with the King as head of state and it passes on along with the  royal family. Currently there are about 43 countries with this monarchy in Absolute Monarchy form with significant power and Constitutional Monarchy with king as head of state only and limited powers.  Qatar, Saudi Arabia and UAE have absolute monarchy where as British Monarch is constitutional monarchy heading most of Common wealth countries also Japan, Bhutan, Spain and other 20 countries have Constitutional Monarch.

Nepal was under Monarchy about 240 years with Sha Dynasty ruling the country but the 2062/63 peoples movement ended the Sha Regime making country Federal Democratic Republic. Currently Nepal has Parliamentary System which elects the Prime Minister as head of Government and President as the State head. The President has very limited power and is the state head. Also, there is vice president to act as state head in absence of the President.

Currently, the economy of Nepal is under very stress with increasing regular expenses which cannot be fulfilled by the revenue collection of the country. So, to cover the regular expenses also and for development budget, the government is forced to take debt and the liability of debt and interest is increasing day by day  as there is no such increment if revenue collection. So, to cut off the regular expenses systematically is the foremost step to progress the economic stability.

Current state head, President and the Vice-President though are only two persons but  organizational structure of the two persons is very heavy. The President office is lead by a Secretary, 5 Joint secretary and numerous Under secretary and officers. Similarly, the President has huge number of advisors including personal, legal, political etc. As the President has very limited power the organizational structure of the President office is too heavy. 

Similarly, the Vice-President who is a state head just in absence of President and has no any other role also has huge organizational structure. The Office of Vice president is also lead by secretary, a Joint secretary, two Under Secretary, three officers and other staffs. Also there is team of advisors and personal staffs. The institution which has no any role by constitution, the running cost is too over loaded.

Similarly, the government is providing allowances, security, vehicle, diesel, house rent and many more to the past president and vice presidents. So, these structure are really stressing the regular expenses of the country.

SO,

In the current form of the state, why cannot King be the head of state replacing all the President and Vice President structure. The King can only represent as head of state and limited power exactly as that of the current president. The King has been ruling the country since long and has huge respect along with the royal family. The King does not need any salaries and allowances like these current political presidents and vice president who are just taking the post for the facilities. The long respected royal family and King can only be given the security protocol and kept as the state head body. This can be a very suitable solution to drastically minimize the running cost and the number of VVIPS in the country. 

Monday, February 17, 2025

List data structure in python


Further commands in list data structure

cars = {'Honda', 'BMW', 'Toyota', 'Audi'}
for d in cars:
    print (d)
cars.append('Suzuki')
cars.insert(3, 'BYD')




 



Tuesday, February 11, 2025

Basics of Python

Escape Characters are used to include special characters in strings.

Examples:

\n : new line

\t : tab

\" or \' or \\ : insert " or ' or \

Comment lines/multiple lines

  • Use #comment for actual comments.

# This is a comment
# This is another commented line
# This is yet another comment

  • Use ''' comment ''' or """ comment """ for multiline.

'''
This is a multiline
that can act as a comment
'''

Comment Multiple Lines in VS Code (Shortcut)
Windows/Linux: Select multiple lines and Press Ctrl + /
Mac: Select multiple lines and Press Cmd + /




Monday, February 10, 2025

Virtual Environment in VS Code

 In Powershell/cmd terminal of VS Code type the following:

  • python -m venv name [ name = name for yoyr vitrual environment]
For activation
  • name\Scripts\activate [(name) will appera before the folder path once the environment is activated]
Install packages in venv
  • pip install package_name [package_name= numpy, pandas, matplotlib]

Wednesday, February 5, 2025

Pythone code to calculate tax for annual salary

  
#define a function 
def tax_salary(salary):
    if salary < 5e5:
        tax= 0.01*5e5
    elif salary <7e5:
        tax = 0.01*5e5 + (salary-5e5)*0.02
    elif salary < 10e5:
        tax =0.01*5e5 + 2e5*0.02+ (salary-7e5)*0.1
    else:
        tax = 0.01*5e5 + 2e5*0.02+ 3e5*0.1+ (salary-10e5)*0.02
    return tax
#Example
salary = 75e4
tax = tax_salary(salary)
print(f'For annual salary of {salary}, the tax is {tax}')

Tuesday, February 4, 2025

Earn Online: Daraz Affiliate Programme

Affiliate marketing is online way of earning by promoting the products and services of other companies and earn certain percentage commission. See details about it here.

Daraz Affiliate Program

Daraz is one of the  Nepal's largest online marketplaces which offers a very wide range of products; fashion, electronics, home appliances and many more. The Daraz affiliate provides commissions ranging from 2% to 10%, depending on the product category. Their program has quality tracking tools to monitor the performance of your affiliate links.

Steps:
1. Log into your Daraz account via mobile app or web.
2. Go to Account> My affiliates
3. Sign up for the Daraz Affiliate Program
4. After signing up you will get list of items with the commission amount.
5. Select the item you want to promote and you will get the link, code and all details to be shared while promoting the product.
6. Include the link in your blog, websites, YouTube channel and other platforms.
7. You can see the performance of your links in the report section of the Daraz Affiliate Program.