I find a good approach to getting better at programming is to reflect on the projects you’ve done and try to identify patterns that got you into trouble. Then you can try doing things differently next time, and eventually you end up settling on a style that works for you. At the end of the day it’s really just practice. The one key thing I’ve learned to focus on is reducing the operating context I need to have when reading the code. Once the context becomes too big to keep in your head, then trouble starts. So breaking things up aggressively into small components you can reason about in isolation tends to be the best way to write reliable code you can maintain over time.
I’ve noticed that debugging tends to be more important in imperative languages than functional ones. With imperative style, you have a lot of implicit state that you need to know to figure out what actually happened. So, you end up having to go through the steps of building that state up before you can start figuring out what went wrong. On the other hand, the state is passed around explicitly with the functional paradigm, and you can typically figure out the problem by looking at the exact spot where the error occurred.
My typical debugging workflow with Clojure is to just read the stack trace, go to the last function in it, and then see what it’s doing wrong. Very rarely do I find the need to start digging deeper. I think another aspect of it is having an interactive development workflow. When you’re running code as you’re developing it, you see problems pop up as you go and you can fix them before you move to the next step. This way you don’t end up in situations where you wrote a whole bunch of code that you haven’t run, and now you’re not sure if it all works the way you expected.
China already said they wouldn’t do this, Europe is just not that important of a market for them at this point. This was a really good perspective on it https://youtu.be/RQ3YjZAzqxA
Neither does the US.
The biggest irony of our times is blood thirsty liberals who are cheering for as much war as possible running around calling people tankies.
Biden is trying his darnest to make it happen before leaving office it seems.
Seattle is poor af though.
deploying docker-compose to production
If this is true, this is an act of absolute insanity on the part of Biden admin. This would be an act of war from Russian perspective. Russians repeatedly stated that these weapons can only be operated by NATO personnel, and the use of these weapons would mean direct attack by NATO on Russia. Furthermore, since tomahawks can carry a nuclear pay load, the launches of these missiles will be viewed as a nuclear attack. Russians aren’t gonna wait and see whether a nuclear capable missile actually had a nuke payload or not before they respond.
best system possible
lol similar story here
How to say you’re historically illiterate without saying you’re historically illiterate. 👆
The US is clearly starting to distance itself from project Ukraine now. That said, I don’t expect that the US will alter its stance to simply admit that Russia has won. The most probable scenario is that Russia and the US will secretly negotiate a behind-the-scenes agreement, and the US will just cut aid to Ukraine while continuing to publicly engage in verbal posturing. The US admin will say that it has more pressing concerns with China and the Middle East, and it’s now time for Europe to step up and assume a larger role. However, everyone knows that Europe is not any position to do so. Therefore, the conflict will likely end on Russian terms without the US openly admitting defeat. As an added bonus, the US will secure lucrative military contracts with European nations for decades to come.
He’s likely just going to flee to US or UK in the end.
Russia won, it’s time to start engaging with reality.
I’m hoping we’ve reached a point where this is a self reinforcing phenomenon with enough socialist and socialist friendly states in the world to make it easier for new ones to form going forward.
Given that Russia has a competent government and isn’t on a verge of a civil war, not sure in what way America is like Russia.
genocide must go on