• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Tuesday, August 26, 2025
Techcratic
No Result
View All Result
  • AI
    Artificial Intelligence

    7 Python Built-ins That Seem Like a Joke (Until You Use Them)

    Artificial Intelligence

    Learn Python (+ AI) and Become a Certified Data Analyst for FREE This Week

    Artificial Intelligence

    From JSON to Dashboard: Visualizing DuckDB Queries in Streamlit with Plotly

    Artificial Intelligence

    The “Super Weight:” How Even a Single Parameter can Determine a Large Language Model’s…

    Artificial Intelligence

    10 Python One-Liners to Optimize Your Machine Learning Pipelines

    Artificial Intelligence

    Streamline employee training with an intelligent chatbot powered by Amazon Q Business

    Artificial Intelligence

    Writing Your First GPU Kernel in Python with Numba and CUDA

    Artificial Intelligence

    Build a scalable containerized web application on AWS using the MERN stack with Amazon Q…

    Artificial Intelligence

    Introducing Amazon Bedrock AgentCore Identity: Securing agentic AI at scale

  • Apple
    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    Apple @ Work Podcast: Streamlining patch management for macOS

    Apple @ Work Podcast: Device security vs identity management in the enterprise

    iPadOS 26 beta 8 now available, launch only weeks away

    iPadOS 26 beta 8 now available, launch only weeks away

    iOS 26 beta 8 now available

    iOS 26 beta 8 now available

    tvOS 26 beta 8 rolling out now for Apple TV 4K

    tvOS 26 beta 8 rolling out now for Apple TV 4K

    macOS Tahoe 26 beta 8 now available

    macOS Tahoe 26 beta 8 now available

    visionOS 26 developer beta 8 now available

    visionOS 26 developer beta 8 now available

    August 25, 2025 – Apple and Gemini rumors

    iOS 26 public beta now available with new design and more

    iOS 26 and iPadOS 26 public beta 5 now available

  • ComputerWorld
    Intel warns US govt equity stake could disrupt its global business and strategic deals

    Intel warns US govt equity stake could disrupt its global business and strategic deals

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    Why IT leaders think generative AI will create jobs

    Why IT leaders think generative AI will create jobs

    Developers who don’t document code? Blame the bosses

    Developers who don’t document code? Blame the bosses

    Rise of AI crawlers and bots causing web traffic havoc

    Rise of AI crawlers and bots causing web traffic havoc

    Adobe Acrobat Studio brings genAI power to PDFs

    Adobe Acrobat Studio brings genAI power to PDFs

    Google rolls out new AI content-generation and consumption tools in Workspace

    Google rolls out new AI content-generation and consumption tools in Workspace

  • Gaming
    Linus Torvalds has apparently met Bill Gates for the first time in person and before you ask, no he didn’t clock him in the face

    It’s downright nuts how good this fan remake of Fallout 1 in Doom looks, and I’m begging Bethesda to take note

    Assassin’s Creed III: Come Sail Away

    Assassin’s Creed III: Come Sail Away

    KTC H27T22C-3 gaming monitor review

    KTC H27T22C-3 gaming monitor review

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

    Hogwarts Legacy Review!

    Hogwarts Legacy Review!

    How To Solve Epic Games Store Most Common Payment Problem! How To Buy Games In Epic

    How To Solve Epic Games Store Most Common Payment Problem! How To Buy Games In Epic

    Siege Content Ubisoft NEVER Released…

    Siege Content Ubisoft NEVER Released…

    TEN BUDGET IEMs Tested for Gaming

    TEN BUDGET IEMs Tested for Gaming

    Exactly 20 years after it was released exclusively in Japan, the Cowboy Bebop PS2 game is now playable in English

    Exactly 20 years after it was released exclusively in Japan, the Cowboy Bebop PS2 game is now playable in English

  • Retro Rewind
    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 57 April 1994

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

  • Tech Art
    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Using Colored Pencil with Art Markers | Mixed Media Tips

    Using Colored Pencil with Art Markers | Mixed Media Tips

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    AK Interactive 3rd Gen | Black Primer | Try out

    AK Interactive 3rd Gen | Black Primer | Try out

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

    Venustein   Sculpture Timelapse

    Venustein Sculpture Timelapse

  • Tech Deals
    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

    SanDisk Professional 1TB PRO-Blade SSD Mag – Portable & Modular NVMe SSD Mag,…

    SanDisk Professional 1TB PRO-Blade SSD Mag – Portable & Modular NVMe SSD Mag,…

  • Techs Got To Eat
    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

  • Tesla
    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

    ARKON Mounts Windshield Suction Mount for EZ Pass Toll Transponders, Bluetooth GPS…

    ARKON Mounts Windshield Suction Mount for EZ Pass Toll Transponders, Bluetooth GPS…

    for Tesla Model 3 Headrest Hooks with Tablet & Phone Holder, for Model Y Accessories…

    for Tesla Model 3 Headrest Hooks with Tablet & Phone Holder, for Model Y Accessories…

    Truck Cover Waterproof All Weather, 6 Layers Pickup Cover Fit for Ford F150, Chevrolet…

    Truck Cover Waterproof All Weather, 6 Layers Pickup Cover Fit for Ford F150, Chevrolet…

  • UFO
    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    #love #truth

    #love #truth

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Calvine “UFO” Investigation Update

    Calvine “UFO” Investigation Update

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

    Scientist Thinks an Alien Craft Could Be Headed Towards Earth

    Scientist Thinks an Alien Craft Could Be Headed Towards Earth

    X-UFO Disc Golf Starter Set – 3 Piece Professional Disc Golf Set for Beginners, Lightweight & Portable, Putter Driver Midrange 170g-173g

    X-UFO Disc Golf Starter Set – 3 Piece Professional Disc Golf Set for Beginners, Lightweight & Portable, Putter Driver Midrange 170g-173g

  • AI
    Artificial Intelligence

    7 Python Built-ins That Seem Like a Joke (Until You Use Them)

    Artificial Intelligence

    Learn Python (+ AI) and Become a Certified Data Analyst for FREE This Week

    Artificial Intelligence

    From JSON to Dashboard: Visualizing DuckDB Queries in Streamlit with Plotly

    Artificial Intelligence

    The “Super Weight:” How Even a Single Parameter can Determine a Large Language Model’s…

    Artificial Intelligence

    10 Python One-Liners to Optimize Your Machine Learning Pipelines

    Artificial Intelligence

    Streamline employee training with an intelligent chatbot powered by Amazon Q Business

    Artificial Intelligence

    Writing Your First GPU Kernel in Python with Numba and CUDA

    Artificial Intelligence

    Build a scalable containerized web application on AWS using the MERN stack with Amazon Q…

    Artificial Intelligence

    Introducing Amazon Bedrock AgentCore Identity: Securing agentic AI at scale

  • Apple
    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    The iPhone 17 Pro might finally get a feature rumored since the iPhone 12

    Apple @ Work Podcast: Streamlining patch management for macOS

    Apple @ Work Podcast: Device security vs identity management in the enterprise

    iPadOS 26 beta 8 now available, launch only weeks away

    iPadOS 26 beta 8 now available, launch only weeks away

    iOS 26 beta 8 now available

    iOS 26 beta 8 now available

    tvOS 26 beta 8 rolling out now for Apple TV 4K

    tvOS 26 beta 8 rolling out now for Apple TV 4K

    macOS Tahoe 26 beta 8 now available

    macOS Tahoe 26 beta 8 now available

    visionOS 26 developer beta 8 now available

    visionOS 26 developer beta 8 now available

    August 25, 2025 – Apple and Gemini rumors

    iOS 26 public beta now available with new design and more

    iOS 26 and iPadOS 26 public beta 5 now available

  • ComputerWorld
    Intel warns US govt equity stake could disrupt its global business and strategic deals

    Intel warns US govt equity stake could disrupt its global business and strategic deals

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    US threat of sanctions on EU officials over tech law raises risks for enterprises

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    As US takes 10% stake in Intel, new questions arise for enterprise buyers

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    AI bigwigs bow to US gov’t demands on pricing, but could see long-term benefits

    Why IT leaders think generative AI will create jobs

    Why IT leaders think generative AI will create jobs

    Developers who don’t document code? Blame the bosses

    Developers who don’t document code? Blame the bosses

    Rise of AI crawlers and bots causing web traffic havoc

    Rise of AI crawlers and bots causing web traffic havoc

    Adobe Acrobat Studio brings genAI power to PDFs

    Adobe Acrobat Studio brings genAI power to PDFs

    Google rolls out new AI content-generation and consumption tools in Workspace

    Google rolls out new AI content-generation and consumption tools in Workspace

  • Gaming
    Linus Torvalds has apparently met Bill Gates for the first time in person and before you ask, no he didn’t clock him in the face

    It’s downright nuts how good this fan remake of Fallout 1 in Doom looks, and I’m begging Bethesda to take note

    Assassin’s Creed III: Come Sail Away

    Assassin’s Creed III: Come Sail Away

    KTC H27T22C-3 gaming monitor review

    KTC H27T22C-3 gaming monitor review

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

    The Super Mario Bros. Movie Experience: MAR10 Day 2023

    Hogwarts Legacy Review!

    Hogwarts Legacy Review!

    How To Solve Epic Games Store Most Common Payment Problem! How To Buy Games In Epic

    How To Solve Epic Games Store Most Common Payment Problem! How To Buy Games In Epic

    Siege Content Ubisoft NEVER Released…

    Siege Content Ubisoft NEVER Released…

    TEN BUDGET IEMs Tested for Gaming

    TEN BUDGET IEMs Tested for Gaming

    Exactly 20 years after it was released exclusively in Japan, the Cowboy Bebop PS2 game is now playable in English

    Exactly 20 years after it was released exclusively in Japan, the Cowboy Bebop PS2 game is now playable in English

  • Retro Rewind
    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Game Players Issue 80 Magazine January 1996

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Video Game Trader Winter 2014

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Games April 1995

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 57 April 1994

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: Blast from the Past – 35 Iconic Commercials of 1988!

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: PC World Magazine August 1998

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: Computer Shopper Magazine September 1997

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: PC Magazine December 2015

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

    Retro Rewind: EDGE Magazine RETRO #1: The Guide to Classic Videogame Playing and Collecting

  • Tech Art
    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    AR Car Showroom App Review – Augmented Reality Vehicle Showcase

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    Infinite design tutorial (vector art) step by step | ultimate focus tamil

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    (877) Awesome Peach and Gold Spray Paint Mixed Media Pour

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Kirito's Elucidator (Sword Art Online) – MAN AT ARMS

    Using Colored Pencil with Art Markers | Mixed Media Tips

    Using Colored Pencil with Art Markers | Mixed Media Tips

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    The Black Feminist Subconscious of Ufuoma Essi’s Films

    AK Interactive 3rd Gen | Black Primer | Try out

    AK Interactive 3rd Gen | Black Primer | Try out

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

    Colorado Town Settles With Native Artist Who Brought Free Speech Lawsuit

    Venustein   Sculpture Timelapse

    Venustein Sculpture Timelapse

  • Tech Deals
    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Mini PC, with 12th Gen Intel Twin Lake N150 (Up to 3.4Ghz), 16GB DDR4 RAM 512GB SSD…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Western Digital WD Red 10TB NAS Internal Hard Drive, 5400 RPM Class, 256 MB Cache, 3.5”…

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Vantec USB 3.1 Type C 4-Port Bus-Powered Travel Hub Components Other UGT-MH410U3-C

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    Toshiba Canvio Advance 1TB Portable External Hard Drive USB 3.0, Black – HDTCA10XK3AA

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 98-Inch Class QM8K Series QD-Mini LED 4K UHD Google Smart TV Next Generation…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 75-Inch Class QM7K Series QD-Mini LED 4K UHD Google Smart TV Best Premium Mini-LED…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TCL 65-Inch Class QM6K Series QD-Mini LED 4K UHD Google Smart TV Best Value Mini-LED TV…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

    TEAMGROUP QX 2TB 3D NAND QLC 2.5 Inch SATA III Internal Solid State Drive SSD R/W Speed…

    SanDisk Professional 1TB PRO-Blade SSD Mag – Portable & Modular NVMe SSD Mag,…

    SanDisk Professional 1TB PRO-Blade SSD Mag – Portable & Modular NVMe SSD Mag,…

  • Techs Got To Eat
    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Spicy Chickpea Shakshuka Mug: 5-Minute Vegetarian Fuel

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Bacon & Spinach Mug Quiche: 3-Minute Gourmet Breakfast

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Cheesy Broccoli Rice Mug: 5-Minute Super Comfort Food

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Top 10 Vegetarian Recipes for 2025: Easy and Nutritious Meals for Busy People

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Mug Lasagna: 5-Minute Microwave Meat Lover’s Dream

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon Fried Rice Mug: 5-Minute Microwave Meal

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Bacon & Cheddar Mug Biscuit: 2-Minute Savory Comfort

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Loaded Bacon Cheesy Potato Mug: 5-Minute Comfort Food

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

    Peanut Butter Banana Mug Muffin: 5-Minute Protein Snack

  • Tesla
    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    DREIEYECAM Dash cam for Tesla Model S AP1 Full HD 1080P WiFi G-Sensor WDR is Auto Video…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Center Console Organizer Tray for Tesla Model Y 2024-2020(Not Fit 2024 2025Model Y…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Wuyaoyao Car Interior LED Lights, 4 in 1 Car Ambient Lighting Kit, Automotive Neon Light…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Seat Adjustment Button Black Trims For Tesla Model 3/Y 2021 2022 2023 Front Passenger…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Car Windshield Cleaning Tool, Microfiber Auto Window Cleaner with 4 Cloth Pads & Long…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

    Tesla Model 3/Y Windshield Sunshade – 2025 Upgrade Foldable Sunshade Umbrella, 5-Layer…

    ARKON Mounts Windshield Suction Mount for EZ Pass Toll Transponders, Bluetooth GPS…

    ARKON Mounts Windshield Suction Mount for EZ Pass Toll Transponders, Bluetooth GPS…

    for Tesla Model 3 Headrest Hooks with Tablet & Phone Holder, for Model Y Accessories…

    for Tesla Model 3 Headrest Hooks with Tablet & Phone Holder, for Model Y Accessories…

    Truck Cover Waterproof All Weather, 6 Layers Pickup Cover Fit for Ford F150, Chevrolet…

    Truck Cover Waterproof All Weather, 6 Layers Pickup Cover Fit for Ford F150, Chevrolet…

  • UFO
    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    ANCIENT ALIEN IMAGES FOUND | The Proof Is Out There | #Shorts

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    Funny Hawaiian Shirts for Men Palm Beach Shirts Tropical Vacation Shirts O3

    #love #truth

    #love #truth

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    M18 Brushless Motor Drone with 4K Camera Mini RC Quadcopter for Adults Dual Cameras Optical Flow Positioning

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Desert Landscape Pictures Ufo Canvas Wall Art Desert Cactus Painting Alien Ufo Desert Poster Vintage Ufo Wall Art Trippy Spaceship Canvas Picture Vintage Desert Artwork for Wall 16x24inch No Frame

    Calvine “UFO” Investigation Update

    Calvine “UFO” Investigation Update

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

    Sailwind Men’s Henley Shirts Long Sleeve Button T-Shirt Casual Stylish Cotton Pullover Shirt with Pocket

    Scientist Thinks an Alien Craft Could Be Headed Towards Earth

    Scientist Thinks an Alien Craft Could Be Headed Towards Earth

    X-UFO Disc Golf Starter Set – 3 Piece Professional Disc Golf Set for Beginners, Lightweight & Portable, Putter Driver Midrange 170g-173g

    X-UFO Disc Golf Starter Set – 3 Piece Professional Disc Golf Set for Beginners, Lightweight & Portable, Putter Driver Midrange 170g-173g

No Result
View All Result
Techcratic
No Result
View All Result
Home Hacker News

koaning/smartfunc: Turn docstrings into LLM-functions

Hacker News by Hacker News
April 10, 2025
in Hacker News
Reading Time: 15 mins read
122
A A
0

2025-04-08 05:43:00
github.com

Turn docstrings into LLM-functions

If you’re keen for a demo, you may appreciate this YouTube video:

image

Here is a nice example of what is possible with this library:

from smartfunc import backend

@backend("gpt-4")
def generate_summary(text: str):
    """Generate a summary of the following text: {{ text }}"""
    pass

The generate_summary function will now return a string with the summary of the text that you give it.

This library wraps around the llm library made by Simon Willison. The docstring is parsed and turned into a Jinja2 template which we inject with variables to generate a prompt at runtime. We then use the backend given by the decorator to run the prompt and return the result.

The llm library is minimalistic and while it does not support all the features out there it does offer a solid foundation to build on. This library is mainly meant as a method to add some syntactic sugar on top. We do get a few nice benefits from the llm library though:

  • The llm library is well maintained and has a large community
  • An ecosystem of backends for different LLM providers
  • Many of the vendors have async support, which allows us to do microbatching
  • Many of the vendors have schema support, which allows us to use Pydantic models to define the response
  • You can use .env files to store your API keys

The following snippet shows how you might create a re-useable backend decorator that uses a system prompt. Also notice how we’re able to use a Pydantic model to define the response.

from smartfunc import backend
from pydantic import BaseModel
from dotenv import load_dotenv

load_dotenv(".env")

class Summary(BaseModel):
    summary: str
    pros: list[str]
    cons: list[str]

llmify = backend("gpt-4o-mini", system="You are a helpful assistant.", temperature=0.5)

@llmify
def generate_poke_desc(text: str) -> Summary:
    """Describe the following pokemon: {{ text }}"""
    pass

print(generate_poke_desc("pikachu"))

This is the result that we got back:

{
    'summary': 'Pikachu is a small, electric-type Pokémon known for its adorable appearance and strong electrical abilities. It is recognized as the mascot of the Pokémon franchise, with distinctive features and a cheerful personality.', 
    'pros': [
        'Iconic and recognizable worldwide', 
        'Strong electric attacks like Thunderbolt', 
        'Has a cute and friendly appearance', 
        'Evolves into Raichu with a Thunder Stone', 
        'Popular choice in Pokémon merchandise and media'
    ], 
    'cons': [
        'Not very strong in higher-level battles', 
        'Weak against ground-type moves', 
        'Limited to electric-type attacks unless learned through TMs', 
        'Can be overshadowed by other powerful Pokémon in competitive play'
    ],
}

Not every backend supports schemas, but you will a helpful error message if that is the case.

Note

You might look at this example and wonder if you might be better off using instructor. After all, that library has more support for validation of parameters and even has some utilities for multi-turn conversations. And what about ell or marvin?!

You will notice that smartfunc doesn’t do a bunch of things those other libraries do. But the goal here is simplicity and a focus on a specific set of features. For example; instructor requires you to learn a fair bit more about each individual backend. If you want to to use claude instead of openai then you will need to load in a different library. Similarily I felt that all the other platforms that similar things missing: async support or freedom for vendors.

The goal here is simplicity during rapid prototyping. You just need to make sure the llm plugin is installed and you’re good to go. That’s it.

Inner function prompt engineering

The simplest way to use smartfunc is to just put your prompt in the docstring and to be done with it. You can also run jinja2 in it if you want, but if you need the extra flexibility then you can also use the inner function to write the logic of your promopt. Any string that the inner function returns will be added at the back of the docstring prompt.

import asyncio
from smartfunc import backend
from pydantic import BaseModel
from dotenv import load_dotenv

load_dotenv(".env")


class Summary(BaseModel):
    summary: str
    pros: list[str]
    cons: list[str]

# This would also work, but has the benefit that you can use the inner function to write 
# the logic of your prompt which allows for more flexible prompt engineering
@backend("gpt-4o-mini")
def generate_poke_desc(text: str) -> Summary:
    """Describe the following pokemon: {{ text }}"""
    return " ... but make it sound as if you are a 10 year old child"

resp = generate_poke_desc("pikachu")
print(resp) # This response should now be more child-like

The library also supports async functions. This is useful if you want to do microbatching or if you want to use the async backends from the llm library.

import asyncio
from smartfunc import async_backend
from pydantic import BaseModel
from dotenv import load_dotenv

load_dotenv(".env")


class Summary(BaseModel):
    summary: str
    pros: list[str]
    cons: list[str]


@async_backend("gpt-4o-mini")
async def generate_poke_desc(text: str) -> Summary:
    """Describe the following pokemon: {{ text }}"""
    pass

resp = asyncio.run(generate_poke_desc("pikachu"))
print(resp)

The library also supports debug mode. This is useful if you want to see the prompt that was used or if you want to see the response that was returned.

import asyncio
from smartfunc import async_backend
from pydantic import BaseModel
from dotenv import load_dotenv

load_dotenv(".env")


class Summary(BaseModel):
    summary: str
    pros: list[str]
    cons: list[str]


@async_backend("gpt-4o-mini", debug=True)
async def generate_poke_desc(text: str) -> Summary:
    """Describe the following pokemon: {{ text }}"""
    pass

resp = asyncio.run(generate_poke_desc("pikachu"))
print(resp)

This will return a dictionary with the debug information.

{
    'summary': 'Pikachu is a small, yellow, rodent-like Pokémon known for its electric powers and iconic status as the franchise mascot. It has long ears with black tips, red cheeks that store electricity, and a lightning bolt-shaped tail. Pikachu evolves from Pichu when leveled up with high friendship and can further evolve into Raichu when exposed to a Thunder Stone. Pikachu is often depicted as cheerful, playfully energetic, and is renowned for its ability to generate electricity, which it can unleash in powerful attacks such as Thunderbolt and Volt Tackle.', 
    'pros': [
        'Iconic mascot of the Pokémon franchise', 'Popular among fans of all ages', 'Strong electric-type moves', 'Cute and friendly appearance'
    ], 
    'cons': [
        'Limited range of evolution (only evolves into Raichu)', 'Commonly found, which may reduce uniqueness', 'Vulnerable to ground-type moves', 'Requires high friendship for evolution to Pichu, which can be a long process'
    ], 
    '_debug': {
        'template': 'Describe the following pokemon: {{ text }}', 
        'func_name': 'generate_poke_desc', 
        'prompt': 'Describe the following pokemon: pikachu', 
        'system': None, 
        'template_inputs': {
            'text': 'pikachu'
        }, 
        'backend_kwargs': {}, 
        'datetime': '2025-03-13T16:05:44.754579', 
        'return_type': {
            'properties': {
                'summary': {'title': 'Summary', 'type': 'string'}, 
                'pros': {'items': {'type': 'string'}, 'title': 'Pros', 'type': 'array'}, 
                'cons': {'items': {'type': 'string'}, 'title': 'Cons', 'type': 'array'}
            }, 
            'required': ['summary', 'pros', 'cons'], 
            'title': 'Summary', 
            'type': 'object'
        }
    }
}

Source Link


Keep your files stored safely and securely with the SanDisk 2TB Extreme Portable SSD. With over 69,505 ratings and an impressive 4.6 out of 5 stars, this product has been purchased over 8K+ times in the past month. At only $129.99, this Amazon’s Choice product is a must-have for secure file storage.

Help keep private content private with the included password protection featuring 256-bit AES hardware encryption. Order now for just $129.99 on Amazon!


Unlock unlimited streaming with a free Amazon Prime trial!
Sign up today!

Help Power Techcratic’s Future – Scan To Support

If Techcratic’s content and insights have helped you, consider giving back by supporting the platform with crypto. Every contribution makes a difference, whether it’s for high-quality content, server maintenance, or future updates. Techcratic is constantly evolving, and your support helps drive that progress.

As a solo operator who wears all the hats, creating content, managing the tech, and running the site, your support allows me to stay focused on delivering valuable resources. Your support keeps everything running smoothly and enables me to continue creating the content you love. I’m deeply grateful for your support, it truly means the world to me! Thank you!

BITCOIN

Bitcoin Logo

Bitcoin QR Code

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Scan the QR code with your crypto wallet app

DOGECOIN

Dogecoin Logo

Dogecoin QR Code

D64GwvvYQxFXYyan3oQCrmWfidf6T3JpBA

Scan the QR code with your crypto wallet app

ETHEREUM

Ethereum Logo

Ethereum QR Code

0xe9BC980DF3d985730dA827996B43E4A62CCBAA7a

Scan the QR code with your crypto wallet app

Please read the Privacy and Security Disclaimer on how Techcratic handles your support.

Disclaimer: As an Amazon Associate, Techcratic may earn from qualifying purchases.

Tags: Hacker News
Share161Share28ShareShare4ShareTweet101
Hacker News

Hacker News

Stay updated with Hacker News, where technology meets entrepreneurial spirit. Get the latest on tech trends, startup news, and discussions from the tech community. Read the latest updates here at Techcratic.

Related Posts

pandax381/xv6-riscv-net: Xv6 for RISC-V with Networking
Hacker News

pandax381/xv6-riscv-net: Xv6 for RISC-V with Networking

August 26, 2025
1.3k
Omarchy is out
Hacker News

Omarchy is out

August 25, 2025
1.3k
IBM’s Power11 Processor Architecture at Hot Chips 2025
Hacker News

IBM’s Power11 Processor Architecture at Hot Chips 2025

August 25, 2025
1.3k
GitHub – ENDESGA/PEP: Prediction-Encoded Pixels
Hacker News

GitHub – ENDESGA/PEP: Prediction-Encoded Pixels

August 25, 2025
1.3k
The Size of Adobe Reader Installers Through The Years
Hacker News

The Size of Adobe Reader Installers Through The Years

August 25, 2025
1.3k
Attaxion Releases Agentless Traffic Monitoring for Immediate Risk Prioritization – GBHackers Security
Hacker News

Attaxion Releases Agentless Traffic Monitoring for Immediate Risk Prioritization – GBHackers Security

August 25, 2025
1.3k
GitHub – bravenewxyz/agent-c: Ultra-lightweight AI Agent
Hacker News

GitHub – bravenewxyz/agent-c: Ultra-lightweight AI Agent

August 25, 2025
1.3k
What are OKLCH colors?
Hacker News

What are OKLCH colors?

August 25, 2025
1.3k
Load More
Next Post
Teens and tech: Almost 90% own iPhones, most use Instagram and Spotify

Teens and tech: Almost 90% own iPhones, most use Instagram and Spotify

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Forbes
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo
  • Google News
  • Hacker News
  • Harvard Tech
  • I Like Cats ™
  • I Like Dogs ™
  • LifeHacker
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • PC World
  • Photofocus
  • Physics
  • Random Tech
  • Retro Rewind ™
  • Robot Report
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Art
  • Tech Careers
  • Tech Deals
  • Techcratic ™
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Tech News

  • 30 Second Tech ™
  • AI
  • Apple Insider
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • ExtremeTech
  • Fossbytes
  • Gaming
  • GeekWire
  • Gizmodo

Tech News

  • Harvard Tech
  • MacRumors
  • Macworld
  • Mashable
  • Microsoft
  • MIT Tech
  • Physics
  • PC World
  • Random Tech
  • Retro Rewind ™
  • SiliconANGLE
  • SlashGear
  • Smartphone
  • StackSocial
  • Tech Careers

Tech News​

  • Tech Art
  • TechCrunch
  • Techdirt
  • TechRepublic
  • Techs Got To Eat ™
  • TechSpot
  • Tesla
  • The Verge
  • TNW
  • Trusted Reviews
  • UFO
  • VentureBeat
  • Visual Capitalist
  • Wired
  • ZDNet

Site Links

  • About Techcratic
  • Affiliate Disclaimer
  • Affiliate Link Policy
  • Contact Techcratic
  • Dealors Discount Store
  • Privacy and Security Disclaimer
  • Privacy Policy
  • RSS Feed
  • Site Map
  • Support Techcratic
  • Techcratic
  • Tech Deals
  • TOS
  • 𝕏
Click For A Secret Deal

From Climate Shock To Urban Resilience: Why Asset Management Wins

Hasselblad’s X2D II 100C offers improved autofocus and world-beating stabilization

LG OLED42C5 Review

Bitcoin Price Watch: Moving Averages Align for Further Decline

AMD addresses AM5 socket burnout concerns after wave of Ryzen CPU failures

AR Car Showroom App Review – Augmented Reality Vehicle Showcase

Techcratic – Your All In One Tech Hub
© 2020 – 2025
All Rights Reserved
∞

No Result
View All Result
  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • Crypto News
  • Cybersecurity
  • Endgadget
  • Gaming
  • I Like Cats ™
  • I Like Dogs ™
  • MacRumors
  • Macworld
  • Tech Deals
  • Techcratic ™
  • Techs Got To Eat ™
  • Tesla
  • UFO
  • Wired