teleren/devto huggingface dataset:
Weekly Picks #97 — Development Posts
Tags: webdev, javascript, html, devops
Published: 2019-10-16 17:04:20

* [15 Common JavaScript Questions](https://app.dailynow.co/r/fd868b6a00068d94917566f39467cbd3)
* [Monthly Digest of the Most Popular and Trending JS GitHub Repos](https://app.dailynow.co/r/cb7832e935ee62006ed66e4c6b3ad72a)
* [Math for Programmers..](https://app.dailynow.co/r/7ca81f92733f961bd88a5674151ed0fe)
* [5 DevOps Tools to use](https://app.dailynow.co/r/dafb8e5f5e99053602b8761a05142979)
* [Dracula Keyset — The new GMK keycaps based on the glorious Dracula Theme](https://app.dailynow.co/r/69a5ed59bca02a84e1392f55948e59fe)
* [Vanilla JavaScript and HTML - No frameworks. No libraries. No problem.](https://app.dailynow.co/r/6c8ceb5d1ebd6999eec306c6a76f9481)
* [The tale of three dots in Javascript](https://app.dailynow.co/r/97934866dd0ed05787da472b2a308754)
* [? Memory leaks and Garbage Collection ?️ in JavaScript.](https://app.dailynow.co/r/280f05e3d5183c70cc9da51b05a3c7d1)
* [The Four Best Programming Languages for Blockchain](https://app.dailynow.co/r/7634d522f9badbf044b047280c8edf18)
* [9 (Other) Projects you can do to Become a Front-End Master in 2020](https://app.dailynow.co/r/da6497335f34850a5795123f2b7379b9)

* * *

[_Thanks to Daily_](https://www.dailynow.co/) _developers can focus on code instead of searching for news. Get immediate access to all these posts and much more just by opening a new tab._

[![Daily promotion cover](https://cdn-images-1.medium.com/max/1024/1*7bwIhcH467BKX5Ni8XWpQg.jpeg)](https://www.dailynow.co/)
What's the point of pseudo-coding anyway?
Tags: javascript, beginners, cleancode
Published: 2019-10-16 17:04:20

One of the first assignments we were given during coding boot camp was to write out the instructions for making a PB&J sandwich. No code, just the steps.

"But WHY?," I asked (always the trouble-maker).

Because it would help us understand how fastidious computers were when it came to incomplete or ambiguous instructions, the reply went. And it was good practice to break a task most of us assumed to be exceedingly simple into its component parts.

At the time, I figured that meant I could ignore pseudo-coding if in my mind I already had a clear picture of what I wanted to build, and how.

I was wrong.

Also, hubris is a terrible, terrible drug.

Here's what I'd learned about the importance of pseudo-coding in the three short months of building progressively more complicated apps:

1. It helps you understand what it is you're actually trying to accomplish. Before writing a single line of code, you should have the equivalent of a movie's tagline for your app.

2. Breaking it down into its component parts is just the first step. The end goal should be to simplify, simplify, simplify. Can you bundle the logic for some steps into a single function? Can you further break down others, so you don't slip into the nesting hell of if statements conditional on other if statements conditional on other ifs? Can you arrange your logic in such a way that, should a step become redundant later on, it can be easily removed? Pseudo-coding is where you figure those things out. (Something, something, global variables suck.)

3. Clean code is fast code. It's also easier to maintain. If you don't focus on it in pseudo-coding, sooner or later you'll be refactoring your code instead (cleaning it up once it's written). Pseudo-code the heck out of that bad boy, and you'll be thanking yourself later.

4. Other people will thank you, too. Clean code is easier to read, and easier to build upon. Plus, keeping some of your pseudo-code as comments is a neat way of explaining your thought process to anyone who might want to use/improve your code (and to yourself later on, once you've forgotten why you decided to do something a certain way that now seems to make little sense--and that's okay, you've probably learned a lot since).

5. With good pseudo-code, you're 75% there to good documentation. Good documentation is king. It's how others decide how useful your app might be, and how to implement it for their needs. Get that right, and your stuff will be far more likely to get cloned. Which is how you become GitHub-popular. (Which is the best kind of popular, obviously. Now go write that darn README.)
Pinoy TV Shows the Fame of Pinoy Tambayan
Tags: pinoychannel, pinoytv, pinoytambayan, pinoylambingan
Published: 2019-10-16 16:48:38

Philippines people (Filipinos) are very interactive. They are also well known for their talk shows and romance stories that are named as Pinoy TV Shows. They have different programs and talk shows that are aired globally. They have their own television networks like GMA network and ABS-CBN. Pinoy TV shows provide variety of fun and unique TV shows on Pinoy TV that are also called as Pinoy tambayan shows of Pinoy TV. You cannot imagine a single household in Philippine without a TV. For them it is the best source of entertainment with families and friends. They believe that Pinoy TV shows bring you one step closer to your family and let you all enjoy the happiness while enjoying the TV shows. In Philippine television is considered the best source of entertainment all time. They are also known for their love of Pinoy shows (Pinoy lovers) from entertainment variety to heavy Drama anthologies. Because people love to watch Pinoy TV shows and that’s why ABS-CBN entertainment awarded as the best Pinoy channel with highest rating programs like Ikaw Lang Ang Iibigin, WildFlower, Asintado, Ang Probinsyano, It’s ShowTime, La Luna Sangre, The Good Son, MMK Malaala Mo Kaya, GGV Gandang Gabi Vice, Pilipinas Got Talent, I can see your Voice and many others. https://pinoynetworktambayan.su/
[Feedback] Slack: Cannot mark all messages in a workspace as read
Tags: feedback, highstandard, slack
Published: 2019-10-16 15:36:27

---
title: [Feedback] Slack: Cannot mark all messages in a workspace as read
published: true
description: 
tags: #feedback #highstandard #slack 
---

in the workspace https://puppetcommunity.slack.com/ which is a non paying workspace i am not able to mark all my messages as read.

i already cleared the cache and restarted the app as stated on your help page but the notification is still stuck. it happens on the webpage and in the app.

https://app.slack.com/client/T0AQJ2CTU/threads

- all channels are read (not bold)
- "All Unreads" is not bold
- only "Threads" is bold

clicking on "threads" shows me the "i have no unread threads" page:

> Tend to your threads
> Threads you're involved will be collected right here.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/9uwzb8mpyhcd0ggemaxt.png)

but on the top where the channel headline "Threads" is located i read "4 new replies"

i assume that these replies are so long ago that it moved out of the "free message" range but it looks like i can only mark messages as read which are in this scope.

what to do now? i permanently have a blue dot in my tray, a white dot on my workspace logo, a bold threads section in the sidebar and can do nothing about it.

please help
An Open Source Sci-Fi Novel (Chapter 1)
Tags: books, scifi, novel
Published: 2019-10-16 15:20:15

---
title: An Open Source Sci-Fi Novel (Chapter 1)
published: true
description: I'm writing a sci-fi novel on GitHub, follow along!
tags: books, sci-fi, novel
cover_image: https://s3.us-west-1.wasabisys.com/wrannaman/images/github_footer.png
---

Whenever I embark on a new project (a sizeable one), I find I also need a complimentary creative project that has nothing to do with "work". After many landing page launches, I've settled on a company to do, and a book to write. 

I thought it would be fun/scary to open up the writing process and put it on GitHub. 

I realize the inbound garbage I'm opening myself up to. So be it.

I've just put up a draft of the first chapter [here](https://github.com/wrannaman/wrannaman/wiki). I'll be curious to see what people file as issues on GitHub.
Wagtail + Hacktoberfest = ️
Tags: hacktoberfest
Published: 2019-10-16 15:03:59

{% github wagtail/wagtail %}

This year is our third #hacktoberfest. We have had a great number of contributions this Hacktober. Thank you to everyone who contributed so far!

## How can I help? 👩‍💻👨‍💻

Head over to the [#Hacktoberfest](
https://github.com/wagtail/wagtail/issues?q=is%3Aissue+is%3Aopen+label%3AHacktoberfest) issues list on GitHub and pick any that is not being worked on.

Any and all contributions are welcome.


## I don't know where to start 🤷‍♂️

To get started with Wagtail, see our [docs](https://docs.wagtail.io/en/stable/), the [Development](https://docs.wagtail.io/en/stable/contributing/developing.html) section in particular. Try the [Wagtail demo project](https://github.com/wagtail/bakerydemo/) or learn Wagtail at https://learnwagtail.com


Happy coding!
Codingame - another learn-as-you-go
Tags: todayilearned, languages, learning
Published: 2019-10-16 14:50:55

> At [CodinGame](https://www.codingame.com/start), our goal is to let programmers keep on improving their coding skills by solving the World's most challenging problems, learn new concepts, and get inspired by the best developers.

Another online learning community. Like Codewars, the IDE is in the browser. 

You get mission statements and then have to write code to fulfill the requirements thereof.

> Solo and multiplayer coding games are turn-based: at each turn, your program gets new inputs and must output the action.

Supported languages:
C# C++ Java Javascript Python3 Bash C Clojure D Dart F# Go Groovy Haskell Kotlin Lua ObjectiveC OCaml Pascal Perl PHP Ruby Rust Scala Swift TypeScript VB.NET

Sadly, no Fortran or COBOL. (Sigh)
5 Vscode Extensions 🌟
Tags: vscode, webdev, beginners, javascript
Published: 2019-10-16 14:49:46

# **_What's up Dev !!!_** 🐱‍💻

## Want to be become a Vscode master ?
## Want to outshine your peers in development ?

**If so,** then, this is will show you which are the **top 5** Vscode extensions which are needed to start your web development _(front-end)_ in a productive way. 😊

### Without wasting time lets jump to our first extension

# - _Live Server_  🌏

> If you are tired of jumping from one window to another to get a glimpse of output of your dirty code 😁 you just written a while ago,,, then this **extension** can give you the **soft** relief.
>
>What this extension do is:
> 
>  _It will launch a local development server with live reload feature for static & dynamic pages._ 
> So you don't have to reload your browser every time you want to give a look at your output.
>
>You just have to press **Ctrl + S** to save your work and it will automatically reload your local server where your output is showing.


***
#### Things aren’t always #000000 and #FFFFFF 😜
***



### Next one is about fast autocompletion

# - _Auto Close Tag_ 🏷

> Things can get exhausting when you have to write html tags again and again.
> 
> Short story is, After typing in the closing bracket of the **opening tag**, **the closing tag** will be inserted automatically.

- #### Features

    - Automatically add closing tag when you type in the closing bracket of the opening tag
    - After closing tag is inserted, the cursor is between the opening and closing tag
    - Set the tag list that would not be auto closed
    - Automatically close self-closing tag
    - Support auto close tag as Sublime Text 3
    - Use Keyboard Shortcut or Command Palette to add close tag manually

***
#### If at first you don’t succeed; call it version 1.0 🐱‍👤
***


### You just written the code and, What now then ? 🤷‍

# - _Beautify_ 🥳

> Beautify javascript, JSON, CSS, Sass, and HTML in Visual Studio Code.
>
> This will turn your _**messy**_ code into the human readable way _(no pun here)_.
>
> What else you need.
>
> You just have to **_right click_** on desired file and press format file option and then select **_beautify_** extension.
And you are good to go.

***


### Now give your **CSS** some superpowers by :

# - _Live SASS Compiler_ 🎨

> If you want to extend your _CSS_ powers with pre-compiler like _SASS_, then this extension can save you.
>
>It compiles your **.scss** file and generate it's equivalent pure .**css** on the go.

### - Features

  - Live SASS & SCSS Compile.
  - Customizable file location of exported CSS.
  - Customizable extension name (.**css** or .**min.css**).

***

### Make your workplace better and sexier.

# - _Peacock_ 🦚

> Another creation from _**John Papa.**_
>
> Subtly change the color of your Visual Studio Code workspace.
>
> Ideal when you have multiple VS Code instances, use VS Live Share, or use VS Code's Remote features, and you want to quickly identify your editor.

## **_Have a great day !_**

**Author:** [_Jayesh 🧡_](https://www.instagram.com/jayesh.2112)
Learning NGINX Web Server from Zero to Hero
Tags: webdev, linux, tutorial, beginners
Published: 2019-10-16 14:44:52

Learning NGINX Web Server from Zero to Hero: Install and configure NGINX on a Linux machine, and set up the rest of the pieces you need for the complete LEMP, NLB

NGINX offers speed unmatched by competitors like Apache, on top of bonus features such as load balancing and HTTP caching. Its rising popularity makes NGINX an indispensable skills for web developers, system administrators, and web technologists of all kinds. you will learn how to  install and configure NGINX on a Linux machine, and set up the rest of the pieces you need for the complete LEMP web development stack also explores the security features of NGINX, such as password authentication, HTTPS, and SSL certificates, and its capabilities as a reverse proxy and load balancer.

**The Following Topics are Covered**
* Installing NGINX on LinuxConfiguring a virtual host
* Installing PHP and MariaDB for the LEMP stack
* Securing sites with NGINX
* Creating SSL certificates
* Reverse proxies
* Load balancing

**What you'll learn**
* Set up high-performance architecture with NGINX and install and configure NGINX on a Linux machine and complete LEMP web development stack also coverer NLB,Reverse Proxy

{% youtube SL7qemcA_MI %}
[Feedback] Slack: default/global settings
Tags: feedback, highstandard, slack
Published: 2019-10-16 14:40:11

---
title: [Feedback] Slack: default/global settings
published: true
description: 
tags: #feedback #highstandard #slack
---

beeing in 10+ workspaces requires me to configure each of the workspaces independent.  

- no i don't want to send the message when i am in a code fence "```"
- i want a dark theme
- i want my custom colors
- i only want notifications for meantions
- i have to upload my image

all this settings i have to change for each new workspace.

please add default settings where i can define my new workspace default configuration.
$50 coupon contest: Share your #FML moments to win
Tags: discuss, programming, career, failure
Published: 2019-10-16 14:34:42

Hello everyone!

The generous folks at Dev.to recently gave me a **$50 coupon that can be redeemed at [DevShop](https://shop.dev.to/)**. I got it for writing [this post](https://dev.to/mohanarpit/coding-practices-your-future-self-will-love-you-for-ohe) that featured in Top 7 posts of the week. :tada:

I'm happy to give away this coupon to one of you in a fun contest. All you have to do is **reply in the comments with your biggest screw-up as a developer and I'll randomly pick a winner.**


I'll start with my #FML moment. As a first-time founder & CTO, I ran an update query on the `orders` table in production without the where clause :man_facepalming:. This resulted in corrupting 100K records in less than 1 sec (Thanks MySQL! :stuck_out_tongue: ). Regular DB backups were not yet the norm in my life & the only backup I had was 4 days old. I had to write the most embarrassing email of my life to clients asking them to furnish details for past orders that they had already placed with us. What an eventfully terrible week that was!
 
The worst part is that this wasn't the last time I deleted data in production. But that story's for another day. 

**Think of a moment you said (rather screamed) #FML and let me know in the comments!**
A rap song about Rails
Tags: showdev, culture, ruby, rails
Published: 2019-10-16 14:16:01

---
title: A rap song about Rails
published: true
description: https://www.youtube.com/watch?v=gAp6zOMhOHc
tags: #showdev, #culture, #ruby, #rails
---

Song url: https://www.youtube.com/watch?v=gAp6zOMhOHc

Quick background on the project: I'm a full time programmer and I love making rap music. I see a lot of humor in the profession/industry, and thought it would be fun to combine the two.

I'm always open to feedback and collaboration (currently in CO, would love to work with a videographer to make a music video)!
Welcome Thread - v45
Tags: welcome
Published: 2019-10-16 14:12:52

---
title: Welcome Thread - v45
published: true
description: Welcome to DEV! A thread of hellos and intros.
tags: welcome
---

![doggy hello](https://media.giphy.com/media/eeLD68y0yAzl12KUDH/giphy.gif)

### Welcome to DEV!

1. Leave a comment below to introduce yourself! You can talk about what brought you here, what you're learning, or just a fun fact about yourself.

2. Reply to someone's comment, either with a question or just a hello. 👋 

**Great to have you in the community!**
[Feedback] Slack: Allow uploading in security enhanced browsers
Tags: feedback, highstandard, slack
Published: 2019-10-16 14:12:11

---
title: [Feedback] Slack: Allow uploading in security enhanced browsers
published: true
description: 
tags: #feedback #highstandard #slack
---

in those days as file uploads where as simple as one html file upload form and one submit button things simply worked. 

today i tried to upload a screenshot in my other ticket here on slack. it has not worked.

with a browser which ins configured for a little security (uMatrix, uBock Origin, ..) you require me here to accept scripts (22 + 33 xhr), css and more from more than 19 different sub domains (8 domains) and still its not working. 

![umatrix screenshot](https://thepracticaldev.s3.amazonaws.com/i/ynypk0o85pr6k52rabyz.png)

can we please have again an upload to one domain without so many scripts with a scriptless fallback and you developers move the file over to drift or zendesk.
How do you define success?
Tags: career, success, goals
Published: 2019-10-16 14:08:49

---
title: How do you define success?
published: true
description: How do you define success
tags: career, success, goals
---


It is a simple question but at times hard to understand: How does one define success? We each have our own goals, ambitions and traits that drive us towards this goal. This idea of success for many is driven by comparisons instead of the result of our own personal pillars.


My idea of success is a simple question I ask myself everyday: **Am I better today than I was yesterday.**

Have I accomplished some small goals? Have I learned more at work to push myself farther? Have I helped someone in need? The idea of bettering yourself everyday is something I can hope will bring me happiness. If I can quote Steve Jobs for a second:

> “For the past 33 years,  I have looked in the mirror every morning and asked myself: “If today were the last day of my life, would I want to do what I am about to do today?” And whenever the answer has been “No” for too many days in a row, I know I need to change something.”


Do not become stagnate. Do not accept mediocrity. Do not settle for the mundane and lifeless. Is your job too easy? Are you unchallenged? Move on. Never stop building, never stop creating, never stop learning.  Find what drives you to be a better person.  Do not cheat your well being for short term dividends.


What's the point?  The point is... don't lose your dinosaur.

![Alt Text](https://thepracticaldev.s3.amazonaws.com/i/di0y7ipgtubtinawl1zh.jpeg)
To a new, ill colleague
Tags: culture, email, worklifebalance
Published: 2019-10-16 14:05:48

---
title: To a new, ill colleague
published: true
description: An email to a colleague who is out sick
tags: culture, email, work-life-balance
cover_image: https://thepracticaldev.s3.amazonaws.com/i/eh54qa5k7emra2locfo9.jpg
---

It takes courage to rely upon humane culture, especially when vulnerable.

> Alice,
> 
> Feel better soon.
> 
> Thanks for taking the sick time rather than dragging yourself in.
> 
> Culture is what we do. The way to strengthen a culture of supporting people resting and recovering when they're sick is to do it. I appreciate it can be especially uncomfortable to be new, and I appreciate your taking care of yourself (and minimizing spread of the plague) anyway.
>
> When you are well and back in, I hope I'll have opportunities to help you bounce back here at work.
>
> As ever,
>
> Andrew

(Alice is a pseudonym).

Post cover image credit: [Kelly Sikkema via Unsplash](https://unsplash.com/photos/RmByg5kFfQg)
Daily Challenge #93 - Range Extraction
Tags: challenge
Published: 2019-10-16 14:02:26

---
title: Daily Challenge #93 - Range Extraction
published: true
series: Daily Challenge
description: Complete the solution so that it takes a list of integers in increasing order and returns a correctly formatted string in the range format.
tags: challenge
---

A format for expressing an ordered list of integers is to use a comma separated list of either:

- individual integers
- a range of integers denoted by the starting integer separated from the end integer in the range by a dash, `-`. 
- the range includes all integers in the interval including both endpoints. It is not considered a range unless it spans at least 3 numbers. For example `12, 13, 15-17`

Complete the solution so that it takes a list of integers in increasing order and returns a correctly formatted string in the range format.

Example:

`solution([-6, -3, -2, -1, 0, 1, 3, 4, 5, 7, 8, 9, 10, 11, 14, 15, 17, 18, 19, 20])`

`returns (-6,-3-1,3-5,7-11,14,15,17-20) `

***
_This challenge comes from jhoffner on [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
April Bugfest - The usual suspects
Tags: bugfest, phalcon, contributors
Published: 2019-11-01 21:12:22

---
title: April Bugfest - The usual suspects
published: true
date: 2019-10-16 13:50:58 UTC
tags: bugfest,phalcon,contributors
canonical_url: 
---

Back in April, we announced the [April Bugfest](post/competition-2019-april-bugfest) competition, The rules were simple: fix bugs, we will send you a t-shirt!


![](https://blog.phalcon.io/assets/files/feature.jpg)

The competition was a big success. We got a good chunk of issues done and the contributions spanned throughout the whole organization: from the main repository, devotols, documents etc.

We were supposed to post the results of the competition a few months ago but wanted to wait a bit for contributors to receive their gifts and send us pictures.

### The Usual Suspects

So without any more delays, here are _The Usual Suspects_ - members of the community

[@arhell](https://github.com/arhell) ![Arhell](https://blog.phalcon.io/assets/files/arhell.jpg)

[@dreamsxin](https://github.com/dreamsxin) ![Dreamsxin](https://blog.phalcon.io/assets/files/dream.jpg)

Baby Dreamsxin - future Zephir coder ![](https://blog.phalcon.io/assets/files/dream-baby.jpg)

[@niden](https://github.com/niden) and [@mctekk](https://github.com/mctekk) ![](https://blog.phalcon.io/assets/files/max-nikos.jpg)

[@sergeyklay](https://github.com/sergeyklay) ![](https://blog.phalcon.io/assets/files/serghei.jpg)

[@zsilbi](https://github.com/zsilbi) ![](https://blog.phalcon.io/assets/files/zsilbi.jpg)

And finally, [@jeckerson](https://github.com/jeckerson) decided to send a picture of his significant other:

![](https://blog.phalcon.io/assets/files/jeckerson.jpg)

### Thank you

A huge thank you to all that contributed. There were a few more contributors that opted not to send a picture.

We intend on having this competition every year so looking forward to our April Bugfest 2020

\<3 Phalcon Team \<3