Distribution packaging for Linux desktop applications is unsustainable

Solving common problems with Kubernetes

Refactoring a checksum until it runs 100 times faster

Issue #288

11/7/2022

{{PreviewText}} 

Sup?
Hope you all had a lovely weekend. I ended up watching too much anime.
Found this this interesting podcast; "it’s a story of a software developer finding a place that fits them, a place that suits them".
Here's an article on why one should stop judging programmers based on the languages (tools) they use. I've done both front-end and back-end work. I prefer the latter, because I find the former more challenging. I saw some comment on reddit where someone said something along the lines of "I'm smart. Want proof? I work for this rocket company; not on the website, but on the embeds". I understand what they're trying to say, but come on. The "difficulty" of the code you write is positively correlated with the number of constraints you have, not the domain. Saying one domain has more constraints on average is also a bit of a stretch; how much of embed programming is just a loop reading a value from a sensor and displaying it?
Not much else, so 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.

====================================================================

Distribution packaging for Linux desktop applications is unsustainable

Published: 3 November 2022
Tags: linux


Cooper Lewis explains how the traditional model of linux packaging has many issues and provides a solution in the form of Flatpak.
Some highlights:

  • "Dependency hell describes how Linux systems rely on specific libraries and versions of software, and if those libraries conflict with each other, installations can fail"
  • I'm continually amazed that the Linux ecosystem is not only surviving, but thriving
  • "Adoption of a universal app format may noticeably accelerate the development pace of many Linux applications"


====================================================================

Solving common problems with Kubernetes

Published: 9 October 2022
Tags: cloud, containers, kubernetes


Adam Chalmers discusses why kubernetes should be used and provides a number of problems it can solve.
Some highlights:

  • Containers became very popular, but orchestrating them was a mess, hence why kubernetes
  • Tries to answer question "How do I run m processes across n servers?"
  • If you're just running on one machine, use Docker Compose


====================================================================

Refactoring a checksum until it runs 100 times faster

Published: 2 October 2022
Tags: c#, compiler, optimization


Israel Lot tells the story of five different developers (looks like no genius entry yet, maybe it'll be one of you?), at different levels of expertise, attempting to optimize a checksum method, with varying levels of success. Optimizing stuff like this is usually overkill in 99% of cases, but it's a fun exercise nonetheless.
Some highlights:

  • Pro unrolled loops
  • Senior used unsafe
  • Hacker converted a long to a short vector
  • Expert reverses the Endianess


How did I do?

5 4 3 2 1
Amazing


Bad

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: 3003

Opens: 1470

Clicks: 452

Link Clicks Clicks % Unique Clicks Unique Clicks %
Distribution packaging for Linux desktop applications is unsustainable 79 47.31% 87 46.77
Solving common problems with Kubernetes 88 52.69% 99 53.23
Refactoring a checksum until it runs 100 times faster Awaiting Update Awaiting Update Awaiting Update Awaiting Update

Previous

Back to Issues

Next