Sponsored Content
The Lounge What is on Your Mind? Moved Advanced Stats to Search Results Pages Post 303026660 by Neo on Saturday 1st of December 2018 06:24:36 AM
Old 12-01-2018
Moved Advanced Stats to Search Results Pages

FYI, today I moved the "Advanced Stats" page from the forum home page to the search results pages.

This means that at the top of the search results like "Today's Post" and "New Posts" and keyword searches, the stats will appear at the top of that page instead of the home page.

The reason of this change is SEO. Googlebot and other SEO tools complained we have too many links on the home page, so I moved the status (which have 100s of links) to the search page.

This does not effect users much as the same information is available just on a different page other than the "home page".


Also, please note that in the future I plan to move the current home page to "forums" and replace the home page with the latest thread from one or more busy forums, more-than-likely the "Shell Programming and Scripting" forums.

Still need to think about how best to implement this change.

The "home page" is not really useful since it is static and does not change much, so better to move it to "FORUM HOME" and make the home page more dynamic.

Cheers.
This User Gave Thanks to Neo For This Post:
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Advanced Search Problems.. Search by User Name

There seems to be some problems with Advanced Searching (by User Name & Keyword). I will try to fix this by upgrading vB soon. Thanks for your patience. Neo (1 Reply)
Discussion started by: Neo
1 Replies

2. Shell Programming and Scripting

How to divide results into several pages?

Hi All, I am wondering if anyone can help me with this. I have a long list of results and I want to divide them into several pages. Any ideas of how to do this? I'm using perl languange. eg: Output file consist of 400 data then would like to divide it into 50 data per pages. any help on... (2 Replies)
Discussion started by: kate katherine
2 Replies

3. UNIX for Advanced & Expert Users

search the entire man pages

Could someone please tell me how to search the entire man pages? I know man -k whatever searched the description but I wanna search the entire man page. (8 Replies)
Discussion started by: cokedude
8 Replies

4. Shell Programming and Scripting

Can ctag and cscope support recording search results and displaying the history results ?

Hello , When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Discussion started by: 915086731
0 Replies

5. Shell Programming and Scripting

Advanced string search + selection

Hi All, I want to run a script that will search backwards through a text file until it finds a certain string, something like "Date/Time/Eng" and select a string which happens to be a date and save that as a variable. The line will always be in the following exact format: Date/Time/Eng. ... (4 Replies)
Discussion started by: martin0852
4 Replies

6. What is on Your Mind?

Search Results (Search, New, and Today's Topics) Animation Switch

Hey, I added an animation switch on the search results page; so by default the thread previews are off, but if you want to look at them, just click on the green button and the thread previews will turn on (and back off). See image and attached animation: ... (1 Reply)
Discussion started by: Neo
1 Replies

7. What is on Your Mind?

Reformatted Advanced UNIX.COM Search Page (Desktop)

Just enabled Bootstrap for the advanced forum search page (desktop view): https://www.unix.com/search.php That' page still needs work, and to be converted from <table> elements to <div> elements, and to be redesigned, but in the meantime, it's OK using Bootstrap CSS. Note: Before, we had... (0 Replies)
Discussion started by: Neo
0 Replies

8. What is on Your Mind?

Changes to the Forums (Pages and Stats)

Hey. So... here are the changes. 1. The current home page of the forum is now based on a algo (below) which shows a thread based on this SQL $select_limit = 1; $reply_count = 3; $thread_array = array(); $forum_id = 30; //shell programming $query = 'SELECT * FROM thread WHERE... (5 Replies)
Discussion started by: Neo
5 Replies

9. What is on Your Mind?

Update to Advanced Search Page (Phase 1)

Update: I have completed the first phase of revamping the "Advanced Search" page using Bootstrap (desktop not mobile yet): https://www.unix.com/search.php https://www.unix.com/search.php I may change this to a Bootstrap modal later and change the CSS a bit more; but for now it is much... (0 Replies)
Discussion started by: Neo
0 Replies
CHI::Stats(3pm) 					User Contributed Perl Documentation					   CHI::Stats(3pm)

NAME
CHI::Stats - Record and report per-namespace cache statistics VERSION
version 0.54 SYNOPSIS
# Turn on statistics collection CHI->stats->enable(); # Perform cache operations # Flush statistics to logs CHI->stats->flush(); ... # Parse logged statistics my $results = CHI->stats->parse_stats_logs($file1, ...); DESCRIPTION
CHI can record statistics, such as number of hits, misses and sets, on a per-namespace basis and log the results to your Log::Any logger. You can then parse the logs to get a combined summary. A single CHI::Stats object is maintained for each CHI root class, and tallies statistics over any number of CHI::Driver objects. Statistics are reported when you call the "flush" method. You can choose to do this once at process end, or on a periodic basis. STATISTICS
The following statistics are tracked: o absent_misses - Number of gets that failed due to item not being in the cache o compute_time_ms - Total time spent computing missed results in compute, in ms (divide by number of computes to get average). i.e. the amount of time spent in the code reference passed as the third argument to compute(). o computes - Number of compute calls o expired_misses - Number of gets that failed due to item expiring o get_errors - Number of caught runtime errors during gets o get_time_ms - Total time spent in get operation, in ms (divide by number of gets to get average) o hits - Number of gets that succeeded o set_key_size - Number of bytes in set keys (divide by number of sets to get average) o set_value_size - Number of bytes in set values (divide by number of sets to get average) o set_time_ms - Total time spent in set operation, in ms (divide by number of sets to get average) o sets - Number of sets o set_errors - Number of caught runtime errors during sets METHODS
enable disable enabled Enable, disable, and query the current enabled status. When stats are enabled, each new cache object will collect statistics. Enabling and disabling does not affect existing cache objects. e.g. my $cache1 = CHI->new(...); CHI->stats->enable(); # $cache1 will not collect statistics my $cache2 = CHI->new(...); CHI->stats->disable(); # $cache2 will continue to collect statistics flush Log all statistics to Log::Any (at Info level in the CHI::Stats category), then clear statistics from memory. There is one log message for each distinct triplet of root class, cache label, and namespace. Each log message contains the string "CHI stats:" followed by a JSON encoded hash of statistics. e.g. CHI stats: {"absent_misses":1,"label":"File","end_time":1338410398,"get_time_ms":5, "namespace":"Foo","root_class":"CHI","set_key_size":6,"set_time_ms":23, "set_value_size":20,"sets":1,"start_time":1338409391} parse_stats_logs (log1, log2, ...) Parses logs output by "CHI::Stats" and returns a listref of stats totals by root class, cache label, and namespace. e.g. [ { root_class => 'CHI', label => 'File', namespace => 'Foo', absent_misses => 100, expired_misses => 200, ... }, { root_class => 'CHI', label => 'File', namespace => 'Bar', ... }, ] Lines with the same root class, cache label, and namespace are summed together. Non-stats lines are ignored. The parser will ignore anything on the line before the "CHI stats:" string, e.g. a timestamp. Each parameter to this method may be a filename or a reference to an open filehandle. SEE ALSO
CHI AUTHOR
Jonathan Swartz <swartz@pobox.com> COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Jonathan Swartz. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-05-30 CHI::Stats(3pm)
All times are GMT -4. The time now is 12:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy