tag:blogger.com,1999:blog-117725162009-04-03T16:27:23.992+11:00daily discoveryMemory dump of new things discovered daily.stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.comBlogger196125tag:blogger.com,1999:blog-11772516.post-87086909673478622662008-02-25T14:38:00.003+11:002008-02-25T14:48:40.365+11:00Laser printer cartridges are not carcinogenic<p>From this <a href="http://palimpsest.stanford.edu/byform/mailing-lists/cdl/1991/0338.html">discussion on laser printer cartridges back in 1991</a>:</p>
<blockquote>Laser printer toner's major constituent is carbon black, which is "a finely divided form of carbon made from the incomplete combustion of hydrocarbons." ... The studies in the information I have found that carbon black is not carcinogenic. The information I am referring to is the documentation for TLV's put out by the American Conference of Governmental Industrial Hygienists, 5th edition.</blockquote>
<p>So no need to worry!</p>
<p>Cheers,<br/>
Steve</p><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-8708690967347862266?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-9123326713884771222008-02-15T14:03:00.003+11:002008-02-15T14:07:03.830+11:00/etc/ftpusers, not what you think<p>The filename <code>ftpusers</code> seems to imply the users present in the file would be allowed to login via ftp, but this isn't so! It is apparently a left over from the <a href="http://www.wu-ftpd.org/">wu-ftpd</a> days, and it is a blacklist of users who are <em>not</em> allowed to login via ftp!</p>
<p>Cheers,<br/>
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-912332671388477122?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-15610776889498091622008-02-02T18:13:00.000+11:002008-02-02T23:34:17.077+11:00About Tigers and Polar BearsI know it is <a href="http://www.slashdot.org">slashdot</a>, but I couldn't find other sources, so take this with a grain of salt:
<blockquote>Tigers have practically no natural instincts when it comes to being predators. Tigers in the wild have to be trained by their mothers how to do things like hunt, climb trees, eat properly, etc. These are things that a human cannot teach. Therefore, any tiger born in captivity cannot be released into the wild and survive. It simply does not have the skills necessary.</blockquote><a href="http://science.slashdot.org/comments.pl?sid=438748&cid=22262422">22262422</a>
<blockquote>Not to be a pedant but Polar Bears in their natural habitat will actively hunt humans.</blockquote> - <a href="http://science.slashdot.org/comments.pl?sid=438748&cid=22263306">22263306</a>
If anyone knows for sure, let me know :D
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-1561077688949809162?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-32971548982102439952007-11-23T00:06:00.000+11:002007-11-23T10:46:48.100+11:00SHA Digests under LeopardA Steve Special this one. <a href="http://en.wikipedia.org/wiki/Mac_OS_X_v10.4">Tiger</a> came with <a href="http://en.wikipedia.org/wiki/SHA_hash_functions">sha*</a> digests binaries, but not <a href="http://en.wikipedia.org/wiki/Os_x_leopard">Leopard</a>. So here is how you can get them back. Insert into your .bashrc:
<code>
alias 'sha'='openssl dgst -sha'
alias 'sha1'='openssl dgst -sha1'
# the following lines only applies if you have openssl installed via <a href="http://darwinports.com/">darwin ports</a>
alias 'sha2'='openssl dgst -sha256'
alias 'sha5'='openssl dgst -sha512'
</code>
Usage is simple, for example:
<code>sha1 $file</code>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-3297154898210243995?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-73159432691921739872007-11-19T15:24:00.000+11:002007-11-19T15:27:25.531+11:00The Sagnac effect<blockquote>The Sagnac effect is the relative phase shift between two beams of light that have traveled an identical path in opposite direction in a rotating frame. Modern fiber-optic gyroscopes (Sagnac interferometers) used for navigation are based on this effect. They allow highly accurate measurements of rotation rates down to about per hour. </blockquote>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-7315943269192173987?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-29807686824821489252007-06-15T23:45:00.000+10:002007-06-15T23:51:42.453+10:00Using spaces and backslashes in /etc/fstabEver wondered how you use spaces and backslashes (exotic mount points or smb shares)? <a href="http://terrencemiao.com/Webmail/msg00946.html">Well wonder no more</a>!
<blockquote>Using '\040' replace blank space character, and '\134' replaces
backslash character.</blockquote>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-2980768682482148925?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-9759247843605853262007-05-09T23:37:00.000+10:002007-05-09T23:38:30.447+10:00macammacam allows most generic usb webcam to work under OS X effortlessly.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-975924784360585326?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-14797223180789217662007-03-28T22:09:00.000+10:002007-03-28T22:11:02.229+10:00Diameter at Breast Height<blockquote>A common measure of the size of a tree is the "diameter at breast height" DBH. "Breast height" is defined as 4 ½ feet above the uphill side of the tree. Since a tree trunk is not a perfect circle, "diameter" is defined as the circumference divided by pi.</blockquote>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-1479722318078921766?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-63274820626523270392007-02-23T15:16:00.000+11:002007-02-23T15:19:16.290+11:00Planck TemperaturePlanck temperature is the highest possible temperature in <a href="http://en.wikipedia.org/wiki/Quantum_mechanics">quantum mechanics</a>. It is 1.41679(11)E32 <a hrerf="http://en.wikipedia.org/wiki/Kelvin">Kelvins</a>.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-6327482062652327039?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-51655704668985221372006-12-08T15:24:00.000+11:002006-12-08T15:39:53.036+11:00The Chinese ZeroZero was introduced into Chinese mathematics through diffusion from the Hindus:
<blockquote>Evidently, as pointed out by Mikami [13] and others, the Chinese borrowed the zero concept from the Hindus, with whom they established contact at least as early as the first century, A.D. Here we have an example of its introduction by diffusion, but without such contacts, the zero would probably have evolved in Chinese mathematics, especially since calculators of the rod type were employed.</blockquote>
<a href="http://z.about.com/d/chineseculture/1/0/Y/Z/zero.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand" src="http://z.about.com/d/chineseculture/1/0/Y/Z/zero.gif" border="0" alt="" /></a>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-5165570466898522137?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1163331589329620722006-11-12T22:37:00.001+11:002006-11-12T22:39:49.330+11:00Gravity toggleNo its not a device from the future (yet) but rather one of these:<br/>
<a href="http://www.diydata.com/materials/wallfix/wallfix9.gif"><img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand" src="http://www.diydata.com/materials/wallfix/wallfix9.gif" border="0" alt="" /></a>
Clever!
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-116333158932962072?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1161837107678102952006-10-26T14:30:00.000+10:002006-10-26T14:31:47.700+10:00Real pearlsDissolve in vinegar.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-116183710767810295?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1161658145715036692006-10-24T12:38:00.000+10:002006-10-24T12:49:05.726+10:00Extended Euclidean algorithmCan be used to determine if a number g belongs in a <a href-"http://www.certicom.com/index.php?action=ecc,math3">multiplicative group</a> Zp* since it finds the integers x,y such that:
<pre>gx+py = gcd(g,p)</pre>
where x is the <a href="http://en.wikipedia.org/wiki/Multiplicative_inverse">multiplicative inverse</a> of a <i>mod</i> b. If 1 < x < p-1 then the number g belongs Zp*.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-116165814571503669?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1160458529042032452006-10-10T15:34:00.000+10:002006-10-10T15:57:09.616+10:00Maggots<blockquote>Live <a href="http://www.wikipedia.org/wiki/maggots">maggots</a> are sometimes applied to chronic wounds because they eat dead tissue, but leave healthy tissue alone</blockquote>
<div style="text-align:center;font-size:small;"><img style="margin:auto;text-align:center" src="http://upload.wikimedia.org/wikipedia/en/9/97/Maggots.jpg"/>
[disinfected maggots in open wound]</div>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-116045852904203245?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1160127792621637542006-10-06T19:34:00.000+10:002006-10-06T19:43:12.636+10:00Cure-all for intractable hiccups<blockquote>"An orgasm results in incredible stimulation of the <a href="http://en.wikipedia.org/wiki/Vagus_nerve">vagus nerve</a>. From now on, I will be recommending sex – culminating with orgasm – as the cure-all for intractable hiccups." - Francis Fesmire</blockquote>Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-116012779262163754?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1159937270182092012006-10-04T14:40:00.000+10:002006-10-04T14:47:50.210+10:00G forces during an Apollo launch abortionUp to 16.2<span style="font-style: italic;">g</span> of <a href="http://en.wikipedia.org/wiki/Acceleration_due_to_gravity">g-force</a> maybe experienced by astronauts during an <a href="http://en.wikipedia.org/wiki/Project_Apollo">Apollo</a> launch abortion.
<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Apollo_program_insignia.png/200px-Apollo_program_insignia.png"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px;" src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/2b/Apollo_program_insignia.png/200px-Apollo_program_insignia.png" alt="" border="0" /></a>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-115993727018209201?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1158291309111358802006-09-15T13:34:00.000+10:002006-09-15T13:35:09.123+10:00Telstra Concord Telephone ExchangeIs located at <span id="wikicontent"><span class="wcsml"><span style="font-weight: bold;">35 Yaralla St, Concord 2137</span>.
Cheers,
Steve
</span></span><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-115829130911135880?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1158132109110584952006-09-13T17:13:00.000+10:002006-09-13T17:21:49.140+10:00mii-tool<a href="http://linux-ip.net/html/tools-mii-tool.html">mii-tool</a> can be used to check the speed at which your <a href="http://en.wikipedia.org/wiki/Ethernet">ethernet</a> card is operating at under <a href="http://www.linux.org">Linux</a>. For example:
<blockquote><span style="font-family: courier new;">eth0: negotiated 100baseTx-FD flow-control, link ok</span>
<span style="font-family: courier new;"> product info: Intel 82555 rev 0</span>
<span style="font-family: courier new;"> basic mode: autonegotiation enabled</span>
<span style="font-family: courier new;"> basic status: autonegotiation complete, link ok</span>
<span style="font-family: courier new;"> capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD</span>
<span style="font-family: courier new;"> advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control</span>
<span style="font-family: courier new;"> link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control</span></blockquote><span style="font-family: courier new;"></span>Above tell us the network link over at interface <span style="font-family: courier new;">eth0</span> is working at 100baseT speeds and FD means full-duplex.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-115813210911058495?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1155970227739737502006-08-19T16:40:00.000+10:002006-08-19T16:50:27.750+10:00HDD Recovery tricksDue to the <a href="http://ask.slashdot.org/comments.pl?sid=194486&cid=15938402">way IDE drivers deal with bad sectors</a> and stuff, the following tricks might be useful raising a dead or bad drive from the dead:
<a style="font-family: courier new;" href="http://ask.slashdot.org/comments.pl?sid=194486&cid=15938472"><blockquote>dd if=/dev/hda of=/dev/hda bs=512 </blockquote></a>Here is another one:
<a style="font-family: courier new;" href="http://ask.slashdot.org/comments.pl?sid=194486&cid=15938141"><blockquote>cat /dev/urandom > /dev/hdb and then cat /dev/zero > /dev/hdb</blockquote></a>Doing that a few times should get the drive to re-map any bad sectors.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-115597022773973750?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1155286376470579182006-08-11T18:50:00.000+10:002006-08-11T18:52:56.480+10:00Generating padded sequences with jotHere is an example on how to generate 3 digit 0-padded numbers from 1 to 250 using <a style="font-family: courier new;" href="http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/jot.1.html">jot</a>:
<blockquote style="font-family: courier new;">jot -w "%.3d" 250 1 250 1</blockquote>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-115528637647057918?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1150787909233534692006-06-20T17:14:00.000+10:002006-06-20T17:18:29.253+10:00KML<a href="http://earth.google.com/kml/kml_intro.html">KML</a> stands for Keyhole Markup Language and is used to describe entities with in <a href="http://earth.google.com/index.html">Google Earth</a>.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-115078790923353469?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1144162593951792722006-04-05T00:54:00.000+10:002006-04-05T00:56:33.966+10:002323 is the largest integer that is not the sum of distinct powers.<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-114416259395179272?l=www.dailydiscovery.org'/></div>Mhttp://www.blogger.com/profile/08539576551592525597noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1143123258287191262006-03-24T01:13:00.000+11:002006-03-24T01:14:18.306+11:00machihembrasMachihembras means "first woman, then man".
<span style="font-style: italic;"><span style="font-weight: bold; color: rgb(255, 0, 0);">Warning</span>: site contains some nudity.</span>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-114312325828719126?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1142939776112911832006-03-21T22:12:00.000+11:002006-03-21T22:16:16.140+11:00Phonon<a href="http://en.wikipedia.org/wiki/Phonon">Phonon</a> is a quantised mode of vibration in a rigid crystal lattice that sometimes serves to conserve the <a href="http://en.wikipedia.org/wiki/Crystal_momentum">crystal momentum</a> during <a href="http://en.wikipedia.org/wiki/Band_gap">band-gap</a> transitions of <a href="http://www.wikipedia.org/wiki/electron">electrons</a>.
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-114293977611291183?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0tag:blogger.com,1999:blog-11772516.post-1142856628950595232006-03-20T23:07:00.000+11:002006-03-20T23:10:28.970+11:00Stopping iPhotos from automatically opening on photo media insertionRun <span style="font-family: courier new;">/Applications/Image Capture.app</span> and in preferences, set <span style="font-family: courier new;">"When a camera is connected, open" </span>to <span style="font-family: courier new;">"none".</span>
Cheers,
Steve<div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11772516-114285662895059523?l=www.dailydiscovery.org'/></div>stevehttp://www.blogger.com/profile/08905624839178001596noreply@blogger.com0