Practical optimizations in programming: boids’ distance to each other

Reading Time: 3 minutes Let’s say we have 1000 boids: little worms, birds or what-ever-animal is your favorite, moving around in a canvas (restricted to X and Y coordinates, that is a plane). The boids form a beautiful swarm. Collectively they seem to be following some invisible leader, while avoiding crashing each other. Can we somehow optimize the calculationContinue reading “Practical optimizations in programming: boids’ distance to each other”

Nutso serious: Cooking or Building software?

Reading Time: < 1 minute Eternal question: cooking, or building software? Which analog suits better? Pro “Cooking” software it’s a recurring activity essential for daily survival (just like coding) side effects removal: just like ‘Preact’ (remove clutter) bonzai! & zen and lean lots of opinions around (kitchen / software developers) no certificates needed! Pro “Building” software like a house basementContinue reading “Nutso serious: Cooking or Building software?”

LIDP-kopteri drone-lennot, AA-patterit ja hyötysuhde

Reading Time: < 1 minute Tämä artikkeli on WIP – Work in Progress. Viime päivitys: 15.1.2021 Drone: case varmuus radiolähettimen AA-patterien kunnossa – optimaalinen toiminta ja lentomäärät. Tausta Iskä osti dronen muksuille, ja nyt lennättelee sitä, ja geek-snipailee erilaisia kalkyyleja toiminnan ympärillä. Kalkyyleilla on tarkoitus selvitellä, miten eri varmuusparametrien valitseminen vaikuttaa lennon kustannuksiin ja hyötysuhteisiin. Näkökulmana on: lentämisen pitää ollaContinue reading “LIDP-kopteri drone-lennot, AA-patterit ja hyötysuhde”

More than 3 ways to go – what to do?

Reading Time: < 1 minute You probably know this feeling: many, many alternatives, too much to choose from. And the result:nothing happens. Paralysis by analysis. Listen, here’s a great thought experiment: Why does a random walk process, a simple randomized algorithm,seem to then make progress? It shouldn’t basically. Random walksintuitively should seem totally boring, senseless, perhaps evencentered (“averagely”) at aContinue reading “More than 3 ways to go – what to do?”

Software Composition Analysis Explained

Reading Time: 6 minutes Open source code is everywhere, and it needs to be managed to mitigate security risks.  Developers are tasked with creating engaging and reliable applications faster than ever. To achieve this, they rely heavily on open source code to quickly add functionality to their proprietary software. With open source code making up an estimated 60-80% ofContinue reading “Software Composition Analysis Explained”

Kvanttitietokoneet

Reading Time: 7 minutes Kvanttitietokoneet varmasti tulevat hiljalleen arkikäyttöön. Millaisia etuja kvanttilaskennalla voitaisiin saada? Vaikuttaako kvanttilaskenta jo nyt meidän arkipäiväiseen elämäämme? Klassinen tietokone perustuu sähköisten impulssien kulkemiseen. Sähkö kulkee tiukkaan pakatussa elektronisessa komponentissa, prosessorissa. Prosessori osaa tehdä hyvin yksinkertaisia toimintoja, miljardeja kertoja sekunnissa: laske kaksi lukua yhteen (“ADD” komento) vertaile lukujen suuruutta (“CMP”) hyppää toiseen käskyyn, vertailun perusteella (“JZ”,Continue reading “Kvanttitietokoneet”