ππππ
Looking back on your week -- what was something you're proud of?
All wins count -- big or small π
Examples of 'wins' include:
- Getting a promotion!
- Participating in the Hacktoberfest Writing Challenge π
- Fixing a tricky bug
- Going to the dentist before eating Halloween candy
Happy Friday!
Top comments (9)
Published Three Articles and 2 got trending π₯
And I'm working on 2-3 more. Super excited to publish them.
Also, joined Dev++
Big wins
Cleaned up a lot of code, bumping coverage to 76% on my language, arkscript and improving performances again through compiler optimizations!
Hopefully this year Iβll start working on the new import system, Iβm starting to have a clear idea of what I need and what I want.
Epic, what was your process like?
Iβve setup code coverage, so that I can track untested lines and see what kind of tests I need to add, that saved a lot of time!
As for the optimization I compile a bunch of ArkScript code and look at the resulting IR, to see which instructions commonly go together and could be grouped as a super instruction. Then I benchmark first the script that uses those instructions pairs, write a quick and dirty optimization (new instruction code gen and VM code) and bench again. That provides a baseline to see if the optim is worth it and I clean up the code, add tests, and check regularly that perf do not regress!
Bumping coverage takes time too, luckily I have a big test suite that process ArkScript code and execute one or more compiler pass and checks its output. I have a bunch of source/expected pairs of files for that, also testing compiler errors to ensure we still detect those (you hate regressions in this field more than in any other).
Continued on my re-entering the micro-controller/electronics world:
Used newly soldered ISP header on an old LarsonScanner project to:
Spectacularly ADHD'd my Halloween costume in that I'm supposed to have it ready for tonight... and have NOTHING! (because I was fiddling with micro-controllers instead!)
I also published three articles this week, and got none of them trending π
I joined dev.to 7 years ago, but decided this week it would be a good place to create some shorter form content to document and share anything interesting I worked on in the last week (so hoping to continue to find at least something to post once a week!).
Posted for the second month in a row, which is not a lot but it's weird that it happened twice (to quote a certain evil professor)!
How do you share complicated knowledge well?
Dan Silcox γ» Oct 24
Deployed my first azure function + cosmosdb to ingest thousands of invoices
Not a big fan of m$oft but was fun