teleren/devto huggingface dataset:
Updated Entity Developer 6.7 Simplifies Development Processes Automation With New Console App and Improved .NET Core Support
Tags: dotnet, dotnetcore, softwaredevelopment, entityframework
Published: 2020-04-06 12:43:30

---
title: Updated Entity Developer 6.7 Simplifies Development Processes Automation With New Console App and Improved .NET Core Support
published: true
description: Devart introduced the new version of its visual ORM designer. The latest update of Entity Developer features a console application and improved support for .NET Core development and third-party providers.
tags: Dotnet, Dotnet Core, Software Development, Entity Framework
---
*Devart introduced the new version of its visual ORM designer. The latest update of Entity Developer features a console application and improved support for .NET Core development and third-party providers.*

Devart, a recognized vendor of database management software and data connectivity solutions, announced the release of [Entity Developer 6.7](https://www.devart.com/entitydeveloper/) – a visual ORM designer for a wide variety of .NET ORMs. The new version comes with a console application added for convenient development process automation and improves support for .NET Core development and third-party providers.

The new console application, called ed.exe, allows users to perform essential actions via the command line, thus automating the development process. In particular, the console version of Entity Developer can:

- Generate model from database;
- Validate model;
- Re-generate code from model;
- Generate create database from model script;
- Generate update database from model script.

Also, the new version of Entity Developer now supports adding NHibernate models to Visual Studio projects, targeting .NET Core or .NET Standard. However, this requires NHibernate 5.1 or higher.

The support of third-party providers is improved as well. When a third-party provider is added via NuGet, Entity Developer no longer requires it to be registered in the config file as before. The standalone version Entity Developer can now work with third-party providers from the NuGet package cache.

To learn more about the recent release, please visit https://blog.devart.com/entity-developer-6-7-with-console-app-net-core-support-improvements-and-more.html

**About Devart**

Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration and backup solutions. The company also implements Web and Mobile development projects.
For additional information about Devart, visit https://www.devart.com/
Rinse, Repeat, Refactor
Tags: codenewbie, womenintech, javascript, devjournal
Published: 2020-04-06 12:33:06

Happy Monday! Yesterday, I sort of broke my 'no work on the weekends' rule and worked a bit on my JS course. Mostly just went over a coding challenge a couple of times to really cement in the information. It was great and I got a lot more practice with writing good, effective code.

One thing I do when I'm repeating a challenge or a project more than once is to make sure I really stop and think about the solution to something - especially when I'm stuck, but I know I've found a similar answer before.

It's extremely helpful to get yourself a working solution *before* checking the solution so that you can put the puzzle pieces in your head before glancing at something that will immediately remind you of the correct answer without the work of those neurons firing in your brain to retain the learning.

I'll put in a little example here. For the coding challenge, we had to generate a couple of reports about the three parks and four streets in a tiny town using classes and functions to display the reports to the console.

For one part of the challenge, we needed to log a statement to the console if any of the parks had over 1000 trees (the number of trees was included as a parameter in the Park class as numTrees). Here was my first attempt in thinking it through by myself:

  <pre><code>const checkNumTrees = () => {
    for (const element of parks) {
      if (element.numTrees > 1000) {
        console.log(`${element.name} has more than 1000 trees with ${element.numTrees} trees in total.`);
      }
    }
  };              </code></pre>

So, the above function gets the job done, albeit not very beautifully. Going through it the next time, here's how it could be simplified:
  
  <pre><code>parks.forEach(element => {
    if (element.numTrees > 1000) {
      console.log(`${element.name} has more than 1000 trees with ${element.numTrees} trees in total.`);
    }
  });                      </code></pre>

So now it's been simplified by using the calling the forEach method on the parks array while still using the if statement within the function. Better, but here's where it could be improved even further:

  <pre><code>const index = p.map(el => el.numTrees).findIndex(el => el >= 1000);

  console.log(`${p[index].name} has over 1000 trees with a total of ${p[index].numTrees} trees.`);</code></pre>
  

I'd say that overall, this last refactor gets the job done very cleverly, but for me, the clearest way of writing it would be the second way. I see it, and I immediately know what the function does and what results it should return; whereas, with this last refactor, it would definitely take me a minute to figure it all out.

I wonder if that'll change as I get more and more experience (probably). Although I've often heard that it's better to write clear, easy code than it is to write overly clever code.

_This post was originally published on April 6, 2020 on [my blog](https://alexlsalt.github.io/blog)._
Azure sessions: The Live Coders Conference on April 9th.
Tags: azure, dotnet, programming, conference
Published: 2020-04-06 12:00:29

---
title: Azure sessions: The Live Coders Conference on April 9th.  
published: true
description: 
tags: azure, dotnet, programming, conference
---

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/og1ozi2bt4k0kwkeolkg.png)

Hey all, 

With conferences everywhere being canceled or postponed, [The Live Coders team](https://www.twitch.tv/team/livecoders) didn't want to let prepared talks to go waste and decided to put on a free (all-day) [online conference](https://captcalli.github.io/LiveCodersConf/) on April 9, 2020. They will be featuring several Azure sessions and others hosted by Azure Advocates, but there is content everyone will enjoy. 

In case you aren't familiar with the team, we are an outgoing and enthusiastic group of friendly channels that write code, teach about technology, and promote the technical community.

Learn who our speakers are and what the schedule looks like below:

#### Conference Part A

-   05:00 PST: Pre-stream warmup - Hosted by LuckyNoS7evin
-   06:00 PST: Conference Starts
-   06:15 PST: Timmy Kokke (aka. sorskoot) - "How to build a WebXR Game in 13KB"
-   07:15 PST: Andy Morrell (aka. LuckyNoS7evin) - "Finding your niche to stay relevant, in your career"
-   <mark>08:15 PST: Carey Payette (aka. codingbandit) - "Using Azure IoT Central to form a basis for your IoT Solutions"</mark>
-   09:15 PST: Jochen Lillich (aka. FullStackLive) - "How to build up resilience and keep burnout at bay"
-   10:15 PST: Suz Hinton (aka. noopkat) - "Techniques for Interacting with Microcontrollers in the Browser"
-   <mark>11:15 PST: Nina Zakkharenko (aka. nnjaio) - "Debugging Python: Goodbye Print, Hello Debugger"</mark>
-   12:15 PST: Nick Larsen - "Reproducing AlphaZero"
-   13:30 PST: Stream party - Hosted by LuckyNoS7evin

### Conference Part B

-   15:15 PST: Liz Phillips (aka. illuminatedspace) - "Getting Your Second Coding Job"
-   16:15 PST: Jones S. Cropper (aka. caLLowCreation) - "Developing tools for developers"
-   17:15 PST: Mary Jo Staebler - "Using a boilerplate to create a WordPress Plugin"
-   18:15 PST: Trezy (aka. TrezyCodes)- "A11y from the ground up"
-   19:00 PST: An interview with one of our sponsors
-   <mark>19:30 PST: Michael Crump (aka. mbcrump) - "Azure for Developers: In Plain English"</mark>
-   20:30 PST: Erik Guzman (aka. talk2meGooseman) - "Writing your first Twitch Extension"
-   21:30 PST: Mahmood Hikmet (aka. sadmoody) - "The Trolley Problem Problem: Talking About the Ethics of Self Driving Cars"
-   22:30 PST: After Party

For details, check out [The Live Coders Conference](https://captcalli.github.io/LiveCodersConf/).
Daily Developer Jokes - Monday, Apr 6, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-04-06 12:00:17

---
title: "Daily Developer Jokes - Monday, Apr 6, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Monday%2C%20Apr%206%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e125999cc4b1.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q___: What are clouds made of?

___A___: Mostly linux servers.
 -->
Count occurrences of an element in a list in RCPTT
Tags: rcptt, eclipse, occurrences, list
Published: 2020-04-06 11:57:44

For those who don’t know, RCPTT (RCP Testing Tool) originally known as Q7 IDE, is an open source project with a focus to test Eclipse plugins and RCP applications. For more details, visit [the RCPTT website](https://www.eclipse.org/rcptt/).

Let’s assume we have a list of strings and we want to count the frequency of a given string. We will use the command <code>each</code> to iterate over the list and check whether it contains the string.

Let’s create a procedure in ECL, the scripting language used by RCPTT.
```
proc countOccurrences [val items -input] [val targetItem] {
	$items | each [val it] {
		if [$it | eq $targetItem] {
			bool true
		}
	} | length
}
```
The trick here is to return some value in the <code>if</code> section every time the string is found. In our example, we return a boolean but actually we can return any other value. This is important in order to count the number of returned values at the end.

Run some tests.
```
global [val items [list a b c a d e a a]]

$items | countOccurrences a | log
$items | countOccurrences p | log
```
The output.
```
!MESSAGE 4
!MESSAGE 0
```
Creating a Mock REST Server with only one command
Tags: node, json, frontend, mock
Published: 2020-04-06 11:47:05

This tip is intended for frontend developers who need to quickly create a REST Backend server.

It is necessary to have Node installed, version 8 or higher. First, create a file with the `.json` extension containing the content you want to provide on the server. 

![](https://i.imgur.com/MbueXGy.png)

The file has a structure similar to this one:

```json
{
   "users":[
      {
         "id":1,
         "name":"daniel"
      }
   ]
}
```

You can create any kind of structure, for example:

```json
{
  "posts": [
    { "id": 1, "title": "json-server", "author": "typicode" }
  ],
  "comments": [
    { "id": 1, "body": "some comment", "postId": 1 }
  ],
  "profile": { "name": "typicode" }
}
```

Now that we have this structure, we will use a single command to provide a REST server:

```
$ npx json-server data.json
```

![](https://i.imgur.com/1P1m0JN.png)

As a result, we have the server running on port 3000. In the browser, we have:

![](https://i.imgur.com/s9Smssl.png)

All HTTP methods of the REST service are available, such as Get, Post, Delete, etc. For example, to create a new row you can use the HTTP POST method:

![](https://i.imgur.com/gtZbK8B.png)

Enjoy!
Mint 🍃: 0.9.0
Tags: mintlang, types, webdev
Published: 2020-04-06 11:44:58

**Mint 0.9.0 is released!**

- Optional type signatures
- Support for more CSS at rules
- Required properties
- Type specification for arrays and inline JavaScript
- Type Constructors

Head over to the read the blog post on the official site: https://www.mint-lang.com/blog/mint-0.9.0

You can check out the actual change log here: https://github.com/mint-lang/mint/releases/tag/0.9.0
No-code App | Stay safe, Stay informed about COVID-19
Tags: showdev, nocode, coronavirus, news
Published: 2020-04-06 11:42:43

For your self-quarantining and remote working employees, here is an app to help them stay prepared and informed at all times.


**What is it?**

An informative application for everyone to get:

✅ Safety Tips & Prevention

😷 Symptom Tracking & Self-treatment

📈 Real-time Global Statistics 


**Why it was built?**

To combat all the fake news, false rumors and incorrect statistics being forwarded/circulated across the internet, one of our self-quarantining no-coder at DronaHQ built this application for his fellow coworkers, friends and families to get only the correct information amid the pandemic.   

**How can you use the app?**

Anyone can start using this news app by [following this link](https://studio.dronahq.com/embed/WKgKVO8HlIeiFD8T3eKxOMpJF87qfNBfQVidaxVGFM7Ir). 

The app works on Android, iOS, web. 

**How it was built?**

The app was built on [DronaHQ](https://www.dronahq.com/rapid-response-systems/?utm_source=dev-to&utm_medium=blog&utm_campaign=rapid-response-system&utm_content=covid-app) no-code platform in under 90 minutes using visual controls on the app screen, Sheets as a repository for news and the information being sourced from verified news links, using Integrations. 

**What more can you do?**

We are working closely with individuals, businesses, government bodies to facilitate pandemic response systems powered by no-code technology. If you or anyone you know would like to explore no-code for rapid solution deployment, reach out to us at inquiries@dronahq.com.
Are You Feeling Demotivated while Learning To Code?☹️
Tags: javascript, beginners, productivity, webdev
Published: 2020-04-06 11:37:08

Hello folks,🤗 

I hope you all are fine, taking the safety measures and doing something productive during this quarantine. 👍

As a programmer and a Computer science student, I also spend my time with my laptop and learning some new stuff, building projects and more.👨🏽‍💻

And while doing all this stuff, I came across "One Problem", which is obviously normal for anyone who is learning some kind of new stuff, maybe its programming, designing, or else...🧠

That is, "Feeling Demotivated" 😣😣😣

Have you ever came across a situation in feeling demotivated while learning the thing you were highly motivated ???🙄🙄

In my case, it's a big "YES", While learning to code.  👻

I started coding from the first day of the week with great enthusiasm and a mindset that this week I will achieve that milestones,💪  

But, it was not like that, I feel demotivated just after 4-5 days, and just close my laptop put it inside the cupboard and feeling like a loser that I can't do it!!!🙎🏽‍♂️

Then, What I did???👀

Instead of feeling like a loser, I say to myself, Hey Shahroz, Its quarantine...Let's watch a couple of series on Netflix without thinking about your milestones and learning, just enjoy a quality of time with your family and help your mother in the kitchen!👩🏼‍🍳

And guess what???

Just after two days of taking this break from my learning routine, I genuinely feel hunger to start learning again and achieve those milestones with a fresh and clear mind...🤓🤓🤓

So what's the point ??

Whenever you feel demotivated after doing coding or anything else for a couple of days and feel like nothing happens, just jump out of it... and start doing things which give you happiness, and I assure you, after some hours or a day, you actually want to get back to your work.😇

That's All, 🙋‍♂️

Thanks a lot, Friends For Reading This Article,

If you want to learn more about web development just follow my Instagram by clicking this link :[@the_webdevelopers](https://www.instagram.com/the_webdevelopers/)

Best,
Shahroz Ahmed 👦🏻
What’s your alternative solution? Challenge #13
Tags: challenges, discuss, javascript, codenewbie
Published: 2020-04-06 11:35:26

# About this series

This is series of daily JavaScript coding challenges... for both beginners and advanced users.

Each day I’m gone present you a very simple coding challenge, together with the solution. The solution is intentionally written in a didactic way using classic JavaScript syntax in order to be accessible to coders of all levels.

Solutions are designed with increase level of complexity.

## Today’s coding challenge

```
Create a function that receives an array of numbers and returns an array containing only the positive numbers

```

(scroll down for solution)

## Code newbies

If you are a code newbie, try to work on the solution on your own. After you finish it, or if you need help, please consult the provided solution.

## Advanced developers

Please provide alternative solutions in the comments below. 

You can solve it using functional concepts or solve it using a different algorithm... or just solve it using the latest ES innovations.

By providing a new solution you can show code newbies different ways to solve the same problem.

## Solution

```javascript
// Solution for challenge12b

function getPositives(ar)
{
    var ar2 = [];
    
    for(var el of ar)
    {
        if (el >= 0)
        {
            ar2.push(el);
        }
    }
    
    return ar2;
}

var ar = [-5, 10, -3, 12, -9, 5, 90, 0, 1];
var ar2 = getPositives(ar);

println(ar2);

```


To quickly verify this solution, copy the code above in this coding [editor](https://codeguppy.com/code.html) and press "Run".

> Note: The solution was originally designed for [codeguppy.com](https://codeguppy.com) environment, and therefore is making use of `println`. This is the almost equivalent of `console.log` in other environments. Please feel free to use your preferred coding playground / environment when implementing your solution.
South Korea’s Central Bank Launches Central Bank Digital Currency Pilot Program in Case of Future Necessity
Published: 2020-04-06 11:10:25

South Korea’s central bank recently announced that it has launched a pilot program assessing the issuance of a central bank digital currency (CBDC). The Bank of Korea has stated that there are no immediate plans to launch a CBDC, however, the pilot program will allow the central bank to be prepared in the future if the changing market conditions require its issuance.

This pilot program comes at a time where China’s central bank digital currency has said to be ready to roll out. Six central banks around the world have come together to create a working group to share experiences on use cases on central bank digital currency. With significant expertise in exploring digital currencies, these six central banks are the Bank of Canada, Bank of England, Bank of Japan, European Central bank, Sveriges Riksbank in Sweden, and the Swiss National Bank, along with the Bank of International Settlements.

The pilot program began in March 2020 and is set to run for 22 months, until December 2021. Theoretical research was conducted a month prior to the launch of the program, and the initial phase will allow the central bank to define the requirements and design of the CBDC, and this phase will take until July 2020. 

According to the announcement, the central bank emphasized that the bank will not be pushing out a CBDC any time soon, but the bank wishes to be prepared in case there will be a need for it in the future. 

South Korea’s largest bank files trademark application for crypto custody service
The largest bank in South Korea, KB Kookmin Bank has revealed its filing of a trademark application for KB Digital Asset Custody (KBDAC), its crypto custody service.

The crypto custody service will be made available for assets including Bitcoin (BTC) and Ether (ETH). The trademark application was filed with the Korean Intellectual Property Office, as reported by a local news outlet.

The application stated that the bank could potentially launch the service shortly, and also means that the entity has already begun the branding of products and the development has almost been finalized. 

KB announced its partnership with Atomrigs Lab in June 2019, to develop a crypto custody service leveraging a product that secures crypto utilizing multi-party computation (MPC) technology which Atomrigs Lab specializes in. MPC technology generates random key parts rather than a single private key. These key parts can be stored separately to protect the assets from the vulnerability of being stolen.

<a href="https://blockchain.news/">Blockchain.News</a> is a global leading English blockchain media which brings you the most up to date coverage on blockchain, cryptocurrencies and financial technology.




Image via Shutterstock
How much to charge for a simple Nodejs CLI app?
Tags: discuss, node
Published: 2020-04-06 11:01:29

Hi devs,

I need your help.

I have a client that asks me to create a node standalone module that will help them create a pdf file from a json and template.

Tell me if I am wrong in this proposal

* Project duration: 2 weeks
* Project cost: 1500$

I know that you don't have the full specs but I tried to give you an overview.

Tell me if my proposal is over estimated or not
Fixing browser caching problems in ASP.NET Core
Tags: aspnetcore, caching, taghelper
Published: 2020-04-06 11:00:29

In order to fix browser caching in ASP.NET Core you can use "asp-append-version" tag helper in your website images, CSS links, and javascript references. If you use this tag helper and set it true a version suffix will be appended to your resource and when you change the file on the server the version of the file will be changed and the browser noticed and automatically downloads the new version as well. 
Here are some examples:

```javascript
<img src="~/images/banner1.jpg" width="100%" asp-append-version="true"/>

<link href="~/css/site.css" rel="stylesheet" asp-append-version="true"/>

<script src="~/js/site.js" asp-append-version="true"></script>

 // Result
<img src="/images/banner1.jpg?v=jGW_rax5TkGDuL0z_GnDkSZTmmFqdGRzA8pXnJnug7c" width="100%">

<link href="/css/site.css?v=t2uNA6b681W1KvNxE6O-pzzaJGt2penW9dzO1CxKNns" rel="stylesheet"/>

<script src="/js/site.js?v=ji3-IxbEzYWjzzLCGkF1KDjrT2jLbbrSYXw-AhMPNIA"></script>
```