Full Width [alt+shift+f] Shortcuts [alt+shift+k]
Sign Up [alt+shift+s] Log In [alt+shift+l]
SplitDuck.com Use A/B testing to increase revenue
73

What I Miss And Don't From Working As A Programmer

from The Codist [alt+shift+b] in programming

I retired almost four years ago after nearly 40 years as a programmer. While I still write code daily, I do so to support my generative art rather than get paid for it. Most of my career was spent building new applications, and no matter what my title was, I
25th Jan 2025

Stay updated

Get a weekly newsletter with the top 5 articles worth reading every week.

More from The Codist

Why Buying An Apple II+ In 1979 Changed My Life

After graduating from college in 1979, I bought a then-new Apple II+ with what little money I had. Little did I know that everything that happened after that was not what I expected. I went to graduate school in Chemistry, but my faculty advisor resigned after being denied tenure, leaving

16th Mar 2026 • 2 votes
Verizon's I'm A Teapot Error And Other Technology Fails

This is not my week for using technology. None of these problems was my fault, other than my existing in the universe and the attraction that brought. Today, I wanted to review my Verizon mobile account, and I noticed that the website had changed since my last visit. I clicked

6th Oct 2025 • 31 votes
Why Is Xcode So Antagonistic To Reduced Vision?

My eyesight is generally OK, but I have trouble reading small text, especially medium gray on light gray backgrounds. I usually code in 16 or even 18 point fonts, currently Atkinson Hyperlegible Mono. Every new release of Xcode makes seeing various UI elements harder, as if the designers all have

17th Sep 2025 • 35 votes
What Is A Good Programmer?

Am I a good programmer? The short answer is: I don’t know what that means. I have been programming for 52 years now, having started in a public high school class in 1973, which is pretty rare because few high schools offered such an opportunity back then. I

27th Jul 2025 • 37 votes
Stress And Programming

Having spent four decades as a programmer in various industries and situations, I know that modern software development processes are far more stressful than when I started. It's not simply that developing software today is more complex than it was back in 1981. In that early decade, none

9th May 2025 • 72 votes

More in programming

Atria Snowflakes

In honor of the upcoming winter season, I designed a set of five crochet snowflakes that hold their shape fairly well without stiffening, as I don't like to stiffen my crochet objects.1 I originally designed these five snowflakes for fingering weight linen yarn, but I decided later to also ensure they worked well with lace weight yarn and size 10 crochet thread. Please do not claim this pattern as your own or sell, copy, or distribute it outside of linking to the pattern on my site or its Ravelry pattern page. You may sell items made from this pattern if you name the pattern and credit me as the designer: Atria Snowflakes by Liz Denys. Thank you so much for respecting my work! This pattern is also available as a pdf. Materials & tools *Note that estimates for the amount of yarn needed are included later in the pattern for each of the snowflakes. Lace weight snowflakes: Lace weight linen yarn or size 10 cotton crochet thread, some suggestions, including twist direction2 information: Ecobutterfly Entwined: GOTS Organic Linen Yarn in 7/2 (lace)3 (s-twist) Maiwa Honest Yarn Organic Linen in lace weight (s-twist) Euroflax linen lace weight (s-twist) Aunt Lydia's Classic 10 crochet thread4 (z-twist) Scheepjes Maxi Sweet Treat/Maxi Sugar Rush/Maxi5 (z-twist) Laughing Hens Daisy Crochet Cotton, (s-twist) 1.75 mm hook Fingering weight snowflakes: Fingering weight linen yarn, some linen yarn suggestions: Quince Sparrow (s-twist) Flax and Twine Daytime Linen in fingering weight (s-twist) Ecobutterfly Entwined: GOTS Organic Linen Yarn in 7/4 fingering weight (s-twist) Maiwa Honest Yarn Organic Linen in fingering weight (s-twist) 2.5 mm hook Other materials & tools: scissors yarn needle for weaving in ends blocking mats and pins a bit of metallic embroidery or sewing thread for adding a hanging loop, optional Stitches & abbreviations I use US crochet terminology. ch - chain: yarn over and pull through the loop on the hook slst - slip stitch: place hook in stitch and pull through both stitch and the loop on the hook sc - single crochet: place hook in stitch and pull through (2 loops on the hook), yarn over and pull through the loops inc - single crochet increase: 2 sc in the same stitch hdc - half double crochet: yarn over, place hook in stitch and pull through (3 loops on the hook), yarn over and pull through all 3 loops dc - double crochet: yarn over, place hook in stitch and pull through (3 loops on the hook), yarn over and pull through 2 loops (2 loops left on the hook), yarn over and draw through the last 2 loops tr - treble crochet: yarn over twice, place hook in stitch and pull through (4 loops on the hook), yarn over and pull through 2 loops (3 loops left on the hook), yarn over and pull through 2 loops (2 loops left on the hook), yarn over and draw through the last 2 loops ch-2-sc-cluster - ch 2, sc in the front of the 2nd chain from your hook. Note: this stitch will twist the hook around the front of the work as the yarn is pulled through the 2nd chain from the hook during the sc. This is intentional! I've also seen this "cluster" type stitch called a "group" stitch sometimes.6 (...) x $num and * (...) * x $num - repeat instructions in the parenthesis $num times (the asterisks are included in long/split lines for increased legibility) {...} - enclosed stitches are all done in the same stitch in the chain space - work stitches around the entire chain instead of in the loops of the chain; this may involve more or fewer stitches than the number of stitches in the chain in the single-chain space - work stitches around the entire chain stitch instead of inside the loops of the chain (yes, even though it's just a single chain stitch) Atria Snowflake I Lace weight Atria Snowflake I: Roughly 4 yards/3.7 meters of lace weight yarn or size 10 crochet thread 1.75 mm hook Approximate completed size: 1 ⅝ inches by 1 ½ inches/4.1 cm by 3.8 cm7 Fingering weight Atria Snowflake I: Roughly 4.3 yards/4 meters of fingering weight yarn 2.5 mm hook Approximate completed size: 2 ⅛ inches by 1 ⅞ inches/5.4 cm by 4.8 cm Instructions for Atria Snowflake I Foundation & round 1: In magic ring8, ch 8 (first 3 chains count as the 1st dc9), dc, (dc, ch 5, dc) x 5. slst into the 3rd chain of 1st dc to join the round10. (12 dc + 6 chain spaces) Round 2: sk the stitch you slipped into to join the last round, {slst, sc, hdc, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, hdc, sc, slst} in the chain space, ch-2-sc-cluster, sk, * ( sk, {slst, sc, hdc, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, hdc, sc, slst} in the chain space, ch-2-sc-cluster, sk ) * x 5. slst into the 1st slst in the first chain space to join the round. (48 stitches + 24 ch-2-sc-clusters) Finishing: Cut yarn and pull through the loop. Weave in ends. Gently slide stitches made in chain spaces to even them out in their chain spaces if needed. Block if desired. Atria Snowflake II Lace weight Atria Snowflake II: Roughly 4.7 yards/4.3 meters of lace weight yarn or size 10 crochet thread 1.75 mm hook Approximate completed size: 1 ¾ inches by 1 ½ inches/4.5 cm by 3.8 cm Fingering weight Atria Snowflake II: Roughly 5.5 yards/4.8 meters of fingering weight yarn 2.5 mm hook Approximate completed size: 2 ⅝ inches by 2 ¼ inches/6.7 cm by 5.7 cm Instructions for Atria Snowflake II Foundation & round 1: In a magic ring, ch 2 (this counts as the 1st dc11), 11 dc. slst into the second ch of 1st dc. (12 dc) Round 2: ch 8 (first 3 chains count as the 1st dc), dc into the same stitch as joined in last round, sk, ({dc, ch 5, dc}, sk) x 5. slst into the 3rd chain of 1st dc to join the round. (12 dc + 6 chain spaces) Round 3: sc into the same stitch as you slipped into to join the last round, {hdc, dc, tr, ch-2-sc-cluster, tr, dc, hdc} in the chain space, sc in the next dc, ch-2-sc-cluster, * ( sc in the next dc, {hdc, dc, tr, ch-2-sc-cluster, tr, dc, hdc} in the chain space, sc in the next dc, ch-2-sc-cluster ) * x 5. slst into the 1st sc to join the round. (48 stitches + 12 ch-2-sc-clusters) Finishing: Cut yarn and pull through the loop. Weave in ends. Gently slide stitches made in chain spaces to even them out in their chain spaces if needed. Block if desired. Atria Snowflake III Lace weight Atria Snowflake III: Roughly 6 yards/5.5 meters of lace weight yarn or size 10 crochet thread 1.75 mm hook Approximate completed size: 2 ¼ inches by 2 inches/5.7 cm by 5.1 cm Fingering weight Atria Snowflake III: Roughly 6.9 yards/6.3 meters of fingering weight yarn 2.5 mm hook Approximate completed size: 2 ¾ inches by 2 ⅜ inches/7.0 cm by 6.0 cm Instructions for Atria Snowflake III Foundation & round 1: In a magic ring, 6 sc. slst into the 1st sc. (6 sc) Round 2: ch 8 (first 3 chains count as the 1st dc), dc into the same stitch as joined in last round, ({dc, ch 5, dc}) x 5. slst into the 3rd chain of 1st dc to join the round. (12 dc + 6 chain spaces) Round 3: sc into the same stitch as you slipped into to join the last round, {hdc, dc, tr, ch 1, tr, dc, hdc} in the chain space, sc in the next dc, * ( sc in the next dc, {hdc, dc, tr, ch 1, tr, dc, hdc} in the chain space, sc in the next dc ) * x 5. slst into the 1st sc to join the round. (48 stitches + 6 single-chain spaces) Round 4: sk the stitch you slipped into to join the last round, slst into the next stitch (this is an hdc), 2 slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the single-chain space12, 3 slst, ch-2-sc-cluster, sk, * ( sk, 3 slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the single-chain space13, 3 slst, ch-2-sc-cluster, sk ) * x 5. slst into the slst14 you made to join the past round (the first stitch that was skipped this round). (60 stitches + 24 ch-2-sc-clusters) Finishing: Cut yarn and pull through the loop. Weave in ends. Gently slide stitches made in chain spaces to even them out in their chain spaces if needed. Block if desired. Atria Snowflake IV Lace weight Atria Snowflake IV: Roughly 9.3 yards/8.5 meters of lace weight yarn or size 10 crochet thread 1.75 mm hook Approximate completed size: 3 inches by 2 ½ inches/7.6 cm by 6.4 cm Fingering weight Atria Snowflake IV: Roughly 11.5 yards/10.5 meters of fingering weight yarn 2.5 mm hook Approximate completed size: 3 ¾ inches by 3 ⅛ inches/9.5 cm by 7.9 cm Instructions for Atria Snowflake IV Foundation & round 1: In a magic ring, 6 sc. slst into the 1st sc. (6 sc) Round 2: ch 2 (this counts as the 1st sc), sc into the same stitch joined in last round, 5 inc. slst into the 2nd chain of 1st sc to join the round. (12 sc) Round 3: ch 6 (first 3 chains count as the 1st dc), dc into the same stitch as joined in last round, sk, ({dc, ch 3, dc}, sk) x 5. slst into the 3rd chain of 1st dc to join the round. (12 dc + 6 chain spaces) Round 4: sc into the same stitch as you slipped into to join the last round, {hdc, dc, ch 3, dc, hdc} in the chain space, sc in the next dc, ch 3, * ( sc in the next dc, {hdc, dc, ch 3, dc, hdc} in the chain space, sc in the next dc, ch 3 ) * x 5. slst into the 1st sc to join the round. (36 stitches + 12 chain spaces) Round 5: sk the stitch as you slipped into to join the last round, sc, hdc, {hdc, dc, tr, ch 1, tr, dc, hdc} in the chain space, hdc, sc, sk, {hdc, ch 1, hdc} in the chain space, * ( sk, sc, hdc, {hdc, dc, tr, ch 1, tr, dc, hdc} in the chain space, hdc, sc, sk, {hdc, ch 1, hdc} in the chain space ) * x 5. slst into the 1st sc of this round (second stitch) to join the round. (72 stitches + 12 single-chain spaces) Round 6: sk the stitch you slipped into to join the last round15, slst into the next stitch (this was the 1st hdc in the previous round), slst, ch-2-sc-cluster, sk, slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the single-chain space16, slst, ch-2-sc-cluster, sk, 4 slst, {slst, ch-2-sc-cluster, slst} the single-chain space17, slst, * ( 3 slst, ch-2-sc-cluster, sk, slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the single-chain space18, slst, ch-2-sc-cluster, sk, 4 slst, {slst, ch-2-sc-cluster, slst} in the single-chain space19, slst ) * x 5. slst into the slst20 you made to join the past round (the first stitch that was skipped this round). (96 stitches + 36 ch-2-sc-clusters) Finishing: Cut yarn and pull through the loop. Weave in ends. Gently slide stitches made in chain spaces to even them out in their chain spaces if needed. Block. Atria Snowflake V Lace weight Atria Snowflake V: Roughly 13.9 yards/12.7 meters of lace weight yarn or size 10 crochet thread 1.75 mm hook Approximate completed size: 3 ¾ inches by 3 ⅛ inches/9.5 cm by 7.9 cm Fingering weight Atria Snowflake V: Roughly 16.8 yards/15.4 meters of fingering weight yarn 2.5 mm hook Approximate completed size: 4 ½ inches by 3 ⅞ inches/11.4 cm by 9.8 cm Instructions for Atria Snowflake V Foundation & round 1: In a magic ring, ch 2 (this counts as the 1st dc21), 11 dc. slst into the second ch of 1st dc. (12 dc) Round 2: ch 8 (first 3 chains count as the 1st dc), dc, (dc, ch 5, dc) x 5. slst into the 3rd chain of 1st dc to join the round. (12 dc + 6 chain spaces) Round 3: sc into the same stitch as you slipped into to join the last round, {hdc, dc, tr, ch 3, tr, dc, hdc} in the chain space, sc in the next dc, * ( sc in the next dc, {hdc, dc, tr, ch 3, tr, dc, hdc} in the chain space, sc in the next dc ) * x 5. slst into the 1st sc to join the round. (48 stitches + 6 chain spaces) Round 4: sc into the same stitch as you slipped into to join the last round, 3 sc, {sc, ch 3, 3 tr, ch 1, 3 tr, ch 3, sc} in the chain space, 4 sc, ch 3, * ( 4 sc, {sc, ch 3, 3 tr, ch 1, 3 tr, ch 3, sc} in the chain space, 4 sc, ch 3 ) * x 5. slst into the 1st sc to join the round. (96 stitches + 18 chain spaces + 6 single-chain spaces) Round 5: sk the stitch you slipped into to join the last round22, slst into the next stitch (this was an sc last round and an hdc the round before that), 3 slst, {slst, ch-2-sc-cluster, slst} in the chain space, ch-2-sc-cluster, sk, 2 slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the single-chain space23, 2 slst, ch-2-sc-cluster, sk, {slst, ch-2-sc-cluster, slst} in the chain space, 5 slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the chain space, * ( 5 slst, {slst, ch-2-sc-cluster, slst} in the chain space, ch-2-sc-cluster, sk, 2 slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the single-chain space24, 2 slst, ch-2-sc-cluster, sk, {slst, ch-2-sc-cluster, slst} in the chain space, 5 slst, {slst, ch-2-sc-cluster, dc, ch-2-sc-cluster, dc, ch-2-sc-cluster, slst} in the chain space ) * x 5. slst into the slst25 you made to join the past round (the first stitch that was skipped this round). (156 stitches + 60 ch-2-sc-clusters) Finishing: Cut yarn and pull through the loop. Weave in ends. Gently slide stitches made in chain spaces to even them out in their chain spaces if needed. Block. Blocking In my experiences, Atria Snowflakes I, II, and III don't necessarily need traditional blocking - you may be able to just pull on opposite corners of the snowflakes to pop the stitches into place. Atria Snowflakes IV and V will need to be blocked to pop into the right shape. To block, run snowflakes under cold water and lightly shake off excess water. With pins at the points, stretch snowflakes into shape and affix to blocking mats. Linen and cotton are both cellulose fibers and become stronger when wet, so it's hard to block too aggressively! Let the snowflakes dry completely before removing them from the mats and pins. Adding a hanging loop (optional) To add a loop for hanging, cut a piece of metallic embroidery thread or a yarn you like that's about 7 inches/17.8 cm. Thread it onto a yarn needle, and pull it through the loop atop any of the ch-2-sc-clusters at the end of one of the 6 main points of the snowflake. Hold both ends of the thread and tie a simple overhand knot. To be clear, there's nothing wrong with stiffening crochet designs - it opens up many additional design possibilities! Unfortunately, the downsides of stiffening are too great for me. Starching or sugaring attracts the kinds of unwanted critters that are already all too common in Brooklyn. Stiffening with diluted PVA or wood glue yellows over time, and yellow snowflakes remind me of the kind of snow I'm not nostalgic for. ↩ s-twist yarn will untwist if you are a right-handed crocheter and stay twisted (actually twist a bit more) if you're left-handed; z-twist will untwist if you are a left-handed crocheter and stay twisted (actually twist a bit more) if you're right-handed. Yarn that untwists as you crochet may be harder to hook due to splitting and results in decreased stitch definition like the linen snowflakes in my examples; yarn that stays twisted is easier to hook and results in increased stitch definition. I love linen yarn for its sheen, durability, and stiffness, and I learned to knit over a decade before I learned to crochet, so I am biased towards using linen yarn - even though I am right-handed and almost all linen yarn is s-twist. It's much more common for crochet thread to be z-twist than plant-based yarns, but not all crochet thread is z-twist. ↩ If you get this in a quantity that doesn't come on a cone, I highly recommend rewinding this yarn onto a cone or, at the very least, inserting a cone-like core like the tube from an empty paper towel or toilet paper roll into the center of the ball. Otherwise, you likely will suffer the same frustrating fate I did until I rewound it onto a toilet paper tube - yarn constantly unraveling from both ends while working. ↩ I use Aunt Lydia's primarily because it's very easy for me to find and because it makes sense for me to pick a z-twist crochet thread as a right-handed crocheter. ↩ From Scheepjes: "Did you know that Scheepjes Maxi, Maxi Sweet Treat and Maxi Sugar Rush are identical yarns? The only difference is the meterage supplied per ball." ↩ In my head, I've come to refer to this particular "cluster" stitch as a "triangle" stitch, since it takes up the same space as a ch 3 picot but in a flatter, more defined triangle shape. My mentally calling it a "triangle" stitch inspired the name of this snowflake since one of the design decisions I kept constant across this set was choosing this stitch for all the points. I briefly considered calling this stitch "triangle" in this pattern, but I figured I'd rather keep the name more descriptive of how it's made to be consistent with my larger internal library of stitches that may or may not appear in future patterns. :) ↩ Aunt Lydia's Classic 10 crochet thread is a little thicker than Ecobutterfly Entwined: GOTS Organic Linen Yarn in 7/2, so my crochet thread snowflakes were a little larger than these sizes, and my lace weight linen yarn snowflakes were a little smaller than these sizes. ↩ I actually do a double magic ring every time because it pre-weaves in more of this end (the tradeoff is that it wastes more yarn to do so). Once Upon a Cheerio's tutorial explains double magic ring fairly well, especially how to tighten it, but I start my double magic rings more similarly to how Sarah Stearns's tutorial depicts it. If you really hate magic ring, you could instead ch 4 then slst in 1st ch to create a ring, but I promise that magic ring is not as hard as some people make it out to be. I am not usually a video person, but I learned how to make a magic ring from MJ Carlos's video tutorial. ↩ You could do standing double crochet for first double crochets instead of chains if you really want, but I don't think the difference between chains and double crochets is noticeable enough to bother. While I usually do ch 2 as the 1st dc in magic ring, I prefer the look of ch 3 next to the chain spaces. ↩ You could do an invisible join instead of slip stitches to join rounds if you really wanted to, but while I think it's worth the effort in a simpler fabric, making slightly subtler joins isn't worth the hassle in designs with varied stitches and shaping like these snowflakes. ↩ While I usually do ch 3 for the 1st dc in a round, I find ch 2 works better for me when it's the first stitch in a magic ring of just double crochets. ↩ This is tight for a single-chain space, but creates the desired shaping for the snowflake - more chains would create a larger hole. If you are really struggling to fit all the stitches, it's ok to drop the last slst as the next slst in the treble crochet from the previous round will ensure the point is secured in place. ↩ See footnote 12. ↩ If you're struggling to get your hook into the slst to create a slst to join, you may have a better time making it with a yarn needle instead. Since it's the last stitch in this snowflake, you won't have to join any yarn. To do make this slst in the target slst, cut the yarn, pull it through the loop at the end of the last stitch, thread the end on a small yarn needle, thread it under under the front loop of the target slst from the front of the piece, continue to thread it through the back loop of the target slst then thread it through the back of the last loop at the end of the last stitch you made. ↩ In this round, this would be a slst if it weren't already slipped into to join the round, and here, the slip to join counts as a stitch. ↩ This is tight for a single-chain space, but creates the desired shaping for the snowflake - more chains would create a larger hole. If you are really struggling to fit all the stitches, it's ok to drop the last slst as the next slst in the treble crochet from the previous round will ensure the point is secured in place. ↩ This is tight for a single-chain space, but creates the desired shaping for the snowflake - more chains would create a larger hole. If you are really struggling to fit all the stitches, it's ok to drop the last slst as the next slst in the half double crochet from the previous round will ensure the point is secured in place. ↩ See footnote 16. ↩ See footnote 17. ↩ If you're struggling to get your hook into the slst to create a slst to join, you may have a better time making it with a yarn needle instead. Since it's the last stitch in this snowflake, you won't have to join any yarn. To do make this slst in the target slst, cut the yarn, pull it through the loop at the end of the last stitch, thread the end on a small yarn needle, thread it under under the front loop of the target slst from the front of the piece, continue to thread it through the back loop of the target slst then thread it through the back of the last loop at the end of the last stitch you made. ↩ While I usually do ch 3 for the 1st dc in a round, I find ch 2 works better for me when it's the first stitch in a magic ring of just double crochets. ↩ In this round, this would be a slst if it weren't already slipped into to join the round, and here, the slip to join counts as a stitch. ↩ This is tight for a single-chain space, but creates the desired shaping for the snowflake - more chains would create a larger hole. If you are really struggling to fit all the stitches, it's ok to drop the last slst as the next slst in the treble crochet from the previous round will ensure the point is secured in place. ↩ See footnote 23. ↩ If you're struggling to get your hook into the slst to create a slst to join, you may have a better time making it with a yarn needle instead. Since it's the last stitch in this snowflake, you won't have to join any yarn. To do make this slst in the target slst, cut the yarn, pull it through the loop at the end of the last stitch, thread the end on a small yarn needle, thread it under under the front loop of the target slst from the front of the piece, continue to thread it through the back loop of the target slst then thread it through the back of the last loop at the end of the last stitch you made. ↩

10 hours ago • 1 votes
SumatraPDF new features: July 10, 2026

SumatraPDF is a PDF reader for Windows and Mac. New in the pre-release builds: Floating selection toolbar After you select text, a small toolbar appears next to the selection with Copy, Read Aloud, Highlight, Underline, Squiggly and Strike Out. The annotation buttons only appear for documents that support annotations. Turn it off with the SelectionToolbar advanced setting. It was ported from the SumatraPDF Plus fork. Clearer CAD / engineering drawings PDFs of CAD and engineering drawings are easier to read, especially when zoomed out. Very thin lines get a minimum width that depends on zoom, and pale gray lines are darkened. Turn it on with the EngineeringDrawingEnhance advanced setting: auto enhances drawings it detects, on enhances every PDF and off is the default. You can also turn it on or off per document with Toggle Engineering Drawing Enhancement (CmdToggleEngineeringDrawingEnhance) in the command palette. More: changes from July 10, 2026 and the full changelog.

18 hours ago • 1 votes
AI is making capital & labor interchangeable

For the first time in human history, capital and labor are becoming directly fungible for more tasks

2 days ago • 1 votes
What’s fixed in RestAssured.Net 5.2.0

Last week, I released version 5.2.0 of RestAssured.Net. It contains fixes for no less than 23 issues, the largest number of bug fixes in a single release by a long margin. All 23 bugs were found and fixed by Claude, under my strict supervision. I will describe the process I used to find and fix the issues in more detail in an upcoming newsletter issue, but I think it could be useful to give a short overview of all the fixes in 5.2.0 beyond what’s in the CHANGELOG, so here goes. Sending requests Requests without a body no longer send a JSON content type (#161) GET, DELETE and HEAD requests (and any other request without a body) used to be sent with Content-Type: application/json and an empty body, which some servers, gateways and firewalls reject. Requests without a body are now sent without one, so what goes over the wire is what you wrote in your test. Values in the request now take precedence over the request specification (#153, #179) When a header, content type or other setting was set both in a RequestSpecification and in the request itself, the specification won. It’s now the other way around: a specification provides defaults, and the request can always override them. The path in a base URI is no longer dropped (#160) WithBaseUri("http://host/api") silently ignored the /api part, so requests went to the wrong path. The path is now included, and the BaseUri property of the specification shows the URI you configured. Relative endpoints with a query string are sent to the right path (#159) With a request specification, Get("/users?id=1") was sent to /users%3Fid=1, because the question mark was encoded as part of the path. The query string is now sent as a query string. Trailing slashes in endpoints are kept (#172) With a request specification, Get("/users/") was sent to /users. Some APIs treat these as different resources, so the slash is now kept. Collections in query parameters send their values (#167) Passing a list as a query parameter value sent the name of the collection type (System.Collections.Generic.List...) instead of its contents. Each value is now sent as a separate parameter, for example ?id=1&id=2. Square brackets that aren’t path parameters are left alone (#154) Any text between square brackets in an endpoint, such as filter[name]=x, was treated as a path parameter placeholder. Only placeholders for path parameters you actually supplied are replaced now, and their values are no longer HTML-encoded. Basic authentication supports non-ASCII characters (#168) Credentials were encoded as ASCII, so characters like ü or € were sent as ? and authentication failed. Credentials are now encoded as UTF-8. Your own cookies are no longer modified (#175, #183) A Cookie object passed to a request was changed while the request was sent: its domain was set to the request host. A cookie reused for another host then silently wasn’t sent. RestAssured.Net now works on a copy, and request cookies are logged with the domain they’re actually sent for. Using your own HttpClient Timeouts, cookies and other settings now work with your own HttpClient (#156) When you passed your own HttpClient, timeouts and cookies were silently ignored, and setting a timeout could even crash on a client that had already been used. Timeouts and cookies now work without changing your client. Proxy, SSL and NTLM settings can’t be applied to a client you created yourself, so setting them on the request now throws a clear exception instead of being ignored; settings from a specification or the global configuration log a warning. Verifying and extracting responses Cookie checks only pass for cookies the server actually set (#155) The cookies you sent with the request were mixed with the cookies in the response, so verifying or extracting a cookie could pass even when the server never set it. Only cookies set by the server are seen as response cookies now. All response headers can be verified and extracted (#162) Headers that describe the body, such as Content-Disposition, Content-Type and Last-Modified, couldn’t be found with Header(), because .NET stores them separately. Header() now finds every header in the response. XML and HTML assertions work the same on every machine (#163) A value like 1.5 in an XML or HTML body was read using the language settings of the machine, so on a Dutch or German machine it became 15 and assertions failed. Values are now always read the same way, regardless of the machine’s culture. Response body length is measured in bytes (#169) ResponseBodyLength() was documented as counting bytes, but counted characters, which differs for bodies with non-ASCII characters. It now counts bytes, so the value matches the Content-Length header. Square brackets in custom error messages are kept (#170) Custom error messages treated any text in square brackets as a template tag, so a message like [TICKET-123] status was [actual] lost its ticket reference. Only [expected] and [actual] are replaced now; all other text stays as you wrote it. Errors keep their original cause (#165) When a request failed, for example because the connection was refused or the certificate was invalid, the original exception was thrown away and every error was reported as “Unhandled exception”. The original exception is now kept as the inner exception, which makes failures in CI much easier to diagnose. Logging Masking sensitive data can no longer be bypassed (#158) Headers and cookies configured as sensitive could still end up in the logs, for example when the casing of the header name differed, or as part of a Cookie or Set-Cookie header. Sensitive values are now masked in all of these cases. Logging no longer crashes on invalid JSON or XML (#157) With body logging enabled, a response labeled as JSON or XML that wasn’t valid (an HTML error page from a gateway, for example) made the request fail. Bodies that can’t be parsed are now logged as they are. All content headers are logged (#185) Only Content-Type and Content-Length were logged from the headers that describe the body, so headers like Content-Disposition and Content-Encoding were missing from the log. All of them are logged now, and they can be masked like any other header. Response times are logged the same way everywhere (#182) The response time in the log used the decimal separator of the machine’s culture, for example 3,75 ms on a Dutch machine. It’s now always logged with a period, so logs look the same on every machine. The logger is only called when there’s something to log (#174) With logging switched off, a custom logger was still called twice per request, with empty messages. It’s now only called when there is actually something to log. As you can see from the list above, RestAssured.Net just got a lot better and/or more consistent and/or more compliant with documented HTTP behaviour with version 5.2.0. There are still quite a few open issues, but I decided to leave those for the next release, which hopefully sees the light of day in the next few weeks.

2 days ago • 1 votes
The Pulse: Is Amazon’s writing culture collapsing because of AI?

A former Amazon engineer sees signs that the ‘six-pager’ documents used to promote good decision making are increasingly AI-generated and AI-read, and warns it’s not a positive development.

3 days ago • 2 votes
📚 BoredReading

You seem to be enjoying this.

Join free to unlock everything.

Create free account

Already have an account? Sign in