Jon Calhoun
@joncalhoun
Followers
11K
Following
3K
Media
484
Statuses
6K
Teaching #golang & building fun projects • Want to learn Go with fun exercises & a web app? Try https://t.co/qYoY2xodvd and https://t.co/m5PyRJbIY3
Pennsylvania, USA
Joined May 2008
Interested in learning to code in 2025? Here's some of my tips & advice. 🧵
3
4
40
Black Friday Sale on my Go courses is live! Save 50% until Dec 2nd!
My Black Friday Sale starts tomorrow, Nov 20th! Save 50% on my paid #golang courses. - Web Development with Go - https://t.co/1DS5yWmpBf - Test with Go - https://t.co/7IegNTJCyE Samples are available for both courses. The sale ends Dec 2. Happy coding!
0
0
2
A growing number of young Americans are being pushed by social media and doctors to to take hormones and undergo surgery—now they're detransitioning and sounding the alarm.
155
1K
3K
My Black Friday Sale starts tomorrow, Nov 20th! Save 50% on my paid #golang courses. - Web Development with Go - https://t.co/1DS5yWmpBf - Test with Go - https://t.co/7IegNTJCyE Samples are available for both courses. The sale ends Dec 2. Happy coding!
0
3
8
I'm hiring for senior Go engineers to join us at @ona_hq! If you are: - AI native; using tools like Cursor, Claude code and Ona daily. - Are excited about building AI agents and the mission control platform that they will run on, entirely in Go. - Have 3-5 years of production Go
14
32
189
"Mac usability is characterized by its user-friendly, intuitive interface..." says nobody ever when trying to disable reactions on all video apps. 😫
0
0
0
From her comfortable life in America, Sophie plunges into India's colorful slums in 'Children Who Dance in the Rain.' Her transformative journey uncovers magic, gratitude, and empathy. Your purchase writes new stories -- 25% of proceeds directly aid underprivileged children.
6
14
252
If you haven't already, fill out the Go Developer Survey! Regardless of your experience level, it helps the Go team plan for the future. https://t.co/qMCJxhZJ6v
0
4
10
Example: Let's say I have 100 new PPP customers. That means I need to support 100 more users. If I don't have a support staff, chances are 100 PPP sales don't bring in enough $ to hire someone. Instead, I need to take time away from growing the biz to provide support. Not great.
0
0
1
Unpopular Opinion: Parity Purchasing Power (PPP) discounts are like free plans; they only make sense at a certain income/profit level. Otherwise they kill your ability to grow. https://t.co/BbiEbZwHR1
Try remove your free plan Free plans are for VC funded companies, not bootstrapped You don't have the luxury of subsidizing the entire world's usage in the hope a tiny % converts
1
0
5
💡 In Go tests, mark helper functions like assertEquals and doRequest with t.Helper() This causes the Go tooling to point to the line where the function was called rather than a line in the helper function, which makes it easier to debug a failing test. #golang
6
9
119
There are two ways to create paths in Go depending on your needs. 👉 Constructing a file path in Go? Use filepath.Join from the path/filepath package to get OS-specific separators. 👉 Constructing a slash-seperated path, like a URL? Use path.Join from the path package to get
0
0
31
Is there a #golang playground that simulates running code on Windows? Would be nice for demonstrating OS-specific differences, but I recognize it is a pretty niche.
0
0
5
I'm guessing the blog posts just falsely assumed that it would work without testing, but hoping to verify that. The source code appears to use straight string matching via a map key.
0
0
1
President Trump is right. To stay ahead in the global AI race, America needs a unified federal framework. One that promotes innovation without overbearing regulation. A smart, cohesive national policy will ensure that American ingenuity leads the world in the age of A.I.
27
41
363
The CrossOriginProtection added in Go 1.25 doesn't appear to support wildcard subdomains ( https://*.calhoun.io) for trusted origins, yet I've had a few people point me to blog posts that use a wildcard example. Am I missing something? #golang
1
0
13
GoLand users - what are your favorite features and tips? I’ve been trying it out to do a bit of a comparison, but I want to hear from #golang developers who have been using it for a bit.
7
1
18
The init() function in Go runs before main() or any tests. This makes it alluring to new developers for setting things up, but it has a few downsides: 1️⃣ It introduces hidden behavior. If someone imports a function with init in it, code runs without them ever realizing it and
0
2
80
The testing/synctest library is an awesome library to simplify your #golang tests that deal with time or concurrent code. If you have any tests that are flaky due to the use of https://t.co/9dMKSVQYEv(), timeouts, or intervals, you need to check synctest out.
2
10
91
Can your birthday candles do this? Lotus Candles® open like flowers and light up, rotate, and play the Happy Birthday tune! Birthday party guests will be amazed.
0
10
166
Go's time.Ticker is a great tool for running the same code on a set interval. For instance, you could use it to check the health of a server every 5 minutes and send you a notification if it has any issues.
3
14
159
Looking for a quick way to improve the readability of your #golang tests? Check out Michael Lynch's blog post: https://t.co/XuK75GbnHh Even if you don't agree with it completely, there are some great tips and ideas to consider.
1
11
96
I've been using Warp ( https://t.co/3cK8XH2SYF) as my terminal for the last few months, and there are so many fun little features that you get without doing anything extra. For instance, if you run "go vet" or if your program panics, it frequently suggests a fix.
2
1
31