📺 OpenCV C++ Mac M1 Installation Tutorial Video
We need homebrew installed in our system
brew install cmake
mkdir Open_CV && cd Open_CV📺 OpenCV C++ Mac M1 Installation Tutorial Video
We need homebrew installed in our system
brew install cmake
mkdir Open_CV && cd Open_CV| // ==UserScript== | |
| // @name Tinder Deblur | |
| // @namespace Violentmonkey Scripts | |
| // @match https://tinder.com/* | |
| // @grant none | |
| // @version 1.4 | |
| // @author Tajnymag | |
| // @downloadURL https://raw.githubusercontent.com/tajnymag/tinder-deblur/main/tinder.user.js | |
| // @description Simple script using the official Tinder API to get clean photos of the users who liked you | |
| // ==/UserScript== |
| def trimmed_mae_loss(prediction, target, mask, trim=0.2): | |
| M = torch.sum(mask, (1, 2)) | |
| res = prediction - target | |
| res = res[mask.bool()].abs() | |
| trimmed, _ = torch.sort(res.view(-1), descending=False)[ | |
| : int(len(res) * (1.0 - trim)) | |
| ] |
Okay, the title of this post is a bit of a lie. There's no one secret trick to becoming a genius programmer - there are two, and they're more habits than tricks. Nevertheless, these kind of 'secret tricks' seem to resonate with people, so I went for this title anyway.
Every once in a while, a somewhat strange thing happens to me. I'll be helping somebody out on IRC - usually a beginner - answering a number of their questions in rapid succession, about a variety of topics. Then after a while, they call me a "genius" for being able to answer everything they're asking; either directly, or while talking about me to somebody else.
Now, I don't really agree with this "genius" characterization, and it can make me feel a bit awkward, but it shows that a lot of developers have a somewhat idealistic and nebulous notion of the "genius programmer" - the programmer that knows everything, who can do everything, who's never stumped by a problem, and of which ther
| Lesson 1 SUMMARY | |
| 1. The cursor is moved using either the arrow keys or the hjkl keys. | |
| h (left) j (down) k (up) l (right) | |
| 2. To start Vim from the shell prompt type: vim FILENAME <ENTER> | |
| 3. To exit Vim type: <ESC> :q! <ENTER> to trash all changes. | |
| OR type: <ESC> :wq <ENTER> to save the changes. |