1,500 karma · joined March 4, 2021
qsantos@qsantos.fr
Socials: - github.com/qsantos - linkedin.com/in/qsantos
https://jvns.ca/blog/2017/03/19/getting-started-with-ftrace/
The $2000 in the saving account was earmarked for the dowry, and she would not touch it. So, she had to save every month to pay back the loan to the bank. The longer she took to do this, the more interest she paid.
This is a kind of non-rational trick that some people use to "trick themselves into doing the right thing". This is like paying some random stranger $100 if you do not accomplish some task.
And I agreed that this is not “pure” Vim.
But I did need to find a compromise. There is little point in having an “insert” mode, like Vimium does, since I am targeting a very specific website and not overriding any existing shortcut (AFAICT). If you think it's important to you, I might consider implementing custom key bindings so that you can use with “pure” Vim shortcuts!
Regarding the scrolling, it could be two things:
1. I do not update the address bar on every key press, to avoid some kind of rate limitation I encountered when I did so initially. Instead, there is a very short delay so before it happens. But the viewport should still scroll immediately. 2. If it's smooth scrolling, there is actually a toggle you can change in the extension settings. If you still have the behavior without smooth scrolling, I would be curious to know more, to see if I can make the experience more pleasant.
[1] https://github.com/qsantos/ViHN/
[2] https://addons.mozilla.org/fr/firefox/addon/vihn/
[3] https://chromewebstore.google.com/detail/vihn/cfmccoefeojndm...
Modern frameworks are definitely needed for large applications, but there is no need all that complexity when the scope is reduced.
> Turns out, they found out an even more innovative time sync mechanism. When you open the UI in the browser, they quickly redirect you to "/set-time/" + Date.now(). This sets a global variable in the Node.js app responsible for "now".
It's useful to make it explicit anyway for people who might miss that, so thanks!
[1] https://wikimedia.org/api/rest_v1/media/math/render/svg/64b9...
[2] https://en.wikipedia.org/wiki/Fibonacci_sequence#Matrix_form
I think the simplest approach to prove it would be to show that both computations yield the global minimum. Since there is only one global minimum, then they must be equal.
Of course, you would not use analogy for formal proofs, but it helped build a mental model incrementally instead of having to conjure various concepts out of thin air and draw connections between them.
In short, I am not saying you cannot learn dynamic programming straight away from the theory, just that you are going to lose many people with this approach.
In fact, it makes me think of “New Math” [1], an effort to teach math from the ground-up starting in junior high. I am not familiar with how it worked in the US, but at least in France, it was definitely not a success. I would definitely have had a lot of fun, but many more did not, and failed to get a basic mathematical education at all as a result.