Tarantool Finds Old Users
Hey Tarantool, get me users between 25 and 30 years old Tarantool do result = {} for _, tuple in box.space.users.index.old_index:pairs(25, {iterator = "GE"}) do if tuple.old >= 30 then break end table.insert(result, tuple) end return result end Tarantool Jesus Christ
A four-panel programming meme shows a doodle character asking Tarantool to find users aged between 25 and 30. The code queries users starting at age 25 but stops when the age reaches 30, leaving the result empty because the condition excludes the target range. The final panel labels the character “Jesus Christ” as an exaggerated reaction to the absurdly unhelpful query.
doodle person / человечек-рисунокround glasses / круглые очкиsmiling face / улыбающееся лицоoutstretched hands / вытянутые рукиwhite background / белый фонfour-panel comic / комикс из четырёх панелейprogramming code / программный кодdatabase query / запрос к базе данныхblue Tarantool logo / синий логотип Tarantoolrectangular panels / прямоугольные панели
- @profunctor_io / 9392 2023-10-28
- Type
- image
- Size
- 756×800 · 73.8 KiB
- Mood
- absurd, sarcastic
- Language
- en
- Added