teleren/devto huggingface dataset:
First Post!
Tags: beginners
Published: 2023-04-16 20:36:44

I recently joined a coding bootcamp with the UCF! We have just completed our first week and the imposter syndrome has been hitting hard. I had quite a run with the ssh key and getting connected with GitLab. Week one is dedicated to getting adjusted to the course curriculum and becoming familiar with HTML. Luckily, I have had some experience with HTML via a free online basics class that was initiated by COVID restrictions & the days of MySpace of course. Tutoring is probably going to save my life until I can get caught up with the coursework and feel comfortable having conversations with classmates. I still have a lot of work to catch up on. Words of encouragement are welcome. Cheers to a new week ahead!
39 berufliches Vorwärtskommen: Der uneigentliche Weg – … verliefen sich im Wald.
Tags: deutsch, career, motivation, 1min
Published: 2023-04-16 20:08:42

Moin Moin,

selbstverständlich kann ich nicht übers Verlaufen auf dem Karriere-Weg sprechen, ohne auf diesen Klassiker (1) aufmerksam zu machen. Ein erwähnenswerter Punkt aus dem Märchen ist, dass Hänsel und Gretel sich nicht ihretwegen verlaufen haben, sondern ihrer Eltern wegen.

Eine interessante Parallele ist, dass das eigene Umfeld – Eltern und andere – einen starken Einfluss auf das eigene Wohlergehen haben können. Um so wichtiger ist es, dass man seine [emotionale Intelligenz→](https://dev.to/amustafa16421/comment/25k2n) steigert, so dass man mit seinen Nächsten gut zurecht kommt.

Zum Schluss sei noch drauf aufmerksam gemacht worden, dass Hänsel und Gretel anfangs aus dem tiefsten Wald wieder zurück nach Hause fanden. Hänsel markierte den Weg durch weiße Kieselsteine, die er zuvor sammelte.

1. Falls du dich verlaufen hast, wohin führen deine Kieselsteine dich zurück?
2. Wohin meinst du, dass die Kieselsteine deiner Bekannten sie zurückführen?
3. Oder hast du Brotkrümel statt Kieselsteine verwendet und findest den neuen Ort eigentlich ganz gut?

Beste Grüße,
Mustafa

Austausch mittels E-Mail: mustafa.kevin.dwenger@posteo.de
Betreff: Austausch

(1) [Zusammenfassung – Hänsel und Gretel↗](https://inhaltsangaben24.com/haensel-gretel-kurze-inhaltsangabe-zusammenfassung-tz45/)
Programming Update: March 2023
Tags: programming, python, adventofcode, dns
Published: 2023-04-17 23:23:19

---
title: Programming Update: March 2023
published: true
date: 2023-04-16 20:08:17 UTC
tags: programming,python,AdventofCode,DNS
canonical_url: https://www.ericsbinaryworld.com/2023/04/16/programming-update-march-2023/
---

In March I continued to work on my programming projects as well as a little more Advent of Code.  
  
Things started off with me finishing up my dreamhostapi and Dreamhost\_DNS\_Go projects in Golang. I got the API working under all the conditions that I need and I worked on both the output of the program and the logging. It now functions quite well for me to keep my dynamic DNS URLs up to date. My next step is something I’m going to do in a few of my cron scripts – have a separate JSON log that could be interpreted so that I could either have a daily email to let me know that the scripts all ran correctly or so that I can load them into Prometheus/Grafana to see on a dashboard how all my scripts are doing.  
  
As I was doing my Let’s Plays to raise money for Extra Life, I noticed some quality of life updates I wanted to make for the output. I added a new output to contain the latest milestone reached, stopped message-containing output from saying “None” if there wasn’t a message, and I added a space in the output when no donations have been made so that it would appear prettier if being scrolled.  
  
Finally, for Advent of Code, I decided that I would try and do all years at once so that I could get all the stars for the easy days. This led to me attempting some of the easier days in Go and Ruby.
I'd like to create my 2nd game
Tags: gamedev
Published: 2023-04-16 19:58:50

Hi there, folks!

I have an idea for my new game - a 2D platformer. 
I'd like to get a couple advice from you:

1. Where can I create my dev log about the game to start forming an audience and collecting feedback?
2. Is it legal to use images generated by AI like Stale Diffusion in my game?
3. Is it a good idea to push the demo/prototype to sites like itch.io and try to collect feedback and then push the full version of the game to Steam?

Thank you in advance!
Comienza una nueva vida...
Published: 2023-04-16 19:55:37

Bienvenid@s tod@s a mi nuevo blog en el que os contaré como di el paso para entrar en el sector de IT.

Mi nombre es Manuel y tengo 28 años, me apasiona la tecnología y los videojuegos desde muy pequeño estuve trasteando con ordenadores y tras 4 años como encargado de una cafetería en mi ciudad Sevilla, decidí dar el paso a formarme como web developer por mi propia cuenta mediante algunos tutoriales en Youtube y otros cursos de udemy conseguí desarrollar mi primera web solo con html y css ya que hasta ese momento fue lo único que aprendí, compaginando el trabajo en la cafetería con los cursos reflexione sobre si debía dejar mi actual trabajo y poner toda mi atención en seguir aprendiendo como desarrollador web. 
Tras una inspiradora charla con un amigo de toda la vida que estudió en la escuela IronHack en 2019 y actualmente es desarrollador Fullstack, finalmente decidí dejar el trabajo y apuntarme a la misma escuela en la que el estudio.

Mientras llegaba la fecha para comenzar el Bootcamp empecé por mi cuenta a aprender el lenguaje de programación Javascript y a aplicarlo a algún proyecto con el que estaba trabajando(dejo el link al repositorio debajo del post), en el próximo post os explicare como fue la primera semana del bootcamp y algún proyecto interesante que realizamos.

Mención especial a las dos personas sin las que quizá no podría haber llegado a dar el paso para iniciarme en esto,
Adrián Porcel y Pablo Chiquero

Link a mi primer proyecto con JS: https://github.com/manup94/BandoleroShop

Gracias por leerlo y hasta la próxima


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/28nyix41atiwphd07zvf.jpeg)
"How to Log Steps in Solidity Contract with Proxy for Asteroids Game"
Published: 2023-04-16 19:53:07

To log steps in fca00c:Asteroids with a proxy contract, you can use the logging functionality available in Solidity. Here are the steps to do so:

First, add the following line at the beginning of your contract:
arduino

```
import "hardhat/console.sol";
```
This will import the console functionality from the Hardhat development environment.

Next, you can use the console.log() function to log steps in your contract. For example, you can add the following line after a player moves their ship:
perl

```
console.log("Player moved ship to x=%s, y=%s", x, y);
```
This will log the message "Player moved ship to x=<x-coordinate>, y=<y-coordinate>" to the console, with the actual x and y values inserted into the message.

You can also use the console.log function to log variables and other data. For example, you can log the current score after a player destroys an asteroid:
arduino

```
console.log("Player score is now %s", score);
```
This will log the message "Player score is now <score>" to the console, with the actual score value inserted into the message.

By logging these steps and variables, you can easily track the behavior of your contract and debug any issues that may arise.
Should classified information be made public to try to win internet arguments?
Tags: discuss, security, nationalsecurity, ethics
Published: 2023-04-16 19:50:35

In recent years, there have been several highly classified leaks on the internet that have shaken the global community. 

One of the most recent leaks occurred in 2023, when Jack Teixerira released over 50 classified US government documents that revealed information about US Military Briefings on the war in Ukraine. The leak has been widely regarded as one of the worst breaches of US national security this century and has undermined trust between nations, ultimately benefiting [Russia](https://mickryan.substack.com/p/those-leaked-pentagon-documents/comments).

Similarly, in 2021, a War Thunder player who identified as Challenger 2 Commander leaked classified tank specs, raising questions about the accuracy of the design of the Challenger 2 tank in the combat game. Following these disclosures, secret information about the specifications of a NATO battle tank and Chinese armor-penetrating tank round used by the Chinese People's Liberation Army was also [posted online](https://ukdefencejournal.org.uk/classified-specs-leaked-on-war-thunder-forum-for-third-time/).

Both of these leaks have been highly controversial and there is often a fine line between exposing wrongdoing and putting national security at risk.

While the debates about the ethics and implications of these leaks will continue, it's important to remember that simply proving a point or being "right" on the internet should not come at the cost of endangering lives or undermining national security. 

It's essential to approach these issues with caution and carefully consider the potential consequences of exposing classified information before making any decisions.
Week 14
Published: 2023-04-16 19:44:16

## What did you do?
* Within this week I decided how I was going to tackle this issue. At first i started out with trying to recreate the card and that did not go so smoothly. So I just pasted the SVG in all its glory into the html. From there i found all the fills that were used in order to change the color of the card and i changed them into certain variables to go into the constructor. That way they could be found.

## What do you need advisement on?
* Some advisement I need on this project is within all the svg how to change the name into variables. I think I may know how to do that, which would be the same way i did the others but with how much nonsense is in that one piece I may need some guidance on that. Also for loading from a json file im assuming that is just rendering it multiple times like we did with the api? Not sure though. Also when it says your demo must have an example badge for each of the members of your team what does that mean?

#Link To repo
* https://github.com/hblaxton/remixer-3
console.log("Hello World!");
Tags: introductions, career, frontend, learning
Published: 2023-04-16 19:32:14

Hey, internet stranger! My name's Mai. I've been lurking on dev.to for a while, yet kept putting writing my own posts off. Even though the whole reason for me signing up was to "learn in public", it felt intimidating. - that ends now.

Bit about myself. I've been coding my whole life, got internships as a Junior Android Developer in high school, decided to definitely pursue writing code as a career, proceeded to move to the UK to study computer science. While I excelled academically, I ended up having to drop out of my course, however, I was far from giving up.

Over the last few months, I've been studying web development (MERN stack, more heavily focusing on the R part) full-time on my own and building several side projects in attempts to get employed. 139 rejections and counting so far - seems near impossible, but I'm not giving up. I can only do this full-time as long as I can financially afford to, though. If I don't get a job coding until the end of June, the next place my CV is going is the McDonald's around the corner to keep myself afloat, and keeping coding in my free time.

I am planning to talk about my journey learning not only how to write web apps, but also the other aspects in getting employed - why I completely rewrote my CV 3 times, the various sites I am using to look for positions, and, as soon as I'm able to start actually doing it, about finding ways to network in-person and put yourself out there.

Looking forward to my time here!
Visualizations in Apache-Age
Tags: apacheage, visualizations, design
Published: 2023-04-16 19:28:47

Apache Age is an open-source graph database that supports the Cypher query language. It allows users to store and query graph data using Cypher queries. One of the advantages of Apache Age is its ability to provide visualization of graph data. In this article, we will discuss the visualizations available in Apache Age.

Apache Age allows users to customize the visualization of their data. The first customization is the form in which the data is presented, either in a table or a graph. Users can pass the data to Apache Age using Cypher queries, and then use the graph or table visualization to view the data.

For example, let's say we have the following data:


```
` #These queries to make a label of Person and then adding properties to it.
CREATE (n:Person {name : "imran", bornIn : "Pakistan"})
CREATE (n:Person {name : "ali", bornIn : "Pakistan"})
CREATE (n:Person {name : "usama", bornIn : "Pakistan"})
CREATE (n:Person {name : "akabr", bornIn : "Pakistan"})
CREATE (n:Person {name : "james", bornIn : "US"})
CREATE (n:Person {name : "david", bornIn : "US"})

# These queries to make a label of COuntry and adding name property to it.
CREATE (n:Country{name : "Pakistan"})
CREATE (n:Country{name : "US"})

#Relationship between these two vertexes
MATCH (a:Person), (b:Country) WHERE a.bornIn = b.name CREATE (a)-[r:BORNIN]->(b) RETURN r
`
```

We can then visualize this data in a graph form as shown below:

**Apache Age Graph Visualization:**

![Apache Age Graph Form](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dei78tqkgcjztm9ta3fo.png)



We can also visualize the same data in a table form as shown below:

**Apache Age Table Visualization:**

![Apache Age Table Form](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rp7k6k1j3wpv37ddw3qp.png)


**Color Customization:**
Apache Age also allows users to customize the colors of nodes and edges by clicking on them. Users can also change the size and type of caption written on the nodes or edges.

![Color visualizations](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jvedmezp32vpheh44cis.png)



We can add extra information by changing the query. For example, in the graph visualization shown above, we changed the edge connection label to gid.

![Graph Connection](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4c2zoygt6as3inxftq4x.png)


**Layout:**
Additionally, Apache Age provides layout options such as Klay, Euler and Cose Bikent etc that allow users to change the graph view.


![Layout Option](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pw16sbrk6csla1cdxjzo.png)



**Conclusion:**
In conclusion, Apache Age provides users with customizable visualization options for their graph data. Users can choose to view their data in either a graph or table form and can customize the colors, size, and type of caption written on the nodes and edges. Apache Age's layout options provide users with additional options to view their data in various ways.
Boost Your Productivity with These Visual Studio Code Shortcuts
Tags: vscode, beginners, productivity, programming
Published: 2023-04-16 19:25:52

Visual Studio Code (VS Code) is one of the most popular code editors used by developers today. It's highly customizable, lightweight, and supports a wide range of programming languages. However, learning to use it effectively can be overwhelming at first. That's where shortcuts come in handy. With shortcuts, you can perform tasks faster and more efficiently, ultimately boosting your productivity. In this post, we'll look at some of the most useful shortcuts in VS Code.

Here is my latest video on VScode shortcuts :

{% youtube m8b9mVLyM7E %}

Basic Navigation Shortcuts
To navigate around your code in VS Code, use the following shortcuts:
Ctrl + G: Go to line
Ctrl + P: Quick open
Ctrl + Shift + E: Show Explorer
Ctrl + Shift + F: Search across files

Editing Shortcuts
Editing is one of the most important tasks in programming, and VS Code has a variety of shortcuts to make it easier:
Ctrl + C: Copy
Ctrl + X: Cut
Ctrl + V: Paste
Ctrl + Z: Undo
Ctrl + Shift + Z: Redo
Ctrl + D: Select word
Ctrl + Shift + L: Select all occurrences of the current selection

Code Formatting Shortcuts
Code formatting is crucial for maintaining consistency and readability, and VS Code has several shortcuts for this task:
Shift + Alt + F: Format document
Ctrl + K, Ctrl + F: Format selection
Ctrl + Shift + I: Reindent selected lines

Terminal Shortcuts
VS Code has an integrated terminal, and the following shortcuts can help you navigate it more efficiently:
Ctrl + ~ : Show/hide integrated terminal
Ctrl + Shift + ~ : Create a new terminal instance
Ctrl + C: Stop the currently running command
These are just a few of the shortcuts available in VS Code. Learning these shortcuts can save you a significant amount of time and improve your coding efficiency. Furthermore, you can customize these shortcuts and create your own shortcuts based on your coding needs. To view all the shortcuts available in VS Code, press Ctrl + K and then Ctrl + S.

In conclusion, if you're looking to boost your productivity as a developer, learning to use shortcuts in VS Code is a great place to start. Whether you're navigating your code, editing, formatting, or working with the terminal, shortcuts can help you work faster and more efficiently. So start practicing these shortcuts today and see the difference they can make!
GitHub Slash Commands!
Tags: github, opensource, productivity
Published: 2023-04-16 19:02:00

Wait, what? Slash commands are available on GitHub?

I recorded a two minutes video to showcase how it works:

{% youtube r3z4sotrQXQ %}

---

Just open up a text editor, it can be a new issue, a new pull request or even a comment and type `/` to see all the available commands.

A list will appear, and you can start typing to filter them. The currently available commands are:

- `/code`: Inserts a Markdown code block. You choose the language.
- `/details`: Inserts a collapsible detail area. You choose the title and content.
- `/saved-replies`: Inserts a saved reply. You choose from the saved replies for your user account. If you add %cursor% to your saved reply, the slash command will place the cursor in that location.
- `/table`: Inserts a Markdown table. You choose the number of columns and rows.
- `/template`: Shows all of the templates in the repository. You choose the template to insert. This slash command will work for issue templates and a pull request template.

There's also a `/tasklist` command which inserts a tasklist and only works in an issue description, however this one is not available for everyone yet.

Learn more on the official docs: https://docs.github.com/en/issues/tracking-your-work-with-issues/about-slash-commands

---

Thanks for reading this article, this was a short one but I hope you found it interesting!

I recently launched my Discord server to talk about Open Source and Web Development, feel free to join: https://discord.gg/bqwyEa6We6

Do you like my content? You might consider subscribing to my YouTube channel! It means a lot to me ❤️
You can find it here:
[![YouTube](https://img.shields.io/badge/YouTube:%20Dev%20Leonardo-FF0000?style=for-the-badge&logo=youtube&logoColor=white)](https://www.youtube.com/channel/UC-KqnO3ez7vF-kyIQ_22rdA?sub_confirmation=1)

Feel free to follow me to get notified when new articles are out ;)
{% embed https://dev.to/balastrong %}
Apache AGE Intro
Tags: apacheage, database, postgres, agedb
Published: 2023-04-16 19:00:11

Apache AGE is a **PostgreSQL extension** that provides _**graph database functionality**_. AGE is inspired by Bitnine’s fork of PostgreSQL 10, AgensGraph, which is a **multi-model** database. The goal of the project is <u>to create single storage</u> that can _**handle both relational and graph model**_ data so that users can use standard ANSI SQL along with openCypher, the Graph query language.

## `✔️ Graphs:`
A graph consists of a set of **vertices/nodes and edges**, which shows a map of properties. A node is independent block in the graph. An edge creates a **directed connection** between two vertices.

**`Create a Graph`**
To create a graph, use below function from **ag_catalog** namespace:

```
create_graph(graph_name); #Returns: void
Example:
SELECT * FROM ag_catalog.create_graph('graph_name');
```

**`Cypher Query Format`**
Cypher queries are-

```
cypher(graph_name, query_string, parameters) 
    #Return A SET OF records 
    #parameters is optional & by default NULL
Example:
SELECT * FROM cypher('graph_name', $$/* Cypher Query Here */ $$) 
AS (result1 agtype, result2 agtype);
```
**`Delete a Graph`**
To delete a graph, use the below function, form **ag_catalog** namespace:
```
drop_graph(graph_name, cascade); #Returns: void
Example:
SELECT * FROM ag_catalog.drop_graph('graph_name', true);
```



## `✔️ References:`

1. https://age.apache.org/ 
2. https://github.com/apache/age
3. https://www.interdb.jp/pg/index.html
4. https://joefagan.github.io/age_docs/
How to install and implement GSAP in VUE JS
Tags: webdev, javascript, vue, gsap
Published: 2023-04-16 18:53:58

GSAP (GreenSock Animation Platform) is a powerful JavaScript animation library that you can use in Vue.js to create engaging animations for your web projects. 

Here's a step-by-step guide on how to use and implement GSAP in Vue, explained in simple terms for a developer:



- **Step 1: Install GSAP**

Just like installing a new app on your computer or a game on your gaming console, you need to install GSAP in your Vue project. You can do this by running a command in your project's terminal or command prompt like this: **npm install gsap** or **yarn add gsap**. This tells your project that you want to use GSAP.

`npm install gsap`
`yarn add gsap`



- **Step 2: Import GSAP**

After you've installed GSAP, you need to tell Vue that you want to use it in your project. You can do this by adding an import statement at the top of your Vue component file, like this: **import { gsap } from 'gsap'**. This is like opening a box that contains GSAP and getting it ready to use.

`import { gsap } from 'gsap'`



- **Step 3: Use GSAP in Vue**

Now that you've imported GSAP, you can use it in your Vue component! You can create animations by chaining GSAP methods together to define what you want to animate, how you want it to animate, and when you want the animation to happen. For example, you can animate an element to move, rotate, or change color using GSAP!

Here's a simple example to get you started:


```
<template>
  <div ref="myElement">Hello, I'm animated!</div>
</template>

<script>
import { gsap } from 'gsap';

export default {
  mounted() {
    // Use GSAP to animate the element with a 1-second duration and slide it to the right
    gsap.to(this.$refs.myElement, { duration: 1, x: 100 });
  },
};
</script>


```

In this example, we're using GSAP to animate an element **(referenced by this.$refs.myElement)** with a 1-second duration and slide it to the right by 100 pixels (x: 100).

And that's it! You've learned the basic steps to use and implement GSAP in Vue. Just like playing with a toy, you can experiment with different GSAP methods and values to create various animations in your Vue projects. Have fun exploring and creating animations with GSAP in Vue!

Happy animating!
OOP and FP
Tags: coding, programming, oop, mrcrystal
Published: 2023-04-16 18:45:57


OOP helps developers understanding complex system by modeling into real-world objects with properties and methods. By applying OOP developers can improve the reusability of code and easier to manage and understand the system.

FP on the other hand, helps developers manage and control the access of data in which reduce the side-effect of having stateful objects like OOP.

It is depend on the project requirement and individual code-style that OOP or FP should be the choice on the project.