teleren/devto huggingface dataset:
Virtualbox 7.0.4 kickstart issue
Tags: packer, virtualbox, vagrant
Published: 2022-12-08 12:39:16

I was building a new version of [YugabyteDB](https://www.yugabyte.com) [vagrant](https://www.vagrantup.com) box with [packer](https://www.packer.io) and [virtual box](https://www.virtualbox.org). Because we (Yugabyte) have a new preview release out.

If you are interested in the packer scripts, you can see them in my [vagrant-yugabyte repository](https://github.com/fritshoogland-yugabyte/vagrant-yugabyte).

If you are interested in the outcome of the packer scripts building YugabyteDB, you can see the build boxes [here](https://app.vagrantup.com/boxes/search?order=desc&page=1&provider=&q=yugabyte&sort=updated&utf8=✓). A description of how to use this can be found [here](https://www.yugabyte.com/blog/the-yugabytedb-vagrant-box/).

However, I was unable to build the boxes with packer for some reason. It turned out that this wasn't an easy to fix or obvious issue. In fact, I had to search quite hard to find an answer. I am pretty sure my friend [Tim Hall (oracle-base) ran into this issue too](https://oracle-base.com/blog/2022/11/20/virtualbox-7-0-4-and-vagrant-2-3-3-another-virtualbox-fail/). Finally, I found a description of the issue on packer GitHub: [Packer 1.8.4 not working with Virtualbox 7.0.4+ #12118](https://github.com/hashicorp/packer/issues/12118). 

The most important thing is that there is a resolution; add:
```
        [
          "modifyvm",
          "{{.Name}}",
          "--nat-localhostreachable1",
          "on"
        ]
```
As a setting to the `builders` `vboxmanage` section.

So that is what you need to do if you find your packer (automated) RHEL builds fail with the message:
```
dracut-initqueue[<pid>]: curl: (28) Failed to connect to 10.0.2.2 port <port>: Connection timed out
dracut-initqueue[<pid>]: Warning: Problem : timeout. Will retry in 1 seconds. 3 tries left.
```
(message in the console of the VM that is build)

Virtualbox version: 7.0.4r154605
packer version: 1.8.4
OSX version: 12.6.1 (Intel)
Mock Service with Groovy
Tags: groovy, mock, testing
Published: 2022-12-08 12:30:18

Cuando dependemos de una servicio de tercero, nos encontraremos con la situación que dicho servicio no está disponible por un tiempo. Para eliminar esa dependencia, podemos crear un _MockService_ por nuestra cuenta.

En el ecosistema de **Groovy**, existe una librería que nos facilita: RatPack.

---

En una solo archivo, configuramos los métodos y las respuestas. Es posible agregarle lógica, pero la intención es que tengamos respuesta.

```groovy
@Grab("io.ratpack:ratpack-groovy:1.3.3")
import static ratpack.groovy.Groovy.ratpack
ratpack {
  handlers {
    path("Transaccion.asmx/getAffiliationSearch") {
      byMethod {
        get {
          response.contentType "text/xml"
          response.send '''<?xml version="1.0" encoding="utf-8"?>
            <ArrayOfStAffiliationSearch xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https://mifarmaws02.orbisfarma.com.mx/">
                <stAffiliationSearch>
                    <transactionid>183477976581</transactionid>
                    <cardnumber>D007330811</cardnumber>
                    <accountnumber>D007330811</accountnumber>
                    <cardname>VILMA ALEJANDRINA</cardname>
                    <cardlastname>FERNANDEZ@RUIZ</cardlastname>
                    <cardbirthdate>19641008</cardbirthdate>
                    <cardgender>F</cardgender>
                    <carddoctor />
                    <cardcontactpreferences>1</cardcontactpreferences>
                    <cardemail />
                    <cardphone />
                    <cardcellphone />
                    <cardaddress>| | | | | |</cardaddress>
                    <cardrelated>8601080650271</cardrelated>
                    <cardfields>0</cardfields>
                    <errorid>0</errorid>
                    <message />
                    <transactiondate>2022-11-24 18:00:00</transactiondate>
                </stAffiliationSearch>
            </ArrayOfStAffiliationSearch>'''

```
```powershell
groovy mock-service.groovy
```

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



---

## Documentación

https://ratpack.io/
55%, Good Things Are Happening
Published: 2022-12-08 12:26:56

Since my last post, I've been talking to 2 separate companies for 2 jobs that are in completely different fields. One is a job as a German speaking customer service specialist, the other is as a JavaScript developer at a company, called PortalGrup. 

PortalGrup has given me a case to me to see my capabilities in web development, more specifically JavaScript. Here is the link for the website that I handed yesterday:

https://github.com/muratbtekin/Cekilis

I can honestly say that I am proud of my achievements in both fields. After excruciating years of depression and anxiety, now, finally I've returned to my old self, and even better: to an upgraded version of my old self. 

Only a person with a similar history of this big of an hurdle -that took years- can truly empathize with me on that. 

Anyways, leaving the torturous part aside, now the sun is shining on my face yet again, and I will try to get the best out of it for the rest of my life without ever turning back to dark...

That German-related job will start next week, and in the meantime, I will have heard from the JavaScript job. I'll of course go with programming in the first chance that I get. But even if I start the German-related job, I'll keep on programming and I'LL CONQUER IT SOONER OR LATER!
State of Diversity in Tech Groups in Ireland and Northern Ireland 2022
Tags: diversityintech, community, irishtechcommunity
Published: 2022-12-08 12:18:42

It's that time of the year where I review the listings of **Diversity Groups Around Ireland and Northern Ireland** on [diversityintech.fyi/diversity](https://diversityintech.fyi/diversity)

✨ We still have **over 70** active groups around the island of Ireland!

😢 Covid really hit events hard, and folks find it hard as they have limited time to organise get togethers (in-person or remote). So a few have left us or have been inactive, so I have taken them off the list but they are not forgotten.

💖 If anyone wishes to revive any of the orgs listed below or in the **Archived** list. please do so, we would be delighted to have them back, and share all the good things you will be doing with the group. 

🆕 Same goes if you are setting up a new group, let us know and we will update the listings.

## 👋 We see you soon list
😿 This is the part I don't like to write, the orgs where organisers have stepped back either permanently or have remain inactive for a few years.

👉 Note: If these groups are still active but have moved to another platform, do let us know and we can update the listings with the correct info. 

![Bye giphy - waving hand crying](https://media.giphy.com/media/qe2a1AwIc4UyL6uag8/giphy.gif)

* **Belfast IT Girls (Belfast, Northern Ireland)** - Removed Wed Dec 07 2022
* **Codess Dublin (Microsoft’s women in tech meetup group) (Dublin)** Removed Wed Dec 07 2022
* **Intertech Ireland (Dublin)** Removed Wed Dec 07 2022
* **Ladies that UX Dublin (Dublin)** Removed Wed Dec 07 2022
* **LoveLace Space (Dublin)** Removed Wed May 18 2022
* **Mentor HER (Dublin)** Removed Wed May 18 2022
* **ngGirls Dublin (Dublin)** Removed Wed May 18 2022
* **Rails Girls Galway (Galway)** Removed Wed Dec 07 2022
* **Tech Women Dublin (Dublin)** Removed Wed May 18 2022
* **Tech Women for Africa (Dublin)** Removed Wed May 18 2022
* **Women in Tech Entrepreneurs & aspiring (Dublin)** Removed Wed May 18 2022
* **Women in Technology Galway (Galway)** Removed Wed May 18 2022
* **Women of Wearables Dublin (Dublin)** Removed Wed May 18 2022
* **Women in Technology Galway (Galway)** Removed Wed May 18 2022

## 🎉 And now the good news...
![Welcome to the Team giphy - kid giving thumbs up](https://media.giphy.com/media/hr4Ljjyj0L9RYlihLr/giphy.gif)
###5 new groups were added to the list this year! 
* DATA + WOMEN IRELAND
* GTA Black Wowen In Tech - Ireland
* Women in Animation Ireland
* Women in eDiscovery Dublin
* Women in Product Dublin

---

With that, I would like to wish everyone a Merry Christmas and a Happy New Year! 🎄🎆

![Happy Holidays giphy with black cat with red hat](https://media.giphy.com/media/xTka03xmWtometAXQc/giphy.gif)
Senior Full-stack JavaScript Engineer Needed
Tags: webdev, javascript, react, node
Published: 2022-12-08 12:08:33

Would you be interested in creating a brand new platform using JavaScript or Typescript on both BE and FE?
We have a unique opportunity for you if you are a Senior Full-stack JS Engineer from Slovakia, the Czech Republic, Poland, Hungary, or one of the Balkan countries and would like to work 100% remotely on a long-term freelancing contract.
Our client begins constructing a marketplace for home buyers. This is your unique chance to implement the best practices and be responsible for technical decisions right now!
You will work on the following projects:
Buyer application (customer portal)
Seller application (agent portal)
Frontend website
Integrations with partners (i.e. mortgage systems)

Requirements
Must-have:
5+ years of experience with full-stack web development
Experience with Node.js
Experience with React.js
Nice-to-have:
Experience with AWS Lambda (serverless)
German language (co-founders are Swiss but they speak fluent English)
Contract Terms:
Freelance contract (Permanent/Full-time with un-limited duration) with regular monthly payment/invoiced
Fully remote with Flexible working hours
Desired start date: Beginning of January 2023
Why work there?
Great co-founders
Opportunity to start a new project from scratch & make technical decisions
Adopt technical best-practices (serverless, DevOps) and no legacy code
A start-up culture that encourages innovation
Willing to interview candidates from anywhere.

Simply email your resume to career@hr-champ.com 
#javascript #fullstack #react #reactjs #node #nodejs #AWS #lambda #techjob #romania #serbia #croatia #bulgaria #poland #czechrepublic #slovakia #portugal

Follow us on social media to learn about upcoming job opportunities
https://lnkd.in/ezbhNN_D
https://lnkd.in/fpsCy9E
https://lnkd.in/fFiUDpy
20 GAMES PENGHASIL RUPIAH
Tags: slotmaxwin, bemo88, gacormaxwin
Published: 2022-12-08 12:04:56

[Maxwin Slot](https://www.elizabethjamesart.com/slotmaxwin/) - Permainan penghasil uang gacor gampang menang ini sudah lama sekali dikenali oleh beberapa orang di semua dunia, dimainkan dengan memakai sebuah Mesin Slot untuk memenangi sebuah hadiah.

Karena tipe Permainan ini demikian terkenal dilapisan beberapa orang dari penjuru dunia, banyak Developer Game yang berminat untuk membuat Games nya yang dapat dimainkan oleh semuanya orang.

Bahkan juga ada banyak tipe Games Slot yang dapat memberi uang ke pemakai nya dengan gratis, tetapi umumnya pemakai wajib melakukan pengisian saldo akun game saat sebelum dapat mainkan nya.

Karenanya pada pembahasan artikel ini kali, kami sudah sediakan 20 Games terpopular guna dapatkan keuntungan uang tunai dari permainan slotmaxwin gampang menang dengan hadiah kemenangan maxwin bernilai besar.

1. Game Online Pragmatic Play
2. Game Online PG Soft
3. Game Online Habanero
4. Game Online Play Tech
5. Game Online Micro Gaming
6. Game Online Joker123
7. Game Online Ion Slot
8. Game Online CQ9
9. Game Online Slot88
10. Game Online Flow Gaming
11. Game Online Spade Gaming
12. Game Online JDB Gaming
13. Game Online Play n Go
14. Game Online RTG slots
15. Game Online Advant Play
16. Game Online Gamatron
17. Game Online Astro Tech
18. Game Online Yggdrasil
19. Game Online Live22
20. Game Online One Touch

Itulah list daftar game uang asli dengan tingkat kemenangan yang tinggi. Sobat juga dapat mengunjungi salah satu narasumber andalan kami [PG SLOT](https://198.187.30.90/).

Demikian artikel ini kami buat bersama admin xiaonii yang bertugas saat ini. Akhir kata, sampai berjumpa dipermainan.
.NET 7 + Docker
Tags: docker, dotnet, beginners, webdev
Published: 2022-12-08 12:04:16

My previous post was about .NET 6 and Docker. Let's move on to .NET 7 and learn together.

## Preparation

1. [Docker](https://docs.docker.com/get-docker/)
2. [.NET 7 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)

## Starter Project

You can try cloning from the net6.0 branch from [this repository](https://github.com/bervProject/docker-net-example/tree/net6.0).

## Our Changes from Previous Repository

1. Add package `Microsoft.NET.Build.Containers`. You can use this command: `dotnet add DockerNetExample package Microsoft.NET.Build.Containers`.
2. Update `DockerNetExample/DockerNetExample.csproj`. We update the `TargetFramework` to `net7.0` and add `ContainerImageName`.

    ```xml
    <Project Sdk="Microsoft.NET.Sdk.Web">
    
      <PropertyGroup>
        +<TargetFramework>net7.0</TargetFramework>
        <Nullable>enable</Nullable>
        <ImplicitUsings>enable</ImplicitUsings>
        <ContainerImageName>docker-net-example</ContainerImageName>
      </PropertyGroup>
    
      <ItemGroup>
        <PackageReference Include="Microsoft.NET.Build.Containers" Version="0.2.7" />
        <PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" />
      </ItemGroup>
    
    </Project>
    ```
3. That's it! Our project is ready to create a docker image using `dotnet publish`. You can use this command: `dotnet publish --os linux --arch x64 /t:PublishContainer -c Release`.

    ![docker publish](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/glmumqzxrbgsm1iqftdc.png)

4. Use this command (`docker image ls`) to check the docker image.

    ![docker image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sqqigs603l2fr4l2c9pa.png)

5. Let's run our container. Using this command: `docker run --name docker-net-example -p 8080:80 -d docker-net-example:1.0.0`

    ![run container](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/j9qxhuuia00cjstcb14i.png)

6. Check our container. Using this command: `docker ps`.

    ![docker ps](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g1vwp0q7zuslazq1nwdh.png)

7. Test our Web API. You can navigate to `localhost:8080` using your favorite browser, for example, I use Firefox.

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

## Thank you

If you have any feedback, feel free to share it with me in this post or raise an issue in the repository.

![Thanks gif](https://media.giphy.com/media/gEP2k49ndOqJDBSPZl/giphy.gif)

## Repository

{% github bervProject/docker-net-example %}

You also can check this Pull Request about the [changes](https://github.com/bervProject/docker-net-example/pull/6).

## References

* [Containerize a .NET app with dotnet publish](https://learn.microsoft.com/en-us/dotnet/core/docker/publish-as-container)
The Everyday Life of an HNG Intern; Isaac Ojerumu’s Story.
Tags: programming, tutorial, beginners, career
Published: 2022-12-08 11:57:55

**Task 3.**
In carrying out this task, it was demanded of interns to join various teams. The tasks awarded to each team were accomplished by sheer teamwork. Each team comprised a backend engineer, a frontend engineer, a product manager, marketers, and designers. Teammates were to give feedback on recent developments to their team lead. 
Each team was to build a product that carries out specific functions. **Team Axel**, Isaac's team, built the “Engineering 360 Skill Evaluator.” This product performs the function of testing the efficiency of employees' skills. It assesses how effectively an employee carries out his/her task. The role played by members in the backend track was team planning for database architecture and schema.

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

For interns to progress to the next stage, they had to take on active roles in accomplishing their team's tasks. They were evaluated individually.

Dear reader, thank you for sticking with me on this journey. I hope that this episode and the series as a whole have been insightful, educative, and inspiring. See you on the next page.
Please, let's get in touch on Medium; **Zini Zada**, and Twitter; **Zada_Zini**

Link to the next episode: https://dev.to/zadazini/the-everyday-life-of-an-hng-intern-isaac-ojerumus-story-21eo
CSS pseudo-classes with examples
Tags: webdev, css, css3, design
Published: 2022-12-08 11:55:00

Do you know how to apply CSS based on some conditions?

Did you know HTML elements can adopt CSS based on conditions?

The answer is YES. Using CSS pseudo-classes.

CSS pseudo-class functions free us from the nested CSS rules. As a result, styles are precise and easy to understand.

It takes a selector list as an argument and selects any element that can be selected by one of the selectors in that list.

Imagine you want to apply styles based on a few conditions. But you don’t want to integrate javascript or jquery into your webpage. That's where you can use CSS pseudo-classes.

In this post, you will learn 6 CSS classes.

1. :where()
2. :has()
3. :is()
4. :not()
5. :dir()
6. :lang()

It’s always possible to design pages without advanced selectors. But if you want to make styles pretty and precise, it might be proved a savior!

For a detailed implementation guide, [check out canopas blog.](https://blog.canopas.com/css-advanced-pseudo-classes-with-examples-c1d253c662e6)
How to publish Games Free (Unity & HTML) Earn Money $300 Per Month Best Alternative of Play store
Tags: gamedev, webdev, beginners, programming
Published: 2022-12-08 11:46:59

hi if you want to make money from your games publihs it there it best site to earn watch this video []
(https://www.youtube.com/watch?v=IC9SYuy7Tlc)
Visit My site to play instant games without install....
https://gamesmunch.com/
Do not Click here=https://bit.ly/2JHk1cp
Fallow me on Facebook=https://web.facebook.com/UnityTutoria...
In this video i will teach you how to publish unity and Html game on GameMonetize. How to implement GameMonetize SDK. How to Earn money from your game without Playstore account.

[![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/d9th675ck2io4mk7dz61.png)](https://www.youtube.com/watch?v=IC9SYuy7Tlc)
20 Common NodeJS tools / packages for your backend production app
Tags: node, api, javascript, tooling
Published: 2022-12-08 11:23:28

Let's cut to the chase, if you're planning on building a production level backend NodeJS application, chances are you'll need all or most of these packages:

1.  Express or NestJS for backend API framework
2.  Node-convict and dotenv for configuration management
3.  Joi for API request validations or data validations
4.  Sequelize ORM for MySQL/Postgres databases, or Mongoose for MongoDb
5.  RabbitMQ for publishing/subscribing to message queues, or Kafka for streams and message brokers
6.  Ioredis / node-redis for caching with Redis
7.  Axios for handling third party API integrations. Need a good command of json API calls and response handling
8.  Bull queue or Faktory for delayed/background jobs
9.  Socket.io for real time peer to peer connections
10. Jest/Supertest for unit testing or integration testing and coverage reports
11. Winston / Morgan for logging (use morgan-body if you want to log request / response, useful for debugging in staging and dev environments)
12. Passport.js for authentication, or any custom authentication service using cookie-parser, jsonwebtoken or oath
13. Node-cron for cron jobs
14. Multer for handling file uploads
15. Swagger for OpenAPI documentation (swagger-ui-express or @nest/swagger)
16. Lodash for utilities
17. Luxon for date time manipulation, especially when dealing with timezones
18. ESLint + TSLint + Prettier for static code analysis and formatting
19. Husky for Git hooks
20. Docker for containerisation (Not NodeJS specific, but it helps)

Feel free to comment anything that you also work with on a daily basis!

#softwareengineering #nodejs #typescript #javascript #softwaredevelopment #bestpractices #npm #npmtools #nodetools
Sequelite - a lean TypeScript ORM for NodeJS
Tags: node, typescript, orm, database
Published: 2022-12-08 11:20:10

I have worked with NodeJS + Sequelize for more than 6 years now, and I can conclude two things:

1. Sequelize is awesome!
2. Model abstraction in a complex system has diminishing returns

The more complex our systems got, the more we tended to go towards a convention of

## > Basic CRUD with ORM Models, complex stuff with raw queries

So, with that convention and my cumulative experience, I released yet another ORM for NodeJS - `Sequelite`

Yes, the name is a little on the nose.

Just released v1.0.0 of my own #opensource ORM in NodeJS! Link is in the comments.

Sequelite is a lightweight ORM built on top of Sequelize with proper Typescript support, no annotations, no heavy model classes, and easy setup.

The main motivations behind creating this package were having
1. An easy setup
2. Full type support for CRUD operations based on a declared TS interface
3. Common raw queries wrapped around Sequelize and exposing them as generic functions, e.g. bulkUpdate, etc.
4. Flexible configuration and DB connection through Sequelize
5. Out of the box support for MySQL and Postgres, but segregated by separate base models considering their query differences

Working with Sequelize in the last few years on several projects, I found the model definitions and setup boilerplate to be a bit clunky, although that is the price to pay for an otherwise awesome ORM.

This project will give you the ability to do basic CRUD queries with full type support, which is convenient. However, in more complex systems and queries, I found raw queries are superior to any ORM wrapper interface since it gives you full control of what you are actually querying, so the client also exposes interfaces for raw select queries.

Already thinking of some improvements, like
1. declaring an identity column (or columns) within a model class, so internally it will know which ID to use for upsert, or for index related queries.
2. strengthening the where clause interface

Feedback is welcome!

Checkout the github source here - https://github.com/siddiqus/sequelite

npm - https://www.npmjs.com/package/@siddiqus/sequelite