teleren/devto huggingface dataset:
Why Dev.to Followers/Following Count isn't Publicly Visible?
Tags: askdev, devto, discuss
Published: 2018-10-24 13:48:28

---
title: Why Dev.to Followers/Following Count isn't Publicly Visible?
published: true
description: 
tags: askdev , devto , discuss
---

I'm thinking for a long time , what might be the reason, that Dev.to followers/following Count is not visible to public (or atleast opt-in option to make it public).
Dev.to Review #5: Top 7 Of The Week, Discussed
Tags: discuss, meta, bestofdev, popular
Published: 2018-10-24 13:43:16

---
title: Dev.to Review #5: Top 7 Of The Week, Discussed
published: true
description: Two devs get together to discuss the week's Top 7 posts on dev.to
tags: discuss, meta, bestofdev, popular
cover_image: https://thepracticaldev.s3.amazonaws.com/i/x329om6rkpl72vltw1np.jpg
canonical_url: https://soundcloud.com/malikanddan/devto-review-episode-5
series: DEV.TO Review
---

[Malik](https://dev.to/milkstarz) and [I](https://dev.to/dangolant) got together again to chat about the top 7 articles on dev.to for the week of 10/22/18.
{% soundcloud https://soundcloud.com/malikanddan/devto-review-episode-5 %}

This week, we discussed non-programming skills and building a good culture, choosing topics to write about, the limitations of linting, and more. Shoutout to user joelnet for the feedback last week, listen through the end to hear our thoughts on our first "Host's Choice"!

Any thoughts on tactically expanding lint rules, SQL tricks, or what sets good articles apart? Let us know in the comments.

If you want to read and hear more posts like this, follow us here on dev.to, or on Twitter at [@dangolant](https://www.twitter.com/dangolant) and [@milkstarz](https://www.twitter.com/milkstarz).

# The top 7(+) discussed this week were: 

{% link https://dev.to/aspittel/the-most-important-non-programming-skills-for-programmers-iii %}

{% link https://dev.to/wangonya/better-consolelogs-448c %}

{% link https://dev.to/sagar/build-a-restful-api-with-the-serverless-framework-ene  %}

{% link https://dev.to/gsto/choose-your-next-article-topic-with-this-exercise-17m2 %}

{% link https://dev.to/helenanders26/why-you-should-use-sql-ctes-25lk %} 

{% link https://dev.to/elabftw/stop-using-sudo-pip-install-52mn %} 

{% link https://dev.to/edelvalle/python-beyond-pep8-16g6 %} 

{% link https://dev.to/maxwell_dev/the-web-accessibility-introduction-i-wish-i-had-4ope %}
Using Anomaly Alerts and Triggers Is Good For Predictive Troubleshooting
Tags: productivity, devops, alerting, logging
Published: 2018-10-24 13:10:32

I've been working with many companies that do logging or APM (Application Performance Monitoring). To name few I think I might actually cover all of the top ones or at least o#nes that you might've heard of.

SaaS: Sumologic, NewRelic, Splunk, Datadog, Loggly, Logz etc etc..
Self Service: ELK Stack(elasticsearch, logstash, kibana), Graylog, Nagios, Zabbix, PRTG etc etc...

What I liked about most of them is that you could do some really nice predictive and anomaly alerts.

Example(A):A company is selling products and they have spikes in traffic, however they can not afford to run 500 ec2 instances or kubernetes cluster(s) with thousands of pods, because at downtime they want to scale it accordingly.

There is really many ways to go around this, one of my favorite is to utilize anomaly in traffic (in this case) a site has been hit harder for past 20 minutes than 40 minutes ago and even less if we take whole week into consideration , which means that could be potential DDos attack, someone shared website on reddit and it's on frontpage OR simply its time of the year. Well whatever the spike might be, lets treat it as anomaly.

What you can do is set an alert for such spike, and programmatically scale up your xyz infrastructure.

Example(B): A company is shipping logs to S3 or Splunk for all of their infrastructure including Dev, QA and Prod infrastructure. Some newbie at the company by accident turned up all apps in Dev to DEBUG level and now instead of sending 150gb of logs a day, company is sending 50gb of logs in an hr. To me that is anomaly that should be foreseen. 
Take few weeks of logs data, divide that by how many GB of logs have been sent in last hr and how many GB of logs have been sent for past 20 minutes.. = Total = High Amount.

In case like the one above, someone could programmatically send an alert to whatever pager system (VictorOps, PagerDuty, Email or whatever) to notify appropriate on call person that there was a large amount of logs sent within past 20 minutes.

I am writing this because for past decades being in IT, there is always some anomaly that could be easily prevented as long as you know how to implement it correctly with easy to use tools that nowadays are being offered. + it is really nice to hear from coworkers that example(B) saved $10K.

So think of some anomaly that you can implement today, the reward of getting that one alert or self fix is going to make your day.

Comment below as to what kind of anomaly detections have you worked on, would love to hear Example(C,D,E) 👨‍💻👩‍💻
Most Popular Development Posts Of The Week (24 October 2018)
Tags: tensorflow, webev, git, javascript
Published: 2018-10-25 09:57:47

---
title: Most Popular Development Posts Of The Week (24 October 2018)
published: true
tags: tensorflow,webev,git,javascript
canonical_url: https://medium.com/daily-now/most-popular-development-posts-of-the-week-24-october-2018-e49441dfd7be
cover_image: https://cdn-images-1.medium.com/max/1024/1*d3s8UpDXbDZKhSJBsGrlnQ.jpeg
---

<figcaption>If there’s something you want to build, but the tech isn’t there yet, just find the closest possible way to make it happen</figcaption>

- [5 Programming Languages Every Master Developer Should Learn](https://app.dailynow.co/r/7bcb6c55bd83dfba0bf769fc8b90a67c) by [javinpaul](https://medium.com/u/bb36d8439904)
- [9 Best Website Layout Examples and Ideas for Web Design in 2018](https://app.dailynow.co/r/c6a7e724f7adfb79fa355a2aff7726ed) by [Amy Smith](https://medium.com/u/ac74607afbba)
- [Top Javascript Framework used in 2018](https://app.dailynow.co/r/aa34df4d678eace3da84719578cc1852)
- [Find where to park in real time using OpenCV and Tensorflow](https://app.dailynow.co/r/209520b31cbeae512194115d93d9d9e0) by [Priya Dwivedi](https://medium.com/u/b040ce924438)
- [Top JavaScript Trends To Look For In 2019](https://app.dailynow.co/r/626ba59be486a84b075e8945e9635945) by [Mantra Malhotra](https://medium.com/u/45df2dde91b8)
- [The book every programmer should read](https://app.dailynow.co/r/d8da48f3274b729eca70c116f66ef216)
- [npm vs npx](https://app.dailynow.co/r/741929fb560c8a9804664c623032a91c) by [Sibeesh Venu](https://medium.com/u/3adc72d1204a)
- [10 Basic Tips on Working Fast in UNIX or Linux Terminal](https://app.dailynow.co/r/74bbe9d2b2f25fe5e36bba86320459e5) by [javinpaul](https://medium.com/u/bb36d8439904)
- [Developer is the next blue collar job](https://app.dailynow.co/r/9a8481f0bc616f023e3297b8d4365d36)
- [Improve Your Git Productivity with Bash](https://app.dailynow.co/r/763aa4f3bf041864e8fb7e3b4cbc940c) by [Dale Nguyen](https://medium.com/u/10287396d308)


* * *

[_Thanks to Daily_](https://www.dailynow.co/) _developers can focus on code instead of searching for news. Get immediate access to all these posts and much more just by opening a new tab._

![](https://cdn-images-1.medium.com/max/1024/1*m8Uf-6F4Q5AOp_wW6tbKSQ.jpeg)
Starting an Online Food Delivery Business in Singapore
Tags: onlinefoodordering
Published: 2018-10-24 12:25:15

---
title: Starting an Online Food Delivery Business in Singapore

published: True

description: 
canonical_url: https://www.linkedin.com/pulse/why-starting-online-food-delivery-business-beneficial-ankush-mahajan/
tags: #online food ordering 
---

One industry that is really flourishing in Singapore is the food industry. As per the stats, Singapore food industry is contributing $14.4 billion to GDP and employs nearly 300,000 people. So we can imagine how profitable it would be to start the food business in Singapore.

However, high license fee, towering rental rates, limited land space in Singapore, etc. are some of the hurdles that could stop you from launching your own food venture.

That's why starting an online food business like Uber Eats, FoodPanda is a better choice where you don't need to buy the land or pay rent for your food venture. Additionally, online food ordering and delivery market is growing expeditiously in Singapore. The popular online food delivery company FoodPanda has more than 1.5 million users and 3,500 restaurant partners in Singapore. Similarly, Uber Eats & Deliveroo have millions of users in Singapore. It clearly shows how fast the online food ordering and delivery industry is emerging in Singapore.

**How to Start**
If you have any plan to invest in the online food business then you can start with a technology solution like YoYumm. YoYumm is an ultimate ready to launch online food ordering and delivery platform by which you can start an online food business at just $499. For more details, visit: https://www.fatbit.com/online-food-ordering-software-script.html
Recruiters mess up all the technologies. Should we show them their mistakes? Or... laugh? 
Tags: discuss, career, job, productivity
Published: 2018-10-24 11:39:43

---
title: Recruiters mess up all the technologies. Should we show them their mistakes? Or... laugh? 
published: true
description: One more irrelevant job proposal — to laugh or to teach? That is the question.
tags: discuss, career, job, productivity
---
Alright, how about this? One more job proposal I got this week (I use my [Reply.id](https://reply.id/whokilledkevin) bot for recruitment letters).

![Experience](https://thepracticaldev.s3.amazonaws.com/i/8omiek4lskjjyc3rv0of.png)

Should we explain to recruiters that it's not possible? That's funny in some way, but we r all tired of job descriptions like that. And maybe our dev community should somehow explain to recruiters what the hell is going on with tech stack, frameworks, etc. Just not to be confused by this kind of job proposals. And save their time. 

Have you ever pointed to recruiters' tech mistake?
Absolutely Everybody is Welcome
Tags: go, opensource, community
Published: 2018-10-26 19:16:18

# Absolutely Everybody is Welcome

_(Note: this is cross-posted from https://arschles.com/blog/absolutely-everybody-is-welcome/)_

I started the [Go Study Group](https://gophersource.com/study-group) and [Athens](https://github.com/gomods/athens) both about 6 months ago. I did each for super different reasons, but I wanted both to have strong communities. The people are what keeps these communities alive. Not me, not the technology, nothing else. It’s the people. And that’s why I’m so insistent on strong communities.

I’ve been part of lots of OSS communities - as a leader and as a member - and each one has either lifted me up or ground me down. I’m at a point in my career now where I can tell pretty quickly which type of community it’s gonna be for me. Like after reading a few issues or doing a PR or two.

So with that experience, here’s what a strong community is to me:

- We’re all nice to each other
- We welcome everybody who wants to join us
- Nobody dictates
- We respect each others’ time and ideas
- We make it easy to get started and easy to keep going

I went into detail on a lot of this in the Athens project with a [philosophy document](https://github.com/gomods/athens/blob/master/PHILOSOPHY.md).

# Inclusion

![inclusion](https://arschles.com/images/avg-joes.png)

There’s no way I can sum up all those things in that list above, but I want to be able to say something to newcomers to whatever thing to basically say: “you’re welcome here, and we’ll do everything we can to make it nice here.”

So I say this: “absolutely everybody is welcome”

I don’t have some grand story of how I came up with this catch phrase or anything, I just feel like it sums up that list above (by the way I know it doesn’t technically come close :P).

I use this all the time to say: “Hey folks! You’re welcome to join us. We’re inclusive, but we’re more too. Someone is gonna be there to greet you and help you. You’re not gonna be judged. You’re not gonna have to run some huge gauntlet just to get started or prove yourself. We’re happy you joined and you’re not different than us. We have work to do and we want you to do it with us.”

If you want to join either/both of these communities, here’s how:

- Go Study Group: we’re a weekly group of Gophers who get together and chat about Go. Meeting invite is here: https://gophersource.com/study-group
- Athens: A module proxy for Go’s dependency management. More information on getting involved is here: https://docs.gomods.io/contributing/community/participating/
Improving the python REPL (autoload modules and history)
Tags: python, productivity, tipsandtricks
Published: 2018-10-24 10:36:14

---
title: Improving the python REPL (autoload modules and history)
published: true
description: Configuring python's REPL
tags: python, productivity, tips and tricks
---


Hello to you dear reader,

When doing python code, it might be useful to fire up the REPL (Read-Eval-Print-Loop) by simply typing `python` in a terminal to test some expressions.

[![python](https://thepracticaldev.s3.amazonaws.com/i/bp097fdsajiylou0ak7u.png)](https://xkcd.com/353/)

But the problem is that it is very barebone. No history, no modules loaded by default. I don't know about you but 99% of the time I'll need to use `numpy` and `pandas` at the minimum. Probably `matplotlib` too.

**Who has time to type `import xyz` every time? Not me.**

So here is how to autoload modules in python's REPL:


## Start by creating a ~/.pystartup file

{% gist https://gist.github.com/NicolasCARPi/2e79d31e8dae06963ee807ccb3129128 %}

As you can see, this file will also configure the `~/.pyhistory` file so python doesn't forget everything when you close the REPL.

It is recommended to install these often used modules with `pip install --user module-name`, see my previous post: [Stop using sudo pip install](https://dev.to/elabftw/stop-using-sudo-pip-install-52mn)

## Configure the PYTHONSTARTUP env var

Add this to your ~/.zshrc, ~/.fishrc, ~/.bashrc or whatever you use:

~~~bash
# Note that '~' is not expanded, so use the full path here
export PYTHONSTARTUP=/home/user/.pystartup
~~~

That's it, now try again to fire up `python` and check that the modules are there.

There you go :) Now go write so amazing code!

Cheers,
~Nico
Develop Fraud detection with python
Tags: datascience, python, machinelearning
Published: 2018-10-24 09:57:38

---
title: Develop Fraud detection with python
published: True
description: Develop Fraud detection with python
tags: #datascience, #python, #machine-learning
---

What is Fraud?

In law, fraud is deliberate deception to secure unfair or unlawful gain, or to deprive a victim of a legal right. Fraud itself can be a civil wrong (i.e., a fraud victim may sue the fraud perpetrator to avoid the fraud or recover monetary compensation), a criminal wrong (i.e., a fraud perpetrator may be prosecuted and imprisoned by governmental authorities), or it may cause no loss of money, property or legal right but still be an element of another civil or criminal wrong. The purpose of fraud may be monetary gain or other benefits, such as obtaining a passport or travel document, driver’s license or qualifying for a mortgage by way of false statements.

For more info read below link:
https://medium.com/sajedi/develop-fraud-detection-with-python-4b6968ccf678
Why your docker builds are slow?
Tags: docker
Published: 2018-10-24 09:25:19

---
title: Why your docker builds are slow?
published: true
canonical_url: http://vladimir-vg.me/en/why-your-docker-builds-are-slow/
description: The important thing when working with docker is to write Dockerfile instructions in the right order.
tags: docker
---


The important thing when working with docker is to write Dockerfile instructions in the right order. It may speed up the build significantly.

Every instruction in Dockerfile is similar to a commit in git branch. If you change something in the middle, everything that follows after should be executed again (rebased in git terms). Everything that was before change can be reused.

All files that you add using COPY or ADD are considered as dependencies for everything that runs after.

Hence two rules to speedup your image builds:
* what changes rarely should be executed first
* avoid using 'ADD .' it makes everything depend on everything

Add Gemfile, rebar.config, mix.exs or any other file where your dependencies specified. Install dependencies, compile them. And only __after__ that add your app source code.
1000 Followers! Thank you!
Tags: flutter, mobile, android, ios
Published: 2018-10-24 09:18:51

![](https://cdn-images-1.medium.com/max/1600/1*RNL6VAxQtKxKJ3DYSkOsqg.png)

*Written by [Wajahat Karim](https://medium.com/@WajahatKarim3)*

Today the [FlutterPub](https://medium.com/FlutterPub) publication reached 1000 followers! [Danish Amjad] (https://medium.com/@DaniAmjad) and I ([Wajahat Karim](https://medium.com/@WajahatKarim3)) want to humbly thank you for choosing to read and support this publication! We are grateful every time you read, respond, recommend, tweet, and share the publication’s stories.

We strongly believe that it is important to create a forum to discuss about this rapidly growing framework Flutter, how to support it, and celebrate the strides we are making.

Our writers have risen to this challenge and blown us away with the amazing content they have chosen to include in this publication. Thank you to all our writers for your amazing and thought provoking content.

*****

### Contribute or Write for FlutterPub

If you are interested on submitting sponsored contact in order to support this newsletter just [shoot us an email](mailto:flutterpub@gmail.com).<br>  <br> If you want to submit an article, make a suggestion or just share your thoughts with us, [follow the submission guidelines](https://medium.com/flutterpub/how-to-submit-your-article-s-on-flutterpub-7b6bf37dfc43) or feel free to [send us a mail](mailto:flutterpub@gmail.com).
A bit about programming languages
Tags: pl, computerscience, futureprogramming
Published: 2018-10-24 09:06:44

---
title: A bit about programming languages
published: true
canonical_url: http://vladimir-vg.me/en/a-bit-about-programming-languages/
description: there are two distinct programming languages that PL designers habitually mix into one
tags: pl, computerscience, futureprogramming
---

It feels like there are two distinct programming languages that PL designers habitually mix into one.

1. Calculating language. It's code lives inside box with explicitly specified inputs and outputs. There is no IO, nor time inside the box.
   Program might be executed lazily or eagerly. Instructions might be executed sequentially, or may remind some kind of graph, in which exact path of execution is not clear. The main thing is that there are inputs and expected outputs. Reminds code in Prolog or Haskell.

2. Managing language. It's code runs inside loop-ring, instructions always executed eagerly and sequentially. Unlike boxes, there is a time inside ring, and it flows into one direction.
   Programs written in this language do all IO: receive data, process it using boxes from the first language, save state, send data outside. This language also describes components of the system and their dependencies.

Reminds Erlang with it's receive-after-end and send. Reminds supervisor config, kubernetes service config.

If we split these languages yet use them together, it may lead to something interesting. It may produce more powerful abstractions specific for tasks of each language. It may lead to something more convenient, more effective in terms of computer-human interface.
Does your company have a self improvement time and how it's implemented in the workflow?
Tags: discuss, productivity
Published: 2018-10-24 08:49:49

---
title: Does your company have a self improvement time and how it's implemented in the workflow?
published: true
description: The company I work in wants to implement self improvement time during work hours and I'm curious how others deal with that. For example, do you have a certain hours in the work week that you can spend on reading/learning. How it is managed (put status on slack/ have a flow in jira/ or a better solution).
tags: #discuss #productivity 
---
Off thread markdown rendering with Comlink
Tags: javascript, worker, comlink
Published: 2018-10-24 08:23:53

---
title: Off thread markdown rendering with Comlink
published: true
description: 
tags: javascript,worker,comlink
---

demo https://markdown-buffer.netlify.com/

## tl;dr

remark in web worker with comlink(https://github.com/GoogleChromeLabs/comlink)


```sh
yarn add remark remark-html comlinkjs
```

(I use parcel-bundler to build)

## Worker Side

src/worker.js

```js
import remark from "remark";
import html from "remark-html";
import * as Comlink from 'comlinkjs'

const processor = remark().use(html)

class MarkdownCompiler {
  compile(raw) {
    return processor.processSync(raw).toString();
  }
}

Comlink.expose(MarkdownCompiler, self);
```

## Main Thread

src/index.js

```js
import * as Comlink from 'comlinkjs'

const MarkdownCompiler = Comlink.proxy(new Worker("./worker.js"));

const main = async () => {
  const compiler = await new MarkdownCompiler();
  const result = await compiler.compile('**your markdown here**');
  console.log(result)
}
main();
```


Comlink hides postMessage to make worker easy
Things to consider before creating a new programming language
Tags: pl, computerscience
Published: 2018-10-24 08:19:01

---
title: Things to consider before creating a new programming language
published: true
canonical_url: http://vladimir-vg.me/en/things-to-consider-before-creating-a-new-programming-language/
description: 
tags: pl, computerscience
---


If you are thinking about creating a new programming language, consider the following:

 * Code in this language is going to be ugly. People gonna abuse all wonderful features in a way you could never imagine.
 * People would have to work with lots of old, incomprehensible code that breaks all the time. Meanwhile the author of the code would already run away for easy money in blockchain startups.
 * People wouldn't have any time to do the refactoring. If the code is inconvenient to test -- it won't be tested at all.

If you consider all of these things and still decide to create a new PL, you may make a real breakthrough.

Unlike those pesky languages with monoids in the category of endofunctors.
ascii only monospace font-face
Tags: css
Published: 2018-10-24 07:58:58

---
title: ascii only monospace font-face
published: true
description: 
tags: css
---

```css
@font-face {
  font-family: MonoAscii;
  src: local('Courier New'), local("Consolas"), local(monospace);
  font-style: normal;
  unicode-range: U+0000-007F;
}

body {
  font-family: MonoAscii, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
```

![](https://i.gyazo.com/4a25fa13c8e9a9294e47e281e1813b46.png)
Destination Charges in stripe 
Tags: help, stripe, node
Published: 2018-10-24 07:54:37

---
title: Destination Charges in stripe 
published: true
tags: help,stripe, node.js
---

Here is the link of stripe documentation for creating destination charges
https://stripe.com/docs/connect/destination-charges 

```javascript
// Set your secret key: remember to change this to your live secret key in production
// See your keys here: https://dashboard.stripe.com/account/apikeys
var stripe = require("stripe")("sk_test_############");

stripe.charges.create({
  amount: 1000,
  currency: "usd",
  source: "tok_visa",
  destination: {
            account: "{CONNECTED_STRIPE_ACCOUNT_ID}",
          },
}).then(function(charge) {
  // asynchronously called
});

```

What CONNECTED_STRIPE_ACCOUNT_ID is ? and how I suppose to retreive it ?