Category: News
require ‘cocos’ – New Auto-Include Quick-Start Prolog & Prelude Gem
Anyways, I put together a first version and have started out with what I use day-in-day-out in the ruby scripts (off-rails). Cheers. Prost.
Public-private partnerships in health: The journey ahead for open source
The past three years have redefined the practice and management of public health on a global scale. What will we need in order to support innovation over the next three years?
The post Public-private partnerships in health: The journey ahead for open source appeared first on Linux Foundation.
The post Public-private partnerships in health: The journey ahead for open source appeared first on Linux.com.
Apple’s Virtualization framework is a great, free way to test new macOS betas
Specbee: Building component-based websites on Drupal using Acquia Site Studio
Subramanyam
02 Aug, 2022
If you find yourself thinking there’s got to be a better way to build a website than hiring a full time developer, you’re probably looking for something like Acquia’s Site Studio. It’s that perfect blend of robustness and usability that lets non-technical users like content editors, designers, marketers, and site owners build brand-compliant, unique websites. Formerly known as Cohesion, Site Studio provides the ability to create elegant and more powerful sites in half the time. Read more about Site studio and how to implement and use it for building beautiful Drupal sites.
Why use Acquia Site Studio?
As we said earlier, Site studio makes it really easy to build component-based websites.
Think of components as lego blocks and your website as a house you want to build with these blocks. As a builder, you are assembling various blocks in a way that helps you build your design. So in website terms, a component can be a block of text, an image, a featured snippet, a live Twitter feed, a header, a footer or so much more! All those components together help you complete your house/website design.
Benefits of using Site Studio
- Site Studio provides around 50 predefined components which you can start using immediately like Text, Image, Slider, Accordion, etc. Users can also use custom-built components that have been created by developers.
- It provides an excellent content editing user interface for adding components or templates in the layout by simply dragging and dropping
- It does not require as much time and effort
- Low code makes it appealing to users with less to no knowledge of building pages
- A powerful visual user interface and in-context editor that let’s you edit content directly on a live site
- Empowers users to preview their layout in various devices jus by changing the settings of the device aspect ratios
- Easy to maintain
How does it work?
Normally, to create a block type or paragraph type in Drupal 9, you need to have a specific Twig file for the markup. Then, based on the markup and design, you would write the CSS rules to create a card component.
However, when building a card component in Site Studio, you use a template of the card that already includes the CSS properties within the component. Then, using its drag-and-drop feature, you can use predefined elements like image, text, and link to create a layout for the card. Each component has a ‘Properties’ tab, where you can control the look of the component. The best part is that all this is done without writing a single line of code.
Getting Started with Site Studio
Let’s get started by first installing and enabling the module and theme.
Installing
- Download them with the help of Composer or manually
-
composer require acquia/cohesion:6.8.0
-
composer require acquia/cohesion-theme:6.8.0
- Enable the modules
- Install the Acquia Cohesion minimal theme from the UI
Once you have successfully installed the module and theme, you will see a new menu item on the admin toolbar called Site Studio. Here’s where you will be playing around with Components, Templates, Styles, Packages, etc (see below).
Components
You can now create a component by navigating to the Components page. You can also see a list of components that are already available on the site.
Customizing your components
You can add styles to the Component elements by editing or double-clicking the element and then clicking on the Styles tab. Here you can see all the available styles. You can now add the CSS Styles by clicking on Properties Tab
Create a page
You can create a page and add your components to the page by just dragging and dropping them into your layout.
References:
You can refer to the official Site studio documentation here
Final Thoughts
Site Studio gives you the ability to build websites faster and is useful for everyone – from developers to marketers and even end users. Site managers, Content editors or Marketers can easily add entirely new sections to the website without needing the help of a designer or Drupal development team. They can simply reuse the assets that are available and then add new sections to the website or rearrange existing ones. As a Drupal development company, we can help build custom components to enable you to project your unique brand effectively. Thank you for reading!
Python 3.10.6 is available
Here you have a nice package of 200 commits of bugfixes and documentation improvements freshly made for Python 3.10. Go and download it when is still hot:
https://www.python.org/downloads/release/python-3106/
This is the sixth maintenance release of Python 3.10
Major new features of the 3.10 series, compared to 3.9
Among the new major new features and changes so far:
- PEP 623 – Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
- PEP 604 – Allow writing union types as X | Y
- PEP 612 – Parameter Specification Variables
- PEP 626 – Precise line numbers for debugging and other tools.
- PEP 618 – Add Optional Length-Checking To zip.
- bpo-12782: Parenthesized context managers are now officially allowed.
- PEP 632 – Deprecate distutils module.
- PEP 613 – Explicit Type Aliases
- PEP 634 – Structural Pattern Matching: Specification
- PEP 635 – Structural Pattern Matching: Motivation and Rationale
- PEP 636 – Structural Pattern Matching: Tutorial
- PEP 644 – Require OpenSSL 1.1.1 or newer
- PEP 624 – Remove Py_UNICODE encoder APIs
- PEP 597 – Add optional EncodingWarning
More resources
- PEP 619, 3.10 Release Schedule
- Report bugs at https://bugs.python.org.
bpo-38605: from __future__ import annotations
(PEP 563) used to be on this list in previous pre-releases but it has been postponed to Python 3.11 due to some compatibility concerns. You can read the Steering Council communication about it here to learn more.
And now for something completely different
A pentaquark is a human-made subatomic particle, consisting of four quarks and one antiquark bound together; they are not known to occur naturally or exist outside of experiments to create them. As quarks have a baryon number of (+1/3), and antiquarks of (−1/3), the pentaquark would have a total baryon number of 1 and thus would be a baryon. Further, because it has five quarks instead of the usual three found in regular baryons (a.k.a. ‘triquarks’), it is classified as an exotic baryon. The name pentaquark was coined by Claude Gignoux et al. (1987) and Harry J. Lipkin in 1987; however, the possibility of five-quark particles was identified as early as 1964 when Murray Gell-Mann first postulated the existence of quarks. Although predicted for decades, pentaquarks proved surprisingly tricky to discover and some physicists were beginning to suspect that an unknown law of nature prevented their production.
We hope you enjoy the new releases!
Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.
Your friendly release team,
Ned Deily @nad
Steve Dower @steve.dower
Pablo Galindo Salgado @pablogsal
Using Sorbet and Tapioca with Rails
How to manage pods in Podman with the REST API
Learn how to configure, inspect, and start pods in Podman with the REST API. Read More at Enable Sysadmin
The post How to manage pods in Podman with the REST API appeared first on Linux.com.