teleren/devto huggingface dataset:
La guerra de los navegadores
Tags: podcast, spanish
Published: 2023-08-21 16:46:31

Ya esta disponible el último episodio de Entre Unos y Ceros. En esta ocasión estuvimos hablando sobre La guerra de los navegadores. Revisamos las malas practicas las empresas que estas empresas impulsaban para ganar cuota de mercado. #podcast 

https://open.spotify.com/episode/4g0qKv1ggk2Bp48KXju8ZW?si=8PFE7r_sQrSvtQPAKYrZWw
Suggesting Web Api creation on Kolkata FF Fatafat
Tags: php, discuss, webdev, api
Published: 2023-08-21 16:41:13

Hello Friend's, Welcome to My Latest Post about how to create result web api's on Kolkata FF and Kolkata Fatafat. 
First Let us Know what Kolkata FF is? Kolkata FF is lottery game played in kolkata city. The game is also popular as Kolkata Fatafat. The game is played daily and each day have 8 rounds which is known as Bazi. The official results of the game are declared on official [Kolkata FF](https://kolkataff.mobi) Result Website.

So the owner of this lottery decide to provide result website so whoever is having any idea how to create this api please let us know at 96691-38818.

There is also 1 feature called as kolkata ff tips which are given by mr. Ghosh Babu Tips.
get tips on above number or [click here](https://wa.me/919669138818?text=hi kolkata ff company)
2023-08-18: The Proompt Engineer
Tags: devjournal
Published: 2023-08-21 16:27:26

I forgot again to write on Friday. I hope this doesn't become a habit.

Anyway, this week again was not so much a coding week. 

I had my first kind of foray into dev ops by picking out some services that we might need for our Azure setup and exploring our options. Obviously the principal service we're looking at is Azure's OpenAI service, which would definitely be useful. There's a bunch of interesting things on there, and it's unfortunately impossible to know a lot about everything on there.

I also further fortified the analysis script, which now has the ability to lazily analyze each inquiry, which came out pretty nice and efficient. Here's an example output:

```
Last processed ID: 10073
How many inquiries would you like to process, or type q to quit:
1
Processing inquiry 10074: I recently had an accident at work. Tripped on the office stairs because the handrail was loose. Now management is saying that isn't their problem and I am left here with my injury and bills. I am unsure what to do next. 

Task: legal_subfield_classification
Result: ["Workers Compensation Law", "Personal Injury Law", "Employment Law"]

Task: determine_urgency
Result: This inquiry is critical.

Task: identify_intent
Result: The message is related to legal services. The user is asking for advice and possibly representation in a potential personal injury or workers' compensation case.

--------------------------------------------
Last processed ID: 10074
How many inquiries would you like to process, or type q to quit:
```

It could probably use some further refactoring but I'm satisfied with what I have right now.

I also did some deep diving into Starlette, the engine for FastAPI, since we might have to use some of its lower-level functionality in our project, particularly the WebSockets part, since WebSockets are what drive live chats in the first place. I came up with a Python notebook with a bunch of different testing functions for all its main and relevant features.

For the game, we have hired some new people and hopefully they can start taking some of the heavy lifting from me, but I'll still be receiving some deliverables to accomplish from time to time that hopefully accommodates my time better. I still have to give the new guy some background as to what we have so far.
I Reviewed 1,000s of Opinions on Serverless
Tags: serverless
Published: 2023-08-21 16:14:45

In recent years, serverless computing has become one of the hottest topics in the tech world. Developers and companies are increasingly adopting serverless architectures to build their applications and services. As a passionate technologist, I wanted to understand the opinions around serverless, both for and against, so I decided to dive deep and review thousands of opinions on serverless computing.

Checkout the blog post here! https://konfigthis.com/blog/serverless
Development with Large Language Models
Tags: llms
Published: 2023-08-21 21:24:26

---
title: Development with Large Language Models
published: true
date: 2023-08-21 16:13:43 UTC
tags: LLMs
canonical_url: https://www.freecodecamp.org/news/development-with-large-language-models/
---

Large Language Models (LLMs) open up a wide range of capabilities for developers We just published a course on the freeCodeCamp.org YouTube channel that will equip you with the skills to use LLMs effectively for your projects. Developed by Akshath from Luup.ai, this course will help you unlock the potential
Pseudo-Classes & Elements
Tags: webdev, beginners, programming, css
Published: 2023-08-21 16:11:05

what is **Pseudo-Classes & Elements** ?

Pseudo-classes allow you to apply styles to an element based on its state, its interaction with the user, or its position in the document. Single colon is the syntax for pseudo classes.

**CSS pseudo-class** is a keyword added to a selector that specifies a special state of the selected elements].

4 link related pseudo class selectors

-link
-visited
-hover
-active


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


## **:link**

Adds style to an unvisited hyperlinks.

```javascript
a:link {
color: #FF0066;
}
```


## **:visited**

Styles for links that have already been visited.

```javascript
a:visited {
color: #FF0066;
}

```

## **:active**

Adds style to an activated link.

```javascript
a:active {
color: #FF0066;
}

```
## **:hover**

Adds style to an element when you mouse over it.

```javascript
a:hover {
color: #FF0066;
}

```
In general terms, a _pseudo-class_ is sort of a phantom state or a specific characteristic of an element that we can target with CSS.  _Pseudo-classes_ allow you to apply styles to an element based on its state, its interaction with the user, or its position in the document. Single colon is the syntax for pseudo classes.
Token Playground #8 : Use the native Stellar Lumens (XLM). The classic way
Published: 2023-08-21 16:09:15

# Token Playground Chapter 8 : Use the native Stellar Lumens (XLM) the classic way.


- Check this guide in [https://token-playground.gitbook.io/](https://token-playground.gitbook.io/)
- Edit this guide in it's repo: [https://github.com/esteblock/token-playground/](https://github.com/esteblock/token-playground/)
- Contribute to this guide in the [./docs folder](https://github.com/esteblock/token-playground/tree/main/docs) of the repo

## 1. Introduction
What about when we want to use XLM inside a Soroban smart contract? How do we trigger those transactions? Can we trigger transactions on behalf the user using the `require_auth` method?
 
In this chapter we will start using XLM, asking for our balance the classic way (without Soroban). In the next chapter we will use Soroban!

## 2. Check your XLM's own balance using the classic way
Let's do our first experiment with the native XLM contract. We will create a new account, fund it with friendbot and check our balance in the classic way.

0.- Run the `quickstart.sh` script and enter into the soroban-preview container. Read chapter 1 and 2.
```bash
bash quickstart.sh
bash run.sh
```

1.- Create a new account:
```bash 
soroban config identity generate my-account
MY_ACCOUNT_ADDRESS="$(soroban config identity address my-account)"
```
2.- Fund it with friendbot. Here I'll assume you are inside the soroban-preview containter
```bash
SOROBAN_RPC_HOST="http://stellar:8000"
FRIENDBOT_URL="$SOROBAN_RPC_HOST/friendbot"
curl  -X POST "$FRIENDBOT_URL?addr=$MY_ACCOUNT_ADDRESS"
```

3.- Check your balance with the classic way
Using javascript and node, and assuming that MY_ACCOUNT_ADDRESS="GC6IYOXRAGMVSUDCAHBGBP2ZCAMZVNIF7CZCBY6545EQMIDNQQZCOY5G"

```javascript
var user_address="GC6IYOXRAGMVSUDCAHBGBP2ZCAMZVNIF7CZCBY6545EQMIDNQQZCOY5G"
var server = new StellarSdk.Server(settings.horizonUrl, {allowHttp: true});

server.loadAccount(user_address)
  .then(account => {
    // Find the XLM balance
    const xlmBalance = account.balances.find(balance => balance.asset_type === 'native');

    console.log(`Your XLM balance: ${xlmBalance.balance}`);
  })
  .catch(error => {
    console.error('Error loading account:', error);
  });
```

You'll get a result like this:
```bash
Your XLM balance: 10000.0000000
```


## 3. Use our code

If you want to use our **code** in the [Token Playground's Repo](https://github.com/esteblock/token-playground/), you can just call our script with the `soroban-preview-10` docker containter

You can run it by: 

```bash
bash src/chapter8/use_XLM_native.sh 
```

Check all the code in the repo!


# What is next?
In this chapter we created a new Stellar account and we fund it with `10000` XLM and we managed to check it's balance in the classic way. In the next chapter we will check its balance using smart contracts in Soroban!

Are you ready?

___

This Playground chapter has been written by [@esteblock](https://github.com/esteblock/)
Developer Advocate: Como foi trabalhar por developers no maior banco da América Latina
Published: 2023-08-21 16:07:07

Olá, meu nome é Bruna Bricio e eu atuei como developer advocate em uma das maiores empresas de tecnologia da América Latina. 

A função de um Developer Advocate é incentivar, educar e promover a adoção de produtos e tecnologias na comunidade de desenvelopers. No entando, esse papel muda de empresa para empresa. Na empresa em questão onde atuei o foco era na jornada da pessoa desenvolvedora e de toda a comunidade de tecnologia. Com a otimização dessa jornada poderíamos oferecer resultados mais rápidos e de qualidade para o cliente final. Aqui estão algumas das principais atividades em que atuei.

**Defender e representar a comunidade:**  Como developer advocate atuei como representante da comunidade de tecnologia dentro da organização. Coletando feedback, opiniões e necessidades. Compartilhando assim, internamente para influenciar o desenvolvimento de produtos e melhorias.

**Relacionamentos:** Dentro da comunidade de desenvolvedores, isso é, Dev Relations, atuei na criação e apresentação de fóruns online. Essa, em minha opinião foi uma das melhores partes como developer advocate. Conversar com o público para construir confiança e entender as necessidades de pessoas desenvolvedoras foi uma experiência enriquecedora

**Criação de conteúdo técnico:** Atuei na criação de tutoriais em trilhas, artigos e vídeos sobre tecnologias relevantes para desenvolvedores, práticas recomendadas e casos de uso. 
 
**Eventos:** Palestras, workshops, Hackatons e reuniões para compartilhar conhecimento faziam parte do dia a dia. Demonstrando assim o uso de produtos, tecnologias e boas práticas.

**Feedback interno:** Como developer advocate um dos meus papeis era fornecer feedback para os departamentos internos focados em Dev Relations. Dessa forma, era possível não só ajudar a melhorar os produtos mas principalmente a experiência doe desenvolvedores, identificando problemas, facilitando e otimizando a jornada de desenvolvimento.

**Diversidade:** Um dos principais tópicos como developer advocate eram questões relacionadas à comunidade, como a promoção da diversidade e inclusão na tecnologia, com foco em pessoas com deficiência.

Por fim, tive o grande prazer de desenvolver o **Dev Advocast**, com o formato de videocast e com o objetivo de falar sobre os principais assuntos de tecnologia dentro do banco, trazendo temas de suma importância e entrevistando membros, squads e comunidades internas.

Resumindo, como developer advocate atuei como ponte entre profissionais de tecnologia e com a empresa em si. Desempenhando um papel importante no engajamento de comunidades e na melhoria da jornada de desenvolvimento. Esta foi uma experiência enriquecedora na qual trouxe insights significativos para minha carreira.
Scrape quotes using Python.
Tags: python, automation, webscraping, coding
Published: 2023-08-21 16:03:56

Hi 🙂🖐

In this post i aill share with you how to Scrape quotes using Python.

I will to Scrape quotes from
https://quotes.toscrape.com/page/1/

## step 1

Select html elements

Get quote class name

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6hsaw2u9vmff9hpapwcr.PNG)


Get author name

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

```python
from bs4 import BeautifulSoup
import requests

url = 'https://quotes.toscrape.com/page'

def scrape(url, page_num):
    url = f'{url}/{page_num}'
    res = requests.get(url)
    html = BeautifulSoup(res.content, 'html.parser')
    quotes = []
    authors = []
    
    for quote in html.find_all('span', class_ = 'text'):
        quotes.append(quote.text)
        
    for author in html.find_all('small', class_ = 'author'):
        authors.append(author.text)
        
    
    for i, quote in enumerate(quotes):
        f = open('quotes.txt', 'a+', errors = 'ignore')
        f.write(f'{quote} ## {authors[i]}\n')
        f.close()    


for i in range(20):
    scrape(url, i)

```




**Now we're done 🤗**

**Don't forget to like and follow 🙂**

**Support me on PayPal 🤗**
https://www.paypal.com/paypalme/amr396
Supercharge Your File Management with NetFolders: Organize, Secure, and Collaborate
Tags: webdev, javascript, productivity, opensource
Published: 2023-08-21 15:56:00


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/myktkqt06yyjtux2pibb.png)
Are you tired of juggling multiple file-sharing services, worrying about security, or struggling with version control? Say hello to NetFolders, a powerful TypeScript-based Node.js file server and management system that will transform the way you handle files.

🌟 Why NetFolders?

Streamlined File Management: With NetFolders, you can easily upload, store, and manage your files in one centralized location. No more searching through various platforms to find what you need!

Rock-Solid Security: NetFolders offers robust authentication options, ensuring that your files are secure. Set up an authentication key for extra peace of mind.

Effortless Collaboration: Share files with colleagues, clients, or team members with ease. They can download files using unique tokens, maintaining privacy and control over your data.

Server-side Logging: Keep track of every action with the built-in logging utility. Know who accessed what and when, ensuring accountability and transparency.

🚀 How You Can Use NetFolders

Project Collaboration: Simplify collaboration by sharing files securely with your project team. Say goodbye to clunky email attachments and disorganized folders.

Document Management: Keep important documents neatly organized, easily accessible, and securely stored with NetFolders. Access them from anywhere, anytime.

Personal File Server: Set up your personal file server for remote access to your files, maintaining control over your data and privacy.

Educational Resources: For educators and trainers, NetFolders can be a fantastic tool for sharing lecture materials, assignments, and resources with students.

Photographers and Designers: Photographers, designers, and creatives can showcase their portfolios or deliver high-quality files to clients in a professional manner.

Discover the future of file management with NetFolders. Get started today and take control of your files, security, and collaboration needs. See the GitHub repository to learn more and contribute!

👉 Have you tried NetFolders yet? Share your experience and thoughts in the comments below! Let's revolutionize the way we manage and collaborate on files.

[GitHub Repository](https://github.com/Nopass0/netfolders)
[PT-BR] Entendendo o Spring Framework na Prática
Tags: spring, java, springboot, tutorial
Published: 2023-08-21 15:39:20

No meetup realizado pelo JavaxCE em abril de 2023, tive a incrível oportunidade de compartilhar minha paixão pelo Spring, meu framework favorito, com todos os participantes.

Se você é um entusiasta de Java ou está ansioso para aprofundar seus conhecimentos sobre o Spring, não pode perder a gravação do evento, agora disponível no YouTube. Acompanhe todas as informações e insights valiosos que compartilhei durante minha palestra.

🎥 Assista à gravação do meetup:
{% embed https://www.youtube.com/watch?v=h5QDk2V4mrQ %}

Minha palestra se concentrou em fornecer tanto uma visão conceitual quanto prática para auxiliar os desenvolvedores a compreenderem integralmente o ecossistema do Spring Framework. Durante a sessão, mergulhamos nas complexidades das Rest APIs utilizando o Spring Web, exploramos as melhores práticas para acesso a dados com Spring Data e desvendamos os segredos de desenvolvimento ágil com Spring Boot. Ao longo da jornada, abordei os pilares fundamentais do Spring, como a Inversão de Controle, Injeção de Dependência, gerenciamento de preocupações transversais, adoção de convenções sobre configuração e muito mais.

📦 Confira o repositório de código que desenvolvemos ao vivo: 
{% embed https://github.com/FelixCoutinho/meetup-javaxce-ecommerce-backend %}

Para aqueles que desejam uma recapitulação visual, disponibilizei os slides da apresentação.

🖥️ Slides da apresentação:
{% embed https://speakerdeck.com/felixcoutinho/entendendo-o-spring-framework-na-pratica %}

Obrigado a todos que participaram e espero que essa experiência tenha contribuído para uma melhor compreensão e entusiasmo em relação ao Spring Framework. Fiquem à vontade para compartilhar seus comentários e sugestões aqui.
How to play mp3 files in Python
Tags: python, coding, programming
Published: 2023-08-21 15:31:27


Hi 🙂🖐

Today, I will share with you how to play MP3 files in Python.
You have many liblares in Python To play MP3 files.

## 1 - pygame
Install from here `pip install pygame`

## Code 

```python

from pygame import mixer
import time

mixer.init()
mixer.music.load('Dirty Backseat - S.S.S (feat. AZZI).mp3')
mixer.music.play()

while mixer.music.get_busy():  # wait for music to finish playing
    time.sleep(1)
```

## 2 - playsound

Install playsound from `pip install playsound`

```python

from playsound import playsound

playsound('Dirty Backseat - S.S.S (feat. AZZI).mp3')

```


## 3 - vlc
Install vlc from `pip install python-vlc`

```python

import vlc
p = vlc.MediaPlayer("sample.mp3")
p.play()


```








**Now we're done 🤗**

**Don't forget to like and follow 🙂**

**Support me on PayPal 🤗**
https://www.paypal.com/paypalme/amr396
@media screens - CSS
Tags: css, webdev, beginners, codenewbie
Published: 2023-08-21 15:31:22

## Introduction

While creating website you need to make sure that your website is responsive and works well in every device with any width. Using @media screens makes your website responsive and helps your website to be more efficient and allows the website to list in SEO higher rank.

In this blog post we'll cover up basic fundamentals about @meda queries in CSS so let's get started!

## Understanding @media

Let's understand the @media in CSS. Well this allows developers to specify specific component for specific defined width. Let us say we want `<div class="container">Hello there 👋!</div>` to have background color when device is mobile (I know it makes no sense but still) we want <div> to have background color when the user opens website in mobile phone so we use the @media to specify the width, how much width it should be to apply the background color property to `.container`. Let's see the syntax for @media and then we'll se example.

## Syntax

### Display width

```css
@media screen and (max-width: 768px) {
  /* Styles here for the device with width of 768px */
}
```

In this @media we defined that if the width is less than 768px than the code inside @media will execute. We provided maximum width for the device to apply the style inside @media.

> When width is less than 768px

![Preview](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2wule7yddduhqykbg0ut.png)

> When width is greater than or equal to 768px

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

### Display height

Just like width we can also use the @media for height of the display

```css
@media (height > 600px) {
  body {
    line-height: 1.4;
  }
}
```

> Check out the codepen example [here](https://codepen.io/preetsuthar17/pen/bGONYgm)

![compatibility](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/maz8vnurvoaaeccl5gn6.png)

So yeah that's the most basics about @media screens in css if you have any query feel free to ask in comment, Thank you for reading!
Demolition Permit Visualizer
Tags: ruby, webdev
Published: 2023-08-21 15:26:50

Over the weekend I made this web application with ruby on rails and Sinatra: https://chicago-demolition-permit-records-parser.onrender.com/ .

It was inspired by a project detailed in this blog post: https://mascontext.com/observations/after-demolition . 

It aims to make parsing and visualizing Chicago demolition permit records easy.

The main challenge was getting the google maps api to render an image with multiple markers. Constructing a valid URL was more complicated than I expected.

Unfortunately, I realized too late that the api did not provide dated entries so searching by date would require collecting the permit number and searching through a response to another api to match the permit number and then collecting the date information from that api. I assumed the permit information was not exactly chronological and thus, for my purposes, an unordered collection. This would result in, in my estimation, an O(n2) time complexity where n is equal to the number of permits that need to be dated. On top of this poor time complexity the execution time is made slower by being composed of asynchronous calls to an API. (If you see a flaw in this logic, please comment, and let me know how to make this work!)

Despite this downturn, I would consider this app functional and a successful endeavor in ruby!
🚀 Startup Help
Published: 2023-08-21 15:13:18

Hi Guys, 

Lately im doing a lot of research and study on how to build my own software development startup.

i need help form you guys, 
your expriences and from where i can start, how to get funding importantly. guide and best ways to achieve my goal. 

I'm currently working as a software engineer but want to escape thi rat race. 

Thanks.
Visual Studio : Power Of TODO
Published: 2023-08-21 15:01:43

Sometimes you have specific feature you are going to implement it later or you are in a hurry and want to just do specific thing and you are going to enhance it later.

here come "THE TODO"
using the great IDE Visual Studio all you need to add a comment starting with the word todo

`//TODO Implement awesome feature`

after that you can access your todo list from View>Tasks List

![TODO](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jphicnor5ml4tuc5vtt8.png)
you will see your comment, project ,the file where your comment is and the line number.
double click on the task will move you to the comment.

by this way you can get back to your todo list with need to any external plugins or other tools.
Weekly AI News and Discussion Thread
Tags: ai, discuss, news
Published: 2023-08-21 15:00:00

Hey everyone, the past few months have been pretty electric in terms of advancements in AI and actual/imagined changes to our workflow and industry.

This is a regular open thread where everyone is encouraged to share...

* Notable news in the field of AI
* Personal experiences and insights
* Concerns and fears
* Success stories and demos
* And any other related discussions you'd like to bring to the table

This thread will go out every week.