teleren/devto huggingface dataset:
Self-taught to Bootcamp
Tags: beginners
Published: 2018-04-21 00:41:52

---
title: Self-taught to Bootcamp
published: true
description: A little about me and what im doing currently 
tags: beginner
---

Hey! a little bit about myself, I am Brendon and I live in Utah. I self-taught for about a year and a half and started off watching youtube videos, and bought a udemy course that helped me learn HTML, CSS, and minimal javascript. I then jumped into php and mysql. Using what I had learned I made a little site where you could search a database for graves in a graveyard, you could also login and create posts and do some CRUD if you were an admin. After that I hit a plateau in my learning. I had been contemplating joining devmountain for a while and finally decided I needed some help learning along with a network of people with that same goals. I signed up for the online cohort in late November of 2017 and started March 26 2018, at first we went over html and css which was a good review and jumped straight into javascript. 

The month before you start is called basecamp. The goal of basecamp is to help get you started with the basics of html, css, javascript, and git. It was a really good intro if you had no experience and really had the drive to learn. The javascript portion of it was awesome for me. I learned all about objects, arrays, and the methods used on them. Since I had experience with php some of the concepts transferred over pretty nice. I was amazed at the high order functions like map, reduce and filter which I'm still getting used to. Week 1 was basically a review of basecamp along with assignments to make sure you understood what you needed to. Week 2 was all about objects and arrays along with the methods you use with them. Week 3 was about getting started with react and learning the syntax and how components work with some jsx. Week 4 (which I am currently in at the time) is about more react and starting to learn the basics of node. 

It might sound like things are moving quick which they are, but they give you a good understanding of concepts and when to use them and why. We will later be diving deeper into react and node obviously but I am so excited learning react and node. So far I feel like I need to just write some more code to really get the concepts down of state and how and when to change it. As for node, we are using express which I'm currently reading the docs and blogs about. But we are using get, post, put and delete. Out of the two node is definitely the one I'm having a hard time grasping. I know I just need more time with them to really solidify the knowledge. I will continue documenting about things I learn and hopefully be able to give some helpful info and tips to my fellow coders! Thanks for the read.
Dev.to community is weird
Tags: nolove, nohelping
Published: 2018-04-20 23:32:14

---
title: Dev.to community is weird
published: true
description: 
tags: nolove, nohelping
---

i know i am new to this community, but my first impression is that devs here are weird, i ask a question and all i get is reactions and no single answer, on the contrary, i see devs here answer weird questions like i am new here say hello to me!!wtf!!!
"You've won a WWDC18 Scholarship."
Tags: wwdc, ios, swift, scholarship
Published: 2018-04-20 23:19:51

---
title: \"You've won a WWDC18 Scholarship.\"
published: true
description: Shock & Awe of winning a WWDC Scholarship 
tags: WWDC, iOS, swift, scholarship
---

## Dear Jordan Osterberg, 

Congratulations! You’ve been awarded a WWDC18 Scholarship, which includes a ticket to the conference, lodging for the week, and one year of membership in the Apple Developer Program. 

Let's back up for a moment. Back to 2016. I had just started learning Swift, how to build iOS apps, and Apple had just announced WWDC16. At this time I had roughly 3 weeks of developer experience with Swift. I'll obviously get in, right? This year was funky, because I really didn't prioritize it and I ended up not submitting anything at all. This wasn't a worry for me, I would just apply and get in next year!

Or so I thought. Nope! I had much more development experience this time around, however Apple requested we build using a platform I had little experience in. This, combined with performance issues with my submission, landed me a rejection for this year's scholarship. This sucked. I had been really looking forward to going to WWDC that year and the rejection email hit like a bus. I set a goal that next year, I would put forth 10x the effort as I had in 2017.

You can see my post about implementing Accessibility into this year's submission [here](https://dev.to/jordanosterberg/accessibility-in-your-software--ios--voiceover-kld), in which I go over some bits and pieces as to how I built my submission. [Here](https://www.youtube.com/watch?v=pt4cq_p6Img) is a video of part of my submission.

### 4/20/18

No, that is not a weed joke. That's the day Apple had set as judgement day, where all of the applicants would be notified of their status. An email with the subject line of "Your WWDC Scholarship Status" meant you had been hit with a rejection. The entire week I had been lowering my outlook, trying to lessen the blow that I knew was eventually coming.

I couldn't focus at all the entire school day, keeping the Slack channel that other applicants chat on open in all of my classes. Lunch hit, I had ordered a pizza to either celebrate or recover. I walked up to the office, waiting for a pizza that was supposed to arrive at 12:15. It was 12:30, and no pizza arrived. I took a look at the Slack channel (I had it open on my phone) and saw the onslaught of emails from Apple with statuses. (Side-note: I had removed my email account I submitted with from my phone and MacBook Pro so I wouldn't prematurely see the email from a notification. I wanted to go out on my own terms.)

I logged into my email provider's web portal, and there I saw it.

"You've won a WWDC18 Scholarship."

![The Email](https://thepracticaldev.s3.amazonaws.com/i/ejthuob46jt7cay736iy.png)

I worked myself to death over this thing, every free moment I got was dedicated to building my submission. 

It appears my hard work has paid off :)

I'll be writing articles throughout the week of the conference (June 4th to 8th) on the new technologies, and at the end of the week I'll post an article on my entire experience.
Distributed laravel apps
Tags: laravel, php, distributedsystems
Published: 2018-04-20 23:18:26

---
title: Distributed laravel apps
published: true
description: 
tags: laravel,php,distributed-systems
---

I have an idea of a project and i am thinking about creating a distributed laravel web application, the idea is decomposing the application into 3 or 4 smaller applications that each is hosted on a different server, each have a specific job and they inter-communicate via an API like system. so my question is is it possible and doable with laravel? if yes what approach i need to be considering thank you.
Override appSettings during development
Tags: net, csharp, sourcecontrol, visualstudio
Published: 2019-02-22 15:28:55

---
title: Override appSettings during development
published: true
tags: .NET,Csharp,Source control,Visual Studio
canonical_url: https://ankitvijay.net/2018/04/21/override-appsettings-during-development/
---

It is a fairly common scenario that during development the local machine configuration settings for different developers in are not same and it may not match with the default value in source control.

One such example can be SQL server connection string. Some developers may have SQL Express installed, others may have a named instance on their local. However, the `web.config` or `app.config` can only have one value for this setting.

The way people (_at least “I” used to_)  handle this usually is to change the `config`values on the local machine during development but discard those changes at the time of commit. If accidentally, however you forget to change the setting back to original, then there is a  risk of breaking the build or code on other developer’s local machine.

## Override your appSettings

Recently, my colleague (thanks James!) showed me a nice little trick handle this.  I must say, I was bit embarrassed to not know this already.

You can override the key-value pairs defined under `appSettings` element of `config` by using the`file` attribute.

<style>.gist table { margin-bottom: 0; }</style>

The file `localAppSettings.config` is not part of your source control. If your local settings match exactly as `web.config,`then you do not need to have this file on your local. Else, you can use this file to override _ **only** _ the settings that are different than `web.config`.

<style>.gist table { margin-bottom: 0; }</style>

When you use the application settings in your code, you get following values:

| **Key –\> Value** |
| `dbConnectionString --> localMachineConnectionString` |
| `someRandomApplicationSetting --> sourceControlApplicationSetting` |

> **Important Note:** If you use `connectionStrings` element to store your data source connection string, then, you can use configSource attribute instead. The two attributes however, are not equivalent. You can read more about the difference [here](https://stackoverflow.com/questions/6940004/asp-net-web-config-configsource-vs-file-attributes#6940086).

Hope this nice little trick helps ease your development. ![🙂](https://s.w.org/images/core/emoji/11/72x72/1f642.png)

 

The post [Override appSettings during development](https://ankitvijay.net/2018/04/21/override-appsettings-during-development/) appeared first on [Hi, I'm Ankit](https://ankitvijay.net).
Php scrapping web app
Tags: php, web, webscrapping
Published: 2018-04-20 22:43:54

---
title: Php scrapping web app
published: true
description: 
tags: php,web,web scrapping
cover_picture: https://thepracticaldev.s3.amazonaws.com/i/url1o5tth1ibs2yr6hki.jpg
---
I am thinking about developing a scrapping web application using specifically PHP, but the internet say IT'S A SUICIDE MISSION, any thoughts?
Reading Proxy List To Fit Mechanize.Browser()
Tags: python, mechanize, proxy, dicttolist
Published: 2018-04-20 19:43:47

---
title: Reading Proxy List To Fit Mechanize.Browser()
published: true
description: Convert Each line to Dict Format to Fit "Mechanize.Brower() Set.proxies({}) format, and then append each Proxy in Dict type to a List to Use "Random.Choice" option on it Easly.

tags: #Python #Mechanize #proxy #dict_to_list
---

#!/usr/bin/python
 
import random
import yaml

banner = """
Reading Proxy List from File 
Formated -> Socks(4-5)\HTTP\HTTPS:IP:PORT

Example :
cat proxylist.txt
 
http:1.1.1.1:8080
https:2.2.2.2:9090
 
"""
print(banner)

 
proxyfilepath = str(raw_input(" Enter proxy List Path,
with Content format as Socks(4-5)\HTTP\HTTPS:IP:PORT) Here : "))
 
proxy_dict = {}
x = open(proxyfilepath,'r').readlines()
 
plines = len(x)
print " Number of Proxies in File are : %s " % plines
 
 
proxy_num = 0
for line in x:
    proxy_num += 1
    proxy_type, proxy_server, proxy_port = line.strip("\n").split(":")
    proxy_dict[proxy_num]= "{"+"'"+proxy_type+"'" + ': ' + "'"+proxy_server + ':' + proxy_port+"'"+"}"
 
print "\n Showing the Proxy lines in Dict format stored in Proxy_dict \n"
print proxy_dict
 
 
counter = 1
 
aplst= []
 
while counter <= plines:
    sign = proxy_dict[(counter)]
    counter += 1
    aplst.append(sign)
 
print "\n\n Done Signing\n\n"
print " Showing The List of Dictionary format proxies \n"
print aplst
 
 
print "\n\n Showing Random Choice from The List and It's Data Type .. \n"
print (random.choice(aplst)) , type(random.choice(aplst))
print
print "\n So we Should be Converting the Token Proxy using (yaml) to Map correctly through the protocol \n"
converted = yaml.load((random.choice(aplst)))
print converted , type(converted)
 
---------------------------- 
-And this command (random.choice(aplst)) can be used inside 
 the Mechanize.Browser() proxy option after Converting 
 The "proxy" token from the list as a string to "Dict" Using (yaml) as Example:

pr_token = yaml.load((random.choice(aplst)))
br = mechanize.Browser()
br.set_proxies(pr_token)
 
# LyJoker Greetz to Da.Master
Read some solidity articles for great good
Tags: solidity, ethereum
Published: 2018-04-20 15:29:57

---
title: Read some solidity articles for great good
published: true
description: links of solidity tech writings
tags: solidity,ethereum
cover_image: https://thepracticaldev.s3.amazonaws.com/i/vpavf9nsdwtwhnefu4wm.jpg
---

I'm quite lazy person so skip to put link. (Maybe update later)

So, I'm now in KL airport and I need to wait some hours so that decided to write some log for learning in these days.

I'm now deep diving to Plasma implementation which is ethereum scaling solution, and for that we must know how ethereum working.

First in first, ethereumbook(GitHub) is good for overview. This repo is called "Mastering Ethereum", Andreas and Gavin are mainly editting.  Especially I like transaction section coz it could solve my long term question "How the EVM bytecodes are executed on each node, and why contract must be deterministic."

Next, consensys security recommendation is Bible for me. Solidity has a bunch of implicit ditch which is comes from performance, scalability, resource efficiency, determinism and pure security hole. To remember it all like atoz style is a little bit troublesome for newbie, right? Then you just need to read this recommendation when you wanna make sure your implementation. Maybe consensys's contact auditors are also reading this every time (just my rough assumption)

Then, now it's time to read Plasma whitepaper, Casper FFG whitepaper and ethresear.ch. Some of papers and articles are already obsoleted though, you may be able to learn the essence of cryptoeconomic design.


Everyone is just a newbie involve me. Don't hesitate and just dive to Solidity programing :)
var vs let vs const
Published: 2018-04-20 15:11:51

---
title: var vs let vs const
published: true
description: 
tags: 
---

Old habits die hard. This applies to me when it comes to declaring variables especially when I get in the flow and I am just automatically declaring all variables with var. So the purpose of this article is for me to stop this habit once for all.

Var is function scope. This means when a variable is declared with a var in a function, that variable can’t be accessed outside of that function and it will throw an error.


```
function sound() {
    var dog = "woof"
    console.log(dog) 
}
sound()
/// woof
woof
/// Uncaught ReferenceError: dog is not defined
```

However, if a variable is declared with a var in a block scope, that variable can be accessed outside of that block scope.

```
var sound = "woof"
if (sound === "woof") {
 var animal = "dog"
 console.log(`${animal} goes ${sound}`)
}
/// dog goes woof
animal
/// "dog"
```

This problem can be fixed by declaring variables with let, which is block scoped.

```
var sound = "woof"
if (sound === "woof") {
 let animal = "dog"
 console.log(`${animal} goes ${sound}`)
}
/// dog goes woof
animal
/// Uncaught ReferenceError: animal is not defined
```

Const is similar to let but with one big difference. Const can’t be reassigned. Also both const and let can’t be redeclared unlike var.
How do you avoid feelings of entitlement?
Tags: career, discuss
Published: 2018-04-20 14:00:38

---
title: How do you avoid feelings of entitlement?
published: true
description: 
tags: career, discuss
---

At a certain level of achievement in a software, it can be easy to become entitled.

![](https://frinkiac.com/gif/S08E02/92508/96128.gif?b64lines=IFdoYXQncyB3cm9uZyB3aXRoIHRoaXMKIGNvdW50cnk_IENhbid0IGEgbWFuIHdhbGsKIGRvd24gdGhlIHN0cmVldCB3aXRob3V0CiBiZWluZyBvZmZlcmVkIGEgam9iPw==)

How do you stay humble and appreciative?
Introduction to Scala
Tags: scala, programming, tutorial, screencast
Published: 2018-04-20 13:57:04

---
title: Introduction to Scala
published: true
description: Scala tutorial screencast
tags: scala, programming, tutorial, screencast
cover_image: https://thepracticaldev.s3.amazonaws.com/i/q6gh2iwtk1k0teaelacq.png
---

_Originally posted on [jmkoni.com](https://www.jenniferkonikowski.com/blog/2018/4/13/introduction-to-scala)_

I signed myself up to teach a Scala class through [Girl Develop It Pittsburgh](https://www.girldevelopit.com/chapters/pittsburgh) a few months ago and the class was supposed to be tomorrow. I say "supposed to" because we only had two people sign up, so we ended up canceling. However, I still made a presentation! And since I spent all that time on a presentation, I decided to make a set of screencasts to accompany that presentation. If you've ever been interested in trying out Scala, I hope this helps. If you need any help or want me to go through some other aspect of Scala, feel free to [contact me](https://www.jenniferkonikowski.com/contact).

Find the screencast series [here](https://vimeo.com/album/5111827) and the presentation [here](https://speakerdeck.com/jmkoni/scala-welcome-to-the-wonderful-world-of-functional-programming). And then bug Ben to allow for Vimeo and Speakerdeck embedding 😛.
Git [Script] Aliases That Could Be Helpful
Tags: git, gitaliases, github, shortcodes
Published: 2018-04-20 13:12:26

---
title: Git [Script] Aliases That Could Be Helpful
published: true
description: A post that may simplify your git usage.
tags: git, git-aliases, GitHub, short codes,
cover_image: https://thepracticaldev.s3.amazonaws.com/i/bwe11832sd19wtnrkmwv.png
---

Usage of terminal is one of the best things a programmer does. It makes us feel like a little hacker playing around (at-least to me ;D ) with his cozy tool. We write little tools (when ever possible) to automate small tasks or cut the pain of typing a very long commands.

Git has the awesome feature of writing your own [**aliases**](https://git-scm.com/book/en/v2/Git-Basics-Git-Aliases) to commands. I like it a lot and written a set of aliases that I use everyday (I call them **short-codes**) and I wanted to share them hoping to-be useful to others.

## And it starts here ..

These are the list of aliases that I use everyday.

```javascript
alias g!='git init' 
alias g.='git add .'
alias g.-file='git add'
alias gb='git branch'
alias gb-new='git checkout -b'
alias gblame='git blame'
alias gcl='git clone'
alias gc='git commit -m'
alias gcout='git checkout'
alias gd='git diff'
alias gf='git fetch'
alias gl='git log'
alias gph='git push'
alias gph-f='git push -f'
alias gpl='git pull'
alias gr='git remote'
alias gr-list='git remote -v'
alias gr-add='git remote add'
alias greset='git reset --hard'
alias grevert-head='git revert HEAD'
alias grevert='git revert'
alias gs='git status'
alias gsh='git stash'
alias gsh-a='git stash apply'
alias gsh-c='git stash clear'
alias gsh-d='git stash drop'
alias gsh-l='git stash list'
alias gsh-p='git stash pop'
```

If you feel they are helpful, you can create your own aliases with the above list or I have created a [git repo](https://github.com/SarathSantoshDamaraju/lazyGit) with detailed instructions to install and use them. 

Make sure to reopen your terminal to see the changes.

Update: I'd recommend beginners to learn and understand actual commands before using any tools/aliases for git.

-----
What is git rebase?
Tags: git, explainlikeimfive, beginners
Published: 2018-04-20 11:41:13

---
title: What is git rebase?
published: true
description: A simple explanation of the git rebase feature.  It's something you should definitely use!
tags: git, explainlikeimfive, beginners
---

You can think of git commits like a long chain.  Each time you make a commit, you add one more link in the chain.  The problem is that sometimes that chain can split into two chains like this:

    D
    |
    C   C2
    |   |
    B --
    |
    A

What most people do when they want to move C2 back into the original chain is what is called a merge and it looks like this:

    E
    |  \
    D   |
    |   |
    C   C2
    |   |
    B --
    |
    A

In which E is a commit which combines the changes of C, D, and C2 into a new commit .  However, with branches and then branches off of branches this can quickly lead to a spaghetti looking history.  Instead, let's see what happens when you switch to the branch with commit C2 (let's call it 'dev') and run rebase on the main line (let's call it 'master').  So

```bash
git checkout dev
git rebase master
```

    C2
    |
    D
    |
    C
    |
    B
    |
    A

This history is much cleaner now, as C2 was simply moved to the end of the line.  This is what rebase does.  Note that master is still pointing to 'D', and dev is pointing to the new 'C2' location.
Google Helped Me
Tags: petpeeve, post
Published: 2019-01-20 15:25:14

---
title: Google Helped Me
published: true
tags: pet_peeve,post
canonical_url: https://horia141.com/google-helped-me.html
---

And now it’s time for a small rant.

The other day I heard a colleague say that they solved a problem _with some help from Google_. By which he meant that they used Google’s search to find an answer to their problem. And herein lies my problem. It wasn’t Google which provided the answer. That was usually on some blog post or GitHub issue or StackOverflow answer. All written by another human. Google simply found the answer. It had _some_ merit, definitely not all of it and perhaps even a minority of it.

And that’s the way it goes. Both with Google and StackOverflow, because they are the common denominator in all tech searches, and because they’re so ubiquitous, they end up being the only thing mentioned.

There really isn’t a solution unfortunately.

/Rant
Build Teams Using Simplicity
Tags: microservices, culture, productivity
Published: 2018-04-19 08:12:25

---
title: Build Teams Using Simplicity
published: true
description: Microservices, love them or hate them, they are a concept that does allow a humongous project to be divided into smaller manageable duties
tags: microservices, culture, productivity
---

Microservices, love them or hate them, they are a concept that does allow a humongous project to be divided into smaller manageable duties. This is a perfect approach for software development because it allows autonomous teams to work faster, reducing the management of red tape and bureaucracy. It's a simple statement, but when tasks are split into their simplest form, they are easier to complete. Teams can focus better, innovate better, work closely and be motivated by their speed and empowerment. But what are the subtle benefits software developers stand to gain by using microservices?

 

<code>"organisations which design systems ... are constrained to produce designs which are copies of the communication structures of these organisations" - Conway's law.



This is one of the main reason organisations are moving to microservices but what benefits does this give?

1. It allows a very large project to be segmented, worked on separately and the components brought together during implementation.

2. Different departments or capabilities do not have to wait for others to complete their task prior to designing, constructing and re-iterating their part.

3. It decreases bureaucracies because there is a massive amount of ownership placed on the service team - "you built it, you own it".

4. Teams can use the technology they want to achieve the task.

However, we believe the most important benefit you gain from the microservice approach is clarity and simplicity.

Teams thrive when they understand the task and its defined with clarity and simplicity.