Hacker Newsnew | past | comments | ask | show | jobs | submit | gammadist's commentslogin

Presumably, the poster is referencing the patterns described in this talk: https://archive.fosdem.org/2019/schedule/event/kubernetesclu...

> Unknown to most, Kubernetes was originally written in Java. If you have ever looked at the source code, or vendored a library you probably have already noticed a fair amount of factory patterns and singletons littered throughout the code base. Furthermore Kubernetes is built around various primitives referred to in the code base as “Objects”. In the Go programming language we explicitly did not ever build in a concept of an “Object”. We look at examples of this code, and explore what the code is truly attempting to do. We then take it a step further by offering idiomatic Go examples that we could refactor the pseudo object oriented Go code to.


I have a lot of respect for Kris but in this context, as the person who approved the PR adding the “Object” interface to the code base (and participated in most of the subsequent discussions about how to expand it), it was not done because we felt Go lacked a fundamental construct or forces an imperative style. We simply chose a generic name because at the time “not using interface{}” seemed to be idiomatic go.

The only real abstraction we need from Go is zero-cost serialization frameworks, which I think is an example of where having that would compromise Go’s core principles.


I agree with this; most of the folks I work with spend a lot (to me) on clothes. Once I started buying more fashionable clothes I noticed I felt more like part of the group. Even though nobody changed their behavior to me, it definitely boosted my feeling of acceptance at work.


Would “cultivate an interest or hobby to avoid burnout” be an accurate summary of your comment?


No, it would not. You avoid burnout by not having a full-time job in addition to whatever personal development you are pursuing.


The animations are a real pain. Who decided to make the animation to switch desktops almost one second in length?


Out of frustration for this, I wrote Craig Federighi an email some years back. I asked if it was possible to just disable the spaces animation without disabling ALL animations, since the rolling animation makes me nauseous. Previously I had used yabai, but it needed to disable SIP in order to switch without an animation, which was a no-go for me.

He responded with several follow up questions, but nothing came of it unfortunately… Hopefully it’s on someone’s task list somewhere


You used to be able to modify a plist to change the duration of things like switching spaces. It stopped working around 10.14 and I really miss it.


Have you ever tried “Reduce Motion” in Accessibility -> Display?


Yes. Instead of a sliding animation with a one second duration, I get a crossfade animation with a one second duration.


This. I keep typing right after I switch screens and it ALWAYS misses the first couple of keys. It's absolutely infuriating


Is this when using fullscreen apps / spaces? I exist entirely between iterm and chrome, so I use iterms non-native fullscreen so that it’s fast to switch otherwise the OS lag is unbearable.


ctrl+Number is the fastest way to switch Spaces out of the box. Some third party apps (Total Spaces) get rid of all animations.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: