teleren/devto huggingface dataset:
Daily Developer Jokes - Thursday, May 21, 2020
Tags: jokes, dailydeveloperjokes
Published: 2020-05-21 12:00:18

---
title: "Daily Developer Jokes - Thursday, May 21, 2020"
description: "Check out today's daily developer joke! (a project by Fred Adams at xtrp.io)"
series: "Daily Developer Jokes"
cover_image: "https://private.xtrp.io/projects/DailyDeveloperJokes/thumbnail_generator/?date=Thursday%2C%20May%2021%2C%202020"
published: true
tags: #jokes, #dailydeveloperjokes
---

Generated by Daily Developer Jokes, a project by [Fred Adams](https://xtrp.io/) ([@xtrp](https://dev.to/xtrp) on DEV)

___Read about Daily Developer Jokes on [this blog post](https://xtrp.io/blog/2020/01/12/daily-jokes-bot-release/), and check out the [Daily Developer Jokes Website](https://dailydeveloperjokes.github.io/).___
### Today's Joke is...
![Joke Image](https://private.xtrp.io/projects/DailyDeveloperJokes/public_image_server/images/5e12594d2dedc.png)

---
*Have a joke idea for a future post? Email ___[xtrp@xtrp.io](mailto:xtrp@xtrp.io)___ with your suggestions!*

*This joke comes from [Dad-Jokes GitHub Repo by Wes Bos](https://github.com/wesbos/dad-jokes) (thank you!), whose owner has given me permission to use this joke with credit.*

<!-- 
Joke text:
___Q:___ Why can't SQL and NoSQL Developers date one other?

___A:___ Because they don't agree on relationships.
 -->
Machine Learning Project
Tags: machinelearning, python, project
Published: 2020-05-21 11:50:20

I have always wanted to do a project using Machine Learning but didn't know where to begin. I seeked help from one of my professors who gladly took me under her and became my guide for a ML project. The topic of the project was "Cyberbullying Detection on Twitter against various personalities and hateful topics".

I used Twitter API to fetch tweets by creating an application in Twitter developers. The tweets collected were targeted by famous personalities or had to have some hateful topics. I worked only on Hinglish data.

I identified the sentiments of English and Hindi words/pharases. The tweets were then classified as bullying or non bullying based on sentiments. Then, I manually classified all the bullying tweets into direct or indirect bullying.

Once the training set was ready, I employed various machine learning, deep learning and hybrid algorithms to my datasets. I analysed the performance of each algorithm using metrics like Accuracy, Precision, Recall, F1 score and ROC AUC. I chose accuracy and ROC-AUC to identify the best performing algorithms.
I also calculated the credibility of twitter users by using a set of twelve rules mentioned in the research paper [1].

It was a research based project and as a beginner of Python at the time, my skills definitely improved. I also came to understand various machine learning and Natural Language Processing concepts. 

References:
[1] Geetika Sarna and M.P.S. Bhatia, “Content based approach to find the credibility of user in social networks: an application of cyberbullying,” International Journal of Machine Learning and Cybernetics, Vol. 8, Issue 2, pp. 677 – 89, 1 April, 2017.
React development setup with just a single file!
Tags: react, javascript, webdev
Published: 2020-05-21 11:48:59

Hi There!

Do you think that the title of this article is a click-bait and that this cannot be actually true? 🤷🏽‍♂️

Well, I used to think the same until a few days back. But then I got to know it is not the case at all. We can develop and code **hacky, small-scale** react applications without the need for **create-react-app** or even **webpack** for that matter.

All you need is a **single html** file! 

####Here are the contents of that file:
```
<!doctype html>

<html lang="en">
<head>
  <meta charset="utf-8">
  <title>single page react boilerplate</title>
  <meta name="description" content="The HTML5 Herald">
  <meta name="author" content="kokaneka">
</head>

<body>
  <div id="place-app"> </div>
  <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
  <script src="https://unpkg.com/react@16/umd/react.development.js" crossorigin></script>
  <script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js" crossorigin></script>
  <script type="text/babel">
    var App = (props) => {
            return (
                <div >
                    Hello Universe!
                </div>
            );
        };
        ReactDOM.render(
            App(),
            document.getElementById('place-app')
        );
  </script>
</body>
</html>
```
And that's it! Using the above file, you can play around with React however you like and open the html file in your browser to view the UI. 

Here are the details about the magic happening in this *setup*
- We are using **CDN** links to import **react** and *react-DOM*
- We are doing the same for babel. 
- Write the React component inside of the **<script>** tag and render in the place of a placeholder div by using **getElementById**!

And that's it. Let your react development Journey continue. If you liked that, check out some other stuff you might find interesting:
{% link https://dev.to/comscience/embed-your-dev-to-posts-anywhere-3m23 %}

Cheers!
Numerical Library in Typescript
Tags: typescript, math, numerical, npm
Published: 2020-05-21 11:09:37

I recently discovered typescript after working a lot with Scala, Python and JS. I found it to be the perfect compromise between heavy statically typed languages like Scala and convenient, fast but dynamically typed languages like JS.

Typescript is a superset of Javascript and what makes it very appealing to me is that its community is growing and big players (Microsoft) are strongly supporting it (Visual Studio Code, etc). 

Something that is less spoken of but that I find very interesting and promising is that it could potentially compile to other languages (see for instance https://github.com/AssemblyScript/assemblyscript, even if technically it is not typescript).

At the light of the above I was interested to see if there was a simple numerical library that would allow me to do basic Linear algebra, some statistics, etc. (a Python Numpy equivalent I guess). And while there are a few libraries, most of them are actually JS libraries that were then made compatible for TS.

So in these days of confinement, I thought I would give it a go.

The library now exists:
https://github.com/Nexysweb/math-ts
https://www.npmjs.com/package/@nexys/math-ts

It covers most of the math stuff that I need for most projects, for example, in no particular order:
Math:
- linear algebra
- complex numbers
- numerical integration
- series

Stat:
- regression
- anova

Finance:
- mortgage calculation

I would be more than happy to get feedbacks, or better,  PRs...!
Building a coding interview platform from scratch. Choosing a hosting platform.
Published: 2020-05-21 11:20:21

Hi folks! 👋

In this post, I'll walk you through how I picked a hosting platform for my coding interview SaaS.

When I need to make a choice regarding a particular technology, I start by asking myself: "What have I already used that will also work here?".

This time I needed something that can run code in the cloud and can provide a fast feedback loop between writing and deploying code.

# 🔥 Option 1: Firebase
I started with Firebase. I already used it in the past, and it looked like the right candidate. Firebase has [Cloud Functions](https://firebase.google.com/docs/functions), and at first glance, it seems reasonable enough. 

However, one thing I didn't like. Although it has a local simulator, I felt I still needed a way to quickly have every changeset available in the cloud while having the production version unaffected. Unfortunately, I didn't find an out-of-the-box way of doing this in Firebase. One option could be having a separate staging account, but it felt like too much hassle and not enough flexibility.

# ▲ Option 2: Vercel
Moving on to another option, I tried in the past - [Vercel (former Zeit)](https://vercel.com/). At first glance, it might feel that this platform limits you in how you're supposed to build stuff. However, I didn't really find it too annoying. I was ok to write code in Javascript, and they have decent support for it. But going back to the deployment problem from above, Vercel solves quite elegantly. In fact, it's their value proposition: "Vercel: Develop. Preview. Ship.". First, they got integrations with all major Git platforms. And second, they provision a new deployment on each git push. And that's what I needed. So, long story short, this was my choice.

# 🤔 What about other platforms?
There are Netlify, Heroku, and others. Simple answer - I found something that solves my problem well enough, and I didn't want to waste any more time playing around with other toys. 

In the next post, I'll share with you what I landed with as a data store.

# ☝️ One last thing
I share more behind-the-scenes including financial aspects of my SaaS on [my Twitter](https://twitter.com/fenskexyz). Don't hesitate to give it a look! 💫

Stay curious! ✌️
Adiutorium
Tags: reactjsethereum3boxweb3js
Published: 2020-05-21 11:18:40

---
title: Adiutorium
published: true
description: Decentralised fund raising platform built on Ethereum
tags: reactJs ethereum 3BOX web3JS
---
Auditorium lets you donate to a charity without worrying about how your money is spent. We are partnering with organisations to ensure that your money is only spent on verified merchants.
You can event start to raise money for your own cause in 3 easy steps. Auditorium is the first fully decentralised platform powered by Ethereum , Maker Dao and 3Box so all your information is stored securely

Link: https://adiutorium.netlify.app
Any good project that's not a web
Tags: learntocode, project
Published: 2020-05-21 11:01:21

Most of time I develop a web as a project and it's getting more boring. Even challenging project doesn't seem to be interesting now. By the way, I know other language such as Rust, Python and Go but I don't know what to program now. Feel free to recommend anything. I wish this post to be useful for everyone.
My Experience Working Remotely From Home
Tags: career, remote, workstations
Published: 2020-05-21 10:58:11

Well I am Ahmed bankole and I have been working remotely for a year now at a tech firm in USA where they are into development of web applications and the journey has been interesting and somehow tough.
It all started when I got the role as a software engineer at the company. They introduced me to their codebase and how they worked and was given a timezone to work.Due to difference in time zone, I had to  contribute at least 5hrs a day.Anytime we had a discussion, the developers there  will host a zoom meeting where I attend and they all discuss the products they are all working on including some other work related issues on the meeting.
The first day on the job ,I was very excited because it was a big time role and I felt that this will be a boost on my career.I received a mail from the company that contains a PDF which held all the information and details of the company and what they are into.

After time ,I set up my development environment so i can contribute to our company products.It was very tough because their codebase was messy and I didn't know where to start from so I painstakingly took my time debugging and fixing the codes including making the code understandable.
6 months later,it got to a time when things were not in order and there were different complaints from most of our clients who purchased our products and the boss started complaining to the developers including me why are this things happening? It almost got to the time I was nearly fired during this mishap but we managed to go past it and things were like how it was before.
Why don't you share yours
How I can specify a branch of my library's repo generated by git-flow as composer requirement
Tags: help, php, composer
Published: 2020-05-21 10:45:25

I try to use a feature branch of my team's library to the `composer.json`. Each feature branch is named via git flow therefore they start with `feature/`.

So as I ask in https://stackoverflow.com/q/61932581/4706711 how I can specify the feature branch on my `composer.json` in order to test the library's functionality?
Augmented Reality...but for restaurants!?
Tags: octograd2020
Published: 2020-05-21 10:43:38

## My journey into the illustrious world of programming!
Prior to university, I had no real experience with programming. I had heard all about it, seen it even (thanks to some very intelligent family members!) but had no idea what was in store for me. In 2016, I decided to take up a Computer Science university course and I'm happy to admit it's been an amazing time for me. I've gained a huge range of skills but really wanted to really go for something unique and new for my university dissertation. 

Although I had no experience with Augmented Reality, nor Unity or even C#, I took the plunge. Initially, I spent very little time coding and a LOT of time debugging, but eventually, things got better. I began understanding set syntax and jargon and got into the creative flow of things. I'm proud to admit my struggles led me to where I am now, a soon to be computer science graduate with a dissertation I'm proud of! 
## Meet Foodify, a mobile Augmented Reality menu alternative for restaurants
{% github aquahamzah/ARProject %}

I started building Foodify under strict university deadlines (after all, you only have so much time in your final year!) using Google's ARCore SDK, C# and the Unity Game Engine. Whilst the project still has a long way to go (both in terms of functionality and appearance) it's time for me to stop being so critical on myself!. A lot of students suffer from imposter syndrome and often think their projects or work are never quite good enough. I've felt the same way for a while, but it's time to let the world see some of my creativity and passion :) 

I plan on taking Foodify further, implementing a back-end system to allow for user logins and admin control. I'd also love to branch out and speak with local restaurant owners who may want to replace their potentially outdated paper-based systems with something new, that will allow their customers to have an experience they won't ever forget.

If you want to reach out to me to discuss how I developed the application or see any future updates, feel free to follow me on [Github](https://github.com/aquahamzah) or reach out to me on [LinkedIn](https://www.linkedin.com/in/hamzah-malik-a00802130/), I'm active on both (a little too active...).
JSON not parsing &139; , &quot; and many more
Tags: javascript, html, webdev, css
Published: 2020-05-21 10:37:43

Hey guys, I have been working on my very first APIs project and in that project I'm making a "QUIZ APP", where from an API. I have been taking 10 question and giving them multiple choices and at end they will be getting scored. I'm using NODE.JS, EXPRESS, REQUEST, EJS for the app.

The problem comes here when i get a string from API. I change it to an object using JSON.parse() and sending it to EJS files and then displayed. but when their are symbols in question like ", ' , and more they are displayed as &139; , &quot; like that.


                              HOW DO I FIX THAT.
A thanks to my 3000 followers
Tags: watercooler, wordpress, webdev
Published: 2020-05-21 10:23:47

---
title: A thanks to my 3000 followers
published: true
description: A thanks to my 3000 followers
cover_image: https://since1979.dev/wp-content/uploads/2020/05/thank-you-dev.jpg
tags: watercooler, wordpress, webdev 
---

Looking back 1,5 years ago i didn’t think anyone would want to listen to a almost 40 year old dev rambling on about WordPress. I don't mean to talk down on myself here, but to be fair... i sense Php and WordPress, while being relatively dominant in usage, isn’t the cool and hip thing to learn and experiment with in 2020. Something i really disagree with btw.

I started blogging mainly for myself because writing and attempting to explain something to someone else is one of the best ways i know to solidify you own knowledge. Something i can recommend any developer to do. And to be honest i really really really suck at open source development, so this is my way of giving back to the community i learned so much from myself. 

Of course any blog post is worth the effort if only a single other person reads it and learns something they didn’t know before. But I’m only human, and seeing more then one person taking an interest is a good feeling.

So in my mind I set a little personal goal to reach 3000 followers in 2020. And just shy of 6 months in, you all have helped me to reach that milestone.

So i just want to say I'm humbled and thank you all so much for following and supporting my efforts to help out fellow WordPress/Web developers.

If you are considering blogging your self, i want to say "go for it" you will learn so much by doing so, and you will for sure help out someone struggling with the thing you write about.
 
I would also love to connect on twitter so come and find me at [@Vanaf1979](https://twitter.com/Vanaf1979) :)
 
Again, thank you for supporting me. You are amazing.

Cheers, ans stay safe,
 
Stephan.
Web Scraping
Published: 2020-05-21 10:11:08

There is a huge amount of data over the internet that can be fetched according to the requirement using python libraries. 
I have written a Python script to scrap job hosting in monster.com, you can scrap any type of website according to your need but just make sure of all the privacy policies of the website.

Refer this for better understanding {% github https://github.com/jinia-konar/Web-Scraping %}
Maintaining business continuity with Agency Management System
Tags: insuretech, insuranceagent, startup
Published: 2020-05-21 10:10:23

The Coronavirus ( COVID-19) has changed the world in more ways than before. People across the world are fighting against this deadly virus which has brought the entire world to a halt.

Maintaining a business is however a challenging task at this time. The economy is on the verge of getting collapse. Where a lot of companies across every sector has been reported a downfall.

Business owners and decision-makers in the Insurance space should lookout for an alternate tool that can help them retain their business goals at this time as well.

[Agency Management System](https://www.insuredmine.com/blog/agency-management-system/) is one tool that every insurance agent or agencies look for,

Plan – “ams360″ The strategy is rooted in empowering sales, engagement, and analytics.

” Prospect Foresight”- Creating sales nodes based on powerful networking fora.

Platform – A unified Insurance Agency Software

This Insurance Agency Management System connects to your factor’s triggering flashpoints. Each of the integrated business functions shows up in just 3 simple clicks. Discover more about the range of uniquely designed, highly customizable platforms.

Marketing Automation: 

Multiple high-level data distribution and procurement functions are automatically managed through this technology. It is an effective medium for marketing across numerous channels (such as social media, websites, emails, blogs, messaging, etc.) and automating the related recurring tasks.

Customer relation management: 

CRM in insurance from Insuredmine facilitates your business to communicate better with existing or prospective B2B and B2C clients. Featuring a personalized UI(User Interface), simple 3 click accessibility for every operation, and monitoring analytics of all customer-related data in a single login.
PHÁT TRIỂN WEB BẰNG LẬP TRÌNH WEB PHP VÀ MYSQL
Published: 2020-05-21 10:07:13

Lập trình web PHP và MySQL đã trở thành những công cụ phát triển tốt nhất. Khi được phát triển chính xác, các ứng dụng có thể được xây dựng với khả năng sử dụng đơn giản và sạch sẽ, chức năng phức tạp, tốc độ, sức mạnh và khả năng mở rộng cho phát triển ứng dụng web và có thể được nhúng trong HTML. 
http://24htechtrend.com/index.php/lap-trinh-web-php-va-mysql/
WebAssembly, not only for browsers
Tags: webassembly, rust, wasi
Published: 2020-05-21 10:03:59

Two great talks about WebAssembly, Rust, and WASI. Really recommend checking out.

* [Bringing WebAssembly outside the web with WASI](https://www.youtube.com/watch?v=fh9WXPu0hw8)
* [Rust, WebAssembly, and the future of Serverless ](https://www.youtube.com/watch?v=CMB6AlE1QuI)


WASI (WebAssembly System Interface) provides a standard for interacting with OS-type facilities via system calls and the like. It is essentially about being able to run WASM anywhere, including on a desktop or server, not just the browser. Sooort of like node.js is for JavaScript but it works with any language that compiles to WASM. That is pretty much every language you might use except Haskell.

I think WASM and WASI are the future and can and should replace node.js entirely. You can write code in (almost) any language and run it in the browser or on desktop/server/backend. Just like node, only not limited to JS. The isolation capabilities of WASI make it suitable for some applications where one might otherwise use docker.
Why should you invest in performance testing?
Tags: performancetesting
Published: 2020-05-21 10:03:44

Performance testing assists in checking the conduct of an application across different circumstances. A framework can work viably with a specific number of simultaneous clients however may get broken with extra thousands during top traffic. Execution tests help set up speed, versatility, and dependability of the product application. There are shifted sorts of execution tests that recreate different conceivable client situations and comprehend the conduct of the applications. 

Performance testing doesn't really show deserts with an application. It needs to guarantee that the application proceeds true to form regardless of the system vacillations, transmission capacity accessibility, or the heap of traffic. It is for all intents and purposes a subset of the more extensive efficiency tuning picture, focussing on execution issues in the plan and design of a product. In this way, structuring and performing these tests are basic for guaranteeing the soundness of the site.

There are some key reasons why it is basic for endeavors/organizations to put resources into performance testing. The <a href="https://www.testingxperts.com/services/performance-testing/ca-en">automation of performance tests</a> increases the value of the application testing process. There are different tools that are being utilized to weigh various parts of the application – including authorized and open-source devices.

1. Engage Customers With Better Website Speed
2. The Faster the Website, the More Revenue It Will Generate
3. Resolve Bugs Before It Goes to the Market
4. Enhance the Application’s strength
5. Support Market Claims
6. Enhance Scalability