DATA BLOG
Topics range from reviews of various solutions to programming and helpful how-tos
Personal opinion only. Some links in posts may be referral.
Intro TensorFlow and PyTorch are both popular deep learning frameworks, and both have their own strengths and weaknesses. TensorFlow is widely adopted and has a large community, while PyTorch has been growing in popularity and is known for its ease of use and flexibility.
If you compare the popularity of the two frameworks, it is now 2:1 (it was 3:1 once) in terms of search frequency, job postings, number of questions, etc.
Sometimes, to increase the security of your server or VPS (Virtual Private Server), you need to create a block list for certain IP addresses.
Let’s say you found such a source of IP addresses to block. Say, from a certain country or region. Now you need to merge them all into one list for blocking on the server. How do you find and select all the IP addresses in the text?
You should always think about security. Especially when you’re writing code. And twice as much when you use other people’s code. It saves a lot of time and effort. But it can also lead to problems, especially if you don’t at least use common sense.
Modules When programming, you can save commonly used classes, objects, and functions in modules. This is the official name for files with the extension .py. Conventionally, a module can be distinguished from an ordinary Python program by the fact that the program is designed to run and execute, while the module is designed to store frequently used constructs and import them into other programs.
Suppose you need to save some information about an event and when it happened to a log file. One of the most appropriate file formats for this is JSON.
What is JSON JSON (JavaScript Object Notation) is a lightweight format that is used everywhere to exchange data. It is based on a subset of the JavaScript language (the way JavaScript builds objects). As noted in MDN, some JavaScript is not JSON, and some JSON is not JavaScript.
Visual information is perceived much easier and more effectively than simple text. That’s why they say a picture is worth a thousand words. So you might want to add an image to your document or blog post, too. Below are a few simple ways to add image to markdown publication or document.
Markdown is a simple and easy-to-use markup language that can be used to format almost any document. If you want to learn more about it, read The Markdown Guide.
Longest jorney starts with the first step Yeah, I know, old saying… Still need to start with something. This is attempt to make dedicated corner to share some things that are of interest to me. Data processing, Python programming, technology and tools…
Perhaps, you may (dis)like what you’ll find here, but I am publishing all this mainly to keep track of the findings. Also this is attempt to get out of the comfort zone of only dreaming about blogging.