schussat
Members-
Posts
151 -
Joined
-
Last visited
Everything posted by schussat
-
You could also experiment with some stylesheet stuff. I tinkered with it for a few minutes and got a little bit of success with this: ><html> <head> <style type="text/css"> <!-- #headleft { position: absolute; top: 0; left: 0; background-image: url(test.jpg); background-repeat: repeat-y; height: 100% } #headright { position: absolute; top: 0; left: 70%; background-image: url(test.jpg); background-repeat: repeat-y; height: 100% } #center { text-align: center; } #center p { text-align: center; width: 40%; padding-left: 40$; } --> </style> </head> <body> <div id="headleft"> </div> <div id="center"> <p>This is text.</p> <p> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec rutrum est eu mauris. In volutpat blandit felis. Suspendisse eget pede. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos hymenaeos. </p> </div> <div id="headright"> </div> </body> </html> It's a little wonky because I haven't tuned any of the widths; you'd definitely have to work with those. But it looks okay. I agree with Rob and purplespider that just putting the two backgrounds into a table is easier. This is kind of cool, though, too.
-
I think I read somewhere that the new nightlies of Firefox abandon the ~/.phoenix profiles and have much better profile management overall. That will be nice to see!
-
A gentler way to keep some font control if your users don't have a particular font installed is to specify several specific options. Your stylesheet might do this: >p, blockquote, li, h3 { font-family: Verdana, "Lucida Grande", Tahoma, Helvetica; ... } Verdana gets used first, then on down the line.
-
By "view" do you mean you want to see the output from the script? As far as I know, the only meaningful way to do this is to execute the script in your browser. If the server is local to the editor, you can run perl and php scripts at the command line, but the results aren't very useful most of the time.
-
Yep, and that means that it's no problem to mix and match subdomain blogs with blogs located in subdirectories. It's really slick.
-
I experimented with this for a couple of minutes. It's not hard to use gpg to encrypt the message, but that's at the command line. I tried a quick php script that would essentially run gpg and use my public key to encrypt a file, but it never seemed to actually work. The script, which I just found online, looks like this: My guess is that the shell_exec command isn't allowed -- maybe one of the TCH folks can confirm this? If so, I wonder if there's an alternative way to run gpg? (Aside from this kind of application, it would be sort of cool...) If this could be made to work, it seems to me like a pretty reasonable way to go about it -- the encrypted data should be secure, especially if it's encrypted on-the-fly and never actually stored, and if it's only de-crypted offline. But, it's kind of a roundabout solution and it really duplicates functionality that's probably done more soundly by one of the real commerce packages.
-
Raw Stats Log Help Needed
schussat replied to FireRandySanders's topic in CPanel and Site Maintenance
I'm pretty sure the log lines are delimited, not fixed length. Delimited by comma, maybe, with text fields quoted? Anyway, should be a piece of cake to parse. -
Now you're cooking! That plus installing PHPMyAdmin is excellent. It sounds like you're really figuring out how to navigate everything. Good to hear! Weird that it's still not working. Do you get any entry at all under the sound section of Harddrake? For my last couple of installs, sound has gone all right without any problems, so I'm trying to think back to when I had to take care of it by hand. On my old office machine, I had to set up sound via a specific modprobe command. I'll see if I can dig up any of the details -- though the specifics will vary, the general process might help out. Glad you're having a good time! -Alan
-
Hey, congratulations! As far as I know, the AWE64 is supported fine. Have you run sndconfig as root? Also, occasionally sound devices get muted by default (don't ask me why); be sure to load up the volume control and doublecheck after you get the card set up. Looks like your best bet will be with the 3200, as there appears to be a ready-to-go driver for it in CUPS. That's one I won't be much help on, but I'm interested to see how you solve it! Enjoy -- it's a lot of fun to get this stuff up and running. -Alan
-
Hi everybody- After a couple of hours of tinkering with a confusing loop and some SQL, I have put together a script that generates a whole slew of redirects to direct my old Movabletype addresses to my new Textpattern addresses (based on matching titles from the two databases). What I essentially have now are about 300 lines like this: >Redirect /archives/000107.html http://www.schussman.com/article/418 Redirect /archives/000108.html http://www.schussman.com/article/419 Redirect /archives/000011.html http://www.schussman.com/article/336 Redirect /archives/000113.html http://www.schussman.com/article/420 I haven't added these to my .htaccess yet because I need to pare out a few duplicates first, and I'm sort of curious about performance. Are all those redirects, plus all the spam referrer blockers, plus whatever else ends up going in there, going to cause any noticable cut in speed? It would be a neat trick to automatically redirect the MT addresses, but I'll reconsider if it will cause a performance hit. -Alan
-
Doh! I hadn't even realized I had rewritten "morning"' to "warning." -Alan
-
Hi Raul- I know 10.0 is out, but my understand is that what they're calling the "community release" is really the equivalent of an advanced release candidate. I ran the RC of 9.2 for a while, and it was nice, but there were significant updates later, so this time I decided to wait for the stable release, whatever they're calling it. Good question. I think the answer is "it depends." I've had no troubles installing lots of non-Mandrake-specific RPMs, but I don't know if I've actually tried any Fedora-specific RPMs. My intuition is that the closer you get to packages for a specific distribution, the more trouble you're likely to have. So, while miscellaneous sourceforge RPMs seem to go just fine, distro-specific cutting edge RPMs may have trouble. That's nothing but speculation, however. I'd be interested to see what you come up with. Seems fine. Like I said, I prefer Gnome, too, at least since 9.2. I haven't noticed any problems, although I use very few KDE applications. Hi MC: Never had any problems dual-booting, on any of three machines where I've put linux. Mandrake's own partitioning tool is actually really pretty good. With backups made (and breath held) I've used it to repartition a couple of NTFS partitions, too -- no sweat. Dual booting is really straightforward and comes in handy. MC, regarding software: All the stuff you're specifically interested in (Gaim, OpenOffice, etc) will be readily available regardless of the distribution you choose (although, and somebody will have to correct me here, releases of stable versions of some packages for Debian lag behind releases for other distributions; this is because the Debian maintainers focus on heavy-duty stability). Perl is easy to install (mdk 9.2 comes with 5.8.1); GUI FTP clients include gftp and, as is frequently the case in free software, there are a dozen alternatives; I haven't used any download optimizers, but I know that they're out there, as are the handy dozen text editors for working in HTML and perl code. Let me know if you want more specifics -- I don't want to overwhelm you too quickly! :Nerd:
-
Hi Lisa- I came up with this tip for whitelisting by subject (just googled around for a few minutes): > header WWW_SUBMISSION Subject =~ /^WWW Submission$/ score WWW_SUBMISSION -20 You can add lines like this to ~/.spamassassin/user_prefs, via file manager. So, in your case, you could probably do something like: >header WEBLOG_MAIL Subject =~ /distant/ score WEBLOG_MAIL -20 header WEBLOG_MAIL2 Subject =~ /early warning/ score WEBLOG_MAIL -20 With those lines in your user_prefs file, spamassassin should look for "distant" and "early warning" in the subject lines. If if finds either, it should subtract 20 from the spam score, and the email should get passed through. Of course, if spammers use the word "distant" in their subject lines, their email will pass, too, so you might have to tune this a little bit. But this should get you started! -Alan
-
I agree with Raul: Just try some distributions and see what happens. I have been using Mandrake for close to six years now and recommend it. Some of the Linux Hard-Core sneer at Mandrake because of its "user friendly" roots, but it's never failed to do anything I need from it (it will have no trouble with your development needs, certainly). I haven't yet tried any of the 10.0 releases. You might give 9.2 a try and get the full 10.0 release in a couple of months. Both versions include the OpenOffice suite, which has become a pretty good replacement for Office. Alternatively, I have heard really good things about the CD-based distributions like Knoppix. They'll give you a desktop environment (I prefer Gnome to KDE) and a bunch of applications, and will let you test everything out before committing the HD space. -Alan
-
Wow, simul-post! With different solutions, no less! -Alan
-
I think that if you change this line > if (DisplayDate) { myclock += ' '+DaysOfWeek[day]+', '+mday+mn+' '+MonthsOfYear[month]; } to this > if (DisplayDate) { myclock += ' '+DaysOfWeek[day]+', '+mday+' '+MonthsOfYear[month]; } You should get the effect you're looking for.
-
Glenn- My only solace in the summertime is knowing that you poor guys in Phoenix are always 5 degrees F hotter than we are down here in Tucson. I was walking across campus this morning, thinking, "Now this is what summer should be like! Birds chirping, warm air, a fresh breeze." Only problem is, this isn't summer at all! Aaaargh!
-
You know, my previous host wasn't at all bad -- just boring, less full-featured, and more expensive! The host before that, though. Boy. I can't say I had a single negative conversation with them, ever. They were the pinnacle of courtesy and professionalism, right up until they went bankrupt and disappeared in the aether without so much as a notification email. Yeah, TCH rules.
-
Ciao, Blackcat- Per charle97's comment, if you saved SQL databases from the old weblogs, importing them into a new installation of Movabletype shouldn't be too hard. The same goes, I think, if you were using the Berkeley DB system. In the latter case, I imagine it might be really easy, by just creating the Movabletype weblogs on the new host, specifying a database path that corresponds to the database directories that you saved, and then uploading each database directory to the server. Either way, it should be really doable -- but might take a bit of tinkering! -Alan
-
Does your travel budget include a porter? 'Cause that's a lot of stuff to carry! I have a two+ year old Toshiba laptop that I can't get enough of. I wouldn't hesitate to recommend one of their subsequent models. That said, I hear the new Thinkpads are light and very durable. They're probably worth a serious look. To work with lots of photos plus other applications, and be pretty comfortable, I'd recommend 512MB of memory and a good large hard drive. CDRW+DVD will probably be standard, so you probably won't have to trick out the PC much at all -- the only thing that you may have to look for specifically is a model with enough memory. (At least, when I bought my laptop a couple of years ago, that was the factor that tended to differ; most laptops had great big hard drives but relatively little memory.) I hate to beg the question, but I imagine that your travel process is going to be something like: Travel; wait; travel; wait; take photos; travel; wait; develop prints; scan prints; edit/emai/post prints; repeat. Is that close? I'm just wondering if there's not a process that won't require you to carry an extra piece of equipment (the scanner). With all the photo equipment, you're not really in the position (and probably don't have the inclination, anyway) to go digital. Since you'll be going to Europe, I bet that the odds are good that wherever you get film developed (I assume you're not taking the darkroom?) will be able to make you a disc of prints, too. The difference, as I see it, would be that you could keep the computer stuff to one bag. Easier all around, especially when you're going from buses to trains to plains. On the other hand, something like this Visioneer scanner might do the trick nicely. It's USB, so it will work with whatever laptop you end up getting. With that pairing, you don't have many other hardware worries to consider, I think. You'll need an electrical adaptor for European current, of course. Okay, I have to prepare for class (my students have a midterm coming up, and they're nervous). I'm really interested to hear what other folks have to say on this one!
-
Man, I spent a lot of time playing those. Immortal, indeed! And jumpy, too; it was amazing how a turn-based game could be so startling at times.
-
Fantastic, MikeJ -- seems to work perfectly. Thanks!
-
Hi everybody- In our long thread of mod_rewrite conversations, I have the next question. It seems that making sense of mod_rewrite just doesn't get any easier. The introduction to the module says Anyway, that aside, I've just switched my weblog over to textpattern. As far as I can tell, Textpattern doesn't generate a static XML feed; it's generated by a call to "index.php?rss=1" instead. Can I redirect requests for my old static file to this one, perhaps via mod_rewrite? I'm particularly thinking about anybody who reads my site with an aggregator (hey, I'm being generous to myself thinking there are that many of them, but I figure I ought to cover all the bases!), who won't see the update. So, can I redirect requests to index.xml to index.php?rss=1 instead?
-
First, the one I wouldn't go with: Traeger and Associates. The shortened version, T&A might attract the wrong clientele. Nudge-nudge. Second, the suggestions that weren't on the list but should be added and then crossed off, just for the sake of due diligence: Any permutation of Traeger + Cyber + Extreme. Example: ExtremeCyberTraeger. Third, my real choice: The Treager Group. My only reservation is that, well, it sounds just a little bit stuffy. I'm thinking of investment bankers and CPAs when I hear that one. Now, this isn't at all bad, especially if your clients will be CPAs and the like; those guys stick to similar organizational forms like, well, like things that are sticky, so the name will attract them. But it might not be quite right if your client base will be more general and (in particular, I think) more technically-savvy themselves. In that case, I think Traeger Technologies or something like Traeger Communications, both of which seem sufficiently general so as to allow lots of expansion, might be a better fit. Just my two cents.
-
Whew, fortunately I'm safe from this one. As a graduate student, I don't own a microwave and I haven't seen a twenty in five years! Mad!!! / :Nerd:
