teleren/devto huggingface dataset:
Diving into Open-Source Development
Tags: opensource, beginners
Published: 2023-09-06 15:26:36

Hi all! Myself Soham! Currently in my 4th year studying B.Tech - Software @ Seneca College, located in Toronto, Ontario, Canada. Recently finished an internship @ RBC Capital Markets and heading back to them for another one during the Winter 2024 coop term. I'm also an RBC Student Ambassador for Fall 2023 term so reach out to me on [LinkedIn](https://www.linkedin.com/in/soham-thaker/) if you're looking for Winter / Summer 2024 coop opportunities.

This is one of many posts that I'll be putting out over the course of next few months as I document my journey in open open-source development course that I'm currently taking as part of my curriculum. One of the main reasons for me to take this course was to challenge myself to work on a large-scale project to expand my knowledge about the workflow & the procedures that the community uses from writing code to testing and to deployment + many other steps involved which I'm not aware of as of yet to push out quality software. Another reason was for me to collaborate with people, learn from them and selflessly contribute to a project so that the software community continues to thrive.

A few projects on my mind are GraphQL, 0Auth, AWS-SDK, Docker, Kubernetes, Nest, Express, SocketIO, Passport, React + a few others. My aim is to learn more about *System Design* / *Software Architecture*, as you can see above from the list of projects that I'd want to contribute to. One of the mysteries that I have for a new tool when I encounter it is, **What is the application of this tool?** and to me, one of the best ways to know that without using it ever before in my life is by contributing directly to their repositories.

To begin, I'm going to start with [GraphQL](https://github.com/graphql/graphql-js). This repo is a JS-specific implementation for GraphQL, for which projects written in JS/TS can utilize to build an API for their web app. The reason why I chose this project is because I've always been intrigued by how GraphQl challenges the standard way of building an API, a.k.a REST APIs. I have very little knowledge about this project since I've never used it before at work or for my personal projects. I only have theoretical knowledge about it which I gained from watching YouTube videos. It also uses TypeScript which is fascinating because type safety is very important when building software considering it cleans out a lot of bugs early on before the software is shipped.

I'm gonna wrap it up there. See you guys soon with another post.
Open Source ABCs: Network
Tags: opensource, discuss, 100daysofoss
Published: 2023-09-06 15:17:40

---
title: Open Source ABCs: Network
published: true
description: Join our #100DaysOfOSS blog series as we explore the world of Open Source Software (OSS) from A to Z! Every week, we'll discuss two new letters of the English alphabet. Share your thoughts, ideas, and favorite OSS projects for each letter. Let's celebrate the power of open source together! 
tags: opensource, discuss, 100DaysOfOSS
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fxwg4ygmybnni1tpwdx3.png
# Use a ratio of 100:42 for best results.
series: 100DaysOfOSS
canonical_url: https://opensauced.pizza/docs/community-resources/open-source-abcs-network
---

Welcome to our [#100DaysOfOSS series](https://dev.to/opensauced/100daysofoss-growing-skills-and-real-world-experience-3o5k). Until October 31, we'll be doing  Open Source Software (OSS) terms from A to Z. We'll be diving into a different letter of the English alphabet, uncovering OSS concepts, and sharing our thoughts on them.

Today, we're covering the letter "N" for Network. 

**Network**: Open source is a connected community of developers, users, and contributors who share ideas, exchange knowledge, mentor each other, and collaborate on improving the software.

Now, we want to hear from you! What other OSS terms can you think of that start with the letter "N"? 

Remember to use the hashtag #100DaysOfOSS if you share on social media, and don't forget to tag us [@saucedopen](https://twitter.com/saucedopen) so we can follow along.
Automating my standing desk with Alexa and a Raspberry Pico W
Tags: automation, raspberrypi, diy, programming
Published: 2023-09-06 15:04:09

## Why

I love my standing desk, it's been a game changer for my posture and for my setup aesthetics. However, I'm lazy and I don't like having to manually adjust its height. I also love my Echo Dot and I wanted to see if I could make my desk voice-controlled. This project is the result of that.

## Demo

You can preview it on my [Instagram Reel](https://www.instagram.com/reel/Cw2py_LOZWy/?utm_source=ig_web_copy_link&igshid=MzRlODBiNWFlZA==)

## How

![Flow diagram](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/h962xgax9brhbcm7na0s.jpg)

It all starts by invoking the Alexa skill with the "subir a mesa" or "descer a mesa" intents, which are handled by the [native IFTT integration](https://ifttt.com/amazon_alexa). According to the received instruction, IFTT then sends a message ("UP" or "DOWN") to the [Adafruit IO](https://io.adafruit.com/) MQTT broker, whom then publishes the message to a specific topic that the Pico W is subscribed to.

When a message is received, the Pico W sends a signal to the corresponding 4n35 optocoupler, which is connected to the desk's pre-programmed up/down buttons. The optocoupler acts as a switch, closing the circuit and triggering the button press.

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

## Code

This project was built using the [Pico W Arduino Framework integration](https://dronebotworkshop.com/picow-arduino/) and the code is available [on my GitHub](https://github.com/mathcale/standing-desk-alexa-integration).

It's pretty straightforward, it just subscribes to the Adafruit IO MQTT broker and listens for messages, after connecting to the specified wifi network. When a message is received (being `UP` or `DOWN`), it triggers the corresponding optocoupler.

I haven't tried it yet, but I think it should be easy to port it over to the ESP32/ESP8266, since the code is pretty simple and the Adafruit IO MQTT library is compatible with both.

## The end

I hope you enjoyed this fun little project like I did building it. If you have any questions or suggestions, feel free to comment down below or reach out to me using the links on [my site](https://matheus.me).

Happy hacking =)
Wednesday Links - Edition 2023-09-06
Tags: java, jvm, profiling, devops
Published: 2023-09-06 14:57:25

The subtle Art of Java Test Method Naming (7 min)⛯
https://jonasg.io/posts/subtle-art-of-java-test-method-naming/

Exploring the design of Java’s new virtual threads (16 min)🧵
https://blogs.oracle.com/javamagazine/post/java-virtual-threads

Virtual Threads and Parallel Streams (7 min)🧵
https://www.javaspecialists.eu/archive/Issue311-Virtual-Threads-and-Parallel-Streams.html

Understanding Request Latency with Profiling (12 min)🐢
https://richardstartin.github.io/posts/wallclock-profiler

From Reactor to Coroutines (3 min)☢️
https://blog.frankel.ch/reactor-to-coroutines/

This is the Beginning of the End of the N+1 Problem: Introducing Single Query Loading (7 min)🔀
https://spring.io/blog/2023/08/31/this-is-the-beginning-of-the-end-of-the-n-1-problem-introducing-single-query

Improvements in the build configuration input tracking (9 min)🔎
https://blog.gradle.org/improvements-in-the-build-configuration-input-tracking

Adding icon.png to the .idea directory of your project will display the icon in Toolbox (30 sec)🖼️
https://twitter.com/antonarhipov/status/1695032709062508587

17 DevOps Metrics To Measure Success (8 min)📐
https://semaphoreci.com/blog/devops-metrics
Coding on the Commute: Making the Most of Your Journey
Tags: mobile, productivity, github, learning
Published: 2023-09-06 14:54:09

Countless individuals spend hours commuting, often viewing this time as a mere transition between home and work. But what if I told you that, as a coder, this could be one of the most productive parts of your day? - or at least not dead time. This belief drove me to create CodeReader, a tool designed to turn idle commute hours into a coding haven.

I built https://codeReader.dev with the daily commuter in mind. It's not just another mobile coding application; it's a reflection of understanding the unique challenges and opportunities that come with coding on the move. Features like code highlighting, git browsing, and UI customization ensure that you can work comfortably and effectively from anywhere.

Built with no editing capabilities, you can only take notes on top of your code. Why? may you ask. Well, it's because the current desktop editing experience we are used to is impossible to bring to mobile and make it a good experience. Intellisense, autocompletion, refactoring utilities, and even AI. There's no way to cram all of that on phone screens. Coding is inherently a technical exercise. You need to have your syntax right and read API docs to write correct code. With CodeReader, you'll be able to read and take notes on your code using Markdown. There's still a creative process going on in your notes, but there's no actual code changes.

So, why should you consider coding on your commute with CodeReader? For starters, it's about reclaiming and optimizing your time. Instead of getting lost in the void of social media or repetitive playlists, you can actively progress on your projects. Moreover, by the time you reach your workplace, you're already in the coding groove, setting a productive tone for the rest of the day.

Of course, there are inherent challenges, like intermittent connectivity or surrounding distractions. But I've ensured that CodeReader's offline capabilities and intuitive design help mitigate these issues.

In essence, the next time you're on your way to work or heading home, open up CodeReader. I designed it to make your commute count, and I believe it can change the way you view and utilize that travel time.

Available for free for phones and tablets
Book Publishing Services
Published: 2023-09-06 14:05:55

When it comes to turning your manuscript into a published book, the journey can be both exciting and difficult. Many aspiring authors dream of seeing their work in print, but directing the world of book publishing can be complex. That is where professional [book publishing services](https://bookpublishing.services/) come into play. 

**Expertise and Guidance**
Publishing experts understand the industry inside and out, from manuscript editing to cover design to marketing strategies. Our experts can guide you through each step of the process, ensuring that your book reaches its full potential. You can avail numerous advantages by availing of our professional book publishing services. We have incomparable industry expertise.

**Quality Production** 
Professional publishers are equipped with the tools and resources to produce high-quality books. They can help you with formatting, typesetting, and cover design, ensuring that your book not only looks appealing but also meets industry standards. This attention to detail can make your book stand out on the shelves and online marketplaces.

Once you acquire our services then there is no need to worry about the quality of the content. Our experts are eager to provide you with high-quality content anywhere anytime.

**Distribution and Marketing** 
Once your book is ready for publication, our expert book publishing services can assist with distribution and marketing. We are specialists in establishing relationships with bookstores, online retailers, and libraries, making it easier for your book to reach a wider audience. Additionally, we develop marketing strategies to promote your book effectively, increasing its visibility and sales potential.

**Time and Energy Savings** 
Self-publishing can be a time-consuming and energy-draining process, especially if you are not aware of the particulars of the industry. By outsourcing the publishing tasks to professionals, you can focus on what you do best in writing. This allows you to invest more time in crafting your next masterpiece while leaving the publishing logistics to experts.

**Access to Resources** 
Professional publishing services often have access to resources that individual authors may not. This includes connections with editors, proofreaders, illustrators, and cover designers who can enhance the quality of your book. Leveraging these resources can make a significant difference in the final product.

**Increased Credibility** 
Books published by availing our professional services tend to have a higher level of credibility in the eyes of readers and reviewers. Many literary awards and review platforms prioritize professionally published books, which can open doors to more opportunities for recognition and success.

So, if you want to turn your manuscript into a published work, contemplate partnering with professionals who can help you navigate the exciting world of book publishing.
Matplotlib Tutorial #5: Plot Marker Customization
Tags: datascience, python, beginners, tutorial
Published: 2023-09-06 14:37:17

{% embed https://youtu.be/AXmqtzwgB_Y %}

In this blog, I will show you how to make your plot more interesting with plot marker customization.

---

## Marker Style
In Matplotlib, the marker refers to the points that are being plotted in the plot. The default plot method does not include a marker in the plot, therefore the output will look like this
```python
import matplotlib.pyplot as plt
import numpy as np

xpoints = np.array([0, 1, 2, 3, 5, 6])
ypoints = np.array([0, 1, 2, 3, 5, 6])

plt.plot(xpoints, ypoints)
plt.show()
```
That produces the following output

![Plot 1](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dt6yoxbqzt70uikrk3nn.png)

By passing optional argument `marker` with certain value, you can make mark each of your point like the following
```python
import matplotlib.pyplot as plt
import numpy as np

xpoints = np.array([0, 1, 2, 3, 5, 6])
ypoints = np.array([0, 1, 2, 3, 5, 6])

plt.plot(xpoints, ypoints, marker='o')
plt.show()
```
That produces the following output

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

As I mention previously, optional argument `marker` will hold a certain value, and you can reference that value from here

![Marker style reference](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ukx2cq5sn6f6ed0uzn38.png)

## Marker Size
You can use the keyword argument `markersize` or the shorter version, `ms` to set the size of the markers
```python
import matplotlib.pyplot as plt
import numpy as np

xpoints = np.array([0, 1, 2, 3, 5, 6])
ypoints = np.array([0, 1, 2, 3, 5, 6])

plt.plot(xpoints, ypoints, marker='o', markersize=15)
plt.show()
```
Which produces the following output

![Plot 3](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yw1n6n13mk09iv2n110i.png)

---

There you go, that is how you can customize your marker in plot. Thank you for reading this blog and have a nice day!
LlamaIndex Announces SEC Insights’ Open-Source RAG Application for Enhanced Financial Analysis
Published: 2023-09-06 14:32:26

LlamaIndex has recently open-sourced its RAG application, secinsights.ai, following a successful launch on Product Hunt. Unlike conventional chat apps, SEC Insights' application offers enhanced features, enabling users to trace the LLM's reasoning process in formulating answers. Each answer is presented with its precise source, ensuring transparency. Designed for real-time functionality, the platform can handle queries directed at a single document or multiple ones concurrently.

Technically, secinsights.ai is powered by OpenAI’s gpt-3.5-turbo. It uses FastAPI and Postgres for backend operations, while the frontend is crafted with nextjs and tailwind, ensuring a fluid user experience. LlamaIndex's integration further expands its capabilities.

Read more - https://news.superagi.com/2023/09/06/llamaindex-announces-sec-insights-open-source-rag-application-for-enhanced-financial-analysis/
Devgym Retro Agosto 2023
Published: 2023-09-06 14:06:18

Dizem que Agosto é um daqueles meses que nunca tem fim, e aqui na [Devgym](https://www.devgym.com.br/) realmente aproveitamos ele bastante tanto pra trabalhar em um novo desafio Pro como na própria plataforma. 

Trabalhamos num redesign da menu do desafio onde reunimos de forma mais simples o "download de código fonte", "página da descrição do problema" e "página da vídeo da aula solução". 


![Novo menu](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mckr297iln39cwq8flyv.png)

e além disso ficamos mega felizes de anunciar uma funcionalidade para o Plano Pro que estávamos desenvolvendo por um tempo, o Modo Treino. 

No Modo Treino, você tem opção de seguir um passo a passo que te guia a implementar sua própria solução, e aproveitamos pra lançar a funcionalidade já habilitada na maioria dos desafios Pro da plataforma. 


![Modo Treino](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ag9oca839c4cox0x042z.png)

Em agosto também [lançamos um desafio inspirado num teste de entrevista de empresa](https://app.devgym.com.br/challenges/b7e7157e-1e85-40f3-9c24-032cd6a45aec), onde você precisa criar uma solução desacoplada para um sistema de pedidos online. 

Por fim, decidimos por hora despriorizar os desafios gratuitos principalmente em relação a funcionalidade de submeter sua própria solução. É bem possível que essa função volte quando estivermos num momento diferente da Devgym, mas por hora a ideia é continuar focando em desafios com solução. 

Espero voltar em breve com mais novidades no próximo review, até a próxima.
🔥We're Back and Stronger Than Ever!🔥
Tags: javascript, webdev, programming, nextjs
Published: 2023-09-06 13:57:17

**#1 JavaScript Conference on the Planet is back** 🔥; JSworld conference 2024, will take place on the **28 Feb - 1 March.**




**Lowest priced blind tickets released now 🎟️!**



🚀 A packed **3-day** JavaScript Celebration with the latest technology updates from speakers like; Rachel Nabors, Kent C. Dodds, Ken Wheeler, Minko Gechev & Many others. 





Get ready to learn from the core members and creators behind Turbopack, **React,**  Vite, **Next.js,** Vue, and **Angular** 🌟👏.




🏆 15 **Core Team Members**

🎤 **75 Sessions** from Creators, Experts and CEO's

2️⃣5️⃣0️⃣0️⃣ Passionate **JavaScript Enthusiasts**

🗓️ Feb 28 - March 1 

📍Amsterdam 




**LOWEST PRICE YET -** 🚨 Only **100** Blind Tickets Available 🚨 

👉 3-day Conference blind tickets starting at **€699** (discounted from **€899**).


https://jsworldconference.com/
Laravel 10 Yajra DataTables CRUD Example
Published: 2023-09-06 13:51:36

In Laravel, a "DataTables CRUD" typically refers to the implementation of Create, Read, Update, and Delete (CRUD) operations using the DataTables jQuery plugin for tabular data presentation and manipulation. DataTables is a popular JavaScript library that provides advanced features for sorting, searching, filtering, and paging through data displayed in HTML tables.

## Yajra DataTables laravel 10 crud example
Here's a breakdown to implementing a CRUD (Create, Read, Update, Delete) system with the help of DataTables within a Laravel application.

- 1. Set up Laravel: Create a new Laravel project or use an existing one. Ensure that your Laravel application is configured correctly with a database connection and routes.
- 2. Create Models: Define models to represent the data entities you want to manage. Each model corresponds to a database table and typically contains the business logic for data manipulation.
- 3. Create Controllers: Build controllers to handle CRUD operations. These controllers interact with the models to perform database operations like creating, reading, updating, and deleting records.
- 4. Create Views: Develop views that use DataTables to display and interact with your data. DataTables provides JavaScript functionality to enhance the table's user experience.
- 5. Define Routes: Define routes in Laravel's routes/web.php or routes/api.php file to map HTTP requests to your controller methods.
- 6. Implement CRUD Operations:
- Create: Handle the creation of new records through a form submission.
- Read: Retrieve and display records from the database using DataTables to format and enhance the table.
- Update: Enable editing and updating of existing records.
- Delete: Implement the deletion of records.
- 7. Use AJAX: To make DataTables work seamlessly with Laravel, you often use AJAX (Asynchronous JavaScript and XML) to fetch and send data between the front-end DataTables table and the back-end Laravel application. This allows for smooth and responsive user interactions.
- 8. Server-Side Processing: For handling large datasets efficiently, you may implement server-side processing with DataTables. In this approach, DataTables sends AJAX requests to the server for data retrieval, sorting, and pagination, and Laravel responds with the appropriate data.

Read More [Yajra DataTables laravel 10 crud example](https://www.tutsmake.com/laravel-10-datatable-crud-tutorial)
How to get env variables from .env file using Python.
Tags: python, programming, coding, tutorial
Published: 2023-09-06 13:50:31

## Hi 🙂🖐

In this post, I will share with you how o get env variables from `.env` file using Python.

[a dotenv is used to store “environment variables” AKA variables we need to configure our code environment. This can include information like is our project running in “production” mode or “developer” mode but most importantly, API and database keys. These variables are ones we need in order to access our project’s various services but don’t want others to be able to see and access. An example of this would include a discord bot token you created — if it was available to view in your code, anyone would be able to log in as your bot.](https://blog.devgenius.io/why-a-env-7b4a79ba689)

To load environment variables from `.env` file you need to install
**python-dotenv** from here 🤗
https://pypi.org/project/python-dotenv/

Create `.env` file and add variables
```
a = 123
x = 100
```

Now we have a `.env` file we can load environment variables
using this code.

```python
import dotenv
import os

dotenv.load_dotenv()

val = os.environ.get('x')
print(val)
```
## result
```
123
```
ModelScope-Agent Framework: Open-Source Platform Bridging LLMs with Real-World Applications
Tags: ai, machinelearning, llm
Published: 2023-09-06 13:47:51

The newly-launched ModelScope-Agent framework offers an innovative open-source platform, bridging the gap between LLMs like GPT, Llama, and Claude with external APIs. Beyond understanding human intent, the framework enhances LLMs' practicality in real-world scenarios. Key features include efficient LLM-API integration processes, the introduction of ModelScopeGPT—an intelligent assistant connecting to 1000+ AI models, and support for a diverse tool library. 

Read more - https://news.superagi.com/2023/09/06/modelscope-agent-framework-open-source-platform-bridging-llms-with-real-world-applications/
Have you wondered how long it takes to complete a software project?
Tags: softwaredevelopment
Published: 2023-09-06 13:38:04

Have you ever wondered how long a software project takes on average? It can range from 1 to 9 months, with custom development averaging around 4.5 months. 


Want to deploy quickly and efficiently? With DevDynamics’ Insight Cards, you can easily identify bottlenecks and areas of improvement that are slowing down your team. 


See how we help teams ship faster by booking a demo with us ➡  https://devdynamics.ai/demo


#EfficientDeployment #SoftwareInsights