Posts

Showing posts from January, 2021

Just a short poem: An appreciation for the coder behind, from an amateur coder himself.

 Was an old poem, why not post it here.  Background: someone had made a website for DD's school, A thanking speech had to be delivered. So, why not write a poem for it. Here is the result. An appreciation for coder behind, from an amateur one. We only get to look on the polished surface of the things.  All the effort that went to make it, is usually overlooked. Importing right libraries, And an endless list of functions, passing every test cases,  removing all glitches, Leaving no error behind, closing those while and for brackets,  and especially those curly ones.  Mixing each one of this to make a smoothie which can be used  frequently, flawlessly, and fabulously,  every time one comes with a demand.  So that we can enjoy the fruits of your labour. We sincerely thank you for your efforts.                                       ...

Graph of how number of messages very in my college whatsapp group on hourly basis.

Image
 koi khaas kaam ki cheez nahi hai, but graphhed how frequency of messeges vary with time in my whatsapp group.  1. test messges 27000 ke ass passs.(isse koi khass fark padta hai nahi ki 100 ho ya fir 26000, but ha hai to 27000) 2. thode se errors hain will rectify them soon. 😄😄😄 3. graphed in python, not a py script but on jupyter notebook koi or sun-ne vala hai nahi to chalo yaha hi sahi,  ha ab hai khushi to hai, karan nahi pta.🤣 Figure: Chart of How the number of messages vary with hours of the day Figure: exact data                link of note book,(open in Google Colab, for data.txt download the data from WhatsApp, and you will get a updated statistics) Update: 1. updated the link of notebook 2. Have rectified the errors in code(there was a PM in place of AM in regex code, it took really long to find it.) 3. updated the chart (now its hopefully right) 4. added number of messages per hour data image.  5. technicall...

Part 1: The effects of social media on our lives: a detailed analysis.

Image
When and why? In class there was going to be a group discussion, topic chosen became ‘Effects of Social Media’. There were many points. Everyone had opinions. I thought, I need to vent out mine too. And a minute or two-time will not be able to justify on what arguments I had. So, here are my thoughts. Topic is also relevant, should help in making better decisions.  Introduction By the way, what do you mean by social media? Before computers completely overtook our lives, there was a time, we used to make our social interactions physically. Meeting people face to face, not by clicking the blue tick to accept request. If you wanted to meet someone you had to go there. Information was exchanged through this, news, politics, drama, culture, and all other type of knowledge But now most of the social interactions have been taken over by internet. It all can be done virtually, digitally. Information can be gathered, could be presented to you in a well structured and confined manner. A...

Graphing the difference between primes in python using matplotlib.

Image
 Wrote a little script which when supplied with a number can be used to plot the graphs of difference between the prime numbers,  this is the Code, it is written in Jupyter notebook( Here ), if you want take a look. Please do so, any constructive criticism is always welcome.  Initial motivation was that i will get some pattern and a 21st century Ramanujan will be born, I was  WRONG. I think theoretically there is no limit to how much you can enter but when i entered 500,000. I am waiting for 10 min for it to process so that I can attach the screenshot but nope. Finally abandoned it and entered the ss of n = 100000 update 1: If you don not own anaconda distribution right now, then you can download the notebook from here . And upload it here , on file>upload Notebook. then you are good to go. It will all in all be a 6KB of data transfer, I am sure your internet can bear that. 

Review of Kindle: I dont know why they didnt liked my review. Because I have written it, I will post it here.

This is a review of basic kindle 10th generation. This review is being posted after using the kindle for 1 month reading between 1 to 2 hours every day. There are great reviews of this product. So, I am adding only those which you may not find elsewhere. It is divided in two segments, noting it's plus and minuses accordingly. Like all others and also, by not being so rich that spending 8000 on just a black and white tablet would be an easy affair. I was really sceptical about explaining it's worth to me. Had been looking for it since 3 years, moment arrived, marks of class 12 came and I got it as my gift. I read regularly, social media and YouTube feel shallow if you get habitual to read. I think this is the best investment for me in my whole life. And hope to really justify it by adding value to life. Pros 1. Screen is really great to read on it. I have not used Paperwhite or Oasis but after moving from books directly to kindle I think this is very close to book. And internal ...