login
Header Space

 
 

KernelTrap: Site Upgrade In Progress

December 12, 2004 - 1:19pm
Submitted by Jeremy on December 12, 2004 - 1:19pm.
KernelTrap

KernelTrap is currently being upgraded to Drupal 4.5. Some functionality will be temporarily missing. For example, the hacker journals are currently disabled until I get the old module working with the new version of Drupal, hopefully within the next few days.

If you notice any regressions in the functionality of this website, please leave a comment to be sure I'm aware of it. I rushed the upgrade more than I wanted to thanks to a sudden surge of comment spam. I've written a Drupal module to deal with this, but the most effective features I only added to the 4.5 version. Three days ago this site had seen less than 100 spam comments. This weekend alone I've seen over 1000.


Drupal 4.5 has quite a bit of new functionality, much of which will start showing up on this site over the next couple of weeks. For example, soon it will be possible to attach files and pictures to blog and forum postings. Much of the benefit is also behind the scenes, such as improving performance.

Again, please be sure to leave a comment if you find any problems with the web page over the next few days.



New functionality:

As I add new functionality to the site, I'll list them here:

  • Improved commenting for anonymous users (you can enter a name, etc)
  • Private messaging (for registered users)
  • Printer friendly pages (see the link at the bottom of each page)
  • File uploads for blogs and forum postings (for registered users)
  • Maintain a list of friends (for registered users) track their posts, etc
  • User interface provided in multiple languages

Looking good!

December 12, 2004 - 11:54pm

Testing. ;)

Although

December 12, 2004 - 11:55pm

It looks like the time is a bit off.

Some stretching of articles

December 13, 2004 - 5:23am
Hiaslboy (not verified)

Hola!
I have noticed in the networking article that it was somehow really not nice to read because of to much free space and line breaks.

Also the upper menu shows the items like this:
Forums
News
Journals
Features
Site
I thought that has been horizontal ordered before :-)
Otherwise thank you for your hard work. I hope your vacation time gave new powers :-)

re: Some stretching of articles

December 13, 2004 - 7:46am

> I have noticed in the networking article that it was
> somehow really not nice to read because of to much
> free space and line breaks.

What browser are you using? I can't duplicate this and I've tested with quite a few (on Linux, Mac OS X and Windows)

> Also the upper menu shows the items like this:

Force a reload of the page to grab the updated CSS file. That should fix it. It might actually fix both your problems. (ie, shift-reload, or whatever it is for your browser).

(Actually, I just renamed the css file which should force a reload on your browser next time you visit this site.)

Thanks :-) - all problems gone :-)

December 13, 2004 - 3:58pm
Anonymous (not verified)

Thank you Jeremy :-)
I was using konqueror and was not getting th updated css file (the uper menu was plain text unformatted links.
:-)

Grr..spammers

December 13, 2004 - 9:39am

Spammers .. hang 'em high!

CSS and such

December 15, 2004 - 1:44am

The site's new CSS and such look great! Keep up the good work.

One thing that I would like to see is the elimination of the requirement to preview a comment prior to posting it.

--adam

re: requirement to preview a comment

December 15, 2004 - 7:59am

> One thing that I would like to see is the elimination of the
> requirement to preview a comment prior to posting it.

Sorry, but the preview phase is intentional. The idea is you look at your comment before you post, and hopefully notice if it doesn't look right.

At some point, there may even be a captcha step (ie, type the letters you see in the image), if the spam problem gets too bad. This would only be for anonymous commentors.

What about magic hidden fields?

December 15, 2004 - 5:36pm

Instead of captchas, what about using a bit of Javascript or similar to write a hidden field into the form submit? If the Javascript you send is time dependent and IP and/or browser ID specific, that'd prevent someone from easily scripting a replay attack.

Something tells me a bot is unlikely to parse Javascript (though I could be wrong).

As for "Preview" vs. "Post": I like how LWN does it. The [Post] button is with the previewed text, and the [Preview] button is with the text entry box. You only get to post something you've previewed. My only annoyance with LWN's setup is that it forgets your settings for "email responses to this post" if you go through an edit/preview cycle again.

Only registered users...

December 17, 2004 - 10:55pm

> At some point, there may even be a captcha step (ie, type the
> letters you see in the image), if the spam problem gets too bad.
> This would only be for anonymous commentors.

I dunno 'bout that, how about limiting the ability to comment to the registered users? Most of the modern browsers have some sort of 'remember web page passwords'-feature, so logging in every time you visit the site isn't that painful, but playing the "what do you see in the pic"-game kinda gets to me :)

Just my 0.02e

re: Only registered users...

December 17, 2004 - 11:08pm

A large percentage of comments on KernelTrap come from anonymous users, and a large percentage of those are useful/informative/helpful/etc. Thus, I'd be exceedingly reluctant to disable anonymous commenting.

That said, my spam module is working pretty well, and it's actually kinda fun to keep improving it. So for now, no worries. No pictures.

great!

December 18, 2004 - 12:34am

> That said, my spam module is working pretty well, and it's
> actually kinda fun to keep improving it. So for now, no worries.
> No pictures.

Great thing!
Keep up the good work, I just could't live without 'trap :)

As a side note, it took almost two years for me to register, so I guess it might be better to let the readers to comment without registration.

Is the #comment anchor missing?

December 15, 2004 - 5:30pm

I notice that "add new comment" takes me to a link with #comment at the end. Ordinarily, this would cause the browser to scroll the page down to wherever the given anchor appears. My browser stays at the top of the page, which is sometimes disorienting when the article's long.

Is there a missing anchor for the comment-entry box?

Another oddball thingy

December 21, 2004 - 7:49pm

I noticed that I get a "moderate comments" dropdown on every post (except my own), but the only option it offers is "moderate comments."

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
speck-geostationary