Dedque's workshop

Sell to optimists, buy from pessimists

“The Intelligent Investor” by Benjamin Graham is a wonderful book and a profuse source of ideas. Some of them are fairly simple to implement for an individual investor (like 25-to-75-percents rule). Others are less obvious and can be easily misinterpreted. One good example is a principle of market sentiments: The market is a pendulum that forev... Read more

Non-spherical DCA in non-vacuum environment

DCA or dollar-cost averaging is likely the most used investment strategy (except gambling) if you push it to certain extremums. For example, decrease the number of time periods to 1, or push period length to infinity. But back to common usage, let’s start with the definition generated by Claude: Dollar-cost averaging is an investment strateg... Read more

TruffleHog vs probabilistic methods

Have you ever wondered where free API keys come from? Leaks? Data breaches? Actually, they mostly come from carefree developers who push them to a public repo. And if you are not as unconcerned as these people are, you probaby thought about tools to keep your keys safe. The most popular one of them is, arguably, TruffleHog. But how good is it? I... Read more

Generating maps for gnomes: non-linear noise combinations

Perlin noise is a default go-to option if you need to generate a terrain for your game. Simple to understand, computationally light (as long as you know what you are doing), and is either already implemented in your favorite engine, or can be easily found and copypasted in a language you need. The results are usually reasonable, but way too bori... Read more

EKNM Hub: Finding the balance between serverless and on-premise

A samurai has no goal, only path… And this path started with requirements. What we needed was a website, a file storage, an admin panel, and a lot of different things to help us with our ideas that constantly appear and disappear. In other words, a lot of functionality, but cheap, highly configurable, and hopefully workable. And it takes some ti... Read more