# Set

Published articles for Set.

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

## Subscription Payment Gateway: How to Pick One for Your SaaS

DevFeed: [Subscription Payment Gateway: How to Pick One for Your SaaS](<https://devfeed.tech/articles/subscription-payment-gateway-how-to-pick-one-for-your-saas-10407.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/subscription-payment-gateway-saas/>)

Author: Ayush Agarwal

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

Content type: comparison

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [Software as a service](<https://devfeed.tech/topics/saas.md>), [stripe](<https://devfeed.tech/topics/stripe.md>)

Tags: [buyers-guide](<https://devfeed.tech/tags/buyers-guide.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [features](<https://devfeed.tech/tags/features.md>), [geography](<https://devfeed.tech/tags/geography.md>), [guide](<https://devfeed.tech/tags/guide.md>), [merchant-of-record](<https://devfeed.tech/tags/merchant-of-record.md>), [payment-gateway](<https://devfeed.tech/tags/payment-gateway.md>), [payments](<https://devfeed.tech/tags/payments.md>), [retry](<https://devfeed.tech/tags/retry.md>), [saas](<https://devfeed.tech/tags/saas.md>), [set](<https://devfeed.tech/tags/set.md>), [stripe](<https://devfeed.tech/tags/stripe.md>), [subscription](<https://devfeed.tech/tags/subscription.md>), [subscriptions](<https://devfeed.tech/tags/subscriptions.md>), [webhooks](<https://devfeed.tech/tags/webhooks.md>)

### AI overview

A buyer's guide to subscription payment gateways for SaaS. It explains the minimum capabilities gateways need, including recurring charges, secure credential storage, retry logic, credential updates, and webhooks, then compares pure gateways, PSPs with native subscription billing, and merchant-of-record platforms.

### Source excerpt

Subscription payment gateway buyers guide for SaaS founders. What features matter, how PSPs differ from MoRs, and how to evaluate by stage and geography.

## Hono + Cloudflare Workers: How to Process Payments at the Edge

DevFeed: [Hono + Cloudflare Workers: How to Process Payments at the Edge](<https://devfeed.tech/articles/hono-cloudflare-workers-how-to-process-payments-at-the-edge-9899.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/hono-cloudflare-workers-payments/>)

Author: Ayush Agarwal

Published: 2026-03-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [Cloudflare Workers](<https://devfeed.tech/topics/cloudflare-workers.md>), [Workers](<https://devfeed.tech/topics/workers.md>), [Hono](<https://devfeed.tech/topics/honojs.md>), [Latency](<https://devfeed.tech/topics/latency.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [Software as a service](<https://devfeed.tech/topics/saas.md>)

Tags: [cloudflare-workers](<https://devfeed.tech/tags/cloudflare-workers.md>), [developer-tools](<https://devfeed.tech/tags/developer-tools.md>), [edge-computing](<https://devfeed.tech/tags/edge-computing.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [latency](<https://devfeed.tech/tags/latency.md>), [payments](<https://devfeed.tech/tags/payments.md>), [performance](<https://devfeed.tech/tags/performance.md>), [platform](<https://devfeed.tech/tags/platform.md>), [set](<https://devfeed.tech/tags/set.md>), [subscriptions](<https://devfeed.tech/tags/subscriptions.md>), [webhooks](<https://devfeed.tech/tags/webhooks.md>), [workers](<https://devfeed.tech/tags/workers.md>)

### AI overview

This guide explains how to build a globally distributed payment system with Hono and Cloudflare Workers. It covers the benefits of edge-first payment processing, environment setup, and integration with Dodo Payments through a Hono adapter, including checkout, subscriptions, and webhooks.

### Source excerpt

Build a high-performance, globally distributed payment system using Hono and Cloudflare Workers. Learn how to integrate Dodo Payments at the edge.

## vimrc: settings based on terminal background

DevFeed: [vimrc: settings based on terminal background](<https://devfeed.tech/articles/vimrc-settings-based-on-terminal-background-30278.md>)

Original publisher: [Read original article](<https://www.netmeister.org/blog/vim-color-by-bg.html>)

Published: 2025-09-05T17:22:45Z

Content type: tutorial

Language: en

Sources: [Signs of Triviality](<https://devfeed.tech/sources/signs-of-triviality.md>)

Topics: [Syntax Highlighting](<https://devfeed.tech/topics/syntax-highlighting.md>), [Terminal](<https://devfeed.tech/topics/terminal.md>)

Tags: [based](<https://devfeed.tech/tags/based.md>), [highlighting](<https://devfeed.tech/tags/highlighting.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [set](<https://devfeed.tech/tags/set.md>), [settings](<https://devfeed.tech/tags/settings.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [syntax-highlighting](<https://devfeed.tech/tags/syntax-highlighting.md>), [terminal](<https://devfeed.tech/tags/terminal.md>)

### AI overview

A tutorial on configuring Vim syntax-highlighting colorschemes based on the current terminal background.

### Source excerpt

How to set e.g., syntax highlighting colorschemes based on the current terminal's background.

## Tabletop Games Based on Math Problems

DevFeed: [Tabletop Games Based on Math Problems](<https://devfeed.tech/articles/tabletop-games-based-on-math-problems-40482.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2024/03/08/tabletop-games-based-on-math-problems/>)

Published: 2024-03-09T04:06:19Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Math and Logic](<https://devfeed.tech/topics/math-and-logic.md>), [Hugo](<https://devfeed.tech/topics/hugo.md>), [LaTeX](<https://devfeed.tech/topics/latex.md>), [WordPress](<https://devfeed.tech/topics/wordpress.md>)

Tags: [card-games](<https://devfeed.tech/tags/card-games.md>), [color](<https://devfeed.tech/tags/color.md>), [games](<https://devfeed.tech/tags/games.md>), [math](<https://devfeed.tech/tags/math.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [problems](<https://devfeed.tech/tags/problems.md>), [projective-plane](<https://devfeed.tech/tags/projective-plane.md>), [set](<https://devfeed.tech/tags/set.md>), [tabletop-games](<https://devfeed.tech/tags/tabletop-games.md>), [unique](<https://devfeed.tech/tags/unique.md>), [value](<https://devfeed.tech/tags/value.md>), [vector](<https://devfeed.tech/tags/vector.md>)

### AI overview

A short list of tabletop games whose mechanics are directly based on nontrivial mathematical structures or problems. It discusses games including SET and Spot It!, along with related questions in finite geometry, vector spaces, and combinatorics.

### Source excerpt

There's a family of tabletop games that are based directly on a nontrivial mathematics problem. As a casual and fun way to inaugurate my new blog (migrated from Wordpress to Hugo, after my work on getting better LaTeX mathmode support in Hugo), I thought I'd write a short listicle about them, so that I have a place to add more as I find them, as well as give the shortest canonical description of the associated math problem.

## This Week at Zed Industries: #5

DevFeed: [This Week at Zed Industries: #5](<https://devfeed.tech/articles/this-week-at-zed-industries-5-13555.md>)

Original publisher: [Read original article](<https://zed.dev/blog/this-week-at-zed-5>)

Author: Max Brunsfeld

Published: 2023-06-02T00:00:00Z

Content type: article

Language: en

Sources: [Zed Industries - Blog](<https://devfeed.tech/sources/zed-industries-blog.md>)

Topics: [ui](<https://devfeed.tech/topics/ui.md>), [App](<https://devfeed.tech/topics/app.md>), [dashboards](<https://devfeed.tech/topics/dashboards.md>), [issue tracker](<https://devfeed.tech/topics/issue-tracker.md>), [systems](<https://devfeed.tech/topics/systems.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [features](<https://devfeed.tech/tags/features.md>), [issue-tracker](<https://devfeed.tech/tags/issue-tracker.md>), [layout](<https://devfeed.tech/tags/layout.md>), [os](<https://devfeed.tech/tags/os.md>), [screen](<https://devfeed.tech/tags/screen.md>), [set](<https://devfeed.tech/tags/set.md>), [view](<https://devfeed.tech/tags/view.md>)

### AI overview

Zed's weekly update covers the release of Zed 0.88, including a redesigned panel system and a zoom feature. It also describes crash problems after release, three patches issued to address them, new crash dashboards, and ongoing work on LSP server detection.

### Source excerpt

Panels, panels, and more panels...

## Making unwinding through JIT-ed code scalable - Optimistic Lock Coupling

DevFeed: [Making unwinding through JIT-ed code scalable - Optimistic Lock Coupling](<https://devfeed.tech/articles/making-unwinding-through-jit-ed-code-scalable-optimistic-lock-coupling-25079.md>)

Original publisher: [Read original article](<https://databasearchitects.blogspot.com/2022/06/optimisticlockcoupling.html>)

Author: Thomas Neumann (noreply@blogger.com)

Published: 2022-06-26T08:52:00Z

Content type: article

Language: en

Sources: [Database Architects](<https://devfeed.tech/sources/database-architects.md>)

Topics: [Exception](<https://devfeed.tech/topics/exception.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [exception](<https://devfeed.tech/tags/exception.md>), [exception-handling](<https://devfeed.tech/tags/exception-handling.md>), [locking](<https://devfeed.tech/tags/locking.md>), [mutex](<https://devfeed.tech/tags/mutex.md>), [performance](<https://devfeed.tech/tags/performance.md>), [set](<https://devfeed.tech/tags/set.md>)

### AI overview

The article explains a scalable approach to unwinding through JIT-ed code using a read-optimized B-tree with optimistic lock coupling. Writers use conventional exclusive lock coupling, while readers use version locks and validate their reads so they can run in parallel when writes are uncommon.

### Source excerpt

This article is part of the series about scalable unwinding that starts here. When thinking about exception handling it is reasonable to assume that we will have far more unwinding requests than changes to the unwinding tables. In our setup, the tables only change when JITed code is added to or removed from the program. That is always expensive to begin with due the mprotect calls, TLB shootdowns, etc. Thus we can safely assume that we will have at most a few hundred updates per second even in extreme cases, probably far less. Lookups however can easily reach thousands or even millions per second, as we do one lookup per frame. This motivates us to use a read-optimized data structure, a b-tree with optimistic lock coupling: Writers use traditional lock coupling (lock parent node exclusive, lock child node exclusive, release parent node, lock child of child, etc.), which works fine as long as there is not too much contention. Readers however have to do something else, as we expect thousands of them. One might be tempted to use a rw-lock for readers, but that does not help. Locking an rw-lock in shared mode causes an atomic write, which makes the threads fight over the cache line of the lock even if there is no (logical) contention. Instead, we use version locks, where readers do no write at all: // Common logic for version locks struct version_lock { // The lock itself. The lowest bit indicates an exclusive lock, // the second bit indicates waiting threads. All other bits are // used as counter to recognize changes. // Overflows are okay here, we must only prevent overflow to the // same value within one lock_optimistic/validate // range. Even on 32 bit platforms that would require 1 billion // frame registrations within the time span of a few assembler // instructions. uintptr_t version_lock; }; #ifdef __GTHREAD_HAS_COND // We should never get contention within the tree as it rarely changes. // But if we ever do get contention we use these for waiting static __gthre

## Collections: Lists and Sets

DevFeed: [Collections: Lists and Sets](<https://devfeed.tech/articles/collections-lists-and-sets-25049.md>)

Original publisher: [Read original article](<https://typealias.com/start/kotlin-collections/>)

Author: author@typealias.com (Dave Leeds)

Published: 2022-04-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dave Leeds on Kotlin - typealias.com](<https://devfeed.tech/sources/dave-leeds-on-kotlin-typealias-com.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Code](<https://devfeed.tech/topics/code.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [collection-operations](<https://devfeed.tech/tags/collection-operations.md>), [collections](<https://devfeed.tech/tags/collections.md>), [filter](<https://devfeed.tech/tags/filter.md>), [foreach](<https://devfeed.tech/tags/foreach.md>), [introduction](<https://devfeed.tech/tags/introduction.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [learn-to-program](<https://devfeed.tech/tags/learn-to-program.md>), [learning](<https://devfeed.tech/tags/learning.md>), [list](<https://devfeed.tech/tags/list.md>), [map](<https://devfeed.tech/tags/map.md>), [programming](<https://devfeed.tech/tags/programming.md>), [set](<https://devfeed.tech/tags/set.md>)

### AI overview

A Kotlin tutorial introduces collections by explaining how to group values and begins demonstrating lists and sets through a book-list example.

### Source excerpt

So far, we've only worked with variables as individual values. Writing Kotlin becomes so much more interesting once we start putting values together in such a way that we can work with them as a collection. To learn about collections, let's visit Libby, a bright young lady who's always got a book nearby! Let's put things together! Libby is a voracious reader. She's always on the lookout for a great novel, so whenever someone tells her about a good book, she jots down the title on a list that she keeps on a sheet of paper.

## New Property Sheet and JavaDocs

DevFeed: [New Property Sheet and JavaDocs](<https://devfeed.tech/articles/new-property-sheet-and-javadocs-19408.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/new-property-sheet-and-javadocs/>)

Author: Steve Hannah

Published: 2022-04-06T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Development](<https://devfeed.tech/topics/development.md>), [Tooling](<https://devfeed.tech/topics/tooling.md>), [ide](<https://devfeed.tech/topics/ide.md>), [debugging](<https://devfeed.tech/topics/debugging.md>)

Tags: [context](<https://devfeed.tech/tags/context.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [development](<https://devfeed.tech/tags/development.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [set](<https://devfeed.tech/tags/set.md>), [toolbar](<https://devfeed.tech/tags/toolbar.md>)

### AI overview

The article announces a new read-only property sheet, JavaDocs access, property filtering, and a revalidation command in the simulator to improve component inspection and layout debugging.

### Source excerpt

We have added a new property sheet and a JavaDocs button to the toolbar of the Properties panel.

## Better unit tests with Parameterized testing 📈

DevFeed: [Better unit tests with Parameterized testing 📈](<https://devfeed.tech/articles/better-unit-tests-with-parameterized-testing-25688.md>)

Original publisher: [Read original article](<https://sergiosastre.hashnode.dev/better-unit-tests-with-parameterized-testing>)

Author: Sergio Sastre Florez

Published: 2021-05-31T06:30:38Z

Content type: tutorial

Language: en

Sources: [Sergio's little tech corner](<https://devfeed.tech/sources/sergio-s-little-tech-corner.md>)

Topics: [Testing](<https://devfeed.tech/topics/testing.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Java](<https://devfeed.tech/topics/java.md>), [passwords](<https://devfeed.tech/topics/passwords.md>)

Tags: [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [best-practices](<https://devfeed.tech/tags/best-practices.md>), [data](<https://devfeed.tech/tags/data.md>), [java](<https://devfeed.tech/tags/java.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [password](<https://devfeed.tech/tags/password.md>), [self-improvement](<https://devfeed.tech/tags/self-improvement.md>), [set](<https://devfeed.tech/tags/set.md>), [tdd](<https://devfeed.tech/tags/tdd.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tests](<https://devfeed.tech/tags/tests.md>), [unit-testing](<https://devfeed.tech/tags/unit-testing.md>), [unit-tests](<https://devfeed.tech/tags/unit-tests.md>), [verify](<https://devfeed.tech/tags/verify.md>), [writing](<https://devfeed.tech/tags/writing.md>)

### AI overview

This tutorial explains how parameterized or data-driven tests can improve unit-test quantity and quality. Using a password validator as an example, it discusses testing multiple inputs and expected outputs in JUnit 5 with Kotlin, with applicability to Java.

### Source excerpt

While writing Unit Tests, we often verify that given an input, the output of the method under test is the one expected. When you execute the same test with a different set of inputs and expected outputs several times, you come up with Data Driven Tes...

## Collection like objects in python

DevFeed: [Collection like objects in python](<https://devfeed.tech/articles/collection-like-objects-in-python-27328.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/202004/python-and-collection-like-objects/>)

Published: 2020-04-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [Protocol (disambiguation)](<https://devfeed.tech/topics/protocol.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [behavior](<https://devfeed.tech/tags/behavior.md>), [class](<https://devfeed.tech/tags/class.md>), [collections](<https://devfeed.tech/tags/collections.md>), [dsl](<https://devfeed.tech/tags/dsl.md>), [functional](<https://devfeed.tech/tags/functional.md>), [list](<https://devfeed.tech/tags/list.md>), [programming-language](<https://devfeed.tech/tags/programming-language.md>), [protocol](<https://devfeed.tech/tags/protocol.md>), [python](<https://devfeed.tech/tags/python.md>), [set](<https://devfeed.tech/tags/set.md>), [slices](<https://devfeed.tech/tags/slices.md>)

### AI overview

A tutorial on implementing Python collection-like objects using the collections protocol. It discusses slices and methods such as __getitem__, __setitem__, __delitem__, __iter__, __contains__, and __missing__, including how they support collection behavior and domain-specific language extensions.

### Source excerpt

Collections are an important part of every programming language. In python, there is a couple of built-in collections like list, set, dictionary but I'm not going to dig into them now. In this post, I'll explore what it takes to implement collection like objects on your own using collections protocol. Read more

## Writing Consistent Tools

DevFeed: [Writing Consistent Tools](<https://devfeed.tech/articles/writing-consistent-tools-30166.md>)

Original publisher: [Read original article](<https://www.netmeister.org/blog/consistent-tools.html>)

Published: 2019-02-20T22:13:02Z

Content type: article

Language: en

Sources: [Signs of Triviality](<https://devfeed.tech/sources/signs-of-triviality.md>)

Topics: [Tool](<https://devfeed.tech/topics/tool.md>), [Unix](<https://devfeed.tech/topics/unix.md>)

Tags: [set](<https://devfeed.tech/tags/set.md>), [simple](<https://devfeed.tech/tags/simple.md>), [tools](<https://devfeed.tech/tags/tools.md>), [unix](<https://devfeed.tech/tags/unix.md>), [writing](<https://devfeed.tech/tags/writing.md>)

### AI overview

The article presents simple guidelines for writing consistent Unix tools.

### Source excerpt

A set of simple guidelines to write consistent unix tools.

## A parlor trick for SET

DevFeed: [A parlor trick for SET](<https://devfeed.tech/articles/a-parlor-trick-for-set-40420.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2018/03/25/a-parlor-trick-for-set/>)

Published: 2018-03-25T09:51:34Z

Content type: article

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [color](<https://devfeed.tech/topics/color.md>)

Tags: [color](<https://devfeed.tech/tags/color.md>), [finite-fields](<https://devfeed.tech/tags/finite-fields.md>), [game](<https://devfeed.tech/tags/game.md>), [invariant](<https://devfeed.tech/tags/invariant.md>), [linear-algebra](<https://devfeed.tech/tags/linear-algebra.md>), [math](<https://devfeed.tech/tags/math.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [set](<https://devfeed.tech/tags/set.md>), [technical](<https://devfeed.tech/tags/technical.md>)

### AI overview

This mathematical article presents a parlor trick for the card game SET. By modeling cards as vectors in the finite vector space F₃⁴, it explains why the remaining visible board uniquely determines the final undealt card when all previously claimed sets were valid.

### Source excerpt

Tai-Danae Bradley is one of the hosts of PBS Infinite Series, a delightful series of vignettes into fun parts of math. The video below is about the same of SET, a favorite among mathematicians. Specifically, Tai-Danae explains how SET cards lie in (using more technical jargon) a vector space over a finite field, and that valid sets correspond to lines. If you don't immediately know how this would work, watch the video.

## Find The Missing Integer

DevFeed: [Find The Missing Integer](<https://devfeed.tech/articles/find-the-missing-integer-34556.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2017/05/find-the-missing-integer/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2017-05-30T17:56:54Z

Content type: article

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [math](<https://devfeed.tech/topics/math.md>), [Common Lisp](<https://devfeed.tech/topics/common-lisp.md>), [Computer science](<https://devfeed.tech/topics/computer-science.md>), [Lisp](<https://devfeed.tech/topics/lisp.md>), [Python](<https://devfeed.tech/topics/python.md>), [Data structures](<https://devfeed.tech/topics/data-structures.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [complexity](<https://devfeed.tech/tags/complexity.md>), [data-structure](<https://devfeed.tech/tags/data-structure.md>), [lisp](<https://devfeed.tech/tags/lisp.md>), [math](<https://devfeed.tech/tags/math.md>), [python](<https://devfeed.tech/tags/python.md>), [set](<https://devfeed.tech/tags/set.md>), [sorting](<https://devfeed.tech/tags/sorting.md>)

### AI overview

The article examines ways to find missing elements in a list. It contrasts sorting and the Gauss-sum method for one missing integer with set difference, which can handle multiple missing entries and arbitrary data types in Common Lisp and Python.

### Source excerpt

A recent interview question that I had to review was spelled like this: Find missing int element into array 1..100 Of course at first read I got it wrong, you have only one integer to look for into the array. So while the obvious idea was to apply classic sorting techniques and minimize array traversal to handle complexity (time and space), it turns out there's a much simpler way to do it if you remember your math lessons from younger. But is it that much simpler?

## Automatic Caching

DevFeed: [Automatic Caching](<https://devfeed.tech/articles/automatic-caching-19206.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/automatic-caching/>)

Author: Shai Almog

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

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [Caching](<https://devfeed.tech/topics/caching.md>), [HTTP](<https://devfeed.tech/topics/http.md>), [web applications](<https://devfeed.tech/topics/web-applications.md>)

Tags: [caching](<https://devfeed.tech/tags/caching.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [http](<https://devfeed.tech/tags/http.md>), [server](<https://devfeed.tech/tags/server.md>), [set](<https://devfeed.tech/tags/set.md>)

### AI overview

The article announces an experimental automatic caching feature for connection requests. It supports four caching modes--OFF, SMART, MANUAL, and OFFLINE--configurable globally or per request, and describes related cache retrieval, callbacks, and purging methods.

### Source excerpt

Caching server data locally is a huge part of the advantage a native app has over a web app. Normally this is non-trivial as it requires a delicate balance especially if you want to test the server resource for changes. HTTP provides two ways to do that the ETag and Last-Modified. While both are great they are non-trivial to use and by no definition seamless. We just added an experimental feature to connection request that allows you to set the caching mode to one of 4 states either globally or per connection request:

## MySQL - reset root password

DevFeed: [MySQL - reset root password](<https://devfeed.tech/articles/mysql-reset-root-password-27630.md>)

Original publisher: [Read original article](<https://gagor.pro/2015/12/mysql-reset-root-password/>)

Author: Tom

Published: 2015-12-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Tomasz Gągor](<https://devfeed.tech/sources/tomasz-gagor.md>)

Topics: [MySQL](<https://devfeed.tech/topics/mysql.md>), [passwords](<https://devfeed.tech/topics/passwords.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [linux](<https://devfeed.tech/tags/linux.md>), [localhost](<https://devfeed.tech/tags/localhost.md>), [mariadb](<https://devfeed.tech/tags/mariadb.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [password](<https://devfeed.tech/tags/password.md>), [percona](<https://devfeed.tech/tags/percona.md>), [root](<https://devfeed.tech/tags/root.md>), [set](<https://devfeed.tech/tags/set.md>)

### AI overview

A tutorial explaining how to reset a MySQL user password, including the root password, by stopping MySQL, using an init file with a SET PASSWORD command, starting the server with that file, and then deleting it.

### Source excerpt

It will happen from time to time, that you're on alien machine and have to brutally update things in db without knowing credentials. Example is for root (quite secure candidate to change because it shouldn't be used in app 😃 ) but will work for any user. shutdown db service mysql stop create text file with command like this (update user accordingly) ex. in /tmp/pwchange.txt SET PASSWORD FOR "root"@"localhost" = PASSWORD("HereYourNewPassword"); start mysqld with --init-file param mysqld_safe --init-file=/tmp/pwchange.txt sometimes you may require to point configuration file ex. --defaults-file=/etc/mysql/my.cnf

## Functional Android (II): Collection operations in Kotlin

DevFeed: [Functional Android (II): Collection operations in Kotlin](<https://devfeed.tech/articles/functional-android-ii-collection-operations-in-kotlin-27146.md>)

Original publisher: [Read original article](<https://antonioleiva.com/collection-operations-kotlin>)

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

Content type: tutorial

Language: en

Sources: [Antonio Leiva](<https://devfeed.tech/sources/antonio-leiva.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Android](<https://devfeed.tech/topics/android.md>), [Development](<https://devfeed.tech/topics/development.md>)

Tags: [collection](<https://devfeed.tech/tags/collection.md>), [collection-operations](<https://devfeed.tech/tags/collection-operations.md>), [collections](<https://devfeed.tech/tags/collections.md>), [functional](<https://devfeed.tech/tags/functional.md>), [iterable](<https://devfeed.tech/tags/iterable.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [language](<https://devfeed.tech/tags/language.md>), [list](<https://devfeed.tech/tags/list.md>), [set](<https://devfeed.tech/tags/set.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>)

### AI overview

This tutorial explains Kotlin collection types and the functional operations available for working with them. It covers interfaces and mutable variants including Iterable, Collection, List, Set, and Map, with examples intended to help developers choose appropriate collection operations.

### Source excerpt

Everything Android, Kotlin and other random topics

## Conditional (Partitioned) Probability -- A Primer

DevFeed: [Conditional (Partitioned) Probability -- A Primer](<https://devfeed.tech/articles/conditional-partitioned-probability-a-primer-40308.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2013/03/28/conditional-partitioned-probability-a-primer/>)

Published: 2013-03-28T13:36:09Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [bayes-theorem](<https://devfeed.tech/tags/bayes-theorem.md>), [conditional-probability](<https://devfeed.tech/tags/conditional-probability.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [partitions](<https://devfeed.tech/tags/partitions.md>), [primer](<https://devfeed.tech/tags/primer.md>), [probability-theory](<https://devfeed.tech/tags/probability-theory.md>), [random-variables](<https://devfeed.tech/tags/random-variables.md>), [set](<https://devfeed.tech/tags/set.md>), [theory](<https://devfeed.tech/tags/theory.md>)

### AI overview

A mathematically rigorous primer on conditional probability. It reviews finite probability spaces, probability mass functions, events, random variables, and partitions as tools for decomposing events and variables and reasoning about total probability.

### Source excerpt

One of the main areas of difficulty in elementary probability, and one that requires the highest levels of scrutiny and rigor, is conditional probability. The ideas are simple enough: that we assign probabilities relative to the occurrence of some event. But shrewd applications of conditional probability (and in particular, efficient ways to compute conditional probability) are key to successful applications of this subject. This is the basis for Nate Silver's success, the logical flaws of many a political pundit, and the ability for a robot to tell where it is in an environment.

## Set Theory--A Primer

DevFeed: [Set Theory--A Primer](<https://devfeed.tech/articles/set-theory-a-primer-40223.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2011/07/09/set-theory-a-primer/>)

Published: 2011-07-09T18:14:59Z

Content type: tutorial

Language: en

Sources: [Jeremy Kun](<https://devfeed.tech/sources/jeremy-kun.md>)

Topics: [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Math and Logic](<https://devfeed.tech/topics/math-and-logic.md>)

Tags: [axiom-of-choice](<https://devfeed.tech/tags/axiom-of-choice.md>), [bijections](<https://devfeed.tech/tags/bijections.md>), [cardinality](<https://devfeed.tech/tags/cardinality.md>), [countability](<https://devfeed.tech/tags/countability.md>), [example](<https://devfeed.tech/tags/example.md>), [functions](<https://devfeed.tech/tags/functions.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [numbers](<https://devfeed.tech/tags/numbers.md>), [power-set](<https://devfeed.tech/tags/power-set.md>), [primer](<https://devfeed.tech/tags/primer.md>), [set](<https://devfeed.tech/tags/set.md>), [set-theory](<https://devfeed.tech/tags/set-theory.md>), [symbols](<https://devfeed.tech/tags/symbols.md>), [theory](<https://devfeed.tech/tags/theory.md>), [variable](<https://devfeed.tech/tags/variable.md>)

### AI overview

This primer introduces set theory by defining sets, elements, membership, cardinality, notation, and several ways to construct sets. It uses numerical examples and introduces natural numbers, integers, and rational numbers while noting that unrestricted operations can lead to paradoxes.

### Source excerpt

It's often that a student's first exposure to rigorous mathematics is through set theory, as originally studied by Georg Cantor. This means we will not treat set theory axiomatically (as in ZF set theory), but rather we will take the definition of a set for granted, and allow any operation to be performed on a set. This will be clear when we present examples, and it will be clear why this is a bad idea when we present paradoxes.

## The Odds of Finding a Set in The Card Game SET

DevFeed: [The Odds of Finding a Set in The Card Game SET](<https://devfeed.tech/articles/the-odds-of-finding-a-set-in-the-card-game-set-40542.md>)

Original publisher: [Read original article](<http://norvig.com/SET.html>)

Published: 2010-04-28T00:00:00Z

Content type: article

Language: en

Sources: [Peter Norvig](<https://devfeed.tech/sources/peter-norvig.md>)

Topics: [math](<https://devfeed.tech/topics/math.md>), [Simulation](<https://devfeed.tech/topics/simulation.md>)

Tags: [card](<https://devfeed.tech/tags/card.md>), [color](<https://devfeed.tech/tags/color.md>), [game](<https://devfeed.tech/tags/game.md>), [number](<https://devfeed.tech/tags/number.md>), [results](<https://devfeed.tech/tags/results.md>), [set](<https://devfeed.tech/tags/set.md>), [simulation](<https://devfeed.tech/tags/simulation.md>)

### AI overview

An analysis of why the odds of finding no SET in the card game SET change during play. A simulation shows that the chances differ substantially between a freshly dealt layout and layouts reached after SETs are repeatedly removed and replaced, suggesting the instruction booklet's odds do not describe the course of an actual game.

### Source excerpt

Correcting an error in the instruction booklet for the card game SET