# open-closed

Published articles for open-closed.

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

## Searching for RH Counterexamples -- Unbounded Integers

DevFeed: [Searching for RH Counterexamples -- Unbounded Integers](<https://devfeed.tech/articles/searching-for-rh-counterexamples-unbounded-integers-40440.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2020/10/13/searching-for-rh-counterexamples-unbounded-integers/>)

Published: 2020-10-13T09:00:00Z

Content type: article

Language: en

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

Topics: [Database](<https://devfeed.tech/topics/database.md>), [Python](<https://devfeed.tech/topics/python.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Numba](<https://devfeed.tech/topics/numba.md>), [Sorting](<https://devfeed.tech/topics/sorting.md>)

Tags: [arbitrary-precision-arithmetic](<https://devfeed.tech/tags/arbitrary-precision-arithmetic.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [numba](<https://devfeed.tech/tags/numba.md>), [number-theory](<https://devfeed.tech/tags/number-theory.md>), [open-closed](<https://devfeed.tech/tags/open-closed.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [python](<https://devfeed.tech/tags/python.md>), [riemann-hypothesis](<https://devfeed.tech/tags/riemann-hypothesis.md>), [software](<https://devfeed.tech/tags/software.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [superabundant-numbers](<https://devfeed.tech/tags/superabundant-numbers.md>)

### AI overview

This article examines how searching for Riemann Hypothesis counterexamples reaches the limits of 64-bit integers. It explains unbounded integer arithmetic and considers database and performance alternatives for storing and processing the search results.

### Source excerpt

We're ironically searching for counterexamples to the Riemann Hypothesis. Setting up Pytest Adding a Database Search strategies In the last article, we improved our naive search from "try all positive integers" to enumerate a subset of integers (superabundant numbers), which RH counterexamples are guaranteed to be among. These numbers grow large, fast, and we quickly reached the limit of what 64 bit integers can store. Unbounded integer arithmetic is possible on computers, but it requires a special software implementation.

## Open/Closed Principle in Software Design

DevFeed: [Open/Closed Principle in Software Design](<https://devfeed.tech/articles/open-closed-principle-in-software-design-40728.md>)

Original publisher: [Read original article](<https://radek.io/posts/openclosed-principle-in-software-design/>)

Published: 2011-08-04T00:00:00Z

Content type: article

Language: en

Sources: [Radek Pazdera](<https://devfeed.tech/sources/radek-pazdera.md>)

Topics: [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [Software Engineering](<https://devfeed.tech/topics/software-engineering.md>), [Software](<https://devfeed.tech/topics/software.md>), [classes](<https://devfeed.tech/topics/classes.md>), [function](<https://devfeed.tech/topics/function.md>), [modules](<https://devfeed.tech/topics/modules.md>), [unit tests](<https://devfeed.tech/topics/unit-tests.md>)

Tags: [changes](<https://devfeed.tech/tags/changes.md>), [classes](<https://devfeed.tech/tags/classes.md>), [code](<https://devfeed.tech/tags/code.md>), [customer](<https://devfeed.tech/tags/customer.md>), [design](<https://devfeed.tech/tags/design.md>), [developers](<https://devfeed.tech/tags/developers.md>), [open-closed](<https://devfeed.tech/tags/open-closed.md>), [software](<https://devfeed.tech/tags/software.md>), [software-design](<https://devfeed.tech/tags/software-design.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

This article explains the Open/Closed Principle in software design: software entities such as classes, modules, and functions should be open for extension but closed for modification. It argues that designing for likely changes can reduce the need to alter existing code, while noting that the principle is a guideline rather than an unconditional rule.

### Source excerpt

I build software products and write on the Internet.