Entries from October 2003
|
|
p e r s o n a l |
Why ''..'' dirent?
(29 Oct 2003 at 18:45) |
Does any unix nerd out there have a good argument for why the parent directory is linked in every dir as ".."?
It seems to do more harm than good. For example: - The root directory has no parent, so .. is the same as . there. - When arriving into a directory by cd'ing to a symlink, cd .. does not bring you back to where you were, but rather to the directory's "real" parent. - Hard links to directories screw everything up (read the warning in ln!), and I think this is because of ".." again. - In a diropen, one often needs to explicitly ignore or special-case ".." and "." - Security holes are common in, say, web scripts: by sticking ".." in a filename, the remote user can escape the nominally published directory tree. - The wu_ftpd server (and any program that passes wildcards to the libc globber) had a denial of service security hole by passing "../*/../*/../*/../*/" (etc.) as an argument to NLST.
So, what's the deal? If I were to design a filesystem today, I would just leave out "." and "..". What problems would I run into? In such a filesystem we could easily support true DAGs (ie, hard links to directories, as long as they weren't cyclic). The pervading environment (ie, shell) would simply keep track of how we got to where we are and then provide us with a "cdup" to go back. (I also think it wouldn't be too hard to provide arbitrary graphs on directories, but it's not clear that that's a good idea!) |
|
w e b l i n k |
Nanowrimo
(24 Oct 2003 at 16:48) |
National Novel Writing Month is a project, much like my own Album-a-day project to write an entire 50,000 word novel in one month. Everyone does it in the same month, Nov. 1 - 30. Given how positively my albums-a-day have affected my musical sophistication (or at least my own perception of it), I'm seriously considering doing this. Anybody else interested?
|
|
p e r s o n a l |
New Term: Logical Philately
(22 Oct 2003 at 17:46) |
I have invented new jargon. Here it is:
Logical Philately, n., The collection and taxonomy of logics for no extrinsic purpose.
[By pun on "logical fallacy." Those who engage in the seemingly pointless classification of biological species are sometimes referred to, derogatorily, as "stamp collectors." (philately is the fancy word for stamp collection)] |
|
w e b l i n k |
Elliott Smith suicide
(22 Oct 2003 at 15:21) |
Elliott Smith killed himself today. I have five of his albums and though I didn't plan on buying any more, it is sad to see him go!
|
|
u p d a t e |
NEW: Apacer Audio Steno: The Final Solution
(21 Oct 2003 at 21:09) |
I put up a pictorial about how I operated to save my Apacer Audio Steno MP3 player. The surgery was drastic, but necessary! |
|
u p d a t e |
Escape Alpha
(20 Oct 2003 at 16:22) |
With the TODO list dwindling, I decided to put out an alpha version of my game "Escape" for friends to play with. That includes anybody who visits my radar page!
To try it, get escape-alpha.zip (windows) or escape-alpha.tar.gz (x86 linux).
Read the alpha release notes to know how to use it. I'm sorry that the documentation is so sparse, so, if you have any questions post them here and I will help. However, I think the game is pretty straightforward, and it comes with tutorial levels to explain how to play without any boring reading.
Despite being an alpha release, I think you'll find the game quite stable and featureful. The main thing that's missing is the online level browser and rating system, which, when completed, will constitute the 1.0 release of the game. In the meantime I'm looking for more clever puzzles to go into the "official" collection, so, if you're up to it, send me your creations! |
|
w e b l i n k |
News flash: America has a bigger God
(17 Oct 2003 at 00:35) |
"Discussing a U.S. Army battle against a Muslim warlord in Somalia in 1993, [Lt. Gen. William G.] Boykin told one audience, 'I knew my god was bigger than his. I knew that my god was a real god and his was an idol.'"
?!??!!?
|
|
w e b l i n k |
Crap!
(16 Oct 2003 at 19:42) |
Crap, If you are tall, you make more money! (For those of you who don't know me in person, I should point out that I come in at a "99%th percentile" 5 foot 3 inches.)
Each inch is like an extra $789 a year. I had better get on the rack...
|
|
p e r s o n a l |
FALSE(3) and ...
(16 Oct 2003 at 19:07) |
Well, my crazy fix for the most recent problem in the logic doesn't work, and we don't see any way to fix it without resorting to what essentially amounts to an explicit-world system. I am hoping that some inspiration strikes this weekend. Otherwise, it's back to the drawing board!
In other news, this has got to be an uptime record for Windows XP:
D:\Documents and Settings\Tom>net statistics workstation Workstation Statistics for \\METROID Statistics since 9/3/2003 10:47 AM
That's almost a month and a half! Actually, I am teasing, but Windows XP is a pretty decent operating system these days. I even do real stuff on this computer like play games and interface with USB peripherals. My only reason to reboot is to install these new patches and to shut up my UPS, which beeps every 8 hours if I don't power-cycle it every few months. |
|
p e r s o n a l |
FALSE! (2)
(15 Oct 2003 at 12:49) |
A ha, well, after fixing the logic and getting 13 pages into a new proof, I found another counter-example. The following sequent has no derivation:
*; *; { []A } ==> A
However,
*; *; { [] A } ==> [] A
and
*; []A; { [] A } ==> A.
I have a fix for the logic, but it may totally ruin the proof. Argh!
google search for 'cut admissibility is false rules': 5940 results (10 fewer than last time, though now my page is listed as the first hit!)
google search for 'cut admissibility is false sucks': 36 results (3 more than last time, with my page again as the first hit)
The trend is definitely towards this sucking more than ruling... |
|
p e r s o n a l |
DrScheme talk
(14 Oct 2003 at 00:04) |
Today I gave a talk in Bob's type refinements class about DrScheme, a teaching environment for scheme, and MrSpidey, its "static debugger." You can check out my talk, made again in Flash (I have given up on Powerpoint for good!), if only for the dancing spider animation at the end. |
|
w e b l i n k |
If you suddenly become a giant...
(12 Oct 2003 at 11:31) |
If you suddenly become giant and have a use for novelty "giant" versions of some things that you use every day like a $219 5-foot toothbrush or 9" guitar pick, you need to check out greatbigstuff.com.
|
|
p e r s o n a l |
Xfig
(10 Oct 2003 at 19:14) |
Oh, man, xfig is soooo bad. It's like drawing by holding a pen in my teeth. Isn't there anything better to use on linux? (I need to stick these in my \LaTeX document..) |
|
u p d a t e |
UPD: SICO
(09 Oct 2003 at 15:36) |
Another new variation in SICO, called Oligarchy: there are two kings, each of which must be protected. |
|
u p d a t e |
SO BORING
(08 Oct 2003 at 09:46) |
My brother just got a domain name, "soboring.org," which means you can now also reach my web complex starting with http://tom.is.soboring.org/. |
|
w e b l i n k |
Half-Life 2 Delayed Again
(07 Oct 2003 at 12:25) |
Valve says that Half-Life 2 will be delayed another 4 months because their source code was "stolen."
OK, let's take a look at this.
1. On face value, they seem to be saying, "Our source code was stolen from us, so we need to rewrite it."
This doesn't make sense. Obviously, they still have a copy of the source code---if they don't, they can just download it from any of the million mirrors on the internet. Admittedly, this is much worse than copying mp3s or even the full HL2 CD when it is released, and it may even be misappropriation of trade secrets, but it's still not stealing. They still have the code.
2. Maybe they really mean, "There are significant secrets in the code which, if revealed, make our product not viable."
Perhaps. What might those secrets be?
2a. The format of the network code.
Reasonable. This is what people mean when they talk about how the release of the source code means in-roads for cheaters. But obfuscating the network code is not a four-month job. They only need to change basic things like the packet layout and their fake encryption or whatever. (Aside: IMO the best way to deal with current forms of cheating is to simply release frequent updates to the protocol and binaries. Reverse engineering is a lot slower than "forward" engineering, so exploit that asymmetry.)
2b. The CD key code.
Seriously, the CD key code is rarely any more useful as a C function than as a compiled binary. People debug key checkers and write keygens in like, a day. Unless they have some seriously new regime here, that's not a reasonable cause for 4 months. (Aside: If they used RSA and a key was just a digital signature (of some token), then cracking keys would be really, really hard, like, net you an instant PhD hard. Also, revealing the keycheck algorithm would do nothing for hackers. It would probably make keys a bit longer, though.)
2c. Buffer overflows and other exploitable bugs, or deliberate backdoors.
Maybe. But if they know about them, maybe they should just get rid of them? If they're thinking of auditing for them, maybe they should have done that even if the source wasn't copied? In truth, I bet having the source code out there will incite a lot of the bugtraq attention-seeking white-hats to audit the code for them. HL2 is a pretty high-profile piece of software.
2d. GPL violations.
Ha, well, yeah. Apparently there are some of those in the code, though I don't know the specifics.
3. Maybe they really mean, "We forgot how long it takes to actually polish a product and ship it. We were going to delay again at the cost of the fan community's ire, but now we can shift that blame onto hackers!"
This is my guess: like a defeated player complaining about lag, they're just shifting the blame.
|
|
p e r s o n a l |
Scribble record smashed!
(07 Oct 2003 at 09:51) |
New Scribble Record: As described in this post, two players who've been at it since the original snoot.com 6 years ago, have finally broken the 1700 point mark in a single game. It's pretty impressive play, and they claim it will never be beaten! (I wonder how easy it would be for a computer to beat it? There is definitely a lot of looking ahead and then changing strategies, but I think it could be done...) |
|
w e b l i n k |
IEEE bans Cuba, Iran, Libya, Sudan
(06 Oct 2003 at 12:25) |
The IEEE, a large technical organization that organizes many journals, conferences, and standards, has banned any resident of Cuba, Iran, Libya, and Sudan from contributing to or publishing in them. Researchers from Iran, in particular, submit dozens of research papers every year. It's one (arguably bad) thing to impose economic sanctions on a country for political reasons, but it's much worse to be injuring the global scientific community and, moreso, resident academics engaged in exactly the kind of civilized activity that we seek to encourage with these sanctions.
For more information see Shame on IEEE and, supposing you agree, sign the petition.
Free science for all!
While we're on the subject, fuck any journal or conference that requires you to assign your copyright to them in order to be published. (See an example agreement from the IEEE.) Yes, I know this is basically every conference. But the idea that they can legally prevent you from publishing your own work on your own web page, for free, so that they can make money by selling the paper or subscriptions, offends me more than any recording industry exploitation of starving artist imagery to protect their bottom line.
|
|
w e b l i n k |
Yeah, google
(05 Oct 2003 at 22:41) |
Here is Google's cache of google.com. Don't expect anything exciting. |
|
p e r s o n a l |
Does anybody know...
(04 Oct 2003 at 17:13) |
Does anybody know how to get an executable to overwrite itself in Windows 98? I can't unlink (works in linux) the exe, or rename it (works in Windows 2000/XP), or fopen it for writing. I need this so that Escape can upgrade itself from the internet. |
|
p e r s o n a l |
Bush Poem
(04 Oct 2003 at 10:30) |
I'm sure you guys have already seen this, but, I just want you to read it one more time. Pay particular attention to how Bush thinks that he can slip an extra syllable or two in each line, starting with 4 syllables and ending with 15.
Roses are red Violets are blue Oh my, lump in the bed How I've missed you. Roses are redder Bluer am I Seeing you kissed by that charming French guy. The dogs and the cat, they missed you too Barney's still mad you dropped him, he ate your shoe The distance, my dear, has been such a barrier Next time you want an adventure, just land on a carrier. - George W. Bush, 53rd president of the United States
HOW CUTE !!!! |
|
p i c t u r e |
Tom's room in High School
(02 Oct 2003 at 00:08) |
1790×1170 version When my parents visited this weekend they brought a box with them that had a bunch of my old stuff. One thing was this photo of my old room in high school that I took before leaving for college (and turning the room over to my younger brother). As a sort of memory game I went over the (rather poor) image and tried to identify as many things as possible. I think I did pretty well! Click on the thumbnail for the full image (about a megabyte file). |
|
w e b l i n k |
C-Murder guilty of Murder
(01 Oct 2003 at 15:15) |
Well, there you have it, Rapper "C-Murder" is found guilty of murder and sentenced to life. |
|
2 0 2 4
| Posts from 2024 |
Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 2 3
| Posts from 2023 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 2 2
| Posts from 2022 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 2 1
| Posts from 2021 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 2 0
| Posts from 2020 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 9
| Posts from 2019 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 8
| Posts from 2018 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 7
| Posts from 2017 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 6
| Posts from 2016 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 5
| Posts from 2015 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 4
| Posts from 2014 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 3
| Posts from 2013 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 2
| Posts from 2012 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 1
| Posts from 2011 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 1 0
| Posts from 2010 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 9
| Posts from 2009 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 8
| Posts from 2008 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 7
| Posts from 2007 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 6
| Posts from 2006 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 5
| Posts from 2005 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 4
| Posts from 2004 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 3
| Posts from 2003 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 2
| Posts from 2002 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 1
| Posts from 2001 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar Feb Jan |
2 0 0 0
| Posts from 2000 |
Dec Nov Oct Sep Aug Jul Jun May Apr Mar |