Libove Blog

Personal Blog about anything - mostly programming, cooking and random thoughts

#

#gamedev progress:

  • built a UI system using "immediate mode" style.

Code for one button:

if (d.add_inter(.{ .BUTTON = .{} }, .{ .owner = i, .item = 0, .index = 0 })) {
    std.debug.print("BUTTON KITCHEN\n", .{});
}
d.down();
{
    d.add(.{ .V_LIST = .{} });
    d.down();
    {
        d.add(.{ .TEXT = .{ .text = "Kitchen", .box = rl.Vector2.init(200, 20) } });
        d.add(.{ .TEXT = .{ .text = "100 G", .box = rl.Vector2.init(200, 20) } });
    }
    d.up();
}
d.up();

gif showing UI dialogs popping up and highlighting buttons under the mouse

#zig





#

Circle: q2qu1sV11am11am11am11am11am

#chromahack


#

Mandelbrot: yq111axqms CMyq111axqmsA CMyq111axqmsA CMyq111axqmsA CMyq111axqmsA CMyq111axqmsA CMyq111axqmsA CMyq111axqmsA CMyq111axqmsA CMyq111axqmsA

(explanation will follow)

#chromahack


#

What is considered best practice when shutting down an #ActivityPub service? The services itself is not used by anyone, but still received a constant stream of activities for deleted users.


#

Just to get this straight:

  • the US banned exports of #AI chips to China in fear of AI supremacy
  • They restricted themselves to regulate any AI in the next 10 years
  • a few days later #grok became the reincarnation of Hitler himself

If I thought that #AGI was just around the corner I would be really concerned now.


#

Writing is a muscle. I haven't written longer pieces for some time and started work on an article two days ago. I only got 4 paragraphs done these days and the were really bad. Today I've written a dozen which read much better.


#

I've finally watched first season of the new #DoctorWho series.

I was skeptical for the first two episodes. By the third episode it felt as if the they found their groove and what made Doctor Who the show I love.