teleren/devto huggingface dataset:
Introducing pomoDoNotDisturb
Tags: raspberrypi, python3, flask, socketio
Published: 2019-08-28 05:20:37

---
title: Introducing pomoDoNotDisturb
published: true
description: Show availability status via a Pi 3 and Pi Zero by hosting a Flask service that uses Socket.io to relay updates. Pi's talk to each other via USB/Ethernet.
tags: raspberrypi, python3, flask, socketio
---

Not too long ago we got these signs at work:

![](https://images-na.ssl-images-amazon.com/images/I/71diVACOZhL._SL1500_.jpg)

Their purpose is to let co-workers know if you are available to chat or not. I liked the idea, but it was a hassle having to reach for the sign and change it. Also, since the sign is not within my field of view, I would sometimes forget what the sign was set for and would have to check. I thought that there should be a better way of handling this where I could change my status on a hub similar to an Elgato Stream Deck and it could show my current status on a screen. 

![](https://images-na.ssl-images-amazon.com/images/I/81T5LcIMbKL._SL1500_.jpg)

That is how [pomoDoNotDisturb](https://github.com/salhernandez/pomoDoNotDisturb/) was born. Since I use the Pomodoro method to focus on tasks, I figured that it would be nice if the hub could also include a timer that would let people know if I was available or not based on my Pomodoro status.

The end result consisted of a Raspberry Pi Zero W that talks to a Raspberry Pi 3 via USB as a USB/Ethernet Gadget. The Pi Zero has a screen attached to it, while the Raspberry Pi has a touchscreen attached to it. The Raspberry Pi 3 runs Flask which serves two pages:

1. /hub
    1. Controls the status and Pomodoro session
2. /status
    1. Shows current status

For more information please visit the Github repo: [pomoDoNotDisturb](https://github.com/salhernandez/pomoDoNotDisturb/)

The toughest part was making the Pi's talk to each other. It ended up being as simple as assigning static IPs to the USB connection.

Feedback is welcomed! Leave a comment or open an issue.
UnityのProBuilderをLWRP/HDRP対応する
Tags: unity3d
Published: 2019-08-28 05:16:00

---
title: UnityのProBuilderをLWRP/HDRP対応する
published: true
tags: Unity
date: 20190828T05:16Z
canonical_url: https://qiita.com/shiena/items/9ce1e51cfc809e2908da
---
# はじめに

UnityでLWRP/HDRPに設定してProBuilderでゲームオブジェクトを作ると従来のシェーダーが使われているのでピンク色になってしまいます。ですがProBuilder 4.1.0以上でLWRP/HDRP対応マテリアル/シェーダーが追加されたのでその設定方法を解説します。


# LWRP/HDRP向け設定手順

1. Package ManagerからProBuilder 4.1.0以上をインストールします。
1. Unity2019.1以上
	1. HDRP SupportもしくはLWRP SupportのImport in projectボタンを押します。
![image.png](https://dev-to-uploads.s3.amazonaws.com/i/2957eg2klyp9ykicckq6.png) 
	1. `/Assets/Samples/ProBuilder/4.1.0/`にマテリアルとシェーダーがコピーされます。
![image.png](https://dev-to-uploads.s3.amazonaws.com/i/874jwynphqgblw90ow4y.png)

1. Unity2018.4以下
	1. Package ManagerがImport in projectボタンに対応していないのでUnityのプロジェクトタブ内の`/Packages/ProBuilder`をエクスプローラで開き、`Samples~`フォルダ内の`HDRP`もしくは`LWRP`をプロジェクト内にコピーします。
![image.png](https://dev-to-uploads.s3.amazonaws.com/i/wlvuf36i06ydpi268jok.png)
![image.png](https://dev-to-uploads.s3.amazonaws.com/i/pxrd2jrmq5mhbut0o7di.png)
1. コピーしたマテリアルはプロジェクトタブ内でプレビューがピンク色になっている事がありますが再インポートで正常に表示されます。
マテリアルはプロジェクト内のどこに配置しても構わないのですがファイル名を変えると自動割り当てされなくなるので注意してください。

以上の設定でProBuilderでゲームオブジェクトを作った時にLWRP/HDRPのマテリアルが自動で割り当てられます。

余談ですがマテリアルの自動割り当ては https://github.com/Unity-Technologies/com.unity.probuilder/pull/165 で取り込まれているようです。

![image.png](https://dev-to-uploads.s3.amazonaws.com/i/mqhb2unxld03ys8bglxi.png)

# ProBuilder 4.1.0未満の場合

1. https://github.com/Unity-Technologies/com.unity.probuilder/tree/v4.1.0/Samples~ に4.1.0のLWRP/HDRP向けのマテリアルとシェーダーがあるのでプロジェクト内にコピーします。
1. Unityの環境設定 > ProBuilder > Mesh Settings > Materialにコピーしたマテリアルを設定します。
![image.png](https://dev-to-uploads.s3.amazonaws.com/i/4oteowxr69voestbasal.png)
Freelancer Clone: Best Way To Start Your Startup
Tags: startup, business, freelancerclone, freelancer
Published: 2019-08-28 05:13:20

If you closely explore the current world scenario, you must have noticed some very strange things happening around the globe. The Gig Economy also known as the freelancer’s economy is erupting at a relentless pace. Many people are quitting their full-time jobs and are shifting their gears towards freelancing. Well, there are a hundred reasons so as to why you also should choose to freelance as your career option. 
 
Every other day, the freelance market is witnessing a sudden leap and people are enjoying being their own boss to the core. People have understood the true potential of freelancing where they can work on their skills, enhance productivity and discover their true potential.

Now, to shorten the bridge between freelancers and their associated business there has to be a certain online platform, right? Hence, with an intention to serve you with every freelancing need, Freelancer Clone is surely the one-stop thing. To shed some more light on the Freelancer Clone, let’s get ahead and discover some more of this online platform benefits.

Freelancer Clone Script helps you in building a platform which has the same operable functionality as that of a freelancer. Here on this platform, job providers as well as job seekers can shake hands and can communicate at the global level with far ease and comfort. 

it’s right time that you make your own freelance marketplace with the help of a <a href="https://www.logicspice.com/freelancer-clone">freelancer clone</a>
PASSING DATA FROM LARAVEL TO VUE
Tags: laravel, vue
Published: 2019-08-28 04:18:30

![Passing data from Laravel to Vue](https://thepracticaldev.s3.amazonaws.com/i/xg4qtbco2vjb7ddiamsh.jpg)
https://hoanguyenit.com/passing-data-from-laravel-to-vue.html
Các bạn có thể xem thêm bài viết về sự kết hợp giữa Laravel + Vue
+ Create Template Vuejs and Laravel 5.4: https://hoanguyenit.com/create-template-vuejs-and-laravel-5-4.html

+ Xây dụng chức năng Register+ Login bằng Laravel 5.4 + VueJS: https://hoanguyenit.com/xay-dung-chuc-nang-register-login-bang-laravel-5-4-vuej.html

+ Create Cart Laravel 5.4 +VueJS: https://hoanguyenit.com/create-cart-laravel-5-4-vuejs.html
I did it, I wrote my first blog post
Tags: webdev, mystory, firstpost
Published: 2019-08-28 03:25:10

I’m not a writer. 

I **have** to start with this because it is a fact. I’ve started this “I need to write a blog” process about 5 times and always feel like what I am writing about is pointless and no one will read my words.

I am a web developer, self taught like many of other of us out there. I tell this story a good amount, specially to new devs struggling to find their way. Around 2011, Angry Birds sold their 1 millionth game on the Apple App Store. It was such a simple game and while having a few drinks, my best friend bet me that I couldn’t build an iPhone game.

Lets rewind for just a statement. I was a life long baseball player, played college baseball at the University of Virginia, played in the minors for various organizations. I also have had a ton of knee surgeries and probably wasn’t going to make it much further. I quit in 2011. 

Now back to the dev story…

I had **so** much extra time now without baseball in my life. I found a iPhone 101 college class on iTunesU and finished in 6 weeks. Signed up for an adobe account to get access to Photoshop to make some designs, created my apple developer account and I was ready to go. About 6 months later I release [Rockslide](https://apps.apple.com/us/app/rockslide-free/id446935408) to the App Store.

Needless to say, I won the bet, but thats not the point of this post. I also gained a new passion for development. Sure, it was Objective C, lots of copying and pasting and countless hours of build errors but that sparked what is now my career. 

Its now 2019 and I am a Tech Lead at [Union](https://union.co), an agency in Charlotte. In these last 5-6 years I’ve learned HTML, css, sass, javascript, php, python and more. This industry is a never ending learning curve and I enjoy learning a new thing every day. 

I’ve built a few cool apps for myself throughout those years too. Its my way to learn new things. [Appvents](http://www.appvents.com/), a conference management app built with [Ionic v1](https://ionicframework.com/), [Angular](https://angular.io) and a [Laravel](https://laravel.com/) backend. [Gym Journal](https://www.gymjournalapp.com/), a workout tracker and coaching platform built with Ionic v2, Angular and [Firebase](https://firebase.google.com/). Working on an accessibility Mac app called Cra11y built with [Electron](https://electronjs.org/) and [React](https://reactjs.org/).

Wow, you made it to the end. Glad you stuck around and hope you read some of my future posts. I plan on writing more in depth about some of my projects, both personal and from my job at Union, my outlook on tech and its rapid evolution, and maybe even some techy articles on how to do some cool stuff. Oh yeah, check out my tiny [portfolio site](https://francovaldes.dev/).

See you soon.

![Franco Valdes Headshot](https://thepracticaldev.s3.amazonaws.com/i/mbrh8qgj1yzggb36izj1.png)
The best thing about my job is ___
Tags: justforfun, discuss, career, fun
Published: 2019-08-28 03:16:42

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/089u1w69d27ca3b9bx4p.jpg)

A) Unlimited LaCroix
B) Working remotely 
C) Wearing t-shirts to work

Or share your own answer.
Welcome to The Real World, Kid.
Published: 2019-08-28 02:45:37

It felt like my graduation cap had just barely hit the ground when I was whisked away, to a concrete jungle for another 4 years of new experiences.

|![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/qt9lud5qrzg2bnvc9yaw.jpg)|![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/7armow592mek1zvxqmod.jpg)|
|----------|:-------------:|

I am so lucky to be able to say that I graduated with honors, and was accepted into Illinois Institute of Technology and their computer science program. I'm pretty ready to destroy these freshman computer science classes.

On the first week of classes, I decided to adventure outside my dorm and meet up with one of my brand new friends at the architecture studio where he was doing work for his major. I walked in to see him facing a blank page. He hadn't even started his assignment due the following afternoon.

"You're not even going to be able to sleep tonight!" I scolded him. "What are you going to do for the next 5 years?"

He shrugged. He said he was used to it and had little concern for his sanity. Being sleep deprived is "...part of the Archie way," he said to me. I informed him I would be at his throat all year till he got his act together. 

He thought for a moment to see if he was okay with this stranger girl barking at him in his own classroom. He tilted his head, and asked: 

## "Are you someone who changes people?" 

"Yes. I think I am."
Does blogging really help your career?
Tags: discuss, writing, career
Published: 2019-08-28 01:57:42

---
title: Does blogging really help your career?
published: true
description: 
tags: discuss, writing, career
---

I love the community here and the fact that we can openly share ideas between one another.

But I keep hearing/reading from various sources (not specifically here) that one of the great benefits of writing tutorials/blogging is how much it helps your career through connections and such.

I feel like this is akin to people saying how free work is all about "exposure" or that "it's great for your portfolio!"

Aside from maybe helping me get my first job out of college, I can't recall a single interview I've had where they cared about what I've written. 

They may care a little about side projects, in that it checks the box that you're willing to work outside of work, but the difference between having written a single article and having written 500 articles seems to be nil.

I'm not trying to be selfish and stating that there's no point in doing this if it doesn't advance my career. There are many, many reasons to write that I find very valuable (and I'm sure many of you would agree with).

I guess I just wish people wouldn't give that specific advice without evidence to back it up. Blogging won't land you a job, at least not in the near-term. It takes months (even years) of effort for it to start to have any professional effect.

What are your experiences? Has writing here (or elsewhere) helped you land that killer job? Am I completely wrong in my objection?

Edit: These are awesome responses everyone! It's helping remind me that while we may never hear "You wrote this blog post therefore you're hired", it helps us learn the soft skills needed in interviews and communication in general.
Starting a visual programming editor
Tags: showdev, javascript
Published: 2019-08-28 01:55:15

---
title: Starting a visual programming editor
published: true
description: 
tags: beginners, showdev, opensource, javascript
---
Inspired by a friend's work in this area, I decided to give this a go. Found [jsPlumb](https://github.com/jsplumb/jsplumb), which made this relatively easy. Still getting full UI interactions in place and then maybe I'll release as a framework. Eventually will generate code for whatever language, probably Go.

![visual programming prototype](https://thepracticaldev.s3.amazonaws.com/i/xqpn9kz65587sfl96a0w.gif)
Get Your Very Own JAMstack T-Shirt!
Tags: javascript, serverless, webdev, graphql
Published: 2019-08-28 00:37:27

TLDR; [Sign up](https://takeshape.io/signup/) and win a shirt

Last week (8/21), we were honored 😊 to host and present at the inaugural [JAMstack Philly Meetup](https://www.meetup.com/JAMstack-Philly/)! It was an awesome time, and there were a ton of bright 💡 developers doing some great work.

We unveiled our brand new JAWNstack T shirts there, and the response was awesome!
… and we’ve got a few GOLD FOIL versions left 👕💛

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/q1mun21uanc8ri200cov.jpg)

If you’re an avid JAMstacker 🍇, Philly native, or you just really like shirts, you can be entered in a drawing 🎟 to win one yourself. Just sign up to beta test 👩‍🔬👨‍🔬 our [new Mesh product](https://takeshape.io/signup/) by Friday, and you’re good to go. Equally as good as the shirt, you’ll also have the opportunity to try out Mesh, where you have the ability to compose, sync, and fetch content across all of your services with a single GraphQL API 📊!
A letter to the PHP team
Tags: php
Published: 2019-08-29 12:55:11

---
title: A letter to the PHP team
published: true
tags: php
canonical_url: https://stitcher.io/blog/a-letter-to-the-php-team
---

I've taken the time to write a letter to the PHP core developers; addressing, what I think are, some serious issues holding PHP back.

I've addressed two main concerns

- The fear of breaking backwards compatibility
- How communication between the core- and userland developers is flawed

You can read my letter on my blog: https://stitcher.io/blog/a-letter-to-the-php-team
Test Angular Build Locally
Tags: angular
Published: 2019-08-28 10:35:17

---
title: Test Angular Build Locally
published: true
tags: Angular
canonical_url: https://www.leonelngande.com/test-angular-build-locally/
---

To test your Angular build locally:

1. Build your app: `ng build --prod
`
2. Install http-server for serving the app: `npm i -g http-server
`
3. [cd](https://en.wikipedia.org/wiki/Cd_(command)) (change directory) into the the build location and run the app with: `http-server
`
4. Open http-server url appending /index.html to it, should look something like this `http://127.0.0.1:8080/index.html`

🎉
Debugging with IEx
Tags: elixir
Published: 2019-06-08 01:59:30

There are already too many articles about Debugging with IEx on the web, so I will just get to the point straight.

FYI: As per Jose, Pry is not a debugger. It just allows you to interact with a particular context. https://stackoverflow.com/questions/33203676/iex-pry-going-step-by-step

# If you want to 

add a breakpoint in your code: `require IEx; IEx.pry()`

continue to the next breakpoint: `continue()`

continue the execution of code without hitting any other breakpoints: `respawn()`

add a breakpoint to a function: `IEx.break!(Module, :function, arity) eg IEx.break!(String, :length, 1)`


know your breakpoints current location: `whereami`

open the code in the editor: `open()`

list out all the methods of a module: `exports(ModuleName)`

# Keep In Mind, that 

- helper functions like `continue`, `respawn`, `whereami` are only available inside pry session.

- `whereami`, `open` won't work with precompiled source code

- You need to configure either `ELIXIR_EDITOR` or `EDITOR` env variable for `open` to work

# Productivity

It would make your life easier if you would configure a couple of things.

- Enabling History

If you want to have access to the commands you typed in your previous iex session, then add this `export ERL_AFLAGS="-kernel shell_history enabled"`  to your `.bashrc` file and `source .bashrc`. You won't get your shell history if you had terminated the previous IEx session by pressing `Ctrl + c` two times. The right way to exit IEx session is to `ctrl g + q`

- Customizing your IEx

You can customize your IEx by creating `.iex.exs` file. This file gets executed every time you run IEx.

My `.iex.exs` file:

```
IO.puts """
        `
       ;:
      `+;
      ++',
     .+++,
     :'++'.
    .+'++';       Welcome to elixir-land
    ,+'+''':
   `:+'+';';;     http://elixir-lang.org
   ,:++';;;;'.    http://www.phoenixframework.org/
   ::'+';;;;''    https://hex.pm/
   :;;++;;';''    http://www.elixirschool.com/
   .;;'''';;;:    https://github.com/christopheradams/elixir_style_guide
    ,:::'';,,.
    ,,,,,:::,
     ,,,,,,,
      ``.`
"""
IEx.configure(
  alive_prompt: "%prefix(%node):%counter>",
  default_prompt: "%prefix:%counter>",
  inspect: [pretty: true, char_lists: :as_lists, limit: :infinity],
  history_size: -1,
  colors: [
    ls_directory: :cyan,
    ls_device: :yellow,
    doc_code: :green,
    doc_inline_code: :magenta,
    doc_headings: [:cyan, :underline],
    doc_title: [:cyan, :bright, :underline],
    eval_result: [ :cyan, :bright ]
  ]
)

import_file_if_available(".secret.exs")

rs = fn ->
  Process.exit(self(), :normal)
end
```
.NET Conf
Tags: dotnet, webdev, csharp, azure
Published: 2019-08-27 23:14:34

---
title: .NET Conf
published: true
description: .NET Conf is a FREE, 3-day virtual developer event co-organized by the .NET community and Microsoft. This year .NET Core 3.0 will launch at .NET Conf 2019! Come celebrate and learn about the new release. You won't want to miss this one.
cover_image: https://thepracticaldev.s3.amazonaws.com/i/ry61xcm6vc1vw05ci825.png
tags: dotnet, webdev, csharp, azure 
---

.NET Conf is a FREE, 3-day virtual developer event co-organized by the .NET community and Microsoft. This year .NET Core 3.0 will launch at .NET Conf 2019! Come celebrate and learn about the new release. 

> Download the [.NET Core 3.0 Preview](https://dotnet.microsoft.com/download/dotnet-core/3.0?WT.mc_id=devto-blog-shboyer)

Find out more at [www.dotnetconf.net](https://www.dotnetconf.net/)

Listen to Beth and Golnaz discuss the event, some history and more.

{% youtube w32mGFYqGsE %}


### More .NET Resources

* [dot.net](https://dotnet.microsoft.com/?WT.mc_id=blog-devto-shboyer)

* [What is .NET?](https://dotnet.microsoft.com/learn/dotnet/what-is-dotnet?WT.mc_id=blog-devto-shboyer)

* [.NET Core Roadmap](https://github.com/dotnet/core/blob/master/roadmap.md)
Fighting Anxiety and Impostor Syndrome by Blogging
Tags: impostorsyndrome, blog, anxiety
Published: 2019-08-27 23:14:31

It was around February of 2018 when I decided to purchase my domains. I was a little excited, so I purchased three of them: cmjimenez.com, cmjimenez.net, cmjimenez.me. You know, just in case someone else might be looking to purchase them as well -_-. So, now I had three domains and no idea what I was going to do with any of them. 

I spend a lot of my free time reading. Between [Dev.To](https://dev.to), [Reddit](https://reddit.com), or [Hackernoon](https://hackernoon.com), I can always manage to find something that would peak my interest. One topic that I always found interesting was on "why you should create your own blog". There were a number of reasons on why it was beneficial. Some post elaborated on how maintaining a blog would provide a way for you to document your work. Others highlighted the importance of being able to share their views and their unique approaches to solving certain problems. However, one of the most interesting things that I read about was about how creating a blog could also help boost my confidence. I never thought about it from that perspective before and I was willing to give it a try.

###So, how would creating a blog help boost my confidence?

I often get anxiety when communicating with others - especially in a professional setting. I am pretty sure this anxiety stems from the slight insecurity that I have of not wanting to be wrong. I guess it is what is referred to as [impostor syndrome](https://en.wikipedia.org/wiki/Impostor_syndrome). I am also not the only one who suffers from this detrimental mind state. I have read quite a few post that were written by individuals who also suffer from this way of thinking. 

I think a lot of us are scared of being judged. My mind tends to think the worst in these situations, even if it is unwarranted. My drive to be a perfectionist tends to amplify these thoughts as well. By putting my self out there and writing a blog, I am making my self vulnerable. I will be sharing my views with others and in doing so, I hope to become more comfortable in these sort of situations. Now, I know there is nothing wrong with putting our selves out there. Hell, there is nothing wrong about being wrong either! When we are wrong, it provides an opportunity to learn something new. 

So if your on the fence on creating a blog, just do it. If not for sharing with others, at least do it for your self. You have nothing to loose! 

### So here we are...

I started working on my website finally around December of 2018 and by February I released the first iteration of my website. It is now August of 2019 and I am finally releasing my blog. It probably should not have taken that long but that is a subject for another post in the future. 

**Cross post from my blog: https://www.cmjimenez.com/blog/why-i-created-a-blog**
Mini React Tactics - ReactDOM
Tags: react, redux, reactnative
Published: 2019-08-27 22:14:57

Typically, this is the code in the index.js document.

```react
import ReactDOM from 'react-dom';

// ... codes

ReactDOM.render( app, document.getElementById( 'root' ) );
```

But this code also can be written in this way without using ReactDOM.
```react
import {render} from 'react-dom';

// ... codes

render(<App />,document.getElementById('root'));
```