# create()

Published articles for create().

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

## New Bug-Fix Releases Are Available for MPS Versions 2026.1.1, 2025.3.2, 2025.2.4, and 2025.1.4

DevFeed: [New Bug-Fix Releases Are Available for MPS Versions 2026.1.1, 2025.3.2, 2025.2.4, and 2025.1.4](<https://devfeed.tech/articles/new-bug-fix-releases-are-available-for-mps-versions-2026-1-1-2025-3-2-2025-2-4-and-2025-1-4-31527.md>)

Original publisher: [Read original article](<https://blog.jetbrains.com/mps/2026/09/mps-2026-1-1-released/>)

Author: Vaclav Pech

Published: 2026-09-16T20:06:31Z

Content type: release

Language: en

Sources: [The JetBrains Blog](<https://devfeed.tech/sources/the-jetbrains-blog.md>)

Topics: [JetBrains MPS](<https://devfeed.tech/topics/jetbrains-mps.md>), [releases](<https://devfeed.tech/topics/releases.md>), [version](<https://devfeed.tech/topics/version.md>), [jetbrains](<https://devfeed.tech/topics/jetbrains.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [2025](<https://devfeed.tech/tags/2025.md>), [2026](<https://devfeed.tech/tags/2026.md>), [3](<https://devfeed.tech/tags/3.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agents](<https://devfeed.tech/tags/agents.md>), [bug](<https://devfeed.tech/tags/bug.md>), [changes](<https://devfeed.tech/tags/changes.md>), [create](<https://devfeed.tech/tags/create.md>), [development](<https://devfeed.tech/tags/development.md>), [diagnostics](<https://devfeed.tech/tags/diagnostics.md>), [editor](<https://devfeed.tech/tags/editor.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [major](<https://devfeed.tech/tags/major.md>), [manipulate](<https://devfeed.tech/tags/manipulate.md>), [mps](<https://devfeed.tech/tags/mps.md>), [practical](<https://devfeed.tech/tags/practical.md>), [release](<https://devfeed.tech/tags/release.md>), [releases](<https://devfeed.tech/tags/releases.md>), [updates](<https://devfeed.tech/tags/updates.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

JetBrains has released bug-fix updates for MPS versions 2026.1.1, 2025.3.2, 2025.2.4, and 2025.1.4. The MPS 2026.1.1 update includes improvements to the Projectional Agent Toolkit, editor context, diagnostics, agent guidance, and test execution.

### Source excerpt

We've released updates for multiple major MPS versions that fix several issues. DOWNLOAD MPS 2026.1.1 Check out all the updates in each particular version below: MPS 2026.1.1 The Projectional Agent Toolkit receives several practical improvements that allow agents to: See and invoke intentions and quick-fixes on individual nodes. Manipulate NodeAttributes, PropertyAttributes, and others. Create copies [...]

## How I Run My 1.5M+ Follower Content Business With Codex | Riley Brown

DevFeed: [How I Run My 1.5M+ Follower Content Business With Codex | Riley Brown](<https://devfeed.tech/articles/how-i-run-my-1-5m-follower-content-business-with-codex-riley-brown-34997.md>)

Original publisher: [Read original article](<https://creatoreconomy.so/p/how-i-run-my-content-business-with-codex-riley-brown>)

Author: Peter Yang

Published: 2026-08-16T14:03:09Z

Content type: article

Language: en

Sources: [Behind the Craft](<https://devfeed.tech/sources/behind-the-craft.md>)

Topics: [codex](<https://devfeed.tech/topics/codex.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [codex](<https://devfeed.tech/tags/codex.md>), [create](<https://devfeed.tech/tags/create.md>), [follower](<https://devfeed.tech/tags/follower.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [uses](<https://devfeed.tech/tags/uses.md>)

### AI overview

Riley Brown's article describes how he uses Codex within his AI stack to research topics, write video hooks, and create thumbnails for his content business.

### Source excerpt

Riley revealed his full AI stack including how he uses Codex to research topics, write video hooks, and create viral thumbnails.

## How to use generics to avoid duplications and make your code better

DevFeed: [How to use generics to avoid duplications and make your code better](<https://devfeed.tech/articles/how-to-use-generics-to-avoid-duplications-and-make-your-code-better-32291.md>)

Original publisher: [Read original article](<https://domenicoluciani.com/2025/04/11/how-to-use-generics-to-avoid-duplications-and-make-your-code-better.html>)

Author: Domenico Luciani

Published: 2025-04-10T22:00:00Z

Content type: tutorial

Language: en

Sources: [Domenico Luciani](<https://devfeed.tech/sources/domenico-luciani.md>)

Topics: [generics](<https://devfeed.tech/topics/generics.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [interfaces](<https://devfeed.tech/topics/interfaces.md>), [JSON:API](<https://devfeed.tech/topics/json-api.md>), [factory function](<https://devfeed.tech/topics/factory-function.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [create](<https://devfeed.tech/tags/create.md>), [generics](<https://devfeed.tech/tags/generics.md>), [go](<https://devfeed.tech/tags/go.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [like](<https://devfeed.tech/tags/like.md>), [refactor](<https://devfeed.tech/tags/refactor.md>)

### AI overview

A Go tutorial explains how generics can reduce duplicated method implementations when multiple response structs must satisfy the same interfaces. It demonstrates applying a reusable generic response to JSON:API-formatted responses and adding a factory function for readability.

### Source excerpt

I recently worked on a project that had a lot of code duplication due to repeated implementations of the same interfaces. I quickly realized it was a great opportunity to refactor...

## Adding Content with Content Migrations in Craft CMS

DevFeed: [Adding Content with Content Migrations in Craft CMS](<https://devfeed.tech/articles/adding-content-with-content-migrations-in-craft-cms-31238.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/adding-content-with-content-migrations-in-craft-cms>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2024-05-13T14:27: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: [Content Management System](<https://devfeed.tech/topics/cms.md>), [migration](<https://devfeed.tech/topics/migration.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Database](<https://devfeed.tech/topics/database.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Performance Testing](<https://devfeed.tech/topics/performance-testing.md>), [Development](<https://devfeed.tech/topics/development.md>), [Git](<https://devfeed.tech/topics/git.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [cms](<https://devfeed.tech/tags/cms.md>), [content](<https://devfeed.tech/tags/content.md>), [craft](<https://devfeed.tech/tags/craft.md>), [create](<https://devfeed.tech/tags/create.md>), [database](<https://devfeed.tech/tags/database.md>), [development](<https://devfeed.tech/tags/development.md>), [environments](<https://devfeed.tech/tags/environments.md>), [git](<https://devfeed.tech/tags/git.md>), [insights](<https://devfeed.tech/tags/insights.md>), [learn](<https://devfeed.tech/tags/learn.md>), [migrations](<https://devfeed.tech/tags/migrations.md>), [performance-testing](<https://devfeed.tech/tags/performance-testing.md>), [php](<https://devfeed.tech/tags/php.md>), [syncs](<https://devfeed.tech/tags/syncs.md>)

### AI overview

A tutorial on using content migrations in Craft CMS 5 to create and seed Entries, Fields, Entry Types, and Sections across environments. It explains how migrations can be version-controlled, run through Craft CLI commands, and rolled back after performance testing or other automated content tasks.

### Source excerpt

Learn how to create content migrations in Craft CMS 5 to add content that syncs across environments

## Singleton in Kotlin

DevFeed: [Singleton in Kotlin](<https://devfeed.tech/articles/singleton-in-kotlin-25152.md>)

Original publisher: [Read original article](<https://blog.droidchef.dev/how-to-create-singleton-in-kotlin/>)

Author: Ishan Khanna

Published: 2022-07-30T22:11:16Z

Content type: tutorial

Language: en

Sources: [Ishan Khanna](<https://devfeed.tech/sources/ishan-khanna.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [Code](<https://devfeed.tech/topics/code.md>), [Inheritance](<https://devfeed.tech/topics/inheritance.md>)

Tags: [class](<https://devfeed.tech/tags/class.md>), [create](<https://devfeed.tech/tags/create.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [object](<https://devfeed.tech/tags/object.md>), [tips](<https://devfeed.tech/tags/tips.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

A tutorial explaining what a singleton is in Kotlin, how to create one with the object keyword or a companion object, when singletons may be useful, and guidelines for keeping them focused and avoiding unnecessary use.

### Source excerpt

In this tutorial, Ishan Khanna teaches how to create singleton in kotlin. When to use singleton in kotlin and tips for creating effective and efficient singleton class in kotlin.

## Fluent Multi-Environment Config for Craft CMS 4

DevFeed: [Fluent Multi-Environment Config for Craft CMS 4](<https://devfeed.tech/articles/fluent-multi-environment-config-for-craft-cms-4-31263.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/fluent-multi-environment-config-for-craft-cms-4>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2022-07-26T04:00: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: [Content Management System](<https://devfeed.tech/topics/cms.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [allows](<https://devfeed.tech/tags/allows.md>), [autocomplete](<https://devfeed.tech/tags/autocomplete.md>), [better](<https://devfeed.tech/tags/better.md>), [cms](<https://devfeed.tech/tags/cms.md>), [config](<https://devfeed.tech/tags/config.md>), [craft](<https://devfeed.tech/tags/craft.md>), [create](<https://devfeed.tech/tags/create.md>), [editor](<https://devfeed.tech/tags/editor.md>), [environment](<https://devfeed.tech/tags/environment.md>), [errors](<https://devfeed.tech/tags/errors.md>), [fewer](<https://devfeed.tech/tags/fewer.md>), [files](<https://devfeed.tech/tags/files.md>), [fluent](<https://devfeed.tech/tags/fluent.md>), [insights](<https://devfeed.tech/tags/insights.md>), [less](<https://devfeed.tech/tags/less.md>), [model](<https://devfeed.tech/tags/model.md>), [multi-environment](<https://devfeed.tech/tags/multi-environment.md>), [settings](<https://devfeed.tech/tags/settings.md>), [using](<https://devfeed.tech/tags/using.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

This tutorial explains how Craft CMS 4.2's optional fluent configuration interface improves multi-environment config files. It highlights autocomplete, inline documentation, and type-checking as ways to reduce lookup work and configuration errors.

### Source excerpt

Using the new fluent model config settings in Craft CMS 4.2 allows you to create better config files, with less work and fewer errors

## Registering a Domain with Name Silo

DevFeed: [Registering a Domain with Name Silo](<https://devfeed.tech/articles/registering-a-domain-with-name-silo-28154.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/dns/2022/07/07/registering-a-domain-with-name-silo.html>)

Author: Fuzzygroup

Published: 2022-07-07T13:12:00Z

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [IO](<https://devfeed.tech/topics/io.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [amazon](<https://devfeed.tech/topics/amazon.md>), [Google](<https://devfeed.tech/topics/google.md>)

Tags: [amazon](<https://devfeed.tech/tags/amazon.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [create](<https://devfeed.tech/tags/create.md>), [ddos](<https://devfeed.tech/tags/ddos.md>), [dns](<https://devfeed.tech/tags/dns.md>), [free](<https://devfeed.tech/tags/free.md>), [google](<https://devfeed.tech/tags/google.md>), [io](<https://devfeed.tech/tags/io.md>), [verify](<https://devfeed.tech/tags/verify.md>)

### AI overview

A practical account of registering a .IO domain with NameSilo. It compares listed prices from Amazon and Google, recommends buying only the domain and using Cloudflare for DDoS protection, and explains creating an A record and verifying the resulting IP address.

### Source excerpt

So I needed to register a .IO domain today. Amazon had .io domains at $71 per and Google had them at $60. A quick check with my guru of cheapness, Nick Janetakis, said: NameSilo.com And he convinced me. Here are some tips: Do not accept any of their options. Just the domain, Sir, just the domain. Use DDOS protection from CloudFlare instead of their option. CloudFlare is free. Once you are registered then the option you likely need is to create an A record. This is done by selecting the domain from the Domain Manager view and then clicking the blue icon. Amazon is way prettier but double the price is a hard sell. After you create it, wait some period of time and ping it. Verify the ip address is yours. References: Review of NameSilo Mass Migration to NameSilo

## Creating a Reverse Proxy for Partytown with AWS Cloudfront

DevFeed: [Creating a Reverse Proxy for Partytown with AWS Cloudfront](<https://devfeed.tech/articles/creating-a-reverse-proxy-for-partytown-with-aws-cloudfront-31253.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/creating-a-reverse-proxy-for-partytown-with-aws-cloudfront>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2022-02-18T15:49: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: [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [proxy](<https://devfeed.tech/topics/proxy.md>), [Cross-origin resource sharing (CORS)](<https://devfeed.tech/topics/cors.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Library](<https://devfeed.tech/topics/library.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [cloudfront](<https://devfeed.tech/tags/cloudfront.md>), [cors](<https://devfeed.tech/tags/cors.md>), [create](<https://devfeed.tech/tags/create.md>), [easily](<https://devfeed.tech/tags/easily.md>), [insights](<https://devfeed.tech/tags/insights.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [learn](<https://devfeed.tech/tags/learn.md>), [library](<https://devfeed.tech/tags/library.md>), [party](<https://devfeed.tech/tags/party.md>), [partytown](<https://devfeed.tech/tags/partytown.md>), [performance](<https://devfeed.tech/tags/performance.md>), [performantly](<https://devfeed.tech/tags/performantly.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [quickly](<https://devfeed.tech/tags/quickly.md>), [reverse](<https://devfeed.tech/tags/reverse.md>), [reverse-proxy](<https://devfeed.tech/tags/reverse-proxy.md>), [scripts](<https://devfeed.tech/tags/scripts.md>), [third-party](<https://devfeed.tech/tags/third-party.md>), [tracking](<https://devfeed.tech/tags/tracking.md>), [worker](<https://devfeed.tech/tags/worker.md>)

### AI overview

A tutorial on creating an AWS CloudFront reverse proxy for Partytown so third-party tracking scripts can run in a web worker. It explains that some scripts require a reverse proxy because their origins do not provide permissive CORS headers.

### Source excerpt

Learn how to quickly & easily create a reverse proxy with AWS Cloudfront for Partytown, so your third party tracking scripts can run performantly in a web worker

## Creating a custom field in Craft CMS

DevFeed: [Creating a custom field in Craft CMS](<https://devfeed.tech/articles/creating-a-custom-field-in-craft-cms-31251.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/creating-a-custom-field-in-craft-cms>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2020-08-27T04:00: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: [Content Management System](<https://devfeed.tech/topics/cms.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [cms](<https://devfeed.tech/tags/cms.md>), [code](<https://devfeed.tech/tags/code.md>), [craft](<https://devfeed.tech/tags/craft.md>), [create](<https://devfeed.tech/tags/create.md>), [custom](<https://devfeed.tech/tags/custom.md>), [field](<https://devfeed.tech/tags/field.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [insights](<https://devfeed.tech/tags/insights.md>), [learn](<https://devfeed.tech/tags/learn.md>), [leveraging](<https://devfeed.tech/tags/leveraging.md>), [little](<https://devfeed.tech/tags/little.md>), [platform](<https://devfeed.tech/tags/platform.md>), [possible](<https://devfeed.tech/tags/possible.md>), [writing](<https://devfeed.tech/tags/writing.md>)

### AI overview

A tutorial on creating a custom field in Craft CMS whose dropdown options come from Craft Commerce country data. It recommends subclassing the built-in Craft Dropdown field and changing only the required behavior to reduce code and maintenance.

### Source excerpt

Learn how to create a custom field in Craft CMS, writing as little code as possible by leveraging the platform.

## Generating Your First Rust App with Cargo

DevFeed: [Generating Your First Rust App with Cargo](<https://devfeed.tech/articles/generating-your-first-rust-app-with-cargo-28318.md>)

Original publisher: [Read original article](<http://fuzzyblog.io/blog/rust/2020/02/23/generating-your-first-rust-app-with-cargo.html>)

Author: Fuzzygroup

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

Content type: tutorial

Language: en

Sources: [Scott Johnson](<https://devfeed.tech/sources/scott-johnson.md>)

Topics: [Rust](<https://devfeed.tech/topics/rust.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [create](<https://devfeed.tech/tags/create.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [docs](<https://devfeed.tech/tags/docs.md>), [packages](<https://devfeed.tech/tags/packages.md>), [project](<https://devfeed.tech/tags/project.md>), [rust](<https://devfeed.tech/tags/rust.md>), [tool](<https://devfeed.tech/tags/tool.md>)

### AI overview

This tutorial introduces Cargo as the tool for creating a Rust application. It demonstrates generating a project with cargo new, describes the Cargo.toml package manifest and dependencies, and shows the initial src/main.rs Hello World program.

### Source excerpt

The Rust tool cargo is the Rust equivalent of rake and bundler and rails combined (these are Ruby tools). Cargo is what you use to generate a new Rust app. Here's an example: cargo new loader_datastreamer_to_kafka_rust This generates a new, correctly laid out project directory. And here's what it looks like: ❯ tree . ├── Cargo.toml └── src └── main.rs 1 directory, 2 files The Cargo.toml file is a package manifest which has a default contents of this: ❯ cat Cargo.toml [package] name = "loader_datastreamer_to_kafka_rust1" version = "0.1.0" authors = ["Scott Johnson <blahblah@gmail.com>"] edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] Any Rust packages, which are named crates, you use in your application would be listed under the dependencies section. Here's an example of that: [dependencies] notify = "4.0.15" That's an example of using the notify crate. Your default main.rs file is always stored in src and looks like this initially: ❯ cat src/main.rs fn main() { println!("Hello, world!"); } Yep - you get a Hello World for free when you create any Rust application. Cargo actually does quite a bit more than just creating your Rust application but that's a topic for another day.

## Let's Build A Simple Interpreter. Part 18: Executing Procedure Calls

DevFeed: [Let's Build A Simple Interpreter. Part 18: Executing Procedure Calls](<https://devfeed.tech/articles/let-s-build-a-simple-interpreter-part-18-executing-procedure-calls-33321.md>)

Original publisher: [Read original article](<https://ruslanspivak.com/lsbasi-part18/>)

Author: Ruslan Spivak

Published: 2020-02-20T13:00:00Z

Content type: tutorial

Language: en

Sources: [Ruslan Spivak](<https://devfeed.tech/sources/ruslan-spivak.md>)

Topics: [Code](<https://devfeed.tech/topics/code.md>), [function](<https://devfeed.tech/topics/function.md>), [Algorithm](<https://devfeed.tech/topics/algorithm.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [blog](<https://devfeed.tech/tags/blog.md>), [code](<https://devfeed.tech/tags/code.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [create](<https://devfeed.tech/tags/create.md>), [function](<https://devfeed.tech/tags/function.md>), [local-variables](<https://devfeed.tech/tags/local-variables.md>), [object](<https://devfeed.tech/tags/object.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [program](<https://devfeed.tech/tags/program.md>), [variables](<https://devfeed.tech/tags/variables.md>)

### AI overview

This tutorial extends an interpreter to execute procedure calls. It focuses on procedures that access parameters and local variables, explaining activation records, call-stack handling, procedure execution, and the implementation of the visit_ProcedureCall method.

### Source excerpt

Do the best you can until you know better. Then when you know better, do better. ― Maya Angelou

## Mongoid - Inheritance: change embedded document's type via nested attributes

DevFeed: [Mongoid - Inheritance: change embedded document's type via nested attributes](<https://devfeed.tech/articles/mongoid-inheritance-change-embedded-document-s-type-via-nested-attributes-37450.md>)

Original publisher: [Read original article](<https://iridakos.com/programming/2019/11/22/mongoid-nested-attributes-embedded-type>)

Author: Lazarus Lazaridis

Published: 2019-11-22T07:00:00Z

Content type: tutorial

Language: en

Sources: [Lazarus Lazaridis](<https://devfeed.tech/sources/lazarus-lazaridis.md>)

Topics: [file](<https://devfeed.tech/topics/file.md>), [Rails](<https://devfeed.tech/topics/rails.md>), [Polymorphism](<https://devfeed.tech/topics/polymorphism.md>), [Forms](<https://devfeed.tech/topics/forms.md>)

Tags: [class](<https://devfeed.tech/tags/class.md>), [code](<https://devfeed.tech/tags/code.md>), [create](<https://devfeed.tech/tags/create.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [inheritance](<https://devfeed.tech/tags/inheritance.md>), [mongodb](<https://devfeed.tech/tags/mongodb.md>), [mongoid](<https://devfeed.tech/tags/mongoid.md>), [opensource](<https://devfeed.tech/tags/opensource.md>), [programming](<https://devfeed.tech/tags/programming.md>), [rails](<https://devfeed.tech/tags/rails.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

This tutorial examines problems that arise when changing the type of an embedded Mongoid document through nested attributes. Using a Rails console example with Book and BoardGame subclasses of Item, it demonstrates failed attribute assignments, leftover attributes, and incorrect validators caused by the in-memory object retaining its previous type.

### Source excerpt

I recently faced some issues when trying to update a nested document's type via nested attributes using the mongoid gem. Bare with me if this sentence doesn't make any sense yet. Use case Suppose we have a document named Person that embeds a document that can be any of the types Book or BoardGame which inherit from the class Item. Item class Item include Mongoid::Document embedded_in :person, inverse_of: :item field :name end Book class Book < Item field :authors, type: Array end BoardGame class BoardGame < Item field :players, type: Integer end Person class Person include Mongoid::Document embeds_one :item, inverse_of: :person accepts_nested_attributes_for :item, allow_destroy: true end The problems To simplify the post I won't go with the scenario of building the forms and the controller actions to demonstrate the problems but instead I will simulate the behavior in the rails console. Let's create a Person with a Book as an Item. >> person = Person.create!({ item_attributes: { _type: "Book", name: "Jitterbug Perfume", authors: ["Tom Robbins"] } }) => #<Person _id: 5dd7b01ec2889856ab8a619f, > >> person.item => #<Book _id: 5dd7ae76c2889856ab8a619e, name: "Jitterbug Perfume", _type: "Book", authors: ["Tom Robbins"]> Failing attribute assignments Let's try to change the person's item from Book to BoardGame with 5 players. >> person.update_attributes({ item_attributes: { _type: "BoardGame", name: "Ticket to Ride", players: 5 } }) Traceback (most recent call last): 1: from (irb):9 Mongoid::Errors::UnknownAttribute () message: Attempted to set a value for 'players' which is not allowed on the model Book. summary: Without including Mongoid::Attributes::Dynamic in your model and the attribute does not already exist in the attributes hash, attempting to call Book#players= for it is not allowed. This is also triggered by passing the attribute to any method that accepts an attributes hash, and is raised instead of getting a NoMethodError. resolution: You can include Mongoid::

## Setting Up Your Own Image Transform Service

DevFeed: [Setting Up Your Own Image Transform Service](<https://devfeed.tech/articles/setting-up-your-own-image-transform-service-31297.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/setting-up-your-own-image-transform-service>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2019-07-05T15:33: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: [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [modern web development](<https://devfeed.tech/topics/modern-web-development.md>), [Node.js](<https://devfeed.tech/topics/node-js.md>)

Tags: [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [build](<https://devfeed.tech/tags/build.md>), [cloudfront](<https://devfeed.tech/tags/cloudfront.md>), [cloudinary](<https://devfeed.tech/tags/cloudinary.md>), [compression](<https://devfeed.tech/tags/compression.md>), [create](<https://devfeed.tech/tags/create.md>), [handler](<https://devfeed.tech/tags/handler.md>), [hosting](<https://devfeed.tech/tags/hosting.md>), [image](<https://devfeed.tech/tags/image.md>), [images](<https://devfeed.tech/tags/images.md>), [insights](<https://devfeed.tech/tags/insights.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [leveraging](<https://devfeed.tech/tags/leveraging.md>), [optimized-transformed](<https://devfeed.tech/tags/optimized-transformed.md>), [pennies](<https://devfeed.tech/tags/pennies.md>), [power](<https://devfeed.tech/tags/power.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

### AI overview

This tutorial explains how to use AWS Lambda and the AWS Serverless Image Handler, fronted by CloudFront, to offload processor-intensive image transformations from a website server. It presents the approach as an inexpensive option for creating optimized images and discusses its use with server-rendered and JAMstack sites.

### Source excerpt

Create optimized/transformed images for pennies by leveraging the power of AWS Lambda to create your own Serverless Image Handler

## Data classes aren't (that) magical

DevFeed: [Data classes aren't (that) magical](<https://devfeed.tech/articles/data-classes-aren-t-that-magical-27059.md>)

Original publisher: [Read original article](<https://zsmb.co/data-classes-arent-that-magical/>)

Author: Márton Braun

Published: 2019-01-16T16:00:00Z

Content type: tutorial

Language: en

Sources: [zsmb.co](<https://devfeed.tech/sources/zsmb-co.md>)

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

Tags: [android](<https://devfeed.tech/tags/android.md>), [classes](<https://devfeed.tech/tags/classes.md>), [constructor](<https://devfeed.tech/tags/constructor.md>), [create](<https://devfeed.tech/tags/create.md>), [data-class](<https://devfeed.tech/tags/data-class.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [generate](<https://devfeed.tech/tags/generate.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [marton-braun](<https://devfeed.tech/tags/marton-braun.md>), [optional](<https://devfeed.tech/tags/optional.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [properties](<https://devfeed.tech/tags/properties.md>), [zsmb](<https://devfeed.tech/tags/zsmb.md>), [zsmb-co](<https://devfeed.tech/tags/zsmb-co.md>), [zsmb13](<https://devfeed.tech/tags/zsmb13.md>), [zsmbco](<https://devfeed.tech/tags/zsmbco.md>)

### AI overview

This tutorial explains what Kotlin data classes add to regular classes. It covers generated methods, how primary-constructor properties affect those methods, destructuring support, and the copy method with optional named parameters.

### Source excerpt

Data classes are great, but don't underestimate what a regular Kotlin class can do on its own.

## Post-Mortem: LinkedIn Talent Intelligence Experience

DevFeed: [Post-Mortem: LinkedIn Talent Intelligence Experience](<https://devfeed.tech/articles/post-mortem-linkedin-talent-intelligence-experience-31287.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/post-mortem-linkedin-talent-intelligence-experience>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2018-06-20T13:37:00Z

Content type: article

Language: en

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

Topics: [Post Mortem](<https://devfeed.tech/topics/post-mortem.md>), [Content Management System](<https://devfeed.tech/topics/cms.md>), [GraphQL](<https://devfeed.tech/topics/graphql.md>), [vuejs](<https://devfeed.tech/topics/vuejs.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [App](<https://devfeed.tech/topics/app.md>), [DevOps](<https://devfeed.tech/topics/devops.md>)

Tags: [app](<https://devfeed.tech/tags/app.md>), [cms](<https://devfeed.tech/tags/cms.md>), [covers](<https://devfeed.tech/tags/covers.md>), [craft](<https://devfeed.tech/tags/craft.md>), [create](<https://devfeed.tech/tags/create.md>), [devops](<https://devfeed.tech/tags/devops.md>), [experience](<https://devfeed.tech/tags/experience.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [graphql](<https://devfeed.tech/tags/graphql.md>), [intelligence](<https://devfeed.tech/tags/intelligence.md>), [interactive](<https://devfeed.tech/tags/interactive.md>), [linkedin-s](<https://devfeed.tech/tags/linkedin-s.md>), [post-mortem](<https://devfeed.tech/tags/post-mortem.md>), [post-mortems](<https://devfeed.tech/tags/post-mortems.md>), [project](<https://devfeed.tech/tags/project.md>), [talent](<https://devfeed.tech/tags/talent.md>), [unique](<https://devfeed.tech/tags/unique.md>), [vuejs](<https://devfeed.tech/tags/vuejs.md>), [web](<https://devfeed.tech/tags/web.md>)

### AI overview

This post-mortem explains how Craft CMS 3, GraphQL, and VueJS were used to build an interactive tablet-and-projection-wall experience for LinkedIn's Talent Intelligence events. It focuses on the project's planning, architecture, DevOps, and core application design.

### Source excerpt

This project post-mortem covers a unique use of Craft CMS 3, GraphQL, and VueJS to create an interactive experience for LinkedIn's Talent Intelligence Experience

## Dynamic beans in spring

DevFeed: [Dynamic beans in spring](<https://devfeed.tech/articles/dynamic-beans-in-spring-27271.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/201705/dynamic-beans/>)

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

Content type: tutorial

Language: en

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

Topics: [Code](<https://devfeed.tech/topics/code.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [properties](<https://devfeed.tech/topics/properties.md>), [import](<https://devfeed.tech/topics/import.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [create](<https://devfeed.tech/tags/create.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [implement](<https://devfeed.tech/tags/implement.md>), [properties](<https://devfeed.tech/tags/properties.md>), [property](<https://devfeed.tech/tags/property.md>), [spring](<https://devfeed.tech/tags/spring.md>)

### AI overview

A tutorial on programmatically creating Spring beans with BeanFactoryPostProcessor and BeanDefinitionRegistry. It covers defining individual and multiple beans, using constructor or factory-method initialization, and generating bean definitions from property-based options.

### Source excerpt

Some time ago I've been trying to dynamically create spring beans. After fast stackoverflow check I decided to drop it and go with something else. Lately I've been trying to implement more complicated bean registration mechanism in which skipping dynamic bean creation wasn't an option. Here's how you can create spring beans "from code". Read more

## Autocomplete Search with the Element API & VueJS

DevFeed: [Autocomplete Search with the Element API & VueJS](<https://devfeed.tech/articles/autocomplete-search-with-the-element-api-vuejs-31245.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/autocomplete-search-with-the-element-api-vuejs>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2017-02-22T06:19: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: [Vue.js](<https://devfeed.tech/topics/vue.md>), [Content Management System](<https://devfeed.tech/topics/cms.md>), [API](<https://devfeed.tech/topics/api.md>), [Ajax](<https://devfeed.tech/topics/ajax.md>), [JSON](<https://devfeed.tech/topics/json.md>), [npm](<https://devfeed.tech/topics/npm.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [autocomplete](<https://devfeed.tech/tags/autocomplete.md>), [cms](<https://devfeed.tech/tags/cms.md>), [cmss](<https://devfeed.tech/tags/cmss.md>), [craft](<https://devfeed.tech/tags/craft.md>), [create](<https://devfeed.tech/tags/create.md>), [element](<https://devfeed.tech/tags/element.md>), [fast](<https://devfeed.tech/tags/fast.md>), [feature](<https://devfeed.tech/tags/feature.md>), [functional](<https://devfeed.tech/tags/functional.md>), [github](<https://devfeed.tech/tags/github.md>), [heres](<https://devfeed.tech/tags/heres.md>), [insights](<https://devfeed.tech/tags/insights.md>), [json](<https://devfeed.tech/tags/json.md>), [npm](<https://devfeed.tech/tags/npm.md>), [search](<https://devfeed.tech/tags/search.md>), [vuejs](<https://devfeed.tech/tags/vuejs.md>)

### AI overview

A tutorial on using Craft CMS's Element API and VueJS to build an autocomplete search feature for blog entries. The Vue component sends AJAX requests to the Element API, receives JSON results, and renders them in a navigable dropdown.

### Source excerpt

Here's how to use Craft CMS's Element API and VueJS to create a fast, functional autocomplete search feature

## Creating a Content Builder in Craft CMS

DevFeed: [Creating a Content Builder in Craft CMS](<https://devfeed.tech/articles/creating-a-content-builder-in-craft-cms-31250.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/creating-a-content-builder-in-craft-cms>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2017-01-16T18:59: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: [Content Management System](<https://devfeed.tech/topics/cms.md>), [Matrix](<https://devfeed.tech/topics/matrix-org.md>), [Front end](<https://devfeed.tech/topics/frontend.md>), [User experience (UX)](<https://devfeed.tech/topics/ux.md>), [Website](<https://devfeed.tech/topics/website.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [authoring](<https://devfeed.tech/tags/authoring.md>), [better](<https://devfeed.tech/tags/better.md>), [block](<https://devfeed.tech/tags/block.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [builder](<https://devfeed.tech/tags/builder.md>), [client](<https://devfeed.tech/tags/client.md>), [cms](<https://devfeed.tech/tags/cms.md>), [content](<https://devfeed.tech/tags/content.md>), [create](<https://devfeed.tech/tags/create.md>), [field](<https://devfeed.tech/tags/field.md>), [frontend](<https://devfeed.tech/tags/frontend.md>), [giving](<https://devfeed.tech/tags/giving.md>), [insights](<https://devfeed.tech/tags/insights.md>), [just](<https://devfeed.tech/tags/just.md>), [matrix](<https://devfeed.tech/tags/matrix.md>), [rich](<https://devfeed.tech/tags/rich.md>), [text](<https://devfeed.tech/tags/text.md>), [using](<https://devfeed.tech/tags/using.md>)

### AI overview

This tutorial explains how to use Craft CMS's Matrix Block to build a structured content builder for clients. It argues that constrained block-based authoring can provide a better experience than an unrestricted Rich Text field.

### Source excerpt

Using the Matrix block to create a "content builder" for your client is much better than just giving them a Rich Text field

## Creating Optimized Images in Craft CMS

DevFeed: [Creating Optimized Images in Craft CMS](<https://devfeed.tech/articles/creating-optimized-images-in-craft-cms-31254.md>)

Original publisher: [Read original article](<https://nystudio107.com/blog/creating-optimized-images-in-craft-cms>)

Author: andrew@nystudio107.com (Andrew Welch)

Published: 2016-12-01T09:13: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: [Content Management System](<https://devfeed.tech/topics/cms.md>), [Website](<https://devfeed.tech/topics/website.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>)

Tags: [cloudinary](<https://devfeed.tech/tags/cloudinary.md>), [cms](<https://devfeed.tech/tags/cms.md>), [craft](<https://devfeed.tech/tags/craft.md>), [create](<https://devfeed.tech/tags/create.md>), [here-s](<https://devfeed.tech/tags/here-s.md>), [images](<https://devfeed.tech/tags/images.md>), [insights](<https://devfeed.tech/tags/insights.md>), [number](<https://devfeed.tech/tags/number.md>), [optimize](<https://devfeed.tech/tags/optimize.md>), [optimized](<https://devfeed.tech/tags/optimized.md>), [performance](<https://devfeed.tech/tags/performance.md>), [speedy](<https://devfeed.tech/tags/speedy.md>), [thing](<https://devfeed.tech/tags/thing.md>), [website](<https://devfeed.tech/tags/website.md>)

### AI overview

This tutorial explains how to optimize client-uploaded images in Craft CMS to improve website performance across desktop and mobile devices. It also recommends Cloudinary's Image Analysis Tool for estimating image sizes and potential savings.

### Source excerpt

The number one thing you can do to create a speedy website is to optimize the images. Here's how to do it in Craft CMS

## Why use Observable.create() and not just inherit from Observable?

DevFeed: [Why use Observable.create() and not just inherit from Observable?](<https://devfeed.tech/articles/why-use-observable-create-and-not-just-inherit-from-observable-29128.md>)

Original publisher: [Read original article](<https://www.grokkingandroid.com/why-use-observable-create-and-not-just-inherit-from-observable/>)

Author: Wolfram Rittmeyer

Published: 2015-10-09T05:00:40Z

Content type: tutorial

Language: en

Sources: [Grokking Android](<https://devfeed.tech/sources/grokking-android.md>)

Topics: [RxJava](<https://devfeed.tech/topics/rxjava.md>), [Inheritance](<https://devfeed.tech/topics/inheritance.md>), [hooks](<https://devfeed.tech/topics/hooks.md>), [debug](<https://devfeed.tech/topics/debug.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [create](<https://devfeed.tech/tags/create.md>), [debug](<https://devfeed.tech/tags/debug.md>), [hooks](<https://devfeed.tech/tags/hooks.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [inheritance](<https://devfeed.tech/tags/inheritance.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [observable](<https://devfeed.tech/tags/observable.md>), [rxjava](<https://devfeed.tech/tags/rxjava.md>)

### AI overview

This tutorial explains why RxJava developers should generally create Observables with Observable.create() instead of inheriting from Observable. It discusses final methods, the fluent API, and hooks that support debugging and monitoring, while noting that inheritance can still be appropriate in cases such as Subject.

### Source excerpt

When starting to use RxJava you have to create Observables. They are at the very core of RxJava. But how to do so? A look at the Observable class might make you dizzy. Looking at the source even more so. Not only does this beast consist of nearly 10.000 lines (though, 7600 lines of that [...] Continue Reading "Why use Observable.create() and not just inherit from Observable?" The post Why use Observable.create() and not just inherit from Observable? appeared first on Grokking Android.

## Why Creating Meaningful Things Can Guide Personal Growth and Work

DevFeed: [Why Creating Meaningful Things Can Guide Personal Growth and Work](<https://devfeed.tech/articles/create-30312.md>)

Original publisher: [Read original article](<https://www.mdubakov.com/posts/create>)

Published: 2014-11-19T20:11:35Z

Content type: opinion

Language: en

Sources: [Blog by Michael Dubakov](<https://devfeed.tech/sources/blog-by-michael-dubakov.md>)

Topics: [Learning](<https://devfeed.tech/topics/learning.md>), [Software](<https://devfeed.tech/topics/software.md>)

Tags: [create](<https://devfeed.tech/tags/create.md>), [just](<https://devfeed.tech/tags/just.md>), [learning](<https://devfeed.tech/tags/learning.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [personal](<https://devfeed.tech/tags/personal.md>), [team](<https://devfeed.tech/tags/team.md>)

### AI overview

A personal essay argues that creating meaningful things can reveal a person's life passion, provide a sense of achievement, and support continued learning through experimentation. It also suggests that creators can be valuable contributors to startups and established companies.

### Source excerpt

I'm 35 and only recently I truly nailed what drives my life -- it's "creation". When I create something meaningful I feel really great...

## Using Postgres Arrays in Django

DevFeed: [Using Postgres Arrays in Django](<https://devfeed.tech/articles/using-postgres-arrays-in-django-41121.md>)

Original publisher: [Read original article](<https://www.craigkerstiens.com/2012/11/06/django-and-arrays/>)

Author: Map

Published: 2012-11-06T20:55:56Z

Content type: tutorial

Language: en

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

Topics: [Django](<https://devfeed.tech/topics/django.md>), [Object-relational mapping](<https://devfeed.tech/topics/orm.md>), [SQL](<https://devfeed.tech/topics/sql.md>), [Databases](<https://devfeed.tech/topics/databases.md>)

Tags: [arrays](<https://devfeed.tech/tags/arrays.md>), [create](<https://devfeed.tech/tags/create.md>), [development](<https://devfeed.tech/tags/development.md>), [django](<https://devfeed.tech/tags/django.md>), [many-to-many](<https://devfeed.tech/tags/many-to-many.md>), [orm](<https://devfeed.tech/tags/orm.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [query](<https://devfeed.tech/tags/query.md>), [save](<https://devfeed.tech/tags/save.md>), [sql](<https://devfeed.tech/tags/sql.md>)

### AI overview

This tutorial shows how to use PostgreSQL array fields in Django with djorm-ext-pgarray and SQL expressions. It demonstrates defining array-backed tags, creating and querying posts, and contrasts this approach with Django many-to-many relationships.

### Source excerpt

A few weeks back I did a brief feature highlight on Postgres arrays. Since that time I've found myself using them with increasing regularity on small side projects. Much of this time I'm using Django and of course not opting to write raw SQL to be able to use arrays. Django actually makes it quite simple to work with Arrays in Postgres with a package by Andrey Antukh. Lets get started by installing two libraries: pip install djorm-ext-pgarray pip install djorm-ext-expressions The first library is for support for the array field type, the second allows us to more easily mix bits of SQL within the Django ORM. Now within our models.py we'll want import the library then we'll have an entirely new field type available to us: from djorm_pgarray.fields import ArrayField from djorm_expressions.models import ExpressionManager class Post(models.Model): subject = models.CharField(max_length=255) content = models.TextField() tags = ArrayField(dbtype="varchar(255)") Now we can begin using this. For example to create a simple blog post: Post(subject='foo', content='bar', tags=['hello','world']) post.save() In this example we're able to tag blog posts as one normally might, without requiring an extra model to join against. Taking advantage of the SQL Expressions library by Andrey as well we can query a blog post contains a certain tag: qs = Posts.objects.where( SqlExpression("tags", "@>", ['postgres', 'django']) ) Now to show some contrast lets take a look at how you would do the same thing without using the Array field: class Tag(models.Model): name = models.CharField(max_length=255) class Post(models.Model): subject = models.CharField(max_length=255) content = models.TextField() tags = models.ManyToManyField(Tag) Using the many-to-many relationship within Django requires you to save the Post, then add your tag is it requires having a primary key first: post = Post(subject='foo', content='bar') post.save() post.tags.add('hello','world') This means we have two calls to save it, an

## Xen - Podstawowe polecenia

DevFeed: [Xen - Podstawowe polecenia](<https://devfeed.tech/articles/xen-podstawowe-polecenia-27532.md>)

Original publisher: [Read original article](<https://gagor.pro/2012/06/xen-podstawowe-polecenia/>)

Author: Tom

Published: 2012-06-19T00:00:00Z

Content type: tutorial

Language: pl

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

Topics: [Xen](<https://devfeed.tech/topics/xen.md>), [LVM](<https://devfeed.tech/topics/lvm.md>)

Tags: [bridge](<https://devfeed.tech/tags/bridge.md>), [create](<https://devfeed.tech/tags/create.md>), [delete](<https://devfeed.tech/tags/delete.md>), [domain](<https://devfeed.tech/tags/domain.md>), [example](<https://devfeed.tech/tags/example.md>), [gateway](<https://devfeed.tech/tags/gateway.md>), [howto](<https://devfeed.tech/tags/howto.md>), [image](<https://devfeed.tech/tags/image.md>), [ip](<https://devfeed.tech/tags/ip.md>), [lvm](<https://devfeed.tech/tags/lvm.md>), [memory](<https://devfeed.tech/tags/memory.md>), [os](<https://devfeed.tech/tags/os.md>), [power](<https://devfeed.tech/tags/power.md>), [tools](<https://devfeed.tech/tags/tools.md>), [uptime](<https://devfeed.tech/tags/uptime.md>), [xen](<https://devfeed.tech/tags/xen.md>)

### AI overview

A Polish tutorial explains basic Xen commands for creating and deleting virtual machines and for managing their lifecycle, including listing, starting, shutting down, resetting, restarting, pausing, and monitoring resource usage. It also demonstrates Xen configuration involving LVM volumes and network settings.

### Source excerpt

Pisałem już HOWTO o konfiguracji Xen'a ale nie opisałem jak się bawić wirtualkami gdy Xen'a już mamy. To nadrabiam. Tworzenie i usuwanie maszyn wirtualnych Do tworzenia/niszczenia DomU wykorzystuję pakiet xen-tools dostarczający m.in. dwa narzędzia: xen-create - dla którego przygotowałem dość skomplikowaną konfigurację przy okazji wcześniejszego posta: Instalacja i konfiguracja DomU external link . Przykład użycia: xen-create --hostname example-domu --ip 10.0.0.77 \ --gateway 10.0.0.1 --broadcast 10.0.0.255 --netmask 255.255.255.0 \ --bridge br10 --vcpus 2 --memory=2G xen-delete-image - narzędzie do kasowania wirtualnych maszyn. Maszyna musi być wyłączona aby można było ją usunąć. Narzędzie to kasuje plik konfiguracyjny maszyny wirtualnej oraz przydzielone jej volumeny lvm. Przykład użycia: xen-delete-image nazwamaszyny Zarządzanie maszynami wirtualnymi Do uruchamiania, wyłączanie, resetowania (i ogólnie zarządzania) maszynami wirtualnymi służy tylko jedno polecenie: xm z różnymi parametrami: