http://www.marksdailyapple.com/the-best-exercise-there-is-hands-down
Bitcoin exchange Mt. Cox implodes
http://www.wired.com/wiredenterprise/2014/02/bitcoins-mt-gox-implodes/
Mute speaker for 30 seconds during iTunes radio commercial
I’ve recently started listening to iTunes Radio. It has ::shudder:: commercials. Ick. They’re typically 30 seconds, near as I can tell, and you can’t skip them. I’ve started hitting “mute” as soon as they come on.
But I frequently forget to “unmute”. Oops.
So I wrote an AutoHotkey script to mute the master speaker for 30 seconds, then automatically unmute it.
; Shift-Control-Alt-F9 -- Because "FN-F9" is the special "mute"
; button on my keyboard, so this is easy to remember
+^!F9::
; mute the master volume setting
SoundSet, 1, Master, Mute
; display a msg box for 1 second that says you're muting for 30 seconds
Msgbox,, Commercial, Sound is muted for 30 seconds, 1
; sleep for 29 more seconds
Sleep, 29*1000
; unmute the master volume setting
SoundSet, 0, Master, Mute
; and return
return
Enjoy.
Update 2014/02/21: This script has come in handy many times already just today. Life is good. 🙂
Monitoring pipes in Linux
Have you ever said
gzip file > /path/to/an/nfs/drive/file.gz
and wondered how far it’d gotten? I did that just today, more or less. I poked around for something that’d tell me how far gzip had gotten, and found pv (http://www.ivarch.com/programs/pv.shtml).
From the pv manpage:
pv allows a user to see the progress of data through a pipeline, by giving information such as time elapsed, percentage completed (with progress bar), current throughput rate, total data transferred, and ETA.
To use it, insert it in a pipeline between two processes, with the appropriate options. Its standard input will be passed through to its standard output and progress will be shown on standard error.
pv will copy each supplied FILE in turn to standard output (- means standard input), or if no FILEs are specified just standard input is copied. This is the same behav‐ iour as cat(1).
A simple example to watch how quickly a file is transferred using nc(1):
pv file | nc -w 1 somewhere.com 3000
A similar example, transferring a file from another process and passing the expected size to pv:
cat file | pv -s 12345 | nc -w 1 somewhere.com 3000
A more complicated example using numeric output to feed into the dialog(1) program for a full-screen progress display:
(tar cf - .
| pv -n -s $(du -sb . | awk '{print $1}')
| gzip -9 > out.tgz) 2>&1
| dialog --gauge 'Progress' 7 70
Frequent use of this third form is not recommended as it may cause the programmer to overheat.
I like that last line. 🙂
And so now I have
#pv a_large_file | gzip > /mnt/backup/a_large_file.gz
4.41GB 0:08:56 [12.2MB/s] [==> ] 31% ETA 0:19:09
Woohoo!
Administrative notes, 2/18/14
Tiny Habits for 2/18-23
Here are mine for this week, 2/18-23
- After I sit down at my computer, check Wunderlist
- After I sit down at my computer, close Facebook, blog, Twitter, what-have-you.
- After I stand up from my computer, put something away.
A rebuttal to “Should You Trust the Monkey Mind?”
A friend of mine posted this on Facebook: Should You Trust The Monkey Mind?
“With me the horrid doubt always arises whether the convictions of man’s mind, which has always been developed from the mind of lower animals, are of any value or at all trustworthy,” wrote Charles Darwin. “Would any one trust in the convictions of a monkey’s mind, if there are any convictions in such a mind?”
If evolution is a non-teleological process, it undercuts our ability to trust that we can form true beliefs and convictions.
But can a strictly materialistic, non-teleological, evolutionary process produce such reliable equipment?
The philosopher Alvin Plantinga, one of the greatest thinkers of our era, thinks the answer is “no.”
What does imply that life is not directed, he adds, is not evolutionary theory itself, but the theory of unguided evolution: the idea that “neither God nor any other person has taken a hand in guiding, directing, or orchestrating the course of evolution.” For our purposes, we’ll call this view “evolutionary naturalism.”
Evolutionary naturalism assumes that our noetic equipment developed as it did because it had some survival value or reproductive advantage. Unguided evolution does not select for belief except insofar as the belief improves the chances of survival. The truth of a belief is irrelevant, as long as it produces an evolutionary advantage.
The point of all this is that Zed’s noetic equipment does not need to produce true beliefs for him to survive. This is true for all four types of belief unguided evolution can produce. Since this holds true for even the most basic survival behavior, it is especially true for abstract ideas — idea like “evolutionary naturalism.”
There’s the leap, there in the last sentence. The implicit assertion that belief in “evolutionary naturalism” is an evolved belief. I think that’s a fairly ridiculous idea. (And, in fact, here I am ridiculing it, haha.)If, as evolutionary naturalism claims, our noetic equipment might have developed in different ways, then a belief in evolutionary naturalism itself could be any of the four types of belief listed above.
There it is again.What is the likelihood that evolutionary naturalism has produced in us cognitive equipment able to reliably form true beliefs and know that they are true? Extremely low.
“Extremely low” based on what? The previous text of the article? No, that doesn’t follow.In order to accept the naturalistic evolutionary explanation for the development of our noetic equipment we have to be agnostic about its reliability. All we would really know is that it works for evolutionary purposes, not for the purposes of discerning truth from falsehood. Evolutionary naturalism, it turns out, is a self-defeating argument. If we believe the theory, we have no reason to believe the theory is true.The conclusion wraps all the crap up in a ball, again conflating the theory of naturalistic evolution, as such, with all evolved ideas, and also with the ability to form beliefs.And besides, the last two are just wrong; to repeat:Evolutionary naturalism, it turns out, is a self-defeating argument. If we believe the theory, we have no reason to believe the theory is true.… But we have no reason to believe it’s false, either.So to wrap all my crap up in a ball: This article plays fast and loose with the distinction between evolved ideas, all ideas, and a specific idea. It argues that an evolved belief need not be true to have a survival advantage (with which assertion I agree), and then uses that truth to argue fallaciously that even if we “believe” in evolution, we have no reason to believe that it’s true.
Email: “Your website is broken on my iPhone”
I got an interesting email from one Larry Peek, claiming that theclapp.org is broken on his iPhone, with a link to a picture of how it does look.
Seen on Twitter: “twidicule”
@codereviews How do I submit my own ridiculous cr comments to you to twidicule?
— Michael A. Smith (@michaelasmith) July 13, 2013
QFTD, 6/20/13
If you don’t know exactly how your work is noted and valued by a paying customer, you’re not thinking clearly, or you’re too far away from the customer.Quoting Drucker: Results only exist on the outside. Inside an enterprise, there are only costs.