Programming Leftovers

-
Retrospective: Software Architecture
The last post in the Winter Blog Backlog series will be about software architecture.
Why write about this big, fuzzy topic? Because the design of Oil revolves around some controversial architectural decisions, like untyped byte streams as a solid foundation for a modern shell language, and for large distributed systems. A JSON file is a byte stream, and that's a feature, not a bug!
-
HOWTO AoC
Some tips about participating in Advent of Code.
AoC is not a competition
If you were to go with online opinion, AoC is all about getting the solutions as fast as possible. This is actually not true, apart from the top 100 scorers every day[1]. Many people post their full solution online on the AoC subreddit as soon as the top 100 slots have been filled. So if you want to get 50 stars, you pick a popular language (like Python), hang out in the solutions megathread, and run the first posted solution on your input to get the correct results.
If your organization has a “competition” where the top scorers in their leaderboard get some reward, don’t participate. It’s too easy to suspect someone of “cheating” for it to be fun.
Instead, focusing on using the event to expand your skills
-
Developer Network Effects
AWS recently announced Re:Post, a Q&A site focused on AWS technologies. I think this is a great idea, and is doubling down on a key competency of AWS – there's always someone else who has already done it on AWS. It fills a void left by an aging and stagnant StackOverflow (which was acquired earlier this year by an investment group).
Q&A sites are one of the most useful developer resources because they aggregate network effects. Copying code from StackOverflow's Q&A has is such a meme that the company came out with a Copy/Paste keyboard for April Fools with only three keys – Control, C, and V. In every meme, there is truth.
-
strlcat(3) > strncat(3)
In my Advanced Programming in the UNIX Environment class, I frequently observe common anti-patterns that appear all too easy for students to adopt. One of those is the unsafe use of strncat(3), which I'll demonstrate here together with an explanation of why you should use strlcat(3) instead.
-
Stems as mock data structures in REXX
An experimental "Tutorial as Code"
-

- Login or register to post comments
Printer-friendly version- 1629 reads
PDF version
More in Tux Machines
- Highlights
- Front Page
- Latest Headlines
- Archive
- Recent comments
- All-Time Popular Stories
- Hot Topics
- New Members
digiKam 7.7.0 is released
After three months of active maintenance and another bug triage, the digiKam team is proud to present version 7.7.0 of its open source digital photo manager. See below the list of most important features coming with this release.
|
Dilution and Misuse of the "Linux" Brand
|
Samsung, Red Hat to Work on Linux Drivers for Future Tech
The metaverse is expected to uproot system design as we know it, and Samsung is one of many hardware vendors re-imagining data center infrastructure in preparation for a parallel 3D world.
Samsung is working on new memory technologies that provide faster bandwidth inside hardware for data to travel between CPUs, storage and other computing resources. The company also announced it was partnering with Red Hat to ensure these technologies have Linux compatibility.
|
today's howtos
|








.svg_.png)
Content (where original) is available under CC-BY-SA, copyrighted by original author/s.

Recent comments
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago