teleren/devto huggingface dataset:
Creating Anki flashcards on iOS
Tags: sirishortcuts, ios, anki
Published: 2020-03-17 01:42:37

Creating Anki flashcards can be a clunky process on the desktop, more so on iOS. I have created a Siri Shortcut that grabs a list of questions, asks the user to answer each question and adds both the question and answer to Anki. I modified the shortcut so that I can also have the question and answer added automatically into Anki.

The former is useful for reinforcing concepts before they are added into Anki. I've found that flashcards are more useful if I've already tried to learn the content first, rather than learning it after I've added it to Anki. However, there are times when I'm reading a textbook and creating flashcards at the same time. As a result, I prefer to have the answer saved so that I don't have to go back in the textbook to find the answer. 

The callback url (forgive me, I still don't know what the correct 'terminology' is for url schemes) for Anki is `anki://x-callback-url/addnote?profile=<USER>&type=Basic&deck=<DECK NAME>&fldFront=<CONTENT>&fldBack=<CONTENT>&tags=<TAGS>`

`<DECK NAME>` and `<USER>` can be hardcoded into the URL because they don't change much. However, I decided to use Magic Variables instead of hardcoding them in case I want to switch decks in the future.
GitHub acquired npm
Tags: discuss, showdev, programming, javascript
Published: 2020-03-17 15:39:46

---
title: GitHub acquired npm 
published: true
description: GitHub announced that they have signed an agreement to acquire npm. Is it a good or bad thing for the dev community?
tags: discuss,showdev,programming,javascript
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/anjiy9e5u7c6elnyhe6e.png
---

Yesterday **Nat Friedman the CEO of GitHub** announced that they have signed an agreement to acquire npm.

[npm](https://www.npmjs.com/) is the world’s biggest software registry. The npm team maintains many software development tools and is a critical part of the [JavaScript](https://developer.mozilla.org/en-US/docs/Web/JavaScript) ecosystem. Thanks to the contributions of the open-source fans from the whole world npm stats look impressive, with: 

- over **1.3 million packages** hosted
- more than **75 billion downloads a month**

npm is definitely an interesting acquisition target for a tech giant like Microsoft, who has recently acquired the GitHub Inc. GitHub declared that their goal is to help npm continue to expand to meet the growing needs of the JavaScript community. 

![GitHub acquired npm ](https://dev-to-uploads.s3.amazonaws.com/i/nywfqmaqf3ihcqr5a6bk.png)

## Is it a good or bad thing?

It's really difficult to assess. The web communities are full of mixed opinions. Some of the users are feeling enthusiastic about the acquisition, showing as an example that GitHub is doing really great since being acquired by Microsoft or that the npm company is in a mess and this acquisition could possibly put the back on the right track by having such organization as GitHub as a partner. 

On the other hand, are people that think that this could be harmful to the software ecosystem as the acquisition means that some of the core elements of the NODE ecosystem being own by such giants as Microsoft could be a threat.

Is it a good or bad thing? Should we be worried or excited? What are your thoughts?

---

## Considering migrating your API to GraphQL?

[**GraphQL Editor**](https://graphqleditor.com/) is a tool that would help you on many levels of the transition. It will help you build, manage & deploy your **GraphQL API** much faster thanks to dozens of built-in micro features.


[![GraphQL Editor](https://dev-to-uploads.s3.amazonaws.com/i/eii1x6bm32a2vzfo5px0.gif)](https://graphqleditor.com)
VS Code February 2020 Release Highlights Video
Tags: discuss, vscode, javascript, webdev
Published: 2020-03-17 15:27:10

---
title: VS Code February 2020 Release Highlights Video
published: true
description: Highlights of some of the latest features found in the February 2020 release of Visual Studio Code.
tags: discuss,vscode,javascript,webdev
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/jgmrrup26db1oz4sg0r5.png
series: vscode-release-2020
---

## February 2020 VS Code Release
You can read through the [release notes](https://code.visualstudio.com/updates/v1_43?WT.mc_id=devto-blog-brcl) to find out more about them or watch this video to see some of the highlights from it.

{% youtube 9-drheWmDVQ %}

### Features Highlighted

- [Search Editors](https://code.visualstudio.com/updates/v1_43?WT.mc_id=devto-blog-brcl#_search-editors)
- [Draggable Sash Corners](https://code.visualstudio.com/updates/v1_43?WT.mc_id=devto-blog-brcl#_draggable-sash-corners)
- [Column Selection Mode](https://code.visualstudio.com/updates/v1_43?WT.mc_id=devto-blog-brcl#_column-selection-mode)
- [Undo Textual Edits Across Multiple Files](https://code.visualstudio.com/updates/v1_43?WT.mc_id=devto-blog-brcl#_undo-textual-edits-across-multiple-files)
- [Convert to Template String](https://code.visualstudio.com/updates/v1_43?WT.mc_id=devto-blog-brcl#_convert-to-template-string-refactoring)


What's your favorite feature or improvement in this month's release? Share it below 👇
100daysofcode Flutter
Published: 2020-03-17 15:20:20

day 8/100 

finishing Belajar tentang adaptive dan responsive layout basic,
tambahan membuat custom widget, atau memecah app menjadi bagian kecil2 sehingga mudah dalam maintenance and scallable

https://github.com/triyono777/100-days-of-code/blob/master/log.md
Need help on implementing client-server communication in Python
Tags: python, clientserver
Published: 2020-03-17 15:17:42

I'm trying to create a client-server model using Python where the client sends a request. The server receives it and spawn a process/thread to handle the request and when it's done sends the result back to the client. The server should be able to handle multiple clients and hence multiple requests without any issues. The server must have some kind of session management maintaining client & request details. How should I implement this. Can someone help me?

This is my first big task at work & I'm excited.
Firefox Add-Ons - Block Youtube Recommendations
Tags: javascript, firefox
Published: 2020-03-17 15:17:06

Hi,
I've developed a plugin that prevents the recommendations at the end of the youtube video.

<b>Firefox Add-Ons Link:</b> https://addons.mozilla.org/tr/firefox/addon/block-youtube-recommendations/

<b>GitHub Link :</b> https://github.com/semihcelikol/blockYoutubeRecommendations

<img src="http://semihcelikol.com/wp-content/uploads/2020/03/ss1.png">
<img src="http://semihcelikol.com/wp-content/uploads/2020/03/ss2.png">
LIVE // Some MORE Recent App Improvements
Tags: saas, productivity
Published: 2020-03-17 14:47:03

Despite the global Coronavirus outbreak and stock market crash, the AirSend dev team has been working hard recently and made some great improvements to AirSend (https://www.airsend.io/)

*Ability to Export Channels*

Whether you work in an industry that requires records of transactions to be kept for a certain amount of time, or you just like having multiple copies of your data, you can now easily export any channel in AirSend as a compacted file.

*Ability to Copy Channels*

Do your client transactions require a standard set of paperwork? If you’re tired of emailing the same documents to each new client, just create an AirSend channel with the necessary documents and duplicate that channel for each transaction.

*Ability to Email Messages and Files to Channels*

Last but not least, you can now send messages and files to a channel through email by emailing the unique channel email address found in channel settings.

If you're interested, you can sign up for a free account here: https://live.airsend.io/login
Awesome Remote Work
Tags: remote, culture, dev, streaming
Published: 2020-03-17 14:45:07

I discovered the book ["Remote"](https://basecamp.com/books/remote) written by [David Heinemeier Hansson](https://twitter.com/dhh) and [Jason Fried](https://twitter.com/jasonfried) in 2014 when I joined [Zenika](https://oss.zenika.com/). 

Since then, I love to read books on the basecamp culture like ["Rework"](https://basecamp.com/books/rework) or ["It Doesn't Have to Be Crazy at Work"](https://basecamp.com/books/calm).

With the arrival of [COVID-19](https://en.wikipedia.org/wiki/Coronavirus_disease_2019), I decided to create a [list of relevant links](https://github.com/zenika-open-source/awesome-remote-work) to share the culture from "remote" companies to everyone.

## ☁️ Company Culture

Since the beginning of [Zenika](http://zenika.com/), there is a "Cloud-first" culture:
- Gsuite for collaboration
- GitHub for code
- Slack for 1-to-1 communication
- Workplace for streamline communication
- SaaS tools for HR, for Sales

All of these tools seem to be "normal" to be used inside our company and every employee has the right to be in remote when they wish _(and notify your manager)_.

## 🏠 The path to become a remote company

We are an IT Services company so we share our people skills to our customers to build and deliver software.
To keep our own culture safe, [my manager](https://twitter.com/CallMeGoodWater) has found a cool way to make people work all together: everyone on Friday will not stay in the customer office. He encourages employees to stay remote (from our own office or from their home). 

First reaction from our customers: they were not able to work remotely. So we helped some of them to adopt a remote culture with the associated tools.

## ⏰ The "COVID-19" effect

With the arrival of the Coronavirus disease, some of them didn't take the right patterns and even worse, a few of them panics.

To empower the remote culture, I just compiled a list of great articles on "How to remote work?" creating an awesome repository on GitHub.

{% twitter 1239515937193238528 %}

## 💚 Open source

[The repository is open-source](https://github.com/zenika-open-source/awesome-remote-work) and inspired by the [awesome lists from sindresorhus](https://github.com/sindresorhus/awesome).
I've added a specific README for 🇫🇷 french advices and links. 
If you wish to contribute for your own country, you're welcome! 🙌

🚀 Feel free to share your links!
How your web project folder structure looks like? 
Tags: webdev, design, productivity, discuss
Published: 2020-03-17 14:20:20

Please share your web project folder structure to see how good it is!
This is how mine looks for a current project.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/jkr785pam4u92ktbt3ky.png)



[ * ] : Folders that are automatically generated by code generator which takes REST API Specification.
Daily Challenge #206 - Pound Means Backspace
Tags: challenge
Published: 2020-03-17 14:17:21

---
title: Daily Challenge #206 - Pound Means Backspace
published: true
series: Daily Challenge
description: Implement a function that accepts a string and understands #s as backspaces. 
tags: challenge
---
Assume "#" is like a backspace in string. This means that string "a#bc#d" would actually be "bd". 

Implement a function that will process a string with "#" symbols and understand them as backspaces.

###Examples
`"abc#def##ghi###"` ==> `"abd"`
`"abc#d##c"`      ==>  `"ac"`
`"abc##d######"`  ==>  `""`
`"#######"   `    ==>  `""`
`""`              ==>  `""`

###Tests
`cleanString('abc#de##c')`
`cleanString('abc####dhh##c#')`
`cleanString('Thee# Empires# SS#tateBuildingg#')`

Good Luck!
***
_This [challenge](https://www.codewars.com/kata/5727bb0fe81185ae62000ae3) comes from vetalpaprotsky on CodeWars. Thank you to [CodeWars](<https://codewars.com/>), who has licensed redistribution of this challenge under the [2-Clause BSD License](<https://opensource.org/licenses/BSD-2-Clause>)!_

_Want to propose a challenge idea for a future post?  Email **yo+challenge@dev.to** with your suggestions!_
Can you help me with some feedback on my CV, please?
Tags: jobs, advice, discuss, question
Published: 2020-03-17 14:13:46

---
title: Can you help me with some feedback on my CV, please?
published: true
description: Can you help me with some feedback on my CV, please?
tags: jobs, advice, discuss, question
---

Hello, I am in the great and interesting time of looking for a job, ideally, it was remotely until these past weeks, but at this point, I am looking locally as well. The options are not that many.

Do you think you can check it out and give me some feedback, please? Any comments are welcomed.

I have used LinkedIn for the past years, but recently I have had questions about my CV, so I need to update it and have it ready.

Thank you very much for your time and comments.

Signed,
Just another freaked out developer.

P.S I messed up, I shared the old version, this is the new version:
https://docs.google.com/document/d/1qxmSKhQbGV3i8ZRD3pYRTec8mCzdIHJ6/edit

Update: After a lot of useful feedback I have updated my CV and you can check it out here: http://www.gabrielaradu.me/static/media/GabrielaRaduCV.d6c204a8.pdf

There is always room for improvement, so if you spot something that is not right or something is missing, please leave a comment below.

Thank you again to everyone that helped me out, and I hope i can return the favour and give feedback on other people's CV. Add below the link to your CV!
On.NET Episode: Improving accessibility of health insurance in the Dominican Republic
Tags: dotnet, community, opensource, caribbeandevelopers
Published: 2020-03-17 14:02:26

It can be very difficult to get health insurance for many people across the globe. Contigo helps lower the cost of insurance and provide information about the options that are available to their community.

In this episode, Ismael talks to us about the issues around getting proper insurance coverage in the Dominican Republic. He also shares with us how .NET and Azure are enabling them to provide the solutions around this effort.

{% youtube _fD2xNu-LQ4 %}

If you liked this video and would like to see some more of our .NET content, please subscribe to our [.NET Developers YouTube Channel](https://www.youtube.com/channel/UCvtT19MZW8dq5Wwfu6B0oxw).
Don't screw up reading Headers, Keep It Simple, Stupid ! HTTP or IMAP !
Tags: python, github, opensource
Published: 2020-03-17 14:01:04

### Why ? Indeed Why ?!

No matters your religion, IMAP4 or HTTP, you should not worries about accessing easily header and associated attributes, adjectives or values. 

But even with modern language like Python we still have those :

```python
charset = headers['Content-Type'].split(';')[-1].split('=')[-1]
```

I have seen so much chunk of code like this, trying to deal with them, often in a risky way to take care of more important part of the code. In face of that I say no more !

Do not forget that headers are not 1 TO 1. One header can be repeated multiple time and attribute can have multiple value within the same header. So representing them by using a ´dict()´ is not a good idea even if using case insensible dict !

### Project Kiss-Headers

That is why I created a project that would remove the pain of dealing with them no matter where they came from.

It was absolutely clear that they was something missing in the python community. From the project ´psf/requests´ to ´tornado´, each one have it own implementation, each one are also incomplete. The best so far I have seen is the one from ´httpx´ project.

Mine is not perfect, but has its amount of sweetness. Beginning from auto-completion capability in python interpreter or in your beloved IDE. It should dramatically reduce stress and pain when encountering them. 

{% github ousret/kiss-headers %}

Imaging being capable of doing those things :

![python kiss-headers](https://user-images.githubusercontent.com/9326700/76808050-bf6dbb00-67e6-11ea-9799-d2b20068bbb7.gif)

### End note

I am pretty confident that those kind of libraries that serve reducing time spent on the little things would actually help make the life of a programmer easier. And spent a lot more time on something else.

So, do not hesitate, when you are encountering a case that respect those criteria : (i) stupid (ii) repeatably reinventing the wheel (iii) everyone is facing this issue at least once. (iv) break the loop by contributing.

Thank you :)
How to find the right balance as a remote freelancer
Tags: freelancer, balance, javascript, remote
Published: 2020-03-17 13:53:25

Hey folks! I recently talked with Gonzalo Nandez about how he found the right balance as a remote freelancer and wanted to share some of the beans he spilled!

1. Don't try to do everything yourself. An accounting manager is not an expense, it's an investment. 

2. Don't put all your eggs in one basket. It may sound appealing to have a BIG client who will give you a good profit, but you will tie your business to a capital that can fall apart for a thousand reasons. Look for several small ones instead. 

3. Create your work area and work alone. Make routines to start the day and to finish it. These are psychological anchors that will help you not to stay connected all day.

4. Be your own boss. Reward your successes and seek out punishments for procrastination. Comply. Discipline.

5. Understand your client. If they want speed, give them speed. If they want quality, give them quality. You can't do both! 

6. Don't mess around and talk to the client (be honest), to other workers or freelancers. Learn. Never close your ears even if you don't agree. Look for one or two (more can become a distraction) communities that match your tasks and learn and help in that community. 

7. Don't neglect the triple (Family, Friends, and Fitness!)

8. Disconnect your work phone after working hours. Unless you're a doctor or a fireman, the emergency can wait. Scheduling is vital.


You can check the full conversation at https://thefreelancechoice.com/casestudies/finding-balance-as-a-remote-freelancer

Happy coding!
Gabri
Github bot @dependabot fixes security vulnerabilities
Tags: git, productivity, security, webdev
Published: 2020-03-17 13:43:04

Hi everyone,

Today I want to write about `@dependabot`, Github's automatic dependency bot updater that will keep your project dependencies up to date.

It works with all the popular languages like:

- ruby
- java
- python
- javascript
- rust 
- elixir

You can find here **Dear Reader** all the languages that are currently supported [dependabot languages](https://dependabot.com/#languages).

I had one project with the version of acorn 5.7.3 in a Vue project(not a Vue project, An old **Phoneix project**) and `@dependabot` automatically updated my acorn to 5.7.4.

This is how the operation for the update looks like(view the picture below)

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


Thanks to @rob's comment let's add more context to what @dependabot is doing:

First I also merged that PR and the result can be seen in the picture below.

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

As we can see @rob was right Github deleted our package-lock.json file and added a new dependency to it.

So to really update our project we will have to make a new commit after running `yarn upgrade` or `npm update`. 

@Dependabot can also be used manually using the `@dependabot rebase` command.

Well, this is all well and good Wolfiton, but how much does it cost?

The good news **Dear Reader** comes from Github that just bought `@dependabot` and it's **free of charge**.

So you can start using it today in all your projects and even **automate it to run on scheduled times or on a commit**.

Pretty handy right?

What do you think **Dear Reader**, will you use `@dependabot rebase` to keep your projects secure?

I hope you enjoyed the article, **Dear Reader**.

If you also find it useful, share it on social.

Credits:

https://dependabot.com/

Thanks, @rob for your comment and experience with @dependabot
New Command Line Tool to Generate Jupyter Notebook Template Quickly
Tags: jupyter, python, datascience
Published: 2020-03-17 13:29:53

# Summary
* With this tool, you can quickly generate your Jupyter notebook template 

*  To install package, type "pip install notelate"

*  To generate notebook template, type "notelate [package name]"

# Why I developed this tool
Jupyter notebook or Jupyter lab is very convenient tool to interacting data analysis and machine learning.
However, I have spent a lot of time to just importing major packages(e.g. pandas, numpy) or setting up style to visualize data.

If you google how to work with your template, you can find some ways to to do that.
They need many steps...
So, I developed this tool named "notelate"(notebook+template) to work with notebook template quickly and easily.

# How to use it
At First, please install notelate with below command
``` pip install notelate ```

After that, you can generate notebook template at your current directory with below command
``` notelate [package name] ```
Initially, "basic" and "dark" are installed, so you can test with
``` notelate basic ```

That's it! 
Now, you realize notelate is really easy!

If you want to know further(e.g. importing your original template), please visit [PyPI https://pypi.org/project/notelate/](https://pypi.org/project/notelate/)

# Finally
Thank you for reading this article.
This source code is available at [github](https://github.com/punisuke/notelate).
I would appreciate star or your review.

Enjoy Datascience!