teleren/devto huggingface dataset:
PostgreSQL on Render connect with Azure Data Studio
Tags: postgres, azuredatastudio, database
Published: 2024-01-02 16:11:02

Connecting a free PostgreSQL database from Render with Azure Data Studio could be a bit tricky job. Here I'm going to show you how you can do that with no time.

Render is a hosting platform that provides free PostgreSQL for a limited time. 
- First, open a Render account from [here](https://dashboard.render.com/register). Then sign in and go to the Render Dashboard.
- Select `New` from the top right corner and choose `PostgreSQL` here.
![new db](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sopkurbbht05anelred2.png)



- Then you will find a window that will pop up with the following fields. Give it a `Name`, Other fields are optional. You can leave them blank. 
![input value](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/x20gnxn2r93y0uqbotvu.png)



- Scroll to the bottom and select *Instance Type* as `Free`

![Image subs type](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yvvlofs9oet6xe2fe0kn.png)



- Then click on the `Create Database` button below this section. It'll take a few seconds to create this database.
- Now open Azure Data Studio(ADS) and Install `PostgreSQL` extension.

![Image extension](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0lu60pvmfo1js2pkeawg.png)


- Create a new Connection on ADS, you will find a new *Connection type* `PostgreSQL` here.

![Image con type](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ez7ikzt1v9ktglu6l935.png)



- For *Server Name* go to your Render Dashboard and Copy this selected part between `@` and `/` and put it you ADS server name.

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


- Then select *Authentication type* `Password` in ADS.
- Copy *User name*, *Password*, and *Database name* from Render dashboard and put it into ADS. 

![Image uNp on render](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7c7p22t7iou2fbe7qgew.png)

![Image uNp on ads](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xxjzky7fitfkf6fttkkw.png)




- That is it, click on **Connect** it will connect your db in Azure Data Studio(ADS) and you can see your PostgreSQL database on the ADS connection list like below.

![Image ads final](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s6epf8yu11uayt9xmugh.png)



- You can now right-click on your DB and select *New Query* for writing a new postgresql database query.

You can find my [Video Tutorial on YouTube](https://www.youtube.com/watch?v=Al5GIAKpl1Y)
Ultimate Windows Dev Environment for 2024! 🪟🧑‍💻
Tags: programming, productivity, tooling, tutorial
Published: 2024-01-02 15:59:52

I was never a big fan of the command line experience on windows, but recently things have improved and I tried creating a command line based dev setup.

Sharing it here.

If you use windows I definitely recommend going through it.

{% embed https://youtu.be/Qt9dSfXjuxY?si=9c_YY9LU1VdD35zj %}

Here's the repo link if you want to set it up directly.

{% embed https://github.com/2KAbhishek/win2k %}
Currying in JS 🤯
Published: 2024-01-02 15:58:57

[Using Currying we can modify a function from f(a,b) to f(a)(b)](https://github.com/sarim2000/LogicLoreLibrary/blob/main/javascript/curry.js)

If above sounds interesting do give my explanation in above link a chance; and learn Currying!

:)
There Are No Final Decisions
Tags: codenewbie, softwaredevelopment
Published: 2024-01-02 15:57:02

| 🔴 **Disclaimer**: This post is enhanced with AI assistance.|
|--------------|

> No decision is cast in stone. Instead, consider each as being written in the sand at the beach, and plan for change. ~ Tip #18 from the book "The Pragmatic Programmer"

---

In bytes and silicon's shimmering shore,
A whisper of wisdom, forevermore.
"No final decisions," it chants, ever clear,
Like sandcastles built, on waves that draw near.

For choices, like footprints, on shifting sand,
May wash away, reshaped by a changing hand.
New requirements rise, like tides in the night,
Shifting the landscape, bathed in logic's light.

Embrace the unknown, let flexibility reign,
Design for adaptation, like sun and like rain.
Modular systems, like pebbles so small,
Reassemble and flow, at programmer's call.

Abstraction's veil, a shield against the tide,
Protecting the core, where logic can reside.
Interfaces stand firm, like seawalls so strong,
Guiding the changes, where functions belong.

Refactoring's tide, a sculptor's keen hand,
Reshapes the terrain, across the digital sand.
No fear of the unknown, no clinging to past,
Embrace the future, where progress rides fast.

Documentation maps, like charts for the lost,
Guide through the changes, at any cost.
Version control's anchor, a ship in the storm,
Preserves the journey, keeps logic in form.

So code with the future etched in your mind,
Knowing decisions, like shadows, unwind.
Plan for the waves, for the winds of change,
And build software resilient, forever in range.

Let your systems whisper, "I adapt, I evolve,"
A dance with the unknown, a story to solve.
And leave in your wake, a legacy grand,
Where flexibility whispers, across the digital sand.

So raise your keyboard, a banner held high,
Let change be your compass, as you code and fly.
For in the realm of code, where logic takes flight,
No final decisions, make software take flight.

---

|✍ **Powered by**: *Google Bard*|
|--------------|
Live Session: Azure Dashboards
Tags: azure
Published: 2024-01-02 15:49:01

 ![Live Session: Azure Dashboards](https://www.techielass.com/content/images/2023/12/maxresdefault.jpg)

Are you ready to dive into the world of [Azure Dashboards](https://www.techielass.com/deploy-an-azure-dashboard-using-terraform/)? Mark your calendars for a live session on my [YouTube channel](https://youtube.com/techielass?ref=techielass.com) where we'll unravel the mysteries of Azure Dashboards together. Whether you're a seasoned pro or just getting started with Microsoft Azure, this livestream promises to be an insightful journey.

### What to Expect

I'll guide you through the fundamentals of Azure Dashboards, demonstrating how to create, import, and export them seamlessly. No question is too big or small - feel free to ask anything during the live session as we explore the capabilities of Azure Dashboards.

The livestream will be taking place on the 13th December 2023, see below to check out when it will be happening during your time zone.

- Wednesday December 13 8:50am PST
- Wednesday December 13 10:20pm IST
- Wednesday December 13 5:50pm CET
- Wednesday December 13 4:50pm GMT

[Join me for this exciting livestream!](https://youtube.com/live/CE6aieJ1sJo?ref=techielass.com)

<iframe width="200" height="113" src="https://www.youtube.com/embed/CE6aieJ1sJo?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen title="Azure Dashboards"></iframe>
_Live Session: Azure Dashboards_
The Detail Trap: Why QA Engineers Need to Know When to Let Go.
Tags: testing, qa, productivity
Published: 2024-01-02 15:14:54

When properly executed, software testing ensures the release of a product that meets the user's needs in terms of functionalities and non-functional aspects. 

If your system is overly complicated, it might take what feels like an infinite number of test cases to cover all the possible test scenarios. This is a sign that you need to rethink your system's design.

While thoroughness is a laudable quality in QA engineers and software testers, being overly detailed in testing can have its downsides. Here are some potential drawbacks:

- Increased testing costs and resource wastage - Overtesting can divert time, effort, and other resources from critical tasks increasing the time needed to complete the test life cycle, incurring more costs, and potential release delays.

- Complications in communication - Extensive documentation and reporting of even the very minor details can overwhelm the developers and other stakeholders making it hard for them to identify the key findings from a test cycle.

- Reduced team efficiency - Overly focusing on the minute details might distract you from the core objectives which might lead to missing critical bugs and delayed completion of crucial tests.

- Reduced focus - While getting bogged down by the minor details you might lose sight of the bigger picture, missing system-level defects or user-experience flaws.

- Reduced team morale - Demanding excessive details might lead to the creation of a perfectionist culture, setting unrealistic expectations, in turn, leading to frustration.

**The bottom line**
While detail orientation is a crucial skill in software testing, overtesting must be tamed to strike a balance between thoroughness and efficiency.

Remember, quality assurance isn't about achieving absolute perfection but delivering a product that meets user needs effectively. 

Strive for an optimal balance between comprehensive testing and timely releases to drive value and innovation in software development.
Jazz Monthly Data Package
Tags: entertainmen, business, newsletter, packages
Published: 2024-01-02 15:05:14

We are providing all network [sim packages jazz](https://prochampionshub.com.pk/jazz-monthly-data-package-code/), Ufone, and Zong Telenor, which includes daily, weekly monthly. You can subscribe and connect with your family and friends.
[For More Offer...](https://prochampionshub.com.pk/)
Beginner's TypeScript #14
Tags: programming, beginners, typescript
Published: 2024-01-02 15:00:00

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

⭐ **Inheriting Interface Properties** ⭐

We have a **User**, **Post**, and **Comment** that all share an **id** property:

```ts
interface User {
  id: string;
  firstName: string;
  lastName: string;
}

interface Post {
  id: string;
  title: string;
  body: string;
}

interface Comment {
  id: string;
  comment: string;
}
```

We will figure out how to share the **id** property without writing the same line of code repeatedly.

🌟 **Solution: Extend Interfaces From Other Interfaces**

The first thing to do is create a new **Base** interface with the **id** property:

```ts
interface Base {
  id: string;
}
```

With that in place, we can use the **extends** keyword with each of the other interfaces and remove the **id**:

```ts
interface User extends Base {
  firstName: string;
  lastName: string;
}

interface Post extends Base {
  title: string;
  body: string;
}

interface Comment extends Base {
  comment: string;
}
```

Adding **extends Base** makes it so the types inherit the properties of the **Base** interface.

Note that if the **User**, **Post**, and **Comment** were defined using the **type** keyword, we would not be able to use **extends**:

```ts
// This will not work!
type Base {
  id: string;
}

// Syntax errors
type Comment extends Base {
  comment: string;
}
```

This is because **extends** is a property of **interface** that **type** does not have.

Interfaces can extend from other interfaces. This allows us to change things in just one place, which is really useful.

It is even possible to extend multiple interfaces.

For example, we can have **Post** extend from **Base** and **User**:

```ts
interface Post extends Base, User {
  title: string;
  body: string;
}
```

Then when creating a new **post** variable, we would have autocomplete on all of the properties required.

Interfaces can be composed together in a neater way than if we were just using types alone. This is particularly useful for situations where we have a complex data model that we want to express in TypeScript.

---

I hope you found it useful. Thanks for reading. 🙏

Let's get connected! You can find me on:
- **Medium:** https://medium.com/@nhannguyendevjs/
- **Dev**: https://dev.to/nhannguyendevjs/
- **Hashnode**: [https://nhannguyen.hashnode.dev](https://nhannguyen.hashnode.dev/)/
- **Linkedin:** https://www.linkedin.com/in/nhannguyendevjs/
- **X (formerly Twitter)**: https://twitter.com/nhannguyendevjs/
Work on Open Source projects to stand out in 2024
Tags: opensource, ai, node, javascript
Published: 2024-01-02 14:49:51

Happy new year everyone!

I thought of sharing something cool and fun with my fellow coders. A few years ago I created a speech-to-text bot for Discord,, initially designed to control my own music bot (at the time), but then people started using it to communicate better with their deaf gaming friends in real-time.

This is the project: https://github.com/inevolin/DiscordEarsBot (the music bot is in another repo which needs a big update). The STT methods include offline and online APIs, so you get to choose the quality/performance you want. But with the rise in AI and ML jobs, this can serve as a great framework to build projects to stand out in your interviews:

- Use this technology in another tool (Slack, Zoom, phone, browser, ...)
- Use this technology to build voice-based games (maybe for handicapped kids)
- Improve the STT results by adding another ML model to correct the text
- Create a fun bot that "talks back" or tells jokes based on the conversation

If you want to collaborate on a project, post in the comments below and match up with other people!
New servers in Germany and Poland
Tags: vpn, openvpn, softether, germany
Published: 2024-01-02 14:47:58

We have added new servers: DE5 (Dusseldorf, Germany) and PL3 (Warsaw, Poland). Download the new configs please.

**OpenVPN**
https://dash.deepwebvpn.net/en/download?goto=openvpn/single/SingleRSA_DE5.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/single/SingleECC_DE5.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/single/SingleRSA_PL3.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/single/SingleECC_PL3.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/double/DoubleRSA_DE5_PL3.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/double/DoubleECC_DE5_PL3.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/double/DoubleRSA_PL3_DE5.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/double/DoubleECC_PL3_DE5.ovpn

**SoftEther**
https://dash.deepwebvpn.net/en/download?goto=softether/single/SingleSSL_DE5.vpn
https://dash.deepwebvpn.net/en/download?goto=softether/single/SingleSSL_PL3.vpn
https://dash.deepwebvpn.net/en/download?goto=softether/double/DoubleSSL_DE5_PL3.vpn
https://dash.deepwebvpn.net/en/download?goto=softether/double/DoubleSSL_PL3_DE5.vpn

Source: https://en.blog.deepwebvpn.net/2023/11/09/de5_pl3
🎉Vue TSX Admin, New development direction of middle and back-end management system
Published: 2024-01-02 14:45:14

## What is the Vue TSX Admin?

### 简介
[Vue TSX Admin ](https://github.com/manyuemeiquqi/vue-tsx-admin)it is a free open source mid-end and back-end management system module version. The UI is referred to acro design pro + ant design pro. It uses the latest front-end technology stack and uses the Vue3 + TSX mode for development. It provides out-of-the-box mid-end and back-end solutions. It has built-in i18n internationalized solutions, configurable layout, theme color modification, permission verification, and refined typical business models, it can help you quickly build a middle-end and back-end project. 

The main development solutions are as follows: 

- CSS solution modules css + tailwind 
- network request axios 
- authentication scheme token + jwt 
- mockjs 
- pinia 
- ui component library arco desigin vue 
- tool Library lodash vue-use 
- internationalization switching solution vue-i18n 
- packaging Solution + static server vite
### Preview address 
[access address ](https://manyuemeiquqi.github.io/vue-tsx-admin/)
> logon username: admin 
> password: admin 
> logon username: user 
> password: user 

[code address ](https://github.com/manyuemeiquqi/vue-tsx-admin)
### installation and Use 

- project conditions 
   - Node. js 18 + 
   - pnpm 8.5.0 
- use
```javascript

git clone https://github.com/manyuemeiquqi/vue-tsx-admin.git


cd vue-tsx-admin


pnpm install


pnpm run dev
```
Browser access: [http://localhost: 5173/vue-tsx-admin/ ](http://localhost:5173/vue-tsx-admin/)OK

- Publish
```javascript
pnpm run build
```

- Others
```javascript
# husky 
pnpm run husky

# 
pnpm run format

#  lint + fix
pnpm run lint
pnpm run lint-style

```

### Browser support

- Chrome >=87
- Firefox >=78
- Safari >=14
- Edge >=88
- IE is not supported in Vue3.
### About the performance of Vue JSX
For more information, see [https://github.com/krausest/js-framework-benchmark/pull/1546#issuecomment-1872904990](https://github.com/krausest/js-framework-benchmark/pull/1546#issuecomment-1872904990)




Finally, if this project helps you, I hope you can help the author [star ](https://github.com/manyuemeiquqi/vue-tsx-admin?tab=readme-ov-file)  ⭐ Encourage 
if you find the project [bug ](https://github.com/manyuemeiquqi/vue-tsx-admin/issues), welcome to mention [PR ](https://github.com/manyuemeiquqi/vue-tsx-admin/pulls), thank you
#12in24: Trying 12 languages during 2024!
Tags: devresolutions2024, productivity, beginners
Published: 2024-01-02 14:45:08

**Happy New Year DEV family!** As a new year comes in, so do the new year resolutions. 

Mine, regarding coding, is to try new programming languages and get better in the ones I already know. Hence, I thought that posting about my impressions learning new languages could be fun!

I have made a simple **Python** script to randomly choose the 12 languages I will be trying. The list of the languages corresponds to the languages listed in [Exercism](https://exercism.org/) so it will be easy to practice them!

```python
import random

list_of_languages = ["8th", "ABAP", "AWK", "Ballerina", "Bash", "C", "C#", "C++", "CFML", "Clojure", "COBOL", "CoffeeScript", "Common Lisp", "Crystal", "D", "Dart", "Delphi Pascal", "Elixir", "Elm", "Emacs Lisp", "Erlang", "F#", "Fortran", "Gleam", "Go", "Groovy", "Haskell", "Java", "JavaScript", "jq", "Julia", "Kotlin", "LFE", "Lua", "MIPS Assembly", "Nim", "Objective-C", "OCaml", "Perl", "Pharo", "PHP", "PL/SQL", "PowerShell", "Prolog", "PureScript", "Python", "R", "Racket", "ReasonML", "Red", "Ruby", "Rust", "Scala", "Scheme", "Standard ML", "Swift", "Tcl", "TypeScript", "Unison", "V", "Vim script", "Visual Basic", "Web Assembly", "Wren", "x86-64 Assembly", "Zig"]
count = 1

while count <= 12:
    language = random.choice(list_of_languages)
    print(str(count) + ". " + language)
    list_of_languages.remove(language)
    count += 1
```

And, after running the script... 

```
1. Perl
2. COBOL
3. Nim
4. Go
5. 8th
6. Kotlin
7. Ruby
8. R
9. Lua
10. Elm
11. Crystal
12. jq
```

Boom! Not a bad batch at all! I see some interesting languages here. 

To be honest, there are languages I never heard of. So it will be a nice adventure.

See you in the next post regarding basic **Perl** and my impressions about it!
How to Add Extra class in WordPress Menu
Tags: wordpress, beginners
Published: 2024-01-02 14:41:48

Sometimes we need to highlight a menu item in our WordPress website and it is quite difficult to do such a task. But it is as simple as adding a menu item to a WordPress menu.

WordPress already provides a lot of customization but we are unaware of that. In this tutorial, I will teach you not only to add CSS class but also to add other attributes to a menu item.

There is a secret option that allows you to add CSS classes to the menu. To find it we have to move Admin > Appearance >Menus Here on top-right you can see Screen Options. It’s the secret button. When you click it, you find 2 sections.
Read full tutorial [Here](https://darshansaroya.com/how-to-add-extra-class-in-wordpress-menu/).
Safeguarding Our Digital World: The Crucial Importance of Cybersecurity
Published: 2024-01-02 14:33:15

In our interconnected and technology-driven world, the significance of cybersecurity cannot be overstated. As we increasingly rely on digital platforms for communication, business, finance, healthcare, and more, the need to protect our sensitive information from cyber threats becomes paramount.

**1. Protecting Personal Privacy: Cybersecurity safeguards our personal and sensitive information from falling into the wrong hands. With the prevalence of online transactions and digital identities, the protection of private data, such as financial records, medical history, and personal communications, is critical to maintaining individual privacy.

**2. Preserving Business Integrity: For businesses, cybersecurity is not just a defensive measure but a strategic imperative. A breach in cybersecurity can have severe consequences, ranging from financial losses and reputational damage to legal implications. Safeguarding customer data and intellectual property is fundamental to preserving the integrity and trustworthiness of any organization.

**3. Ensuring National Security: In an era where nation-states and malicious actors operate in cyberspace, cybersecurity is a linchpin of national security. Critical infrastructure, military systems, and government institutions must be fortified against cyber threats to ensure the smooth functioning of a nation and to prevent potential disruptions that could have far-reaching consequences.

**4. Mitigating Economic Impact: Cyberattacks can result in significant economic losses for individuals, businesses, and even entire economies. The costs associated with recovering from a cyber incident, coupled with the potential loss of revenue and productivity during an attack, underscore the economic impact of cybersecurity breaches.

**5. Upholding Digital Trust: Trust is the foundation of our digital interactions. Cybersecurity plays a pivotal role in upholding this trust by assuring users that their online activities are secure. Trust is not only essential for individual users but is also critical for the growth and sustainability of the digital ecosystem as a whole.

**6. Staying Ahead of Evolving Threats: Cyber threats are dynamic and ever-evolving. Cybersecurity measures are not a one-time solution but an ongoing process that requires continuous adaptation to emerging threats. Staying ahead of cyber adversaries involves investing in research, technology, and a vigilant cybersecurity workforce.

In conclusion, cybersecurity is not merely a technical concern; it is a collective responsibility. Individuals, businesses, governments, and the global community must work collaboratively to fortify our digital defenses. By understanding the importance of cybersecurity, we contribute to creating a safer, more resilient digital environment for current and future generations.
I built ChatWithCloud - Talk with your AWS Cloud from Terminal, literally
Published: 2024-01-02 14:24:00

---
title: I built ChatWithCloud - Talk with your AWS Cloud from Terminal, literally
published: true
description: 
tags: 
cover_image: https://chatwithcloud.ai/og-image.png
published_at: 2024-01-02 14:24 +0000
---

Hi Developers 👋 

Lets face it, the world of AWS with +200 services, thousands of SDK/CLI calls, IAM permissions & cryptic error messages can be really hard. It's an incredibly powerful tool but sometimes just too overwhelming. 

Seeing an explosion of "Chat with your PDF" apps, I realised that similar solution for AWS could be really helpful.

🚀 That's how [ChatWithCloud](https://chatwithcloud.ai) was born.

{% embed https://twitter.com/rafalwilinski/status/1742183912141472192 %}.

Example use cases of ChatWithCloud include:
- Cost Analysis - Find out how much you are spending on AWS and what you can do to optimize your costs.
- Security Analysis - Find your resources, analyze your IAM policies, improve your security posture.
- Troubleshooting - Understand your infrastructure & its issues, find out what is wrong and how to fix it.
- Fixing stuff - ChatWithCloud can help you fix your infrastructure, and it will do it for you.

ChatWithCloud is available through NPM: `npx chatwithcloud`. You can learn more about it [on our homepage](https://chatwithcloud.ai). 

Let me know what do you think!