Advertisement · 728 × 90

Posts by Michael Grunder

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

2 months ago 1 0 0 1
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/...

2 months ago 1 0 1 0

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

3 months ago 0 0 0 0

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

3 months ago 1 0 0 0
Tuvix from Star Trek Voyager

Tuvix from Star Trek Voyager

Too soon 😭

#tuvix #voyager

5 months ago 1 0 0 0

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

Can confirm: We are very scared 😅

5 months ago 3 0 0 0

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

5 months ago 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...

5 months ago 2 1 0 0
Advertisement
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/...

5 months ago 22 5 2 0

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

5 months ago 1 0 0 0
Post image

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

5 months ago 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

5 months ago 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...

6 months ago 3 0 0 0
Post image
6 months ago 1 0 0 0

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

6 months ago 1 0 1 0

For those curious this is a negative 5900% gross margin

6 months ago 987 129 40 7
Advertisement

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

6 months ago 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.

6 months ago 1 0 0 0

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

6 months ago 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

6 months ago 2 0 0 0

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

Just like the last five times 😭

6 months ago 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 .
6 months ago 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. 😎🖖🏻🤟🏻

6 months ago 84 28 3 4

Which logs? Do you mean the image alt text?

6 months ago 1 0 1 0
Post image

Every time

6 months ago 0 0 0 0
Advertisement
❯ 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)

6 months ago 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? 😆

6 months ago 30 4 3 0

That seems bad but maybe they can make it up in volume. 😆

6 months ago 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 😅

6 months ago 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

6 months ago 1 0 1 0