teleren/devto huggingface dataset:
IST 402: Introducing Myself
Published: 2021-08-28 21:17:30

**Introduction**
Hello, my name is Kathryn Simpson, this is my junior year here at Penn State. I am majoring in human-centered design and development with a custom focus area as well as minoring in graphic design. When I started here at Penn State I am going to be majoring in graphic design but then decided to change my major to human-centered design and development and instead to minor in graphic design. I have lived in PA my whole life in a small town called Muncy, which is about an hour and 30 minutes away from State College. Towards Williamsport, if anyone is familiar with that area of PA. My interests outside of my academic life are hanging out with my friends and family, reading, listening to music, and photography.

**My Interest In Web Development**
I am interested in learning about web development through IST 402 because even though I am more focused on the design aspects of my HCDD, I still feel like it will be good to learn about the web development side of things as in today's world being able to do more than just a designer is always a good thing. I believe the more I learn in college allows me to be more prepared for my career after I graduate. While I was not very good at coding in Java, I haven't done any coding in JavaScript so I am excited to try and see how well I can do and how much I can learn from this course.
Sign up with Google not working on Android
Tags: google, firebase, android
Published: 2021-08-28 20:55:05

If after flowing the Fire base [Documentation](https://firebase.google.com/docs/auth/android/google-signin) for creating/login in account with google, you'd probably having Trouble with your SHA-1 FINGERPRINT 
and really this is no hard to fix.

* Update to the latest dependency and sync.
* Select Gradle in android studio from right panel.
* Select Your App
* In Tasks -> android-> signingReport
* Double click `signingReport`.

![gradle](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s5bkodjg9okuflr168yu.png)

* wait for the terminal to open and your SHA-1 code would be shown to you. 
* copy and paste to you Firebase console.
and run you app. 

and you are good to code.

![firebase](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/zvy4sfhyjwzvgdkols75.png)



**Link to my reusable source code for google login**

[Source Code](https://github.com/FunnyDigital/SignUp_with_Google)
Introduction 
Published: 2021-08-28 20:36:54

My name is Evan Kennedy, I am from Bucks County, PA,  and I am a senior studying cybersecurity. I am an avid outdoorsman, I love fishing, running, biking, hiking, and canoeing. In my free time I love finding new spots to fish around State College, and I also enjoy tying my own flies for fly fishing. The reason I’m interested in Web Development is that I think it’s fundamental to understanding emerging cyber threats across the internet. During the summer I worked with Merck’s IT risk management team and part of my job was to monitor assets for potential vulnerabilities. One of things my mentor stressed while working with him over the summer is just how dangerous it was for any company asset to be internet facing. He told me that that are tons of ways hackers can create fake websites and use botnets to gain access to company devices through attacks like Cross-site scripting. He stressed to me that the internet is the most dynamic and complex threat environment in cybersecurity and one of the main ways cyber-criminals exploit vulnerable employees is through new and innovative ways of creating websites that can trick an average internet user into clicking on a link or attachment that can compromise their device. I think learning about web development will help me understand the fundamental building blocks of websites and how they work as well as how they can be exploited. Learning about web development not only allows me to develop valuable new skills I can apply in the future and will help me better understand how websites can be used for security purposes.
What is Big O Notation in Algorithm
Tags: algorithms, bigdata, algorithmruntime, bigonotation
Published: 2021-08-28 20:04:45

Big O notation is a specific notation that indicates the speed of an algorithm. When you use others’ algorithms in your project it is necessary to calculate Big O notation. It will help you to know how fast or slow it will work in your case. To know more about Big O notation visit HERE


Algorithm run-time at different rates
Alex is working on a SpaceX search algorithm. When a rocket is poised to arrive on the Moon, his algorithm will kick in and assist in determining where to land. The Algorithm he has to use must be fast and correct and he has two choices between simple search and binary search algorithm.
Binary search is more efficient. but on other hand, Simple Search is simple to write and lowers the risk of flaws.
Note: Alex just has 10 seconds to figure out and Alex also wants no programming flaws.
Alex chooses to time both methods with a list of 100 elements to be extra cautious.
Time each Search takes
To know about how Alex Solves the problem visit https://hecodesit.com/what-is-big-o-notation-in-algorithm/
Attention Developers : 11 Must-Do Things When You Become A Ghost
Published: 2021-08-28 19:59:23

Visit your coffee-addicted friends..replace their coffee with decaf versions
<hr></hr>
Delete all the bookmarks your friend has,on Twitter and their browser
<hr></hr>
Go to your friend's boss's calendar or scheduling tool and change all the meeting dates/times just for them.
<hr></hr>
Randomly change the ++,--,>,< in your friend's codes when they are away from their laptop
<hr></hr>
Open your friend's fav messaging app and send the message : "It's done. We shall never speak of it again. Just act like nothing happened" to everyone in their contact list. Doing it via email is also a bonus
<hr></hr>
Go to the github profile of your dev friends/enemies and post their github commit history online
<hr></hr>
Help more candidates get jobs , by forming a Ghost Startup with a large team that monitors job posts & matches them with the right candidates...along with informing people about rejections...send your co-ghosts to make a true review of the candidate's efforts..
<hr></hr>
Go see Elon Musk's twitter account password as he types it. Login when he is sleeping and tweet random but useful stuff that could manipulate things into helping good people. He already tweets a lot of random stuff..so probably ..nobody will think it's weird..not even him.
<hr></hr>
Schedule updates for all the laptops,mobiles, gaming consoles,etc. that your friend has...such that it runs when they usually play/work
<hr></hr>
Setup malware on your friend's laptop, such that it will do a public livestream of all the google search and calculator entries that they make.
<hr></hr>
To atone for all your sins , go to the house of some CodeNewbies and debug their codes when they sleep..mention clear changes to help them progress better.
<hr></hr>
Attention Ghosts : this should not be taken as a literal reference guide. I'm not liable for any actions that y'all take now or in the future due to reading this.
<hr></hr>
Disclaimer : if you do plan to commit the above crimes,please use my affiliate code 'meow' when you register at Hell
<hr></hr>
Follow me on Twitter [@notAnotherVivek](twitter.com/notAnotherVivek) to learn more ways to ruin the life of others 😁😁
Post #6: Final blog post
Tags: python, opensource, weeklyretro, gsoc
Published: 2021-08-28 19:22:55

Hi everyone! this is my final blog post in the 2021 GSoC internship. The journey is almost over, it has been 2 months and I can't believe the fast that was.
Although this is the final post required by PSF, I am planning to create a blog post with more detailed information of my overall experience in this internship, but right now I am sick so I hope that will be the next week.

## What are you working on?

The last week I was working on document all my code, and also made a report with my activities in the internship, this report I made in the [PyZombis wiki](https://github.com/PyAr/PyZombis/wiki/GSoC-2021-Final-Code-Ybrahin-Martinez). 

## What have you struggled with?

As I said before, right now I am sick so, it was difficult for me made this report because I was such tired, and with terrible flu, but I needed to do that requirement, and I did it finally!
Firestore Observables to Promises
Tags: firestore, firebase, promises, observables
Published: 2021-08-28 18:40:34

## Update 2/26/24
This post is out of date since Firebase 9. For latest Firebase posts, see [Code.Build](https://code.build/c/firebase).
___

I am crazy, so I created a quick reference. Let me know if I missed one!

**Note:** 

afa = AngularFireAuth
afs = AngularFirestore

but should be same premise in any framework.

## Docs

```typescript
const foo = await this.afs.doc(`docPath`).valueChanges()
.pipe(take(1)).toPromise();
```
or
```typescript
const foo = (await this.afs.doc('docPath').get()
.toPromise()).data();
```
or
```typescript
const foo = (await this.afs.doc('docPath').get()
.pipe(take(1)).toPromise()).data();
```
or
```typescript
const foo =  (await this.afs.doc('docPath').snapshotChanges()
.pipe(take(1)).toPromise()).payload.data();
```
But the shortest is:
```typescript
const foo = (await this.afs.doc('docPath').ref.get()).data();
```

## Collections

```typescript
const foo = await this.afs.collection('colPath').valueChanges()
.pipe((take(1))).toPromise();
```
or
```typescript
const foo = (await this.afs.collection('colPath').snapshotChanges()
.pipe(take(1)).toPromise()).map((m) => m.payload.doc.data());
```
or
```typescript
const foo = (await this.afs.collection('colPath').get()
.toPromise()).docs.map((m) => m.data());
```
or (overkill from last version)
```typescript
const foo = (await this.afs.collection('colPath').get()
.pipe(take(1)).toPromise()).docs.map((m) => m.data());
```
or
```typescript
const foo = (await this.afs.collection('colPath').ref.get())
.docs.map((m) => m.data());
```

## User

As you may have noticed...

```typescript
const bar = await this.afa.currentUser;
```
... does not load correctly in a lot of cases.

So try these:

```typescript
const bar = await this.afa.authState.pipe(take(1)).toPromise();
```
or (authstatechanged is most accurate)
```typescript 
const bar = await new Observable(
(observer: any) => { this.afa.onAuthStateChanged(observer) }
).pipe(take(1)).toPromise();
```
or
```typescript
const bar = await new Promise(
  (resolve: any, reject: any) =>
    this.afa.onAuthStateChanged((user) => {
      user ? resolve(true) : resolve(false);
    }, (e: any) => reject(e))
);
```
or (the shortest)
```typescript
const bar = await this.afa.user.pipe(take(1)).toPromise();
```



And anywhere you can use `take(1)` you can use `first()` if you want to emit an error.

J
12 Months of Code From a Middle Schooler. 🚀
Published: 2021-08-28 18:34:58

Hey! I'm Andrew, I am a 13 year old currently attending middle school in Canada. I love to code and learn new things each day. And I'd like to say this is heavily inspired from Aiden Bai's "A Year of Code from a High School Student". So here I am writing my own version, Of what I have learnt & built during the past 12 months.

Things I created 🚀

‣ https://github.com/andrewnijmeh/polio: I applied reverse-engineering techniques, to reverse-engineer the polio virus. Using the public gen bank DB. And bio-python library.
‣ https://utilitybot.co Discord bot I created, got into 40+ servers. Not too many but I was definitely proud. It was my first time creating discord bots.
‣ https://github.com/andrewnijmeh/blockchain-springboot Created a simple blockchain using springboot, I used java since at the time I was interested in learning java.


Things I enjoyed doing 🙂 
‣ Working at a company creating software for gamers, Worked there for about 10 months December 2020 to July 2021.  
‣ Working at my uncles company for the past 2 months (Started in July of 2021 Currently at this role) 
‣ Learning about bioinformatics, GenBank, proteins etc.
‣ Learning about AWS, Getting more knowledge about elastic search, etc.

Goals for next school year ↩️
‣ Successfully start my own coding club at my school via hackclub.
‣ Contribute more to open-source on GitHub.
‣ Learn more about VueJS, And Kernel Dev. 
‣ Learn more about cyber-security, Improve some of my opsec.

Thanks for reading, I wish you all the best luck for the new school year! (If you are a student of course!)
Range Slider and Progress Bar
Published: 2021-08-28 18:31:22



{% codepen https://codepen.io/ZevanRosser/pen/jOwPMBy default-tab=js,result %}

Drag slider and watch two progress bars and a text readout update. There are some interesting vanilla tricks in this one.

_See more stuff like this over @ [Snippet Zone](https://snippet.zone/)_
Installing Cocoapods on M1 Macbook Air, Big Sur
Tags: m1mac, xcode, cocoapods, homebrew
Published: 2021-08-28 18:07:47

---
title: Installing Cocoapods on M1 Macbook Air, Big Sur
published: true
description: Cocoapods issue on M1 Mac?
tags: M1Mac, Xcode, Cocoapods, Homebrew
//cover_image: https://direct_url_to_image.jpg
---

I have just gotten the new device around 2 weeks ago.


As a mobile developer, I try to compile my Xcode project after installing [Cocoapods](https://cocoapods.org/) with `sudo gem install cocoapods` to the device.

To my surprise, `pod install` does not work as expected this time.


#Errors

I ended up seeing something as such

```
LoadError — dlopen(/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle, 0x0009): missing compatible arch in /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle — /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi_c.bundle
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require’
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require’
/Library/Ruby/Gems/2.6.0/gems/ffi-1.15.0/lib/ffi.rb:6:in
```

#Solutions Available:

I have found **3 solutions** through the internet so far.

**1. Open your Terminal under Rosetta and run `sudo gem install ffi` in terminal.**

![Open Finder > Applications > Utilities > Terminal > Right Click > Get Info > Open Using Rosetta](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yoh1c040n94ygqddntbx.png)
_Open Finder > Applications > Utilities > Terminal > Right Click > Get Info > Open Using Rosetta_

**2. Run these lines
`sudo arch -x86_64 gem install ffi`
`arch -x86_64 pod install`.**

**3. Install Cocoapods with Homebrew.**

#My Pick
I tested out for **option 2** as I’m not too familiar with [Rosetta](https://support.apple.com/en-my/HT211861) at first.

It works.

I eventually decided to give **option 3** a try ,which is to **install Cocoapods from Homebrew.**

#Why?
As more and more developer tools start to support M1 natively, I would go for a native option, unless there isn’t any better option.

![https://formulae.brew.sh/formula/cocoapods](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hnvibnio2rbomnxerh4g.png)

As it turns out, Apple Silicon (Big Sur) is supported with **stable** version!

#Finale

In my opinion, *option 3* is the cleanest solution thus far!

It works perfectly fine.

Happy exploring!
Lead of Architect and UI for 'FearNoMore' project
Published: 2021-08-28 18:03:35

**Challenge**
1. Coming up with basic ideas of how our web is going to look like based on our client's need
2. Coming up with all the needed data to create our web app

**Action**
Created demo logo first!
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k4c1e924k1gj15utifrx.png)

Created some demo web designs and started building up Architect & UI
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vsxbue5s49xpmj1acbnx.PNG)

Went over our designs step by step and added necessary features and went in depth of what data are going to be needed for each pages.

**Result**
Completed our Front-end architect and now we are starting on backend-architect
LEVEL UP with JavaScript! LVL 4
Tags: javascript, webdev, beginners, tutorial
Published: 2021-08-28 17:56:09

### In this blog series tutorial, I will be covering some of the basic JavaScript programming concepts.

This is geared toward beginners and anyone looking to refresh their knowledge.

### See the [<strong>Previous Level Here</strong>]( https://dev.to/devcronin/level-up-boost-your-javascript-skills-lvl-3-4m83)

Level 4 will cover: 

* Declare String Variables
* Escaping Literal Quotes in Strings
* Quoting Strings with Single Quotes
* Escape Sequences in Strings
* Concatenating Strings with Plus Operator

## Declare String Variables

A string variable is when zero or more characters are enclosed in quotes. 

Numbers can also be a string if enclosed in quotes.


```JavaScript
let character = "Tempest Cleric"

```

## Escaping Literal Quotes in Strings

Escaping literal quotes is used when you need to use quotes inside of the quotes of the declared string. 

This is done using a backslash before both of the actual quotations.


```JavaScript
let magicAxe = "Greataxe \"of the Brute\""; 

console.log(magicAxe)

Greataxe "of the Brute"

```

## Quoting Strings with Single Quotes

When quoting, single quotes or double quotes may be used. 

If this is done, care needs to be taken to avoid ending the string with a non-paired single quotation character.
 
Again the backslash can be used before the quotation character to escape it and prevent the error.


```JavaScript
let myTeam = 'The paladin said "I am the strongest"!'

console.log(myTeam)

The paladin said, "I am the strongest"!

```

## Escape Sequences in Strings

There are also some special characters that we need to use the backslash to escape.
 
When we do this, make sure not to add any spaces between escape sequences or words.

Below is a list of some of these possible characters;

\' single quote
\" double quote
\\ backslash
\n newline
\r carriage return
\t tab
\b word boundary
\f form feed


```JavaScript
var character = "Druid\nLevel One";

console.log(character)

Druid
Level One

```

## Concatenating Strings with Plus Operator

Concatenating strings use the (+) concatenate operator to add strings together. This is used to build a new string. There will be no spaces unless specifically added.

```JavaScript
var character = "Moon " + "Druid"; 

console.log(character)

Moon Druid

```



### Thank you for reading my blog! This is the Fourth of my series on JavaScript so if you would like to read more, please follow!


### See the [<strong>Next Level Here</strong>](https://dev.to/devcronin/level-up-with-javascript-lvl-5-1406 )

## [<strong>Support and Buy me a Coffee</strong>](https://www.buymeacoffee.com/ZachCronin)
Getting Started With API {day -15}
Tags: 100daysofcode, javascript, webdev, beginners
Published: 2021-08-28 17:49:49

#100daysofcode [day - 15]
Getting much pleasure working with API. Today I learned something about API and I will learn it in depth soon. 
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1pi0mimjxk03tjf4nwia.png)
My Links
Published: 2021-08-28 17:33:47

MymeMyme_ on wattpad
where I post previews of upcoming books that I am writing
myme651 on youtube
where I post video tutorials and interesting discoveries
awillis4 on github
where I post programs that I wrote
myme on sololearn
where I learn how to scribe
awillis on lulu
where I post completed books that i wrote
awillis on mentorz
where I get clients for tutoring and scripting and other things
amway.com/myshop/myawshop
where I post home goods for people to buy and share
Support me, and maybe someday, ill support you)
Core Java: Installation of tools & Hello World Program
Tags: java, programming, webdev, beginners
Published: 2021-08-28 17:27:32

I'm going to make series of videos where I cover all the important concepts of Core Java that you should know.

🔥🔥🔥🔥🔥🔥🔥
Below is the Time Line ..Happy Learning 
Timeline: 
00:00 Introduction to video
00:33 Introduction to Java
01:00 About JDK JRE JVM
01:42 Too required
02:01 JDK installation
03:16 IntelliJIdea Installation
06:10 Hello World Program

{% youtube v3HtsJhP1HI %}
Fear and loathing in frontend
Tags: typescript, react, webpack, css
Published: 2021-08-28 16:42:45

We had two bags of react/redux, seventy-five pellets of react npm dependencies, five sheets of high-powered postcss preprocessors, a saltshaker half-full of craco overrides, and a whole multi colored collection of context, profile, environment, lint webpack plugins... Also, a quart of babel, a quart of decorators, a case of typed script promisses, a pint of raw ether jest, and two dozen of mocha tests. Not that we needed all that for the trip, but once you get into a serious frontend collection, the tendency is to push it as far as you can. The only thing that really worried me was the tailwind styled components. There is nothing in the world more helpless and irresponsible and depraved than a man puts all css generation in javascript, and I knew we'd get into that rotten stuff pretty soon.
CloudFlare URL Shortener
Tags: serverless, tutorial, javascript, cloudflare
Published: 2021-08-28 16:42:01

<h4> CloudFlare Worker Script to setup URL Shortener Service </h4>
<small>
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g8ghs9czl6j769vjan29.png)
*You can optionally add your own aliases. If not, an random string would be assigned.*
</small>

{% gist https://gist.github.com/Lucifergene/9d3d805c7a6db23be58d4a4d11831b87 %}

---

**You need to paste this script in the `Index.JS` file of your CloudFlare Worker**

The Service : https://short-linker.lucifergene.workers.dev/

You can visit the repository from below:

{% github Lucifergene/Cloudflare-URL-Shortener %}

---

You can reach out on my [Twitter](https://twitter.com/avik6028), [Instagram](https://instagram.com/avik6028), or [LinkedIn](https://linkedin.com/in/avik-kundu-0b837715b) if you need more help. I would be more than happy.

If you have come up to this, do drop an :heart: if you liked this article.