teleren/devto huggingface dataset:
3 Solid Video Tutorials to Get You Started on D3 Data Visualization
Tags: javascript, webdev, codenewbie, dataviz
Published: 2021-03-04 17:29:58

D3.js is a beast. As **the** JavaScript library for data visualization, its mesmerizingly powerful toolset can seem intimidating even for senior developers.

While not a seasoned developer yet, I have long been interested in D3.js since its initial release in 2011 (wait, it's been 10 years already?!)

Below are three video tutorials that I found to be very helpful in understanding, utilizing, and appreciating this dataviz giant called D3.


#### 1. [D3 Data Visualization](https://youtu.be/2LhoCfjm8R4) by Curran Kelleher
Part of freeCodeCamp's free resource, this recently-updated (February 2021), 17-hour YouTube tutorial is a course for everyone, ranging from code newbies to JavaScript veterans. 

My favorite feature of this course is the ability to pick and choose between sections. There is no need to follow in order. If you expand on the description field, you can see how the course is constructed and simply scrub to the part that works for you:
![Curran d3 demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0wdo0p6gbcniw4mohzs8.png)

I took [the original 2020 version](https://youtu.be/_8V5o2UHG0E) and truly enjoyed the hands-on experience. It is impressive how Curran makes it quick and easy to build simple D3 data visualizations, especially when you use the 2x playback speed 😉

#### 2. [D3 Coding Train](https://youtu.be/rQroxWLZiCo) ft. Shirley Wu 
![Shirley d3 demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rwaef35416vj2toco19u.png)
This is a recorded live interview/demo session between the Coding Train host Daniel Shiffman and D3.js master artist Shirley Wu.

Amidst the fun and lively conversation, Shirley explained the concept of data binding in D3.js, and walked us through her process of building her signature art project.

The 2-part series also inspired me to create [my very first D3 project](https://dev.to/liaowow/when-art-meets-data-flowers-as-visual-metaphor-1ekl). Nuff said.

#### 3. [Fullstack D3 Masterclass](https://www.newline.co/courses/fullstack-d3-masterclass/) by Amelia Wattenberger
![Amelia course screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7kxgvhrm4pnbxue9stfl.jpg)
To be honest, I was on the fence about this course, as it comes with a hefty price tag and, depending on your learning style, might not be the best bang for your buck.

That being said, Amelia is one of the most admired D3.js developers, so it is definitely worth the effort coding along as she unwraps the intricacy of data visualization -- both technically and aesthetically.

![Amelia d3 demo](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wvfwtaznb1iyrswj8co8.png)

<hr>

I am barely halfway through the courses listed above, and there are still many core concepts that require further investigation on my end. Hope this post still gives you a solid reference point if you ever felt like entering the complex yet magical world of D3.js.
Send emails with a HTML contact form (video)
Published: 2021-03-04 17:18:42

In this video I show you how to create a working contact form in HTML. This contact form will send emails from your website, to your inbox.

{% youtube r4RQ38EoLds %}

Other links:
In this video I use Tabnine as my A.I autocompletion tool. You can download it for free here: http://bit.ly/tabnine-free

If you would like to buy me a coffee, well thank you very much that is mega kind! : https://www.buymeacoffee.com/aniakubow

-Sign up for weekly coding tips from my newsletter partnership: https://bit.ly/JS-tips

For this video, I used FormSubmit. They are a free service so if you like what they do and would like to sponsor them, please visit: https://formsubmit.co/ 

You can also find me on:
Twitter: https://twitter.com/ania_kubow
Instagram: https://www.instagram.com/aniakubow
Refactor your if statements for improved readability
Tags: javascript, python, java, refactoring
Published: 2021-03-04 17:16:11

As I write more software and mature as an engineer, I've begun to understand that *less* code isn't always *better* code. Although the code we write is for machines to understand, it's often compiled and optimised for them before it's run. It's much more valuable to write code that's easier for people to understand - it leads to faster code reviews, less confusion, and safer code as people can easily see the intentions behind your code as well as what it does.

With this in mind, I've recently started writing `if` statements differently, trying to make the condition statements as legible as possible. One technique I've found particularly useful is moving the conditional statement into its own function.

Consider this if statement.

```js
if (statusCode == 400 || statusCode == 500) {
	console.log("Bad response");
}
```

It's quite obvious that this `if` statement checks for error code, but what if I'm not familiar with the exact error codes that should be considered an error or the list of 'bad' codes grows? We could refactor this `if` statement into it's own function.

```js
const isBadResponseCode = (statusCode) => {
	return statusCode == 400 || statusCode == 500;
}

if (isBadResponseCode(statusCode)) {
	console.log("Bad response");
}
```

The gains here are two-fold. Firstly,  it's crystal clear what we're looking for in that `if` statement and when we should trigger the condition - bad response codes. If I'm skim-reading the code to get a feel for what it does, I don't need to consider exactly which response codes are bad, just that the program does something if it receives one.

Secondly, the response code comparison is contained within its own function which means it's easier to read in isolation. I don't need to break down the `if` statement to review which response codes the program considers 'bad'.

This is an oversimplification of this concept but it helps to prove a point. We've added more lines of code but I would argue that we've made it easier to understand and reason about, and self-documenting.
Drixx Exchange
Tags: cryptocurrency, finance, drixx, marketing
Published: 2021-03-04 16:42:43

Cryptocurrencies are probably the most volatile assets in today’s financial markets - any market savvy participant would understand the need to hedge or diversify the risk. <a href="https://www.drixx.com">Drixx crypto futures exchange</a> features BTC and ETH derivatives that can be used to take such positions. Our platform enables traders to hedge their crypto portfolios by giving them an exposure to this emerging crypto market niche.
What’s New: The latest Codesphere updates
Tags: cloud, changelog, webdev, programming
Published: 2021-03-04 16:39:26

>We have exciting news.. we read your feedback and listened, we just released v1.1.0 as the latest version of Codesphere! 

###What’s New in Version 1.1.0?

**Features** 
+ We added sudo support 
+ We added resources to the Apps page

**Fixes**
✓ IDE no longer continues to use the app ID of deleted apps
✓ No longer an issue if the billing address is missing during the app creation process

Here's an example of how you can use sudo in the Codesphere IDE: 
```
# Update npm version.
sudo npm i -g npm

# Change node version.
sudo n 14

# Install a global package.
sudo npm i -g eslint
```

Our team is working hard to make Codesphere easier and even more enjoyable to use. This is just the beginning of many updates to come, so stay tuned! 

Thanks for using Codesphere. 
Happy coding!
Day55,56,57:100DaysOfCode
Tags: 100daysofcode, programming, productivity
Published: 2021-03-04 16:31:54

cf contest educational round(couldnt solve a single problem)
:(

after contest tried first 2 problems again.
studied modulo for cp along with some randomized algorithms and probability(repeating a process).

solved some spoj ques from striver sheet on segmented sieve and prime,

read some greedy algorithms(concepts)

few ques on leetcode based on hashmap array.
revised seive of eratosthenes.

EOD

You can Follow me->
https://github.com/singhtaran1005
https://www.linkedin.com/in/taranpreet-singh-chabbra-27517918a/
Enterprise mobility as the new norm for a successful business
Tags: mobile
Published: 2021-03-04 16:20:11

**Recent trends in business mobility**

Let’s begin by taking an understanding of the global mobile technology market.

A recent study from GSMA intelligence showcases that 49% of the global population today is connected – meaning they use the internet using their smartphone. I believe all of us are among the 49%. Also, by the year 2025 the worldwide consumer adoption of 5G is forecasted to rise to 1.8 billion. Now that’s a huge number!

This clearly indicates that smartphone adoption will tremendously increase by 2025. Certainly, we can expect that mobility is the future as user interaction will be at the peak. To support this argument, let’s look at some of the recent mobility trends.

**Enterprises are moving towards digital transformation and they are adopting a ‘digital-first’ approach.**

A finding from IDG that shows a clear picture of the ‘digital-first’ approach and how various industries are prioritizing it on top of their mind. It is impressive to know that about 89% of organizations have adopted, or have plans to adopt a ‘digital-first’ business strategy.

**This leads us to our next mobility trend – cloud computing.**

A Cisco study says that Cloud Traffic grew 3.7 times from 2015 to 2020 and the cloud accounted for 92% of traffic by the end of 2020, up from 82% in 2015.

By this statistic, I can say that cloud adoption is no more an option. This means we have seen 30% of the total growth in CAGR by 2020. In fact, it has become a necessity for enterprises as consumers are demanding for anytime, anywhere access to information. This gives them better accessibility, speed, reliability and scalability.

**Listen to our Podcast about** [next mobility trend] (https://www.softwebsolutions.com/resources/trends-in-enterprise-mobility.html)
NER For Extracting Stock Mentions on Reddit (Python)
Tags: python, datascience, machinelearning, tutorial
Published: 2021-03-04 16:15:33

Reddit has been at the epicenter of one of the biggest movements in the world of finance, and although it seemed like an unlikely source of such a movement — it’s hardly surprising in hindsight.

{% youtube TCZgXFPNnbc %}

The trading-focused subreddits of Reddit are the backdrop for a huge amount of discussion about what is happening in the markets — so it is only logical to tap into this huge data source.

When building a data extraction tool like this, one of the first things we need to do is identify what the data we’re extracting is actually about — and for that we will be using named entity recognition (NER).

Once we have our data we need to process it and extract organization names so that any further analysis is automatically classified and results assigned to the correct stocks.

Organizations are mentioned in each subreddit in a variety of formats. Typically we will find two formats:

> Organization name, eg Tesla/Tesla Motors
> Ticker symbol, eg TSLA, tsla, or $TSLA

We also need to be able to differentiate between tickers and other abbreviations/slang —some of these are unclear like AI (AI can mean both artificial intelligence and refer to the ticker symbol for C3.ai).

So, we need a reasonable competent NER process to accurately classify our data.
Delphi Data Access Components Performance Improvement and RAD Studio 10.4.2 Sydney Support
Tags: dac, delphi, radstudio, devart
Published: 2021-03-04 16:13:36

*Devart rolled out a massive update for DAC products. The improved components now support RAD Studio 10.4.2, and the latest versions of target platforms: macOS Big Sur, iOS 14, and Android 11.*

Devart, a recognized vendor of world-class data connectivity solutions for various data connection technologies and frameworks, rolled out long-awaited updates for its [Delphi Data Access Components](https://www.devart.com/dac.html?utm_source=dev.to&utm_medium=referral&utm_campaign=pr_dac_02.03.2021).

The core improvements include:

* The latest DAC versions now support **RAD Studio 10.4.2 Sydney**.
* The components are now compatible with **macOS Big Sur, iOS 14, and Android 11**.
* PgDAC supports **PostgreSQL 13**. Also, a single TPgConnection object can now be used in multiple threads, and a new property called MultipleConnections allows or denies the creation of additional internal connections.
* Data access speed with default settings was significantly increased in [LiteDAC](https://www.devart.com/litedac/?utm_source=dev.to&utm_medium=referral&utm_campaign=pr_dac_02.03.2021) and the SQLite provider. **Three new properties** were added in LiteDAC: JournalMode, LockingMode, and Synchronous. The Unicode standard was supported in the TVirtualQuery component. 
* The performance of **batch processing of SQL statements** is significantly improved in all DAC products. Also, memory consumption in batch operations is reduced for InterBase and Firebird.
* The **LOBs read/write speed** is improved for Oracle, SQL Server, DBF files, and ODBC drivers. The data fetch speed is also improved for Oracle and ODBC drivers.
* The **PrefetchRows property** was supported in the Direct mode (previously available only in the OCI mode). The FindFirst, FindNext, FindLast, and FindPrior methods to search for records in a dataset using filters now work much faster in all DACs.
* The **Over-the-Wire encryption** feature of InterBase was supported in [IBDAC](https://www.devart.com/ibdac/?utm_source=dev.to&utm_medium=referral&utm_campaign=pr_dac_02.03.2021) to secure transmitted data with SSL/TLS encryption. Automatic detection of computed fields when generating update statements is improved in IBDAC.
* The LastWarningCount property and the OnWarning event were added in [MyDAC](https://www.devart.com/mydac/?utm_source=dev.to&utm_medium=referral&utm_campaign=pr_dac_02.03.2021) to get the number of warnings received from the MySQL server and define an event handler method.

To learn more about the recent release, visit  https://blog.devart.com/delphi-dac-support-for-rad-studio-10-4-2.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/.
On .NET Episode: Secretless apps with .NET and Azure Key Vault
Published: 2021-03-04 16:09:38

In this episode, Scott Addie joins Christos Matskas to discuss secrets management in .NET apps. They cover the .NET SDK's Secret Manager tool as an option for your local development environment. 

Next, the Azure Key Vault service is introduced as a more secure option for any environment. You'll see how these two offerings integrate with the .NET Configuration API in an ASP.NET Core Blazor Server app.

{% youtube f8Hf-YUrC10 %}

If you liked this video and would like to see some more of our .NET content, please subscribe to our [.NET Developers YouTube Channel](https://www.youtube.com/channel/UCvtT19MZW8dq5Wwfu6B0oxw).

<ul>
<li>Blazor sample app:&nbsp;<a href="https://github.com/scottaddie/OnDotNetConfiguration">https://github.com/scottaddie/OnDotNetConfiguration</a>&nbsp;</li>
<li>Get your questions answered on the Microsoft Q&amp;A for .NET:&nbsp;<a href="https://aka.ms/dotnet-qa">https://aka.ms/dotnet-qa</a>&nbsp;</li>
<li>Azure Managed Identity:&nbsp;<a href="https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/overview?WT.mc_id=ondotnet-c9-cxa">Managed identities for Azure resources | Microsoft Docs</a></li>
<li>Azure SDKs:&nbsp;<a href="https://aka.ms/azsdk">https://aka.ms/azsdk</a>&nbsp;</li>
<li>Connect with Identity experts on the 425Show:&nbsp;<a href="https://aka.ms/425Show">https://aka.ms/425Show</a>&nbsp;</li>
<li>Get your free Microsoft 365 Account here:&nbsp;<a href="https://aka.ms/425Show/FreeM365">https://aka.ms/425Show/FreeM365</a></li>
</ul>
How do I create a Player for a Podcast using RSS Feed?

Tags: help
Published: 2021-03-04 16:01:30

I am building a website using html, css and bootstrap for my podcast, my problem is that I want to put a player of the podcast in the hero image part of the website so people can come and listen to my podcast at the moment of entering into the website. I want the player to use the RSS Feed of my podcast to always update the player with the latest episode, I hace been trying to look for a solution for that but I have found anything. I made an account here on stack overflow to reach some expert on this field to help me with this problem.
National Sons Day 2021: Inspirational Quotes To Share On This Special Occasion
Tags: quotes, sadquotes, lifequotes
Published: 2021-03-04 16:00:38

Thursday is National Sons Day, which is marked annually to honor sons, to appreciate their various contributions to the family and society, and to also <a href="https://quotesjin.com/sad-quotes/">sad quotes</a> celebrate the those ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/y96fuhm8fqet78vt7uxb.jpg) who raise them. National Sons day was established in 2018 by Jill Nico, who wanted the world to acknowledge their importance.

This day can be celebrated by spending quality time with the sons in your life, and explaining how you feel about them. A similar day is observed annually on Sept. 28.

Here are a few quotes to share with sons on this special day, courtesy of Wow4you:

1. "To wake up to the sound of my son <a href="https://quotesjin.com/hard-work-quotes/">hard work quotes</a> saying 'Mama, mama!' It's the best sound ever." - Miranda Kerr

2. "Happy is the son whose faith in his mother remains unchallenged." - Louisa May Alcott

3. "When you were a toddler you made me smile. When you were a teenager you made me worry. But now you are a man and my son, I am so proud of you and all your accomplishments!” - Catherine Pulsifer

4. "You don't raise heroes, <a href="https://quotesjin.com/joker-quotes/">joker quotes</a> you raise sons. And if you treat them like sons, they'll turn out to be heroes, even if it's just in your own eyes." - Wally Schirra

5. "Boys are fun. They make you laugh. They are full of life and can share that energy with you. They also touch your heart; they are deeply feeling." - Steve Biddulph

6. "Be strong out there, my son. Look for the love and kindness in others. Forgive yourself when you make mistakes, and enjoy the journey." - Kirsten Wreggitt

7. "Until you have a son of your own, you will never know what that means. You will never know the joy beyond joy, the love beyond feeling that resonates in the heart of a father as he looks upon his son." - Kent Nerburn

8. "A boy needs his mother's respect. Not only her love but also her respect." - Emerson Eggerichs

9. "There is an enduring tenderness in the love of a mother to a son that transcends all other affections of the heart." - Washington Irving

10. "Happy is the son whose faith in his mother remains unchallenged." - Louisa May Alcott
National Grammar Day 2021: Funny Quotes To Share With Everyone
Tags: quotes, attitude
Published: 2021-03-04 15:56:11

National Grammar Day is marked annually on March 4 to encourage everyone to use it correctly in both verbal and written language.

The day was established in 2008 by author Martha Brockenbrough, who is also the founder of the Society for the Promotion of Good Grammar. ![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/16pip8w9mq0xn2gxbh5d.jpg)

“Language is something to be celebrated, and March 4 is the perfect day to do it. It’s not only a date, it’s an imperative: March forth on March 4 to speak well, write well, and help others do the same!” the National Grammar Day website states.

Here are some <a href="https://quotesjin.com/attitude-quotes/">attitude quotes</a>, courtesy Good Reads, to share on this day:

1. “I might not use capital letters. But I would definitely use an apostrophe…and probably a period. I’m a huge fan of punctuation.” ― Rainbow Rowell

2. “Frankly, I wonder who Frank was, and why he has an adverb all to himself.” ― Jodi Picoult

3. “Ill-fitting grammar are like ill-fitting shoes. You can get used to it for a bit, but then one day your toes fall off and you can't walk to the bathroom.” ― Jasper Fforde

4. “The past, the present, and the future walked into a bar. It was tense.” ― Lex Martin

5. “Punctuation marks are like road signs; without them we just may get lost...” ― Nanette L. Avery

6. “Yes yes yes, we'll get the grammar police onto her first thing. Do they have actual powers <a href="https://quotesjin.com/self-respect-quotes/">self respect quotes</a> of arrest, do you think? Or will they just hang her from the nearest participle?” ― Mick Herron

7. “Use exclamation points sparingly, you don’t want to give someone a heart attack!” ― Nanette L. Avery

8. “I really do not know that anything has ever been more exciting than diagramming sentences.” ― Gertrude Stein
Prioritizing Privacy: Add Offline Speech Recognition to a Java Application
Tags: java, swing, speechrecognition, ai
Published: 2021-03-04 15:50:13

{% youtube YtpKb0WZmqM %}
{% medium https://medium.com/picovoice/prioritizing-privacy-add-offline-speech-recognition-to-a-java-application-1c864574fb7e %}
I made an IntelliJ plugin that generate mapping code between Java entities.
Tags: java, proto, gprc, intellij
Published: 2021-03-04 15:48:54

Hi everyone, i just have done a plugin for Intelllij that generate mapping code for java objects.

## Features:

1. Java to java.

2. Java to proto (java object which is generated from proto file).

3. Proto to java.

* It also support lombok builder type as well.

## Advantages:

1. Help you save a lot of time (writing mapping code is super boring and a huge waste of time).

2. Modifying is very easy, fully control on your code (unlike auto-mappers).

3. No more auto-mapper libraries needed for your project.

## Information:

* Find out more at my Github: https://github.com/Wohoo22/mapping-generator-intellij-plugin

* This is the plugin link on Jetbrain marketplace: https://plugins.jetbrains.com/plugin/16237-mappinggenerator

* Or you can download it straght from plugins section inside Intelllij IDE, with plugin's name: "MappingGenerator".

I hope this help :D