Search Results

Search: Posts Made By: Neo
Forum: Shell Programming and Scripting 16 Hours Ago
99
Posted By Neo
For example: from...
For example:

from /path/to/config/test_properties.py import *

That works fine right?
Forum: Shell Programming and Scripting 16 Hours Ago
99
Posted By Neo
Did you try hard coding the full path into your...
Did you try hard coding the full path into your code for testing?
Forum: Shell Programming and Scripting 16 Hours Ago
99
Posted By Neo
So, I guess you are sure this is not a permission...
So, I guess you are sure this is not a permission issue since only dev_user1 user and dev_staff group can read this file?

Seems like a wild shot... just checking in between working on mysql query...
Forum: Shell Programming and Scripting 19 Hours Ago
99
Posted By Neo
Hmm. Please post the output of your directory:...
Hmm.
Please post the output of your directory:

ls -la /path/to/config
Forum: What is on Your Mind? 20 Hours Ago
227
Posted By Neo
Daily backups: Before moving man pages to...
Daily backups:

Before moving man pages to new database:

-rw-r--r-- 1 root root 1292500820 Nov 13 22:31 main_masterdump_2019-11-13-22.sql.gz

After moving man pages to new database:
...
137
Posted By Neo
Dear sarathy_a35, You have received at...
Dear sarathy_a35,

You have received at least three reminders to use code tags and format your questions so our members can easily read them. You seem to have decided that the forum rules, which...
Forum: What is on Your Mind? 23 Hours Ago
230
Posted By Neo
Update: So far, 17,525 questions have...
Update:


So far, 17,525 questions have been answered by members and (mostly) guests.
UI Update to Trivia Leaderboards (https://www.unix.com/trivia_stats.php): Added tooltips for mouse overs...
Forum: What is on Your Mind? 1 Day Ago
227
Posted By Neo
Seems like the bulk of this MySQL performance...
Seems like the bulk of this MySQL performance issue is solved (fingers crossed).
Forum: What is on Your Mind? 1 Day Ago
227
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...
125
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.
134
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? 1 Day Ago
227
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...
166
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? 2 Days Ago
227
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? 2 Days Ago
814
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? 2 Days Ago
227
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) {
...
231
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...
140
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? 3 Days Ago
227
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? 3 Days Ago
227
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? 3 Days Ago
227
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 3 Days Ago
208
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? 3 Days Ago
227
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 3 Days Ago
208
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?
216
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...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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