Skip to content

Commit

Permalink
New project started: leetcode in go
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynforthewyn committed Sep 5, 2024
1 parent 78086e5 commit 04e6e90
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 2 additions & 0 deletions Makefile
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
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>



0 comments on commit 04e6e90

Please sign in to comment.