# Bruce Eckel - Computing Thoughts

Recent content on Computing Thoughts

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Why Are There Functions?

DevFeed: [Why Are There Functions?](<https://devfeed.tech/articles/why-are-there-functions-32236.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2022/09/29/why-are-there-functions/>)

Author: Bruce Eckel

Published: 2022-09-29T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Functional programming](<https://devfeed.tech/topics/functional-programming.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [class](<https://devfeed.tech/tags/class.md>), [cobol](<https://devfeed.tech/tags/cobol.md>), [code](<https://devfeed.tech/tags/code.md>), [functions](<https://devfeed.tech/tags/functions.md>), [github](<https://devfeed.tech/tags/github.md>), [polymorphism](<https://devfeed.tech/tags/polymorphism.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

The essay argues that functions serve two purposes: reusing code and expressing meaning. Historically, creating functions in assembly was costly, so programmers used them mainly to reduce duplication, debugging effort, and code size. Higher-level languages made functions easier to write, shifting the harder design question toward how to divide programs into meaningful units. The author frames programming as writing prose: functions should help other programmers understand and maintain code. From this view, polymorphic functions express concepts across multiple types, with different tradeoffs: overloading is conceptual, subtype polymorphism can require planning and runtime overhead, ad-hoc protocols let types conform without explicit interface adaptation, and parametric polymorphism can reuse code while expressing concepts such as a set. The essay proposes that a polymorphic function can form a small framework applying logical operations to concepts, and distinguishes closed frameworks from open ones that accept new types without changing their code.

### Source excerpt

Returning from giving my Polymorphism Unbound presentation at StrangeLoop (not yet available on YouTube, but all the examples and presentation slides are on Github), I found myself dissatisfied. Part of this was certainly my failure to cram a 2-hour presentation into 40 minutes (after cutting it down from a day-long, workshop-length size). The bigger issue was my inability to answer the essential question at the end of the presentation: why are we writing polymorphic functions?

## Misunderstanding Python Class Attributes

DevFeed: [Misunderstanding Python Class Attributes](<https://devfeed.tech/articles/misunderstanding-python-class-attributes-32235.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2022/05/11/misunderstanding-python-class-attributes/>)

Author: Bruce Eckel

Published: 2022-05-11T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [class](<https://devfeed.tech/topics/class.md>), [constructor](<https://devfeed.tech/topics/constructor.md>), [Open Source](<https://devfeed.tech/topics/open-source.md>), [Test-driven development](<https://devfeed.tech/topics/tdd.md>)

Tags: [arguments](<https://devfeed.tech/tags/arguments.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [class](<https://devfeed.tech/tags/class.md>), [classes](<https://devfeed.tech/tags/classes.md>), [code](<https://devfeed.tech/tags/code.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [debugger](<https://devfeed.tech/tags/debugger.md>), [django](<https://devfeed.tech/tags/django.md>), [factory](<https://devfeed.tech/tags/factory.md>), [none](<https://devfeed.tech/tags/none.md>), [object](<https://devfeed.tech/tags/object.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [python](<https://devfeed.tech/tags/python.md>), [values](<https://devfeed.tech/tags/values.md>), [variables](<https://devfeed.tech/tags/variables.md>)

### AI overview

Python class attributes are shared bindings on the class, not per-instance defaults. Attribute lookup can make one appear to be a default: an instance with no matching attribute reads the class value, but assigning to that instance creates a separate value that shadows it. Changing the class attribute then affects instances that still rely on it, while instances with their own binding remain unchanged, which can produce surprising mixed behavior. The article recommends initializing per-instance values in a constructor with default arguments or using a dataclass, which generates a constructor from the declared fields. Class attributes also serve deliberately as templates in frameworks and code-generation patterns.

### Source excerpt

I was attempting to assist on an open-source project when I was stopped short by this (names have been changed): class DataPoint: measurement1 = None measurement2 = None measurement3 = None DataPoint was later used like this: d = DataPoint() d.measurement1 = 100 d.measurement2 = 200 d.measurement3 = 300 Why give names and initialization values to class attributes, then when you make an object, immediately create and initialize instance variables with the same names as the class attributes?

## Java Object Equivalence

DevFeed: [Java Object Equivalence](<https://devfeed.tech/articles/java-object-equivalence-32234.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2021/02/04/java-object-equivalence/>)

Author: Bruce Eckel

Published: 2021-02-04T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [object](<https://devfeed.tech/topics/object.md>), [Software Testing](<https://devfeed.tech/topics/software-testing.md>), [class](<https://devfeed.tech/topics/class.md>)

Tags: [comparison](<https://devfeed.tech/tags/comparison.md>), [comparisons](<https://devfeed.tech/tags/comparisons.md>), [equals](<https://devfeed.tech/tags/equals.md>), [floating-point](<https://devfeed.tech/tags/floating-point.md>), [java](<https://devfeed.tech/tags/java.md>), [java-8](<https://devfeed.tech/tags/java-8.md>), [operators](<https://devfeed.tech/tags/operators.md>)

### AI overview

For Java `Integer` objects, `==` compares references, so equal contents can compare false; cached values from -128 through 127 may compare true with automatic boxing or `Integer.valueOf()`, but values outside that range may not. Use `equals()` for `Integer`; primitive `int` values require `==` and cannot call `equals()`. The excerpt says `new Integer()` is deprecated from Java 9 and less efficient than `valueOf()`. Floating-point `==` can also miss small differences beside very large values because of rounding. Finally, default `equals()` compares references; classes must override it to compare contents, and the excerpt's minimal `ValB` example is explicitly not a complete implementation.

### Source excerpt

This is an update to the subsection "Testing Object Equivalence" in the "Operators" chapter of On Java 8. This will appear in the book in its next update. The relational operators == and != work with all objects, but their results can be confusing: // operators/Equivalence.java public class Equivalence { static void show(String desc, Integer n1, Integer n2) { System.out.println(desc + ":"); System.out.printf( "%d==%d %b %b%n", n1, n2, n1 == n2, n1.

## The Problem with Gradle

DevFeed: [The Problem with Gradle](<https://devfeed.tech/articles/the-problem-with-gradle-32233.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2021/01/02/the-problem-with-gradle/>)

Author: Bruce Eckel

Published: 2021-01-02T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Gradle](<https://devfeed.tech/topics/gradle.md>), [make](<https://devfeed.tech/topics/make.md>), [Groovy](<https://devfeed.tech/topics/groovy.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [basic](<https://devfeed.tech/tags/basic.md>), [basics](<https://devfeed.tech/tags/basics.md>), [benefit](<https://devfeed.tech/tags/benefit.md>), [build](<https://devfeed.tech/tags/build.md>), [build-system](<https://devfeed.tech/tags/build-system.md>), [build-tool](<https://devfeed.tech/tags/build-tool.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [building](<https://devfeed.tech/tags/building.md>), [builds](<https://devfeed.tech/tags/builds.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [make](<https://devfeed.tech/tags/make.md>)

### AI overview

The author's central diagnosis is that Gradle's learning curve comes from needing to understand its programming model, language, and lifecycle once a build grows beyond simple configuration. Unlike make and Ant, which the author describes as dedicated build tools, Gradle uses Groovy (and later Kotlin) scripts: apparent configuration statements are often function calls, and Groovy's DSL offers multiple syntaxes for the same operation. The article illustrates how tasks and dependencies work, how task code can run during project configuration unless placed in doFirst or doLast, and how implicit objects such as `tasks` and `ext` can make behavior feel magical. The author says understanding Groovy and spending several days with Gradle documentation helped build a mental model. They also cite documentation that assumes prior knowledge, slow startup compared with make, and difficulty discovering existing capabilities. They view Kotlin scripts as appealing partly because IntelliJ IDEA can struggle to infer types in Groovy.

### Source excerpt

Or: How to Remain Sane when Approaching Gradle (with apologies to Hans Dockter). (James Ward and I go into more detail about this article in the Happy Path Programming Podcast). I started using make in the 80's. When I wrote Thinking in C++, I created a tool I called makebuilder which analyzed the examples extracted from the book and generated an appropriate makefile. make is a dedicated tool that only cares about dependencies and actions, so it is reasonably approachable.

## Python Extensions with Rust and Go

DevFeed: [Python Extensions with Rust and Go](<https://devfeed.tech/articles/python-extensions-with-rust-and-go-32232.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2020/11/22/rust-retreat/>)

Author: Bruce Eckel

Published: 2020-11-22T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Jule](<https://devfeed.tech/topics/jule.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [alps](<https://devfeed.tech/tags/alps.md>), [assembly](<https://devfeed.tech/tags/assembly.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [data-structures](<https://devfeed.tech/tags/data-structures.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [embedded-systems](<https://devfeed.tech/tags/embedded-systems.md>), [extensions](<https://devfeed.tech/tags/extensions.md>), [go](<https://devfeed.tech/tags/go.md>), [python](<https://devfeed.tech/tags/python.md>), [rust](<https://devfeed.tech/tags/rust.md>)

### AI overview

For Python code that needs a faster low-level component, the author favors Rust with PyO3: it simplifies the Python interface, and the cited comparison reports Rust at least 30% faster than Go across its tests. Go remains a practical choice when its features or the developer's familiarity matter more than maximum speed; the proposed Go route uses gRPC and requires a server in a separate process. The author describes available Go-to-Python extension projects as potentially abandoned and flags outdated version and untested Windows support in one candidate. The performance figures and project assessments are reported without details of the cited tests or project.

### Source excerpt

The goal of a developer retreat is to stop what you are doing for awhile and explore something new. This usually requires a shift in mindset, and the biggest shift is to suspend the focus around productivity and urgency. It's important to give up the idea that "we must accomplish something in an amount of time." Only with the sigh of relief that comes from liberating yourself from goals is your brain allowed to float to the most interesting places.

## We Haven't Invented Zero Yet

DevFeed: [We Haven't Invented Zero Yet](<https://devfeed.tech/articles/we-haven-t-invented-zero-yet-32231.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2020/07/30/we-havent-invented-zero-yet/>)

Author: Bruce Eckel

Published: 2020-07-30T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [data type](<https://devfeed.tech/topics/data-type.md>), [container](<https://devfeed.tech/topics/container.md>)

Tags: [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [containers](<https://devfeed.tech/tags/containers.md>), [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [generic](<https://devfeed.tech/tags/generic.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [null](<https://devfeed.tech/tags/null.md>), [numbers](<https://devfeed.tech/tags/numbers.md>), [object](<https://devfeed.tech/tags/object.md>), [optional](<https://devfeed.tech/tags/optional.md>), [zero](<https://devfeed.tech/tags/zero.md>)

### AI overview

The author argues that `null` is not equivalent to zero: zero is a typed value within a number system, while `null` means no value of any kind. In Kotlin's generic `Yard<T>` example, an empty yard requires a nullable resident (`T?`), so callers must account for absence before invoking operations such as `layEgg()`. The author proposes a language-level "zero object" for each type: an empty `Yard<Chicken>` would hold a zero `Chicken` that supports chicken operations and returns a zero `Egg`, with zero values built into the type system. The article acknowledges this resembles the null object pattern, but calls for an automatic, language-wide version. It presents this as an idea, not an existing programming feature.

### Source excerpt

I am the author, with Svetlana Isakova, of Atomic Kotlin. I suspect most people currently alive were introduced to the concept of zero quite early in their development--early enough that they internalized it as a foundational principle and don't ask questions about it. In addition, many people probably know that zero was invented after the original number systems. The ancient Greeks didn't have a zero, and it puzzled them: "How can nothing be something?

## Value-Based Pricing and TDD

DevFeed: [Value-Based Pricing and TDD](<https://devfeed.tech/articles/value-based-pricing-and-tdd-32239.md>)

Original publisher: [Read original article](<https://bruceeckel.com/blog/2020-02-09-value-based-pricing-and-tdd/>)

Author: Bruce Eckel

Published: 2020-02-09T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [software-development](<https://devfeed.tech/topics/software-development.md>), [intrinsic motivation](<https://devfeed.tech/topics/intrinsic-motivation.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [bias](<https://devfeed.tech/tags/bias.md>), [business](<https://devfeed.tech/tags/business.md>), [business-context](<https://devfeed.tech/tags/business-context.md>), [consulting](<https://devfeed.tech/tags/consulting.md>), [counts](<https://devfeed.tech/tags/counts.md>), [development](<https://devfeed.tech/tags/development.md>), [exploring](<https://devfeed.tech/tags/exploring.md>), [family](<https://devfeed.tech/tags/family.md>), [financial](<https://devfeed.tech/tags/financial.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [idea](<https://devfeed.tech/tags/idea.md>), [pricing](<https://devfeed.tech/tags/pricing.md>), [save](<https://devfeed.tech/tags/save.md>), [startup](<https://devfeed.tech/tags/startup.md>), [tdd](<https://devfeed.tech/tags/tdd.md>), [time](<https://devfeed.tech/tags/time.md>), [value-based-pricing](<https://devfeed.tech/tags/value-based-pricing.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

The author argues that both value-based pricing and TDD work best when outcomes are predictable, and that blanket rules overlook exploratory work. Value-based pricing can reward efficient delivery, but the author questions whether money is the only incentive and notes that fixed fees for unfamiliar consulting tasks require pricing in uncertainty. TDD worked well for a clearly specified round-robin algorithm, where expected behavior was known. During exploration, the author may not yet know what to test, and writing tests for code that may be discarded can slow discovery; waiting too long to test, however, can leave viable code harder to test. The author suggests a middle ground: stay conscious of testability while exploring, and sees functional programming as encouraging testable code. The broader caution is against the "Simplicity Bias" behind absolute claims such as "Only use TDD" or "Hourly Billing is Nuts."

### Source excerpt

I first heard about value-based pricing from an accountant who was creating a startup based on the idea. He tells a story about consulting for a family who inherited an estate. Because of the accountant's extensive knowledge, he was able to give advice that saved the family a million or more. However, he only charged for his time, a couple of hours. To save that amount, the story goes, the family would have been happy to pay more, an amount based on the value of the work rather than the time it took.

## Unspoken Assumptions Underlying OO Design Maxims

DevFeed: [Unspoken Assumptions Underlying OO Design Maxims](<https://devfeed.tech/articles/unspoken-assumptions-underlying-oo-design-maxims-32238.md>)

Original publisher: [Read original article](<https://bruceeckel.com/blog/2019-12-24-unspoken-assumptions-underlying-oo-design-maxims/>)

Author: Bruce Eckel

Published: 2019-12-24T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [solid principles](<https://devfeed.tech/topics/solid-principles.md>), [Object-oriented programming (OOP)](<https://devfeed.tech/topics/oop.md>), [Inheritance](<https://devfeed.tech/topics/inheritance.md>)

Tags: [abstraction](<https://devfeed.tech/tags/abstraction.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [coupling](<https://devfeed.tech/tags/coupling.md>), [design](<https://devfeed.tech/tags/design.md>), [design-patterns](<https://devfeed.tech/tags/design-patterns.md>), [interface](<https://devfeed.tech/tags/interface.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [post](<https://devfeed.tech/tags/post.md>)

### AI overview

The author argues that design maxims can encourage unnecessary complexity when they assume developers can predict how a system will change or that abstractions are always worth their cost. The open-closed principle is described as isolating changes in new components; the author asks why to add that flexibility when the direction of change is uncertain. Kotlin's requirement to mark base classes `open` is offered as an example of extension being opt-in. "Program to an interface, not an implementation" is presented as advice to minimize assumptions about implementation, not to use Java's `interface` keyword everywhere; indiscriminate interfaces can obscure useful abstractions. The author's proposed test is to question each abstraction and remove it if it cannot be justified without citing a maxim.

### Source excerpt

For Atomic Kotlin, I've been struggling with an "atom" (very small chapter) during the last couple of months. It's on object-oriented design, and it brought up a lot of feelings I've had for quite awhile about some of the various maxims and design guidelines that have appeared in recent decades, since OO became mainstream. I couldn't quite put my finger on what bothered me about these design ideas. Then @codingunicorn did it for me by writing a post called Flexible code considered harmful.

## Podcast on Atomic Kotlin and Teal Organizations

DevFeed: [Podcast on Atomic Kotlin and Teal Organizations](<https://devfeed.tech/articles/podcast-on-atomic-kotlin-and-teal-organizations-32230.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2019/10/14/podcast-interview-ak-teal/>)

Author: Bruce Eckel

Published: 2019-10-14T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [engineering-culture](<https://devfeed.tech/topics/engineering-culture.md>)

Tags: [atomic](<https://devfeed.tech/tags/atomic.md>), [consulting](<https://devfeed.tech/tags/consulting.md>), [interview](<https://devfeed.tech/tags/interview.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [podcast](<https://devfeed.tech/tags/podcast.md>)

### AI overview

The interview covers the author's enjoyment of Kotlin's design while writing Atomic Kotlin and an experiment in creating a "Teal" software consulting firm.

### Source excerpt

A recent interview with The Six Figure Developer podcast. I talk about how much I'm enjoying the design of Kotlin while writing Atomic Kotlin and also my experiment with creating a "Teal" software consulting firm.

## Developer Retreats Keep Getting Better

DevFeed: [Developer Retreats Keep Getting Better](<https://devfeed.tech/articles/developer-retreats-keep-getting-better-32229.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2019/08/30/developer-retreats-keep-getting-better/>)

Author: Bruce Eckel

Published: 2019-08-30T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Developer Events](<https://devfeed.tech/topics/developer-events.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [IntelliJ IDEA](<https://devfeed.tech/topics/intellij-idea.md>)

Tags: [about](<https://devfeed.tech/tags/about.md>), [best](<https://devfeed.tech/tags/best.md>), [brazil](<https://devfeed.tech/tags/brazil.md>), [developer](<https://devfeed.tech/tags/developer.md>), [doing](<https://devfeed.tech/tags/doing.md>), [fluent](<https://devfeed.tech/tags/fluent.md>), [gap](<https://devfeed.tech/tags/gap.md>), [here](<https://devfeed.tech/tags/here.md>), [i](<https://devfeed.tech/tags/i.md>), [it](<https://devfeed.tech/tags/it.md>), [know](<https://devfeed.tech/tags/know.md>), [like](<https://devfeed.tech/tags/like.md>), [native](<https://devfeed.tech/tags/native.md>), [pattern](<https://devfeed.tech/tags/pattern.md>), [python](<https://devfeed.tech/tags/python.md>), [schedule](<https://devfeed.tech/tags/schedule.md>), [stop](<https://devfeed.tech/tags/stop.md>), [this](<https://devfeed.tech/tags/this.md>), [up](<https://devfeed.tech/tags/up.md>), [us](<https://devfeed.tech/tags/us.md>)

### AI overview

The retreat's "Do whatever you want" maxim was intended to reduce the urgency and productivity pressure of earlier, topic-focused retreats; despite its loose structure, the organizer says the group accomplished a lot and learned from discussions. Activities included a multi-day conversation about Python coroutines, work on a Raspberry Pi setup for experimenting with distributed consensus using RAFT, and an introduction to Ansible. Participants also used Slack for practical coordination and sharing technical information. The gathering mixed project work with rest and social time, including a pontoon boat outing.

### Source excerpt

The recent developer retreat took place August 20-26th. We arranged it because my friend Luciano Ramalho (Thoughtworker and author of the best-selling Fluent Python) was doing a multi-stop trip to the US (from his native Brazil) and had a gap in his schedule, so he wanted to come to Crested Butte and have a retreat. This seems to have become a pattern: someone I know would like to come here, and we end up organizing a retreat around their trip.

## JSON Encoding Python Dataclasses

DevFeed: [JSON Encoding Python Dataclasses](<https://devfeed.tech/articles/json-encoding-python-dataclasses-32227.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2018/09/16/json-encoding-python-dataclasses/>)

Author: Bruce Eckel

Published: 2018-09-16T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [JSON](<https://devfeed.tech/topics/json.md>), [Python](<https://devfeed.tech/topics/python.md>), [Hugo](<https://devfeed.tech/topics/hugo.md>), [static-site-generator](<https://devfeed.tech/topics/static-site-generator.md>), [data type](<https://devfeed.tech/topics/data-type.md>)

Tags: [build](<https://devfeed.tech/tags/build.md>), [can](<https://devfeed.tech/tags/can.md>), [contents](<https://devfeed.tech/tags/contents.md>), [data](<https://devfeed.tech/tags/data.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [directory](<https://devfeed.tech/tags/directory.md>), [ebook](<https://devfeed.tech/tags/ebook.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [feature](<https://devfeed.tech/tags/feature.md>), [file](<https://devfeed.tech/tags/file.md>), [files](<https://devfeed.tech/tags/files.md>), [form](<https://devfeed.tech/tags/form.md>), [generator](<https://devfeed.tech/tags/generator.md>), [hugo](<https://devfeed.tech/tags/hugo.md>), [hugo-static-site-generator](<https://devfeed.tech/tags/hugo-static-site-generator.md>), [i](<https://devfeed.tech/tags/i.md>), [json](<https://devfeed.tech/tags/json.md>), [markdown](<https://devfeed.tech/tags/markdown.md>), [python](<https://devfeed.tech/tags/python.md>), [service](<https://devfeed.tech/tags/service.md>)

### AI overview

Python 3.7's `@dataclass` generates routine methods for typed data-holding classes, but Python's standard JSON encoder does not encode dataclass instances directly. The article shows a custom `json.JSONEncoder` subclass that recognizes `Person` objects and returns `obj.__dict__`, then passes that class through `json.dumps(..., cls=PersonEncoder)`; the encoder handles each object inside a list and emits a list of JSON objects. The same encoder approach works for a `namedtuple`, but its output is a list of lists rather than a list of objects. The example applies this to generate chapter-link data for a Hugo site.

### Source excerpt

The Hugo static-site generator can work with data files in the form of JSON, yaml or toml. If you place these in the data directory you can access them within Hugo templates (including Hugo shortcodes, which are called directly from a Markdown file) by saying .Site.Data.<filename>, and then use the contents as part of your static-site build. This feature came in handy for the AtomicKotlin.com site, because the ebook deployment service I'm using (Stepik.

## The Evolution of the Developer Retreat

DevFeed: [The Evolution of the Developer Retreat](<https://devfeed.tech/articles/the-evolution-of-the-developer-retreat-32226.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2018/09/06/the-evolution-of-the-developer-retreat/>)

Author: Bruce Eckel

Published: 2018-09-06T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Developer Events](<https://devfeed.tech/topics/developer-events.md>)

Tags: [conferences](<https://devfeed.tech/tags/conferences.md>), [dart](<https://devfeed.tech/tags/dart.md>), [developer](<https://devfeed.tech/tags/developer.md>), [development](<https://devfeed.tech/tags/development.md>), [django](<https://devfeed.tech/tags/django.md>), [elixir](<https://devfeed.tech/tags/elixir.md>), [erlang](<https://devfeed.tech/tags/erlang.md>), [events](<https://devfeed.tech/tags/events.md>), [evolution](<https://devfeed.tech/tags/evolution.md>), [flexible](<https://devfeed.tech/tags/flexible.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [format](<https://devfeed.tech/tags/format.md>), [game](<https://devfeed.tech/tags/game.md>), [games](<https://devfeed.tech/tags/games.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [self-organizing](<https://devfeed.tech/tags/self-organizing.md>), [structure](<https://devfeed.tech/tags/structure.md>), [zero](<https://devfeed.tech/tags/zero.md>)

### AI overview

A week-long developer retreat without a preset theme proved more relaxed and flexible than earlier, structured group explorations. Participants worked independently on their own projects, sometimes including job work, and shared discoveries or questions in informal discussions at a co-working space and over meals. They explored topics including Kotlin, Elixir, Flutter, Ubuntu on Windows, games, and testing; the author says the format allowed the group to move on when an exploration stalled and made a full week sustainable, whereas repeated group study had felt restrictive and exhausting. The proposed format centers on independent work, occasional discussions, meals, and outdoor activities, with group exploration only when it works. Participants can also attend for part of the event.

### Source excerpt

I've been experimenting with different forms of events for many years now. Mostly this has been in the form of self-organizing conferences, but in recent years I've tried going further, to even less structure. I've held a number of "developer retreats" where we had a theme that everyone focused on, and those have been quite interesting and valuable. To be honest, what I really wanted to try with the developer retreats is zero structure.

## A Possible Solution To The Open Source Funding Problem

DevFeed: [A Possible Solution To The Open Source Funding Problem](<https://devfeed.tech/articles/a-possible-solution-to-the-open-source-funding-problem-32225.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2017/09/11/a-possible-solution-to-the-open-source-problem/>)

Author: Bruce Eckel

Published: 2017-09-11T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Open Source](<https://devfeed.tech/topics/open-source.md>)

Tags: [funding](<https://devfeed.tech/tags/funding.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-funding](<https://devfeed.tech/tags/open-source-funding.md>), [open-source-projects](<https://devfeed.tech/tags/open-source-projects.md>), [open-source-software](<https://devfeed.tech/tags/open-source-software.md>), [strategies](<https://devfeed.tech/tags/strategies.md>)

### AI overview

The author argues that paying people to develop open-source software is a fundamental unresolved problem, despite progress on other challenges. They describe bounty funding as a possible or partial solution and note that projects already use it. They believe solving the funding problem could substantially expand open source's value, and invite readers to share other funding strategies.

### Source excerpt

William Gross has posted Give Away Your Code, But Never Your Time, a potential and/or partial solution to the problem of funding open source projects, which I offered a solution for here. I've since heard from people pointing out projects that have actually used the "bounty" approach - I was unintentionally describing something that already exists. We've been solving all these other problems around open source, but not the essential one: how can people get paid for developing open-source software.

## Gophercon And The Concurrent Python Developer Retreat

DevFeed: [Gophercon And The Concurrent Python Developer Retreat](<https://devfeed.tech/articles/gophercon-and-the-concurrent-python-developer-retreat-32224.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2017/07/19/gophercon-and-the-concurrent-python-developer-retreat/>)

Author: Bruce Eckel

Published: 2017-07-19T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Go Language](<https://devfeed.tech/topics/go-language.md>), [Python](<https://devfeed.tech/topics/python.md>), [Structured concurrency](<https://devfeed.tech/topics/structured-concurrency.md>), [crossbeam crate rust](<https://devfeed.tech/topics/crossbeam-crate-rust.md>)

Tags: [amazon](<https://devfeed.tech/tags/amazon.md>), [application](<https://devfeed.tech/tags/application.md>), [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [c](<https://devfeed.tech/tags/c.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [cases](<https://devfeed.tech/tags/cases.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [conference](<https://devfeed.tech/tags/conference.md>), [developer](<https://devfeed.tech/tags/developer.md>), [experience](<https://devfeed.tech/tags/experience.md>), [explore](<https://devfeed.tech/tags/explore.md>), [go](<https://devfeed.tech/tags/go.md>), [go-language](<https://devfeed.tech/tags/go-language.md>), [go-programming](<https://devfeed.tech/tags/go-programming.md>), [gophercon](<https://devfeed.tech/tags/gophercon.md>), [interest](<https://devfeed.tech/tags/interest.md>), [language](<https://devfeed.tech/tags/language.md>), [programming](<https://devfeed.tech/tags/programming.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

The author found Gophercon valuable for renewing interest in Go, but felt its single-track, vendor-focused schedule offered fewer attendee-driven activities and connection opportunities than Pycon. A spontaneous "Pythonistas who love Go" gathering showed the appetite for informal open spaces; the collaborative community day also stood out, though the author says one day is too short for project sprints. The author sees Go's goroutines as a possible way to address some Python concurrency problems and found the gRPC Python-to-Go example easy to try on Windows 10; MessagePack RPC also merited exploration. At the concurrent Python retreat, experiments compared async/await, concurrent futures and gevent for fetching webcomic pages, and sequential versus parallel approaches to CPU-intensive image blurring. A Rust version proved demanding to set up and mentally costly, with no clear performance win in this experiment, so the author deferred it and planned to try Go. The retreat's ambitious workload also caused exhaustion.

### Source excerpt

I found Gophercon to be valuable and it restarted my interest in the Go language. I'm currently working my way through The Go Programming Language Phrasebook and plan to explore ways to call Go from Python (described later in this post). If I hadn't been attending with my friend Luciano Ramalho it would have been a different experience. The conference is clearly commercial and I had a strong sense of having my experience decided for me.

## On Java 8 And The Concurrent Python Developer Retreat

DevFeed: [On Java 8 And The Concurrent Python Developer Retreat](<https://devfeed.tech/articles/on-java-8-and-the-concurrent-python-developer-retreat-32223.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2017/06/27/on-java-8-and-the-concurrent-python-developer-retreat/>)

Author: Bruce Eckel

Published: 2017-06-27T00:00:00Z

Content type: release

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [ebook](<https://devfeed.tech/tags/ebook.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [gophercon](<https://devfeed.tech/tags/gophercon.md>), [java](<https://devfeed.tech/tags/java.md>), [java-8](<https://devfeed.tech/tags/java-8.md>), [python](<https://devfeed.tech/tags/python.md>)

### AI overview

The author says Java 8's lambdas, functional programming, CompletableFutures, and Streams mark a major improvement over earlier Java versions. After a slow beta, the book is officially released as an ebook only, with Google Play Books chosen for reading across platforms; the author cites search, adjustable fonts, text-to-voice, and tablet readability as benefits. The excerpt also announces a free Concurrent Python Developer retreat in Crested Butte, July 16-19, 2017, with Luciano Ramalho. It will explore Python concurrency as part of the Concurrent Python book project and targets Python users new to concurrency.

### Source excerpt

For many years I've been getting requests for some kind of sequel to Thinking in Java, 4th Edition. Over two years ago, I finally decided to "pull together something quickly." After all, how much time have I spent writing about the language? I should be getting pretty fast by now. Self-delusion knows no bounds. No matter how many books I write, every one seems to take longer than the previous ones, not shorter.

## Pycon 2017

DevFeed: [Pycon 2017](<https://devfeed.tech/articles/pycon-2017-32222.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2017/05/30/pycon-2017/>)

Author: Bruce Eckel

Published: 2017-05-30T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>)

Tags: [2017](<https://devfeed.tech/tags/2017.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [pycon](<https://devfeed.tech/tags/pycon.md>)

### AI overview

The author's PyCon 2017 focused on volunteering, community, teaching, and hands-on project work. More deliberate dinner planning led to dinner companions each night, prompting an idea for a conference dinner-planning app. The author was developing a free beginner programming class based on self-guided tutorials, which let learners progress at their own pace and help one another; the tutorial collection was posted at EveryoneProgram.com and remained experimental. At the BeeWare sprint, the author spent three days learning Toga and working toward adding Windows menus, finding the project's cross-platform vision only partly implemented and its starting points difficult to navigate. A practical lesson was to install packages being modified with `pip install -e` so local changes take effect. The text also shares a Windows batch file to create, activate, or deactivate a `virtualenv`, with project-specific editable installs added for Toga. Other sessions covered inclusion, concurrency, writing, and organizational practices; the author's writing advice was to use fewer words, prefer active voice, and read prose aloud.

### Source excerpt

This year I repeated my strategy of "Don't go to any recorded sessions," and also did more volunteering (one of these was at the green room, and again one of the session chairs failed to show up so you'll see me introducing three of the talks). Dinners In the past I've kind of stumbled into dinner groups, but not always. This time I made more of an effort and was rewarded with dinner friends every night.

## PyCaribbean Keynote On Youtube

DevFeed: [PyCaribbean Keynote On Youtube](<https://devfeed.tech/articles/pycaribbean-keynote-on-youtube-32221.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2017/04/19/pycaribbean-keynote-on-youtube/>)

Author: Bruce Eckel

Published: 2017-04-19T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Materials science and engineering](<https://devfeed.tech/topics/materials-science-and-engineering.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [biology](<https://devfeed.tech/tags/biology.md>), [code](<https://devfeed.tech/tags/code.md>), [computer](<https://devfeed.tech/tags/computer.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [conference](<https://devfeed.tech/tags/conference.md>), [data](<https://devfeed.tech/tags/data.md>), [keynote](<https://devfeed.tech/tags/keynote.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [microscope](<https://devfeed.tech/tags/microscope.md>), [model](<https://devfeed.tech/tags/model.md>), [models](<https://devfeed.tech/tags/models.md>), [physics](<https://devfeed.tech/tags/physics.md>), [python](<https://devfeed.tech/tags/python.md>), [science](<https://devfeed.tech/tags/science.md>), [slides](<https://devfeed.tech/tags/slides.md>), [youtube](<https://devfeed.tech/tags/youtube.md>)

### AI overview

In the PyCaribbean closing keynote "Science is What Works," the speaker frames science as building models that fit observed data, not establishing absolute truth. Models remain provisional: they may be adjusted or discarded when they fail, and falsifiability is a requirement for theories. The talk contrasts observational approaches such as cell theory with equation-based physics, then suggests machine-learning algorithms may help science address complexity beyond human limits. It also asks whether computer science qualifies as a science, with some aspects fitting and others not. Reviewing the recording, the speaker notes that a single static camera is easy to use, but slides need sufficiently large, high-contrast text and backgrounds to remain legible on video.

### Source excerpt

I gave the closing keynote at PyCaribbean, the Python conference held in Puerto Rico. It's called Science is What Works, and you can see it on YouTube. The slides are available here. I think a closing keynote should provide perspective and look at things from a higher point of view. By then, the audience is full of technical information and, I believe, looking for relief rather than more code. Even though I was a physics major as an undergraduate, I've begun to realize over the last ten years or so that I didn't understand what science was, and that's probably why I was only a mediocre physics student, at best.

## Constructors Are Not Thread-Safe

DevFeed: [Constructors Are Not Thread-Safe](<https://devfeed.tech/articles/constructors-are-not-thread-safe-32220.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2017/01/13/constructors-are-not-thread-safe/>)

Author: Bruce Eckel

Published: 2017-01-13T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [thread safe data sharing](<https://devfeed.tech/topics/thread-safe-data-sharing.md>), [constructor](<https://devfeed.tech/topics/constructor.md>), [Java](<https://devfeed.tech/topics/java.md>), [locking](<https://devfeed.tech/topics/locking.md>)

Tags: [argument](<https://devfeed.tech/tags/argument.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [atomic](<https://devfeed.tech/tags/atomic.md>), [block](<https://devfeed.tech/tags/block.md>), [class](<https://devfeed.tech/tags/class.md>), [collect](<https://devfeed.tech/tags/collect.md>), [collectors](<https://devfeed.tech/tags/collectors.md>), [completablefuture](<https://devfeed.tech/tags/completablefuture.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [counter](<https://devfeed.tech/tags/counter.md>), [factory](<https://devfeed.tech/tags/factory.md>), [java](<https://devfeed.tech/tags/java.md>), [java-language](<https://devfeed.tech/tags/java-language.md>), [language](<https://devfeed.tech/tags/language.md>), [object](<https://devfeed.tech/tags/object.md>), [specification](<https://devfeed.tech/tags/specification.md>), [thread](<https://devfeed.tech/tags/thread.md>), [threads](<https://devfeed.tech/tags/threads.md>)

### AI overview

Java object construction can still encounter shared-memory races when constructors use shared state. In the examples, incrementing a plain static int produced many duplicate IDs across concurrent tasks; replacing it with AtomicInteger eliminated observed duplicates. A constructor can also receive a shared, non-thread-safe argument: two tasks using the same Unsafe counter produced collisions, while a synchronized block on a shared static lock or a synchronized static factory method serialized access and produced none in the tests. Constructors themselves cannot be declared synchronized; the text explains that synchronization around construction must use a shared lock such as the class object. The examples show that a class may be used concurrently in ways its constructor cannot detect, so shared state passed into it also needs protection.

### Source excerpt

When you imagine the construction process, it can be easy to think that it's thread-safe. After all, no one can even see the new object before it finishes initialization, so how could there be contention over that object? Indeed, the Java Language Specification (JLS) confidently states: "There is no practical need for a constructor to be synchronized, because it would lock the object under construction, which is normally not made available to other threads until all constructors for the object have completed their work.

## A Canonical equals() For Java

DevFeed: [A Canonical equals() For Java](<https://devfeed.tech/articles/a-canonical-equals-for-java-32219.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2017/01/07/a-canonical-equals-for-java/>)

Author: Bruce Eckel

Published: 2017-01-07T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Java](<https://devfeed.tech/topics/java.md>), [hashCode](<https://devfeed.tech/topics/hashcode.md>)

Tags: [canonical](<https://devfeed.tech/tags/canonical.md>), [code](<https://devfeed.tech/tags/code.md>), [comparisons](<https://devfeed.tech/tags/comparisons.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [equals](<https://devfeed.tech/tags/equals.md>), [examples](<https://devfeed.tech/tags/examples.md>), [hashcode](<https://devfeed.tech/tags/hashcode.md>), [java](<https://devfeed.tech/tags/java.md>)

### AI overview

A concise `equals()` can use `instanceof` followed by short-circuiting `&&` comparisons with `Objects.equals()`: the type check rejects `null` and incompatible types, and a self-comparison succeeds through matching fields. The article says to choose fields as part of class design and keep `equals()` and `hashCode()` aligned for hashed collections. Its `Pet` example shows that a base-class equality definition can make a `Dog` and `Pig` with matching fields collapse into one `HashSet` entry; including a unique ID in both methods or defining subtype-specific `equals()` preserves both. The excerpt also notes that mutable comparison fields can disrupt hashed lookup behavior.

### Source excerpt

Even with the help of Java 7's Objects.equals(), the equals() method is often written in a verbose and messy fashion. This article shows how you can write a succinct equals() in a format that allows easy checking with visual inspection. When you create a new class, it automatically inherits class Object. If you don't override equals(), you'll get Objects equals() method. By default this compares addresses, so only if you are comparing the exact same objects will you get true.

## Dining Philosophers in Java 8

DevFeed: [Dining Philosophers in Java 8](<https://devfeed.tech/articles/dining-philosophers-in-java-8-32218.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2016/12/29/dining-philosophers-in-java-8/>)

Author: Bruce Eckel

Published: 2016-12-29T00:00:00Z

Content type: article

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Deadlock](<https://devfeed.tech/topics/deadlock.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Java](<https://devfeed.tech/topics/java.md>), [locking](<https://devfeed.tech/topics/locking.md>), [async](<https://devfeed.tech/topics/async.md>), [ExecutorService](<https://devfeed.tech/topics/executorservice.md>)

Tags: [arrays](<https://devfeed.tech/tags/arrays.md>), [chopsticks](<https://devfeed.tech/tags/chopsticks.md>), [class](<https://devfeed.tech/tags/class.md>), [collection](<https://devfeed.tech/tags/collection.md>), [collections](<https://devfeed.tech/tags/collections.md>), [completablefuture](<https://devfeed.tech/tags/completablefuture.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [deadlock](<https://devfeed.tech/tags/deadlock.md>), [deadlocks](<https://devfeed.tech/tags/deadlocks.md>), [debug](<https://devfeed.tech/tags/debug.md>), [dijkstra](<https://devfeed.tech/tags/dijkstra.md>), [executor](<https://devfeed.tech/tags/executor.md>), [foreach](<https://devfeed.tech/tags/foreach.md>), [forks](<https://devfeed.tech/tags/forks.md>), [java](<https://devfeed.tech/tags/java.md>), [java-8](<https://devfeed.tech/tags/java-8.md>), [tasks](<https://devfeed.tech/tags/tasks.md>)

### AI overview

The Java example shows how philosophers can deadlock when each takes a right chopstick and then waits for the left, creating circular wait. A `StickHolder` uses a size-one `BlockingQueue` to ensure only one philosopher can hold a chopstick at a time; philosophers block in `take()` until it is returned. The program may appear to run correctly before deadlocking, and adding thinking time or philosophers makes deadlock less likely without eliminating the underlying risk. The example breaks circular wait by reversing the chopstick order for one philosopher, so that philosopher takes the left stick first. The text notes that deadlock can also be prevented by breaking any of its four necessary conditions, and that avoiding shared resources is easiest when feasible.

### Source excerpt

Because tasks can become blocked, it's possible for one task to get stuck waiting for another task, which in turn waits for another task, and so on, until the chain leads back to a task waiting on the first one. You get a continuous loop of tasks waiting on each other, and no one can move. This is called deadlock.1 If you try running a program and it deadlocks right away, you can immediately track down the bug.

## Notes from The Elm Developer Retreat

DevFeed: [Notes from The Elm Developer Retreat](<https://devfeed.tech/articles/notes-from-the-elm-developer-retreat-32217.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2016/10/09/the-elm-developer-retreat/>)

Author: Bruce Eckel

Published: 2016-10-09T00:00:00Z

Content type: news

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Elm](<https://devfeed.tech/topics/elm.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>), [developer-relations](<https://devfeed.tech/topics/developer-relations.md>)

Tags: [2016](<https://devfeed.tech/tags/2016.md>), [better](<https://devfeed.tech/tags/better.md>), [book](<https://devfeed.tech/tags/book.md>), [channel](<https://devfeed.tech/tags/channel.md>), [code](<https://devfeed.tech/tags/code.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [developer](<https://devfeed.tech/tags/developer.md>), [elm](<https://devfeed.tech/tags/elm.md>), [faq](<https://devfeed.tech/tags/faq.md>), [first](<https://devfeed.tech/tags/first.md>), [format](<https://devfeed.tech/tags/format.md>), [forum](<https://devfeed.tech/tags/forum.md>), [getting-started](<https://devfeed.tech/tags/getting-started.md>), [github](<https://devfeed.tech/tags/github.md>), [github-repository](<https://devfeed.tech/tags/github-repository.md>), [google](<https://devfeed.tech/tags/google.md>), [great](<https://devfeed.tech/tags/great.md>), [students](<https://devfeed.tech/tags/students.md>), [tech](<https://devfeed.tech/tags/tech.md>), [winter](<https://devfeed.tech/tags/winter.md>)

### AI overview

The Oct.  6-9, 2016 Elm Developer Retreat found themed, group-based retreats useful, with Thursday-Sunday seen as a workable schedule because Mondays are often meeting days. Attendees used The Pragmatic Studio Elm videos to get started, pausing to solve problems and update examples for Elm 0.17; the videos were out of date, with an update in progress. The Elm Slack channel provided help and pointed participants to the FAQ. Chromecast helped the group review and explain code. Google Spaces was easy to use but unsuitable for them because messages were limited to 170 characters and it lacked Slack-style code snippets, so they planned to keep using Slack. The author also notes interest in investigating remote participation.

### Source excerpt

This Developer Retreat was held Oct 6-9, 2016. So far the consensus seems to be that Thursday-Sunday is best, because Monday is often a big meeting day at companies (and taking two days at the end of the week is within tolerability). At peak, we had six attendees including myself; on the weekend we had two students from Colorado Mesa University in Grand Junction. There will be another retreat directly following the Winter Tech Forum.

## The Elm Developer Retreat

DevFeed: [The Elm Developer Retreat](<https://devfeed.tech/articles/the-elm-developer-retreat-32216.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2016/09/12/the-elm-developer-retreat/>)

Author: Bruce Eckel

Published: 2016-09-12T00:00:00Z

Content type: news

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Elm](<https://devfeed.tech/topics/elm.md>), [User Interfaces](<https://devfeed.tech/topics/user-interfaces.md>), [Developer Events](<https://devfeed.tech/topics/developer-events.md>), [Developer experience](<https://devfeed.tech/topics/developer-experience.md>)

Tags: [board](<https://devfeed.tech/tags/board.md>), [building](<https://devfeed.tech/tags/building.md>), [developer](<https://devfeed.tech/tags/developer.md>), [elm](<https://devfeed.tech/tags/elm.md>), [events](<https://devfeed.tech/tags/events.md>), [programming](<https://devfeed.tech/tags/programming.md>), [ui](<https://devfeed.tech/tags/ui.md>)

### AI overview

The October 6-9 retreat in Crested Butte, Colorado, will explore Elm as a group and begin building the Open-Spaces Board UI. Prior Elm experience is not required, though studying beforehand may help. The event is described as relaxed and low-ceremony; there is no fee yet, but attendees must arrange and pay for travel, lodging, and meals.

### Source excerpt

Developer Retreats are the most relaxed and low-ceremony events you can imagine, and I've been very satisfied with the first two. October 6-9 in Crested Butte CO, we are going to tackle the Elm programming language and make a start on building the Open-Spaces Board UI. You can find full details here. Some of us have been studying Elm a bit already but this will be a group exploration so if you haven't had any experience with the language yet you're in good company (although any pre-retreat studying you do will help).

## A Model To Fund Open-Source Projects

DevFeed: [A Model To Fund Open-Source Projects](<https://devfeed.tech/articles/a-model-to-fund-open-source-projects-32215.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2016/06/20/a-model-to-fund-open-source-projects/>)

Author: Bruce Eckel

Published: 2016-06-20T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Open Source](<https://devfeed.tech/topics/open-source.md>), [Maintainers](<https://devfeed.tech/topics/maintainers.md>), [open source communities](<https://devfeed.tech/topics/open-source-communities.md>)

Tags: [approach](<https://devfeed.tech/tags/approach.md>), [bounty](<https://devfeed.tech/tags/bounty.md>), [budget](<https://devfeed.tech/tags/budget.md>), [business](<https://devfeed.tech/tags/business.md>), [can](<https://devfeed.tech/tags/can.md>), [collaboration](<https://devfeed.tech/tags/collaboration.md>), [community](<https://devfeed.tech/tags/community.md>), [company](<https://devfeed.tech/tags/company.md>), [complex](<https://devfeed.tech/tags/complex.md>), [computing](<https://devfeed.tech/tags/computing.md>), [consulting](<https://devfeed.tech/tags/consulting.md>), [free](<https://devfeed.tech/tags/free.md>), [funding](<https://devfeed.tech/tags/funding.md>), [model](<https://devfeed.tech/tags/model.md>), [network](<https://devfeed.tech/tags/network.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [open-source-projects](<https://devfeed.tech/tags/open-source-projects.md>), [project](<https://devfeed.tech/tags/project.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>)

### AI overview

The proposal funds open-source releases by setting a bounty after a feature set is built. Users or companies pay for access to the new release, reducing the bounty; once it is covered, the release becomes free, while earlier versions remain free throughout. The author argues this could turn delayed, voluntary donations into a clearer payment path, provide developers feedback about demand, and make company procurement and feature funding easier, potentially through an external service such as one hosted by the PSF. The model is aimed mainly at projects with distinct, feature-rich releases. It does not address funding a project's initial development and may not suit services without quantifiable user-facing features.

### Source excerpt

Synopsis Place a bounty on the next release of an open-source project. Until the bounty is met, those who need/want the newest release must pay an amount in order to get it. Previous releases remain free. Once the bounty is met, the new release becomes free. The Problem of Funding I think open-source is one of the most important cultural and business innovations produced (so far) by the computing and network revolution.

## Pycon 2016

DevFeed: [Pycon 2016](<https://devfeed.tech/articles/pycon-2016-32214.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2016/06/15/pycon-2016/>)

Author: Bruce Eckel

Published: 2016-06-15T00:00:00Z

Content type: opinion

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [2016](<https://devfeed.tech/tags/2016.md>), [books](<https://devfeed.tech/tags/books.md>), [build-tools](<https://devfeed.tech/tags/build-tools.md>), [burning-man](<https://devfeed.tech/tags/burning-man.md>), [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [coaching](<https://devfeed.tech/tags/coaching.md>), [code](<https://devfeed.tech/tags/code.md>), [community](<https://devfeed.tech/tags/community.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [conference](<https://devfeed.tech/tags/conference.md>), [conferences](<https://devfeed.tech/tags/conferences.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [contribute](<https://devfeed.tech/tags/contribute.md>), [cookiecutter](<https://devfeed.tech/tags/cookiecutter.md>), [experience](<https://devfeed.tech/tags/experience.md>), [inclusive](<https://devfeed.tech/tags/inclusive.md>), [pycon](<https://devfeed.tech/tags/pycon.md>), [speaking](<https://devfeed.tech/tags/speaking.md>), [women](<https://devfeed.tech/tags/women.md>), [wonderful](<https://devfeed.tech/tags/wonderful.md>)

### AI overview

The author describes PyCon 2016 as unusually inclusive by their experience: about 40% of attendees were women, with a similar share of speakers, and Guido van Rossum had set a 50% goal. Volunteering and attending open spaces and sprints broadened the author's participation. They found sprint onboarding accessible to newcomers, who could help by testing installation steps or spotting problems; their ReadTheDocs install attempt exposed a troublesome configuration issue. Feedback from two groups favored a print version of the author's planned Python concurrency book, leading them to consider publishing drafts on ReadTheDocs and later producing print copies. They also explored Invoke, Cookiecutter, and MicroPython, while noting uncertainty about what setup was needed to connect the MicroBit device.

### Source excerpt

Pycon was wonderful this year. It was held at the Portland convention center which I like, and there were about 40% women at the conference; my perception was that around the same percentage of women were speaking. I credit Guido Van Rossum with requesting that the conference and the community become more inclusive (his goal is 50%). This is an amazing accomplishment in our field; my usual experience is in the low single digits.

[Next page](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md?cursor=WyIyMDE2LTA2LTE1VDAwOjAwOjAwKzAwOjAwIiwgIjdmZDlkYWRlLThiMTYtNGEwNC1hMGQ5LTQ2NjI4YjkzNjJiZSJd>)