teleren/devto huggingface dataset:
Carbon – Directory theme.
Tags: webdev, javascript, tailwindcss, astrojs
Published: 2023-11-16 16:45:31

Carbon – Directory theme.
Built with Astro & Tailwind CSS
See it live and learn more:
→ https://lexingtonthemes.com/info/carbon/

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9l0jdd6qjirqzppemmax.png)
Containerizing my Pipeline Service
Tags: docker, data, pipeline, beginners
Published: 2023-11-16 19:38:06

Been a few months and I have not been good at blogging and documenting. Recently I have been more into taking lessons in DataWars.io (free version) and DataCamp on the Data Engineer track which I paid $120 for a year to complete. 

But I have new files to load for the optometry pipeline and I recently successfully containerized the postgres instance and the python pandas pipeline. But the last part of marrying this data pipeline is getting the data to ingest into the postgres DB. All my logs are showing that it's all good! So I've been talking to GPT for such a long time now and I can't figure it out yet. Pretty frustrating, since I'm able to query things that already exist int he postgres instance (that was just copied over from local, where this whole thing was working).

So it works on my local but not on Docker. I'll keep trying. In other news I am working on a basic net worth app, probably do that in a offline desktop version using python, or Flask since I did a Flask tutorial. That's a fun personal project but I have to take a break from the Docker work. Cool stuff but I am frustrated I can't figure it out and neither can GPT!
Discussion of the Week - v11
Tags: bestofdev, discuss
Published: 2023-11-16 21:36:16

In this weekly roundup, we highlight what we believe to be the most thoughtful, helpful, and/or interesting discussion over the past week! Though we are strong believers in healthy and respectful debate, we typically try to choose discussions that are positive and avoid those that are overly contentious.

Any folks whose articles we feature here will be rewarded with our Discussion of the Week badge. ✨

![The Discussion of the Week badge. It includes a roll of thread inside a speech bubble. The thread is a reference to comment threads.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yvizv31dpchucxic2lxc.png)

Now that y'all understand the flow, let's go! 🏃💨

## The Discussion of the Week

It's my pleasure to highlight Anita's (@anitaolsen) self-reflective discussion thread "[Are You Ashamed of Your Old Code](https://dev.to/anitaolsen/are-you-ashamed-of-your-old-code-3jeb)?"

{% embed https://dev.to/anitaolsen/are-you-ashamed-of-your-old-code-3jeb %}

Anita just recently joined up with DEV, but is already initiating some really thoughtful discussions to get folks talking about their coding origin stories and things they've worked on in the past. Take a look at Anita's profile and you'll notice this common thread throughout their first 3 posts.

Something that I really like about Anita's most recent post is that it encourages folks to open up and talk about their mistakes. In an online world of folks constantly talking down to and one-upping each other, humility is refreshing! I'd much rather see a thread of folks opening up about problems they had & blunders they learned from over folks who seem to know everything and constantly self-promote.

And another thing, it's good for newbies to be able to look through a thread like this and see that other folks out there also started from humble beginnings. It's encouraging and shows them how others have been able to grow. 🌱

As with most discussions, the fun really happens in the comments. I didn't pluck out any particular ones to feature this time around, but if you hop into the post, you can see for yourself. And of course, share your thoughts in the thread while you're at it!

## What are your picks?

The DEV Community is particularly special because of the kind, thoughtful, helpful, and entertaining discussions happening between community members. As such, we want to encourage folks to participate in discussions and reward those who are initiating or taking part in conversations across the community. After all, a community is made possible by the people interacting inside it.

There are loads of great discussions floating about in this community. This is just the one we chose to highlight. 🙂

I urge you all to share your favorite discussion of the past week below in the comments. And if you're up for it, give the author an @mention — it'll probably make 'em feel good. 💚
Planning the react pokedex
Published: 2023-11-17 02:52:16

Having had no prior react experience this project was proving quite a challenge as I wasn't able to fall back on past knowledge. From such I found this project the hardest as it was learning something completely new and applying that learning.

Like with all problems though the best way to start is to plan an action of attack.

## What should it do?
As previously stated I had acquired the json file of all competitive pokemon movesets and wanted users to be able to view them save them for later. 

Spoiler alert we didn't manage to do that as it was taking me far too long to do the basics.

So the functionality I settled on was that it would be a card like list that featured the full 1010 entries that would load on a 24 card basis.

If a user clicks on a pokemon a modal will appear with its name, stats and the option to add to favourites. If the pokemon is already in favourites the button will change to remove and users can delete its entry. There will be a favourites page where users can view their favourited pokemon.

## Getting started
With the functionality plan sorted it was time to start. First step creating a new react app in my console and installing the relevant node modules such as router for the navigation. 

Initially I started building everything out in the App.jsx component which I came soon to realise would be a headache to transfer everything.

I shortly changed to the page approach and had a Pokedex and Favourites page. With the structure sorted it was time to plan the components.

## Components
The components I created for this app were the:

- Header
- Footer
- Individual pokemon cards
- Load more button
- Pokemon modal
- Modal background overlay
- Favourited pokemon modal

I know looking at the list you can see a double up on the modal and then a modal overlay sitting there as well but how I had set up the initial modal made it _much harder_ for that functionality to work for the favourited section. 

## Closing remarks 
In the next post I'll go over the modals and cards as the header and footer were pretty basic.
Why PHP? Thoughts…
Tags: php
Published: 2023-11-25 11:17:40

@robertobutti
https://dev.to/robertobutti/why-php-2e4h

Read this article; here are some thoughts on the subject.
PHP will never ever be on par with python because these three reasons:

1. No native SET data structure support, which is a direct proof that php never was designed for data programming. Amazing @krakjoe and friends introduced it only in 2016 in Ds pecl extension, while python have had it from start.
Consider algorithmic problems such as leetcode stuff, php developer would struggle in half of them not thinking data first - with set structure being a solution in half of this half. Famous expression - framework is not the way you code, it is the way you think. Same situation here. Programming language is not the way you code - but how you think as a programmer, what is your approach, etc.

2. No native coroutine/async/await support in php. Same situation, only adopting ReactPHP/Swoole would give you this instrument, although you’ll have to struggle implementing async solutions for common jobs like databases, etc. And core php team never thought of that in the first place, why?
To create python’s FastAPI stuff you’ll have first to invent it with only Swoole being native implementation of the approach, still it is an external library.

3. Multithreading? Forget it. No native support as well. First thing I had to do as a math student 30 years ago was to implement rectangles method multithreadingly. Guess what, you can’t do it in php.

* * *

Funny story is that I never hesitated which language to choose, PHP was there for me right away :)
And I am not trying to start a hate topic. I only think that one should be realistic and aware about cans and cannots with this or that instrument.

K! THX! BYE!
Sunglasses Store
Tags: sunglassesstore, sunglassesinpakistan, tutorial, beginners
Published: 2023-11-30 11:14:43

Shashkay [Sunglasses store]: A Symphony of Style and Quality
Shashkay has carved a niche in the eyewear industry, offering sunglasses that not only make a statement but also prioritize quality. Each pair is a testament to Shashkay's commitment to delivering stylish eyewear without compromise.

The Price Tag that Surprises
What sets Shashkay Sunglasses apart? It's not just the chic designs or the premium materials but also the unbeatable prices. Shashkay believes that everyone deserves to accessorize with flair, and their price range reflects this philosophy, starting from [insert price range].

Exploring the Collection
Let's take a peek into the diverse collection of Shashkay Sunglasses:

1. Classic Elegance
Whether it's the timeless aviators or sophisticated cat-eye frames, Shashkay's classic collection adds a touch of elegance to any ensemble.

2. Bold and Trendy
Embrace your bold side with Shashkay's trendy frames. From oversized glam to futuristic designs, there's something to suit every personality.

3. Sporty Chic
For the active souls, Shashkay offers a range of sporty sunglasses that seamlessly blend fashion with functionality, catering to both style and utility.

Where to Grab Your Shashkay Shades in Pakistan
Ready to adorn your eyes with Shashkay Sunglasses? You can find them at [list of physical stores] and [recommended online platforms]. Keep an eye out for exclusive promotions and discounts to make your style statement even more budget-friendly.

Shashkay in the Eyes of the Beholder
Explore the world of Shashkay through the eyes of satisfied customers. Read testimonials and personal experiences that highlight not just the style but also the comfort and durability of Shashkay Sunglasses.

Conclusion
Shashkay Sunglasses redefine eyewear fashion in Pakistan, offering a blend of style, quality, and affordability. Elevate your look, shield your eyes, and make a lasting impression with Shashkay – where every pair tells a story, and every price tag is a pleasant surprise.https://www.shashkay.com.pk/
lsコマンドで得られたファイル・ディレクトリ名だけを行区切りで表示する
Tags: unix, command, アドベントカレンダー
Published: 2023-12-10 15:01:00

---
title: lsコマンドで得られたファイル・ディレクトリ名だけを行区切りで表示する
published_at: "2023-12-11 00:01 +0900"
description: "ls command"
published: true
tags: ["UNIX", "command", "アドベントカレンダー"]
---

これは [.ごっ！のアドベントカレンダー](https://adventar.org/calendars/9122) の11日目の記事です。

表題の通り、lsコマンドで得られるファイルやディレクトリ名だけを改行区切りで表示するためには `-1` オプションをつけます。

```sh
/ $ ls -1
bin -> usr/bin
boot
dev
Docker
etc
home
init
lost+found
media
mnt
opt
proc
root
run
...
```

```sh
$ ls --help
List information about the FILEs (the current directory by default).
Sort entries alphabetically if none of -cftuvSUX nor --sort is specified.

Mandatory arguments to long options are mandatory for short options too.
  -1                         list one file per line.  Avoid '\n' with -q or -b
...
```

{% embed https://www.tutorialspoint.com/unix_commands/ls.htm %}
Buy Old Gmail Accounts
Tags: webdev, tutorial, devops, productivity
Published: 2023-12-25 12:09:01

Buy USA, UK, EU Aged Gmail Accounts.More information visit us: https://usapvashop.com/product/buy-old-gmail-accounts/

If you want to more information just contact now here
24 Hours Reply/Contact

WhatsApp: +1 (530) 481-5459‬
Telegram: @usapvashoplive
Skype: usapvashop
Email: usapvashop@gmail.com

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tu0aa87cane6a9eu1nr4.png)
Gmail the popular email service provided by Google, has gained millions of users worldwide. We provide us the best quality PVA Gmail account at an reasonable price. So you can buy old Gmail accounts at cheap prices at usapvashop. More information visit us: https://usapvashop.com/product/buy-old-gmail-accounts/

Feature of Our Old Gmail Accounts
✔ 100% Customers Satisfaction Guaranteed
✔ 100% Recovery Guaranty
✔ Full Completed Profiles & Mostly USA Profile’s Bio and Photo
✔ Phone Verified Accounts
✔ 100% Active numbers And Profiles
✔ Very Cheap Price & Delivery
✔ Money Back Guarantee
✔ Instant Work Start
✔ 100% verified (PVA) Gmail accounts with unique IP
✔ 24/7 Customer Support

If you want to more information just contact now here
24 Hours Reply/Contact

WhatsApp: +1 (530) 481-5459‬
Telegram: @usapvashoplive
Skype: usapvashop
Email: usapvashop@gmail.com

The importance of Gmail accounts
Gmail has become an integral part of our online lives, and its importance cannot be underestimated. Whether you are using it for personal or professional purposes, having a Gmail account offers numerous benefits and conveniences. More information visit us: https://usapvashop.com/product/buy-old-gmail-accounts/

Gmail provides a reliable and secure platform for communication. With advanced features like spam filtering and two-factor authentication, you can rest assured that your emails are protected from unwanted intrusions. Additionally, the user-friendly interface makes it easy to navigate through your inbox and organize your messages efficiently.More information visit us: https://usapvashop.com/product/buy-old-gmail-accounts/

If you want to more information just contact now here
24 Hours Reply/Contact

WhatsApp: +1 (530) 481-5459‬
Telegram: @usapvashoplive
Skype: usapvashop
Email: usapvashop@gmail.com
CSS :has() pseudo class
Tags: css, webdev, frontend
Published: 2024-01-04 13:26:00

Fortunately, the CSS `:has()` pseudo class is finally supported by all major browsers. Firefox took a while, but on December 19, 2023 it was finally ready 👏🏽👏🏽👏🏽.

The `:has()` pseudo class is very useful and opens up a lot of new possibilities. You can now finally style the parent if it contains certain children. It's a feature I've wanted since the beginning of my coding journey 🤩. 

![Browser support for :has() pseudo-class. All browser support it now.](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mbsq9piy1uj1ypohi8wp.png)

Here is what the selector :has() to offer (pun ... 😏).

```css
/* parent section has a specific element, ul */

section:has(ul) {
  background: red;
}

/* parent section both elements, h1 and ul */

section:has(h1):has(ul) {
  background: hotpink;
}

/* parent section has either or both elements, h2 and or p */

section:has(h2, p) {
  background: lightblue;
}

/* parent section does not have h3 element */

section:not(:has(h3)) {
  background: yellow;
}

/* h3 which is followed by a p */

h3:has(+ p) {
  background: limegreen;
}

/* section has an input that is checked, then the label gets bold */

section:has(input:checked) label {
  font-weight: 900;
}

section:has(> form) {
  background: unset;
  margin-top: 20px;
}

/* field validation: field has required attribute */

form:has(input:required) {
  border-left: 3px solid red;
  padding-left: 4px;
}

/* field validation: input is invalid */

form:has(input:invalid) label {
  color: red;
  font-weight: 900;
}
```

See the affect directly in Codepen

{% codepen https://codepen.io/YuriDevAT/pen/poYvGQr %}

What are you excited about to use the `:has()` pseudo-class for?

Share you code snippets in the comment section below 👇🏽


---

Read more about the :has() pseudo class on MDN
https://developer.mozilla.org/en-US/docs/Web/CSS/:has
Using the Keyword module for options
Tags: elixir, erlang, tutorial, beginners
Published: 2023-12-26 12:44:45

It would be best if you considered using [Keyword.fetch!/2](https://hexdocs.pm/elixir/Keyword.html#fetch!/2) and [Keyword.get/3](https://hexdocs.pm/elixir/Keyword.html#get/3) for options to APIs.

## Without options

```elixir
defmodule MyApp do
  def config(name, author \\ "Herminio Torres", description \\ "Description") do
    %{
      name: name,
      author: author,
      description: description
    }
  end
end
```

```elixir
iex> MyApp.config
config/1    config/2    config/3
iex> MyApp.config("my_app")
%{
  author: "Herminio Torres",
  description: "Description",
  name: "my_app"
}
iex> MyApp.config("my_app", "Change")
%{
  author: "Change",
  description: "Description",
  name: "my_app"
}
```

- Creates a config function with many arities
- You must pass all parameters when you intend to change just the last default argument.

## With Options

```elixir
defmodule MyApp do
  def config(opts) do
    name = Keyword.fetch!(opts, :name)
    author = Keyword.get(opts, :author, "Herminio Torres")
    description = Keyword.get(opts, :description, "Description")
    
    %{
      name: name,
      author: author,
      description: description
    }
  end
end
```
```elixir
iex> MyApp.config([])
** (KeyError) key :name not found in: []
    (elixir 1.12.3) lib/keyword.ex:420: Keyword.fetch!/2
    iex:3: MyApp.config/1
iex> MyApp.config([name: "my_app"])
%{
  author: "Herminio Torres",
  description: "Description",
  name: "my_app"
}
iex> MyApp.config([name: "my_app", description: "Change"])
%{
  author: "Herminio Torres",
  description: "Change",
  name: "my_app"
}
```

- The raised error leads you to which options are required
- Keyword lists make the arguments named
- Only one function arity is exposed

Awesome!
How can I apply for journal indexing- ABCD Index Database
Tags: research, student, profesor, webdev
Published: 2023-12-27 09:03:23

To submit a journal to the **[ABCD Index](https://abcdindex.com/blogs/quick-publishing-journals)**, you can follow these steps:

**[Apply For Journal Indexing-ABCD Index
](https://abcdindex.com/blogs/apply-for-journal-indexing)**
- Open the ABCD Index home page and search for journals related to your field.
- Use the filter section to apply filters and search for journals approved by the **[ABCD Index.](https://abcdindex.com/blogs/best-research-paper-publishing-sites)**
- Select free or paid journals based on your preference.
- Choose the ABCD Index from the journal indexing options.
- Select the appropriate category (A, B, C, or D) under which you want to **[list your journal](https://abcdindex.com/blogs/journals-that-publish-articles-for-free )**

**Before submitting the journal, ensure that it meets the following criteria:**

The journal must have a valid ISSN number, which can be in print or online format.
It should publish a minimum of 5 articles or papers in a year.
Clearly mention the level of **[publishing](https://abcdindex.com/blogs/list-of-free-journals-for-paper-publication)**, i.e., whether it accepts papers and articles nationally or internationally

By following these steps and ensuring the journal meets the specified criteria, you can submit it to the ABCD Index for indexing. The platform provides a common and accessible space for scholars, researchers, publishers, colleges, and universities to access accurate information about **[international journal sites ](https://abcdindex.com/blogs/how-to-submit-an-article-for-publication-in-a-journal)**and indexing
Unveiling the Art of Developing MVP App in the Digital Age
Published: 2023-12-27 10:22:40


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

Unlock success with [MVP App](https://wegile.com/insights/what-is-mvp-app.php), the game-changing approach embraced by businesses worldwide, and transform your app development journey.
I made a platform to automatically lower churn of SaaS businesses.
Tags: buildinpublic, startup
Published: 2023-12-27 13:12:30

Hey everyone - I have been building SaaS businesses since late 2020 and have loved starting and growing these projects. Throughout that time I have enjoyed learning anything there is to know about SaaS, and how to grow a successful business.

However, with all my projects, one thing has always held back my growth - and that's churn. I would spend hours marketing with cold outreach, SEO, and paid ads but eventually my growth would always get cancelled out by churn and losing customers.

That is why 2 months ago I started working on a platform designed to reduce churn for all SaaS businesses. Here's how it works - after a customer unsubscribes from your platform, our system will automatically send out an email a few days later (which you design), and try to bring the customer back. By throwing in discounts and sharing roadmaps, churned customers are much more likely to re-subscribe with these emails.

After testing out my platform with a cloud storage SaaS business, they saw 1 in 4 churned customers re-subscribe after receiving an email offering a discount and showing off their newly added features. This lead to an increase in revenue of $180 in the testing period, which they wouldn't have seen otherwise.

If you want to play around with it, you can find it at [churnaxe.com](https://churnaxe.com). I would love some opinions, criticism, or any feedback really - and I have created a discount code "AXE" so that the first month is only $5. Thank you all in advance and I hope you give it a shot!
DEV
Published: 2023-12-27 16:22:05

a.Programming Language used to create that tool

 The DEV platform (dev.to) primarily uses Ruby on Rails as its programming language.

b.Parent Company of that tool

 The parent company of dev.to is Forem, Inc. DEV, formerly known as dev.to, is an open-source community and platform for programmers and developers. Forem, Inc. is the company behind the development and maintenance of the Forem platform, which powers DEV.

c.Tool Overview: Purpose and Functionality

The purpose of dev.to is to build a community for developers and to provide a platform for developers to write and share articles, tutorials, and insights with the community

d.	Logo of that tool


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

e.Whether it is open source or paid one

It is an open source software.