-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
145 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import type { Post } from './getAllPostPreviews'; | ||
|
||
const importAll = (r: any) => { | ||
return r.keys().map((fileName: string) => ({ | ||
link: `/thoughts${fileName.substr(1).replace(/\/index\.mdx$/, '')}`, | ||
module: r(fileName), | ||
})); | ||
}; | ||
|
||
const dateSortDesc = (a: string, b: string) => { | ||
if (a > b) return -1; | ||
if (a < b) return 1; | ||
return 0; | ||
}; | ||
|
||
export const getAllThoughtPages = (): Post[] => { | ||
return importAll(require.context('../pages/thoughts', true, /\.mdx$/)).sort( | ||
(a: any, b: any) => dateSortDesc(a.module.meta.date, b.module.meta.date), | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
src/pages/thoughts/self-taught-first-job-in-tech/index.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import clsx from 'clsx'; | ||
|
||
import { createOgImageUrl } from '@/utils/createOgImageUrl'; | ||
import { jackyef } from '@/blog/authors'; | ||
import { LightButton } from '@/components/common/Button/LightButton'; | ||
import { Surfaces, Colors } from '@/components/DesignDemo'; | ||
|
||
export const meta = { | ||
title: `Thoughts: Getting first job in tech as a self-taught`, | ||
description: `My thoughts on getting first job in tech as a self-taught`, | ||
date: '2022-08-19T03:36:40.989Z', | ||
authors: [jackyef], | ||
image: createOgImageUrl({ | ||
title: '**Getting first job in tech as a self-taught**', | ||
fontSize: 112, | ||
}), | ||
readingTime: '3 min read', | ||
tags: [], | ||
}; | ||
|
||
<!--start--> | ||
|
||
I often got questions from people who didn't study tech at school/university | ||
wanting to get into tech. This can be someone early in their career, or even | ||
mid-career looking to make a switch. | ||
|
||
My honest answer: I honestly don't know! While I do feel like a lot of the | ||
things that I learned was self-taught, I studied informatics at a polytechnic so | ||
I can't and won't pretend that I understand what you're going through. | ||
|
||
<!--more--> | ||
|
||
However, I did quite a bit interviews in the past and I can say that I | ||
personally don't care whether someone is self-taught, mid-career, or whatever. | ||
What I looked for was whether someone would be a valuable addition to the team, | ||
and that's it. I've written [my thoughts on how to go about showing our values | ||
in the hiring process](/thoughts/showcasing-values-in-hiring-process). | ||
|
||
Of course, this does not mean everyone thinks the same way I do. I have heard of | ||
stories of interviewers having personal biases that could either increase/lower | ||
your chance of landing a job. For instance, some people might look down on | ||
bootcamp graduates, but some would actually see it as a strength. In an ideal | ||
world, these non-objective factor shouldn't influence a hiring decision, but | ||
unfortunately we're just not quite there yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
let formatter: Intl.RelativeTimeFormat; | ||
|
||
const getRelativeTime = (value: number, units: Intl.RelativeTimeFormatUnit) => { | ||
if (!formatter) { | ||
formatter = new Intl.RelativeTimeFormat('en', { style: 'narrow' }); | ||
} | ||
|
||
return formatter.format(value, units); | ||
}; | ||
|
||
export const getRelativeTimeFromNow = (date: Date) => { | ||
const diffDays = Math.round( | ||
(date.getTime() - new Date().getTime()) / (24 * 60 * 60 * 1000), | ||
); | ||
|
||
if (diffDays === 0) { | ||
return 'today'; | ||
} | ||
|
||
return getRelativeTime(diffDays, 'days'); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters