teleren/devto huggingface dataset:
Basics of Version Control with Git
Published: 2023-02-16 23:10:25

Git and GitHub are powerful tools for managing and collaborating on code. In this blog post, I’ll go over the basics of Git and GitHub, including some essential commands you need to know.

Git is a version control system that allows you to track changes to your code over time. It makes it easy to collaborate with others and keep track of changes. GitHub is a web-based platform that provides hosting for Git repositories and allows for easy collaboration on code. Now, let's dive into some of the essential Git commands you should know.

- git init: This command is used to create a new Git repository in your project directory. When you run git init, Git will create a new .git directory that will store all of the version control data.

- git add: Use this command to add your changes to the staging area. The staging area is a place where you can review and prepare your changes before committing them.

- git commit -m "<commit message>": Once you have added your changes to the staging area, you can use git commit to permanently save those changes to the repository. The -m flag is used to add a commit message that describes the changes you’ve made.

- git log: This command is used to view a list of all the commits that have been made to the repository. It displays the commit hash, commit message, and other information related to the commit.

- git remote add origin <remote repository URL>: Use this command to connect your local repository to a remote repository on GitHub. The remote repository is where you’ll push your changes to and pull changes from.

- git push: Once you’ve committed your changes locally, you can use git push to send those changes to the remote repository on GitHub.

- git checkout -b <branchname>: Use this command to create a new branch and switch to that branch. Branches are used to isolate changes and allow multiple people to work on different parts of the code simultaneously.

- git pull: Use this command to fetch the latest changes from the remote repository and merge them into your local repository. This is useful when you’re working with others and need to make sure you have the latest version of the code.


These are just a few of the essential Git commands you should know when working with Git and GitHub. As you become more familiar with these tools, you’ll likely discover additional commands that are useful for your workflow. Happy coding!
What is going to be the next trend in technology in the next 10 years?
Tags: chatgpt, ai, technology, trend
Published: 2023-02-16 23:00:31

"What is going to be the next trend in technology in the next 10 years?"


![image.png](https://cdn.steemitimages.com/DQmRCHnmH1ZVryFaLwRX73WkKhZYRGXymjSx8nvDuzqRYkh/image.png)


## ChatGPT:
The next trend in technology in the next 10 years will likely be the continued development of artificial intelligence (AI), the Internet of Things (IoT), and [5G networks](https://propagationtools.com/). AI will continue to become more sophisticated and integrated into everyday life, while IoT will enable more connected devices and systems. 5G networks will provide faster speeds and better connectivity, allowing for more data-intensive applications and services. Additionally, virtual and augmented reality will become more commonplace, as will [blockchain technology](https://steemyy.com) and quantum computing.

[Blog](https://helloacm.com/what-is-going-to-be-the-next-trend-in-technology-in-the-next-10-years/)

#computing #blockchain #ai #chatgpt3
Day 697 : The Diff'rence
Tags: hiphop, code, coding, lifelongdev
Published: 2023-02-16 22:56:29

_liner notes_:
- Professional : Had a couple of meetings and then spent the rest of the refactoring and updating a demo to be more in line with the others. The way it was originally written makes the user hope in-between a bunch of files to try and follow what is happening. I made it so that it now looks more like an addition to the base demo. I think that will make more sense for folks. Ended up with less lines of code and less files. I call that a win. Looked at another repo and it seems I'll have to do it again.

- Personal : Ahhhh! This authentication/authorization thing is breaking my brain! haha I cannot find where the user info is loaded when the site comes back from GitHub after authenticating. Spent a bunch of time last night trying to figure it out. I was able to find the Instagram accounts for the artists in my playlist. I also watched the new episodes of "Trigun: Stampede" and "Vinland Saga". Pretty productive.

![Dirt road going through a bunch of trees with a wooden fence on the left in Kansas City, MO, USA](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qkiw0v42g41urbbpirlg.jpg)

I was just working on my side project. I switched over to the CDN version of the library for authentication and everything seems to be working. Not sure what's the difference from the install library. I'll probably stick to the CDN since it's hosted on the site as where the application will live. So if the CDN is down, the site will probably be down as well. haha Plus I want to move on with the project. After dinner, I want to go through some tracks for the beginning of this week's radio show. I've been watching "Samurai Champloo" again. Maybe watch another episode and "Spy x Family" before heading to bed. Got a big day tomorrow. Supposed to be helping to host an event.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube v2zTVZFlCZ0 %}
Best place for information
Tags: transfer, code, ussd
Published: 2023-02-16 22:49:01

[https://www.bankfanz.com/how-to-check-polaris-bank-account-balance/](https://www.bankfanz.com/how-to-check-polaris-bank-account-balance/#utm_source=backlinks&utm_medium=search&utm_campaign=darry+ring+us&utm_content=Michelle)

https://plaza.rakuten.co.jp/polarisbank18/diary/202302170000/
https://www.divephotoguide.com/user/polarisbankcode26
https://www.producthunt.com/@polaris_26
https://www.provenexpert.com/polarisbankcode26/
https://vocal.media/authors/polaris-bank-code-26
https://wakelet.com/@polarisbankcode26887
https://www.lifeofpix.com/photographers/polaris_bank_code26/
https://rosalind.info/users/polaris-bank-code26/
http://phillipsservices.net/UserProfile/tabid/43/userId/200404/Default.aspx
https://camp-fire.jp/profile/polaris_bank_code26
https://app.roll20.net/users/11636555/polaris-bank-code-26-k
https://seedandspark.com/user/polaris-bank-code-26
https://plazapublica.cdmx.gob.mx/profiles/polaris_bank_code26/activity
https://www.metal-archives.com/users/polaris_bank_code26
https://trabajo.merca20.com/author/polaris_bank_code26/
https://www.intensedebate.com/people/Polaris_26
https://www.mifare.net/support/forum/users/polaris_bank_code26
https://pinshape.com/users/2576173-polaris-bank-code26#designs-tab-open
https://www.kiva.org/lender/polarisbankcode265863
https://www.credly.com/users/polaris-bank-code-26-transfer/badges
https://www.myminifactory.com/users/polarisbankcode26
https://www.sqlservercentral.com/forums/user/polaris_bank_code26
https://guides.co/a/polaris-bank-1625
http://foxsheets.com/UserProfile/tabid/57/userId/121246/Default.aspx
https://storium.com/user/polaris_bank_code26
https://speakerdeck.com/polaris_bank_code26
https://www.kompasiana.com/polarisbankcode26
https://www.longisland.com/profile/polaris_bank_code26
https://myanimelist.net/profile/Polaris_code26
https://leanin.org/circles/polaris-bank-code-26
https://social.msdn.microsoft.com/Profile/polaris_bank_code26
https://www.iheart.com/podcast/269-transmitter1-109062222/episode/polaris-bank-code-26-109062223/
AI at Work: Looking within as an Autistic Programmer
Published: 2023-02-16 22:31:47

As an autistic programmer, I have always found it difficult to reflect on my work and write a self-performance review, I hate them so much - it is an inaccurate waste of time, people see you all the time and we even have a recognition system for everyone here which is cool, so why self evaluate?.. I Guess its to make you think about your flaws, not such an easy think for me I cant see them, I rely on feedback!

However, using AI has been a game changer (get ready to here that a lot in all future posts, the game is changing!) me to overcome these challenges and gain new insights into my performance.

I used a tool called ChatGPT, (I know right, whats that?) to write my self-performance review, and it was a **game-changer** for me. ChatGPT's natural language processing capabilities allowed me to write my review with a simple copy and paste of my old review. Although I use Grammerly, it is great to trust something else without worrying about spelling or grammar errors. It can still make tense, or context errors so of course read it! 

I was able to express myself clearly and concisely, without struggling with the nuances of this pesky English language. 

What shocked me the most was the spouting of personalized feedback and suggestions to help me identify areas for improvement in my work.
It guessed quite correctly without much detail what my flaws where and where I might have gone wrong 😑 this year, I mean this is starting to feel like a simulation these days.
 
By analyzing my performance data (A copy and paste of some html stuff), the AI was able to provide me with insights that I might have overlooked on my own. This feedback helped me to set goals for the upcoming year and improve my work process - to be honest its the same stuff I would have set myself every year but hey.

Overall, using ChatGPT to write my self-performance review was a valuable experience for me as an autistic programmer. It allowed me to overcome my challenges with self-reflection and gain a new perspective on my performance. With the help of ChatGPT, I was able to identify areas for improvement, set goals for the upcoming year, and improve my work process.

Now it knows all my weakness's its only a matter of time...
BUSINESS THURSDAY!
Tags: writing
Published: 2023-02-16 22:13:11

## **"Entrepreneurship and Startups: From Idea to Launch."

**Welcome to today's Business Thursday! Today, we are going to talk about "Entrepreneurship and Startups: From Idea to Launch."

**What is Entrepreneurship?
**Entrepreneurship is the process of starting a business venture, usually with the goal of making a profit. Starting a business can be a challenging and exciting endeavor, but it requires a lot of planning, hard work, and dedication.
One of the best approaches to starting a successful business is to begin with a solid idea and a detailed plan. A well-crafted business plan can help entrepreneurs identify their target market, determine the financial resources they will need, and create a roadmap for the growth\
of their business. However, creating a business plan is just the beginning. Entrepreneurs need to be able to turn their ideas into reality by executing on their plans and adapting as they go. 

**Here are the steps for taking a business idea from conception to launch:**
1. Start with a Lean Business Model
-Develop a minimal viable product (MVP) that can be tested quickly and cheaply.
-Use customer feedback to refine the product and determine if there is a market for it.
2. Conduct Thorough Market Research
-Determine who the target market is and what their needs and pain points are.
-Analyze the competition to see how the product or service can differentiate itself.
3. Create a Comprehensive Business Plan
-Combine insights from market research and the lean business model.
-Determine the necessary resources (e.g., funding, team, technology, marketing) and timeline for launch.
-Use the plan as a guide and update it as needed.
4. Build the Team and Secure Funding
-Find co-founders or team members with complementary skills.
-Pitch the idea to investors or secure funding through other means.
-Use the funding to develop the product, create a marketing plan, and prepare for launch.
5. Launch and Iterate
-Launch the product or service and use customer feedback to improve it.
-Continuously iterate and improve the product to meet the needs of the market.
-Scale the business as it gains momentum.

These steps can help entrepreneurs turn their ideas into successful startups. It's important to be flexible and willing to adapt as circumstances change, but with the right mindset, team, and resources, anyone can take their business from concept to reality.
To learn more about entrepreneurship and startups, read 
1."The Lean Startup" by Eric Ries.
2."The Startup Owner's Manual" by Steve Blank and Bob Dorf.
3."The Hard Thing About Hard Things" by Ben Horowitz.

cc@aroolangat
Introduction to Linux '/' directory
Tags: webdev, beginners, linux, devops
Published: 2023-02-16 22:12:39

Have you ever wondered what all those directories are outside of /home?

Let's take a shallow dive into the linux filesystem.

/bin? /var? /etc!?

{% embed https://youtu.be/vY2ZvTNzVF4 %}

Source: https://tldp.org/LDP/intro-linux/html/sect_03_01.html
How to the Use React Minimal Pie Chart Library
Tags: react
Published: 2023-02-16 22:12:16

[`react-minimal-pie-chart`](https://github.com/toomuchdesign/react-minimal-pie-chart) is a tiny, lightweight pie charting React library. After reviewing the landscape, `react-minimal-pie-chart` is the smallest and simplest way to create pie (or donut) charts for your React app. The following is a quick introduction to get you up and running.

First, install the library:
```
npm install react-minimal-pie-chart
```

And import it into your component:
```
import { PieChart } from 'react-minimal-pie-chart';
```

Now you can use the `<PieChart />` component.

There are [quite a few options](https://github.com/toomuchdesign/react-minimal-pie-chart#options) you can use to customize your pie charts. The most basic and important property is the `data` property, which takes an array of objects. A basic chart will have the following keys: `title`, `value`, and `color`. For example, your `data` attribute might look like this:
```
data={[
    {
      title: "Test 1",
      value: 50,
      color: "#000000"
    },
    {
      title: "Test 2",
      value: 50,
      color: "#ffffff"
    }
]}
```

To get your labels to show up, you'll need to add the following property: `label={({ dataEntry }) => dataEntry.title}`.

And to style your labels, you set the `labelStyle` property to an object of SVG CSS properties and values. For example:
```
labelStyle={{
    fill: "white",
    fontSize: "5px",
    fontFamily: "Helvetica Neue,sans-serif",
    textShadow: "1px 1px 5px #000"
    }}
```

You can also position your labels with `labelPosition`, which takes a number 0-100 (for a percent from center).

Here is a complete example of a basic pie chart component:
```
<PieChart
    label={({ dataEntry }) => dataEntry.title}
    labelStyle={
        {
            fill: "white",
            fontSize: "5px",
            fontFamily: "Helvetica Neue,sans-serif",
            textShadow: "1px 1px 5px #000"
        }
    }
    labelPosition={75}
    data={
        [
            {
              title: "Test 1",
              value: 50,
              color: "#000000"
            },
            {
              title: "Test 2",
              value: 50,
              color: "#ffffff"
            }
        ]
    }
/>
```

Which will give you a pie chart that looks like this:
![Image of pie chart example](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vlyh7a0qr8jl19a7drcf.png)

If you want to add more, you can animate your pie chart on component render and even add mouse interactions. Check out the documentation [here](https://github.com/toomuchdesign/react-minimal-pie-chart).
第29课 教媳妇编程: Python中传递值、引用或对象引用
Tags: cn, blog, softwareengineering, teachingwife
Published: 2023-02-16 21:45:55

# Pass by Values, References or Object-References in Python

https://youtu.be/osxa0pTWkqw&list=PL0tRUxz8YTPSl_GjXo4TMj4x4qFZ5LBMD&index=29

目录: [https://zhihua-lai.com/teaching/ch/?s=&cat=wife](https://zhihua-lai.com/teaching/ch/?s=&cat=wife)
How to skip a pytest test when running in Github Actions
Tags: python, pytest, github, githubactions
Published: 2023-02-16 21:45:14

---
title: How to skip a pytest test when running in Github Actions
published: true
description: How to skip a pytest test when running in Github Actions
tags: #python #pytest #github #githubactions
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2023-02-16 21:15 +0000
---

You're automatically running your project's pytest suite in Github Actions?  That's great!  But what if there's a test in your code that will NEVER work when it runs in Github Actions?  Maybe it depends on some local resource that you have during development.  Maybe it's a long running test that you don't want to chew up Github Actions time with.  Whatever.  You have your reasons.  The point is this: You want to skip this particular test only when the test suite runs in Github Actions.

NO PROBLEM.

Github Actions has a boatload of [default environment variables](https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables) that we can use to check and see if we're running in Github.  Here's one that looks perfect for this:

> `GITHUB_ACTIONS`  - Always set to "true" when GitHub Actions is running the workflow. You can use this variable to differentiate when tests are being run locally or by GitHub Actions.

So we just check that variable and use the handy [@pytest.mark.skipif()](https://docs.pytest.org/en/7.1.x/how-to/skipping.html#id1) decorator, and here's how we might skip a problematic test in Github Actions:

```
# test_example.py

import os
import pytest

IN_GITHUB_ACTIONS = os.getenv("GITHUB_ACTIONS") == "true"

@pytest.mark.skipif(IN_GITHUB_ACTIONS, reason="Test doesn't work in Github Actions.")
def test_example():
   # This passes locally, but not in Github Actions
   assert os.getenv('GITHUB_URL') is None
```

And there you have it!  It will run with your local tests, but not on Github Actions, and you don't have to think about it again.
Using your Dev Tools to help with Css
Published: 2023-02-16 21:43:44


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hk32k4cs80sh2wxvi4eg.png)For most programmers CSS is a nightmare! I am one who believe this to be true ! When starting a new project I enjoyed every aspect but designing and structure of my webpage. I couldn't come terms with how long it could take me to move one simple image from the the top right of the page to the left bottom. 

If you share this belief about CSS and it's difficulties hopefully this blog will help.  


first you'll need render some type of element to your DOM whether it be an image, text, or a card. You want to then add a className="(name of your class)" this will be the name you will look for when trying to see where in the element tree your element lies.


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

Now Lets head over to our elements tab in our browser Dev Tools you can use your selector at the top left to click an element on your page, after clicking your tree should open up to the exact class you were looking for and highlight it .


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

This is important because if you noticed our image is within a parent div which is controlling how our child element moves along the page. So you can use this tool to find what container you may need to edit to allow you the freedom to edit a specific element. 


Resources to help with CSS

1. 
**Flex Box Froggy : https://flexboxfroggy.com/**

  An interactive game which teaches flexbox css

2. 
**Css tricks: https://css-tricks.com/**
   Daily articles about CSS, HTML, JavaScript, and all things related to web design and development.

3.
**w3school:  https://www.w3schools.com/css/**
 CSS describes how HTML elements should be displayed. This tutorial will teach you CSS from basic to advanced.
Initializing and Creating a Testing Database in PostgreSQL 12.0 with Age Part 3
Published: 2023-02-16 21:08:42

Postgres is already installed in your system.
Now you have to create age extension.


## Configure Age with PostgreSQL


Create the Age extension by running the following command in the PostgreSQL database:

```
CREATE EXTENSION age;
```


**load the extension for age:-**

```
LOAD 'age';
```

Set the search path and other variables.

```
SET search_path = ag_catalog, "$user", public;
```
This command sets the search path to include the Age catalog, the current user's schema, and the public schema. This allows you to use the Age functions and operators in your queries.

By following these steps, you can configure Age with PostgreSQL and use its powerful functionality in your database queries.
[Apache-Age:-https://age.apache.org/](https://age.apache.org/)
[GitHub:-https://github.com/apache/age ](https://github.com/apache/age)
Spring Cloud OpenFeign
Published: 2023-02-16 21:02:25

> Feign is a declarative web service client. It makes writing web service clients easier. To use Feign create an interface and annotate it.

Source: https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-feign.html

With Feign, URLs are not hardcoded and Feign integrates with Ribbon and Eureka automatically. To use it you must add this dependency:

```xml
<dependency>
  <artifactId>spring-cloud-starter-openfeign</artifactId>
  <groupId>org.springframework.cloud</groupId>
</dependency>
```

Then, you must add the @EnableFeignClients annotation to the main class and declare a Feign client using the @FeignClient annotation in the interface:

```java
@FeignClient(name = "other-service-name")
public interface Proxy {

  @GetMapping("/other-service-uri/{variable}")
  public Response getResponse(
      @PathVariable String variable);

}
```

Now, you can use it:

```java
Response response = proxy.getResponse(variable);
```

For more information see: https://www.baeldung.com/spring-cloud-openfeign