teleren/devto huggingface dataset:
Do people like Javascript?
Tags: javascript, typescript, developers, community
Published: 2020-04-02 01:37:53

# Do people like Javascript?

**TL;DR:** I don't know... Some of them.

In some Facebook groups about programming that I'm part of _(yeah, I’m still on that)_, beginners post a lot asking for guidance of where to start or _“What’s better, language X or Y?“_. After a couple of years of trying to help, I've noticed one thing about others' responses that motivated me to write this: **people frequently mock Javascript**, saying it's *bad.*

It’s no secret that  **Javascript is, in fact, very popular**. It’s popular on Github, it’s popular on universities and it’s been a couple of months since I’ve seen a job offer that didn’t require Javascript in some way. So, why all that hate I see?

[![image.png](https://i.postimg.cc/43jyXn7r/image.png)](https://postimg.cc/Z9F4cbLc)
_Screenshot from Wat presentation_

Always backed up with some code executions like the ones from [Wat](https://www.destroyallsoftware.com/talks/wat), those blame JS for its weak typing. Sometimes also for [IEEE754](https://medium.com/better-programming/why-is-0-1-0-2-not-equal-to-0-3-in-most-programming-languages-99432310d476). I assume that this could be challenging for who's starting to learn, but, come on: *hardly.* Especially on **the age of Typescript**.

What I see is some experienced but conservative programmers, who might've spent the last 10 years of their lives coding on a platform that doesn't change, and feel like in hell with the crazy forever-changing ecosystem. Some of them are truly bothered by the unstable state of technologies, and some of them are just afraid of being left out of the buzz. 

But **I like Javascript and its ecosystem I lot**. I enjoy seeing different people trying to solve problems in so many different ways that I can't keep up with them... And, lastly, **I love how easy it is to create things today**. Tools like [Firebase](http://firebase.google.com/), [React](http://reactjs.org/) and [Gatsby.js](https://www.gatsbyjs.org/) create an amazing empowerment experience for those who aren't software engineers but can create maybe not *enterprisey* apps but **useful apps.** Help their communities, their parent's store and so on. 

I don't know about you, but, from the products I've developed until now, the ones I'm most proud of **are not those with great technical challenges.** In fact, it's the CRUD PWA for handling payments on a closed event of a group of mine; the simple report generator used on my dad's shop; a simple browser extensions for my college's system.

The Javascript community has **almost every library possible on the world** and the Web is each day more integrated with native systems, [it's truly amazing what the web can do today!](https://whatwebcando.today/)

Amazing design and modern programming languages are great, I know, but, IMO, the majority of people don't care all that much about it. It's only about how fast you can deliver useful things.
What I'm doing in this WEIRD times?
Tags: react
Published: 2020-04-02 01:25:35

I'm working on a web app about COVID-19 called COVEGY.
It should have like a dashboard or analytics, the latest news about the coronavirus worldwide, a story about this virus and how to protect ourselves from it, etc.

# What technologies I'm using (For Now)
### Front-End
- For creating the UI I will choose [ReactJs](http://reactjs.org/) and gonna use it's boilerplate [create-react-app](https://github.com/facebook/create-react-app) by Facebook.
- For the Styling, I always style using CSS but now I will try [Sass](https://sass-lang.com/)

### Visualizing my data
- [Chart.js](https://www.chartjs.org/) for displaying the charts obviously 
- [Leaflet](https://leafletjs.com/) for displaying the Map, It's an open-source JavaScript library
for mobile-friendly interactive maps

### Deployment
 I 'm gonna use [Netlify](https://www.netlify.com), It's free, easy to use and most importantly Fast.
<hr />
# Where to get the data for the dashboard
 There is a lot of sources out there but I will choose this API [coronatracker](https://api.coronatracker.com/#)
<hr />
# Obstacles (Bugs)
- I never made a website that content had to be connected on multiple pages, I made a lot of multi-pages websites like the home page, the about page and so on but now in this web and in my blog I have to divide the news or posts into multiple pages like every page have 5 posts, so I read about it and found that I will make the URL take a parameter I think (I don't remember what does it call exactly) but it will be after the URL "?" a question mark with the page number something like this (www.covegy.netlify.com/news?page=3) OR like this (www.covegy.netlify.com/news/page/3), SO if anyone knows what should I do please let me know in the comments. (Just to know, I'm using react-router)
- The Design I'm not a designer and I don't want my design to be normal, So I opened a lot of design websites and I knew what I want to my web be like but when I opened adobeXD I couldn't do it so I made a simple design.
<hr />
So that's it for now, if you have any ideas or questions about this web let me know in the comments

**Thanks for reading, I really appreciate it**
Day 107 : Ooh LA LA
Tags: hiphop, code, coding, lifelongdev
Published: 2020-04-02 01:00:30

_liner notes_:
- Professional : Started the day off with a few meetings and presentations. After that, I focused on finishing up rewriting the tutorial and reformatting the code that goes along with it. Took a while, but I got it done! haha Did my pull request and waiting for everything to be reviewed.

- Personal : Went through some tracks for this week's radio show last night. Also, while working on the admin section for my side project, I ran into some issues with the phone verification saying that it was blocking my phone number because of unusual behavior. Decided just to go with a regular username / password. It's a lot simpler to implement. I was able to pull some information from the database.

![Overhead view of a beach in Kelingking Beach, Indonesia](https://dev-to-uploads.s3.amazonaws.com/i/urhj3b7btxa62z0cy8on.png)

Going to go through more tracks for the show. I want to start also get data showing up on the admin section and save data to the database. Using Svelte. Ooh LA LA! haha

Have a great night!

peace piece
Dwane / conshus
https://dwane.io / https://HIPHOPandCODE.com
{% youtube 1C4zAbTA-QM %}
Ubuntu Lumina - Devlog 2 (April 1st, 2020)
Published: 2020-04-02 00:14:14

So after the re-install of my OS, I kept a little bit of space for an LFS project I wanted to do during either April or May. About a day or two later (today) I found out this is enough system for the mini.iso to fit (even a full ISO with limitations). What does this mean? Well, in short, the Lumina-Remix will be closer to release, and I could get an ISO within days of the 20.04 release. Now that isn't the coolest thing to happen. That has a lot of *extra* work I need to deal with but nothing impossible. No the coolest thing to happen today is that Ubuntu Lumina is getting a website!! The domain has been bought and our technological partners (as we call them as they expect no payment for this, as far as I have been alerted at least). The people at ItsFoss have recently helped us out with buying and hosting [ubuntulumina.org](http://ubuntulumina.org). At this moment it is still connected to the Namecheap Parking Page, but the ItsFoss co-founder has been working with me to set this up, and I seriously cannot thank him enough. I will mention it on the page, but he bought the domain, he is setting up the hosting and is setting up the Wordpress and SSL. If you don't know who they are, visit [the ItsFoss](https://itsfoss.com/) website. I seriously cannot thank them enough.
Why beginners should take coding notes
Tags: beginners, codenewbie
Published: 2020-04-01 20:53:41

## Why Take Coding Notes?

If you're looking to improve as a developer, you should consider taking notes to help solidify your understanding of new and challenging material. In any other field, we expect that professionals are focused on constant improvement. However in software development, it is often considered unnecessary to take notes.

There are three primary types of coding notes that you will want to be taking. Depending on your experience, you'll lean towards one in particular.

However, it's best to get in the habit of writing notes for all the note types!

1) Some code syntax that you have trouble remembering, or have learned for the first time.
2) A new concept that you learned.
3) An error message that took you more than a simple google search to solve.

While each note type is good for learning, there is a hidden power in capturing all three. When you do, you stop relying on your brain as the "Single Source of Truth" for your coding knowledge.

Imagine if I asked you for how you solved a tricky exception from a year ago. You likely wouldn't remember it. Even if you did, you probably don't remember the hours of exploring you did to come to that solution. Developers solve dozens of problems per day. The human brain isn't suited for remembering this data.

When you capture coding notes, you are able to let yourself forget.

The human brain is horrible at multi-tasking. When developing, your main goal is to keep focused on your code. By taking these notes, you follow a simple pattern of:

* Get stuck
* Find solution
* Record it
* Move on

There's no anxiety over if it's fully memorized, or even if you fully understand it. You have confidence that anything tricky is fully accessible whenever you need it. Having that promise improves the developer experience when you're working on a project.


If the ability to keep the code you're working on as the primary focus sounds good to you, check out my full post on the subject, which includes examples of notes and a detailed guide to implementing code notes into your workflow:

https://codernotes.io/blog/how-to-take-coding-notes
Dolt is Git For Data
Tags: git, sql, database
Published: 2020-04-01 23:54:55

[Dolt](https://github.com/liquidata-inc/dolt) is an open source SQL database with Git-style versioning. In Git the unit of versioning is files. In Dolt, the unit of versioning is SQL tables. Dolt will eventually support 100% of the Git command line and 100% of MySQL SQL. Moreover, anything you can do on the Git command line, you will be able to do via SQL. Right now, we're at about 90% coverage of the Git command line and SQL.

[DoltHub](https://www.dolthub.com/) is a place to share Dolt repositories. In the Git context, you clone, push, and pull from DoltHub as if it was a remote. Like GitHub, DoltHub is a central place to collaborate on Dolt data projects. You can create or find public data to work on. You can give read and write permissions to your Dolt repositories to other users. You can have them create pull requests to improve your data. In the future we imagine DoltHub issues and releases. We also expect to invent some new data-specific features.

Sound interesting? We think so. [This blog post is a guide to getting started](https://www.dolthub.com/blog/2020-02-03-dolt-and-dolthub-getting-started/).
Day 001 of #100DaysOfDesigning
Tags: 100daysofdesign, webdev, design
Published: 2020-04-01 23:29:57

Today, I am writing my first log on the First day of my **100 Days of Designing** challenge. I hope I will complete my this challenge and I will have a good amount of websites and start coding them as soon as possible.

I have created a list of few ideas on which I want to create few websites. Some ideas includes small websites where I am focused on small topic and there are some ideas that focuses the full stack websites. I might not have 100 websites designed at the end of the challenge, But I will have enough design that can help me complete my next challenge: **100 Days of Code**.

Today, I have created a simple website that focuses on page loader. Design includes states of loader (at 0%, 50% and 100%). I have also designed the page that will be loaded to demonstrate the page loader and 404 Page for the website.

**Here is today's design:**
![Today's Design](https://dev-to-uploads.s3.amazonaws.com/i/ce3uatyaa06an4u3v3vr.png)

I tried using the Figma prototype to animate the loader but I faces some issues and I did not want to spent time in learning the tool rather than brain storming the cool ideas from my head to the canvas. I am sure I can figure out that during my free time.

**Here is the design on Figma**: https://www.figma.com/file/SiqZab3IYZEuItjkSji7Mu/001-Page-Loader?node-id=0%3A1

**Plan for Day 002**: Drag & Drop File Upload
Updating an AWS Lambda app to from .NET Core 2.1 to 3.1
Tags: webdev, dotnet, aws, serverless
Published: 2020-04-01 22:50:30

> This post has been archived and you can now find it on my personal blog at https://www.marcusturewicz.com/blog/updating-an-aws-lambda-app-to-from-dotnet-core-2-1-to-3-1.
"Zero boilerplate philosophy" - what frameworks / libraries / environments do you know?
Tags: discuss, javascript
Published: 2020-04-01 22:34:22

Hi developers,

I was just reading an article in a MagPi booklet about GPIOZero. The article mentioned how this nice Python library for physical computing got it's name. It was basically designed with "Zero boilerplate philosophy" in mind.

I actually liked that very much, because I thinks that "zero boilerplate" is an important ingredients for beginners to learn coding... but also for more advanced users to learn a new framework.

I think that having "zero-boilerplate" frameworks is sometimes more important than having "low-code" or "no-code" environments.

- What is your opinion?

- What other framework / libraries / environments do you know that embrace the "Zero boilerplate philosophy"


> When reading that article, I realized that [codeguppy.com](https://codeguppy.com) - the site that I'm using to show about coding to kids and teens is also following the same philosophy.

![](https://dev-to-uploads.s3.amazonaws.com/i/fis9ihzercag5oglc20d.gif)
Mitmproxy and android emulator
Tags: android
Published: 2020-03-31 22:11:13

---
title: Mitmproxy and android emulator
published: true
description: How to use mitmproxy with android emulator to analyze application HTTP(s) calls
tags: #android 
---

https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/

Using [mitmproxy](https://mitmproxy.org/), it's possible to analyze HTTP(s) communication made by an application running in android emulator.

# mitmproxy setup

To ease mitmproxy running, I'm using the following docker-compose.yml:

{% gist https://gist.github.com/ptisserand/2368f212087944d7d217b034c57e6758 %}

External mitmproxy docker volume needs to be created with the following command:
`$ docker volume create mitmproxy`

Once done, you can start mitmproxy:
`$ docker-compose up`


The mitmproxy web interface is available at [http://localhost:8081](http://localhost:8081)


Once started, mitmproxy will generate a certificate which you have to retrieve.
```bash
$ mkdir /tmp/mycert
$ pushd /tmp/mycert
$ docker run --rm -u $(id -u) -v $(pwd):/out -v mitmproxy:/in alpine cp /in/mitmproxy-ca-cert.cer /out
$ cp mitmproxy-ca-cert.cer $(openssl x509 -inform PEM -subject_hash_old -in mitmproxy-ca-cert.cer | head -1).0
```


# Android emulator setup

## Proxy settings
To use your mitmproxy, you need to configure proxy settings in android emulator
![Emulator Proxy Settings](https://dev-to-uploads.s3.amazonaws.com/i/b2cc4rw6wn41rj5291f7.png)

Once you have done this settings, you can't anymore browse HTTPS webpage:
![Invalid certificate](https://dev-to-uploads.s3.amazonaws.com/i/je71zgirgk6mg1zlhubn.png)

You need to install your generated mitmproxy certificate.

### Permanent certificate installation using ADB
Please note that permanent certificate installation could only be done with a NON google play images.
![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ssig5vrly6yd6o7sfv3c.png)

Use the following commands to copy certificate to emulator (replace **c8750f0d** by the **hashed name** of mitmproxy-ca-cert.cer
```bash
$ adb root
$ adb shell "mount -o rw,remount /"
$ adb push c8750f0d.0 /system/etc/security/cacerts
$ adb shell "chmod 664 /system/etc/security/cacerts/c8750f0d.0"
$ adb reboot
```
### Certificate installation on google play images
Once proxy is set, you need to go to **mitm.it**
![mitm.it](https://dev-to-uploads.s3.amazonaws.com/i/digxciifxse4t9p5ipmx.png)

And then click to install your certificate.

## After certificate is installed
You can browse HTTPS webpage:
![Dev.to valid](https://dev-to-uploads.s3.amazonaws.com/i/rvvz27213hpkz50xx2r6.png)

![Certificate viewer](https://dev-to-uploads.s3.amazonaws.com/i/ynh9951a4jsgka7x31xf.png)

And at [http://localhost:8081](http://localhost:8081), you will have all your HTTP requests:

![mitmproxy flows](https://dev-to-uploads.s3.amazonaws.com/i/z24o4zo4n7xwceczeltu.png)

For advanced usage, please refer to [mitmproxy homepage](https://mitmproxy.org/)
🔥🔥 Empezando a aprender programación? Aquí una lista de recursos.🔥🔥
Tags: code, principiante, dondeempezar, recursos
Published: 2020-04-01 21:35:02

---
title: 🔥🔥 Empezando a aprender programación? Aquí una lista de recursos.🔥🔥
published: true
description: Quiero aprender a programar pero No se por donde empezar?. Esa es la pregunta que quiero responder con esta publicación. 
tags: code, principiante, dondeEmpezar, recursos
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/sei9j7de2my5nwhfjxxq.png
---


### Quiero aprender a programar pero no sé por donde empezar, Que recursos o material me recomiendas ? Bueno, bueno aquí está una pequeña lista de recursos que yo personalmente use oh mejor dicho estoy usando para aprender python y recursos que use para aprender web development.

La persona que me hizo la pregunta, me dijo que su principal objetivo para aprender programación es para manejar datos y estadísticas.


 
### Que necesito para empezar?

Para aprender python es muy fácil y rápido hoy en día. Puedes usar el síguete website para empezar con un python sandbox.
[repl.it](https://repl.it/) No cuenta necesaria.


- Click en el botón "New Repl" localizado en la esquina izquierda. 
- Busca python en la caja de búsqueda.  
- click en "Create new"

Ahora que tenemos todos los recursos necesarios, sin instalación y los pasos complicados, que regularmente son una barrera muy alta cuando uno va empezando.

Puedes seguir los siguientes tutoriales, recuerda la mejor manera de aprender es escribir el código que está en los tutoriales en tu editor [repl.it](https://repl.it/) y hacer click en donde dice "run".


* [Hand on tutorial](https://www.programiz.com/python-programming)
*   [learn python tutorial](https://www.learnpython.org/)
*   [python Book](https://python.swaroopch.com/basics.html)

### videos
* [FreeCodeCamp ](https://www.youtube.com/watch?v=rfscVS0vtbw)
* [Traversy Media ](https://www.youtube.com/playlist?list=PLillGF-RfqbbJYRaNqeUzAb7QY-IqBKRx)

Estos recursos son más que suficiente para empezar y familiarizarse con el syntax de  python.

Pero si quieres aprender un lenguaje o algo relacionado con web development.

##### El donde escribo el código? aquí algunas alternativas.
- [Codepen](https://codepen.io/pen/)
- [glitch](https://glitch.com/edit)
- [repl.it](https://repl.it/)



##### Los siguientes tutoriales, el video playlist es más manos en el código y frecodecamp es más basado en pequeñas lecciones.

* [Traversy Media](https://www.youtube.com/user/TechGuyWeb/)
* [Freecodecamp](https://www.freecodecamp.org/learn/)

> Espero que esto sea de alguna ayuda, voy a anadir mas recursos en el futuro. Pero por ahora es mas que suficiente para mantenerte ocupado por las siguentes dos o tres semanas.
> Si tienen algun otro recurso que recomienden, preeriblemente gratuito.
Multer s3 File Name cant't save to my mongodb
Tags: node, react, devops, help
Published: 2020-04-01 21:30:02

app
  .route("/blog")
  .get((req, res) =>
    blog.find((err, data) => {
      if (!err) {
        res.send(data);
      } else {
        res.send(err);
      }
    })
  )
  .post( upload.array('photo',1), (req, res, next) => {
     
    const newBlog = new blog({
     
      blog_title: req.body.blog_title,
      blog_content: req.body.blog_content,
      photo: ******  
    });
    newBlog.save((err,data) => {
      if (data) {
          console.log("successfully added new articles")
          console.log(req.body)
          console.log(req.files)
        res.send(data);
      } else {
        res.send(err);
      }
    });
  });

I use Multer to post photo into the aws s3 it successfully post but i want to save post photo file name to my database. please help
🔥🔥 You're learning to code or want to- Here is my favorite resources.🔥🔥
Tags: code, beginners, wherestart, resources
Published: 2020-04-01 21:04:28

---
title: 🔥🔥 You're learning to code or want to- Here is my favorite resources.🔥🔥
published: true
description: I want to learn to code where should I start?. That is the question that I'm trying answer whit this post. 
tags: code, beginner,where-start,resources
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/sei9j7de2my5nwhfjxxq.png
---


### I want to learn to code but I don't know where to start, can you point me out what are your favorite resources ?

That is the question that help me collect all my favorite resources.

For the person that ask me this question, she said that she manage a lot of data and statistics. So this guide is more for python but you can use the resources as you please.

 
### Where and what I need ?

To learn python today is really easy. To start and to make it ease you can create a simple python environment in [repl.it](https://repl.it/) not accounts needed.

- Click in the top right corner "New Repl" 
- Search for python 
- Create new


Now that we have an environment online this help whit all the installation and other complicated stuffs, for a beginner.
 
You can fallow ONE or ALL of the fallowing tutorials.

* [Hand on tutorial](https://www.programiz.com/python-programming)
*   [learn python tutorial](https://www.learnpython.org/)
*   [python Book](https://python.swaroopch.com/basics.html)

### videos
* [FreeCodeCamp ](https://www.youtube.com/watch?v=rfscVS0vtbw)
* [Traversy Media ](https://www.youtube.com/playlist?list=PLillGF-RfqbbJYRaNqeUzAb7QY-IqBKRx)


These resources are enough for getting your basics clear and get a hold on the fundamentals of Python.

The fallowing resources are more for web development related.
The where:
- [Codepen](https://codepen.io/pen/)
- [glitch](https://glitch.com/edit)
- [repl.it](https://repl.it/)



What to fallow:

* [Traversy Media](https://www.youtube.com/user/TechGuyWeb/)
* [Freecodecamp](https://www.freecodecamp.org/learn/)

> Hope That help you get start it, I will add new resources in the future. But for now this is enough for a couple week material to learn.