teleren/devto huggingface dataset:
Shell: How to manipulate dashed file
Tags: shell, beginners
Published: 2024-01-03 04:57:57

## What I want to achieve
- manipulate a dashed file in the shell
- it can't be done the way it is because it's interpreted as an option command

## Solution
Specify the file path like `./-`.

In the case of creating a file named `-`, the command would be;
```
$ touch ./-
```

As for opening a file, the command would be;
```
$ cat ./-
```

## References
- [How to create, open, find, remove dashed -file_name in Linux | by Quantum Backdoor | Medium](https://medium.com/@.Qubit/how-to-create-open-find-remove-dashed-filename-in-linux-27ee297d1740)
SSH: Connect to a server with a port number and a username
Tags: ssh, shell, beginners
Published: 2024-01-03 04:41:23

Every time I try to SSH I forget how to do it.

That's why I decided to take notes with this post.

## What I want to achieve
- connect a server on a certain port using SSH.
- username and password are given.

## Ask man
Just run the command in the terminal.

```
$ man ssh
```
The output is here;

```sh
NAME
     ssh – OpenSSH remote login client

SYNOPSIS
     ssh [-46AaCfGgKkMNnqsTtVvXxYy] [-B bind_interface] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-E log_file] [-e escape_char]
         [-F configfile] [-I pkcs11] [-i identity_file] [-J destination] [-L address] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option]
         [-P tag] [-p port] [-Q query_option] [-R address] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] destination
         [command [argument ...]]
```

This is not enough to specify the username.

To log in with a particular username the command would be this;

```
$ ssh username@hostname
```

There it is!

## Connect a server using SSH
Input the following command in the terminal.

```
$ ssh -p port username@hostname
```

The connection would be established after entering the password as the prompt asks.

## References
- [The basics of SSH usage | ZDNET](https://www.zdnet.com/article/the-basics-of-ssh-usage/)
Can you bypass every security? 🤔💻🔓
Tags: hackathon, hacktoberfest, hacktoberfest23, automation
Published: 2024-01-03 04:54:58

I've been thinking recently and came to the conclusion that there isn't any security measure that can't be bypassed in one way or another, whether it's a better or worse method. Even if something is very difficult, over time it just becomes easier, or it just takes a bit of time. 🤔🔐💭
JavaScript var, let & const
Tags: beginners, javascript, programming, learning
Published: 2024-01-03 04:44:07

## JavaScript Variables
In programming we use variables for store data. Basically variables are like containers which we can store something init. 

```
let name = "John";
```
`name` is a variable which storing John as it's value



## Declare Variables in JavaScript
We can declare variables with `var` or `let` keywords. For example,

```
var a;
let b;
```
In here `a` and `b` are variables.


## `var` Vs `let`
Both `var` and `let` are use to declare variables. However there are some differences.

####1. Scope:

- `var` is only available within the function where it is declared. which means `var` is "function-scoped". if declare outside any function, it becomes a global variable.

- `let` is limited to the block where it declared. which means `let` is "block-scoped".

####2. Hoisting:

- Variables declared with `var` are hoisted to the top of their scope during the compilation phase. This means you can use the variable before it is declared in the code.

- Variables declared with `let` are also hoisted, but they are not initialized until the interpreter reaches the line where the variable is declared. Accessing a let variable before its declaration results in a `ReferenceError`.

####3. Re-declaration:

- With `var` you can re-declare a variable within the same scope without any errors. The new declarations overrides the previous one.

- With `let` when you re-declared a variable in the same scope, it will gives you `SyntaxEror`.

However, it is recommended we use `let` instead of `var` because `var` is used in the older versions of JavaScript and `let` is the new way of declaring variables starting **ES6 (ES2015)**.

## Initialize Variables

we can use the assignment operator `=` to assign a value to a variable

```
let a;
a = 5; 
```
now variable `a` has the value of **5**.

We can also initialize variables during its declaration. For example,

```
let a = 5;
let b = 6;
```
We can also declare variables in a single statement.

```
let a = 5, b = 6, c = 7;
```
##JavaScript `const` 

The `const` keyword was also introduce in the **ES6(ES2015)** version to create constants. For example,

```
const a = 6;
```
Once a constant initialized, we cannot change its value.

```
const a = 6;
// a = 8; // Error: Assignment to constant variable (reassigning is not allowed)

console.log(a); // Output: 6
```
Basically constant is a type of variable whose values cannot be change.
Also we cannot declare constant without initializing it.

In summary, understanding the nuances of `var`, `let`, and `const` allows developers to use the right tool for the job, developing cleaner and more maintainable JavaScript code.
Data Visualization D3.js
Tags: webdev, react, devops, javascript
Published: 2024-01-03 04:39:51

Data is all around us, but it doesn't mean much without shape or context.

In the Data Visualization Certification, you'll build charts, graphs, and maps to present different types of data with the D3.js library.

You'll also learn about JSON (JavaScript Object Notation), and how to work with data online using an API (Application Programming Interface).

Data Visualization with D3
D3, or D3.js, stands for Data Driven Documents. It's a JavaScript library for creating dynamic and interactive data visualizations in the browser.

D3 is built to work with common web standards – namely HTML, CSS, and Scalable Vector Graphics (SVG).

D3 supports many different kinds of input data formats. Then, using its powerful built-in methods, you can transform those data into different charts, graphs, and maps.

In the Data Visualization with D3 courses, you'll learn how to work with data to create different charts, graphs, hover elements, and other ingredients to create dynamic and attractive data visualizations.
Why is eCommerce website development a lucrative venture for many investors?
Tags: softwaredevelopment, aws, nextjs, blockchain
Published: 2024-01-03 03:53:04

The surge in online shopping has made [eCommerce website development](https://www.aegona.com/software-development/aegona-top-e-commerce-website-development-company-vietnam-cost-effective) a lucrative venture for many investors. Crafting a successful online store demands meticulous attention to various critical aspects. This includes not only offering sought-after products but also ensuring an accessible and seamless interface for shoppers.
From the platform choice to post-development strategies, here are key inquiries every aspiring online store owner should consider:
**Selecting the Right [eCommerce Website Builders](https://aegona.com/technology/5-best-ecommerce-website-builders-online-store-2024)**: Choosing between platforms like Magento, Shopify, WooCommerce, or native technologies such as PHP, Java, or .NET depends on manageability, scalability, and the need for professional developers.
**Initial Requirements for Launch:** Before building the site, secure a fitting domain name, establish branding elements (like logo and theme colors), curate the product inventory, and define target audiences for tailored marketing.
**Hosting Requirements:** Opt for reliable hosting services that can handle multimedia and other resource-intensive content to ensure constant accessibility.
**Efficient Store Navigation:** Streamline navigation for visitors through intuitive menus and well-defined product categorization.
**Loading Speed Optimization:** Prioritize optimizing website speed using development practices like code minification and media element optimization.
**Post-Development Services:** Invest in ongoing maintenance by professionals to ensure site accessibility and quick issue resolution. Consider partnering with a digital marketing agency for promotion.
**Mobile Application Consideration:** Assess the need for a dedicated mobile app based on frequent purchase items, target audience habits, and desire for customer engagement through notifications and offers.
**For reliable** [**eCommerce website development**](https://www.aegona.com/software-development/aegona-top-e-commerce-website-development-company-vietnam-cost-effective) services, SDLC Infotech stands out as a top choice due to its comprehensive offerings:
**End-to-End Solutions:** SDLC Infotech manages everything from storefront design to technical aspects, growth strategies, and maintenance, minimizing your involvement.
**Industry Expertise:** Their profound understanding spans various sectors like retail, healthcare, fashion, and travel, ensuring tailored solutions.
**Support and Marketing:** The company provides dedicated maintenance, support, and specialized digital marketing services tailored to e-commerce stores.
**>>Read more:** [Aegona - E-commerce website development company in Vietnam ](https://www.aegona.com/software-development/aegona-top-e-commerce-website-development-company-vietnam-cost-effective)
mua theme
Tags: webdev, javascript, beginners, programming
Published: 2024-01-03 03:38:25

Pro Shopify Theme là gì?
[mua theme](https://www.wsovn.net/pro-shopify-theme) là
một chủ đề sạch và đẹp được tạo ra để tối đa hóa tỷ lệ chuyển đổi
Chủ đề Pro Shopify, được xây dựng từ đầu để làm cho toàn bộ trang web của bạn chuyển đổi nhiều khách truy cập thành người đăng ký, khách hàng và khách hàng !?
Tính năng chính của sản phẩm:
FE -Pro Shopify Theme Unlimited – $450
Mua ngay tại: [https://www.wsovn.net/pro-shopify-theme](https://www.wsovn.net/pro-shopify-theme)
[JS] Look Back on Hoisting
Tags: javascript, webdev, programming, node
Published: 2024-01-03 03:17:14

In JavaScript, understanding hoisting is crucial for any developer. Hoisting can be a tricky concept at first, but once you grasp it, you will have a solid foundation for writing efficient and error-free code. I will explore how it works, and provide examples to help you master this essential JavaScript concept.

## What is Hoisting?
Hoisting is a JavaScript behavior where variable and function declarations are moved to the top of their containing scope during the compilation phase. This allows you to use variables and functions before they are declared in your code.

## Variables Hoisting

Let us see an example:

```javascript
console.log(a); // Output: undefined
var a = 5;
console.log(a); // Output: 5
```

In this example, the variable `a` is hoisted to the top of the scope during the compilation phase, resulting in the first `console.log(a)` printing undefined. However, the second `console.log(a)` prints 5 because the variable has been assigned the value by that point in the code.

## Function Hoisting
Function declarations are also hoisted. Consider the following example:

```javascript
sayHello(); // Output: Hello!

function sayHello() {
  console.log("Hello!");
}
```

In this case, the `sayHello` function is hoisted to the top of the scope, allowing us to call it before its actual declaration.

## Variable Hoisting vs. Function Hoisting

It is important to note that while both variable and function declarations are hoisted, there are differences in how they are handled during hoisting. Function declarations are completely hoisted, including both the function name and its implementation. On the other hand, variable declarations are hoisted, but only the variable name is moved to the top, not the assignment.

```javascript
console.log(myVariable); // Output: undefined
var myVariable = "I am hoisted!";

hoistedFunction(); // Output: "I am hoisted!"
function hoistedFunction() {
  console.log("I am hoisted!");
}
```

## Good ideas
To avoid confusion and potential bugs related to hoisting, it is a good practice to declare variables at the top of their scope and define functions before using them.

That is about it. Happy coding!
Task-4
Published: 2024-01-03 02:50:33

1) Smoke Test is to perform whether the critical functionality of the application is working fine or not.
 It is done Software developer or tester.
 It is called as subset of Acceptance testing.
 It is done on every build release.
 It is test the over all functionality of the application.
 It is used to check the Stability of the application.

Sanity Test is used to perform Particular functionality of the application is working fine or not.
It is done by tester.
It is called as subset of Regression testing.
It is done on every bug or defect fix.
It test the particular functionality which the bug is raised or defect is found.
It is used to check the Rationality of the application

2) Agile It is a SDLC Model.
It is a iterative and Incremental Methodology.
We can use Agile when the requirement is not stable and it can implemented in large projects.
So that we can able split in small unit/module that is know as sprint.
It is like a framework It have some protocol to follow Agile.
For implementing Agile we have some tools like Scrum, kanban, Extreme programming(XP).
In scrum We have Epics and user stories.
IN Scrum we have Scrum team, Product owner, Scrum Master.
Scrum master will conduct Scrum meeting, In that Scrum meeting we have
Sprint Grooming.
Sprint planning.
Daily Scrum.
Sprint review.
Sprint Retrospective.
Sprint backlog-> that the List work assigned in the Sprint should be done with in that sprint.

3)
In project each every requirement that need to be tested is a User stories for example--> login page, User name, Password, log in button,etc.. this caled user story.

 where as Epics Are the collection of all user stories.
for Example --> Login, Search item, Buying Item, Payment, conformation of order, tracking order, etc... This is called as Epics
Crushing it: My New Year's Resolutions for 2024
Tags: devresolutions2024, community, opensource, career
Published: 2024-01-03 02:50:31

### Time for A New Beginning 
Through the time I've been documenting my tech journey, I've learned this golden rule: speak your goals, make them a reality. So, here's my 2024 game plan!

### **Professional Goals:**

1. **Goal:** To gain a fully remote full time or part-time IT HelpDesk role 
2. **Action Steps:** 
- **Take an course or training program on IT Support**: As someone who is still fairly new to tech, taking a course on this subject would help me gain the knowledge needed to succeed in this role. 
- **Hands-on Implementation**: I'm a firm believer in that you gain experience through action, so I plan on finding open source projects or remote apprenticeship programs where I can put these skills into practice. Any suggestions? 
3. **Timeline:** Complete the course mid-2023 and pass the Comptia+ exam soon after. 


### **Goal for DEV Community:**

1. **Contribution Goal:** To foster more knowledge to the Dev.to community 
2. **Collaboration Plans:** 

- Do more documentation-related and code contributions to [Forem's repository](https://github.com/forem/forem)
- Publish more articles on Dev.to and [Hashnode](https://chrissycodes.hashnode.dev/).
- Offer more comprehensive feedback to people's articles as a Dev.to moderator. 
3. **Measuring Impact:** 
- Keeping an eye on responses to my posts and feedback.
- Chatting with moderators about the value of my open-source contributions.

## Until Next Time!
And that folks are my 2024 resolutions!  Stay tuned for the journey ahead! 🚀✨
Building Your First Streamlit Application: A Beginner's Guide
Tags: python, streamlit, application, beginners
Published: 2024-01-03 00:59:44

Streamlit has been gaining popularity among data scientists and developers for its simplicity and effectiveness in turning data scripts into shareable web apps. In this post, we'll walk through the creation of a basic Streamlit application that demonstrates its core functionalities.

##What is Streamlit?

Streamlit is an open-source Python library that makes it easy to create and share beautiful, custom web apps for machine learning and data science. In just a few minutes you can build and deploy powerful data apps - so let's get started.

##Setting Up Your Environment

First, you need to install Streamlit. It's as simple as running this command in your Python environment:
```
pip install streamlit
```

## Creating a Simple Streamlit App

Let’s create a basic app that takes user input and displays it. Open your favorite IDE or text editor, create a new Python file (app.py), and let's start coding.

### Step 1: Import Streamlit

```
import streamlit as st
```

### Step 2: Add Title and User Input

Streamlit makes it extremely easy to add elements to your app. Let's add a title and a text input field:

```
st.title('My First Streamlit App')

user_input = st.text_input("Enter some text")
st.write('The user entered:', user_input)
```

### Step 3: Run Your App

Save your app.py and run it using the following command in your terminal:

```
streamlit run app.py
```

Your default web browser will open with your new Streamlit app. Try entering text in the input box, and you'll see the app respond in real-time.

## Expanding Your App

Streamlit offers a wide range of options to make your app interactive. You can add sliders, buttons, charts, and even display data frames. Here's how you can add a slider and use it to filter data in a dataframe:

```
import pandas as pd
import numpy as np

# Create a sample dataframe
df = pd.DataFrame(np.random.randn(10, 2), columns=['A', 'B'])

# Add a slider
slider_val = st.slider('Select a range', 0, 10)

# Filter the dataframe
filtered_df = df[df['A'] > slider_val]

# Display the dataframe
st.write(filtered_df)
```

## Conclusion

Streamlit is a powerful tool for quickly turning data scripts into interactive web apps. This post covered the basics, but there's so much more you can do with Streamlit. Dive into the [Streamlit documentation](https://docs.streamlit.io/) to explore further, and don't forget to share your creations with the community!
Day 2 | Xhopie - Starting up
Published: 2024-01-03 00:40:53

> #### Context
> This is a blog series where I document my progress on Xhopie, a self project I'm starting to learn about general concepts regarding software development by implementing an e-commerce application with different tools and technologies to learn how to do important and common things in different languages.
> Here's the main repo link: https://github.com/the-halfbloodprince/xhopie-main

### Work Overview

So here is a brief overview of the work

### on `xhopie-server-node`

#### Environment Variables

- added env file support (used dotenv, considered also using the native `--env-file` flag of NodeJS, but fell back on dotenv to make it work asap with nodemon and ts-node)
  - currently just added `PORT`, `HOST` and `EXAMPLE_VARIABLE` to the list
  - `EXAMPLE_VARIABLE` is just a variable used to be available to confirm the proper loading of env variables. This can be done in other more robust ways probably, or just by checking any other variable, so it is safe to be removed in a future commit.
  - added all of them in an `.env.example` file as well.
- added env file type declaration support
  - added a `ENV_Variables` interface in the config folder for declarations of the variables
  - added a overwrite of `ProcessEnv` interface which declares the interface of `process.env`
  - used inheritance to automatically extend from the `ENV_Variables` interface.
- defined a separate `APP_CONFIG` variable in `config` folder to hold important app wide accessible variables in one place
  - added the env variables present at the moment to `APP_CONFIG`
  - also throwing an error if there was any error in loading env variables.
    - TODO: This should be properly handled later instead of blatantly just throwing an error
    - also this makes the purpose of `EXAMPLE_HANDLING` obsolete, so it's been removed

#### Refactoring The Project's Folder Structure

- added the `src` folder.
  - made corresponding updates in the `package.json` as well as `tsconfig.json`

It was a short day, mostly just configuring stuff up, recalling the good architectural/folder patterns etc, and just brushing up some of my old concepts and memories.

Hope you hadn't given up on your new year resolutions yet. Keep the work up.

See you on the next day.
Add Photo to Text Online: Create Stunning Videos with Simplified Video Editor
Published: 2024-01-03 00:27:37

[Simplified Video Editor](https://simplified.com/video-editor/add-photo-to-text) allows you to add photos to text online, transforming your videos into stunning visual creations. Whether you're a content creator, marketer, or social media enthusiast, our user-friendly platform empowers you to add a personal touch to your videos effortlessly. Elevate your video editing skills with Simplified and make an impact with photo-text integration.
Se hai trovato un vestito che ti piace e ti veste abbastanza grande
Published: 2024-01-03 00:18:05


Se hai trovato un vestito che ti piace e ti veste abbastanza grande, assicurati vestiti eleganti corti, ove possibile, di acquistare solo due taglie più grandi della tua altezza o delle tue misure per essere fattibile. Un vestito di qualche taglia troppo grande per te creerà più lavoro con modifiche e il risultato potrebbe essere un aspetto poco lusinghiero. Può essere molto difficile modificare l'abito in modo che assomigli al design o alla silhouette dell'abito originale a causa di importanti lavori di alterazione.
[http://www.gillne.it](http://www.gillne.it)
​
Cosa succede se posticipo il mio matrimonio?
Se sei una sposa che ha deciso di posticipare la data del proprio matrimonio, potresti avere molte domande su cosa accadrà al tuo vestito.

La boutique da sposa può consegnare il tuo abito da sposa in un secondo momento?

E se non ti piacesse il tuo abito da sposa quando stabilisci la nuova data del matrimonio?


E se cambiassi idea sul tuo vestito?

Ogni boutique da sposa ha le proprie politiche su cosa farà con il tuo vestito una volta che sarà pronto per il ritiro presso il proprio negozio.

Alcuni sono molto felici di tenere il tuo vestito ancora per qualche mese fino al tuo nuovo appuntamento. Alcuni potrebbero addebitarti una commissione di custodia e deposito per aver conservato il tuo vestito oltre la data di ritiro. Alcuni negozi potrebbero richiederti di ritirare il tuo abito in base alla data di consegna concordata.

Hai ancora domande o hai bisogno di aiuto?
Prima di sentirti troppo sopraffatto nel tentativo di risolvere la situazione e sentirti completamente bloccato, contattaci e lascia che ti spieghiamo qual è il tuo caso individuale e come possiamo aiutarti.