teleren/devto huggingface dataset:
TPA is now on Discord!
Tags: programming, tutorial, community
Published: 2022-03-15 06:32:29

Hello Everyone,
The Polyglot Academy is now on Discord! Hurray!

**Invite Link:** [Discord Invite](https://discord.gg/XKqPZWHAJJ)

### FAQ for helping you get started!

#### What is Discord?
> If you are new to technology, you may not know about the discord. Let us help you with that. Discord is a free voice, video, and text chat app that's used by tens of millions of people ages 13+ to talk and hang out with their communities and friends.

#### About The Polyglot Academy
>The Polyglot Academy is a One-Stop Solution for learning and getting hired in the IT industry. We believe your Hard-work can beat lazy Talents. We mentor your journey with industry professionals and provide experience and certification for your professional training roles.
At TPA you will learn core industrial concepts and then decide on which role you want to excel in your carrier path. Our graduates excel at their jobs and provide team leadership for building products.
Day 16/100; 100 Days of Code
Tags: javascript, beginners, codenewbie, devjournal
Published: 2022-03-15 06:24:53

ok so today I finished my intro to js course! It was completed on codecademy. Not very big in the scope of things but it's fun to celebrate the small victories.

I started a new course on the codecademy site for front-end development. I'll be continuing to apply what I've learned in JS and go deeper into that language. I'll also be learning a bit of HTML and CSS. Today I started on the HTML portion, and I must say it's very streamlined in terms of syntax. 

Definitely easier for me to understand... so far. Hopefully I didn't speak to soon. Anyway see you tomorrow!

oh and since a user almost mistook my title as **100,000** days of code, I'm now separating the numbers with a semicolon. Seems pretty fitting as I am learning javascript haha.
Sharable Link using Vue
Published: 2022-03-15 06:21:25

Hello Readers,

In today’s blog post we will see how we create a sharable link using vue.

Sometimes we need to share a link to another users.

To do that we take the help of javascript’s clipboard which is used to copy the text.

Let’s start creating our sharable link using post example.

First create a new vue component and name it as `SharableLinkComponent.vue` and add the following code.

```javascript 
<template>
  <div>
      <h3 class="my-3">Example to Copy Sharable Link </h3>
        <ul v-for="post in posts" :key="post.id">
            <div class="border shadow-lg border-blue-500 w-1/3 my-2 mx-auto p-4 rounded">
                <li class="my-2">{{ post.title }}</li>
                <li class="my-2">{{ post.body }}</li>
                <li class="my-2"> <a @click="copyLink(post.id)" href="#" class="border border-green-400 bg-green-200 rounded p-1">http://www.ex.com/{{ post.slug }}</a>
                <br>
                <input type="hidden" :value="`http://www.ex.com/${ post.slug }`" :id="`copySharableLink-${post.id}`">
                
                </li>
            </div>
        </ul>
      <input type="text" v-model="shareLink" id="">
      <button></button>
  </div>
</template>

<script>
export default {
    data () {
        return {
            posts: [
                {
                    id: 1,
                    title: 'Post 1',
                    body: 'my first post',
                    slug: 'post-1'
                },
                {
                    id: 2,
                    title: 'Post 2',
                    body: 'my second post',
                    slug: 'post-2'
                },
                {
                    id: 3,
                    title: 'Post 3',
                    body: 'my third post',
                    slug: 'post-3'
                },
                {
                    id: 4,
                    title: 'Post 4',
                    body: 'my fourth post',
                    slug: 'post-4'
                },
            ]
        }
    },
    methods: {
        copyLink(id) {
            let copyText = document.querySelector(`#copySharableLink-${id}`);
            // copyText.setAttribute('type', 'text');
            copyText.select();
            // document.execCommand('copy'); // function is deprecated
            navigator.clipboard.writeText(copyText.value);
            // copyText.setAttribute('type', 'hidden');
        }
    }
}
</script>

<style>

</style>
```

You can also refer working in below sandbox.

{% codesandbox blissful-swartz-oy56c7 %}

Happy Coding.. :heart:
Thank you... :unicorn:
Mind Lab Pro - Brain Power Benefits, Warnings And Side Effects?
Tags: javascript, webdev, beginners
Published: 2022-03-15 06:10:44

[Mind Lab Pro](url) Some trying to grow learned tips on how to increase Brain Power through mental techniques. For instance, can try what is called "mindfulness works out." These techniques a person focus about the things are actually nagging check out page brain.

Because you notice these things, [Mind Lab Pro](url)
 you learn to deal with them, such as making a list of tasks to be done later. This clears the annoyances belonging to the mind and improves your concentration.
[](https://ipsnews.net/business/2022/02/09/mind-lab-pro-is-this-nootropics-increasing-mental-power-and-performance-ingredients-warnings-and-side-effects/)
https://www.youtube.com/watch?v=S5H1d9UAMg0
https://promosimple.com/ps/1cf4c/mind-lab-pro
https://www.completefoods.co/diy/recipes/mind-lab-pro-increase-yor-brain-power-benefits-and-results
https://the-dots.com/projects/mind-lab-pro-mind-power-benefits-price-results-and-side-effects-665392
https://www.emailmeform.com/builder/form/Vqbbfn5WwD60sboFf1ST1v
https://www.facebook.com/Mind-Lab-Pro-105028145482750
https://www.linkedin.com/events/mindlabpro6909358808217624577/about/
https://www.pinterest.com/pin/875035402571657151/
https://www.instagram.com/mindlabpropills/
https://www.scoop.it/topic/mind-lab-pro-by-mind-lab-pro-2
https://twitter.com/mindlabproinfo
https://dsamankya.podbean.com/
https://soundcloud.com/mind-labpro/mindlabproinfo
https://www.crunchbase.com/organization/mind-lab-pro
https://www.crunchbase.com/event/mind-lab-pro-be8b
[Google Camera] GCam APK terbaru untuk Vivo Y75 5G
Tags: gcam, vivoy75, googlecamera
Published: 2022-03-15 05:51:13


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

Vivo Y75 5G merupakan salah satu smartphone yang cukup populer dari kalangan semua ponsel Vivo. Jika Anda memiliki Vivo Y75 5G tetapi kurang puas soal kamera, Anda dapat mencoba GCam atau Google Camera di Vivo Y75 5G. Kami akan memberi tahu Anda cara mendownload dan menginstal GCam APK versi terbaru di Vivo Y75 5G untuk menikmati gambar secara terperinci dan jelas di semua kondisi pencahayaan, Astrophotography, mode malam, lensa blur, mode potret, dan lain-lain.




### Spesifikasi Vivo Y75 5G
Vivo Y75 5G memiliki layar FHD+ yang berukuran 6,58 inci menggunakan panel IPS LCD dengan refresh rate 60Hz. Vivo Y75 5G menawarkan resolusi layar 1080 x 2408 piksel yang memberikan rasio aspek 20:9 dan kerapatan 401 PPI. Dibagian dapur pacu dilengkapi dengan chipset MediaTek Dimensity 700 yang dipadukan dengan prosesor Octa-core, GPU Mali-G57 MC2 dan RAM 8GB, sedangkan penyimpanan internal 128GB.



Vivo Y75 5G dilengkapi dengan modul triple kamera di bagian belakang, yakni kamera utama 50 MP, lensa macro 2 MP, dan depth sensor 2 MP. Sementara bagian kamera depan menawarkan 16 MP. Perangkat ini dapat mengambil gambar cukup baik dalam kondisi cahaya siang, tetapi jika Anda menginginkan foto seperti hasil jepretan dari DSLR, disinilah GCAM akan membantu untuk mengambil gambar tersebut.




Fitur Google Camera Vivo Y75 5G
Fitur Google Camera seperti Super Res Zoom, AR Emojis, Google Lens, TimeLapse, Slow-Motion, Image Stabilization, Astrophotography mode dan Photosphere. Dan juga dilengkapi dengan HDR, HDR+, HDR+ enhanced, RAW, ZSL, Flash, AR Stickers, Night Sight dan mode Portrait.

Ada sedikit kemungkinan bahwa beberapa fitur mungkin tidak berfungsi untuk versi mod ini. Jangan khawatir, silakan menggunakan MOD APK yang lainnya dan mencoba file konfigurasi yang berbeda.

Di bawah ini adalah daftar GCam atau Google Camera Mod APK yang dikembangkan oleh Urnyx05.

GCam: Fitur yang berfungsi?
HDR+ Enhanced
Portrait Mode
Night Sight
Astrophotography Mode
Dan banyak lagi
GCam: Fitur yang tidak berfungsi?
Tidak ada laporan tentang fitur yang tidak berfungsi.

Download dan lihat selengkapnya di :
[https://www.netnaomi.my.id](https://www.netnaomi.my.id/2022/01/gcam-apk-terbaru-vivo-y75-5g.html)
https://rebrand.ly/xcqba4q
https://bit.ly/gcamVivoY75
http://bit.do/GCamAndroid
https://cutt.ly/iA4VWzx
https://tinyurl.com/2p95mbzd
https://rotf.lol/2p8vcb4v
https://tiny.one/2p8567r7

Profil Lainnya
https://github.com/netnaomi02
https://speakerdeck.com/netnaomi
NFT Landing Page Template
Tags: nextjs, javascript, webdev, web3
Published: 2022-03-15 05:39:11

Hey guys I have just added new Template to [DEV.UI](https://dev-ui.vercel.app/)
Check out this [NFT landing Page](https://dev-ui.vercel.app/templates/nftlandingpage)

[Github Link](https://github.com/kumard3/dev-ui-templates/tree/main/template-5)
[Deployed Link](https://oceannft-landingpage.pages.dev/)
An Introduction to Machine Learning Theory
Tags: programming, machinelearning, aidevelopment, ai
Published: 2022-03-15 05:16:46

[Machine Learning (ML)](https://www.spritle.com/services/ai-ml-application-development-services/) is coming into its own, with a growing recognition that ML can play a key role in a wide range of critical applications, such as data mining, natural language processing, image recognition, and expert systems. ML provides potential solutions in all these domains and more, and is set to be a pillar of our future civilization.

**What is Machine Learning?**
Machine Learning is a new trending field these days and is an application of artificial intelligence. It uses certain statistical algorithms to make computers work in a certain way without being explicitly programmed. The algorithms receive an input value and predict an output for this by the use of certain statistical methods. The main aim of machine learning is to create intelligent machines which can think and work like human beings.

Among the different types of ML tasks, a crucial distinction is drawn between supervised and unsupervised learning:

Supervised machine learning:- The program is “trained” on a pre-defined set of “training examples”, which then facilitate its ability to reach an accurate conclusion when given new data.
Unsupervised machine learning:- The program is given a bunch of data and must find patterns and relationships therein.
**
Why Machine Learning?
**To better understand the uses of machine learning, consider some of the instances where machine learning is applied: the self-driving Google car, cyber fraud detection, online recommendation engines — like friend suggestions on Facebook, Netflix showcasing the movies and shows you might like, and “more items to consider” and “get yourself a little something” on Amazon — are all examples of applied machine learning.

**WHAT’S REQUIRED TO CREATE GOOD MACHINE LEARNING SYSTEMS?
**

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

Data — Input data is required for predicting the output.
Algorithms — Machine Learning is dependent on certain statistical algorithms to determine data patterns.
Automation — It is the ability to make systems operate automatically.
Iteration — The complete process is an iterative i.e. repetition of the process.
Scalability — The capacity of the machine can be increased or decreased in size and scale.
Modeling — The models are created according to the demand by the process of modeling.
Now if you want to learn Machine Learning, you can follow these steps:

Start off by learning the types of Machine Learning Algorithms such as:

- Supervised Learning
- Unsupervised Learning
- Reinforcement Learning
- When, you are good with the theoretical concepts of Machine Learning,
 
you can go ahead and implement them using a weapon your choice, such as:

- R
- Python
- SAS
Hope you got some idea about machine learning.Thanks for reading
ethers-multicall项目解读
Tags: ethers, solidity
Published: 2022-03-15 05:14:48

今天给网友推荐了合约multicall调用方式，然后另外一个网友抛出了[cavanmflynn/ethers-multicall: Make multiple Ethereum network requests in a single HTTP query. ethcall for ethers v5. (github.com)](https://github.com/cavanmflynn/ethers-multicall)
并且叫开始那个网友看readme,说这个是一个不一样的东西，所以我稍微做一下代码解读。

ethers-multicall的文档

```
const ethcallProvider = new Provider(provider);

  await ethcallProvider.init(); // Only required when `chainId` is not provided in the `Provider` constructor

  const daiContract = new Contract(daiAddress, erc20Abi);

  const uniswapDaiPool = '0x2a1530c4c41db0b0b2bb646cb5eb1a67b7158667';

  const ethBalanceCall = ethcallProvider.getEthBalance(uniswapDaiPool);
  const daiBalanceCall = daiContract.balanceOf(uniswapDaiPool);

  const [ethBalance, daiBalance] = await ethcallProvider.all([ethBalanceCall, daiBalanceCall]);

  console.log('ETH Balance:', ethBalance.toString());
  console.log('DAI Balance:', daiBalance.toString());
```

主要通过all函数来实现 multicall。
可是all函数是怎么调用的呢，代码在
[provider.ts](https://github.com/cavanmflynn/ethers-multicall/blob/master/src/provider.ts)

```
public async all<T extends any[] = any[]>(calls: ContractCall[]) {
    if (!this._provider) {
      throw new Error('Provider should be initialized before use.');
    }
    return all<T>(calls, this._multicallAddress, this._provider);
  }
```

```
const multicallAddresses = {
  1: '0xeefba1e63905ef1d7acba5a8513c70307c1ce441',
  3: '0xF24b01476a55d635118ca848fbc7Dab69d403be3',
  4: '0x42ad527de7d4e9d9d011ac45b31d8551f8fe9821',
  5: '0x77dca2c955b15e9de4dbbcf1246b4b85b651e50e',
  42: '0x2cc8688c5f75e365aaeeb4ea8d6a480405a48d2a',
  56: '0x1Ee38d535d541c55C9dae27B12edf090C608E6Fb',
  66: '0x94fEadE0D3D832E4A05d459eBeA9350c6cDd3bCa',
  97: '0x3A09ad1B8535F25b48e6Fa0CFd07dB6B017b31B2',
  100: '0xb5b692a88bdfc81ca69dcb1d924f59f0413a602a',
  128: '0x2C55D51804CF5b436BA5AF37bD7b8E5DB70EBf29',
  137: '0x11ce4B23bD875D7F5C6a31084f55fDe1e9A87507',
  250: '0x0118EF741097D0d3cc88e46233Da1e407d9ac139',
  1337: '0x77dca2c955b15e9de4dbbcf1246b4b85b651e50e',
  42161: '0x813715eF627B01f4931d8C6F8D2459F26E19137E',
  43114: '0x7f3aC7C283d7E6662D886F494f7bc6F1993cDacf',
  80001: '0x08411ADd0b5AA8ee47563b146743C13b3556c9Cc',
};
```

做个简单假设，multicallAddresses 中的1，是链的id
ethscan 搜索 0xeefba1e63905ef1d7acba5a8513c70307c1ce441

[Multicall | 0xeefba1e63905ef1d7acba5a8513c70307c1ce441 (etherscan.io)](https://etherscan.io/address/0xeefba1e63905ef1d7acba5a8513c70307c1ce441#code)

我想你会看到的。
作者在不同的链上都部署了multicall合约。
不信你可以多搜索几个试试！
multicall合约代码，我就不给大家解读了，前面有文章提到过。[一个蜜罐合约的解析（二）调用隐藏 | 登链社区 | 深入浅出区块链技术 (learnblockchain.cn)](https://learnblockchain.cn/article/3538)
欢迎大家讨论。
tx.origin、msg.sender有什么不一样
Tags: solidity
Published: 2022-03-15 05:13:06

刚看了篇文章，感觉还可以，分享一下，原文在此：
[tx.origin vs msg.sender. I have been recently playing ethernaut… | by David Kathoh | Medium](https://medium.com/@davidkathoh/tx-origin-vs-msg-sender-93db7f234cb9)

吃过亏的人肯定知道。

**msg.sender:** 指直接调用智能合约功能的帐户或智能合约的地址
**tx.origin:** 指调用智能合约功能的账户地址，只有账户地址可以是tx.origin

再来一张图片：

![16450711251.jpg](https://img.learnblockchain.cn/attachments/2022/02/XyJFUGH5620dcb1e08bda.jpg)

目前不少安全问题都是因为这两个概念理解差异造成的，希望你在写合约的时候用你需要的东西。
Learn Linux
Tags: linux, beginners
Published: 2022-03-15 04:27:57

This post how i learned learn in last one year i installed linux in base os on my laptop you choose a distro is our personal choice 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/kfjwahu675xqc8r05fm0.jpeg)
search on google how to install linux ,and also youtube , how to use Linux.

      1) Terminal shortcuts F11 fullscreen and offscreen ,ctrl+shift + - increase and decrease a fornt size ctrl+l to clear,ctrl+Z for background fg use foreground
      2) learn simple commands cd ,ls,mv,cp,mkdir,rm,touch,
clear,Histroy,how ! to previous command
      3) How to install .deb .rpm , package managers,zip files
      4) move on alias,awk,sed,ps,htop,xarxs and some advance commands
      5) Follow linux forums ,Blogs and linux youtube channels i follow personally learnlinuxtv  https://www.youtube.com/channel/UCxQKHvKbmSzGMvUrVtJYnUA
 linuxhandbook
 https://linuxhandbook.com/
 hacksploit make the video best way to learnlinux ,mention descriptions linuxjourney and linux survival links https://youtu.be/x-3TBVtM0-Y
     6) get deeper on linuxkernel and linux file system,permissions chmod chown usermanagement privileges 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ognaz9wtkep83kjcqrhs.jpeg)
    7)linux networking command 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bm4ycilv23pj0o3tot73.jpeg) 
    8)awesome-linux on github https://luong-komorebi.github.io/Awesome-Linux-Software/ 
    9) ask the help like twitter ,linkedin ,discord,reddit ,forums #linux 
    10) Linux is opensource you learn and edit the kernel and   build cli tools and build your own distro on linux 
linux commands https://gist.github.com/heobay/8431305 
    11) learn cronjob and bash scripting learn shells zsh, bash 
    12) https://youtu.be/e7BufAVwDiM linuxhint blogs
        https://linuxhint.com/

i mentioned how i learned linux i make any mistake and anything feelfree to mention on discussions ..
SQL-Quick tip #4 - Random Int for each row
Tags: tsql, sqlserver, sql, mssql
Published: 2022-03-15 03:44:17

## Sql Server tips and tricks

This is part of a series of quick tips and tricks I have accumulated over the year, that I think can be useful for others.
If you have similar short tips and tricks please leave a comment.

### Random int for each row

If you ever need a random number for each of the rows in your query result then you might think of the RAND() TSql function, but it turns out that this function will return the same value for every row in the result set. The trick to generate a random number for each row is to use the NEWID() and from that calculate the CHECKSUM which we then can turn into a positive number and the calculate the modulus with the maximum random number we want.

The code below show how to create a number between 0 and 24 and another example of how to create a number between 15 and 24.

The calculation of the random int for each row is not very efficient, so you should consider using other more efficient method for generating the random numbers if you need it in production code.
```sql
DECLARE @names TABLE ([Name] VARCHAR(50))

INSERT INTO @names ([Name]) 
VALUES ('Joe'), ('Bob'), ('Anne'), ('Jane')

-- Generate random int between 0 and 24
DECLARE @maxRandom INT = 25
SELECT [Name], CAST(ABS(CHECKSUM(NEWID())) % @maxRandom AS INT) [Random]
  FROM @names

-- Generate random int between 15 and 24
DECLARE @minRandom INT = 15
SELECT [Name], CAST(ABS(CHECKSUM(NEWID())) % (@maxRandom-@minRandom) AS INT) + @minRandom [Random]
  FROM @names
```

![Sql Server Management Studio screenshot](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/pfzf0aj3xrgm471y3phh.png)
Play Tic-Tac-Toe with Friends in AR
Tags: augmentedreality, 3d, ar, cloud
Published: 2022-03-15 03:33:17

![](https://miro.medium.com/max/1272/1*lSvT0ZEA1Im07S10tTOpfA.png)

Here's a simple multiplayer Tic-Tac-Toe demo created with Unity, AR Foundation, and [**echo3D**](http://www.echo3d.co/). The full demo can also be found on echo3D's [GitHub](https://github.com/echo3Dco/Unity-ARFoundation-echo3D-demo-MultiplayerTicTacToe).

![](https://miro.medium.com/max/1184/1*M3xHrzTMoGNt9zeEDQLAcA.gif)

Register
========

Don't have an API key? Make sure to register for FREE at [echo3D](https://console.echo3d.co/#/auth/register).

Setup
=====

*   Clone this project and open in Unity
*   Set your echo3D API key in the echo3D prefab
*   Add the models from the models folder to the echo3D console
*   Add the corresponding metadata from the metadata folder to the model on the echo3D console
*   Update the following variables in CustomBehaviour.cs: `string APIKey` and `string playerName`

Run
===

*   [Build and run the AR application](https://docs.echo3d.co/unity/adding-ar-capabilities#4-build-and-run-the-ar-application).
*   Build two instances of the game, one instance with `string playerName = "o"` and another instance with `string playerName = "x"` to simulate multiplayer

Learn more
==========

Refer to our [documentation](https://docs.echo3d.co/unity/) to learn more about how to use Unity and echo3D.

Support
=======

Feel free to reach out at [support@echo3D.co](mailto:support@echo3D.co) or join our [support channel on Slack](https://go.echo3d.co/join).

Screenshots
===========

![](https://miro.medium.com/max/1316/0*13_tWr0UMKyxl4XL.png)![](https://miro.medium.com/max/1304/0*71-NGysreubidYXn.png)![](https://miro.medium.com/max/1400/0*Kkdd8c7HDBaWYnnR.png)![](https://miro.medium.com/max/1400/0*vEYseCTmnvde-8cU.png)![](https://miro.medium.com/max/1400/0*EIbYai6xhq43k0Ab.png)

***

> _**echo3D** ([www.echo3D.co](http://www.echo3d.co/); Techstars 19') is a cloud platform for 3D/AR/VR that provides tools and network infrastructure to help developers & companies quickly build and deploy 3D apps, games, and content._

![](https://miro.medium.com/max/1400/0*TkpqdE8TLaXW7CiV.png)
Interviewer - Native U.S English Speaking, Some Software Development Knowledge
Published: 2022-03-15 02:20:50

Hi all, this is Matt. I recently started to handle a group of individual developers. Our developers support website and mobile software applications for individual clients, startups or enterprise companies from the U.S.
Our developers live in the U.S, but originally from Europe and Asia. All of us are talented and experienced developers. But they don’t have a native English speaking level. So we have a big bottleneck during the interview with the clients for their projects. We need someone to talk natively in English instead of our members. I want you to help me.
Your Role:
So your role is to do the call with clients by using our team member's name, their skills, and experiences. This is not a representative position. You should "pretend" like him during the interview only.
You will have average 2 ~ 4 interviews with different clients every day and normally each interview will take 30~60 minutes more or less. Of course, we will send all information for you to refer to before the call. You can refer to it before and during the call. You will need to record the interview, we will compensate for your service based on interview hours. The hourly rate is $60/hr and payment terms will be weekly basis. Payment method will be PayPal or Payoneer.
If you think you're fit to this role, please feel free to message me.  My email is superlight1213@gmail.com