Efficient and Flexible Model-Based Testing

The insert benchmark on ARM and x86 cloud servers

Reading Files in Unison

Issue #327



Sometimes it really does feel like inspiration is just the result of some cosmic particle smacking into a neuron, firing off a fission-esque chain reaction that powers a train of thought. I had such an experience last night in the shower.
Do you ever think about the meaning of life? Personally I've decided long ago that there is no meaning, other than the one you give it. Hence, I tend to think about what meaning I want my life to have, instead of what the meaning is for everyone. My meaning is by no means THE meaning (or maybe it is?), it's just the one I like. I think in life we face a lot of choices every day. Sometimes those choices are simple and sometimes they're very complicated. Having some vague ideal as an end goal can help steer your decisions when facing the latter. So take 5 minutes, when you're crapping or showering or whatever, and try thinking about what meaning you want your life to be. What will enable you to look back on your life when your time comes and think "there were ups and downs, there were some victories and regrets, but ultimately my actions have lead to a life I'm proud of".
Today's intro was brought to you by my recent anime/manga binge.
Anyway, here's the issue.


Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.


Efficient and Flexible Model-Based Testing

Published: 31 January 2023
Tags: javascript, testing

Alex Weisberger discusses how to upgrade one's model-based testing strategy.
Some highlights:

  • An action is a transition in a state machine/state transition system
  • Talks about the theoretical concepts of refinement mappings and auxiliary variables
  • Refinement mappings overcome both state incompatibility and the need for action sequences


The insert benchmark on ARM and x86 cloud servers

Published: 23 January 2023
Tags: arm, aws, cpu, x86

Mark Callaghancompares the performance of ARM and x86 servers on AWS.
Some highlights:

  • Uses the insert benchmark to compare the two types of servers
  • Performance for x86 and Arm was mostly similar for medium and high concurrency while x86 was faster at 1 client thread
  • Large differences on the high concurrency tests


Reading Files in Unison

Published: 22 January 2023
Tags: compiler, functional, haskell

Erik Engheim explains how to do I/O in a pure functional language using Algebraic Effects.
Some highlights:

  • In a functional programming language, I/O is typically done using algebraic effects
  • This allows for the ability to "bubble up" the call stack until you decide to handle them, similar to how methods in Java need to be declared as throwing exceptions if they call one or more other methods throwing exceptions
  • "I/O code can look complex primarily because you are unaccustomed to Unison style error handling", but once you learn it, it becomes a fairly obvious solution


How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:

If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.

Stats (updated daily)

Sent: 3041

Opens: 1439

Clicks: 231

Link Clicks Clicks % Unique Clicks Unique Clicks %
Efficient and Flexible Model-Based Testing 48 27.75% 52 28.42
The insert benchmark on ARM and x86 cloud servers 52 30.06% 54 29.51
Reading Files in Unison 73 42.20% 77 42.08


Back to Issues