teleren/devto huggingface dataset:
Dendron - an open source, local first, anti-roam note-taking tool
Tags: node, pkm
Published: 2020-09-18 15:09:40

[Dendron](https://dendron.so) is meant to be the fastest way for people to create, reference, and collaborate on knowledge. It is based on a [hierarchal first approach to note taking](https://www.kevinslin.com/notes/3dd58f62-fee5-4f93-b9f1-b0f0f59a9b64.html).

Hierarchy first means that Dendron helps you effortlessly create, manage, and reference your notes through flexible hierarchies. I call it anti-roam because instead of having every note be everywhere, every note is exactly in one well defined place (which you can change over time). 

You can read about our principles [here](https://dendron.so/notes/7fcebd7d-6411-4c9d-8baf-65629dc018a1.html)

I use Dendron to manage a corpus of 20k+ markdown notes. When I need to lookup information inside Dendron, I know I can either **find it in a few seconds**, or if I don't, to know for certain that it is **not there**. This is an incredibly empowering feeling of control in an age of information overload and it is an ability I want to give to every person in the world.
A Farewell Gift to my friend
Tags: watercooler, javascript, showdev
Published: 2020-09-18 14:57:44

>**Saying Goodbye Is Always Painful**, Isn't it? And It hurts more when you can't meet the person before he/she leaves. Exactly the same thing happened to me. 

**Don't worry this is not an emotional blog.** It is about how I offered a farewell to my friend who was working with me and left the organization.

My friend named Rajesh and I joined the same organization as fresher on the same day. We have spent 3 awesome years together. We learned many things together, had many laughs, meals, tea together, played dumb charades during training time and many more precious memories that if I try to list out then I will need to write series of books.

Due to this damn pandemic, we had to move to our hometown, but we were in touch as we were in the same project so we used to talk daily.

> And that day came when he resigned to achieve his dream. 

The main problem was that I couldn't meet him for the last time and couldn't give him a decent farewell. He was serving a notice period and a very few days left. So I thought to do something, Something that he would remember. 

So finally after a lot of thoughts, I decided to create a farewell website for him, but it must have something that he would love. I have called every friend of Rajesh in our organization and asked to say something about Rajesh and a photo of both together.

As a developer, I then created a website for him which encompasses memories of him with us using fullpage javascript library to make a presentation-like site and a special 3D gallery album containing each photo of him we had with some music that would overload his mind with memories of us together.

He uploaded the video of that website on youtube a while ago, Hope you guys will like it, you must watch the last 3D gallery part.
{% youtube 62dJzuFprwI %}

The code is not optimized as I did not have enough time, and my only purpose was **It should look good**. If anyone interested in the code here is the git repo
{% github Maulikdes/rajesh_farewell %}

And those who want to know why he resigned from an IT organization, here is the answer.
> His dream is to be a chef and open his own restaurant. He is damn good at this and he will achieve his dream for sure.

Thanks for reading. Writing this article refreshed tons of memories.
5 Repository for Hacktoberfest-2020, You can contribute.
Published: 2020-09-18 14:57:11

## What is Hacktoberfest?

Hacktoberfest is a month-long celebration of open source software run by DigitalOcean in partnership with GitHub and Twilio.
- Hacktoberfest is open to everyone in our global community!
- Five quality pull requests must be submitted to public GitHub repositories.
- You can sign up anytime between October 1 and October 31.

## Below are some repository for contribute,if you are new to programming world.

### For First Time Contributors 

- [Good First Issue](https://github.com/py-contributors/Hacktoberfest-2020)
- [Hacktoberfest-2020](https://github.com/Ishaan28malik/Hacktoberfest-2020)
- [acmbvp/Hacktoberfest](https://github.com/acmbvp/Hacktoberfest)
- [Data Structure and algorithms](https://github.com/BaReinhard/Hacktoberfest-Data-Structure-and-Algorithms)


### For Python Developers

- [Django- WEb Development Framework](https://github.com/django/django)
- [Flask- lightweight web framework](https://github.com/pallets/flask)
- [Pipenv- virtual env tool for python](https://github.com/pypa/pipenv)
- [Keras](https://github.com/keras-team/keras)
- [Scikit-Learn](https://github.com/scikit-learn/scikit-learn)
Good Mentality and Patience needed in Tech Career.
Tags: career
Published: 2020-09-18 14:43:22

How you started your career on tech? how you then change your mentality and how you keep growing?

According to me whatever the reason may be for looking career in Tech but the most matter is how you have made and prepared your mentality.
It is true when you are in initial period of your development your will face lots of problem and even sometimes you may get exhausted and lost. You will think to change your decision.
But if you make your mentality that I will be a good coder and regularly start practicing and thinking logically. You will start seeing changes on you. You will start enjoying your work and feel happy.This happens to me and the day started changing for me.
I would like to suggest to every fresher not to get afraid but to think that no body knows everything. Everybody starts its career in tech from printing "Hello World".
So one day he will also reach to its highest place, just he need to keep good mentality and keep on learning.
Day's until Xmas
Tags: javascript
Published: 2020-12-26 05:54:12

---
title: Day's until Xmas
published: true
date: 2020-09-18 14:36:00 UTC
tags: JavaScript
canonical_url: https://drmsite.blogspot.com/2020/09/days-until-xmas.html
---

Last night there was a question on [Jay's Virtual Pub Quiz](https://www.youtube.com/channel/UCLcSqjJWHJeDWD_SbdorBRw) asking how many days there were until Xmas. I worked something up [years ago](https://drmsite.blogspot.com/2004/04/nearly-christmas.html) but decided to revisit it today while waiting for Visual Studio to build my solution, this is the result:

```javascript
const days2Xmas = Math.ceil(
  (
    new Date(
      new Date().getMonth() == 11 && new Date().getDate() > 25 ?
      new Date().getFullYear() + 1 :
      new Date().getFullYear(),
      11,
      25
    )
    .getTime() -
    new Date().getTime()
  ) /
  (1000 * 60 * 60 * 24)
)
console.log(days2Xmas)
```
Webflow Tutorial | Make websites without code?!
Tags: webdev, design, beginners, tutorial
Published: 2020-09-18 14:34:19

**TLDR** You can build an entire website without a single line of code using **webflow**. I did an introduction tutorial for those who want to learn more about it and how this is done.

{% youtube TTIDyMybd_M %}
<center>[Webflow Tutorial](https://youtu.be/TTIDyMybd_M)</center>

I was always cautious when it comes to platforms and site builders that take the option of coding away. But judging them without learning them would be unfair, so I decided to learn webflow and teach others how it works so you get a better idea. It reminded me a bit of Figma and Sketch however its designs equate directly into a usable website which is pretty cool!

In this tutorial I cover:

- What is Webflow
- Using editor
- Pre-made components
- Designing a website
- Header Navigation
- Hero Image & Call to Action

## Follow and support me: 
Special thanks if you subscribe to my channel :)
* [🎞️ Youtube](https://www.youtube.com/channel/UCvM5YYWwfLwpcQgbRr68JLQ?sub_confirmation=1)
* [🐦 Twitter](https://twitter.com/intent/follow?screen_name=adrian_twarog)
The Impostor Syndrome
Tags: codenewbie
Published: 2020-09-18 14:28:50

Developers are viewed by the society as mystical beings performing witchcraft on anything with a keyboard. If you are a developer or even remotely associated with computers, Movie and TV-studios will call you by that magic 6-letter word  `HACKER`.

You may be depicted as someone who can : 
* Build a GUI interface using visual basic to track the killers IP address {% youtube hkDD03yeLnU %}
* Get the power back on from an outage by just typing on your keyboard {% youtube Q1CzCQ4eT0g %}
* Go full on tag team with a fellow `HACKER` to type on the same keyboard at the same time to achieve Turbo Hacking. {% youtube msX4oAXpvUE%}

Well all jokes aside, my point is that programmers are perceived as being extremely smart and when we find ourselves googling solutions or copy pasting snippets, its easy to fall into the trap of feeling like an impostor.

I would argue that just the mere action of looking up solutions does not make you any less of a developer, what is important is that you understand the structure and logical flow of whatever you're building. When you achieve that, everything else is just minor details.

If you think about it, googling solutions is no different than going through a book to find the answers, only you are doing it with a powerful search engine. In fact, it is more impressive that developers as a whole generally do not mug up solutions, rather they always figure it out albeit with some help from StackOverflow.

So if you ever find yourself feeling like an impostor or someone who does not know enough, know that as a developer, you have developed or are developing an implicit skill of understanding solutions rather than remembering them. Therefore it is fine if you forget how to read files in Java, or if its arr.size() or arr.length, whats important is the bigger picture of what you're trying to solve.

I understand that a deeper conversation can be had on this topic, but this was just my lighthearted take. So in closing I will leave this xkcd panel:

![imposter_syndrome](https://imgs.xkcd.com/comics/impostor_syndrome.png)
My first (real) open source contribution
Tags: opensource, github, git
Published: 2020-09-18 14:25:32

This week, I added a contribution to [the documentation for Gwion](https://github.com/fennecdjay/gwion-docs), and I'm gonna share the process here.

The reason I say this was my first real contribution is because I technically have done this before, but it was just copy-pasting someone else's fix, from a fork that had diverged too much from master. 

So, on to the story:

I was scrolling through dev.to (hey, thats where this article is!) and found one of those "request for contributors" posts. There was a link to a music-making programming language called [Gwion](https://github.com/fennecdjay/Gwion). It looked interesting, so I added my name to a (small) list of people, and waited. 

I got invited to a Github organization, and joined. When I got there, I found it populated with a few people who were talking about syntax and other code things.

I had signed on to help with documentation, so I took a look... Yeah, they weren't kidding when they said it was WIP.

I made a post on the organization with my suggestions of what I could do, and received very positive feedback!

So, I started work. I fixed up the main page of the docs. I had to ask a few questions, but I got it done. (The pronouns thing in the cover image was me adding the pronouns of the maintainer) I submitted a PR, and it got approved!

I've done a few more since then, and it's really fun. I'm glad I started doing this. I recommend it!
Neural Network with Boolean Operators for Binary Classification
Tags: showdev, machinelearning, python
Published: 2020-09-18 14:22:41

Implemented a novel type of Neural Network that emulates a Boolean Function in [Disjunctive Normal Form](https://en.wikipedia.org/wiki/Disjunctive_normal_form) ("OR of ANDs") to perform binary classification.

[Github Project](https://github.com/tsitsimis/disjunctive-normal-networks)


![](https://github.com/tsitsimis/disjunctive-normal-networks/blob/master/assets/spirals-experiments.png?raw=true)

# Overview
Intuitively, in a 2D classification problem, the points of one class can be easily recognized by drawing polygons around them. This is like defining a boolean function that specifies the *union* of parts of the plane belonging to this class.
![](https://github.com/tsitsimis/disjunctive-normal-networks/blob/master/assets/polytopes.png?raw=true)

Inspired by this intuition, the **Disjunctive Normal Network** generalizes this concept in higher dimensions and finds the optimal polygons around the positive class of a binary classification problem.

In a similar interpretation it divides the feature space in a similar way to a Decision Tree, but instead of axis-aligned rectangles it uses convex polygons.

# Motivation
I wanted to bring together concepts from Decision Trees and Neural Networks. Also it was a nice opportunity to learn how to properly set up (hopefully) a Python package with tests, CI, explanatory Notebooks and a helpful README.

Any feedback is highly appreciated!
Appsmith $1000 Bug Bounty Program
Tags: githunt, opensource, news, javascript
Published: 2020-09-18 14:18:20

**Above Them** is a bug bounty program where you get rewarded for reporting the hairiest bugs that you face with the open source project, [Appsmith](https://github.com/appsmithorg/appsmith). 

{% github appsmithorg/appsmith %} 

These could be performance issues, documentation problems, small niggles or even a UX issue you faced. File away with no holds barred. 

The most number of bugs reported before _**30th September, 2020**_ earns you $1000.

## What is Appsmith?

[Appsmith](https://github.com/appsmithorg/appsmith) is a low code way to build internal tools. It's the only open source alternative to Microsoft Power Apps, Salesforce Lightning platform, Service Now platform and many more. 

With Appsmith, you can:

1. Create a page using pre-built UI components like table, charts, map viewers and forms.
2. Connect the UI components to any REST API or databases like MySQL, Postgres, and MongoDB. Write any logic in JS.
3. Deploy the interal tool to a custom URL and invite users to sign in with their Google acounts.


## Why Participate?

Recently, one of our users expressed their love & frustration with Appsmith on Twitter.

{% twitter 1305804208944357376 %}

We are an open source project because we believe that software built in the open becomes better. This user's tweet clearly shows that our code has issues and as a small team we can't find them all.

Also, lots of folks want to contribute to OSS but they aren't developers or just don't know how to begin. That's why we are starting our journey by rewarding users for simply reporting bugs.

If that wasn't incentive enough, we have some prizes to sweeten the deal:

### 1 Grand prize for most number of qualified bugs
* $1000 USD gift card or equivalent
* Earn an Appsmith badge
* Recognition on our README page

### 10 Runner up prizes
* $50 USD gift card or equivalent
* Earn an Appsmith badge
* Recognition on our README page

```
You need to report a minimum of 2 bugs to qualify.
```

## How can you participate?

1. Try out the product by checking out our [Getting Started](https://docs.appsmith.com/quick-start) guide.

2. Report any bugs by creating a [Github issue](https://github.com/appsmithorg/appsmith/issues) on this repository.

3. Label those issues with the tag `above-them` to help us identify these issues quickly. 

4. Join our [Discord channel](https://discord.gg/rBTTVJp) and claim your prize.

## Who is eligible?

Everyone is eligible for this program. 

You don't necessarily need to be a developer to participate. Infact, most of our  insightful bug reports in the past have come from non-developers.
Port 8080 fail using TiddlyWiki5 and Node on a Raspberry Pi
Tags: node, raspberrypi, tiddlywiki
Published: 2020-09-19 08:59:25

---
title: Port 8080 fail using TiddlyWiki5 and Node on a Raspberry Pi
published: true
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/6slppq231ix2ajwprrk8.png
date: 2020-09-18 14:10:21 UTC
tags: node, raspberrypi, tiddlywiki
canonical_url: https://www.preciouschicken.com/blog/posts/node-tiddlywiki5-raspberry-pi-port-8080/
---

## The Problem

There seem a ton of ways to get [TiddlyWiki](https://tiddlywiki.com/) running. I thought I would try the [Node.js version](https://github.com/Jermolene/TiddlyWiki5) on a Raspberry Pi. I wanted a set-up so I could leave the Pi online and access the TiddlyWiki on the rest of my home LAN. After following the [instructions](https://tiddlywiki.com/static/Installing%2520TiddlyWiki%2520on%2520Node.js.html) I got to the last line:

```bash
tiddlywiki mynewwiki --listen
```

And I had TiddlyWiki running on the Pi, but couldn’t access on the rest of the LAN. Which I wasn’t expecting. It turned out there were two problems:

- Raspberry Pi comes with ports closed by default and
- The default version of TiddlyWiki node needs a specific flag

Always more difficult when you have two problems, as you solve one and when it doesn’t work, you think you’ve done something wrong; as opposed to realising you are half way there…

Solution follows.

## Enable the port on Raspberry Pi

At the terminal on the Pi:

```bash
sudo apt install ufw
sudo ufw allow ssh
sudo ufw enable
sudo ufw allow 8080
```

The second line is only required if you are using ssh to remote into your Pi, if you aren’t leave it out. Hint - if you are using a keyboard connected to your Pi, then you aren’t using ssh…

This installs [Uncomplicated Firewall](https://en.wikipedia.org/wiki/Uncomplicated_Firewall) onto your Pi, enables it and then allows the port that your TiddlyWiki will be listening on.

## Set the host flag when running TiddlyWiki5

First we have to [find the IP address of your Raspberry Pi](https://www.raspberrypi.org/documentation/remote-access/ip-address.md). Let’s assume you’ve done that and it is `192.168.0.12`. You now have to start the TiddlyWiki with the following command:

```bash
tiddlywiki mynewwiki --listen host=192.168.0.12
```

You should now be able to access the TiddlyWiki using the address [http://192.168.0.12:8080](http://192.168.0.12:8080) from the rest of your network. You won’t be able to reach your TiddlyWiki from the external internet without further steps however (which suits my use case).

## Further reading

[Run your Node.js application on a headless Raspberry Pi](https://dev.to/bogdaaamn/run-your-nodejs-application-on-a-headless-raspberry-pi-4jnn) was pretty helpful.
Is git commit --amend truly *important*?
Tags: discuss, codequality, git, healthydebate
Published: 2020-09-18 14:02:49

@molly_struve caught this one in a recent pull request of mine.

{% tweet 1306940922404503555 %}

The obvious question here is.... Should I be using `git commit --amend` or another history rewriting technique to clean this up?

I know I _can_, and maybe I _should_, but I've never developed the habit of using this technique and generally never thought of it as a big problem in most cases, but I'm wondering if other folks feel differently bout the harm of not cleaning up extra commits like this.

All around I could have been clearer with the commit messages, but also, contextually it was _somewhat_ clear. It was me trying a few things and committing the code to see if it worked with our continuous integration.

Feedback is definitely welcome here!
covid-19-tracker using React with Typescript
Tags: react, typescript, javascript, webdev
Published: 2020-09-18 13:54:25

please check it here: https://itsmeab.github.io/covid-19-tracker/
git hub URL: https://github.com/itsmeAB/covid-19-tracker

Oh... It is really amazing when start using React with Typescript. It is giving more effectiveness in development (my opinion). 

Anyone can find free APIs for getting the covid19 details.
I referred this one for COVID-19 details: https://disease.sh/

I used to React Leaflet for showing the map. It is the first time I am using this library. https://react-leaflet.js.org/

Also used the Chart.js for showing the Line graph.

I don't think it is 100% perfect. But I will try to improve.
Feel free to make suggestions on the application and code.
Scheduling tasks using APScheduler in Django
Tags: python, django, scheduling, apscheduler
Published: 2020-09-18 13:47:39

This tutorial deals with showing how to schedule tasks using APScheduler in Django and not with real basics of Python or Django.

### *Okay, let's start*

# **Installing APScheduler:**

Run the following command in the terminal:

`pip install apscheduler`

# **Setting up APScheduler:**

Let's consider the app is named room.

### **Adding something_update.py to our app directory:**

This is how your room/something_update.py should look:

```python
def update_something():
    print("this function runs every 10 seconds")
```

### **Adding updater.py to our app directory:**

This is how your room/updater.py should look:

```python
from apscheduler.schedulers.background import BackgroundScheduler
from .something_update import update_something


def start():
    scheduler = BackgroundScheduler()
    scheduler.add_job(update_something, 'interval', seconds=10)
    scheduler.start()
```


### **Starting the Updater:**

This is how your room/apps.py should look:

```python
from django.apps import AppConfig


class RoomConfig(AppConfig):
    name = 'room'

    def ready(self):
        from . import updater
        updater.start()
```

### *Thank you, that's it for this tutorial.*
Stop using frameworks and libraries
Tags: javascript, react, code
Published: 2020-09-18 13:39:27

---
title: Stop using frameworks and libraries
published: true
description: 
tags: javascript, react, code
//cover_image: https://direct_url_to_image.jpg
---
Inspired by [Stop using React](https://dev.to/ender_minyard/why-you-should-stop-using-react-g7c) article.

Let's say you want to use some framework/library in your application. What are the reasons this is a bad idea?

## 1. It's slow
Really, have you seen the benchmarks for that X framework/library? It's very slow in comparison with the alternative in Assembler. You want to use libraries that relatively fast to boost your app, not to slow it.

## 2. It's poorly maintained
Even if a Github repository has 156k stars like [React](https://github.com/facebook/react) it doesn't mean there are no issues. There are always problems. There is only a small chance you don't face a bug.

## 3. It's made by dangerous people and companies
This library is maintained only because there is an interest from special companies and people who want to conquer the Internet and all the software.

## 4. There could be sensitive data leaks
Almost all libraries/frameworks make additional network requests and pass your personal data. Recently we became aware of a huge leak of credit card data on applications using Javascript, [source](https://www.youtube.com/watch?v=dQw4w9WgXcQ).

## What is the solution?
Just don't use external software. You can write your own. I don't think it's hard to write your own platform to run server-side Javascript or a module to convert CSV to XLSX. It may be hard at first, but it becomes easier later. It is a question of time.

Some of you could say it's hard to write a Node.JS clone but think about how much you'll learn in the process and the only great reason to do this is that you have your own platform that only you control and maintain.

Have you been ever thinking about why do you need to use, for example, Javascript to write web apps? It's a very bad language to do that. If you want to prevent memory, data leaks, poor support, slowness then you need to pick another language/platform to do that(for example, Assembler with WASM). Or better - write your own.

Please write your own stuff. Let's make the Internet safer, faster!

_The article is a joke, please don't consider it seriously_