teleren/devto huggingface dataset:
Hello, world.
Published: 2020-04-27 20:25:01

Hello, to everyone reading this!

My name is Alex. I'm a lead software engineer at Cancer Research UK. I work in London, UK and I live in Exeter. I am also a long time reader/lurker.

I absolutely love the Dev.to community. It's so inclusive and welcoming. The mods do an amazing job keeping it that way. The content, posted by authors here is so varied, interesting, and fun to read.

I've been a software engineer for the past 11 years roughly. I began my journey into software development during secondary school, building games in the console, in RPGMaker 2K3, 3D game maker, and DarkBasic Pro. I particularly enjoyed building websites and designing databases in my ICT and Business and Communication Systems GCSEs.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/67r1f1e1b2ilrb2bz0y4.jpg)

I'm married and been with my wife for 11 years. We live together with our rabbit Digby. _As you may be able to tell. He is in charge_.

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

I specialise in back-end web technologies including PHP and Python. I am also very familiar with JavaScript and C++. I got well acquainted with Java during my second and third years at uni. I've recently begun familiarising myself with C and Go.

Most of my experience to date has been with website development. However, in the last few years, I have been involved in some relatively large scale systems and applications.

In my last role, I lead a small team in building a high-availability, distributed CRM. But my main project, which I spent a great deal of time on, was a routing engine and RESTful API. I spend roughly 2 1/2 years working on it and improving it, failure resistant and very well optimised for it's hosting environment. If you have any questions just yell! I love talking about it.

I recently completed my degree in Computing and IT through the Open University in an effort to legitimise my experience. I'm hoping to undertake a research degree in the near future.

You can normally get in touch with me on [LinkedIn](https://www.linkedin.com/in/alexanderholman/) and while most of the stuff I have worked on in the past has been private, you can find the odd thing here and there on [GitHub](https://github.com/alexanderholman).

I look forward to getting to know you all more in the near future.

```
 _____ _                 _           __           
|_   _| |               | |         / _|          
  | | | |__   __ _ _ __ | | _____  | |_ ___  _ __ 
  | | | '_ \ / _` | '_ \| |/ / __| |  _/ _ \| '__|
  | | | | | | (_| | | | |   <\__ \ | || (_) | |   
  \_/ |_| |_|\__,_|_| |_|_|\_|___/ |_| \___/|_|   
                                                  
                                                  
______               _ _                          
| ___ \             | (_)                         
| |_/ /___  __ _  __| |_ _ __   __ _              
|    // _ \/ _` |/ _` | | '_ \ / _` |             
| |\ |  __| (_| | (_| | | | | | (_| |             
\_| \_\___|\__,_|\__,_|_|_| |_|\__, |             
                                __/ |             
                               |___/ 
```
I am a Software Engineer who just hit $145K Net Worth And Here Is Your Today's Inspiration
Tags: codenewbie, productivity, career
Published: 2020-04-27 20:09:00

My intention is not to brag. I just want to lay down what is possible if you work towards your goals relentlessly.

I am -

a Software Engineer

a Tech Entrepreneur 

a Stock market investor

a Consultant/Mentor

a Blogger

a Course Creator

a Hustler, basically...

and I just hit $145K Net Worth



Again, my intention is not to brag. 

I was $40K in debt just 5 years back. And, here I am speeding towards my FI lifestyle.

Just do me a favour - don't give up on your dream.

If I can do it anyone can. I know it sounds cheesy - but it's very much true.


--- 

I write about programming, personal finance, and productivity on my blog [NgNinja Academy](http://ngninja.com/)
Awesome Features in Jenkins which makes it interesting for beginners — Part 1
Tags: devops, jenkins, uiweekly
Published: 2020-04-27 20:03:35

Now, your team wants a automated solution for Continuous Integration and Continuous Deployment. You find **Jenkins** is one of the most **popular** tool and start with it.

Eventually you find Jenkins boring with the same interface and user experience. **Follow these tips to make your Jenkins interesting!!**

## Lets start with UI

## 1\. BlueOcean Plugin

In Jenkins, whenever we need to add some features, we do it by installing plugins. These plugins are available in Manage Jenkins > Manage Plugins > Available section.

Search for [Blue Ocean](https://plugins.jenkins.io/blueocean/) > Select Blue Ocean and checkbox it. Then click on “Install without restart”

Wait for it to install Blue Ocean with its dependencies.


![Annotation 2020-04-26 172109.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1587904696765/g6eGp7cKQ.png)


Now you have “Open Blue Ocean” option. Click on it. Now you have a whole new different UI and you notice it is a Single Page Application built with React. Selecting the pipeline gives you the builds run.

Advantage over Jenkins UI is

1.  It gives different UI and UX.
2.  It provides better representation of pipeline stages. Consider the pipeline has stages to be skipped for certain builds. This provides the better representation which is the process which is undergone in that specific build.



![1_8DJ0oewT_qwDDoAyWo_ncw.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1587904741876/NmUxr7Ij6.png)


## 2\. Adding CSS for the UI

Now, for some reason you still want to use Jenkins without Blue Ocean. You can use it better UI by tweaking some CSS.

We can add CSS to the already existing traditional Jenkins UI with a plugin called [Simple Theme](https://plugins.jenkins.io/simple-theme-plugin/).

Lets install it from Manage Jenkins > Manage Plugins > Search for Simple Theme > Install without restart

Then Manage Jenkins > Configure System > Go to “Themes” section > Click on Add Button

![1_Y3tVB225uddQzLR494DMiA.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1587904770989/h71qih5zI.png)

Search for Jenkins Themes in Google to find the CSS themes > Select the one based on your taste > Add the URL

I personally prefer [**Neo2 Theme**](https://tobix.github.io/jenkins-neo2-theme/)**.**

I have the link which has the css file. Apply & Save..


![Annotation 2020-04-26 17210.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1587904786811/Q_OzOmq8M.png)

_We are done with some UI tweaks! Will go through other tweaks in the second part.

_Thats it for the first part!_

Will be continuing with some tweaks which we can do Jenkins in the next Part.

_Stay tuned!_

_Any inputs in the blogposts are welcome_

_Thanks_

**_You can my follow blogs at_** [**_https://blog.athreyapatel.codes/_**](https://blog.athreyapatel.codes/)
How to deploy OAuth keys on Heroku's ephemeral file system
Tags: heroku, laravel, passport
Published: 2020-04-27 19:59:16

---
title: How to deploy OAuth keys on Heroku's ephemeral file system
published: true
description: Deploying a Laravel + Passport App on Heroku can cause some issues with OAuth Keys.
tags: Heroku, Laravel, Passport
---

Deploying a Laravel + Passport App on Heroku can cause some issues with OAuth Keys.

You may see this error 

``` Key path "file:///app/storage/oauth-private.key" does not exist or is not readable```

The problem is your Public and Private OAuth keys are quite rightly ignored in your `.gitignore` 

I solved this issue by encrypting the keys and storing them in git, with the help of some custom artisan commands, they are now part of my project but you can grab them. 

[HerokuEncryptKeys.php](https://github.com/squareborg/vendormachine-api/blob/develop/app/Console/Commands/HerokuEncryptKeys.php)  
[HerokuGenerateKey.php](https://github.com/squareborg/vendormachine-api/blob/develop/app/Console/Commands/HerokuGenerateKey.php)  
[HerokuInstallKey.php](https://github.com/squareborg/vendormachine-api/blob/develop/app/Console/Commands/HerokuInstallKey.php)  

## Step 1

Generate OAuth keys ( if you don't already have some )

`php artisan passport:keys`  

## Step 2

Generate an encryption key and add the `OENCRYPT_KEY` env

`php artisan heroku:generatekey`

add to your local `.env` and also add it to **Heroku's** env settings

`OENCRYPT_KEY={the output of php artisan heroku:generatekey}`

## Step 3

Encrypt your OAuth keys and commit to VCS

`php artisan heroku:encryptkeys`

Commit `storage/app/oauth-private.key.encrypted` and `storage/app/oauth-pubblic.key.encrypted`

## Step 4

Add  `post-install-cmd` to composer.json

```
"scripts": {
        ...
        "post-install-cmd": [ "php artisan heroku:installkeys" ]
    }
```

Push to git or Heroku and the keys will be unencrypted and installed on build.
Type Safety Doesn't have to be All or Nothing
Tags: rust, commentary
Published: 2020-11-26 14:34:31

---
title: Type Safety Doesn't have to be All or Nothing
published: true
date: 2020-04-27 19:51:38 UTC
tags: rust,commentary
canonical_url: https://blog.jonstodle.com/type-safety-doesnt-have-to-be-all-or-nothing/
---

One argument I sometimes hear against Rust is that if you have to use `unsafe`, there's no point in using Rust, you might as well go with the old familiar C++, or some other performant/preferred language of choice.

This argument always annoys me. As if the fact that you sometimes need (or want) to go outside of the safety net of the compiler, means that all the other benefits of the Rust type system, borrow checker and compiler is null and void.

`unsafe` is kind of a misnomer, because what the keyword gives you is not necessarily an unsafe block of code. What it does give you is a block of code that has been error checked by a human, not the compiler. `unsafe` is more appropriately `compiler, I know what I'm doing, skip checking this code`. This is similar to how an entire program might be written in other languages.

The huge benefit with Rust, on the other hand, is that the code that's manually checked by a human is contained within clearly sectioned blocks, and they are usually (but might not be) fairly small. Most Rust programmers prefer not to spend too much time outside the safety of the compiler checks.

Another way to put this, in a crass way, is saying that wearing a seat belt has no benefit; you might die from a crash anyways, so what's the point of the hassle of putting it on?

* * *

This short post was inspired by a person's colleagues not seeing the benefit of strict checking of 90% of the program, because 10% had to be manually checked.

Happy coding!
How to clone a flutter project in VScode
Tags: flutter, git, clone, vscode
Published: 2020-04-27 19:44:22

          HEY GUYS !!! Thanks for clicking the link and visiting here.

For few of us its not possible to install and use heavy software like Android Studio so we prefer VScode but the catch is VScode comes with many features which we are not aware of. So, here i would like to share how can we take a program from github i.e clone a program and run in VScode.

Following are the steps to follow:
1. Open VScode and take a new  window.
2. Press " ctrl+shift+p " for making command pallet to display.
3. Type in Git in the pallet on top.
4. Select the suggested Git:clone option.
5. And lastly, paste the Git URL in the pallet of the project you have cloned.
Weekly Links – 4/27
Tags: links, datalake, maps, migrate
Published: 2020-04-28 11:32:37

---
title: Weekly Links – 4/27
published: true
date: 2020-04-27 19:24:48 UTC
tags: Links,Data Lake,maps,migrate
canonical_url: 
---

So I know this post got out a little late today, and for that I do apologize. Home schooling has been interesting at our house. Its definitely been a transition for everyone involved. But overall its been going well. My kids have been real troopers. My wife is the most amazing woman on the planet, and has been the expert in all of this.

My daughter has setup a desk in my office, so its nice to think that during COVID, my home office has basically become a Wework.

![See the source image](https://thuglifememe.com/wp-content/uploads/2020/03/17-homeschooling-during-the-coronavirus-outbreak-2-5421-1584494171-6_dblbig.jpg)

### Down to business…

- [Optimize cost and performance with Query Acceleration for Azure Data Lake Storage](https://azure.microsoft.com/en-us/blog/optimize-cost-and-performance-with-query-acceleration-for-azure-data-lake-storage/) : Really cool new features to make it easier to leverage data lake moving forward. This is always exciting as it provides options for moving forward.  
- [Enhanced features in Azure Archive Storage now generally available](https://azure.microsoft.com/en-us/blog/enhanced-features-in-azure-archive-storage-now-generally-available/) : The ability to upload directly to archive tier and make adjustments to the tier at time of commit, is pretty awesome.  
- [Azure Migrate](https://azure.microsoft.com/en-us/blog/azure-migrate-now-available-in-azure-government/) : A new service that will make a lot of people happy is Azure Migrate, which can help move onprem data centers to the cloud.  
- [Load data from Azure Blob storage into Azure SQL](https://channel9.msdn.com/Shows/Data-Exposed/Load-data-from-Azure-Blob-storage-into-Azure-SQL) : Interesting video showing how to push data from blob storage to SQL. This is awesome from an ingestion engine direction.  
- [Azure Maps Weather services for developers](https://channel9.msdn.com/Shows/Internet-of-Things-Show/Azure-Maps-Weather-services-for-developers) : Really cool to see it be so easy to pull weather into your applications.

### Fun Stuff:

So I’ve made no secret of my enjoyment of Outside cooking, and over the past two weeks I’ve done a lot of work with my Weber smoker. And this past week turned out great. I went from a small chicken, to a 11 lb Brisket! And then 12 hours later, we had an amazing meal.

- ![](http://www.welldocumentednerd.com/wp-content/uploads/2020/04/Brisket-1.jpg)

- ![](http://www.welldocumentednerd.com/wp-content/uploads/2020/04/Brisket-2.jpg)

- ![](http://www.welldocumentednerd.com/wp-content/uploads/2020/04/Brisket-3-1024x768.jpg)
Small issue solution in flutter.
Tags: flutter, issue, solution, basics
Published: 2020-04-27 19:23:57

        Hey ! thanks for clicking the link and coming here.



You being here simply means that you are facing error on vscode/Android Studio for the respective flutter related issue. so! not taking your much  time i shall solution to them.



The first basic issue I encountered while making my flutter application was this 



flutter channel master

Switching to flutter channel 'master'...

git: fatal: 'origin/master' is not a commit and a branch 'master' cannot be created from it

Switching channels failed with error code 128.



soln :- git remote add origin https://github.com/flutter/flutter 


by typing the above command you shall get rid of the following mentioned error which took my 1 day .


The second basic and yet important error encountered my many beginners is 

flutter run -d chrome
Launching lib\main.dart on Chrome in debug mode...
Syncing files to device Chrome...
40,111ms (!)
Failed to establish connection with the application instance in Chrome.
This can happen if the websocket connection used by the web tooling is unable to correctly establish a connection, for example  
due to a firewall.

 Now frankly speaking this issue took me about 3 days and even flutter github support was unable to help me overcome the error but by searching to and fro and also by repeatedly trying I got the below solution

Soln:- for many (flutter clean or flutter pub cache repair ) but in my case i have to disable the security feature of firewall from chrome which is a bit risky.

So, Thank you guys for entertaining this blog hope the above solutions will help you getting out of the problem.
Twilio Hackathon - Day 2 Pt2
Tags: twiliohackathon
Published: 2020-04-27 19:21:09

[Comment]: Woo! Friends are FINALLY showing up (I learned A LOT about React throughout my morning). It's almost time to begin implementing the video API and Python backend!

#### What I built
An Omegle type product for first and second-degree friends in order to facilitate more spontaneous conversations 

#### Category Submission: 
Covid19 Communications

#### How I built it (what's the stack? did I run into issues or discover something new along the way?)
- Firebase Auth
- Firebase DB
- Twilio Video
- React & Material UI
- Python & Flask for Video API
Eloquent JavaScript now available for FREE
Tags: javascript, free, books
Published: 2020-04-27 19:08:48

---
title: Eloquent JavaScript now available for FREE
published: true
description: 
tags: js, javascript, free, books
---

https://eloquentjavascript.net/
 
The third edition of "Eloquent JavaScript" (rated 4.5/5 on [Amazon](https://www.amazon.com/Eloquent-JavaScript-3rd-Introduction-Programming/dp/1593279507)) is now fully available for free online and downloadable as pdf, ebup, and mobi.
 
JS is often maligned and misunderstood but remains the most commonly used programming language [[source](https://insights.stackoverflow.com/survey/2019#technology)] and is the de-facto language of browsers.
With Node.js runtime for servers and React Native for mobile apps, there seems to be nowhere you can't use JS.
This book is thorough in covering the language, its features (and its flaws), and its practical uses with easy-to follow text and great practice projects.
Whatever your experience-level with programming and/or JS, I think you'll find this book useful.
 
If you're programming, you'll have to work with the web, and so you'll need JavaScript and I think this the best book to become effective with JS.
Rest Parameters
Tags: beginners, javascript, webdev
Published: 2020-04-27 18:34:31

JavaScript-docs é um projeto open source, e criei um artigo sobre o Rest Parameters lá. Para uma leitura mais completa, acesse o link: 
https://javascript-docs.netlify.app/rest-params/
Boa leitura a todos e deixem vossas criticas e opiniões.
Add two numbers
Tags: javascript
Published: 2020-04-27 18:21:40

[Leetcode](https://leetcode.com/problems/add-two-numbers/) time again! 

This one actually took me a bit. The problem description states we should sum two non-empty linked lists representing two positive integers stored in reverse order, and return the result as a linked list. 

The sum can exceed JS's Max Integer size and that means that adding the numbers requires some type coercion between string and BigInt but it replaces a loop with a simple arithmetic addition so it seemed worth it. 

```js
var addTwoNumbers = function(l1, l2) {
  let num1Str = '';
  let num2Str = '';
  let node = l1;
    
  while (node) {
    num1Str = node.val + num1Str;
    node = node.next;
  }

  node = l2;
  while (node) {
    num2Str = node.val + num2Str;
    node = node.next;
  }

  const sum = BigInt(num1str) + BigInt(num2str);  
  const sumStr = sum.toString();
  const resLst = new ListNode(sumStr[sumStr.length - 1]);

  node = resLst;
  for (let i = sumStr.length - 2; i >= 0; i--) {
    node.next = new ListNode(sumStr[i]);
    node = node.next;
  }
  return resLst;   
};
```
//Runtime: 96 ms, faster than 99.18% of JavaScript online submissions for Add Two Numbers.
//Memory Usage: 39.2 MB, less than 13.89% of JavaScript online submissions for Add Two Numbers.
The 7 Most Popular DEV Posts from the Past Week
Tags: top7
Published: 2020-04-27 18:20:12

---
title: The 7 Most Popular DEV Posts from the Past Week
published: true
description: A round up of the most-read and most-loved contributions from the community this past week.
tags: icymi
cover_image: https://thepracticaldev.s3.amazonaws.com/i/sfwcvweirpf2qka2lg2b.png
---
Every Monday we round up the previous week's top posts based on traffic, engagement, and a hint of editorial curation. The typical week starts on Monday and ends on Sunday, but don't worry, we take into account posts that are published later in the week. ❤️

#1. Single Source

Samantha needed to learn more about `window.location` but found themselves digging through multiple sources. To scratch their own itch, they created this helpful cheatsheet!

{% link https://dev.to/samanthaming/window-location-cheatsheet-4edl %}

#2. Fill The Gaps

Radhika shares their plan for leveling up on algorithms. In this post, they'll share their problem solving process along with helpful resources to learn about algorithms.

{% link https://dev.to/rmorabia/the-self-taught-engineer-s-algorithm-study-plan-472a %}

#3. Computational Complexity

David covers architectural basics, jargon, and patterns in this primer for architects and web programmers. Don't fear, architecture is not nearly as sophisticated or as complex as one might think!

{% link https://dev.to/david_whitney/architecture-for-everyone-1b0h %}

#4. 100% CSS!

Stephanie walks us through the step-by-step process of creating an accessible dropdown navigation menu. 

{% link https://dev.to/5t3ph/css-only-accessible-dropdown-navigation-menu-1f95 %}

#5. Shell Syntax

Sahil gives us a crash course on all the necessary stuff you need to get up and running with writing shell scripts.

{% link https://dev.to/godcrampy/the-missing-shell-scripting-crash-course-37mk %}

#6. 100% FREE

Davide compiles a list of free landing page templates, so throwing up a landing page is never a blocker for launching your next project!

{% link https://dev.to/davidepacilio/40-free-html-landing-page-templates-3gfp %}

#7. Workflow Enhancements

Tomas shares a list of tools they use regularly - perhaps some of these will help your workflow and productivity, too!

{% link https://dev.to/pustelto/tools-i-use-for-front-end-dev-3ekn %}

_That's it for our weekly wrap up! Keep an eye on dev.to this week for daily content and discussions...and if you miss anything, we'll be sure to recap it next Monday!_
Page and Layout Transitions in Nuxt.js
Tags: nuxt, vue
Published: 2020-04-27 18:20:03

---
canonical_url: 'https://debbie.codes/blog/page-and-layout-transitions'
---
With Nuxt.js it is really easy to add transitions between your pages. You can create transitions for all your pages or layouts and you can even have different transitions for specific pages. 

The default Nuxt.js transition name for pages is `page`. That means in order to add a fade transition to every page we just need to add the the word `page` before our enter and leave transition classes that Vue.js gives us.

```css
.page-enter-active, .page-leave-active {
  transition: opacity .5s;
}
.page-enter, .page-leave-to {
  opacity: 0;
}
```

You can add this css to a global css file and then import it using the `nuxt.config.js` file.

```javascript
export default {
  css: [
    '~/assets/main.css'
  ]
}
```

Layouts work pretty much the same except that instead of writing a class starting with the word page you use the word `layout`.

```css
.layout-enter-active, .layout-leave-active {
  transition: opacity .5s
}
.layout-enter, .layout-leave-active {
  opacity: 0
}
```

You can of course create a transition for a specific page such as the home page for example. In your `index.vue` file you can add a property of transition and give it the name you like. 

```javascript
export default {
  transition: 'home'
}
```
This name will then be what you use instead of the word page when defining your transition classes.

```css
.home-enter-active, .home-leave-active {
  transition: opacity .5s
}
.home-enter, .home-leave-active {
  opacity: 0
}
```
Nuxt.js wraps your page in a transition component and adds the name to it. In this case the name it adds is `home`. Basically Nuxt.js does this for you so you don't need to.  

```html
<transition name="home">
``` 

There is a slight difference in the default mode in Nuxt.js compared to Vue.js. The default mode in Nuxt.js is `out-in`. Should you wish to change this you can do so using the `mode` key. 

However if you want to change the mode across all pages or layouts then you can do so in the `nuxt.config.js` file using the `pageTransition` key for pages and the `layoutTransition` key for layouts.

```javascript
pageTransition: {
    name: 'my-page',
    mode: 'out-in'
}
```

As you can see adding page transitions in Nuxt.js is really easy so why not give it a try!