teleren/devto huggingface dataset:
My first job as a junior programmer
Tags: coding, programming, understanding, beginners
Published: 2019-07-28 05:33:39

---
title: My first job as a junior programmer
published: true
description: The feeling of knowing you can understand almost any programming language is weird.
tags: coding, programming, understanding, beginner
---

*** Sorry for my English, I'm not a native speaker *** (I know, this card is played a lot of times)



It was July 17th 2017, and I got my first job that was focused on my career. When I first got into the job I was lost and lacked a lot of information about the technologies they were using, like postgresql database and Java. I knew almost nothing about that and what I knew about programming was just a little bit of c#.

I accepted the job, and after waiting a few days, I was in front of my computer with my new coworkers. I was scared, I just opened the first file of the project with some instructions in there that detailed every location of the platforms they were managing. I just started reading the code without even knowing how to correctly use an IDE. A month passed and I was afraid I couldn't do anything, felt like a lost all chances... I tried asking some friends, and there I was guided on how to use some tools inside netbeans, that would help navigate through the code. 

My boss called and told me if I was not prepared for the job, I told him I wasn't as he would want me to be. After a short silence he told me he could get the programmer that was before me, to help me by teaching me on how to read the code BUT I gotta be careful because after that there would be no excuse I could use to expand the time I was given to finish the project. At the end, my boss didn't call him and I had to figure out on how to read and manipulate the code carefully.

I finished it... I finished that project but I knew it had a lot of bad practices implemented there that I was afraid to look back but I wasn't stopping there, I began to read documentation about Java 7 and read a lot of the code and how it was used. I began to work on features and fixes that the platform needed like changing the download method from direct reference to the file to using indexed Db, just because it was needed to know exactly when the download finished and so on... Files saved inside the database as byte array, now stored inside a folder with a reference to it inside the database... Implementation of methods to ease the development of new features, a file that hold all constants used by the software itself that was unreadable if you are new to the code they used, I'm now in calm because I know I could do the job, I know I still have too much to learn but if you love what you are doing, you might end up doing the same, maybe in a better way and without loosing so much time, but you will do it. 

I love programming, it gives headaches sometimes, like anything would do, but it's part of the path you must follow to become the best.

I hope you enjoyed what I wrote
Have a nice coding experience and never give up, you will end up finishing what you wanted to and you will feel proud of yourself.
WTF-8 encoder/decoder. 
Tags: replit, python, functorflow
Published: 2019-07-28 11:41:36

---
title: WTF-8 encoder/decoder. 
published: true
tags: replit, python, functorflow
---

Whitepaper: https://simonsapin.github.io/wtf-8/

```python
from functorflow import ff

r = ff('wtf-8').encode('\uD800\uDC01')
print(r) # '\xF0\x90\x80\x81'

r = ff('wtf-8').decode('\xF0\x90\x80\x81')
print(r) # '\uD800\uDC01'
```

{% replit @functorflow/wtf-8 %}

Stop wasting time installing and configuring Python libraries. Use them right away. [FunctorFlow](https://functorflow.org) instantly auto-install and auto-config them for you.
Convert integers to a Base64-encoded VLQ string
Tags: replit, python, functorflow
Published: 2019-07-28 11:33:23

---
title: Convert integers to a Base64-encoded VLQ string
published: true
tags: replit, python, functorflow
---

More: https://en.wikipedia.org/wiki/Variable-length_quantity


```python
from functorflow import ff

r = ff('vlq').encode(123)
print(r) # '2H'

r = ff('vlq').encode([ 123, 456, 789 ])
print(r) # '2HwcqxB'

r = ff('vlq').decode( '2HwcqxB' )
print(r) # [ 123, 456, 789 ]
```


{% replit @functorflow/vlq %}
Stringify data (matrix) into a CSV text
Tags: replit, python, functorflow
Published: 2019-07-28 11:28:40

---
title: Stringify data (matrix) into a CSV text
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

arr = [['1','2','3','4'],['a','b','c','d']]

r = f('stringify-csv', arr)
print(r)
```

{% replit @functorflow/stringify-csv %}
📦 Redact any data at paths specified
Tags: replit, python, functorflow
Published: 2019-07-28 11:26:58

---
title: 📦 Redact any data at paths specified
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

# Redact any data at paths specified.

data = {
  'x': {'c': {'d': 'hide me', 'e': 'leave me be'}},
  'y': {'c': {'d': 'and me', 'f': 'dont touch'}},
}

r = f('redact', data, paths = ['*.c.d'] )
print(r) # {"x":{"c":{"d":"[REDACTED]","e":"leave me be"}},"y":{"c":{"d":"[REDACTED]","f":"dont touch"}}}

```

{% replit @functorflow/redact %}
FaaSの次はなんなんだ (α版)
Tags: japanese, serverless, faas
Published: 2020-04-19 18:23:23

---
title: FaaSの次はなんなんだ (α版)
published: true
date: 2019-07-28 11:04:13 UTC
tags: japanese,serverless,faas
canonical_url: https://d.nekoruri.jp/entry/2019/07/28/beyondfaas
---

※本記事は、技術書同人誌博覧会(2019-07-27)にて頒布した「新刊落としましたペーパー」の抜粋です。

2014年に登場したAWS Lambda──あるいは2008年のGoogle App Engine──にはじまるFunction-as-a-Service（FaaS）は、「サーバーレス」の中心人物として、急速に普及しつつあります。

FaaSはスケーラビリティを確保するため、The Twelve-Factor Appでも「VI. プロセス」で謳われているように、そこで動かすコードに対してステートレスかつシェアードナッシングであることを制約として課しています。そのため、リクエストをまたぐ全てのデータは外部のデータストアにて永続化する必要があります。このステートレスという制約は、実装の容易さはさておき、とても分かりやすいものです。

その一方で、GraphQLなどによるCQRSアーキテクチャの採用や、IoTによる大量データ収集などを背景に、非同期なイベント駆動を効率よく捌くことも求められてきています。FaaSではイベント（あるいはそれを複数まとめたブロック）ごとにステートレスな実装が求められ、データストアへのアクセスが高頻度になるなどの課題が顕在化しています。

そのような背景の中で、シャーディングを利用したリアルタイムデータ処理がビッグデータ解析の分野以外にも注目を集めつつあります。  
FaaSでは一つのリクエストをまたぐデータを全てステートレスとして排除しますが、性質の違いに気をつけると、長く永続化されるべきデータと、一時的な計算中データとしての状態（state）にわけることができます。

![f:id:nekoruri:20190728200238p:plain](https://cdn-ak.f.st-hatena.com/images/fotolife/n/nekoruri/20190728/20190728200238.png "f:id:nekoruri:20190728200238p:plain")

そもそも永続化すべきデータはもとからDBに保存すべきであり、FaaSが排除しているのは、まさにこの「状態」というわけです。その一方で、この状態を外部のデータストアに依存する必要があるため、今度はそのデータストア側がボトルネックとなってしまいます。

リアルタイムデータ処理基盤として利用されているストリーム処理エンジンでは、データベースでは一般的になりつつあるシャーディング（水平分割）の技術を用いることで、この「状態」をプロセス上のメモリに維持できます。

ストリーム処理エンジンのシャーディングでは、イベント（メッセージ）毎にPartition Key（分割キー）と呼ばれる値を付与します。このPartition Keyに基づいて同じ値のイベントが、同じワーカープロセスで動作するように振り分けられます。

![f:id:nekoruri:20190728200254p:plain](https://cdn-ak.f.st-hatena.com/images/fotolife/n/nekoruri/20190728/20190728200254.png "f:id:nekoruri:20190728200254p:plain")

これにより、たとえば株価の変動データがリアルタイムで入力されるようなシステムで銘柄コードをパーティションキーとすることにより、ある銘柄コードの変動データは同じプロセスに振り分けられるため、メモリ上に一時保存した直近の過去データを利用して1時間の移動平均などを容易に求めることができます。

もちろんこれは非常に素直な考え方で、実際にはワーカープロセスが「落ちる」「遅れる」「間違える」場合など、分散システムならではの課題も発生します。ですがストリーム処理エンジンではそういった課題を解決するための仕組みとプログラミングモデルを提供してくれます。

というわけで、FaaSの次はこういったストリーム処理エンジンのプログラミングモデルの活用が進んでいくのではないかと考えています。
The story of using Jetpack
Tags: wordpress, jetpack
Published: 2019-07-30 02:40:23

---
title: The story of using Jetpack
published: true
tags: WordPress,jetpack,wordpress
canonical_url: https://kevinhq.com/the-story-of-using-jetpack/
---

Though some people said it’s bloated, for others, it’s still useful. It’s true that you can replace each of the Jetpack modules with another plugin for that function only. Yet, only a few people can find the plugin to replace the Jetpack function they needed. The beginning I try Jetpack on this blog, when it’s… 

[Read More »The story of using Jetpack](https://kevinhq.com/the-story-of-using-jetpack/)
 ![](http://feeds.feedburner.com/~r/kevinhq/~4/26_YU_M4x0I)
Key indicators in the formation of grades web developers
Tags: developers, programming, webdev
Published: 2019-07-28 10:37:40

---
title: Key indicators in the formation of grades web developers
published: true
description: Key indicators in the formation of grades web developers
tags: developers, programming, webdev
cover_image: https://thepracticaldev.s3.amazonaws.com/i/z7gzwh4wsdffek01hthy.png
---


Oneway takes into account the total amount of closed tasks in hours, the courses completed and the exams passed (“Bitrix24”), a certain set of skills and experience in certain tasks (competence matrix).

MediaSoft does not use the grading system in the usual sense and, in general, there is no traditional division of developers into junior, middle and senior classes.

This classification is rather arbitrary: as practice shows, senior is often called the steepest specialist in a company, and this does not reflect anything but the level of the company itself. If you try to get a big and serious organization like “Yandex”, such a senior may not even qualify for a junior position.

DigitalWand creates a number of technical requirements, based on the technology stack, as well as identifying supporting skills. The grade is assigned when hiring and then may change as part of the certification.

In Finch, the list of indicators is quite large: code quality, autonomy, project diversity, professional growth, the amount of time worked at the company and initiative.

Briefly, both technical and near-technical human competencies are assessed. On each grade, there is a certain set of these competencies.

In “Netologiya” there is no system of grades for developers: in the working conditions of the team, it was not possible to determine clear measurable requirements for the transition between levels. Surely there are successful examples of the implementation of the grading system, but this does not mean that they should work for everyone. Nevertheless, there is a certain division by levels in the team.

For DD Planet, it is crucial that the programmer is able to make the right decisions on his own. This is the key criterion by which the company assesses the level of a specialist because to make independent correct decisions a high level of knowledge and sufficient experience in the profession is necessary.

No less important indicators such as the adequacy of the timing of the executor, timely and accurate execution of tasks.
Article - Destructuring With Ruby
Tags: ruby, destructuring
Published: 2019-07-28 10:14:18

---
title: Article - Destructuring With Ruby
published: true
description: Nice little article from 2019 about destructuring in Ruby
tags: ruby, Destructuring
---
I was looking around to see if there was a nice way to use the splat operator or some other technique in Ruby to extract some values from my custom object. Found this nice article on the subject.

https://jsarbada.wordpress.com/2019/02/05/destructuring-with-ruby/
Why Trade Restriction is a good news for Open source?
Tags: discuss, opensource, github
Published: 2019-07-28 09:54:24

I am sure almost every developer here have heard the news on how Github is restricting people based on trade theocracy that is been going on for last 2 months. 

I consider this as a good news for open source and also an opportunity for developers to build startups based on these limits. 

For example, Alibaba (China) and Amazon (US) if decides to have bad relationship with your country based on so-called human rights and culture difference. Do they have right to pull plug on your account? 

Let's not debate how and why. Let's look at this as an opportunity. 

How I see this event?

I see rise of Infrastructure as a service softwares to be made open source. So that I can have something like AWS in my own country without US and China dictating terms as they please.  

Many startups can come out on local basis and build open source around this. Like open source heroku clone? AWS and Azure clone? CDN clones? A lot of them are already designed to limited extent and we are forced to go for premium due to those features not available in open source. 

How about we open source these features rather than play mud-slinging matches between which country and their president are wrong?

Border will always be there. That's how cultures are protected. Liberalism doesn't have to kill religions and cultures for capitalistic interests. 

How about we change the course of action with open source and let there be harmony with controls in ownership?
Check if a string is an IP address
Tags: replit, python, functorflow
Published: 2019-07-28 09:17:01

---
title: Check if a string is an IP address
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f, ff

r = f('ip', '192.168.0.1')
print(r) # True
```

{% replit @functorflow/ip %}
Check if a string has ANSI escape codes
Tags: replit, python, functorflow
Published: 2019-07-28 09:14:22

---
title: Check if a string has ANSI escape codes
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

r = f('ansi-esc', '\u001B[4mUnicorn\u001B[0m')
print(r) # True
```

{% replit @functorflow/ansi-esc %}
Return true if a value is a valid glob pattern or patterns.
Tags: replit, python, functorflow
Published: 2019-07-28 09:10:19

---
title: Return true if a value is a valid glob pattern or patterns.
published: true
tags: replit, python, functorflow
---

```python
from functorflow import f

r = f('glob', 'foo/*.js')
print(r) # True
```

Return true if a value is a valid glob pattern or patterns.

{% replit @functorflow/glob %}
Top Python Posts from July 22 week
Tags: python, bestofdev
Published: 2019-07-28 08:58:13

Hi! I'm Vicente, your friendly Filipino mod for the python tag. Today, is another episode of the Top Python Posts of the week!

Hope you'll follow along!

# 1.) 🤖 Grab Your Wine. It's Time to Demystify ML and NLP 🍷

In this tutorial you will learn how to use ML to predict wine price, points and variety from the text description.

{% link https://dev.to/azure/grab-your-wine-it-s-time-to-demystify-ml-and-nlp-47f7 %}

# 2.) Learning Python from Scratch: Basic Data Types

The idea behind these streams is that they provide real-world examples of running into problems and solving them or working towards solving them live.

{% link https://dev.to/azure/learning-python-from-scratch-basic-data-types-5ac7 %} 

# 3.) Dead Simple Python (An Announcement)

First order of business, to all the fans of the Dead Simple Python series, fear not! More articles are coming this year!

{% link https://dev.to/codemouse92/dead-simple-python-an-announcement-276j %} 

# 4.) Python Logging: An In-Depth Tutorial

As applications become more complex, having good logs can be very useful, not only when debugging but also to provide insight for application issues/performance. Logging is also one of the factor in the famous The twelve-factor app.

{% link https://dev.to/sonnk/python-logging-an-in-depth-tutorial-f15 %}

# 5.) Generate QR codes in Python

QR code a type of matrix barcode first designed in 1994 for the automotive industry in Japan. These days it's used in many places like banking, cryptocurrency, advertisements and more.

{% link https://dev.to/petercour/generate-qr-codes-in-python-2da2 %}

That's it for this week! Stay tuned for more!
Day 5: Test, testing, tested
Tags: android, kotlin, testing, career
Published: 2019-07-28 08:19:52

Hiya, it's the 5th day of [my job hunt journey](https://dev.to/rahulchowdhury/day-1-looking-out-2eih).

# Update so far

I worked on handling heavy tasks like network and database calls using Kotlin coroutines yesterday.

Got into `BindingAdapter` by hooking up Glide to load images into my layout using data binding. It was straightforward.

After that, I watched a Google I/O'19 talk on what's testing like on Android and how to structure Android apps for scalable testing.

Here it is:

{% youtube VJi2vmaQe6w %}

It gave me a direction to move forward.

# Doing today

I'm trying out a [code lab on testing](https://codelabs.developers.google.com/codelabs/android-testing) to get the hang of how to test Android apps.

Once I get a definite taste of testing, I'm planning to dig deeper into the subject by following this guide: https://developer.android.com/training/testing/fundamentals

Any other stuff that I should check out regarding the subject?
Codrops
Tags: design, inspiration, blog
Published: 2019-07-28 08:10:14

Namaste people,
Today I want to share my personal experience about the useful resource in the web design and development - **[codrops](https://tympanus.net/codrops/)**. Codrops publish weekly collective of inspirational website of the week, some free fonts, free icons sets, new javascript libraries, new plugins, web dev conference updates, web design trends and many more. Also it shares beautiful experimental codes under the playground section. I've been following this blog for more than 4-5 years and I always love to read all the posts from it.
hope this information may be useful the newbie coder.

**<3 from India.
Namaste.**
What did you think was going to happen?
Tags: life, parenting, philosophy, resiliency
Published: 2019-07-28 20:08:34

---
title: What did you think was going to happen?
published: true
tags: Life,parenting,philosophy,resiliency
canonical_url: https://heidiwaterhouse.com/2019/07/28/what-did-you-think-was-going-to-happen/
---

My mom taught 6th and 7th grade (often a gifted/STEM) class for the better part of two decades. If you think back, you may remember this as not your peak decision-making time of life. You can spot my mom’s former students by their love of history, language, learning and connections, and by a slight flinch that they have around the phrase “what did you think was going to happen?”

She would ask this with genuine curiosity, not in the sarcastic “of course you’re getting what you deserved” way, but in the “you obviously did this for a reason, and maybe you can explain that reason to me in a way that makes sense to me”. The truth is, we don’t often stop to question the full depth of our choices and the actions we choose. We’d be in trouble if we did, because it takes a lot of thought.

When your preschooler decorates the wall of their room in crayon, you can ask them what they think will happen, and they’ll tell you that the wall is prettier, or that it was physically rewarding to color on a vertical surface, or they might know that they’ll “get in trouble”. But they don’t think about that until you ask them. In the moment, they have a crayon, and a wall. As an adult, you are the one who knows how hard it is to scrub crayon off paint, and how hard it is to paint over.

I’m having a discussion with a colleague about something they did, and I want to take them by the shoulders and ask, with genuine curiosity, what outcome they expected from their actions, and how it compared to what they got, and if they have any theories abut the divergence.

When I publish this post, I expect only a few people will read it, because it will be off-hours. I don’t have comments on my blog posts, so I won’t get blowback that way. I might get some comments on LinkedIn. I think it will just be a little droplet of a thought in my blog, and in your days, and if you remember any of it it will be about toddlers having no predictive ability or impulse control.

We talk a lot about disaster planning and recovery, and about mindfulness, and about resiliency and robustness. I think a lot of that comes down to asking ourselves:

- What is the outcome I expect from this?
- What are the possible negative outcomes, for myself and others?
- What known-unknowns can I anticipate?

_What did you think would happen?_ ![Mars Lander encased in balloons so it bounces on impact](https://heidiwaterhouse.com/wp-content/uploads/2019/07/ce6378d3-6c73-4c10-9a58-c6b896526b46-3033-00001061d5a82320.jpg)

<figcaption>I think this Mars lander will bounce, but eventually arrive safely</figcaption>
کتاب تحلیلی بر entity framework core 2
Tags: entityframework, کتابتحلیلیبرentit, محمدقربانی, نویسندهمحمدقربانی
Published: 2019-07-29 09:07:41

---
title: کتاب تحلیلی بر entity framework core 2
published: true
tags: Entity Framework,کتاب تحلیلی بر entit,محمد قربانی,نویسنده محمد قربانی
canonical_url: https://ghorbani.dev/%da%a9%d8%aa%d8%a7%d8%a8-%d8%aa%d8%ad%d9%84%db%8c%d9%84%db%8c-%d8%a8%d8%b1-entity-framework-core-2-2/
---

## کتاب تحلیلی بر entity framework core 2

کتاب تحلیلی بر entity framework core 2

امروز توی وبلاگ گردیم یه مطلبی دیدم که نظرمو جلب کرد .  
یکی از خوانندگان کتاب نقدی در حدود جند خط برای کتابم نوشته بود . البته بیشتر تجربه ی خودش بود از کتاب . دیدم خالی از لطف نیست که انتشارش بدم .

کتاب [تحلیلی بر entity framework core2](https://dev.to/ghorbani77/entity-framework-core-2-21k1-temp-slug-5352185) نوشته محمد قربانی یکی از کتابهای کاربردی است که در زمینه برنامه نویسی نوشته شده. من قبلا کتابی با عنوان اصول پایه ای asp.net core  در یک پروژه عملی رو از اقای محمد قربانی خونده بودم .نوع نکارش متون بسیار تخصصی و خوب انتخاب شده مثالهای زده شده توی کتاب به صورت سلسله مراتب بالا رفته و باید دقیقا از اول کتاب رو به دقت بخونید تا بتونید در آخر هر فصل نتیجه گیری هایی که باید رو بگیرید .  
من بخش دورم کتاب که مربوط به authentication ها بود رو زیاد نتونستم متوجه بشم ایمیل زدم به نویسنده محترم کتاب و از ایشون دلیلش رو ئرسیدم . در جواب فقط این رو شنیدم که بخش اول رو به دقت بخونید و چون بخش اول رو من اصلا نخونده بودم نمی تونستم نتیجه گیری خوبی از بخش دوم داشته باشم .  
علی هذا خوندن کتاب های آقای محمد قربانی رو به همه ی برنامه نویسان محترم توصیه میکنم .  
امید وارم که شاهد موفقیت های روز افزون[برنامه نویسان](http://www.itpeta.com) ایرانی باشیم .

![تحلیلی بر entity framework core 2](https://ghorbani.dev/wp-content/uploads/2019/07/tahlili-bar-2.jpg)

تحلیلی بر entity framework core 2

The post [کتاب تحلیلی بر entity framework core 2](https://ghorbani.dev/%da%a9%d8%aa%d8%a7%d8%a8-%d8%aa%d8%ad%d9%84%db%8c%d9%84%db%8c-%d8%a8%d8%b1-entity-framework-core-2-2/) appeared first on [Mohammad Ghorbani](https://ghorbani.dev).