teleren/devto huggingface dataset:
What books will you recommand to learn more about automation ?
Tags: question, automation, discuss, help
Published: 2018-12-11 09:33:24

I'm seeking resources for my report that will try to answer the following problematic : "How automation can reduce humans errors during the lifetime of an application ?"

This will talk about automated tests, automated deployments and everything that will allow to minimize mistakes during development.

Thanks by advance for your recommendations ! :)
Decentralized Twitter on EOS
Tags: showdev, opensource, blockchain, eos
Published: 2018-12-11 09:00:48

---
title: Decentralized Twitter on EOS
published: true
description: 
tags: showdev,opensource,blockchain,EOS
---

HI Devs,
       Please checkout my project built on EOS blockchain using React-Redux as frontend.
 
{% github https://github.com/yashwanth2804/decenttwt %}


{% youtube PWVDlGKYahs %}
Write better code: Day 7 - Second largest item in Binary search tree
Tags: challenge
Published: 2018-12-11 08:28:03

---
title: Write better code: Day 7 - Second largest item in Binary search tree
published: true
tags: challenge
---

This post originally appeared on Arjun Rajkumar's blog. Arjun is a [web developer ](https://www.arjunrajkumar.in) based in Bangalore, India.

--


### Day 7: Question 2

Write a method to find the 2nd largest element in a binary search tree. 

A binary search tree is a binary tree in which, for each node, the node's value is greater than all values in the left subtree, and the node's value is less than all values in the right subtree.

-

If you want to follow along, feel free to post your answers in the comment. 

My answers are in the comments.
[This problem is from InterviewCake.](https://www.interviewcake.com/question/ruby/second-largest-item-in-bst?section=trees-graphs&course=fc1)
Write better code: Day 7 - Binary Search Tree
Tags: challenge
Published: 2018-12-11 02:03:52

---
title: Write better code: Day 7 - Binary Search Tree
published: true
tags: challenge
---

Recent Articles:
1. [What are sales pipeline stages](https://weightlessapps.io/sales-pipeline-stages/)
2. [Salesforce CRM Training tutorial for beginners](https://weightlessapps.io/salesforce-beginners-tutorial-using-chatgpt/)

--


### Day 7: Question 1

Write a method to check that a binary tree is a valid binary search tree.

A binary search tree is a binary tree in which, for each node, the node's value is greater than all values in the left subtree, and the node's value is less than all values in the right subtree.

-

If you want to follow along, feel free to post your answers in the comment. 

My answers are in the comments.
[This problem is from InterviewCake.](https://www.interviewcake.com/question/ruby/bst-checker?section=trees-graphs&course=fc1)
AlphaZeroの美しい勝利
Tags: chess, ai, alphazero
Published: 2018-12-11 05:20:05

---
title: AlphaZeroの美しい勝利
published: true
description: AlphaZeroがStockfishに1000ゲームマッチで華麗に勝つ
tags: chess, ai, alphazero
---

[Chess.com](https://www.chess.com/news/view/updated-alphazero-crushes-stockfish-in-new-1-000-game-match), [Fortune](http://fortune.com/2018/12/07/deepmind-a-i-game-playing/)や[ITmedia](http://www.itmedia.co.jp/news/articles/1812/09/news018.html)が報じたように、AlphaZeroがコンピュータチェスチャンピオンのStockfishに1,000ゲームのマッチで圧倒的にかつ華麗に勝ちました。

昨年末のマッチでも勝ちましたが、そのときは短いタイムコントロールで、Stockfishに不利と噂がありました。今回は持ち時間それぞれ3時間という長いタイムコントロールです！しかも、AlphaZeroにその10分の1の時間だけ与えても、勝っていました。

[DeepMind](http://science.sciencemag.org/content/362/6419/1140)によると、AlphaZeroの最初の自己対局ゲームセットの作成には5,000 TPUs、その後の深層強化学習には 16 TPUs が使われました。約4時間の学習でStockfishを超えるようになり、9時間経過で完全に圧倒しました。

特に、今回のゲームマッチでは、AlphaZeroがポーン（歩）を単独に敵陣深く侵入させることがよくあり、この棋風はオープンソースの [Lc0](https://lczero.org/)も同様に自己学習で生み出しました。人間のチェスプロはあまり指さない棋風です。また、一見して大胆なサクリファイス（捨て駒）をして、後々有利な形成を作っていく華麗なゲームが多く見られ、元世界王者のカスパロフも[大絶賛](http://science.sciencemag.org/content/362/6419/1087)しています。

{% twitter 1070775097970094082 %}
AoC Day 11: Chronal Charge
Tags: adventofcode, discuss
Published: 2018-12-11 05:09:46

---
title: "AoC Day 11: Chronal Charge"
published: true
description: "Day 11: Our time travel device is running low on power!"
cover_image: https://thepracticaldev.s3.amazonaws.com/i/khsq1mho9e2w17fugc4z.png
tags: adventofcode, discuss
series: Advent of Code 
---

[Day 11](https://adventofcode.com/2018/day/11), and we find ourselves falling further back in time.  Our wearable time-machine is running low on juice, and we need to figure out how to get the most out of the power available.

This seems like a little bit of an *amped up* (pun intended) version of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life), calculating values for 3x3 grids of squares, but we'll see if it actually ends up being similar at all.

Good luck everybody!
Is there anyone who is interested in a Chat based meetup project? 
Tags: contributorswanted, opensource, discuss, react
Published: 2018-12-11 04:59:38

---
title: Is there anyone who is interested in a Chat based meetup project? 
published: true
description: I'm a software engineer in Tokyo and just started a side project for fun to build a chat web application. Is anyone interested?
tags: contributorswanted, opensource, discussion, react
---

!!!!UPDATE!!!!

I have moved the project to an organization account and it can be found here
 - https://github.com/awesomechat/craigschat

I have started adding instructions in the readme and issues.

If you have any questions/suggestions, please comment in the room below. Thank you!

 - https://craigschat-230e6.firebaseapp.com/chatroom/-LTjkAhH4vn9ejXzBvYX

!!!!!!!!!!!!!!

Hi There!

Thank you for visiting! My name is Yuki and I'm a software engineer in Tokyo, Japan 🍙

I just started a chat app project solo recently to have fun and improve my skillset especially in React.js.

I'm posting this to ask if there is anyone who is interested in this project since I'm sure that this project would be more fun if I could work on this as a group rather than solo 😿

This app is build using React/Redux and Firebase for now and it looks like as attached below (I know it's super ugly at this moment 😓)

 - https://thepracticaldev.s3.amazonaws.com/i/3obyfc6padr35kxbm8ni.png

Working app and Github repo are here:
 - https://craigschat-230e6.firebaseapp.com/
 - https://github.com/ychino/craigschat

When I went over posts in Craislist and that type of boards to get some ideas for my side project, I saw many postings to get struggling to get enough members to start an event. Also in Meetup, there are a few meetups which have difficulties to have enough members and complain about members not showing at events.

Base on those facts, I have been thinking to make a platform where people can know each other casually before they meet.

That's how I stared this project.

Currently, I'm trying to implement group chat rooms so that group members can chat and know each other. In addition to that, of course members can discuss about the group topic and plan a meeting if they want.

After that, I'm thinking to implement functionality to create a meeting event from that associated group (hopefully by implementing chatbot or something like that to create a event from the chatroom).

I just started this project a few weeks ago and this idea is still vague and can be altered in the course of development. 

If there is anyone who is interested in this project, please let me know!!

Thank you so much for your time and I'm looking forward to hearing from you 😻
 
Thanks,
Yuki
Colabで日本時間
Published: 2018-12-11 03:20:24

---
title: Colabで日本時間
published: true
description: #GoogleColab でも `!ln -sf  /usr/share/zoneinfo/Asia/Tokyo /etc/localtime` で日本時間にしてみる
tags: 
---

#GoogleColab でも `!ln -sf  /usr/share/zoneinfo/Asia/Tokyo /etc/localtime` で日本時間にしてみる
Announcing: Torah && Tech
Tags: tech, technology, showdev, news
Published: 2018-12-11 01:40:08

---
title: Announcing: Torah && Tech
published: true
tags: tech,technology,showdev,news
canonical_url: https://blog.yechiel.me/announcing-torah-tech-5dac9b4151ba
cover_image: https://cdn-images-1.medium.com/max/800/0*ORWJBw37wEsEt2QV.jpg
series: Torah && Tech
---

![Torah && Tech logo](https://cdn-images-1.medium.com/max/240/0*TpFyctZ8T9owy6aM.jpg)

Hey there!

If you follow me, chances are you are interested in Rabbi stuff, tech stuff, or both.

Well, guess what? I have great news for you!

In honor of Chanukah, my friend, and fellow techie, [Rabbi Ben Greenberg](https://twitter.com/rabbigreenberg) and I have launched a newsletter called Torah && Tech. It will feature a weekly Torah thought as well as tech news and resources of interest to the Torah tech community.

The first issue came out for Shabbat Chanukah (you can find it [here](https://mailchi.mp/9dab0e893c47/torah-tech-shabbat-chanukah-issue-one)).

If you would like to get future issues straight to your inbox every Thursday, just in time for you to read in Shul or at your Shabbat table, you can subscribe at [this link](https://mailchi.mp/f78e9b44f28d/torahandtech).


* * *
Service Oriented Architecture folder scaffolding, thoughts?
Tags: discuss, architecture, services
Published: 2018-12-11 02:36:48

---
title: Service Oriented Architecture folder scaffolding, thoughts?
published: true
tags: discuss, architecture, services
---

Hi guys, what are your best practices about folder scaffolding for service project?

A common practice I see in many places is to follow the MVC pattern, the same scaffolding that RoR auto generates. But I find it a little bit inconvenient and my solutions don't convince me at 100% all the time. So I made a demo project with the following scaffolding.

```
+-- config -- Server config files (.yml, .json, .env)
+-- scripts -- all build & deployments scripts
+-- logs -- daily rotatory log files 
+-- src
|   +-- api -- all the service endpoints
|   |   +-- endpoint1
|   |   |   +-- controller.ts
|   |   |   +-- model.ts
|   |   |   +-- routes.ts
|   |   |   +-- specs.ts
|   +-- business -- the business layer (authentication, server audit)
|   +-- components -- (such as loggers, external services consumption)
|   +-- config -- configuration middlewares
|   +-- data -- data layer
|   |   +-- repositories // all repositories needed for api/models
|   |   |   +-- endpoint1Repository.ts
|   |   +-- providers // all data source providers the service could support
|   |   +-- adapters 
```

With this approach I have all the logic related to an endpoint in the same folder. But I feel that the repositories are a little bit "**far**". 

What do you guys think? Suggestion?
You can see a demo project [here](https://github.com/ioprotium/sarch) (I did it as a proof of concept and to learn a little bit about Firebase and CircleCI)
How to stop thinking about code after work
Tags: productivity, career
Published: 2018-12-11 01:50:35

---
title: How to stop thinking about code after work
published: true
description: Joe discusses how you can apply constraints to your work day to help you mentally context switch from work to home.
tags: productivity, career
---

I decided to do a video and written version of the same content.  

The video is just me free-form speaking about it.  While written is more structured.  

The written can be found [here](https://makingloops.com/relax/).
New, simpler and user-friendlier page
Tags: userhostileweb, hakyll, purecss, brunch
Published: 2018-12-12 20:21:36

---
title: New, simpler and user-friendlier page
published: true
tags: user-hostile web, hakyll, pure.css, brunch
canonical_url: https://tzemanovic.gitlab.io/posts/new-simpler-and-user-friendlier-page/
---

As we say in Czech “blacksmith’s mare walks barefoot” (or “the shoemaker’s children go barefoot” in English), my previous [homepage](https://tzemanovic.gitlab.io/) with its Bootstrap based style looked admittedly so terrible that I myself didn’t enjoy looking at it anymore.

I finally found some time to give it much needed revamp. Also, many current developments in our industry are, to put it lightly, less than ideal and I wanted to make sure I am not just adding more fuel to the fire. It’s not just the things we can see straight away<sup>1</sup>, which are easier to laugh off, but more importantly the things that are hidden from most people’s sight<sup>2</sup>. In that spirit, all the content on this site is now self-hosted (well, except for the comments, 🤔, maybe I’ll setup something like [this self-hosted commenting system](https://github.com/Libbum/oration) one day).

To keep things simple, without making it [too good](https://bestmotherfucking.website/), I’ve used [Pure.css](https://purecss.io/) with its small, responsive modules. It is nice, but quite frankly, even though I’ve been making websites since my childhood, going back to CSS has been a total pain in the ass (even for something as simple as this website) after being spoilt with the awesome [elm-ui](https://package.elm-lang.org/packages/mdgriffith/elm-ui/latest/) (previously style-elements) that I’ve been using at work for well over a year. But the best thing about using Elm has really been its welcoming, friendly and inclusive community.

I’ve also added a simple [way to estimate reading time](https://gitlab.com/tzemanovic/tzemanovic.gitlab.io/blob/master/src/Main.hs#L117) for the blog posts. If you’re interested, you can see the source for this page on [GitLab](https://gitlab.com/tzemanovic/tzemanovic.gitlab.io). Feel free to use any of it for your own page.

<section>
<hr>
<ol>
<li id="fn1"><p><a href="https://twitter.com/darylginn/status/1053646859686809600">Daryl Ginn on Twitter: “Every website in 2018…”</a><a href="#fnref1">↩</a></p></li>
<li id="fn2"><p><a href="https://www.neustadt.fr/essays/against-a-user-hostile-web/">Against an Increasingly User-Hostile Web</a><a href="#fnref2">↩</a></p></li>
</ol>
</section>
How To Build A Real-Time App With GraphQL Subscriptions On Postgres
Tags: graphql, react, webdev, postgres
Published: 2019-12-19 11:50:58

---
title: How To Build A Real-Time App With GraphQL Subscriptions On Postgres
published: true
date: 2018-12-11 00:00:00 UTC
tags: graphql, react, webdev, postgres
canonical_url: https://blog.hasura.io/how-to-build-a-real-time-app-with-graphql-subscriptions-on-postgres-f59dd1520815/
---

![](https://blog.hasura.io/content/images/downloaded_images/how-to-build-a-real-time-app-with-graphql-subscriptions-on-postgres-f59dd1520815/1-LKzdfoUjpm7rvA1I1kes6g.png)

Building real-time apps is a hard engineering problem to solve, especially as a frontend developer or someone who has recently made a transition to becoming a fullstack developer. However, GraphQL is rapidly upending this status-quo.

In [**his article**](https://www.smashingmagazine.com/2018/12/real-time-app-graphql-subscriptions-postgres/) published in Smashing Magazine, [Sandip](https://www.twitter.com/dsandip) covers how to build a realtime app from first principles, the challenges involved and how emerging tooling is addressing them with elegant solutions that are easy to reason about.

If you are new to GraphQL or are just looking to build a realtime app, this post is a great place to start.
Who's looking for open source contributors? (Dec 10th edition)
Tags: discuss, opensource, contributorswanted
Published: 2018-12-10 23:49:04

Find something to work on or promote your project here.

Please shamelessly promote your project. Everyone who posted in previous weeks is welcome back this week, as always. 😄

**This week I also added the tag [#contributorswanted](/t/contributorswanted). If you want to make a standalone post looking for contributors, feel free to use that tag, along with any relevant language tags. If you're interested in keeping up with posts of that nature, follow the tag.**

Happy coding!
Indie maker or teenpreneur?
Tags: maker, teenpreneur, thoughts
Published: 2018-12-10 23:46:31

---
title: Indie maker or teenpreneur?
published: true
tags: Maker, Teenpreneur, Thoughts
canonical_url: https://miguelpiedrafita.com/maker-teenpreneur/
cover_image: https://images.unsplash.com/photo-1509221438419-e2b9e74e4d4b?ixlib=rb-1.2.1&q=80&fm=jpg&crop=entropy&cs=tinysrgb&w=1080&fit=max&ixid=eyJhcHBfaWQiOjExNzczfQ
---
{% blogcast 296 %}

After all this crazy stuff I've been doing lately (like launching two Chrome extensions in less than an hour), I feel like I've finally found a "digital spaaace" that represents me: the maker spaaace.

This clashes with my existing personal branding (a.k.a. the image you project to the internet, your personal "brand") of a _teenpreneur_ that I established when I launched my first big product earlier this year. So, what's the difference?

For me, a teenpreneur is a teenager who has gone the enterprise-y way, who brands his products as big companies and writes "we" in the FAQ, while a maker exposes himself, doesn't wait for things to be ultra polished to launch them and uses emoji on landing pages.

And what do I wanna be? Well, I'm a human, I'm a teenager doing crazy things on the internet. Yeah, I'm guilty of building in a cave for months, for hiding behind a "we" and trying to be CEO of a one-person company. But not anymore!

Starting today, [my website](https://miguelpiedrafita.com) reads "_I'm a 16-year-old who loves to make stuff_" instead of "_I'm a 16-year-old developer & teenpreneur_", and I'm loving it!
Where do you find conference CFPs?
Tags: discuss, speaking, conferences, advice
Published: 2018-12-10 21:42:34

---
title: Where do you find conference CFPs?
published: true
description: Where do you find conference CFPs nowadays?
tags: discuss, speaking, conferences, advice
---

I did quite a bit of conference and meetup speaking in 2016 and 2017, but decided to take 2018 off of speaking due to some burnout and health concerns. But now I'm back! But the landscape seems to be totally different from the last time I was CFP hunting.

Lanyrd is permanently down, the Technically Speaking newsletter is now defunct, and Papercall.io continues to be an unhelpful mess.

For those of you who do conference speaking, which channels do you keep an eye on for finding new CFPs?
Get Your Code Ready for the Holidays!
Tags: discuss
Published: 2018-12-10 21:40:57

---
title: Get Your Code Ready for the Holidays!
published: true
description: Some holiday-themed links for developers.
tags: discuss
---

It's hard to believe that the holidays are upon us and 2018 is almost behind us (I think many of you will echo my feeling of "Thank goodness!"). In celebration of the holidays, I wanted to take a quick look at some holiday themed links for developers and ask you all to share others that you may know about.

## 24ways

[24 Ways](https://24ways.org/) has been around for quite a long time - since [2005](https://24ways.org/2005) if you can believe it! (I suspect a lot of people reading this are like, "Wait, I was still a kid at the time!") Every December, 24 ways tackles a variety of issues relevant to developers and designers from a who's who of authors. For instance, this year Jeremy Keith talked about [taking your web site offline](https://24ways.org/2018/mistletoe-offline/) and Jennifer Wong discussed [building a Chrome extension](https://24ways.org/2018/my-first-chrome-extension/).

## Advent of Code

You may have heard of this as many dev.to members are already doing their own [Advent of Code](https://adventofcode.com/2018/day/1) challenges. Advent of Code presents developers a new code-related challenge/puzzle each day. These get very detailed and can be quite challenging as the month progresses, but you are free to solve them in whatever language you choose. It's a great way to keep your dev skills fresh over the holiday.

## DevAdvent

This is a new effort started by [Sarah Drasner](https://twitter.com/sarah_edo/). The best part about this is that it both offers you a useful link to a project that is worth checking out but also recognizes some people in the developer community for their efforts. Here's Sarah's tweet describing it:

<blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr">Tomorrow I’m gonna start a dev advent calendar. Every day from the 1st to the 25th, I’ll highlight a new person and a project of theirs that I’m into and think people would benefit from knowing about. ❤️</p>&mdash; Sarah Drasner (@sarah_edo) <a href="https://twitter.com/sarah_edo/status/1068500649233563649?ref_src=twsrc%5Etfw">November 30, 2018</a></blockquote>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

You can follow the tweets on this via the hashtag [#DevAdvent](https://twitter.com/hashtag/devAdvent?src=hash). Others appear to have joined Sarah's efforts to recognize their fellow devs too.

## Others?

Know of any other holiday themed links worth sharing? I'd love to hear about them.
What do you wish you knew about digital accessibility?
Tags: discuss, webdev, ama, a11y
Published: 2018-12-10 20:26:44

---
title: What do you wish you knew about digital accessibility?
published: true
description: 
tags: discuss, webdev, ama, accessibility
cover_image: https://farm2.staticflickr.com/1682/25677203702_ea3233fbaf_k.jpg
---

[Digital accessibility](https://cliquestudios.com/accessibility) has become a more popular topic in recent years, and lawsuits against inaccessible websites are becoming more and more common. As developers, we have an ethical responsibility to help empower people to use the technology we create, but so often we're under-educated about exactly _how_ to build things with accessibility in mind.

As the Accessibility Lead at my company and a front end engineer, I have a wealth of knowledge to share with the dev.to community, and I'd love to know what resources I can share! What do you want to know about digital accessibility? Folks with accessibility experience: what do you wish someone taught you when you were just starting off? What resources and guides don't exist yet, that you'd like to link others to?

_Header image from [WOCinTechChat](https://www.flickr.com/photos/wocintechchat)_
Go from zero to clojure in 60 seconds
Tags: clojure, tutorial, beginners, help
Published: 2018-12-10 20:26:36

---
title: Go from zero to clojure in 60 seconds
published: true
description: Getting started with clojure is easier and simpler than ever
tags: clojure, tutorial, beginners, #help
---
I’ve shared this before, but I figured I should write something about it again since things have shifted so dramatically in the clojureverse. It used be that leiningen or boot were the go-to tools for clojure development, but they were confusing and often times had a lot more features than what was absolutely necessary. Any clojure developer will tell you that simplicity should come above ease at all costs!! No, I’m kidding, Im not going to extol the virtues of simplification or get into a pedantic argument over what’s easy or simple. Look, let’s just dive right in.

## It's easy
The major difference is ease, head to clojure’s [getting started page](https://clojure.org/guides/getting_started) and install clojure for your platform. My platform is and hopefully will always be MacOS, so here’s the big enchilada:

```clojure
brew install clojure
```

That’s it! You’re done, you have clojure installed. Congratulations! 🎉🍾🎈🎊 

Start it up with clj and you can start typing clojure code into your terminal with no fuss and cuss... ing. Good job! Of course setting it up for repl<->editor integration is a little harder, but that needs to be a screencast anyway. Sit back, relax and pat yourself on the back for a job well done 👍

## deps.edn
Now that you have clojure installed let's do one useful thing with it, sum numbers! Super useful! Make a new directory and add  two files and a folder like this:

```bash
mkdir -p summer summer/src
cd summer
echo '{:paths ["src"] :deps {org.clojure/clojure {:mvn/version "1.9.0"}}}' >> deps.edn
echo '(ns core) (defn -main [] (println (+ 1 2 3)))' >> src/core.clj
```

Go ahead and run it like this

```bash
clj -m core
```

It should output 6! 🎉

That's all there is to getting started with clojure now. 2019 might just be the year that clojure takes over the dev world!

—

Originally posted on [streaking.app](https://streaking.app/posts/go-from-zero-to-clojure-in-60-seconds-2b6d20b6118d)