teleren/devto huggingface dataset:
😭 ".csv" stands for "comma"... (respect my authority 🤪)
Tags: datascience, codenewbie, community, discuss
Published: 2023-07-02 21:10:34

## ☝️ About

In my daily life, I ask for **nicely formated `.csv`** files... I mean... with `,` (aka. `comma`) as separator... kindly reminding people that:

> `.csv` stands for **Comma-Separated Values** (... and that `;` mean semi-colon 🤓)

... and that respecting this default... **brings a lot of goodies**, including being able to **_"See your CSVs"_** on many systems **without additional effort.**...

[![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yoz34pecwjgbfbbfvgsw.png)
](https://github.blog/2013-08-22-see-your-csvs/)

## 🖕 `DEVOPS` "`|`" provocation (`3d` printing skills 💪)

Let images speak by themselves:

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

### 🤪 "counter offensive"

I guess... that was the proper time to **call Judge `csv` to the rescue**...

{% youtube bqmmCpxP1xw %}

### 🤗 Food for thought

1. [`#dowhatyoulove`](https://twitter.com/hashtag/dowhatyoulove)
2. [`#lovewhatyoudo`](https://twitter.com/hashtag/lovewhatyoudo)
3. [`#culturefirst`](https://twitter.com/hashtag/culturefirst)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xkzjvrj19r8pe1j6jvpn.png)
My First Client
Tags: freelance, webdev, productivity, career
Published: 2023-07-02 20:48:32

Ok so the title might be misleading. They aren't paying me and I know them so the lead was very warm. But I am making a website for a real business. This might not feel like a big deal to someone with experience but its a big deal to me. I am self thought this is my chance to prove I can do this. This is part of my plan to build a portfolio that will get me hired as a freelancer. Do 10 site for free and then use that portfolio of actually functioning sites for real businesses to promote myself and my work. Each new client will be a learning experience, and here are 3 things about freelancing I learned already.

## Manage Expectations 
Learning how to professionally communicate why something is a good or bad idea to non technical people is hard. It's also an invaluable skill in the industry of tech. Having a library of micro descriptions and infographics of technologies in layman's terms might prove to be a valuable thing for me. This got me thinking about the client intake process over all. Having some pre-written documentation of what the client can expect from each step of the process would be a big time saver. I might do this as a static page on my site or as a pdf I can send to the client.

## Do you know, what you want?
This ties in with the above but deserves its own category. Getting the client to communicate what they actually need in terms you can understand and implement is probably the biggest challenge facing freelance devs. I thought that this was mostly hyped up on internet posts by people with bad experiences. But here it is day one staring me in the face. They have an idea of what it might look like and some of the things it might do but the funny thing is they expect you to figure out the rest. This In my case this wasn't much and they have been very communicative about any new info required. I can just foresee some nightmare situations in the future if this stage is not handled with care though.

## Deadlines
This one can really only be fixed with experience. I don't know how long it will take me to do things. Often it's my first time doing it that way. I work in a factory so I understand project management quite well. But this is different, right now I guess and then double my estimate. I am also thinking about how once your done with the site you will have to document it and make sure that those updating it know what they are doing. This will probably take more time than you think. I am already planning on next time doing docs as I go along not at the end.

When the site is finished and with their permission I might share the results here if people would be interested. Maybe share some if the problem solving process I went through to get the product to where it is. Anyways thanks for reading I hope you have fun on the internet.
Next Steps
Published: 2023-07-02 20:39:26

## How I got here

I recently completed the [hackathon](https://dev.to/builditdeploy/1password-hashnode-hackathon-2023-published-on-github-deployed-to-netlify-4pjl), and tracked my progress over a [series of articles](https://dev.to/builditdeploy/series/23538). This also marked the start of my journey on DEV, as I am evaluating different writing platforms.

## Where to next

In a previous article, I talked about my typical [go-to default environment](https://dev.to/builditdeploy/my-default-environment-netlify-vite-react-3pga). In reality, there are multiple considerations that you and your team would need to address in a production environment. In subsequent articles, I will dive more into the technical aspects, with step-by-step tutorials, of building and deploying an application.

---

Photo courtesy of <a href="https://unsplash.com/@createandbloom?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Photo Boards</a> on <a href="https://unsplash.com/photos/CpyfJrr-_ZA?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText">Unsplash</a>
What is Bazaars BZR?
Tags: cryptocurrency, blockchain, bazaars, bzr
Published: 2023-07-02 20:36:37

Bazaars BZR is a decentralized peer-to-peer marketplace that allows users to buy and sell goods and services using cryptocurrencies. The platform is built on the Ethereum blockchain and uses the Bazaars BZR token as its native currency.

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

**Why use Bazaars BZR?**
There are a number of reasons why you might want to use Bazaars BZR. First, the platform is decentralized, which means that it is not controlled by any central authority. This makes it a more secure and transparent option than traditional online marketplaces. Second, Bazaars BZR uses the BZR token, which is a deflationary cryptocurrency. This means that its supply will gradually decrease over time, making it a potentially valuable asset. Third, Bazaars BZR offers a number of features that are not available on traditional marketplaces, such as escrow accounts and dispute resolution mechanisms.
**How does Bazaars BZR work?**
To use Bazaars BZR, you first need to create an account and deposit some Bazaars BZR tokens. Once you have done that, you can browse the marketplace and find items that you are interested in buying. If you find an item that you want to buy, you can make an offer to the seller. If the seller accepts your offer, the transaction will be processed on the Ethereum blockchain. Once the transaction is complete, the seller will release the item to you and you will release the Bazaars BZR tokens to the seller.
**Is Bazaars BZR safe?**
BZR is a relatively new platform, so it is important to do your research before using it. However, the platform is built on the Ethereum blockchain, which is one of the most secure and reliable blockchains in existence. Additionally, Bazaars BZR uses a number of security measures, such as encryption and fraud detection, to protect users' data and funds.
**Is Bazaars BZR legal?**
The legality of Bazaars BZR depends on the jurisdiction in which you are located. In some jurisdictions, cryptocurrencies are legal and regulated, while in others they are not. It is important to check the laws in your jurisdiction before using Bazaars BZR.
**Conclusion**
Bazaars BZR is a promising new platform that has the potential to revolutionize the way we buy and sell goods and services online. The platform's decentralized nature and its focus on security and transparency make it a compelling option for users who are looking for a more trustworthy alternative to traditional marketplaces. However, it is important to do your research before using Bazaars BZR and to understand the risks involved.
**Resources**
Bazaars BZR website: https://bazaars.io/
BZR token on CoinMarketCap: https://coinmarketcap.com/currencies/bazaars/
BZR token on Coingecko: https://www.coingecko.com/en/coins/bazaars 
Ethereum blockchain website: https://ethereum.org/
ReductStore v1.5.0 has been released
Tags: news, database, rust, reductstore
Published: 2023-07-02 20:11:27

Hello everyone,

I'm happy to announce that the [next minor version](https://github.com/reductstore/reductstore/releases/tag/v1.5.0) of [ReductStore](https://www.reduct.store) has been released. For the last month, we worked hard to improve the user experience when querying data from the database. And in this release, we deliver two important features:

- Batching multiple records into an HTTP response for read operations
- Reading only meta information about a record without its body.

Let me show you how it works in detail and how you can use it.

## Batching Records

ReductStore provides an HTTP API that has many benefits, but data querying may slow down due to latency and HTTP overhead, especially for small blobs. The goal of ReductStore is to be suitable for data of any size, and since version 1.5.0, the database can batch multiple records in one HTTP request. This can increase the speed of downloading data by **up to 80 times**, depending on the size of the records.

If you're interested in details, you can read about the `GET /api/v1/b/:bucket/:entry/batch` endpoint [here](https://docs.reduct.store/http-api/entry-api). However, if you use one of our client SDKs, you just need to update to the latest version without making any changes to your code.

## Reading Only Meta Information

Sometimes we don’t need the content of your blob records, but only meta information like size, labels or timestamp. For this case, ReductStore provides `HEAD` versions of endpoints to read and query records without HTTP body.

This is an example, how to use it in python:

```python
bucket = await reduct_client.get_bucket("test")
async for rec in bucket.query("data", head=True):
    count += rec.size
```

## Client SDKs

Traditionally, we have aligned our official SDKs for [Python](https://github.com/reductstore/reduct-py), [C++](https://github.com/reductstore/reduct-cpp), and [JavaScript](https://github.com/reductstore/reduct-js) with the latest API so that you can use the latest features.

I hope you find this release useful. If you have any questions or feedback, don’t hesitate to reach out in [Discord](https://discord.gg/8wPtPGJYsn) or by opening a discussion on [GitHub](https://github.com/reductstore/reductstore/discussions).

Thanks for using [ReductStore](https://www.reduct.store/)!
Passkeys
Tags: passkeys, 100daystooffload, webauthn, ctap
Published: 2023-07-02 19:31:58

[Passkeys](https://passkeys.dev) are a relative new term and probably started to get mainstream when Apple announced their support for that tech in iOS 16 and macOS Ventura (released in 2022).

This technology is here to replace passwords and is based on two primary specifications, [WebAuthn](https://en.wikipedia.org/wiki/WebAuthn) and [CTAP](https://en.wikipedia.org/wiki/Client_to_Authenticator_Protocol).

The beauty with this solution is that the secret (private key) is never leaving your device and there are new passkeys for each site you use, which makes it less easy to track you as a user.

To access your passkeys you will use facial recognition or your fingerprint depending on the support on your device.

Go to [Passkey.org](https://passkey.org) (created by [Yubico](https://www.yubico.com)) to try it out and get more information regarding passkeys.
How to create a tag release
Tags: tag, git
Published: 2023-07-02 19:23:52

How to create a tag release for [this tutorial](https://dev.to/smolthing/build-web-application-in-vertx-part-1-3jc4).

Run commands:
```
git fetch --tag
git tag
git tag -a v1.0.0 -m "The beginning of smolthing backend"
git push origin --tag
```

Tada 🎉 https://github.com/smolthing/backend/releases/tag/v1.0.0
Hi Dev World
Published: 2023-07-02 19:15:46

Hey guys. I am starting a bootcamp for full stack development in hopes of making my White Label App a reality. 

I use to provide diet and training programs for the clients of fitness influencers. On average it use to take up 20-30min of work to manage a client.

I found a way to completely customize their meal plan and AUTOMATE it using a logic I used to use on excel. Compared to other "meal plan generators" in todays market - I am confident enough to say that my logic on how the meal plan is made makes it the most accurate and personalized meal plan.

Everything I had on excel I translated into MYSQL. It takes MYSQL about 15-60 seconds to calculate a whole meal plan.

I want to join this community to not only learn coding but also find a team of people interested in taking on this project with me.


Happy July 4th weekend!
About the stale closure
Published: 2023-07-02 19:14:09

Updating state inside `setInterval` in `useEffect` can be tricky with functional components. I recently faced a problem where the code kept printing 0, which is the initial value of the state. This is because of the stale closure capturing an outdated variable.

Stale closures occur when a closure captures outdated variables. This can happen when a function is defined inside another function and the inner function captures variables from the outer function. If the outer function returns a new function on each call, the inner function will capture the variables from the call that created it. If the inner function is called later, it will use the outdated variables from the old call.

To fix this issue, you can give the effect a dependency and relaunch the interval every time:

```ts
const [idx, setIdx] = useState(0)

useEffect(() => {
  const _interval = setInterval(() => {
    console.log(idx)
    setIdx((idx) => idx + 1)
  }, 500)
  return clearInterval(_interval)
}, [idx])
```

This issue can also occur when you are using async events. For example, if you are updating the state, and it takes 5 seconds to update using `async`, and a user clicks the button too fast, the events will capture old values and updated values won’t be valid. To fix this, you should use the following form for updating the state: `setIdx((idx) => idx + 1)`

```ts
function someAsyncFunc() {
  setTimeout(() => setIdx((idx) => idx + 1), 3000)
}
```
What is microservices architecture used for?
Tags: softwareengineering, architecture, programming
Published: 2023-07-02 19:11:28

Microservices architecture is used to design and build complex applications that can be divided into smaller, loosely coupled services. It offers several benefits and is commonly used for the following purposes:

1. Scalability: Microservices allow individual services to be scaled independently based on their specific demands. This scalability enables efficient resource utilization and the ability to handle high traffic loads by scaling only the necessary services.

2. Agility and Flexibility: Microservices enable organizations to iterate and deploy software more quickly. Services can be developed, deployed, and updated independently, which reduces dependencies and enables teams to work in parallel. It also allows for technology diversity, as each service can be implemented using the most appropriate programming language, framework, or database.

3. Fault Isolation: Microservices promote fault isolation. If one service fails or experiences issues, it does not bring down the entire system. Other services can continue to function independently, ensuring the overall system's resilience.

4. Independent Development and Deployment: Microservices architecture allows teams to work independently on different services, promoting autonomy and faster development cycles. Each service can be developed, tested, and deployed separately, facilitating continuous integration and continuous deployment practices.

5. Scalable Organization: Microservices architecture aligns well with agile development methodologies and DevOps practices. It enables organizations to structure development teams around specific services, promoting smaller, cross-functional teams that can work autonomously and make independent decisions.

6. Integration and Interoperability: Microservices can be designed to expose well-defined APIs, making it easier to integrate with other services, applications, or third-party systems. This flexibility enables organizations to adopt a modular approach, integrating new services or replacing existing ones as needed.

7. Legacy System Modernization: Microservices architecture can be beneficial for modernizing and decomposing monolithic applications into smaller, more manageable services. It allows organizations to gradually replace components of the existing system with microservices, without the need for a complete system overhaul.

Microservices architecture is not a one-size-fits-all solution and may not be suitable for all applications. The decision to adopt microservices should be based on careful consideration of the specific requirements, complexity, and scalability needs of the system at hand.
All the developers please help me to come out from this error.
Published: 2023-07-02 19:10:24

INSERT INTO blob_column VALUES (1, LOAD_FILE('C:/photos/myphoto.png'));
SELECT * FROM blob_column;

it unable to set myphoto.png data into blob it show null 

this stackoverflow blog can help u-->

 [](https://stackoverflow.com/questions/18069054/mysql-load-file-loads-null-values)
B52 Club
Published: 2023-07-02 18:48:36

B52 Club hiện đang là địa chỉ chơi trò chơi kiếm tiền hiệu quả của nhiều anh em. Click tham khảo ngay các hướng dẫn chơi game làm giàu cực nhanh!
[B52 Club](https://b52club.in/) - Hướng dẫn cách chơi game kiếm tiền hiệu quả nhất!
B52 Club hiện đang là cổng game bài đổi thưởng sở hữu số lượng thành viên tham gia cực khủng. Được biết đến là nơi vui chơi giải trí kiếm tiền hiệu quả nhất 2023. B52 là nơi được nhiều anh em tìm đến với mong muốn kiếm thêm thu nhập mỗi ngày. Vậy làm sao để chơi game làm giàu tại đơn vị này?
Ưu điểm nổi bật của cổng game B52 Club
Nếu như bạn đã đăng ký và trải nghiệm vui chơi tại đây thì chắc chắn bạn cũng sẽ cảm nhận được những ưu điểm vượt trội sau: 
Kho game siêu chất với hàng trăm tựa game dẫn đầu xu hướng 
Phiên bản chơi demo hoàn toàn miễn phí giúp cho các người chơi tập luyện nhuần nhuyễn trước khi tham gia đặt cược tiền thật.
Hệ thống bảo mật tiên tiến, hiện đại nhất giúp cho thông tin cá nhân của bạn được bảo quản một cách an toàn.
Hàng loạt các chính sách bảo mật, quyền lợi và nghĩa vụ của người chơi được B52 Club đề cao một cách nghiêm túc. Mọi hành vi vi phạm hoặc gian lận bị phát hiện tại đây đều sẽ bị xử lý thật nghiêm khắc.
Các chương trình khuyến mãi được tiến hành tổ chức liên tục với nhiều  phần quà hấp dẫn đến từ cổng game uy tín.

Đến với B52 Club để trải nghiệm sản phẩm - dịch vụ chất lượng
Hướng dẫn cách chơi game kiếm tiền hiệu quả tại B52 Club
Để có thể thỏa sức tham gia vào các trò chơi siêu HOT mà đơn vị này cung cấp, anh em hãy thực hiện theo các bước sau đây:
Đăng nhập/ đăng ký tài khoản
Việc đầu tiên mà bạn cần làm khi muốn tham gia chơi game tại đây chắc chắn sẽ là đăng nhập. Với những ai chưa có tài khoản thì tiến hành đăng ký. Để nhanh chóng hơn bạn cũng có thể đăng nhập bằng cách liên kết nhanh tài khoản Facebook của mình.
Lựa chọn trò chơi là thế mạnh của bản thân
Như đã nói trước đó, B52 Club hiện đang cung cấp rất nhiều trò chơi khác nhau. Tuy nhiên, để có thể kiếm tiền từ đối thủ cũng như tiền của cổng game thì tốt hơn hết bạn nên lựa chọn các trò chơi thuộc thế mạnh của bản thân. 

Vô số tựa game kiếm tiền siêu chất đang chờ đợi anh em
Bắt đầu tham gia trò chơi
Khi đã lựa chọn được cho mình một trò chơi phù hợp. Lúc này, các bạn chỉ việc nạp tiền và tiến hành tham gia chơi cùng các đối thủ của mình. Trong quá trình tham gia hãy thật bình tĩnh và phát huy những thế mạnh mình đang có để có thể kiếm thêm thu nhập thật hiệu quả mỗi ngày nhé!
Kết luận
Trên đây là hướng dẫn chơi game đổi thưởng B52 Club chi tiết nhất dành cho những ai quan tâm. Với nhiều trò chơi vui nhộn và luật chơi khác nhau dễ dàng giúp bạn nhanh chóng làm giàu về túi, còn chần chừ gì nữa, hãy đến chơi game ngay thôi.
What do you use chatGPT for?
Published: 2023-07-02 18:01:17

## hi. nice to see you! 👋

Here's an interesting question: what do you use chatGPT🧠(or another AI🤖?) for, if you use it at all?

What advantages do you see in this? What disadvantages?
Does the AI help you with work/hobbies or is it worse here?

You are also welcome to write in other AIs that you find better for programming (maybe Github Copilot?).

---

Feel free to write in the comments what you find out about chatGPT & programming!
Git Push Woes: How I Conquered the Pushing Problems
Tags: webdev, github, codenewbie, beginners
Published: 2023-07-02 17:51:21

##**Introduction**
Have you ever encountered the frustrating roadblock of trying to push your local repository to GitHub? I can relate! In this blog post, I'll share my personal experience of facing and overcoming this challenge.

Picture this: I was bursting with excitement, eager to showcase my coding skills by pushing my amazing code to GitHub. I confidently entered the git push command, only to be greeted by an error message. I was left puzzled, wondering what went wrong.

Determined to find a solution, I embarked on a troubleshooting journey. Surprisingly, my Git credentials were properly configured, and the repository permissions seemed fine. So why was I unable to push my code? It felt like a mystery that needed solving.

Suddenly, it hit me like a bolt of lightning—divergent branches! The local repository and the remote repository had taken different paths, and they needed to be synchronized. I realized I had to perform a `git pull` to fetch the latest changes from the remote repository. Then came the task of resolving merge conflicts, which required a bit of patience and experimentation. But I was determined to succeed.

After navigating through the merge conflicts and bringing my local branch up to date by pulling and merging with the remote branch, I finally reached the moment of triumph. With great satisfaction, I executed the `git push origin main` command, and my changes were successfully pushed to the remote repository. Victory was mine!

##**Step-to-step**
Run `git pull origin main` to fetch and merge the changes from the remote repository into your local branch.

Git will attempt to automatically merge the changes. If there are any conflicts, you will need to resolve them manually by editing the affected files.

After resolving any conflicts, commit the changes with `git commit -m "Merge remote changes"`.

Finally, you can push your local changes to the remote repository with `git push origin main`.

This experience taught me two valuable lessons. First, always double-check your Git credentials to avoid unnecessary headaches. And secondly, keep a close eye on your branches to prevent confusion and divergence.

##**Conclusion**
In conclusion, I have shared my adventurous journey of overcoming Git push challenges. It was a rollercoaster ride, but I emerged victorious. Remember, when faced with push problems, take a step back, breathe, and tackle each issue methodically. Happy coding, my fellow developers!
How to compile styled-components on Next.js
Tags: webdev, nextjs, css, react
Published: 2023-07-02 17:45:09

if you are getting problem losing all the style from page, in the moment you render the application.

> You just keep **next.config.js** file as the exemple, adding the code:

```
  compiler: {
    styledComponents: true,
  },
```


> if you dont have this file on the projet, create it as the exemple.


![Structure root folder](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/uuu2xpiaxjn5n87ppjfl.png)

> Add this code:

```
const nextConfig = {
  reactStrictMode: true,
  swcMinify: true,
  compiler: {
    styledComponents: true,
  },
}

module.exports = nextConfig
```