# Statement

In a computer programming language, a statement is a line of code commanding a task; programs consist of sequences of statements.

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

## The Importance of an Engineering Vision (High-Purpose Environments, Part 2)

DevFeed: [The Importance of an Engineering Vision (High-Purpose Environments, Part 2)](<https://devfeed.tech/articles/the-importance-of-an-engineering-vision-high-purpose-environments-part-2-39944.md>)

Original publisher: [Read original article](<https://mende.io/blog/the-importance-of-an-engineering-vision-high-purpose-environments-part-2/>)

Author: tobi@techunicorn.builders (Tobias Mende)

Published: 2023-05-13T05:00:00Z

Content type: opinion

Language: en

Sources: [Tobias Mende](<https://devfeed.tech/sources/tobias-mende.md>)

Topics: [Statement](<https://devfeed.tech/topics/statement.md>)

Tags: [culture-high-purpose-environments-engineering-excellence-organizational-design](<https://devfeed.tech/tags/culture-high-purpose-environments-engineering-excellence-organizational-design.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [leader](<https://devfeed.tech/tags/leader.md>), [mission](<https://devfeed.tech/tags/mission.md>), [organizations](<https://devfeed.tech/tags/organizations.md>), [strategy](<https://devfeed.tech/tags/strategy.md>), [teams](<https://devfeed.tech/tags/teams.md>), [values](<https://devfeed.tech/tags/values.md>), [vision](<https://devfeed.tech/tags/vision.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

This article explains how a clear engineering vision, mission, strategy, guiding principles, and values can help teams make progress and support leadership without relying on hierarchy or power. It defines the distinctions among vision, mission, and strategy and presents examples.

### Source excerpt

The Importance of an Engineering Vision (High-Purpose Environments, Part 2) Have you ever seen organizations and teams spinning in circles, having endless discussions, and never seeming able to make progress? Have you witnessed environments where every decision was made by a leader in the hierarchical sense? Or even worse, by someone able to exert a specific power and overrule others?

## Tracking and managing your Postgres connections

DevFeed: [Tracking and managing your Postgres connections](<https://devfeed.tech/articles/tracking-and-managing-your-postgres-connections-41200.md>)

Original publisher: [Read original article](<https://www.craigkerstiens.com/2017/09/18/postgres-connection-management/>)

Author: Map

Published: 2017-09-18T20:55:56Z

Content type: tutorial

Language: en

Sources: [Craig Kerstiens](<https://devfeed.tech/sources/craig-kerstiens.md>)

Topics: [Databases](<https://devfeed.tech/topics/databases.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [Query (disambiguation)](<https://devfeed.tech/topics/query.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>), [Statement](<https://devfeed.tech/topics/statement.md>), [scaling](<https://devfeed.tech/topics/scaling.md>)

Tags: [database](<https://devfeed.tech/tags/database.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [query](<https://devfeed.tech/tags/query.md>), [scaling](<https://devfeed.tech/tags/scaling.md>), [statement](<https://devfeed.tech/tags/statement.md>), [transactions](<https://devfeed.tech/tags/transactions.md>)

### AI overview

A tutorial on tracking and managing Postgres connections. It explains how to interpret connection states from pg_stat_activity, monitor them over time, use pgBouncer for idle connections, and apply statement and transaction timeouts to cancel long-running work.

### Source excerpt

Managing connections in Postgres is a topic that seems to come up several times a week in conversations. I've written some about scaling your connections and the right approach when you truly need a high level of connections, which is to use a connection pooler like pgBouncer. But what do you do before that point and how can you better track what is going on with your connections in Postgres? Postgres under the covers has a lot of metadata about both historical and current activity against a system. Within Postgres you can run the following query which will give you a few results: SELECT count(*), state FROM pg_stat_activity GROUP BY 2; count | state -------+------------------------------- 7 | active 69 | idle 26 | idle in transaction 11 | idle in transaction (aborted) (4 rows) Time: 30.337 ms Each of these is useful in determining what you should do to better manage your connection count. All of these numbers can be useful to record every say 30 seconds and chart on your own internal monitoring. Lets break down each: active - This is currently running queries, in a sense this is truly how many connections you may require at a time idle - This is where you have opened a connection to the DB (most frameworks do this and maintain a pool of them), but nothing is happening. This is the one area that a connection pooler like pgBouncer can most help. idle in transaction - This is where your app has run a BEGIN but it's now waiting somewhere in a transaction and not doing work. For idle as mentioned above it's one that you do want to monitor and if you see a high number here it's worth investing in setting up a pgBouncer. For idle in transaction this one is a bit more interesting. Here what you likely want to do when first investigating is get an idea of how old those are. You can do this by querying pg_stat_activity and filtering for where the state is idle in transaction and checking how old those queries are. For ones that have been running too long you may want to manu

## False Proof--All Numbers are Describable in at Most Twenty Words

DevFeed: [False Proof--All Numbers are Describable in at Most Twenty Words](<https://devfeed.tech/articles/false-proof-all-numbers-are-describable-in-at-most-twenty-words-40233.md>)

Original publisher: [Read original article](<https://www.jeremykun.com/2011/07/28/false-proof-twenty-word/>)

Published: 2011-07-28T16:03:27Z

Content type: article

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>), [Statement](<https://devfeed.tech/topics/statement.md>)

Tags: [computer](<https://devfeed.tech/tags/computer.md>), [false-proof](<https://devfeed.tech/tags/false-proof.md>), [kolmogorov-complexity](<https://devfeed.tech/tags/kolmogorov-complexity.md>), [language](<https://devfeed.tech/tags/language.md>), [mathematics](<https://devfeed.tech/tags/mathematics.md>), [program](<https://devfeed.tech/tags/program.md>), [set-theory](<https://devfeed.tech/tags/set-theory.md>), [turing-machine](<https://devfeed.tech/tags/turing-machine.md>), [well-ordering](<https://devfeed.tech/tags/well-ordering.md>)

### AI overview

The article examines a false proof claiming that every natural number can be described in fewer than twenty words. It explains that the contradiction arises from imprecise notions of description and set construction, connecting the issue to Russell's paradox and the Richard-Berry paradox.

### Source excerpt

Problem: Show that every natural number can be unambiguously described in fewer than twenty words. "Solution": Suppose to the contrary that not every natural number can be so described. Let $ S$ be the set of all natural numbers which are describable in fewer than twenty words. Consider $ R = \mathbb{N}-S$, the set of all words which cannot be described in fewer than twenty words. Since $ R$ is a subset of the natural numbers, which is well-ordered, it has a unique smallest element which we call $ r$.

## Employees' rights to work on projects outside their jobs

DevFeed: [Employees' rights to work on projects outside their jobs](<https://devfeed.tech/articles/being-an-employee-41058.md>)

Original publisher: [Read original article](<https://www.craigkerstiens.com/2008/08/29/Being-an-employee/>)

Author: Map

Published: 2008-08-30T00:44:19Z

Content type: opinion

Language: en

Sources: [Craig Kerstiens](<https://devfeed.tech/sources/craig-kerstiens.md>)

Topics: [Job](<https://devfeed.tech/topics/job.md>), [Statement](<https://devfeed.tech/topics/statement.md>)

Tags: [google](<https://devfeed.tech/tags/google.md>), [job](<https://devfeed.tech/tags/job.md>), [ownership](<https://devfeed.tech/tags/ownership.md>), [startup](<https://devfeed.tech/tags/startup.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

The author argues that employees should generally be free to pursue additional work in their spare time, provided it does not damage their employer's brand or business effectiveness. The article also discusses how startup equity can create a sense of ownership without giving companies full claim over employees' personal time.

### Source excerpt

As I currently work at a startup I have a small stake in the company. When talking with one friend of something I have been working with someone with on the side, the question came up over if this was a conflict of interest. I was actually quite shocked to hear the question at first, not only did I expect them to do likewise, as I know many that do. The full on conflict of interest statement just shocked me. Being at a startup it does make it slightly more of an interesting statement, but I received similar comments sometimes at my former Fortune 100 employer. I'll start with that place and then migrate to the startup environment. I could not disagree more being an employee at some place, and working on additional things being a conflict of interest. In short you are an employee, not property, your best interests lie with yourself. Sure its great if you believe in the company and what they do, but in our generation you are not attached for life to the company you work for. The company has claim on what you do between 8-5 with regards to work, sure if you do things that may damange a company brand or your effectiveness to do business its fair for them not to retain you, but simply doing additional work in your spare time? Hardly! Now as we move on to the startup atmosphere, where it's pretty standard that when becoming employed you receive some amount of equity in the company. In most cases with not being a founder this stake is of relatively small size. Sure you could consider Google where I believe it was over 400 employees that were made millionaires by their IPO, but these situations are very rare. The equity receive normally vessts over a period of time, and from my perception is simply equivilant to a portion of your pay no more no less. Sure it does make you feel more of a sense of ownership, but does not extend to the full extent of the business owning you. As an employee you're being paid to perform a job, they don't have full claim to what you do on your ti