teleren/devto huggingface dataset:
thought.
Tags: career, beginners, softwareengineering
Published: 2023-10-04 13:59:59

Hi,
This is my only post.
To anyone who is reading, I hope you are alright.
I am a fellow 'developer' like you guys,... no probably I am not. Consider me just a guy. I am here only to tell my story, and I do not intend to motivate anyone with this cause it's not.
From high school, I only wanted to become a 'Software Engineer'. I got into grad school, got a Bachelor's in Computers and went on to get my Master's. I may consider myself decent at Programming. I couldn't get a job during my degree completion. I worked hard for three months, then got placed as a Backend Engineer at a Startup. I was happy that I became what I wanted for so long.
Six months later, I suddenly got laid off from the company one day. That was six months ago, almost seven months. I worked to get a new job just a week after getting laid off. I gave interviews, but no one hired me. I would mail recruiters 8-9 times for feedback on why I wasn't moving forward. I got ghosted many, many times. I thought I wasn't prepared enough. I worked even harder, but programming on leetcode' isn't a job. People suggested me to work on my development skills. I got a course on Spring Boot, thinking I would learn new things from it and, if lucky, would get a job out of it. But I was so wrong; I never got an interview; I waited, prepared, only to get ghosted. I was diagnosed with depression and anxiety disorder. I thought that doing projects would make me a good engineer. I could only create a calculator and couldn't think of a project I could start next. People junior to me got jobs at the position where I got ghosted.
I have never been more sad and hopeless for the future. Why would anyone hire a developer with a depression and anxiety disorder?
I complete my rant. Sitting on a chair, having tears, thinking I had let down anyone who believed in me.
I only hope and pray to god for anyone who reads this that you get to be a better developer.. no better person than me.
I assure you, I am not taking any tragic steps. I have thought of quitting and going back, but I do not have anywhere to go back to.
I just wanted a simple life; never in my dreams could I have thought of all this happening to me.
- Thanks for reading.

Please ignore my bad English writing skills. I am not in a state of using proper words or punctuation.
I might come back to this post someday. But not now.
Career Growth After 35: What Awaits Programmers?
Tags: discuss
Published: 2023-10-04 13:56:49


What expectations, challenges, or opportunities come with career development in the tech industry for programmers 35 and over?

Follow the DEVteam for more discussions and online camaraderie!

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}
Devgym Retro Setembro 2023
Published: 2023-10-04 11:54:41

Wow! Setembro foi um mês e tanto pra [Devgym](https://www.devgym.com.br/)! Nós ultrapassamos mil pessoas utilizando a plataforma para se desafiar com nossos desafios 🎉🎉🎉 um marco bem importante pra nós. 

Falando do nosso trabalho no último mês, lançamos não um, mas DOIS desafios com solução na plataforma. 

![Desafios o Clone do Git e Crie um cliente HTTP](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jhcu2gn86ghf281t237h.png)

Um deles é o [Clone do Git](https://app.devgym.com.br/challenges/5b56d4a1-378c-41f0-9c91-7a9577d00671), onde você cria uma versão simples de um versionador de código, ótimo pra quem quer fugir um pouco de estudos em volta do HTTP, afinal nem tudo é web. O Segundo é um desafio inspirado numa vaga para programador(a) Go Sênior em UK, nele você precisa [criar um Cliente HTTP](https://app.devgym.com.br/challenges/9bcad7c4-a809-4ef5-929d-a000aede5b25) para uma API Rest. 

Além disso fizemos várias melhorias no site, incluindo um redesign do dashboard que contém agora uma forma fácil de voltar ao Modo Treino dos desafios 
 
![Novo design do dashboard](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5x3iuy5kbtxgzncuy0lc.png)

Falando um pouco mais dos internals da Devgym. Estamos começando a trabalhar em melhorar a visibilidade de dados, investimos em integrar a plataforma com a Hotmart e o Google Analytics de forma a, por exemplo, perceber quantos usuários converteram a partir de uma campanha ou um link vindo do github. 

Além disso adicionamos um chat no site para facilitar a interação de visitantes na plataforma. 


![Chat no site](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hvpwi7y2tzg3907x1xkw.png)

Se você adquiriu o Pro nas últimas semanas, deve ter recebido um e-mail nosso (não é automático haha) para te conhecer melhor. Estamos chegando no fim do primeiro ano do projeto e a ideia aqui é coletar informação para direcionar nossos objetivos pra 2024 :) 

Para quem está acompanhando o blog como uma inspiração para criar seus próprios projetos, também estamos fazendo um build in public em vídeos descrevendo vários dos aprendizados em torno do desenvolvimento. 

https://www.youtube.com/playlist?list=PLzehOqhpwpxhmg3paUDrwxMOTfSTbwqm9


Outubro vem aí e estamos empolgados pro último trimestre do ano.
🛠️ HTML to JSX Conversion 🛠️
Published: 2023-10-04 13:47:35

I'm working on a tool that converts HTML to JSX.

What would be good features to add to a tool like this?

I plan on adding JSX customization such as single, double quote selection, adjusting self-closing tags, adding/removing React imports and component class option.

What would be other features that'd make it a better conversion tool?

You can see the tool here: [https://divmagic.com/tools/html-to-jsx](https://divmagic.com/tools/html-to-jsx)
Wednesday Links - Edition 2023-10-04
Tags: java, jvm, http, docker
Published: 2023-10-04 13:47:04

Virtual Threads Adoption Guide (17 min)👐
https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html

Exploring the Impact of Stack Size on JVM Thread Creation: A Myth Debunked (3 min)👻
https://foojay.io/today/exploring-the-impact-of-stack-size-on-jvm-thread-creation-a-myth-debunked/

Is 21 the new 8? (4 min)🎱
https://mikemybytes.com/2023/10/03/is-21-the-new-java-8/

Eclipse Temurin 21 release delay (2 min)🕰️
https://adoptium.net/blog/2023/09/temurin21-delay/

JDK 21 Security Enhancements (7 min)🔒
https://seanjmullan.org/blog/2023/09/22/jdk21

What is... a Concurrent Undo Cycle (4 min)↩️
https://tschatzl.github.io/2023/09/28/concurrent-undo.html

Level-up your Java Debugging Skills with on-demand Debugging (5 min)↘️
https://mostlynerdless.de/blog/2023/10/03/level-up-your-java-debugging-skills-with-on-demand-debugging/

What would a web app canary look like? (3 min)🐦
https://ntietz.com/blog/web-app-canaries/

Why HTTP/3 is eating the world (5 min)🍴
https://blog.apnic.net/2023/09/25/why-http-3-is-eating-the-world/

Fall laptop cleaning (30 sec)🍂
https://twitter.com/LiliCosic/status/1708491615952576756

Return to Office Is Bullshit And Everyone Knows It (7 min)🐻
https://soatok.blog/2023/10/02/return-to-office-is-bullshit-and-everyone-knows-it/
Usability vs Security: What a Password Game Taught Me
Tags: cybersecurity, passwordmanagement, usability, cs50
Published: 2023-10-04 13:37:31

Hello 👋, Dev.to community! Today, I want to discuss a subject that's at the heart of cybersecurity: passwords. I recently played a game called "The Password Game" which humorously (and somewhat frustratingly) shows the player the many rules that could be applied to create a "secure" password. While the game is amusing, it also sheds light on a very real issue: the trade-off between usability and security in password management.

## The Game

The Password Game (find it [here](https://neal.fun/password-game/)) offers an escalating set of rules for creating what it considers a secure password. I made it to level 15, where a chess move completely baffled me. But the journey was eye-opening. Some of the rules included:

Your password must include a number.
Your password must include an uppercase letter.
Your password must include a special character.
The digits in your password must add up to 25.
Your password must include a month of the year.
... and so on, up to including a chess move and even a leap year!

## The Trade-Off
While the game is hilarious, it demonstrates the challenges in setting up secure yet usable password policies. If you followed all of its rules, you'd theoretically create a secure password—but would you remember it?

### The Usability Problem
Creating a unique and strong password for every service we use can be overwhelming. Many people either reuse passwords or go for the simple ones that are easy to remember but also easily guessable. The downside? Once one account gets breached, all accounts using that password are compromised.

### The Security Problem
As cybersecurity professionals, we understand the risks of weak passwords and the vulnerabilities they introduce. We could mandate highly complex passwords, but if the requirements are too extreme, we risk discouraging users from using the service in the first place.

## Possible Solutions
### Password Managers
One approach to solving this problem is to use a password manager. However, even that comes with its caveats. For instance, you have to create a robust yet memorable master password. Lose that, and you lose access to all your stored passwords.

### Multi-Factor Authentication (MFA)
Implementing multi-factor authentication can add an additional layer of security, making it harder for attackers even if they have the password.

## Conclusion
The Password Game, despite its humor, raises an important issue we often overlook. The quest for robust cybersecurity often conflicts with the need for ease of use. Striking a balance is challenging but crucial for both service providers and users. I discovered this game while enrolled in the CS50 Cybersecurity course on edX, and it's an excellent resource for diving deeper into these issues.

So, what are your thoughts on this trade-off? How do you find the balance between usability and security in your projects or daily life?
[TypeScript] Creating a literal type union from object values
Tags: typescript
Published: 2023-10-04 13:23:20

Let's say you have the following JavaScript object:

```js
const test = {
  a: "hello",
  b: "world",
  c: 0
}
```

And you want to create a literal type union using the values of this object, namely `"hello"`, `"world"`, and `0`.

```ts
type TestValues = "hello" | "world" | 0
```

The answer would be as follows:

```ts
const test = {
  a: "hello",
  b: "world",
  c: 0
} as const // <== !!!

type TestValues = (typeof test)[keyof typeof test]
// type TestValues = 0 | "hello" | "world"
```

Make sure to include `as const`.

If you forget to add it, the resulting type union would be a union of string and number, rather than the exact literal values.

```ts
const test = {
  a: "hello",
  b: "world",
  c: 0
}

type TestValues = (typeof test)[keyof typeof test]
// type TestValues = string | number
```

By the way, if you want to create a similar type based on the keys of the object instead of the values, you can do it like this:

```ts
const test = {
  a: "hello",
  b: "world",
  c: 0
}

type TestKeys = keyof typeof test
// type TestKeys = "a" | "b" | "c"
```
Tailwind Elements Stable v1.0.0. - a free, open-source UI Kit with 500+ components integrated with Svelte - is out.
Tags: svelte, webdev, javascript, programming
Published: 2023-10-04 13:19:42

Tailwind Elements Stable v1.0.0. - a free, open-source UI Kit with 500+ components integrated with Svelte - is out.
And we couldn't be prouder, so give it a go [here]( https://tailwind-elements.com/docs/standard/integrations/angular-integration/) :)

It will change Your life (or at least how smooth & painless web development is) ;)

It's stable & reliable, comes with over 500 UI Components, easy theming & customisation, dark mode, Figma design system AND free hosting :) .

If You know something about JS, You probably have heard about Svelte.js. And If You know anything about CSS, You have for sure heard about Tailwind Elements. Why not work with them both, when they're integrated so splendidly?

For all JS aficionados: By default all components have autoinit which means they are initialised by data attributes. But if you want to make init by JS - there is also possibility to do that.

Check out how to do it and more about Tailwind Elements [here]( https://tailwind-elements.com/docs/standard/integrations/angular-integration/)

Even though TE is already a fully functional UI Kit, it's still in its infancy really - we have great plans and a long and exciting road ahead of us. So whatever input (however critical) You might have, please share it with us here or on any of our channels on which we will be more than happy to host you:
[Discord](https://discord.gg/ZkTVKaJC)
[GitHub](https://github.com/mdbootstrap/Tailwind-Elements)
[X](https://twitter.com/TailwindElement)
Data Science Road Map for Beginners 2023/2024
Published: 2023-10-04 13:13:27

Data science is one of the fastest-growing careers in the IT sector, with a lot of untapped potential. According to a report by LinkedIn, the career is expected to grow to $230.80 billion by 2026 from $37.9 billion in 2019. Should you enroll for a bachelor's degree or take the shortest route in learning data science? If you choose the latter, this is a beginner's road map to learning data science. 
**Road map** 
Since the data science field is quite broad, a road Map makes learning relatively easy and objective and even guides the learner on the critical concepts that would help them land their first job.
**Programming**
The first step in learning data science is learning a programming language. There are lots of programming languages that you can learn, and they include Python, R, Java and SQL. As a starter, I first chose to learn Python and SQL since I find them easy to understand and remember. 
**Math fundamentals**
The second step would be learning math fundamentals. Remember that data science involves dealing with numbers and learning to interpret the data, and thus, the basic math fundamentals you should know are statistics, linear algebra, differential calculus and discrete math.
**Machine learning**
Machine learning would be the next step, which entails solving problems using algorithms developed by human programmers. In this part, you should learn about regression, 
classification and clustering, and also feature engineering. 
**Deep learning**
Deep learning is another concept you must learn, which will entail learning about PyTorch, TensorFlow, binary classification, artificial neural networks, and Keras. Deep learning is a subset of machine learning that teaches computers to do what comes naturally to humans. The 'deep' in deep learning entails using multiple layers in the data networks.
**Data visualization** 
Data visualization is the other step that entails transforming data into visual content, which is easier to interpret. The most common data visualization is Excel, which you have interacted with in the past. Other tools that can be used for data visualization include Tableau, Power BI, Qlik View, and Qlik Sense. 
**Data storage** 
Data storage tools are crucial to learning about management systems and databases like MYSQL, MongoDB, and PostgreSQL.
**Deployment** 
 Lastly, you must learn about cloud computing platforms such as Azure, AWS, and Google Cloud. 
After learning, you must do projects and share them with potential employers and even fellow developers. Therefore, you must create a GitHub profile, a company that offers cloud-based storage and Git repository hosting services. This is also the platform where the potential will find your profile and hire you based on your projects.
The worst part of Open Source is the unexpected bugs that destroy your training and experimentation.
Tags: stablediffusion, dreambooth, kohya, ai
Published: 2023-10-04 13:05:29

I have been working on Stable Diffusion 1.5-based models’ fine-tuning for several days. I’ve done over 40 full SD 1.5-based model DreamBooth trainings (full fine-tuning with prior preservation).

Even though I was training empirically and meticulously, the model was either getting undertrained or overtrained.

I couldn’t find the reason.

The client was requesting to save trainings as LoRA instead of full checkpoints.

So, when I tried to extract LoRA from the trained model for the first time, I found the reason. The extractor indicated that the text encoders were the same. This means that the whole time I only trained the U-NET, which led to extremely bad results compared to what I could have achieved.

So many hours, resources, and money were wasted.

This is also not the first time this has happened to me. Of course, I am extremely grateful to the open-source developers. They are doing this voluntarily.

I contacted the developer and he verified the issue. I hope he will fix it soon. The mistake was not caused by the developer.

This is very possibly caused by Diffusers or Transformers version upgrade, and possibly Accelerate. These three libraries are the most problematic ones that have zero backward compatibility.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/u4m0ommeovupvxmvrali.png)
Tailwind Elements Stable v1.0.0. - a free, open-source UI Kit with 500+ components integrated with Laravel - is out.
Tags: laravel, webdev, javascript, programming
Published: 2023-10-04 13:02:32

Tailwind Elements Stable v1.0.0. - a free, open-source UI Kit with 500+ components integrated with Laravel - is out.
And we couldn't be prouder, so give it a go [here](https://tailwind-elements.com/docs/standard/integrations/laravel-integration/)

It will change Your life (or at least how smooth & painless web development is) ;)

It's stable & reliable, comes with over 500 UI Components, easy theming & customisation, dark mode, Figma design system AND free hosting :) .

Best known for offering a clean and elegant syntax that is designed to make web development tasks straightforward and quick, Laravel integration in Tailwind Elements is even more elegant than it has ever been, while still aiding rapid application development.

For all JS aficionados: By default all components have autoinit which means they are initialised by data attributes. But if you want to make init by JS - there is also possibility to do that.

Check out how to do it and more about Tailwind Elements [here](https://tailwind-elements.com/docs/standard/integrations/laravel-integration/)

Even though TE is already a fully functional UI Kit, it's still in its infancy really - we have great plans and a long and exciting road ahead of us. So whatever input (however critical) You might have, please share it with us here or on any of our channels on which we will be more than happy to host you:
[Discord ](https://discord.gg/ZkTVKaJC)
[GitHub](https://github.com/mdbootstrap/Tailwind-Elements)
[X](https://twitter.com/TailwindElement)
List of Top ChatGPT Forums and Discussions
Tags: chatgpt
Published: 2023-10-04 12:54:12

Discover the Top ChatGPT forums and discussions where you can learn about the latest Chat GPT trends, research, and developments, and connect with other ChatGPT enthusiasts. Here are some of the best ChatGPT forums and discussions to check out:

- [DEV Community » ChatGPT](https://dev.to/t/chatgpt)
- [OpenAI API Community Forum » ChatGPT](https://community.openai.com/c/chatgpt/19)
- [Effective Altruism » ChatGPT](https://forum.effectivealtruism.org/topics/chatgpt)
- [EEVblog Forum » ChatGPT/AI](https://www.eevblog.com/forum/chatgptai/)
- [FlowGPT Forum](https://flowgpt.com/discussions)
- [ChatGPT Community Forum](https://chatgpt-forum.com/)
- [XDA Forums » ChatGPT](https://forum.xda-developers.com/tags/chatgpt/)
- [Reddit » ChatGPT](https://www.reddit.com/r/ChatGPT/)

[ChatGPT forums](https://zeball.com/6160/chatgpt-forums/) and discussions are a great way to learn more about ChatGPT, how to use it, and to connect with other users. In these forums and discussions, you can ask questions, share tips and tricks, and collaborate on projects.
オンライン薬局の安全性とプライバシーについて知っておくべきこと
Published: 2023-10-04 12:43:22

オンライン薬局は、便利でアクセスしやすい医療サービスの一環として、ますます多くの患者に利用されています。しかし、オンラインで医薬品を購入する際には、安全性とプライバシーに関する重要な考慮事項があります。この記事では、オンライン薬局の安全性とプライバシーについて知っておくべきポイントについて詳しく説明します。

**1. ライセンスと認定**

まず、オンライン薬局を選ぶ際には、その薬局が適切にライセンスを持ち、認定されているかどうかを確認することが重要です。信頼性のある薬局は、国の規制機関によって認可され、検査を受けた医薬品を提供します。ライセンスがある薬局は、一般的に安全性に関する高い基準を満たしています。

**2. レビューや評判の確認**

オンライン薬局を利用する前に、他の患者からのレビューや評判を調べてみましょう。これにより、その薬局の信頼性やサービス品質についての洞察を得ることができます。他の患者の経験が良好であるかどうかを確認することで、信頼性の高い薬局を見つけやすくなります。

**3. プライバシー保護の重要性**

オンライン薬局は、患者の個人情報と医療情報を取り扱うため、プライバシー保護が非常に重要です。信頼性のある薬局は、患者のデータを暗号化し、適切なセキュリティ対策を実施しているはずです。また、プライバシーポリシーを確認し、情報がどのように取り扱われるかを理解しましょう。

**4. 処方箋の確認**

オンライン薬局で薬品を購入する場合、正規の処方箋が必要です。薬剤師や医師が処方箋を確認し、薬品の適切な提供を保証します。偽造や不正な処方箋を使用することは避け、医療の安全性を確保しましょう。

**5. セキュアな支払い方法の使用**

オンライン薬局で支払いを行う際には、セキュアな支払い方法を使用することが大切です。クレジットカードや電子決済など、個人情報が守られた支払いオプションを選びましょう。また、詐欺から身を守るために、信頼性のないサイトに支払い情報を提供しないようにしましょう。

[オンライン薬局](http://medimo.jp/)は医薬品のアクセスを容易にする素晴らしいツールですが、安全性とプライバシー保護には常に気を配る必要があります。信頼性の高いサービスを選択し、個人情報の安全性を確保するために、慎重に行動しましょう。安心してオンライン薬局を利用することで、医療のアクセスを向上させつつ、プライバシーを守ることができます。
How to Fix "ImportError: cannot import name 'Filters'" in python-telegram-bot
Tags: python, webdev, telegram, beginners
Published: 2023-10-04 12:43:01

Have you encountered the "ImportError: cannot import name 'Filters'" error while working with the `python-telegram-bot` library? This error typically occurs when you try to import specific modules from `telegram.ext` and is often related to changes in the library.

In this article, we'll address this issue and provide a solution to get your code running smoothly again.

## 1. Installing python-telegram-bot

First, let's ensure that you have the `python-telegram-bot` library installed. You can install it using pip:

```bash
pip install python-telegram-bot
```

Execute this command in your terminal or command prompt to make sure the library is installed in your Python environment.

## 2. The "ImportError: cannot import name 'Filters'" Error

Now, let's tackle the actual problem. The "ImportError: cannot import name 'Filters'" error often occurs due to recent changes in the `python-telegram-bot` library.

Previously, you might have used the following import statement:

```python
from telegram.ext import Filters
```

However, due to changes in the library, you should now make the following adjustment:

```python
from telegram.ext import filters
```

Additionally, if you were using `Filters.all`, you should replace it with `filters.ALL`.

Here's how your updated import statement should look:

```python
from telegram.ext import filters
from telegram.ext.filters import ALL
```

## 3. Reference to Documentation

The official documentation for `python-telegram-bot` has been updated to reflect these changes. You can find more information at the following link:

[python-telegram-bot Documentation - Telegram.ext.Filters](https://docs.python-telegram-bot.org/en/stable/telegram.ext.filters.html)

## 4. Conclusion

By adhering to the updated import statements and using `filters.ALL` instead of `Filters.all`, you should be able to resolve the "ImportError: cannot import name 'Filters'" error in your `python-telegram-bot` projects.

I hope this article helps you fix this issue and allows you to continue your Telegram bot development smoothly!