-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
78086e5
commit 04e6e90
Showing
3 changed files
with
67 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ FROM golang:1.23 AS base | |
WORKDIR /usr/src/app | ||
|
||
ENV CGO_ENABLED=0 | ||
RUN go install github.com/playtechnique/andrew/cmd/[email protected].3 | ||
RUN go install github.com/playtechnique/andrew/cmd/[email protected].4 | ||
|
||
FROM scratch | ||
|
||
|
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,2 @@ | ||
run: | ||
go run github.com/playtechnique/andrew/cmd/[email protected] /Users/gwyn/Developer/playtechnique/website/content localhost:8081 localhost:8081 |
64 changes: 64 additions & 0 deletions
64
content/projects/leetcode-in-go/how-do-you-get-to-carnegie-hall.html
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,64 @@ | ||
<!DOCTYPE html> | ||
|
||
<head> | ||
<script type="text/javascript" src="/main.js"></script> | ||
<title>How Do You Get To Carnegie Hall?</title> | ||
<meta name="andrew-publish-time" content="2024-09-05" | ||
</head> | ||
|
||
<body> | ||
<nav class="navigation"> | ||
<a href="/" class="link">front page</a> | ||
<a href=/><img src="/images/logo.png"></a> | ||
<a href="/blog/index.html" class="link">blog</a> | ||
<a href="/projects/index.html" class="link">projects</a> | ||
</nav> | ||
|
||
<link rel="stylesheet" href="/styles.css"> | ||
<div id="playtechnique-header"></div> | ||
<main> | ||
<article> | ||
<h1>Intro: How Do You Get To Carnegie Hall?</h1> | ||
<section id="practice"> | ||
<p> | ||
Practice, practice, practice<sup><a href="https://www.carnegiehall.org/Explore/Articles/2020/04/10/The-Joke">1</a></sup> | ||
</p> | ||
<p> | ||
I've never felt confident in passing coding interviews. I <i>write</i> code a lot, but it's not the kind of algorithm-oriented software that | ||
businesses are testing software developers for, it's app code not the sort of thing Linus would recognise. | ||
</p> | ||
<p> | ||
My favourite software iconoclast, DHH, tells us to <a href="https://world.hey.com/dhh/programmers-should-stop-celebrating-incompetence-de1a4725">Stop Celebrating Incompetence</a>. | ||
<blockquote> | ||
You're not a clueless dog banging at the keyboard with no prospects of ever improving. You're a human of tremendous capacity to become good at what you do. Embrace that. | ||
</blockquote> | ||
</p> | ||
<p> | ||
Muhammad Ali <a href="https://alicenter.org/meet-ali/in-his-own-words/">tells us</a> | ||
<blockquote> | ||
The fight is won or lost far away from witnesses - behind the lines, in the gym, and out there on the road, long before I dance under those lights. | ||
</blockquote> | ||
</p> | ||
<p> | ||
These are trivially true things. | ||
</p> | ||
<p> | ||
I've bashed my head against leetcode before and gotten discouraged at how <i>hard</i> it is to learn this sort of algorithmic, data-structure-centric way of viewing | ||
the world, when all I want to do is have fun with software. But, damn, I'm tired of being a clueless dog, of feeling like I lost the interview before I even joined | ||
the zoom call. | ||
</p> | ||
<p> | ||
The cliché we have is that you can grind leetcode to get good at this. So let's start grinding leetcode, like it's a gym. Learn to love the process of taking six months | ||
to see noticeable progress. | ||
</p> | ||
|
||
</section> | ||
|
||
{{ .AndrewTableOfContents }} | ||
|
||
</article> | ||
</main> | ||
</body> | ||
|
||
|
||
|