teleren/devto huggingface dataset:
Introduction to Java
Published: 2023-11-29 20:19:30

_The original name of this programming language was Oak,a hardwood tree which was a symbol of strength. However, in 1995, Oak got a new name, Java. The programming language's team members were looking for a name that would be easy to spell and fun to say. It is a name of an island in Indonesia where the first coffee was produced. 
Canadian computer scientist James Gosling is the inventor of Java and has always liked having a coffee called "Java". Eventually, he named the programming language Java._

---
**What is Java?**

Java is an object-oriented language, which means that it is a computer programming model that organizes software design around data, or objects, rather than functions and logic.Second, Java is multi-platform language which means that software, applications can be run on various platforms or systems such as Windows, Linux.Third, Java is network centric language which allows interactions between different devices or systems connected through a network.

---
**What are the data types of Java?**

There are two types of data types: primitive and non-primitive.

**Primitive data types** are 
  
1. **byte** (1 bytes) stores integers from -128 to 127
2. **short** (2 bytes) stores integers from -32,768 to 32,767
3. **int** (4 bytes) stores integers from -2,147,483,648 to 2,147,483,647
4. **long** (8 bytes) stores integers from -9,223,372,036,854,775,808 to 9,223,372,036,854,775,807
5. **float** (4 bytes) stores fractional numbers 6 to 7 decimal digits
6. **double** (8 bytes) stores fractional numbers 15 decimal digits
7. **boolean** (1 bit) stores true or false values
8. **char** (2 bytes) stores a single character

We can create variables of these data types and store different values in Java programs.

Example:

```
int n = 555000;
short s = 18;
double d = 3.1415;
boolean isThisReal = true;
char c = 'a';
```


---

Examples of **non-primitive data types** are

1. **Strings**
2. **Arrays**
3. **Classes**

**String** represents a sequence of characters. String objects are immutable, so they cannot be changed.
Example: 
```
String originalString = "Hello, hello";
System.out.println(originalString); // Output: Hello, hello
```

**Array** is a fixed-size sequence of elements of the same data type
Example: 
```
int arr[];
arr = new int[5];
arr[0]=10;
arr[1]=20;
for (int i = 0; i < arr.length; i++) {
    System.out.println("Element at index"+i+"is"+arr[i]);
}
```
**Classes** in java are responsible for creating objects, which are instances of the class. Classes serve as the type of the objects they create. A class defines the data and the methods of manipulating the data stored in the object (the instance of that class).
Example:
```
public class Student {
      private String name;
      private String surname;
      public void printStudentFullName () {
          System.out.println("My full name is " + name + " " + surname);
      }
}
```

This was a quick introductory tour in the world of Java programming. I hope it was a good start for you!
Satisfy Your Cravings with Delicious, Delivered Pizzas!
Published: 2023-11-29 20:17:40


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

Introducing Prego Pizzeria, a delicious [pizza](https://thepregopizza.com/services/pizza-delivery/) delivery service near you! Handcrafted with only the finest ingredients, we make our pizzas that surely satisfy your cravings. Our pizzas are made fresh daily and deliver right to your door. So what are you waiting for? Get a taste of Prego Pizzeria today!

Prego Pizzeria — Pizza Delivery Encino

16733 Ventura Blvd Unit 12, Encino, CA 91436, USA

Call us at (818)287–7333

[https://www.thepregopizza.com/](https://www.thepregopizza.com/)

[https://goo.gl/maps/pCk33s3iyF2P3cLz5](https://goo.gl/maps/pCk33s3iyF2P3cLz5)
ya
Published: 2023-11-29 20:16:53

Zealy : GalaxyRumble

ADA L1 Address: addr1qyxv4vp2u78lyjdghvw3p4hn2arqg0wmuhy34k70cywx44yxlqfd7s0hufwyh8p30me7ycxfsjegh2u0m2tm5f7s3hlsvk4fl9



My Faction Selection: theapesociety

Step 1 Proof:

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

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

Step 2 Proof:
As a member of The Ape Society, our faction possesses distinctive traits that place us at the forefront of the Cardano ecosystem. One standout characteristic is our adaptive nature, evolving from an exclusive NFT community into a vibrant DeFi hub. This ability to transform and innovate reflects our commitment to staying relevant in the ever-changing blockchain landscape.

Another key trait is our community of builders, evangelists, and creatives on the Cardano blockchain. This diverse and skilled membership contributes significantly to our standing within the ecosystem. We are not just collectors of NFTs; we actively participate in the development and enhancement of the Cardano network.

The decision to join The Ape Society was driven by the allure of being part of a faction that values both NFTs and actively contributes to the growth of Cardano. The community's dedication to innovation, coupled with the inclusion of protocols like Levvy, which facilitates smooth lending and borrowing of NFTs and tokens, further solidified my choice. Joining The Ape Society means being part of a dynamic and forward-thinking community that not only appreciates the potential of blockchain but actively shapes its future within the Cardano ecosystem.

In summary, The Ape Society stands out with characteristics of adaptability, innovation, and community engagement. My decision to join them is driven by their dynamic evolution and commitment to meaningfully contribute to the development and empowerment of their members within the Cardano community.
Java-the apple of my eye..
Published: 2023-11-29 20:16:18


The Java Development Kit (JDK) is an indispensable toolbox for creating Java applications. It includes a range of resources, tools, and libraries essential for programming in Java. Let's take a closer look at the components of the JDK:

1. Java Runtime Environment (JRE): The JDK also includes the JRE, which is vital for running Java applications. It has the necessary runtime environment to execute Java programs, with resources and libraries. The JRE includes the JVM.
2. Java Compiler: The JDK's Java compiler translates human-readable Java source code into bytecode. This bytecode is executed by the Java Virtual Machine (JVM).

3. Development Tools: The JDK provides various development tools such as debugging, performance monitoring, and utilities for packaging and documenting Java applications.

4. Libraries and APIs: The JDK has a vast collection of libraries and APIs that developers can use to build Java applications. These libraries offer prewritten code for everyday tasks, allowing developers to focus more on application logic and less on reinventing the wheel for every function.

The JDK is an all-in-one package that empowers Java developers to write, compile, debug, and run Java applications. It is an essential toolkit that provides everything needed to create Java software, from writing code to deploying it.

The difference between primitive and non-primitive types is that non-primitive types act like objects. They have their own methods and they 'consist' of elements of primitive type.


OOP
Object-Oriented Programming (OOP) is based on four fundamental principles: Encapsulation, Abstraction, Inheritance, and Polymorphism. 

Encapsulation is a concept in programming where an object contains important information and only exposes the necessary details to other objects. This is achieved by defining a class that holds the implementation and state of each object, preventing other objects from accessing this information or making any unauthorized changes. Instead, they can only call a list of public functions or methods. By hiding the data in this way, it provides greater program security and helps prevent unintended data corruption.

Abstraction means that objects only reveal internal mechanisms relevant for using other objects, hiding any unnecessary implementation code. This approach allows developers to extend the functionality of a derived class over time with greater ease.

Inheritance is the process of reusing code from other classes.
A modern, browser-based, open source SQL workbench for your MySQL-compatible database
Tags: mysql, opensource, database, showdev
Published: 2023-11-29 19:36:08

	
Why are SQL workbenches stuck in 2002?

I work for the company behind Dolt, the first fully versioned SQL database. As a database company, we have often felt the pain of the lack of modern, web-native or browser-based SQL workbench products.

We built a cool database UI for our other web products (DoltHub and Hosted Dolt) and we wanted the world to have it. The Dolt Workbench not only works with Dolt, which will unlock version control features, but it also works with any MySQL-compatible database, including MySQL and MariaDB. As far as we can tell, the Dolt Workbench is the only free, open source, browser-based SQL workbench available today.

We’re actively developing and would appreciate any feedback!

Get started on Docker Hub: https://hub.docker.com/r/dolthub/dolt-workbench

Check out the code on GitHub: https://github.com/dolthub/dolt-workbench

View announcement blog post for more information: https://www.dolthub.com/blog/2023-11-29-dolt-workbench/
Java and OOP in general
Published: 2023-11-29 19:23:49

1. Java Fundamentals: JVM, JDK, JDE
Java operates on three essential components: 
Java Virtual Machine (JVM): It acts as a bridge between the Java code and the underlying hardware. JVM interprets bytecode, allowing Java applications to run on diverse devices without recompilation.
Java Development Kit (JDK): A comprehensive toolkit for Java developers, JDK includes the Java Compiler (javac) to convert code into bytecode, libraries, and various tools crucial for app development.
Java Development Environment (JDE):
Often represented by Integrated Development Environments (IDEs) like Eclipse or IntelliJ IDEA, it provides a user-friendly interface for writing, debugging, and running Java code.
2. Types in Java
Java, like many programming languages, has various types used to define data:
Primitive Types: These include basic data types like int, boolean, double, etc., and hold simple values directly.
Non-Primitive Types: Also known as reference types, these include objects, arrays, and strings. They refer to complex data structures and are stored as references.
3. Differences between Primitive and Non-Primitive Types
Primitive types directly hold values, whereas non-primitive types hold references to objects. Primitive types are stored in the stack memory, while non-primitive types are stored in the heap memory. Primitive types are immutable, whereas non-primitive types are mutable and can be modified.
4. Object-Oriented Programming (OOP)
Java is deeply rooted in the principles of Object-Oriented Programming. OOP emphasizes building software using objects and classes, promoting modularity, reusability, and flexibility in code.
5. The 4 Pillars of OOP in Java
Inheritance: It allows a new class (subclass/child class) to inherit properties and behavior from an existing class (superclass/parent class).
Encapsulation: This principle hides the internal workings of an object and exposes only the necessary functionalities through methods.
Abstraction: It focuses on displaying essential features without including the background details, simplifying complex systems for the user.
Polymorphism: It enables objects of different classes to be treated as objects of a common superclass, allowing methods to be called on them interchangeably.
Java
Published: 2023-11-29 19:22:13



 ENCAPSULATION IN OBJECT ORIENTED PROGRAMMING-The idea of encapsulation aims to keep external parties from knowing how objects are implemented. It claims that all relevant data is internal to the object and that only a subset of the data is accessible externally. The internal workings and state of each object are kept confidentially within the designated class; other objects cannot access or modify it. Rather, they are limited to using a select few public services or features. This type of data hiding lowers the possibility of errors, increases program understandability, and gives program security and control over object state changes.

 iNHERITANCE IN OBJECT ORIENTED PROGRAMMING-The concept of inheritance gives programmers the ability to build new classes based on pre-existing (parent) classes and modify or add new methods and properties as needed. This helps to avoid code duplication and makes maintenance easier for programs with thousands of lines of code. Developers can construct objects with similar code or logic but distinct properties by leveraging the parent class's logic in the child class. As a result, the code becomes less complex and there is no longer a need to create a new object for every object that the program uses.

POLYMORPHISM IN OBJECT ORIENTED PROGRAMMING- In addition to inheritance, polymorphism allows objects of different classes to carry out identical actions with different code. For example, a variety of information about objects of the "car," "plane," or "ship" type can be displayed using the "show information" method. Moreover, polymorphism facilitates the development of modular and flexible programs. In general, it makes development easier because it makes it possible to create shared functions and methods that can be applied to a variety of object types.

 ABSTRACTION IN OBJECT ORIENTED PROGRAMMING- Abstraction allows you to focus on the essential elements of a system while ignoring the less important details that have no bearing on its key features. It enables you to create more understandable programs. Abstraction can be considered an extension of encapsulation. Take, for example, programs with thousands of lines of code. Each object only reveals a specific mechanism for usage due to the principle of abstraction. As a result, the code contained within becomes largely independent of other objects. For example, in a program that stores movie information, you can create a class "Movie" that allows you to access only the most important details, such as title, release year, and genre, while hiding less important information, such as shots or technical aspects.
Project: Static Site Generator
Tags: javascript, beginners, opensource
Published: 2022-09-17 00:48:24

**What is it?**
Recently, I’m working a static site generator using JavaScript . What it does is that it takes TXT files to convert into HTML web pages. You can find it [here](https://github.com/cychu42/staticSiteCon). I name it the TXT-to-HTML Static Site Converter...Yeah, I never claim to be good with names. It's a bit of struggle between being practical and creative. I use the [minimist](https://www.npmjs.com/package/minimist) module to handle options for the program.

**Requirment**
You first need to have Node.js installed. After downloading this program, run command "npm i" or "npm install" in command line while inside the program's directory to install required all npm package(s).

**Usage**
You need to supply TXT files to convert into HTML file(s) of the same names.
I included a few sample test files in the "test_files" folder.
This program is run by entering commands in command line, like cmd or PowerShell.
Use --input or -i to tell the program the path to a TXT file or a folder with TXT file(s), and it will convert them into HTML files in 'dist' folder. If the dist folder doesn't exist at the current directory, one will be created by the program. If the dist folder exist, it will be deleted and recreated to provide only the latest output.
Example: node SSC -i ./test_files

If you path has any space for a file or folder name, please use '' around the name(s).
Example: node SSC -i ./'a folder with space in the name'

**Other options:**
--version or -v
This option provides program name and its version.

--output or -o
This option specifies an output directory instead of the default dist folder. If the directory is invalid, output directory is set back to the default.
For safety reason, any directory specified by this option is never deleted by the program, unlike the default behaviour.
Example: -o ./myFolder

--stylesheet or -s 
This is to specify url of the style sheet to use in the HTML files.
Example: -s https://cdnjs.cloudflare.com/ajax/libs/tufte-css/1.8.0/tufte.min.css

--help or -h
This will show you the help guide.
Java
Published: 2023-11-29 19:20:44





Programming languages that are object-oriented are an effective tool that lets developers design apps that are based on actual objects. With the help of objects, classes, and data structures, programmers can construct reliable, effective, and useful applications. Using the best object-oriented programming languages, like Java, C++, and Python, developers can create programs that are both reusable and customizable. With the help of these languages, programmers can produce applications that are more interactive and responsive, making the user experience more pleasurable and effective. Ruby, C#, and PHP are a few more well-liked OOP languages.
Un año da para mucho
Tags: career
Published: 2023-11-29 19:18:32

Terminamos noviembre y en un mes empezaremos a pensar en escribir esos resúmenes del año. 

Este año me adelantaré porque siento como que el mío ya está terminando y toca pensar en las acciones para preparar el que viene.

Mirando para atrás veo que *un año da para mucho*.

Tras dejar la comodidad de un proyecto bien pagado pero en el que no me dejaban decidir comencé en otro como DevOps.

- He aprendido a crear y manejar clusters en #AWS. Me he peleado con las anotaciones de kubernetes para controlar que el ingress use la red pública o privada.

- Me he peleado para enrutar un ECS con un EKS (lo que hace una letra)

- Terraformar casi toda la infra desde cero y poner los cimientos para la migración

- He implementado un ApiGateway con #Apisix permitiendo que migraramos a microservicios. 

- He aprendido Nextjs y Typescript, y he aprendido a crearles test de integración que no había 

- Hacer que GitHub actions me despliegue automáticamente en el cluster las aplicaciones 

- He montado un cluster k3s on premise con varios nodos, con su loki, grafana, storage... y está corriendo en producción!!

- He llorado al firmar ante notario la disolución definitiva de PuraVida Software 

- Me he emocionado firmando ante notario la constitución de la nueva empresa EDN

- He estado en Dubai, Tailandia, SriLanka y Canadá. Me he sacado el carnet de conducir tuk tuk y he manejado uno durante una semana.

- He dado 6 charlas, la mitad en inglés y llorado en la última de la emoción (soy un moñas, qué le vamos a hacer)

- He escrito unos 12 post en el blog y creado un blogmap para contar mis andanzas

- He publicado un proyecto OpenSource y he ganado 1€

- He publicado dos proyectos OpenSource para el Fediverso y nadie lo usa

- He firmado dos contratos con dos clientes nuevos que espero me den de comer el año que viene


Así, que sí, un año da para mucho pero aún así siento que podía haber hecho más.

Casi no he leído ningún libro (ni técnico ni de literatura). A duras penas he terminado un par de ellos

No he mejorado para nada mi inglés

No me he puesto con el saxofón que me pedí para Navidad y está esperando a que lo saque de la funda. Y me duele.

Habrá que ver qué pasa en el 2024, pero como no me gusta hacer planes ... pues ya lo iremos viendo

#Postureo
Reimagine Harmony: Unleash Your Potential with Audio Loop Mastery!
Tags: music, audioloops, musicproduction, edm
Published: 2023-11-29 18:33:37

Step into the realm of limitless creativity and reimagine the very essence of harmony with AudioLoops at [Audioloops.com](https://audioloops.com/). This isn't just a platform; it's a sanctuary where your musical potential is unleashed through the mastery of audio loops.

Audio loops, the building blocks of sonic innovation, take center stage in this transformative journey. At AudioLoops.com, we invite you to transcend the ordinary and explore the vast tapestry of harmonies waiting to be discovered. Whether you're a seasoned maestro or a novice composer, our curated collection of high-quality loops offers a boundless canvas for your artistic expression.

Navigate through our user-friendly website, where each click is an invitation to reimagine harmony. From pulsating electronic beats to soul-stirring orchestral arrangements, the diversity of our loops empowers you to craft harmonies that resonate with the depths of your creative vision.

The mastery of audio loops is not just about the creation process; it's a revolutionary approach to shaping harmonies that stand out in a crowded musical landscape. As you seamlessly integrate these loops into your compositions, you're not just making music; you're sculpting an auditory masterpiece that reflects your unique musical identity.

AudioLoops.com is more than a platform; it's a journey into the uncharted territories of sound. Break free from conventional harmony structures and let the loops guide you toward unexplored sonic dimensions. Experiment with layering, arrangement, and modulation, and witness the evolution of harmonies that go beyond the ordinary.

Our commitment to excellence ensures that every loop is a testament to audio mastery. Immerse yourself in the artistry of crafted sounds, where each note is an opportunity to redefine your harmonic landscape. With AudioLoops.com, you're not just a listener; you're a creator, a pioneer of harmonies that challenge norms and elevate your compositions to new heights.

The mastery of audio loops isn't just a tool; it's a philosophy that empowers you to reimagine harmony at every turn. Visit [Audioloops.com](https://audioloops.com/) and let the journey begin. Unleash your potential, redefine the boundaries of harmony, and elevate your compositions to a level of mastery that only AudioLoops.com can offer. Your sonic adventure awaits – where every loop is a key to unlocking a world of unparalleled harmony!