teleren/devto huggingface dataset:
Technology stack for large simulations?
Tags: simulation, matrix, architecture, discuss
Published: 2018-06-04 14:16:09

---
title: Technology stack for large simulations?
published: true
description: Who is familiar with what technologies large scale - real world simulations can be done with?
tags: simulation, matrix, architecture, discuss
---

Hello,

As I study Software Architecture I found a niche category of products on which I'm not familiar with, so I want to improve my knowledge, hence here I am.

I read about some studies done on Singapore and other few cities, about how resources are used, in order to measure any urban future decision impact has on it. Like for example what happens to the traffic if we add a new subway station here? 

Read about [the study here](http://www.veolia.com/middleeast/sites/g/files/dvc171/f/assets/documents/2016/09/Smart_City_-_For_City.pdf) I don't think the results are public though.

**My question is, do you know what is the technology stack of these companies? (Veolia, ForCity ...).**, to build and run these models.

From what I could find out from a quick research is that they made their own web platform (ForCity hires for Python/PostgreSQL/JS stack), so I can assume some AI models? opposite to the old Matlab simulations.

Offtopic: When I was playing SimCity (for a long time), as a game dev, I was intrigued by their simple simulation systems (generators, resources and consumer), and how they have built complex systems based on a simple system like that.
Breaking into Systems Administration/Network Administration
Tags: career, discuss
Published: 2018-06-04 14:13:49

---
title: Breaking into Systems Administration/Network Administration
published: true
description: Asking for tips when unable to break into new area of technology
tags: career, discuss
---

I have been trying to get into systems administration/network administration for the past year. A lot of places advertising for a 1 position (Network administrator 1 or Systems Administrator 1) are requiring at least 2 years of experience. I have a bachelor's degree in Computer Science.

I have applied to multiple jobs and have yet to even get an interview because of my "lack of minimum qualifications." In my first job, that I was at for about a year and a half, I helped a lot with network troubleshooting and monitoring as well as a lot of security tasking, like vulnerability scanning, etc. But my main position title was "Computer Science Specialist" and nothing to do with systems or network administration.

I'm just not sure how to stand out and get an interview so I can at least have a shot. I have a lot more knowledge in the area than my experience lets on. I have been studying for certifications (CCNA, Network+, etc.) and hope to get those soon. I'm sure that will help, but there are rarely openings in my area. 

I am hoping someone out there has some tips that will help me. I've learned that this is really my passion and I want to get started in the field as soon as I can. My next steps are to get an associate's degree in Cybersecurity and Computer Networks, but I won't have the time to start that program for at least a year.
Microsoft acquiring GitHub may be great for Git
Tags: git, microsoft, gitlab, github
Published: 2018-06-04 14:32:47

---
title: Microsoft acquiring GitHub may be great for Git
published: true
tags: git,microsoft,gitlab,github
canonical_url: https://medium.com/@jamierocks/microsoft-acquiring-github-may-be-great-for-git-723392937ef5
---

Git is a decentralised system, yet oddly swarms of developers have settled on hosting their projects source code, issue trackers, and more exclusively on one convenient package: GitHub. GitHub and other Git-based services (such as Google Code) took over the top positions from SourceForge in the last decade. However, within the last few years, the picture is more singular than it ever has been for public projects — GitHub has dominated the industry, and serious alternative services have all but disappeared (e.g. Google Code).

Today (Monday 4th May 2018) it was announced _officially_ that [Microsoft have acquired GitHub for stocks worth $7.5 billion](https://news.microsoft.com/2018/06/04/microsoft-to-acquire-github-for-7-5-billion/). The community has not responded well, and people have been discussing moving to alternative services over the weekend — [GitLab has had a 10x increase in project imports from GitHub](https://twitter.com/gitlab/status/1003409836170547200).

{% twitter 1003409836170547200 %}

Yet perhaps this is not quite as bad as it may seem. In recent years Git has become synonymous with GitHub, and I’ve had multiple occasions where people new to Git do not understand the difference. A more fragmented industry can only be a good thing, right?

Well, my first thought was yes — competition would force everyone to innovate and improve their service; and the difference between the service (GitHub) and the tool (Git) would be far more apparent. However, that lacks the consideration that profits are going to be further spread out across the industry (though this would perhaps not affect GitLab as it is an OSS project, and hasn’t in the past) — perhaps making innovation slower ( I would think unlikely as GitHub have done a fairly good job without major competition recently).

Ultimately nobody knows exactly what Microsoft plans to do with GitHub, and perhaps they’ll leave it as-is with minimal meddling. Though it is interesting to consider what Microsoft’s competitors will (or not do) in response — both Apple and Google host plenty of their projects on GitHub, perhaps we will see a return of Google Code — only time will tell…
Explain GitHub Like I'm Five
Tags: explainlikeimfive, github
Published: 2018-06-04 13:05:29

---
title: Explain GitHub Like I'm Five
published: true
description: Simple explanations of what the GitHub is.
tags: explainlikeimfive, github
---

Since GitHub is likely to be in the mainstream tech news a bit more in the next few days, I figured it might be good to gather some simple explanations of what the service is in case your friends or family ask you about this.
Who's looking for open source contributors? (June 4 edition)
Tags: discuss, opensource
Published: 2018-06-04 12:53:54

---
title: Who's looking for open source contributors? (June 4 edition)
published: true
description: Please shamelessly promote your project. Everyone who posted in previous weeks is welcome back this week, as always.
tags: discuss, opensource
---

Please shamelessly promote your project. Everyone who posted in previous weeks is welcome back this week, as always. 😄
Getting data from a website santabarbarahvaccontractor without an API in 3 lines of Python code
Published: 2018-06-04 12:47:54

---
title: Getting data from a website santabarbarahvaccontractor without an API in 3 lines of Python code
published: true
description: Python as a means of automating the process in the SEO
tags: 
---

We talk about how you can save time and nerves while automating the process of obtaining data from websites without an appropriate API.


Suppose that in search of the data required for your project, you stumble upon such a web page https://www.santabarbarahvaccontractor.com:

Here they are - all the necessary data for your project.

But what if the data you need are on a site that does not provide APIs for receiving them? Of course, you can spend several hours and write a handler that will receive this data and convert it to the format you need for your application.

But there is a simpler solution - the Pandas library and its built-in function read_html (), which is designed to retrieve data from html pages.

*import pandas as pd*
*tables = pd.read_html("https://www.santabarbarahvaccontractor.com/") *
*print(tables[0])*

Yes, everything is so simple. Pandas finds the html-tables on the page and returns them as a new DataFrame object.

Now let's try to tell Pandas that the first (to be exact zero) row of the table contains the column headers, and also ask it to generate a datetime-object from the row in the column with the date and time.

*import pandas as pd*
*calls_df, = pd.read_html("URL", header=0, parse_dates=["Call Date"])*
*print(calls_df)*

Now you know how using Python and Pandas you can quickly get data from almost any site, without much effort
OAuth 2.0 and OpenID Connect Flows
Tags: oauth2, openid, discuss
Published: 2018-06-04 12:06:52

---
title: OAuth 2.0 and OpenID Connect Flows
published: true
description: 
tags: oauth2, openid, discuss
---
This post is partly for my own benefit, and partly for people to tell me that I've completely misunderstood things. So please, if it's wrong then tell me!

OAuth 2.0 offers two standard flows:
* Authorization Code Grant - `response_type=code`
* OAuth 2.0 Implicit Grant - `response_type=token`

OpenID Connect then augments these with the following:
* OIDC Implicit Grant - `response_type=id_token token` or `response_type=id_token`
* Hybrid Flow - `response_type=code id_token`, `response_type=code token` or `response_type=code id_token token`

In actuality, these all work in the exact same way:

* If `response_type` contains `code` then generate and return an Authorization Code that can be exchanged for an Access Token
  * In this case, if `scope` contains `openid` then include an ID Token as well as an Access Token in the response from the Token endpoint.
* If `response_type` contains `token` then generate and return an Access Token - though probably a more tightly restricted one that expires sooner.
  * In this case, return the parameters as a Fragment on the redirect. If this is not present then return the parameters as a Querystring instead.
* If `response_type` contains `id_token` then generate and return an ID Token.

These three rules can then be mixed and matched however is wished to give the combinations that are covered in the spec. 

However, interestingly enough, if you follow these three rules instead then you get more flexibility. For example, the specs allow for all 7 combinations but only in a specific ordering - which happens to be alphabetical. Ignoring that fact would allow you to also accept:

* code token id_token
* token code
* id_token code token
* etc

I don't see that there's a whole lot of benefit to this, but the flexibility that you gain by making the rules *simpler* seems to be of some use.

Additionally, the rules for mandatory inputs are apparently that:

* scope - always REQUIRED
* response_type - always REQUIRED
* client_id - always REQUIRED
* redirect_uri - always REQUIRED
* state - always RECOMMENDED
* nonce - REQUIRED if response_type contains `id_token` but not `code`. OPTIONAL otherwise.
  * I don't get this one, but the OpenID Connect specification explicitly marks `nonce` as REQUIRED only during the OIDC Implicit Flow, and not in the others.

Am I missing anything here? Or is it really that this simpler interpretation gives everything needed from the spec?
I quit my job as a SysAdmin to focus on Web Development, Ask Me Anything!
Tags: ama
Published: 2018-06-04 07:59:53

---
title: I quit my job as a SysAdmin to focus on Web Development, Ask Me Anything!
published: true
tags: ama
---

### Little bit about me: ###
* I'm turning 23 at the end of June.
* A few months away from graduating with (I guess you could call it) IT degree focusing on computer science and programming.
* Got burned out on my job as a SysAdmin and decided to quit while I still have the ability to.
* I'm focusing on front-end currently (specifically Vue), but really wanna go full-stack in the future.
* Amateur at programming, but I am learning every single day and reflecting what I can do better all the time.

AMA!
Besides me, Who else Uses Windows for coding?
Tags: windows, coding, programming, discuss
Published: 2018-06-04 05:28:10

---
title: "Besides me, Who else Uses Windows for coding?"
published: true
description: 
tags: windows, coding, programming, discuss
---

I don't know about you, but my experience with windows has been better than Linux. It feels snappier using windows 10 than any Linux distribution, besides the fact that Visual Studio steps on code like nothing else... On a slow machine, windows 10 hangs less... 
<b>What about you?</b>
Coders with disability
Tags: discuss, disabledcoders, positivevibes
Published: 2018-06-04 05:14:53

---
title: Coders with disability
published: true
tags: discuss,disabled coders,positive vibes
---

# Are there any coders in Dev.to who has disability? and what are the challenges they face everyday?

As a disabled coder most of time it is really challaging task to keep up with other coders out there.

suffering form rare auto immune disorder and paralyzed from belly-button down I lost my day job and forced to work from home. in the beginning it was a nightmare, I was not able sit in front of my computer not more than 2 hours. after landing first freelancing gig i had to bare the pain and had to work hard to achieve the deadline. even though I'm disabled i do not like to tell that to my clients.

with the positive mindset now I'm able to cover my bills and medical costs, but it is really hard. i wrote this to share my story with coders who struggle to survive just like me. :):)
Reusing LCD from old Laptop with Raspberry Pi.
Tags: iot, tech, technology
Published: 2018-06-03 08:21:05

---
title: Reusing LCD from old Laptop with Raspberry Pi.
published: true
description: Using LCD from old laptop as Raspberry Pi display.
tags: internetofthings,iot,tech,technology
---

So I had this old Dell Studio 14 laptop lying around at home. Used it for close to 5 years before its motherboard gave up. I wanted a cheap display for my Raspberry Pi which I bought recently.

I googled and found we can reuse LCD panel from laptop with RaspberryPi but we need a driver/controller board for it. The interface used for communication is [LVDS](http://https://en.wikipedia.org/wiki/Low-voltage_differential_signaling). I got the board for $30 from ebay. It was very easy to setup and now I have a 14" display for my Raspberry PI.

![1](https://www.jigsawcode.com/content/images/2018/06/0.jpeg)

![1](https://www.jigsawcode.com/content/images/2018/06/1.jpeg)

And there it is. We can Indeed hook up any thing that support HDMI or DVI to it, can use as a secondary monitor for your Laptop or maybe make a digital photo frame.If you want to give it a cool look do [check out this video](http://https://www.youtube.com/watch?v=CfirQC99xPc&t=1s&lipi=urn%3Ali%3Apage%3Ad_flagship3_pulse_read%3BDzma6W%2F2TwOAo87gSCQ%2BYg%3D%3D).

>Originally posted in [JigsawCode](https://www.jigsawcode.com/)
Good first steps for a JS style guide?
Tags: discuss
Published: 2018-06-03 23:39:54

---
title: Good first steps for a JS style guide?
published: true
description: 
tags: discuss
---

Right now I'm essentially the only frontend dev at my company, but we have plans to bring on one more (sometime soon, I think? ¯\\_(ツ)_/¯). With that in mind, I'd like to start writing some sort of JS style guide / best practices doc. **What are some good first items to include?**
What do you guys think about Microsoft buying GitHub?
Tags: discuss
Published: 2018-06-03 22:59:52

---
title: What do you guys think about Microsoft buying GitHub?
published: True
description: So I went on to twitter today. To see that Microsoft is obtaining GitHub. Now out of curiosity what do you guys think of this?
tags: #discuss
---

So I went on to twitter today. To see that Microsoft is obtaining GitHub.
Now out of curiosity what do you guys think of this? I personally have mixed opinions on the idea. As we have all scene what happened to Skype when they got acquired. And I would really hate to see GitHub go that route. I do feel like there more than likely wont be any changes as GitHub is huge resource for open source.Although if it does go south I feel like there are other options out there. Such as Git-Lab and Bit Bucket. I think only time will tell what will happen.I just hope they keep the service the way it is and do not fix what is not broken.
I Made a Dev-Related Comic Strip - When You Add a New Feature Without Enough Tests
Published: 2018-06-04 11:34:37

---
title: I Made a Dev-Related Comic Strip - When You Add a New Feature Without Enough Tests
published: true
tags: 
canonical_url: http://seanballais.github.io/blog/comic-strip-3-when-you-add-a-new-feature-without-enough-tests/
---

![When You Add a New Feature Without Enough Tests](http://seanballais.github.io/static/img/posts/comic-strip-3-when-you-add-a-new-feature-without-enough-tests/comic-strip.jpeg)


_What software projects have you worked on that doesn’t have tests? How was the experience? Let me know in the comments below._

P.S. I also created two comic strips and wrote a few articles over at [my website](https://seanballais.github.io/). Go check them out!
Eventish: A wrapper around NodeJS raw events API
Tags: showdev, help, node
Published: 2018-06-03 21:45:45

---
title: Eventish: A wrapper around NodeJS raw events API
published: true
description: A lightweight library for setting and triggering events in NodeJS with the convenience of setting and triggering the events using different formats.
tags: showdev, help, node
---

Hello friends! I built a lightweight library to put to practice what I learnt from the NodeJS events API. I require your inputs on the library design, interface, possible uses and every other help possible. 

## Link to the code is at
[Eventish] (https://github.com/ChukwuEmekaAjah/eventish)

## NPM module is at 
[Eventish] (https://www.npmjs.com/package/eventish)

By the way, this work was inspired by the work done by my friend [Adebayoh Shalvah] (https://dev.to/shalvah) with his beautiful library [burns] (https://github.com/shalvah/burns)

Thanks for your most anticipated response.
What's your opinion on Microsoft's GitHub Acquisition?
Tags: discuss
Published: 2018-06-03 21:26:34

---
title: What's your opinion on Microsoft's GitHub Acquisition?
published: true
description: The Verge just reported that Microsoft has acquired GitHub.
tags: discussion
cover_image: https://thepracticaldev.s3.amazonaws.com/i/1krw9d20stfo16znhmad.png
---

***UPDATE 2018/06/04***
Microsoft [confirms the acquisition](https://www.theverge.com/2018/6/4/17422788/microsoft-github-acquisition-official-deal).


The Verge just reported that [Microsoft has reportedly acquired GitHub](https://www.theverge.com/2018/6/3/17422752/microsoft-github-acquisition-rumors).

What's your opinion about it?

Some of the questions I can think of for the discussion are

- Will Open source contributors and project stay on GitHub?
- Will Microsoft abandon VSTS ([Visual Studio Team Services](https://www.visualstudio.com/team-services/))?
- etc.

And also,
Gnome has recently [moved to GitLab](https://about.gitlab.com/2018/05/31/welcome-gnome-to-gitlab/).
- Would **you** keep using GitHub? or consider alternatives such as GitLab, BitBucket, etc?

I am wondering about how you think about this "supposed" acquisition.
Would you pay a data ransom?
Tags: discuss, ticketfly, breach
Published: 2018-06-03 20:58:26

---
title: Would you pay a data ransom?
published: true
description: Ticketfly.com refused to pay a 1BTC ransom and got data dumped.  Would you pay the ransom?
tags: #discuss, ticketfly, breach
---

![TMBG Ticket](https://thepracticaldev.s3.amazonaws.com/i/yjii08osib4n3iqphbl1.jpg)

# Ticketfly.com data breach
I was notified by [Have I Been Pwned](https://haveibeenpwned.com) that my Name, E-Mail address, Mailing addresses and phone numbers were dumped publicly online as part of the [ticketfly.com](http://ticketfly.com) data ransom involving 26 million account records.  [Motherboard reports](https://www.billboard.com/articles/business/8458918/ticketfly-warned-hacker-vulnerability-website-down) the attacker requested a ransom of 1BTC (~$7500).  It's unclear if the request was ignored intentionally, or overlooked.  In theory, it would have cost ticketfly.com $0.000288 to protect my customer record.  Now the dark web knows I always buy tickets to see They Might Be Giants.

# Would I pay the 1BTC ransom?
It's common advice that a blackmailer will never stop asking for more money.  It's also safe to assume that just because the hacker doesn't publicly dump the data immediately, she/he will still be selling it on the black market.

However this is a low-cost ransom request.  Paying the ransom may buy time to fix the vulnerability, and perhaps could have kept ticketfly online.  I'm told that venues cannot buy, sell, or verify tickets for concerts this weekend.  This is going to cause probably more than $7500 in damage to every ticketfly venue.

I'd would have paid the ransom.

What would you do?
Page TOC Now in Ruby Gem markdown_helper
Tags: ruby, github, markdown, documentation
Published: 2018-06-03 17:40:06

---
title: Page TOC Now in Ruby Gem markdown_helper
published: true
description: 
tags: ruby, github, markdown, documentation
---
Gem [markdown_helper](https://rubygems.org/gems/markdown_helper) now has page TOC:

- Builds the table of contents for a markdown page.

See [What's New](https://github.com/BurdetteLamar/markdown_helper#whats-new).
How to dry your .gitlab-ci.yml
Tags: gitlab, ci, yaml
Published: 2018-06-02 17:21:21

---
title: How to dry your .gitlab-ci.yml
published: true
description: GitLab CI/CD configuration templates
tags: GitLab, CI, yaml
---

Playing around with `.gitlab-ci.yml` I found few nice things I'd like to share. Let's start with an example:

```yaml
.frontend_template: &frontend_template
  stage: deploy
  script:
  - npm install netlify-cli -g
  - ember deploy $ENVIRONMENT --verbose
  - netlify deploy -e $ENVIRONMENT -p ./dist -s $NETLIFY_SITE_ID -t $NETLIFY_KEY

.frontend_variables: &frontend_variables
  API_SERVER: "http://${ENVIRONMENT}-api.example.com"
  NETLIFY_SITE_ID: "${ENVIRONMENT}-example-com"

development_frontend:
  <<: *frontend_template
  variables:
    ENVIRONMENT: "development"
    <<: *frontend_variables
  only:
  - master

production_frontend:
  <<: *frontend_template
  variables:
    ENVIRONMENT: "production"
    <<: *frontend_variables
  only:
  - production
```

There's quite a lot going on, so let's try to decompose it piece by piece:

 - Each [job definition](https://docs.gitlab.com/ee/ci/yaml/README.html#jobs) that starts with a dot is ignored. So `.frontend_template` and `.frontend_variables` do *not* define active, runnable jobs. This feature is called [hidden keys](https://docs.gitlab.com/ee/ci/yaml/#hidden-keys-jobs).
 - [YAML](https://learnxinyminutes.com/docs/yaml/) allows for referencing other parts of itself to prevent copy&pasting. The feature is called [anchors](https://docs.gitlab.com/ee/ci/yaml/#anchors). Simply speaking:
   - `&frontend_template` is *copy* 
   - `<<: *frontend_template` is *paste*
 - It might seem weird to have separate `frontend_template` and `frontend_variables`, but YAML does not allow complicated merging when using anchors, so that `variables` key cannot be simply put into `frontend_template`, because it would be overwritten with the key of the same name at `development_frontend` / `production_frontend` level.
 - It is important to import `frontend_variables` after the definition of `ENVIRONMENT`, because then we can use that variable in `API_SERVER` / `NETLIFY_SITE_ID`.

Bonus: If you ever wonder how does your YAML look like when expanded, you can simply convert your source to something that does not support anchors. Like JSON for example. [Try it](http://yaml-online-parser.appspot.com/) with the example above.