teleren/devto huggingface dataset:
Computer Chess/Shogi links
Tags: shogi, chess, programming
Published: 2019-01-17 01:37:09

---
title: Computer Chess/Shogi links
published: true
description: 
tags: shogi, chess, programming
cover_image: https://pbs.twimg.com/media/DxFTv3jU0AEr6Rk.jpg:large
---

## Howto

- [将棋ソフト「elmo」をLinuxにインストールする方法](https://linuxfan.info/elmo-sdt5-on-linux) (Linux Fan)
- [将棋ソフト「やねうら王」をLinuxで動かす方法](https://linuxfan.info/yaneuraou-on-linux) (Linux Fan)
- [「平成将棋合戦ぽんぽこ」をLinuxにインストールする方法](https://linuxfan.info/tanuki-sdt5-on-linux)　(Linux Fan)
- [将棋プログラムの作り方](http://usapyon.game.coocan.jp/usapyon/HowToMakeShogiProgram.html) (usapyon)
- [NNUE評価関数の学習方法について](http://yaneuraou.yaneu.com/2018/12/30/nnue%E8%A9%95%E4%BE%A1%E9%96%A2%E6%95%B0%E3%81%AE%E5%AD%A6%E7%BF%92%E6%96%B9%E6%B3%95%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6/) (yaneuraou)

## Engines

- [YaneuraOu mini](https://github.com/yaneurao/YaneuraOu) is a shogi engine(AI player), stronger than Bonanza6 , educational and tiny code(about 2500 lines) , USI compliant engine , capable of being compiled by VC++2017
- [gunyarakun/python-shogi](https://github.com/gunyarakun/python-shogi/blob/master/scripts/random_csa_tcp_match) A pure Python shogi library with move generation and validation and handling of common formats.
- [niklasf/python-chess](https://github.com/niklasf/python-chess) A pure Python chess library with move generation and validation, PGN parsing and writing, Polyglot opening book reading, Gaviota tablebase probing, Syzygy tablebase probing and UCI/XBoard engine communication

## 評価関数

- [YaneuraOu フロッピーディスクに収まる評価関数バイナリ公開](http://yaneuraou.yaneu.com/2019/01/15/%E3%83%95%E3%83%AD%E3%83%83%E3%83%94%E3%83%BC%E3%83%87%E3%82%A3%E3%82%B9%E3%82%AF%E3%81%AB%E5%8F%8E%E3%81%BE%E3%82%8B%E8%A9%95%E4%BE%A1%E9%96%A2%E6%95%B0%E3%83%90%E3%82%A4%E3%83%8A%E3%83%AA%E5%85%AC/)

## GUI

- [ShogiGUI](http://shogigui.siganus.com/)
- [将棋所](http://shogidokoro.starfree.jp/)

## 商品

- [マイナビ 将棋神 やねうら王](https://www.amazon.co.jp/exec/obidos/ASIN/B07DL34R4W/aaaaab0c-22/ref=nosim/)
- [マイナビ 将棋レボリューション 激指14](https://www.amazon.co.jp/%E3%83%9E%E3%82%A4%E3%83%8A%E3%83%93%E5%87%BA%E7%89%88-%E3%83%9E%E3%82%A4%E3%83%8A%E3%83%93-%E5%B0%86%E6%A3%8B%E3%83%AC%E3%83%9C%E3%83%AA%E3%83%A5%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3-%E6%BF%80%E6%8C%8714/dp/B017E0YOEG/ref=pd_sbs_65_2?_encoding=UTF8&pd_rd_i=B017E0YOEG&pd_rd_r=ed320813-1b0b-11e9-a286-1d00e8649e5f&pd_rd_w=osP7L&pd_rd_wg=tU31c&pf_rd_p=cda7018a-662b-401f-9c16-bd4ec317039e&pf_rd_r=TH4XXMG3PHXTVHE76KXX&psc=1&refRID=TH4XXMG3PHXTVHE76KXX)

## Protocols

- [CSA通信プロトコル](http://www.computer-shogi.org/protocol/tcp_ip_server_112.html): 第17回世界コンピュータ将棋選手権からこのプロトコルが必須。審判サーバを使用するサーバプロトコルと、審判サーバが利用できない場合の1対1プロトコルがあります。
- [USIプロトコル](http://hgm.nubati.net/usi.html): 将棋GUIと将棋エンジンを繋げて、棋譜解析、対局を行う｡

## Associations

- [コンピュータ 将棋協会 (CSA)](http://www.computer-shogi.org/)
- [コンピュータ将棋連続対局場所 (floodgate)](http://wdoor.c.u-tokyo.ac.jp/shogi/floodgate.html)

## Lectures

- [将棋で磨く知性と感性](http://shogi.c.u-tokyo.ac.jp/news/) (東京大学教養学部前期課程全学体験ゼミ）
Nice video: Mastering the Vim Language
Tags: vim, editorlanguage, language, compose
Published: 2019-01-17 00:40:11

---
title: Nice video: Mastering the Vim Language
published: true
description: 
tags: vim, editorlanguage, language, compose
---

Chris Toomey demoed using vim and focus on the edit language of vi.

He gave an interesting and simple example, deleting inner. (di") will delete words in "".

```vim
di'
di(
dip
dit

p=paragraph, t=tag html

```

These are really useful.

{% youtube wlR5gYd6um0 %}

# End

Vim is not only an editor, it's an edit language first.

Even you use VCode you can use vim mode.

He gave a ref doc [Learning Vim in 2014: Vim as Language](https://benmccormick.org/2014/07/02/learning-vim-in-2014-vim-as-language)
Prefilling Form on Redirect with URL Params & Google Analytics Params
Tags: help
Published: 2019-01-17 00:28:10

---
title: Prefilling Form on Redirect with URL Params & Google Analytics Params
published: true
tags: help
---

Hello there! I really hope you can help me out. I have created a landing page which has a simple "form" to get a potential user's email and password. 

```
<input id="email" type="email" name="email" placeholder="E-mail Address" style="width:100%; border: 1px solid #eaeaea">
<input id="password" type="password" name="password" placeholder="Password" style="width:100%; border: 1px solid #eaeaea">
<a onclick="redirect()" class="custom-link btn btn-sm startscreening-btn btn-default btn-icon-left btn-shadow" data-title="Sign Up Now" title="Sign Up Now" style="margin-top: 1rem">Create Account</a>
```

The __Create Account__ button has an `onclick` event listener which calls the function `redirect`:

```

<script>
const redirect = () => {
  const email = document.getElementById("email").value;
  const password = document.getElementById("password").value;
  
  let param = '';

  if (email || password) {
    const tempParam = "email=" + encodeURIComponent(email) + "&password=" + encodeURIComponent(password);
    param = "?" + window.btoa(tempParam);
  }

  window.location = "https://app.naborly.com/signup" + param;
}

</script>

```

On redirect, the values that were encoded in `param` are used to prefill a signup form. This code works as intended so far. The issue is that once I try to add `utm_source` and `utm_campaign` parameters onto the redirect URL I encounter some issues.

* If I append `&utm_source=some_source&utm_campaign=some_campaign` onto the end of the assignment of `window.location` The signup form is populated with garbage values

*If I append `&utm_source=some_source&utm_campaign=some_campaign` onto the end of the `tempParam` assignment the password value is shortened to 4 characters.

Is there anyway to prefill the form and have GA campaign parameters on the same link, or is this a futile effort?
Is 2019 the year of TypeScript?
Tags: discuss, typescript, javascript, flow
Published: 2019-01-16 23:59:04

---
title: Is 2019 the year of TypeScript?
published: true
tags: discuss, typescript, javascript, flow
cover_image: https://thepracticaldev.s3.amazonaws.com/i/eoz2gg948ys22w1ir00h.jpg
canonical_url: https://www.iamdeveloper.com/posts/is-2019-the-year-of-typescript-18p2/
series: typescript
---

This comment in the Jest repository, https://github.com/facebook/jest/pull/7554#issuecomment-454358729, has been floating around on the Twitterverse the past few days and seems to be garnering a lot of attention.

{%twitter 1085396444201275392 %}

The fact that a Facebook project is migrating to [TypeScript](http://www.typescriptlang.org) (TS) is kind of big deal considering they're also behind [Flow](https://flowtype.org), a direct competitor of TS.

Other prominent JS devs have been chiming in as well. Some with a little more cursing, so apologies in advance. 😉

{% twitter 1064649666275340288 %}

{% twitter 1075853845048188929 %}

{% twitter 1057097944082591744 %}

{% twitter 1079106970953560065 %}

Is this the final nail in the coffin for Flow? Is it another year where TypeScript adoption continues to rise and it becomes the Year of TypeScript?

There's even a [horse_ts](https://twitter.com/horse_ts) Twitter account now. It's not too hard to guess who it is, but I still find it pretty funny.

{% twitter 1084989367670603776 %}

"So if you’ve been a holdout (like me, to be honest), 2019 is definitely the year to learn TypeScript.", @kball quote from https://zendev.com/2019/01/15/frontend-development-topics-to-learn-in-2019.html

Share your thoughts in the comments below and feel free to shamelessly plug your TS posts, if you've written any on dev.to. I'll shamelessly plug first.

{%link https://dev.to/nickytonline/why-you-might-want-to-consider-using-typescript-6j3 %}

Photo by [NordWood Themes](https://unsplash.com/photos/C0sW3yscQXc?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/search/photos/this-is-the-year?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
what could a new developer write about?
Tags: discuss
Published: 2019-01-16 23:49:02

---
title: what could a new developer write about?
published: true
description: 
tags: #discuss
---


Hi, I just finished college and started a job as a fullstack developer working with .NET and AngularJS. 
I have always wanted to write posts like we see around here because I think it's one of the coolest ways to express thoughts on tech and get people to discuss something and also because I have the desire to teach and give back to the community that helped me so much. 

But what could I write about? One thing I think about sharing is how after 3 years of college I got a really nice internship and then a great job.
Dev.to Need a Recommendation System like Youtube
Tags: devto, recommendation, dev, discuss
Published: 2019-01-16 21:55:27

---
title: Dev.to Need a Recommendation System like Youtube
published: true
description: 
tags: devto, recommendation, dev, discuss
---

I was watching the video yesterday and thought of this idea.

{% youtube mohCfOJOn6A %}

Lets compare:

Youtube know users. It will recommend videos for users.

What Devto give me now? It always give me new posts.

# New Age for Recommendation

Now recommendation is everywhere. Search age is passing. Now is recommendation time.

In China there is a site toutiao.com(Today news you care using AI based recommendation) is becoming popular.

Any idea?
What is Python used for?
Tags: discuss, beginners, python, webdev
Published: 2019-01-16 21:24:45

---
title: What is Python used for?
published: true
description: 
tags: discuss, beginners, python, webdev
---
I am learning python programming language and I am so interesting about their concepts and labraries... so as you know this programming language is so popular now and it used in a lot of programming and scientific fields but my questions is what is the top field that is so used with python... for example is it web programming with django ? or is it data science ? or security ?  I Think it is used a lot in data science...
Regex solution
Tags: discuss, regex, python
Published: 2019-01-16 21:17:18

---
title: Regex solution
published: true
description: Need to understand whether there is a better solution out there.
tags: discuss, regex, python
---

Problem Description: 

Regex needs to accepts all strings of type abc.xyz.mno, it should be composed of multiple strings all joined by '.'. The joined strings can only contain [a-z][0-9], even capital characters are not allowed. 

Valid cases

abc.bcd.edsaf.asdfds
abc.asdf123.1234adf
abc.ad

Invalid cases

abc
abc.
abc.132A
ASD
1234
1234ASF.

The solution that I came up with is this 
```
^[a-z0-9]+\.[a-z0-9]([a-z0-9]*|\.[a-z0-9])+$
```

I am not sure whether this is the most efficient solution possible?
I am a full-time freelancer aged 21. I work mostly in PHP and React. Last year I made approximately $75,000 in revenue. AMA!
Tags: ama, career
Published: 2019-01-16 19:55:48

---
title: I am a full-time freelancer aged 21. I work mostly in PHP and React. Last year I made approximately $75,000 in revenue. AMA!
published: true
description: Ask me things, don't ask me things, laugh at the comments. It's all up to you.
tags: #ama, #career
---

Okay. That title sounded a bit more braggy than I wanted it to. So if you clicked, I hope I at least garnered your interest.

If you want to read the journey in detail, you can check out [my post on how I got into freelancing](https://dev.to/pretzelhands/how-i-got-into-freelancing-2437). To give you a hint: It involved more luck than I had any right to have and I made some very stupid decisions.

The starting point of my freelance journey was a bit more than two years ago at the tender age of 19. It's been a lot of ups and downs since then, but especially since Q1 2018 I haven't really had any downs.

I'd be happy to answer any questions you might have regarding freelancing, regarding my chosen tech stack, my previous work and really anything else you might have in mind. As long as I have something to say about it, I'll be glad to tell you.

You can also find some extra tidbits about me on my profile. :)

Looking forward to your questions!
Job Promotion is a Trap
Tags: career, discuss
Published: 2019-01-16 20:38:31

---
title: Job Promotion is a Trap
published: true
description: We love job promotion. The promotion gives us a sense of career progress. With every unlocked achievement, we earn more $, and our social status grows. We are moving towards our dream. We are happy, and life is good. But job promotion is a tool that employers use, to make us stay at the company longer.
tags: career, discuss
---

We love job promotion. The promotion gives us a sense of career progress:

junior developer → developer → senior developer → principal developer → architect → senior architect → chief architect → CTO → CIO (Career Is Over).

With every unlocked achievement, we earn more $, and our social status grows. We are moving towards our dream. We are happy, and life is good.

> But job promotion is a tool that employers use, to make us stay at the company longer.



[Continue reading...](https://sizovs.net/2019/01/13/job-promotion-is-a-trap/)
Ruby on Rails E-Commerce in 2019! Demo Included
Tags: ruby, webdev, beginners, showdev
Published: 2019-01-24 15:29:49

---
title: Ruby on Rails E-Commerce in 2019! Demo Included
published: true
tags: ruby, webdev, beginners, showdev
canonical_url: https://snipcart.com/blog/rails-ecommerce-tutorial-refinery-cms
---

![Ruby on Rails E-Commerce in 2019! Demo Included](https://snipcart.com/media/204011/rails-refinery-snipcart-ecommerce-demo-2.png)

When it comes to certain things in life, I'm a purist. A snob, even. Now if you don't have time—or simply don't care—to learn why I'm a purist, feel free to skip to our Rails e-commerce tutorial! Otherwise, let me explain...

On the guitar, I avoid using a capo; when learning another language, I avoid Google Translate; when my best friend in the second grade brought a Game Genie for my Super Nintendo, I was forced into a tough realization: he could no longer be my best friend.

After all, if I'm going to learn something, I'm going to learn it right. No shortcuts, not for me.

Which is why I was so torn when taking a deeper dive into **Ruby on Rails**. At times, Rails feels like cheating… but it's also addictingly fun.

So today I'm going to put my purist biases aside to explore Ruby on Rails e-commerce. In this post, I'm going to briefly explain what Ruby on Rails is, look at why it's controversial, and finally explain the advantage of using Rails for e-commerce.

As an added bonus, I'm even going to show you exactly how you can build a Ruby on Rails e-commerce site using Refinery CMS
  

→ Read the full post [here](https://snipcart.com/blog/rails-ecommerce-tutorial-refinery-cms)
Changelog: export comments
Tags: meta, changelog
Published: 2019-01-16 19:57:24

As of a few hours ago, thanks to a graciously [merged pull request](https://github.com/thepracticaldev/dev.to/pull/1471), you can export your own comments, in addition to your own posts.

To do it, you go to [https://dev.to/settings/misc](https://dev.to/settings/misc) and select "Export content"

![](https://thepracticaldev.s3.amazonaws.com/i/cyfjtji9rn14za72k03p.png)

After a little while you'll get a nice email with an attached zip file of your content (in JSON).

An example of how comments look like:

![](https://thepracticaldev.s3.amazonaws.com/i/hupcw7ey6tqysblm71l5.png)

If you want to know how it all started, check this other changelog post:

{% link https://dev.to/rhymes/changelog-export-posts-1kdm %}
Creating a Node gRPC Service Using Mali
Tags: grpc, api, http2
Published: 2019-01-16 18:13:21

---
title: Creating a Node gRPC Service Using Mali
published: true
description: Learn about the engineering principles, technology, and goals behind the gRPC system by setting up a service.
tags: #grpc #api #http2
canonical_url: https://auth0.com/blog/creating-a-node-grpc-service-using-mali/
---

At Auth0 we’re responsible for responding to a large volume of queries within a relatively small period of time. For each API call that’s made we must perform a variety of tasks: authentication, rate limiting, data access, payload validation, and external API calls to name a few...

[Read on 🏛](https://auth0.com/blog/creating-a-node-grpc-service-using-mali/?utm_source=dev&utm_medium=sc&utm_campaign=aueng_grpc)

![Creating a Node gRPC Service Using Mali](https://thepracticaldev.s3.amazonaws.com/i/80ec9pymnu07b1ygxgba.png)
MailChimp Email Addresses Look Weird in Outlook? Here’s How to Fix It.
Tags: mailchimp, dns, spf, dkim
Published: 2019-01-16 18:12:33

---
title: MailChimp Email Addresses Look Weird in Outlook? Here’s How to Fix It.
published: true
description: Fix garbled "from" addresses and make it possible to whitelist your mailings through MailChimp.
tags: MailChimp, DNS, SPF, DKIM
---

*[Originially published on Medium on September 22, 2016.](https://medium.com/@tvanantwerp/mailchimp-email-addresses-look-weird-in-outlook-heres-how-to-fix-it-bcafd99f8497)*

## The Problem

I get emails from lots of organizations that use MailChimp. How can I tell that they use MailChimp? Because their emails always start like this:

```
Sender <person=example.com@mail215.atl61.mcsv.net> on behalf of Sender <person@example.com>
```

I use Office 365 at work and usually browse email in Outlook. And every single MailChimp email I receive that way has a garbled From address just like above.

Because the email is sent by MailChimp’s servers, the From address usually includes the domain of that MailChimp server. This causes three problems:

1. It’s ugly.
2. I might think it’s spam.
3. I can never whitelist emails from your domain because it’s never your domain — it’s always a different MailChimp server!

This is fairly easy to fix. All you need to do are make [a few DNS tweaks to your domain](http://kb.mailchimp.com/accounts/email-authentication/set-up-custom-domain-authentication-dkim-and-spf) and your emails will no longer show this garbled mess in the From field in Outlook.

##The Fix

All you need to do are add two DNS records.

```
Type:  CNAME
Host:  k1._domainkey.example.com
Value: dkim.mcsv.net

Type:  TXT
Host:  example.com
Value: v=spf1 include:servers.mcsv.net ?all
```

That’s it! Once you’ve added/modified these DNS records, your email addresses sent from MailChimp to Outlook clients will look just fine!

You may already have a TXT record that begins `v=spf1`, in which case you just need to add `include:servers.mcsv.net` to the list of domains already in that record.

##The Explanation

When Outlook shows the garbled From address in the first place, it’s because it doesn’t know if it should trust the MailChimp server as a legitimate sender for your domain. [DKIM](https://support.google.com/a/answer/174124?hl=en) and [SPF](https://support.google.com/a/answer/33786?hl=en) records are designed to help email servers know who can or cannot legitimately send mail on behalf of a domain. With these records in place, emails will correctly display as `Sender <person@example.com>` because Outlook has a way to verify that MailChimp is authorized to send mail for the `example.com` domain.
Time as a Factor in Hiring
Tags: discuss, time, hiring, jobs
Published: 2019-01-16 18:06:31

---
title: Time as a Factor in Hiring
published: True
description: How much time factors into the hiring process of a dev.
tags: discuss, time, hiring, jobs
---
I have applied to some jobs recently and gotten a ways into the interviews. However, I am not available until May. I don't think the interviews are ending because of being a good fit, ability, etc. as they've been really positive.

I just wanted to hear from some how much time is a factor in hiring and when you think the best time is to apply.
Create a High-Availability Kubernetes Cluster on AWS with Kops
Tags: kubernetes, aws, kops, docker
Published: 2019-01-16 17:35:55

---
title: Create a High-Availability Kubernetes Cluster on AWS with Kops
published: true
description: How to create a High-Availability Kubernetes cluster on AWS with Kops and deploy a Phoenix Chat application
tags: kubernetes, aws, kops, docker
---

[Create a High-Availability Kubernetes Cluster on AWS with Kops](https://www.poeticoding.com/create-a-high-availability-kubernetes-cluster-on-aws-with-kops/)

This week I’ve published an article mainly focused on DevOps. I show how to create a High-Availability Kubernetes cluster on AWS with Kops and deploy a Phoenix Chat application. 

I explain the basics to have our own HA Kubernetes cluster on the cloud, so we can later (in further article) experiment and discuss on the deployment of Distributed Elixir applications.
Rename your files depending on .extension!
Tags: python, rename, beginners, coding
Published: 2019-01-16 17:00:53

---
title: Rename your files depending on .extension!
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sbtigr5t4r1no3zy3lfd.png
published: true
tags: python, rename, beginners, coding
---
# Useful tool

If you want to rename your **dataset samples for ML** and you might have a lot of them (you should btw) or maybe you need to set **different enumeration for every .extension** you have or you just want to **rename some personal stuff** I am glad you are here.

This is how you can rename your files:

- For every .extension in the target folder reNamer sets unique enumeration.

![alt text] (https://thepracticaldev.s3.amazonaws.com/i/1hjuwusroko9bzjul0xj.PNG)

- Randomly

![alt text](https://thepracticaldev.s3.amazonaws.com/i/cdtb2y1sp513rkpp8wc6.JPG)

- With your set of parameters. Example, name=FILE, start counting from=10, step=1

![alt text](https://thepracticaldev.s3.amazonaws.com/i/wcz4462bu034huybk804.JPG)

### Finally
**It is simple application but I hope it would be as useful to someone as it has been useful to me!**
 
#### If you want .exe?
[Download]
(https://mega.nz/#!35UGwCCD!zUn_Jg8pvimJgFV0DbgBzGpbPXRasqBTCGHnCjYgan8) 

{% github Eshleron/reNamer %}
Change profiles automatically in Tilix when connecting to SSH hosts
Tags: blogging, bash, convenience, terminal
Published: 2019-03-22 15:50:49

---
title: Change profiles automatically in Tilix when connecting to SSH hosts
published: true
tags: Blogging,bash,convenience,terminal
canonical_url: https://deeb.me/20190116/change-profiles-automatically-in-tilix-when-connecting-to-ssh-hosts
---

I use [Tilix](https://gnunn1.github.io/tilix-web/) as my main terminal app on Ubuntu. I like it mainly because it’s easy to use and shows multiple sessions in tiles and tabs, so it’s easy to switch between multiple servers without too much fuss

Tilix is also pretty customizable. I just needed to have the “profile” automatically switch according to the server/machine I switch to. This can be done according to the documentation per https://gnunn1.github.io/tilix-web/manual/profileswitch/ but I wanted something configured locally, not sent to the remote system.

So I just added a function that wraps my ssh command. Here’s how it looks in my .bashrc

```
ssh() { SSHAPP=`which ssh`; ARGS=$@; echo "switching to $ARGS"; printf "\033]7;file://%s/\007" "$ARGS"; $SSHAPP $ARGS; }
```

This sets up the hostname of machine you’re logging into as the title. That’s your trigger. What remains is to create a profile and assign that profile to automatically switch when the trigger (hostname:directory, user can also be added) is set.

Go to Profiles \> Edit Profile \> Advanced (tab) and under Match add the hostname.

![](https://deeb.me/wp-content/uploads/image-1024x787.png)<figcaption><br></figcaption>

That’s about it. I’m going to add a new profile with a RED background now for my production machines! too much?