News for hackers. Stuff that matters.

branislav

Re:Ask HN: Who is using MCP in production? on Friday September 04, 2026 @02:03AM (#49561046)
I’m curious, how do you handle authorization of the user without leaking tokens/api keys to model context without an MCP server (which supports OAuth, in principle)?
Re:Advice for a friend who wants to start a blog on Friday January 31, 2025 @04:15AM (#42885983)
I echo the other responses to your question. Just recently I had two instances where an old blog post of mine contained a solution to a problem a coworker encountered. I publish these notes mostly so that I don't forget about them, but it's an added degree of satisfaction when it proves helpful to others. I wrote a bit about this in one of my recent posts [1]. Don't be afraid of the rabbit holes!

[1] https://branislavjenco.github.io/rabbit-holes/

Re:So you wanna write Kubernetes controllers? on Monday January 27, 2025 @05:50AM (#42839605)
Controllers are a complex topic, but as the linked talk describes, it all comes down to some basic control theory concepts. I wrote about them in my Desired state systems post https://branislavjenco.github.io/desired-state-systems/ if somebody wants a high-level overview of how to think about them.

Basically, declarative state implies value semantics which makes it easier to reason about. Underlying complexity is high though, and you need to judge how necessary it is.

I’ve found that getting traffic through organic search isn’t that difficult, if you have a post which is quite specific. For example, some years ago I wrote down how to upload assets to an already existing GitHub Release [1] as a small note to myself, so that I remember it next time. That is one of my best performing posts, majority of traffic via search engines, and I didn’t advertise it anywhere.

It by no means gets thousands of views per day, more like single digits, but people keep finding it, which gives me hope it’s been useful for others as well.

[1] https://blog.br4.no/github-actions-release/

Re:Ink: React for Interactive CLI Apps on Saturday November 02, 2024 @02:05AM (#42024347)
One way to look at React is as an open loop desired state system, where you have a declarative way (js/jsx) of describing what you want to render and the reconciler figures out what operations to do (in the DOM), ideally in an effective way. But you could swap out the render target to other things. I wrote about it some time ago https://branislavjenco.github.io/desired-state-systems/

Ask HN: What can programmers do to help with the coronavirus?

Apart from helping getting groceries or medicine for the quarantined, what can programmers do to help in this health crisis? How can we use our skills to aid the effort to prevent spreading of the virus, effort to help the affected or the effort to put the economy back on track when we're through this?

( Read More... | 29 comments | 24 points | on HN )
Re:Black Hole Evolution Traced Out with Loop Quantum Gravity on Sunday January 13, 2019 @12:59PM (#18897778)
I also highly recommend this [1] episode of the Omega Tau podcast which touches on black holes, holography and quantum gravity.

[1] http://omegataupodcast.net/191-string-theory/

Re:Functional core, imperative shell (2012) on Saturday September 22, 2018 @02:08AM (#18044739)
It's also how something like React.js works. Wrapping stateful DOM manipulation in a functional shell, made performant thanks to the Virtual DOM diffing algorithm.

Ask HN: Good non-fiction books without filler?

As probably many of you, I notice my attention span being diminished by the usage of internet and social media.I set a goal for myself to focus on reading more books and long-form articles, but I'm finding it harder to find those which don't spend a lot of words on filler. (as discussed in https://news.ycombinator.com/item?id=17803873)What are some books/authors which are straight to the point...

( Read More... | 15 comments | 24 points | on HN )
Incidentally, I am on Xubuntu, and I would love to have the workspace switching transition that macOS has. Switching workspaces on xfce is lightning-fast but I would love to have an indication on whether I moved left or right. (other than the small indicator in a Panel) Ubuntu solves this with a HUD (or at least did with Unity).
I agree with the article in that designers can be too focused on the shiny and non-functional aspects of interfaces.

Personally I would treat design as being purely about function and anything superficial is about aesthetics.

But I think the author is throwing the baby out with the bathwater by wanting to restrict all animations. Fast, subtle animations, especially in the form of transitions between states/screens are extremely important for keeping the user informed about where they are in the context of the system.