teleren/devto huggingface dataset:
The Power of 'Deep work' in Remote settings.
Tags: remote
Published: 2020-08-21 05:23:47

Recent circumstances have seen the majority of companies and potential job seekers turn to remote working. Carrying your laptop in your bag and heading out to the beach with a Daiquiri in hand ready to write code and change the world, right?

WRONG!!!

Working remotely is not a hobby that you can do from simply anywhere with an internet connection and still expect quality output of work. Well, at least not for Software Developers. 

Working in a remote setting relies heavily on Asynchronous communication which is basically communication with team members via platforms such as Slack and Google Meet. For quality output to be achieved in this setting, team members have to be effective in communication so as to deliver a fully understandable message whilst saving time. 

So, What is Deep Work?

Deep work is the state of development/working that is distraction-free and enables a developer to focus only on the task at hand delivering quality output in a short time.
Whether you agree or not, you will achieve more productivity when you are in a quiet office-like environment focussing only on one task as compared to working at the beach with people playing and being noisy all over the place.

To achieve this state of deep work, I recommend you have access to a quiet, distraction-free room where you can set up your work equipment such as a table and a chair. Once the perfect working environment is established, you need to actually train your mind to achieve this state of deep work.

Keep your phone on silent mode and put it away from you. I then suggest using the [Pomodoro Technique](https://lifehacker.com/tomighty-is-a-simple-elegant-pomodoro-timer-for-boosti-5818856).
Basically, group your tasks in order of priority then take 25-45 minute sessions of purely focussing on a task until it is complete. After every session, take a 5-10 minute break, grab water or a cup of coffee then do another session of Deep Work. 

At the end of the day, I think we can all agree that 4 hours of Deep work sessions will achieve more productivity than 8 filled with distractions from team members and checking your social media feed every 10 minutes.
webroot.com/safe
Published: 2020-08-21 05:07:03

Webroot antivirus software assures the user with the best defense for their computers. It protects the device from all kinds of viruses and also builds a firewall for network security. 
<a href="https://rootsafesafe.com">webroot.com/safe</a> , 
<a href="https://rootsafesafe.com">www.webroot.com/safe</a>
Post-Graduation Turmoil
Published: 2020-08-21 04:42:46

Hey world wide web, this is my first post here, about myself and my journey to becoming a Web Developer. I recently just graduated from a University in in the beginning of August 2020.  For the past month and a half, I have been refining my skill set. I drill the basics of HTML CSS and JS. I've been learning and developing React Applications using the Context API and Hooks. Just yesterday I implemented a Particle Effect using P5.js on my Web Developer Portfolio. Needless to say I have been cramming material. All the while applying for jobs around Austin (Frontend Developer and Jr Developer Positions). To say this is an exhausting and daunting task during a World Wide Pandemic is an understatement and extremely discouraging. The amount of rejections without even an interview is very harmful to ones self esteem. Especially in such a competitive field. Luckily I never give up easy and will always do my best until I have my way. I am a man on a mission. I know this is just a crazy time and it will hopefully blow over soon. I believe this was just horridly bad timing for me to graduate. During the only pandemic in the US for the past 100 years. Pretty crazy but maybe I'll come back to this post as a Senior Developer and find this all hilarious. Anyways, tomorrow I start my Traversy Media Crash Course over Redux and state management. Logging out now. 


- Jason Saldana \m/
I just published my first Open Source library in Python and wanted to share it with you guys (video below)
Tags: python, news, showdev, data
Published: 2020-08-21 04:26:48

{% youtube 8XL7d_ehhsA%}
https://www.youtube.com/watch?v=8XL7d_ehhsA

[Databay][1] is a scheduled data transfer interface, facilitating transfer of data from A to B on a scheduled interval. If your project requires custom data transfer, it would make my day if you gave Databay a look.

You can find [Databay on GitHub][1], or its [documentation on ReadTheDocs][2].

Some of Databay’s features are:

* **Simple, decoupled interface** — Easily implement data production and consumption that fits your needs.
* **Granular control over data transfer** — Multiple ways of passing information between producers and consumers.
* **Asyncio supported** — You can produce or consume asynchronously.
* **We'll handle the rest** — scheduling, startup and shutdown, exception handling, logging.
* **Support for custom scheduling** — Use your own scheduling logic if you like.


I’m looking for someone who would like to do some code review on it (it’s relatively small), so if you’d feel like reading some code and helping out - drop me a message. Thanks!

This is the first time I’m publishing an open source library so would love to hear your feedback.

Thanks!
Voy


[1]: https://github.com/Voyz/databay
[2]: https://databay.readthedocs.io/
Remove Duplicates From Sorted Array
Tags: leetcode, csharp
Published: 2020-08-21 03:59:11

Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.

Do not allocate extra space for another array, you must do this by modifying the input array in-place with O(1) extra memory.

>Example 1:

>Given nums = [1,1,2],

>Your function should return length = 2, with the first two elements of nums being 1 and 2 respectively.

>It doesn't matter what you leave beyond the returned length.
Example 2:

>Given nums = [0,0,1,1,1,2,2,3,3,4],

>Your function should return length = 5, with the first five elements of nums being modified to 0, 1, 2, 3, and 4 respectively.

>It doesn't matter what values are set beyond the returned length.

**Clarification:**

Confused why the returned value is an integer but your answer is an array?

Note that the input array is passed in by reference, which means modification to the input array will be known to the caller as well.

>Internally you can think of this:

>// nums is passed in by reference. (i.e., without making a copy)
int len = removeDuplicates(nums);

>// any modification to nums in your function would be known by >the caller.
>// using the length returned by your function, it prints the >first len elements.
>for (int i = 0; i < len; i++) {
>    print(nums[i]);
>}


**Solution:**

The requirement here is to remove all the duplicates from the array such that each element occurs only once. 

To solve this problem, we can use two-pointer approach here.  We will have a fast pointer called 'i' and a slow pointer called 'j'. We will compare each element with the element a location 'j'. If we encounter an element which is greater than the element at 'j' then we will add that element to position 'j+1' and update 'j'.

Github Link [Link](https://gist.github.com/AbhiAgarwal192/78e9ab59d4f4bb099b6b510b2ff81bfb)

Blog Link [Link](https://chashsolution.blogspot.com/2020/08/remove-duplicates-easy.html)

**Time Complexity: O(n)**

**Space Complexity: O(1)**
First days installing Ubuntu alongside with Windows 10 on an UEFI device
Tags: windows, ubuntu, dualboot, uefi
Published: 2020-08-21 03:01:45

About me, I am an Information and Communication Technology student at University of Science and Technology of Hanoi (USTH). At the time of writing, I am 20 years old, studying last year at USTH.  

# Why do I install Ubuntu?

I just want to do it for fun. In fact, I have [WSL](https://docs.microsoft.com/en-us/windows/wsl/install-win10) installed on Windows and I use it daily. 

# How do I install Ubuntu?

Since I am not good at dual-booting, I have read this [article](https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/) on Itsfoss to know how to carry out the process

I have successfully installed [Ubuntu 20.04](https://releases.ubuntu.com/20.04/)

## What do I encounter during the installation?

After installing Ubuntu, the device should show Purple things to choose Boot Manager. In contrast, it goes right to Grub terminal

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

🤔 So I tried cmd `reboot` then I realized I just need to exit it. It goes to UEFI to choose booting sequence then back to Purple screen. 

# How do I customize Ubuntu?

## After a morning of configuring

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

Then I missed KDE so much, I switched to that. (🤣 Should have installed Kubuntu at the first place).

## After an evening of configuring

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/hriz933tafzfofumf6mk.png)
 
Introducing KDE-full on Ubuntu 20.04

## After a night of configuring

(Actually early morning, next day)

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

I f*c*ed up it. Now I had KDE and Gnome at the same time. It literally has everything. 

One of my friends suggested that I should call it "GAWDE". `GAWDE Ain't Windows Desktop Environment` or `GAWDE A Weird Desktop Environment`. I agreed with him. Now I had GAWDE.

(W in Windows stands for Weird)

## Aftermath

I managed to fix it, back to former state. And now I am using Windows to post this blog.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/koy03941sa2dt8zbxmhp.png)![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jzlgnfv2q7wans7jv6mg.png)
Software Plants
Tags: career, culture
Published: 2020-08-21 01:59:58

[kodumaro]: https://kodumaro.cacilhas.info/2020/08/software-plants.html
[pinterest]: https://br.pinterest.com/pin/613052567996605764/

From [Kodumaro][kodumaro].

It’s very common the analogy between software “factory” and the civil sector: buildings are made brick by brick, a patient and homœopathic work to build a huge and solid structure, while software are made code by code, a patient work too.

Nothing could be futher from reality.

Still inexact, but closer to the real thing, it’s the analogy with a transport vehicle (**not its factory!**)

A software is like a tractor: when the tires are bald, you change them. If the engine is broken, you fix it, otherwise you change it. When the tractor is obsolete, you change the whole thing.

So are the software.

When some parts are malfunctioning, you change them. If its core is broken, you fix it, otherwise you change it. When the software is overpast, you change the whole thing.

Mind that the **code** is to the **software** as the **tractor hardware** is to its **feature**. Change the code isn’t change the software.

More precisely, the software is a live thing, that grows, evolves, and eventually dies. It’s **information**, not a hard brick.

-----

Image credits: [pngtree @ Pinterest][pinterest]
Appflix APK
Published: 2020-08-21 01:37:13

Contains a broad catalogue of names, from classic films to the hottest premieres. Organized in classes and aesthetically really pleasurable to use. Having a favorites section to store your favorite shows and films.

Inside every name you'll discover all sort of advice, from a complete synopsisup to each preview released into the date. Additionally, other related names of interest will be displayed.

Appflix is a 100% free app to obtain information about movies and TV shows in your Android device.

Includes a wide catalogue of titles, from classic movies to the latest premieres. Organized in categories and visually very enjoyable to use. With a favorites section to save your preferred shows and movies.

Inside each title you will find all kind of information, from a full synopsis, up to every trailer released to the date. Also, other related titles of interest will be shown.

![Appflix App Screen 1](https://i2.wp.com/img.aapks.com/imgs/5/9/9/599bc41adb44fd823e171b004431e141_screen.png?h=320 "Appflix App Screen 1")![Appflix App Screen 2](https://i2.wp.com/img.aapks.com/imgs/d/6/4/d64883b6233fb0c4f8634bd2fc69fca8_screen.png?h=320 "Appflix App Screen 2")![Appflix App Screen 3](https://i2.wp.com/img.aapks.com/imgs/7/d/a/7da5319e50b2fd473b260e2ab3b76ed7_screen.png?h=320 "Appflix App Screen 3")![Appflix App Screen 4](https://i2.wp.com/img.aapks.com/imgs/3/2/4/3248b2179fd4aeb6a3574aac9e749869_screen.png?h=320 "Appflix App Screen 4")![Appflix App Screen 5](https://i2.wp.com/img.aapks.com/imgs/1/4/2/142fc37e7d862e1893c303f29dd0b2f0_screen.png?h=320 "Appflix App Screen 5")
Skilling Up
Tags: hired, skills, new
Published: 2020-08-21 01:25:18

---
title: Skilling Up
published: true
description: 
tags: ["hired", "skills", "new"]
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/dltwwli0kewnr4ej90lk.png
---

This post is less of a tutorial and more of an experience I’ve had; I’d like to say once but more times than that. I’m a fairly experienced developer but this should resonate with many developers I hope. Here’s the scenario, you get a new job offer, very exciting, and the requirements are a good overlap of your skills! There is however one thing on the list you need to catch-up on and they are aware. Every single company has a seemingly endless configuration of specific skills. Whether you haven’t used Redux recently or CSS-in-JS, tailwinds, or Serverless framework. It would be anything, maybe you’ve used the tech a bit but it’s not your everyday yet!

I’ve had a few of there where I’m upfront with my experience and where I need some time to skill up. My last post I handed in my code test and happened to use tailwind.css. It was a framework I wanted to get into, and luckily they happened to use it too! This being my first foray into it though I was a bit slow in doing it the tailwinds way. This could be any framework for a developer, it’s rare we perfectly match the exact tech stack. 

Here is where I think companies could shine. They could pair you with a resident expert of said tech and really go through a couple tickets or problems. They have already decided you are clever enough hence why you are here. Now is their time to shine in supporting the developer.

My experience has been it’s easier for a developer to just state this new person isn't getting it and they are not useful to the team. Surely this isn’t the case if they’ve tested and talked to you. It’s just the inherent laziness of developers to come to an easy solution. Laziness is generally a good quality with developers as it leads to simple solutions and automation. Perhaps in this scenario EQ or emotional quotient would prevail.

I guess my take away here would be as the hired developer over communicate, if you are feeling lost or slow let your new workplace know! Not all of them will appreciate it but a workplace that does is one to invest time in. For the workplaces, invest time in upskilling new hires, chase them after the first week or so and find out where they would like the help. There will always be something a new hire needs more confidence in.
Mid Meet Py - Ep.19 - Interview with Nina Zakharenko
Tags: python, chat, talkshow, community
Published: 2020-08-21 01:14:55

---
title: Mid Meet Py - Ep.19 - Interview with Nina Zakharenko
published: true
description: We meet in the middle of the day, in the middle of the week to chat about Python. This week we have Nina Zakharenko, PSF Director with us.
tags: python, chat, talkshow, community
---
PyChat
  [PyBay impressions](https://pybay.com/program/)
  PyCon India extended their [CfP until TODAY](https://twitter.com/pyconindia/status/1294661036138618880)!
  Nominate a PSF fellow! Deadline is [TOMORROW](https://twitter.com/ThePSF/status/1295431462334980096)!
  Django 3.1 [release notes](https://docs.djangoproject.com/en/3.1/releases/3.1/) - backwards incompatibilities 3.0 earlier.
  [Consortium for Python Data API Standards - from these peeps](https://data-apis.org/blog/announcing_the_consortium/)
  PyLadies section
    PyLadies India & WomanTechmakers hosting a [Show&Tell](https://twitter.com/PyladiesI/status/1294931267566280711) on Aug 29th!
      [Participation form](https://docs.google.com/forms/d/e/1FAIpQLScUeOe8Nr-S3nb5n5cgcBKEUO2-lWHOED8_FtjXjjw6_PW4DQ/viewform)
    PyLadies Munich hosting [Naomi Ceder](https://twitter.com/pyladiesmunich/status/1295670252416704512) on Aug 27th talking about Python Objects

Mid Meet - Hall of Fame
  Nina Zakharenko - PSF Director
  Follow Nina on [Twitter](https://twitter.com/nnja)
  Follow Nina on [Twitch](https://www.twitch.tv/nnjaio) (Python Tea)

PyPI highlights
  [AI Fairness 360 (aif360)](https://github.com/Trusted-AI/AIF360)
  [CherryPy](https://github.com/cherrypy/cherrypy)

[Listen to MidMeetPy podcast](https://anchor.fm/midmeetpy)
TypeScript 4.0 released
Tags: news, javascript, typescript
Published: 2020-08-21 01:12:17


TypeScript 4.0 comes with a variety of new features, and best of all, no major breaking changes!

{% twitter 1296487126423474178 %}

You can read more about the release over on [Microsoft's blog](https://devblogs.microsoft.com/typescript/announcing-typescript-4-0/).
APK Editor Pro
Published: 2020-08-21 01:00:47

APK Editor is a powerful tool which may edit/hack apk documents to do plenty of things for pleasure.
It helps us to do things such as chain localization, background picture replacement, design re-architecting, and even advertisement eliminating, permission eliminating, etc.. What it could do is based on how you utilize it. But to utilize it we are in need of just a tiny bit professional abilities. Do not hesitate, a few examples are provided in the help page.
Here is the master version, in comparison with free variation, here's a few differences:
Unity 2020 - pipe dream or reasoned alternative?
Tags: discuss
Published: 2020-08-21 00:48:44

What are your thoughts on [#ticket2unity](https://mobile.twitter.com/hashtag/Ticket2Unity?src=hashtag_click) and the unity 2020 idea in general? Would it have any significant impacy on things in the tech world like data privacy, net neutrality, and others?

Overall platform: https://articlesofunity.org/
Daft Punk's "Technologic" missing word (in C#)
Published: 2020-08-21 00:40:20

The french duo Daft Punk is one of my favorite bands of all time, they manage to somehow always deliver great songs one after the other. One of them is "Technologic", this tech-word-repetitive machine gun of a song stuck in my brain for a while (specially after this scary baby!) {% youtube D8K90hX4PrE %}

But, to be reaally technologic, there is a key word that is a must, and that word is "bind". 

Why? because this little yet powerful word, also known as 'flatMap', 'andThen', 'collect', 'SelectMany '(and many others) represents <b><i>something</i></b> in the world of functional programming<b>*</b>

So I decided to jump into LINQPad and write a little C# code 
to retrieve the lyrics from somewhere over the web, parse it and try to find my magic <b><i>monadic</i></b> word. With this nice library called [AngleSharp](https://anglesharp.github.io/) for the DOM parsing and after a couple LINQ queries:

```csharp
async Task Main()
{
	var url = "https://www.lyrics.com/lyric/10258969/Daft+Punk/Technologic";
	
	async Task<string> GetLyrics(string url) =>
		(await BrowsingContext.New(Configuration.Default.WithDefaultLoader()).OpenAsync(url))
					   .QuerySelectorAll("#lyric-body-text")
					   .Select(m => m.TextContent)
					   .First();

	var lyrics = await GetLyrics(url);
	
	var regex = new Regex($".*? it");

	lyrics.SplitBy(Environment.NewLine)
		  .SelectMany(l => l.SplitBy(","))
		  .Select(s => s.Trim().ToLower())
		  .Where(s => !string.IsNullOrEmpty(s) && regex.IsMatch(s))
		  .GroupBy(s => s)
		  .Select(g => g.Key)
		  .OrderBy(k => k)
		  .GroupBy(k => k[0])
		  .Dump();
}
```

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

We find out that Daft Punk did not include our reaally special word! NOOO !!

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

Was it on purpose somehow? 

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

Or did the amazing musical minds of Thomas Bangalter and Guy-Manuel de Homem-Christo missed the beat? 

Who cares! Maybe this is an oportunity to make a 'Technologic BIND remix', or something like that.

<b>*</b>You can read what Scott Wlaschin (author of the book 'F# for Fun and Profit') says about <b><i>it</i></b> in his site 
[fsharpforfunandprofit.com](https://fsharpforfunandprofit.com/series/map-and-bind-and-apply-oh-my.html)

<b>*</b>Or what Joe Albahari (creator of LINQPad, the .NET Programmer’s Playground) says about <b><i>it</i></b> in this phenomenal video
{% youtube aZCzG2I8Hds %}
Two Sum
Tags: leetcode, csharp
Published: 2020-08-21 00:34:51

Given an array of integers, return indices of the two numbers such that they add up to a specific target.

You may assume that each input would have exactly one solution, and you may not use the same element twice.

>Example:

>Given nums = [2, 7, 11, 15], target = 9,

>Because nums[0] + nums[1] = 2 + 7 = 9,
>return [0, 1].


**Solution:**

Since for each element 'x' present in the array, we will have to check whether a number 'y' exists in the array such that sum of two numbers is target and return indices of the number. 

We can also say that, for any element 'x' present in the array , find a number 'target-x' which is also present in the array.

One approach to the problem is to scan the complete array for finding number 'target-x' for each element 'x'. 

Another approach is to use dictionaries. For each element 'x' in the array, check whether the dictionary contains element 'target-x'.

So here, first we will scan the complete array to store the elements of the array in the dictionary with element as the key and index of the element as the value.

Here is the link to my github repo that contains the solution [Link] (https://gist.github.com/AbhiAgarwal192/cff07d1e941b014ffd38f8717d4c4f87.js)


**Time Complexity: O(n)**

We are checking for map[nums[i]]>=2 to avoid fetching the same element twice.

>For Example: 

>Given nums = [2, 7, 11, 15], target = 4,

>If we are trying to find complement of 2 which is 2 for target 4 >then dictionary will still return true since the element is >present but it's not an actual solution to the problem.

Link to my blog: [Link](https://chashsolution.blogspot.com/2020/08/two-sum.html)
Where you can share your Journey.
Tags: webdev, startup, news
Published: 2020-08-21 00:12:54

A couple months ago, I was accepted into a Software Development Bachelors Degree program. I had spent a lot of time learning web development, and I wanted to get a more formal training in Software dev.

Because of the twists and turns in my journey to get to study Software/ build products, I thought it would be cool to share my story on a timeline of steps that I took to get me to where I am today.

At just past midnight a few weeks ago, I thought I would not only build [a website](https://myjourney.page/) where I shared [my own journey](https://myjourney.page/journeys/my-journey-into-software-development), but where anyone who wants can share their journey towards whatever in their life can as well.

I would love it if you go [check out our new website](https://myjourney.page/), and let me know what you think! It would be even more cool if you would [write a journey of your own](https://myjourney.page/journeys/create), and share it with your friends.