søren peter mørch

Timeline

Recent posts from feeds followed by sorenpeter@darch.dk

movq (www.uninformativ.de)

Haha, GitHub. I “unlocked” the “achievement” called “Quickdraw”:

https://movq.de/v/efc96874f0/s.png

It’s for closing an issue very soon after it was opened.

Only problem: I was the one who opened it and it was a mistake, so I quickly closed it again. 🤦‍♀️ https://github.com/bundlewrap/bundlewrap/issues/892

Read replies 5 months ago
movq (www.uninformativ.de)

@lyse Oh god, yeah. In other words: Devs need to think about who their target audience is. 😐

In reply to: #xuaorvq 5 months ago
lyse (lyse.isobeef.org)

Fuck me! I tried to upgrade tview and the first thing I notice is a shitload of added dependency versions:

go.mod | 18 ++++-----
go.sum | 97 ++++++++++++++++++++++++++++++++++++++-----------

My code does not compile anymore as the view.FormItem interface was extended. Get/SetDisabled(…) are quickly implemented, no worries.

But the tview.Primitive (what makes a widget) interface has now a bunch of PRIVATE methods. For focus handling. Would you believe that!? Thanks, I cannot satisfy this interface in my very custom widgets anymore. Okay then, I just embed *tview.Box. tt now successfully compiles, but does not react anymore on key presses and the message tree is not focused either.

I'm not in the mood to debug this shit. :-( Lunch time.

In reply to: #qx3vz4a 5 months ago
lyse (lyse.isobeef.org)

@movq I just ran across another thing. At least I personally couldn't care less about CI infrastructure changes. Whether they're using github action a or b or c or version v or w, it is not of my interest. At all. (It might be useful to estimate the supply chain attack risk, though.) If the maintainers want to include them in the changelog – and there are probably people to whom this information is crucial – it's probably best to document CI infrastructure changes in their own section.

In reply to: #xuaorvq 5 months ago
lyse (lyse.isobeef.org)

@movq You may want to include another antipattern to avoid in your article:

  • bump $same_dependency from 1.0.0 to 1.0.1
  • bump $same_dependency from 1.0.1 to 1.0.2
  • bump $same_dependency from 1.0.2 to 1.1.0
  • bump $same_dependency from 1.1.0 to 1.2.0
In reply to: #xuaorvq 5 months ago
lyse (lyse.isobeef.org)

@movq Thank you very much! So, the concept is very similar. The root widget gets the input and can pass it to whatever child has the focus and so on.

My two main issues are the API design, that the input handler sometimes get an additional callback to notify the application about which element is focused, but sometimes not. And that focus switching sometimes just does not work as expected. Anyway.

As for rendering the selected button, I was also thinking about indicating it with some kind of border around it, square brackets seem to be a wonderful choice. :-)

In reply to: #qx3vz4a 5 months ago
prologic (twtxt.net)

@itsericwoodward Why hear? I'll just put it up at https://twtxt.app now shall I? It's good enough IMO that it's already working quite well. The challenging parts now is to figure out a good set of default publishing connectors to support? 🤔

In reply to: #fzy7req 5 months ago
itsericwoodward (itsericwoodward.com)

@prologic I look forward to hearing more about it.

In reply to: #fzy7req 5 months ago
prologic (twtxt.net)

@itsericwoodward Yes really 🤣

In reply to: #fzy7req 5 months ago
itsericwoodward (itsericwoodward.com)

In today's #caturday image, Emperor Maximilian the First tries to teach his subjects how to play Sequence, despite never having read the rules himself...

https://itsericwoodward.com/images/5b57eff4.jpg

Read replies 5 months ago
Reply via email