teleren/devto huggingface dataset:
Ng-News: Episode 22/15
Tags: angular, javascript, programming, webdev
Published: 2022-04-18 08:05:47

This is a weekly posting, covering the latest updates from the Angular community.

{% embed https://youtu.be/81Ozk_DgNzs %}


## Results of Developer Survey 2021

Minko Gechev, a prominent member of the Angular team, published the results of the developer survey they ran a couple of months ago. We can see that about 66% of the respondees are very positive towards the framework. We can see a trend, where the larger an application is, the happier developers are with Angular.

Possibilities to improve are in testing, debugging, and performance. The Angular team is working on that. For testing, there are cooperations with E2E frameworks. For debugging, we have the Angular DevTools, and for performance, Angular is working on improvements in server-side rendering and other aeras.

[Developer Survey 2021](https://blog.angular.io/developer-survey-2021-results-38e653cbb36b)

## Deep-Dive Talk on Performance

Speaking of performance, we had a meetup of Angular Vienna last week. Michael Hladky gave a deep-dive talk where he showed several strategies/approaches on how to squeeze every bit of perforamnce from Angular.

And if that's not enough, RxAngular, which is a library, will give you a further boost. Next to Michael, Madleina Scheidegger gave an update on the State of Angular, and Tracy Lee talked about how to contribute to Open Source. The recording is available on YouTube.

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

## Miscellaneous

### Ionic 6.1

Other than that, Ionic had a minor release to 6.1. Ionic a toolkit to transform an Angular application into mobile apps. 

{% embed https://twitter.com/Ionicframework/status/1514647419304173574 %}

### Jasmine 4.1

Jasmine, Angular's default testing framework, had a minor version update to 4.1.

[Jasmine 4.1 Release Notes](https://github.com/jasmine/jasmine/blob/main/release_notes/4.1.0.md)

### Kevin Kreuzer 
Kevin Kreuzer on accessibility at Angular Air

{% youtube sPvEppxeSSg %}

### Micro Frontends at Angular Plus Show

The Angular Plus Show (formerly Angular Show), a podcast, kicked off the first episode of their series about Micro Frontends.

{% embed https://twitter.com/AngularShow/status/1514273204239572999 %}
Why do most developers code at night?
Tags: discuss, programming, career, news
Published: 2022-04-18 08:05:29

I am not a developer.
I have some doubts about the developers.

- Why do most developers code at night? ( Is this true ? )

- How many hours a day and when do you sleep?


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c8htegl08p34oqbdvdxa.gif)

- Have you ever hated your code job?

- Will there be a job crisis in the IT company?


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/v7xw159z9s6glxnkemvy.gif)

- And how do you spend your Holliday/Vacation?

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/p2f94omsdu7962py4fm6.gif)

- And I heard that most developers learn code in other ways than they do in college. **Is this also true? I can not believe it!**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vkud9dl4p5sgw8s6pkln.gif)
A Nice Developer Joke For Today
Tags: jokes, dailydeveloperjokes
Published: 2022-04-18 08:00:11

---
title: "A Nice Developer Joke For Today"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
published: true
tags: #jokes, #dailydeveloperjokes
---

Hi there! Here's today's Daily Developer Joke. We hope you enjoy it; it's a good one.

![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e125900b9ff4.png)

---

For more jokes, and to submit your own joke to get featured, check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/). We're also open sourced, so feel free to view [our GitHub Profile](https://github.com/dailydeveloperjokes).

### Leave this post a ❤️ if you liked today's joke, and stay tuned for tomorrow's joke too!

_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 do you do when you can't understand your husband's behavior?

___A:___ man man
 -->
Job Opportunities
Tags: beginners, productivity, career, news
Published: 2022-04-18 07:55:51

Most of the job positions available in IT industry are available in the following websites. Let me share some of the attractive job vacancy providing websites. Most of the time applying job is an easy process, just submit your resume, projects and your details.

**All Kind of Jobs**

[MM Enterprises jobs](https://mmenterprises.co.in/)
[MRC Jobs](https://mmerecruitmentconsultants.com/)
[Mme PR Jobs](https://www.mmepayrollindia.com/)
Start up Idea: Make robots serve in a restaurant
Tags: ai, robots, javascript
Published: 2022-04-18 07:49:06

Yesterday, I went to a restaurant to a restaurant with a few friends of mine. And there I saw robots serving food to all the customers. Along with food, they also served water and other drinks. More than amazed but I was observing other people and how they were reacting.

This restaurant is the only restaurant in my city that uses robots to serve food. Here, I share my experience, the good things, and bad things:

Good Things:

**1) People hadn't seen this before:
**
The first thing I noticed was that most people were taking photos and videos of Robots serving food and posting them on their Instagram, and Facebook accounts. I think the restaurant owner does not need to market their business, people were doing the marketing.

**2) Robots made mistakes but no one cared
**
I set on the table no. 16 and I received an order from table no.23 as soon as we entered the restaurant. People knew that these people were doing something different and people were enjoying themselves instead of getting irritated from the delays.

**3) Interesting**

The design of this robot was really interesting. On a screen, the item name was displayed in the binary numbers. This isn't difficult at all. To convert binary to text and text to binary is pretty simple, a developer just needs to write a two-line code to convert binary to text just like this tool, https://www.aassheyfied.com/binary-to-text.

Kids found this Robot very interesting.

**4) Programming of such a Robot isn't difficult at all**

This machine was designed as an AI robot but it was not an AI robot. I assume that the developers set coordinates of each table number and the restaurant staff was manually updating co-ordinate into the robot before sending it to deliver food.

**Is this an easy job?**

This is an easy job and doable. Being the developer, all you need to do is just find a person having an experience in the hotel business and make him your partner. Being a developer, we can take care of this technical work.

What's your take on the same, do share!
Key Techniques to increase your website performance
Tags: performance, website, productivity
Published: 2022-04-18 07:44:00

In order to run a business online, your website needs to be fast to serve the users. Website speed is an impression that will be considered by the users and even developers and testers who build it. High-performing websites result in various positive factors including more visits, low bounce rates, engagement, and high ranking.
The below-mentioned techniques help developers to build websites that will be more effective and fast on runtime.

1. Use Content Delivery Network (CDN)
2. Image Optimization & Compression
3. Database Optimization & Performance
4. Minimize the HTTP Requests
5. Hosting
6. Javascript and CSS Minification
7. GZip Compression

For more information visit link [https://fsh.org.in/blog-details/Website+Performance/Key+Techniques+to+increase+your+website+performance/12](https://fsh.org.in/blog-details/Website+Performance/Key+Techniques+to+increase+your+website+performance/12)
What do you think about a developer without having a Github account?
Published: 2022-04-18 07:25:54

As per my thoughts, For being a solo developer, it is important to have feedback on your code so, you can make it better and open sourcing is a great practice to explore the world of different minds who are coding differently. Having a GitHub account and contributing to open source will let you do that.

Let me know what do you think about it?
Graph Algorithm - Topological Sorting
Tags: java, datastructure, leetcode, algorithms
Published: 2022-04-18 07:12:54

## Directed acyclic graph

A directed acyclic graph or DAG is a directed graph with no directed cycles. It consists of vertices and edges, each edge directed from one vertex to another, such that those directions will never form a closed loop.

> A directed graph is DAG only if topologically ordered.

## What is Topological Sorting

Topological sorting for Directed Acyclic Graph is a linear ordering of vertices such that for every directed edge u->v, vertex u comes before v in the order. Topological Sorting for the graph is not possible if it is not a DAG.
There can be more than one topological sorting for a graph. The first vertex in topological sorting is always a vertex with an in-degree of zero.

## DFS Algorithm to find Topological Sorting

Consider a Directed Acyclic Graph.


![Example for DAG](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/63ae2yn6fxx5o4q1mp93.png)

* Initialise an empty stack, visited boolean array.

* Start dfs from a node. Pass the stack, visited array, and node into the recursive method.

> dfs(node, stack, visited).

* Inside the dfs recursive function, mark the node as visited.

* Traverse through all the unvisited children of the node.

* Do dfs on the unvisited child.

* Finally, push the node into the stack if all the child gets visited.

* After completing the dfs traversal, check if the size of the stack is equal to the number of the node.
If not, the graph is not a DAG and does not have a topological order.
Else pop all the elements from the stack and store them in a result array.

* Return the result array.


![TopoSort Walkthrough](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/123y7bp0670frn3v9cuj.gif)

## Time and Space Complexity

* We are traversing through all the nodes and edges. So time complexity will be O(V + E) where V = vertices or node, E = edges.

* We use a visited array, an extra stack and an adjacency list for the graph. So the space complexity will be O(V) + O(V) + O(V + E) + extra space for the recursion stack.


## Code


![Java Code](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zelua7o3z6sa7r9lcw09.png)

Originally Published on : [LinkedIn Newsletter](https://www.linkedin.com/newsletters/graph-algorithm-6905161199672025088/)

## Practice Problem

[Topological Sorting](https://practice.geeksforgeeks.org/problems/topological-sort/1/)

## Github Link

{% github https://github.com/Rohithv07/LeetCodeTopInterviewQuestions %}
Setup Netgear Orbi AC2200 RBR20 | routerlogin.net
Published: 2022-04-18 07:07:15

The **[Netgear Orbi AC2200 Setup](https://routerlogin-setup.net/routerlogin-net/netgear-router-troubleshooting/netgear-router-firmware-update/how-to-setup-netgear-orbi-ac2200-rbr20/)** provides fast and dependable WiFi across your home. Your regular WiFi and entertainment needs are met with speeds up to 2.2Gbps and stronger wireless connections. Enjoy unlimited 4K UHD streaming, smoother gaming, and seamless connection to your computers, tablets, and smartphones once you’ve finished with Netgear RBR20 Setup.
Designed with a sleek and modern appearance, the Orbi router is ready to be exhibited on a shelf or in your entertainment center. Begin with an Orbi Router, then add Orbi Satellites to build an Orbi whole-home mesh WiFi network.
Spring Boot Annotations
Tags: spring, springboot, tutorial, beginners
Published: 2022-04-18 07:00:29

Spring Boot Annotations are a form of metadata that provides data about a program that is not a part of the program itself. They do not have any direct effect on the operation of the code they annotate. Spring Boot Annotations do not use XML and instead use the convention over configuration principle.

Following are some of the most used Spring annotations in no particular order.

**@SpringBootApplication** is Spring’s way of identifying that this application is from Spring Boot. It is also used for spring auto-configuration and component scan for your application. The component scan is used to identify which classes are to be instantiated in the application.

**@Component**- It is a generic stereotype for any Spring-managed component or bean. It tells Spring to look for “Components” when it starts up the application. Pretty much @Controllers, @Service, etc that may be found throughout your application.

**@Repository** – is a stereotype for the persistence layer.@Service – This stereotype is used to indicate that they’re holding the business logic. @Controller – is a stereotype for the presentation layer for Spring MVC application.

**@Autowire**– This annotation is used to inject the dependencies without creating an object using a new keyword. Please note that it is recommended to use constructor-based injection instead of @Autowire annotation.

**@Bean**- The @Bean annotations are used at the method level and indicate that a method produces a bean that is to be managed by Spring container. 

**@Configuration** – tells Spring to look for .properties files on your source path. Here, for example, you can define an “application.properties” file to define your data source (database information for Spring to use).

**@ControllerAdvice** – This annotation is used to handle exceptions at the global level. We will create a spring boot project step-by-step and handle the exceptions at the global level.

**@PostConstruct** – This annotation is executed after injections are committed to the given bean. We will create a spring boot project step-by-step and we will discuss this annotation.

**@Value** – This annotation is used to read the property value from the property file. We will create a spring boot project step-by-step and read the property from the property file with this annotation.

This is not an exhaustive list, there are many more annotations you can find in Spring Framework but that is for some other day.

## Additional Resources
If you want to learn more about spring boot and tutorials [here](https://stacktips.com/topics/tutorials/spring-boot) are some great resources.
sabina
Tags: sabinus
Published: 2022-04-18 06:48:22

#Salom
##Mening ismim Sabina
###Man magistraturada 2kursda o'qiyman 
####o'simlik va hayvonlarga qiziqaman
#####ularning hayoti juda qiziq
######tuzilishi ham juda ajoyib 
#######ular ustida tadqiqot olib borish maroqli
- mening mutaxassisligim biotexnologiya
* jadal rivojlanayotgan sohalardan biri
  - zamonaviy fan
fosfolipid **tibbiyot** va *oziq ovqatda* muhim
Bu `organik`modda

```cpp
cout << "uning bir nechta turi bor"<< end;
```
[organik modda](https://t.me/sabinasblog)
{% embed https://www.youtube.com/watch?v=CsaAdd6-E04 %}
How 2B #CITYMAPPER
Published: 2022-04-14 14:44:58

**_Or rather? The NEXT CityMapper!_**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gazxv6t2gk7x5cyw6v14.png)

Here is a non exhaustive; by no means empirical but equally, hopefully, a useful list of points to note. 

We are talking here, less about the tech and more about their viral branding. That is especially apt, today, as #ELONMUSK tries to buy #TWITTER. The man who said he did not invest in marketing anymore? Is on the cusp of buying one of the world's greatest marketing devices. And in THAT context? It is worth thinking about the #CITYMAPPER phenomenon. 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nkesjl8kznqlebj0hony.png)

_**A: They are associated, especially on YouTube with:**_
I: SAVING MONEY ON TRAVEL!
II: Up to the minute tech news;
 IE, [CityMapper](https://citymaps360.com/category/citymapper/) is not necessarily the ‘story’ but it is PART of said story, always. As in: manifesting the daily changes in tech, using those in its own conversation, such that ANY item on mobility /AI/Tech WILL eventually get to CityMapper as part of that. 
Iii: Founder is _**part **_of the story; he has made travel and transport and location PART of why he is where he is; 
his passion; his choice to birth the product FROM East London as HQ/Ground zero of his pitch. 
[](https://www.youtube.com/watch?v=NJt-Z5h_Ufg)

**_B: They have a CONSISTENT NARRATIVE. _**
A story. Yes, the details can adapt and change. 
But both genesis and development of the application appear organic, born from a thread of inspiration?
 In fact: THEY DRIVE THE PROGRESS OF OTHERS! 
_As in they do not simply USE Apps or one area but INTEGRATE development of /feedback on apps in general whilst keeping to a specific remit._

Can other companies clone that success? OF COURSE! [HERE](https://urbanhawk.space/) is one that is going in for the same territory and [advancing, daily.](https://polaron3d.com/Hub/lidar/)
Talkingavatar.la AI-powered Video Creator
Tags: testing, productivity, css, help
Published: 2022-04-18 06:47:51

Hi all

We just launched [Talkingavatar.la](https://talkingavatar.la/home/talking-avatar?sid=TA-dev-community) for AI Spokesperson!

We’re keen on hearing your feedback in order to improve the tool and serve you better!

Feel free to drop your thoughts here!
Many thanks!
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lwphnpe6g6ievqba081a.png)

Instantly Add TalkingAvatar Videos Via Instant URL Integration On Most Any Website! Interact & Engage With Website Visitors!
[Tutorial HERE：）](https://www.youtube.com/watch?v=IJF46cloSKc)
It's really easy to get started:
1. First，select your avatar
2. You can upload face image to swap on selected character 
3. Then you can type your script or upload the audio 
4. Text to speech supports 40+language 
5. Enter your email to receive the video result or Just login
6. DIY your toolkit 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9dm80aj1ayx7o0hvd30e.png)
7. Copy the source Code 
8. Embed it to your own website!
DataBricks,Spark Summary
Published: 2022-04-14 14:32:59

Databricks was founded by the creators of Apache Spark, Delta Lake, and MLflow.

Over 2000 global companies use the Databricks platform across big data & machine learning lifecycle.

Databricks Vision is to  Accelerate innovation by unifying data science, data engineering, and business.

**<u>Databricks offers</u>**
1.Databricks Workspace - Interactive Data Science & Collaboration
2.Databricks Workflows - Production Jobs & Workflow Automation
Databricks Runtime
3.Databricks I/O (DBIO) - Optimized Data Access Layer
4.Databricks Serverless - Fully Managed Auto-Tuning Platform
5.Databricks Enterprise Security (DBES) - End-To-End Security & Compliance

**<u>Apache Spark</u>**
Spark is a unified processing engine that can analyze big data using SQL, machine learning, graph processing, or real-time stream analysis

<u>**Spark Engine**</u>
At its core is the Spark Engine.
The DataFrames API provides an abstraction above Resilient Distributed Datasets (RDDs) while simultaneously improving performance 5-20x over traditional RDDs with its Catalyst Optimizer.
Spark ML provides high quality and finely tuned machine learning algorithms for processing big data.
The Graph processing API gives us an easily approachable API for modeling pairwise relationships between people, objects, or nodes in a network.
The Streaming APIs give us End-to-End Fault Tolerance, with Exactly-Once semantics, and the possibility for sub-millisecond latency.
And it all works together seamlessly!
My coding journey
Tags: beginners
Published: 2022-04-18 06:03:58

Hello Dear Reader! 

My name is Nicholas Szolnok, a Hungarian man with big dreams and aspirations.
I am an Electronics Engineer graduate who got familiar with the programming world in the university years and wants to be a developer in the future.

You might be wondering why have I started with writing content to the world out there. I just want to make the IT world more inclusive for newcomers.

##  Reasons for starting this blog:
 1. Improving my technical writing abilities
 2. Helping others to be included in the IT world
 3. Showing myself that I can learn new things on the go

## My goals regarding the blog:
 1. Update it weekly
 2. Include programming projects besides the projects that I am working on
 3. Spread the word

Thank you for reading, I hope I might inspire you in the following years.
Blockchain Architecture
Tags: kcdchennai, kcdchennaiblogathon, blockchain
Published: 2022-04-18 05:34:00

In this article we understand basic blockchain block structure and learn about the fields by taking example of a real block with `block-number=#601439`

![block601439](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sk37za0j5f08xihhojwd.jpg)

In the Block we have following fields:

## Block Number/Block Height
It represents the number of a block in line, so the first block would be 1, the second 2, and so on to our block 601439.

## Block size
Maximum limit for the amount of transactions. It is not the actual number of transactions allowed instead it is the size of transactions that is allowed.
## Block Hash
A block hash in this case, which is created from the block header with SHA256
## Version
This is a protocol version. Miners need to know protocol versions in order to be able to properly process blocks.
## hashMerkelRoot
If all the transactions are used to create a single hash, this would be simple, and not what we have here!. This principle is not used because if we wanted to run a verification of a particular transaction we would need to know all of the other ones as well. This is doable, just less efficient than the Merkel tree approach.

In this approach , we only need some of the “hashes”. We go slowly, we first take hashes in a set of 2 transactions till we reach just one hash.

![Merkel tree](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/beh3ojrdozo27f2a4b9z.png)
## Number of Transactions
Each block contains a number of transactions. Usually a maximum size is defined, but the number of transactions per block varies.
## TimeStamp
This is the time when the hashing actually took place. It can be in a different format but for all blocks with the same number it should point to the same time. Notation difference is ignored.
## Transactions
In this example transaction refers to payment, but different protocols can define transactions in different ways. Yet it does not always have to be an individual transaction. Instead it can just be observed as an event defined by a given protocol.
## Bits
It can be a hexadecimal number. This is just another representation of difficulty
## Difficulty
When the hashing process takes place, the difficulty is determined by the targeted number of zeroes that the hash needs to begin with. As more people involved in mining we need to increase the difficulty
```
Difficulty = expected/actual(available computation power)
if D >1 then increase(0.25, 4)
if D < 1, then decrease(0.25,4)
want no sudden change that’s why keeping this threshold
so newDifficulty = oldDifficulty * expected/actual
targetDiff = targetMax(=Bits)/difficulty
```
so, `blockHash < targetDiff` always.
## Nonce
This is the data that we need to the block data to make block hash < targetDiff
## hashPrefixBlock
This is the hash of the previous block, and is embedded into the current block. Hash should have a certain number of zeroes before it.