teleren/devto huggingface dataset:
ML-Zoomcamp Series
Tags: machinelearning, datascience, python, mlzoomcamp
Published: 2022-09-12 08:03:22

I Recently joined [ML Zoomcamp](https://github.com/alexeygrigorev/mlbookcamp-code/tree/master/course-zoomcamp) to build my ML skills.

These are some things I have learnt, I hope you could learn something too.

Week 1:

- **What's Machine Learning ?**

Machine learning is the ability of machines to pick patterns from data and its features, and use the patterns to make predictions to new data.

`g(x) ≂ y`

- **ML VS Rule-Based Systems(RBS)**

RBS systems involve you identifying every possible scenario and creating a rule for such, this is a very tedious process and is very limited and time-consuming, these rules can instead be used as features to a ML model. The model is trained on a collected data with these features.

- **Supervised ML**

In this type of ML, a model is trained on features (x) and their corresponding target variable (y) or labels.


- **CRISP-DM** (Cross Industry Standard Process for Data Mining)

CRISP is a methodology for organizing ML projects, it's been around for a while now, old but still used. It consists of 6 major steps as shown below..


![The CRISP-DM workflow](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hky0zkzt5wpneqrqzu5f.png)

- **Model Comparison Problem**

When comparing models in your evaluation, be careful, as models can get lucky, so it's advisable to also perform validation and test on each of the models you're comparing to make the best choice.

**Train -> Validate -> Test**

Also had a numpy, pandas and linear algebra refresher. Then was given an assignment to reinforce all this.

You can also follow via this repo [Ugo's ML Zoomcamp](https://github.com/ColeDrain/ml-zoomcamp)
Enjoy Programming-Themed Humor? Here's today's daily developer joke!
Tags: jokes, dailydeveloperjokes, watercooler
Published: 2022-09-12 08:00:05

---
title: "Enjoy Programming-Themed Humor? Here's today's daily developer joke!"
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, #watercooler
---

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/5e125999cc4b1.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 are clouds made of?

___A___: Mostly linux servers.
 -->
Automation
Tags: principles, technology, development
Published: 2022-09-12 07:53:20

Automation is the backbone of what we do. It provides **repeatability**, **reliability**, **scalability**, and **speed**. Four things that allow us to **recover quickly**. It reduces the damage caused by imperfect software, simply because we are able to get everything back up and running quickly and easily. This oversimplifies the benefits of automation, but everyone should understand why this is necessary.

> If something will be done more than once, automate it.

Here are some practical examples:

- From the initial code change/pull request being approved, no human intervention should be necessary to put that change live. It should happen automatically.
- No virtual machine should be deployed by a person following actions defined in a script. It should only take a button press, at most.
- Applications should never require configuration by hand.
- Stop toil. Toil is the kind of work tied to running a production service that tends to be manual, repetitive, automatable, devoid of enduring value, and that scales linearly (or worse) as a service grows.

Automation doesn't remove the human element, it **allows humans to focus** on the right element and stop performing trivial, tedious and error-prone work.
Newest Experience of Server Side development. Awesome React framework ✨
Tags: javascript, typescript, react, nessjs
Published: 2022-09-12 07:37:41

## **Today I will tell you what to use in 2022 for two-way rendering (server-client).**

**But first, let's look at an example of where and why we might need it.**

_Let's imagine a situation where your customer needs to create a modern blog or e-commerce application and then you are faced with the problem that search robots do not understand what information to provide them for analytics._

For this, various frameworks were created, for example Next.js. We will discuss one of them and consider an example of its performance.

**Meet a brand new innovative and awesome framework - [Ness.js](https://github.com/leroywagner/Ness.js)**

And unlike the same Next.js and is not dependent on redux strore, will allow you to use all the features built into React.js

## What is the Ness.js and what does is it means?

The idea of creating this framework was to take all the useful things from similar JavaScript solutions that are most needed and provide them in a more extensive and convenient way to use. We allow you to create modern SSR applications and give you the ability to change and add everything you need to the core in a simple and concise way.

*Ness.js stands for: Newest Experience of Server Side development. That's means that you will be able to fetch data directly from client side components and provide anothers from server entrypoint.*

## Templates and boilerplates

We have a list of templates that you can use when creating a new application with our CLI. For example `typescript` or any other template you are interested in. [See more.](/docs/templates/into)

## Plugins usebilite

We have a huge list of plugins, that will help's you using modern techniques such as SASS or Stylus. Of course, you also may use your own plugins from local folder application, so you don't need to waste time on configuring them. [See more.](/docs/plugins/your-own-plugin)

## In what situations will it suit me?

You will like our framework, for example, if you need to create an online store or a large CRM system, you will not need to use different programming languages or frameworks (for example, Django). Everything you need is available here.

Source: [https://nessapp.vercel.app/docs/intro](https://nessapp.vercel.app/docs/intro)
How To Build NFT Marketplace With Aid of An NFT Marketplace Creator
Tags: nftmarketplacecreator, nftmarketplace, nft, nftmarketplacedevelopment
Published: 2022-09-12 07:35:58


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

## What Is An Non-Fungible Token?

Non-Fungible tokens are virtual tokens just like cryptocurrencies. Cryptocurrencies are basically some piece of code that is used in a special manner to build virtual currencies. Similarly, Non-Fungible tokens are also some pieces of code that represents real-life things like painting, game, songs, etc. These are distinctive and non-transferable digital records. These can be simply developed and sold on a specific marketplace platform. This platform is called the NFT Marketplace platform. It is open to everyone, anyone can simply come to this platform to create, buy and sell NFTs. It can be built with aid of _[NFT Marketplace development](https://webkul.com/nft-marketplace-development-services/)_ services.      

## What Exactly Is An NFT Marketplace?

If you want to sell or buy something, you will have to find a seller. A place with various e-shoppers is called a Marketplace. Similarly, an online or virtual marketplace wherein you can find various NFT buyers and sellers is called an NFT Marketplace. There are various marketplaces in real life wherein people can find various sellers. Similarly, there could be various NFT Marketplaces too. There are some business-minded people who want to start their businesses in NFT. So they get in touch with NFT Marketplace creators like Bagisto. It is a well-known _[NFT Marketplace creator](https://bagisto.com/en/develop-your-own-nft-marketplace-to-stay-competitive-in-crypto-world/)_ that has served various local and international clients. Its hands-on experienced and the team of highly skilled & certified developers is the main attraction of this NFT Marketplace builder. This builder assures the hassle-free minting and trading of NFTs. An NFT Marketplace can be built with the help of blockchain technology. This technology aids to maintain transparency & immutability in the trading process.                

## How To Develop Your Own NFT Marketplace

_[PHP NFT Marketplace Script](https://webkul.com/blog/laravel-nft-marketplace-module/)_ can help to build an NFT Marketplace. NFT Marketplace development is too easy, you just need to follow a few steps. Firstly, you need a business model and then follow a very easy process which is written below.     

- Understand and Select Your Niche
- Use Technology For Your NFT Marketplace
- Decide The UI/UX Design For Your NFT
- Validate And Release NFT Marketplace
- Find Estimated Price To Launch NFT Marketplace
Cara Trading Crypto Bagi Pemula
Published: 2022-09-12 07:13:07

Bagaimana Cara Trading Crypto bagi Pemula?

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/c4ucdg5cleg881ba7wzq.jpg)
Memilih aplikasi trading crypto yang legal.
Perhatikan syarat depositnya.
Memilih koin atau token [crypto ](https://www.maincrypto.my.id/2022/09/cara-trading-crypto.html)yang Anda senangi.
Lakukan transaksi beli terlebih dulu.
Belajar analisis teknikal untuk mengambil keputusan tepat.
Lakukan pemantauan secara berkala.
Microsoft Azure Training in Electronic City Bangalore
Tags: microsoft, azure, javascript, beginners
Published: 2022-09-12 07:01:34

**eMexo Technologies** [Azure Certification course in Electronic City Bangalore](https://www.emexotechnologies.com/courses/microsoft-azure-training-course/) is fully compliant with industry requirements. Candidates will learn core concepts, upcoming trends, and best practices for working with Azure architecture. He makes sure that he is ready to take on project work offered by multinational companies. The Azure Certification Program helps an individual qualify as a top-notch, efficient Azure professional. Hands-on tasks and numerous final projects are intended to give candidates hands-on experience.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/l05y5z5joy3gflzzal8z.jpg)
The course begins with an overview of the Azure platform. It narrows down to individual concepts such as cloud technologies, the Azure landscape, deploying with Azure, developing Azure solutions, virtual machines, and storage.


Azure certifications are required certifications that all candidates want to achieve in order to excel in the Azure domain. Validates the efficiency level of cloud professionals to develop the skills necessary to enable organizations to build effective teams for cloud initiatives using Azure. Qualified professionals are in high demand, and that's what Azure Certification courses offer.
 
#MicrosoftAzureCertificationTrainingInElectronicCityBangalore #MicrosoftAzureTrainingInElectronicCityBangalore #MicrosoftAzureTrainingInstituteInElectronicCityBangalore #MicrosoftAzureCertificationInElectronicCityBangalore #MicrosoftAzureTrainingInElectronicCity #MicrosoftAzureCertificationInElectronicCity #Azure #CloudComputing #Training #Course #Bangalore #ElectronicCity #eMexoTechnologies #AzureCertificationTrainingInElectronicCityBangalore #AzureTrainingInElectronicCityBangalore #AzureTrainingInstituteInElectronicCityBangalore #AzureCertificationInElectronicCityBangalore #AzureTrainingInElectronicCity #AzureCertificationInElectronicCity
Web3: smart contract
Published: 2022-09-12 07:00:21

---
title: Web3: smart contract
published: true
description: A short introduction of smart contract
tags: 
over_image: https://token-information.com/de/wp-content/uploads/sites/5/2021/11/smart_contract_was_ist_das_header.jpg
# Use a ratio of 100:42 for best results.
---
In web3, we store a contract, an actual agreement, and this doen't just meana digitalized PDF. It it a mini program with a predefined list of rules to very specifically control the business transactions. And what makes a smart contract smart is that once on the blockchain, it will be executed automatically, based on those rules. Because smart contact is written in code, it requires no intermediary to make them happen, they're fully automactic. Like the other things in blockchain, once it's placed there, it can't be changed.

> **IBM** "Smart contracts are digital contracts store on a blockchain that are automatically executed when predetermined terms and conditions are met. They typically are used to automate the execution of an agreement so that all participants can immediately certain of the outcome without any intermediary's involvement or time loss."
<https://www.ibm.com/topics/smart-contracts>


> **Microsoft** "a smart contract is a program that's stored inside a blockchain. Smart contracts extend blockchain from data to code. They represent an agreement between parties. The agreement is coded, and when an action happens, the code runs and provides a response. All of the terms and conditions of the contracts are programmatically defined. ... Smart contracts run on their own, send events that trigger state transistions, and call functions. They're pefect for blockchain technology because they allow people who don't know one another to do business in a securely specified way that requires no middleman. ... Smart contracts are most commonly used with Ethereum. It allows smart contacts to be defined to help facilitates the transfer of digital assets, like ether."
<https://docs.microsoft.com/en-us/training/modules/blockchain-solidity-ethereum-smart-contracts/2-smart-contracts>
> 

> **wikipedia** "A smart contract is a computer program or transaction protocol that is intended to automatically execute, control or document legally relevant events and actions according to the terms of a contract or an agreement. The objectives of smart contracts are the reduction of need for trusted intermediators, arbitrations costs, fraud losses, as well as the reduction of malicious and accidental exceptions. Smart contracts are commonly associated with cryptocurrencies, and the smart contracts introduced by Ethereum are generally considered a fundamental building block for decentralized finance(DeFi) applications." <https://en.wikipedia.org/wiki/Smart_contract>
Oh my posh for Windows (2021 guide)
Tags: terminal, customisation, ohmyposh, programming
Published: 2022-09-12 06:55:42

## Step 1: Install powershell from microsoft store. Click [here](https://www.microsoft.com/store/productId/9MZ1SNWT0N5D).

## Step 2: Download and install Nerd font. Click [here](https://www.nerdfonts.com/font-downloads)

## Step 3: Choose the nerd font you installed.
![Nerd font](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4bvhd0pk150jfnqa1tw7.png)

## Step 4: Open Powershell as administrator and paste the following lines and choose yes to all.
`Install-Module posh-git -Scope CurrentUser
Install-Module oh-my-posh -Scope CurrentUser
Install-Module -Name Terminal-Icons -Repository PSGallery `

## Step 5: Go to my Documents and look for a file named _Microsoft.PowerShell_profile.ps1_. If it doesn't exist create one.

## Step 6: Paste the following lines in the file. 
`oh-my-posh init pwsh --config "$env:POSH_THEMES_PATH\night-owl.omp.json"| Invoke-Expression
Import-Module -Name Terminal-Icons
oh-my-posh init pwsh --config "THEME PATH" | Invoke-Expression`

## Step 7: Paste the following line in terminal window.
`Get-PoshThemes`.

## **Ignore any errors**.

## Close and reopen terminal. You're all set!!
System Design: N-tier architecture
Tags: distributedsystems, architecture, tutorial
Published: 2022-09-12 06:49:18


N-tier architecture divides an application into logical layers and physical tiers. Layers are a way to separate responsibilities and manage dependencies. Each layer has a specific responsibility. A higher layer can use services in a lower layer, but not the other way around.

![n-tier-architecture](https://raw.githubusercontent.com/karanpratapsingh/portfolio/master/public/static/courses/system-design/chapter-III/n-tier-architecture/n-tier-architecture.png)

Tiers are physically separated, running on separate machines. A tier can call to another tier directly, or use asynchronous messaging. Although each layer might be hosted in its own tier, that's not required. Several layers might be hosted on the same tier. Physically separating the tiers improves scalability and resiliency and adds latency from the additional network communication.

An N-tier architecture can be of two types:

- In a closed layer architecture, a layer can only call the next layer immediately down.
- In an open layer architecture, a layer can call any of the layers below it.

A closed-layer architecture limits the dependencies between layers. However, it might create unnecessary network traffic, if one layer simply passes requests along to the next layer.

## Types of N-Tier architectures

Let's look at some examples of N-Tier architecture:

### 3-Tier architecture

3-Tier is widely used and consists of the following different layers:

- **Presentation layer**: Handles user interactions with the application.
- **Business Logic layer**: Accepts the data from the application layer, validates it as per business logic and passes it to the data layer.
- **Data Access layer**: Receives the data from the business layer and performs the necessary operation on the database.

### 2-Tier architecture

In this architecture, the presentation layer runs on the client and communicates with a data store. There is no business logic layer or immediate layer between client and server.

### Single Tier or 1-Tier architecture

It is the simplest one as it is equivalent to running the application on a personal computer. All of the required components for an application to run are on a single application or server.

## Advantages

Here are some advantages of using N-tier architecture:

- Can improve availability.
- Better security as layers can behave like a firewall.
- Separate tiers allow us to scale them as needed.
- Improve maintenance as different people can manage different tiers.

## Disadvantages

Below are some disadvantages of N-tier architecture:

- Increased complexity of the system as a whole.
- Increased network latency as the number of tiers increases.
- Expensive as every tier will have its own hardware cost.
- Difficult to manage network security.


---

_This article is part of my open source [System Design Course](https://github.com/karanpratapsingh/system-design) available on Github._

{% github karanpratapsingh/system-design %}
System Design: Database Federation
Tags: distributedsystems, architecture, tutorial
Published: 2022-09-12 06:48:50


Federation (or functional partitioning) splits up databases by function. The federation architecture makes several distinct physical databases appear as one logical database to end-users.

All of the components in a federation are tied together by one or more federal schemas that express the commonality of data throughout the federation. These federated schemas are used to specify the information that can be shared by the federation components and to provide a common basis for communication among them.

![database-federation](https://raw.githubusercontent.com/karanpratapsingh/portfolio/master/public/static/courses/system-design/chapter-II/database-federation/database-federation.png)

Federation also provides a cohesive, unified view of data derived from multiple sources. The data sources for federated systems can include databases and various other forms of structured and unstructured data.

## Characteristics

Let's look at some key characteristics of a federated database:

- **Transparency**: Federated database masks user differences and implementations of underlying data sources. Therefore, the users do not need to be aware of where the data is stored.
- **Heterogeneity**: Data sources can differ in many ways. A federated database system can handle different hardware, network protocols, data models, etc.
- **Extensibility**: New sources may be needed to meet the changing needs of the business. A good federated database system needs to make it easy to add new sources.
- **Autonomy**: A Federated database does not change existing data sources, interfaces should remain the same.
- **Data integration**: A federated database can integrate data from different protocols, database management systems, etc.

## Advantages

Here are some advantages of federated databases:

- Flexible data sharing.
- Autonomy among the database components.
- Access heterogeneous data in a unified way.
- No tight coupling of applications with legacy databases.

## Disadvantages

Below are some disadvantages of federated databases:

- Adds more hardware and additional complexity.
- Joining data from two databases is complex.
- Dependence on autonomous data sources.
- Query performance and scalability.


---

_This article is part of my open source [System Design Course](https://github.com/karanpratapsingh/system-design) available on Github._

{% github karanpratapsingh/system-design %}
Javascript Console Methods
Tags: javascript, webdev, programming, beginners
Published: 2022-09-12 06:41:19

There are various console methods in javascript which can be used based on how you want the display to be shown.


- **console.dir()**

This method displays an interactive list of all the properties of a specified object.
If you want to log all the properties of a HTML element you can use console.dir instead of console.log

- **console.table()**

This method displays tabular data as a table.
The method takes 1 mandatory argument data, which must be an array or an object.
Each element in the array becomes a row in the table.

- **console.group()**

If you have a lot of logs it can be difficult to keep track of all these logs.
The console.group() creates a new inline group in the Web console log causing any subsequent console messages to be indented by an additional level untill console.groupEnd() is called

- **console.time()**

This method starts a timer you can use to track how long an operation takes.
You can give each timer a unique name and you can have upto 10000 timers running on a given page.
When you call console.timeEnd() with the same name the browser will output the time in millisecons, that elapsed since the timer was started

- **console.count()**

This logs the number of times the particular call to count() has been called.
A string if supplied, count("<String>") outputs the number of times it has been called with that label.
If it is omitted count() behaves as thought it was called with the "default" label.

- **console.assert()**

This method writes and error message to the console if the assertion is false.
If assertion is true nothing happens
Eg) console.assert(assertion, message, obj1, obj2, ...)

- **console.log()**

This is used to output a message in console

- **console.clear()**

This is used to clear the console if it is allowed by the environment

- **console.error()**

Outputs an error message to the console.

Thanks for reading ❤️

Connect with me via [Twitter](https://twitter.com/Dhanush_Nehru), [Instagram](https://instagram.com/Dhanush_Nehru), [Github](https://github.com/dhanushnehru)