teleren/devto huggingface dataset:
Post Makers - Week 17
Tags: techtest, interview, jobhunt, quarantine
Published: 2020-07-15 11:20:38

Week 17, the weather is great, the country is slowly returning from hibernation, and tech tests are in full effect.

The first one I had was from a fintech company, and involved 4 hackerrank questions. It started with the classic 'Fizzbuzz' question....this almost made me have a panic attack i was so thrilled!

The second jumped straight into  a question about removing duplicates, and then modifying the existing elements left in the array. The third was a question involving hash tables and the fourth was a question i'm still not sure what it is asking, let alone the answer!

Overall it was not as scary as i first thought, the practise i was doing beforehand really helped. I noticed that the more complex problems often involved using multiple easier questions logic, breaking it down into smaller problems definitely helped. 

I also noticed that from the start of the week to now, I have become noticeably better at solving these problems. Both in time, success and the time it too to notice the pattern/solution type. This is something I will definitely carry on with daily. Even completing one or two a day will help keep this mindset fresh. 

The other tech test involved using a company software, and building an application based on a 'customers' requirements. This overall went well, I explained my process well, spoke through my logic, and am had a great fluid conversation with the engineering manager and my hope-to-be future colleagues. 

Fingers and toes crossed that they go well and i can progress though to the further rounds. Not only is this industry new to me, but the interview process is also something that took time to adjust to. Gone are the days of an interview, a handskae and an offer. The 4-5 rounds are draining, terrifying, stressful, but totally necessary. I have learnt to actually appreciate the screening process more - each step I meet more people, learn more about the company, and make up my mind more. Not only is it the company assessing me, it gives me a great POV to see how they operate, see if my goals are aligned with theirs, and see if my ambitions can be realised at their company.

Every day is indeed a schoolday.

As always stay safe, and please wish me luck!

David
How to easily read all data from a ReadableStream?
Tags: javascript, node
Published: 2020-07-15 11:12:29

```js
const chunks = [];
for await (let chunk of readable) {
  chunks.push(chunk);
}
console.log(Buffer.concat(chunks));
```

Async iterator requires Node.js >=10.0. 

So, for example, reading a file would be as easy as:

```js
const fs = require("fs");

async function readFile(filename) {
  const readable = fs.createReadStream(filename);
  const chunks = [];
  for await (let chunk of readable) {
    chunks.push(chunk);
  }
  console.log(Buffer.concat(chunks).toString());
}

readFile("./tsconfig.json");
```
D3js Treemap Diagram
Tags: codepen, datascience, d3js, javascript
Published: 2020-07-15 11:03:57

{% codepen https://codepen.io/thetradecoder/pen/oNbPMdZ %}

Data presentation with D3js and Reactjs. Best selling movies, A #freeCodeCamp data-visualization project. 

Need your valuable feedback on the project for any development. 

Thank you.
JIRA Online Training
Published: 2020-07-15 11:02:11

JIRA is the software development management tool developed by Atlassian, It provides many features like bug tracking, issue tracking, and project management functions. JIRA tools are required if you want to plan, manage and track your work while working on a project. It lets you do various various tasks such as assign, prioritise, review etc. Jira Online Training offers a blend of conceptual understanding and practical training.Learn how to use JIRA, from beginner to advanced level techniques, with the support of Jira Online Course at SkillsIon.
Web - https://skillsion.com/jira-training
Case-insensitive string comparison in Python using casefold, not lower
Tags: python
Published: 2020-07-15 11:00:44

Here is a discipline I am trying to adopt in my Python programs: use `"My string".casefold()` instead of `"My string".lower()` when comparing strings irrespective of case.

When checking for string equality, in which I don't care about uppercase vs. lowercase, it is tempting to do something like this:

```python
if "StrinG".lower() == "string".lower():
    print("Case-insensitive equality!")
```

Of course, it works.

But some human languages have case rules that function with a bit more nuance. Let's say we have three strings with slightly different ways of writing Kubernetes (writing Kubernetes in Greek makes you sound doubly smart).

```python
k8s = "ΚυβερνΉτης"
k8S = "ΚυβερνΉτηΣ"
k8s_odd = "ΚυβερνΉτησ"  # Apologies to the scribes of Athens
```

These three are all mixed-case strings. The first one correctly ends with a final lowercase sigma, the second one has a capital sigma, and that last one, oddly, has a non-final sigma.

Let's imagine we have a use case in which we want to consider all of these as equal. Would `str.lower()` work?

```python
>>> k8s.lower()
'κυβερνήτης'
>>> k8S.lower()
'κυβερνήτης'
>>> k8s_odd.lower()
'κυβερνήτησ'
```

Apparently not.

Using `str.casefold()` instead:

```python
>>> k8s.casefold()
'κυβερνήτησ'
>>> k8S.casefold()
'κυβερνήτησ'
>>> k8s_odd.casefold()
'κυβερνήτησ'
```

All are equal! Exactly what we want for case-insensitive string comparison.

One should not use `str.casefold()` if you are aiming for clean spellings. `str.upper().lower()` might yield a more printable result:

```python
>>> k8s_odd.upper().lower()
'κυβερνήτης'
```

But for case-insensitive comparison that respects a wide range of human languages, `str.casefold()` is our friend.

## References

- [Python docs on `str.casefold`](https://docs.python.org/3/library/stdtypes.html#str.casefold)
- The Unicode Standard, Section "3.13 Default Case Algorithms" on page 150 of [chapter 3](https://www.unicode.org/versions/Unicode13.0.0/ch03.pdf)
awesome github profile
Tags: github, profile, awesome, watermark
Published: 2020-07-15 10:56:04

---
title: awesome github profile
published: true
description: 
tags: #github, #profile, #awesome, #watermark
//cover_image: https://direct_url_to_image.jpg
---
Github recently relased profile features and it is look awesome. We have collected the all awesome profile templates and listed out in this repo https://github.com/elangosundar/awesome-README-templates.

This repo aims to collect the all awesome beautiful READMEs profile and discover / inspired to other developers.

We have created a multiple category for README's template. If you would like add a new `template category` or add more `readme profile` under the category.

We have created the categories are mentioned below

- art
- code-styled
- creativity 
- default 
- dynamic-realtime 
- elaborate 
- multimedia
- short-and-sweet 
- tabular


*Repo Name:* https://github.com/elangosundar/awesome-README-templates
YouTube Video | HTML Crash Course - 1
Tags: html, beginners, webdev, youtube
Published: 2020-07-15 10:55:43

I had decided to create a HTML tutorial for absolute beginners. This video is for those who are just starting in Web-development. After this video, you can take the code in this tutorial and treat as as your little cheatsheet for HTML.

If you are interested in learning HTML but know nothing, then you are in the right place. We will be creating a cheat sheet with all of the common HTML5 tags, attributes etc. We will not be focusing on CSS in this video. The CSS crash course will be released shortly after this.

Here is the first part of the series.

{% youtube sTqOglBaBhM %}

Please do like it and [Subscribe](https://www.youtube.com/channel/UCRf7mazcufqZxd2pR3oQJuQ?sub_confirmation=1) to my channel for more videos.
What is the cost of migration to SharePoint 2016?

Tags: sharepoint
Published: 2020-07-15 10:49:12

One of the most important aspects is that the cost of migration to SharePoint 2016 needs to be weighed against the value that this platform can offer to determine its actual worth. Read more for more information at http://support.miritech.com/blog/what-is-the-cost-of-migration-to-sharepoint-2016/
My crazy launch. 33.000 visitors💥, No.1 on several platforms.
Tags: webdev, programming, showdev, opensource
Published: 2020-07-15 10:23:46

---
title: My crazy launch. 33.000 visitors💥, No.1 on several platforms.
published: true
description: 
tags: #webdev,#programming,#showdev,#opensource
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/k70hwsgd4ehtmt0qazm8.png
---

I've created the [Tabler Icons](https://tablericons.com) site for my own needs. The Tabler Icons SVG set is full of (550+) high-quality icons I use on a daily basis for my own projects. 

So I've decided to make a small side project that allows me to customize the size, stroke, and color of the icons and copy them directly to the clipboard instead of downloading them.

The Project was featured on ProductHunt on July 10 (Friday). What happened then is magic. 

**Here are the results:**

✅ No.1 on ProductHunt - 714 upvotes 🙌
✅ No.1 on Reddit (webdev)- 5.500+ upvotes, almost 300 comments, 7 rewards including 2 x Gold. 🚀🚀
✅ 5.800+ likes and 1.500+ retweets 💥💥
✅ 500 new followers on Twitter 🤝
✅ Featured on Muzli home page 🎉
✅ No.1 on DesignerNews 🥳
✅ Featured in Sidebario newsletter 🍾
✅ No.2 on WebdesignerNews 🎉
✅ Featured in several newsletters related to web dev and web design 
✅ 2.500 visitors from Facebook 🔥
✅ 33.000 visitors visited the site.
🔴 No success at all on Hacker news 🤷‍♂️

**Few more positive insights:**

The number of repeating visits is increasing every day.  That's great and indicates users like the site and will use it. 

I've also noticed that the site was immediately recognized by Google and organic traffic is like 200 users/day (may decline probably in upcoming days). 

The number of organic backlinks is increasing also.

**Summary:**

My best launch ever. You need luck. I don't think this can happen again and again and you can replicate it. I've launched more than 20 projects so far but no one was close to this when it comes to launching success.

Waiting for your opinion about [Tabler Icons](https://tablericons.com)
The best way to deploy A Lavarel App
Tags: laravel, aws
Published: 2020-07-15 10:22:04

Laravel Vapor -> the best but most expensive way.

Laravel Forge

Beanstalk - similar to Heroku - it build is based on the zip file you upload.
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/php-laravel-tutorial.html - automatically scales the application - basically perfect for small businesses. Warns you when the load is too high. But you just pay for the EC2 instance so it is slightly cheaper than Heroku - you also receive cloud alerts and warnings. With a bit of configuration you can also link it with github.

Heroku approach - £7-50 a month - more expensive but you can link it to your git commit. Heroku has free PostGres support but you will have to pay $10 a month extra to gain an add-on so that you can use mysql
https://devcenter.heroku.com/articles/getting-started-with-laravel
https://mattstauffer.com/blog/installing-a-laravel-app-on-heroku/
https://mattstauffer.com/blog/laravel-on-heroku-using-a-mysql-database/

Create your own EC2 instance:
https://dzone.com/articles/how-to-deploy-laravel-application-on-aws-ec2-the-r
You can then add other stuff later like monitoring.
Other links:
Medium article - https://link.medium.com/0plPDTB7Lbb
I think this is the best choice but it requires more configuration. To allow for easy deployment https://www.deployhq.com/guides/amazon-ec2
Ensure that you use a ubuntu instance rather than an AMI
Seo expert Mohali | Leading SEO Services Company Mohali

Tags: bestseocompanymohali, seoexpertinmohali, seospecialistmohali, seoservicesmohali
Published: 2020-07-15 10:20:39

 Digital media soft are one of the cheapest and quality effective company in Mohali. There are numerous companies are working as SEO  and web development service provider. Our company is also one of them. We provide all types of digital marketing, SEO, SMO and web development services at a very appropriate cost.
What next???
Published: 2020-07-15 10:08:28

Hello I'm a newbie to node,and its recent that I found that I could do something with a combination of Node,express and ejs.
I have so far developed 2 apps using the same stack,where users can make accounts ,post and comment with authorisation working perfectly.
I would like some one to tell me why people consider react over ejs and brief me on what to do next.
Day 0 of Development
Tags: beginners, codenewbie, opensource, github
Published: 2020-07-15 09:58:50

# Hello Dev community
Instead of jumping straight away to my introduction, I would, first of all, tell the reason why am I writing this post. It is so that I have been doing too much of development since the **pandemic began** though we cannot do anything about it other than doing nothing. So, being home I utilized my ample amount of time in development-related stuff for the betterment of open-source or maybe for my own and *on my own*.

## Hello,
This is Abhinav, I develop mostly web apps and mobile applications on a small scale as of now but will definitely scale out my potential to create something more attractive and elegant. I am a learned MERN stack developer and Flutter enthusiast so far. That's all from my technical side.

The very big reason why I am posting my introduction is as the title suggests day0 of development. It's been long since that day I have learned in an enormous amount and would like to share my knowledge gained one by one to this community as and when required.

I would like to thank the Dev community for providing a platform to share my knowledge.

Last but not the least do get connected to me on Dev and Github link to my profiles are mentioned below. Please do take a moment to appreciate this post and get connected to me such that the knowledge I share can be distributed and be available for any newbie, professional, or anyone from the development community. _Kudos to open-source_.

GitHub: [abhinavsri360](https://github.com/abhinavsri360)
Dev: [abhinavsri360](https://dev.to/abhinavsri360)

{Spoiler alert}
> Thank you so much for reading this, I'll begin some code talks soon.
Service design on the Clearleft podcast
Tags: clearleft, podcast, audio, service
Published: 2020-07-22 17:52:02

---
title: Service design on the Clearleft podcast
published: true
date: 2020-07-15 09:57:14 UTC
tags: clearleft,podcast,audio,service
canonical_url: https://adactio.com/journal/17135
---

If you’re subscribed to [the Clearleft podcast](https://podcast.clearleft.com) there’s a new episode winging its way across the airwaves to alight in your podcast software of choice.

This episode is all about [service design](https://podcast.clearleft.com/season01/episode02/). More precisely, it’s about me trying to understand what service design is. I don’t think I’m alone in being unsure of its meaning.

So in some ways, this is similar to [the first episode](https://podcast.clearleft.com/season01/episode01/), which involved a lot me asking “What exactly _is_ a design system anyway?” But for the service design episode, rather than using interviews as my source material, I’ve dug into the archives of UX London. There are past talks on [Clearleft’s Vimeo channel](https://vimeo.com/clearleft). I made plenty of use of presentations by [Kerry Bodine](https://kerrybodine.com), [Jamin Hegeman](http://jamin.org/), and [Lou Downe](https://blog.louisedowne.com/).

That worked out well, but I felt there was still something missing from the episode. It needed a good story to wrap things up. So I cornered [Rich](https://clagnut.com/) for a chat about [a project Clearleft worked on for Brighton council](https://clearleft.com/casestudies/brighton-hove-city-council-cityclean). That did the trick!

Again, there’s not much of me in this one. I’m there to thread the narrative together but my voice is not the one doing the explaining or the story-telling.

The episode ended up being almost half an hour long. Like [I said before](https://adactio.com/journal/17109), rather than trying to squeeze each episode into a predefined timeslot, each episode will be as long as needs to be. And this one needed the time for Rich to tell his story.

Ooh, and I even tried adding in some sound effects during that part! It probably just sounds cheesy, but I’m still trying to figure out what works and what doesn’t.

Anyway, [have a listen to this episode](https://podcast.clearleft.com/season01/episode02/) and see what you think. It’s got dead badgers, Downton Abbey, icebergs, and airplanes. Service design really does encompass a lot!

<audio controls preload="none" src="https://clearleft-audio.s3.amazonaws.com/podcast/season01episode02.mp3"></audio>
encodeURIComponent is both not safe enough, and overdone
Tags: webdev, javascript, security
Published: 2020-07-15 09:40:39

I have [tested](https://github.com/patarapolw/encodeuri-plus/blob/master/tests/url-constructor.ts) with `encodeURIComponent`, `decodeURIComponent` and `URL` constructor, and the results are

```js
{
  "pathname": {
    "destroyed": " #.?",
    "encoded": "\"<>`{}",
    "error": {
      "Invalid URL: //": "/",
      "Invalid URL: /\\": "\\"
    }
  },
  "key": {
    "destroyed": "#&+="
  },
  "value": {
    "destroyed": " #&+"
  },
  "hash": {
    "destroyed": " ",
    "encoded": "\"<>`"
  },
  // /[A-Za-z0-9]/ are excluded.
  "notEncoded": {
    "encodeURI": "!#$&'()*+,-./:;=?@_~",
    "encodeURIComponent": "!'()*-._~",
    "escape": "*+-./@_"
  }
  // encoded with `%${x.charCodeAt(0).toString(16).toUpperCase()}`
  "notDecoded": {
    "decodeURI": "#$&+,/:;=?@"
  }
}
```

[The test](https://github.com/patarapolw/encodeuri-plus/blob/master/tests/url-constructor.ts) is here.

So,

- Reserved characters `;,/?:@&=+$` are not equal. Some are allowed in some scenarios, some are not. And it seems that `encodeURI` is never safe to encode a URI segment.
- Path params, e.g. `/:segment/*` on the server
  - `.`, `..` always [have wrong meanings](https://stackoverflow.com/questions/3856693/a-url-resource-that-is-a-dot-2e), **whether percent-encoded or not**. And `encodeURIComponent('.')` is indeed `.`. `/^\.{3,}$/` are ok, though.
      - It seems that escaping by prefixing with `~` is enough.
  - `/`, even when encoded, [may throw error on some server](https://stackoverflow.com/questions/3235219/urlencoded-forward-slash-is-breaking-url). Not sure about `\`, but it seems to throw error in my test.
- Luckily, these are always encoded. I have seen a recent post about the errors.

```txt
"<>`{}
```

{% post https://dev.to/antho1404/encoding-mess-with-javascript-oan %}

- Not sure if non-ASCII (`/[^\x00-\x7F]/`) needs to be encoded. You can try it in my demo, and see if it breaks.

https://encodeuri-plus.netlify.app/

So, I created a library for this,

{% github patarapolw/encodeuri-plus no-readme %}

_Republished in [my blog](https://www.polv.cc/post/2020/07/encodeuricomponent-not-safe)_
Master Java: Basics. 🚀
Tags: java, beginners, tutorial, codenewbie
Published: 2020-07-15 09:29:41

This is going to be the first article of the Master Java series. 🎉

# 🔰 History of Java:
Java was created in *1995* by *James Gosling*(who is also called as the father of Java). James and team (who were working for Sun Microsystems owned by Oracle) started with a project to create a language for television technology but apparently, at that time Java was too advance for television and it turned out to be more useful for programming.

Naming this language also has an interesting back story. First, they named it *Green talk* (which had a file extension .gt). Then they changed it to *Oak* (Interestingly, Oak is the national tree of USA) then they finally changed it to **Java** (since the name Oak was already trademarked by Oak technologies).

*Fun fact* - Java is an island in Indonesia where the first coffee was made called Java coffee and apparently James made this decision of naming it Java while having coffee in his office.

# 🔰 Why Java over other languages?
Java has amazing advantages compared to other languages and that is the reason it has gotten so much name in the software industry for the past two decades. Some of the advantages of Java are as follows:

🎯 Object-oriented language - you can create programs in modules, which means you can reuse these programs.
🎯 Platform Independence - Create your program in one type of machine and run it on any other machine using the help of JVM(Java Virtual Machine).
🎯 Secure - Java has a security manager that defines the access of classes.
🎯 Multithreading - can perform multiple tasks at the same time.
🎯 Memory - Java uses heap and stack for memory allocation, which helps us to store and retrieve data easily.

# 🔰 Writing your first java program:

Let us write a simple java program.

```java
class first{
    public static void main(String args[]){
    System.out.print("Hello world");
    }
}
```
save these lines of code in a file called first.java (name should match with our class) and run the following commands in the command line.

```
javac first.java
java first
```

We should get the output as Hello World! Let us understand the parameters that we used.

⏩ **class** keyword is used to declare a class in java.
⏩ **public** keyword is an access modifier that represents visibility. It means it is visible to all.
⏩ **static** is a keyword. If we declare any method as static, it is known as the static method. The core advantage of the static method is that there is no need to create an object to invoke the static method. The main method is executed by the JVM, so it doesn't require to create an object to invoke the main method. So it saves memory.
⏩ **void** is the return type of the method. It means it doesn't return any value.
main represents the starting point of the program.
String[] args is used for the command-line argument. We will learn it later.
⏩ **System.out.println()** is used to print statement. Here, System is a class, out is the object of PrintStream class, println() is the method of PrintStream class.

... To be continued! 🎉

Keep learning! keep coding! 💖
KwickBox - The Digital CV Revolution
Tags: career, webdev, showdev
Published: 2020-07-15 09:24:05

KwickBox is the first simple intuitive platform where you can easily create and control access to your online CV website. 

Say goodbye to sending your CV's in PDF formats via email and applying for jobs without knowing whether or not your C.V has been opened and welcome to the Digital CV Revolution.

KwickBox provides a digital solution where you can easily create your online CV website and control access to it by generating custom access tokens which can be used by prospective employers, third party people, etc to access your online CV. 

With this you are guaranteed to know when your CV has been initially opened, who opened it, how long they spent viewing your CV, how many times it has been viewed, location details and also get feedback should said individual have questions.

The short-comings with LinkedIn is that It is a business social network platform which was never built for job applications. 

Anyone can access your profile for a different number of reasons. KwickBox has been developed specifically to fix this gap. Now you'll have access to a dashboard to track where your CV has been accessed, have all your information on one platform, a fancy online CV website to brag about and more.

My platform is currently in the beta phase of development. Currently it is been used by +100 users daily, mostly in South Africa to track CV access

Get started with KwickBox at https://kwickbox.intuitive-web.co.za/