teleren/devto huggingface dataset:
Blockchain Business – will you start?
Tags: blockchain, blockchainbusiness, blockchainstart
Published: 2018-12-08 19:26:43

---
title: Blockchain Business – will you start?
published: true
description: The article runs about the usefulness of blockchain business
tags: blockchain, blockchain-business, blockchain-start
---

Blockchain technology is used practically in all branches of commercial activity. It gives an opportunity to keep information decentralizely. One could create his own blockchain, or look for prepared solutions of blockchain and use it as a service. 
If you record some info into blockcain it wouldn’t be changed or deleted. For sample all the cryptocurrencies transactions all the history of these transactions would be saved if you use blockchain.
Integrating blockchain into cryptocurrencies business one could receive lit sod devidends. Digital currencies becoe more and more popular and blockchain allows committing transactions between the supplier and customer directly. There is no need in the intermediary and it is and advantage.
If you think how to start a blockchain business follow http://merehead.com/blog/start-blockchain-business/. No one could withdraw the commission for your transactions or affect them in any other way. The movement of money would be kept under control only by two sides: the supplier and the receiver. It is much more better than banking system. It is faster, easier and free, because as I’ve mentioned above there are no commissions for transactions.
Applying blockchain into business we may be sure that wehave no risks to loose information. Lots of experts are sure that in the nearesr future blockchain will be implemented almost in all branches of our life, including politics, medicine and others.
Contemplating on my career path as a software developer
Tags: career, learning
Published: 2018-12-08 19:22:07

---
title: Contemplating on my career path as a software developer
published: true
description: Trying to figure out my path in technology
cover_image: https://thepracticaldev.s3.amazonaws.com/i/52yvqo5uhdoy9k3k7uko.jpg
tags: #career, #learning
---

I have been working as a software developer for almost three years now. In my recent appraisal interview, my manager and I got the point of discussing what steps I wanted to take in my career, and in what direction. I had been thinking about this a lot before the interview but hadn’t reached a conclusion. I found the problem to be how many routes are available. I’m afraid of choosing a path, investing time in it and then finding out that I don’t like it.

As a developer, you can focus on web development, mobile apps, blockchain, IoT, and so on. You can even switch within the IT sector. Concentrating on the cloud, computer networking, security, become a solution architect or designer. We can also look further to project management, analysts and system administrators. The possibilities seem to be endless and overwhelming.


So it got me thinking, “How can I narrow this down a little bit?”. I didn’t necessarily want to find the exact job title but maybe get a better idea on where I wanted to head. I listed things I found interesting and could be fun projects. For example, update my website, use machine learning, play with AWS, and just anything I could find fascinating. When I couldn’t think of anything new to add to it, I wanted to reduce it to something more manageable. I decided to create a 10 item to-do list, sorting it by difficulties. So I would begin with something easy, to get the ball rolling. I also wanted to have items that I could easily cross off my list to get some easy wins.

I’m not going to go into much detail of the list, but it’s going well, and I’m halfway through it. I’ve been using Udemy quite a lot to help me learn, and they have some excellent courses there. Thankfully, my girlfriend is studying at university. So we are both spending our evenings learning, and I don’t feel guilty allocating all this time trying to learn some new skills. My aim is that when I finish this list, I’ll create a new list, which then can be more specific than the first one. Once I have done that a few times I’m hoping I have a better understanding of what I like to do, and what I don’t like. Plus, I’ll have created some cool projects along the way.
What is your tale of lasagna code? (Code with too many layers)
Tags: discuss
Published: 2018-12-08 16:41:12

---
title: What is your tale of lasagna code? (Code with too many layers)
published: true
tags: discuss
---

> “In the one and only true way. The object-oriented version of 'Spaghetti code' is, of course, 'Lasagna code'. (Too many layers)." - Roberto Waltman

This week on our show we discuss this quote. Does OOP encourage too many layers in code?

{% podcast https://dev.to/edaqa-and-stephane-podcast/14-spaghetti-oops %}

I first saw this phenomenon when doing Java programming. It wasn't a fault of the language itself, but of excessive levels of abstraction. I wrote about this before in [the false abstraction antipattern](https://mortoray.com/2014/08/01/the-false-abstraction-antipattern/)

So what is your story of there being too many layers in the code? Or do you disagree with the quote, or us?
How to enable night mode for Calibre in Manjaro Linux
Tags: manjaro, i3, calibre, nightmode
Published: 2018-12-11 14:55:05

---
title: How to enable night mode for Calibre in Manjaro Linux
published: true
tags: [manjaro, i3, calibre, night mode]
canonical_url: https://lobotuerto.com/blog/how-to-enable-night-mode-for-calibre-in-manjaro-linux/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/iib2dx7xwb34n44b174l.jpg
---

 **Manjaro Linux i3** ships with a dark theme setting by default.  
Something I really appreciate.

When you install **Calibre** and execute it, you’ll find thatit doesn’t use the system’s theme.  
However, telling it to do so is really easy.

You just need to set the `CALIBRE_USE_SYSTEM_THEME` env var, like this:

```
echo -e '\nexport CALIBRE_USE_SYSTEM_THEME=1' >> .profile
```

To try it out immediately, export the `CALIBRE_USE_SYSTEM_THEME` var and launch **Calibre** with:

```bash
export CALIBRE_USE_SYSTEM_THEME=1
calibre&
```

If you want it to work through `d-menu` (SUPER + D) _logout_ and _login_ backinto session.

That’s it!
GethDesk v 1.0 beta for Ethereum Geth Go console client. (Feedback needed)
Tags: javascript, ethereum
Published: 2018-12-08 16:17:16

---
title: GethDesk v 1.0 beta for Ethereum Geth Go console client. (Feedback needed)
published: true
description: 
tags: javascript,ethereum
---

Hello community! Recently wrote an app which needs to get some constructive feedbacks.

GethDesk— is an open source application written in JavaScript to simplify work with Ethereum Geth Go console client and shows you data about your Geth Go node current condition without using console commands.

Github project page

Any feedback would be appreciated. Put a star on Github page if you find it useful.

What problems it solves?

When I started using Ethereum Geth Go it was very inconvenient to gather data about my node status so I decided to code an app which simplifies use and data visualization from running Geth Go node.

![Alt text of image](https://thepracticaldev.s3.amazonaws.com/i/jsvsutxrl4qb8cihr07f.jpg)
TIGL3D DevLog 13+14: Dialogue system and more scope creep
Tags: gamedev, unity3d, devlog
Published: 2018-12-08 15:55:59

---
title: TIGL3D DevLog 13+14: Dialogue system and more scope creep
published: true
description: These updates cover last minute additions before releasing an alpha demo.
tags: gamedev, unity, devlog
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ocrbkpmritfehfo5lb9n.gif
---
These two devlog updates for [The Indie Game Legend 3D](http://indiegamelegend.com/) from June 2018 cover the addition of a dialogue system, a new minigame, the start of new underwater area, a new ultimate attack, lots of polish, and some adventures in music:

{% youtube 88LOzMvMjlw %}

{% youtube cxCabTwmbtM %}

Early access is in three days! [Wishlist on Steam](https://store.steampowered.com/app/844440/The_Indie_Game_Legend_3D/)
Write better code: Day 4 - Sorted scores
Tags: challenge
Published: 2018-12-08 11:31:00

---
title: Write better code: Day 4 - Sorted scores
published: true
tags: challenge
---

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

--


### Day 4: Question 2

Write a method that takes:

an array of unsorted_scores and the highest_possible_score in the game
and returns a sorted array of scores in less than O(nlgn) time.

```
For example:
unsorted_scores = [37, 89, 41, 65, 91, 53]
HIGHEST_POSSIBLE_SCORE = 100

sort_scores(unsorted_scores, HIGHEST_POSSIBLE_SCORE)
# returns [91, 89, 65, 53, 41, 37]
```

We’re defining nn as the number of unsorted_scores because we’re expecting the number of players to keep climbing.

And, we'll treat highest_possible_score as a constant instead of factoring it into our big O time and space costs because the highest possible score isn’t going to change. Even if we do redesign the game a little, the scores will stay around the same order of magnitude.


-

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/top-scores?course=fc1&section=sorting-searching-logarithms)
Ressources for building products. 
Tags: ux, design, userexperience, resources
Published: 2018-12-08 11:00:53

---
title: Ressources for building products. 
published: true
description: I'm building my first real side project. My goal is to help UX-Designers, developers and creatives building better products 
tags: ux, design, user experience, resources
---

Hey everyone!
I'm building my first real side project. My goal is to help UX-Designers, developers and creatives building better products. The first step is UX then i will add specific materials for methods, photography, business ect. At the moment there are only some Sketch pads, but more to come. 

Do you have me some feedback on this idea?
https://jellyfish.network/

Thank you and have a nice day!
コモナドスケッチ ~ 2. 大改造!!劇的ビフォーアフター ~
Tags: purescript, functional
Published: 2018-12-08 08:58:58

---
title: コモナドスケッチ ~ 2. 大改造!!劇的ビフォーアフター ~
published: true
description: 
tags: purescript,fp
---

# コモナドスケッチ ~ 2. 大改造!!劇的ビフォーアフター ~

[e_ntyo](https://entyo.github.io)です。[前回の投稿](https://dev.to/e_ntyo/--1-dom--p1n)からだいぶ時間が空いてしまいましたが皆様いかがお過ごしでしょうか。私は先日誕生日を迎え、[Twitterのフォロワーからよくわからないものをたくさん頂きました](https://twitter.com/i/moments/1068313344715575296)。

さて、この連載はAngularで書かれたSPAをPureScriptで書き換えるというものです。前回はスクラッチでアプリケーションの骨組みをつくり、それを例にとってpurescript-halogenについて（かなりざっくりとですが）解説しました。

次回（今回）以降は非同期処理やTyped CSSについて書く予定でしたが…

## 連載終了のおしらせ

はい。終わります。

理由は２つありまして、１つは今回の記事を書くタイミングが見つからず、先日ついに **[書き換えが完了](https://github.com/entyo/WatchingU)してしまった** ためです。[こちら](https://entyo.github.io/WatchingU)にデプロイ済みです。

![](https://camo.githubusercontent.com/c9ac9381b02220b512056917c917fe0e82270a83/68747470733a2f2f692e696d6775722e636f6d2f653662664d61562e706e67)

じゃあ前回の投稿からこれに至るまでを記事にしてよ、という話なんですが、残念ながら私はPureScript初学者でコード(特にAPIリクエスト周り)がだいぶ汚いのです…[Justin](https://github.com/justinwoo)氏から[アドバイス](https://twitter.com/jusrin00/status/1060142090854850561)こそもらったものの、まだ反映できていません。この辺りは別途記事にできればいいなと思っています。

> 余談ですが、WatchingUのCI環境では前々から気になっていた[Nix Package Manager](https://nixos.org/nix/)を使ってみました。Nixを使ってPureScriptアプリケーションのビルド環境を構築する方法については、Justin氏の[こちら](https://qiita.com/kimagure/items/de2a4ff45dd8fe8be4b1)の記事が詳しいです。[psc-package2nix](https://github.com/justinwoo/psc-package2nix)を使えばめちゃめちゃ簡単にミニマムなPureScriptのビルド環境が手に入ってうれしいです。

もう１つは、Halogenの[realworld example](https://github.com/thomashoneyman/purescript-halogen-realworld)が産まれようとしているためです。こちらは[purescript-halogen-formless](https://github.com/thomashoneyman/purescript-halogen-formless)の作者で、実務でもHalogenをゴリゴリ使っているというプログラマのthomashoneyman氏によるもので、本体はまだWIPですがガイド（こういう指針でアプリケーションを設計していこうみたいなやつ）の大部分を[こちら](https://thomashoneyman.com/guides/real-world-halogen/)で読むことが出来ます(少し前までソースコードと同じリポジトリにあったのですが切り離されたようです)。私の記事なんかを読むよりこっちを読んだほうが絶対に良いです。間違いないです。

ガイドには主にアプリケーションモナドを定義して変なことが起こらないようにしようだとか、純粋な関数(単にログイン中のユーザ名を受け取ってheaderやfooterなどの`HTML p i`なビューを返すやつら)と`Effect`を含むようなコンポーネント(APIリクエストをしたりlocalStorageにデータを保存したりするやつら)を分離しましょうなどのことが書いてあります。最後の項目だけまだWIPですが、本体が完成する頃には読めるようになるかと思われます。

そういうわけなので、どうせみんな読んでないし…もうゴールしてもいいかな…

![](https://i.imgur.com/SOc0KpG.png)


## 次

まだ[WatchingUでやり残したこと](https://github.com/entyo/WatchingU/issues)はたくさんあるんですが、どうせなら先述のrealworld exampleを読んでから取り掛かりたいというのと、他に作りたいものができたのでそっちを優先しようという気持ちがあります。次は[Three.jsのバインディング](https://github.com/aqui18/purescript-three)を使っておもちゃを作ります。できたら記事にしますね。ではまた。
AoC Day 8: Memory Maneuver
Tags: discuss, adventofcode
Published: 2018-12-08 08:21:04

---
title: AoC Day 8: Memory Maneuver
published: true
description: License in a Tree
tags: discuss, adventofcode
---

[Day 8](https://adventofcode.com/2018/day/8)!
Today's tasks felt much easier than yesterday's, but maybe it was because they were closer to what I used to do at $job - 2.

Let's recursively parse a tree from a sequence of integers! Meaning of each number depends on its position in the sequence and on the meaning of the other numbers...
Write better code: Day 4 - Duplicate Space Edition
Tags: challenge
Published: 2018-12-08 03:47:02

---
title: Write better code: Day 4 - Duplicate Space Edition
published: true
tags: challenge
---

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

--


### Day 4: Question 1

Find a duplicate, Space Edition™.

We have an array of integers, where: The integers are in the range 1..n.
The array has a length of n+1. 

It follows that our array has at least one integer which appears at least twice. But it may have several duplicates, and each duplicate may appear more than twice.

Write a method which finds an integer that appears more than once in our array. (If there are multiple duplicates, you only need to find one of them.)

We're going to run this method on our new, super-hip MacBook Pro With Retina Display™. Thing is, the damn thing came with the RAM soldered right to the motherboard, so we can't upgrade our RAM. So we need to optimize for space!

-

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/find-duplicate-optimize-for-space?course=fc1&section=sorting-searching-logarithms)
A month of Flutter: no content widget
Tags: flutter, tutorial
Published: 2018-12-08 03:35:52

_Originally published on [bendyworks.com](https://bendyworks.com/blog/a-month-of-flutter-no-content-widget)._

With any sort of content site, there is always a chance of having nothing to display. So let's create a `NoContent` widget to use in that scenario.

For this view I'm using an illustration from the [amazing unDraw site](https://undraw.co/). I've choosen the SVG version as it's small, scales to any device size, and is easy to change the color of if themes are implemented.

Since it's an SVG, it'll require the [flutter_svg package](https://pub.dartlang.org/packages/flutter_svg) to render. Packages are easy enough to [add as dependencies](https://flutter.io/docs/development/packages-and-plugins/using-packages#adding-a-package-dependency-to-an-app) to your app. The SVG file will also need to be added to an [assets directory](https://flutter.io/docs/development/ui/assets-and-images) and included in `pubspec.yaml`.

Then a new file, `no_content.dart`, will be created with the following [`StatelessWidget`](https://www.youtube.com/watch?v=wE7khGHVkYY) definition:

~~~dart
class NoContent extends StatelessWidget {
  const NoContent();

  @override
  Widget build(BuildContext context) {
    return Container(
      width: MediaQuery.of(context).size.width,
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: <Widget>[
          SvgPicture.asset(
            'assets/undraw_a_day_at_the_park_owg1.svg',
            height: 300.0,
          ),
          const Text('No Birbs a birbing'),
        ],
      ),
    );
  }
}
~~~

The main goal here is to render the SVG with some text underneath it. Since nothing in `NoContent` is going to change, let's give it a [`const` constructor](https://medium.com/dartlang/an-intro-to-immutability-with-dart-d4de871865c7). We'll also make it so the `Column` contents are center aligned vertically and that the `Container` takes up the entire view width.

With `NoContent` implemented, we'll just swap it into the `Scaffold` body for rendering and update the tests accordingly.

Here is the result. The size and spacing of everything will have to be adjusted as the app design evolves but this is a good base implementation.

![Screenshot of a view with no content](https://thepracticaldev.s3.amazonaws.com/i/thbly6wvatlmynucvwvt.png)

## Code changes

- [#17 Create NoContent widget](https://github.com/abraham/birb/pull/17)
Ruby has the kindest programming community and I have the data to prove it
Tags: ruby, news, github
Published: 2018-12-08 00:18:52

GitHub just released [this blog post about emoji use on the platform](https://blog.github.com/2018-12-07-octoverse-emoji-on-github/).

Check out this graphic from the post:

![](https://user-images.githubusercontent.com/7321362/49674095-924c2d80-fa25-11e8-80bb-84e26874ae57.png)

Rubyists just love to ❤️, myself included.

My first thought was that the color red is why Rubyists love the red heart. But when I saw that Ruby was also #1 in 🎉, I was convinced. Rubyists are the kindest. I am not surprised at all by the finding. I love the Ruby community.


Keep being awesome, Ruby. But don’t gloat too much about this news, you have a reputation of kindness to uphold. 😄

I’m sorry c-sharpers. 😕
Study Guide for the Comet OS Book
Tags: rust, os, studyguide, system
Published: 2018-12-08 00:13:39

---
title: Study Guide for the Comet OS Book
published: true
description: 
tags: rust, os, study-guide, system
---

Check out [comet-guide](https://github.com/jochasinga/comet-guide), my attempt to create a study guide to [this book](http://pages.cs.wisc.edu/~remzi/OSTEP/) for myself and others.

The coolest thing? I'm porting the C code to Rust. The second coolest thing? I try to include emojis whenever I can.
[RANDOM] Circular class recurrence
Tags: javascript, node, discord
Published: 2018-12-07 22:39:33

*no actual content just code*

```js
// file: ./src/classes/User/index.js
const { r } = require('rethinkdb-ts');

/**
 * @typedef {import('discord.js').User} DiscordUser
 */

// [internal]
const Admin = require('./Admin.js');

class User {
  /**
   * @param {DiscordUser} user
   */
  constructor(user) {
    this._client = user.client
    this.user = user;
  }

  get query() {
    return r.table('users').get(this.user.id);
  }

  get r() {
    return r;
  }

  get admin() {
    return new Admin(this.user);
  }
}

module.exports = User;
```

```js
// file: ./src/classes/User/Admin.js

/**
 * @typedef {import('discord.js').User} DiscordUser
 */

class Admin {
  /**
   * @param {DiscordUser} user
   */
  constructor(user) {
    this._client = user.client;
    this.user = user;
  }

  get _() {
    let Seed = require('./');
    return new Seed(this.user);
  }
}

module.exports = Admin;
```

efficient? f*ck no
cool? yea, sure

what does it do?
(in short) it is class file recurrence, where the Admin class is getting the 'seed' file to return to its intended state.
(ref to discord.js) the user class instance is passed through both constructors therefore allowing for deeper recurrence.
this is not singleton programming, if it was i would have passed the class instance through... but i couldn't figure that one out at the time.

Updated 2019/03/21 13:13 GMT London
Replaced module support for rethinkdb-ts for better type resolving.
90% of my job is...
Tags: fun, simple, daily, discuss
Published: 2018-12-07 21:13:37

---
title: 90% of my job is...
published: true
description: 
tags: #fun, #simple, #daily, #discuss
cover_image: https://cdnph.upi.com/svc/sv/i/2161472230806/2016/1/14722312694981/Texas-utility-worker-finds-viral-fame-for-dirty-job.jpg
---

To many jobsdescriptions are over complicated just to sound fancy. Let's have a little fun here. Explain in the shortest and simplest way possible what 90% of your day to day job is. I'll start:

Directing people to read the documentation.
December Project Accountability: Rizzo's Alpine-Python Containers
Tags: discuss, accountability
Published: 2018-12-07 20:53:23

---
title: December Project Accountability: Rizzo's Alpine-Python Containers
published: true
description: Week 1 Goals Complete!   
tags: #discuss #accountability
---

So, Week 1 of my December MVP challenge is complete and I have met the desired goals! If you don't know about my self-imposed challenge, why I'm doing it, and what the project is, check out my first post about it [here](https://dev.to/kaelscion/december-project-accountability-build-and-ship-rizzo-1daf).

Thanks especially to @jess for flat out asking what my week one goals were as that kept me focused. The goals for this week were to build out the two docker images that would be needed for the key back-end functions that will be used by my service. While this process was trivial, the goal of making the images as efficient and fast as possible helped me really research and narrow down which base image to use, as well as which dependencies were truly needed and which could be eliminated. Thanks so much to those involved so far!

Week two's goals are to build out the front end and the web server images. While both back-end images were pretty straightforward as they relied on the same base image, next week will be a bit tougher. If anybody has any suggestions as to their favorite Gatsby.js and/or Nginx images, please leave them in the comments. I'm starting to get pretty excited about what will come from this little challenge and look forward to sharing the final product with you all come January 1!
TIGL3D DevLog 11+12: Two new areas, teaser trailer, the announcement
Tags: gamedev, unity3d, devlog
Published: 2018-12-07 20:46:06

---
title: TIGL3D DevLog 11+12: Two new areas, teaser trailer, the announcement
published: true
description: These updates cover adding two whole new areas and lots of marketing work.
tags: gamedev, unity, devlog
cover_image: https://thepracticaldev.s3.amazonaws.com/i/rzbcga6cd6sqm6acw7yx.gif
---
These two devlog updates for [The Indie Game Legend 3D](http://indiegamelegend.com/) from May 2018 cover adding a desert area and a lava area, putting together a teaser trailer, and lots of other marketing work for an official announcement:

{% youtube ID3H9pxiudc %}

{% youtube Yb2I8ao5L2o %}

Early access is in 4 days... [wishlist on Steam!](https://store.steampowered.com/app/844440/The_Indie_Game_Legend_3D/)