Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Journal of tf23 (175)

Monday July 12, 04


04:44 PM

I've been playing with the section-topics changes... so far, so good. I added more graphics and info to the article I posted about it. So check it out if you're curious but don't have the time to deal with the new code...

Thursday June 17, 04

Slash won't play with OSX

06:23 AM

I'm posting this as an FYI. I don't know if this is a real issue or not, and, honestly, I don't have the time to deal with it at the moment. So bear with me.

For the past ~8 months, I wasn't able to make install on the slash source-tree on my OSX machine (PB 1.2515").

When I first got the power book back in ~Sep2003 it worked.
Then all of a sudden, it stopped.

When it builds, it breaks with this:

rm -f ../blib/arch/auto/Slash/Apache/Apache.bundle
LD_RUN_PATH="" MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle -undefined dynamic_lookup -L/usr/local/lib Apache.o -o ../blib/arch/auto/Slash/Apache/Apache.bundle
chmod 755 ../blib/arch/auto/Slash/Apache/Apache.bundle
cp ../blib/arch/auto/Slash/Apache/
chmod 644 ../blib/arch/auto/Slash/Apache/
Manifying ../blib/man3/Slash::Apache.3pm
Manifying ../blib/man3/Slash::Constants.3pm
Manifying ../../blib/man3/Slash::Custom::Bulkmail.3pm
Manifying ../../blib/man3/Slash::DB::MySQL.3pm
Manifying ../../blib/man3/Slash::DB::Oracle.3pm
Manifying ../../blib/man3/Slash::DB::PostgreSQL.3pm
cp ../../../blib/lib/Slash/DB/Static/
Manifying ../../../blib/man3/Slash::DB::Static::MySQL.3pm
Manifying ../../../blib/man3/Slash::DB::Static::Oracle.3pm
Manifying ../../../blib/man3/Slash::DB::Static::PostgreSQL.3 pm /usr/bin/perl /System/Library/Perl/5.8.1/ExtUtils/xsubpp -typemap /System/Library/Perl/5.8.1/ExtUtils/typemap Debug.xs > Debug.xsc && mv Debug.xsc Debug.c
cc -c -I/System/Library/Perl/5.8.1/darwin-thread-multi-2 level/auto/Apache/include -I/System/Library/Perl/5.8.1/darwin-thread-multi-2 level/auto/Apache/include/modules/perl -I/usr/include/httpd -I/usr/include/httpd -g -pipe -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -I/usr/local/include -Os -DVERSION=\"2.003000\" -DXS_VERSION=\"2.003000\" "-I/System/Library/Perl/5.8.1/darwin-thread-multi- 2level/CORE" Debug.c
Debug.xs:48:22: missing terminating " character
Debug.xs:49: error: parse error before "t"
Debug.xs:49:20: missing terminating " character
make[4]: *** [Debug.o] Error 1
make[3]: *** [subdirs] Error 2
make[2]: *** [subdirs] Error 2
make[1]: *** [subdirs] Error 2
make: *** [slash] Error 2

Now, here's where it gets interesting. I grabbed a new checkout of the source-tree in preparation for all the Section/Topic updates (see article). That way I had a clean c/o and could monitor what had changed easier then my diffed-to-hell srctree.

So for the heck of it I rm -fR'd /usr/local/slash, and then did make install on the fresh checkout.

It worked w/o any problems. I was very surprised at this point (pleasantly, obviously).

I've not run install-slashsite or anything (I'll have to do some house cleaning... backup the previous db's, etc) before I run install-slashsite on it.

But if this works, it comes with great timing in that I'll have the laptop but no 'net access all next week. So if I have time I can work on some Slash-related code/projects via the laptop once again.

Wednesday September 03, 03

Commercializing Open Source Software

09:21 AM
Slash Plugins and Themes

Slashdot's got a story titled Commercializing Open Source Software.

OMG! Just CowboyRobot's summary of it struck a cord with me.

I cannot *count* the number of times people have emailed me asking for a feature from XYZ software (especially Slash plugins). They say "they need it for their site" or "they need it for a client" -- will I add it to XYZ for them??

I guess these people think I'm a millionaire and can donate my time to helping them with their personal sites or helping them *make money*.

The gull of people when they ask for modifications because they need it for a client. If you need it, write it. Submit a patch. That's the beauty of the src available - it's available for the benefit of all. And you're supposed to contribute *back* so that everyone continues to benefit.

Not a single offer, ever, from any of these requests, for payment, I might add.

Anyway, that article struck a cord with me. I think it's time to read it now :)


Saturday July 19, 03

been workin

09:35 AM
Slash Plugins and Themes

This morning I woke up and started coding. It figures, I get in the mood, and it's beautiful outside. It's supposed to be in the 80's today. Nice.

Maybe I'll ride the bike in the afternoon.

Anyway, I was working on two things this morning. One was this bug and the other is the faq plugin.

I had wanted Cliff to post some info into one of the faq's. But he couldn't figure out how to do it. So I set down in the mindframe of someone who hadn't use the faq plugin before - and hell, I couldn't figure out how to do it.

So it needed some work. Sometimes it's amazing how you can code something up, it makes perfect sense to you, but others look at it and go "whoa".

One of the things I added were reply 'buttons'. That way, if someone posts a question or answer, you can hit reply and post a comment about it. The subject of the question/answer carries over to the post.

What I found out, however, is that you can't prepopulate the body of a comment with data when calling

My guess as to why that is - to discourage people from putting the parent post's body text into their post, whether italiced/indented etc.

Have a look at it running here or it's src via cvs. Most of the changes are cosmetic, and are in the templates.

Thursday May 22, 03

Slash CSS Theme

06:23 PM
Slash Plugins and Themes

Two days ago I got fed up with Slash not using CSS. Don't get me wrong - I'm not complaining - I'm dearly grateful that Slash's src is available as a backend; it's saved me many many hours of coding.

However, it would be *so* much better with CSS.

So, I started converting. Yes, I know pty started doing this recently, and yes, I hate to double up on a project. (pty, just incase, I'm not trying to one up you are anything even remotely close to that).

I just couldn't take it anymore. I had to give it a shot.

I think pty's project and mine differ in that he's going strict, while I'm not.

Anyway, I have made some progress. Infact, I've got to the point where I needed to modify plugin's templates (specifically, the journalhead and Slash::Message's display_prefs; the problem was the userslashboxes on the right hand side. they were tr td'd, I needed to div them so I could throw them to the right in the style sheet).

Take a look at it: I don't intend to wack this test-site's db over the course of the next week or two, so get an account on it if you want and mess around.

If you're using a newer browser, you can use different style sheets. The "noboxen" has errors. The "coolbreeze" works quite well, but was a 15 minute hack from another site's css file (and yes, the columns are reversed on purpose). Using Konqueror - it's under the view menu, with Moz it's under the view menu too).

If you are at all interested in this, please post and let me know. It would be great to get some feedback. It would be even better to get some *help* with it. And it would be greater still to get some feedback from the OSDN guys as to was I could make this easier for them to possibly use in the future... hint? hint? :)