teleren/devto huggingface dataset:
Why I fell in love with K8s
Tags: kubernetes, discuss
Published: 2018-09-15 17:58:03

---
title: Why I fell in love with K8s
published: true
description: Title is self descriptive.
tags: Kubernetes, discuss
---

This is the first time I am actually using my phone to login and write this post, so please pod with me. 

I got to work with Kubernetes just a little bit about 2y ago, mostly was around to see if company I worked for had compatibility utilizing something like containers etc. The more I dived into the more complex it got, however that did not scare me away because after all the complexity is something I actually enjoy, harder challenge = big rewards. 

Bit forward, I changed my job and my superior asked me to be on a K8s team. Best thing I could really ever wanted to be in was right there and then. 

So why did I fell in love with working on Kubernetes on daily basis? Well for one the community is large and super friendly and helpful, everyone is still in sharing thoughts and solving complexity of it. Another one is the team I work with. All are hands on K8s day in and out, and everyone pitches in brick a day in where we are building yuuugee tower and rewards are amazing. 

Example: 

CoWorker1 says I’ll try this new thing called Istio, few days later he demo it to our team and other beight minded Devs n Ops. He came up with really nice demo in which he shoed is how one could do a canary deployment yet preserve say 90% of traffic on V1 and 10% of traffic on V2. Sure rolling updated and blue/green deployments are nice but this took it to a whole new level. Soon to be a reality where team of Devs I support will enjoy doing deployments at any point of time and day. 

Another one I demoed was bit longer ago called Chaos Monkey which was suggested by my coworker as a pitch, “let’s see how stable our infrastructure is. “ Chaos monkey took out pods and made a Chaos however our infrastructure was stable at the very end. 

I worked with many technologies and infrastructure orchestration but Kubernetes is one I can say thus far makes me happy to work on daily basis. 

Let me not go into something like Docker Swarm and or Rancher because complexity and pain working with the two is nothing but horrible experience IMO. You either love it or hate it.  

If you are working on Kubernetes or something similarly feel free to share your thoughts.. 

**Edit:** written on my phone so don't judge on my grammar :). Added few words to make it more hateful towards Rancher loverzz..
My (mis)adventures in creating a programming language
Published: 2018-09-15 16:13:40

---
title: My (mis)adventures in creating a programming language
published: true
description: 
tags: 
---

A few months ago, I embarked on a foolish and misguided journey, to make the world a better place... by trying to create a new high level programming language(which you can find <a href="github.com/danielandastro/interscript">here</a>), I had help, but the project soon faded to the back of my github account. Unfortunately I started work on another one, smaller and more assembly based, and I am looking for team members to join, check it out <a href="github.com/danielandastro/asmblr">here</a>.
Alcohol and developer culture
Tags: alcohol, health, culture, discuss
Published: 2018-09-15 15:34:16

---
title: Alcohol and developer culture
published: true
description: A candid discussion on alcohol in the developer community. Is your company culture slowly murdering your employees?
tags: alcohol,health,culture, discuss
---

Hi there, I want to have a quick discussion my friends. Not looking to toot my own horn but, today marks two years sober for me. I think alcohol is a relatively un-discussed issue in the professional community, especially tech and startup culture. 

A bit of a brief history on me, is that I used to be quit the drinker and alcoholic. I started drinking when I studied abroad in Korea, and kept it up when I came back. It caused me to lose my dream job and almost become homeless. I eventually got a job but still kept on drinking. I had a minor health scare and stopped drinking completely, that was two years ago.

Things are going well now. I quit smoking, got a better job, increased my skills a whole bunch, got a dog, and just all around am doing better! The increase in mental clarity and acuity from not drinking and smoking is insane. Its like I'm two times smarter almost!

However, I want to talk about alcohol in dev culture. From beer on tap in startups, to encouraging going out and getting plastered as 'team building', alcohol is very prevalent. All tech events seem to have beer in cans or bottles at a minimum. This doesn't bother me anymore, though it made not drinking difficult when starting out. 

For the newly sober this can be a death sentence, and for the rest of us, its a minor worry. 

"Will I be seen as an uncool prude if I don't go out and drink? Will people judge me?"

"Should I reveal my past drinking so that my coworkers keep me accountable?"

"Will my past drinking prevent a promotion or limit my career options?"

"Can I safely go to rehab without losing all my PTO or sick days, and have no one ask about it? I don't want everyone to know."

These are the kinds of questions some of us will ask ourselves. I'm not sure exactly where I'm going with this, but I wish people would think more about the impact of alcohol culture in their companies. A lot of events will have some La Croix or soda, and that's great! However, it feel like a shitty consolation prize. The company "splurges" on the good beer, and you get a canned coca-cola. Maybe also "splurge" on the fancy sodas, or have a fancy mocktail, or something else at your event. This is also good for people who don't drink culturally such as Muslims, or who have other health issues. 

Lastly I want to say to anyone who is struggling with alcohol here, feel free to reach out to me. I used mostly reddit.com/r/stopdrinking to stop, but also kept busy with meetups and video games. There's no one way to stop drinking, alcoholics anonymous, rehab facilities, retreats, SMART programs, whatever. Your doctor has loads of resources to help you, they won't judge you and will help you repair any damage you've done. 

Thanks for reading, and enjoy some ice cream tonight for me! I for one, am not drinking.
Where I am can find a reviewers?
Tags: java, opensource, work, developer
Published: 2018-09-15 15:31:12

---
title: Where I am can find a reviewers?
published: true
description: My first article at the dev.to
tags: java, open source, work, developer
---

# Hello, everyone!
My name is Yegor and I am java junior developer. And as developer I have a my own project. But I have an one problem - review. I do not have a friend which is developers. But I really want to find it. 

If you could help me with review, please contact with via twitter @voronyanskye or gitter @vrnsky.

I would like to help with code review for other peoples. If you need review - also contact with me.

And if you would life for communion I am open to communion!

Have a good day!
Finally found a cross-platform Excel parsing library
Tags: dotnet, excel
Published: 2018-09-15 12:35:30

---
title: Finally found a cross-platform Excel parsing library
published: true
tags: dotnet,excel
canonical_url: https://blog.codingmilitia.com/2018/09/15/finally-found-a-cross-platform-excel-parsing-library
description: I have surely been living under a rock, not knowing about the ExcelDataReader library, but now I do!
cover_image: https://thepracticaldev.s3.amazonaws.com/i/1h1yk3m4g58g7waf00vv.jpg
---

## Intro

I know, I know, I’ve been living under a rock! The [ExcelDataReader](https://github.com/ExcelDataReader/ExcelDataReader) library has been there forever, but only recently I’ve came across it. What sets it apart from the others I’ve found along the way is being cross-platform and not being required to install some weird external dependencies.

## Getting started

To get started with the library we just need to add the desired NuGet package(s).

- `dotnet add package ExcelDataReader` for the base package with lower level APIs
- `dotnet add package ExcelDataReader.DataSet` for some extensions that make it simpler to use
- `dotnet add package System.Text.Encoding.CodePages`, required when running in .NET Core only, due to (taken from the projects GitHub page) “This is required to parse strings in binary BIFF2-5 Excel documents encoded with DOS-era code pages. These encodings are registered by default in the full .NET Framework, but not on .NET Core.”

## The code

The code is really simple, at least for my use case, as I don’t need anything too fancy. In the project I originally used it, we just needed to read some tables from Excel files provided to us with the expected results of some business logic, and assert our implementation correctness in the tests. This sample is derived from our simple requirements.

{% gist https://gist.github.com/joaofbantunes/7cdf504690182f45fae359a60d67929d %}

I’d say the code is pretty simple and doesn’t need much explanation. The only thing maybe worth pointing out is the `System.Text.Encoding.RegisterProvider` method call, which is related to what I mentioned previously regarding the need for the `System.Text.Encoding.CodePages` package.

## Outro

So, if you have been living under a rock like me and require a simple to use library for reading some Excel files, I’d say this is a very good option.

Not that it’s needed for this so simple sample, but the entire sample project is [here](https://github.com/joaofbantunes/ExcelDataReaderSample).

Thanks for stopping by, cyaz!
How to Encode and Decode URL Using PHP
Tags: php, webdev, programming, code
Published: 2018-09-15 11:37:57

---
title: How to Encode and Decode URL Using PHP
published: true
description: How to Encode and Decode URL Using PHP
tags: #php #webdev #programming #code
---

Post Link : <a href="https://www.skptricks.com/2018/09/how-to-encode-and-decode-url-using-php.html" >How to Encode and Decode URL Using PHP</a>

This post explains how to encode and decode URL using php. PHP supports encoding and decoding of URL by providing some built-in functions. Encoding is required before sending URL data to query string or to a function which might dynamically work on this URL data. And then, this data will be decoded into its original form, after receiving it in target PHP page or function.

<img src= "https://2.bp.blogspot.com/-YNCOGak1cOU/W5zsOzB1QZI/AAAAAAAAB40/VzFbSfsmeJ4zcOCtOWUbDFetKG_znT-9ACLcBGAs/s400/ss.png" />


<a href="https://www.skptricks.com/2018/09/how-to-encode-and-decode-url-using-php.html" >View source code...</a>
Achievement Deserialized!
Tags: c, unix, linux, beginners
Published: 2018-09-15 11:11:37

---
title: Achievement Deserialized!
published: true
description: 
tags: #c #unix #linux #beginners
---

Finally conquered C deserialization! I figured out that a function was setting the address of a main loop variable to the address of a local variable in the function (which gets popped duh - misleading garbage values were everywhere) instead of setting the data in the main loop! The more you know!

PS: I'm working on a unix domain socket daemon that handles and manages inotify watch requests to automate a boring part of my job! #c #unix #linux #beginners
Convert Milliseconds into Days, Hours, Minutes, Seconds in Java
Tags: java, corejava, beginners, timeconvert
Published: 2018-09-15 11:00:51

---
title: Convert Milliseconds into Days, Hours, Minutes, Seconds in Java
published: true
description: Convert Milliseconds into Days, Hours, Minutes, Seconds in Java
tags: #java #corejava #beginner #timeconvert
---

Post Link : <a href="https://www.skptricks.com/2018/09/convert-milliseconds-into-days-hours-minutes-seconds-in-java.html" >Convert Milliseconds into Days, Hours, Minutes, Seconds in Java </a>


Sometimes we need to convert the milliseconds into days or hours or minutes or seconds, so in this post we will see how to convert milliseconds into days, hours, minutes, seconds in Java.

Basically when you want to check the exact time taken to execute a program then you may need to calculate the time. So in this case you get the start time in milliseconds and end time in milliseconds and you want to check how much time that program took to execute. Therefore you would like to convert the milliseconds into minutes and seconds to make it more readable format because millisecond unit may not be so understandable quickly.

<img src="https://3.bp.blogspot.com/-nV4MXhF2MV8/W5zindgX4eI/AAAAAAAAB4o/_a5l1walbcM6uJRsSs5LrFV-mlArFxAzwCLcBGAs/s400/tt.png" />

<a href="https://www.skptricks.com/2018/09/convert-milliseconds-into-days-hours-minutes-seconds-in-java.html"> Read More... </a>
Help Build Code Settings Sync Better
Tags: help, opensource, contributorswanted
Published: 2018-09-15 09:04:28

---
title: Help Build Code Settings Sync Better
published: true
description: Visual Studio Code Settings Sync needs your contribution either free or paid. Help us to grow in making visual studio code better!
tags: help, opensource, contributorswanted
---

As we all are posting our projects in [Who's looking for open source contributors?](https://dev.to/ben/whos-looking-for-open-source-contributors-september-10-edition-ldk) allow me to write a complete post for my project 😄 

##### Visual Studio Code Settings Sync !

Over 1.7 Million downloads in the [marketplace](https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync) and featured in [Microsoft Visual Studio Code Tips & Tricks](download.microsoft.com/download/8/A/4/8A48E46A-C355-4E5C-8417-E6ACD8A207D4/VisualStudioCode-TipsAndTricks-Vol.1.pdf) and many sites:

1. [Stackify](https://stackify.com/top-visual-studio-code-extensions/)
2. [Smashing Magazine](https://www.smashingmagazine.com/2018/01/visual-studio-code/)
3. [Shopify](https://www.shopify.com/partners/blog/best-visual-studio-code-extensions-2017)
4. [Scotch Course for Settings Sync](https://scotch.io/courses/make-visual-studio-code-your-editor/settings-sync)

##### Technology Stack

1. Node JS
2. TypeScript and Visual Studio Code API

##### How To Contribute

Read the [Contribution page](https://github.com/shanalikhan/code-settings-sync/blob/master/CONTRIBUTING.md) for details.

You can always improve the Readme, Public Wiki.

##### Bounty Programs

There are many issues that are available for bounty on [IssueHunt](https://issuehunt.io/repos/47984369). You can fix them and get money.


### Fund Issues

##### Paypal
Sending a donation directly to my Paypal

[<img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif">](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4W3EWHHBSYMM8&lc=IE&item_name=Code%20Settings%20Sync&item_number=visual%20studio%20code%20settings%20sync&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)

##### Open Collective

If you looking forward to adding some special features for your company, for this I also welcome financial contributions in full transparency on my [open collective](https://opencollective.com/code-settings-sync).


##### Issue Hunt

You can fund from [Issue Hunt](https://issuehunt.io/repos/47984369)


We need people like you! The developers, to improve the experience for developers.

{% github shanalikhan/code-settings-sync %}
Techenoid Online Training Courses Platform
Tags: onlinecourses, bigdatatraining
Published: 2018-09-15 08:49:39

---
title: Techenoid Online Training Courses Platform
published: true
description: Techenoid - Global online training platform and your one-stop destination for all your online training needs on various latest software technologies in IT.
tags: OnlineCourses,BigdataTraining
---
Idea: tag pages
Tags: meta
Published: 2018-09-15 07:47:59

---
title: Idea: tag pages
published: true
description: 
tags: [meta]
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ia8v36lgotxlffgar0c9.png
---

StackOverflow has additional data attached to tags, like description and icons. Dev.to can do similar, there is already custom color. I would say some small description (for top tags) and maybe art by some illustrator would be nice and pick different illustrators for different tags.
Good resources for learning desktop application architecture so that they can be applied to web applications
Tags: discuss
Published: 2018-09-15 05:17:07

---
title: Good resources for learning desktop application architecture so that they can be applied to web applications
published: true
tags: discuss
---

I was reading Addy Osmani's [Design Patterns book](https://addyosmani.com/resources/essentialjsdesignpatterns/book/#detailmvcmvp) where he talks about the MV* patterns. It was shocking to me how much the original Smalltalk MVC pattern for building desktop application paralleled the Flux architecture and how we work with React/Redux.

Web applications are often thought of as something new that we are just discovering and the ecosystem is, therefore, evolving very fast and new patterns are being discovered.

But it is also quite true that today's web applications are just a natural evolution to the desktop applications we've been building for decades. As such, I believe, it is very important that today's web application developers have access to the learnings from building desktop applications.
AWS CloudFormation became a programming language (2018)
Tags: systemadministratio
Published: 2020-04-05 06:37:31

---
title: AWS CloudFormation became a programming language (2018)
published: true
date: 2018-09-15 05:07:46 UTC
tags: System administratio
canonical_url: https://ilya-sher.org/2018/09/15/aws-cloudformation-became-a-programming-language/
---

… kind of.

Declarative has its advantages which are hyped all over the internet so I’ll skip that part. **The painful downside of declarative approach is often the expressivity.** Sample proofs:

- People [generate CloudFormation files](https://pypi.org/project/cfn-pyplates/).
- Size of the Puppet standard library, which I mentioned under “Limited DSL limitations” in my older post “[Please don’t use Puppet](https://ilya-sher.org/2017/06/09/please-dont-use-puppet/)“.
- Terraform is enhancing the DSL (HCL)
  - [HashiCorp Terraform 0.12 Preview](https://www.hashicorp.com/blog/terraform-0-1-2-preview) (official blog post)
  - [Terraform becomes a programming language](https://ilya-sher.org/2018/06/30/terraform-becomes-a-programming-language/) (my post about this)

Now you can have [Python embedded in your CloudFormation file](https://github.com/awslabs/aws-cloudformation-templates/tree/master/aws/services/CloudFormation/MacrosExamples/PyPlate). That is part of the [CloudFormation Macros](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-macros.html) which were [introduced on 2018-09-06](https://aws.amazon.com/about-aws/whats-new/2018/09/introducing-aws-cloudformation-macros/).

* * *

Happy coding, everyone!
Manage Multiple SSH Logins
Tags: tooling, bash, ssh
Published: 2018-09-15 03:14:38

---
title: "Manage Multiple SSH Logins"
description: "Using a spreadsheet does not always make you clever"
published: true
tags: ["tooling", "bash", "ssh"]
---

It can be quite cumbersome when you have a lot of remote servers to log into. If they support SSH access or if you can configure them to do so, managing access to multiple servers can be pleasantly manageable.

What most programmers don't seem to know is that SSH can use a configuration file in `~/.ssh/config` to create an alias of sorts for SSH hosts. If you use aliases in Bash then you can think of this as an alias for creating an SSH connection to a server. 

```bash
# Without config
ssh -i ~/.ssh/linode01.id_rsa czar.pino@120.111.122.123

# With config
ssh cp.linode01
```

By using the `~/.ssh/config` file, it no longer becomes necessary to provide all of the connection parameters every time you want to connect. All information needed to connect to a host can just be defined in a host entry inside the config file.

```
Host cp.linode01
    Hostname 120.111.122.123
    User czar.pino
    IdentityFile ~/.ssh/linode01.id_rsa
```

Another side benefit to this is that you also automatically have a document of all SSH servers you can connect to. No need to maintain an easily outdated spreadsheet which has to be updated separately.

```
Host cp.linode01
    Hostname 120.111.122.123
    User czar.pino
    IdentityFile ~/.ssh/linode01.id_rsa

Host cp.linode02
    Hostname 120.111.122.124
    User czar.pino
    IdentityFile ~/.ssh/linode02.id_rsa

Host cp.ec2-01
    Hostname 121.111.122.123
    User ec2-user
    IdentityFile ~/.ssh/ec2-01.id_rsa

Host cp.ec2-02
    Hostname 121.111.122.124
    User ec2-user
    IdentityFile ~/.ssh/ec2-02.id_rsa
```

*Originally published at https://plog.czarpino.com/storing-database-backups/*
アルゴリズムイントロダクション:１日目
Tags: algorithms, programming, japanese, diary
Published: 2018-09-14 14:37:16

---
title: アルゴリズムイントロダクション:１日目
published: true
description: 備忘録
tags: algorithm,Programming,Japanese,diary
---

最近ようやく涼しくなってきましたね。最近ブログを投稿できてなかったのは、大体微積のせいです。~~決してサボってたわけじゃないからね！~~

# やった本
[アルゴリズムイントロダクション 第3版 第1巻: 基礎・ソート・データ構造・数学 (世界標準MIT教科書) ](https://www.amazon.co.jp/%E3%82%A2%E3%83%AB%E3%82%B4%E3%83%AA%E3%82%BA%E3%83%A0%E3%82%A4%E3%83%B3%E3%83%88%E3%83%AD%E3%83%80%E3%82%AF%E3%82%B7%E3%83%A7%E3%83%B3-%E7%AC%AC3%E7%89%88-%E7%AC%AC1%E5%B7%BB-%E5%9F%BA%E7%A4%8E%E3%83%BB%E3%82%BD%E3%83%BC%E3%83%88%E3%83%BB%E3%83%87%E3%83%BC%E3%82%BF%E6%A7%8B%E9%80%A0%E3%83%BB%E6%95%B0%E5%AD%A6-%E4%B8%96%E7%95%8C%E6%A8%99%E6%BA%96MIT%E6%95%99%E7%A7%91%E6%9B%B8/dp/4764904063)

# やったこと
- Ⅰ基礎
    - 序論
    全体の流れとアルゴリズムについて語ってる。語り口調がすき。
    - 1 計算におけるアルゴリズムの役割
        - 1.1 アルゴリズム  

            そもそもアルゴリズムとは何なのか、そしてどのようなところでどのような手法が使われるかが明確に書いてある。私のような、根本が知りたい人にはとても興味深い内容でした。
        - 1.2 科学技術としてのアルゴリズム  

            ___適切な___アルゴリズムを使うことによって効率化が図れるってお話。適当に全探索してればいいってもんじゃない。
    - 2 さあ、始めよう
    ソーティング問題を解く挿入アルゴリズムの検討と、アルゴリズム設計に対する分割統治手法を用いてマージソートの開発と実行時間の解析をやるらしい。
        - 2.1 挿入ソート
        挿入ソートはソーティング問題(sorting problem)を解く
        ソートしたいと思っている数値......キー
        概念的には列をソートしているが、実際の入力は　n個の要素を持つ配列
        挿入ソート......トランプで左が小さくなるように差し込んでいくイメージ
        アルゴリズムの正当性を示すためにループ不変式に対して3つの性質を示す。
            1. 初期条件:ループの実行開始直前ではループ不変式は真である
            2. ループ条件:ループの何回目かの繰り返しの直前でループ不変式が真ならば、次の繰り返しの直前でも真である
            3. 終了条件:ループが停止したとき、アルゴリズムの正当性の証明につながる有力な性質が不変式から得られる

# 感想
文字がいっぱいあるととても分かりやすいんですけど、読むのは疲れますね。
What does the server setup look like for dev.to
Tags: meta
Published: 2018-09-15 03:08:03

---
title: What does the server setup look like for dev.to
published: true
description: 
tags: meta
---

@ben can you share some details on what makes dev.to tick?
What kind of servers power the site and where is it hosted etc?

How long does it take to do a typical deployment?

I was reading the thread on what makes the site so fast and it sounds like you guys are leveraging CDN's (fastly).

Can you describe what a typical request/response is like for a article?

Keep it up!