Iran Jails Hard-Line Lawmaker, Exposing Deep Rifts in Its Leadership

Β© Arash Khamooshi/Polaris for The New York Times

Β© Arash Khamooshi/Polaris for The New York Times

Β© Hilary Swift for The New York Times

Β© Gesi Schilling for The New York Times

Β© Hilary Swift for The New York Times

Β© Hilary Swift for The New York Times

Β© Spencer Platt/Getty Images

Β© Gil Cohen-Magen/dpa/ZUMA Press

Β© Gil Cohen-Magen/dpa/ZUMA Press

Β© Jack Dempsey/AP Content Services for Griffin Catalyst/Associated Press

Β© Al Drago/Bloomberg News
"Rendering Doom in a database is obviously a bad idea," Lukas Vogel writes in a lengthy blog post explaining how exactly he managed to render Doom using an SQL database.
OK, that's not entirely accurate. The SQLDoom project uses a small Python client to handle input and output, drive the game's timing, and display each frame to the screen. Behind that, a series of CedarDB tables tracks the game geometry and state, while about 1,300 lines of SQL queries spread across 89 common table expressions implement the game logic and generate 35 bitmap framebuffers per second.
In this, SQLDoom is a major improvement over Vogel's previous DoomQL project, which last year set out to build "a multiplayer Doom-like shooter entirely in SQL." Unfortunately, that effort ended up with raycasting-based, grayscale ASCII graphics that were more akin to the simplistic 90-degree-angled maps of Wolfenstein 3D. The newer SQLDoom, on the other hand, generates full-color 640x480 frames that look like they could have come from the original Doom executable.


Β© Lukas Vogel
Meta now lets you make your own Muse gadgets that feature the company's new AI agent with code that the company open sourced. The company suggests projects like loading Muse on a color E Ink display to show reminders, adding it to an HDMI stick so you can display Muse on a big screen, or putting Muse on a small touchscreen device to make what looks kind of like a DIY Muse Charm.
"Muse gadgets are open source devices you build yourself," Meta says. "Program an off-the-shelf ESP32 board or set up a Raspberry Pi with our SDKs, then connect Muse to your displays, buttons, sensors, actuators, and whatever else you've got lying on your workbench. β¦