Category: Uncategorized
Wishlist 2024
Written by Grigory Rechistov in Uncategorized on 13.11.2024. Tags: wishlist,
Verktyg
- Verktygstavla
https://www.byggmax.se/verktygstavla-tellbe-p705228#1250=89042
- Knipex tångnyckel 250 mm
https://www.clasohlson.com/se/Knipex-tangnyckel-250-mm/p/41-1789
https://www.amazon.se/T%C3%A5ngnyckel-skruvnyckel-flerkomponents%C3%B6verdrag-250-86/dp/B01H73UPXE
- T-handle hex key set
Restaurering av Magura gaffel, avslutning
Written by Grigory Rechistov in Uncategorized on 01.10.2024. Tags: magura, gaffel, restaurering,
Början: del 1.
Forumtråden: https://happyride.se/forum/threads/restaureringsprojekt-magura-durin-md100-race.3702162/.
Luftkolven
Hade lite tid att ta isär luftkammaren och ta en bild. Elastomererna är helt tillplattade och smulas:
Om man jämför mot en bild funnen i service-PDF:en ser man skillnaden på nya brickor:
De nya verkar vara …
Restaurering av Magura gaffel
Written by Grigory Rechistov in Uncategorized on 31.08.2024. Tags: magura, gaffel, restaurering,
Forumtråden: https://happyride.se/forum/threads/restaureringsprojekt-magura-durin-md100-race.3702162/.
Om gaffeln
Jag har fått den Magura Durin MD100 Race som en del av en barncykel.
- Avsedd för 26-tumshjul med 9mm QR axel.
- Rakt 1⅛” styrrör.
- 100 mm slaglängd.
- Justerbar luftfjäder.
- Fäste för skivbroms.
- Justerbar rebound och remote compression lockout knapp.
- Vikt …
A hypothesis cannot be experimentally proven
Written by Grigory Rechistov in Uncategorized on 07.04.2024. Tags: hypothesis, testing,
TL;DR: there is a difference between “is proven” and “could not be disproven”.
Let’s say you have a hypothesis A. How do you test it? By doing a set of experiments E₁, E₂, E₃, etc., observing their outcomes and comparing them against predictions made by A.
How do …
Do you write your tests after the fact?
Written by Grigory Rechistov in Uncategorized on 25.02.2024. Tags: tdd, tests,
Do you write your tests after corresponding production code has been written? Do you run your new test, see it pass, consider the job done and then move on onto the next task?
Here is a thought experiment for you. I hope it will illustrate a problem with this approach …
#include directive implements inheritance
Written by Grigory Rechistov in Uncategorized on 18.02.2024. Tags: oop, lsp, isp, solid,
I came to realisation that certain design principles originally formulated within object-oriented programming (OOP) are applicable to a wider range of programming concepts. Inheritance is one of them.
Thoughts on bureaucracy
Written by Grigory Rechistov in Uncategorized on 05.02.2024. Tags: thoughts,
Bureaucracy has good (wut?) and bad sides.
The good intentions behind of formalizing an activity into a documented process is to reduce variation, reduce possibility for corruption and thus improve scaling. While all good things, there is a price to consider.
Automation has lower flexibility than humans have when it …
Does Suppress All Exceptions also suppress MXCSR updates?
Written by Grigory Rechistov in Uncategorized on 26.01.2024. Tags: sae, avx512, evex, mxcsr,
The question
Many x86 instructions from AVX512 and AVX10 families (encoded with EVEX prefix) allow specifying “suppress all exceptions” (SAE) flag in instruction’s opcode (EVEX.b field). While the intention of avoiding throwing exceptions on certain floating point inputs is clear, it is …
Outcomes of tests
Written by Grigory Rechistov in Uncategorized on 23.01.2024. Tags: testing, flakiness, timeouts,
Patterns of behavior around tests
There are patterns in why and how tests fail and pass, and what corrective actions should and should not be applied by developers in response to that. Here are some do’s and don’t s for different good and bad situations.
We have a …
Example of Null Object
Written by Grigory Rechistov in Uncategorized on 09.01.2024. Tags: null object, polymorphism,
A more detailed example of how a Null Object mentioned in my previous post could be used for good in a more down to earth example.
As before, clearly defining what a “null” behavior in all your specific cases should be is the key towards successfully defining good behavior for …
Nothing is something
Written by Grigory Rechistov in Uncategorized on 02.01.2024. Tags: null object, null object pattern, special case, abstract data types,
Inspired by Sandi Metz’s video about the Null Object pattern and related things.
More thoughts on The Old OOP
Written by Grigory Rechistov in Uncategorized on 31.12.2023. Tags: oop, c++,
This is a continuation of my thoughts about how the ideas of object oriented programming (OOP) have changed over my time.
I am comparing the OOP applications and ideas that I was taught early in my life against my relative recent “discoveries”. These differences are reflected in the designs of …
Wishlist 2023
Written by Grigory Rechistov in Uncategorized on 20.11.2023. Tags: wishlist,
Verktyg
- Accu Gage 30 PSI https://www.accu-gagecycling.com/collections/view-all/products/accu-gage-low-pressure-tyre-pressure-gauge
- Bearing Puller Kit for Santa Cruz Bikes, Hightower 3 2022- https://www.bearingprotools.com/collections/santa-cruz/products/bearing-puller-kit-for-santa-cruz-bikes?variant=40519783448681
- Spoke tension meter https://www.bike24.com/p2417525.html
- Magnetisk tallrik https://www.bike24.com/p211619.html …
Tests on Venn diagram
Written by Grigory Rechistov in Uncategorized on 01.09.2023. Tags: tests, unit tests, coverage,
This is very likely not a new idea. I most probably have seen it somewhere but have since forgotten where. Now I feel as it was my own idea. I wanted to share it.
Any non-trivial software application has a structure with many units of behavior interacting with each other …
The Old OOP
Written by Grigory Rechistov in Uncategorized on 05.07.2023. Tags: oop, object-oriented, design, inheritance, polymorphism,
As my friend Jacob Gabrielson once put it, advocating Object-Oriented Programming is like advocating Pants-Oriented Clothing. // Steve Yegge
I was taught the Objected Oriented Programming (hereinafter “OOP”) long ago. Looking back now, it turned out that it maybe caused more harm than it was useful to my software design skills …
Incremental metrics provide most value to the development
Written by Grigory Rechistov in Uncategorized on 06.03.2023. Tags: tests, benchmarking, static analysis, incremental analysis,
Updated 2023-07-06
Recently I realized that there is a common pattern for many testing-like activities performed during daily development cycles. Many of them provide the biggest benefit if their results are reported in an incremental manner, i.e. against individual change requests, rather than against the whole code base.
Examples …
Eklektisk24 del 9
Written by Grigory Rechistov in Uncategorized on 04.02.2023. Tags: byggtråd, cykel, 24 tum, eklektisk24,
Vevparti
Tack vare Brexit det är nu mindre krångligt att beställa vissa små prylar direkt från Kina än från Storbritanien. Men i det här fallet var Ebay.co.uk den enda platsen där jag kunde hitta vevpartier med 127 mm långa vevarmar och 32 kuggar för fyrkantsvevlager.
Paketet var löjligt …
Code smell: obscured intent
Written by Grigory Rechistov in Uncategorized on 03.02.2023. Tags: code smell, code quality,
G16. Obscured Intent. We want code to be as expressive as possible. Run-on expressions, Hungarian notation, and magic numbers all obscure the author’s intent. .. Small and dense as this might appear, it’s also virtually impenetrable. It is worth taking the time to make the intent of our code …
The baseline approach to reporting static analysis results
Written by Grigory Rechistov in Uncategorized on 02.02.2023. Tags: tests, static analysis, baseline, false positives,
Static analysis is great because it allows to catch many types of issues without the need to run the code. It is not perfect however. When you consider it in the scope of a big evolving project, there dangers not always pointed out by the adopters. The main danger is …
Eklektisk24 del 8: hjul
Written by Grigory Rechistov in Uncategorized on 01.02.2023. Tags: byggtråd, cykel, 24 tum, eklektisk24,
Hjul
Hjulparet har äntligen kommit fram. Här är vad kartongen innehöll.
Enkla snabbkopplingsaxlar och en kassettdistans insvepta i tidsenlig (från juli 2021) pappersbit. Till QR-axlarna har jag ett bättre par liggandes någonstans. Kassettdistansen kom dock till nytta vid bygget.
Själva hjulen. Dekalerna var lättavskalade. Naven är av enkel konstruktion …
Eklektisk24 del 7: ramskydd
Written by Grigory Rechistov in Uncategorized on 27.01.2023. Tags: byggtråd, cykel, 24 tum, eklektisk24,
Skyddsfilm
På tal av att ramla ner i en container med stickers. Det kom tre ark med skyddsfilm:
Målen med klistermärkena var att:
- Strö lite variation till den monotona blå ramfärgen.
- Skapa visuellt brus som skulle dölja eventuella sprejmålningsdefekter
- Färgkoordinera gaffeln och ramen(, något som inte lyckades att åstadkomma den …
Eklektisk24 del 6: funderingar kring vevarmslängden
Written by Grigory Rechistov in Uncategorized on 27.01.2023. Tags: byggtråd, cykel, 24 tum, eklektisk24,
Även om de flesta vuxencyklar kommer med vevarmar mellan 170 och 175 mm i längd, finns det en åsikt att många cyklister skulle ha gynnats av kortare vevarmar, på 165 mm och ännu kortare 1, 2. Oavsett om detta är sant eller ej för vuxna, när det gäller barncyklar så …
Safer C. Developing Software for High-integrity and Safety-critical Systems
Written by Grigory Rechistov in Uncategorized on 27.01.2023. Tags: c, safer c, software quality, book, book review,
Safer C: Developing software for high-integrity and safety-critical systems. Les Hatton. // McGraw-Hill Book Company, 1995. ISBN 007707640-0, 229 pages.
The book, despite being ~30 years old and talking about the first ISO C standard, is a goldmine when it comes to more timeless topics of quality and using programming languages …
Eklektisk24 diverse komponenter
Written by Grigory Rechistov in Uncategorized on 27.01.2023. Tags: byggtråd, cykel, 24 tum, eklektisk24,
Komponenter strömmar in.
Det är galet hur breda och långa vissa “barn”-sadlar som kommer med barncyklar är. Ibland kan man se en 150 mm bred sadel. Det är ju bredare än de flesta vuxensadlar!
Den här sadeln (av Natural Fit) är 120 mm bred. Den har varit slutsåld på …