teleren/devto huggingface dataset:
Your personal Google+ account is going away on April 2, 2019
Tags: discuss
Published: 2019-02-04 09:50:04

---
title: Your personal Google+ account is going away on April 2, 2019
published: true
description: 
tags: discuss
---
just got this mail saying , Google+ will shut down for consumers in April 2019 due to low usage and challenges involved in maintaining a successful product that meets consumers' expectations.


### Seems Google has finally called in Quit after trying to keep it afloat for a while.


i barely use Google + for social engagement.So , don't have much to do with it. But if you are a active user then i guess it's time to backup your data.


Also , for Developers [Google+ API](https://developers.google.com/+/api-shutdown) is also getting Shutdown so , if you are using any api service like  __*Google+ Sign-in*__ , it's time to find alternate soluction.


___
I like to ask , have anyone here uses **Google +** or  __*Google+ API*__ ? If yes then what are you use it for ? and now it's going away , which solution you will turn to ?
How blockchain achieves immutability?
Tags: opensource, go, blockchain
Published: 2019-02-04 09:19:34

---
title: How blockchain achieves immutability?
published: true
description: Blockchain is append-only DB. It relies on mathematical and cryptographical principles.
tags: opensource,go,blockchain
---

New block available! Have a great week devs!

{% twitter 1092108252366671872 %}
Create a Facebook-like application within a week
Tags: challenge
Published: 2019-02-04 07:42:45

---
title: Create a Facebook-like application within a week
published: true
tags: challenge
---

# Scenario
The iBanker boss in Hong Kong requests you to create a Facebook-like application within a week. The application should have iOS, Android and Web version. You will gain HK$5000 after the application is fully completed so that the iBanker boss can present the idea to Innovation and Technology Bureau of Hong Kong insists to get the HK$3,000,000 funding.

What tech stack will you use?
The next generation of SMART Contracts
Tags: blockchain, tron, trx, cryptocurrency
Published: 2019-02-04 05:03:42

The next generation of SMART Contracts

The crowdfunding space routinely raises hundreds of millions of dollars each year, but is rife with fraud, abuse, failed projects, and “completed” projects that don’t live up to expectations or promises.

Innovative process or upcoming tokeno micscan be implemented fast and will be available toinvestors and companies Easy to adjust assets, when crowdfundingprojects fail or concerns arise regarding feasibility of the project Smart contracts can enforce this actionautomatically and build out a system designedspecifically to be fair to all parties

TRC20 TRON BLOCKCHAIN Our TRC20 Mission T2S aims to be a crowdfunding platform for doing good, by leveraging the power of crypto and token-based funding to make the world a better place, one project at a time.

Over the course of time, we hope to emerge as champions for science and technology,where projects,

both big and small would gatherfunding purely on the basis of their merit.

The goal of T2S is to create an open, reliable and convenient platform for successful international commercialization of Intellectual Property. The T2S platform runs on TRON BLOCKCHAIN and their holders will receive part of the profit from the realization projects in the T2S ecosystem.
Blog post: Release 2.00 of RegularExpressions::RequireDefault
Tags: perl, release, cpan
Published: 2019-02-03 21:34:43

---
title:  Blog post: Release 2.00 of RegularExpressions::RequireDefault
published: true
description: CPAN release of Perl::Critic policy
tags: perl, release, cpan
---
I know I just blogged about this policy in "[Blog post: Static Analysis in Perl - or yet another policy](https://dev.to/jonasbn/static-analysis-in-perl---or-yet-another-policy-m98)", but as I concluded the post I am pondering trying to get the policy adopted into [Perl::Critic](https://metacpan.org/pod/release/PETDANCE/Perl-Critic-1.132/lib/Perl/Critic.pm) core.

I looked at the TODO list and [list of known issues](https://github.com/jonasbn/perl-critic-policy-regularexpressions-requiredefault/issues) and decided that the policy was not ready for a PR to Perl::Critic, since I want it to have all the features I have listed implemented.

Sparked by a sudden inspiration I got the _last_ feature implemented and the result has been uploaded to CPAN as 2.00.

Release 2.00 introduces the ability to configure if you want the evaluation performed by the policy to be strict or liberal (the default).

So you can add a configuration parameter to your Perl::Critic profile and enable strictness.

```
[RegularExpressions::RequireDefault]
strict = 1
```

The policy, if enabled, allow for both `a` and `aa` by default. If `strict` however is enabled, `a` will trigger a violation and `aa` will not, hence the _strictness_.

Example:

```perl
my $ascii_letters =~ m/[A-Z]*/i;  # not ok
my $ascii_letters =~ m/[A-Z]*/a;  # ok, but not ok with strict enabled
my $ascii_letters =~ m/[A-Z]*/aa; # ok
```

The policy also evaluates if the pragmas are enabled under the same conditions: 

Example:


```perl
use re 'a';  # ok, but not ok with strict enabled
use re 'aa'; # ok
```

The implementation still has an issue with the pragma use in general, since it is _difficult_ to handle the enabling and disabling of pragmas locally in the source code. Perl::Critic works on a external parsing of the source code in question using [PPI](https://metacpan.org/pod/PPI), meaning not the actual AST as you can see some static analysis tools do, so these things do not come as easily as for these tools, which work more integrated into the actual parsing of the source code.

Anyway I will now continue my evaluation of the possibility of getting the policy adopted by Perl::Critic.
My favorite web app in the whole World Wide Web world !
Tags: glitch, forwardjs, serverless
Published: 2019-02-03 20:31:07

---
title: My favorite web app in the whole World Wide Web world !
published: true
tags: glitch,forwardjs,serverless
canonical_url: 
---

### My favorite web app in the whole World Wide Web world !

I asked a room full of developers at [ForwardJS](https://forwardjs.com/#serverless-applications) during my serverless workshop if they had heard of Glitch and the answer to my surprise was **_NO_**. So let me tell you about this application that **_sparks a lot of joy in my professional life_**.

![](https://cdn-images-1.medium.com/max/1024/1*FXjjjRQQkI2zCP3LubmpMw@2x.jpeg)

![](https://cdn-images-1.medium.com/max/1024/1*hvFAZm8xp7e2VdM7Pkz2UQ@2x.jpeg)

![](https://cdn-images-1.medium.com/max/1024/1*sG7ffuriYYCz-DtiSlxaiQ@2x.jpeg)<figcaption>Teaching about ServerLess at ForwardJS conference. Kudos to <a href="https://medium.com/u/969d127324da">David Nugent</a> for organizing such a successful event and <a href="https://medium.com/u/bf01a11701fe">Max Katz</a> for sponsoring !</figcaption>

Glitch is one of my favorite applications in this world. Not even joking ! If you haven’t heard of Glitch, you need to try it out. Like **_NOW_**. Glitch is a platform that lets you build and publish web apps easily. It presents a tremendous opportunity to learn and experiment.

> So how do you get started with Glitch ?

1. Go to [https://glitch.com/](https://glitch.com/)
2. Select a template from **New Project** and code away !

![](https://cdn-images-1.medium.com/max/1024/1*RrDT9wZA0CcGvLm0iYFZhQ.png)

Wait, that’s it ? **_YES_** , that’s the beauty of Glitch. Nothing to download, install or run any scripts locally. You can get started with a template and there are hundreds to chose from. It provides a decent code editor, console, logs, and file directory. And guess what ? I have not signed in yet !

![](https://cdn-images-1.medium.com/max/1024/1*aJQITFWPFmjy8_6CkpXVFw.png)

**_But wait a second_** , don’t developers love their local IDEs ? Are you telling I can no longer use VS Code awesomeness ! **_WELL_** , I am glad you asked. There is a super handy feature in Glitch that lets you export your project to Github or download it to your local machine. So essentially, you can go back and forth between local and cloud development.

![](https://cdn-images-1.medium.com/max/1024/1*qZif7noWQBEU2w-G6L0aNQ.png)

So what are you waiting for ! Get started with Glitch !
A rap song about squashing bugs in production
Tags: showdev, programming, culture
Published: 2019-02-03 19:31:24

---
title: A rap song about squashing bugs in production
published: true
description: https://www.youtube.com/watch?v=wyrrPiNI3GI
tags: #showdev, #programming, #culture
---

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

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!
Tryin' round
Tags: challenge, question
Published: 2019-02-03 19:17:08

---
title: Tryin' round
published: true
description: Do you think it is a good idea?
tags: challenge, question, 
---

Something good can happen,
Should it?

![Takamatsu](https://i.pinimg.com/originals/f9/8a/84/f98a845a6df07ff950c831fb514905f7.jpg)

Very much appreciate your opinion.
Preload on hover?
Tags: discuss
Published: 2019-02-03 17:31:06

Hi. I wonder about the preload technique. For example, I have a code piece like below:

```js
const links = document.querySelectorAll('a')

Array.from(links).forEach((link) => {

    link.addEventListener("mouseenter", () => {

        const xhr = new XMLHttpRequest()

        xhr.open("GET", link.href)
        xhr.send()

    })

})
```

or with Fetch

```js
const links = document.querySelectorAll('a')

Array.from(links).forEach((link) => {

    link.addEventListener("mouseenter", () => {

        fetch(link.href, { cache: "force-cache" })

    })

})
```

Can this code help to improve performance? We have a real estate project. Properties have too many items like images, text etc.

Actually, I couldn't understand if this was working as expected.

What do you think about that?
React on Rails in 2019?
Tags: discuss
Published: 2019-02-03 16:37:19

---
title: React on Rails in 2019?
published: true
tags: discuss
cover_image: https://images.unsplash.com/photo-1456940645424-adda95a2af4c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=2600&q=80
---

Do you use [React](https://reactjs.org) in combination with [Rails](https://rubyonrails.org) in production apps? Does it fit? What is the best way to combine them (gems vs separate backend & frontend apps)?

_Cover image by [Austin Smart](https://unsplash.com/@austinsmart) on [Unsplash](https://unsplash.com/photos/vPe0ltATD2k)_
Design patterns series
Tags: appdev, blog, designpattern, designpatterns
Published: 2019-02-18 18:10:10

---
title: Design patterns series
published: true
tags: appdev,blog,Design Pattern,Design Patterns
canonical_url: https://itscoderslife.wordpress.com/2019/02/03/design-patterns/
---

I am refreshing my design patterns knowledge and this series will have nearly 20+ blog posts. Each post will be about a single design pattern. The post will contain a gist of when, where to use the pattern and essence of the pattern with a brief explanation of examples to understand.

Here’s the list of Design patterns, categorized into 3 types:

**Creational patterns**

- Singleton
- Prototype
- Builder
- Factory
- Abstract factory

**Structural patterns**

- Adapter
- Bridge
- Composite
- Decorator
- Facade
- Flyweight
- Proxy

**Behavioural patterns**

- Chain of responsibility
- Command
- Interpreter
- Iterator 
- Mediator
- Memento
- Observer
- State
- Strategy
- Template
- Visitor

Happy learning...
Why do you code?
Tags: discuss, writing
Published: 2019-02-03 14:53:04

---
title: Why do you code?
published: true
description: 
tags: discuss, writing 
cover_image: https://thepracticaldev.s3.amazonaws.com/i/rq48n957djcp028jlv59.jpg
---

I've been coding for almost 2yrs and I still kept asking myself the same question: **Why do I code?**.

I was 16/yo when I started to write codes using HTML and CSS only. I have this mentor, adviser, and teacher in our school. His name is Cris. And while I was downloading some pirated tutorials from udemy in our computer lab. Cris suddenly approaches me and ask me if I want to join a **Web Design** contest in our school. My response to Him (with a pessimist mind) was _"I'm sorry but I cannot, because I know nothing about writing codes"_.

Cris, knowing that I don't have any experience with programming neither design still ask me the question. Then He told me that there is a cash prize for the winner and there is a slight chance that you will lose from the competition plus in our school programming and Web Design is oblivion. So I took the opportunity not because of what He just told me but what He thinks about me. That **I can do more** so I started searching tutorials from youtube related to Web Design or using HTML, CSS to convert the design into a static Website.

Long story short; I won the contest not because I was good but because I'm the only contestant.

After a month or so. I still kept on thinking about pursuing this career (programming). So I started to pull up my browser and search some online tutorials on **How to program** while I was going through this path. I've realized that there are an **unlimited possibilities** that I can do with this thing that I also consider as **superpower** or **I can also mentor somebody like what Cris did to me**.


Now I want to ask: **Why do you code?**
just put your answers down below in the comment section.
Vue.js, CSS Modules, Functional CSS. How to?
Tags: vue, css, webdev, productivity
Published: 2019-02-03 12:59:17

---
title: Vue.js, CSS Modules, Functional CSS. How to?
published: true
description: How to use functional css with Vue.js (or any other framework that supports CSS Modules) CSS Modules.
tags: vue, css, webdev, productivity
---
![cover](https://thepracticaldev.s3.amazonaws.com/i/p9m9o4wlm1a5suquk0gw.jpg)

Not So long ago I wrote small article - [PostCSS Functional CSS Plugin. Generate Functional CSS with ease.](https://dev.to/iamfrntdv/postcss-functional-css-plugin-generate-functional-css-with-ease-1k6m).

This plugin is aimed to help generate functional css with ease.

I used it for a while and it worked very well. Until I had to use it with css modules. The main problem was a class names. If you familiar with css modules I may know that it's a little bit easier to use camel case class names. Unfortunately PostCSS Functional CSS Plugin couldn't generate camel case class names until now.

Recently I've update the plugin and I also added some new css features and "CSS Modules Mode".

## Splitting
One more new feature was added - is ability to generate features separately. To do so just add a comment that contains feature name to specific file (`margin.pcss`):
```pcss
/* postcss-functional-css-margin */
```


## CSS Modules Mode
By default PostCSS Functional CSS plugins generate class names like this:
- `margin-top-20`
- `margin-left-20`
- `md-margin-left-20`
So the class name contains css property name and value. If class is declared inside some media query it will have extra prefix defined in the config.
And this is fine when you use it with vanilla html.

When it comes to CSS modules you probably would like to use it for example like this:
```html
<div :class="[
    margin.top20, 
    margin.mdTop40, 
    margin.bottom20, 
    margin.mdBottom40
]">
    ...
</div>
```

So in CSS Modules mode property name won't be added. It would be important to import css/pcss file with a css property name:
```vue
<template>
    <div :class="[margin.bottom20, margin.mdBottom40, margin.lgBottom60]">
        ...
    </div>
</template>

<script>
...
</script>

<style src="./margin.pcss" lang="pcss" module="margin"></style>
<style src="./padding.pcss" lang="pcss" module="padding"></style>
```
This will help to keep code inside a project semantic and avoid selectors like `margin.marginBottom20`.


## Links
[PostCSS Functional CSS Plugin](https://github.com/iamfrntdv/postcss-functional-css)
The Engineer/Manager Pendulum (Reblog)
Published: 2023-04-29 21:26:55

---
title: The Engineer/Manager Pendulum (Reblog)
published: true
date: 2019-02-03 12:42:31 UTC
tags: 
canonical_url: https://mikestaszel.com/2019/02/03/the-engineer-manager-pendulum-reblog/
---

Two great blog posts I read recently and wanted to quickly share:

> [The Engineer/Manager Pendulum](https://charity.wtf/2017/05/11/the-engineer-manager-pendulum/)

<iframe title="“The Engineer/Manager Pendulum” — charity.wtf" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://charity.wtf/2017/05/11/the-engineer-manager-pendulum/embed/#?secret=ZRUqAGOn0i" data-secret="ZRUqAGOn0i" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

> [Engineering Management: The Pendulum Or The Ladder](https://charity.wtf/2019/01/04/engineering-management-the-pendulum-or-the-ladder/)

<iframe title="“Engineering Management: The Pendulum Or The Ladder” — charity.wtf" sandbox="allow-scripts" security="restricted" style="position: absolute; clip: rect(1px, 1px, 1px, 1px);" src="https://charity.wtf/2019/01/04/engineering-management-the-pendulum-or-the-ladder/embed/#?secret=bltWOVfor3" data-secret="bltWOVfor3" width="600" height="338" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

There is a LOT of great content in here, check out more posts at [https://charity.wtf/](https://charity.wtf/)

It’s probably the first time I’ve subscribed to a new RSS feed in years!

<!--kg-card-end: html-->
Bulldohzer 🚜 DNS & DoH performance testing
Tags: showdev, opensource, dns, webperf
Published: 2019-02-03 11:52:05

A few months ago [Commons Host](https://commons.host) built and launched its DNS over HTTPS service [in just 10 days](https://dev.to/commonshost/how-we-built-a-doh-cdn-with-20-global-edge-servers-in-10-days-1man). The service has proved reliable and performant, with users enjoying secure and private DNS service.

One challenge users face is finding the best DoH or DNS service. Public DoH & DNS performance reports are of questionable value. This is because performance for a test server in a big datacentre or at an Internet Exchange is not the same as on your own device on your own network.

So run your own performance tests.

## Introducing: Bulldohzer 🚜

[Bulldohzer](https://www.npmjs.com/package/bulldohzer) is an easy to use DNS and DoH performance test. You can run Bulldohzer yourself to find the best resolver *for you*.

- GitHub https://github.com/commonshost/bulldohzer
- NPM https://www.npmjs.com/package/bulldohzer

Bulldohzer does not require any installation. Test runs take just a few seconds. Reports are designed to offer a lot of detail yet be easy to understand at a glance. Output of raw JSON data is also supported.

```
$ npx bulldohzer
```

*Note: The `npx` command is provided by Node.js which is the only dependency. You will need Node.js v11.4.0 or later.*

![Screenshot](https://thepracticaldev.s3.amazonaws.com/i/43laskohmhbntnezg43d.png)

## If you can not measure it, you can not improve it.

Traditional DNS is heavily optimised due to decades of widespread use. Unfortunately it is susceptible to tampering and monitoring. DoH is a new and secure DNS protocol. DoH transports DNS over long-lived HTTP/2 connections. Because DoH is so new, some implementations are not yet optimised nor widely deployed.

Please try out Bulldohzer and share your results with DoH providers.

*Cover photo by [khaosproductions](https://www.flickr.com/photos/khaosproductions/4870139498/)*
Static netcat .exe files
Tags: security, netcat, windows
Published: 2019-11-17 20:46:35

---
title: Static netcat .exe files
published: true
tags: security,netcat,windows
canonical_url: https://ofdigitalwater.postach.io/post/static-netcat-exe-files
---

Today we are going to create static `.exe` binaries for [netcat](http://nc110.sourceforge.net/).

While there are many [ports and reimplementations of netcat](https://en.wikipedia.org/wiki/Netcat#Ports_and_reimplementations), we are going to stick with `win32` ports for [netcat 1.11](https://github.com/ReneNyffenegger/netcat) or [netcat 1.12](https://eternallybored.org/misc/netcat/) (the latter one enables sending `CRLF` line endings instead of `CR` using command line option `-c`).

We will use [MXE](https://mxe.cc) as our cross-compilation environment. Compile the `cc` package as described in the [tutorial](https://mxe.cc/#tutorial). Add the directory with cross-compilers to your `PATH`.

Then download and unpack the source from the `win32` ports above and issue the following commands:

```
i686-w64-mingw32.static-gcc -DNDEBUG -DWIN32 -D_CONSOLE -DTELNET -DGAPING_SECURITY_HOLE getopt.c doexec.c netcat.c -O2 -s -static -lkernel32 -luser32 -lwsock32 -lwinmm -o nc.exe
```

and

```
x86_64-w64-mingw32.static-gcc -DNDEBUG -DWIN32 -D_CONSOLE -DTELNET -DGAPING_SECURITY_HOLE getopt.c doexec.c netcat.c -O2 -s -static -lkernel32 -luser32 -lwsock32 -lwinmm -o nc64.exe
```

to compile the 32-bit and 64-bit version respectively.

I compiled netcat 1.12 for you and placed it into a [Dropbox folder](https://www.dropbox.com/sh/p55p891k15yisbg/AABtTEKNjMTGgYCDN26vNFG-a).

If you decide to use them, here are the MD5 checksums:

```
f630164e41932360440f43602f670d21 nc64.exe
bc3029d3e79265f9ab2e906009adb196 nc.exe
```

Here is the list with the netcat tutorials:

- [https://en.wikipedia.org/wiki/Netcat](https://en.wikipedia.org/wiki/Netcat)
- [http://nc110.sourceforge.net/](http://nc110.sourceforge.net/)
- [https://www.heise.de/select/ix/2017/11/1509815804306324](https://www.heise.de/select/ix/2017/11/1509815804306324) (in German)
BxJS Weekly Episode 48 - javascript news podcast
Tags: javascript, node, podcast, news
Published: 2019-02-03 10:28:31

---
title: BxJS Weekly Episode 48 - javascript news podcast
published: true
description: Listen to the best javascript news of the week in a podcast form
tags: javascript, node, podcast, news
---

Hey dev.to community!

BxJS Weekly Episode 48 is now out! 🚀
Listen to the best javascript news of the week in a podcast form right here.
You can find all the mentioned links [here on github](https://github.com/BuildingXwithJS/bxjs-weekly/blob/master/links/19-05-Episode-48.md).


You can also watch or listen to this episode on:
- [YouTube](https://www.youtube.com/watch?v=XiFV3RidXVE)
- [Castbox](https://castbox.fm/episode/BxJS-Weekly-Ep.-48-Feb-2%2C-2019-(javascript-news-podcast)-id1378315-id126464752?country=us)
- [iTunes](https://itunes.apple.com/de/podcast/bxjs-weekly/id1441956525)

Any feedback is appreciated 😁

Additional stuff:
- [Twitch channel](https://www.twitch.tv/yamalight)
- [Discord server](https://discord.gg/hnKCXqQ)
- [BxJS Weekly github repo](https://github.com/BuildingXwithJS/bxjs-weekly)

Social media links:
- [Twitter](http://twitter.com/yamalight)
- [Medium](https://medium.com/@yamalight)
- [Github](http://github.com/yamalight)

If you enjoy my content, please consider [supporting me](https://codezen.net/support.html) 😉
Practical Tips for How to Survive and Thrive in the Chaos of Legacy Software
Tags: programming, docker, legacy, boyscoutrule
Published: 2019-02-03 10:03:36

---
title: Practical Tips for How to Survive and Thrive in the Chaos of Legacy Software
published: true
description: 
tags: programming, docker, legacy, boyscoutrule
---


Wrote this recently. What do you guys think?
https://link.medium.com/JviaWs0g0T
Here's what you can do with node.js crawler and Google Auto Email
Tags: javascript, node
Published: 2019-02-03 09:58:40

---
title: Here's what you can do with node.js crawler and Google Auto Email
published: true
description: https://medium.com/@salahudinmalik/heres-what-you-can-do-with-node-js-crawler-and-google-auto-email-4a71599257f0
tags: Javascript, Node.js 
---