Categories
Linux Mastering Development

“systemctl start fstrim.timer” for ssd optimization not working on Debian 10

i just installed a 1TB kingston SSD, i cloned my HDD (with Debian 10) so nothing changed besides the performance, i want to set up TRIM for this SSD. So i’ve done this: $ sudo hdparm -I /dev/sda | grep -i TRIM * Data Set Management TRIM supported (limit 8 blocks) $ sudo systemctl cat […]

Categories
Mastering Development

Pickle module that breaks the code from the book “Conceptual Programming with Python”

I’m taking the example from the book "Conceptual Programming with Python". Some introduction to the problem that the code is aimed at solving: Example: Creating a Knowledge Base As a second example for OOP, we are going to implement a simple guessing game! But this game will be able to learn from experience, that is, […]

Categories
Linux Mastering Development

Why is boot time so long?

(There are so many of these questions, if this has been answered, just send the link. Thanks!) I am running Ubuntu 18.04. It takes a long time to bootup. I used the following commands and got the following results systemd-analyze Startup finished in 11.030s (firmware) + 11.762s (loader) + 6.899s (kernel) + 53.292s (userspace) = […]

Categories
Mastering Development System & Network

juniper ssg5sh – internet error

i’m new at my company and new on the fw setup. here i have a juniper ss5sh set (not by me) and have 2 internet provider feed. problem: the internet feed from our main provider is ok between the router and the fw, but no internet after the fw. another info, if i plug the […]

Categories
Mastering Development System & Network

juniper ss5sh – internet error

i’m new at my company and new on the fw setup. here i have a juniper ss5sh set (not by me) and have 2 internet provider feed. problem: the internet feed from our main provider is ok between the router and the fw, but no internet after the fw. another info, if i plug the […]

Categories
CMS Mastering Development Wordpress

WordPress Query Conflict: Can’t Use post_status and Search together

WP_Query is used to get posts via simple arguments provided by it. WordPress provides an argument called ‘s’ for search. It basically searches content of all posts and lists the ones with that string anywhere. There is another WP_Query argument called, post_status, which can be used to filter posts, with particular Post_Status Do note that […]

Categories
Linux Mastering Development

Debian 10 Crackling noise pulseaudio

I’m not sure if I’m the right place to ask. Debian 10, KDE, nVidia proprietary drivers v450. Playing sound is not a problem, youtube, videos, movies, video chats all works well, problem is with video games. I’m a casual gamer, I have Skyrim V which has not problems at all, BUT Wolfenstein 2 is the […]

Categories
Game Creation Mastering Development

Send post request with content type

I used a php server to communicate with my unity application . I want to send post data with content type so that my php server can use the approriate variable for the content type , for example if i send post request with content type "file" , my php server can use $_FILES[][] instead […]

Categories
Linux Mastering Development

Debian 10 Crackling noise pulseaudio

I’m not sure if I’m the right place to ask. Debian 10, KDE, nVidia proprietary drivers v450. Playing sound is not a problem, youtube, videos, movies, video chats all works well, problem is with video games. I’m a casual gamer, I have Skyrim V which has not problems at all, BUT Wolfenstein 2 is the […]

Categories
Linux Mastering Development

What is the “thundering herd” problem and how can a race condition happen even after using spinlocks?

From here: wait_table A hash table of wait queues of processes waiting on a page to be freed. This is of importance to wait_on_page() and unlock_page(). While processes could all wait on one queue, this would cause all waiting processes to race for pages still locked when woken up. A large group of processes contending […]