Recent Blogs
Twitter bots using Tweepy
Unable to think what to tweet about? Have you ever faced a similar situation? Well, it’s very easy to create your own bots using python’s Tweepy module. You can use these skeletons I recently made for a workshop on the same topic. All you need to make your own bot is add some logic to these skeletons. This is a basic static script that you can use by running once yourself or setup a cronjob to run automaticaly in intervals.
Point about Floating (Points)
It is not always true what you might be told about floating point numbers, always better to look for things in the manual or on the internet Black Hat was lying to the ACM team. e^π – π, which is around 19.999099979 is very close to 20. Many people forget that floating point numbers are approximations, otherwise infinite space would be needed to store such numbers. He made them believe that it is “close enough to 20 that the computer should be unable to tell the difference, and that any noticeable deviation from 20 results from errors in the code”.
Making Presenations using Markdown
It’s often a pain to make presenations. How many times have you just wanted to make a simple presentation but have had to deal with bulky software like MS Office? Well markdown alternatives exist for presenations also, you can focus on your content and make your presentations simply in markdown. If you don’t know what markdown is you can see this wonderful cheatsheet and get acquainted with it in seconds.
Serverside and Clientside Redirection
Redirection can be achieved Server-Side or Client-Side. Redirection on client side involves the following steps: User requests a Page using an URI. Server sends a page based on that. That page will have JavaScript that will redirect user to another page. So, again server will get the request for the new page and then server will give response based on new request. That implies: Client-side -> Server-side -> Client-side -> Server-side -> Client-side.
Some Useful Javascripts
I have collected some nice java-scripts that are really useful, Just copy and paste them in your browser’s address bar:- This code lets you edit any page/website in real-time. With Firefox, you can even edit and save the modified pages to your computer. This is a really cool script, very useful! javascript:document.body.contentEditable='true'; document.designMode='on'; void 0 There are times when you are not sure that the website that you are visiting is authentic.
The World Community Grid: Make your computer’s idle time to useful
Their Mission, Their Work and You World Community Grid’s mission is to create the world’s largest public computing grid to tackle projects that benefit humanity. The [World Community Grid]( World Community Grid) wants to turn you spare computer power into life saving change around the globe. Sponsored by IBM, the WCG is a nonprofit that partners with research teams to help them analyze data and run simulations. Each person who joins WCG donates their idle computer time to solve a fraction of a larger problem.