teleren/devto huggingface dataset:
How to name software things, be a good programmer & work solo
Tags: todayilearned, beginners, programming
Published: 2019-10-07 11:00:12

*My TL;DR style notes from articles I read today.*

### [Effectively Naming Software Thingies](http://bit.ly/naming-things)

> *“Programs are meant to be read by humans and only incidentally for computers to execute”* 
*— Donald Knuth*

- **Write intent revealing names.** If the variable stores the last updated record, name it ‘lastUpdatedRecord’, not just ‘record’, or even ‘lastRecord’
- **Make clear distinctions.** What kind of info will ‘ProductInfo’ has that the ‘ProductData’ won’t?
- **Add context to names.** Put variable state in well-named classes. 
- **Don’t abbreviate.** Say ‘getWindow’ not ‘getWin’
- **Pick one word per abstract concept & stick with it.** Using both *fetch* and *retrieve* will cause confusion. Pick and use only one.
- **Don’t pun, don’t make your readers mentally map names to something else.**
- **Use conventions for common operations.**
- **Avoid similar sounding & easily misspelled names.**
- **Favor readability over brevity.**

*[Full post here](http://bit.ly/naming-things), 7 mins read*

----

### [What Makes a Good Programmer?](http://bit.ly/programmer-traits)

- **Problem decomposition** 
> *“…there are very few inherently hard programs. If you are looking at a piece of code and it looks very hard – if you can’t understand what this thing is supposed to be doing – that’s almost always an indication that it was poorly thought through. At that point you don’t roll up your sleeves and try to fix the code; you take a step back and think it through again. When you’ve thought it through enough, you’ll find out that it’s easy“.* 
*- Bernie Cosell*

- **Scenario analysis**: Good programmers always ask themselves - how can this break? 

- **Naming things well** 
> “There are only two hard things in Computer Science: cache invalidation and naming things.” 
*- Phil Karlton*

- **Consistency**:  Consistency across your programming practices allows you to concentrate on essential complexity & and not accidental complexity. 

- **Continuous learning** about the developments in software engineering 

*[Full post here](http://bit.ly/programmer-traits), 5 mins read*

---

### [Good Engineering Practices while Working Solo](http://bit.ly/soloengineer)

When you are working solo, you are filling multiple roles on a project. Following these practices help with a good outcome: 
- Stick to a workflow 
- Organize & share components 
- Write documentation
- Monitor 
- Observe & iterate 
- Communicate regularly with the rest of the team/client 

*[Full post here](http://bit.ly/soloengineer), 11 mins read*

----

*I share these TL;DR versions of articles on software engineering that I read every weekday through my newsletter - [in.snippets(). Sign up here](https://mailchi.mp/appsmith/insnippets?utm_source=devto&utm_medium=post08&utm_campaign=is) if you liked what you just read.*
Women In Tech Workshop challenges and how I have adapted in the last few weeks
Published: 2019-10-07 10:00:25

 "There are no secrets to success. It is the result of preparation, hard work, and learning from failure."-- Colin Powell

women In Tech Workshop Challenges, This was a workshop where we worked with different software engineers and they we experts, because they helped us in everything .like we got different skills and it was fantastic for sure.

In my opinion, I can say that it was the most helpful Because, when I started this workshop it was not easy at all. I didn't even know where I can start from, but in the first two weeks, I concert free code camp where I leant a lot .it was not easy but I tried my best and it works.

In this workshop I gained more even apart from coding ,I got some soft skills like leadership ,public speaking and others .where I knew that without those skills that help us to accomplish or perform well our career .in this time I got that in everything I need to listen attentionally so that I get well what I am going to do and how I am going to do it

I also got that, I need to be careful and always keep learning where they told us yoyo(you own your own learning ).this helped me know that I have to search and learn new things. Because I found that in IT we need to learn every day.

So, because I had many things to do and most of them were new.I worked with others where if I confused about something yet I did a research on it, I asked them a help and if they also confused, I used to contact our supervisor. this helped me to learn a lot, because it forced me to do many research as possible .and helped to gain many skills especially about javascript .as before I had no idea about this language, I only used to understand that it works but no idea about how it works .it was not easy for me but I managed to know some about it. And this is helpful because even after this workshop I will keep learning about how those things do. And I know that it will help to achieve in my future career as well.

when this workshop started, I thought that I will not do it .because I saw that it complicated and they were new things for me which will challenge me more .so by now I can say that it was good for me as well because I knew that, this my things .it challenging but they are good things for sure and it is something people enjoy if it running.
Spectacular PHP Infrastructure

Tags: php
Published: 2019-10-07 01:52:39

Amezmo makes it easy to provision, host, deploy, and scale your PHP application. Instantly bring up and down production-ready PHP environments. Connect your Github repository and watch your automatic deployments from the dashboard.

All your instances get launched into a dedicated private network. After creating your first instance, you can launch more instances into an existing network, giving you the capability of securely sharing resources across instances. Never worry if a noisy neighbor is snooping on your servers. With Amezmo, your infrastructure is always secured.

From dedicated MySQL instances, to Atomic Deployments, we have everything you need to deploy, manage, host, and scale your application.

A common pattern for Laravel applications is to have Dedicated Worker Instances. This type of instance runs Redis as a message queue, or polls MySQL for jobs. The only additional process running on a dedicated worker would be your php artisan queue command.


Start a free, no credit card required, 30 day trial at https://www.amezmo.com
Women In Tech Workshop challenges and how I have adapted in the last few weeks
Published: 2019-10-07 09:16:09

“Feeling a little uncomfortable with your skills is a sign of learning, and continuous learning is what the tech industry thrives on!”.Vanessa Hurst, Co-Founder of Girl Develop It.

During the seven weeks, I was in Andela women in Tech Workshop, I have met with different programmers with different experiences and personalities.

Before attending that workshop I was thinking that I have finished my studies and I am going to look for a job but after one week my mind has changed because I realize that I have a lot to learn.

For the first week, I was very discouraged because I saw that I am supposed to do a lot of things in a short time and most of them were new for me. I used to sleep too late to accomplish my tasks.

I took time for meditation and ask my self why am I attending this workshop?

Sarah Wood said that “Women shouldn’t be afraid to put themselves forward”.I realize that Tech Workshop is a learning system for promoting technology careers for women.

I found that in Andela use a quote "You own your own learning". This motivated me to take care of myself. When I meet with blockers, I learn that I must do whatever it takes to overcome them. During the soft skills session, I learnt that I must know how to search and focus on points. Apart from coding, I must have other additional skills like communication skills, time management and customer care.

I have improved my teamwork skills. During the workshop, collaboration was the key that helps us to collect errors by ourselves. A proper team environment allows me to brainstorm collectively, which in turn increases my success to problem solve and arrive at solutions more efficiently and effectively.I learnt that I must be confidence by believing in myself. There is a time I was supposed to work on endpoints. It was my first time heard that. I didn't know where to start and how I can start. I realize that I have potential and I can do everything if I believe in my self.

I used to work hard and to do over and over until I performed every task I had. Before I didn't know I have the ability of coding from morning until evening. I have learnt that working hard is the key to becoming successful.

During this workshop, I got the chance to meet with experts software engineers from Andela. I have learnt a lot from them and motivated me to follow my passions.

As a nutshell, Women in tech workshop offers me an opportunity to develop new professional relationships, meet new friends, gain knowledge and become more successful in my career.
Windows running on a Linux kernel?
Tags: microsoft
Published: 2019-10-07 14:47:49

---
title: Windows running on a Linux kernel?
published: true
date: 2019-10-07 09:00:00 UTC
tags: Microsoft
canonical_url: http://arturo.linar.es/en/blog/windows-running-linux-kernel
---

Windows running on a Linux kernel?adminMon, 10/07/2019 - 04:00

Body

This week Microsoft unveiled their Surface Phone, called Surface Duo. It looks great and I think it puts the company back in the innovators list.

But the fact that the Duo runs on Android is not easy to digest. Some people think that Microsoft soon will make a Windows version that runs on a Linux kernel. Although it might be nothing more than crazy theories, they make sense when Nadella says that the operative system [is not that important for Microsoft any more](https://www.wired.com/story/microsoft-surface-duo-neo-phone/):

> The operating system is no longer the most important layer for us. What is most important for us is the app model and the experience.

To add more fuel to the conspiracy theory, Intel has been working on a highly optimized Linux distro (for Intel architecture of course) called [Clear Linux](https://clearlinux.org/).

> Remember when I've said that my money is on Microsoft moving Windows to a Linux kernel? Well, Android is based on Linux so this might be testing the waters with a mobile device first. Remember, Microsoft wants unified architecture  
> 🤔  
> -- [@Barnacules](https://twitter.com/Barnacules/status/1179549169704304640?s=20)

Intel has been focusing mainly in performance, and while you still run Gnome or other Desktop Environment on it, they have stated that their priority is performance and security.

What if... they are waiting for a Windows that runs on a Linux kernel to finally integrate it in Clear Linux?

Personally, a Windows that runs on a Linux kernel doesn't make sense to me. The main reasons why these rumors started was because Microsoft started opening source code, bought GitHub and, specially, WSL. But with the last case (WSL2), which allowed a Linux kernel to run on Windows, is a Windows technology, also used in Windows Sandbox. Why would they invest in this awesome technology that runs on Windows if you're about to jump off the boat.

Another reason is that it would break backwards compatibility of many applications, something Windows has respected for many years. I know open source technologies like Wine have been making possible to run windows applications on Linux, but they are not perfect, and they certainly would have a limit. The same limit that Microsoft hit when trying to write their reversed Wine: WSL v1. Some issues like performance, networking and file system access are simply not easy to emulate.

I guess only time will say, meanwhile it is worth to keep an eye on Clear Linux and, of course, the new foldable devices that are about to hit the market 😁
What CAPTCHA do you use?
Tags: webdev, discuss
Published: 2019-10-07 08:53:41

---
title: What CAPTCHA do you use?
description: I'm tired of training Google's AI, do we have other CAPTCHA options out there?
published: true
tags:
  - webdev
  - discuss
canonical_url: https://github.com/Xowap/dev-blog/blob/master/articles/discuss/what-captcha-do-you-use.md
cover_image: https://thepracticaldev.s3.amazonaws.com/i/8ss50puzgvxb5ympmi4t.jpg
---

Anybody that has been on the web long enough knows that it is crawling with bots and nasty stuff just trying to spam you from all the possible channels. That's why CAPTCHA were invented.

It quickly became a hurdle for developers to create such elements since you constantly need to do something up to speed to beat AI. The folks at reCAPTCHA quickly understood that and provided a great CAPTCHA service.

What was pretty smart about it is that instead of generating stupid text they would use a state-of-the-art OCR to read scanned books and whenever they found something that the OCR could not read (thus that a bot could not read) then they would ask humans to read it in the form of a CAPTCHA. Genius!

Google quickly understood that this is a huge opportunity to get free labor doing all the classification and training of your AI and bought reCAPTCHA a few years later.

Now my problem is the following: I'm sick of working for Google for free and there is no way that I make my users work for Google for free.

Most of the time I avoid CAPTCHAs by having a logic that just allows for bots to register/do whatever without hurting the real users. But sometimes you can't have that.

Does anyone know any other form of Turing test that would be:

- Very quick
- Non-intrusive
- Not a SaaS

Thanks everyone for your feedbacks!
Progressive Web Apps (PWA) Explained
Tags: webdev, pwa, ios, android
Published: 2019-10-18 04:36:30

---
title: Progressive Web Apps (PWA) Explained
published: true
date: 2019-10-07 08:36:45 UTC
tags: Web Development, pwa, ios, android
cover_image: https://i0.wp.com/geekyminds.co.in/wp-content/uploads/2018/12/pwa-featured-e1546164767379.jpg
canonical_url: https://geekyminds.co.in/what-are-progressive-web-apps/
---

This article has been written for introducing absolute beginners to Progressive Web Apps. 😊

We are going to look at:
* The advent of Progressive Web Apps (PWA)
* Why they are so cool 😎
* The perks of a PWA 🍬
* How a PWA works (service worker, manifest, etc) 🏗️
* How to install a PWA on mobile and desktop 🎉
* Lots of live PWA examples! ✨


[Continue reading "Progressive Web Apps (PWA) Explained"](https://geekyminds.co.in/what-are-progressive-web-apps/)

The post [Progressive Web Apps (PWA) Explained](https://geekyminds.co.in/what-are-progressive-web-apps/) appeared first on [GeekyMinds](https://geekyminds.co.in).
NPM run scripts exit status in Docker
Tags: help
Published: 2019-10-07 08:35:21

Hello all,

I am confused to how the exit code from a process inside a container gets passed to docker.
I have a container which runs an npm run script.
The npm run script fails with exit status 1 but it seems that the exit status is not passed to the docker process itself because Bamboo flags the build task as success.

```
30-Sep-2019 15:43:53 	npm ERR! Exit status 1
30-Sep-2019 15:43:53 	npm ERR!
30-Sep-2019 15:43:53 	npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
30-Sep-2019 15:43:53 	
30-Sep-2019 15:43:53 	npm ERR! A complete log of this run can be found in:
30-Sep-2019 15:43:53 	npm ERR!     /root/.npm/_logs/2019-09-30T13_43_53_321Z-debug.log
30-Sep-2019 15:43:54 	Stopping containers 
30-Sep-2019 15:43:54 	b3efbe0710cc
30-Sep-2019 15:43:54 	Removing containers
30-Sep-2019 15:43:55 	b3efbe0710cc
30-Sep-2019 15:43:55 	Finished task 'Script' with result: Success
```

The container is started with the docker run command.

Any advice?
Thanks in advance.
Regards
Women In Tech Workshop challenges and how I have adapted in the last few weeks
Published: 2019-10-07 08:33:41

My experience for this workshop is very high because I learned a lot even if it was challenging but was interesting also. The same tools we used was familiar with me for UI.
 But where it became interesting is when I get to know the meaning of every single code I was writing. I remember when we were writing CSS I didn’t know the meaning of code I was writing like RGB what it stands for but now I know something. Also, I learned a lot when we were working on the back-end it was something new for me to use JavaScript but I was eager to learn new things I face them and now I have something I got. Other things I learned from this workshop is how to test code for giving more functionality even validating my code was a good experience I got. In this workshop, I learned a lot from start until now I am still learned as I want to pursue my career as a software developer. Also, I do believe that what I got from this workshop will be helpful and useful in my career.

Other things I learned from this workshop are to work in teams, this doesn't means to use someone's code means to seek help where you are stuck. Even because of collaboration we have it helped us to learn quickly. Even if we worked as a team I met the same challenges personal. For example, in UI I tried to build all pages required but to make all page responsive was very difficult even to know what will be good for users like font-size, and color.

When we started back-end it was something new to use javascript because I was familiar with PHP, but it was challenging and interesting. Also when we were testing out endpoints was something new, but it was important as a software developer. According to what I knew and new things I learned I believe that it's been at a good level. And I am willing to learn a lot as a future software developer. Now I can say I learnt something new and will be helpful in my future career.
Devart Greatly Enhanced its Flagman Solution —  dbForge SQL Complete 
Tags: sql, sqlserver, database, dbforge
Published: 2019-10-07 08:07:23

---
title: Devart Greatly Enhanced its Flagman Solution —  dbForge SQL Complete 
published: true
description: The most recent update of dbForge SQL Complete v.6.2 https://www.devart.com/dbforge/sql/sqlcomplete/ got significant improvements. The changes have affected code navigation, code completion, and snippets management functionality.
tags: SQL, SQL Server, database, dbForge
---
*The most recent update of dbForge SQL Complete v.6.2 got significant improvements. The changes have affected code navigation, code completion, and snippets management functionality.*

![SQL_Complete_6_2](https://blog.devart.com/wp-content/uploads/2019/10/SQL-Server-Management-Studio-v18-3-support-2.png)

Devart, a recognized vendor of professional database management software for developers and DBAs, announced the release of greatly enhanced [dbForge SQL Complete v.6.2](https://www.devart.com/dbforge/sql/sqlcomplete/). The updates in the popular add-in for SSMS and Visual Studio are aimed to facilitate database development, minimize downtime, and help avoid performance issues.

The full list of dbForge SQL Complete updates includes:

**1) Code Completion and Snippets Manager Functionality** — an even greater acceleration of the coding process by eliminating typos and logic errors with such new features:

- Support for the MIN_ACTIVE_ROWVERSION function;
- The Extend Insert Highlight Occurrences feature;
- Displaying MS_Description for the Azure objects;
- Suggesting properties for the built-in metadata functions;
- Prompting times zones in AT TIME ZONE, hints names for USE HINT option, objects in the context of DBCC SHOW_STATISTICS, and indexes in WITH clauses;
- Suggesting GENERATED ALWAYS AS ROW START options in the Completion List;
- Displaying property names for the SERVERPROPERTY functions;
- Support for the DBCC CHECKIDENT command;
- Exclusion of IDENTITYCOL, $IDENTITY when unfolding asterisk.

**2) SQL Сode Navigation functionality** - the navigation functionality of SQL Complete has also been extended to ensure the ease of navigation and productivity extension.
**3) SQL Server Management Studio v18.3 support**. 

**dbForge SQL Complete** is an advanced solution for SQL database development, management, and administration. The tool helps to write, beautify, and refactor SQL code while boosting overall productivity. To learn more about the current release, please visit — https://blog.devart.com/code-completion-and-sql-code-navigation-improved-in-sql-complete-v6-2.html.

**About Devart**

Devart is one of the leading developers of database tools and administration software, ALM solutions, data providers for various database servers, data integration and backup solutions. The company also implements Web and Mobile development projects.
For additional information about Devart, visit https://www.devart.com/.
Women In Tech Workshop challenges and how I have adapted in the last few weeks
Published: 2019-10-07 07:41:18

When I was invited to the women Tech workshop I started to think about how the journey will be, if we will be able to understand what we are learning alone but let me share how we have adapted in these last few weeks.

here are some few challenges I faced:

-The first challenge, in general, is always thinking that we have limitations that there are things that are supposed to be performed by Men

-some of us it was the first time to learn Javascript so we have to do our own research so to understand what we are doing

-understanding git workflow was one of the biggest challenges we face during the Women Tech Workshop
but even if the workshop was challenging but it was a good experience we had though, there are some quotes which help me out when i feel challenged: 

"We don't grow when things are easy, we grow when we face challenges".

"Difficult roads often lead to beautiful destinations".

When I was in this workshop there are things which helped me to adapt :

-First of all, I had to be positive every day and try to find the best in every situation I faced

-Every end of the day when I see that I learned something new even if its small it's a motivation for me it showed that I am not wasting my time

-What I liked the most in the workshop is posting every day a stand up this helped me to keep my head up to work hard.

-I can't take for granted that I met new friends who have brilliants minds, they were always a motivation to wake up every morning and come to the workshop.

We learned to be problem solvers, to do our research when we don't understand what we are doing, to work as a team, and to pay attention to details.

It was a good experience we had.
App for Doctor Appointments
Tags: doctor, app, mobile, software
Published: 2019-10-07 07:37:33

Master Software Solutions has developed the app for doctor appointments. This app is build using the latest technology and unique features. This app will help the patients to book the appointment with just one click and they can get the treatment on a video call or live chat with the help of a mobile app. Contact us now at +918437004007 and get the free demo of the app or send us an e-mail at info@mastersoftwaresolutions.com. You can also visit our website https://www.mastersoftwaresolutions.com/doctor-on-demand-app/
Adding Contributing Files
Tags: hacktoberfest
Published: 2019-10-07 06:54:39

With the growing interest from new programmers with #hacktoberfest, I decided to add a Contributing.md to my repositories.

[This](https://github.com/BoyWithSilverWings/json-formatter/blob/master/.github/CONTRIBUTING.md) is what I came up with.

{% github BoyWithSilverWings/json-formatter %} 

What do you guys think? Is there anything more you would like to see?

How can we do better to be in the shoes of a new developer trying to contribute?