teleren/devto huggingface dataset:
Encapsulation, abstraction, and polymorphism in Java OOP. (Vahagn Mesropyan)
Published: 2023-11-29 14:37:47

**Understanding the Pillars of Java OOP**

 Java Object-oriented programming concepts let us create working methods and variables and then re-use all or part of them without compromising security. Grasping OOP concepts is key to understanding how Java works. Java OOP has four pillars: inheritance, encapsulation, abstraction, and polymorphism. 
In this blog post, we will discuss three of them which are encapsulation, abstraction, and polymorphism.

**Encapsulation**

 Imagine you have a magic box that not only holds your belongings but also comes with a set of rules on how to use them. In Java, this magical box is "encapsulation". It involves bundling data and methods into a single unit, like a class, and setting rules on how the outside world can interact with it. This helps in keeping related things together and hides the inner workings, making our code more organized and less prone to unintended interference.

For example, if you have a class representing a car, encapsulation ensures that the details of the car, like its speed or fuel level, are accessed and modified through well-defined methods. This way, you don't accidentally set your car's speed to a negative value or mess wtih its internal mechanisms directly.

**Abstraction**

Abstraction is like reading a book without knowing the intricacies of printing and bookbinding. In Java, abstraction allows us to focus on the essential features of an object while hiding the complex implementation details. It simplifies the way we interact with our code and provides a clear and understandable interface.

Consider a smartphone. All of us use it to make calls, send messages, and take pictures without worrying about the underlying hardware and software stuff. Similarly, in Java, abstraction lets us create classes and methods that are easy to understand and use without burdening us with unnecessary details.

**Polymorphism**

Polymorphism is the ability to use a single name or method in different contexts. It's like having a universal remote control that works for various TVs. In Java, polymorphism enables objects of different types to be treated as objects of a common type. This allows us to write code that can work with different objects using a shared interface.

Let's take a music player with different types of audio files. Regardless of the file format, you can use the same play button to enjoy the music. In Java, polymorphism allows us to design code that adapts to anny scenario, making it easier to maintain and use.


In conclusion, encapsulation, abstraction, and polymorphism form the foundation of Java OOP. They help developers to create code that is not only efficient but also easy to understand.
Firefox DE...we're back together!...for a weird reason
Tags: firefox, browsers, blog, chrome
Published: 2023-11-29 14:35:47

First off, I have never liked using Google Chrome for development. The only reason I DEV in it is because it's a popular browser. That's it...

Recently I have had a bit of a paradigm shift in how I manage windows and tabs on my Mac. I use spaces now. I am preferring windows over tabs (but not spaces over tabs, that's evil, and wrong)...

All this to say that _one little annoyance_, related to this, has me switching back to Firefox DE (Developer Edition) for my development browser.

You remember when I said I preferred windows over tabs? Well, let's say I have a Chrome window on Space A doing Work X... and I have one on Space B doing Work Y...and I need to open a link on Space C to do Work Z... Well, if I click that link I get a new tab on random Space X, Y, or Z (probably the last window I used). 

That's not what I want. I've tried every hack to make sure a new link opens a _new window_ on Space C (my current space) in Chrome, but, like Google does, there just isn't a reasonable way. 

To my surprise, Firefox DE (and Firefox itself) on MacOS follows the behavior I have setup on Mac.

![Prefer tabs never in MacOS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l300fj3lcol5dbccohx2.png)

This setting should dictate everything. Most apps follow the rules here, not Google Chrome. But, like I said, FFDE seems to like to follow the rules I set on my own computer.
Navigating the Release Journey of txtToWeb
Published: 2023-11-28 07:24:53

## Introduction

Hello fellow developers! I'm thrilled to share my journey of releasing my project, **txtToWeb**, a command-line tool for converting text files to HTML content. This blog post will take you through the detailed steps I followed, the tools and package registry I chose, and the valuable lessons I learned along the way.

## 1. Choice of Release Tool and Package Registry

For the release of **txtToWeb**, I opted for [Poetry](https://python-poetry.org/) as my release tool and [TestPyPI](https://test.pypi.org/) as the package registry. Poetry's simplicity and TestPyPI's environment for testing releases were crucial factors in my decision.

## 2. Creating a Release

The process of creating a release involved several crucial steps:

### Project Configuration

I began by updating my `pyproject.toml` to include project metadata, dependencies, and release-specific information.

### Implementing Packaging Steps

Based on my research, I refined my project structure, added necessary files, and ensured compatibility with Poetry.

### Tagging the Release

I tagged the release using Git tags, creating an annotated tag for version 1.0.0.

### Publishing to TestPyPI

I initially faced an authentication error while pushing to PyPI, but a quick switch to TestPyPI resolved the issue.

## 3. Lessons Learned

Throughout the release process, I had several "aha!" moments and challenges:

- Understanding Git tags and their role in versioning.
- Learning the intricacies of configuring Poetry for packaging and distribution.
- Recognizing the importance of thorough user testing to uncover potential issues.

## 4. Code and Project Alterations

Adapting **txtToWeb** to Poetry required minimal alterations. I added the necessary metadata and files to comply with the packaging standards.

## 5. User Testing Session

Conducting a user testing session was an enlightening experience. My partner faced some confusion during installation, which prompted me to enhance the README.md for clarity.

## 6. Installation and Usage Instructions

With the release complete, users can install **txtToWeb** using the following command:

```bash
pip install -i https://test.pypi.org/simple/ txtToWeb==1.0.0
```

Detailed instructions and examples are available in the [README.md](https://github.com/Rachit1313/txtToWeb/blob/main/README.md) file.

## Conclusion

Releasing **txtToWeb** taught me valuable lessons in versioning, packaging, and user-centric development. I hope sharing my experiences helps fellow developers embark on their release journeys with confidence.
Black White Deny Block Accept List
Tags: rant
Published: 2023-11-29 14:28:40

I am totally ok with getting rid of master, slave, blacklist, whitelist and such. But it seems there is a lack of agreement on what to use instead. _Blocklist_, _DenyList_, _AllowList_, _AcceptList _and _Welcome-List_ are all not a good fit, the world generally agrees.

The obvious solution **Pirate-** and **NinjaList** is also not welcomed for unknown reasons.

So I decide here for all of us now:
BlackList is now **NopeList**
WhiteList is now **AyeList**

Case closed. See you at the bar


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/qd2m9l9a7je418axsmi4.jpg)
DAY6: Python day 9
Published: 2023-11-29 14:25:21

**Dictionaries**

- can add item to dictionary by simply assigning value to key. 
```
dict["key"] = "value"
```
- nesting lists and dictionaries in a dictionary and vice versa
```
dictionary = {
    key: [list],
    key2: {dict},
}
``` 
**End of the lesson project: Blind auction**
```
from replit import clear
from art import logo
#HINT: You can call clear() to clear the output in the console.
print(logo)
dictionary = {}

def bidder():
  name = input("What is your name? ")
  bid = int(input("What is your bid? $"))
  
  dictionary[name] = bid
  ask = input("Is there anyone else to bid? yes/no ")
  if ask == "yes": 
    clear()
    bidder()
  else: 
    best_bidder = ""
    best_bid = 0
    for key in dictionary: 
      if dictionary[key] > best_bid:
        best_bidder = key
        best_bid = dictionary[key]
    print(f"The winner is {best_bidder} with a bid of ${best_bid}.")

bidder()
```
토토사이트
Published: 2023-11-29 14:24:11


무궁한 인기를 누리고 있는 '리그 오브 레전드(League of Legends, LoL)'는 세계적으로 유명한 온라인 게임 중 하나로, 전 세계에서 많은 팬들을 보유하고 있습니다. 이 게임은 전략적인 요소와 팀워크를 필요로 하며, 플레이어들은 다양한 캐릭터를 조작하여 경기를 진행합니다 [토토사이트](https://esports-ocean.com/).

최근에는 리그 오브 레전드를 더욱 흥미롭게 즐기기 위해 '롤 배팅'이라는 개념이 등장하여 인기를 끌고 있습니다. 롤 배팅은 게임의 결과에 돈을 걸거나 예측을 하는 것으로, 이는 게임의 경기력 뿐만 아니라 전략적인 판단력과 예측 능력을 시험하는 재미있는 경험이 될 수 있습니다 [Read Full Article](https://esports-ocean.com/).

하지만 롤 배팅에는 주의할 점들이 많습니다. 무분별한 도박은 심각한 결과를 초래할 수 있으며, 특히 미성년자에게는 영향이 더욱 커질 수 있습니다. 따라서 적절한 규제와 책임 있는 게임 환경 조성이 필요합니다.

롤 배팅의 장점 중 하나는 게임을 더욱 몰입해서 관전할 수 있다는 점입니다. 경기에 대한 관심이 높아지면서 선수들의 플레이에 대한 이해도가 증가하고, 게임을 즐기는 측면에서 더욱 흥미로운 경험을 할 수 있습니다.

또한, 롤 배팅은 다양한 시장과 배팅 옵션을 제공하여 선택의 폭을 넓혀줍니다. 경기 결과를 예측하는 것뿐만 아니라 선수의 플레이 스타일, 특정 이벤트 발생 여부 등에 대한 배팅도 가능합니다. 이를 통해 플레이어들은 다양한 전략을 시도하고 자신만의 스타일을 발견할 수 있습니다.

그러나, 롤 배팅은 경기 결과에 돈을 거는 것이기 때문에 손실 또한 불가피합니다. 특히 예측이 틀렸을 때의 부정적인 영향은 금전적인 손실 뿐만 아니라 스트레스와 심리적인 압박으로 이어질 수 있습니다. 따라서 배팅을 즐기는 동시에 적당한 규모와 자제력을 유지하는 것이 중요합니다.

마지막으로, 롤 배팅을 즐기기 위해서는 신뢰할 수 있는 배팅 사이트를 선택하는 것이 중요합니다. 안전하고 신뢰성 있는 사이트를 통해 배팅을 진행하고, 이용자의 정보 보호와 책임 있는 게임 환경을 제공하는 곳을 선택하는 것이 좋습니다.

롤 배팅은 게임을 좋아하는 이들에게 새로운 재미를 선사해주는 동시에 책임 있는 게임 문화를 함께 고민해야 할 중요한 주제입니다. 플레이어들은 배팅을 즐기는 동시에 건전하고 안전한 게임 문화를 함께 만들어가야 합니다.
What is a monkey type?
Published: 2023-11-29 14:15:26

A [monkeytype](https://monkeytype.org) is an assessment or exercise designed to measure a person's typing speed, accuracy, and overall proficiency in using a keyboard to type written content. The goal is to evaluate how fast and accurately an individual can type a given set of words, sentences, or paragraphs within a specified time limit.

Typing tests often involve typing a predefined passage or series of words and sentences that can vary in complexity and length. The test-taker types the given content into a digital platform or on a physical keyboard, and the system records the number of words or characters typed per minute (WPM or CPM) and the number of errors made during the test.
Amazon Q: The New Ultra-Secure AI Chatbot
Tags: ai, productivity, news
Published: 2023-11-29 14:13:46

Amazon has just rolled out Q, their latest AI chatbot, which seems to have taken "keeping secrets" as its personal mantra. Designed with a focus on security and privacy, Q is like the digital equivalent of a vault for corporate data. This move comes as a response to the growing concerns among businesses about the safety and confidentiality of their information when using AI assistants. Q is built on Amazon's Bedrock platform, integrating various AI technologies, including Amazon's own Titan, as well as innovations from Anthropic and Meta. Its introduction marks a significant development in the AI field, especially following the release of ChatGPT. This advancement signifies a potential shift in the nature of jobs within the knowledge sector. **This is clear evidence that professionals need to become proficient in AI to stay competitive and relevant in a rapidly evolving job market.**

For deeper insights see Amazon’s announcement: https://aws.amazon.com/blogs/aws/amazon-q-brings-generative-ai-powered-assistance-to-it-pros-and-developers-preview/

### [Subscribe to our Channel](https://www.youtube.com/channel/UCyLZMUe32W3SEgNWALkJKZQ)
⚡ Subscribe to stay informed on how AI is disrupting and transforming software-related careers!
🚀 Exciting Update: ‘Reversing Linked Lists (RECURSIVELY) with LeetCode’s ‘Reverse Linked List’!’ 🎥
Tags: coding, learning, algorithms, programming
Published: 2023-11-29 14:05:31

Hello, tech enthusiasts! I'm thrilled to share my latest video where I conquer the challenge of LeetCode problem 206 - 'Reverse Linked List' using the Recursive Approach. Join me as we explore an efficient way to reverse a linked list in place.

🎥 Watch the video here: https://www.youtube.com/watch?v=xdeE3T2Bj8o
🔗 Access the code on GitHub: https://github.com/Vinay352/Leetcode/tree/main/0206-reverse-linked-list
🔗 Explore the LeetCode question: https://leetcode.com/problems/reverse-linked-list/

Your thoughts and comments are highly appreciated, so feel free to share your insights below. Let's continue our shared journey of learning and coding! 💡👨‍💻

Stay connected:
🎥 YouTube: https://www.youtube.com/@VinayJainDev3097
📚 Medium: https://medium.com/@vinay.j3097
📝 Dev.to: https://dev.to/vinay_jain_dev
🔗 GitHub: https://github.com/Vinay352
🐦 Twitter: https://twitter.com/vinayj3097
📸 Instagram: https://www.instagram.com/vinay_jain_dev/
📘 Facebook: https://www.facebook.com/vinayj3097/
Phone Number Wordle Puzzles Are Trending
Tags: puzzle, trending
Published: 2023-11-29 14:04:53

The rise of **[Phone Number Wordle](https://wendywaldman.com/phone-number-wordle-tips-and-tricks/)** can be attributed to its social media presence and the contagious nature of viral challenges. Players across platforms are sharing their conquests, inspiring others to join the digital treasure hunt. The simplicity of the game and the personalized touch of using one's phone number contribute to its widespread appeal.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7b53cudrf61zwes2q6uu.jpg)
How can I check if an image in a local folder exists with plain JavaScript?
Tags: javascript, webdev
Published: 2023-11-29 13:58:19

Basically my question is how can I do this? Anywhere I looked I couldn't find answers.

for(var i = 0; i < 4; i++){
    var img = document.createElement("img");
    img.style.src = `img/${i}.png`;

    if(img exists)
         document.body.appendChild(img);
}
Also is this possible somehow?
for( i = 0; i < how many images are inside folder; i++)
Manual Testing task3
Published: 2023-11-29 13:42:25

What is the difference between Functional testing and Non functional testing? Give some examples in support of your answer?

Functional testing ensures that the function's and features of the application work properly,Non functional testing examines other aspect of how well the application works,Functional testing test the functionality of an application,Non functional tests the performance of these functions.

Example:

Example of Functional testing:

Imagine you are testing a web application that requires user to log in,In this case,functional testing simply is used to check if the login page is working as expected.

Example of Non Functional testing:

It focuses on the non functional aspect's of the application,For example using performance testing is a type of non functional testing that lets you check the performance of an application under heavy traffic of user load,Also it ensure that your application is stable and can handle heavy loads.
NPM not build
Published: 2023-11-29 13:38:52

> npm run build                                                                                                                                            
>  personal_landing_page@0.1.0 build
>  next build
>   Next.js 14.0.3
>   Environments: .env.local
> Failed to compile.
> ./node_modules/html-to-text/lib/html-to-text.mjs + 24 modules
> Cannot get final name for export 'encodeXML' of ./node_modules/entities/lib/esm/index.js
>  Build failed because of webpack errors
>  Creating an optimized production build
Alternative to TablePlus: A comprehensive look at dbForge Edge
Tags: mysql, sqlserver, oracle, postgres
Published: 2023-11-29 13:31:24

TablePlus can be classified as a cross-platform and cross-database GUI client due to its lightweight and speed. You may be among its many satisfied users, as it is reliable and well-liked. However, what if the time has come to increase your capabilities and search for a new tool with additional features to meet your expanding needs? We can recommend dbForge Edge, a multidatabase suite of four high-end IDEs whose performance and ease of use are the only things that can equal its broad capability.

Your go-to tool for a variety of database-related activities is dbForge Edge:

- Effective SQL coding includes a wide range of formatting options, intelligent refactoring, debugging, and context-sensitive code autocompletion and object suggestions
- Complex query building visually without coding
- Optimizing query performance
- Finding and matching discrepancies between table data and database schemas
- Database management and migration
- Data reporting and analysis
- Creation of insightful, column-wise test data
- creation of documentation for databases
- Database Management

https://www.devart.com/dbforge/edge/tableplus-alternative.html
FSA French Polynesia
Published: 2023-11-29 13:30:26

FSA French Polynesia plays a pivotal role as the regulatory body overseeing financial services in the French Polynesia region.
Its core mission revolves around ensuring transparency, safety, and efficiency in financial markets through essential functions and responsibilities.

A top priority for FSA French Polynesia is the protection of consumer interests in financial services. The regulatory body rigorously verifies that services adhere to stringent standards, thoroughly assessing the competence and financial stability of the entities providing them. This commitment fosters trust in financial services, promoting sustained growth in the industry.

Actively championing the education and professional development of specialists in the financial realm, FSA French Polynesia initiates and supports ongoing learning programs. These endeavors empower professionals to stay abreast of the latest trends, legislative alterations, and the adoption of best practices in the dynamic landscape of financial services.

In the fight against financial crimes, FSA French Polynesia takes a proactive stance. Seamless collaboration with law enforcement agencies enables the regulator to actively identify and prevent financial crimes, providing crucial support in legal proceedings. This not only mitigates risks for investors but also upholds the integrity and legality of financial operations.

Meticulously monitoring activities within its regulatory purview enables FSA French Polynesia to swiftly implement appropriate measures in cases of violations. These measures, encompassing fines and sanctions, play a pivotal role in cultivating market discipline and fortifying its stability.

FSA French Polynesia is committed to disseminating information to the public, outlining both the advantages and risks associated with participation in financial markets. This commitment significantly contributes to enhancing financial literacy and minimizing the probability of errors and misconceptions.

A perpetual commitment to scrutinizing the effectiveness of legislation governing financial services distinguishes FSA French Polynesia. The regulator consistently provides recommendations for the refinement and enhancement of laws, aligning them with contemporary challenges and requirements.

International collaboration with fellow regulators constitutes a cornerstone of FSA French Polynesia's strategy. This collaborative effort facilitates the exchange of experiences, the transfer of best practices, and the establishment of common standards, thereby contributing to the stability of global financial markets.

FSA French Polynesia not only assumes a pivotal role in propelling the development of the financial industry in the region but also stands as a steadfast source of information for all stakeholders.
Top 5 Business Analytics Tools: Special Features, Limitations & Price
Tags: businessanalyticstools, analyticstools
Published: 2023-11-29 13:18:44

If you're here, you need no formal introduction to business analytics tools. You're probably also familiar with the [difference between business analytics and business intelligence](https://www.bluent.net/blog/between-business-analytics-vs-business-intelligence).

We'll give you an overview of some of the most popular (with good reason) data analytics tools, complete with products, special features, limitations, and prices.

**Top 5 Business Analytics Tools**

We've already covered Power BI, Tableau and Quicksight in a different article for business data analytics. In this one, we'll be focusing on other, equally good ones.

**Talend**

Talend is among the most powerful data integration ETL (Extract, Transform, Load) tools in the market. It has been named a leader in Gartner's Magic Quadrant for Data Integration Tools and Data Quality tools.

Its aim is to deliver accessible, clean and compliant data for everyone.

Talend is a software integration platform that provides various solutions for data management, data quality, data integration, data quality, and more. It has separate products for all these solutions.

Source by: [https://www.bluent.net/blog/top-business-analytics-tools/](https://www.bluent.net/blog/top-business-analytics-tools/)
Manual Testing
Published: 2023-11-29 13:15:53

Boundary Value Analysis?

BVA involves software testing data near the specified limits or boundaries in the input specification,The aim is to test the input data's extreme values and boundary condition's,This include minimum and maximum values,Test input's at or near the defined minimum and maximum limits.

Decision Table Testing?

A decision table testing is the tabular representation of several input values,cases rules & test condition's,The decision table is a highly effective tool utilized for both requirement management & complex software testing,Through this table we can check and verify all possible combination's of testing condition.

Use Case testing?

Its a type of black box testing that helps in indentifying test cases that cover the entire system transaction by transaction from start to finish,It is a description of how a specific user uses the system,This method is widely used in developing test at systems or acceptance level'a.

LCSAJ Testing?

It means Linear Code Sequence & Jump & its a white box testing methodolgy used to determine the code coverage means what percentage of the code is executed with the existing test cases,It helps in designing new test cases,which can increase the coverage of the code under test.
Importing posts from an RSS feed with Eleventy
Tags: eleventy, jest, javascript
Published: 2023-11-29 13:07:51

---
title: Importing posts from an RSS feed with Eleventy
published: true
description: 
tags: #eleventy #jest #javascript 
# cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/esh2y0glg91fpjwm9b1x.png
# Use a ratio of 100:42 for best results.
# published_at: 2023-11-29 13:05 +0000
---

{% embed https://www.youtube.com/watch?v=A1m1yLpHUZw %}

At [thoughtbot](https://thoughtbot.com) we love to design and develop in the open. Recently, Dimiter, George (@gkosmo) and I started livestreaming our work on Design Dot. A website for designers at thoughtbot to engage with the design community.

In this session we set out to import design specific blogposts from the main [thoughtbot blog](https://thoughtbot.com/blog). We spent most of the session writing a Jest test to make sure the RSS feed is valid.

I drove this session, and was kind of nervous working with vim in public. Didn't turn out to be so bad. 👍🏽