DEV Community

Cover image for What was your win this week?

What was your win this week?

Ben Halpern on October 25, 2024

πŸ‘‹πŸ‘‹πŸ‘‹πŸ‘‹ Looking back on your week -- what was something you're proud of? All wins count -- big or small πŸŽ‰ Examples of 'wins' include: Getting a p...
Collapse
 
lexplt profile image
Alexandre Plt

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.

Collapse
 
ben profile image
Ben Halpern

Epic, what was your process like?

Collapse
 
lexplt profile image
Alexandre Plt

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).

Collapse
 
ryencode profile image
Ryan Brown

Continued on my re-entering the micro-controller/electronics world:

  • Identified several ICs floating in my tool box
  • Used one such 74x14 (hex inverter) IC to REVERSE THE POLARITY! of the serial idle (low <> high) to allow an Arduino to talk serial to a picaxe controlled OLED display.
  • Used newly soldered ISP header on an old LarsonScanner project to:

    • dump the existing ATTyiny program (as a backup)
    • load the latest version of the code (freshly complied) from the project page for new features
  • 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!)

Collapse
 
jess profile image
Jess Lee

ha! what are you going to do about your costume??

Collapse
 
ryencode profile image
Ryan Brown

I was contemplating Kraftwork (Larson Scanner project has a mode for that: evilmadscientist.com/2011/a-new-kr... but I would need to source the right tie and shirt. And be prepared to explain it... and just discovering Kraftwork this year... not much for me to explain.

I was trying to work on a steampunk or cyberpunk style costume around these learn.adafruit.com/kaleidoscope-ey...

But I will likely throw on some old-time clothes and just be an Anachronistic Man-Out-Of-Time.

Thread Thread
 
jess profile image
Jess Lee

These are both sweet! I love kraftwerk.

Collapse
 
arindam_1729 profile image
Arindam Majumder

Published Three Articles and 2 got trending πŸ”₯

  1. Next.js x Cal.com Integration
  2. Tools You Need to Build Your First SaaS
  3. 9 Interesting Open Source Projects

And I'm working on 2-3 more. Super excited to publish them.

Also, joined Dev++

Collapse
 
ben profile image
Ben Halpern

Big wins

Collapse
 
neurabot profile image
Neurabot

You wow me. Nice. I read 2. I expected you would enumerate some Saas ? I know famous Zapier, do you know each other ?

Collapse
 
ben profile image
Ben Halpern
Collapse
 
dansilcox profile image
Dan Silcox

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)!

Collapse
 
markwragg profile image
Mark Wragg

I also published three articles this week, and got none of them trending πŸ˜‚

  1. Redirect Out-File to TestDrive: in your PowerShell Pester test scripts with this one weird trick
  2. How to remove null or empty string values from a list in Terraform
  3. Two ways to use Pester to Mock objects with strongly typed parameters

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!).

Collapse
 
jess profile image
Jess Lee

Nice!

Collapse
 
jagedn profile image
Jorge

Deployed my first azure function + cosmosdb to ingest thousands of invoices
Not a big fan of m$oft but was fun

Collapse
 
jordanahaines profile image
Jordan Haines

After like a literal decade of thinking about it, I finally got a new side project off the ground. Historio will be an app for exploring history through your favorite books. I'm building in public (and writing about the process). And of course look forward to publishing technical posts on dev.to as I play with new tech. Cheers!

Collapse
 
syxaxis profile image
George Johnson • Edited

A week working a prod Linux system that would crash every 5-6 hours. I got about 12 hours sleep in 4 days but finally nailed it late last night when I traced huge amounts of context switches back to a misbehaving kernel module that had been released last weekend!

Now I'm gonna sleep all weekend, good night!!

Collapse
 
integerman profile image
Matt Eland

I joined the board of the Stir Trek conference and led the last meeting of the Central Ohio .NET Developer Group of 2024.

Collapse
 
ajparadith profile image
Paradith

Realising that I can write for myself for fun - and if other people happen to like it - wicked. If not...also wicked. As I am still learning, having fun and winning my personal challenges.