<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener('load', function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <div id="navbar-iframe-container"></div> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <script type="text/javascript"> gapi.load("gapi.iframes:gapi.iframes.style.bubble", function() { if (gapi.iframes && gapi.iframes.getContext) { gapi.iframes.getContext().openChild({ url: 'https://www.blogger.com/navbar.g?targetBlogID\x3d8211560\x26blogName\x3dTech+Tips,+Tricks+%26+Trivia\x26publishMode\x3dPUBLISH_MODE_BLOGSPOT\x26navbarType\x3dBLUE\x26layoutType\x3dCLASSIC\x26searchRoot\x3dhttps://mvark.blogspot.com/search\x26blogLocale\x3den\x26v\x3d2\x26homepageUrl\x3dhttp://mvark.blogspot.com/\x26vt\x3d601588505461698440', where: document.getElementById("navbar-iframe-container"), id: "navbar-iframe" }); } }); </script>

Tech Tips, Tricks & Trivia

by 'Anil' Radhakrishna
An architect's notes, experiments, discoveries and annotated bookmarks.

Search from over a hundred HOW TO articles, Tips and Tricks

TWIL - Week #16

This Week I Learned:

  • $.now() is the shorthand for new Date().getTime(). #jquery
  • Pages fetched with POST are never cached, so the cache and ifModified options in jQuery.ajaxSetup() have no effect on these requestsSetting cache to false will only work correctly with HEAD and GET requests. #jquery
  • On devices running iOS6 and Safari, POST is also cached. #jquery
  • How does Windows detect battery issues? Laptop batteries have a small chip inside that controls/monitors the charging process and also monitors the number of charge/recharge cycles. This chip is factory programmed with information how this sort of battery typically degrades over time. It also can derive information from the charging cycle itself: The time it takes to reach full-charge at a given voltage/current changes when the battery gets worn out. (Voltage drop during discharge is not reliable as it depends a lot on the amount of current drawn while discharging, so it varies with the use-pattern of the laptop.)
  • Is meanness the secret sauce of a winning open source project? It might be, according to Linus Torvalds, the guy who’s been running the Linux kernel project for the past 22 years. "On the internet, nobody can hear you being subtle"
  • Tip for self-publishers: Amazon is trying to drive down e-book prices by creating an incentive to price the book under $10. Normally, you only get 35% of every book sale but if it’s under $10 then you can get 70% of every sale....The other catch is that you only get 70% if the book is sold to someone within certain countries. For books sold to people outside of that list, you still only get 35%.
  • US is the Indian IT industry's largest market contributing to over 50% of revenues #india
  • Only about 5% of the country's 850 million mobile users have subscribed to 3G services, which are estimated to account for 3% of mobile revenue of telecom carriers. (Times of India) #india
  • The best American exports are not its goods or capital but its small, nifty, universal ideas from garage start-ups to open source that elevates the commons and reduces the dominance of monopolies
  • Mosquitoes find their mammalian prey through sensing the heat and carbon dioxide mammals emit. Pregnant women and larger people are sometimes the victim of multiple attacks, since they exert more energy than the average person. Mosquitoes cannot distinguish blood quality. Mosquitoes are attracted to our human odor, and that is largely a consequence of the bacteria on our skin. The "flora and fauna on our skin" also smell appetizing to mosquitoes, and these can increase when we sweat or spend a lot of time outdoors. When the mosquito bites, it leaves behind some of its saliva, a substance that contains anticoagulants and a local anesthetic, among other things. The body recognizes it as a foreign invader and sends histamines in to counterattack. Scratching just spreads the saliva and encourages the release of more antibodies, and more itching—a vicious cycle. Female mosquitoes are driven to bite you as they need a blood meal to complete their reproductive cycle and produce fertile eggs, which takes a huge boost of protein. To reduce the chances of being bitten, wash with an antibacterial soap to reduce the volume of mosquito-attracting bacteria on your skin. (Source: WSJ) #science


Tweet this | Google+ it | Share on FB

« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »


Post a Comment