The second issue of Weekly Digest in April is here! Today you can read about how virtual environments in Python work, why you shouldn’t staff to the peak, why you should test your software on a crappy laptop and how new cars are stolen by accessing CAN bus!

Business and (side)project section

1. Never Staff to the Peak

https://blog.testdouble.com/posts/2023-04/2023-04-03-never-staff-to-the-peak/

Layoffs are hard and at the beginning of 2023, we heard about them a lot. Wise article about staffing - the point is that you cannot lay off somebody who is not hired, so do not staff to the peak!

2. Test Your Product on a Crappy Laptop

https://css-tricks.com/test-your-product-on-a-crappy-laptop/

As an engineer, you probably have a neat machine with a fast processor and a lot of RAM. But your users are not you - and probably have much slower machines, with some third-party apps that slow them down even more. The author presents the valid points why you should test your app on craptop (crappy + laptop)!

Developer section

3. How virtual environments work

https://snarky.ca/how-virtual-environments-work/

If you ever worked with Python you probably used (or seen) venv - virtual environments. A virtual environment is used to provide isolation between running apps, where every app can have its own Python version and its dependencies. But do you ever think about how it works? This article explains it!

4. snap.js - The Copy-Paste Library - Lodash Replacements

https://thescottyjam.github.io/snap.js/#!/nolodash

Lodash is commonly used in JavaScript projects. But it is just another library you embed into your code. Here we can find a list of replacements for functions that Lodash provides in vanilla JavaScript!

5. 16 don’ts: when JavaScript code review feels like watching a thriller movie

https://dev.to/kolodziejczakm/16-donts-when-javascript-code-review-feels-like-watching-a-thriller-movie-4dbb

Examples of things that you should do to write better code. Written in reverse - what to do to make sure that code review will be… harder!

6. CAN Injection: keyless car theft

https://kentindell.github.io/2023/04/03/can-injection/

How the new cars are being stolen? Why theft is removing headlights? Very interesting reading about new car security and how bad actor can steal a car by accessing data bus!

7. SAFARI RELEASES ARE DEVELOPMENT HELL

https://www.construct.net/en/blogs/ashleys-blog-2/safari-releases-development-1616

A lot of apps are now web apps and run in the browser. If you do not use anything special then there is no problem at all. But what if your app is a bit more specific and uses a more sophisticated API? Will it work when a new version of a browser is rolled out? Can you test it on the browser pre-release version? You can, but for Safari it is… hard!