#diary

9 posts · Last used 2d

Back to Timeline
In reply to
@the_roamer@mastodonapp.uk · 2d ago
@samuelpepys@mastodon.social "I calling her beggar, and she me pricklouse" Frank exchanges are at the core of every healthy marriage, and you and your wife are doing well, Sam, very well. And "pricklouse" is excellent: your wife is even better with words than you are, Sam. And I love how you're putting the entire episode into brackets! Without it, we merely read "So up and to my office () and there all the morning." The most subversive use of brackets imaginable. Either way, your charming entry has made my Saturday morning blues go away. You are a good man, Sam. #Pepys #Pricklouse #marriage #brackets #diary
0
0
1
In reply to
@the_roamer@mastodonapp.uk · Apr 12, 2026
@samuelpepys@mastodon.social "After dinner in comes Captain Lambert of the Norwich, this day come from Tangier, whom I am glad to see." Perfection. The initial inversion, "in comes Captain Lambert", makes us feel the jolt of his entrance, and we are ready for hearing that the surprise is a welcome one. The relevant framing comes from the "after dinner" and the "come from Algier". A dense piece of information that also grabs us almost physically as an experienced event. The perfect diary entry. #Pepys #diary #style
4
0
0
@shanmukhateja@social.linux.pizza · Mar 29, 2026

Do you know what happens when you write C+++ Qt code with web dev experience? Your mental model for memory management (which is non-existent because JS has GC), leads to memory leaks.

It’s so bad I had to:

  1. rewrite most of the init code for member variables in almost all widgets so the expectation of “WidgetA” from “child C” of MainWindow is available when “WidgetB” emits a signal.

  2. currently debugging memory leak when MainWindow is closed - huh? Yup, I have a WindowActivate event that triggers a “status” update and ALL important widgets listen to the signal emitted by THIS fn to update the state.

  3. A connect() is causing seg fault right now when I update the widget’s state multiple times in a row. (still haven’t checked this out yet)

  4. clang-tidy is labelling cosmetic things like “Class obj = new Class();” into “auto obj = new Class();” and my OCD is annoyed.

#diary #cppdev #gitraven #opensource

2
0
1
@shanmukhateja@social.linux.pizza · Mar 28, 2026
I had fun playing Mafia 2 remaster yesterday. The other day, I played a little bit of DMC 5. It’s been many years since I launched Steam client ❤️‍🩹 #diary #gaming
0
0
0
@shanmukhateja@social.linux.pizza · Mar 07, 2026
ok idc what anybody says I love #Nickelback That’s it. That’s the toot. #rockmusic #diary #music
0
0
0
@jackandersson@indieauthors.social · Feb 20, 2026
0
0
1
@nickharrison@mastodonapp.uk · Feb 01, 2026
3
0
1
@shanmukhateja@social.linux.pizza · Jan 31, 2026
Had fun playing #Cyberpunk2077 after a LOOOOOOOONG time. my netrunner V has either 2 modes - quickhacks or guns. No middle ground. (Is there anything else I wonder?) I need to re-learn how to grab people from behind so I can put them to sleep. I forgot the keybinding for it. Anyways, it was 3 hours well spent. #diary #gaming
1
0
0
In reply to
@shanmukhateja@social.linux.pizza · Jan 29, 2026

Found the culprit! It was the max_id parameter in /api/v1/timeline/api/v1/timelines/home endpoint.

The code inside Tokodon is as follows:

// maintimelinemodel.cpp

if (!fromId.isEmpty() && !query.hasQueryItem(QStringLiteral("max_id"))) {
        // TODO: this is an *upper bound* so it always is one less than the last post we read
        // is this really how it's supposed to work wrt read markers?
        query.addQueryItem(QStringLiteral("max_id"), fromId);
    }

This code can be searched via max_id keyword. You need to comment out the query.addQueryItem line and Tokodon will work just fine.

I think this is a BUG for the following reasons:

  1. max_id invalidation failure
  2. Lack of retry logic w/o this query item when we know API response (data variable) is empty.
  3. When user logged out, all such data should be deleted as well. A full logout from the app should’ve reset this data.

A part of me thinks this info was sent by Mastodon server as part of my account info.

@tokodon@kde.social @kde@floss.social

This is in Manjaro Linux fully updated with #Qt 6.10

This was a fun bug to track though :)

#diary #linux #opensource #kde #bugs

2
1
0

You've seen all posts