Microsoft Research's RiSE has another pre-print out on Spec#. The Spec# specification language is old news by now, and so it's unfortunate that the name "Spec#" has not been changed because it means it probably is going to stick. Unlike the name "C#", "Spec#" is terribly unimaginative. It's like naming your first child "Hermione" and then naming your second child "Two".
Wouldn't it have made more sense to continue the musical analogy? For example, a C-clef is a conventional symbol from music theory that is used to specify the desired meaning of the lines that follow. Thus, it makes a lot of sense to use it as a name for specification language for C#, right?
Instead, we get Spec# (i.e., "specsharp"), which actually seems quite dull...
Personal weblog of Ted Pavlic. Includes lots of MATLAB and LaTeX (computer typesetting) tips along with commentary on all things engineering and some things not. An endless effort to keep it on the simplex.
Monday, June 20, 2011
Spec# is a terrible name. C-clef would have been better.
Labels:
C sharp,
C-clef,
C#,
Csharp,
Microsoft,
MIcrosoft Research,
music,
programming,
research,
software,
spec sharp,
Spec#,
specsharp,
verification
Tuesday, June 14, 2011
Delayed reminder e-mails: iTickleMe, LetterMeLater, FutureMe, 3mindme, and Outlook
UPDATE: On August 27, 2011, 3mindme was shut down. See a recent post for more information. The old owner of 3mindme recommends NudgeMail as a substitute.This recent NYTimes: Gadgetwise post got me thinking about an old functionality I built into my mail server (using procmail and cronjobs) back before I switched over to Gmail. Basically, I implemented exactly this "delayed reminder" feature in a sort of GTD "tickler file" (43folders) way. I think you could already do something similar in GMail, but you'd still come a little short. Let me explain how my old IMAP-based version worked.
UPDATE: It looks like there has been an update to the original Gadgetwise post. Unfortunately, because it seems like all technology writers are born to disappoint, the author picked a bone-headed client-side solution like the Boomerang plugin for Firefox/Chrome despite so many people pointing out existing server-side solutions. In fact, a bunch of people posted lots of johnny-come-lately server-side applications like Good Todo, FollowUp, FollowUpThen, and NudgeMail. Why you would favor any of these over something like 3mindme baffles me, but I guess it's nice to have options. You certainly shouldn't ever need to use Boomerang though!
I would send myself messages with a subject like:
tickle10: Ask Joe to return book he borrowedThat is, "on day 10 of this month, remind me to 'Ask Joe to return...'". When my mail server received messages matching that format, it would file them into "tickler files" that were just IMAP folders for each day; each folder had a name like "TICKLE.1" or "TICKLE.25". I then had a script that would run nightly and would move contents of "TICKLE.today_number" into my inbox and mark them unread.
Consequently, this acted exactly like a tickler file with folders. I "drop" a message into the folder for a day later in this month or next month, and each day I empty the folder in the front and move the empty folder to the back. I just had a script do it for me.
You could have GMail do ALMOST all of this for you. That is, you could have it automatically file messages based on subject into tickler folders. The problem would be to automate moving the daily folders back into your inbox. Perhaps you could just manually check today's folder each day. That would be a step in the right direction.
But then I realized that if the NYTimes guy thought of it now, and I thought of it many many many years ago, then maybe other people have thought of it too. So I did a Google search, and it turns out other solutions do now exist. Here's one I just found:
- iTickleMe: http://www.itickleme.com/
iTickleMe lets you schedule e-mail reminders by sending the service e-mails at addresses like INTERVAL@itickleme.com.
- LetterMeLater: http://www.lettermelater.com/
- FutureMe: http://www.futureme.org/
- 3mindme: http://3mindme.com/
which you can find a little more information about at Lifemuncher:
http://lifemuncher.blogspot.com/2007/12/3mindme-reminder-service.html
However, I really recommend you just check out 3mindme.com directly; it's self explanatory. I just hope that 3mindme doesn't go under because it's not commercially supported and the author might eventually lose interest.
So go check out 3mindme. I haven't tried it yet. I hope it still works. Sounds great!
Labels:
3mindme,
Apple Mail,
Boomerang,
calendar,
e-mail,
FutureMe,
Gadgetwise,
Getting Things Done,
GMail,
GTD,
iTickleMe,
LetterMeLater,
lifehacks,
NYTimes,
Outlook,
productivity,
reminders,
thunderbird,
Tickler File
Monday, June 13, 2011
Someone asked me for some references on LaTeX today...
I got an e-mail today asking for some recommended references on LaTeX. Here is my response, which is a marked-up paste of an e-mail.
[ This post can also be found on my web page. ]
[ This post can also be found on my web page. ]
The reference that I keep handy is:
The LaTeX Companion, Second Edition by Mittelbach and Goosens
That reference, often called TLC2, is a standard one. You really can't
go wrong with it. It's dense, includes lots of examples, and is pretty
easy to use. One other book that came in handy when I started drawing
graphics in LaTeX is:
The LaTeX Graphics Companion by Goosens, Rahtz, and Mittelbach
That introduced me to things like picture environments and PSTricks. I
use PSTricks a lot now, and the book really is only meant to be an
introduction (albeit a nice one) to PSTricks as well as other competing
(and complementary) tools. Now I typically use the PSTricks
documentation on the PSTricks home page at TUG (you can google for
"PStricks" to find the web page).
A nice small reference to LaTeX is:
LaTeX: A Document Preparation System by Lamport
A very complete but also intimidating reference for TeX is:
The TeXbook by Knuth
Three other notable and popular books on TeX (that are far less
intimidating) are:
You can still get that last book in print from some sources that print
- TeX for the Impatient by Abrahams, Berry, and Hargreaves
- A Beginner's Book of TeX by Seroul and Levy
- TeX by Topic: A TeXnician's Reference by Eijkhout
out of print books (lulu.com), but I believe it has been released for free as a PDF as well. Yes, see:
for the free download link (released under GNU FDL).
[ If you really don't want to get into the nitty gritty details, I would
recommend sticking to the LaTeX references. ]
Otherwise, I've just done a lot of learning by doing. It helped to
learn about typesetting in general. A good reference for both things is
the documentation that comes with the memoir package:
That documentation link (memman.pdf) is an excellent introduction to all
- Package: http://ctan.org/pkg/memoir
- Documentation: http://mirror.ctan.org/macros/latex/contrib/memoir/memman.pdf
of the basic typographical elements of a book... and memoir is a nice
LaTeX package in general.
After that, see comp.text.tex (available as a Google group) which is
known simply as "CTT" to insiders...
LaTeX and TeX experts watch that group and will answer your questions
about how to do things. You can also search the group for some previous
answers to similar questions. You can also see announcements of new
versions of packages that do cool things. It's a great resource.
Finally, seeing the LaTeX 2e source (implemented in TeX) can be helpful
to understand exactly what goes on when you do things like a \section.
"source2e.pdf" is included with the LaTeX distribution. You can also
view it on-line here:
That includes all of the TeX implementations for the LaTeX macros and
gives you some idea of what goes on when you build a LaTeX document.
Off the top of my head, that's all I can think of. Just go into things
thinking that LaTeX probably *CAN* do whatever you want it to (including
solving and plotting differential equations, which pure LaTeX (as
opposed to PDFLaTeX) can do). Like a sculptor, you just have to figure
out what to chip away to get it to do it. Keep trying things until
something is qualitatively similar to what you want, and then tune
(perhaps with the help of CTT) after that. Eventually you'll come up
with better and better implementations. If you come up with something
especially novel, post it on-line. In fact, contributing to CTAN
directly is usually recommended.
Another thing that helps me is to remember that TeX is really is just a
giant machine that tokenizes, parses, and expands. It's not a
"programming language" so much as it is a text "filter" in that a single
run of LaTeX doesn't necessarily result in what you want. Keeping this
in the back of my head helps me anticipate the problems I might have
with certain approaches, and it further helps me figure out how to
approach LaTeX in order to succeed.
Subscribe to:
Posts (Atom)