M.C. Pantz

Something Bloglike

Fun With Regexes!

| Comments

A gem of a post came across my alma mater’s computer science mailing list: Prime detection using regular expressions. It’s quite a clever hack; what it actually defines is all numbers that are not prime, but the negation of that creates the primes.

It’s that pesky /\1+/ that makes this whole expression work, and it’s what prevents this regex from being a regular expression. Regexes have long since stopped being regular expressions, but it’s a programming language unto itself.

A while back, I did LaTeX parsing in Perl, and used a one-level parser (custom for LaTeX) and a incredible amount of regexes in order so slice and dice this massive corpus of data. Unfortunately, I didn’t know about Parse::RecDescent then, or else I would have put myself out of a job very quickly. But I wonder, can parentheses (a recursive language) be validated as a regular expression language yet? Better yet, is the language itself Turing complete? Perl regexes, at least, have a lot of very extended features, and this will require some unusual digging.

I Met the Author of Dr. Fun!

| Comments

So I don’t know if any of you are familiar with Dr. Fun, but it’s a webcomic that I’ve been reading since i figured out what webcomics were. At some point in my college career I realized that the author was lurking around the basement of the Regenstein, the library at the University of Chicago, but I never went to go ferret him out.

It turns out that he’s directly my friend’s Dean’s boss, who this week gave me some old hardware they were not using. I met Mr. Farley, who was a quiet, enthusiastic geek; pretty much exactly like I envisioned him. he then showed me an original VT100.

Ambition

| Comments

A couple ex-coworkers and I have come up with a startup idea and bought some domain names.  I can’t divulge much, but I assure you the idea is very worthwhile and completely hilarious.

Indecision

| Comments

There are about a million things I feel like I could be doing to prepare myself for employment. Unfortunately, I am considering so many divergent paths that’s there’s no real good way to get them to feed into each other. I get the most immediate feedback from tyoing around with this blog, but I know that I’m probably get the most financial return from studying massive amounts of C++, and probably the most brain workout as well. It seems like if i want to go anywhere as a serious programmer, I need to start learning some hardcore Python. I still tinker around with LaTeX because I find it calming and I’m occasionally helping my past employers, and everyone’s telling me to do something different. But hey, I’m just going to keep doing what’s fun and rewarding.

WordPress Hackery

| Comments

If I haven’t already foisted it upon you, I decided to create a blog outside of the standard venues of Facebook and Livejournal.  I did figure, however, that I wouldn’t gain much traffic this way, so I decided to do the analog of Moodblast and ‘blog-blast’  to all four corners of the internet with my WordPress site.  You should be able to comment back with both other sites, but I suggest that you visit my main blog, http://www.mcpantz.org/blog/ .  Nothing’s stable at the moment, but I hope you come check it out to see how I’m doing.

A New Beginning

| Comments

Hello everyone,

My name’s Paul Mantz and I’m starting a public blog. I plan on putting my professional endeavours here; as well as my hobbies, interests, and other such things I may want public feedback on. So sit back, relax, and enjoy the show.

About Me

| Comments

Paul Mantz is a recent graduate of the University of Chicago in Computer Science, and a programmer at large based out of Chicago. Some of the weirder skills I’ve picked up along the way are TeX/LaTeX programming (weird if you are under 40), Dan Zan Ryu Jujitsu, disturbing levels of Perl proficiency, and an unusual affection for Fourier transforms.