teleren/devto huggingface dataset:
NodeJS - Foal framework - version 2.5 is here
Tags: typescript, node, javascript
Published: 2021-06-28 11:43:52

---
title: NodeJS - Foal framework - version 2.5 is here
published: true
description: Here the new improvements that Foal version 2.5 brings.
tags: typescript, nodejs, javascript
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wjfo3x5v1kmpmop9lc8u.png
---

Version 2.5 of Foal has been released! Here are the improvements that it brings.

## `npm run develop` watches config files

In previous versions of Foal, the `develop` command did not restart the server when a configuration file was changed. This was annoying and is the reason why, starting with v2.5, new projects generated by the CLI will watch configuration files.

## `createOpenApiDocument` accepts an optional serviceManager

If you use `createOpenApiDocument`, in a shell script for example, the function accepts an optional `serviceManager` parameter from this version.

This can be useful if your OpenAPI decorators access controller properties whose values are manually injected.
Testing file input expecting specific output in java
Published: 2021-06-28 11:37:51

---
title: Testing file input expecting specific output in java
published: true
description: I show you how I test parsing functions in java using file testing; this is where I could add more files for each test case that I want to run. Testing this way makes your workflow quick and easy. Just add a file and then start to solve issues.
tags:
cover_image: https://i.ytimg.com/vi/V7n-f2zXi90/maxresdefault.jpg
---

{% youtube V7n-f2zXi90 %}

I show you how I test parsing functions in java using file testing; this is where I could add more files for each test case that I want to run. Testing this way makes your workflow quick and easy. Just add a file and then start to solve issues.
4 things you should do to get started with programming
Tags: beginners, motivation, programming, productivity
Published: 2021-06-28 11:37:32

Lots of people want to be a developer but don’t know quite where to start. And fair enough, getting started is arguably the most difficult part of becoming a developer. Luckily, learning to code doesn’t have to be hard. You’re about to learn everything you need to know to start your development journey.

But first, you need to be prepared to keep trying. Things don’t work straight away, you aren’t going to be writing any really complex programs for quite a while. It takes a lot of time and commitment to become a programmer, but if you’re willing to dedicate that then everything else will follow in due time.

You can read the full article for free here: https://www.saluki.tech/2021/06/26/4-things-you-should-do-to-get-started-with-programming/
Looking for Ruby devs in Amsterdam
Tags: ruby, rails, javascript
Published: 2021-06-28 11:35:08

Hi all, 

First time posting around here so apologies about any mistakes I might make.

My name is Matt and I work at YoungCapital helping the tech department scale. I'm looking for Ruby on Rails developers to join the Dev Team at our HQ in Hoofdorp (Amsterdam).


🎯 For context, this is our challenge:
At YoungCapital we help young people get jobs. You might not know it but we are very tech oriented and we have a lot of websites, portals, apps, databases, machine learning algorithms - we even have our own e-learning platform we call 'University' (catchy right?). The problem is that all these products are built in a very monolithic way and we find it too time consuming to try new ideas or change things around. So to re-define the way we work we want to create a central core structure so we can adopt a more dynamic and creative approach - and move to a micro-services structure.

I genuinely think this is a cooler company than it might seem at first glance, especially for a developer. It's also a very exciting opportunity to shake a 500 million euros company from the ground up. Plus, the team is super friendly, international and feels a bit like a big family. 🥳 

If you would like to know more, feel free to email me at m.sabbatini@youngcapital.nl
Share code snippets is now improved
Tags: programming, showdev, webdev, productivity
Published: 2021-06-28 11:30:45

Hi,

I am back with a new update in GoOnlineTools.

[Share code snippets](https://goonlinetools.com/snapshot/share/) tool launched in christmas and now this tool is improved a lot.

* Now you can **delete or edit** code snippets after sharing.
* Added 7 new code language 

## Edit shared code

If you find any mistake on your code snippets then you can instantly fix it.

1. Log in with the same account which account you used while creating code snippets.
2. Open shared code snippets page (example - https://goonlinetools.com/snapshot/code/#uzcfey2xr8b9g1a8zsx23o)
3. If you see banner "Preview and editing mode (Only visible to you)" on the top then you can edit code.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/alytftaaplmlylx8ak7j.jpg)
4. After editing scroll down little bit and then click on Update code button.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5ygqycmtc7llkm1tozj3.jpg)

That's it. If you shared this code snippets with anyone then your shared code snippets update everywhere instantly.

## Delete shared code

If you want to completely remove code snippets then you can instantly delete.

1. Log in with the same account which account you used while creating code snippets.
2. Open shared code snippets page (example - https://goonlinetools.com/snapshot/code/#uzcfey2xr8b9g1a8zsx23o)
3. If you see banner "Preview and editing mode (Only visible to you)" on the top then you can delete code.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/alytftaaplmlylx8ak7j.jpg)
4. Click on the delete button you will see a popup then click on the delete button.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p7r6b2upeiex26ikkm6r.jpg)

If you delete your code using this method then you can't revert back. If you shared the link with anyone then they no longer see your shared code.

**Now you have full control on your shared code**

I hope you guys like this features :)

Let me know if you have any suggestion
App Secret-Messages With React-Native
Published: 2021-06-28 10:42:41

## App Functionality

This is an app built in React Native.

**Here is how UI looks like**:
![IMG_20210625_191135.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1624630535615/tE7HOE-D4.jpeg)

### Typing a message with the key

![Screenshot_20210628-153211.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1624876473556/NLMcY4AwI.jpeg)

### Encrypting

![Screenshot_20210628-153219.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1624876604097/dzvdNLah4.jpeg)

### Copied that encrypted message

![Screenshot_20210628-153221.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1624876630146/gv4dEjSaB.jpeg)

### Decrypting the message with that key when we were encrypting the message

![Screenshot_20210628-153230.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1624876662702/ih1ENhauv.jpeg)

Users can type a message with the key and encrypt that. Now, The encryption of that text user can also decrypt that text by inputting that key.

[Video of My App](https://twitter.com/i/status/1406188201010728961)

Here is the source code: https://github.com/maazshakeel/Secret-Messages-App-With-React-Native
ReCoil
Tags: coil, monetisation, micropayments, crypto
Published: 2021-06-29 10:59:35

---
title: ReCoil
published: true
date: 2021-06-28 10:41:22 UTC
tags: coil,monetisation,micropayments,crypto
canonical_url: https://adactio.com/journal/18248
---

On [the Coil developers site](https://developers.coil.com/) there’s a page proudly answering the question [who is web monetized?](https://developers.coil.com/community/who-is-web-monetized)

You’ll some familiar sites in there: CSS Tricks, A List Apart, and even this humble website, adactio.com.

But lest you think that this social proof is in any way an endorsement, I should probably clarify what my experience with [Coil](https://coil.com/) has been like.

Coil itself is grand. You get an identifier and you add it to your website in a `meta` element, much like you would do with indie web endpoints for webmentions or micropub.

The problem is with how you then actually get hold of any money that is owed to you from micropayments. Coil doesn’t handle this directly. You have to set up a “wallet” with a third-party service and therein lies the problem.

They are all terrible.

I’m not talking about the hoops you have to jump through to set up an account. I get it. This is scary financial stuff so of course I’ll need to scan my passport and hand over loads of information (more than is needed to open an _actual_ bank account with, say, Monzo).

No, the problem is the stench of crypto.

I tried [Stronghold](https://stronghold.co/) for a while. They really, really don’t want you to use boring old-fashioned currencies like the euro or the pound. There’s also [Gatehub](https://gatehub.net/). Same. And there’s [Uphold](https://uphold.com/). Also a shell game.

I’ve been using Coil and Uphold for a while now, and I’ve amassed a grand total of £6.06 — woo-hoo! So I log into my account and attempt to transfer that sweet, sweet monetisation and …I can’t.

> The amount needs to be greater than or equal to £11.53 GBP

But I can still exchange that £6.06 for magic beans like Bitcoin, XRP, and Ether.

The whole thing smells of grift and it feels icky to be in any way associated with it. I understand why Coil needs to partner with existing payment providers, but it would be nice if just one of them weren’t [propping up ponzi schemes](https://davidgerard.co.uk/blockchain/2021/06/27/bitcoin-myths-immutability-decentralisation-and-the-cult-of-21-million/). If anyone has found a way to get web monetisation to work without needing like you need to take a shower afterwards, I’d love to hear about it.
[Node.js] Introducing Aniquotes
Tags: javascript, node, showdev, npm
Published: 2021-06-28 10:38:16

Introducing Aniquotes! The one and only anime quote grabber. 
Aniquotes can collect and slice quotes out the mix, from characters and your favourites, `Attack on Titan` and `Tokyo ghoul`!
You can use npm to install my module!
Before you keep reading please star my repo bellow :)
{% github https://github.com/Yuma-Tsushima07/aniquotes %}

## Getting Starting 

Firstly, you will need node.js to install and implement this package into your projects.

Then use npm to install my module..

```
npm install aniquotes-npm
```
or ...

```
npm i aniquotes-npm
```

## How to use Aniquotes?

You may ask to yourself, I have installed the module but how to use this? 
You may add it into your discord bot. 

### Example

```js
const { MessageEmbed } = require('discord.js');
const { randomQuote } = require('aniquotes-npm')
const { searchAnime } = require('node-kitsu'); // credits to the person who made node-kitsu!!
module.exports = {
  name: "aniquote",
run: async ( client, message) => {

    const { quote, anime, id, name } = randomQuote();

    const res = await searchAnime(anime,0).catch(()=>{}) || [];

    const image = res?.[0]?.attributes?.coverImage?.original || null;

    return message.channel.send(
      new MessageEmbed()
      .setColor(`#b60c0c`)
      .addField(`Quoted from ${anime}*`,`${quote}\n\n-${name}`)
      .setImage(image)
      .setTimestamp()
      .setFooter('Made by Yuma-Tsushima07 with ❤️')
    );
  }
};
```
> This is freshly from my Discord bot by the way ;)

You may use it like this also if you wanted to add it with your other projects.

```js
const aniquote = require('aniquotes-npm')
 
// Shows a random anime quote
console.log(aniquote.randomQuote())
 
// You can also fetch quotes by their id
console.log(aniquote.getQuote(7))
 
// Fetching quotes from an anime! Nice!!
console.log(aniquote.getQuotesByAnime('Tokyo Ghoul'))
 
// Who said you couldn't fetch quotes from a character!
console.log(aniquote.getQuotesByCharacter('Sakura Kinomoto'))
```

For further examples check out my repo! Please drop a comment and star bellow!

{% github https://github.com/Yuma-Tsushima07/aniquotes %}

Thanks for reading. Please give me some credit bellow <3

## Credits 
{% github https://github.com/Yuma-Tsushima07/Yuma-Tsushima07 %}

### Follow me!
* Github: https://github.com/Yuma-Tsushima07
* Medium: https://0xv37r1x3r.medium.com/
* SoundCloud: https://soundcloud.com/0c7av3h4ck5

### Discord Servers!!
**Bounty Hunters**: An amazing bug hunting community full of developers and exploiters!!!
* Link: https://discord.gg/J5PsgKqdWq

**CyberArtByte**: My server full of bling and joy!!
* Link: https://discord.com/invite/mNAWykv67W

### New Soundcloud Track!!

{% soundcloud https://soundcloud.com/0c7av3h4ck5/hack-with-your-heart-0c7av3h4ck5 %}

Author: Yuma-Tsushima
Kotlin monthly wrap up - June 2021
Tags: android, kotlin, bestofdev, top7
Published: 2021-06-28 10:32:21

Hi, I'm Jean-Michel, a Kotlin fan like you! At the end of each month, I'll be showcasing some great posts, projects and insights from the Kotlin community, right here on DEV.to.

{% tag kotlin %}

Among the popular articles of the months, here are those I've read and can recommend:

---

[Sebastian Aigner](https://dev.to/sebastianaigner) comes back with another exploration of the Kotlin stdlib, this time about advanced collection operations. I thought I knew the stdlib pretty well but I learned new things, so I can highly recommend the article to every Kotlin developer.

{% post https://dev.to/kotlin/advanced-kotlin-collection-functionality-5e90 %}

---

In a Kotlin Multiplatform Mobile project, how do you improve interoperability with from one side your coroutines written in Kotlin, and on the other side your Swift code using RxSwift? [Russel Wolf](https://dev.to/russhwolf)  from TouchLab has answers and a GitHub repo [SwiftCoroutines](https://github.com/touchlab/SwiftCoroutines)

{% post https://dev.to/touchlab/working-with-kotlin-coroutines-and-rxswift-24fa %}

{% post https://dev.to/touchlab/kotlin-coroutines-and-swift-revisited-j5h %}

---

If you are interested in server-side GraphQL, my article made it to the most popular articles of the month. 

It shows that with  Spring Boot + Kotlin + Coroutines + GraphQL-java-kickstart, you can build a GraphQL Gateway with a minimum of boilerplate.

{% post https://dev.to/jmfayard/how-to-build-a-graphql-gateway-with-spring-boot-and-kotlin-h30 %}

---

If you enjoy a deep dive into technical topics, you will enjoy this post from [Andrei Shikov](https://dev.to/shikasd) explaining how the Kotlin compiler works under the hood, how it produces IR-code and binaries on different platforms, and how you can leverage that to build a compiler plugin.

{% post https://dev.to/shikasd/kotlin-compiler-plugins-and-binaries-on-multiplatform-139e %}

---

In another deeply technical article, [Zach Klippenstein](https://dev.to/zachklipp) continues his series on Jetpack Compose. Here he shows how Jetpack Compose's snapshot system allows managing mutable state and writing code that is reactive by default. He explains the`derivedStateOf()` function, _an essential tool to have in your tool to ensure that data flows efficiently through your programs while keeping them reactive_.

{% post https://dev.to/zachklipp/plumbing-data-with-derived-state-in-compose-53ka %}

---

That's all for this month!

Remember to follow the Kotlin tag

{% tag kotlin %}

If you want to contact me, there is a standing invitation at https://jmfayard.dev/contact/.
The making of Home made Candles using Candle making Kit
Published: 2021-06-28 10:31:55

A candle is a process to give light to dark places. It is not only for places. It can also give light to many people’s life. Because the processing charge is less for this small business. The Candles are made of wax. It will have some different types also. By using Candle making kit we can create a new impressive candle also.
 
Types of Wax Candles
Paraffin Wax
Soy Wax
Bees Wax
 
Some of the materials can be used to make the candle. They are
Candle wick
Glue
Containers
Candle Scents
Melting Points
Masking Tape / Pencil
Procedure to making a homemade candle
Take a wax and insert into the glass or kit.
Add water in another glass and heat it in the low flame.
When the water is boiled place the wax above the water.
Blend it until it contain liquid consistency.
Prepare the container with wick.
Add glue on both the sides.
Now add candle scent into it.
Pour the melted wax and wait till the wax get dry.
Why I Switched to vi/vim
Tags: vim, linux
Published: 2021-06-28 10:19:08

The text editor I use daily is called vim (vi improved). It’s not a program for everybody, but it suits my needs well.

[Vim](https://en.wikipedia.org/wiki/Vim_(text_editor)) is one of the most powerful text editor that exists. It's a program that you can configure to make it do anything. It has a steep learning curve, and can take months or years to master. 

Vim can be used without the mouse, everything using key presses. My first experience with vi was really bad (I forgot everything about it) but once I got used to it and learned a couple of commands and a few ex commands I fell in love with vi.

You could wonder, *when writing code why use a mouse at all?*

Once you know the vim commands it's very easy to use. It's a great bonus that it can be used in the terminal, because it lets you quickly edit your system files or edit files remotely using ssh.

I was a fairly experienced computer user. I started using a computer around age 12 or so, taught myself basic programming when I was about 13, and eventually became rather adept at various aspects of the art of computing.

![vim comic](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1kh7ornef31ufzvnwwz2.png)

I found myself needing to do a lot of system administration, and in the past I would have used nano, but I decided to try vim. I’d heard good things about it in the past but had never really tried it, so I was curious.

Here are some reasons I switched to vi/vim : 

1) It is extremely fast 
2) It is extremely efficient 
3) It was already everywhere (this turns out to be very important).

Vim is probably installed on your computer, if you open a terminal you can type 

```bash
$ vim
```

And to exit press `ZQ`. If in the rare situation it's not installed, it is available in your package manager. However, even on a commercial OS like Mac OS X vim is available by default.

If you are new to vim, you can [practice here](https://vim.is/)
🪙 Weak Monorepos
Tags: architecture, monorepo, git, webdev
Published: 2021-06-28 09:57:45

I'm 🪙 coining the term weak monorepo for a solution to specific problem.

Imagine a consultancy where everyone needs the same generic tooling. Each person might work on different projects and some people might not be security clear to see every project 👀 due to top secret NDA's.

You then have the dilemma of packing every project with the same tooling over and over, keeping them all up to date.
Or having a separate bunch of tooling which points to a project or projects, not ideal.

## How do you solve this?
The solution is pretty simple, create a monorepo as normal but then git ignore the `packages` / `projects` folder whatever you call it. Then instead if monorepo packages in one repo, keep the project as repositories of thier own cloning as needed into the `packages` / `projects` folder.
I believe this is the best of both worlds.

Just make sure your CWD is in the package your working in when using GIT other that that it's business as usual.

Oh but also you can individually branch your packages like a sane system of organisation.

This solution is something I am trailing at work and we will see how everyone likes it.
Кто такой и что делает бизнес-аналитик?
Published: 2021-06-28 09:55:48

**Речь пойдет о бизнес-аналитиках в IT.**

Существует много мнений насчет того, кто это такой - бизнес-аналитик. Не во всех IT компаниях есть бизнес-аналитики. Некоторые компании берут в аналитики кого-то из старых сотрудников, например, QA, и не всегда понимают, чего ожидать. Также, на разных проектах, бизнес-аналитики могут заниматься различными активностями. Ещё, активности могут зависеть от взрослости команды и профессиональности менеджера.

**Давайте разберемся, кто же это, БА :)**

Официальное определение из BABOK 3.0:
Бизнес-аналитик - это любое лицо, которое выполняет задачи бизнес-анализа, описанные в руководстве BABOK, независимо от своей должности или организационной роли. Бизнес-аналитик отвечает за обнаружение, обобщение и анализ информации из разных источников в рамках компании, в том числе: инструментов, процессов, документации, а также заинтересованных лиц.

Звучит достаточно сухо - задач бизнес-анализа достаточно много. Ниже я распишу те задачи, с которыми БА сталкиваются достаточно часто.

**Обязанности бизнес-аналитика:**

* выявление и анализ бизнес-потребностей заказчика;
* предложения решений проблем/способов удовлетворить потребности бизнеса и коммуникация по утверждению лучшего;
* анализ, написание и управление требованиями;
* общение со стейкхолдерами (заинтересованными лицами);
* взаимодейтвие с командой разработки и UI/UX дизайнерами.

**Сколько зарабатывают бизнес-аналитики?**
[продолжить чтение на сайте](https://www.thebagirl.com/kto-takie-biznes-analitiki-i-kak-stat-ba/)
Preventing Burnouts, The Condensed Version
Tags: productivity, programming, burnout, advice
Published: 2021-06-28 09:54:48

**Ladies and Gentlemen this is how you defeat burnouts**

1. Don't overspend your energy(mental, emotional, physical). Energy coming in should be more than energy going out.
2. Accept your limits.
3. Manage your tasks and time faithfully.
4. Find balance, don't overdo things.
Getting to know API's
Tags: beginners, python, tutorial, functional
Published: 2021-06-28 09:53:46

**Getting to know API**

1. API stands for application programming interface
2. An interface, that allows different systems to talk to each other without having to understand exactly what each other does


**Type of API's**

1. APIs can come in many forms or shapes
2. APIs, used for actions like turning on your camera and audio for joining a Zoom call
3. Or they can be web APIs, used for web-focused actions such as liking images on your Instagram or fetching the latest tweets.

**How Api's are operated(in simple terms)**

You usually make a request for information or data, and the API returns a response with what you requested.
.
.
.
.
For python code and for more easy explanation,you can refer to that in this following website.

**https://www.onlinereader.me/2021/06/what-are-apis-what-is-their-history-how.html**
Create a Toast Component in a Blazor Server Application
Tags: blazor, webdev, toast, notification
Published: 2021-06-28 09:41:42

Learn how easily you can create and configure the Syncfusion [Blazor Toast](https://www.syncfusion.com/blazor-components/blazor-toast "Blazor Toast") component.

This video first explains how to create a Blazor application and add the [Syncfusion Blazor package](https://www.syncfusion.com/blazor-components "Syncfusion Blazor package"). Then, it shows you how to add the Syncfusion Blazor Toast component to a Blazor server application, position the toast, timeout, and render the toast content using an HTML template.

**Product overview**: https://www.syncfusion.com/blazor-components/blazor-toast

**Examples**: https://blazor.syncfusion.com/demos/toast/default-functionalities

**Documentation**: https://blazor.syncfusion.com/documentation/toast/getting-started

**Download free trial**: https://www.syncfusion.com/blazor-components

**NuGet package**: https://bit.ly/2V08Znu 

{% youtube tMa7JvcfNcY %}
https://www.youtube.com/watch?v=tMa7JvcfNcY