teleren/devto huggingface dataset:
Live Reverse Debugging in LLDB
Tags: devgrad2020, octograd2020, githubsdp, lldb
Published: 2020-05-21 13:11:40

**Live reverse debugging** (also known as **reverse execution**) enables the programmer to step backwards and replay the execution of a program during a live debugging session.

In the context of my master’s thesis, I created a proof of concept for live reverse debugging based on the LLDB debugger.

Doing so involved familiarizing myself with the LLDB codebase and directly modifying it to add live reverse debugging capabilities.

## GitHub Student Developer Pack

During development, I made sure to closely follow the `master` branch of the LLVM project's repository, whose LLDB is a part of. However, due to the amount of daily commits in the LLVM project repository, I had a hard time tracking all the changes in LLDB that might affect my project.

As a result, I decided to take advantage of the **Student Developer Pack** and the **Mailgun** offer in particular, in order to receive email notifications whenever a commit that modified files belonging to LLDB was pushed to the LLVM project repository.

This was achieved with the help of a lightweight service written in Swift and hosted on Vapor Cloud that receives notifications about all pushed commits via GitHub webhooks, filters the ones that contain modifications to LLDB and emails me through **Mailgun** information about the commits:

![LLDB Commit Notification](https://i.imgur.com/531akSO.png)

This service took about a day to set up and saved me multiple hours during the course of this project (about 10 months) of manually scanning through the commit log for commits related to LLDB and examining one by one for modified files.

Last but not least, the free **GitHub Pro** subscription offered through the **Student Developer Pack** enabled me to keep my work private until it was ready for prime time.

## Demo Link

{% vimeo 419351406 %}

## Link to Code

{% github https://github.com/vangelists/llvm-project %}
[Placeholder Title]
Tags: octograd2020
Published: 2020-05-21 13:01:40

## My Final Project was not to build anything but i built this machine learning model using pycaret and this includes preprocessing transformations and a regression model to predict hospitalization charges based on demographic and basic patient health risk metrics such as age, MBI, smoking status etc


## https://pycaret-insurance1.herokuapp.com/
 

## `{% github https://github.com/5m477/deployment-heroku.git %}`)

## I built this using pycaret. pycaret is an open source low-code machine learning in python to train and deploy machine learning pipelines and models in production. i used Flask framework which allows me to build the web application and i hosted it on heroku. 


## Kindly follow my blog on 5m477code2.odoo.com/blog
An accidental side hustle!
Tags: python, blockchain
Published: 2020-05-21 12:58:22

#How one of my python projects is becoming a silent side hustle for me!

About two years ago I had a humongous task in front of me sending certificates to over 10k+ participants digitally. This was never done before, earlier my college use to give physical certificates, but due to financial constraints that year we decided to go digital!

I sat with one of my seniors and discussed this problem, and we thought why not create a python script that will do this for us?
And within minutes we created a script that can simply write text on an image, by this, we automated the task of writing
Next thing we did was create a whole bunch of certificates by using CSV file as an import
We were making 100+ certificates in a minute!!!

Everyone from my team and college was happy we had solved a great thing!
But, I thought of going one step ahead!
Why not send the certificates directly? Why not mail them directly?
Earlier we were planning to send all those certificates manually!! A very tedious process :(

Another couple of days and we were able to send mails using SMTP.
Now we are creating 100+ certificates and at the same time sending them to their recipients 

It was pretty impressive 10k+ certificates from created, sent, and delivered within an hour!

The project was widely appreciated in my college and over 1 year we sent over 50,000+ certificates!

I was also paid sometimes for it!

But, again I thought of going one step ahead!
Why not store these certificates on a blockchain? This will also make the certificates verifiable!

And yes now we have started working on it! We are creating a website where you can create, generate, send, and verify certificates. Everything in one place!

Even though we haven't gone public yet there are many parties and groups who are willing to use our product!

By keeping bare minimum fees we can generate good revenue and also reduce a significant amount of carbon footprint caused by using Paper-based certificates!

We hope to release this product within the next 2-3 months!
How I became a developer
Tags: story, learning, education
Published: 2020-05-21 12:56:15

My path to becoming a developer was wildly different than most. Growing up I was privileged to have had access to technology, including a dedicated line for dial-up internet. 
And I had supportive parents. I had a strong love of technology, mainly as "this is neat" but never at a deep understanding of what was happening. 
Nevertheless, my passion in my youth was reading. I devoured book upon book - mainly fantasy fiction, history (incl. popular history), and philosophy. Most of my brain cycles were spent thinking about what happened in the past. 
This continued through my studies up to grad school. I have many passions in life and what began to emerge for me was a love of information itself. I obtained a BA in History from Flagler College, and when approaching graduation _I decided to do more school._
I decided to follow in my mother's footsteps. She is a librarian, though now an administrator for FSU. I applied and was accepted to FSU's iSchool to pursue my MLIS. 
During my graduate education I had the opportunity to work for the school's Help Desk -> performing tier 1 support for faculty and staff. This is where my love of technology resurfaced. 
Following graduation I took a position as Help Desk tech for a small RFID company in Orlando and climbed ranks to Director of Operations for the company's hardware distribution child company. 
It didn't get me close enough. I had developed a passion for coming up with ways to connect users to information. So I got a job as an analyst for a custom software firm. 
Over the years since I have been working my way to a deeper understanding of how the things we build work, and with strong support by my company I have been able to push forward with my technical learning. Also I have been very fortunate to have some of the best colleagues. 
And have been able to get to a point where I'm performing significant development tasks with the help of the team. I do humbly acknowledge the good luck and fortune I have encountered and hope to give back.
Part of this giving back has been my position as Adjunct Professor for FSU in the same school in which I received my MLIS. The last four years I've been teaching Usability Analysis, doing my part to make user interactions just a bit better. 
The biggest thing I've come to understand is that those of us in technology usually have an interesting, if not rambling, path to where we are now. So that's my [brief] story.
Microsoft + JAM = small sweet things
Tags: news, javascript, html, microservices
Published: 2020-05-21 12:54:54

Microsoft have recently written that they will be employing JAM stack across their current services for developers.

Click the link for more info https://www.theregister.co.uk/2020/05/19/jamstack_comes_to_azure_app/

Isn't that great now we can simply do our amazing jobs, developments and just deploy it to GitHub and everybody gets access and everything is wonderful and the so is the whole world and everybody smiles and hugs and kisses for everybody.
🔥 Quick Tip: How to compare objects more accurately
Tags: javascript, tutorial, beginners, testing
Published: 2020-05-21 12:54:33

On this simple trick I'll show you how to compare objects more accurately using `Object.is()`.

```js
console.log(Object.is(0, '')); // => false
console.log(Object.is(null, undefined)); // => false
console.log(Object.is(undefined, undefined)); // => true
console.log(Object.is([1], true)); // => false
console.log(Object.is(NaN, NaN)); // => true

const obj1 = { name: 'Helder' };
const obj2 = { name: 'Helder' };
const referenceObj1 = obj1;

console.log(Object.is(obj1, obj2)); // => false
console.log(Object.is(obj1, obj1)); // => true
console.log(Object.is(referenceObj1, obj1)); // => true
```

Note: When comparing two objects it will compare the memory point too.

Did you like it? Comment, share! ✨
The Ultimate list of places you can host your apps for free:
Tags: devops, webdev, hosting
Published: 2020-05-21 12:49:56

Free Hosting
The ultimate list of places you can host your apps for free. Enjoy.

* Netlify: [netlify.com](https://www.netlify.com/)
* FIrebase: [firebase.google.com](https://firebase.google.com/)
* AWS: [aws.amazon.com](https://aws.amazon.com/)
* Heroku: [heroku.com](https://www.heroku.com/)
* Github Pages: [pages.github.com](https://pages.github.com/)
* Vercel [vercel.com](https://vercel.com/)
* Surge: [surge.sh](https://surge.sh/)
* Render: [render.com](https://render.com/)
* Gitlab Pages [docs.gitlab.com/ee/user/project/pages](https://docs.gitlab.com/ee/user/project/pages/)

If you liked this article, be sure to ❤️ it.

This article is a repost from my blog. Find the original post here: [List of places you can host your apps for free](https://markodenic.com/list-of-places-you-can-host-your-apps-for-free/).

Let's keep in touch:
Blog: [markodenic.com](https://markodenic.com/)
Twitter: [@denicmarko](https://twitter.com/denicmarko)
Github: [github.com/MarkoDenic](https://github.com/MarkoDenic)
Codepen: [codepen.io/denic](https://codepen.io/denic)
50: The Employable Skills for a Web front-end developer 
Tags: javascript
Published: 2020-05-21 12:48:40

I want to WORK, as a front end developer by self-learning, I was stuck in the idealism and reality, that I should not spend a thousand of times to worry about the things not happened to me,  for example, another failure, I spent one year to figure out what the software engineering is that, and could not be out of the advice from the Bootcamp, However, Everyone has each different paths, My layout is completed, and it is time for me to draw and make it movable by javascript! 

It was totally worth to value the research, the truth is that no one can code your idea, coding is such beautiful harmony 'sense and sensibility'

DON'T GIVE UP! That is most important when it comes to challenging learning forever.

--- 
#**WHAT TO KNOW** 

[1] ES6 - JavaScript 
let, const vs var / closures / classes/prototype
promise (fetch API, async/await) / arrow function / module(import/export) / template strings / spread operator
[2] git & github
[3] npm/yarn(JSON)
[4] Linux
[5] WebPack
[6] css(DISPLAY, POSITION, Z-INDEX, FLEX BOX/CSS GRID)
[7] framework ( REACT or ANGULAR or EMBER or VUE whatever) 
[8] svg , canvas
[9] gulp / grunt
[10] service worker(PWA)
[11] TEST FRAMEWORK- Jasmine, mocha, protractor
[12] Mobile Development

----
**Then create your things, it can be whatever you want, interactive website, blog, any type of things related to web front end development,** 

**This is about confidence, Don't let people devalue your ideas, and I had been through from bias, judgment, even exception.**
---

###*It is okay to start over differently, and the completion is my real goal, then I would decide to keep going or not*
How I avoided spam form submits in my side project.
Tags: sideprojects, html, javascript
Published: 2020-05-21 12:46:29

One of the first tasks that I had done when I started my programming career was creating contact forms for websites. That was the time when I heard about captcha which are used to prevent spam form submits. We were using php scripts for generating captcha and later we used Google recaptcha. 

I shifted many companies after the first one and I never experimented on any other solution.

But in one of my personal side project that I created I was receiving many spam form submits through the Sign-up page. So I done an experiment which went successful till now. I will not say this is an ideal solution. But in my case it worked.

**Injecting the html form via Javascript**

We normally load the html with form element  which also contains the Text Inputs and Submit button. Instead of this we need to include the form element only after the page is loaded via Javascript. So the bots trying to spam our website can't get the form when they randomly crawl the website. This will not work if the spam bot uses an headless browser or something else for rendering the website and submitting the form afterwards.

I tested this in one of my site called Cherukatha.com(https://cherukatha.com/) for the signup page.

What do you think. I am open to your thoughts, ideas and suggestions. :-)
GFTW Hackathon: Need some inspiration? - Hugo + Web Monetization
Tags: gftwhackathon, webmonetization, gohugo
Published: 2020-05-21 12:42:47

Hi, I'm Sabine, a software engineer at [Coil](https://coil.com/). Lately, I have been working on some Web Monetization demos and I also participated in the DeFi Hackathon at [San Francisco Blockchain Week](https://2019.sfblockchainweek.io/) last year, where my team's project won one of [Xpring](https://xpring.io/)'s prizes:

{% twitter 1191175741116862464 %}

I thought I should share these little hacks with you to serve as inspiration for this epic hackathon. This will be a mini-series, so stay tuned for more!

### Hugo + Web Monetization: The hackathon

[Hugo](https://gohugo.io/) is a static webpage generator that allows people with some coding skills to set up a beautiful webpage in just a few minutes by writing all of its content in markdown. If you want to do any changes apart from adding pages and post, though, it becomes complicated and you have to dig into the theme's code.

For the hackathon project, we tweaked an existing Hugo theme called [Newsroom](https://themes.gohugo.io/newsroom/) to allow for simple Web Monetization via the Hugo config.toml file and exclusive content using a `div` tag. Here is the [devpost submission](https://devpost.com/software/hugo-web-monetization).

I must admit, it wasn't the greatest hack but it made me want to continue to work on it.

### Hugo + Web Monetization: The Hugo theme component

A tweaked Hugo theme does not help anybody who wants to use a different theme, so I looked into avenues to get Web Monetization and exclusive content included into every webpage more easily. The fact that Web Monetization is [proposed for incubation](https://discourse.wicg.io/t/proposal-web-monetization-a-new-revenue-model-for-the-web/3785) in the [Web Platform Incubator Community Group (WICG)](https://www.w3.org/community/wicg/) was not enough for the Hugo community to add it to their core - understandable. They pointed me towards theme components, which ended up being my solution:

{% github https://github.com/sabinebertram/hugo-webmonetization-component %}

A [Hugo theme component](https://gohugo.io/hugo-modules/theme-components/) is installed together with the actual theme, adding extra functionality but has no styling capabilities. It is not a stand-alone theme.

The [Hugo - Web Monetization theme component](https://github.com/sabinebertram/hugo-webmonetization-component) allows for multiple payment pointers, one per page, such that collaborators do not have to worry about splitting payments later. Exclusive content is wrapped in `{{% exclusive %}}` and `{{% /exclusive %}}`. Additionally, the lock and unlock messages are freely customizable. 

Let me know in the comments if you have ideas of what else I could add to it!
React Native Firebase Authentication Tutorial
Tags: reactnative, react, tutorial, beginners
Published: 2020-05-21 12:34:12

Using React Native Firebase with the Authentication module, we are able to perform application sign in with a number of methods, like SMS verification, social media, and more. In this tutorial, we check out how to set this up and do a few methods of signing in for your next mobile application.

{% youtube RrGtyfo1wr0 %}
<center>[Youtube: React Native Firebase Authentication](https://youtu.be/RrGtyfo1wr0)</center>

Tutorial includes:
* What React Native Firebase Authentication is
* How to install react native firebase authentication
* Setting up extra requirements for sign-in services with Firebase
* Performing a firebase auth anonymous login example
* Performing a react native login with email and password
* Performing a google sign in using firebase
* Performing a phone verification login with verification code sign in

For more information on details on RNFirebase:
https://rnfirebase.io/

For more details on authentication on RNFirebase:
https://rnfirebase.io/auth/usage

## 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/adrian_twarog)

## Want to see more:
I will try to post new great content every day. Here are the latest items:
* [Adobe XD to Fully Responsive WordPress Site](https://dev.to/adriantwarog/adobe-xd-to-fully-responsive-wordpress-site-16e0)
* [Adobe XD to HTML Full Process](https://dev.to/adriantwarog/adobe-xd-to-html-full-process-ao6)
* [Full Tutorial on how to use SASS to improve your CSS](https://dev.to/adriantwarog/full-tutorial-on-how-to-use-sass-to-improve-your-css-57on)
* [Creating a Mobile Design and Developing it](https://dev.to/adriantwarog/creating-a-mobile-design-and-developing-it-5c4o)
Is Node.js still relevant?
Tags: javascript, node, deno
Published: 2020-05-21 12:00:50


---
title: Is Node.js still relevant?
published: true
description: My two cents on the whole Node-Deno debate, and what would be the fate of Node.js in a world of Deno be. Feel free to disagree.
tags: javascript, nodejs, deno
---

Here's a talk back from JSConf 2018 that got me intrigued - [10 Things I Regret About Node.js - Ryan Dahl - JSConf EU](https://www.youtube.com/watch?v=M3BM9TB-8yA) where Ryan Dahl is discussing his reasons of abandoning the whole Node.js project. And truth be told, this was the first time I came to know that - the stack that I have chosen to adopt professionally was already a foundling long before I knew about it.

###  Background
Ryan Dahl (creator of the original Node.js runtime) lost his faith in the Node project upon realization that the things aren't what he initially thought them to be when he laid it's foundation in '09. Here he's discussing some of those thoughts and regrets. things that could have been done better, but now it's far too late and community is already thriving on one man's mistakes.
### What Now?
After breaking off his strings from Node, Ryan started working on a new runtime all the while building upon his learnings from the poor design decisions in Node and taking care of all past shortcomings. And it's in this very video that he reveals a prototype for that - [Deno](https://deno.land). Now Deno was initially released back in 2018, but the first [stable release](https://github.com/denoland/deno) came out just few days ago (May 13) and it's already turning heads in the community. Unlike Node which is in C++, it was initially written in Go, but soon replaced with Rust due to concerns over double runtime and garbage-collection pressure.
### Deno v. Node
- Uses ES Module as the default module system, instead of CommonJS
- Uses URLs for loading local or remote dependencies, similar to browsers
- Includes a built-in package manager for resource fetching, thus no need for NPM
- Supports TypeScript out of the box, using a snapshotted TypeScript compiler with caching mechanisms
- Aims better compatibility with browsers with a wide range of Web API
- Allows control to file system and network access in order to run sand-boxed code
- Redesigns API to utilize Promises, ES6 and TypeScript features
- Minimizes core API size, while providing a large standard library with no external dependencies
- Using message passing channels for invoking privileged system APIs and using bindings

While it's still early to say anything about Deno's efficacy in production and practicality in real-life applications, but we have an emerging player staring from the horizon ready to take on the future, and a foundling that appears to stand on a losing ground, but will not go down easy.
VimTrick: Quick Replacements
Tags: vim
Published: 2020-05-21 12:11:33

Everyone is aware that x deletes the character under your cursor. But if you’re making a lot of changes this way, you can quickly exact a severe toll on your x key. When changing chunks of text, your efficiency as well as your wear and tear on the keyboard can benefit greatly by using a few actions and motions:

* `dtc` - delete to the next c
* `ci}` - change inside the curly braces
* `cf,` - change forward to and include the comma
* `di”` - delete inside the quotes. This does not delete the quotes.
* `ya’` - yank around single quotes. This includes the quotes. (The yanked value can be pasted with p. Try using the clipboard register to paste somewhere else!)

Some obvious mnemonics emerge: `d` for delete and `c` for change. The difference between change and delete is simple: Change drops you into insert mode, ready to type replacement text. Delete leaves you in normal mode, so you can perform another edit.

There are tons of combinations you can make from these. We've got a short demo screencast over on our [VimTricks post](https://vimtricks.substack.com/p/vimtrick-quick-replacements).
A real deno app: Pagic
Tags: deno, node, javascript, typescript
Published: 2020-05-21 12:09:10

The easiest way to generate static html page from markdown, built with Deno! 🦕

- [GitHub](https://github.com/xcatliu/pagic)

## Features

- Markdown + Layout => HTML
- React component as a page
- Copy static files
- Sub pages and layouts
- Front matter

## Getting started

### Installation

```bash
# Install deno https://deno.land/#installation
curl -fsSL https://deno.land/x/install/install.sh | sh
# Install pagic
deno install --unstable --allow-read --allow-write --allow-net https://raw.githubusercontent.com/xcatliu/pagic/master/pagic.ts
```

### Markdown + Layout => HTML

Let's say we have a project like this:

```
docs/
├── public/
└── src/
    ├── _layout.tsx
    └── index.md
```

The `src/_layout.tsx` is a simple react component:

```tsx
// @deno-types="https://deno.land/x/types/react/v16.13.1/react.d.ts"
import React from 'https://dev.jspm.io/react@16.13.1';
import { PagicLayout } from 'https://raw.githubusercontent.com/xcatliu/pagic/master/pagic.ts';

const Layout: PagicLayout = ({ title, content }) => (
  <html>
    <head>
      <title>{title}</title>
      <meta charSet="utf-8" />
    </head>
    <body>{content}</body>
  </html>
);

export default Layout;
```

The `src/index.md` is a simple markdown file:

```md
# Pagic

The easiest way to generate static html page from markdown, built with Deno! 🦕
```

Then run:

```bash
pagic build
```

We'll get an `index.html` file in `public` directory:

```
docs/
├── public/
|   └── index.html
└── src/
    ├── _layout.tsx
    └── index.md
```

The content should be:

```html
<html>
  <head>
    <title>Pagic</title>
    <meta charset="utf-8" />
  </head>
  <body>
    <article>
      <h1 id="pagic">Pagic</h1>
      <p>The easiest way to generate static html page from markdown, built with Deno! 🦕</p>
    </article>
  </body>
</html>
```

Other features please see [GitHub](https://github.com/xcatliu/pagic)