teleren/devto huggingface dataset:
+AI designer in Lagos 🇳🇬 | & a ₿itcoiner🎖️⚡ | Merging creativity with the future.
Published: 2024-05-07 22:34:46

 Looking to push boundaries at the intersection of art and tech. #cryptoart #aiart #lookingforwork
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qeorpei2e6r3ql8w6kf0.png)
🤔 Having trouble with bug in C#, ASP.NET, PostgreSQL when using API endpoint for mobile app development?
Tags: csharp, aspnet, postgres
Published: 2024-05-07 22:01:49

I am currently working on developing a mobile app using C#, ASP.NET, and PostgreSQL. I am encountering a bug when trying to fetch data from the API endpoint https://esports.sportdevs.com/teams-by-season?season_id=eq.{season_id}. The data is not being displayed correctly in the app. Has anyone encountered a similar issue and found a solution? Any help would be greatly appreciated!
Unlock Financial Freedom: Earn $750 with Cash App
Published: 2024-05-07 21:59:38


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lh4h7pnm3rq948cmzb1b.jpg)
Introduction

The Convenience of Cash App

Step-by-Step Guide to Making $750

1. [Sign Up and Verify Your Account](https://shorturl.at/amvR4)

2. Link Your Debit Card or Bank Account

3. Send and Receive Money

4. Explore Cash App Boosts and Rewards

5. Invest with Cash App

6. Earn Cash Back with Cash Card Purchases

7. Refer Friends and Earn

Conclusion

Unlock financial freedom effortlessly with Cash App. Sign up today and discover how to earn $750 or more with ease.
Day 960 : Want To Be
Tags: hiphop, code, coding, lifelongdev
Published: 2024-05-07 21:38:42

_liner notes_:
- Professional : Had a couple of meetings. Got to speak with my manager and kind of plan what I'll be working on this week. Then I went head down into working on this project. I noticed that there was a race condition happening where some events would fire before the thing I'm building would be ready to listen for them. Think I finally got it fixed today. Now I just need to do a couple of smaller things, refactor the code and publish a first version to hopefully get others to test it out.

- Personal : Got a bunch of stuff done last night. I ironed some clothes for my upcoming trip. Ordered some last minute stuff to take with me. Started packing. Went through some tracks for the radio show and picked up projects on Bandcamp. As for my side project, since I couldn't get the tokens to work properly, I just set up a serverless function on another service to generate the tokens and send it back to my side project. The tokens are now working. Still have no clue what happened, but it's working. Then I added speech recognition to my application and even added the ability to translate what I am saying. Pretty good night.


![﻿ The photo shows a beautiful mountain landscape with a snow-capped mountain in the distance, a river in the foreground, and a forest of green and yellow trees on the left. The sky is blue and there are some clouds in the sky. The location is Chonggu Grassland, China.﻿](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/raplpidj7hlnpbodhob8.jpg)

The plan for tonight is to finally book the hotels for my vacation in Japan. I think I have a rough idea of where and when I want to be. Going to finish ironing and get as much packing done as possible without the stuff I'm still using. Hopefully I'm not forgetting anything. Maybe put together the playlists for the radio show, copy over some audio files so I can have them to work on for the radio show while I'm away, and get the social media posts together for this week's Bandcamp purchases (even though some of this I could probably do that while waiting in an airport or in the air). For my side project, I want to get what I'm saying and the translation sent to the view section and add the ability to control some slides. But first, dinner. Wish me luck!

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube zc-t4oacQto %}
Awesome softs
Published: 2024-05-07 21:33:01



1.  [redbean](https://redbean.dev/)

2.  [red programming language](https://redbean.dev/) 

3.  [websocketd](http://websocketd.com/)

4.  [amulet](https://www.amulet.xyz/)

5.  [menuetOS](https://menuetos.net/)

6.  [haikuOS](https://www.haiku-os.org/)
Podcast Palooza— What are you listening to? (Parenting + Doomsday Edition)
Tags: podcast, watercooler
Published: 2024-05-07 21:11:00

Happy Tuesday everyone. It is time for another Podcast Palooza, a bit late this week. If you are new here, send me what you are listening to as of late!

If today you are not in the mood to share a podcast, slide on over to [Music Monday](https://dev.to/michaeltharrington/series/17887) for all your music discussion needs! 🎶_

---

## In honor of Mother's Day coming up...

I thought maybe this week we could talk about different podcasts that anyone has listened to around family systems or parenting. What creators have you turned to to get advice for parenting? 

## This week we even have a BONUS THEME!

In Los Angeles on Monday, Elon Musk was featured in an interview, stating, "I listen to podcasts about the fall of civilizations to fall asleep". ([Source](https://www.independent.co.uk/news/world/americas/elon-musk-podcasts-fall-civilization-b2541073.html))

I personally do not find this to be the most comforting bedtime media, to say the least. However, I can understand why delving deeper into our biggest fears can sometimes calm them. What do you think? Do you listen to doomsday podcasts? 

![Homer Simpson with a sign attached to his body that says "The End Is Near"](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q9j9w9litc1judxrsirx.gif)

---

## How We Do
Here we go— drop your links to what you have been listening to recently + browse others' suggestions. You can follow the suggested genre if you'd like, but don't feel confined to it; you're free to suggest whatever you want!

_PS: If you are loving this theme, we also have a podcast tag for your listening musings, sharing your very special new episodes, and finding new things from other people on the internet. Check it out._

{% embed https://dev.to/t/podcast %}

---

See ya below!
-**Rachel**
Linux Essentials / Vim
Tags: linux, opensource, learning, certification
Published: 2024-05-07 20:50:35

#Linux Essentials
Estou estudando para tirar minha primeira certificação em linux. Pretendo compartilhar aqui alguns dos tópicos que tenho estudado, com o intuito de contribuir com o estudo de outras pessoas também.


## VIm

Vim é editor de texto, considerado uma versão melhorada do editor vi. O editor possui diversas tipos de configuração, desenvolvido para proporcionar edições de texto de forma eficiente. 

[Link sobre o vim](https://www.vim.org/about.php)

O vim possui dois modos: modo de inserção e o modo de comandos.
No modo de inserção é possível editar o conteúdo do arquivo e inserir texto, já no modo de comandos é possível executar inúmeras tarefas que também incluem edição, como: apagar parte do texto, copiar, colar dentre outras ações.

Para entrar no modo de comandos basta usar a tecla Esc.

| Comando | função                            |
| ------- | --------------------------------- |
| dd / D  | corta / deleta uma linha          |
| p       | cola o texto                      |
| yy      | copia uma linha                   |
| :q!     | força saída do arquivo sem salvar |
| :wq     | salva e fecha o arquivo           |
| ?       | procura um padrão de texto        |
| $       | pula para o final da fila         |

Para voltar ao modo de inserção basta usar a tecla i

[Neste link é possível encontrar outros comandos](https://phoenixnap.com/kb/vim-commands-cheat-sheet)
how get all photos from telegram group ?
Published: 2024-05-07 20:34:13

I am programming on c#. I need to get all photos I need to programmatically download all the photos. I created bot (/setprivacy disable) and added into this group as admin (). this is my code:
TelegramBotClient botClient = new TelegramBotClient("xxxxxxxxxxx");
var offset = 0;
var updates = await botClient.GetUpdatesAsync(offset);

I  have problem with count of returned messages. I need all photos for day (or few days). but I am getting wrong number of messages.

please, help me with it problem.
Use Hugging Face's ControlNet
Tags: ai, machinelearning, python, opensource
Published: 2024-05-07 20:32:45

{% cta https://www.rerun.io/examples/generative-vision/controlnet %} Source Code {% endcta %} {% cta https://www.rerun.io/examples %} Explore Other Examples {% endcta %}

Hugging Face's ControlNet allows to condition Stable Diffusion on various modalities. In this example we condition on edges detected by the Canny edge detector to keep our shape intact while generating an image with Stable Diffusion. This generates a new image based on the text prompt, but that still retains the structure of the control image. We visualize the whole generation process with Rerun.


# Logging and visualizing with Rerun 

The visualizations in this example were created with the following Rerun code.

--- 

## Images 

```python
rr.log("input/raw", rr.Image(image), timeless=True)
rr.log("input/canny", rr.Image(canny_image), timeless=True)
```

The input image and control canny_image are marked as timeless and logged in rerun.

Timeless entities belong to all timelines (existing ones, and ones not yet created) and are shown leftmost in the time panel in the viewer. This is useful for entities that aren't part of normal data capture, but set the scene for how they are shown.

This designation ensures their constant availability across all timelines in Rerun, aiding in consistent comparison and documentation.

---

## Prompts 

```python
rr.log("positive_prompt", rr.TextDocument(prompt), timeless=True)
rr.log("negative_prompt", rr.TextDocument(negative_prompt), timeless=True)
```

The positive and negative prompt used for generation is logged to Rerun.

---

## Custom diffusion step callback 

We use a custom callback function for ControlNet that logs the output and the latent values at each timestep, which makes it possible for us to view all timesteps of the generation in Rerun.

```python
def controlnet_callback(
    iteration: int, timestep: float, latents: torch.Tensor, pipeline: StableDiffusionXLControlNetPipeline
) -> None:
    rr.set_time_sequence("iteration", iteration)
    rr.set_time_seconds("timestep", timestep)
    rr.log("output", rr.Image(image))
    rr.log("latent", rr.Tensor(latents.squeeze(), dim_names=["channel", "height", "width"]))
```

---

## Output image 
Finally, we log the output image generated by ControlNet.
```python
rr.log("output", rr.Image(images))
```

---

## Join us on Github
{% github https://github.com/rerun-io/rerun %}
Win a $500 gift card for Walmart!
Tags: webdev, react, win
Published: 2024-05-07 20:25:10

Win a $500 gift card for Walmart!**

1. Fast [Click Here](https://smrturl.co/o/612177/53470800?s1=dev)
2. Input your email and your information.
3. Answer some easy questions.
4. Congratulation you win $500 gift card.
5. Enjoy
Win a $750 SouthWest Airlines Gift Card!
Tags: react, beginners, win, webdev
Published: 2024-05-07 20:01:57

**Win a $750 SouthWest Airlines Gift Card!**

1. Fast [Click Here](https://smrturl.co/o/612177/53426638?s1=dev)
2. Input your email and your information.
3. Answer some easy questions.
4. Congratulation you win $750 SouthWest Airlines
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p1oax9xgdeejstkcf96u.png) gift card.
5. Enjoy
Should constant be defined outside component?
Tags: webdev, react, reactnative
Published: 2024-05-07 20:00:01

## ①Inside to define
```
import React from "react";

const Sample = () => {
  const TEXT = "hello world";
  return <div>{TEXT}</div>;
};
export default Sample;
```
const TEXT is defined inside Sample component.


## ②Outside to define
```
import React from "react";

const TEXT = "hello world";
const Sample = () => {
  return <div>{TEXT}</div>;
};

export default Sample;
```
const TEXT is defined outside Sample component.


## Main Differences

**Scope** 
In **method①**,TEXT is used only inside Sample component. In **method②**, it is defined with a wide scope. It's also accessible from other locations within the file. It means it can be used in other components within the file. 

**Memory usage**
In **method①**,It consumes memory when the component is rendered and is released from memory when the component is unmounted.
In **method②**,file remains in memory as long as the file is loaded.

## Summarize 
Since memory is consumed with each re-render, it's better to define constants outside the component. Also, when you want to reuse them multiple times, define them outside the component.
قیمت ازن ژنراتور
Published: 2024-05-07 19:57:58

"قیمت ازن ژنراتور" یا همان قیمت مولد ازن، قابلیت تأثیرگذاری بسیار قوی در بازار دستگاه‌های تصفیه هوا و ضدعفونی کننده‌ها دارد. این تکنولوژی پیشرفته مبتنی بر استفاده از گاز ازن به عنوان عامل ضدعفونی، علی‌رغم هزینه‌های بالا، به دلیل خواص شگفت‌انگیز آن، به صورت گسترده در صنایع مختلف استفاده می‌شود. قیمت ازن ژنراتور بستگی به عوامل مختلفی دارد که باید مورد توجه قرار گیرد. این عوامل شامل مدل و نوع دستگاه، ظرفیت تولید ازن، کیفیت ساخت، تکنولوژی استفاده شده و برند تولید کننده می‌شوند. همچنین، محدودیت‌ها و قوانین مربوط به استفاده از ازن در کشور شما نیز ممکن است تأثیرگذار باشند. با توجه به این عوامل، [قیمت ازن ژنراتور](https://shamimsharif.ir/products/ozone-generator/industrial-price-applications/) می‌تواند در محدوده‌ای بین چند صد دلار تا چند هزار دلار متغیر باشد. برای خرید بهترین دستگاه، توصیه می‌شود قبل از تصمیم‌گیری، بازار را مطالعه کرده و به دقت و با دانش کافی، انتخابی را انجام دهید تا برای شما سرمایه‌گذاری مناسب و پایداری را فراهم سازید.
Win up to $400 for your purchases!
Tags: win, gift
Published: 2024-05-07 19:57:14

**Win up to $400 for your purchases!
**
1. Fast [Click Here](https://smrturl.co/o/612177/53466114?s1=dev)
2. Input your email and your information.
3. Answer some easy questions.
4. Congratulation you win $400 gift card.
5. Enjoy 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/74n6o1g5gtisrtv699r8.jpg)
اصلاح تصفیه خانه
Published: 2024-05-07 19:56:24

[اصلاح تصفیه خانه](https://shamimsharif.ir/services/modification-design-sewage-treatment-plant-industrial/) یک فرآیند مهم در بهبود کیفیت آب است. تصفیه خانه ها از تجهیزات و فناوری های مختلف برای حذف آلودگی ها و ذرات معلق در آب استفاده می کنند. با گذشت زمان، تجهیزات تصفیه خانه قدیمی ممکن است خراب شوند یا عملکرد نامناسبی داشته باشند. در این صورت، لازم است تا اصلاحاتی در تصفیه خانه اعمال شود. اصلاح تصفیه خانه شامل مراقبت، تعمیر و نگهداری تجهیزات فنی است. این فرآیند می تواند شامل تعویض قطعات خراب شده، تنظیم تنظیمات و پارامترهای فنی، تمیز کردن و رفع خرابی های کوچک باشد. همچنین، اصلاح تصفیه خانه ممکن است نیاز به بهبود فرآیندهای عملیاتی داشته باشد. این شامل بهبود کارایی و کاهش هدررفت منابع، بهبود کنترل کیفیت آب و افزایش توانایی تصفیه خانه در مقابل آلودگی های جدید است. اصلاح تصفیه خانه در نتیجه بهبود عملکرد و عمر مفید تجهیزات، افزایش کیفیت آب تولیدی و کاهش آلودگی های زیست محیطی دست می یابد. بنابراین، انجام این فرآیند برای حفظ سلامت و بهداشت عمومی جامعه بسیار حائز اهمیت است.
قیمت زئولیت
Tags: zeolite
Published: 2024-05-07 19:52:28

زئولیت اکسیژن ساز یک نوع زئولیت می‌باشد که قابلیت جذب و ذخیره چندین مولکول اکسیژن را دارد و در برخی صنایع و کاربردهای مختلف مورد استفاده قرار می‌گیرد. این نوع زئولیت به عنوان یک جاذب اکسیژن به‌آسانی اکسیژن را از هوا جذب نموده و با فشرده سازی، این اکسیژن را ذخیره کرده و در مواقع اضطراری یا در جاهایی که منابع اکسیژن محدود است، اکسیژن خروجی مفیدی را تأمین می‌کند. [قیمت زئولیت](https://shamimsharif.ir/products/zeolite-oxygen-generator-price/) اکسیژن ساز بسیار متنوع است. در صنعت نفت و گاز، در فرآیندهای حذف گازهای زیان‌دهنده و کاهش آلاینده‌ها مورد استفاده قرار می‌گیرد. از آنجا که زئولیت اکسیژن ساز توانایی جذب اکسیژن را دارد، در ساخت و ساز تونل‌ها و برج‌ها نیز مورد استفاده قرار می‌گیرد تا در صورت بروز آتش سوزی یا قطع برق، اکسیژن نگهداری شده توسط زئولیت، برای تأمین نیازهای اکسیژنی افراد به‌کار رود. علاوه بر این، زئولیت اکسیژن ساز در صنایع شیمیایی، صنعت بیوتکنولوژی، پزشکی و اورژانس هواپیماها نیز مورد استفاده قرار می‌گیرد. به‌اختصار، کاربردهای زئولیت اکسیژن ساز برای تأمین اکسیژن در هر محیطی که نیاز به اکسیژن خاصی دارد، جهت ایجاد امنیت بیشتر و تأمین اکسیژن در شرایط آتش‌سوزی، عملیات پزشکی و سایر حوادث ضروری بسیار حائز اهمیت است.
Win a $500 gift card for Walmart!
Tags: walmart, win
Published: 2024-05-07 19:49:04


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/n5flh92mdbmiauq7iah8.jpg)**
Win a $500 gift card for Walmart!
**
1. Fast [Click Here](https://smrturl.co/o/612177/53470800?s1=dev)
2. Input your email and your information.
3. Answer some easy questions.
4. Congratulation you win $500 gift card.
5. Enjoy
:x Telegram game team
Tags: testing, gamedev, community, startup
Published: 2024-05-07 19:46:25

Play a game?)
The first phase has already started🤫
Limited to 10000
Solve mysteries to find the key, mine, collect clues.
Those who find the key will share the reward(Key Pass) amongst themselves

looking for people to join the team, designers, developers
https://t.me/smoothgo

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/elgx1iw9j2zaqp7xuy2m.png)
telegram channel
https://t.me/smooth_go

Smooth go: 
https://t.me/smooth_go_bot
The benefits of professional water damage restoration services
Published: 2024-05-07 19:45:42

Professional [water damage restoration](https://usawaterrestoration.com/how-to-remove-moisture-from-floor/) services offer numerous benefits for homeowners facing water-related emergencies. Firstly, these experts possess the necessary knowledge, skills, and equipment to effectively assess the extent of the damage. By doing so, they can devise a comprehensive plan to mitigate further harm and restore the affected areas efficiently. Additionally, their swift response helps prevent mold growth, structural deterioration, and other long-term issues associated with water damage. Moreover, hiring professionals ensures thorough cleanup and sanitation, promoting a safer and healthier environment for occupants. Ultimately, their expertise not only saves time and effort but also minimizes overall restoration costs by addressing problems promptly and effectively.
How can a Node.js development company help me with my project?
Tags: node, webdev, javascript
Published: 2024-05-07 19:38:41

Having a company that offers node.js as a core service line adds value in a few ways that differ from hiring a single freelance node dev. From my experience in technology here is what I have seen as pro's and con's. 

**Pros:**

- A company will vet out talent. If I go straight to upwork I will have to test and try many people before landing on top talent. A company has a full HR staff to help with that and pair down your candidates. 
- A company will have backup: If your freelancer is sick or leaves or stops performing you are out of luck and have to start over. With a company they will cover for the dev, create KT if there is a transition etc.  
- A company can offer more strategic advice. If you want to ask higher level questions about planning, architecture or launch strategy your freelancer isn't very helpful but other leads in a company organization like founders, project managers and tech leads all have opinions and advice for your project. 

**Cons:**

- A company will not be as affective if you have very niche challenge. You can often find a freelancer for a very specific problem and they can solve it very quickly.  
- A company will usually be looking for a longer term commitment or at least prioritizes it. A freelancer usually is ok without long term contract and is happy with no commitment.  
- With a freelancer there is no real sales process so it is pretty straight forward to dive right into your issue.  
- With a freelancer it is usually easy to setup and get going because you hired them for a very specific problem. So they get up and going very quickly. 

For more about hiring a [node.js company check out these faq's by Zibtek.   ](https://www.zibtek.com/node-js-development-company)

Also, Node.JS is benchmarking [20k concurrent sessions](https://www.zibtek.com/blog/the-mean-mern-advantage-the-stats-behind-the-stack/). Check out the stats, it is performing really well.
setw() & setfill() | C++ boshlang'ich
Tags: beginners, tutorial, programming, cpp
Published: 2024-05-07 19:27:09

`setw(n)`

- Ushbu funksiya chop etish uchun ma'lum uzunlik ya'ni ustunlar so'raydi. Masalan:
setw(5) - chop etish uchun 5 ta ustun so'raydi.

- agar chop etilayotgan belgilar uzunligi so'ralgan ustunlar sonidan ko'p bo'lsa, hamma belgilar muammosiz chop etiladi. Masalan: `cout << setw(1) << "Salom";` kodi garchi bitta ustun so'ralganda hamma `Salom` so'zini hammasini chop etadi.

```
cout << setw(10) << 123 << endl;
```
`setfill('')`

- Ushbu funksiya `setw()` funksiya bilan doimo birgalikda ishlatiladi.

- `setfill('')` funksiyasi `setw` ishlatilganda hosil bo'lgan bo'sh kataklarni berilgan belgi bilan to'ldiradi. Masalan: `cout << setw(5) << setfill('.') << 7 << endl;` `kodi ....7` chop etadi.
GiftSlot is a premier online casino
Tags: android, gamedev, casino
Published: 2024-05-07 19:23:58

GiftSlot is a premier online casino known for its curated selection of games, including immersive slots, strategic table games, and engaging live dealer options. Players enjoy lavish bonuses and promotions such as grand welcome bonuses and free spins.
[See More
](https://giftslot.com/big-fish-casino-free-chips/)The casino boasts a sleek, user-centric interface and seamless mobile integration, ensuring smooth gameplay across all devices. GiftSlot upholds stringent security measures with advanced SSL encryption and certified random number generators (RNGs) for impeccable fairness and trustworthiness.
cin | C++ boshlang'ich
Tags: beginners, programming, tutorial, news
Published: 2024-05-07 19:10:34

`cin`
Ushbu operator foydalanuvchidan ma'lumotni so'rab uni vaqtinchalik hotirasiga saqlash uchun ishlatiladi.

```
#include <iostream>

using namespace std;

int main()
{
   int yosh;
   cin >> yosh;
 
   cout << "Siz " << yosh << " yoshdasiz!" << endl;

}
```

Yuqoridagi kodni taxlil qilamiz:

- `int` butun sonlarni saqlab turish uchun xotiradan joy beradi va hotira variable(o'zgaruvchi deb ataladi)

- yuqoridagi `int yosh;` degani hotiradan bitta butun son sig'adigan joy beriladi va uni **yosh ** deb nomlanadi. Bu xotiraga endi istalgan butun son joylash mumkin.

- `cin >> yosh;` esa consoledan bitta butun son o'qiydi va u sonni **yosh** nomli o'zgaruvchiga saqlaydi.

- keyingi qatorda **yosh** nomli o'zgaruvchini qiymati `cout` komandasi ichida chop etilyapti.

**Bir nechta ma'lumotni o'qish**

`cin` komandasi orqali bir nechta o'zgaruvchiga qiymatlarni tengdaniga o'qish mumkin.

```
#include <iostream>

using namespace std;

int main()
{
  int yosh;
  float vazn;
  char baho;
 
  cin >> yosh >> vazn >> baho;

  cout << "Yosh = " << yosh << endl;
  cout << "Vazn = " << vazn << endl;
  cout << "Baho = " << baho << endl;

}
```
I'm a noob in dev world.
Tags: beginners, programming, python, django
Published: 2024-05-07 19:08:59

Hello there, **I'm a noob in dev world.** But I'm interested in Py and am now trying to learn Django. If anyone is interested in teaching me, please add me and send a message.

[Linkedin](https://www.linkedin.com/in/skhalidmahmud/)
[GitHub](https://github.com/skhalidmahmud)