teleren/devto huggingface dataset:
Vosdex is ur Future
Published: 2024-02-09 01:47:44


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rzba7jg4mm1nmic68brp.png)

**Affiliate Program**
Monetize your influence

Get paid to share your passion for crypto. Share Vosdex.com with your community to start earning.

**Enjoy guaranteed payouts**

Earn $20 when your referrals complete $250 in trades within 30 days of completing account verification.

**Maximize your earnings**

Active users keep our platform healthy. We offer additional earning opportunities to top Affiliates who bring in more active traders.

**Promotional Assets**

Use a wide range of promotional assets offered by Vosdex, such as trading widgets, chart widgets, screenshots, banners, logos and content. Create a lasting impression on your visitors by using the assets provided by Vosdex. Easy to implement, free to use.

**Outstanding Reputation**

Confidently share your affiliate link with your friends, thanks to the good reputation of Vosdex. Our transparent pricing, clear communication, easy to use platform, low fees, security measures and reliable bank relations allow you to share your affiliate link with full confidence.

**Dedicated Support**

Access to committed support agents underpin the relationship between Vosdex and its affiliates. This attitude results in fruitful cooperations in the form of special marketing actions, conversion optimization feedback, customized promotional content and rapid troubleshooting.
Low-Code Multi-Agent Automation Framework
Tags: automation, agent, generativeai, openai
Published: 2024-02-09 00:32:05

We automated 'Linkedin Posts' with Perplexity, GPT4 and Lyzr's Automata framework.

Step 1: Perplexity searches and generates the main content
Step 2: A curator agent writes a base article
Step 3: A LinkedIn agent creates an engaging post
Step 4: A tool posts the content to Linkedin

It's open-source. Build your own SuperAgents and automate workflows.

Github - https://github.com/LyzrCore/lyzr-automata

Demo - https://youtu.be/6U42TgaR6RA

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nkflaigckqtpcntqkt5i.png)
Understanding Regular Expressions in Python
Tags: python, regex, tutorial, programming
Published: 2024-02-09 00:28:45

## Introduction

Regular expressions are a powerful tool for manipulating and searching text data in Python. They are essentially strings of characters that define a search pattern, allowing you to find and extract specific information from a larger body of text. In this article, we will dive into the concept of regular expressions in Python and understand their advantages, disadvantages, and key features.

## Advantages

- **Quick and Efficient Search:** One of the main advantages of using regular expressions in Python is their ability to quickly and efficiently search for specific patterns within a larger text data set. This can save a lot of time and effort when dealing with large amounts of data.
- **High Flexibility:** Regular expressions are highly flexible and can be adapted to suit a variety of search needs.
- **Eliminates Need for Complicated Functions:** They also eliminate the need for writing complicated custom functions for data manipulation.

## Disadvantages

- **Complexity for Beginners:** While regular expressions can be a powerful tool, they can also be quite complex and difficult to understand for beginners.
- **Time-consuming Debugging:** Writing and debugging regular expressions can also be time-consuming and may require a lot of trial and error to get the desired result.
- **Potential for Inaccurate Results:** If not used correctly, regular expressions can potentially miss important information or return incorrect results.

## Features

Python's built-in module, `re`, provides a wide range of functions and methods for working with regular expressions. These include searching, replacing, and manipulating text data with specific patterns. Furthermore, regular expressions in Python are case sensitive, allowing for more precise and targeted searches.

### Key Functions in the `re` Module

- **search:** Searches for a pattern within a string and returns a match object if found.
  
  ```python
  import re
  match = re.search('pattern', 'string')
  if match:
      print("Pattern found")
  ```
- **findall:** Returns all non-overlapping matches of a pattern in a string, as a list of strings.
   ```python
   matches = re.findall('pattern', 'string')
   print(matches)
   ```
- **sub:** Replaces occurrences of a pattern in a string with a replacement string.
   ```python
   replaced_string = re.sub('pattern', 'replacement', 'string')
   print(replaced_string)
   ```

## Conclusion

Understanding regular expressions in Python is crucial for effectively working with text data. While they may have some drawbacks, their advantages far outweigh any disadvantages. With the right knowledge and practice, regular expressions can be an invaluable tool for any data analyst or scientist. So go ahead and explore the world of regular expressions in Python and level up your data manipulation skills.
How to download and use Learnitive WP Plugin?
Tags: tutorial, beginners, webdev, productivity
Published: 2024-02-09 00:18:00


### Learnitive WP plugin

The Learnitive WP plugin is an intuitive WordPress plugin that can integrate a WordPress website directly with Learnitive AI's generative text AI models, allowing you to leverage AI to generate content.

### Download 

Please click on the link: https://shop.learnitive.com/l/wp-plugin Insert zero (0) on the price box and click "I want this". Enter your email and click "Get".   

Download at [https://shop.learnitive.com/](https://shop.learnitive.com/)

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/paa0dn4c0l5slh7vbub6.png)

Please click on the link: https://shop.learnitive.com/l/wp-plugin Insert zero (0) on the price box and click "I want this". Enter your email and click "Get". 
Setup

Get a your Learnitive API key Learnitive.com > Dashboard > Settings > API 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zz8mxj5jnn1pquxd003t.png)

Set it into the Learnitive WP Plugin. Insert you API key into the WordPress plugin settings.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p96mzpw82vh9qyb996qx.png)

Finally, follow this tutorial below.

{% embed https://www.youtube.com/watch?v=N5f14wcXrd8 %}

Learn how to use Learnitive.com + Wordpress AI plugin. Details at https://www.learnitive.com/integrations
Are Self-Made Apps the Game-Changer?
Tags: discuss
Published: 2024-02-09 00:00:00

---
published_at : 2024-02-09 00:00 +0000
---
Can a portfolio of personal projects outshine traditional qualifications when it comes to landing a developer job? Share your thoughts and experiences.
<br>
Follow the DEVteam for more discussions and online camaraderie!
{% embed [https://dev.to/devteam](https://dev.to/devteam) %}
main character's background
Tags: gamedev, writing
Published: 2024-02-25 21:29:03

---
title: main character's background
published: true
date: 2024-02-09 00:00:00 UTC
tags: [ 'gamedev', 'writing' ]
canonical_url: https://onwriting.games/daily/20240209-1822-main-characters-background/
---

In traditional media, the reader has a single role, **that of the audience**.

In interactive stories, this becomes complicated because there are three roles at the same time: **audience, actor, and player**.

This introduces a somewhat profound problem in relation to the information available to them.

A character in a book (the actor) exists **in the world**. They have a pre-existing background that helps them function coherently.

In a video game, the player usually doesn't have this background, they bring their own, so there is a disconnect in their role as an actor.

This problem exists to a lesser extent in traditional media: the viewer doesn't have the same information as the actor. But it is usually subtly resolved in the introductions of the stories.

I believe that this is one of the reasons why narrative games tend towards the mystery genre: because neither the player nor the character have the background, but they have to discover everything.

Another go-to is heroism: there's not much background needed to play the heroic role, it's very well understood.

If we can create tutorials to teach very complex mechanics, why is there little work done in the construction of the character's background?

I think the solution to avoiding the easiness of mystery/heroism lies in learning to write good introductions to our stories.

Do you know any game that doesn't rely on mystery/heroism and that provides a very good introduction to the world and the character's background to give you the tools to become a good actor?
Defining boundaries between custom Drupal modules
Published: 2024-02-16 20:36:48

---
title: Defining boundaries between custom Drupal modules
published: true
date: 2024-02-09 00:00:00 UTC
tags: 
canonical_url: https://www.oliverdavies.uk/archive/2024/02/09/defining-boundaries-between-custom-drupal-modules
---

I recently made a change to a Drupal project with several custom modules.

As part of the change, there was a method that was no longer being used, so I went ahead and removed it.

There were no tests for this part of the codebase, and the existing tests were still passing.

My change was successfully finished and deployed, including removing the unused method.

A few days later, we noticed cron jobs were no longer running on the website.

The method I'd removed was attempting to be called from within a different module.

Because it no longer existed, it was causing an error and stopping the cron job from running successfully.

When I re-added the method, the cron jobs worked again.

There were no `dependencies` set in either module's .info.yml file, though that would only prevent you from uninstalling either module.

It wouldn't prevent me from deleting code used by another module.

## Here's the thing

This is why I've been [experimenting with architectural testing](https://www.oliverdavies.uk/archive/2024/02/08/experimenting-with-architectural-testing). To ensure that modules only use their own code and to start enforcing layers within each module.

Then, if I had the same situation again, I'd know straight away that there was an issue and not have to wait for the bug to be deployed to production.

P.S. Do you need immediate access to an expert Drupal Developer? [With my Drupal development subscription](https://www.oliverdavies.uk/subscription), make unlimited requests for a fixed monthly price in less time than posting to a job board!
DevX Status Update
Tags: puppet, community, devops
Published: 2024-02-21 01:13:57

---
title: DevX Status Update
published: true
date: 2024-02-09 00:00:00 UTC
tags: puppet, community, devops
canonical_url: https://puppetlabs.github.io/content-and-tooling-team/blog/updates/2024-02-09-devx-status-update/
---

## Hello, again!

Hello! Another week done, and we are back again with our weekly blog post to keep you all updated about the rumblings in the DevX team. Not too much to say this week, but rest assured there is plenty of exciting work in the pipeline.

## A Successful few days in Ghent!

What has become somewhat of a tradition for the DevX team, our engineers [David](https://github.com/david22swan) and [Gavin](https://github.com/gavindidrichsen) were able to put a face to the github handle of many of you, our great puppet community, at [Cfgmgmtcamp](https://cfgmgmtcamp.eu/ghent2024/) this week in Ghent. They had a blast getting to talk to you guys about all things Puppet, and here in the DevX team we have already began to take action on some of your advice.

There’s no better alternative than face-to-face interaction, and thanks to our team’s time in Ghent, we were able to gauge just how the community make use of some of our developer tooling, like [pdksync](https://github.com/puppetlabs/pdksync). You were also able to bring to our attention some long standing pain points with [ruby-pwsh](https://github.com/puppetlabs/ruby-pwsh), and we intend to action this!

 ![Some down time at the table in between talk sessions](https://puppetlabs.github.io/content-and-tooling-team/images/cfgmgmtcamp.jpg)

## Fixing bugs with puppetlabs\_spec\_helper

In other news, here’s a list issues that got closed out with puppetlabs\_spec\_helper this week:

- [`puppetlabs_spec_helper`](https://rubygems.org/gems/puppetlabs_spec_helper) (`7.0.4`)
  - (GH-397) - Honour default symlink when additional symlinks delcared [#431](https://github.com/puppetlabs/puppetlabs_spec_helper/pull/431)
  - (GH-422) - Allow to be optional in fixtures [#430](https://github.com/puppetlabs/puppetlabs_spec_helper/pull/430)

## Community Contributions

We’d like to thank the following people in the Puppet Community for their contributions over this past week:

- [`litmusimage#71`](https://github.com/puppetlabs/litmusimage/pull/71): “(maint) fix serverspec port tests”, thanks to [h0tw1r3](https://github.com/h0tw1r3)
- [`puppet_litmus#546`](https://github.com/puppetlabs/puppet_litmus/pull/546): “(maint) add oracle linux 8”, thanks to [h0tw1r3](https://github.com/h0tw1r3)
- [`puppetlabs_spec_helper#433`](https://github.com/puppetlabs/puppetlabs_spec_helper/pull/433): “puppet-syntax: Require 4.x”, thanks to [bastelfreak](https://github.com/bastelfreak)

## New Gem Releases

- [`puppetlabs_spec_helper`](https://rubygems.org/gems/puppetlabs_spec_helper) (`7.0.4`)
Modules Status Update
Tags: puppet, community
Published: 2024-02-21 01:11:42

---
title: Modules Status Update
published: true
date: 2024-02-09 00:00:00 UTC
tags: puppet, community
canonical_url: https://puppetlabs.github.io/content-and-tooling-team/blog/updates/2024-02-09-modules-status-update/
---

## Friday again

Wishing you all yet another happy Friday. The week here at the Pune office has been focused on making efforts towards ongoing projects and we are excited about the progress we have made. Although at this point, we do not have many updates to share from our end but do expect some new developments soon. Stay tuned with us to know more and keep your invaluable contributions coming.

## Community Contributions

We’d like to thank the following people in the Puppet Community for their contributions over this past week:

- [`puppetlabs-lvm#329`](https://github.com/puppetlabs/puppetlabs-lvm/pull/329): “Documentation fixes”, thanks to [kenyon](https://github.com/kenyon)

## New Module Releases

- [`puppetlabs-firewall`](http://github.com/puppetlabs/puppetlabs-firewall) (`8.0.0`)
Valentine's Day Massage: The Ultimate Romantic Gesture
Tags: couplesmassage, massage, swedishmassage, deeptissuemassage
Published: 2024-02-08 23:23:10

Valentine's Day, a celebration of love and affection, sees couples around the globe searching for the perfect way to express their feelings. Among the myriad of gifts and experiences, one stands out for its ability to connect, relax, and rejuvenate: the gift of a [Couples massage](https://raleighmassage.us/couples-massage/). This article delves into the soaring popularity of massages on Valentine's Day, highlighting why it's considered the ultimate romantic gesture.

The Appeal of a Relaxing Touch

In the hustle and bustle of everyday life, taking a moment to unwind and connect on a deeper level is a rare luxury. Valentine's Day offers the perfect excuse to slow down and prioritize this intimate exchange. A massage provides a serene escape, allowing couples to focus solely on the present moment and on each other.

Choosing the Perfect Massage Experience

When it comes to selecting a massage, the options are as varied as the needs and preferences of each couple. From the gentle, soothing strokes of a [Swedish massage](https://raleighmassage.us/swedish-massage/) to the deep, muscle-relieving techniques of a [deep tissue massage](https://raleighmassage.us/deep-tissue-massage/), there's something for everyone. Many spas also offer special couples' packages, creating a shared experience that enhances the bond between partners.

The Benefits Beyond Relaxation

Aside from the obvious relaxation and stress relief, massages on Valentine's Day offer deeper benefits for couples. They foster emotional intimacy, enhance physical connection, and encourage a mutual sense of well-being. This shared experience can strengthen the relationship, making it a truly meaningful and memorable Valentine's gesture.

Making It a Day to Remember

To make the most of a Valentine's Day massage, planning ahead is key. Booking early ensures availability and allows couples to choose the time and type of [massage](https://raleighmassage.us/) that best suits their preferences. Adding personal touches, such as a favorite scent in the massage oil or a special playlist, can further personalize the experience, making it uniquely theirs.

A Trend That's Here to Stay

The popularity of massages on Valentine's Day continues to grow, reflecting a broader trend towards experiential gifts that offer meaningful, shared experiences over material items. In a world where quality time is increasingly precious, a massage offers a perfect opportunity to pause, connect, and celebrate love in its most tender form.
In conclusion, the rising trend of gifting massages on Valentine's Day speaks volumes about the modern couple's desire for experiences that nourish the body, mind, and soul. It's a testament to the belief that the best gifts are those that bring us closer, making every touch, every moment, and every breath shared a testament to the depth of our connections.
Day 912 : Test Drive
Tags: hiphop, code, coding, lifelongdev
Published: 2024-02-08 23:14:06

_liner notes_:
- Professional : Got up early to attend the team meeting that was scheduled to be accommodating for folks further out east. Demoed the application I made for an upcoming conference so that I could get a bunch of people to try it out. Good news is that it worked. I've demoed it a few times this week and had no issues. After the meeting, I went back to sleep. haha Then I got up for like 3 more meetings back to back. Got to meet with my manager and demo some Web Components that I've be building. We agreed that it's at a good point and later I'll clean up the code, write some documentation and examples and publish them for others to check out and give feedback. I replied to some community questions. Also got this script working that will allow anyone with one click and entering some data to spin up the Application I made so that anyone can use it at a conference or anywhere they want to do a demo. Just need to clean up the code and get it published to a GitHub repository and test it out. Looking to do that tomorrow.

- Personal : Last night, I went through Bandcamp and picked up some projects. I also looked into some properties. Finished up the final Web Component for work so that I could demo it to my manager and get the ticket completed. Didn't do any actual coding on my side project, but did some research. Went to bed early, since I had the early team meeting the next morning so I didn't watch "Rurouni Kenshin".

![The image is of Old Harry Rocks, a chalk formation located on the Isle of Wight, England. The rocks are located on the southern coast of the island, and are a popular tourist destination. The image shows the rocks from a distance, with the English Channel in the background. The sky is blue and there are some clouds in the distance. The image is taken from a high angle, and shows the rocks in their entirety.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x4ud8jniulet2u4mm18u.jpg)

It's interesting that the AI I use to generate the alt image for the picture above, gave back the code I would need to place an image. Previously, it would just give me the description. I modified my prompt to be a little more explicit on what I'm looking for. Got a much better description now. Going to eat dinner. Put together tracks for the radio show on Saturday. Look up the profiles for the artists I bought off Bandcamp for my weekly social media posts and do the same for the artists we play on the radio show. I really need to get something working with creating/editing events on my side project. I saw that "The Marvels" is up on Disney+. I may watch that tonight. 

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube 4vdi7FB55DM %}
Early Adopter's guide to Umbraco v14 - Property Editor Series.
Published: 2024-02-08 23:12:36

Property editors are a slightly more complex area, and require a few posts so I've posted them in their own series. 

[EarlyAdopter's Guide Umbraco v14 - Property Editors Series](https://dev.to/kevinjump/series/26366)

Where we've split up property editor creation in Umbraco v14 into three parts: 

- [Property editors - Config](https://dev.to/kevinjump/early-adopters-guide-to-umbraco-v14-property-editors-config-4oih)
- [Property editors - User Interface](https://dev.to/kevinjump/early-adopters-guide-to-umbraco-v14-property-editors-ui-4ffg)
- [Property editors - Backend (c#)](https://dev.to/kevinjump/early-adopters-guide-to-umbraco-v14-property-editors-backend-c-2oe)
Early Adopter's guide to Umbraco v14 - Property Editors - Backend (c#)
Published: 2024-02-08 23:07:36


Along side all the front end elements to define your property type, you need to also define some things in umbraco, or you will just get a 'cannot find data-type' error when ever you create one. 


## DataEditor.
All property types need a data editor in the backoffice, Umbraco looks for a dataeditor that matches the tag of your property editor before creating the editor.

```cs
[DataEditor(
    alias: "styled.textbox", 
    type: EditorType.PropertyValue, 
    name: "Styled textbox",
    view: "styledtextbox",
    ValueType = ValueTypes.String,
    Group = Constants.PropertyEditors.Groups.Common,
    ValueEditorIsReusable = true)]
public class StyledTextboxPropertyEditor : DataEditor
```

> **Its important here to define the view! I don't think the view is currently used, but the Umbraco code is still looking for it, without the view value set your editors will not be created**

### Configuration Editor,
If you are building a complex property editor, then you will need to define the DataValue editor and Configuration editor for your datatype. 

This code currently is *i think* [the same as it is in Umbraco v13](https://docs.umbraco.com/umbraco-cms/extending/property-editors).

The back end code controls how your editor is serialized in and out of the database and the data formats that are used. 

---

**You don't always need all of the next bit!**

If you are building a simple editor (something that saves a string) a lot of this content is boilerplate and doesn' change much (you might not even need it in some cases!)

### Value Editor

The value editor is where you can put things like server side validation for your property editor. 

in our sample we are defining this as part of our data editor.

```ts
 protected override IDataValueEditor CreateValueEditor()
     => DataValueEditorFactory.Create<StyledTextboxValueEditor>(Attribute!);

 internal class StyledTextboxValueEditor : DataValueEditor
 {
     public StyledTextboxValueEditor(
         IShortStringHelper shortStringHelper,
         IJsonSerializer jsonSerializer,
         IIOHelper ioHelper,
         DataEditorAttribute attribute)
         : base(shortStringHelper, jsonSerializer, ioHelper, attribute)
     {
     }
 }
```

### Configuration Editor
Here we are really doing a lot of code to say, our datatype is a string (which we have already done, but for completness)

```cs
public class StyledTextboxConfigurationEditor :
    ConfigurationEditor<StyledTextboxConfiguration>
{
    public StyledTextboxConfigurationEditor(
        IIOHelper ioHelper,
        IEditorConfigurationParser editorConfigurationParser) : base(ioHelper, editorConfigurationParser)
    { }
}

public class StyledTextboxConfiguration : IConfigureValueType
{
    public string ValueType => ValueTypes.String;
}
```