Jak rozwiązać równanie z dwiema niewiadomymi

Z pomocą idzie sagemath
http://doc.sagemath.org/html/en/reference/calculus/sage/symbolic/expression.html

Są również inne programy np. Derive, dostępne tutaj [1] [2]
Wystarczy zdefiniować poszczególne równania dla x i y
Zaznaczyć #1 #2
Wykonać SOLVE dla równań #1 i #2 czyli Solve->System (Ctrl+Shift+Y), wpisując w oknie ‘Solve 2 equation(s)’ w polu 1 – #1, w polu 2 – #2
Na równaniu #3 wykonać Simplify (Ctrl+B)
Po otrzymaniu wyniku na #4 wykonać Approximate (Ctrl+G)

Problems installing mate-icon-theme on FreeBSD

[Update]
Try to rebuild mapping util

# pkg which /usr/local/libexec/icon-name-mapping
/usr/local/libexec/icon-name-mapping was installed by package icon-naming-utils-0.8.90_1            
# portmaster -D icon-naming-utils

Just in case mount yours ports tree on /usr/ports


# mount -t nullfs /usr/jails/ports /usr/ports

Build and install package


# make install
===>  Installing for mate-icon-theme-1.18.2
===>  Checking if mate-icon-theme already installed
===>   Registering installation for mate-icon-theme-1.18.2
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/add.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/appointment.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/back.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/bookmark_add.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/bookmarks_list_add.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/bottom.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/centrejust.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/down.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/editclear.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/mate/16x16/actions/editcopy.png:No such file or directory

(snip)

pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/menta/48x48/status/gnome-netstatus-txrx.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/menta/48x48/status/nm-adhoc.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/menta/48x48/status/nm-device-wired.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/menta/48x48/status/nm-device-wireless.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/menta/48x48/status/nm-no-connection.png:No such file or directory
pkg-static: Unable to access file /usr/ports/x11-themes/mate-icon-theme/work/stage/usr/local/share/icons/menta/48x48/status/stock_open.png:No such file or directory
*** Error code 74

Stop.
make: stopped in /usr/ports/x11-themes/mate-icon-theme

Create text file with output and create not existing files then finally install package


# make install > & output.txt
# cat output.txt | grep Unable | awk '{print $6}' | cut -d ':' -f 1 | xargs touch

# make install
===>  Installing for mate-icon-theme-1.18.2
===>  Checking if mate-icon-theme already installed
===>   Registering installation for mate-icon-theme-1.18.2
Installing mate-icon-theme-1.18.2...

Meltdown and Spectre

  • CVE-2017-5715 (branch target injection – Spectre)
  • CVE-2017-5753 (bounds check bypass – Spectre)
  • CVE-2017-5754 (rogue data cache load – Meltdown)

Meltdown
https://security.archlinux.org/CVE-2017-5754

Lokalny, łatwiejszy to załatania, występuje na procesorach Intela

Spectre
https://security.archlinux.org/CVE-2017-5715
https://security.archlinux.org/CVE-2017-5753

Zdalny, trudniejszy do za latania, występuje na różnych procesorach Intel, AMD, ARM

Status w systemie FreeBSD
https://reviews.freebsd.org/D13797
Informacja z list dyskusyjnych
https://lists.freebsd.org/pipermail/freebsd-security/2018-January/009719.html

Lista patchy per OS (link z OVH)
https://docs.ovh.com/fr/dedicated/meltdown-spectre-kernel-update-per-operating-system/

Komentarz związany z Nginx
https://www.nginx.com/blog/nginx-response-to-the-meltdown-and-spectre-vulnerabilities/

Checker dla Linuxa
https://github.com/speed47/spectre-meltdown-checker

Log X-Forwarded-For

https://httpd.apache.org/docs/current/mod/mod_remoteip.html
https://www.loadbalancer.org/blog/apache-and-x-forwarded-for-headers/

uncoment
#LoadModule remoteip_module libexec/apache24/mod_remoteip.so

In section add:
RemoteIPHeader X-Forwarded-For
LogFormat “%{X-Forwarded-For}i %h %l %u %t \”%r\” %>s %b \”%{Referer}i\” \”%{User-Agent}i\ ” combine
LogFormat “%{X-Forwarded-For}i %h %l %u %t \”%r\” %s %b \”%{Referer}i\” \”%{User-agent}i\”” combined-forwarded

# apachectl configtest
# /usr/local/etc/rc.d/apache24 restart

GPG

Jak zainstalować gpg
W Linux/Unix
zainstaluj gnupg, kgpg, kleopatra
https://gnupg.org/software/frontends.html

W Windows
https://www.gpg4win.org
lub
Zainteresuj się choco
Zainstaluj Gpg4Win
C:\> choco install gpg4win

Jak wyeksportować klucz prywatny
List (private) secret keys
$ gpg -K
Export private key
$ gpg --export-secret-key -a keynumber > private_mykey1.key

Gdzie w Linux/Unix trzymane są klucze
~/.gnupg

Gdzie w Windows trzymane są klucze
c:\Users\user\Appdata\Roaming\gnupg

Jak zaimportować klucz z serwera kluczy
gpg --keyserver key.server.url --recv-keys keyid