Categories
Linux Mastering Development

how can I install jansson 2.11-devel or above in centos7?

OS: CentOS Linux 7 (Core) x86_64 Host: VirtualBox 1.2 Kernel: 3.10.0-1127.8.2.el7.x86_64 Packages: 638 (rpm) Shell: bash 4.2.46 Terminal: /dev/pts/0 CPU: Intel i5-4200U (1) @ 2.294GHz Memory: 217MiB / 1813MiB I Wanna install a software (asterisk) that require configure: *** Asterisk requires libjansson >= 2.11 and no system copy was found. configure: *** Please install the […]

Categories
Linux Mastering Development

What is the difference between ASUS Boot Menu items

When I use F2 to enter UEFI settings after boot, the ASUS boot menu shows me a list of available boot items. I have a USB drive inserted and I see 2 related items to it: Generic Flash Disk (15000MB) UEFI: (FAT) Generic Flash Disk (15000MB) When I select the first one, I am able […]

Categories
Linux Mastering Development

How can I read from the keyboard in tmux?

I have a sh script that loops over a few lines and asks me stuff about it (simplified). echo -e “These\nare\nexample\nlines” | while IFS= read -r theLine; do read -p “What do you think about $theLine? ” answer < /dev/tty echo “$answer is what I thought, too.” done However, this does not work in tmux […]

Categories
Linux Mastering Development

mathematica in Konsole can’t access last input with keyboard

Here is my configuration :——————-:: —————————– :———–/shhOHbmp—:\ OS: Fedora 32 (Thirty Two) x86_64 /———–omMMMNNNMMD —: Host: HP EliteBook 840 G5 :———–sMMMMNMNMP. —: Kernel: 5.6.15-300.fc32.x86_64 :———–:MMMdP——- —\ Uptime: 36 mins ,————:MMMd——– —: Packages: 6700 (rpm) :————:MMMd——- .—: Shell: zsh 5.8 :—- oNMMMMMMMMMNho .—-: Resolution: 1920×1080 :– .+shhhMMMmhhy++ .——/ DE: Plasma :- ——-:MMMd————–: WM: KWin :- ——–/MMMd————-; […]

Categories
Linux Mastering Development

Copy latest file from one server to another at specific time

I want to copy a latest file of file.txt from Linux server A to server B at a specific time . It may be a duplicate question but i could not find the solution for this. Everyday I need to wait util a specific time to run the scp command. I’m new to linux please […]

Categories
Linux Mastering Development

AOSP Avahi mDNS doesn’t work without DHCP on network

I have an Android device connected to a laptop and installed avahi (autoipd, daemon). Whenever I enable a DHCP server, the Android device discovers the service running on my laptop. However, that doesn’t work when no DHCP server is active on the network (the irony). I don’t understand why it doesn’t discover service on its […]

Categories
Linux Mastering Development

How to set dark theme for KDE Apps on Xubuntu?

I’m using Ubuntu 20.04 with XFCE4 dark theme, but KDE apps (for example: ktorrent) are using default bright theme. How to set those apps globally to use dark theme? (previously I never had this problem at all since I almost never use KDE apps) Gnome apps (gnome-disks, gprename) themes using dark theme without any manual […]

Categories
Linux Mastering Development

Pop!_OS installer not recognizing partition

I’m trying to configure a dual boot on my PC with Windows 10 and Pop!_OS. So I partitioned my SSD for the Pop!_OS /boot (500 MB) and my HD with 100 GB for / through Windows 10 partition software: But the problem is when I boot my USB Drive with Pop!_OS installer, it doesn’t recognize the HD partition. It […]

Categories
Linux Mastering Development

Fix Syntax error: unexpected end of file in a “for loop”

So I tried to fix this problem by myself for a couple of hours but I couldn’t here’s the code block that has a problem I changed it, rewritten, I even tried to “do” only echo after each line but it doesn’t seem to work. It is a code to decrypt CSV files of a […]

Categories
Artificial Intelligence (AI) Mastering Development

Should I use exploration strategy in Policy Gradient algorithms?

In policy gradient algorithms the output is a stochastic policy – a probability for each action. I believe that if I follow the policy (sample an action from the policy) I make use of exploration because each action has a certain probability so I will explore all actions for a given state. Is it beneficial […]