teleren/devto huggingface dataset:
and a pinch of chaos, please
Tags: gamedev, writing
Published: 2024-02-25 21:28:49

---
title: and a pinch of chaos, please
published: true
date: 2024-02-07 00:00:00 UTC
tags: [ 'gamedev', 'writing' ] 
canonical_url: https://onwriting.games/daily/20240207-730-and-a-pinch-of-chaos-please/
---

When you want to make hot chocolate, you put milk (plant-based, obviously) and cocoa in a glass.

The order is up to you so as not to encourage pet peeves.

But it's not enough to just put cocoa and milk.

**You have to stir**.

Every static system needs an external and chaotic force to reach a new balance, better than the previous one.

Why does this matter to you?

Because we are already tired of the hero's journey.

We are already tired of the Disney and Marvel structure.

We are already tired of "choices matter" that **don't really matter**.

Most of today's narrative games are milk and cocoa, but few have been stirred.

What in your life experience would inject a little chaos into predefined structures?

It is impossible for our game to "be talked about" if we use the same forms as everything before.

Why tell the same story, in the same way?

I am rewriting some sections of Dance of the Spirits with this in mind...

PS: This came up yesterday during a conversation with my respected friend [Mark Cordell Holmes](https://www.linkedin.com/in/markcordellholmes/), follow him on LinkedIn, his insights into visual storytelling are out of this world.
Running tests in parallel with Paratest
Published: 2024-02-09 22:42:03

---
title: Running tests in parallel with Paratest
published: true
date: 2024-02-07 00:00:00 UTC
tags: 
canonical_url: https://www.oliverdavies.uk/archive/2024/02/07/running-tests-in-parallel-with-paratest
---

Something that I've recently added to my PHP projects is [Paratest](https://github.com/paratestphp/paratest).

It adds parallel testing to PHPUnit, so your tests will be run in parallel instead of sequentially.

For the example module in my [automated testing in Drupal email course](https://www.oliverdavies.uk/atdc), using Paratest reduces the execution time from ~16 seconds to ~8 seconds.

In a client project with 136 tests, it reduces the time from four and a half minutes to less than two minutes.

This is a big improvement just from running a single Composer command to add Paratest.

There's also [an open issue](https://www.drupal.org/project/drupal/issues/2781123) for using it for Drupal core's tests, which is something I'll keep an eye on and will look to contribute to.

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!
Welcome Thread - v262
Tags: welcome
Published: 2024-02-07 00:00:00

---
published_at : 2024-02-07 00:00 +0000
---
![A CGI hand waving](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9vjr2xpp6u0io52cl5h2.gif)

--- 

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

3. Come back next week to greet our new members so you can one day earn our [Warm Welcome Badge](https://dev.to/community-badges?badge=warm-welcome)!
Harnessing AI for Hyper-Personalized Cold Email at Scale
Tags: outreach, email, ai
Published: 2024-02-06 23:59:24

Standing out in today's cold email jungle is a must. Forget bland messages lost in the inbox abyss. Personalized outreach is your secret weapon, boasting higher open rates, responses, and conversions. Why? It shows genuine interest, speaking directly to their needs.

But crafting individual messages for large lists? Forget about it. That's where AI swoops in, a superhero on a personalization mission.

## Let's explore the magic AI sprinkles on your emails.

[Personalized messages grab attention](https://ecold.ai/blog/how-ai-email-personalization-can-boost-your-conversion-rate), making people stop, read, and reply. It's like saying, "Hey, I actually get you!" with every word.

Now, how does AI work its magic? It's a language whiz, crafting messages in your desired tone with the right information. The richer the info you feed it, the better the personalization. Think of it as fueling your own AI wordsmith.

## So, where do you get this info? 

Scrape tools, LinkedIn, CRMs – there are many sources. Just make sure it's formatted so the AI can understand it, like giving it a name, company, industry, even a bio.

Ready to unleash the AI dragon on your prospects? Here's how: 
- Tell the AI your goal (think "get a reply!")
- Set the tone (professional, witty, whatever fits), and feed it the formatted info. 

It'll then cook up personalized icebreakers – like opening lines that break the ice. Don't like what it spits out? Refine the prompt, experiment, and get it just right.

## Want to streamline this whole process? 

Check out AI tools like [eCold.ai](https://ecold.ai). Just give it a CSV file with your prospects' LinkedIn URLs, and boom! It extracts and formats their data, then magically generates 6 personalized lines for each one. All this happens in seconds, for hundreds of prospects. Go try it for free – no credit card needed!

**Remember:** Personalizing cold emails with AI isn't just possible, it's the key to unlocking successful outreach. Stand out, forge connections efficiently, and watch your conversions soar. Let AI be your secret weapon in the email battlefield!
Harnessing AI for Hyper-Personalized Cold Email at Scale
Tags: outreach, email, ai
Published: 2024-02-06 23:59:22

Standing out in today's cold email jungle is a must. Forget bland messages lost in the inbox abyss. Personalized outreach is your secret weapon, boasting higher open rates, responses, and conversions. Why? It shows genuine interest, speaking directly to their needs.

But crafting individual messages for large lists? Forget about it. That's where AI swoops in, a superhero on a personalization mission.

## Let's explore the magic AI sprinkles on your emails.

[Personalized messages grab attention](https://ecold.ai/blog/how-ai-email-personalization-can-boost-your-conversion-rate), making people stop, read, and reply. It's like saying, "Hey, I actually get you!" with every word.

Now, how does AI work its magic? It's a language whiz, crafting messages in your desired tone with the right information. The richer the info you feed it, the better the personalization. Think of it as fueling your own AI wordsmith.

## So, where do you get this info? 

Scrape tools, LinkedIn, CRMs – there are many sources. Just make sure it's formatted so the AI can understand it, like giving it a name, company, industry, even a bio.

Ready to unleash the AI dragon on your prospects? Here's how: 
- Tell the AI your goal (think "get a reply!")
- Set the tone (professional, witty, whatever fits), and feed it the formatted info. 

It'll then cook up personalized icebreakers – like opening lines that break the ice. Don't like what it spits out? Refine the prompt, experiment, and get it just right.

## Want to streamline this whole process? 

Check out AI tools like [eCold.ai](https://ecold.ai). Just give it a CSV file with your prospects' LinkedIn URLs, and boom! It extracts and formats their data, then magically generates 6 personalized lines for each one. All this happens in seconds, for hundreds of prospects. Go try it for free – no credit card needed!

**Remember:** Personalizing cold emails with AI isn't just possible, it's the key to unlocking successful outreach. Stand out, forge connections efficiently, and watch your conversions soar. Let AI be your secret weapon in the email battlefield!
PARTY ROCK TAX MAN!
Published: 2024-02-06 23:46:06

Just created another Party Rock app, 

Tax Season Guide Assistant Pro, Enter in some numbers, your state, dependent info. . get a detailed analysis of your tax situation for the year 2023. 

https://partyrock.aws/u/laloadrianmorales/kOwQ1IaR2Z/Tax-Season-Guide-Assistant-Pro/snapshot/ga9G1f8rL
Gerando dashboard ao resultado de saida com K6🖼
Tags: grafana, testing, performance, k6
Published: 2024-02-06 23:19:16

Uma das funcionalidades altamente aguardadas pelos usuários de ferramentas de testes é a capacidade de gerar métricas e painéis de visualização de resultados.

Gráficos que apresentam dados tendem a agregar muito mais valor do que dados brutos vistos por meio de linhas de comando ou arquivos de saída.

O K6 se destaca como uma ferramenta extremamente poderosa quando se trata de visualização de métricas em gráficos e painéis do ecossistema do Grafana. No entanto, a geração de dashboards ou relatórios HTML anteriormente dependia de plugins externos, como o [K6 reporter](https://github.com/benc-uk/k6-reporter) e o [xk6-dashboard](https://github.com/grafana/xk6-dashboard).

Neste artigo, exploraremos como gerar relatórios nativamente, eliminando a necessidade de plugins externos.

## Dashboard web🖥️
Na versão v.0.49.0 do K6, foi introduzido um novo recurso de visualização em tempo real das métricas do K6. Esse painel está disponível ao usar uma flag específica via CLI.

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

## Gerando dashboard🖨️
Para geração do dashboard, basta utilizar a flag `K6_WEB_DASHBOARD`, vamos realizar uma execução de exemplo para o seguinte script:

```
import http from 'k6/http';
import { sleep } from 'k6';

export const options = {
    vus: 5,
    duration: '30s',
}

export default function(){
    const BASE_URL = 'https://test-api.k6.io/public/crocodiles/';

    const res = http.get(BASE_URL);

    sleep(1);
}
```

Ao executar o comando `K6_WEB_DASHBOARD=true k6 run teste.js`, você pode acessar o endpoint http://localhost:5665 para visualizar as métricas em tempo real.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7eap29jz0ynmrwxvfhgs.gif)

> O painel atualiza a cada 10 segundos, portanto, em testes muito curtos, as métricas provavelmente não serão carregadas.

# Exportando o resultado em relatorio📃
Para exportar o dashboard para um relatório HTML, você pode adicionar a propriedade `K6_WEB_DASHBOARD_EXPORT`. Ao modificar nosso comando de execução, teremos algo como: `K6_WEB_DASHBOARD=true K6_WEB_DASHBOARD_EXPORT=report.html k6 run teste.js`.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/asl5hrci3fbtkm26w75m.gif)
> Observe que é necessario informar o nome do arquivo de saida e o formato html.

## Conclusão❤️

Com a nova funcionalidade de dashboard em tempo real, agora podemos demonstrar métricas de forma visual, agregando valor aos resultados e informações obtidas.

A capacidade de exportação para arquivo HTML abre caminho para a geração de relatórios sem a necessidade de módulos externos ou configuração adicional a fase de desmontagem.

Gostou do conteúdo e quer saber mais sobre testes de performance com K6? Então não deixe de conferir meu curso na Udemy:

- [Teste de performance com K6](https://www.udemy.com/course/teste-de-performance-com-k6/?referralCode=95CCD8BC9F22A2A96BDA) ✨
Day 910 : Living Room
Tags: hiphop, code, coding, lifelongdev
Published: 2024-02-06 23:07:23

_liner notes_:
- Professional : Slow but kind of productive day today. Had a couple of meetings. Got to do a demo of the application I made and it worked. Finally figured out a solution for a community question after going back and forth with the team for a while. Had to dig deep into the docs and found this thing I've never seen before. Did a PoC and it looks like it will work for what the person was requesting. After that, I battled making a new Web Component. Had to do a bunch of refactoring to work with a new SDK, but I think I got it. I was hoping to be done with the PoCs for all the new Web Components, but I'm got 2 more that I can hopefully get finished tomorrow.

- Personal : Got some financial stuff out of the way. Refined the authentication for my side project. Added a logout button and made it so that I can tell if the user still has an active session to log them in. This will help with not having to log in every time you go to a new page. Went through some tracks for the radio show. Didn't get a chance to watch "Rurouni Kenshin" since I had an early meeting.


![The image is of a beautiful landscape with a mountain range in the distance, a lake in the foreground, and trees on the shore. The water in the lake is crystal clear with a reflection of the mountains and trees. The sky is blue and there are some clouds. The location is most likely Grand Teton National Park in Teton Range, Wyoming.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/8h95g8kfuv8e5w75kydz.jpg)

Going to look at some properties. I'm supposed to head there next week, so I'd like to have a couple of places on a list to check out. Want to go through some tracks for the radio show. Want to see if I can get some data saved to and read from KV or I may just use a regular database. Need to come to a decision by tonight. If I have time, I want to watch an episode of "Rurouni Kenshin". Side note: I've made some slight modifications to the bed in my van. Feels kind of more like a chair and my work area is becoming like a living room. 

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube 8KTINMTG-O0 %}
Passion: Ivoire East New Cairo
Published: 2024-02-06 13:20:13

هل هناك شغف للمنزل لديكم مثل لدينا، هل تعلم انك الان مؤهل للسكن في كمبوند ايفوري ايست التجمع الخامس، الكل يحب التجمع الخامس

التجمع الخامس من ارقي الاماكن في مصر، شركات البرمجة في التجمع الخامس كثيره، و كثيراً ما يحب المبرمجين و اصحاب المهن الحرة التواجد في التجمع لخامس، مصدر الاهام و الترفيه و السعادة في التجمع الخامس

و الشئ الذي يحدث دوما هو ، انك بمجرد التوجد في التجمع الخامس، و ان كان حتي لاول مره، سوف تتعلق بجديه بهذه المنطقة الحيوية و الجميلة جداً في مصر، هل تعلم انك سوف تود شراءعقار بعد ذلك و الاستقرار في التجمع الخامس

هذاكان ما حدث مع جميع من سبقوك، للتجمع الخامس جاذبية شديدة، و عند البحث عن افضل كمبوند في التجمع الخامس فسوف يكون كمبوند ايفوري ايست  التجمع الخامس

تعرف الان علي تفصيل هذا الكمبوند من هنا: [Ivoire East New Cairo](https://premiumaqar.com/%D9%83%D9%85%D8%A8%D9%88%D9%86%D8%AF-%D8%A7%D9%8A%D9%81%D9%88%D8%B1%D9%8A-%D8%A7%D9%8A%D8%B3%D8%AA-%D8%A7%D9%84%D8%AA%D8%AC%D9%85%D8%B9-%D8%A7%D9%84%D8%AE%D8%A7%D9%85%D8%B3/
)

![المنازل الراقية هي ما تستحق العناء](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ue2omz3rk3qcavdqiitn.jpeg)
و بعد ن تتعرف عليه، فكر بجدية في ان تكون قريباً مننا في هذا الكمبوند الفخم، المنازل متلاصقة و منظمة باسلوب هندسي روعة، لا تفوت الفرصة
Limitations of Cookies
Tags: cookies, learning, ruby
Published: 2024-02-06 22:30:43

When I was working on my PokeLucky application (https://github.com/jeeheezy/sinatra-pokelucky), which interacts with the PokeApi, I tried to respect the PokeApi rule to cache information so there wouldn't be too many repetitive API calls. Since I was unfamiliar with how to cache information, I decided I'd just store the necessary data I got from the API into cookies to call back a later time. All was working fine until at a certain point, I got an error saying that I was trying to parse a nil object. Taking some time to debug, I found out it was because my conditions which look at if a Pokemon info was saved on a cookie did not take the expected "if" condition. 

The core of the issue was that at a certain point, my cookie did not update with the latest information from the API because it had gotten too big. It seems that cookies have a byte limit of ~4000 bytes, which is not a lot. Even more to consider is that the best practice is to ensure the total bytesize of cookies doesn't exceed ~4000 per domain, not per cookie. I guess this is why learning how to use sessionStorage or localStorage is important since their storage capabilities are far greater than that of 4kb of cookies, although I'm not sure how one would access them in Ruby since I understand the two storages to be more front-end related.

TL;DR, cookies have bytesize limit and should not be the primary location to save continuous influx of data.
Ibuprofeno.py💊| #46: Explica este código Python
Tags: python, spanish, learning, beginners
Published: 2024-02-06 22:13:18

## **<center>Explica este código Python</center>**
#### <center>**Dificultad:** <mark>Básico</mark></center>

```py
## Reto #46
lista_compras = ["huevos", "pan"]
print(lista_compras * int(3.5))
```

👉 **A.** `['huevos', 'pan', 'huevos', 'pan', 'huevos', 'pan']`
👉 **B.** `['huevos', 'pan', 'huevos', 'pan']`
👉 **C.** `["huevos", "pan"]`
👉 **D.** `TypeError`

---

Respuesta en el primer comentario.
Live update frontend
Published: 2024-02-06 22:08:29

How can I update a webpage live, without the user refreshing the page or doing any thing?

Example: Audience is awaiting a live video stream to start, but until we go live, we show them a promotion video. When our artist is ready, we reveal the live video.

I imagine that I must use fetch-api to replace content (video url). But how do I do that in a smart way? Will fetch need to be run every second, and wont that use many resources. Thanks so much!
HIRE A CERTIFIED CRYPTO RECOVERY EXPERT \ WIZARD WEB RECOVERY
Published: 2024-02-06 22:08:21

If a phishing attack took place and you lost your hard-earned Bitcoin, you are not alone. But worry not—Wizard Web Recovery can solve all of your problems. To what extent, though, is lost Bitcoin recovered by Wizard Web Recovery? To traverse the intricacies of the blockchain, Wizard Web Recovery makes use of cutting-edge technology and algorithms. They can rapidly locate the location of your misplaced Bitcoin by looking at transaction patterns and flagging questionable addresses. The likelihood of a successful recovery is greatly increased by this innovative method. Success stories are heartening, but it's important to assess Wizard Web Recovery's success rate and the variables that may affect it. The time of the rehabilitation effort is one of the factors. Your chances of finding your missing Bitcoin are better the sooner you report the occurrence and get help. Furthermore, the intricacy of the phishing assault and the resources at Wizard Web Recovery's disposal may also have an impact on the success rate. Nonetheless, Wizard Web Recovery has shown promising results, giving hope to those who thought their lost Bitcoin was gone forever. Email Wizard web recovery directly via: Wizardwebrecovery(at)programmer (.) Net
Desafios de Segurança em Aplicações React Native: Fique Atento! 👀🔒
Published: 2024-02-06 22:02:49

Olá, comunidade do LinkedIn!

**🚨 Explorando a Segurança em Aplicações React Native: Um Alerta Importante! 🚨**


O React Native tem revolucionado o desenvolvimento móvel, proporcionando eficiência e agilidade. Contudo, como em qualquer tecnologia, a segurança deve ser uma prioridade. Vamos discutir um desafio relevante que todos os desenvolvedores React Native devem ter em mente.


**O Problema:**

Potenciais Vulnerabilidades de Segurança em Aplicações React Native


**Origens Diversificadas de Código:**

Aplicações React Native frequentemente incorporam módulos de código nativo, especialmente para interações específicas com o sistema operacional. Isso cria uma variedade de origens de código, aumentando o risco de vulnerabilidades.


**Dependências Desatualizadas:**

Muitas aplicações utilizam bibliotecas e módulos de terceiros. A não atualização regular dessas dependências pode deixar a aplicação suscetível a falhas de segurança já corrigidas em versões mais recentes.


**Armazenamento Local Inseguro:**

A gestão inadequada de dados locais, como tokens de autenticação, pode expor a aplicação a ameaças de segurança, especialmente se não houver uma devida criptografia ou medidas de proteção.


**O Que Você Pode Fazer:**

Auditoria de Código: Regularmente analise e audite seu código, especialmente módulos nativos e bibliotecas de terceiros, em busca de possíveis vulnerabilidades.


**Atualizações Constantes:** 

Mantenha suas dependências e bibliotecas atualizadas para garantir que você esteja utilizando versões corrigidas e seguras.


**Armazenamento Criptografado:**

Ao lidar com dados sensíveis, certifique-se de implementar técnicas de armazenamento local seguro, como criptografia de dados.


**Testes de Segurança:**

Integre testes de segurança em seu ciclo de desenvolvimento para identificar possíveis falhas antes de implementar em produção.


**Lembre-se:**

A segurança é uma jornada contínua, não um destino final. Colabore com a comunidade, compartilhe boas práticas e mantenha-se atualizado sobre as últimas tendências em segurança de aplicativos móveis.

Vamos manter nossas aplicações seguras e robustas! 💻🔐✨


![Image description](https://global.discourse-cdn.com/nubank/original/3X/d/1/d12a7ad37b6b56a7c0489001d76512523a755e1b.gif)

Seja seguro, seja React Native! 🚀
Mastering Ruby on Rails By Building an LMS
Tags: ruby, rails, webdev
Published: 2024-02-06 21:55:25

---
title: Mastering Ruby on Rails By Building an LMS
published: true
description: How to get better as a web software engineer by having a practical and intentional domain to apply it to. This article is step one in implementing the junior-to-senior pathway that I laid out last year. it is an effort to refine that process.
tags: ruby, rails, webdev
# cover_image: 
# Use a ratio of 100:42 for best results.
# published_at: 2024-02-05 17:05 +0000
---

## Background
Last year I proposed a pathway from junior to senior as a software engineer and getting out of the loop of endless tutorials that we can so often get stuck in. That [article](https://dev.to/devguykyle/how-to-get-better-as-a-web-developer-4ji6) had a few practical means of doing this with the end goal being that, "the final key is to deliver."

## The Premise
Talk is cheap. In an effort to carry out this means of study more effectively in the present, though I already hold a day job as a senior software engineer, I thought it would be great to build an application and maintain it publicly. So I have taken a project that I started a while back through a tutorial that involved building an LMS in Ruby using Rails as a framework and launched it into the git-o-sphere for quasi-public viewing and I will be using it as an environment for ongoing development and application of things that I learn through tutorials, talks, blogs, and interesting things I uncover in my day job.

## The First and Next Step
The first step was to find a project that would have enough intricacy to add further features and have enough personal interest on my end to keep me going beyond just a willingness to learn. Thusly, I went with an LMS because I enjoy the ed-tech space and see enough feature-rich LMSes to know that there will be space to grow.

So with that, we are off.

Look for more rails, web development, and project management articles alongside updates on this project as time roles on!

Best Regards!
Reactjs Module Federation -Navigate/redirection inside Remote from Host
Tags: modulefederation, react
Published: 2024-02-06 21:52:55

I have implemented Micro frontend concept using Module Federation, but the challenge here is unable to navigate/redirection inside the remote application from Host application, by <tabs> and <Overlay> I am able to achieve but what I want is navigation and page redirection inside the remote application, how can achieve this, any help on this ?
react-native splash screen
Tags: reactnative, splash
Published: 2024-02-06 21:37:21

I have an application that I developed using React Native, and this application is available on both Android devices (tablets and phones) and iOS devices (iPads and iPhones). I want to create a Splash screen for this application.

My goal is to have a Splash screen that looks good on all devices.

1- I want it to look good on all devices. Is there a package that can automatically resize/scale the splash image to make it look good on all screens?

2- If there is no such package, what should I do? What steps should I follow?