teleren/devto huggingface dataset:
Follow Friday! (v4)
Tags: discuss, followfriday
Published: 2018-07-06 16:24:45

---
title: Follow Friday! (v4)
published: true
description: 
tags: discuss, followfriday
---

Below you can either write about **why someone might want to follow you** or **devs you think others should follow and why**. Feel free to do both.

Remember that mutual follows can message/pair via [DEV Connect](https://dev.to/connect), so you're encouraged to follow back and say hey 👋
How long do you spend learning to code?
Tags: discuss, webdev, noob
Published: 2018-07-06 16:21:21

---
title: How long do you spend learning to code?
published: true
description: Noob question of the day 
tags: #Discuss #webdev #Noob
---

I feel like the biggest noob on this site, but I am curious to know what learning routines does a noob, beginner, mid-level, and/or senior level programmer is like? How many hours do you do, and how many days of the week do you practice?



I can only dedicate about 1 hour of learning a night after my daughter is asleep. Until she is in daycare, this is my schedule. I feel like I'm moving a lot slower then most other self learners. I would love to try and adopt some one else's routine and see what works best for me.
What will I learn to be able to make a little library system on the website?
Tags: help
Published: 2018-07-06 15:37:54

---
title: What will I learn to be able to make a little library system on the website?
published: true
description: I got 
tags: #help
---

Hello there :)
What I'm gonna learn is to build a small library system over the website in purpose that I volunteered to make it for owner just to get experience, but I don't really clear about all the things that it will be included. Which database shall I use? How to buy and use the Hosting and Domain? Is that the database will be stored over the internet? If it so, what could I do with the virtual database. 
I really really beginner but willing to know and enjoying of learning and do thing with programming. :)
please give me any recommendation on what I'm gonna do.
Exploring Ruby IDE Options
Tags: ide, ruby
Published: 2018-07-06 16:32:31

---
title: Exploring Ruby IDE Options
published: true
tags: IDE,Ruby
canonical_url: http://christine-seeman.com/2018/07/exploring-ruby-ide-options/
---

![](http://christine-seeman.com/wp-content/uploads/2018/07/real_programmers.png)
via [xkcd](https://xkcd.com/378/)

I have been working in Ruby and Rails a couple weeks now, but I don’t know if I have been entirely happy with any of the editors/IDE that I have worked with.  Coming from a Java background I used Eclipse/Spring Tool Suite for all my development work.  I knew the short cuts, how to browse quickly and easily, and nothing with Ruby yet has felt like it has clicked.

I have spent the most time in [VS Code](https://code.visualstudio.com/) right now, but I keep on finding features that I am yearning for.  Like local code history, code templates, different views… I have been trying out [RubyMine](https://www.jetbrains.com/ruby/) for the better part of a week, and it almost feels like too much going on.  I haven’t gotten a good hold on customizing it, and for some reason when I try the hot keys, they never seem to work.  I know I could change up the short-cuts, but that almost seems like cheating to me, it really isn’t learning the new IDE way of doing something but attempting it to be like something it isn’t.

The lead developer I have been pairing with this week is an [emacs](https://www.gnu.org/software/emacs/) wizard.  He makes it look effortless and insanely useful.  I think I might have to give that a go, but if it is anything like Vim I know the learning curve will be steep.  If I remember how to exit properly in [Vim](https://www.vim.org/), it feels like a win. At home on my windows machine I’m just using powershell for a terminal and [Atom](https://atom.io/) for a editor.  It’s super simple, and works great for the small coding exercises that I am doing, but would not work in an enterprise level application.
this is test 한글 테스트
Tags: test, firstpost
Published: 2018-07-06 13:26:03

---
title: this is test 한글 테스트
published: true
description: test
tags: test, 한글, first post
---

# test
this is test
**bold**

# 한글 작성
한글로 작성하는 것을 시험합니다.

## 시험 1
괜찮군요.
## 시험 2
괜찮습니다. 그런데 한글 태그는 안 걸리는 것 같습니다.
พื้นฐาน JPA
Tags: jpa, springboot
Published: 2018-07-06 09:28:10

---
title: พื้นฐาน JPA
published: true
description: ทำความเข้าใจพื้นฐานของ JPA
tags: JPA,Spring-boot
---
### หลักการสร้าง Entity Class

---
1. เป็น java class ตั้งชื่อว่าอะไรก็ได้ (ให้สื่อกับความหมายนั้นๆ)
2. implements Serializable
3. มี annotation @Entiry อยู่บน class
4. Entity Class ต้องมี default constructor ที่ไม่มี parameter เท่านั้น  เช่น 

        public Category(){ }

5. ในกรณีที่ต้องการกำหนดค่าบางอย่างของ Table  ให้ใช้ annotation @Table  เช่น
    - การกำหนดชื่อให้ table จะใช้ attribute name  
    - แต่ถ้าไม่ได้กำหนดชื่อ  default table name จะเป็นชื่อของ entity class นั้นๆ 
    - การตั้งชื่อ table ให้ระวังเรื่อง reserve word ของ database แต่ละเจ้า
6. กำหนด attribute จะต้องมี attribute อย่างน้อย 1 attribute ที่มี annotation @Id เพื่อบอกว่าเป็น primary key
7. มี method getter และ setter เพื่อ get และ set ค่าให้กับแต่ละ attribute
8. ในการกำหนดค่า แต่ละ attribute หรือแต่ละ column ให้ใช้ annotation @Colum อยู่บน attribute นั้นๆ
9. การ map relationship ให้สร้าง attribute ที่มี data type เป็น Entity Class ที่ต้องการ map ด้วย จากนั้นก็ใส่ annotation Mapping ต่างๆ  ไว้บน attribute นั้นๆ เช่น


        @OneToOne
        @OneToMany
        @ManyToOne
        @ManyToMany

หลักการคร่าวๆ มีประมาณนี้
Eclipseの導入方法と簡単なJavaプログラムの実行方法
Tags: java, eclipse, beginners
Published: 2018-07-06 08:20:55

---
title: Eclipseの導入方法と簡単なJavaプログラムの実行方法
published: true
description: Javaの代表的なIDEであるEclipseの導入とサンプルのHelloWorldアプリケーションの実行を説明します
tags: Java,Eclipse,beginner
---



Eclipseの導入とサンプルアプリケーションの実行までを行います。

なお執筆時点での筆者の環境は

- OS:Windows7 32bit
- ブラウザ:Google Chrome

です。

#1 Eclipse本体のダウンロード

以下のサイトからダウンロードすると、java、日本語化、webserverなどがバンドルされているものがダウンロードできる

http://mergedoc.osdn.jp/

最新versionの安定稼働版の導入を強く推奨しますが、必要があればその都度古いバージョンを選択してください。
今回は本稿執筆時点2018/7/6での最新版であるEclipse 4.8 Photonをダウンロードします

![ダウンロードバージョン選択画面](https://thepracticaldev.s3.amazonaws.com/i/wvyq6owqq896i1cpfblf.PNG)

##1-2 ダウンロードパッケージの選択

開発対象の環境に適したパッケージをダウンロードします。
本稿ではとりあえず全部入りのUltimateのFullを選択します。筆者のOSはWindows7 32bitなので赤枠のものを選択しますが、
自身のOSを確認して適切なものをインストールしてください。

![パッケージ選択](https://thepracticaldev.s3.amazonaws.com/i/qybm5s5552yfn8qk4cz7.PNG)

ただし、Ultimateにはすべて含まれていますが、サイズが大きい(解凍前1.5GB)ためネットワーク環境が貧弱な場合は適切な軽いものを選択すべきです。
full editionを選択した場合は、コンパイラなどのパス設定がバンドルされたものを利用するようになっているのでインストール後の環境設定の作業が不要です。

#2 解凍し実行
インストール後、適当な場所に解凍し、pleiades\eclipse\eclipse.exeを実行

![exeの実行](https://thepracticaldev.s3.amazonaws.com/i/sspfhr2zejhjgqyuu9wj.PNG)

どのワークスペース(作ったプログラムや設定などをどこに置くか)を利用するか選択する画面が出てきますが、
とりあえず検証するならデフォルトのもので大丈夫です。「起動」ボタンを押して進みましょう。

![起動しましょう](https://thepracticaldev.s3.amazonaws.com/i/sbv896iwa67z4ltujqh1.PNG)

するとEclipseが起動します。

![起動画面](https://thepracticaldev.s3.amazonaws.com/i/4l6owzho22r12aqztxnn.PNG)

# 3サンプルコードの実行

## 3-1新規プロジェクト作成
ではサンプルでJavaのコードを書いて動かす実験をしてみます。

ファイル>新規>Javaプロジェクト

をクリックします。

![Javaプロジェクトを作る](https://thepracticaldev.s3.amazonaws.com/i/80a0oijptand3696o3rb.PNG)

するとプロジェクトの設定を入力する画面がでてきます。
今回は動作検証をするだけなので細かい設定は不要です。

とりあえず今回はプロジェクト名を「testApp」としました

![初期設定](https://thepracticaldev.s3.amazonaws.com/i/w09ikvnivq2w5rjgda4n.PNG)

プロジェクト名を入力して「完了」ボタンを押すとEclipseのパッケージエクスプローラにプロジェクトが作成されているはずです。

![新規作成されたプロジェクト](https://thepracticaldev.s3.amazonaws.com/i/c7cjy4eyzwnpkgkwr309.PNG)

## 3-2新規クラス作成

サンプルプログラムを書くクラスを作成します。

新規>クラス をクリックします

![新規クラス](https://thepracticaldev.s3.amazonaws.com/i/7nxl9815rl4gc39jbgvd.PNG)

作成するクラスの設定画面が出現します。
クラス名は今回は`HelloWorld`にしました。
他は何も変えずに「完了」ボタンを押します。

![クラス設定](https://thepracticaldev.s3.amazonaws.com/i/4j2hoj2xwn2l2hc179l8.PNG)

## 3-3プログラミング

それではソースコードを書きます。
今回は用意した以下のコードを張り付けるだけでOKです

```
package testApp;

public class HelloWorld {
	public static void main(String args[]) {
		System.out.println("Hello World!!!");
	}

}

```

※プロジェクトにtestApp以外の名前を付けた場合は、packageの行は自分がつけたプロジェクト名に変更する必要があります。

## 3-3実行

それでは実行しましょう。

パッケージエクスプローラのプロジェクト名(testApp)を右クリックし、
実行>Javaアプリケーション をクリックします。

![実行](https://thepracticaldev.s3.amazonaws.com/i/jgxnwtso415yg4yolg26.PNG)

するとプログラムが実行されコンソールに`Hello World`と表示されます。

![実行後](https://thepracticaldev.s3.amazonaws.com/i/hkmn0ibby9crt5ohwb8l.PNG)

以上でEclipseの導入とサンプルプログラムの実行は終わりです。
what is benefit ngx-webstorage over normal session and localstorage?
Tags: javascript, angular, discuss
Published: 2018-07-06 07:54:05

---
title:  what is benefit ngx-webstorage over normal session and localstorage?
published: true
description: what is benefit ngx-webstorage over normal session and localstorage?
tags:  javascript, angular, discuss
---
Friday Blast #45
Tags: fridayblast, links, post
Published: 2019-01-20 15:26:07

---
title: Friday Blast #45
published: true
tags: friday_blast,links,post
canonical_url: https://horia141.com/friday-blast-45.html
series: "Friday Blast"
---

[Digg’s v4 launch: an optimism born of necessity (2018)](https://lethain.com//digg-v4/) - I love war stories like these. Digg was big in the day, before _something happened_ and it wasn’t. The massive and borked v3.5-\>v4 migration was widely blamed for it’s downfall, though the story isn’t always as simple. An interesting view into why things broke. And Python’s stupid default parameters behavior.

[Vue.js: the good, the meh, and the ugly (2018)](https://medium.com/@Pier/vue-js-the-good-the-meh-and-the-ugly-82800bbe6684) - Nice overview of where Vue.js is right now. I _do_ think that you’re basically OK with any of the big choices nowadays - Angular, React or Vue. In [RetroFeed](https://horia141.com/retrofeed.html), I’ll actually be experimenting with doing less SPA magic, and more good-old-fashioned rendering, cause I think there’s a pretty good sweet spot to be had with React in this fashion.

[H3: Uber’s hexagonal hierarchival spacial index (2018)](https://eng.uber.com/h3/) - an overview of Uber’s H3 library, whose name is an homage to Google’s [S2](http://s2geometry.io/). Both are _geo_ libraries which offer various forms of geo-hashing - mapping coordinates to strings with nice properties and back again. H3 seems to be the more advanced version now - it uses hexes and has all sorts of nice error properties, whereas S2 uses quads.

[Least squares solutions to over-or underdetermined systems (2018)](https://www.johndcook.com/blog/2018/05/06/least-squares/) - one of my biggest “aha” moments was when studying applied linear algebra and approximate solutions to linear equations and seeing that sometimes you don’t need the _exact_ solution. And getting one which is _close_ to the one sometimes is good enough. And many times is the only thing you can get, as there’s no real _solution_ to speak of. There’s a lot of power in this idea of not wanting the _best_ solution, but still finding a good one - from approximate methods to NP problems to Baeysian optimization etc. This particular case is just for linear systems, but the same thing appears a lot in statistics, ML etc.
Simple Guide To Install SUPEE-10752 With & Without SSH
Tags: supee10752, magentosupee10752, installsupee10752, supee10752install
Published: 2018-07-06 06:51:58

---
title: Simple Guide To Install SUPEE-10752 With & Without SSH
published: true
description: In this Magento tutorial, we will show you some easy steps to install the latest Magento SUPEE-10572 by using SSH or without SSH.
tags: supee 10752, magento supee 10752, install supee 10752, supee 10752 install
---
<img src="https://www.tigren.com/wp-content/uploads/2018/06/how-to-install-supee-10752-with-and-without-SSH-1024x576.png" alt="how to install supee 10752 with and without SSH" width="1024" height="576" class="aligncenter size-large wp-image-7653" />

On June 27, 2018, Magento released several new versions, including SUPEE 10752 to patch earlier Magento 1.x versions, <a href="https://www.tigren.com/magento-2-2-5/">Magento 2.2.5</a>, Magento Open Source and Commerce 2.1.14, Magento Open Source 1.9.3.9, and Magento Commerce 1.14.3.9. These releases provide lots of security enhancements that help close remote code execution, cross-site scripting, and cross-site request forgery. No confirmed attacks related to these issues have occurred to date. However, certain vulnerabilities can potentially be exploited to access customer information or take over administrator sessions, so Magento highly recommends its users to upgrade soon.

In <strong><a href="https://www.tigren.com/install-supee-10752/">this Magento tutorial</a></strong>, we will show you how to install the latest Magento SUPEE-10572</a></strong> by two methods: with or without SSH, step-by-step.

Source: <strong><a href="https://www.tigren.com/install-supee-10752/">How To Install SUPEE 10752 With and Without SSH?</a></strong>
Command Line Heroes Tribe
Tags: technology, unix, blogging, productivity
Published: 2018-07-06 04:00:28

---
title: Command Line Heroes Tribe
published: true
description: join my tribe!
tags: technology, unix, blogging, productivity
---


Trying a new approach for promoting my blog on Triberr. I've started a tribe called Command Line Heroes, inspired by the Red Hat podcast of the same name. If you are interested in sharing content or finding more like mine, join the tribe:

https://lnkd.in/d2pe-vr
Tips on getting started with programming
Tags: programming, beginners
Published: 2018-07-06 01:41:46

---
title: Tips on getting started with programming
published: true
description: Finding your way in a sea of options
tags: programming,beginner
canonical_url: http://creactiviti.com/2018/07/06/tips-on-getting-started-with-programming/
cover_image: https://thepracticaldev.s3.amazonaws.com/i/awgqxf28gtcjikvrrdl2.jpg
---

A nice fellow recently asked me for advice on how to get started as a programmer.

This is a surprisingly difficult question to answer and there’s hardly “one good answer”, but I think that there are a few guideposts that can help anyone in their journey.

### Purpose
Seems obvious but you’d be surprised at how many people study programming to “know programming” without any clear direction as to what they’re going to do with it.

It’s like spending all your days learning every possible chord for a guitar without ever playing a single song. It’s no fun and you feel like you’re going nowhere.

Decide what it is you want to build. Have a clear image in your mind of what it is you want to make and work backward from there.

For my first project I wanted to create a phone book application. I had no idea on how to do that, but I knew there was a need for it in the place I was working. That gave me a sense of direction and a place to get to.

I went to the store and bought a book that taught me how to build database applications. I read just enough to build the first screen or two. Then I got stuck. I went back to the book and continued reading through it. 30 pages later I had my answer. I used what I learned to build a couple more screens. Then I continued alternating in this fashion. By the time I finished the book I was done with my 3rd project.

Which leads to me the next point:

### Commitment
There’s a really interesting paradox of choice today. There are simply too many options on how to get started as a programmer. There’s YouTube videos, online courses, tutorials, projects, bootcamps, books, meetups, colleges and on and on ad nauseam. This can get overwhelming quickly and scare away new programmers.

My suggestion? Pick something that works for you and stick with it to the bitter end.

You can’t attain anything beyond superficial skills by constantly jumping around. Resist the temptation and stick with whatever course of action you picked. When you’re done, you can pick something else.

And finally,

### Write a ton of code
Reading books and watching videos alone is not going to make you an expert programmer. To really grok programming you need to write a lot of code. Write code and don’t worry about getting it perfect. A year from now you’re going to look back at that code and feel sick to your stomach. That’s okay, because a year after that, you’re gonna feel the same about the code you wrote the year before. It means you’re getting better.

Happy coding.
Would you appreciate an SDK being written in TypeScript?
Tags: discuss, javascript, typescript
Published: 2018-07-06 00:09:16

---
title: Would you appreciate an SDK being written in TypeScript?
published: True
description: 
tags: discuss, javascript, typescript
---

I'm curious if Node/JavaScript developers would appreciate an SDK having been written in TypeScript, even if only wanting to use the transpiled JavaScript. My inclination is the additional type checking would be appreciated and help save developers from odd mistakes of data type being passed back from the SDK. 

I know its a little extra overhead and adds a bit to the package size, but would you use it? (For context, this would be an SDK for interacting with a RESTful API).
jSON Server with ReactJS
Tags: javascript, react, json, jsonserver
Published: 2018-07-05 23:25:29

---
title: jSON Server with ReactJS
published: true
description: How to use jSON Server with ReactJS
tags: JS, Reactjs, json, json-server
---

# jSON Server with ReactJS

JSON Server helps you to set up a REST API simply and quickly. As they report in the Github repository, you can create in less than 30 seconds. In this article, we will see how to install and make available a jSON file.

## Starting the project

1 - We created the project using created-react-app
`
$ npx create-react-app my-app
$ cd my-app
`

2 - We installed jSON-Server
`
$ npm install -g json-server
`

##Creating the JSON File

Within my-app folder we will create a file named "db.json" with the following data:
```
{
  "posts": [
    {
      "title": "CopyRight Automatico",
      "tags": "[JS]"
    },
    {
      "title": "HtmlWebpackPlugin Multiples HTML files",
      "tags": "[JS, webpack]"
    }
  ]
}
```

Then let's run "json-server" and "react-app" by running the command below:
`
$ json-server --watch db.json --port 3001
`
`
$ npm run start
`

##Configuring the App.js file

Now that we have our "json-server" running under "localhost:3001/posts" we can do our consultation. So in the App.js file insert the following code below, where when mounting the component in the react, we perform a query with "fetch" and in a sequence we use the "map" to return each item.

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

##Result

Now, if we look at the "React App" page, we will have the following result.

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

##Conclusion

By following the steps in this article, you can create an excellent development environment with ReactJS and jSON SERVER for your applications. 
The theme used in the code, I created inspired by "Vue.js" and you can install in "VS_Code", searching for ["Vue Theme"](https://www.mariorodeghiero.com/vue-theme).

Thanks!!!
Angular2 error
Tags: help
Published: 2018-07-05 22:35:06

---
title: Angular2 error
published: True
description: How to run angular webpack project.
tags: help
---

Whenever i run my Angular2 project in node.js  coomand line, i receive the following error. Can someone please explain! 

Local workspace file ('angular.json') could not be found.
Error: Local workspace file ('angular.json') could not be found.
at WorkspaceLoader._getProjectWorkspaceFilePath (C:\Users\Andrew\AppData\Roaming\npm\node_modules\@angular\cli\models\workspace-loader.js:37:19)
🔥 VSCode Grid Editor Layout Is Here!
Tags: vscode, tip, layout
Published: 2018-07-05 20:41:23

---
title: 🔥 VSCode Grid Editor Layout Is Here!
published: true
description: 🔥 VSCode.pro/TIP/14  — New 🆚Code release 🌞 v1.25 finally has the "Grid Editor Layout" feature. I'm lovin' it!
tags: vscode, tip, layout
---


VSCode just got June's update 🌞 v1.25 and finally it has the "Grid Editor Layout" feature, I was so looking forward to. I'm lovin' it!


🔥 Check: [VSCode.pro/TIP/14 →](https://VSCode.pro/TIP/14)
✅ Drag & Drop Grid Creator
🏗️ Horizontal/Vertical Layout
💜 Use on large Monitors or in Conf talks


You can now arrange 🆚Code's editors both vertically and horizontally and have more than 3 editors side by side layout. 

This is a super fun feature for when you have a large external monitor and also when you are presenting at a conference. 


Just drag and drop your files in up/down/right/left position to easily open up editors in the grid layout. There is also a predefined set of editor layouts in the new  >  menu. Use your code for good.

{%twitter 1014967051805478912 %}
Is Apache Kafka overrated?
Tags: discuss
Published: 2018-07-05 18:15:02

---
title: Is Apache Kafka overrated?
published: true
tags: discuss
---
It seems there is quite a hype around Kafka at the moment - at least if you take the amount of conference talks as an indicator.

I don‘t have experiences with it yet, but I saw one speaker who claimed it could not scale by design.

What are your experiences with it? Is it able to scale to thousands of users and millions of messages easily?
Unix Shell Powertools
Tags: unix, shells, commandline, productivity
Published: 2018-07-05 16:36:52

---
title: Unix Shell Powertools
published: true
description: a small collection of tools to enhance your shell
tags: unix, shells, commandline, productivity
cover_image: https://thepracticaldev.s3.amazonaws.com/i/lwwqxbzun7ozdhzc3ka9.jpg
---

Put a blog entry together on all the cool UNIX shell tools that I've discovered recently to optimize my time. Will likely turn into a series as I continue sharing tips and tricks. Featuring zsh, oh-my-zsh, tmux, fzf, and the Utltimate Vimrc. 

https://vault.osninja.net/shell-powertools/