teleren/devto huggingface dataset:
AzureFunBytes - 1:1 Guest Stream: Azure Fundamentals and Microsoft Learn
Published: 2020-06-15 16:22:41

EXTRA STREAM! 

This week we have an extra stream with guest, [Mike Giralico.](  https://www.linkedin.com/in/mike-giralico-00741674/)  

Mike's taken on the [Azure Fundamentals learning path](https://cda.ms/1kb) on Microsoft Learn. We'll go through a module together and talk about some of the foundations of Azure he's learned about. We talk about some hardcore punk music, our history of online community and what's next for Mike.

{% youtube Dv2yil4GUz4 %}

You can always be part of the stream just like Mike! Reach out on Twitch or Twitter:

https://twitch.tv/azurefunbyes
https://twitter.com/azurefunbytes

Links for you!

[Introduction to the core Azure Storage services](https://cda.ms/1k4)

[What is Azure Blob storage?](https://cda.ms/1k5)

[Introduction to Azure managed disks](https://cda.ms/1k6)

Microsoft Learn: [Core Cloud Services - Azure data storage options](https://cda.ms/1k8)

Microsoft Learn: [Azure Fundamentals](https://cda.ms/1kb)

[Microsoft LearnTV](https://cda.ms/1kc) 24*7 streaming Azure content

[Get $200 in free Azure credit along with 12 months of free services](https://cda.ms/1k9)

Watch live at https://www.twitch.tv/azurefunbytes
How to Use Implicit, Explicit, and Fluent  Wait with Selenium?
Tags: testing, tutorial, beginners, webdev
Published: 2020-06-15 16:20:12

✅Join us - https://sendfox.com/thetestingacademy

In this video, We are discussing Waits in Selenium or Different Types of Waits in Selenium.
- Implicit wait in selenium.
- Explicit wait in selenium.
- Fluent wait in selenium

[![Waits in Selenium](https://i.imgur.com/RuFdaBW.png)](https://youtu.be/cZW8UYCACs0 "Waits in Selenium") 

🚀 Day 13 Task :  Waits in Selenium
🚀 Thread :  https://scrolltest.com/automation/day13
🚀 All Task List : https://scrolltest.com/automation/task
🚀 Watch Full Playlist : https://scrolltest.com/automation/playlist

✅ Implicit wait in selenium
 - Implicit wait is used to set a default wait time (say 20 secs) in your automation script to wait for an  element on the page.
 - Features
   - Once implicit wait is set, it is applicable for the whole automation script.
   - Default wait time for Implicit wait is 0 secs.
   - Webdriver throws "No Such Element Exception" if element is not found in specified time.
   implicit wait is the maximum time set between two steps/commands of the automation script.
  Syntax
    ```java
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
```

✅ Explicit wait in selenium
  - Explicit wait can be called as conditional wait. It tells the WebDriver to wait for certain conditions before maximum time exceeded.
  - Features
   Explicit wait is intelligent wait, as it waits certain conditions
   It provides a better approach to handle dynamic ajax elements.
   WebDriver throws "ElementNotVisibleException" if explicit wait fails.
   It applies to only single element and not to whole script.
   Explicit wait is the best way to replace Thread.sleep() 
  Syntax
 ```java
 // Explicit Wait
   
 WebDriverWait wait = new WebDriverWait(driver, 10); 
    wait.until(ExpectedConditions.alertIsPresent());
 ```
  
✅ Fluent wait in selenium
Fluent wait is kind of conditional wait but with frequency. 
It means fluent wait is used to wait for a condition with a regular frequency/time interval to be checked before throwing "ElementNotVisibleException".
Features
   ElementNotVisibleException is element not found
    it will check after every 5 secs for the element X
Syntax
   
```java
//Fluent Wait
   
Wait wait = new FluentWait(WebDriver reference)
      .withTimeout(timeout, SECONDS)
      .pollingEvery(timeout, SECONDS)
      .ignoring(Exception.class);
   
WebElement foo = wait.until(new Function() {
     public WebElement apply(WebDriver driver) {
      return driver.findElement(By.id("foo"));
     }
    });
```

--
Be sure to subscribe for more videos like this!

[![ TheTestingAcademy](https://dev-to-uploads.s3.amazonaws.com/i/r7vcy6wbvyjbk1y1uu0o.png
)](https://www.youtube.com/TheTestingAcademy?sub_confirmation=1 "TheTestingAcademy")
Making Plausible analytics ready for selfhosting
Tags: privacy, opensource, docker, elixir
Published: 2020-06-15 16:18:18

It has been more than few years since I have written any blog post or even made any meaningful contribution to an opensource project. Recently, I have stumbled across an opensource project, [Plausible Analytics](https://github.com/plausible/analytics), that was centered around protecting user's privacy. 

Since this is exactly what was I was searching _before_ I started even blogging. I started exploring further and found that it has no support for docker-based hosting. Since this is my _forte_ I started tweaking and lo and behold the project has now a _Self Hosting_ capability. 

{% twitter 1271477365730918400 %} 

I recommend everyone who are still thinking to contribute to an opensource project to go ahead and make that first pull/merge request. It can't hurt! 🙌 

---
Original blog post about the same can be found here https://tckb.tgrthi.me/plausible-analytics/
are frameworks/CMSs a good starting point for beginners ?
Tags: discuss
Published: 2020-06-15 16:15:18

---
title: are frameworks/CMSs a good starting point for beginners ?
published: true
description:    
tags: discuss
---

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ry7n3wchcuhoedt28pk2.jpeg)
For my personnel opinion i think learning frameworks and CMS is an inconvenient option for people who are new in the world of coding .
frameworks often came with already written code , whats makes things super easy ,this will lead a beginner to become more dependent and not so creative , besides they won't be able to understand what is really happening behind the scenes, instead , learning pure programming language from the zero level is the best starting point . struggling with logic operators , memory handling , data structures, functions, pointers etc . All this provide a solid base that can help later to have a mush more cleaner view . So what are your thoughts about that ?
Week 2 into Lambda School
Tags: webdev, bootcamp, training, newb
Published: 2020-06-15 16:15:13

So, week two at Lambda Schools is done. I did a buildweek bootcamp this weekend and learned the basics to JavaScript. This included basics functions, arrays, and object-oriented programming.

I have to say that this is the farthest that I have ever made it learning JavaScript. While, I was trying to do the "learn on your own" method I would always give up right around the time the concepts started to become semi-difficult. HTML and CSS are fun to learn, because you can see the result of your progress happening immediately, but JavaScript is so much more involved.

The structure behind Lambda Schools (having to be at the computer during class time and the 2hr lectures you have to be present for) kept me pushing along and I was able to fully grasp how objects, arrays, and functions are all useful. I was able to understand scope and closures.

Coming to Lambda still remains the best decision I have made to advance my skills and understanding of full stack web-development. This was a big milestome for me to finally be able to grasp these topics I have started to learn and give up on so many time before. 

So, know 2 weeks into Lambda School I can honestly say that I have a great understanding and working knowledge of HTML and CSS. I also have a solid foundation of the concepts and utilization of JavaScript variable scope, hoisting, and decleration; data structures and types, for loops, while loops, if...else statements, objects, key:value pairs, arrays, defining functions, and calling functions.

These are all topics I never thought I would come to truely understand. I thought I would be a script kiddie my whole life and in just the past week I have come to understand their uses and actually love the topics. And just to think this is only the tip of the iceberg.
WhatsApp Clone
Tags: octograd2020, showdev, devgrad2020
Published: 2020-06-15 16:12:04



## My Final Project
WhatsApp Clone


## Demo Link:
[The WhatsApp Clone](https://whats-app-clone--oreolad2.repl.co/)
 

## Link to Code:
[My Code](https://github.com/OreOlad/What-sApp-Clone.git)


## How I built it:
It was pretty simple. It's just a clone and it doesn't have very many capabilities. I used jQuery alongside some vanilla JavaScript, CSS, and Html. 


## Additional Thoughts 
This is my last project before the school year ends, hope you all think it's good!
Tutorialist – Collection of free software development tutorials
Tags: showdev
Published: 2020-06-15 15:57:51

Hi there,
For the last two months, I've been working on this project and finally, the initial version is out!

https://www.tutorialist.io/

It's a collection of free software development tutorials from YouTube and a UI to help you learn better - lists, progress tracking, notes (not implemented yet), etc.

I would love any feedback on it and I hope it could be useful to some of you =)
The code on mobile challenge
Tags: webdev, android, codenewbie, challenge
Published: 2020-06-15 15:49:40

Cover image credits : me 😅
In my last post, I talked about how to install Vscode on android. For sure, it's not a comfortable experience and that's why I don't use it in my everyday development. Why ? I don't have a PC. But I am totally fine with that, I am used to coding on mobile. 
I've done this for over a year now and it continues to make me smile (after a successful build 😁). 

I use the android operating system for that, the reason is obvious - iOS is completely private to Apple . Due to that, there are many apps I use for building my apps on it. I can build android apps, web apps/websites and run all kinds of programs on it. 

## Where am I heading to with this post

I just started the _#100DaysOfCode_ challenge about 1.5 months ago and I am happy to be near the end. 99% of what I build during the challenge was with my phone. As such, last week I had the idea "*why no have a challenge for that*"?. Yeah why not. So I will like you to take the challenge and setup some Dev environment in your Android device and build something with it. You are free to use any language you wish and any app of your choice. Below I have a list of some of the awesome android apps I know (with their purpose).

- [AIDE](https://play.google.com/store/apps/details?id=com.aide.ui) (Used to build android apps and Java programs)

- [Termux](https://play.google.com/store/apps/details?id=com.termux) (You can do anything with it. I especially like it for using NodeJS and Golang, C/C++ compiler and GitHub git usage)

- [Spck Editor](https://play.google.com/store/apps/details?id=io.spck) (The best frontend code editor you'll find on the playstore. It comes with a console for running JavaScript and you can save your work to a version control like GitHub. - The main drawback is : you cannot access the files from your file explorer. Please send an issue (feature request) so they add it )

Let's see what you'll build. Let your comments do the magic 😋

Follow me on [Twitter](https://twitter.com/JosiasWing?s=09) throughout my first journey
Introducing The QuickTip Series
Tags: showdev, quicktip, computerscience, opensource
Published: 2020-06-15 15:46:18

N number of quick tips and tricks tutorials and blogs already exist on the internet and on Dev.to. 
And, here I present to you yet another N+1th series? Aw, yeah!

This series will consist of tricks that I keep using during my daily work and I believe could prove useful to you as well.

The tutorials/QuickTips would mostly contain to-the-point information without any pep talks. And they may not be in any planned order. You see, they're random!

**Articles:**

{% post https://dev.to/sujitagarwal/quicktip-to-do-codereview-4bdl %} 
{% post https://dev.to/sujitagarwal/quicktip-css-borders-v-s-outline-1h7k %} 

Keep watching this space for more articles to come! :-)
Build the 2048 game in JavaScript
Tags: javascript, tutorial
Published: 2020-06-15 15:43:37

In this walkthrough, we make the very popular game 2048 in JavaScript, HTML and CSS! No canvas required!  (Now with more accurate subtitles for programmers)

Rules of 2048:
2048 is played on a 4×4 grid, with numbered tiles that slide smoothly when a player moves them using the four arrow keys. Each time you slide, a new tile will randomly appear in an empty spot on the board. Tiles slide as far as possible in the chosen direction until they are stopped by either another tile or the edge of the grid. If two tiles of the same number collide while moving, they will merge into a tile with the total value of the two tiles that collided. The resulting tile cannot merge with another tile again in the same move. 

Tools and Software I used in this video:
TabNine By Codota: https://bit.ly/Codota
VSCode: https://bit.ly/VSCode-Editor

By creating this popular game we will learn the following javaScript Methods:
- querySelector()
- getElementById()
- createElement()
- appendChild()
- push()
- Math.floor()
- Math.random()
- length
- innerHTML
- parseInt()
- filter()
- Array()
- fill()
- concat()
- keyCode
- addEventListener()
- removeEventListener()
- setTimeout()
- clearInterval()
- setInterval()

If you did like this video, please do Like and Subscribe so I know to make others like this!

I would love to see what you have made so please do share your finished games with me on twitter! My handle is @ania_kubow.

{% youtube aDn2g8XfSMc %}
Be on the safe side with assert 😉
Tags: python, productivity, webdev, tutorial
Published: 2020-06-15 15:38:15

>Originally published at https://stacktrend.io

We all have faced that situation when there was a bug in someone else's code or a third-party library and as a result your production build failed to deploy. The reasons are endless, it may be due to a non-declared method, class, or even due to the data type of the variable.

Python provides an inbuilt solution for this and it's known as **assert**.

## What is assert ?

Assert is an **inbuilt statement** in python and provides a very convenient way to have debugging tests in the program itself.

Using assert you test a condition and the result of that condition is responsible for immediately throwing an error if the condition returns false which will result in the immediate stopping of execution of the code any further.

## So how do you use it ?

Since assert is a statement it can be simply used as

```py
assert the_condition
```

this test can also be expressed with the help of the following code

```py
if not the_condition:
    raise AssertionError()
```

Let us see what it does, we'll take two code bases for simulating the situations in real life.

* First one is the Library code.
* Second one is your code in which you import and use that library code.

We'll take a basic example just to keep the things simple.

### Library code

```py
# animals.py

class Dog:
    def bark(self):
        return "Bhow Bhow .... Bhow"
```

### Your code

```py
# pug.py

from animals import Dog

assert hasattr(Dog,"barks"), "The library code is broken fix it now"

class Pug(Dog):
    def walk(self):
        return self.barks()

if __name__ == "__main__":
    print("Inside main")
```

### The Result

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/mcfczoq3uaa4oilxlpb0.png)

You can see here we have got the same error that we have provided in the assert statement, also observe that the assert was tested even before the 

```py
if __name__ == "__main__":
    print("Inside main")
```

block got executed. This shows the real advantage of **assert** statement and why should you use it to become a better developer.

I hope you learned something new & useful from this post & don't forget to join our Newsletter.

See you again (⌐■_■)
Setting up an Express Server
Tags: express, javascript, node, tutorial
Published: 2020-06-15 15:35:22

For this one, we'll go through how to set up a basic express server.  Express is a web application framework for Node JS and is commonly used in a lot of projects!

For more information, check out the documentation:  https://expressjs.com/

If you'd like to see more of my videos, [head over to Youtube!](https://www.youtube.com/channel/UCWaB4SBBUCvhYb91fz5Vidg) 

A follow/sub comes a long way to show support! 🙏

Follow and connect with me on:
----------------------------------
🐦 Twitter: https://twitter.com/coderarchive
📚 Github: https://github.com/luvuong-le
💼 LinkedIn: https://www.linkedin.com/in/lu-vuongle/
📷 Instagram: https://www.instagram.com/coderarchive/
📝 Dev.to: https://dev.to/coderarchive
VimTrick: Moving Splits
Tags: vim
Published: 2020-06-15 15:29:14

Another Monday means another [VimTrick](https://vimtricks.com/p/vimtrick-moving-splits)!

You may be familiar with Vim’s split capability which allows splitting your screen vertically, horizontally, or both. (If not, see `:help split` for an overview.) Once you have split your screen, how can you rearrange your splits? It’s easy with `ctrl-w`:

- `ctrl-w J` moves the active to the top

- `ctrl-w H` moves the active split to the left

- `ctrl-w K` moves the active split to the bottom

- `ctrl-w L` moves the active split to right

- `ctrl-w r` rotates splits to the right/down

- `ctrl-w R` rotates splits to the left/up

Here’s a short screencast showing a screen split into 3 horizontal splits:

![Vim split moving](https://dev-to-uploads.s3.amazonaws.com/i/g0sad9qv5inwq24ixfcg.gif)

In the screencast, we have focus in the top split. First, use `ctrl-w r` to rotate the splits down/right which moves our in-focus split to the middle. We repeat `ctrl-w r` to rotate again and our split is on the bottom. Next, we use the opposite movement: `ctrl-w R` to rotate up/left, which we again repeat to reposition our split at the top. Last we use `ctrl-w J` to move our split all the way to the bottom, which accomplishes the same thing as `ctrl-w r ctrl-w r`, but in one less keystroke.

This is really just scratching the surface of split movements and actions, but this one trick can really help reorganize your screen for maximum efficiency. I'm publishing a twice-weekly newsletter called [VimTricks](https://vimtricks.com) if this sort of thing is interesting to you.
Código único com NanoID.net
Tags: csharp
Published: 2020-06-15 15:27:25


Nas suas aplicações, quantas vezes você já precisou de um código único? Seja para identificar um cadastro, um produto no pedido, etc?

O GUID é confiável, mas tem um tamanho exagerado, não? Podemos concordar que ele é ininteligível e difícil de decorar?

Pois bem, encontrei uma alternativa que gostaria de compartilhar: [HASH-ID[(https://hashids.org/).

Uma biblioteca openSource que tem implementações em diversas linguagens e plataformas: JavaScript, Ruby, Python, Java, Scala, PHP, Perl, Perl 6, Swift, Clojure, Objective-C, C, C++11, D, F#, Go, Erlang, Lua, Haskell, OCaml, Elixir, Rust, Smalltalk, ColdFusion, Kotlin, Nim, VBA, Haxe, Crystal, Elm, ActionScript, Bash, R, TSQL, PostgreSQL, PLpgSQL, Dart, Io and for .NET

É muito fácil de usar. Veja um exemplo de código em CSharp:

```csharp
public string GerarCodigoDaVenda(){
  return Nanoid.Nanoid.Generate( 
     alphabet: "1234567890abcdefghijklmnopqrstuwvxyz", 
     size: 10
   );                
}
```

No trecho de código acima, eu delimitei a variedade de caracteres que o NanoID vai utilizar, além de especificar o tamanho em 10 caracteres.

### Variações do NanoID:

1. Normal
```csharp
// Na modalidade padrão, o método usa símbolos amigáveis com URLS (A-Za-z0-9_~), e retorna um ID com 21 caracteres (chances de colisão similares ao formato UUID v4).

var idNormal = Nanoid.Generate();
//resultado: "Uakgb_J5m9g~0JDMbcJqLJ"

// Símbolos -,.() não são codificados em URL´s.

// Se você quiser reduzir o tamanho do ID, passe o tamanho como argumento:
var idReduzido = Nanoid.Generate(size:10) 

//resultado "IRFa~VaY2b"
```


2. Customizado

```csharp
// ⚠️ A variação de caracteres deve conter 256 símbolos ou menos. De outra forma não será seguro.
var id = Nanoid.Generate('1234567890abcdef', 10) //=> "4f90d13a42"
```
Cheat-Sheet for SwiftUI shows all UI elements and source code.
Tags: cheatsheet, ios, app, store
Published: 2020-06-15 15:21:05

SwiftUI is an innovative, exceptionally simple way to build user interfaces across all Apple platforms. You're faster in development and it's easier to separate design and logic.

Cheat-Sheet for SwiftUI shows all UI elements and the needed source code. Each UI element is presented in one or more variations. You can try the control and check the functionality. Below the example you see the corresponding code to get this result. It's easy, try it!

To allow experienced coders an easier changeover to SwiftUI, all elements from UIKit are assigned to the corresponding SwiftUI elements. The app is available in the German store.

Seller  :  Enrico Bansemer
Size  :  3.9 MB
Category  :  Developer Tools
Compatibility  : Requires iOS 13.0 or later. Compatible with iPhone, iPad, and iPod touch.
Languages  :  English
Age Rating  :  4+
Copyright  :  © 2020 Enrico Bansemer
Price  :  Free
USA : https://apps.apple.com/us/app/cheat-sheet/id1507455384
Germany : https://apps.apple.com/de/app/cheat-sheet/id1507455384
A long pending to-do task - The Portfolio Website!!!
Tags: html, css, javascript, portfolio
Published: 2020-06-15 15:19:20

Since a long time I was contemplating on building a portfolio website. But, got stuck with frameworks, languages, tools, static site generators, content management system the list goes on and on... and the downward spiral began. 

Procastination, indecisiveness, indecisiveness and the time passed by. What started as a question in 2018, remained a task in my head ever since. Finally, 2020. Check. Task done. 

2 years to decide. 2 days to build. Sounds funny, right. This is a classic case of decision paralysis.

In all these 2 years. Time and again the thought of building the website used to strike my mind. I used to check out couple of options available, reach out to more people. 
End result - confused.

#### Non-technical things I learned in the process: 

1. The more people you ask for an advice. The more confusing it gets. Each of us have our own reasons of preferring something over the other.

2. My main purpose of building this was to showcase information that my resume does not effectively convey and is important. Spending days and nights on deciding the framework was pointless.

3. Blogging on the same platform was never the idea. Half baked information and using the shiny new framework after thorough research. Would deviate me from the purpose of building the website.

4. This is just a portfolio website. Thinking about often trending questions, and most talked about topic amongst developers "Scaling". There seems to be no such scenario where the traffic will spike.

5. Uneccessary load on mind is not worth it. Time is limited.

6. Person X used Gatsby, Person Y used Jekyll, Person Z used Hugo. Don't be tempted by others choices. Everyone has a different purpose to built. Mine was to put forth information, without missing out on anything.

7. Animation - Might give a Wow feeling, but when wrongly done results in worst of its kind user experinece.

8. Don't get lost amongst all the choices that are available. With small tasks like this one not directly affecting anyone. Just get the job done. Should be the first priority.

#### Technical things I learned while building it from scratch:

1. Good way to get a hang of fundamentals. Good old HTML/CSS/JS.
2. Decision making process. From design, frontend, backend, deployment. All throughout you'll have to make decisions at every step.
3. Deployment.
4. Integrating GraphQL API.

#### Website - https://www.mridubhatnagar.in/

Ps: The site is not mobile responsive at the moment. 
To get the results open it on laptop, chrome browser.


{% twitter 1268213912790433793 %}