teleren/devto huggingface dataset:
How to make your app ready for iOS14?
Tags: ios, swift, xcode
Published: 2020-08-20 21:01:19


With the iOS 14 around the corner, you've probably already asked yourself the question: Is my app ready for iOS14? In the past, the release of iOS13 has brought some surprises. 

The process of making your app iOS14 consists of 2 steps:
1. Make sure that the existing app(compiled with Xcode 11.X & iOS 13 SDK) is running fine on iOS 14 (beta)
2. Compile the app using the Xcode 12.X and iOS 14 SDK

There is some time before you can get ready for step 2, as Xcode 12 (and iOS14) are still in beta. Even when the GM is released, it will take some time till all the infrastructure providers (like CI or Google Labs) update their stack. Nonetheless, it is definitely about time to make sure that your current app build is running well on the iOS 14 environment.

##  Updating your test device to beta OS

Usually, the most straightforward way to test your app with the beta iOS version is to install the beta iOS on the test device. However, your device selection might be limited, and you might encounter issues testing the app on different setups(iPadOS or watchOS anyone?:D)

## Running the app on the simulator

The obvious solution to this problem is to use the iOS Simulators. The `simctl` program comes with help.

1. Launch the iOS 14 simulator you'd like to test, and close the other simulators. You can easily select the device by going to the menu bar item `File` -> `Open simulator` -> ..
2. Build the project in Xcode 11.X
3. In Xcode's project navigator, go to <YourProject> -> Products and find the <YourProject>.app file
4. Show the file inspector(cmd + option + 1)
5. Copy the *Full path* to the `.app` file
6. Open Terminal and type
 ```
xcrun simctl install booted <paste path to YourApp>.app
```
It will install the given app on currently running iOS simulator!

While this works great to help you identify the possible bugs, it is hard to debug once you find them. Luckily, the solution to that problem is even more straightforward.

## Debugging

If you want to debug your current app build with the iOS 14 beta OS, the required steps are even less:
1. Launch the iOS 14 simulator you'd like to test, and close the other simulators. You can easily select the device by going to the menu bar item `File` -> `Open simulator` -> ..
2. Open your project in Xcode 11.X
3. Go to the Destination menu (next to your Scheme, on the top left corner)
... and you can see that the iOS14 simulator is already listed there! Pretty cool, huh?

What are your experiences with iOS14 so far? Have fun debugging!


If you've found this piece useful, you can follow me on twitter @mzygar not to miss the next articles. Feel free to reach out if you are having issues trying this out
Unity instantiate prefab or gameobjects
Tags: unity3d, gamedev
Published: 2020-08-20 21:48:30

So if you have been working on your game. You must have run into this pesky little issue where you need to sometimes spawn enemies, bullets and whatever else to make your game more fun and exciting.

Well to make this happen you will need to understand object pooling, prefab instantiation, and game object to prefab conversion in unity.

If you need to know more, I wrote a full blog post here on how to do all of this.

https://generalistprogrammer.com/unity/unity-2d-instantiate-prefab-at-position/
Day 200: Slowly
Tags: hiphop, code, coding, lifelongdev
Published: 2020-08-20 21:41:09

_liner notes_:
- Professional : Had our larger team meeting. Really good to see everyone. Wrote some code snippets for the developer portal. Wanted to double check it with the engineering team to make sure what I'm saying will happen, will actually happen. haha. I set up a meeting for the Web Components team with a company that is working on some Design Systems software. Worked on some other tickets. Pretty good day.

- Personal : Went to the supermarket for the first time in a long while. I normally just have it delivered, but there was one close by. Figured I would walk over and get some exercise. So my battery was lower than I would like, so I decided to head to my old house to plug in outside. Got there, but I couldn't find the cable to plug it into the wall. Looked all over the van and where I had the battery in the house. Nowhere to be found. Then I thought that maybe I packed it away by accident. So I headed over to my folks place. Sure enough, it somehow got packed away with a vacuum of all things, haha. I found another cord that looks like it could work. So now I've got 2! Awesome.

![Tiny islands of Lofoten Islands in Norway with a couple of huge mountains in the middle and a mountain range in the distance](https://dev-to-uploads.s3.amazonaws.com/i/z6lody2nf74du29s39of.png)

So, I parked my van in the back of my parents' place to plug in. Sitting here charging my battery along with other devices. Thing is that the devices are using more than what's going in. haha So the charge on the battery is actually going down. haha. I'm also downloading some tracks for the radio show, and it's going so slowly. I think my cell phone provider is throttling me. My Pixel 4a should be coming this week and then I'll sign up for Google Fi and that had a much larger data limit before they start to throttle. While I'm waiting for all that, I'm going to work on my side project. Plus it's starting to rain, we'll see how that is from inside the van.

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube 9yLs1tLqANU %}
🛎 Screpy v1.3.0 Released!
Published: 2020-08-20 21:22:03


**Changelog**

- New uptime report page
- New chart for SERP results
- New chart for SEO
- Minor bug fixes
- You will now have access to much more detailed uptime reports.
- The SERP and SEO graphics have been enlarged and more detailed.

You can see the new changes in [Screpy](https://screpy.com)
How can you do the new extender setup page using Mywifiext
Published: 2020-08-20 21:18:51

*Firstly make sure that your Netgear wifi range extender is turned on.
*And locate your mywifiext setup close to the main Wi-fi router.
*Now, grab a laptop or a desktop and connect with the Netgear extender Wi-fi.
*Go to the Wi-fi management device and search for a wi-fi named : NETGEAR_EXT.
*Then you have to access the local web page URL i.e [mywifiext.net](https://www.mywifieextnet.net/) or [mywifiext.local](http://www.mywifiext-local.us/)
*Find the New Extender Setup option and press enter.

Mywifiext | Troubleshooting steps  
Mywifiext setup is the finest option to extend the existing wifi network of your main wifi router. It helps your wireless or wired enabled devices by playing online HD graphics games, full HD videos and many more. Still Mywifiext.net not working? It is considered as a major issue faced by the users. For the new extender setup below are the troubleshooting steps which help you to solve it within a few seconds. Let’s proceed:
*Plugin your extender in the working power outlet for the power supply.
*Check that the web browser you are using is the upgraded version.
*Power off the Netgear extender power button for a few seconds and switch it on again.
*Connect your PC or laptop with high speed internet connection.
*Type web address in the [Mywifiext setup](https://mywifiexthelp.net/new-extender-setup) web address bar and confirm the password.
*Download the updated version of the firmware on the wifi router and always Use the default IP address.
*After it is installed mywifiext is good to go, and can browse the internet without any lag.
Using SwiftNIO to build a simple Server
Tags: swift
Published: 2020-08-20 21:12:01

If you haven't heard about [SwiftNIO](https://github.com/apple/swift-nio), it is a framework with the primary purpose of building network applications. It takes a lot of the responsibility for the network code of your application so you can focus on the application code.

If you are interested in Server-Side Swift, you might find this post interesting:

[Understanding SwiftNIO by building a text modifying server](https://rderik.com/blog/understanding-swiftnio-by-building-a-text-modifying-server/)

Feedback is welcomed.
Identity Community Hour - 08/20/2020
Tags: azure, community
Published: 2020-08-20 21:11:04

Another Thursday another Community Hour. If you missed our live stream, you can catch it on demand [here](https://www.twitch.tv/videos/716049098). This time around we had some technical issues (MS Teams was playing up) so instead of doing our regular community shout out, we jumped straight into the show and tell with our amazing guest, [Richard Timmering](https://twitter.com/azwildfire1) who works as a Cloud Solution Architect and loves identity - I mean, who doesn't, right?

## Community Shout out
Just because we couldn't do it live on the show, doesn't mean that we should miss out on the opportunity to celebrate the people that work with our platform and create content that helps the community. So, without further ado, here's this week's interesting content:

- [Blazor WebAssembly Authentication with ASP.NET Core Identity](https://code-maze.com/blazor-webassembly-authentication-aspnetcore-identity/)
- [Announcement] [Conditional Access policies now apply to all client applications by default](https://techcommunity.microsoft.com/t5/azure-active-directory-identity/conditional-access-policies-now-apply-to-all-client-applications/ba-p/1257371)
- [Azure AD B2C Authentication in ASP.NET MVC](http://sudiptachaudhari.com/azure-b2c-active-directory-authentication-in-asp-net-mvc/)
- [Data Files moving from On-Premises to Azure Data Lake Store using Azure Data Factory](https://www.sqlservergeeks.com/data-f/)

## Azure Active Directory Application Proxy

For this week's Community Hour we were very fortunate to have Richard to talk to us about [Application Proxy](https://docs.microsoft.com/en-us/azure/active-directory/manage-apps/application-proxy) which can be used to provide secure remote access to on-premises web applications. With great support for single sign-on via Azure AD, users can access both cloud and on-premises applications through either an external URL or an internal application portal. Richard spent most of the 1h 20mins walking us through the process of setting up App Proxy from scratch and configuring Azure AD to serve his custom app. He also demo'ed [Azure VPN](https://azure.microsoft.com/en-us/services/vpn-gateway/), which I knew nothing about, so overall this was an extremely educational stream and slightly different to what we're used to. 

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

## Come code with us
We love streaming and we usually stream live twice a week on Twitch! But what we love more is to collaborate with developers and tackle real world scenarios. As such, if you're interested to code with us, if have questions/challenges that you want us to help you with or simply a suggestion on what to stream, then we would love for you to reach out. Join us live on [twitch.tv/425show](https://twitch.tv/425show) :

10a - 1p eastern US time Tuesdays
11a - 12n eastern US time Thursdays for Community Hour

Be sure to send your questions to us here, on twitter or email: iddevsoc@service.microsoft.com!
18 VS Code Extensions for a happier coding
Tags: webdev, javascript, beginners, productivity
Published: 2020-08-20 21:09:59

1. [Prettier](https://prettier.io/)
2. [AutoClose Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-close-tag)
3. [Auto Rename Tag](https://marketplace.visualstudio.com/items?itemName=formulahendry.auto-rename-tag)
4. [Better Comments](https://marketplace.visualstudio.com/items?itemName=aaron-bond.better-comments)
5. [Debugger for Chrome](https://marketplace.visualstudio.com/items?itemName=msjsdiag.debugger-for-chrome)
6. [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
7. [Gittens](https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens)
8. [Go](https://code.visualstudio.com/docs/languages/go)
9. [HTML Snippets](https://marketplace.visualstudio.com/items?itemName=abusaidm.html-snippets)
10. [Javascript (ES6)](https://marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets)
11. [code snippets](https://marketplace.visualstudio.com/items?itemName=xabikos.JavaScriptSnippets)
12. [Python](https://code.visualstudio.com/docs/languages/python)
13. [Turbo Console.log](https://marketplace.visualstudio.com/items?itemName=ChakrounAnas.turbo-console-log)
14. [dotENV](https://marketplace.visualstudio.com/items?itemName=mikestead.dotenv)
15. [npm Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.npm-intellisense)
16. [Path Intellisense](https://marketplace.visualstudio.com/items?itemName=christian-kohler.path-intellisense)
17. [Live Server](https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer)
18. [Color Highlight](https://marketplace.visualstudio.com/items?itemName=naumovs.color-highlight)
fairmodels
Tags: machinelearning, datascience
Published: 2020-08-20 20:47:16

Hi guys!

Hope you don't hate me because I use R (and dare to call it programming language) but I have recently made R package fairmodels. It's a flexible tool for bias detection, visualization, and mitigation in ML models. From today it is available on CRAN. Would really love to have some feedback from you!
If you like you can check package's website : 
https://modeloriented.github.io/fairmodels/index.html

I have made 2 blogs about it and if you like you can read them here:
part 1: introduction
https://medium.com/@ModelOriented/fairmodels-lets-fight-with-biased-machine-learning-models-part-1-detection-6c2786e6c97c

part 2: visualization
https://towardsdatascience.com/fairmodels-lets-fight-with-biased-machine-learning-models-part-2-visualization-66558630a4d
Day 35
Tags: 100daysofcode
Published: 2020-08-20 20:46:30

I spent countless hours trying to implementing user permissions. It's still not making much sense. Authorization is complex and tutorials don't seem to be working out for me. Away from that i created an attribute: token where I'll save the token in the database. I also added a middleware to find users by id before performing the get, update and delete functions. Probably the only code that was working today.
Code in user controllers 
```javascript 
const findUser = (req, res, next) => {
  User.findById(req.params.userId, (err, user) => {
    if (err) {
      return res.send(err);
    }
    if (user) {
      req.user = user;
      return next();
    }
    return res.sendStatus(404);
  })
};
```
Code in user routes
```javascript 
router.use('/users/:userId', userController.findUser);
```


*We live to try another day.*
_Day 35_
Top 5 DEV Comments from the Past Week
Tags: bestofdev
Published: 2020-08-20 20:42:32

---
title: Top 5 DEV Comments from the Past Week
published: true
description: Highlighting some of the best DEV comments from the past week.
tags: bestofdev
cover_image: https://res.cloudinary.com/practicaldev/image/fetch/s--7VrAA2ln--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://thepracticaldev.s3.amazonaws.com/i/qmb5wkoeywj06pd7p8ku.png
---

This is a weekly roundup of awesome DEV comments that you may have missed.  You are welcome and encouraged to boost posts and comments yourself using the **[#bestofdev](/t/bestofdev)** tag.

@theboredmage is calling on all of us to prioritize self-care:

{% devcomment 13i7p %}

@kristinm90 has some rock-solid coding motivators 

{% devcomment 13i0b %}

@shadowphoenix has a great attitude about the rest of their career — it's just going to keep getting better!

{% devcomment 13jdf %}

@sarthology ... all I can say is "😂"

{% devcomment 13i2k %}

@michaelgee22, this is all too real!

{% devcomment 13mbo %}



See you next week for more great comments ✌
Pseudocode and JavaScript
Tags: webdev, begineer, codenewbie, javascript
Published: 2020-08-22 14:43:08

---
title: Pseudocode and JavaScript
published: true
date: 2020-08-20 20:38:02 UTC
tags: webdevelopment,begineer,codenewbie,JavaScript
canonical_url: https://corysblog.dev/2020/08/20/pseudocode-and-javascript/
---

Today is August 20th. I haven’t made a blog post since July 4th. Wait, what???! How in the world is it late August already??? Obviously I have been slacking on the blog posts, so this post is mostly to hold myself accountable and to make sure I post more often (_that’s a lot of “post” in one sentence…. crap, did it again)._

My recent studies have still been focused on JavaScript and trying to get more comfortable writing it. I had gone back to a JavaScript course that I was working through (my second “beginners” course) but was feeling guilty about not actually doing much coding. So I decided to work on a project.

@chrisdixon161 over on Twitter has put together some free JavaScript projects that I thought looked fun (you can find them at [https://fun-javascript-projects.com/](https://fun-javascript-projects.com/)). I went with the “Tip Calculator” project and really enjoyed the experience. I coded along with Chris’ video and felt pretty good about myself for “building” something (see my results here [https://coryrunn.github.io/TipCalculator/](https://coryrunn.github.io/TipCalculator/)).

![JavaScript tip calculator](https://corysblogdev.files.wordpress.com/2020/08/img_1559.jpg?w=174)<figcaption>My tip calculator</figcaption>

About a week later I went back to my code to review and add some comments. As I was going through it was clear to me that I would be lost if I needed to replicate this project by myself with no help. More practice needed? Um, yeah.

![](https://corysblogdev.files.wordpress.com/2020/08/tenor.gif?w=498)

This is where pseudocode comes into play for me. My plan is to go through the project and start by writing pseudocode and then go from there. In the hopes of holding myself accountable, I’m posting my intentions here. We all know if you read something on the internet then it must be true ![😉](https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png). Update soon…… hopefully.
Missile Command C++
Tags: cpp
Published: 2020-08-20 20:33:27

Hi Everyone,

I've started a project of recreating a missile command game in c++. It's being created with SFML which is a graphics library for c++.

You can check out it's progress at: https://github.com/drflamemontgomery/MissileCommand.git

feel free to post advice and feedback
Delete bin & obj folders
Tags: powershell
Published: 2020-08-20 20:30:23

I sometimes find myself in a situation where I need to delete the `bin`/`obj` folders for one or many .net projects.

Boot up powershell and navigate to the root of what needs to be deleted.

Beware, do not run this command in a system folder or terrible things will happen!! 😱

``` powershell
Get-ChildItem .\ -include bin,obj -Recurse | foreach ($_) { remove-item $_.fullname -Force -Recurse }
```
Remove Duplicates From Linked List - Cracking the Coding Interview, Leetcode
Tags: python
Published: 2020-08-20 20:30:05

This problem appears in both Cracking the Cracking Interview and Leetcode. The problem is this: given a linked list, delete duplicates such that each number appears only once. 

For example:
```
input: 1 -> 1 -> 2
output: 1 -> 2
```
Here's a hint. Use a hashset to store your unique numbers in, and if the number exists already in the hashset, set the pointer of the previous node equal to the next node of current node. 

```
class Node:
  self.data = data
  self.next = None

class Solution:
  def removeDuplicates(self, head:Node) -> Node:
      hashSet = set()
      node = head
      prev = None
      while node:
         if node.data not in hashSet:
            hashSet.add(node.data)
            prev = node
         else:
            prev.next = node.next
          node = node.next
      return head
```
How to create a navigation using Flexbox
Tags: html, css, flexbox, webdev
Published: 2020-08-20 20:26:58

### Here’s what we’ll be creating:
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/gyd9i9v5demchhy3etbu.png)
Hey!👋



In this post, we are going to create a navigation using Flexbox property. 

#### HTML:
```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Navigation</title>
    <link rel="stylesheet" href="style.css">
    <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400&display=swap" rel="stylesheet">
    <script src="https://kit.fontawesome.com/41adfddec4.js" crossorigin="anonymous"></script>

</head>
<body>
    <div class="container">
        <header>
            <div class="logo">logo</div>
            <nav>
                <a href="#">about</a>
                <a href="#"><i class="fas fa-user"></i>team</a>
                <a href="#"><i class="fas fa-th"></i>work</a>
                <a href="#"><i class="fas fa-dollar-sign"></i>pricing</a>
                <a href="#"><i class="fas fa-envelope"></i>contact</a>
            </nav>
        </header>
    </div>
```

#### CSS:
```css
*{
    box-sizing: border-box;
}
body{
    margin:0;
    padding:0;
    font-family: 'Montserrat', sans-serif;
    font-size:1.125rem;
}
.container{
    max-width:1366px;
    margin:0 auto;
}
header{
    display:flex;
    align-items: center;
    padding:15px 0;
}
.logo{
    margin-right:auto;
    text-transform: uppercase;
    font-weight: 300;
    font-size:1.5rem;
}
a{
    text-decoration: none;
    color:#000000;
    text-transform:uppercase;
    font-weight: 400;
    font-size: 1rem;
    margin-left: 1rem;
}
i{
    padding-right: 5px;
}
```

If you have any questions feel free to ask. 

Happy Coding!🙌😉
How to configure custom Namecheap domain to GitHub Pages
Tags: github, namecheap, domain, personalwebsite
Published: 2020-08-20 20:17:55

GitHub provides you the chance to host your website via `username.github.io` domain. But if you have a custom domain then you can also configure that with GitHub. Today, I'm about to show you how you can add your **Namecheap** domain to GitHub. If you have not any Namecheap domain then you certainly can have for free like I got. Just apply to [GitHub student dev](https://education.github.com/pack) pack and grab one. Okay, first thing first. First you have to create an account in Namecheap. I am assuming that you already hosted your site in GitHub. Now, open your home page in Namecheap. You'll have a page like below. 
</br>
![Dashboard](https://dev-to-uploads.s3.amazonaws.com/i/bskdn7o1qf8rcynd6hrx.png)
Next, click `manage` to go to the next page. There, after scrolling a bit, you'll get a section like below. Select `Namecheap BasicDNS` from there.
![BasicDNS](https://dev-to-uploads.s3.amazonaws.com/i/i9uvetykfl3x03s51ibj.png)
In that page, at the top click to `Advanced DNS` tab. You will have some records field to add there. Click the `Add New Record` button and Add 5 records like the image below:
![adding records](https://dev-to-uploads.s3.amazonaws.com/i/7dosjkc38n3brd9dpzzg.png)
Select `CNAME record` in the first column of row 1 and select `A Record` for the rest. In column 3 of the first row(CNAME record), Instead of `HabibRh26.github.io`(which is my repo name where I hosted my site), use your's and select `Automatic` for column 4 entry. Next, you have to add 4 entries where you have to choose `@` for column 2 entry, distinct IP address(for GitHub) for column 3 entry, and `Automatic` for the last column. Use the IP addresses same as to me or you can search in Google. Now, you are almost done. Just go to the GitHub Repo where you hosted your site. Select the `settings` tab at the top right keep scrolling until you find the box `Custom domain`. Just add your domain that you got from Namecheap. Don't forget to put `www` before the domain. So, It'd be like this for example- www.username.me. Click `Save` and `Enforce HTTPS`. Congratulations! You're done. Go to your domain URL and Enjoy!. Warning! It may take 24 hrs for GitHub to reflect the changes you've made. So, be patient. Be amazed at your personal site. :grin: