teleren/devto huggingface dataset:
How to reduce cloud costs by 90% with AWS spot instances
Tags: kubernetes, aws, devops, spotinstances
Published: 2021-04-27 10:35:10

Teams often choose to reserve capacity instead of taking advantage of spot instances. But reserved capacity is a path to vendor lock-in and paying more in the long term.

It doesn’t make sense to cut yourself off from the opportunity to save up to 90% off the on-demand price just because AWS can pull the plug on your instance with a two-minute notice.

You can use spot instances effectively even for production workloads. 

Keep on reading this guide to get six expert tips on how to handle spot instances and achieve dramatic cost savings on your [cloud bill](https://cast.ai/blog/how-to-solve-the-costliest-cloud-bill-issues/).

Full article at CloudTech
https://cloudcomputing-news.net/news/2021/apr/26/how-to-reduce-cloud-costs-by-90-with-aws-spot-instances/
Dart VS C++ !! Its Interesting
Tags: flutter, dart, c, challenge
Published: 2021-04-27 10:15:08

Reading Input from User in C++ vs Dart

#C++

using namespace std;
int main() {
    string name;
    cin>>name;
    return 0;
}

#Dart

import 'dart:io';
void main(){
var name = stdin.readLineSync();
}

#Now let's see the actual difference!


Difference Between DART and C++

Competitive Programming teaches one to find the easiest solution in the quickest way possible. And C++ has always been loved by almost all competitive programmers. C++ language is capable of boosting the speed of debugging and problem-solving which are the necessities for this brain sport.

#Why is C++ a high in-demand language in competitive programming? 

C++ was developed in 1972 by Dennis Ritchie. Ever since then, it has been actively used by coders for real-world applications like game development, browsers, banking, graphics, advanced computations, and more. This is one reason why C++ hasn’t lost its place.

In-built functions: C++ is rich with the in-built functions that are associated with it. Eg: Sorting can be done in C++ using: sort(A, A+n) where ‘A’ is an array and ‘n’ indicates the length of the array.

A very vast library: The templates in C++ help the programmers quickly tackle basic data structures and functions. They include lists, stacks, arrays, etc. Also, many header files can be replaced by using a single STL(Standard Template Library). It actually makes the life of competitive programmers easier.
Speed: C++ is very fast compared to any other programming language.

Speed: C++ is very fast compared to languages like Python and Java. Whether it’s compiling or I/O operations, C++ is swift compared to these languages using interpreters and complex codes.

#DART

Is DART a rival to C++?

DART is basically a client-optimized language and is meant for serving applications at the server-side as well as the browser side.
It is also used in mobile applications. These days, Dart is seen replacing Kotlin in app development using Flutter as it avoids the need for a separate declarative layout language like XML and JSX.

While C++ is an object-oriented programming language with generic features, Dart is an object-oriented, web-based programming language.

Therefore, it can be easily compiled to JavaScript for browser applications. Also, we can use the Dart virtual machine on the server-side to replace Node.js. 

This has enabled Dart to erase the imprints of the C++ family modern applications.

*Update: C++ is intrinsically stingy with memory (unlike Java objects, a C++ struct has no memory overhead if there are no virtual functions [modulo word alignment issues]). Smaller things run faster due to caching and are also more scalable. 


Thank you for Reading this Boring Post :P
Get to MDN faster: mdn.io
Tags: todayilearned
Published: 2021-04-27 10:14:19

Today I discovered this gem of a site: [mdn.io](mdn.io), [The "I'm feeling lucky" URL Shortener](https://github.com/lazd/mdn.io#user-content-deployment:~:text=The%20%22I'm%20feeling%20lucky%22%20URL%20shortener,-mdn.io)

The Mozilla Developer Network is an awesome JavaScript resource. When looking for JavaScript references on something like Function.apply, you might use a search engine with "apply site:developer.mozilla.org" and click the first result.

mdn.io does that for you.

You can try out a bunch of urls. Try visiting

- [mdn.io/bind](mdn.io/bind)
- [mdn.io/closure](mdn.io/closure)
- [mdn.io/cross origin sharing](mdn.io/cross origin sharing)

On it's [repo](https://github.com/lazd/mdn.io), It says that mdn.io uses DuckDuckGo's Bang! functionality to redirect you to the first search result.

It's really nice someone has made this.
Ubuntu with kernel 5.8 and nVidia legacy drivers
Published: 2021-04-27 10:13:25

## Problem:
- Cannot install drivers from nVidia website on Ubuntu with kernel >= 5.8 (nVidia has dropped support for legacy drivers!)

## Solution:
- Download [patched nVidia installer](https://nvidia.if-not-true-then-false.com/) for your card and kernel
- Install packages for building kernel module
```bash
$ sudo apt install build-esssential gcc make libc6-dev
```
- Create `/etc/modprobe.d/blacklist-nvidia.conf` with following content:
```
blacklist rivafb
blacklist rivatv
blacklist nvidiafb
blacklist nouveau
```
- Update initramfs
```bash
$ update-initramfs -u
```
- Reboot and log in to console (ALT+F3)
```bash
$ sudo reboot
```
- Stop X server
```bash
$ sudo service gdm stop # replace gdm with your manager if different
```
- Run installer
```bash
$ chmod +x ./*.run
$ sudo https://nvidia.if-not-true-then-false.com/NVIDIA-Linux-x86_64-XXX.XXX-patched-kernel-5.8.run
```
- Install additional packages
```bash
$ sudo apt install vdpauinfo libva-glx2 libva-drm2
```
- Reboot and enjoy
- Remember that you need to install nvidia module after every kernel update

_For newer kernels (up to 5.11) see [If-not-true-then-false] (https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/) website._
Reclaim Lost Backlinks: How To Find & Use Missing Links? - eGoodMedia
Published: 2021-04-27 09:57:34

Lost Backlinks are the links to your website from another website that are no longer live for some specific reasons. As such they require a link reclamation campaign from your side. Sometimes, lost backlinks can be pre-planned or organized as certain webmasters provide for a specific time period. They allow live links for a particular time period and you can’t force them to continue further. On the other hand, there are permanent backlinks too. That’s where you cannot spare what’s going in the wrong direction. These types of lost backlinks are very harmful to your website building plan. 
 
You may also find a problem to differentiate between Link Reclamation & Unlinked Brand Mentions in the beginning. Link Reclamation is related to a link that was live earlier & is no longer in use for the existing time period. Where claiming Unlinked Brand Mention is something fresh to conduct.

<a href="">Read more</a>

Read more Articles:-

<a href="https://www.egoodmedia.com/broken-link-building-a-user-guide-for-off-page-seo/">Broken Link Building: A User Guide For Off-Page SEO</a>
<a href="https://www.egoodmedia.com/negative-review-attack-how-to-defend-your-websites-from-negative-seo-attacks/">Negative Review Attack: How To Defend Your Websites From Negative SEO Attacks?</a>

Contact Details:-
1-6046704333
422 Richards St Unit 170, Vancouver, BC V6B 2Z4, Canada

<a href="https://www.egoodmedia.com/">website design Seattle company</a>

Visit Reference Profile Websites:-

https://bit.ly/3sOrzO4
https://bit.ly/3xlA07b
https://bit.ly/3tPzrAr
https://bit.ly/3nj4iCI
https://bit.ly/3xfX4nW
https://bit.ly/3vcZWjl
<a href="https://www.egoodmedia.com/reddit-marketing-scale-your-business-using-reddit-in-2020/">reddit marketing</a>
https://bit.ly/3gJpf8L
https://bit.ly/3eA81Ia
https://bit.ly/3eudZKR
https://bit.ly/3epnXgg
https://bit.ly/3dPDcQE
https://bit.ly/2PrDAvs
<a href="https://www.egoodmedia.com/how-social-media-engagement-has-changed-during-covid19/">Social media engagement covid-19</a>
https://bit.ly/3sKu306
https://bit.ly/3ep4xbp
https://bit.ly/3xltBZu
<a href="https://www.egoodmedia.com/google-image-search-to-drive-organic-traffic-on-your-website-in-2020/">Drive Organic traffic Google Image search</a>
https://bit.ly/3gxFA0n
https://bit.ly/3xfLMjh
https://bit.ly/3xdkjPh
https://bit.ly/3eid0xg
https://bit.ly/3dBAWwv
https://bit.ly/3xdkhqD
https://bit.ly/3nc2ZG0
https://bit.ly/3xoxNYP
https://bit.ly/2PfKioe
https://bit.ly/3dHjo1G
https://bit.ly/3tXezY9
Productivity sieve
Tags: lifehacks, productivity
Published: 2021-04-27 10:31:57

---
title: Productivity sieve
published: true
date: 2021-04-27 09:56:00 UTC
tags: lifehacks,productivity
canonical_url: https://craignicol.wordpress.com/2021/04/27/productivity-sieve/
cover_image: https://craignicol.files.wordpress.com/2020/03/wp-1583529281454.jpg?w=1200
series: mentor
---

There’s a lot of information out there. And more generated every day than you could process in your lifetime. So you need to filter out the important nuggets and discard the rest. The most important thing is what you ignore, because you’ll be ignoring most of it.

{% youtube IWPgUn8tL8s %}

Many productivity frameworks deal with this problem the same way. Take the firehose of emails, RSS feeds, Twitter recommendations, that book at the meetup, … and collect them in one place (or, if you really must, 2 – one physical, one digital).

Only add things that look interesting, and be intentional about it. Not every email or every tweet, just the ones you’ve marked (IFTTT or Zapier are a great help here). That’s your first filter.

Then, at a scheduled time, on a regular schedule (weekly or fortnightly) decide what you’re doing with everything in the one place. That’s your second filter.

Then, for the things you’ve decided are important, review them, rewrite them, record them. Your words are the next filter.

And don’t be afraid to rewrite, to delete. [I use git for my notes](https://dev.to/craignicol/zettel-lint-53p1) so I know I can keep things clean and look at the history if I need to.

## Or, to put it another way:

Put everything in your Universal inbox (Trello, Evernote, Notion, …) – one place for “this looks interesting”, from web, photos, videos, etc. but only what you’ve chosen to put in. Don’t let another person or an algorithm choose for you.

Automate the copying, not the decision to copy.

### Each week, for everything in your inbox, make a decision.

👉 Either “this is useful” – archive and tag  
👉 Or “this is actionable” – add to task list  
👉 Or “why did I bother with this” – bin it

### Split tasks into “now and next” and “coming up”

👉 “now and next” is stuff planned until your next horizon (tomorrow, next week, next sprint),  
👉 “coming up” is the rest of the stuff important from your latest planning session (this week, this month).  
👉 Everything else is unimportant right now, and either is in the ideas archive waiting to be promoted when the project is attached to resurfaces, or is dated to surface at the right time (e.g. annual subscription)

### _Don’t carry excess weight._
Setting up Line Awesome in Angular
Published: 2021-04-27 09:51:44

---
title: Setting up Line Awesome in Angular
published: true
description: 
tags: 
//cover_image: https://direct_url_to_image.jpg
---

[Line Awesome](https://icons8.com/line-awesome) is a great alternative for Font Awesome for modern line icons.


# Install Line Awesome


Open terminal and go to the Angular project directory and run


```
npm install line-awesome
```


# Add Line Awesome reference


1. Open `angular.json` file
2. Add Line Awesome directory in the `styles`


```
"node_modules/line-awesome/dist/line-awesome/css/line-awesome.min.css"
```


# Try it out!


Add the following to any components


`<i class="las la-bell"></i>`
Free Tailwind dashboard template
Tags: showdev, react, tailwindcss, webdev
Published: 2021-04-27 09:46:11

Hey guys,

As the title says, I made a free dashboard template using Tailwind CSS + React!

It comes with several pre-coded charts/graphs that I developed using the awesome Chart.js 3 library!

- Live demo: [https://mosaic.cruip.com/](https://mosaic.cruip.com/)
- Download on Github: [https://github.com/cruip/tailwind-dashboard-template](https://github.com/cruip/tailwind-dashboard-template)

Use it for whatever you want, and feel free to share your comments and feedback below :slightly_smiling_face:
Useful Links by CodeWithMosh HTML&CSS Courses
Tags: webdev, course, resources, images
Published: 2021-04-27 09:33:10

##WebDev Fundamentals
1. https://validator.w3.org/
2. https://jigsaw.w3.org/css-validator/
3. https://unsplash.com/
4. https://www.pexels.com/
5. https://css-tricks.com/the-shapes-of-css/
5. https://necolas.github.io/normalize.css/
6. https://cssgradient.io/

##Tipography
1. https://www.fontsquirrel.com/
2. https://fonts.google.com/
3. https://type-scale.com/

##Images 
1. https://caniuse.com/
2. https://www.flaticon.com/
3. http://cssspritestool.com/
4. https://www.cssportal.com/image-to-data/
5. https://bennettfeely.com/clippy/
6. https://responsivebreakpoints.com/
7. https://cloudconvert.com/
8. https://www.svgbackgrounds.com/
9. https://fontawesome.com/
10. https://ionicons.com/
11. https://materialdesignicons.com/
5 vscode extension should know every web developer
Tags: vscode, javascript, react, beginners
Published: 2021-04-27 09:22:22

I have been using vscode for 3 years now and I like it so much I am sure that you like it too. Extensions are a core part of vscode that add extra functionality to the editor and increase the efficiency of your work. here is my top 5 list.

##1. Auto Rename Tag
When you rename one HTML/XML tag, automatically rename the paired HTML/XML tag.
![rename tag](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q2nj8y9iys9xbrigzr92.gif)
 
##2. Thunder Client
Thunder Client is a GUI-based Rest API Client Extension for Visual Studio Code.

![thunder-client](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gto3le5338xeqm8h05z3.gif)
 
##3. ES7 React/Redux/GraphQL/React-Native snippets

This extension provides speedup in your workflow. some builtin snippets are available:
React Components-
###rcc
![rcc](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6eah2xz9nfsdn6bd3ldt.png)
 
###rce

 ![rce](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/iredrq1gdjgh1975ob9q.png)
 
###React
imr→	import React from 'react'
imrd→	import ReactDOM from 'react-dom'
imrc→	import React, { Component } from 'react'

###GraphQL
graphql→import { compose, graphql } from react-apollo'

###4. SonarLint
SonarLint lets you fix coding issues before they exist! Like a spell checker, SonarLint highlights Bugs and Security Vulnerabilities as you write code, with clear remediation guidance so you can fix them before the code is even committed. SonarLint in VS Code supports analysis of JavaScript, TypeScript, Python, Java, HTML & PHP code.
![sonarlint-rule-description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jcplf0t7joftruc24wgg.gif)
 
###5. GitLens
It helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.

![code-lens](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fqxkmjb2v29nwca9oq4c.png)
🤖 Microsoft Edge Deflector 
Tags: microsoft, edge, windows, improvement
Published: 2021-04-27 09:14:00

Hello folks!

I want to share with you a great tool that I have found. It's a very useful 60kb's C# open-source app for those who no longer want to see Microsoft Edge open. And it has just had its first release for 4 years!

1. First just get the last binary on [GitHub](https://github.com/da2x/EdgeDeflector/releases/) No security vendors flagged with (VirusTotal)[https://www.virustotal.com/gui/url/076f8af18d13eca124eec2adf9ef8eb136a43e2934180a5416d1c138e10ed24a/detection]
2. Execute-it.
3. After installation, a page opens ... in Edge ... Not for long!
4. Open the Windows Settings app. Go to Apps: Default apps.
5. Scroll to the bottom and click Choose default apps by protocol.
6. Locate MICROSOFT-EDGE in the list and click on the program icon to the right of it. Select EdgeDeflector from the list. Confirm the change if asked.
7. Copy the following test link:
`microsoft-edge:https://www.ctrl.blog
8. Press the Windows key + R, paste the link and press the Enter key.

The magic happens ! Have a nice day :)
Color Stripes
Tags: css, codepen, showdev
Published: 2021-04-27 09:05:07

Experimenting with tones and stripes from Josef Albert's book “Interaction of Color”. 

The first 7 colors are from the book, the rest follows it's pattern, just with different hues.

I've included some controls, allowing you to rotate the pattern, and change the width of the first color in each ”group”.

{% codepen https://codepen.io/stoumann/pen/WNRmWex %}
Future of 5G Technology?
Tags: 5g, podcast
Published: 2021-04-27 09:02:48

The fifth-age cell innovation can convey information paces of 10 to multiple times quicker than current 4G organizations, which will enormously improve client experience and the presentation of utilization cases that are now in presence, Blackard said. 

Later on, 5G will give better calibers of administration, lower inactivity, and higher data transfer capacity, which will help improve client encounters both in the customer and business space, from cloud gaming, to telehealth use cases. 

Just On 5G 

As cutting-edge organizing framework creates and 5G is placed in the possession of more individuals in more areas, pristine, or just on 5G use cases will begin to manifest, said Blackard. 

The expanded reality, for instance, is a utilization case that will be made feasible interestingly with 5G. Samsung and AT&T have collaborated, alongside the NFL group, the Dallas Cowboys, to make an in-arena experience that fans will actually want to access on 5G gadgets. Fans will actually want to overlay rich player substance and insights while inside the arena to improve their time at the game, Blackard said.

In Pakistan! Jazz largest telecommunication network testing 5G service in a closed room, but don't know why PTA banned 5G testing in Pakistan, But Jazz is the Speed Test by Okla Award winner in its 4G services, If you are interested in 4G internet packages then surly visit <a href="https://packageslab.com/jazz-internet-packages/">Jazz Daily Internet Package</a>, and I think Jazz may be the first network that will launch 5G services in Pakistan, But Zong (China Based overseas companny) is also a great competitor.
DSA
Published: 2021-04-27 09:01:39

#What is the worst-case time complexity of the following algorithm to delete the node from the list?

// Find next node using next pointer
struct node *temp = node_ptr->next;
// Copy data of next node to this node
node_ptr->data = temp->data;
// Unlink next node
node_ptr->next = temp->next;
// Delete next node
free(temp);

a) O(n)
b) O(log2 n)
c) O(logn)
d) O(1)


(d)
Explanation: It is a Fast solution to delete a particular node from the linked list is to copy the data from the next node to the node to be deleted and delete the next node.Time complexity of this approach is O(1).
Hoisting in Javascript
Tags: javascript, react, webdev
Published: 2021-04-27 08:53:05

**Definition** 
In JavaScript is a behavior in which a function or a variable can be used before declaration.

**Types of Hoisting**  

Variable Hoisting : Only variable declared with var is hoisted (not let and const)

Function Hoisting :  Only Simple functions is hoisted (not function expressions)



{% youtube nsxnGWQcZWA %}
What’s new in Boost Note in April: Speed Improvement, UI/UX Renewal, Fuzzy Search, and more.
Tags: showdev, devops, productivity
Published: 2021-04-27 08:44:53

We have improved the app a lot and recently, we renewed the entire UI to provide IDE-like UX and make it more developer-friendly.

Here are the major updates this month:

# (1) Speed Improvement​

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4qgvnqr1p0gfb05syy5u.jpeg)

Since we do care about users’ feedback and got a lot of feedback related to its speed, we made it about 1.3x faster* than before.

> Please note that there may be a difference in speed improvement depending on the document amount in your workspace and the internet situation.

From now on, the app will cache documents that have been loaded once, and when you open the same document next time, you can edit it from the cached one without waiting for sync with the real-time server. Also, we optimized data fetching for the document a bit too.

For the next speed improvement, we will polish the data structure for the page loading to reduce the data transmission time required for initial rendering to less than 500ms, regardless of the amount of documents in your workspace.

# (2) UI/UX Renewal​
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/cthhq1cvke83mhvu915v.jpeg)

We’ve been focusing on improving the quality of the app experience since the last newsletter. The new UI is like an IDE, such as VSCode and WebStorm, which is very familiar for developers.

This new UI will boost the team’s productivity and not sacrifice their time to get used to the tool.

# (3) Fuzzy Search​
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/5iipjf1cig08r36ns9ln.jpeg)

A fuzzy search like VSCode has been rolled out! Hit cmd/ctrl+P and get started.
Updates (2) and (3) should work without updating if you are using the cloud version, but If you are also using the desktop app, you may need to update the version to v0.16.0 or more (It doesn’t work under v0.16.0.)

[Boost Note](https://boostnote.io/)

---

# What’s coming next?​

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/67yivido9le1cpg1a98i.jpeg)

​We are planning to release another feature called “Document Property” with excellent filtering. This feature allows you to organize documents more flexibly and more intelligently, and you can find documents quickly by using filters.

Stay tuned!

---

We’re really excited to share all of these new updates with you, and we’d love to get your feedback, questions, and suggestions. Get in touch and let us know what you think by making an issue on our GitHub repository.

https://github.com/BoostIO/BoostNote.next/issues