Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.
Avoid being a link dump. Try to provide only valuable well tuned information.
Neural network links before starting with transformers.
Steps to configure prettier, eslint, husky (pre commit hook), lint-staged in react + typescript project created using create-react-app. This is opinionated configuration with airbnb's style guide as the base style guide.
npm install --save-dev --save-exact prettier
| # docs for more information see the official HPLIP project site here. | |
| # https://developers.hp.com/hp-linux-imaging-and-printing | |
| # Step 1. Update Fedora Linux | |
| # Simply run dnf command: | |
| $ sudo dnf upgrade | |
| # Step 2. Search for HPLIP software |
08/16/17 by Sergey Grebenshchikov
This is a quick tutorial on how to test code using the GoMock mocking library and the standard library testing package testing.
GoMock is a mock framework for Go. It enjoys a somewhat official status as part of the github.com/golang organization, integrates well with the built-in testing package, and provides a flexible expectation API.
| func main() { | |
| cmd := exec.Command("sh", "-c", "cd ../../bin/worker; ./run.sh") | |
| // some command output will be input into stderr | |
| // e.g. | |
| // cmd := exec.Command("../../bin/master_build") | |
| // stderr, err := cmd.StderrPipe() | |
| stdout, err := cmd.StdoutPipe() | |
| if err != nil { | |
| fmt.Println(err) | |
| } |
XML processing modules may be not secure against maliciously constructed data. An attacker could abuse XML features to carry out denial of service attacks, access logical files, generate network connections to other machines, or circumvent firewalls.
The penetration tester running XML tests against application will have to determine which XML parser is in use, and then to what kinds of below listed attacks that parser will be vulnerable.
| (function(console){ | |
| console.save = function(data, filename){ | |
| if(!data) { | |
| console.error('Console.save: No data') | |
| return; | |
| } | |
| if(!filename) filename = 'console.json' |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs