teleren/devto huggingface dataset:
🚀 Exciting News: Our MVP Presentation for Project Capstone: SocialBites! 🚀
Published: 2023-08-09 14:23:14


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/66wl5f9nc36fmuih8ibs.jpg)
We're thrilled to announce that we've just completed a major milestone in our Capstone project journey! Our Minimum Viable Product (MVP) presentation,  is a culmination of our hard work, creativity, and technical skills. We've been tirelessly collaborating and coding to bring a unique concept to life, and this presentation marked a pivotal moment in the project's development.



🌟 Highlights from the MVP Presentation:



During the MVP presentation, we showcased the core functionalities:

• Project Overview: We introduced the project's purpose, goals, and the real-world problem it aims to solve. Our passion for the project was evident as we discussed its potential impact.

• Key Features: We delved into the standout features that make our project shine. From elegant user interfaces to complex backend algorithms, we covered it all.

• Demo Time: The highlight of the presentation! We offered a live demonstration of our project in action. Seeing our hard work come to life was truly exhilarating, and we're proud of how smoothly everything ran.

• Technical Insights: We dove into the technologies and frameworks that power our project. Sharing these technical details allowed us to showcase our expertise and decision-making process.

• Challenges and Solutions: No project is without its challenges, and we were transparent about the hurdles we encountered. Our innovative solutions demonstrated our ability to adapt and find creative fixes.
A Django Tale: Outsmarting the Port Predicament
Tags: django, python, terminal, softwaredevelopment
Published: 2023-08-09 14:03:21

## Introduction:

Once upon a time, in the bustling world of web development, a passionate developer named Suru(Yeah, that’s me) or Chris to some people. So, I was on this big mission to create a revolutionary web application using Django (A python framework).

> After winning the battle of self doubt and procrastination, I was armed to teeth with the knowledge of Python and a vision, I embarked on the coding adventure, eager to conquer the digital realm.

However, as I fired up the Django development server, an unexpected hurdle appeared: “Error: You don’t have permission to access that port.”

## Chapter 1: The Port Paradox
I was perplexed but undeterred, I knew that the error meant another process had taken over port 8000 — the default port Django uses. It was like an apartment with no entrance door! Frowning at the screen, and I pondered on my next line of action which is the first step to victory.

> After giving it much thought, I realized there are two ways to fix this!

## Chapter 2: The Crafty swerve (Changing to Another Port)
I decided to act on the first steps which is to outwit the predicament by changing to another port — 8001, that sounds like a great choice right? Armed with determination, and without much ado I swiftly ran the following command:

```
# Windows
python manage.py runserver 8001
```
Lo and behold, the Django development server came alive, and the web application was now accessible on port 8001. Success!

> Note: You should use a dedicated virtual environment for each new Python project.

## Chapter 3: The Mighty Conqueror(Terminating the Current Process)
The second method is to find and terminate the process using the port. I will not explain why you should or not terminate a process, but, if there’s need to terminate the process, you can do so. Open your terminal and run the below code

For Windows, open terminal with Win + R, type cmd to open terminal

```
# Windows
netstat -ano | findstr :8000
```

taskkill /PID 12345
Note: Replace 12345 with the port ID using the port you wish to replace.

For Linux/macOS

```
# Identify the process using port 8000
lsof -i :8000

# Kill the process using port 8000 (replace <PID> with the actual process ID)
kill <PID>
```
Conclusion: A Big Victory
The story “A Django Tale: Outsmarting the Port Predicament”, teaches us that as we journeyed through software development, there are bound to be challenges that’ll want to make us quit, but, we should remember, that they just stepping stones to greatness.

> If you have insights, better ways, or suggestions, I wholeheartedly encourage you to share them. Let’s make this space a collaborative one where ideas flourish, and knowledge is freely exchanged. Together, we’ll not only master the art of software development but also uncover the limitless possibilities technology offers.
Call Methods in Python
Tags: beginners, python
Published: 2023-08-09 13:48:55

Understanding Call Methods in Python

When working with Python, you will often encounter situations where you need to invoke functions or methods to perform specific tasks. One crucial aspect of Python programming is understanding and utilizing call methods. 

In Python, a call method is used to execute a function or method. It allows you to provide input values, known as arguments, to the function, which then processes these inputs and returns a result. 

 Function Definition: Before you can call a function, it must be defined. Functions are blocks of code that perform a specific task. For instance, consider a function that calculates the square of a number:

```python
def square(number):
    return number * number
```

 Function Call: To use the function, you need to call it by its name followed by parentheses. Inside the parentheses, you provide the necessary arguments. 

```python
result = square(5)
print(result) 
```

 Call Methods: Call methods are similar to functions, but they are associated with objects. They perform actions on the object they belong to. For example, calling the upper() method on a string object converts the string to uppercase.

```python
message = "dot"
upper_case_message = message.upper()
print(upper_case_message) 
```

 Passing Multiple Arguments: Functions and methods can accept multiple arguments, which are separated by commas. 

```python
def add_numbers(a, b):
    return a + b

sum_result = add_numbers(3, 7)
print(sum_result)  
```

Understanding call methods is essential for building and using functions and methods effectively in your Python programs. By passing appropriate arguments, you can control the behavior of your functions and obtain desired outcomes.
Cultivating the Future: AI's Transformative Impact on Agriculture
Tags: smartfarming, aiinagriculture, futureofagriculture, ai
Published: 2023-08-09 13:39:19


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

As the world's population continues to grow, the agricultural sector faces the challenge of producing more food while preserving resources and sustainability. Enter Artificial Intelligence (AI), a groundbreaking technology that is reshaping the landscape of agriculture.

1. Precision Farming : Growing Smarter, Not Harder
Discover how AI-powered precision farming techniques are optimizing crop management. Through real-time data collection, farmers can make informed decisions on irrigation, fertilization, and pest control, leading to higher yields and reduced environmental impact.

2. Predictive Analytics for Yield Enhancement : Explore how AI's predictive analytics are revolutionizing yield forecasts. By analyzing historical data, weather patterns, and soil conditions, AI algorithms provide accurate insights into potential crop outcomes. This empowers farmers to plan better and mitigate risks.
3. Autonomous Farming Machinery : Witness the rise of autonomous farming machinery. AI-driven tractors, drones, and harvesters equipped with sensors and cameras perform tasks with unparalleled precision. This reduces labor costs, increases efficiency, and minimizes waste.

4. Disease Detection and Prevention : Uncover how AI is battling crop diseases. With image recognition and machine learning, AI can swiftly identify and diagnose plant diseases, enabling rapid responses to prevent widespread outbreaks.

5. Sustainable Resource Management : Explore AI's role in sustainable agriculture. From optimizing water usage to minimizing pesticide application, AI-driven systems help conserve resources and ensure farming practices are environmentally friendly.

6. Supply Chain Efficiency : Learn how AI streamlines the agricultural supply chain. From monitoring inventory levels to predicting market demands, AI optimizes logistics, reducing food wastage and ensuring timely delivery.

7. Data-Driven Decision Making : Delve into how AI empowers farmers with data-driven insights. By analyzing a plethora of data points, farmers can make informed decisions that enhance productivity and profitability.

8. Challenges and Opportunities : Discuss the challenges AI faces in agriculture, including data privacy and access to technology in rural areas. Highlight how collaboration between tech innovators, researchers, and farmers can bridge these gaps.

Conclusion:
AI's transformative impact on agriculture is undeniable. It's not just about producing more food; it's about producing food smarter, more efficiently, and sustainably. As the agricultural sector embraces AI-driven innovations, it's sowing the seeds for a future where technology and nature work hand in hand to nourish the world.
Mastering Google Dorks: Unveiling the Benefits, Pitfalls, and 10 Actionable Examples
Published: 2023-08-09 13:37:38

In the digital landscape, Google dorks have gained significance as specialized search queries that unlock hidden information. This blog delves into the benefits and drawbacks of using Google dorks for educational purposes and cybersecurity research. Additionally, it provides a compilation of 10 impactful Google dorks.

** Advantages of Google Dorks **

1. Precise Targeting : Google dorks enable precise searches, saving time by retrieving specific results.

2. Access to Public Information : Valuable educational content, research papers, and resources can be uncovered.

3. Educational Enrichment : Students and researchers benefit from accessing tutorials, case studies, and authoritative resources.

4. Robust Security Audits : Dorks assist cybersecurity experts in identifying vulnerabilities and misconfigurations.

5. Learning Opportunities : Mastering dork techniques enhances advanced search proficiency.

** Disadvantages of Google Dorks **

1. Privacy Concerns : Sensitive data exposure is a risk, necessitating ethical and careful usage.

2. Misuse Potential : Unauthorized access or hacking attempts can lead to legal and ethical repercussions.

3. Data Incompleteness : Not all dork-discovered data is accurate, up-to-date, or comprehensive.

4. Context Limitation : Dorks might lack the contextual depth required to understand information fully.

5. Ethical Implications : Adhering to ethical guidelines and obtaining proper authorization is paramount.

** 10 Useful Google Dorks for Education **

1. site:example.com filetype:pdf
2. site:github.com inurl:readme filetype:md
3. intitle:"Index of /" site:example.com
4. site:example.com "how to" OR "tutorial"
5. site:wikipedia.org "site:example.com"
6. site:example.com intitle:"resources" OR "downloads"
7. site:example.com intitle:"whitepaper"
8. site:example.com intitle:"FAQ"
9. site:example.com intitle:"case study"
X. site:example.com intitle:"research report"

** Conclusion **

Google dorks offer immense potential for educational and cybersecurity exploration. They empower users to uncover educational treasures and bolster cybersecurity efforts. Responsible usage, mindful of ethical boundaries and privacy concerns, ensures the productive utilization of Google dorks for both learning and security enhancement.

** Disclaimer **

These Google dorks are intended for educational purposes to locate publicly available information, such as PDFs, README files, tutorials, whitepapers, FAQs, case studies, and research reports on specific domains. Use them responsibly and ethically, adhering to all legal and ethical standards. Unauthorized access to private or sensitive data is prohibited. The creators are not liable for any misuse.
Iceberg Schema Evolution in Trino
Tags: iceberg, trino, schema, datalake
Published: 2023-08-09 13:34:00

_I originally posted this on [Starburst's blog](https://www.starburst.io/blog/apache-iceberg-schema-evolution-in-trino/), as part of a series I've been publishing on Iceberg._

Schema evolution simply means the modification of tables as business rules and source systems are modified over time. Trino’s Iceberg connector supports different modifications to tables, including changing the table name itself, as well as, column and partition changes.

Much like a database, you perform “alters” to Iceberg tables to modify their structure. Since Iceberg is just a table format which contains metadata about a table, modifying the table is rather trivial.

### Table Changes
Rename a table

`alter table customer_iceberg rename to customer_iceberg_new;`

_Note: This is a change to the table name in the metastore and no changes will be made in the storage. So, the location s3://<bucket>/customer_iceberg will remain the same._

### Column Changes
Adding a column:

`alter table customer_iceberg add column tier varchar(1);`

Rename a column:

`alter table customer_iceberg rename column address to fulladdress;`

### Partition Changes
Oftentimes a table is initially partitioned by a column or set of columns, only later it’s discovered this may not be optimal. With Iceberg, you can modify the partition columns at any time.

For example, initially this table is partitioned by month:

`create table orders_iceberg
with (partitioning=ARRAY['month(orderdate)']) as
select * from tpch.sf1.orders;`

After reviewing query a patterns, it’s determined that partitioning by day would perform better as a majority of queries are filter by certain days. A simple alter table statement as seen below will modify the partitioning on this table from month to day:

`alter table orders_iceberg SET PROPERTIES partitioning = ARRAY['day(orderdate)'];`

After new data is inserted into the table, you will see a change in the data directory where the table data is stored:

![S3 screenshot showing orderdate_month is now orderdate_day](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kdwj4tsa0qnaootluohf.png)

Notice the orderdate_month is now orderdate_day. Note that queries that filter by day will partition prune at the partition day level but the existing monthly partitions will still need to be searched. If you would like to have the entire table partitioned by day then you could recreate the table using a CTAS (create table as) from the existing table.

Example to create a new table partitioned by day from the existing table:

`create table orders_iceberg_new with (partitioning=ARRAY['day(orderdate)']) (as select * from orders_iceberg)`

Schema evolution in Trino’s Iceberg connector is very powerful and easy to use. These types of functions were not available in Hive and database veterans will be very happy to see them added to the data lake landscape.
Python 100 Days Challange: Day 6 Project Reeborg Hurdle 4 Game
Tags: reeborg, 100daysofcode, python, softwaredevelopment
Published: 2023-08-09 13:25:21

In the "Hurdle Race 4" challenge, Reeborg "Robort" faces the task of reaching a destination labeled as "at_goal" by navigating through a series of walls. The height of these walls remains unknown, requiring Reeborg to continuously move and perform jumps to overcome each obstacle. To successfully complete the challenge, there are specific rules and strategies that can guide Reeborg toward its destination:

1. Sequential Movement and Jumps: Reeborg needs to employ a strategy of moving and jumping across each wall until it finally reaches the designated goal.

2. Condition Checking for Movement and Jumps: When executing movement and jumps, Reeborg should perform condition checks to determine whether the path ahead or the wall in front is clear. This allows Reeborg to make informed decisions on when and how to move forward.


```
def turn_around():
    turn_left()
    

def turn_right():
    turn_left()
    turn_left()
    turn_left()

def move_and_jump_until_done():
    turn_left()
    while wall_on_right():   
        move()                # to move up 
    turn_right()
    move()
    turn_right()
    while front_is_clear():   #to move down
        move()
    turn_left()

while not at_goal():
    if wall_in_front():         # keep moving and jumping if there is wall
        move_and_jump_until_done()
    else:          # is there is no wall , just 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fncfabcm72erjskuzbel.png)move
        move()

```
Web-Check !!!
Tags: programming, python
Published: 2023-08-09 13:17:49

**_Comprehensive, on-demand open source intelligence for any website.****_**

— _Get an insight into the inner-workings of a given website: uncover potential attack vectors, analyse server architecture, view security configurations, and learn what technologies a site is using._

— Currently the dashboard will show: IP info, SSL chain, DNS records, cookies, headers, domain info, search crawl rules, page map, server location, redirect ledger, open ports, traceroute, DNS security extensions, site performance, trackers, associated hostnames, carbon footprint. Stay tuned, as I’ll add more soon!

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

Often when you’re looking into a website, there’s several things you always initially check. Think: Whois, SSL chain, DNS records, tech stack, security protocols, crawl rules, sitemap, redirects, basic performance, open ports, server info, etc. None of this is hard to find with a series of basic curl commands, or a combination of online tools. But it’s just so much easier to have everything presented clearly and visible in one place :)
Thanks in advance
Cool HTML Tips & Ticks
Tags: webdev, html, devops, beginners
Published: 2023-08-09 13:10:05

This is my First article I shared some Html tips and tricks In this article . Hope you will be good help for you😇


##  Open link in new tab/window
The target attribute specifies where to open the link. By setting it to _blank, you tell the browser to open it in a
new tab or window .

```html
  <a href="index.js" target="_blank">Hi I"m Developer</a>     
```

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


## Color Picker

Clicking this button opens the operating system's color widget, which allows user to select a color.


```html
 <input type="color">
```


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


## Highlight / mark Tag

The **mark element** is new in HTML5 and is used to mark or highlight text in a document instead of span

```html
<p>hi I'm Front-End-Developer</p>   
```


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

## Accordion / Summary Tag

The **summary tag** defines a visible heading for the **details** element.The heading can be clicked to view/hide the details.

```html
 <details>
    <summary>open this</summary>
       <h2>HTML</h2>
       <h2>CSS</h2>
       <h2>JAVASCRIPT</h2>
 </details>
```

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

After Opening

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


## Progress bar

You can use the **progress bar** which will represent the completion of something.

```html
<div>
         <h2>Html & Css skill</h2>
         <progress id="skill" value ="85" max="100"</progress> 
</div>
```


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vwwrvdsv3yxuand37iy2.png)
Understanding data engineering with Datacamp
Published: 2023-08-09 13:07:37

**Data Processing**: converting raw data into meaningful information.

**Data processing Value:**
- Remove unwanted data
- Optimize memory. process and network costs
- Convert data from one type to another
- Organize data
- To fit into a schema/structure 
- Increase productivity

### How data engineers process data:
- Data manipulation, cleaning and tidying tasks e.g. dealing with missing values
- Store data in a sanely structured database
- Create views on top of the database tables for easy access of the database
- Normalize the data
- Optimize the performance of the databases e.g. indexing the data for easier retrieve.

#### Tools used in data processing
![Tools used in data processing](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wxbs80jg5w3hj5vwe122.png)

**Data Processing**: 
- can apply to any task listed in data processing.
- Scheduling holds each piece and organize how they work together.
- Runs tasks in a specific order and resolves all dependencies correctly.

**Scheduling data:**
_Manually_: manual update of the employee data
_Automatically_ :Run at a specific time say update employee table daily at 6AM.
_Automatically run if a specified condition is met_  known as _**sensor Scheduling**_

**Data Ingestion**:
Batches & Streams
Batch processing: Group records at intervals, often cheaper
Steaming: sends individual records right away into the database, new signing in.
#### Tools used in scheduling
![Tools used in scheduling](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/urle1gur5ysynvfujzg2.png)

**Parallel computing/processing**
It's the basis of modern data processing tools, necessary because of memory and processing power.
How it works:
Split tasks up into several smaller subtasks
Distribute these subtasks over several computing 

**Benefits and risks of parallel computing**
pros
- Extra processing power
- reduced memory footprint
cons
- moving data incurs a cost
- communication time

### Cloud Computing vs On premises computing
![cloud providers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v7z20e6h6z9vdxitig6n.png)
servers on premises: 
1. Incur cost for equipment's
2. need space
3. electrical and maintenance cost
4. enough power for peak moments
5. processing power unused at quieter times

Server on the cloud:
1. Pay as you go
2. No need for space
3. use resources we need an d when we need them
4. closed to the user the better latency

**Cloud Computing for Data storage**
![Data storage](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t9arqpppeb8u1pusdbwb.png)
pros
Database reliability: data replication
Wednesday Links - Edition 2023-08-09
Tags: java, jvm, jep, gc
Published: 2023-08-09 12:54:17

Toward Condensers (13 min)🗜️
https://openjdk.org/projects/leyden/notes/03-toward-condensers

JDK 21 G1/Parallel/Serial GC changes (3 min)🗑️
https://tschatzl.github.io/2023/08/04/jdk21-g1-parallel-gc-changes.html

Java: JEP Draft: Computed Constants (4 min)🪨
http://minborgsjavapot.blogspot.com/2023/08/java-new-draft-jep-computed-constants.html
Embarking on a Journey: Joining the Dev Community
Tags: development, dev
Published: 2023-08-09 12:46:46

Hi all , Becoming a part of the lively and ever-changing developer community is truly invigorating. It unveils a realm of chances to learn, collaborate, and nurture your own development. Whether you're a skilled coder or embarking on your coding expedition, the purpose of this blog is to assist you in conveying your emotions seamlessly within the developer community.
Barbie Light Theme
Published: 2023-08-09 12:33:20

Theme created to encourage female children to feel an interest in the developer profession from an early age.
<a href="https://marketplace.visualstudio.com/items?itemName=LuanKisaki.barbie-light-theme&ssr=false#review-details">Click here to download</a>


<img alt="[Barbie Light theme]" src="https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmqv8qg62qi3sbqutjqk.gif" />