teleren/devto huggingface dataset:
Compile Podcast Ep 7: Hobbies -- What we do when we are not working
Tags: podcast, workflow, hobbies, career
Published: 2020-03-08 15:32:44

---
title: Compile Podcast Ep 7: Hobbies -- What we do when we are not working
published: true
description: "Jasper and I talk about our hobbies when we are not coding, and what you can do to find a hobby for yourself!"
tags: podcast, workflow, hobbies, career,
---

*This is reposted from [my personal site](https://nickwu007.github.io/).*

Hello everyone! Welcome to the Compile Podcast, a show where 2 programmers talk about anything and everything!

In this week's episode Jasper and I talk about our hobbies when we are not coding, and what you can do to find a hobby for yourself!

{% youtube QpUfzdMu7qI %}

### Breakpoints

 - 00:58 Why is a hobby important, espeically for a developer
 - 11:27 How do I go about finding a hobby?
 - 21:17 Jasper and I talk about our hobbies
	 - 21:25 Technical hobbies
	 - 28:15 Non-technical hobbies
 - 42:40 Wrap up

### Links in this episode:

 - Developer forum that I follow: [dev.to](https://dev.to)
 - "The Phoenix Project": [amazon](https://www.amazon.co.uk/dp/1942788290/ref=cm_sw_r_tw_dp_U_x_I7azEb7XA50C0), [audible book](https://www.audible.co.uk/pd/The-Phoenix-Project-Audiobook/B00VB034GK)
 - Recipe for the [Chocolate Lava cake](https://sortedfood.com/recipe/13950) we made for In this week's episode Jasper and I talk about our hobbies when we are not coding, and what you can do to find a hobby for yourself!

### Reach out to us!

Next week we will have a new guest with a new topic! So subscribe and stay tuned! Also send in any comment or request for new topics and we will try our best to make them happen!

My Twitter: https://twitter.com/WujunaoNick

This Podcast is also on:
 - [Google Play Music](https://play.google.com/music/listen#/ps/Ifd5mlxhgc5cmlsytadsglqfd4y)
 - [iTunes](https://podcasts.apple.com/gb/podcast/the-compile-podcast/id1436437367)
 - [Spotify](https://open.spotify.com/show/2UH9hK7VlS7ytjYdM8Vd78)
Being Honest in Job Interviews
Tags: improvement, career, discuss
Published: 2020-03-08 15:23:12

---
title: Being Honest in Job Interviews
published: true
description: 
tags: improvement, career, discuss
---
Is it much better to be honest that you don't know the answers to some of the questions? Is it worth it overselling yourself eg. have the "fake it til you make it" mentality? These were my questions to my colleagues last Friday and I'm gonna share some of their answers.

Personally the former is better than the latter and I have been doing that for the last 4 years that I am in the Tech Industry. But I have a friend that says bluffing works and for some, it really is in their strategy. To me, the only **pro** of bluffing *slash* fake-it-til-you-make-it strategy is you getting the job, consequences will follow. But if you are totally honest, there are far more pros than just getting the job.

Here are some of the **pros** that my friends I experienced going with the  honesty path:

**Peace of mind.** If you were totally honest, you would not worry about the consequences. You're not setting unreasonable expectations for the company. If they accept you despite not knowing it all (but of course with the drive to learn things you don't know), that's one of the traits/cultures I look for the company I'm joining.

**Comfortable discussion.** Being honest drives longer conversation. It naturally becomes a two-way interview. You are allowed to ask about something you don't know and based on experience, companies are much willing to talk about themselves, how they do things.

**Proves that you are good to work with.** Alongside with good attitude, people that know what they don't know are good to work with.

**You still get the job.** If they hire you, it doesn't stop on what you only know at the moment. You have to do the work. Work on what you are lacking.

The **con** of it is, of course, you not getting the job. That means you are not the candidate they need at the moment. But on the bright side, you didn't leave bad impressions on the company.


What are your thoughts?
Web Design Company blazingcoders
Tags: webdev
Published: 2020-03-08 15:17:17

One of the leading Website Designing Company is blazingcoders located in Coimbatore, offering Web Development Technologies in HTML, PHP, MYSQL. blazingcoder has Experienced Professionals in the Industry with the aim of providing the best and Creative Website Design and Web Development Solutions to our Clients.

Our professionals are very keen on listening to the Client requirements and design according to their needs. Our Designing professionals are very innovative and creative with a passion for designing with the goal to be one of the leading firms in the Industry. Our professionals are expertise in Web Designing, Web Development, 2.5 D Animation, E-Commerce Website Development, Content Development, Digital Marketing, SEO, SMO, Video Creation, Youtube Marketing, etc. Wintellen is specialized in providing Social Media Optimization to the Newly Opened Business which creates awareness about your Business to the Clients. Our technical expertise helps your business to shine in the Industry.
Are They Awake Yet? Building a GitHub Action to Find Out!
Tags: javascript, showdev, git
Published: 2020-03-08 15:16:29

---
title: Are They Awake Yet? Building a GitHub Action to Find Out!
published: true
description: How to use GitHub Actions to find out the current time and date for anyone on GitHub
tags: javascript, showdev, git
cover_image: https://i.imgur.com/T3ggCS9.png
---

**Have you ever wanted to know when tagging someone on a GitHub issue or pull request if they might be awake? 🕰️😴**

Clearly, if someone *is* awake, it does not automatically mean they must respond in real-time to your comment. Nonetheless, it would be nice to know if you could reasonably expect a response given the current time in their location.

This weekend GitHub launched a month-long [GitHub Actions Hackathon](https://githubhackathon.com/). I recently started getting into the process of building actions, by first building one that [checks for inclusive language](https://github.com/benhayehudi/inclusive-language-github-action) against a user-maintained list and then building another action to automatically [import your DEV posts to your Jekyll site](https://dev.to/benhayehudi/import-dev-posts-to-jekyll-with-github-actions-1bni).

Actions are language agnostic automated workflows that can accomplish anything you might want to build them for. Your imagination defines what you can accomplish, and, of course, the limits of the technology. 

Going back to the question of figuring out if someone might be awake. I decided to build an action to tackle that question. 🧰🛠️

The [Are They Awake Yet? Action](https://github.com/marketplace/actions/are-they-awake-yet) uses the location provided by the user in their GitHub profile to discover their date and time. If a user does not provide a location then the action shares that there is no location instead.

## How Does It Work?

The action leverages the [Google Cloud Platform](https://cloud.google.com/) Geocoding and Time Zone APIs to figure out the date and time.

First, the location provided in the user profile is translated into latitude and longitude coordinates with the Geocoding API. Second, those coordinates are then sent to the Time Zone API to figure out the user's time zone and time offset from UTC time. With that information, the action is able to figure out the exact time and date for the location provided.

Lastly, the action then sends that information as a comment on either the pull request or the issue tagging the questioner and the person inquired in the response. 

![](https://i.imgur.com/6C0O7h0.png)

## Using The Action

If you are interested in incorporating this action in any of your repositories on GitHub, you can find it in the [GitHub Actions Marketplace](https://github.com/marketplace/actions/are-they-awake-yet).

I also 💙 contributions. If you want to get involved, the code is [open-source and available](https://github.com/benhayehudi/awake-yet-action). The action leverages Jason Ecto's [actions toolkit](https://github.com/JasonEtco/actions-toolkit) and is written in JavaScript.
Nevertheless, Aneeqa Coded
Tags: wecoded, eachforequal, womenintech
Published: 2020-03-08 15:07:40

---
title: Nevertheless, Aneeqa Coded
published: true
description: 
tags: #shecoded #eachforequal, #womenintech
---

##When it started
My journey began in 2010, I attended a college in Islamabad where I studied computer science, physics, and maths. Before college, I did not know coding so of course, I had no prior experience in this field. As I began to attend classes, my love for coding grew, so much that I have not stopped coding ever since. 

##In Univeristy
After college, I went on to study Masters in Computer Science at University, At this point, I decided to make this my profession. When I applied, my family was concerned; They were worried I may not succeed, but in my semesters' exams I achieved the highest marks in my programming classes. This gave me a lot of confidence, I used this to motivate myself further and continue to keep working hard. 

##In Industry 
My professional career life started in 2017. However, I was completely surprised by how the industry works, it was different from what I'm familiar with. With any technology-based industries, you may know that technology is always changing and new systems and software are implemented into the industry, so I had to learn a lot when I got my first job as it was not taught when I was studying at university. 

But I made it, I manage. and I learned so much from this experience and I am still learning to this day. I am developing and designing UIs for mobile and web platforms using JavaScript frameworks like React, React Native and HTML/CSS. I love development.
For now, I am creating a portfolio as a side project. 

How I did it...
+  I took motivation from "Girls do better in SQA (Software Quality Assurance) field because they are not good in coding" and I worked harder.

+ I spent my time doing research, looking at tutorials and articles, I use everything at my disposal to help me achieve what I need. 

+ The criticism I received helped me progress so much, without it I'm not sure I will be as good as I am today.

+ Lastly, I didn't stop writing code, nothing stopped me. My colleague gave me strength in this. She motivated me by saying if you fail, it doesn't mean you should give up it means you should learn from them, making you progress towards a solution and learning something new, making future problems easier to solve.

I want to say thanks to all my colleagues who have supported me and believed in me. Special thanks to my mentors; [Shermeen](https://www.instagram.com/shermeenkiran/) and [Umar](https://dev.to/umardaraz).

##My advice for allies to support self-identifying women and non-binary folks who code is
If you fail the first time, DO NOT GIVE UP, try, try again. My belief is anyone can code, it doesn't depend on your gender or age.
الادوية والعقاقير الطبية
Published: 2020-03-08 15:03:53

الادوية والعقاقير الطبية احدثت طفرة في القران الواحد والعشرين حيث ساهمت بشكل كبير فيما وصلت له البشرية في هذا الوقت وهناك العديد من شركات الادوية الموجوده حاليا وجميعها يخضع تحت رقبة وزارة الصحة الخاصة بكل دولة وهناك العديد من المواقع ايضا المتخصصة في علم الادوية العقاقير الطبية مثل الموقع العربي الشهير دار العلاج حيث يحتوي علي العديد من الاقسام الخاصة بالادوية والعلاج والعقاقير مثل قسم ادوية الامراض الجلدية الذي غالبا ما يحتوي علي الكريمات والمراهم وايضا قسم أدوية المضادات الحيوية وهو قسم في غاية الاهميه لما الدور المهم التي تلعبة هذه الادوية وايضا قسم المسكنات الذي لا غني عنه فقد ساهم هذا وبشكل كبير في تطور البشرية بشكل ملحوظ وقد ادي الي ما نحن الان فيه من تقدم وحضارة.
<a href="https://www.3ilaag.com/">3ilaag.com</a>
Nevertheless, Cat Coded
Tags: wecoded
Published: 2020-03-08 14:31:44

Greetings,

I've been told I'm not enough, that I didn't choose right(my career so far, I work in tech, just not in coding), that I didn't know enough, that I was better doing what I do today(solution architect mixed with business analyst and QA), that I was going to get bored of that job because I didn't know what it entails, that I was going to lose what makes me a good professional, you name it.
Nevertheless, I coded.

I went to my first software engineering technical interview (within my company) two weeks ago, It was not amazing, I was quite nervous and I didn't perform my best, I was not accepted to the position yet, and it was identified I still have a lot to learn when it comes do Data Structures and other topics, but, nevertheless, I exposed myself, I tried, I coded(for about 2 hours in front of two people I admire and are good software engineers).

Don't let anybody tell you are not good enough, try it, go for it, if it works, it works, if it does not, you know what you have to do, to make it work afterwards.

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

Thanks,
Best Regards,
Cat
Vue.js – Simple Pagination Example
Tags: vue
Published: 2020-03-08 14:25:29

This is a simple example of how to implement Vue.js – Simple Pagination in Vue.js.
<h2>Running the Vue.js Pagination Example Locally</h2>
<ol>
 	<li>Install NodeJS and NPM from <a href="https://nodejs.org/" target="_blank" rel="noreferrer noopener">https://nodejs.org</a>.</li>
 	<li>Download or clone the tutorial project source code from <a href="https://github.com/Appfinz/vue-js-pagination-with-easy-steps.git">https://github.com/Appfinz/vue-js-pagination-with-easy-steps.git</a></li>
 	<li>Install all required npm packages by running the <code>npm install</code> command in the project root folder (where the package.json is located).</li>
 	<li>Start the Vue.js app by running <code>npm start</code> in the project root folder, this will build the app with webpack and automatically launch it in a browser on the URL <code>http://localhost:8080</code>.</li>
</ol>
<h2>Vue.js Pagination Component</h2>
Pagination is implemented with the <code>&lt;jw-pagination&gt;</code> component that comes with the <code>jw-vue-pagination</code> package available on <a href="https://www.npmjs.com/package/jw-vue-pagination" target="_blank" rel="noreferrer noopener">npm</a>.
<h2>Installation</h2>
Install the Vue pagination component with the command <code>npm install jw-vue-pagination</code>.
<h2>Integration with your Vue.js app</h2>
Import the <code>JwPagination</code> component from the <code>'jw-vue-pagination'</code> package and register it globally within your Vue application by calling <code>Vue.component('jw-pagination', JwPagination);</code>

The first parameter is the component name, it defines the custom tag used to add the component to other components, in this case it will be with the tag <code>&lt;jw-pagination&gt;&lt;/jw-pagination&gt;</code>. The second parameter points to the actual Vue component.

Global registration makes the Vue component available to all other components within the Vue application, it’s also possible to register components locally, for more info see <a href="https://vuejs.org/v2/guide/components-registration.html" target="_blank" rel="noreferrer noopener">https://vuejs.org/v2/guide/components-registration.html</a>.

This is the main Vue entry file (<code>/src/index.js</code>) from the example, the pagination component is imported and registered globally on lines <code>6-7</code>.

<code>
</code>import Vue from "vue";

import App from "./app/App";

// register jw pagination component globally
import JwPagination from 'jw-vue-pagination';
Vue.component('jw-pagination', JwPagination);

new Vue({
el: "#app",
render: h =&gt; h(App)
});

&nbsp;

&nbsp;

<strong>Read More about About</strong> <a href="https://appfinz.com/blogs/vue-js-simple-pagination-example/">vuejs pagination</a> || <a href="https://appfinz.com/blogs/vue-js-simple-pagination-example/">vue pagination</a> || <a href="https://appfinz.com/blogs/vue-js-simple-pagination-example/">vuejsapp pagination</a> || <a href="https://appfinz.com/blogs/vue-js-simple-pagination-example/">pagination in vue js
Vue.js + Node – Server Side Pagination
Published: 2020-03-08 14:12:20

This is a simple example of how to implement server-side pagination in Vue.js with a Node.js backend API.

Server-Side (Node.js) Pagination Logic
Below is the code for the paged items route (/api/items) in the node server file (/server/server.js) in the example, it creates a hardcoded list of 150 items to be paged, in a real application you would replace this with real data (e.g. from a database). The route accepts an optional page the parameter in the URL query string if the parameter isn’t set it defaults to the first page.

The paginate() the function is from the jw-paginate package and accepts the following parameters:

total items (required) – the total number of items to be paged
currentPage (optional) – the currently active page defaults to the first page

 
pageSize (optional) – the number of items per page defaults to 10
maxPages (optional) – the maximum number of page navigation links to display, defaults to 10
The output of the paginate function is a pager object containing all the information needed to get the current pageOfItems out of the items array, and to display the pagination controls in the Vue.js frontend, including:

startIndex – the index of the first item of the current page (e.g. 0)
endIndex – the index of the last item of the current page (e.g. 9)
pages – the array of page numbers to display (e.g. [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 ])
currentPage – the currently active page (e.g. 1)
totalPages – the total number of pages (e.g. 30)
I’ve set the pageSize to 5 in the CodeSandbox example above so, the pagination links aren’t hidden below the terminal console when the container starts up. In the code on GitHub, I didn’t set the page size so the default 10 items are displayed per page in that version.

The current pageOfItems is extracted from the items array using the startIndex and endIndex from the pager object. The route then returns the pager object and current page of items in a JSON response.

<strong>Read More about About</strong> <a href="https://appfinz.com/blogs/vue-js-node-server-side-pagination/">Vue Paginations</a> | <a href="https://appfinz.com/blogs/vue-js-node-server-side-pagination/">Vue js Paginations</a> | <a href="https://appfinz.com/blogs/vue-js-node-server-side-pagination/">Server Side Pagination</a> | <a href="https://appfinz.com/blogs/vue-js-node-server-side-pagination/">Node and Vue Pagination</a>
Well that was embarrassing.
Tags: rails
Published: 2020-03-08 13:55:11

The last few days I had been receiving errors when a new user would sign up to my site. It was a deserialization error that wasn't actually causing any problems.  Someone would sign up and `after_create` they would receive a welcome message.  I decided to take a look at Google to see if I could find a fix for it.  

What was happening was sidekiq was trying to complete the welcome message job so fast that it was running into errors as all of the information wasn't available in the database just yet. The fix I saw basically had the same explanation that made sense but I didn't look at the context of the original poster. They weren't sending welcome messages.  Their fix was to change `after_create` to `after_commit`.  As you may know, `after_create` happens a total of once per user, `after_commit` has no limits, it fires every time that user record is committed into the database.  DOH!

The issue was found quickly and my users were apologized to and notified that this didn't affect any of their customers. It was definitely a reminder to slow down and take an extra few minutes to think about what you're about to deploy. Especially when you're the only check and balance and don't have a team to give you a quick "dummy check" as we called it in the Air Force. 

It's never fun messing something up, even if it was something that resulted in a customer needing to delete a few emails. Regardless it was a learning experience I thought I would share.

Have an awesome week.
Gatsby how much React do you need to know?
Tags: gatsby, javascript, react
Published: 2020-03-08 13:27:32

---
title: Gatsby how much React do you need to know?
published: true
description: 
tags: gatsby, javascript, react
---

I'd like to build a project in Gatsby to compare to my blog which I have built using [Gridsome](https://gridsome.org/), so I know some Vue but I'm far from an expert. I don't really know React question is how much React would I need to know to get started with Gatsby?

I've done a couple of tutorials on their site and understood enough of it I think but is worth me learning a bit more React first or should I just jump in?

My experience currently is I've built/am building a couple of projects with Vue-cli and my blog is built with Gridsome which is Vue-based and I have read up on Nuxt. I'm interested in learning more about JAMstack too.

I would like to learn some React just to compare and have a broader understanding but do I need to for Gatsby?

Any thoughts/suggestions would be appreciated.
"Don't be fooled by the blocks that I've got!"
Tags: coding, codingnewbie, advice, learning
Published: 2020-03-08 13:20:16

Way back in 2002 Jennifer Lopez told us to remember where we started as she sung 'I'm still Jenny from the block' and over the last few months as I've re-learnt HTML & CSS after nearly 15 years and started learning JavaScript I've come to believe that Jennifer's advice is pretty essential for the programmer.

Whether you've learnt a programming language in the past and are revisiting it, learning a new language or learning to code having never coded before it's important to remind yourself that there was a point where you knew nothing of the language you're learning.

Let me explain why this is a helpful thing to remember…

Two years ago I purchased a Udemy course to learn how to create iOS apps and over the last couple of years have become increasingly more comfortable with Swift even creating a few of my own apps. I still need to Google how to do things and revisit some of the modules in that course but I'm comfortable enough to do that and know where to find (and understand) the solutions. There was, however, a time in that journey when even a basic concept such as a variable or function was new and difficult for me to understand.

Fast forward to learning JavaScript and I've found that I've whizzed through the basics of the language, finding that many of the concepts FreeCodeCamp and CodeAcademy are explaining to me are the same as in Swift, they just have a different syntax.

However, as I've dived into the server-side of JavaScript, packages and modules on the course I'm currently doing I've found that it's been trickier to get my head around topics and that I'll finish a module without feeling like I fully understand something and I need to remind myself that 'that's ok'.

If I could time travel and were to go back a couple of years and try to explain even the basics of JavaScript to my past self I know 'past me' would struggle to have a clue what I was talking about. Likewise, even looking back to some of my Swift course now I remember really struggling with APIs but now I feel like I'm more confident in making requests to APIs and dealing with the results.

So what's my point?

My point is that whether you're at the start of your coding journey, somewhere in the middle (like me) or a seasoned programme I suspect we need to remember Jennifer Lopez's advice to remember where we came from.
If that concept feels tricky now then Google it to find out more, watch some YouTube videos on it, practice using it for some other projects, think about it whilst exercising or take a break but whatever you do remember that once you were clueless about concepts you now feel confident about and that as you persist with this new concept you'll look back and wonder why you ever struggled to grasp it.