HNHacker News
TopNewBestAskShowJobs

jacobtomlinson

98 karma · joined September 4, 2017

submissionscomments
jacobtomlinson··on Meta in row after workers who saw smart glasses users having sex lose jobs
"row" means "an argument"
jacobtomlinson··on How to talk to anyone and why you should
I'm sorry you had that experience, I know that feeling and it sucks.

One thing I love about socials at conferences is that it's a self selecting group of people who want to talk to other people, otherwise they wouldn't be there. Even if people are shy and awkward they are in that room because they want to be social, even if they aren't able to start the conversation themselves. There's also usually a code of conduct for the conference so you have a better chance of people behaving in an acceptable way towards you, which makes the whole thing feel less risky. Over the last 10 years I've gotten much better at talking to people at these events and now quite enjoy them.

That being said I still find it really hard to walk up to a group of strangers and say hi, but in this setting it's way more socially acceptable, so I force myself to do it. I much prefer to be invited into conversation by another person, which does happen occasionally. But sometimes you have to be the one to start.

The only time I've found it go negatively is when you chat with a group of people who all work together, especially if they are remote, because they may be using the conference social to bond with their colleagues and not some random person. But that's their problem, and you should just watch for that scenario and move on to another group.

jacobtomlinson··on Vibecoding #2
Instructions unclear, Claude just spent three days and millions of tokens rebuilding SLURM from the ground up. /s
jacobtomlinson··on Can Bundler be as fast as uv?
It allows you to define common tasks such as linting, running tests, building docs, etc under an alias.

So you can run

uv run poe docs

Instead of

uv run sphinx-build -W -b dirhtml docs/source docs/build

Many languages have a task runners baked into their package manager, but many others don’t. In Ruby it’s roughly the equivalent of Rake.

jacobtomlinson··on Python package managers: uv vs. pixi?
Author of the post here. For Python package management I use a mixture of pixi, uv and conda depending on the task I'm doing. I wrote up a long form post about the history of these tools, why each one exists, and why I settled on these choices in my workflow. I hope this is interesting to folks who want to learn more about why Python package tooling is so fragmented!
jacobtomlinson··on Internet's biggest annoyance: Cookie laws should target browsers, not websites
Ironic, I opened that article to be greeted with a cookie banner that didn't have a "Decline All" button.
jacobtomlinson··on Python 3.14 is here. How fast is it?
Same! This tutorial from 2012 was one of the first things I did in Python. Coming from PHP it was so refreshing. https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial...
jacobtomlinson··on Gemini 2.5 Computer Use model
Your comment flows with the grace of a Stephen King novel. Did you write it with an LLM by any chance?
jacobtomlinson··on Prime Number Grid
I just set the column width to 6 to verify this for myself. What a neat tool!
jacobtomlinson··on EffVer: Version your code by the effort required to upgrade (2024)
Author of the post here, happy to chat in the comments!

The TLDR is that it's a tweak to SemVer style versioning, where instead of trying to cut things up into bug fixes, enhanecements and breaking changes you use the segments to communicate how much effort is required to adopt the new version.

This version scheme has been growing in popularity in the Python community recently, partly because it's effectively what many projects already do today. So thought I'd share it more widely again.

This has been discussed on HN before: - https://news.ycombinator.com/item?id=39039414 - https://news.ycombinator.com/item?id=39400576

jacobtomlinson··on An open source, self-hosted implementation of the Tailscale control server
This is a fascinating read!
jacobtomlinson··on Show HN: I made Confetti: a configuration language file format
This also reminds me of HCL

https://github.com/hashicorp/hcl?tab=readme-ov-file#informat...

jacobtomlinson··on Chimera Linux works toward a simplified desktop
I assumed this was a post about ChimeraOS, a gaming focused Linux distro, but it seems this is talking about a totally different Linux distribution with the same name.

Chimera OS: https://chimeraos.org/

Chimera Linux: https://chimera-linux.org/

jacobtomlinson··on A beginner's guide to managing Kubernetes resources in Python with kr8s
I've been working on a Python client library for Kubernetes for a while now called kr8s that I'm hoping folks will find much simpler than other libraries out there. It's designed to feel more like using kubectl in Python rather than prodding the Kubernetes API directly.

I wrote up a getting started tutorial to try and show off the user experience. Happy to answer any questions!

jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
It will retry expired auth but backing off the timeout is a good idea!
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Thanks! Don’t hesitate to open issues if you find bugs or have feedback :)
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Poetry is a locking package manager. That’s extremely useful for applications where you don’t want dependencies to drift. However for a library you want pinning a to be looser so the benefits of poetry aren’t as strong. Given that hatch is the official method from the PyPA it felt like a better choice.
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Heh thanks. We are trying to avoid binary dependencies like kubectl because you can’t install the with pip.
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Yup, naming things is hard!
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
https://docs.kr8s.org/en/latest/branding.html
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
https://docs.kr8s.org/en/latest/branding.html
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Not currently. You might want to check out Lightkube for this. You can use Lightkube models with kr8s too.
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Wow I’ve not heard of that one! Do you have a link?
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Thanks!
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Kr8s already has things like port forwarding and I’m working on apply right now. Exec is next on my list
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Thanks!
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Lightkube is also awesome. The focus of kr8s is on simplicity, similarity to kubectl and having batteries-included. Lightkube focuses on type safety and API correctness.

They also work together and you can cast Lightkube objects to kr8s and back again.

jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Awesome thanks! Kr8s supports the exec auth and TLS options. If you run into anything that’s missing though please raise an issue and we will get it added.
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
The same way you do with kubectl, you configure your cluster in your kube config file. We can definitely add more examples though!
jacobtomlinson··on Show HN: Kr8s – a Python client library for Kubernetes
Anything you can do with the official library you can do with kr8s. Some things will require writing low level HTTP requests if we haven’t implemented them yet, but it’s not so different to the official low level auto generated API.

The goal here is to make easy things easy, while ensuring anything is possible.

Page 1 of 2Next →