teleren/devto huggingface dataset:
End of ElephantSQL 😔
Tags: news, programming, database, discuss
Published: 2024-04-03 19:52:13

**[ElephantSQL](https://www.elephantsql.com/)** started back in 2013 and it was one of the first services to offer `postgreSQL` at such low rates as a service.

I personally have been using it since last 4-5 years and my favorite part was the **browser SQL executer**.

Unfortunately 😟, just moments ago I received a mail saying that they are ending their services from **January 27, 2025**.

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

---

> This marks a end to an era!

No doubt **ElephantSQL** was one of the best postgreSQL service providers out their for small projects. 

I had build over 20 small projects using ElephantSQL. All of them had over **1K+ users**. Their free plan was, in my personal opinion, the best postgreSQL service a beginner might ever get!

_Comment if you have ever used **ElephantSQL** and what are you going to use from now one?!_
Navigating Exam Challenges with DumpsMedia
Published: 2024-04-03 19:36:05

DumpsMedia's commitment to excellence and innovation sets it apart as a trusted partner in the pursuit of exam success. Whether seeking clarification on complex topics or guidance on effective exam strategies, learners can rely on <a href="https://dumpsmedia.com/">DumpsMedia</a> to provide the support and expertise needed to excel.
Unlocking Success with DumpsMedia
DumpsMedia empowers learners to unlock their full potential and achieve success through its holistic approach to exam preparation. By combining high-quality study materials with personalized guidance, DumpsMedia offers a tailored learning experience that caters to individual learning styles and preferences.
With DumpsMedia as your trusted ally, you can navigate the challenges of exam preparation with confidence and proficiency. Whether aiming to advance your career or pursue academic aspirations, DumpsMedia equips you with the knowledge and skills needed to excel and thrive in your chosen field.
Conclusion
In a competitive world where exam success is paramount, <a href="https://dumpsmedia.com/">Dumps Media</a> emerges as your pathway to excellence. With its comprehensive resources, expert guidance, and unwavering commitment to your success, DumpsMedia empowers you to conquer exams and achieve your goals with confidence. Experience the difference with DumpsMedia and embark on a journey towards exam excellence today.

Click Here For More Details>>>>>>>: https://dumpsmedia.com/
Entendo o conceito de VueJS
Published: 2024-04-03 00:43:57


## O que é?

Resumindo o Vuejs é uma biblioteca javascript que busca manipular elementos HTML(DOM) por meio de lógicas de promogração feitas a partir do Javascript. Tudo que acontece na aplicação é feito a partir da instancia de Vue que faz o gerenciamento desses elementos por meio de valores e tags.

## Exemplo inicial
Pra gente entender melhor como funciona tudo isso, vamos fazer ver esse exemplo abaixo. Nele estamos criando uma página básica em html com vue importado, uma tag div com id "app" e umas informações na tag script.

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


Idai? Bom, a grande jogada inicial esta nas informações fornecidas pelo console.log. Nele podemos ver que já estamos conseguindo capturar elementos existentes na DOM, e é ai que a brincadeira começa!

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

Conforme deu pra ver o nosso objeto "options" já está com o nosso app. Em projetos instalados por CLI é normal o elemento principal ser chamado de APP, o que eu to fazendo aqui é mostrando o parte inicial pra ficar bem claro o que está acontencendo.

## Atributos reativos

Atributos reativos são simplesmente variáveis que serão enviadas para o HTML por meio do JavaScript. Com isso, poderemos "enviar" essas váriaveis para a DOM utilizar como bem entender por meio do que podemos chamar de "double mustache". Obs: Esses valores são enviados por meio da propriedade DATA.
Que raios é double mustache? É só abre e fecha chaves kkk. Exemplo: `{{ pessoa_idade }}`

Se liga nisso:

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

O primeiro faz referencia a variavel exportada lá na propriedade "data" do objeto "options", enquanto o segundo elemento é apenas um texto simples. Resultado:

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

## Métodos

Assim como temos a possibilidade de utilizarmos váriaveis na DOM, também podemos fornecer funções pra serem executadas!

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

Com esse simples exemplo, obtemos o resultado de *9* e *5* exibidos diretamente no nosso HTML.

Além disso, podemos também utilizar as variaveis que estão dentro da propriedade "data" por meio da palavra reservada "this". O "this" faz referência a própria instância do VUE, o que permite utilizamos seus respectivos valores.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xadlmb7nhqwt40444o5k.png)
Deadly Mistakes to Avoid When Learning
Published: 2024-04-03 19:15:53

**Java**

Java, a versatile and powerful programming language, has been a cornerstone of software development for decades. Whether you’re a beginner or an experienced developer, avoiding common pitfalls can significantly enhance your Java journey. Let’s explore some deadly mistakes to steer clear of:

##1. Ignoring Object-Oriented Principles
Java is inherently object-oriented. Failing to grasp fundamental concepts like classes, objects, and inheritance can hinder your progress. Dive into these principles early on and practice designing robust class hierarchies.

##2. Neglecting Exception Handling
Java’s checked exceptions force you to handle potential errors explicitly. Ignoring them or using overly broad catch blocks can lead to unexpected runtime issues. Always handle exceptions gracefully and provide meaningful error messages.

##3. Not Using Proper Naming Conventions
Descriptive variable and method names improve code readability. Avoid cryptic abbreviations or single-letter identifiers. Follow the **CamelCase** convention for class names and snake_case for variables and methods.

##4. Skipping Unit Testing
Writing tests is as crucial as writing code. Neglecting unit tests can result in undetected bugs and maintenance nightmares. Embrace tools like **JUnit** and practice test-driven development (TDD).

##5. Overlooking Memory Management
Java manages memory automatically, but understanding concepts like the **garbage collector**, heap, and stack is essential. Leaking memory due to unclosed resources or circular references can lead to performance bottlenecks.

##6. Misusing String Concatenation

Concatenating strings using the + operator within loops can be inefficient. Instead, use **StringBuilder** or **StringBuffer** for better performance.

##7. Ignoring the Power of Interfaces
Interfaces allow you to define contracts and achieve polymorphism. Neglecting them limits your ability to create flexible and extensible code. Embrace interfaces for cleaner designs.

##8. Not Keeping Up with Java Versions
Java evolves rapidly. Sticking to outdated versions prevents you from leveraging new features and improvements. Stay informed about the latest releases and adopt them judiciously.

##9. Avoiding IDEs and Debugging Tools
Integrated Development Environments (IDEs) like IntelliJ IDEA and debugging tools are your allies. Utilize features like code completion, refactoring, and debugging breakpoints to enhance productivity.

##10. Copying Code Blindly
While learning, it’s tempting to copy-paste code snippets without understanding them fully. Take the time to comprehend each line. Debugging borrowed code can be a nightmare.

Remember, mistakes are part of the learning process. Embrace them, learn from them, and strive to become a better Java developer. Happy coding! 🚀🔍👩‍💻
Gimli Bootstrap: The smart DevTools extension for Bootstrap developers
Published: 2024-04-03 19:12:32

Hello! 👋

I've made a [Chrome extension for Bootstrap](https://chromewebstore.google.com/detail/gimli-bootstrap/oeohjgdiapbcnlifpfhmppjkdkabkfbj) developers which I hope you find useful.

[Here is a short introduction video.](https://www.youtube.com/watch?v=xI05jhoqoPw)

The extension is a fork of [Gimli Tailwind](https://chromewebstore.google.com/detail/gimli-tailwind/fojckembkmaoehhmkiomebhkcengcljl). But it was it was modified for Bootstrap development.

It’s been a while since I last worked with Bootstrap on a project, and I would greatly appreciate feedback from anyone using Bootstrap. 😊
Living The Dream With AI: CodeNewbie Podcast
Tags: codenewbie, podcast, career, ai
Published: 2024-04-03 19:01:23

### It's podcast day y'all.

If you are new here, hello and welcome! It's me Rachel, and I am here today with CodeNewbie Podcast, where we come to you weekly with an interview with a tech professional, sharing supportive advice for newbies in tech. 

Welcome back!

_Let's look at our new episode!_ 


![Pixellated Ear Bouncing Around](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ekob8snbcawp0r7fzxwp.gif)

---

Our fourth episode of this season just came out with our host @saronyitbarek and [Rob Frelow](https://twitter.com/RobFrelow), Co-founder & Chief AI Officer at [The Storygraph](https://www.thestorygraph.com/).  

Rob shares how a trip in his friend’s Tesla led him to enroll in his first AI course, how he broke into AI later in his career and his experience truly living the dream waking up each morning excited to dive into AI and his work at The Storygraph. 

Special Note: We had Rob on DEVDiscuss a few years ago! You can check that episode out here. 

{% podcast https://dev.to/devdiscuss/s3-e6-we-bust-some-myths-about-linux %}

---

If you would like to listen to this episode of CodeNewbie Podcast you can:

- [Listen on Apple Podcasts](https://podcasts.apple.com/us/podcast/codenewbie/id919219256?i=1000651326313)

- [Listen on Spotify](https://open.spotify.com/episode/5gLXtMS0WFarw5Zv7Pa1ey?si=89f9430d33d44009)

- Listen right here on DEV:

{% podcast https://dev.to/codenewbie/s27e4-living-the-dream-with-ai-rob-frelow %}

Or, listen wherever you normally get your podcasts.


---

### See ya next week for more things CodeNewbie.

ALSO, if you are eager for more podcast-discussions, I also run [Podcast Palooza](https://dev.to/devteam/podcast-palooza-what-are-you-listening-to-interview-edition-3a8) on Mondays to share your favorite podcast-related content!

Sincerely,
**Rachel from the DEV and CodeNewbie Teams**
(they/them)

---

_PS: **WOW** We would love for you to review our podcast, drop a rating, drop a like, or whatever you can to show your support. It truly means a ton, we love to see your kind words, and we wouldn't be here without you!_
Roadblock please help
Published: 2024-04-03 18:54:27

Hello, I am a young programmer and  I just finished a Java class a few months ago. I really enjoy coding in my free time but recently i've been having trouble with motivation or even ideas. I am not to advanced in Java but I'm past the point of the next step being obvious. I already did object oriented programming and had a lot of fun. The past month or two i've been unable to come up with ideas of what to code and was wondering if anyone had any input on what my next step should be or even another language that is good to learn.
Can Lambda send data to a destination without a message broker?
Published: 2024-04-03 18:41:23

---
title: Can Lambda send data to a destination without a message broker?
published: true
description: 
tags: 
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-04-03 18:37 +0000
---
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jxo77s2d4ov4y6yw24qg.png)

AWS Lambda can send data to a destination without using a message broker by directly integrating with various AWS services or making HTTP requests to external endpoints. Here are some common approaches:

Direct Integration with AWS Services: Lambda functions can directly interact with various AWS services without the need for a message broker. For example:

Writing data to Amazon S3 buckets.

Putting items into Amazon DynamoDB tables.

Invoking other AWS Lambda functions.

Publishing messages to Amazon Simple Notification Service (SNS) topics.

Posting messages to Amazon Simple Queue Service (SQS) queues.

Inserting records into Amazon RDS databases.

Streaming data to Amazon Kinesis Data Streams.

HTTP/HTTPS Requests: Lambda functions can make HTTP or HTTPS requests to external endpoints, including REST APIs, webhooks, or custom endpoints hosted outside of AWS. This allows Lambda to communicate directly with external systems without the need for an intermediary message broker.

Custom Endpoints: You can deploy your own API endpoints using AWS API Gateway or a custom HTTP server (e.g., running on Amazon EC2 or AWS Fargate) and invoke them from Lambda functions. This enables communication between Lambda and your custom business logic or third-party services.

AWS SDK: Lambda functions can use the AWS SDK to programmatically interact with various AWS services or third-party APIs. This allows Lambda to invoke service APIs directly and send data to the desired destinations.

Third-Party Integrations: Lambda functions can integrate with third-party services and platforms through their APIs or SDKs. This enables communication with external databases, analytics platforms, CRM systems, and other third-party services without relying on a message broker.

By leveraging these approaches, Lambda functions can send data to destinations without the need for a message broker, providing flexibility and scalability in serverless architectures.
Reflecting on the power of public speaking
Tags: devrel, career, community, techtalks
Published: 2024-04-03 18:36:59

Today I am reflecting on the power of speaking... 

I have been speaking at Tech conferences since 2021, and before that, I have been doing some live coding at Twitch. Sharing my knowledge, and learning together with the people around me. 

Recently I had a great call with a colleague from DevEx, and he mentioned that he often uses saying he learned in a talk I gave last year. It may seem simple but moments like these seriously make my day and remind me of the meaningful impact speakers can have, and too often we forget about it. 

As DevRel professionals, we're not just showing demos or pushing products; **we're building real connections and sharing knowledge!**

Whenever we hit the stage, start a live stream, or even just chat in a Discord Channel, we have the chance to inspire, educate, and hype up our fellow devs.

But you know what really gets me? When someone hits me up later and says, "Hey, remember that thing you said? It totally changed how I do XYZ." That feeling? **Pure magic.** ✨ 

So today just want to say to all my DevRel friends and fellow speakers, **let's keep doing our thing with heart and intention**. 

What we do matters, and our words have an impact. 🥑💚
What are the risks of neglecting security maintenance on a WordPress site?
Published: 2024-04-03 18:33:22

Neglecting security perspective of [WordPress Maintenance](https://cyberpanel.net/blog/wordpress-maintenance-tips-and-tricks) on a WordPress site can lead to various risks and potential consequences. Without regular updates and security measures in place, WordPress websites become vulnerable to hacking attempts. Hackers may exploit security vulnerabilities in outdated themes, plugins, or the WordPress core to gain unauthorized access to the website's data or inject malicious code.
How to setup proxy for Google Cloud SQL
Tags: gcloud, cloudsql, proxy, gcp
Published: 2024-04-03 18:31:42

In this tutorial, you will learn how to set up a proxy for your Google Cloud SQL instance and port it to local. 

Pre-requisites:
- An instance of Google Cloud SQL
- Python 3 installed

Tutorial:

**Step 1** Confirm that you have python3 installed by running the following command in the terminal.
`python3 -V` or `python -V` 

**Step 2** Check if you have gcloud cli installed on your machine by using the following command
`gcloud auth application-default login`

If you haven't you need to install it from [here](https://cloud.google.com/sdk/docs/install).

**Step 3** Install gcloudSql auth proxy from [here](https://cloud.google.com/sql/docs/postgres/sql-proxy)

**Step 4** Run the following command in the terminal to log in with your Google account associated with gcloud SQL instance. 
`gcloud auth application-default login`

Select your instance and region if it's necessary.

**Step 5** After login, run the following command to port forward your instance to localhost.
`./cloud-sql-proxy --address 0.0.0.0 --port <port> <db_instance_name>:<region>:<db_name>`

Replace values with your required information. It will look like this. 

`./cloud-sql-proxy --address 0.0.0.0 --port 5674 hanzla-db-369715:us-central1:postgres`

**Step 6** Voila! Your gcloud SQL instance is accessible on port 5674 on your local machine. Connect your backend with db on this path or connect it with a database visualizer like DBeaver to explore the database.
Conversational Queries with ElasticSearch
Tags: javascript, ai, development
Published: 2024-04-03 18:31:35

[Elasticsearch](https://www.elastic.co/) is a **search and analytics engine** designed to handle your data needs with speed and relevance. Whether you're dealing with structured or unstructured, numerical or geospatial data, Elasticsearch will be able to handle it efficiently. It is most commonly used for ingesting and analyzing log data in near-real time. 

Each analytics or search engine has its own unique querying methods. Elasticsearch follows the **DSL** (Domain Specific Language) method for querying data which is based on a key-value format called **JSON** (JavaScript Object Notation). But imagine not having to learn these rigid syntaxes, this is where conversational queries come into play. **So what are conversational queries?** It simplifies the way users interact with data. Users just have to type a query in plain language without having to follow any specific syntax, and with the help of AI chat models such as GPT, Gemini, and Claude, it will respond back to you in natural language. It's like talking to your data - easy, intuitive, and efficient. 


![Conversational Query Process](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nfqdnpahlceisjw4tud4.png)

The process for the conversational queries with Elasticsearch is as follows:

- The **logs** of your application are directed to flow to Elasticsearch
- These logs have to be converted to **embeddings** which are collections of vectors where similar data points will be mapped to vectors that are close together in the vector space, while dissimilar data points will be mapped to vectors that are far apart. This improves efficient data retrieval.
- **Elasticsearch** will act as a vector database storing the collection of all log embeddings.
- An **LLM** of your choice can then be integrated with your Elasticsearch to respond to users' conversational queries
- When a user asks the **LLM** a conversational query, the LLM retrieves all embedded documents similar to the query from Elasticsearch.
- Compiling all the retrieved documents, the LLM will output a **response** in natural language 

This is just one example of how you could use a common storage application like Elasticsearch to respond to users' queries in natural language by leveraging the power of vector embeddings and large language models. The combination of vector databases and conversational AI offers exciting possibilities for making data more accessible and user-friendly across various domains and use cases.
#2 Installing Cassandra and Setting up the database
Tags: cassandradb, buildinpublic, learning
Published: 2024-04-03 18:29:24


Let's set up the database now. As I mentioned in the first post, we will use CassandraDB.

I followed the steps for the installation from the official documentation site. I don't want to deal with docker at the moment therefore I installed the Tarball binary file.

After extracting the .tar.gz file we can cd into it and start the database.

```shell
$ cd apache-cassandra-4.1.4/ && bin/cassandra
```

Let's connect to the database using cqlsh. It is a command-line interface for interacting with Cassandra.

```shell
$ bin/cqlsh
```

Now, we can create a keyspace for our project by typing the following query.

```cql
CREATE KEYSPACE channels_db WITH replication = {'class': 'SimpleStrategy', 'replication_factor': '1'}
```

Here we are creating a keyspace named "channels_db". A keyspace in Cassandra is akin to a database in traditional relational database systems.

- In the `replication` map, `'class'` is a key that specifies the replication strategy class.
- In this case, the replication strategy chosen is `'SimpleStrategy'`. SimpleStrategy is a basic replication strategy that is suitable for single data centers or development environments. It distributes replicas of data evenly across the cluster nodes.
- `'replication_factor'` is another key within the replication map. It specifies the number of replicas (copies) of data to be maintained for fault tolerance.
- In this query, the replication factor is set to `'1'`, meaning that only one replica of each piece of data will be maintained. While this is fine for development it doesn't provide fault tolerance in a production environment. Production systems typically use a replication factor greater than one to ensure data durability and availability

After creating keyspace we can type `use channels_db` command to connect to our database.

Let's create a user table inside the database with the following query.

```cql
CREATE TABLE users (
    user_id uuid PRIMARY KEY,
    bio text,
    created_at timestamp,
    email text,
    password text,
    username text
)
```

We can display all the tables in database with `DESCRIBE tables` query.

Now, that we have a database ready. We can connect to it from our HTTP Server.