teleren/devto huggingface dataset:
Build in Public: Week Two Check-in
Tags: beginners, learning, discuss
Published: 2023-07-14 16:04:33

---
title: Build in Public: Week Two Check-in
series: build in public monthly challenge
published: true
description: Join Virtual Coffee as we spend the month of July building in public!
tags: beginner, learning, discuss
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fhsb2axu1sna401hlpe0.png
# Use a ratio of 100:42 for best results.
---

Hey friends :wave:

It's week-two check-in time for the [Virtual Coffee Build in Public Challenge](https://dev.to/virtualcoffee/join-virtual-coffee-for-the-build-in-public-the-power-of-daily-standup-and-demo-challenge-35kb)! This is a challenge where you commit to sharing your progress on a project publicly, on a weekly basis.

**Tell us how you did this week.** You might share things like: 

- What did I accomplish this week?
- What are my goals for next week?
- What challenges am I facing?
- How can we help you?

And if you haven't started yet, that's ok too! Just jump into the check-ins when you're ready.
PracticeHero.site : My new project!
Tags: javascript, webdev, react, productivity
Published: 2023-07-14 16:01:32


![Image description](https://im3.ezgif.com/tmp/ezgif-3-4e93d97386.gif)


Hi friends, in this blog I will share about a project I have built recently.

I often give virtual contests on Leetcode and other platforms to improve my DSA skills. 
With every contest I learnt new tricks and concepts. Very soon I realized that I was doing something wrong, ie I was not writing about my learnings, the new concepts, tricks and new algorithms anywhere. It often happens that you found some nice articles, blogs, videos or anyother resource regarding a topic and you save them somewhere but after some time you forget about it. 
This was happening with me too. 
 

One day I thought to make an application where I can save all the learnings and resources after giving a virtual contest on a coding platform, and track my progress. Then I developed PracticeHero.
This web app serves a very niche area but indeed it is very useful. It is has a clean UI/UX. 

If you are a person who give virtual contests on various coding platforms, then you must check it out once!

[www.practicehero.site](https://www.practicehero.site/)

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

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

<kbd>
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2q6ci862i83qb0m0rt8t.png)
</kbd>
Django queryset filters: GT, LT, GTE, LTE
Tags: webdev, python, react, django
Published: 2023-07-14 16:01:13

In Django, the following queryset filters are used to perform comparisons in database queries:

1. `gt` (greater than): This filter selects objects where the specified field is greater than the given value. For example:
   ```python
   restaurants = Restaurant.objects.filter(price__gt=30.00)
   ```
   This query will retrieve all `Restaurant` objects where the `price` field is greater than 30.00.

2. `lt` (less than): This filter selects objects where the specified field is less than the given value. For example:
   ```python
   restaurants = Restaurant.objects.filter(price__lt=10.00)
   ```
   This query will retrieve all `Restaurant` objects where the `price` field is less than 10.00.

3. `gte` (greater than or equal to): This filter selects objects where the specified field is greater than or equal to the given value. For example:
   ```python
   restaurants = Restaurant.objects.filter(price__gte=10.00)
   ```
   This query will retrieve all `Restaurant` objects where the `price` field is greater than or equal to 10.00.

4. `lte` (less than or equal to): This filter selects objects where the specified field is less than or equal to the given value. For example:
   ```python
   restaurants = Restaurant.objects.filter(price__lte=30.00)
   ```
   This query will retrieve all `Restaurant` objects where the `price` field is less than or equal to 30.00.

In the code you provided, these filters are used to perform price-based filtering on the `Restaurant` model. Depending on the selected price ranges, the code applies the appropriate filter using these queryset filters to retrieve the desired restaurants.
The WebXGuild Chronicles - #01C04: Harmonious Collaboration Begins
Tags: webdev, devjournal, github, opensource
Published: 2023-07-14 15:30:00

With the stage set and ideas blossoming, the collaboration takes flight. Maxime, the master builder, initiates the project, embracing the challenges and opportunities that lie ahead. The first commitment on the GitHub Repository brings a surge of excitement, marking the beginning of a grand journey.

Meanwhile, the voice of another contributor emerges. Nikhil Kumar, or "thehashmap," steps forward, offering support and additional ideas to fuel the project's growth. Event analytics, multi-language support, and integration with calendars like Google Calendar become key elements to consider. Vincent showers Nikhil's ideas with admiration, awarding them "10 billion points" in the realm of innovation.

Dear reader, as we conclude this chapter, we witness the fusion of minds, a harmony of ideas, and the dawn of a remarkable project. The [WebXGuild](https://github.com/WebXDAO/WebXGuild) journey embraces collaboration, integration, and communication, all guided by the playful spirit of Vincent Villafuerte. Join me as we venture forth into the next act, where unexpected twists, laughter, and inspiration await us.

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). Why should there be this disclaimer? Because I always considered ChatGPT!!!
DEV Office Tour v5
Tags: beginners, codenewbie, watercooler, discuss
Published: 2023-07-14 15:29:00

Hey DEV Community! It's time for another exciting edition of our biweekly Office Tour thread. We're back to celebrate the spaces that ignite your inspiration and showcase the unique workspaces of the talented individuals in our community!

Your desk is more than just a surface—it's a canvas that reflects your personality, creativity, and dedication. So, grab your camera, capture your workspace, and join the conversation! Let's celebrate the spaces that spark our imagination and empower us to reach new heights in our coding endeavors.

Happy desk touring!
Tail call optimization in ES6(javascript) in easy language
Tags: javascript, tutorial, programming, interview
Published: 2023-07-14 15:24:18

Tail call optimization (TCO) is a technique used to optimize recursive functions by avoiding the accumulation of stack frames. In ECMAScript 6 (ES6), TCO is not required but some JavaScript engines might provide limited support for it.

Let's understand TCO with an easy example in plain language. Consider a function to calculate the factorial of a number:

```js
function factorial(n) {
  if (n === 0) {
    return 1;
  } else {
    return n * factorial(n - 1);
  }
}
```

In this code, the `factorial` function recursively calls itself, multiplying the current number `n` with the factorial of `(n - 1)`. However, this implementation does not utilize TCO.

To enable TCO, we can modify the function to use an accumulator parameter:

```js
function factorial(n, accumulator = 1) {
  if (n === 0) {
    return accumulator;
  } else {
    return factorial(n - 1, n * accumulator);
  }
}
```
Here, we introduce an extra parameter called `accumulator` which keeps track of the intermediate result. In each recursive call, instead of directly returning `n * factorial(n - 1)`, we update the accumulator by multiplying it with `n` and pass it to the next recursive call.

With this modification, the recursive call is now a tail call because it's the last operation before returning, and it doesn't require any further computation. It allows the JavaScript engine to optimize the call by reusing the current stack frame, preventing potential stack overflow errors for large input values of `n`.

However, it's important to note that ECMAScript 6 doesn't mandate TCO, and its availability depends on the JavaScript engine. Different engines may handle tail calls differently, so the optimization is not guaranteed to work consistently across all environments.

To ensure broader compatibility and reliable optimization, you may consider using iterative approaches or libraries that provide TCO features, such as Babel's `babel-plugin-tailcall-optimization` or languages like `ClojureScript` that compile to JavaScript with built-in TCO support.

Thank you for reading this blog, follow me on Twitter, I regularly share blogs and post on Javascript, React, Web development and opensource contribution

Twitter- https://twitter.com/Diwakar_766

Github- https://github.com/DIWAKARKASHYAP
Is Coding For You? Four Simple Questions.
Tags: beginners, logic, coding, mindset
Published: 2023-07-14 15:02:49

Someone shared the triangle puzzle below in a Facebook group. It's fairly straightforward but requires attention to detail and some imagination and logic. I thought this puzzle could be a simple test of whether or not someone would enjoy and probably thrive in programming. I think you can tell by asking yourself four simple questions.

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

**1)** Does the very idea of **figuring out** this puzzle appeal to you? Is this something that you would voluntarily do or do you find it bothersome or a waste of time? Do you like mental puzzles?
Programming involves figuring things out - how something can be done, or why something is not working or why it is working. A programmer is usually not just satisfied that something works, they want to know why, partly so that next time they face a similar problem they can fix it easily, but also partly out of sheer curiosity.

**2)** Are you able to **visualise** the triangles in your mind, or do you have to draw or mark them? Many times, a programmer has to visualise how a program would work, without actually writing out the program. Or they look at an existing program and imagine what would happen if someone ran it, thus figuring out possible loopholes or errors that might arise. It is often impractical to actually spend time writing possibly lengthy pieces of code, just to find out where the problem is. Sometimes other pieces of the system are not in your control, so you have to simply think about what would happen if you changed something on your end, without changing the other parts that are inaccessible to you.

**3)** If someone shows you the **solution for one level** of the triangle, will you be able to see the rest of them? Often when searching for solutions online, you may not find sample code that matches your exact problem. You may get something close, then you will need to apply the principles and the logic to your own program. You need to understand the principles and apply them as needed in your own situation.

**4)** Can you see the triangles? All of them? A programmer needs to have **an eye for detail**. Sometimes a missing comma or missing parenthesis may make your program not work as expected or not work at all.

So, how may triangles are there?
Serquo obtiene la acreditación ChooseMyCompany 2023 en dos categorías
Published: 2023-07-14 15:02:13

En Serquo, se ha logrado consolidar una cultura [empresarial](https://www.colocolonoticias.cl/) orientada al bienestar y la felicidad de sus empleados. Con el firme propósito de evaluar el nivel de satisfacción de su talentoso equipo, la compañía ha decidido colaborar con [ChooseMyCompany](https://www.enlineanoticias.mx), reconocida firma especializada en este ámbito.

El objetivo principal de esta iniciativa era analizar tanto las fortalezas como las debilidades de Serquo, con el fin de implementar planes de acción que permitieran seguir avanzando con un equipo altamente motivado y satisfecho.

Los resultados obtenidos han sido sumamente positivos, llevando a Serquo a recibir la [prestigiosa](https://www.espaciosantiagodigital.cl) acreditación ChooseMyCompany 2023 en dos categorías fundamentales.

La primera de ellas es [HappyIndex](https://www.diarioindependiente.mx)®AtWork, una evaluación que se enfoca en la motivación de los empleados a través de seis dimensiones clave: desarrollo profesional, entorno laboral, dirección, reconocimiento, orgullo y sentido. En estas áreas, el equipo de Serquo ha demostrado niveles de satisfacción sobresalientes, reflejando su compromiso con el proyecto profesional de la compañía y su satisfacción con el liderazgo corporativo.

La segunda categoría, conocida como HybridWorkIndex®, se centra en la organización del trabajo en términos de tiempo y espacio, y cómo esto contribuye al rendimiento y bienestar de todos los colaboradores, independientemente de si trabajan de forma presencial o remota. Las dimensiones evaluadas incluyen interacciones, coordinación, inclusión y bienestar. Los resultados de la encuesta han revelado los aspectos más destacados de Serquo, destacando la valoración de la conciliación entre la vida profesional y personal, la utilidad e impacto del trabajo realizado, la igualdad de oportunidades y la coherencia con los valores de la empresa. Estos aspectos resaltan la cultura corporativa y el enfoque centrado en las personas que define a Serquo.

La satisfacción y alegría que rodea a Serquo por estos excelentes resultados demuestran su compromiso con un entorno de trabajo flexible y equilibrado. Gracias a sus logros en la encuesta ChooseMyCompany, la compañía ha obtenido un destacado puesto 26 en el ranking de un total de 134 empresas participantes, con un índice de recomendación de Serquo del 84,6%.
El valor de los cursos de pilotos de drones: Capacitación esencial para un vuelo seguro, Por Planorámica
Published: 2023-07-14 15:01:22

Sin embargo, es [fundamental](https://www.enlineanoticias.mx) reconocer que volar un dron con responsabilidad implica adquirir los conocimientos necesarios y cumplir con las regulaciones establecidas.

En este sentido, los cursos de pilotos de drones se han convertido en una herramienta [invaluable](https://www.colocolonoticias.cl/) para garantizar vuelos seguros y legales.

En este artículo, se [explora](https://www.espaciosantiagodigital.cl) en detalle el valor de estos cursos y por qué son esenciales para cualquier persona interesada en el mundo de los drones.

Comprender la normativa vigente
Uno de los aspectos más importantes que se abordan en los cursos de pilotos de drones es la [legislación](https://www.diarioindependiente.mx) y las regulaciones asociadas con el vuelo de drones.

Cada país tiene sus propias normativas que deben seguirse para volar un dron de manera segura y legal. Estas regulaciones incluyen requisitos como obtener licencias, mantener ciertas distancias de seguridad, evitar áreas restringidas y respetar la privacidad de las personas.

A través de los cursos, los pilotos de drones aprenden a interpretar y cumplir con estas normas, lo que les permite evitar multas y sanciones legales, así como minimizar riesgos de accidentes o incidentes indeseados.

Adquirir conocimientos técnicos y operativos
Los drones son dispositivos complejos que requieren un entendimiento adecuado de su funcionamiento y manejo. Los cursos de pilotos de drones ofrecen a los participantes los conocimientos técnicos necesarios sobre la estructura del dron, los sistemas de navegación, las baterías, los controles remotos y otros componentes esenciales.

Además, se enseñan técnicas de vuelo, maniobras básicas y procedimientos de emergencia, lo que prepara a los pilotos para enfrentar diversas situaciones durante un vuelo.

Evaluar y gestionar los riesgos
Volar un dron implica ciertos riesgos que deben ser evaluados y gestionados adecuadamente. Durante los cursos de pilotos de drones, se instruye a los participantes sobre cómo identificar y mitigar los posibles peligros asociados con el vuelo de drones.

Esto incluye comprender las condiciones meteorológicas adecuadas para volar, evitar obstáculos, evaluar la seguridad del entorno y realizar una planificación previa al vuelo.
First Post!
Tags: beginners, codenewbie
Published: 2023-07-14 15:00:00

Hello All!

First let me introduce myself... I'm Spencer or HenegarCodes. I am working towards my Master's while also in a Bootcamp. I am looking to upgrade my skills to finish the Master's and move into a future position once ready and eventually build my own business software consulting. Currently have utilized Java in the Masters's and will be learning HTML, CSS, Javascript, API's,Node.JS, SQL/No SQL, Express.JS, and React. Some of the items I have utilized in the Master's at least at a minimum. Follow for weekly updates!
The WebXGuild Chronicles - #01C03: The Quest for Auto-Pilot
Tags: webdev, devjournal, github, opensource
Published: 2023-07-14 15:00:00

Enter another character, the storyteller himself—Imam Ali Mustofa, known as "darkterminal." Imam surprises everyone with a thesis that delves into the depths of EventHub, painting a vivid picture of its futuristic potential. The idea of creating an "auto-pilot" experience captures the imagination of Vincent and his comrades.

Vincent realizes the significance of GitHub as the foundation, recognizing the wealth of features and the power of the platform. He contemplates the advantages of staying within the GitHub ecosystem, where queries and discussions are recorded, making information easily accessible and discoverable. The path forward becomes clearer—a symphony of collaboration, rooted in the very heart of GitHub.

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). Why should there be this disclaimer? Because I always considered ChatGPT!!!
Need Help - React-Zoom-Pan-Pinch+FluentUI Modal Pop Up
Published: 2023-07-14 14:37:42

Team,

Anyone could you please guide on below issue.

Issue: Once Image is zoomed it does not allow to Pan/move to certain area of image. It does work when i remove the code from Modal Tag. But I am showing image in a modal Pop up and allowing user to better zoom in image.


Code: 
import React from "react";

import {

TransformWrapper,

TransformComponent,

useControls

} from "react-zoom-pan-pinch";

import { Modal } from "@fluentui/react";

import { ScrollablePane, IScrollablePaneStyles } from '@fluentui/react/lib/ScrollablePane';




function App() {

const Controls = () => {

const { zoomIn, zoomOut, resetTransform } = useControls();

return (

<>

<button onClick={() => zoomIn()}>Zoom In</button>

<button onClick={() => zoomOut()}>Zoom Out</button>

<button onClick={() => resetTransform()}>Reset</button>

</>

);

};

return (

<Modal isOpen={true} allowTouchBodyScroll={true}>

<TransformWrapper>

<Controls />

<TransformComponent>

<img

src="https://images.unsplash.com/photo-1506744038136-46273834b3fb?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=870&q=80"

alt="test"

width="500px"

height="500px"

/>

</TransformComponent>

</TransformWrapper>

</Modal>

);

}

export default App;
Who is a DevOps Engineer?
Published: 2023-07-14 13:24:08

A DevOps engineer is an expert who joins improvement (Dev) and tasks (Operations) abilities to smooth out programming improvement and sending processes. They overcome any barrier between programming designers and IT activities groups, advancing coordinated effort, computerization, and ceaseless conveyance in the product advancement lifecycle.

DevOps designs ordinarily have major areas of strength for an of both programming improvement practices and framework organization. They work intimately with programming designers, framework executives, and different partners to guarantee that product items are created, tried, and conveyed proficiently and dependably.

The obligations of a DevOps designer can change contingent upon the association, yet they frequently incorporate errands, for example,

Fabricating and overseeing advancement and arrangement pipelines: DevOps engineers make and keep up with mechanized work processes that empower designers to assemble, test, and convey programming all the more effectively. They might utilize apparatuses like Jenkins, GitLab CI/Album, or other persistent mix and constant sending (CI/Disc) stages.

Foundation the executives: They supervise the design and the board of framework assets, including servers, data sets, and systems administration parts. This might include using framework as-code (IaC) apparatuses like Terraform or cloud stages like Amazon Web Administrations (AWS) or Microsoft Purplish blue.

Joint effort and correspondence: DevOps engineers work with correspondence and cooperation among advancement and tasks groups. They frequently go about as a scaffold, assisting with adjusting the objectives and cycles of the two groups and advancing a culture of shared liability.

Checking and investigating: They execute observing and logging answers for track framework execution and recognize issues proactively. DevOps engineers investigate and determine issues connected with foundation, application sending, or design.

Security and consistence: They guarantee that security best practices and consistence necessities are coordinated into the turn of events and organization processes. This incorporates executing safety efforts, overseeing access controls, and keeping awake to date with security weaknesses.

In general, a DevOps engineer assumes a basic part in empowering associations to convey programming all the more effectively, dependably, and safely, eventually adding to further developed joint effort, quicker time to market, and better consumer loyalty.
HOLD THE LINE...
The WebXGuild Chronicles - #01C02: The Melody of Communication
Tags: webdev, devjournal, github, opensource
Published: 2023-07-14 14:30:00

Our tale takes an intriguing turn as Maxime proposes features that enhance communication within [WebXGuild](https://github.com/WebXDAO/WebXGuild). "Collaboration tools," Maxime suggests, could include real-time chat, enabling seamless information sharing among event participants. Vincent, ever the supporter of community engagement, sees the value in this melody of communication and the potential for mentorship and networking opportunities.

But wait, dear reader! Another voice joins the chorus. A user named Krish Gupta, or "gptkrsh," raises a valid question: Why not build a ticket system from scratch? Krish believes that by doing so, convenience would reign supreme. Ah, this diversity of thought can lead to more innovative and effective solutions!

Vincent, appreciative of Krish's input, explains that for adding organizations and events, they can leverage formats like YML, JSON, or MD. The simplicity of these formats resonates with their open-source ethos, eliminating the need for a complex ticket system. Yet, the challenge lingers in the air.

---
> DISCLAIMER: This content was made via Google Translate (an AI tool used to translate languages, you may have forgotten so I reminded it). Why should there be this disclaimer? Because I always considered ChatGPT!!!
Build a REST API with FastAPI and Appwrite as your Database Solution
Tags: python, database, appwrite, nosql
Published: 2023-07-14 14:25:37

In this video, we build a simple REST API with FastAPI to demonstrate how we can harness Appwrite as a database solution. Appwrite is a backend-as-a-service platform similar to Firebase or Supabase. Using it for the first time, I was really amazed by how easy it is to use. It also provides SDKs that make it easy to integrate with most popular programming languages.  {%youtube djxbit1Wbo4%}