teleren/devto huggingface dataset:
Automated Help Wanted Issue Tracker
Tags: githubhack23
Published: 2023-05-23 23:00:07

## What I built 

I built a website to help people find Github issues to work on. I created a workflow file that anyone can add to their Github repo and when they create an issue with the label "Help Wanted", the issue will automatically be added to the website. People interested in finding projects to work on can browse the website and view the list of available issues.

### Category Submission: 

Maintainer Must-Haves

### App Link

[Got Issues](https://gotissues-main.vercel.app/)

### Screenshots 

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

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

### Description 

The goal of this project was to make it easy to show people that you are looking for help with your project or just want to share it with others. I wanted it to be as simple as adding a workflow file to your repo and then when you created an issue and labeled it with "Help Wanted" it would automatically add your issue to the site.

### Link to Source Code 

The main project: [Github](https://github.com/tyler-daigle/gotissues-main)

The link for the workflow file: [got-issues.yml](https://gist.github.com/tyler-daigle/8095fe4a684ee9750e1386ae9fc7562a)

### Permissive License 

MIT License 

## Background (What made you decide to build this particular app? What inspired you?) 

There are a lot of websites that list projects that are looking for help but I wanted to make something that would make it easy to add your project to a site so that others could easily find it. 

### How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?) 

I created a Github workflow file that uses the **github-script** action to get information about the repo, such as the programming languages that the project uses. It then sends the data to a server where it is added to the database. The workflow is triggered when the repo owner creates or closes an issue with the label "Help Wanted".

The front end of the application is built with Next.js and hosted on Vercel. I used the Next.js API endpoints for handling the API. The database is a MySQL database hosted on Planetscale.

I learned a lot because I have never used Github workflows or actions before.  From what I learned I will be able to make use of Github actions in other projects. There is also still a lot more that I need to learn and I am sure there are some things I could improve in my project. One thing I wanted to do was include the option to label issues by difficulty level, such as beginner, advanced or intermediate, but it only works if the user creates and adds the custom labels. I would like to figure out a better way to label the difficulty of an issue.



### Additional Resources/Info
What is a Data Product
Tags: dataproduct, datamesh, metadata, datamanagement
Published: 2023-05-23 22:53:34

If you look for a Data Product Definition, you will find many answers. That’s because the term Data Product has evolved a lot in recent years. 

A common misconception of data products are that they consist only of polished and prepared datasets that are ready to be used for analysis. But in reality, it’s more than just the data itself; it’s also all of the technologies involved in preparing that data.

At Polyseam, we understand the process of preparing the data with all your technologies can be complex. To simplify the understanding of data products for you and your team, we have come up with the following definition:

>“A data product is a valuable data asset that your company uses to make decisions and all the technologies and metadata associated with that asset”.

Let’s look at an example related to data for sales in a business: 

- The data asset is the final data you look at. 

- The technologies involved are the software and hardware responsible for capturing and storing that data. 

- The metadata is information about the sales data which could include documentation, who built the data product, and other things like versions and tags that make the data product easy to find.

![Data Product](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qtyg1myobhzdtk1a5c95.png)

So continuing this example, imagine working at an enterprise where you sell things in a bricks-and-mortar store and also online.  You have two different sources generating sales data in this scenario. The above diagram shows how that sales data asset was created from beginning to end. Every step of this process is part of the data product.

In order to extract and prep that data, we need an orchestrating tool which can run ETL scripts which also needs to be hosted on some type of infrastructure. In the example tech stack above, the orchestrating tool is Apache Airflow, the scripts are written in Python, and the cloud infrastructure is AWS. The final sales data set is then stored in the Amazon S3 bucket and the metadata is registered into a [search and discovery tool](https://cndi.run/register?utm_content=data_product_blog_dev&utm_campaign=data_product_blog_dev&utm_source=dev.to/polyseam&utm_medium=social&utm_id=5058) so that data consumers can easily find what they need.

Now you might be asking yourself what is a repeatable, cheap, and easy way to create that data stack above with your own technologies for your data product. This is where Polyseam’s open-source tool, CNDI Run, comes in.  It's a completely free data product stack deployment tool. CNDI Run deploys your data product stack by having the user pass in their login information to their cloud provider platform and information about each technology in your stack that supports your data product. 

Check out the [README.md](https://cndi.run/run?utm_content=data_product_blog_dev&utm_campaign=data_product_blog_dev&utm_source=dev.to/polyseam&utm_medium=social&utm_id=5059) file in the GitHub repo for a full walkthrough on how to deploy your first data product!
Smart-contract, creating addresses and automatically send token
Published: 2023-05-23 22:51:18

Hello guys, I'm not good at coding but I have a project I really want to do and I'd like to know if it's feasible before I start. I would like to create 100 ethereum addresses for example, then create a collection of 100 nft with metadata on ipfs, then have the smart-contract send 1 nft to each address and then give me the private keys of these 100 addresses. I know a little bit about how smart-contract creation works, I have already created nft with Remix. Is it possible and easy to automate the process? On Polygon for example? What to use? Is it interesting to ask chatgpt for some code?
What does DEEPLINK say on the web?
Published: 2023-05-23 22:39:45

There are many other terms used on the web besides "deep link". Some common web terms include

Hyperlink: a term for a link that provides a connection between web pages. When a user clicks on it, they can go to another web page or perform a specific action.

Anchor link: A link that takes you to a specific location within a web page. This is used to scroll to a specific section or element.

Uniform Resource Locator (URL): A string that represents the address of a web page or file. Used by users to access a web page or download a file.

Bookmark: A feature in a web browser that allows you to save a specific web page and easily access it later. Also called favorites, bookmarks, bookmarks, favorites, etc.

Redirect: A feature that automatically moves a user from one web page to another. This is used when a website is moved to a new address or redirected to a different part of the website.

Landing page: A web page designed for advertising, marketing, or promoting a specific product/service. It is designed to direct users or to perform a specific action.

These terms are used to describe links and connections between pages on the web, and together with deep links, they cover many aspects of links in the web environment.
Remote Sphere
Tags: githubhack23, webdev, react, node
Published: 2023-05-23 22:08:41

https://docs.google.com/document/d/10uPya3DXgQW-bZLdXEoYq0v6d60IPHCNF0HFaLCBl2A/edit?usp=sharing

@khalilchoudhry
AIHiveCollective: The Netflix for AI Tools
Tags: githubhack23
Published: 2023-05-23 22:07:54

## What I built: AIHiveCollective: The Netflix for AI Tools

### Category Submission: Wacky Wildcards

### App Link
https://allhive.azurewebsites.net/

### Screenshots 

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

One of the tools is shown below:

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

### Description 

AIHive is a cutting-edge Flask application designed for AI developers and enthusiasts who are eager to share and explore an array of AI tools in a seamless and integrated manner. AIHive's structure is inspired by the popular entertainment platform, Netflix. Designed in a user-friendly 'Netflix for AI Tools' manner, AIHive Collective provides a dynamic platform where AI professionals can contribute, share, and explore an ever-growing library of AI tools. In the spirit of open-source, AIHive Collective encourages its users to upload their creations, document their methodologies, and share their inventive approaches with our global community. 

### Link to Source Code 

https://github.com/HammedBabatunde/AIHiveCollective


## Background (What made you decide to build this particular app? What inspired you?) 

### How I built it (How did you utilize GitHub Actions or GitHub Codespaces? Did you learn something new along the way? Pick up a new skill?) 

By creating a `.yaml` file, I utilized GitHub Actions to automate the deployment of this fun AI project. The idea is quite simple. The project allows AI developers make new entries by contributing to the code and adding their own AI tools.
The 8th day of my 100 days of code challenge
Published: 2023-05-23 22:07:12

Today, I learned more about Closures, Protocols, the Delegate Design Pattern and working with API's in Swift using Angela's course.

I am almost also done with a tutorial I'm following along:

[Creating an Intermittent Fasting tracking app](https://www.youtube.com/watch?v=pdYTtbOl9YQ)

This one will be a point of reference for the project I'll be making as it shares some elements with it. I also plan on trying to create at least one project myself using this tutorial and Angela's course as my reference, to get some more intuition for the language before I work on something that'll be quite complex. I don't think I'll get to designing the app tomorrow, but I'll make sure the initial features are all written down (with my companion, ChatGPT) before I get to designing it.

Once I'm finished with designing it, it's off for a long journey of trial and error. I'll learn a lot about Swift and SwiftUI along the way. I'm super inexperienced with both of those, so making a project that I can consider to be complex will be satisfying and full of learning opportuinities in the field of iOS Development in general.

I'm super excited, it's all so new and it lits up a new flame in me. Gonna re-experience the satisfaction of making something work using something new. At least so I hope.

As for my Atomic Habits session, it's intresting how saying you will do something will tremendously increase your chances of actually doing it. I should know, this is the primary purpose of this challenge and posting about it. It keeps me accountable and I know I wouldn't wanna look back and see my streak lose itself.

To me, it doesn't matter how productive the day was as long as I put in some work, it's better than doing nothing. If I always stressed at how productive my day is, I'd quickly burn out. It's the experience, the consistency and the progress that builds up over time that matter. That's what I told myself before starting this challenge to keep myself in a healthy relationship with it. Stick with it, and you'll do it.

That's it for today, happy coding everyone!
docker compose and dockerfile
Tags: docker
Published: 2023-05-23 21:15:28

---
title: docker compose and dockerfile
published: true
description: 
tags: docker
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-05-23 20:59 +0000
---

**docker-compose.yml**
```docker
services:

  laravel-docker:
    container_name: laravel-docker
    build: .
    volumes:
      - ./laravel-app:/var/www/html
    ports:
      - 9000:80
  
  mysql_db:
    image: mysql:latest
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: taravel_docker
    ports:
    - 3306:3306
  
  phpmyadmin:
    image: phpmyadmin:latest
    ports:
      - 9001:80
    environment:
      - PMA_ARBITRARY=1
```


**Dockerfile**

```docker
FROM php:8.1.0-apache
WORKDIR /var/www/html

# Mod Rewrite
RUN a2enmod rewrite

# Linux Library
RUN apt-get update -y && apt-get install -y \
    libicu-dev \
    libmariadb-dev \
    unzip zip \
    zlib1g-dev \
    libpng-dev \
    libjpeg-dev \
    libfreetype6-dev \
    libjpeg62-turbo-dev \
    libpng-dev 

# Composer
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer

# PHP Extension
RUN docker-php-ext-install gettext intl pdo_mysql gd

RUN docker-php-ext-configure gd --enable-gd --with-freetype --with-jpeg \
    && docker-php-ext-install -j$(nproc) gd
```

**run**

```docker
docker-compose build
docker-compose up
```

**Makefile**
```bash
setup:
	@make build
	@make up 
	@make composer-update
build:
	docker-compose build --no-cache --force-rm
stop:
	docker-compose stop
up:
	docker-compose up -d
composer-update:
	docker exec laravel-docker bash -c "composer update"
data:
	docker exec laravel-docker bash -c "php artisan migrate"
	docker exec laravel-docker bash -c "php artisan db:seed"
```

```bash
composer create-project laravel/laravel .
make composer-update
make data
```
Anyone currently using AI-assisted indexing to build their "second brain"?
Tags: discuss, productivity, ai
Published: 2023-05-23 18:33:27

### 1. How are you currently using AI-assisted indexing to build your information storage and retrieval? 

### 2. Are we moving beyond input-oriented Notion documenting? 

As a self-proclaimed builder and lifelong learner, I often find myself juggling multiple projects and striving for continuous improvement. Our brains are not naturally wired for long-term storage and recall, which is why exploring methods that optimize our learning process becomes crucial. I recently have been experimenting with combining the PARA method and AI-assisted tools which is designed to help create a “second brain” for effective recall and organization.

I did a quick search for “if i had a second brain” and found 20 million results on Reddit and 135 million on Google, it's clear there’s a user-base actively seeking ways to enhance their cognitive abilities and productivity. The PARA method, developed by Tiago Forte, provides a framework for organizing information into four categories: Projects, Areas, Resources, and Archives, enabling efficient knowledge structuring and retrieval. It’s like a kanban board for current knowledge acquisition vs long term storage knowledge indexing.

It’s taxing for us to max-out our bandwidth with memory-intensive knowledge storing. Whereas we can recall a database of information to make more informed strategic decisions.  
Alongside the PARA method, I’m exploring AI-assisted screen recording, specifically with a focus on encryption and secure data storage, as an added layer of recall. What’s top of mind for me is how AI-assisted apps handle encryption and security. 

Encryption:

- Implementing end-to-end encryption for sensitive data protection
- Using strong encryption algorithms to safeguard data during storage and transmission
- Employing multi-factor authentication to enhance security

Secure data storage:

- Exploring privacy-focused and compliant cloud-based storage solutions
- Implementing robust access controls and permission settings
- Regularly backing up data and adopting disaster recovery measures

### 3. How are you using AI-assisted screen recording for enhancing productivity? 

### 4. What is the general consensus or your thoughts on how you’ve been incorporating AI-assisted indexing to build out your reference knowledgebase? 

Feel free to share below on how you’re currently building your second brain or coordinating your recall method.
#DEVDiscuss: Recovering From Burnout
Tags: devdiscuss, career, mentalhealth
Published: 2023-05-23 21:00:00

*image created by [Margaux Peltat](https://www.patreon.com/margauxpeltat) for the [Chilled Cow YouTube channel](https://www.youtube.com/watch?v=lTRiuFIWV54)*

Time for #DEVDiscuss — right here on DEV 😎

{% embed https://dev.to/hb/how-to-come-back-from-burnout-j85 %}

Inspired by @hb's [Top 7 post](https://dev.to/devteam/top-7-featured-dev-posts-from-the-past-week-jod), tonight’s topic is...recovering from burnout 😮‍💨🔥

> Burnout is tough. When you are burnt out from something, you resent it, and don't want touch it again. This unhealthy relationship with that thing only decreases your productivity and your mental health.

### Questions:

- **Have you ever experienced burnout in your coding career?**
- **If so, how did you recover?**
- **If not, how have you kept yourself protected from burnout?**
- **Any triumphs, fails, or other stories you'd like to share on this topic?**
Docker and laravel
Published: 2023-05-23 20:53:25

---
title: Docker and laravel
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-05-23 20:21 +0000
---

## Getting Started On Windows

```bash
curl -s https://laravel.build/example-app | bash

cd example-app
 
./vendor/bin/sail up
````

## Getting Started On Linux

## error docker runnig

sudo chmod 666 /var/run/docker.sock\n

```bash
curl -s https://laravel.build/example-app | bash
```

## Installing Sail Into Existing Applications

If you are interested in using Sail with an existing Laravel application, you may simply install Sail using the Composer package manager. Of course, these steps assume that your existing local development environment allows you to install Composer dependencies:

```bash
composer require laravel/sail --dev
```
After Sail has been installed, you may run the sail:install Artisan command. This command will publish Sail's docker-compose.yml file to the root of your application:

```bash
php artisan sail:install
```
Finally, you may start Sail. To continue learning how to use Sail, please continue reading the remainder of this documentation:

```bash
./vendor/bin/sail up
```
Simplify Your Mock Data Creation in Tests with @lifeiscontent/to-mocked
Tags: typescript, vitest, testing
Published: 2023-05-23 20:35:09

Are you spending too much time constructing complex mock data for your tests? Do you often find yourself ensuring that the mock data accurately reflects the actual types, but feeling it's a tedious and error-prone process? That's where the [@lifeiscontent/to-mocked](https://github.com/lifeiscontent/to-mocked) package steps in.

`toMocked` is a TypeScript utility function designed specifically to streamline the creation of mocked data structures for testing. It was conceived to address the challenges that come with generating intricate mock data. Instead of manually building an entire object for testing, this function allows you to specify the object type and provide only the necessary data that's actually used in the test.

Consider a `User` type for instance:

```ts
type User = {
  name: string;
  age: number;
  address: {
    city: string;
    country: string;
  };
};
```

You can easily create a mocked user with `toMocked`:

```ts
let user = toMocked<User>({
  name: "Alice",
  age: 30,
  address: {
    city: "CityX",
  },
});

// "Alice"
console.log(user.name);
 // "CityX"
console.log(user.address.city);
 // Throws Error: Property "country" does not exist on...
console.log(user.address.country);
```

The added benefit of using `toMocked` is the immediate feedback it provides when application code changes and tests break. It shows how the expectations have changed, making it significantly easier to maintain and update your test suite. Especially when you're using testing frameworks like [Vitest](https://vitest.dev/), `toMocked` integrates seamlessly, easing the writing of tests.

Remember, in TypeScript, `object` represents non-primitive types. So, with `toMocked`, you're not confined to using plain objects; you can employ arrays and other complex types too.

```ts
function toMocked<T extends object>(value: any): T;
```

Beneath the surface, `toMocked` capitalizes on the powerful JavaScript `Proxy` object to define custom behavior for property lookups. It checks if the accessed property exists on the target object. If it doesn't, it throws an error. If it does, the property is retrieved. If the property itself is an object, it gets wrapped in another level of proxy by recursively calling `toMocked`.

By doing so, it ensures your test data mimics the real thing as closely as possible, and your tests fail fast when expectations change. Therefore, if you're searching for a tool that can simplify your testing process by creating more realistic and maintainable mock data, [@lifeiscontent/to-mocked](https://github.com/lifeiscontent/to-mocked) is a worthy contender. Give it a try and notice the difference it brings to your testing workflow.