Search Results

Search: Posts Made By: Neo
Forum: What is on Your Mind? 3 Hours Ago
143
Posted By Neo
Update: To be clear, the main reasons I put...
Update:

To be clear, the main reasons I put the man page table in a different database was to make the main database smaller (75%) smaller; and so the daily backups are faster and use less...
56
Posted By Neo
Please show your own work and any scripts /...
Please show your own work and any scripts / programs you have written so far to accomplish your task; and any error messages you got.
85
Posted By Neo
First appearing in 1988; 31 full years ago, many...
First appearing in 1988; 31 full years ago, many most people here do not use TCL these days, it seems.

I have not used TCL in decades, so I cannot help either.

There are simply more modern...
Forum: What is on Your Mind? 6 Hours Ago
143
Posted By Neo
Update: Have completely moved all DB queries...
Update:

Have completely moved all DB queries regarding man pages to a new database (outside of the main site DB).

After testing, will delete the table of man pages from the main DB.

Deleting...
111
Posted By Neo
Do not post classroom or homework problems in the...
Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum (https://www.unix.com/homework-coursework-questions/) under special...
Forum: What is on Your Mind? 1 Day Ago
143
Posted By Neo
Update: Have made a few changes to help with...
Update:

Have made a few changes to help with the DB load during peak times.


Coped the huge 7 GB man page table over to another DB.
Moved three busy man page DB queries over to the new...
Forum: What is on Your Mind? 1 Day Ago
766
Posted By Neo
Update: Turned off trivia code debug logging...
Update: Turned off trivia code debug logging since all is going well at this time.
Forum: What is on Your Mind? 1 Day Ago
143
Posted By Neo
Added some quick code to turn on and off various...
Added some quick code to turn on and off various "bot blocking code" based on the load average of the site.

Very simple example:

<?php
$quickload = getLoad();
if ($quickload > 6) {
...
135
Posted By Neo
You can easily do this with PHP, for example, you...
You can easily do this with PHP, for example, you can read the CSV files into arrays and and compare the arrays:


Quick examples to get you started (untested, for example only):

<?php...
99
Posted By Neo
For SVN that utilizes the svnserve executable, it...
For SVN that utilizes the svnserve executable, it is possible to enable server-side logging by passing the --log-file switch when starting the daemon, e.g.:

# svnserve -d -r /svn...
Forum: What is on Your Mind? 1 Day Ago
143
Posted By Neo
Which leads to: linux:# tail -50...
Which leads to:

linux:# tail -50 /var/log/apache2/debug/neo_global_country_bot_block_403.log
Tue, 12 Nov 19 08:58:32 -0600 SEND 403 Page: 182.111.240.115 Country: CN
Tue, 12 Nov 19 08:58:32...
Forum: What is on Your Mind? 1 Day Ago
143
Posted By Neo
Like so: <?php if...
Like so:



<?php
if (stripos($_SERVER['HTTP_USER_AGENT'], 'google') !== false) { // don't block googlebot
define('NEO_SEND_SOME_BOTS_TO_403', false);
} else {
...
Forum: What is on Your Mind? 1 Day Ago
143
Posted By Neo
The other possibility is that the search bots...
The other possibility is that the search bots from China which are attacking the site are the problem:

Currently Active Users: 4410

This is the highest number we have seen in a few years, and...
Forum: Web Development 1 Day Ago
183
Posted By Neo
Great. OBTW, I don't have the exact JSON API...
Great.

OBTW, I don't have the exact JSON API output in front of me and your JS code which calls the API, so this might be way off base; but this code seems overly complex to me; but then again, I...
Forum: What is on Your Mind? 1 Day Ago
143
Posted By Neo
MySQL Performance Problems
Just restarted MySQL a few times.

There seems to be a problem with MySQL performance because one table (our man page table) is too large and I need to move that table to a new database and out of...
Forum: Web Development 1 Day Ago
183
Posted By Neo
Congrats on starting to learn JS and JSON APIs. ...
Congrats on starting to learn JS and JSON APIs.

Does your code work?
174
Posted By Neo
Ansible is a Python application, so if you write...
Ansible is a Python application, so if you write this simple text processing script in Python it will fit into your Ansible configuration management nicely; and it is a very easy script to write in...
Forum: What is on Your Mind? 2 Days Ago
165
Posted By Neo
Update: Fixed a minor bug in the Minor...
Update:

Fixed a minor bug in the Minor League Member Leaderboard, caused by sorting on strings instead of floats, which caused users with scores of '100%' to not appear in the sort results.
...
Forum: Web Development 2 Days Ago
183
Posted By Neo
According to your post: "event_ID": 155643, ...
According to your post:

"event_ID": 155643,

"event_ID" is a JSON property sent by the API as a key : value pair. Of course the value of this property will change, but the key is the same.
...
174
Posted By Neo
From my perspective, I don't understand why you...
From my perspective, I don't understand why you do not do all the text processing and system call in python, since your command starts out with python.

python works just fine to process text, make...
212
Posted By Neo
Did you search your filesystem for core files?
Did you search your filesystem for core files?
Forum: Web Development 2 Days Ago
183
Posted By Neo
You do not need to grep, search or parse to get a...
You do not need to grep, search or parse to get a value from an object in Javascript.

You simply take any Javascript object and reference the element you want, for example:


var obj1 = {...
Forum: What is on Your Mind? 3 Days Ago
165
Posted By Neo
Update: Just updated this to include a draft...
Update:

Just updated this to include a draft "Major League" and a draft "Minor League".... for both Member and Country Leaderboards
Forum: What is on Your Mind? 3 Days Ago
165
Posted By Neo
New Member and Country Computer Trivia Leaderboards
Thanks to Akshay (https://www.unix.com/member_modal.php?u=302132521), who helped me write the core MySQL queries, we now have two new draft leaderboards (https://www.unix.com/trivia_stats.php), by...
108
Posted By Neo
You should provide the command you are currently...
You should provide the command you are currently working with (your work) and any error messages.

We are here to help you help yourself and so you need to show your own work.
Showing results 1 to 25 of 500

 

Featured Tech Videos

All times are GMT -4. The time now is 08:13 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy