Skip to content

Commit

Permalink
Jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
teivah committed Mar 6, 2024
1 parent 145241e commit 03cfef8
Show file tree
Hide file tree
Showing 26 changed files with 44 additions and 2,494 deletions.
15 changes: 0 additions & 15 deletions docs/community.md

This file was deleted.

17 changes: 15 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ comments: true

This page is a summary of the mistakes in the [100 Go Mistakes and How to Avoid Them book](book.md). Meanwhile, it's also open to the community. If you believe that a common Go mistake should be added, please create an [issue](https://github.com/teivah/100-go-mistakes/issues/new?assignees=&labels=community+mistake&template=community_mistake.md&title=).

???+ Tip "Jobs"

Is your company hiring? [Sponsor](https://github.com/sponsors/teivah/sponsorships?sponsor=teivah&tier_id=386213&preview=true) this repository and let a significant audience of Go developers (~1k unique visitors per week) know about your opportunities in this section.


![](img/inside-cover.png)

???+ warning "Beta"

You're viewing a beta version enriched with significantly more content. However, this version is not yet complete, and I'm looking for volunteers to help me summarize the remaining mistakes ([GitHub issue #43](https://github.com/teivah/100-go-mistakes/issues/43)).

Progress:
<progress value="80" max="100"/>

![](img/inside-cover.png)

## Code and Project Organization

### Unintended variable shadowing (#1)
Expand Down Expand Up @@ -2372,3 +2377,11 @@ The `GOMAXPROCS` variable defines the limit of OS threads in charge of executing
When running some Go code inside Docker and Kubernetes, we must know that Go isn't CFS-aware ([github.com/golang/go/issues/33803](https://github.com/golang/go/issues/33803)). Therefore, `GOMAXPROCS` isn't automatically set to the value of `spec.containers.resources.limits.cpu` (see [Kubernetes Resource Management for Pods and Containers](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)); instead, it's set to the number of logical cores on the host machine. The main implication is that it can lead to an increased tail latency in some specific situations.

One solution is to rely on [uber-go/automaxprocs](https://github.com/uber-go/automaxprocs) that automatically set `GOMAXPROCS` to match the Linux container CPU quota.

## Community

Thanks to all the contributors:

<a href="https://contrib.rocks/image?repo=teivah/100-go-mistakes">
<img src="https://contrib.rocks/image?repo=teivah/100-go-mistakes" alt="Description of the image">
</a>
9 changes: 0 additions & 9 deletions docs/jobs.md

This file was deleted.

1 change: 0 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ nav:
- 89-benchmarks.md
- 92-false-sharing.md
- 98-profiling-execution-tracing.md
- community.md
markdown_extensions:
- admonition
- pymdownx.details
Expand Down
37 changes: 0 additions & 37 deletions site/20-slice/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,23 +335,6 @@







<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">




Community

</a>
</li>



</ul>
</div>
</nav>
Expand Down Expand Up @@ -820,26 +803,6 @@









<li class="md-nav__item">
<a href="../community/" class="md-nav__link">


<span class="md-ellipsis">
Community
</span>


</a>
</li>



</ul>
</nav>
</div>
Expand Down
37 changes: 0 additions & 37 deletions site/28-maps-memory-leaks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,23 +335,6 @@







<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">




Community

</a>
</li>



</ul>
</div>
</nav>
Expand Down Expand Up @@ -820,26 +803,6 @@









<li class="md-nav__item">
<a href="../community/" class="md-nav__link">


<span class="md-ellipsis">
Community
</span>


</a>
</li>



</ul>
</nav>
</div>
Expand Down
37 changes: 0 additions & 37 deletions site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,23 +287,6 @@







<li class="md-tabs__item">
<a href="/community/" class="md-tabs__link">




Community

</a>
</li>



</ul>
</div>
</nav>
Expand Down Expand Up @@ -754,26 +737,6 @@









<li class="md-nav__item">
<a href="/community/" class="md-nav__link">


<span class="md-ellipsis">
Community
</span>


</a>
</li>



</ul>
</nav>
</div>
Expand Down
37 changes: 0 additions & 37 deletions site/5-interface-pollution/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,23 +335,6 @@







<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">




Community

</a>
</li>



</ul>
</div>
</nav>
Expand Down Expand Up @@ -910,26 +893,6 @@









<li class="md-nav__item">
<a href="../community/" class="md-nav__link">


<span class="md-ellipsis">
Community
</span>


</a>
</li>



</ul>
</nav>
</div>
Expand Down
37 changes: 0 additions & 37 deletions site/56-concurrency-faster/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,23 +335,6 @@







<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">




Community

</a>
</li>



</ul>
</div>
</nav>
Expand Down Expand Up @@ -877,26 +860,6 @@









<li class="md-nav__item">
<a href="../community/" class="md-nav__link">


<span class="md-ellipsis">
Community
</span>


</a>
</li>



</ul>
</nav>
</div>
Expand Down
37 changes: 0 additions & 37 deletions site/89-benchmarks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -335,23 +335,6 @@







<li class="md-tabs__item">
<a href="../community/" class="md-tabs__link">




Community

</a>
</li>



</ul>
</div>
</nav>
Expand Down Expand Up @@ -895,26 +878,6 @@









<li class="md-nav__item">
<a href="../community/" class="md-nav__link">


<span class="md-ellipsis">
Community
</span>


</a>
</li>



</ul>
</nav>
</div>
Expand Down
Loading

0 comments on commit 03cfef8

Please sign in to comment.