Michael Grunder's Avatar

Michael Grunder

@mgrunder

Open source code monkey. Maintainer of #phpredis and contributor to #hiredis and #libvalkey.

96
Followers
73
Following
186
Posts
01.06.2023
Joined
Posts Following

Latest posts by Michael Grunder @mgrunder

Is it going to remain MIT licensed?

Just for fun I added it to phpredis and it provides ~10% speedup for heavy ZRANGE WITHSCORES workloads

02.02.2026 19:36 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Replace fast_float C++ library with pure C implementation by antirez Β· Pull Request #14661 Β· redis/redis The fast_float dependency required C++ (libstdc++) to build Redis. This commit replaces the 3800-line C++ template library with a minimal pure C implementation (~260 lines) that provides the same f...

@antirez.bsky.social

Written by Claude Code. Wow! 🀯

github.com/redis/redis/...

01.02.2026 18:32 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

The police have been murdering people like this my entire life and are almost never prosecuted or even fired.

07.01.2026 22:21 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

They're gonna send such a strongly worded (fundraising) email

07.01.2026 22:13 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Tuvix from Star Trek Voyager

Tuvix from Star Trek Voyager

Too soon 😭

#tuvix #voyager

21.11.2025 04:24 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

We do that stuff in production all the time -- in C.

Can confirm: We are very scared πŸ˜…

20.11.2025 20:43 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

National security fear mongering to encourage massive public investements in AI.

06.11.2025 20:26 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Preview
Release 6.3.0 Β· phpredis/phpredis [6.3.0] - 2025-11-06 (Github, PECL) This release introduces support for dozens of new commands, including has field expiration, Valkey’s DELIFEQ, and Redis vector set commands. It also includes man...

Announcing #phpredis 6.3.0 GA

This release introduces support for dozens of new commands, including hash field expiration, Valkey’s DELIFEQ, and Redis vector sets. It also includes many bug fixes and performance improvements.

#php #redis

github.com/phpredis/php...
pecl.php.net/package/redi...

06.11.2025 20:08 πŸ‘ 2 πŸ” 1 πŸ’¬ 0 πŸ“Œ 0
Redis vector sets Introduction to Redis vector sets

I offer help for free, via email, to people using Redis Vector Sets in production or if they are experimenting with that. Feel free to ping me! If you don't know what I'm talking about, check this: redis.io/docs/latest/...

06.11.2025 12:16 πŸ‘ 22 πŸ” 5 πŸ’¬ 2 πŸ“Œ 0

How are people going to know what stocks to pick? 😭

06.11.2025 18:55 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image

Wait, he wasn't bitten by C++'s rabies infected rat, Kieth?

01.11.2025 22:17 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Compiler Explorer - C++ (x86-64 gcc 15.1) typedef struct zend_string { char *val; size_t len; } zend_string; #define ZSTR_LEN(s) ((s)->len) #define ZSTR_VAL(s) ((s)->val) #define EXPECTED(x) (__builtin_expect((x),1)) int weig...

Interesting #GCC codegen quirk.

Using a union nudges GCC into making the fast path one 32-bit load. It can't figure that out with a naked int.

godbolt.org/z/Yh66v1jsc

01.11.2025 22:02 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Squirrel versus Fox
Squirrel versus Fox YouTube video by Saveafox

One of my favorite videos (a squirrel ready to rumble)
www.youtube.com/watch?v=rEDu...

20.10.2025 02:26 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Post image
19.10.2025 23:50 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Is she going to give you major side-eye when 7 of 9 shows up?

16.10.2025 18:34 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

For those curious this is a negative 5900% gross margin

14.10.2025 23:47 πŸ‘ 988 πŸ” 129 πŸ’¬ 40 πŸ“Œ 7

I didn't go to business school. Is that good?

15.10.2025 21:34 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
Slack message: "The issue is that ruby is a warcrime"

Slack message: "The issue is that ruby is a warcrime"

Adding constructive comments in the team's slack, as usual.

15.10.2025 21:23 πŸ‘ 1 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

Honestly, I'm really proud of that D7 guitar. 🀘🏻

15.10.2025 14:10 πŸ‘ 170 πŸ” 27 πŸ’¬ 10 πŸ“Œ 0
Preview
Release 6.3.0RC1 Β· phpredis/phpredis 6.3.0RC1 This release introduces support for dozens of new commands, including hash field expiration, Valkey’s DELIFEQ, and Redis vector set operations. It also delivers numerous bug fixes and perf...

Announcing #phpredis 6.3.0RC1

github.com/phpredis/php...
pecl.php.net/package/redi...

This release introduces many new commands, including HFE, Valkey’s DELIFEQ, and Redis vector sets. It also has many fixes and performance improvements.

#php #redis #valkey

cc @tillkruss.bsky.social

15.10.2025 01:01 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0

He will get a bailout and the taxpayers will get soaked.

Just like the last five times 😭

14.10.2025 21:20 πŸ‘ 0 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Preview
a man wearing a green shirt is making a sad face . ALT: a man wearing a green shirt is making a sad face .
13.10.2025 02:16 πŸ‘ 2 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Lesbian Pride flag.

custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Lesbian Pride flag.

custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Gay Pride flag.

custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Gay Pride flag.

custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Bisexual Pride flag.

custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Bisexual Pride flag.

custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Transgender Pride flag.

custom design feature my interpretation of an American Sign language sign for "Nerd." two fingers are pushing up a pair of glasses. The 3 stars represent Orion's belt. behind the image are the colors of the Transgender Pride flag.

October 11 is International Coming Out Day.

I say it's long overdue for people to accept us for who we are. So, let me say this loud and clear:

We're here and WE'RE NERDS!

Oh, and some of us are gay, deal with it. πŸ˜ŽπŸ––πŸ»πŸ€ŸπŸ»

10.10.2025 19:33 πŸ‘ 84 πŸ” 28 πŸ’¬ 3 πŸ“Œ 4

Which logs? Do you mean the image alt text?

10.10.2025 18:49 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
Post image

Every time

10.10.2025 18:40 πŸ‘ 0 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
❯ clang-19 -std=c23 -Wall filequine.c
❯ ./a.out
// quine.c (requires a C23-compliant compiler)
// cc -std=c23 quine.c

#include <unistd.h>

const unsigned char me[] = {
    #embed __FILE__
};

int main(void) {
    write(1, me, sizeof(me));
}

❯ clang-19 -std=c23 -Wall filequine.c ❯ ./a.out // quine.c (requires a C23-compliant compiler) // cc -std=c23 quine.c #include <unistd.h> const unsigned char me[] = { #embed __FILE__ }; int main(void) { write(1, me, sizeof(me)); }

It does (at least with gcc and clang)

10.10.2025 17:18 πŸ‘ 3 πŸ” 0 πŸ’¬ 0 πŸ“Œ 0
// quine.c (requires a C23-compliant compiler)
// cc -std=c23 quine.c

#include <unistd.h>

const unsigned char me[] = {
    #embed "quine.c"
};

int main(void) {
    write(1, me, sizeof(me));
}

// quine.c (requires a C23-compliant compiler) // cc -std=c23 quine.c #include <unistd.h> const unsigned char me[] = { #embed "quine.c" }; int main(void) { write(1, me, sizeof(me)); }

Hey @thephd.dev was the real motivation behind #embed to make quines easier in C? πŸ˜†

09.10.2025 21:19 πŸ‘ 30 πŸ” 4 πŸ’¬ 3 πŸ“Œ 0

That seems bad but maybe they can make it up in volume. πŸ˜†

03.10.2025 02:12 πŸ‘ 2 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0

That seems to be the consensus, so that's what we'll do.

Also it's actually going to be 6.3.0RC1. I have no idea why I wrote 3.1.0 πŸ˜…

02.10.2025 17:36 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0
A message about PHP's PECL being deprecated that directs you to publish your extension to PIE instead.

A message about PHP's PECL being deprecated that directs you to publish your extension to PIE instead.

They finally killed #PECL?

I'm in the middle of doing a #phpredis 3.1.0RC1 release. Trying to figure out if I should still do a release on PECL.

#php

02.10.2025 17:14 πŸ‘ 1 πŸ” 0 πŸ’¬ 1 πŸ“Œ 0