teleren/devto huggingface dataset:
Top 5 Books Each Programmer Must Read During Their Entire Life. Part 2
Tags: books, webdev
Published: 2020-06-26 08:41:58

The second book in [WebSailors] (https://websailors.pro/) Top 5 is “Design Patterns” written by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides.

In the modern world of [software development](https://websailors.pro/) the standard approaches are competent approach and reuse of previously developed instruments. The basic of that approach is the object-oriented programming. There are many books about it, but this one is the most useful.

After reading “Design Patterns” you understand that there is no need in reinventing a way to solve a problem, but it is much more effective to learn about the ones that already exist and use them correctly.

Although the material is quite complex for a beginner, it allows to understand and accept the concept of object-oriented programming, learn the patterns, and obtain knowledge of what and when to use.

The book contains several paragraphs on more than 300 pages and describes both the basic theory of patterns and their practical use. The reader step-by-step learns about the purpose and structure of patterns, their peculiarities and practical implementation.

Among all the patterns described in this book, the special attention is given to creational, structural, and behavioral patterns. It can be stated that in the modern software world such patterns already became a standard “language” of the code. Such patterns as abstract factory, factory methods, and singleton are already in all the learning guides and encyclopedias.

The only thing that makes it more difficult to immediately use the obtained knowledge is that all the examples in this book are written using Smalltalk language, which is barely known nowadays. 

Thus, the reader has to convert the pattern realizations to their language. From some point of view, it is not a disadvantage, but the necessity to practice the theory and gain more thorough understanding of the material.

Next Part of this Series of Articles we at [WebSailors] (https://websailors.pro/) will tell you a bit more about the third book in our Top 5 — “Refactoring” by Martin Fowler. Stay with us!

Source - https://websailors.pro/
tkinter gui
Tags: python
Published: 2020-06-26 08:30:42

You learn the basic idea of the Python GUI programming via the tkinter module in this post. This tutorial is mainly designed to understand the simple tkinter concept that allows you to build any Python GUI.

**GUI:** GUI is a basic program that allows users to communicate with their machine through a graphical interface.

## GUI tkinter module

**tkinter** is a built-in Python framework for GUI development.

Python offers a variety of GUI choices like **tkinter**, <a href="https://pythonpyqt.com/">pyqt</a> and others.

The most popular way to create a graphical application is **tkinter**.

Apps are constructed like this:

* Import the tkinter module
* Build the window of the GUI application
* In the main window of a Interface program, add some amount of widgets 
* Start the main loop

```python
import tkinter as tk
from tkinter import *

Example = tk.Tk()

rad1=Radiobutton(Example, text='Content', value=1)
rad1.pack()
rad2=Radiobutton(Example, text='Software', value=2)
rad2.pack()
label=Button(Example,text='Welcome to Example', width=100)
label.pack()


Example.mainloop()
```

![tk example](https://dev-to-uploads.s3.amazonaws.com/i/1j9v63c91b6bobw0ach8.png)

`.mainloop()` when ready to run a program. This shows the window until it's closed.

Widgets can be placed in 3 ways:

1. **pack()**: 
the widgets put in the widget parent.

2. **grid()**: 
the grid widgets are put in the parent widget.

3. **place()**: 
positions them at different points that we control. 

Tkinter lets you place all kinds of <a href="https://pythonspot.com/tk-widgets/">widgets</a> like <a href="https://pythonbasics.org/tkinter-button/">buttons</a>, <a href="https://pythonbasics.org/tkinter-radiobutton/">radiobuttons</a>, <a href="https://pythonbasics.org/tkinter-listbox/">listbox</a> etc.

```python
# button
button_name=tkinter,Button(
       parent,  
       text='your text', 
       width='width_of_text', 
       command='function to call')

# radio button    
rad1=Radiobutton(
       parent, 
       text='your text', 
       value=numerical_value).pack()

# listbox
List=Listbox(parent)
List.insert(1, text)
List.insert(2, nexttext)

# Entry
label1=Label(parent, text='Name').grid(row=0)
label2=Label(parent, text='password').grid(row=1)
entry_in_label1 = Entry(parent)
entry_in_label2 = Entry(parent)
entry_in_label1.grid(row=0, column=1)
entry_in_label2.grid(row=1, column=1)
```

You can make a GUI for any type of code, like a <a href="https://gitpress.io/u/1282/bmi_gui">bmi calculator</a>, <a href="https://pythonspot.com/tk-message-box/">notifications</a>, <a href="https://python-commandments.org/tkinter-progressbar/">progressbar</a>, <a href="https://python-commandments.org/tkinter-canvas/">canvas</a> etc.

If you are new to tkinter, I recommend <a href="https://gumroad.com/l/ErLc">this course</a>
GitHub Codespaces - The future of coding, all without leaving GitHub
Tags: githubcodespaces, vscodeonline, githubonlineeditor
Published: 2020-06-26 08:17:01

Microsoft sponsored - GitHub today had it's annual event: GitHub satellite where they announced how they are making GitHub more accessible and secure than before. But one new announcement which took everyone by storm was the announcement of GitHub codespaces.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/shdrhadfrj5rm3104f0n.png)

As you can see clearly from the above picture, it's the same VSCode which we all use on a daily basis but instead on browser which is containerized in GitHub thus opening a completely new paradigm on how and what resources we use to code today.
Codespaces sets up a cloud-hosted, containerized, and customizable VS Code environment.
A codespace includes everything you need to develop for a specific repository, including a text editor with syntax highlighting and autocomplete, a terminal, debugging tools, and Git commands, all within GitHub. You can also install Visual Studio Code extensions in your codespace to add more functionality.
These codespaces allows you to develop in the cloud taking advantage of Microsoft's Azure cloud instead of locally. Developers can contribute from anywhere, on any machine, including tablets or Chromebooks, and there is no need to maintain local copies of intellectual property.

Your codespace will install all extensions and settings directly if you have a "dotfile" repository present in your GitHub account and will automatically detect it. Currently this container will be 2 vCPUs along with 4 GB RAM but in future this configuration will be customizable according to one's need.  

What are my views on this?

Well there are many problems we developers face in setting up a dev environment many at times ending up in setup errors which can take hours to fix. But with a containerized VS Code environment which will take dependencies right from my repository and within a minute, I am ready with a dev environment.
This way I can spend more time on actual coding rather than setting up the environment.
I believe that this will be popularly adopted by companies because it will be cheaper and faster for companies to buy VS Code containers rather than spending on expensive powerful laptops for employees. Also another advantage would be that this online version would mean my development now has no boundaries and we can code using any device that has an internet connection and a browser. 
Personally, I am pretty much excited to try this. Currently it is available in beta and you can signup from- https://github.com/features/codespaces/signup
👉Are you interested in joining the 𝐐𝐥𝐢𝐤 𝐒𝐞𝐧𝐬𝐞
Tags: qliksense, qlik, bi, bigdata
Published: 2020-06-26 08:13:58


Don't Wait, here's your chance to participate

🤩Free 𝐐𝐥𝐢𝐤 𝐒𝐞𝐧𝐬𝐞 𝐋𝐢𝐯𝐞 𝐖𝐞𝐛𝐢𝐧𝐚𝐫 by One of the 𝐈𝐧𝐝𝐮𝐬𝐭𝐫𝐲 𝐄𝐱𝐩𝐞𝐫𝐭𝐬 & contribute to the Basic & 𝐥𝐚𝐭𝐞𝐬𝐭 𝐭𝐨𝐩𝐢𝐜𝐬 on Qlik Sense.
𝐄𝐧𝐫𝐨𝐥 𝐡𝐞𝐫𝐞
👇👇👇
https://bit.ly/3d697IY

.👉𝐂𝐡𝐞𝐜𝐤 𝐨𝐮𝐭 𝐭𝐡𝐞 𝐭𝐨𝐩 𝐝𝐢𝐬𝐜𝐮𝐬𝐬𝐢𝐨𝐧𝐬 𝐈𝐧 𝐭𝐡𝐢𝐬 𝐖𝐞𝐛𝐢𝐧𝐚𝐫.
✅What is Qlik Sense?
✅How does Qlik Sense work?
✅Functionalities & Advantages of Qlik Sense
✅Overview of Qlik Sense Editions
✅Installation Guide for Qlik Sense
✅Architectural Overview of Qlik Sense
1. Data Access Layer
2. Application Layer
3. Presentation Layer
✅Describe Qlik Sense Key Concepts
✅Introduction to Qlik Sense Management Console
✅How to Compress the Data & Qlik Sense Engine
✅Explore Qlik Sense Hub & How it works?
✅Getting Started with Qlik Sense Desktop
✅Qlik Sense App Navigation
✅Career & Job rising opportunities for Qlik Sense Developer
✅Q & A Session
Sometimes JavaScript arrays  don't compare
Tags: todayilearned, javascript
Published: 2020-06-26 08:06:04

I must admit, I was expecting this to work
```javascript
const arr = [];
arr.push(true);
arr.push(true);
arr.push(true);
if (arr === [true, true, true]) { ...
```
but it doesn't, at least not in Microsoft JScript (ES3). Hmm, let's try Deno. Nope, doesn't work in Deno (V8) either.

Obviously, I missed something when learning JavaScript.

So I'm going with
```javascript
if (arr.join() === [true, true, true].join()) { ...
```
Not brilliant, but it'll do the job.
What is configuration management and why you need Ansible, Chef, Puppet and others
Tags: ansible, chef, puppet, devops
Published: 2020-06-26 07:58:37

---
title: What is configuration management and why you need Ansible, Chef, Puppet and others
published: true
description: Learning configuration management tools
tags: ansible, chef, puppet, devops
cover_image: https://assets.mkdev.me/posts/covers/000/000/012/original/mkdev_article.png
---
Why you need tools like Chef, Puppet, Ansible, SaltStack and others? Which problems do they solve and how? Why not to just use a couple of shell scripts?

In this video, Kirill Shirinkin will answer these questions and give you a rapid introduction into configuration management tools.

{% youtube XZnwIvuKgvM %}

***

*You can always hire [our mentors](https://mkdev.me/en/specializations) and learn directly from them!*
Adaptive Design Systems
Tags: javascript, css, ui, frontend
Published: 2020-06-26 07:28:29

---
title: Adaptive Design Systems
published: true
description: How to deliver a design system that changes over time, possibly white-labeled.
tags: javascript,css,ui,frontend
//cover_image: https://direct_url_to_image.jpg
---

Article published by me: https://eavichay.svbtle.com/the-adaptive-design-system

Can anyone share his own experience of white-labeling web applications?
Understanding Istio: part 12 – EnvoyFilter
Tags: kubernetes, devops, docker, beginners
Published: 2020-06-26 07:21:09

---
title: Understanding Istio: part 12 – EnvoyFilter
published: true
description: Serie of sketchnotes about Istio. Explaining in a visual way Istio principles.
tags: Kubernetes, DevOps, Docker, beginners
series: Understanding Istio in sketchnotes
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/xln3g3t6jnxynw1bv9ia.jpg
---

Understanding Cloud technologies, like Kubernetes, can be difficult or time-consuming. In order to spread knowledges about it, I started to create [sketchnotes about Kubernetes](https://dev.to/aurelievache/kubernetes-sketchnotes-pods-4ib0) and know it's time to talk about a perfect companion of Kubernetes, a service mesh, Istio.

We continue our new serie of Sketchnotes about Istio, with a sketchnote about EnvoyFilter.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/xln3g3t6jnxynw1bv9ia.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jld15nl3zua0vxodiqvg.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/wfmfa315pjuzdfkkvrfx.jpg)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/lbwxx097pma1kal8fyzi.jpg)

If you are interested, I published a book with all the sketchnotes on Istio (and new ones!): ["Understanding Istio in a visual way"](https://gumroad.com/aurelievache#vJYhM).

As usual, if you like theses sketchnotes, you can follow me, and tell me what do you think. I will publish others sketchs shortly :-).
Make Unity Editor Compile Faster
Tags: unity3d, faster, compile, time
Published: 2020-06-26 07:15:46

Hey,
If you like me and working with Unity, you know that the Editor Compile time is annoying overhead!
In this video I teach how to use Assembly Definitions in order to make the compile time faster

Enjoy :)

{% youtube QflLND7ofBo %}


> Like this post?
> Support me via [Patreon](https://www.patreon.com/eranelbaz)
> Subscribe to my [YouTube Channel](https://www.youtube.com/channel/UCVUNeBGM5wZJKcOx0QwAaTA?sub_confirmation=1)
NPM!! ERR when npm install -g expo-cli in ReactNative
Published: 2020-06-26 07:14:15

For windows make sure you uninstall the node.js that you are using to remove deprecated dependencies....then install the current node.js which is currently stable ,as of writing this article it was node v12.18.1.....then run 1.npm -g install expo-cli
2.expo init project1...choose the name you like for me it is project1.
3.npm start or expo start .....choose either to run the server


Thank you it will absolutely work bye for now.....
Ngôn Ngữ Lập Trình Arduino Là Gì? Điều Thu Hút Ở Arduino
Published: 2020-06-26 07:06:32

Bạn đã từng nghe về thuật ngữ Arduino nhưng không biết nó là gì hay nó có ý nghĩa gì? Ngôn ngữ lập trình Arduino đã phát triển như thế nào? Điều gì sẽ hấp dẫn bạn ở một Arduino?
http://laptrinhvacongnghe.com/ngon-ngu-lap-trinh-arduino-la-gi/
The CSS :not() Selector
Tags: css, webdev, 100daysofcode, beginners
Published: 2020-06-26 07:05:42

I stumbled upon this selector in CSS recently and I did a little reading on it and found its use cases very interesting so I decided to share it.

The :not() CSS selector has a wide range of use cases.

##Use Cases

The general idea behind it's use case is to prevent certain items from being selected, hence it is known as the negation pseudo-class.

![An example of a :not() Selector](https://dev-to-uploads.s3.amazonaws.com/i/5uvi4qpwdzp8mhbp898b.png)
Using this saves you time and more lines of code, as in this case you would have had to give the remaining p tags a specific class name and apply the style to that class.

##Linking :not() with other pseudo selectors
This selector can also be used together with other pseudo-class and pseudo-element selectors. For example, the following will add a box shadow and a background color to all buttons that do not contain the plump class when they are being hovered on.

![An example of a :not() Selector](https://dev-to-uploads.s3.amazonaws.com/i/hno9t6sqt63euzft7vq3.png)

##Using :not() globally
You can also use the tag :not() selector globally in the sense that you are not applying it to an element so it selects all elements in the document except the ones specified in the brackets

![An example of a :not() Selector](https://dev-to-uploads.s3.amazonaws.com/i/2680ko99hbqfwrnv2ch3.png)

The CSS style above styles the color of every element in the document except the buttons.
Another example of the :not() Selector use case is this:

##More Examples
![An example of a :not() Selector](https://dev-to-uploads.s3.amazonaws.com/i/ua9ljg07erb7s0ps2kub.png)

The above example will style all input text fields that are not disabled.
I hope you understand the basics and the general idea behind this awesome CSS Selector.

##Resources for more insights
For further insights on the :not() Selector, I would recommend you check:
https://developer.mozilla.org/en-US/docs/Web/CSS/:not
https://tympanus.net/codrops/css_reference/not/
FRONTEND LÀ GÌ? NHỮNG ĐIỀU BẠN CẦN BIẾT VỀ FRONTEND DEVELOPER
Tags: frontenddeveloper
Published: 2020-06-26 07:01:14

Bạn đã bao giờ nhìn vào một trang web và tự hỏi trang web đó được phát triển như thế nào, cách các thanh công cụ, các nút hoạt động khi bạn nhấp chuột vào chúng? Bạn đã bao giờ nghĩ một trang web bạn đang sử dụng phức tạp như thế nào? Bạn có ước mình là người sáng tạo ra nó? Tất cả cả các tính năng mà bạn có thể nhìn thấy đều được xây dựng thông qua phát triển giao diện người dùng hay còn gọi là Frontend Development và người xây dựng là một Frontend Developer. Vậy như thế nào là Frontend và Frontend Developer?
http://24htechtrend.com/index.php/frontend-developer-la-gi/
Friday Blast #87
Tags: fridayblast, links, post
Published: 2020-07-04 14:57:35

---
title: Friday Blast #87
published: true
date: 2020-06-26 07:00:00 UTC
tags: fridayblast,links,post
canonical_url: https://horia141.com/friday-blast-87.html
series: "Friday Blast"
---

[Every Jurassic Park dinosaur illustrated with modern science (2020)](https://jurassicparkterror.net/jurassic-park-dinosaurs/) - a fun and quite long article analysing what we’ve learned about dinosaurs since Jurassic Park (and what we’ve known all along, but got wrong anyway). Spoilers - velociraptors are about chicken-size.

[The end of OS X (2020)](https://stratechery.com/2020/the-end-of-os-x/?utm_source=feedly&utm_medium=webfeeds) - WWDChappend and Apple announced they’re gonna drop Intel and Mac OS 11. It’s an interesting take - Mac OS X was the Unixdesktop folks were clamoring for, and that’s why it was so common for developers to use it. But OS 11 seems more likeiOS. How will that play out?

[Tech migrations the Spotify way (2020)](https://engineering.atspotify.com/2020/06/25/tech-migrations-the-spotify-way/) - here tech migration means switching over from technology X to technology Y. At big companies even simple changes tend tobe complex affairs which drag on for several years. Spotify tackles this problem, and the “long tail” of teams whoare left to migrate by keeping a sharp focus on a few migrations at a time, and treating the problem as a “productone”, and hence assigning PMs, evangelizing the benefits of the change, etc.

[5 AWS services to avoid (2020)](https://medium.com/teamzerolabs/5-aws-services-you-should-avoid-f45111cc10cd) - AWShas an extremely large and varied service set. From personal experience not everything is as _smooth_ as themarketing material would have you believe. This article goes over 5 of them: Cogito, CloudFormation, ElastiCache, Kinesis, and Lambda.

[Moravec’s paradox](https://en.wikipedia.org/wiki/Moravec%27s_paradox) - a _paradox_ in AI. Hans Moravec observedthat the higher-level features of cognition (reasoning, planning, etc.) seem to be much easier to solve than the more basic-level features (vision, speech, audio recognition, etc.).
IOS Developer Needed in Cape Town
Tags: ios, swift
Published: 2020-06-26 06:57:43

Position outcomes
The short term outcome of the position is to get up to speed with an existing project code base,
evaluate it and take ownership of it and move forward. You will be required to take leadership
responsibility for the IOS project.

Requirements
- Minimum 4 years of development experience
- Minimum of 2 years of native development experience (iOS Swift)
- Relevant B.Sc or B.Eng university degree; Hons. or higher is preferable. Good academic
performance, exceptional in software development / programming courses
- Dependable, responsible and collaborative
- Supportive Team Player
- Fast learner
- Self driven
- Self-motivated and able to demonstrate initiative
- Excellent communication skills
- The ability to explain your approach and the process you follow
- Excitement about technology

Email your CV to ctjobs@mprtc.co.za
Question about WordPress Parent theme vs Child theme
Tags: wordpress, themes, childtheme, updates
Published: 2020-06-26 06:53:53

Hello,

A former developer I worked with on the past made customizations on child theme, but some of the code was placed on functions.php parent theme, he then placed all his code back on child theme, now a recent parent theme update destroyed all modifications from parent theme functions.php file.

he says it not possible to overwrite his customizations on child theme alone, since they are beyond styles. I read on wordpress documentation that when extensive customizations – beyond styles and a few theme files are made, it is a better option than a child theme to create a parent theme in order to avoid the kind of issues I am facing.

My question:

a. is it possible in your experience that a child theme cannot overwrite certain functionalities from parent theme and if that is the case, there is nothing to do about that ?

b.as an alternative one could write code on parent theme and risk losing it all when update comes around.

c. it´s always possible to overwrite any functionality using child theme no matter how extensive customizations are.

I would appreciate your insights,
Thank you!
Easy TypoScript Tutorial - Beginner's Guide (2020)
Published: 2020-06-26 06:51:13

Welcome TYPO3 Beginners, In this article, you will find everything on what/why/how TypoScript. My ultimate goal is to step-by-step guide you to initiate and feel confident about TYPO3 TypoScript. I’m sure you will learn the fundamentals and architecture to know the power of TypoScript.

Anyway, Take a good cup of coffee, I would like to explain TypoScript as much as possible, easy language and tutorial.

- Step-by-Step Guide to Learn TypoScript 
- What is TypoScript in TYPO3?
- TYPO3 Installation with Little Aware with Backend
- "Hello World" TYPO3 TypoScript Tutorial
- Why learn such complicated TypoScript?
- Most Common TypoScript Error
- How TypoScript Works?
- Let’s do some Magick with TypoScript
- How can you easily create a TypoScript Menu?
- Meet Fluid - A Close-Friend of TypoScript
- Different Between TypoScript Constants & Setup
- Advanced TypoScript Fundamentals
- Is any TypoScript Book Available?
- IDE TypoScript Plugins
- Which is the best documentation Learn TypoScript?

Read complete blog at - https://t3terminal.com/blog/typoscript/