# functions

Published articles for functions.

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

## "Regex for Rows": Simplifying Pattern Detection in SQL with MATCH\_RECOGNIZE

DevFeed: ["Regex for Rows": Simplifying Pattern Detection in SQL with MATCH\_RECOGNIZE](<https://devfeed.tech/articles/regex-for-rows-simplifying-pattern-detection-in-sql-with-match-recognize-31401.md>)

Original publisher: [Read original article](<https://www.databricks.com/blog/regex-rows-simplifying-pattern-detection-sql-matchrecognize>)

Author: Kent Marten; Sergei Fedorov

Published: 2026-09-16T17:14:05Z

Content type: tutorial

Language: en

Sources: [Databricks](<https://devfeed.tech/sources/databricks.md>)

Topics: [SQL](<https://devfeed.tech/topics/sql.md>), [databricks](<https://devfeed.tech/topics/databricks.md>), [Cybersecurity](<https://devfeed.tech/topics/cybersecurity.md>), [Security & Privacy](<https://devfeed.tech/topics/security-privacy.md>)

Tags: [count](<https://devfeed.tech/tags/count.md>), [cybersecurity](<https://devfeed.tech/tags/cybersecurity.md>), [databricks](<https://devfeed.tech/tags/databricks.md>), [failed](<https://devfeed.tech/tags/failed.md>), [false-positives](<https://devfeed.tech/tags/false-positives.md>), [functions](<https://devfeed.tech/tags/functions.md>), [login](<https://devfeed.tech/tags/login.md>), [partition](<https://devfeed.tech/tags/partition.md>), [product](<https://devfeed.tech/tags/product.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [regex](<https://devfeed.tech/tags/regex.md>), [sql](<https://devfeed.tech/tags/sql.md>), [window-functions](<https://devfeed.tech/tags/window-functions.md>)

### AI overview

This tutorial explains how Databricks supports SQL MATCH_RECOGNIZE for detecting ordered event patterns. It shows how the clause can simplify sequence detection, including identifying repeated login failures followed by a successful login, compared with complex SQL queries and window functions.

### Source excerpt

Imagine you work in cybersecurity and you have a table that tracks login attempts...

## On-Demand Masked Sessions with Twilio Proxy, Voice and Serverless

DevFeed: [On-Demand Masked Sessions with Twilio Proxy, Voice and Serverless](<https://devfeed.tech/articles/on-demand-masked-sessions-with-twilio-proxy-voice-and-serverless-41425.md>)

Original publisher: [Read original article](<https://www.twilio.com/en-us/blog/developers/tutorials/integrations/just-in-time-masked-calls-proxy>)

Author: Leroy Chan

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

Content type: tutorial

Language: en

Sources: [Twilio Blog](<https://devfeed.tech/sources/twilio-blog.md>)

Topics: [proxy](<https://devfeed.tech/topics/proxy.md>), [sessions](<https://devfeed.tech/topics/sessions.md>), [communications](<https://devfeed.tech/topics/communications.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [functions](<https://devfeed.tech/topics/functions.md>), [callback](<https://devfeed.tech/topics/callback.md>)

Tags: [backend](<https://devfeed.tech/tags/backend.md>), [callback](<https://devfeed.tech/tags/callback.md>), [communications](<https://devfeed.tech/tags/communications.md>), [developer-insights](<https://devfeed.tech/tags/developer-insights.md>), [functions](<https://devfeed.tech/tags/functions.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [ridesharing](<https://devfeed.tech/tags/ridesharing.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sessions](<https://devfeed.tech/tags/sessions.md>), [state](<https://devfeed.tech/tags/state.md>), [voice](<https://devfeed.tech/tags/voice.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

This tutorial explains how to build an on-demand masked calling system with Twilio Proxy, Twilio Voice, and Twilio Serverless Functions. It uses a reserved Twilio number, IVR-based tracking-code collection, a backend lookup, and a two-bounce workflow with Twilio Sync to create private sessions dynamically when phone numbers cannot be pre-associated.

### Source excerpt

Manage marketplace communications without pre-associating numbers. Use Twilio Proxy, Voice, and Serverless to build dynamic, Just-in-Time masked session calls.

## Build a support chatbot with Appwrite Functions and VectorsDB

DevFeed: [Build a support chatbot with Appwrite Functions and VectorsDB](<https://devfeed.tech/articles/build-a-support-chatbot-with-appwrite-functions-and-vectorsdb-31443.md>)

Original publisher: [Read original article](<https://appwrite.io/blog/post/build-support-chatbot-vectorsdb>)

Author: Atharva Deosthale

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

Content type: tutorial

Language: en

Sources: [Appwrite Blog](<https://devfeed.tech/sources/appwrite-blog.md>)

Topics: [Appwrite](<https://devfeed.tech/topics/appwrite.md>), [Chat Bot](<https://devfeed.tech/topics/chatbot.md>), [Retrieval-Augmented Generation](<https://devfeed.tech/topics/retrieval-augmented-generation.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [React](<https://devfeed.tech/topics/react.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [build](<https://devfeed.tech/tags/build.md>), [chat](<https://devfeed.tech/tags/chat.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [functions](<https://devfeed.tech/tags/functions.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [rag](<https://devfeed.tech/tags/rag.md>), [react](<https://devfeed.tech/tags/react.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [support](<https://devfeed.tech/tags/support.md>), [tutorials](<https://devfeed.tech/tags/tutorials.md>)

### AI overview

This tutorial builds Harbor Help, a support chatbot for a fictional project-management product. It uses Appwrite VectorsDB to store help-center article embeddings, an Appwrite Function to retrieve relevant excerpts and generate answers through OpenRouter, and Appwrite Sites to host a React interface. The chatbot uses retrieval-augmented generation and can refuse questions outside the help center.

### Source excerpt

Seed a help center, retrieve relevant articles with VectorsDB, and answer customer questions through an Appwrite Function. Deploy the chat interface on Appwrite Sites.

## Estimating branch probabilities

DevFeed: [Estimating branch probabilities](<https://devfeed.tech/articles/estimating-branch-probabilities-31127.md>)

Original publisher: [Read original article](<https://maskray.me/blog/estimating-branch-probabilities>)

Published: 2026-08-09T07:00:00Z

Content type: article

Language: en

Sources: [MaskRay](<https://devfeed.tech/sources/maskray.md>)

Topics: [LLVM](<https://devfeed.tech/topics/llvm.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [functions](<https://devfeed.tech/tags/functions.md>), [graph](<https://devfeed.tech/tags/graph.md>), [llvm](<https://devfeed.tech/tags/llvm.md>), [structure](<https://devfeed.tech/tags/structure.md>)

### AI overview

This post explains how LLVM estimates branch probabilities when profile data is unavailable. It examines the heuristic that classifies control-flow blocks and successor paths using unreachable, cold, unwinding, and loop information, and presents a standalone reimplementation.

### Source excerpt

LLVM's BranchProbabilityInfo assigns every multi-successor terminator a probability distribution over its successors. This post describes the estimation used when no profile is available and reimplements it as a standalone program.

## Lambda-powered functions land in OTTL

DevFeed: [Lambda-powered functions land in OTTL](<https://devfeed.tech/articles/lambda-powered-functions-land-in-ottl-32577.md>)

Original publisher: [Read original article](<https://opentelemetry.io/blog/2026/lambda-powered-function-land-in-ottl/>)

Author: OpenTelemetry Authors; Docs CC BY

Published: 2026-07-22T20:04:49Z

Content type: release

Language: en

Sources: [Blog on OpenTelemetry](<https://devfeed.tech/sources/blog-on-opentelemetry.md>)

Topics: [OpenTelemetry](<https://devfeed.tech/topics/opentelemetry.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [sensitive data](<https://devfeed.tech/topics/sensitive-data.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [collection-operations](<https://devfeed.tech/tags/collection-operations.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [functions](<https://devfeed.tech/tags/functions.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [opentelemetry](<https://devfeed.tech/tags/opentelemetry.md>), [pipelines](<https://devfeed.tech/tags/pipelines.md>), [release](<https://devfeed.tech/tags/release.md>), [sensitive-data](<https://devfeed.tech/tags/sensitive-data.md>), [telemetry](<https://devfeed.tech/tags/telemetry.md>), [transformation](<https://devfeed.tech/tags/transformation.md>)

### AI overview

OpenTelemetry Collector Contrib v0.157.0 introduces lambda expressions to OTTL, enabling reusable inline logic in generic higher-order functions. The release adds eight experimental functions for collection transformations, including filtering, mapping, finding, reducing, and conditional operations.

### Source excerpt

As telemetry pipelines become more sophisticated, so do the transformations they need to perform: sanitizing sensitive data, normalizing inconsistent schemas, and enforcing attribute contracts. While OTTL provides a rich set of transformation functions, expressing collection operations has required dedicated functions with hardcoded behavior for each new use case. OpenTelemetry Collector Contrib v0.157.0 changes that by introducing lambda expressions to OTTL. Lambdas let users pass inline logic directly to generic higher-order functions, making complex collection transformations both reusable and concise. The release includes eight new functions that leverage this capability: Filter, MapEach, MapKeys, Any, All, Find, Reduce, and When.

## Waiting for PostgreSQL 19 - new pg\_get\_\*\_ddl() functions

DevFeed: [Waiting for PostgreSQL 19 - new pg\_get\_\*\_ddl() functions](<https://devfeed.tech/articles/waiting-for-postgresql-19-new-pg-get-ddl-functions-33686.md>)

Original publisher: [Read original article](<https://www.depesz.com/2026/04/09/waiting-for-postgresql-19-new-pg_get__ddl-functions/>)

Author: depesz

Published: 2026-04-09T16:37:45Z

Content type: article

Language: en

Sources: [select \* from depesz;](<https://devfeed.tech/sources/select-from-depesz.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [functions](<https://devfeed.tech/tags/functions.md>), [pg-dump](<https://devfeed.tech/tags/pg-dump.md>), [pg-get-database-ddl](<https://devfeed.tech/tags/pg-get-database-ddl.md>), [pg-get-role-ddl](<https://devfeed.tech/tags/pg-get-role-ddl.md>), [pg-get-tablespace-ddl](<https://devfeed.tech/tags/pg-get-tablespace-ddl.md>), [pg19](<https://devfeed.tech/tags/pg19.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [schema](<https://devfeed.tech/tags/schema.md>), [sql](<https://devfeed.tech/tags/sql.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [waiting](<https://devfeed.tech/tags/waiting.md>)

### AI overview

This article examines proposed PostgreSQL 19 SQL-callable pg_get_*_ddl() functions that generate DDL for recreating databases, roles, and tablespaces. It demonstrates their output and options, notes that role passwords are not exported, and observes that support for additional object types is still missing.

### Source excerpt

On 5th of April 2026, Andrew Dunstan committed patch: Add pg_get_database_ddl() function Add a new SQL-callable function that returns the DDL statements needed to recreate a database. It takes a regdatabase argument and an optional VARIADIC text argument for options that are specified as alternating name/value pairs. The following options are supported: pretty (boolean) ... Continue reading "Waiting for PostgreSQL 19 - new pg_get_*_ddl() functions"

## Waiting for PostgreSQL 19 - Add IGNORE NULLS/RESPECT NULLS option to Window functions.

DevFeed: [Waiting for PostgreSQL 19 - Add IGNORE NULLS/RESPECT NULLS option to Window functions.](<https://devfeed.tech/articles/waiting-for-postgresql-19-add-ignore-nulls-respect-nulls-option-to-window-functions-33665.md>)

Original publisher: [Read original article](<https://www.depesz.com/2025/10/13/waiting-for-postgresql-19-add-ignore-nulls-respect-nulls-option-to-window-functions/>)

Author: depesz

Published: 2025-10-13T11:13:52Z

Content type: article

Language: en

Sources: [select \* from depesz;](<https://devfeed.tech/sources/select-from-depesz.md>)

Topics: [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>)

Tags: [first-value](<https://devfeed.tech/tags/first-value.md>), [functions](<https://devfeed.tech/tags/functions.md>), [ignore](<https://devfeed.tech/tags/ignore.md>), [lag](<https://devfeed.tech/tags/lag.md>), [last-value](<https://devfeed.tech/tags/last-value.md>), [lead](<https://devfeed.tech/tags/lead.md>), [nth-value](<https://devfeed.tech/tags/nth-value.md>), [null](<https://devfeed.tech/tags/null.md>), [nulls](<https://devfeed.tech/tags/nulls.md>), [pg19](<https://devfeed.tech/tags/pg19.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [waiting](<https://devfeed.tech/tags/waiting.md>), [window](<https://devfeed.tech/tags/window.md>), [window-functions](<https://devfeed.tech/tags/window-functions.md>)

### AI overview

The article describes a PostgreSQL patch adding IGNORE NULLS and RESPECT NULLS options, also called a null treatment clause, to the lead, lag, first_value, last_value, and nth_value window functions. IGNORE NULLS skips NULL values, while RESPECT NULLS remains the default behavior.

### Source excerpt

On 3rd of October 2025, Tatsuo Ishii committed patch: Add IGNORE NULLS/RESPECT NULLS option to Window functions. Add IGNORE NULLS/RESPECT NULLS option (null treatment clause) to lead, lag, first_value, last_value and nth_value window functions. If unspecified, the default is RESPECT NULLS which includes NULL values in any result calculation. IGNORE NULLS ignores NULL values. ... Continue reading "Waiting for PostgreSQL 19 - Add IGNORE NULLS/RESPECT NULLS option to Window functions."

## Use Function Calls Instead of Parsing LLM Output

DevFeed: [Use Function Calls Instead of Parsing LLM Output](<https://devfeed.tech/articles/don-t-parse-call-33476.md>)

Original publisher: [Read original article](<https://timkellogg.me/blog/2025/10/03/functions>)

Published: 2025-10-03T00:00:00Z

Content type: article

Language: en

Sources: [Tim Kellogg](<https://devfeed.tech/sources/tim-kellogg.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [API](<https://devfeed.tech/topics/api.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [OpenAI](<https://devfeed.tech/topics/openai.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [api](<https://devfeed.tech/tags/api.md>), [functions](<https://devfeed.tech/tags/functions.md>), [llms](<https://devfeed.tech/tags/llms.md>), [openai](<https://devfeed.tech/tags/openai.md>), [parsing](<https://devfeed.tech/tags/parsing.md>)

### AI overview

The article argues that developers should use function-calling APIs instead of parsing formatted text from large language models. It presents functions as expressive enough to model failures, repeated calls, optional calls, and varied call sequences, and describes this approach as a foundation for agentic behavior.

### Source excerpt

Instead of writing crap tons of parsing code for LLMs you can just use functions. It's easy.

## Flow from suspending functions and vice versa

DevFeed: [Flow from suspending functions and vice versa](<https://devfeed.tech/articles/flow-from-suspending-functions-and-vice-versa-39328.md>)

Original publisher: [Read original article](<https://kt.academy/article/interop-suspending-functions-flow>)

Published: 2025-08-18T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/topics/kotlin-coroutines.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [functions](<https://devfeed.tech/topics/functions.md>)

Tags: [coroutines](<https://devfeed.tech/tags/coroutines.md>), [functions](<https://devfeed.tech/tags/functions.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

A guide to converting suspending functions to Flow and converting Flow back to suspending functions in Kotlin Coroutines.

### Source excerpt

A guide on how to convert suspending functions to Flow and vice versa in Kotlin Coroutines.

## Perfecting anti-aliasing on signed distance functions

DevFeed: [Perfecting anti-aliasing on signed distance functions](<https://devfeed.tech/articles/perfecting-anti-aliasing-on-signed-distance-functions-26118.md>)

Original publisher: [Read original article](<http://blog.pkh.me/p/44-perfecting-anti-aliasing-on-signed-distance-functions.html>)

Published: 2025-07-26T14:29:32Z

Content type: article

Language: en

Sources: [The Last Static Blog RSS](<https://devfeed.tech/sources/the-last-static-blog-rss.md>)

Topics: [signed distance functions](<https://devfeed.tech/topics/signed-distance-functions.md>), [SDF](<https://devfeed.tech/topics/sdf.md>)

Tags: [functions](<https://devfeed.tech/tags/functions.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [math](<https://devfeed.tech/tags/math.md>), [prog](<https://devfeed.tech/tags/prog.md>), [sdf](<https://devfeed.tech/tags/sdf.md>), [signed-distance-functions](<https://devfeed.tech/tags/signed-distance-functions.md>), [visualization](<https://devfeed.tech/tags/visualization.md>)

### AI overview

This article explains why anti-aliasing signed distance functions is more complicated than applying hardcoded constants or generic formulas. It develops anti-aliasing approaches from SDF properties such as the unit-length gradient and considers both inside/outside sign conventions.

### Source excerpt

Doing anti-aliasing on SDF is not as straightforward as it seems. Most of the time, we see people use a smoothstep with hardcoded constants, sometimes with screen space information, sometimes cryptic or convoluted formulas. Even if SDFs have the perfect mathematical properties needed for a clean anti-aliasing, the whole issue has a scope larger than it appears at first glance. And even when trivial solutions exist, it's not always clear why they are a good fit. Let's study that together. SDF The article assumes that you are at least a bit familiar with what an SDF is, but if I had to provide a quick and informal definition, I would say something like: "It's a function (or lookup-table of said function, usually stored in a texture) which returns the signed distance from the specified coordinates to a given shape, where the sign indicates whether you're inside or outside the shape." A common visualization of it looks like this: SDF of a moving pie/pacman, using Inigo Quilez formula and colorscheme for visualization The distance is fancily colored here for illustrative purpose, and the shape is animated to see how it affects the field. Another way of seeing it is to switch to a 3D view: SDF of a moving pie/pacman, as seen in 3D For the sign interpretation, here we're using the convention positive inside and negative outside, as seen for example on the Wikipedia illustration. But this is not always the case, for example, Inigo prefers the opposite: negative inside and positive outside. I personally find the Wikipedia convention to be more intuitive and easy to work with, but that's a matter of preferences so we'll figure out the formulas for both models. Switching from one to the other is just a sign swap, but it's important to know what we are working with. Linear ramp A properly crafted SDF has a gradient of length 1, meaning the slope is either going up or down, but always at the same constant rate of 1: 1D side cut of an SDF depicting the gradient/slope This is an i

## How to turn callback functions into suspend functions or Flow

DevFeed: [How to turn callback functions into suspend functions or Flow](<https://devfeed.tech/articles/how-to-turn-callback-functions-into-suspend-functions-or-flow-39322.md>)

Original publisher: [Read original article](<https://kt.academy/article/interop-callbacks-to-coroutines>)

Published: 2025-07-14T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/topics/kotlin-coroutines.md>), [callback](<https://devfeed.tech/topics/callback.md>), [functions](<https://devfeed.tech/topics/functions.md>), [Continuation](<https://devfeed.tech/topics/continuation.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [callback](<https://devfeed.tech/tags/callback.md>), [cancellation](<https://devfeed.tech/tags/cancellation.md>), [continuation](<https://devfeed.tech/tags/continuation.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [functions](<https://devfeed.tech/tags/functions.md>), [guide](<https://devfeed.tech/tags/guide.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [suspend](<https://devfeed.tech/tags/suspend.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

A guide to adapting callback-based APIs for Kotlin Coroutines. It explains how to convert callbacks that return one value into suspending functions and how to adapt callbacks that emit multiple values into Flows, including handling cancellation and exceptions.

### Source excerpt

A guide on how to correctly convert callback-based functions into suspending functions or Flows in Kotlin Coroutines.

## Introducing Fermyon Wasm Functions on Akamai

DevFeed: [Introducing Fermyon Wasm Functions on Akamai](<https://devfeed.tech/articles/introducing-fermyon-wasm-functions-on-akamai-15269.md>)

Original publisher: [Read original article](<https://www.fermyon.com/blog/introducing-fermyon-wasm-functions-on-akamai>)

Author: Matt Butcher

Published: 2025-03-27T10:30:00Z

Content type: release

Language: en

Sources: [Fermyon - Experience the next wave of cloud computing.](<https://devfeed.tech/sources/fermyon-experience-the-next-wave-of-cloud-computing.md>)

Topics: [wasm](<https://devfeed.tech/topics/wasm.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>)

Tags: [cloud](<https://devfeed.tech/tags/cloud.md>), [functions](<https://devfeed.tech/tags/functions.md>), [performance](<https://devfeed.tech/tags/performance.md>), [service](<https://devfeed.tech/tags/service.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

Fermyon introduces Wasm Functions, a globally hosted and managed service running within the Akamai Cloud. The article highlights its integration with Spin and WebAssembly and claims high performance.

### Source excerpt

Fermyon Wasm Functions is a globally hosted and managed service runs within the Akamai Cloud and delivers absolutely mind-boggling performance with all the features you already know and love about Spin and WebAssembly.

## Function Types in Nix

DevFeed: [Function Types in Nix](<https://devfeed.tech/articles/function-types-in-nix-32422.md>)

Original publisher: [Read original article](<https://garnix.io/blog/typed-function-types>)

Published: 2024-08-27T00:00:00Z

Content type: article

Language: en

Sources: [Garnix Blog](<https://devfeed.tech/sources/garnix-blog.md>)

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

Tags: [custom](<https://devfeed.tech/tags/custom.md>), [function](<https://devfeed.tech/tags/function.md>), [functions](<https://devfeed.tech/tags/functions.md>), [types](<https://devfeed.tech/tags/types.md>)

### AI overview

A short note about custom typing for functions in Nix.

### Source excerpt

A short note about custom typing for functions in Nix

## Kotlin/Wasm interop with Javascript - Gustavo Fão Valvassori

DevFeed: [Kotlin/Wasm interop with Javascript - Gustavo Fão Valvassori](<https://devfeed.tech/articles/kotlin-wasm-interop-with-javascript-gustavo-fao-valvassori-38285.md>)

Original publisher: [Read original article](<https://touchlab.co/kotlin-wasm-js-interop>)

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

Content type: tutorial

Language: en

Sources: [Touchlab | Enterprise Mobile Innovation & Development](<https://devfeed.tech/sources/touchlab-enterprise-mobile-innovation-development.md>)

Topics: [interoperability](<https://devfeed.tech/topics/interoperability.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [wasm](<https://devfeed.tech/topics/wasm.md>), [function](<https://devfeed.tech/topics/function.md>), [functions](<https://devfeed.tech/topics/functions.md>)

Tags: [functions](<https://devfeed.tech/tags/functions.md>), [interop](<https://devfeed.tech/tags/interop.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-multiplatform](<https://devfeed.tech/tags/kotlin-multiplatform.md>), [kotlin-wasm](<https://devfeed.tech/tags/kotlin-wasm.md>), [wasm](<https://devfeed.tech/tags/wasm.md>), [web-assembly](<https://devfeed.tech/tags/web-assembly.md>)

### AI overview

This tutorial explains bidirectional interoperability between Kotlin/Wasm and JavaScript. It covers calling JavaScript from Kotlin/Wasm, exposing Kotlin/Wasm functions to JavaScript, export limitations, name collisions, and using JavaScript-defined types and browser APIs.

### Source excerpt

Kotlin/Wasm provides a bi-directional interoperability between Kotlin and Javascript, allowing you to call functions on either side. Let's dive into the topic and explore its limitations and workarounds.

## Generics in Kotlin

DevFeed: [Generics in Kotlin](<https://devfeed.tech/articles/generics-in-kotlin-39335.md>)

Original publisher: [Read original article](<https://kt.academy/article/kfde-generics>)

Published: 2024-03-18T00:01:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [generics](<https://devfeed.tech/topics/generics.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Type Parameter](<https://devfeed.tech/topics/type-parameter.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [classes](<https://devfeed.tech/topics/classes.md>), [function](<https://devfeed.tech/topics/function.md>), [interfaces](<https://devfeed.tech/topics/interfaces.md>), [kotlin compiler](<https://devfeed.tech/topics/kotlin-compiler.md>)

Tags: [classes](<https://devfeed.tech/tags/classes.md>), [functions](<https://devfeed.tech/tags/functions.md>), [generics](<https://devfeed.tech/tags/generics.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-compiler](<https://devfeed.tech/tags/kotlin-compiler.md>), [programming](<https://devfeed.tech/tags/programming.md>), [type-parameter](<https://devfeed.tech/tags/type-parameter.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains how generics work in Kotlin. It covers generic functions, classes, and interfaces, including type parameters, type arguments, explicit specification, compiler inference, and relationships between argument and result types.

### Source excerpt

The essence of how generics work in Kotlin.

## Effective Kotlin Item 20: Do not repeat common algorithms

DevFeed: [Effective Kotlin Item 20: Do not repeat common algorithms](<https://devfeed.tech/articles/effective-kotlin-item-20-do-not-repeat-common-algorithms-39294.md>)

Original publisher: [Read original article](<https://kt.academy/article/ek-utils>)

Published: 2024-01-29T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>), [functions](<https://devfeed.tech/topics/functions.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [algorithms](<https://devfeed.tech/tags/algorithms.md>), [business-logic](<https://devfeed.tech/tags/business-logic.md>), [functions](<https://devfeed.tech/tags/functions.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [sorting](<https://devfeed.tech/tags/sorting.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This Effective Kotlin article explains why developers should extract common, non-project-specific algorithms into named utility functions or libraries. It argues that reuse improves programming speed, readability, maintenance, and consistency, while reducing noise and repeated implementation. The article recommends learning and using standard-library functions where appropriate.

### Source excerpt

Why extracting utility functions is so important for our programs.

## Kotlin Reflection: Method and property references

DevFeed: [Kotlin Reflection: Method and property references](<https://devfeed.tech/articles/kotlin-reflection-method-and-property-references-39214.md>)

Original publisher: [Read original article](<https://kt.academy/article/ak-reflection>)

Published: 2023-10-16T00:15:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [classes](<https://devfeed.tech/topics/classes.md>), [function](<https://devfeed.tech/topics/function.md>), [properties](<https://devfeed.tech/topics/properties.md>)

Tags: [classes](<https://devfeed.tech/tags/classes.md>), [dependency-injection](<https://devfeed.tech/tags/dependency-injection.md>), [functions](<https://devfeed.tech/tags/functions.md>), [gson](<https://devfeed.tech/tags/gson.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [java](<https://devfeed.tech/tags/java.md>), [koin](<https://devfeed.tech/tags/koin.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [property](<https://devfeed.tech/tags/property.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial introduces Kotlin reflection, explaining how programs inspect classes, functions, properties, annotations, constructors, and other source-code elements at runtime. It also describes uses in Gson serialization, Koin dependency injection, and the hierarchy of Kotlin reflection reference types.

### Source excerpt

The general hierarchy of Kotlin reference classes, and details about method and property references.

## Making Twig Macros Work Like Functions

DevFeed: [Making Twig Macros Work Like Functions](<https://devfeed.tech/articles/making-twig-macros-work-like-functions-31280.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/making-twig-macros-work-like-functions>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2023-07-14T18:38:00Z

Content type: tutorial

Language: en

Sources: [nystudio107 | Articles on modern web development.](<https://devfeed.tech/sources/nystudio107-articles-on-modern-web-development.md>)

Topics: [Programming](<https://devfeed.tech/topics/programming.md>), [Development](<https://devfeed.tech/topics/development.md>), [reusable code](<https://devfeed.tech/topics/reusable-code.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [functions](<https://devfeed.tech/tags/functions.md>), [insights](<https://devfeed.tech/tags/insights.md>), [just](<https://devfeed.tech/tags/just.md>), [languages](<https://devfeed.tech/tags/languages.md>), [learn](<https://devfeed.tech/tags/learn.md>), [like](<https://devfeed.tech/tags/like.md>), [macros](<https://devfeed.tech/tags/macros.md>), [make](<https://devfeed.tech/tags/make.md>), [manipulate](<https://devfeed.tech/tags/manipulate.md>), [programming](<https://devfeed.tech/tags/programming.md>), [programming-languages](<https://devfeed.tech/tags/programming-languages.md>), [return](<https://devfeed.tech/tags/return.md>), [returning](<https://devfeed.tech/tags/returning.md>), [reusable-code](<https://devfeed.tech/tags/reusable-code.md>), [twig](<https://devfeed.tech/tags/twig.md>), [value](<https://devfeed.tech/tags/value.md>), [values](<https://devfeed.tech/tags/values.md>)

### AI overview

A tutorial on making Twig macros return values that can be manipulated like function results. It demonstrates a sales-calculation macro, whitespace control, and returning a value for further computations such as sales tax.

### Source excerpt

Learn how to make Twig macros return values you can manipulate, just like functions in other programming languages

## Why Do We Need Another Kind of Cloud Compute?

DevFeed: [Why Do We Need Another Kind of Cloud Compute?](<https://devfeed.tech/articles/why-do-we-need-another-kind-of-cloud-compute-15428.md>)

Original publisher: [Read original article](<https://www.fermyon.com/blog/why-we-need-another-kind-cloud-compute>)

Author: Matt Butcher

Published: 2023-03-28T17:13:47Z

Content type: article

Language: en

Sources: [Fermyon - Experience the next wave of cloud computing.](<https://devfeed.tech/sources/fermyon-experience-the-next-wave-of-cloud-computing.md>)

Topics: [cloud-computing](<https://devfeed.tech/topics/cloud-computing.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [WebAssembly](<https://devfeed.tech/topics/web-assembly.md>)

Tags: [cloud](<https://devfeed.tech/tags/cloud.md>), [cloud-computing](<https://devfeed.tech/tags/cloud-computing.md>), [functions](<https://devfeed.tech/tags/functions.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [webassembly](<https://devfeed.tech/tags/webassembly.md>)

### AI overview

The article discusses WebAssembly as a new wave of cloud computing and identifies serverless functions as the reason another wave of cloud computing is needed.

### Source excerpt

We talk about WebAssembly as the next wave of cloud computing. But why do we need another wave of cloud computing. The answer is serverless functions.

## Functions in Kotlin

DevFeed: [Functions in Kotlin](<https://devfeed.tech/articles/functions-in-kotlin-39334.md>)

Original publisher: [Read original article](<https://kt.academy/article/kfde-functions>)

Published: 2022-12-12T00:01:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [function](<https://devfeed.tech/topics/function.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Code](<https://devfeed.tech/topics/code.md>), [generics](<https://devfeed.tech/topics/generics.md>), [unit test](<https://devfeed.tech/topics/unit-test.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [functions](<https://devfeed.tech/tags/functions.md>), [generics](<https://devfeed.tech/tags/generics.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [unit-test](<https://devfeed.tech/tags/unit-test.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

A Kotlin tutorial explaining functions as core program building blocks, including function definitions and calls, naming conventions, parameters and return types, backticks for names, single-expression syntax, and inferred result types.

### Source excerpt

Learn about what functions can offer us in Kotlin.

## Error Handling in Kotlin with Arrow and Either

DevFeed: [Error Handling in Kotlin with Arrow and Either](<https://devfeed.tech/articles/a-birds-eye-view-of-arrow-error-handling-39300.md>)

Original publisher: [Read original article](<https://kt.academy/article/fk-arrow-error-handling>)

Published: 2022-12-06T00:15:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [function](<https://devfeed.tech/topics/function.md>), [domain-specific language](<https://devfeed.tech/topics/domain-specific-language.md>)

Tags: [domain-specific-language](<https://devfeed.tech/tags/domain-specific-language.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [exception](<https://devfeed.tech/tags/exception.md>), [functions](<https://devfeed.tech/tags/functions.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains how functional Kotlin code can represent errors in return types instead of exceptions. It compares nullable values with explicit error handling and introduces Arrow DSLs based on continuations to provide a unified API for different error types.

### Source excerpt

Learn about Error Handling in Arrow, end how to effectively work with Either.

## Part 4: Beyond The Code and What I've Learned - Ethereum Payment

DevFeed: [Part 4: Beyond The Code and What I've Learned - Ethereum Payment](<https://devfeed.tech/articles/part-4-beyond-the-code-and-what-i-ve-learned-ethereum-payment-38733.md>)

Original publisher: [Read original article](<https://codecapsule.com/2022/11/29/ethereum-payment-part-4-beyond-the-code-and-learnings/>)

Author: Emmanuel Goossaert

Published: 2022-11-29T19:18:30Z

Content type: tutorial

Language: en

Sources: [Code Capsule](<https://devfeed.tech/sources/code-capsule.md>)

Topics: [Ethereum](<https://devfeed.tech/topics/ethereum.md>), [Blockchain](<https://devfeed.tech/topics/blockchain.md>), [Code](<https://devfeed.tech/topics/code.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Front end](<https://devfeed.tech/topics/frontend.md>)

Tags: [algorithms-and-programming](<https://devfeed.tech/tags/algorithms-and-programming.md>), [algorithms-and-programming-blockchain-crypto-ethereum-mongodb-nodejs-payment-programming-typ](<https://devfeed.tech/tags/algorithms-and-programming-blockchain-crypto-ethereum-mongodb-nodejs-payment-programming-typ.md>), [blockchain](<https://devfeed.tech/tags/blockchain.md>), [code](<https://devfeed.tech/tags/code.md>), [crypto](<https://devfeed.tech/tags/crypto.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developing](<https://devfeed.tech/tags/developing.md>), [ethereum](<https://devfeed.tech/tags/ethereum.md>), [functions](<https://devfeed.tech/tags/functions.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [networks](<https://devfeed.tech/tags/networks.md>), [nodejs](<https://devfeed.tech/tags/nodejs.md>), [payment](<https://devfeed.tech/tags/payment.md>), [product-design](<https://devfeed.tech/tags/product-design.md>), [programming](<https://devfeed.tech/tags/programming.md>), [typescript](<https://devfeed.tech/tags/typescript.md>), [web3](<https://devfeed.tech/tags/web3.md>)

### AI overview

The fourth and final article in a series reviews lessons from developing a hobby payment system for the Ethereum blockchain. It discusses extending the code, using redundant data providers, implementing couponing, handling Ethereum testing and production networks, and improving automation and safeguards before production use.

### Source excerpt

I'm sharing what I've learned while developing this project in terms of tech specificities product design when creating for the blockchain. The post Part 4: Beyond The Code and What I've Learned - Ethereum Payment first appeared on Code Capsule.

## Kotlin Coroutines use cases for Data/Adapters Layer

DevFeed: [Kotlin Coroutines use cases for Data/Adapters Layer](<https://devfeed.tech/articles/kotlin-coroutines-use-cases-for-data-adapters-layer-39243.md>)

Original publisher: [Read original article](<https://kt.academy/article/cc-use-cases-data-layer>)

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

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/topics/kotlin-coroutines.md>), [Coroutines](<https://devfeed.tech/topics/coroutines.md>), [callback](<https://devfeed.tech/topics/callback.md>), [Concurrency](<https://devfeed.tech/topics/concurrency.md>), [Databases](<https://devfeed.tech/topics/databases.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Android](<https://devfeed.tech/topics/android.md>)

Tags: [blocking](<https://devfeed.tech/tags/blocking.md>), [callback](<https://devfeed.tech/tags/callback.md>), [coroutines](<https://devfeed.tech/tags/coroutines.md>), [databases](<https://devfeed.tech/tags/databases.md>), [functions](<https://devfeed.tech/tags/functions.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-coroutines](<https://devfeed.tech/tags/kotlin-coroutines.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

This tutorial explains common Kotlin Coroutines use cases in the Data/Adapters Layer, including repository and provider implementations, adapting callback-based APIs into suspending functions, and handling blocking calls with an appropriate dispatcher.

### Source excerpt

How do we use Kotlin Coroutines in the Data/Adapters Layer, how do we use callback or blocking functions.

## Scope functions

DevFeed: [Scope functions](<https://devfeed.tech/articles/scope-functions-39306.md>)

Original publisher: [Read original article](<https://kt.academy/article/fk-scope-functions>)

Published: 2022-09-23T00:05:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [functions](<https://devfeed.tech/topics/functions.md>), [Library](<https://devfeed.tech/topics/library.md>), [object](<https://devfeed.tech/topics/object.md>), [Streams](<https://devfeed.tech/topics/streams.md>), [Back end](<https://devfeed.tech/topics/backend.md>)

Tags: [also](<https://devfeed.tech/tags/also.md>), [apply](<https://devfeed.tech/tags/apply.md>), [backend](<https://devfeed.tech/tags/backend.md>), [functions](<https://devfeed.tech/tags/functions.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [let](<https://devfeed.tech/tags/let.md>), [scope-functions](<https://devfeed.tech/tags/scope-functions.md>), [standard-library](<https://devfeed.tech/tags/standard-library.md>), [with](<https://devfeed.tech/tags/with.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

A tutorial on Kotlin scope functions, including let, also, apply, and with. It explains how these standard-library extension functions transform or configure objects, presents application examples, and notes that scope-function-heavy code can make debugging harder.

### Source excerpt

What is let, also, apply and with, and how to use them in our applications.

[Next page](<https://devfeed.tech/tags/functions.md?cursor=WyIyMDIyLTA5LTIzVDAwOjA1OjAwKzAwOjAwIiwgIjQ1MjVkYWI4LWE0YjAtNDRmNy1hYzdiLWM0MDEzNTE3MTc0OSJd>)