teleren/devto huggingface dataset:
Free Code Camp - Scientific Computing with Python Certification Tips
Tags: python, beginners, career
Published: 2020-07-15 20:56:18

I recently completed **Free Code Camp’s Scientific Computing with Python** certification. This article talks about my experience with this certification along with the tips for completing it successfully.

<h3>How long it takes?</h3>
It took me about 3 days to complete this certification as I am already familiar with many Python concepts and have read <a href="https://www.py4e.com/book">Python for Everybody</a> book.  

<h3>Projects Review</h3>
As with many <a href="https://www.freecodecamp.org/learn">freeCodeCamp’s  certifications</a>, there are 5 projects in this certification as well. Many of these projects require developers to write code based on Object Oriented Programming concepts especially writing Classes in Python. So getting more comfortable with OOP concepts before attempting the certification projects would speed up the process. 

<h3>Certification Completion Tips</h3>

Here are some of the tips I use on a regular basis to complete these certification projects:

* **Local Environment** - I fork the projects and work with them in my local environment using my preferable Code Editor. As I am more comfortable with shortcuts and options in Code Editor, this results in faster development. Finally, I upload completed code to <a href="https://repl.it">REPL</a> when there are no failures in project’s test cases.
* **README.md Instructions** - Internalizing the instructions contained in `README.md` file before starting the project would save a lot of project development time. 
* **Run main.py Examples** - Besides unit test cases, all of the projects have sample usage for the problems on hand in `main.py` file. Attempting to run these individually would help understand issues with the newly written code before starting to satisfy project test cases. 
* **Enable Fewer Test Cases** - Writing just enough code to satisfy some of the  test cases at a time would motivate and help in detecting bugs early in the written code.
* **Troubleshooting Tests** - If there are test failures and not sure why the actual test results are not matching with the expected results, reading the expected results’ output in `test-module.py` file would help speed up the debugging process.

Hope these tips help you in successfully completing the certification projects!

Here is link to my certification:

https://www.freecodecamp.org/certification/dev0928/scientific-computing-with-python-v7
Burnout?
Tags: 100daystooffload
Published: 2020-07-15 20:55:57

It's funny – the more the nation tries to return to normal, the more of a disconnect I see between the attitudes portrayed in much of the news and the people I work with. As much as I hear about people going back to places, doing activities and seeing people for the first time in months, all I see is no end in sight. At least, not an end that I would recognise.

We've realised that we don't need to all go to an office to do our work, and a lot of us are quite pleased about that realisation, about the prospect of a new way to work and blend that more flexibly with the way we live. Unfortunately, I haven't yet worked out how to work remotely in a way that achieves those aims. And it's getting to me.

Absolutely not helping is the fact that I haven't had a break for over six months. We had some Bank Holidays, and I took every Thursday as leave for eight weeks, but I haven't had a week off, or seen my family, since Christmas. That's what I need to do, and hopefully I will do soon.

*I'm publishing this as part of 100 Days To Offload. You can join in yourself by visiting [https://100daystooffload.com](https://100daystooffload.com).*
#035 Kubernetes - Replicasets Lab
Tags: kubernetes, devops, tutorial
Published: 2020-07-15 20:53:36

# Introduction

this is part 35 from the journey it's a long journey(360 day) so go please check previous parts , and if you need to walk in the journey with me please make sure to follow because I may post more than once in 1 Day but surely I will post daily at least one 😍.

And I will cover lot of tools as we move on.
***

# Lab

![replica-yml](https://dev-to-uploads.s3.amazonaws.com/i/mc25amevulz2xnr1nwcg.jpg)

In last part we talk about what every part mean(go check it :) ).
Yaml have a specific conditions like : case sensitive , also don't use tabs use spaces to align them , I use vim he auto do those stuff for me . Also they are not order sensitive so you can define thing before another. It's like python if you work with it before it's block and aligned so when it start it should be in the same level where it ends so you should align every thing.
Template is the same from last pod lab .
![app_033](https://dev-to-uploads.s3.amazonaws.com/i/eg5h7w358q1wmu3s3azn.png)
we can see the template is the pod it self.
here replicas are 4 so it going to create four pods for us.

![pods](https://dev-to-uploads.s3.amazonaws.com/i/yq99u0fumjvy5h5ufu1x.png)

```bash
kubectl get pods
```
here our old pods , let's create our replicas.

![rep-create](https://dev-to-uploads.s3.amazonaws.com/i/xa9w4f3an2g54pr9a4bs.png)

```bash
kubectl create -f app_035.yml
```
now we have our replicas created here.
let's get the pods
![get2](https://dev-to-uploads.s3.amazonaws.com/i/in1pf50xkt4wbsk97rx1.png)
```bash
kubectl get pods
```
he generate 3 pods with random ID with it (ex: -2jxjd) , but wait we say 4 not 3! yes he take our old pod as 1 of them.
now let's delete them 3:)

![deleted](https://dev-to-uploads.s3.amazonaws.com/i/vain33smgfdutgj89yae.png)

```bash
kubectl delete pods first-api-dec myapp-replicaset-2jxjd myapp-replicaset-m4k2f myapp-replicaset-xqvmk
```
here maybe the names will vary for you so just copy paste them.
![immortal](https://dev-to-uploads.s3.amazonaws.com/i/nc5ls0uotvb5c1y8yhfn.png)
We can as soon we delete them the replicaset create new fresh pods for us, we can also see that the names are now different also there age is few seconds.
***
# Get replicasets

To get our created replicasets we use this command
![replicasets](https://dev-to-uploads.s3.amazonaws.com/i/au4k665wmf4v74duoj3v.png)
. Desired are what we specify in the yml file
. Current are the current pods created
. Ready are the pods ready to use
. Age is the age where the replica was created
Understanding Go Templates
Tags: go, tutorial, video
Published: 2020-07-15 20:53:00

{% youtube dWchPTi9Vc0 %}

Code can be found [here](https://gitlab.com/dak425/go-template-example)

Go actually has a template package in its standard library, which is pretty sweet. Normally, this is something you see in separate 3rd party libraries or included in full frameworks, such as Laravel or Rails.

Its very powerful too. In addition to injecting your data into templates, you can extend what you can do while processing the data passed into a template by passing in a map of functions.

I once used it to generate the approx. 150 data types that were listed in Mixer's API documentation. That saved me tons of time from writing boilerplate code.

Check it out and let me know what ya'll think. Any feedback is greatly appreciated.

If you liked it and want to know when I post more, be sure to [subscribe] (https://www.youtube.com/channel/UCTHij3Ac5GizLsn5yB4IX_Q?sub_confirmation=1) and thank ya'll again for your time!
Forgetting to "npm install" solved...
Tags: npm, node
Published: 2020-07-15 20:51:03

---
title: Forgetting to "npm install" solved...
published: true
description: Keeping your deps up to date when you build
tags: npm, node
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/osxn0v74il0pl9j0igey.jpg
---

Does this sound familiar?

```
$ git pull upstream master
$ npm run build

ERROR! ERROR! ERROR! ERROR!
```

5 to 15 minutes of searching and finally

```
$ npm install
$ npm run build
build complete
```

The dependencies changed, you didn't notice, and doh! Okay, maybe that only happens to me? 😊

Well, you can fix that with [`ld-check-dependencies`](https://www.npmjs.com/package/ld-check-dependencies). Just add it to your build script in your `package.json` as in

```
  ...
  "scripts": {
    "build": "ld-check-dependencies && rollup ..."
  },
  ...
```

Now when you build if your dependencies are out of date you'll get told to run `npm install`

The best part is `ld-check-dependencies` is tiny. It's only 9 lines of code, 0 dependencies.

<sub>[photo](https://www.flickr.com/photos/rikkis_refuge/417852540/in/photolist-CVB19-23yy9mP-7tvXnq-yH6zeh-88ajjg-aaG5fy-aaG5u3-aaDfMx-2fC8Cih-aaDg2a-6Nc2U5-4cBPUn-APXGL-akcjyG-KBhYrh-2eWvDdQ-QyWN5-6wf9X3-DjAUhY-wBGKb-6waXAB-7qiY5J-CxXcPy-6GsZNn-YyZXnb-VMEHRw-6waXxM-b8ihrP-JY2Esq-5RxZM-2cPtmLB-LXkbHK-apK3tG-533y9c-LJcyDA-2h8D7R4-21JLbaX-zVmx8v-dnwe8K-2cRot-z2vY47-2i7mp8R-2bPkvGr-29bL41A-bvWFYC-Le3Tbj-Kv52g6-MobcNj-2iSJTDd-2ehRrVk/) by: [Rikki's Refuge](https://www.flickr.com/photos/rikkis_refuge/)
Rocket.Chat Logger for Laravel
Tags: php, opensource
Published: 2020-07-15 20:36:10

If you are using Laravel and your team uses Rocket.Chat instead of Slack, give a try to my implementation of a Monolog Handler for logs in Rocket.Chat.

https://packagist.org/packages/sysvale/rocketchat-monolog-handler

It is ease to use and open source, fell free to fork it and customize.
Days 26-35
Tags: 100daysofcode
Published: 2020-07-15 20:33:34

# Days 26 - 35

## Day 26, July 5, 2020

**Python:** I did all the lessons on graphs and asymptotic notation. I began learning about recursion in Python.

**Color Design:** I decided to take a break from really "coding" and do Codecademy's course on color design. I only have access to pro features through July 24, so I figure I should get as much out of it as I can.

## Day 27, July 6, 2020

**Color Design:** I finished this course. It was pretty useful. I understand using colors in web design a bit better now.

**Python:** I started Codecademy's course on statistics in Python and did more recursion exercises.

## Day 28, July 7, 2020

**Python:** finished the recursion exercises. Started learning data analysis with Pandas.

## Day 29, July 8, 2020

**Python:** Did the exercises on function arguments. They were super helpful. Then began lessons on files in Python.

## Day 30, July 9, 2020

Finished the file exercises, thus finishing the Python 3 course!

## Day 31, July 10, 2020

Doing HTML/CSS projects on Codecademy.

## Day 32, July 11, 2020

Did some more HTML/CSS stuff on Codecademy. Did a really simple project of coding "99 Bottles of Beer on the Wall" in JS. I constantly forget the most obvious things, like calling the dang function!

## Day 33, July 12, 2020

Going back and forth between CSS and JavaScript lessons on fCC.

## Day 34, July 13, 2020

Did a bunch of CSS lessons on fCC, including ones about positioning, animation, accessibility and grids -- all things I need lots more work on, since I'm not great at them!

## Day 35, July 14, 2020

fCC Tribute Page project (https://codepen.io/ericaleff/full/dyGqNqV)

fCC Survey Form project (https://codepen.io/ericaleff/full/rNxZGjr)
Question:  Create a new class from existing classes.
Published: 2020-07-15 20:27:39

This sounds very simple but I have no clue in which direction to go... please advice.

here is an example:

Several classes will make my HTML element for example a button will look like this
```
<a class="color-red font-2x bg-black"> Button </a>
```
I want to take the CSS class names and write it in my CSS as below so I can add just one class name.
```
.myButton = { 
              .color-red
              .font-2x
              .bg-black 
             }
```
Now my HTML will look like this
```
<a class="myButton"> Button </a>
```
I'm creating new CSS Class using existing Class. How to do this?
Flat surface shader experiment
Tags: codepen
Published: 2020-07-15 20:21:51

<p>Playing with Flat Surface Shader script : <a href="http://wagerfield.github.io/flat-surface-shader/" target="_blank">http://wagerfield.github.io/flat-surface-shader/</a></p>

{% codepen https://codepen.io/wouwi/pen/Apvaq %}
Want to help cover #news on DEV?
Tags: news, meta, writing, programming
Published: 2020-07-15 20:08:22

---
title: Want to help cover #news on DEV?
published: true
description: Would you like to be a tag mod for #news on DEV? We're looking for folks who want to write about developer-focused news.
tags: news, meta, writing, programming
cover_image: https://dev-to-uploads.s3.amazonaws.com/i/2vuyi9lhz62v8ukcfw09.png
---
> _Update: Thanks to all those who have gotten in touch and are interested in helping with #news. I'm still working through logistics but will do my best to get back to you all soon. Regardless of whether or not you become a mod, I encourage all of you to help create more posts and comment on #news stories that you're interested in!_

In an effort to encourage more developer-focused news coverage and conversations in [#news](https://dev.to/t/news), we're looking to create a DEV news team.

The team will be made up of [tag moderators](https://dev.to/tag-moderation) who will help us to stay current by writing short news stories and conversation prompts around software development.

{% tag news %}

This group will have tag mod abilities so they can assist by keeping the news tag well-organized & on topic, as well as through promoting relevant & interesting dev news posts. But different from most tag mod expectations, we're particularly looking for folks who are prepared to write for this tag and lead by example — posting short newsworthy content and creating articles that will show onlookers [how](https://dev.to/matteobruni/tsparticles-v1-17-0-released-5e0l) [it's](https://dev.to/5t3ph/announcing-style-stage-a-community-css-showcase-28cp) [done](https://dev.to/t04glovern/internet-of-things-recap-june-2020-21eo).

We already work with one super awesome #news tag mod, [Robin](https://dev.to/darksmile92), who has set up some really great guidelines for the tag. With our plans to make this tag a bigger focus on DEV, we'd love to bring on more folks to assist so that we can create the most mind-blowing developer news team anyone has ever seen.

![mind-blowing news](https://media.giphy.com/media/xUNemVaUZFSgHxvQXK/giphy.gif)

<figcaption>Uhh... maybe not that mind-blowing.</figcaption>

So, want to help out? Get in touch with me via email (michael@dev.to), [message me](https://dev.to/connect/@michaeltharrington) over Connect, or leave a note right here in the comments.👇
Move MongoDB Local Data to Another Hard Drive - Windows 10
Tags: help, mongodb, database
Published: 2020-07-15 20:01:37

My drive C: is lack of capacity. So I moved all of my projects and personal folders to drive D:.

Then I create a data folder with db as sub-folder in D: to store data.
I ran  `mongo` command and saw that it creates new files in D:\\data\db.
So I assume everything works(?)

I use Windows 10 & I have Googled this topic. The most coming back results of how to do this is using Linux while I don't know any Linux. The others are using MacOS and Mongo Atlas (but I don't use Mongo Atlas. I use MongoDB locally)

Can anybody help me on how to do this in Windows 10?
Would it be to simply cut & paste data from the data folder in MongoDB directory on drive C: to D:?

Most of my data are local. Only one project that I've deployed to Heroku.
And MongoDB is still installed on C:

Appreciate any help 🙏🏻
didi - Tech Demo Video
Tags: showdev, opensource, javascript, deno
Published: 2020-07-15 19:54:24

As an experiment, I have just recorded a rough and ready technical demo for my open source project, didi - (trying to build a community and contributors). I am itching to share what it can do at this early stage.

This is just a practice screencast - its raw and probably not great, I missed out a lot of key points. but lets upload the video and see if I can write a script off the back of it.

Being transparent with your community is important even if you're terrified.

{% youtube L9RydBqxPEw %}

<center>Like I said, terrifying.</center>

{% github adam-cyclones/didi %}
(Video) Android Project Structure - What are the files/folders that make up an Android codebase & how do they tie together?
Tags: android, video, tutorial, androidstudio
Published: 2020-07-15 19:53:12

## The Android Project Structure...

This beast (image below, video further down ;) )...

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

* What does it all mean? 
* What do all these files do? 
* How are Android apps "built"? All this and more...

The Android project structure is made up of many files and folders that when combined together in just the right way to create an runnable app for the Android OS. The files within relate to & utilize several different software systems, such as; build systems, version control systems & even obfuscation systems.

In this video I take you through each file and folder that makes up a default "blank" android project once it has been generated as part of a new project in Android Studio. I explain what each file's purpose is and how you (the developer) should interact with it, if at all.

This video is hopefully a comprehensive overview of an Android codebase so that you can understand & more importantly through the code & identify important files. Also this video is split up into chapters (using timestamps) on YouTube so that you can skip ahead to specific files/folders if you are interested in learning about specific elements...

Enjoy!

## The Video
{% youtube h3ylwK6MINI%}

## Onwards
If you have ANY feedback or questions at all please let me know in the comments below or reach out to me on twitter:

[My Twitter (@ben_kadel)](https://twitter.com/ben_kadel)

Or if you want to see more videos from my channel then here you go:

[My Youtube Channel](https://youtube.com/BenKadel)


Thanks for reading and possibly watching!
ReactJS - tiny projects #1
Tags: react, webdev, javascript, showdev
Published: 2020-07-15 19:37:12

I made this pricing page in ReactJS for study! 
Tell me what you think :) 
Follow-me on Github for this and next projects.
Github: https://github.com/JSsantana
Project: https://codesandbox.io/s/github/JSsantana/react-pricing-page
CUSTOM STATIC SITE GENERATOR (Live Coding) [Part 1] | JavaScript | NodeJS | Images
Tags: javascript, livecoding, jamstack
Published: 2020-07-15 19:20:49

---
title: CUSTOM STATIC SITE GENERATOR (Live Coding) [Part 1] | JavaScript | NodeJS | Images
published: true
description: 
tags: javascript, livecoding, jamstack
---

Watch as I live code a custom static site generator using JavaScript/Node.js.

In this video, I take an images directory, optimize the images, create thumbnails and also create a webp version of the image.

Part 2: https://www.youtube.com/watch?v=UCWxte7IqME

03:30 Setup ESLint + Prettier
08:50 Setup the Debugger
10:15 Output first resized image
22:15 Output images as webp
22:55 Finally set the correct Glob path
26:30 Finally fix ESLint
30:25 Refactor
39:35 Generate Thumbnails
42:15 Final Code

To follow along:

```bash
git checkout https://github.com/joelnet/mojo-gallery.git
cd mojo-gallery
git checkout youtube-video-part-1
```
How I found a simple UI Viewer for InfluxDB
Tags: tips, database, influxdb
Published: 2020-07-16 12:02:10

---
title: How I found a simple UI Viewer for InfluxDB
published: true
date: 2020-07-15 19:09:00 UTC
tags: Tips,database,influxdb,ui
canonical_url: https://boobo94.xyz/tips/ui-viewer-influxdb/
---

Hello fellas, I spend more than 30 minutes today to find a simple tool that allows me to query on InfluxDB. This DB is new for me, so I don’t use it before. I had to inspect some stuff there and I had to find a tool that offers me the freedom to see some records.

After spending some time trying to understand what should I download from the official documentation, I arrived on multiple websites that presented me with some fancy paid options. In the end, I discovered with happiness something cool enough for me, it’s simple, but for read-only operations, it satisfies me.

![](https://i2.wp.com/raw.githubusercontent.com/JorgeMaker/InfluxDBWorkBench/master/doc/influxDBWorkBenchBanner.jpg?w=990&ssl=1)

You can check the Github repository, or download it directly [InfluxDB WorkBench](https://github.com/JorgeMaker/InfluxDBWorkBench) [[Download Mac](https://github.com/JorgeMaker/InfluxDBWorkBench/releases/download/1.0/InfluxDBWorkBench.app.zip) or [Download Windows](https://github.com/JorgeMaker/InfluxDBWorkBench/releases/download/1.0/InfluxDBWorkBench.exe)]. I discovered another option for Windows as [InfluxDB Studio](https://github.com/CymaticLabs/InfluxDBStudio) if you want another option.

I hope you find this article useful, so please give it a share or leave me a comment for other other suggestions and I promise you that I’ll put them right here, in this article.

The post [How I found a simple UI Viewer for InfluxDB](https://boobo94.xyz/tips/ui-viewer-influxdb/) appeared first on [boobo94](https://boobo94.xyz).
Typing effect plugin for WordPress
Tags: webdev, wordpress
Published: 2020-07-15 19:01:11

Typing effect plugins for WordPress
Typing effect plugins for wordpress,what is it?

You notice when you go on some websites there are sentences and words that are animated. In this case, we present the best typing plugins for the most popular cms website builder WordPress.

So when you want to create animated text on WordPress website or blog you need assistance and in WordPress he calls plugin, in this case, typing effect plugin.

Here is the list of best typing plugins in WordPress
1.Typing Effect

with generating the code you can put words on a website or post directly on the theme or in a widget.

add your words or sentences and click generate the cod and then put the code in the area that you want in the text. You can also configure a all settings from the loop to slow and fast and delaying before starting a backspacing. You can also use and HTML in animation adding in rows before adding a shortcodes

Contributors & Developers
“Typing Effect” is an open source software. The following people have contributed to this plugin.Contributors

93digital
2.Typed JS: A typewriter style animation

this plugin has good reviews from customers that is is easy to use and is the last updated before a year ago with last version 1.2.0

3. CoolText – WordPress Text Effects Plugin

This plugin has 300 build animation that comes with the same. U can use it with shortcodes and advanced settings. U can animate letters or words with control of speed.

Features
300 ready-to-use animations
responsive
SEO friendly
it can animate both letters and words
it can be used with shortcodes and settings
full compatibility with all the latest browsers
fallback for older browsers
It is paid plugin with a regular licence price of $24

Contributors & Developers
Megalocode
Typing effect plugins for WordPress
So is on you to decide which plugin you want to use for your animated text and make sure beside visual effects that you want to ensure every SEO aspect to rank higher on Google search engine.
http://project09.com
https://maps.google.com.br/url?sa=t&url=https%3A%2F%2Fproject09.com%2F
https://maps.google.ca/url?sa=t&url=http%3A%2F%2Fproject09.com
maps.google.com.hk/url?sa=t&url=http%3A%2F%2Fproject09.com
https://maps.google.nl/url?sa=t&url=http%3A%2F%2Fproject09.com
images.google.nl/url?sa=t&url=http%3A%2F%2Fproject09.com
https://images.google.co.in/url?sa=t&url=https%3A%2F%2Fproject09.com
images.google.ru/url?sa=t&url=https%3A%2F%2Fproject09.com
https://maps.google.pl/url?sa=t&url=http%3A%2F%2Fproject09.com
https://maps.google.com.au/url?sa=t&url=http%3A%2F%2Fproject09.com
images.google.com.au/url?sa=t&url=http%3A%2F%2Fproject09.com
htrps://images.google.com.tw/url?sa=t&url=http%3A%2F%2Fproject09.com