HomeFairfax General ForumArrest/Ticket SearchWiki newPictures/VideosChatArticlesLinksAbout
Fairfax County General :  Fairfax Underground fairfax underground logo
Welcome to Fairfax Underground, a project site designed to improve communication among residents of Fairfax County, VA. Feel free to post anything Northern Virginia residents would find interesting.
Making Fairfax Underground Suck Less
Posted by: chuckhoffmann ()
Date: May 11, 2017 08:10AM

Every so often, people create threads asking/pleading/demanding that Cary change Fairfax Underground in some way, which he cheerfully ignores.

Since I can, I decided to see if I was able to make a change to how Fairfax Underground worked myself, without having to ask him to lift a finger.

The change I decided to focus on addressed the problem of people bumping old threads on Fairfax Underground, and what I did was create a userscript that automatically adds the date and time a particular thread was created to the "Started By" column on the Fairfax County General forum list page.

Userscripts can be used in Web browsers such as Google Chrome with the Tampermonkey extension and Mozilla Firefox with the Greasemonkey add-on.

What it does is looks up each thread's id in a database the local storage of the web browser. If the thread id exists, it gets the date the thread was created and adds it to the forum list page.

If it doesn't exist, it loads that thread in the background, gets the date it was created and puts the information in the database, then updates the forum list page.

In short, my script turns this:
file.php?2,file=283997,filename=FFU_Befo

Into this:
file.php?2,file=283998,filename=FFU_Afte

If you are knowledgeable about Javascript and would like to test or comment on my script, it's available at https://gist.github.com/chuckhoffmann/7f6b3e027f20ebcc9feb49493967201f#file-ffxu_format_fixer-user-js

Finally, while I have tried to test this script thoroughly, I specifically disclaim all responsibility for any damage it does to your computer if you choose to install it.

"Only good things can come of more communication." - Cary Wiedemann, March 3, 2005

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: corowdfundings ()
Date: May 11, 2017 08:18AM

is this crowdfunded?

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: chuckhoffmann ()
Date: May 11, 2017 08:24AM

corowdfundings Wrote:
-------------------------------------------------------
> is this crowdfunded?

Not yet.

There's a lot of functionality that could be added to this script, or one like it.

If there's enough of a demand for a specific function and, more importantly, people are willing to put their money where their mouths are, I might create a crowdfunding campaign to fund the development of that function.

"Only good things can come of more communication." - Cary Wiedemann, March 3, 2005

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Date: May 11, 2017 09:00AM

Right, download it & it steals all Ur bank & CC info then hijacks Ur browser 2 a kiddie porn site. Next thing U know, the FBI is knocking at Ur door, they throw U on the ground, slap the cuffs on U, hustle ?u 2 the car & make sure U "fall" a couple of times, then bang Ur ass on the car a few more times. They throw U in the hoosegow, make sure the snitch knows Y U got 'restidd, he lets Bubba know, next thing U know, Bubba's smiling at U & motioning w/his index finger for U 2 "c'mere".

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: buck fuel ()
Date: May 11, 2017 09:03AM

chuckhoffmann Wrote:
-------------------------------------------------------
> Every so often, people create threads
> asking/pleading/demanding that Cary change Fairfax
> Underground in some way, which he cheerfully
> ignores.
>
> Since I can, I decided to see if I was able to
> make a change to how Fairfax Underground worked
> myself, without having to ask him to lift a
> finger.
>
> The change I decided to focus on addressed the
> problem of people bumping old threads on Fairfax
> Underground, and what I did was create a
> userscript that automatically adds the date and
> time a particular thread was created to the
> "Started By" column on the Fairfax County General
> forum list page.
>
> Userscripts can be used in Web browsers such as
> Google Chrome with the Tampermonkey extension and
> Mozilla Firefox with the Greasemonkey add-on.
>
> What it does is looks up each thread's id in a
> database the local storage of the web browser. If
> the thread id exists, it gets the date the thread
> was created and adds it to the forum list page.
>
> If it doesn't exist, it loads that thread in the
> background, gets the date it was created and puts
> the information in the database, then updates the
> forum list page.
>
> In short, my script turns this:
> src="http://www.fairfaxunderground.com/forum/file.
> php?2,file=283997,filename=FFU_Before_sm.png" />
>
> Into this:
> src="http://www.fairfaxunderground.com/forum/file.
> php?2,file=283998,filename=FFU_After_sm.png" />
>
> If you are knowledgeable about Javascript and
> would like to test or comment on my script, it's
> available at
> https://gist.github.com/chuckhoffmann/7f6b3e027f20
> ebcc9feb49493967201f#file-ffxu_format_fixer-user-j
> s
>
> Finally, while I have tried to test this script
> thoroughly, I specifically disclaim all
> responsibility for any damage it does to your
> computer if you choose to install it.


Arcive chuckhoffman post.

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: fuck chuck ()
Date: May 11, 2017 01:59PM

Stick to sucking cocks Chuck. It's what you do best you fucking loser.

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: chuckhoffmann ()
Date: May 11, 2017 06:57PM

The Real gayvid blimmo Wrote:
-------------------------------------------------------
> Right, download it & it steals all Ur bank & CC
> info then hijacks Ur browser 2 a kiddie porn site.
> Next thing U know, the FBI is knocking at Ur
> door, they throw U on the ground, slap the cuffs
> on U, hustle ?u 2 the car & make sure U "fall" a
> couple of times, then bang Ur ass on the car a few
> more times. They throw U in the hoosegow, make
> sure the snitch knows Y U got 'restidd, he lets
> Bubba know, next thing U know, Bubba's smiling at
> U & motioning w/his index finger for U 2 "c'mere".

I figured a comment of this type was coming, but I didn't expect it to be both so semi-literate and so specific.

All I have to say is if you install or use code you do not understand from someone you do not trust, you're a fucking fool.

"Only good things can come of more communication." - Cary Wiedemann, March 3, 2005

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: Mike O'Meara Show Fan ()
Date: May 11, 2017 09:51PM

Why would I do this? Does the script travel back in time? Is thread bumping actually a problem?

"Since I can, I decided to see if I was able to make a change to how Fairfax Underground worked myself, without having to ask him to lift a finger."

You haven't changed how it works, you fucking asshole.

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: chuckhoffmann ()
Date: May 12, 2017 01:52PM

Mike O'Meara Show Fan Wrote:
-------------------------------------------------------
> Why would I do this? Does the script travel back
> in time? Is thread bumping actually a problem?

What the script actually does is maintain a local database of every message ID used to start a thread, as well as the date that message was created.

If the message ID does not already exist in the database, it uses the XMLHttpRequest function of Javascript to load the message, then gets the date that message was created and adds it to the local database.

One bonus of Cary moving Fairfax Underground's DNS to Cloudflare is that Cloudflare seems to be caching FFXU's Web pages, meaning my script can easily load as many as 100 pages in the background to get the date information without beating up on Fairfax Underground and causing problems.

As far as thread bumping being a problem, it's just one of the many, many stupid games played on Fairfax Underground. (The specific game is "Find the oldest thread possible on Fairfax Underground and bump it to the front page.")

There's a discussion of one of the more recent instances, where someone bumped a shitload of threads from 2006, here: http://www.fairfaxunderground.com/forum/read/2/2514127/2514336.html. This was a partial inspiration for me to write this specific script.

"Only good things can come of more communication." - Cary Wiedemann, March 3, 2005

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: No takers ()
Date: May 12, 2017 04:13PM

No one cares Chuck. Move on.

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: Free Shit Mang ()
Date: May 12, 2017 05:05PM

No takers Wrote:
-------------------------------------------------------
> No one cares Chuck. Move on.

At least he contributes something eesh.

Chuck, don't take the lack of FFXU innovation as something against Cary. He gives us this site for free.

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: Thinker of Thoughts ()
Date: May 12, 2017 06:20PM

I suggested the mod for the Started By column several times in similar threads.

Showing the date started would be a nice bonus for ancient thread bumpers.

An interesting mod would be a thread activity over time chart in a cell, similar to Excel's Sparklines.

[!i...ii.....i...!!!!]

Could even be overlayed on some existing field for space saving.

Fight the good fight Chuck

Options: ReplyQuote
Re: Making Fairfax Underground Suck Less
Posted by: WHAT'S UP CHUCK? ()
Date: May 12, 2017 06:24PM

Vomit. MYOB!

Options: ReplyQuote


Your Name: 
Your Email (Optional): 
Subject: 
Attach a file
  • No file can be larger than 75 MB
  • All files together cannot be larger than 300 MB
  • 30 more file(s) can be attached to this message
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
 **     **  **         **      **        **  **     ** 
 ***   ***  **    **   **  **  **        **   **   **  
 **** ****  **    **   **  **  **        **    ** **   
 ** *** **  **    **   **  **  **        **     ***    
 **     **  *********  **  **  **  **    **    ** **   
 **     **        **   **  **  **  **    **   **   **  
 **     **        **    ***  ***    ******   **     ** 
This forum powered by Phorum.