# Microblog, Freebies and Status Updates

Thoughts, discoveries and administrative news from Gaurav Tiwari. All opinions are personal and are not endorsed by any brand or person.

8 Posts Likes

# How To Avoid Legal Issues On WordPress Websites?

All businesses face some risk and liability. Online businesses face a type of liability that is not seen in the offline business world. WordPress sites are especially vulnerable to certain liabilities since they are not normally associated with major corporations with large legal teams. To protect your online business, it is important to know what the risks are, and what may be done to mitigate them.

## Privacy Policies and Financial Relationships

The FTC has recently instituted regulations on privacy that WordPress publishers and other website owners need to be aware of. These include limiting the information collected on visitors and customers only to data relevant to a transaction, having a policy in place notifying visitors which information is collected, purging information after it is no longer needed and relevant, and allowing visitors and customers the choice to opt out of tracking cookies and other data mining technologies.

The European Union also instituted its own law regarding policies and tracking cookies. This is obviously important for EU based sites to comply with.

Finally, it is important for sites to disclose when they stand to benefit financially from referral sales and other advertising that exists in their sites.  Site owners often publish both a privacy policy as well as a policy to cover the necessary financial disclosures.

## Liability for Content Published

Freedom of speech is protected online, but there are still issues of liability to be aware of. Bloggers and other web publishers can be accused of defamation and libel.

Site owners can also come under fire for publishing advice without the necessary licenses.  It is important not to claim false credentials or to give advice only a professional should give.

## Image Use

It is common for bloggers and online publishers to use images in their articles. If an image is not clearly licensed for reuse, such as Flickr Creative Commons or stock photo sites, it is best not to use that image and to find another one that is.

When in doubt, it is best to only use images with clear usage rights published next to the image.

## DMCA Notices

The DMCA is mainly used online to deal with the infringement of intellectual property. This may be an issue when one site owner feels another has used their content without permission or in a way that harms their own interests.

Sites should have a clear policy on how to address these issues, and should be ready to act to take down offending material if needed.

## Incorporation of WordPress Sites

Some site owners and bloggers, even those trying to stay anonymous feel the need to further protect themselves against litigation and other legal actions in the form of an LLC or other business entity. There are a variety of services online to help site owners incorporate their sites.

### Recap

To recap the minimum requirements to protect a WordPress site from legal issues, a site should have:

• Should not store unnecessary information, nor should it keep information for longer than needed
• Must disclose financial relationships
• Should be prepared for libel and defamation situations
• Have a DMCA policy
• Make intelligent use of Images
• Consider incorporating if their situation warrants it

The list of potential offences is extensive, but the broad approach listed above should cover many other site owners, like those on Spotify or Blogger as well.

# Best Websites For Programmers and Tech Geeks That They Should Visit

There are some websites that are really helpful for programmers. I have listed those and why they should be visited!

## If you are having problems with coding

1. StackOverflow (Subscribe to their weekly newsletters and find interesting topics)
2. CodeProject

## Technology News

Get the latest news directly to your inbox.

1. Hacker News
2. Ars Technica (Unique Quality Articles)
3. ACM Technology News
4. Lobsters
5. TechCrunch
6. The Verge
7. GSMArena (Latest Mobile Phones)

## Tutorials Websites

4) Data Structures and Algorithms

# How to register to vote in India online?

India being a democratic country; voting is the constitutional right of every citizen. Indian Citizens are blessed with the power of voting so that they can elect a government which can take beneficiary decisions and can successfully run the country.

As we know, with the Internet each work has turned out to be quite effective. Today Election Commission of India has not only provided its citizens who have reached the age of 18 to register for offline voting but has also given them the right to register to vote online. Where citizens are only required to fill form 6 and get themselves registered as general voters at the service portal of ‘National Voters’.

## How to register to vote online

Citizens can easily register to vote online in a fast, free ,easy and secure way without any trouble. These ways are as follows:-

• First you have to make sure if you are eligible to vote or not. For this you have to visit https://electoralsearch.in/ in order to check if your name is registered on the voters list. In case your name is not registered for voting, you can get yourself registered online by the voter Helpline App or by visiting https://www.nvsp.in/.
• After you have completed verifying your name in the list. You are required to fill Up form 6. Voters are needed to fill up this form if they are moving from one constituency to another. Also the voters who will be going to cast their vote for the first time ,they can too fill up this form.
• Form 6 includes fields such as voter’s ‘Prefered language’, ‘selection of their State and parliamentary / Assembly constituency’, personal details of the voter , place and date of filling the form which needs to be filled if you want to register to vote.
• If a voter is a NRI or overseas elector then they are needed to fill up form 6A for including their names.
• If an elector has any objection regarding inclusion or deletion of names in electoral list then they must fill up form 7
• In case there is a need for correction or changes in entries such as Name, Age, date of birth, place of birth, gender, address, photo, EPIC number, contact details, father’s/ mother’s/ husband’s name etc, Voters are required to fill up form 8.
• If an elector is moving from one location of residence to some other location of residence under the same constituency then they must fill Up form 8A.
• After you have completed filling of your form you can click on the submit button.

## Documents required for online registration

For registering to vote online, Voters need to upload some of their documents. These are:-

• Scanned copy of age/Identity Proof
• Scanned copy of address proof
• Recent passport size coloured photo of the elector

## How to register to Vote Offline

Despite having the option of registering to vote online some of the voters find offline way more consistent for enrolling their names for voting. Offline registering is also quite efficient and requires a series of process as follows:-

• Firstly the elector should have two proper copies of form 6 for filling. You can easily get this form from the Assistant Electoral Registration Officer or the Electoral Registration Officer of your respective constituency as well as you can collect this form from the Booth Level Officers of your polling station without any kind of charges. Moreover voters can even download this form from the portal of the Election Commission.
• After you have completed filling up the form you need to attach relevant documents along with the application form and submit it to the Electoral Registration Officer/ Assistant Electoral Registration Officer of your respective constituency ****or the Booth Level Officers of your polling station.
• Voters can even send their application form via post to the Electoral Registration Officer/ Assistant Electoral Registration Officer of their constituency on the postal address of their corresponding State and Union Territory which is given on the portal of Election Commission.

## Documents required for offline registration

Offline registration too supports relevant documents of the electors at the time of registering .These documents include:-

• Photocopy of age/identity proof
• Photocopy of address proof
• Recent passport size coloured photo of the elector should be pasted in the box provided in the form.

## Eligibility criteria to register for vote

As we know each citizen of India is privileged with the right to cast a vote but this certainly has some criteria which needs to be followed before you register to vote. These criteria are as follows:-

• It’s mandatory for the voter to be an Indian citizen.
• He/she as a voter should be at least 18 years of age as of 1st January of the year in which the electoral list is revised.
• The elector should be a residence of the polling area of the constituency where he/she wishes to get themselves enrolled.

If the above given conditions are fulfilled then you can register your names online for voting.

Conclusion

Undoubtedly, voting is the fundamental right of each and every citizen through which a government is elected ,’of the people’, ‘by the people’ and ‘ for the people’. Voting is the compulsive duty of each citizen as many generations of our forefathers have fought to lay down the foundations of democracy. So every individual of India should be completely aware about this, and should register themselves to vote , if they have not done it till yet!

# Exploring MEE6 on my Discord Server

I recently discovered MEE6, a Discord bot.

MEE6 is a fully featured tool for creators and it helps at different levels including moderation, leveling, Twitch alerts with the most easy-to-use dashboard!

I am still going through the features and will update this post once I’m totally done with it.

# The Cattle Problem

This is a famous problem of intermediate analysis, also known as ‘Archimedes’ Cattle Problem Puzzle’, sent by Archimedes to Eratosthenes as a challenge to Alexandrian scholars. In it one is required to find the number of bulls and cows of each of four colors, the eight unknown quantities being connected by nine conditions. These conditions ultimately form a Pell equation which solution is necessary in case of finding the answer of the puzzle. The Greek puzzle is stated below with a little deviation. I have just tried to make the language simpler than the original, hope you’ll be able to grasp the puzzle easily.

O Stranger! If you are intelligent and wise, find the number of cattle of the Sun, who once upon a time grazed on the fields of an Island, divided into four groups (herds) of different colors, one white, another a black, a third yellow and the last dappled color.In each herd were bulls, mighty in number according to these proportions:

• White bulls were equal to a half and a third of the black together with the whole of the yellow.
• The black bulls were equal to the fourth part of the dappled and a fifth, together with, once more, the whole of the yellow.
• The dappled bulls, were equal to a sixth part of the white and a seventh, together with all of the yellow.

So, these were the proportions of bulls, now the proportions of the cows were as following:

• White cows were equal to the third part and a fourth of the whole herd of the black.
• Black cows were equal to the fourth part once more of the dappled and with it a fifth part, when all cattle, including the bulls, went to pasture together. Now the dappled in four parts were equal in number to a fifth part and a sixth of the yellow herd.
• Yellow cows were in number equal to a sixth part and a seventh of the white herd.

Keeping above conditions in focus, find the number of cattle of the Sun, giving separately the number of well-fed bulls and again the number of females according to each color. But come, this solution is not complete unless you understand  all these conditions regarding the cattle of the Sun:

• When the white bulls mingled their number with the black, they stood firm, equal in depth and breadth. Number of bulls in a row were equal to the number of columns.
• When the yellow and the dappled bulls were gathered into one herd they stood in such a manner that their number, beginning from one, grew slowly greater till it completed a triangular figure, there being no bulls of other colors in their midst nor none of them lacking.

Find the number of cows and bulls of each color separately.

Solution:

#### $W$

= number of white bulls
$B$ = number of black bulls
$Y$ = number of yellow bulls
$D$ = number of dappled bulls
$w$ = number of white cows
$b$ = number of black cows
$y$ = number of yellow cows
$d$ = number of dappled cows

The relations come as:

•   $W = (\frac{1}{2} + \frac{1}{3})B + Y$ The white bulls were equal to a half and a third of the black bulls together with the whole of the yellow bulls.
• $B = (\frac{1}{4} + \frac{1}{5})D + Y$ The black [bulls] were equal to the fourth part of the dappled bulls and a fifth, together with, once more, the whole of the yellow bulls
•   $D = (\frac{1}{6} + \frac{1}{7})W + Y$ The remaining bulls, the dappled, were equal to a sixth part of the white bulls and a seventh, together with all of the yellow bulls
•   $w = (\frac{1}{3} + \frac{1}{4})(B + b)$ The white cows were equal to the third part and a fourth of the whole herd of the black.
•   $b = (\frac{1}{4} + \frac{1}{5})(D + d)$ The black cows were equal to the fourth part once more of the dappled and with it a fifth part, when all, including the bulls, went to pasture together.
•   $d = (\frac{1}{5} + \frac{1}{6})(Y + y)$ the dappled cows in four parts [in totality] were equal in number to a fifth part and a sixth of the yellow herd.
•  $y = (\frac{1}{6} + \frac{1}{7})(W + w)$ the yellow cows were in number equal to a sixth part and a seventh of the white herd.

The arrangement on solving gives following relations in W,B,D,Y,w,b,d and y. which is a system of seven equations with eight unknowns. It is indeterminate, and has infinitely many solutions and form the following matrix:

 6 -5 -6 0 0 0 0 0 0 20 -20 -9 0 0 0 0 -13 0 -42 42 0 0 0 0 0 -7 0 0 12 -7 0 0 0 0 0 -9 0 20 0 -9 0 0 -11 0 0 0 -11 30 -13 0 0 0 -13 0 42 0

Which yields the following solutions

 W = 10,366,482k B = 7,460,514k Y = 4,149,387k D = 7,358,060k w = 7,206,360k b = 4,893,246k y = 5,439,213k d = 3,515,820k

where $k$ is an arbitrary constant, which can be equal to either 1 or 2 or 3 … etc. Again, from the second part of the problem:

White bulls + black bulls = a square number, $W+B=10366482k +7460514k$= a square number. or $W+B=17,826,996k$ =a square number$2 \cdot 2\cdot 3 \cdot 11 \cdot 29 \cdot 4657 k = \textrm{a square number}$ . Thus $k$ atleast be $3 \cdot 11 \cdot 29 \cdot 4657$ or in general be $3\cdot 11\cdot 29 \cdot 4657 \cdot r^2=4456749r^2$ where $r$ is any integer. Again, Dappled bulls + yellow bulls = a triangular number.or, $Y + D = \textrm{a triangular number}$ where triangular numbers are numbers of the form $1 + 2 + 3 + 4 + 5 + \ldots + m =\frac{m(m+1)}{2}$ . where $m$ is some positive integer. Thus $4,149,387k + 7,358,060k =\frac{m(m+1)}{2}$ or $11,507,447k =\frac{m(m+1)}{2}$ . Putting $k=4456749 r^2$ we have $11,507,447 \times 4,456,749 r^2 = \frac{m(m+1)}{2}$ or $102,571,605,819,606 r^2 = m(m + 1)$ . The problem is now to find the values of $r$ and $m$ that we can find the value of $k$ and thus the solution of the problem.
The computer generated answers for smallest solutions are  at my Pastebin Account.
Recently, Ilan Vardi of Occidental College (Los Angeles, California, USA) developed simple explicit formulas to generate solutions to the cattle problem.Click here to read his paper on the cattle problem.

References and Further Readings: Weisstein, Eric W. “Archimedes’ Cattle Problem.”  From MathWorld–A Wolfram Web Resource. http://mathworld.wolfram.com/ArchimedesCattleProblem.html Archimedes’s Cattle Problem http://en.wikipedia.org/wiki/Archimedes%27_cattle_problem Archemedes’s Cattle Problem http://math.nyu.edu/~crorres/Archimedes/Cattle/Statement.html The Archemedes’s Cattle Problem http://www.maa.org/devlin/devlin_02_04.html

# A Yes No Puzzle

This is not just math, but a very good test for linguistic reasoning. If you are serious about this test and think that you’ve a sharp [at least average] brain then read the statement (only) below –summarize it –find the conclusion and then answer that whether summary of the statement is Yes or No.
[And if you’re not serious about the test …then read the whole post to know what the stupid author was trying to tell you. :-) ]

The answer is YES.

In other words, we could restate the statement as:

If the question you answered before this one was harder than THIS ONE, was the question you answered before this one harder than THIS ONE.

That makes the answer obvious.

# Chess Problems

1. In how many ways can two queens, two rooks, one white bishop, one black bishop, and a knight be placed on a standard $8 \times 8$ chessboard so that every position on the board is under attack by at least one piece?
Note: The color of a bishop refers to the color of the square on which it sits, not to the color of the piece.
2. Can you attack every position on the board with fewer than seven pieces?

# Solution

1. Two ways as follow:
2. No. (…and I’m not pretty sure about this No)

Improved chessboard images via this website using Creative Commons.

# What is Real Analysis?

Real analysis is the branch of Mathematics in which we study the development on the set of real numbers. We reach on real numbers through a series of successive extensions and generalizations starting from the natural numbers. In fact, starting from the set of natural numbers we pass on successively to the set of integers, the set of rational numbers and that of real numbers.
Let $\mathbf {Q}$ be the set of rational numbers. It is well known that $\mathbf {Q}$ is an ordered field, i.e., $\mathbf {Q}$ is an Algebraic Structure on which the operations of addition, subtraction, multiplication and division by a non-zero number can be carried out. Also the set $\mathbf {Q}$ is equipped with a relation called “less than” which is an order relation. Between two rational numbers there exist infinite number of elements of $\mathbf {Q}$. Thus the system of rational numbers seems to be dense and so apparently complete. But it is quite easy to show that there exist some numbers which are not rational. Such numbers are called irrational numbers. The set/collection of rational and irrational numbers combined is called the set of real numbers. Study of these numbers is Real Analysis.

×