• About TC
  • Affiliate Disclaimer
  • Privacy Policy
  • TOS
  • Contact
Friday, July 11, 2025
Techcratic
No Result
View All Result
  • AI
    Artificial Intelligence

    Enabling Differentially Private Federated Learning for Speech Recognition: Benchmarks, Adaptive Optimizers, and Gradient Clipping

    Artificial Intelligence

    Overcoming Vocabulary Constraints with Pixel-level Fallback

    Artificial Intelligence

    Uphold ethical standards in fashion using multimodal toxicity detection with Amazon Bedrock Guardrails

    Artificial Intelligence

    10 Surprising Things You Can Do with Python’s datetime Module

    Artificial Intelligence

    New capabilities in Amazon SageMaker AI continue to transform how organizations develop AI models

    Artificial Intelligence

    Unlock retail intelligence by transforming data into actionable insights using generative AI with Amazon Q Business

    Artificial Intelligence

    Scale generative AI use cases, Part 1: Multi-tenant hub and spoke architecture using AWS Transit Gateway

    Artificial Intelligence

    Build a just-in-time knowledge base with Amazon Bedrock

    Artificial Intelligence

    Transforming network operations with AI: How Swisscom built a network assistant using Amazon Bedrock

  • Apple
    M4 MacBook Air, iPhone, AirPods, iPad, more 9to5Mac

    M4 MacBook Air, iPhone, AirPods, iPad, more 9to5Mac

    Leaker teases Dynamic Island’s ‘significant evolution’ ahead

    Leaker teases Dynamic Island’s ‘significant evolution’ ahead

    July 11, 2025 – Apple’s plans for new Macs, iPads, and more

    Apple Watch Ultra 3: Three new features are coming next year

    Apple Watch Ultra 3: Three new features are coming this fall

    Report: Apple set to land US F1 streaming rights in $150 million+ deal

    Report: Apple set to land US F1 streaming rights in $150 million+ deal

    Fresh leak confirms new iPhone 17 and iPhone 17 Air colors

    Fresh leak confirms new iPhone 17 and iPhone 17 Air colors

    Apple reviving its discontinued AirPort router has never looked more likely

    Apple’s AirPort products are now ‘obsolete,’ with one exception

    Apple leaders join Sun Valley gathering of tech & media

    Apple leaders join Sun Valley gathering of tech & media

    Tim Cook thanks American heroes in Memorial Day post on X

    Gallery: Tim Cook and Eddy Cue attend Sun Valley ‘summer camp for billionaires’

  • ComputerWorld
    AI coding tools can slow down seasoned developers by 19%

    AI coding tools can slow down seasoned developers by 19%

    Will IT turn the AI bot battle into a money maker? (And is that even a good idea?) – Computerworld

    Will IT turn the AI bot battle into a money maker? (And is that even a good idea?) – Computerworld

    Tariff uncertainty hits US PC shipments in Q2 – Computerworld

    Tariff uncertainty hits US PC shipments in Q2 – Computerworld

    The fast way to fix a frozen Start menu or taskbar in Windows – Computerworld

    The fast way to fix a frozen Start menu or taskbar in Windows – Computerworld

    Microsoft’s 19-hour Outlook outage exposes fragility in cloud infrastructure – Computerworld

    Microsoft’s 19-hour Outlook outage exposes fragility in cloud infrastructure – Computerworld

    A magically minimalist Android makeover – Computerworld

    A magically minimalist Android makeover – Computerworld

    From conversation to task completion – Computerworld

    From conversation to task completion – Computerworld

    Using OneDrive for Web – Computerworld

    Using OneDrive for Web – Computerworld

    OpenAI and Perplexity enter browser wars to take on Chrome – Computerworld

    OpenAI and Perplexity enter browser wars to take on Chrome – Computerworld

  • Gaming
    Zelda Breath of the Wild – 27 Ways to Make a Campfire

    Zelda Breath of the Wild – 27 Ways to Make a Campfire

    Ocarina of Time Walkthrough Let's Play – Part 3

    Ocarina of Time Walkthrough Let's Play – Part 3

    Should Charles Martinet voice Mario in The Super Mario Bros. Movie?*

    Should Charles Martinet voice Mario in The Super Mario Bros. Movie?*

    Final Fantasy producer Yoshi-P says ‘there’s no clear-cut answer’ to whether Final Fantasy will return to turn-based RPGs, because the direction of the next Final Fantasy will be up to the directors of the next Final Fantasy

    Final Fantasy producer Yoshi-P says ‘there’s no clear-cut answer’ to whether Final Fantasy will return to turn-based RPGs, because the direction of the next Final Fantasy will be up to the directors of the next Final Fantasy

    Zelda Ocarina of Time 3D 100% Walkthrough – Part 72/78 – Gerudo Training Ground Part 1 (Commentary)

    Zelda Ocarina of Time 3D 100% Walkthrough – Part 72/78 – Gerudo Training Ground Part 1 (Commentary)

    Capcom celebrates the first anniversary of Kunitsu-Gami: Path of the Goddess by ripping out its Denuvo DRM

    Capcom celebrates the first anniversary of Kunitsu-Gami: Path of the Goddess by ripping out its Denuvo DRM

    The Legend of Zelda: Breath of the Wild – Daka Tuss Shrine Walkthrough

    The Legend of Zelda: Breath of the Wild – Daka Tuss Shrine Walkthrough

    30 MORE Things You STILL Didn't Know In Zelda Breath Of The Wild

    30 MORE Things You STILL Didn't Know In Zelda Breath Of The Wild

    Playdead’s classic minimalist platformers Limbo and Inside are being pulled from GOG next week, so grab ’em while you can

    Playdead’s classic minimalist platformers Limbo and Inside are being pulled from GOG next week, so grab ’em while you can

  • Retro Rewind
    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

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

  • Tech Art
    How Artificial Intelligence is slowly becoming less art-ificial | Amir Baradaran | TEDxBocaRaton

    How Artificial Intelligence is slowly becoming less art-ificial | Amir Baradaran | TEDxBocaRaton

    Northern Lights Aurora Night Sky Vector Art Tutorial Affinity Designer V2

    Northern Lights Aurora Night Sky Vector Art Tutorial Affinity Designer V2

    The 3-Piece Collage Trick I Can’t Stop Using #visualdiary

    The 3-Piece Collage Trick I Can’t Stop Using #visualdiary

    GIGANOTOSSAURO (Desenhando com Thiago)

    GIGANOTOSSAURO (Desenhando com Thiago)

    Artist Spotlight: Nina Molloy

    Artist Spotlight: Nina Molloy

    Interactive Particle Systems from Gaussian Splats in TouchDesigner! (2025 + Mac Compatible)

    Interactive Particle Systems from Gaussian Splats in TouchDesigner! (2025 + Mac Compatible)

    I Made Leon S. Kennedy (Resident Evil 4) | Timelapse Sculpture

    I Made Leon S. Kennedy (Resident Evil 4) | Timelapse Sculpture

    Pixel art is here

    Pixel art is here

    AI Generative Art 1 – Robots | Vortex Creative

    AI Generative Art 1 – Robots | Vortex Creative

  • Tech Deals
    Hitachi 322898 Side Handle C10FCE2 C10FCH2 Replacement Part

    Hitachi 322898 Side Handle C10FCE2 C10FCH2 Replacement Part

    PC-VR Streaming Air Link Compatible with Meta Quest 3S/3/2 AX3000 WiFi6 VR Router,…

    PC-VR Streaming Air Link Compatible with Meta Quest 3S/3/2 AX3000 WiFi6 VR Router,…

    Crucial X9 2TB Portable SSD, Up to 1050MB/s, USB 3.2 USB-C, External Solid State Drive,…

    Crucial X9 2TB Portable SSD, Up to 1050MB/s, USB 3.2 USB-C, External Solid State Drive,…

    CORSAIR VIRTUOSO RGB WIRELESS XT Multiplatform Gaming Headset With Bluetooth – Dolby…

    CORSAIR VIRTUOSO RGB WIRELESS XT Multiplatform Gaming Headset With Bluetooth – Dolby…

    [Designed for Microsoft Surface] Cable Matters Desk Mount for Microsoft Surface…

    [Designed for Microsoft Surface] Cable Matters Desk Mount for Microsoft Surface…

    Asrock B650MProRSWiFi Mb Asrockb650m Pro Rs WiFi R

    Asrock B650MProRSWiFi Mb Asrockb650m Pro Rs WiFi R

    Wireless Retro Game Console

    Wireless Retro Game Console

    RK ROYAL KLUDGE S108 Typewriter Keyboard, Retro Mechanical Gaming Keyboard Wired 108…

    RK ROYAL KLUDGE S108 Typewriter Keyboard, Retro Mechanical Gaming Keyboard Wired 108…

    GTRACING Gaming Chair with Speakers Bluetooth Music Video Game Chair Audio Ergonomic…

    GTRACING Gaming Chair with Speakers Bluetooth Music Video Game Chair Audio Ergonomic…

  • Techs Got To Eat
    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

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

  • Tesla
    Rear Trunk Spoiler Wing ABS Fit for Tesla Model Y 2020 2021 2022 2023 2024 High…

    Rear Trunk Spoiler Wing ABS Fit for Tesla Model Y 2020 2021 2022 2023 2024 High…

    2024-2025 Tesla Model 3 Highland Trunk Organizer – 2PCS Waterproof TPE Rear Trunk…

    2024-2025 Tesla Model 3 Highland Trunk Organizer – 2PCS Waterproof TPE Rear Trunk…

    Elon Musk says Tesla Robotaxi is coming to California, but no one other than shareholders believe him

    Elon Musk says Tesla Robotaxi is coming to California, but no one other than shareholders believe him

    1038548-00-I Charging Port Door Assembly Compatible with 2016 2017 2018 2019 2020 Tesla…

    1038548-00-I Charging Port Door Assembly Compatible with 2016 2017 2018 2019 2020 Tesla…

    Panasonic reportedly delays production ramp at US battery factory due to low Tesla demand

    Panasonic reportedly delays production ramp at US battery factory due to low Tesla demand

    KAYI Car Seat Cover, Memory Foam Car Seat Cushion, Non-Slip Bottom Breathable Car Seat…

    KAYI Car Seat Cover, Memory Foam Car Seat Cushion, Non-Slip Bottom Breathable Car Seat…

    Ziciner 2 PCS Motorcycle Chain Brush, Bike Chain Cleaning Brush with Double-Ended…

    Ziciner 2 PCS Motorcycle Chain Brush, Bike Chain Cleaning Brush with Double-Ended…

    2PCS Drill Brush Attachment, 4″ & 2″ Power Scrubber Cleaning Brush for Carpet Car…

    2PCS Drill Brush Attachment, 4″ & 2″ Power Scrubber Cleaning Brush for Carpet Car…

    Cybertruck Screen Protector, Cybertruck Accessories, 2024 Tesla Car Matte…

    Cybertruck Screen Protector, Cybertruck Accessories, 2024 Tesla Car Matte…

  • UFO
    AI This Week Unidentified Flying Object

    AI This Week Unidentified Flying Object

    007: James Bond – Sean Connery 6-Film Collection (4K Ultra HD + Digital)

    007: James Bond – Sean Connery 6-Film Collection (4K Ultra HD + Digital)

    F 14 D fighter jet sightings

    F 14 D fighter jet sightings

    Roswell New Mexico UFO Vintage Retro T T-Shirt

    Roswell New Mexico UFO Vintage Retro T T-Shirt

    Top 5 Sky Phenomena That Look Totally Broken

    Top 5 Sky Phenomena That Look Totally Broken

    New “Metallic Sphere UFO” videos in Buga Colombia

    New “Metallic Sphere UFO” videos in Buga Colombia

    Marilyn Monroe, JFK, and the Alien Conspiracy You’ve Never Heard Of

    Marilyn Monroe, JFK, and the Alien Conspiracy You’ve Never Heard Of

    The UFO Evidence: What We Don't Know

    The UFO Evidence: What We Don't Know

    Roswell, NM Tourism | Funny Alien Extraterrestrial UFO Saucer Men Women T-Shirt

    Roswell, NM Tourism | Funny Alien Extraterrestrial UFO Saucer Men Women T-Shirt

  • AI
    Artificial Intelligence

    Enabling Differentially Private Federated Learning for Speech Recognition: Benchmarks, Adaptive Optimizers, and Gradient Clipping

    Artificial Intelligence

    Overcoming Vocabulary Constraints with Pixel-level Fallback

    Artificial Intelligence

    Uphold ethical standards in fashion using multimodal toxicity detection with Amazon Bedrock Guardrails

    Artificial Intelligence

    10 Surprising Things You Can Do with Python’s datetime Module

    Artificial Intelligence

    New capabilities in Amazon SageMaker AI continue to transform how organizations develop AI models

    Artificial Intelligence

    Unlock retail intelligence by transforming data into actionable insights using generative AI with Amazon Q Business

    Artificial Intelligence

    Scale generative AI use cases, Part 1: Multi-tenant hub and spoke architecture using AWS Transit Gateway

    Artificial Intelligence

    Build a just-in-time knowledge base with Amazon Bedrock

    Artificial Intelligence

    Transforming network operations with AI: How Swisscom built a network assistant using Amazon Bedrock

  • Apple
    M4 MacBook Air, iPhone, AirPods, iPad, more 9to5Mac

    M4 MacBook Air, iPhone, AirPods, iPad, more 9to5Mac

    Leaker teases Dynamic Island’s ‘significant evolution’ ahead

    Leaker teases Dynamic Island’s ‘significant evolution’ ahead

    July 11, 2025 – Apple’s plans for new Macs, iPads, and more

    Apple Watch Ultra 3: Three new features are coming next year

    Apple Watch Ultra 3: Three new features are coming this fall

    Report: Apple set to land US F1 streaming rights in $150 million+ deal

    Report: Apple set to land US F1 streaming rights in $150 million+ deal

    Fresh leak confirms new iPhone 17 and iPhone 17 Air colors

    Fresh leak confirms new iPhone 17 and iPhone 17 Air colors

    Apple reviving its discontinued AirPort router has never looked more likely

    Apple’s AirPort products are now ‘obsolete,’ with one exception

    Apple leaders join Sun Valley gathering of tech & media

    Apple leaders join Sun Valley gathering of tech & media

    Tim Cook thanks American heroes in Memorial Day post on X

    Gallery: Tim Cook and Eddy Cue attend Sun Valley ‘summer camp for billionaires’

  • ComputerWorld
    AI coding tools can slow down seasoned developers by 19%

    AI coding tools can slow down seasoned developers by 19%

    Will IT turn the AI bot battle into a money maker? (And is that even a good idea?) – Computerworld

    Will IT turn the AI bot battle into a money maker? (And is that even a good idea?) – Computerworld

    Tariff uncertainty hits US PC shipments in Q2 – Computerworld

    Tariff uncertainty hits US PC shipments in Q2 – Computerworld

    The fast way to fix a frozen Start menu or taskbar in Windows – Computerworld

    The fast way to fix a frozen Start menu or taskbar in Windows – Computerworld

    Microsoft’s 19-hour Outlook outage exposes fragility in cloud infrastructure – Computerworld

    Microsoft’s 19-hour Outlook outage exposes fragility in cloud infrastructure – Computerworld

    A magically minimalist Android makeover – Computerworld

    A magically minimalist Android makeover – Computerworld

    From conversation to task completion – Computerworld

    From conversation to task completion – Computerworld

    Using OneDrive for Web – Computerworld

    Using OneDrive for Web – Computerworld

    OpenAI and Perplexity enter browser wars to take on Chrome – Computerworld

    OpenAI and Perplexity enter browser wars to take on Chrome – Computerworld

  • Gaming
    Zelda Breath of the Wild – 27 Ways to Make a Campfire

    Zelda Breath of the Wild – 27 Ways to Make a Campfire

    Ocarina of Time Walkthrough Let's Play – Part 3

    Ocarina of Time Walkthrough Let's Play – Part 3

    Should Charles Martinet voice Mario in The Super Mario Bros. Movie?*

    Should Charles Martinet voice Mario in The Super Mario Bros. Movie?*

    Final Fantasy producer Yoshi-P says ‘there’s no clear-cut answer’ to whether Final Fantasy will return to turn-based RPGs, because the direction of the next Final Fantasy will be up to the directors of the next Final Fantasy

    Final Fantasy producer Yoshi-P says ‘there’s no clear-cut answer’ to whether Final Fantasy will return to turn-based RPGs, because the direction of the next Final Fantasy will be up to the directors of the next Final Fantasy

    Zelda Ocarina of Time 3D 100% Walkthrough – Part 72/78 – Gerudo Training Ground Part 1 (Commentary)

    Zelda Ocarina of Time 3D 100% Walkthrough – Part 72/78 – Gerudo Training Ground Part 1 (Commentary)

    Capcom celebrates the first anniversary of Kunitsu-Gami: Path of the Goddess by ripping out its Denuvo DRM

    Capcom celebrates the first anniversary of Kunitsu-Gami: Path of the Goddess by ripping out its Denuvo DRM

    The Legend of Zelda: Breath of the Wild – Daka Tuss Shrine Walkthrough

    The Legend of Zelda: Breath of the Wild – Daka Tuss Shrine Walkthrough

    30 MORE Things You STILL Didn't Know In Zelda Breath Of The Wild

    30 MORE Things You STILL Didn't Know In Zelda Breath Of The Wild

    Playdead’s classic minimalist platformers Limbo and Inside are being pulled from GOG next week, so grab ’em while you can

    Playdead’s classic minimalist platformers Limbo and Inside are being pulled from GOG next week, so grab ’em while you can

  • Retro Rewind
    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

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Computer Gaming World Magazine Issue 73 December 1998

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

    Retro Rewind: Electronic Gaming Monthly Magazine Number 55 February 1994

  • Tech Art
    How Artificial Intelligence is slowly becoming less art-ificial | Amir Baradaran | TEDxBocaRaton

    How Artificial Intelligence is slowly becoming less art-ificial | Amir Baradaran | TEDxBocaRaton

    Northern Lights Aurora Night Sky Vector Art Tutorial Affinity Designer V2

    Northern Lights Aurora Night Sky Vector Art Tutorial Affinity Designer V2

    The 3-Piece Collage Trick I Can’t Stop Using #visualdiary

    The 3-Piece Collage Trick I Can’t Stop Using #visualdiary

    GIGANOTOSSAURO (Desenhando com Thiago)

    GIGANOTOSSAURO (Desenhando com Thiago)

    Artist Spotlight: Nina Molloy

    Artist Spotlight: Nina Molloy

    Interactive Particle Systems from Gaussian Splats in TouchDesigner! (2025 + Mac Compatible)

    Interactive Particle Systems from Gaussian Splats in TouchDesigner! (2025 + Mac Compatible)

    I Made Leon S. Kennedy (Resident Evil 4) | Timelapse Sculpture

    I Made Leon S. Kennedy (Resident Evil 4) | Timelapse Sculpture

    Pixel art is here

    Pixel art is here

    AI Generative Art 1 – Robots | Vortex Creative

    AI Generative Art 1 – Robots | Vortex Creative

  • Tech Deals
    Hitachi 322898 Side Handle C10FCE2 C10FCH2 Replacement Part

    Hitachi 322898 Side Handle C10FCE2 C10FCH2 Replacement Part

    PC-VR Streaming Air Link Compatible with Meta Quest 3S/3/2 AX3000 WiFi6 VR Router,…

    PC-VR Streaming Air Link Compatible with Meta Quest 3S/3/2 AX3000 WiFi6 VR Router,…

    Crucial X9 2TB Portable SSD, Up to 1050MB/s, USB 3.2 USB-C, External Solid State Drive,…

    Crucial X9 2TB Portable SSD, Up to 1050MB/s, USB 3.2 USB-C, External Solid State Drive,…

    CORSAIR VIRTUOSO RGB WIRELESS XT Multiplatform Gaming Headset With Bluetooth – Dolby…

    CORSAIR VIRTUOSO RGB WIRELESS XT Multiplatform Gaming Headset With Bluetooth – Dolby…

    [Designed for Microsoft Surface] Cable Matters Desk Mount for Microsoft Surface…

    [Designed for Microsoft Surface] Cable Matters Desk Mount for Microsoft Surface…

    Asrock B650MProRSWiFi Mb Asrockb650m Pro Rs WiFi R

    Asrock B650MProRSWiFi Mb Asrockb650m Pro Rs WiFi R

    Wireless Retro Game Console

    Wireless Retro Game Console

    RK ROYAL KLUDGE S108 Typewriter Keyboard, Retro Mechanical Gaming Keyboard Wired 108…

    RK ROYAL KLUDGE S108 Typewriter Keyboard, Retro Mechanical Gaming Keyboard Wired 108…

    GTRACING Gaming Chair with Speakers Bluetooth Music Video Game Chair Audio Ergonomic…

    GTRACING Gaming Chair with Speakers Bluetooth Music Video Game Chair Audio Ergonomic…

  • Techs Got To Eat
    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

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

    Oreo Mug Cake: 2-Minute Cookie & Cake Combo!

  • Tesla
    Rear Trunk Spoiler Wing ABS Fit for Tesla Model Y 2020 2021 2022 2023 2024 High…

    Rear Trunk Spoiler Wing ABS Fit for Tesla Model Y 2020 2021 2022 2023 2024 High…

    2024-2025 Tesla Model 3 Highland Trunk Organizer – 2PCS Waterproof TPE Rear Trunk…

    2024-2025 Tesla Model 3 Highland Trunk Organizer – 2PCS Waterproof TPE Rear Trunk…

    Elon Musk says Tesla Robotaxi is coming to California, but no one other than shareholders believe him

    Elon Musk says Tesla Robotaxi is coming to California, but no one other than shareholders believe him

    1038548-00-I Charging Port Door Assembly Compatible with 2016 2017 2018 2019 2020 Tesla…

    1038548-00-I Charging Port Door Assembly Compatible with 2016 2017 2018 2019 2020 Tesla…

    Panasonic reportedly delays production ramp at US battery factory due to low Tesla demand

    Panasonic reportedly delays production ramp at US battery factory due to low Tesla demand

    KAYI Car Seat Cover, Memory Foam Car Seat Cushion, Non-Slip Bottom Breathable Car Seat…

    KAYI Car Seat Cover, Memory Foam Car Seat Cushion, Non-Slip Bottom Breathable Car Seat…

    Ziciner 2 PCS Motorcycle Chain Brush, Bike Chain Cleaning Brush with Double-Ended…

    Ziciner 2 PCS Motorcycle Chain Brush, Bike Chain Cleaning Brush with Double-Ended…

    2PCS Drill Brush Attachment, 4″ & 2″ Power Scrubber Cleaning Brush for Carpet Car…

    2PCS Drill Brush Attachment, 4″ & 2″ Power Scrubber Cleaning Brush for Carpet Car…

    Cybertruck Screen Protector, Cybertruck Accessories, 2024 Tesla Car Matte…

    Cybertruck Screen Protector, Cybertruck Accessories, 2024 Tesla Car Matte…

  • UFO
    AI This Week Unidentified Flying Object

    AI This Week Unidentified Flying Object

    007: James Bond – Sean Connery 6-Film Collection (4K Ultra HD + Digital)

    007: James Bond – Sean Connery 6-Film Collection (4K Ultra HD + Digital)

    F 14 D fighter jet sightings

    F 14 D fighter jet sightings

    Roswell New Mexico UFO Vintage Retro T T-Shirt

    Roswell New Mexico UFO Vintage Retro T T-Shirt

    Top 5 Sky Phenomena That Look Totally Broken

    Top 5 Sky Phenomena That Look Totally Broken

    New “Metallic Sphere UFO” videos in Buga Colombia

    New “Metallic Sphere UFO” videos in Buga Colombia

    Marilyn Monroe, JFK, and the Alien Conspiracy You’ve Never Heard Of

    Marilyn Monroe, JFK, and the Alien Conspiracy You’ve Never Heard Of

    The UFO Evidence: What We Don't Know

    The UFO Evidence: What We Don't Know

    Roswell, NM Tourism | Funny Alien Extraterrestrial UFO Saucer Men Women T-Shirt

    Roswell, NM Tourism | Funny Alien Extraterrestrial UFO Saucer Men Women T-Shirt

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

janderland/fql: Foundation DB Query Language

Hacker News by Hacker News
November 26, 2024
in Hacker News
Reading Time: 18 mins read
122
A A
0

2024-11-20 10:50:00
github.com

demo gif

FQL provides a query language and an alternative client API for Foundation DB.
Some things this project aims to achieve are:

With the Foundation DB client library (>= v6.2.0) and Go (>= v1.20) installed,
you can simply run go build in the root of this repo. This will create an
fql binary in the root of the repo.

Building, linting, and testing can all be performed in a Docker environment.
This allows any host to perform these operations with only Docker as a
dependency. The build.sh script can be used to perform these
operations. This is the same script used by the CI/CD workflow of this repo.

To build, lint, & test the current state of the codebase, run ./build.sh --verify. To learn more about the build script, run ./build.sh --help.

FQL is available as a Docker image for executing queries. The first argument
passed to the container is the contents of the cluster file. The remaining
arguments are passed to the FQL binary.

# 'my_cluster:baoeA32@172.20.3.33:4500' is used as the contents
# for the cluster file. '-log' and '/my/dir()=42' are passed
# as args to the FQL binary.
docker run docker.io/janderland/fql 'my_cluster:baoeA32@172.20.3.33:4500' -log '/my/dir()=42'

Within the cluster file contents (first argument), any instances of a
hostname wrapped in curly braces (e.g. ‘{my_hostname}’) are replaced by the
equivalent IP address. FDB doesn’t support connecting to a cluster via
hostnames, so this functional provides a workaround. This can simplify
connecting to a Docker instance of FDB.

docker network create my_net
docker run --network my_net --name fdb -d foundationdb/foundationdb

# The substring '{fdb}' in the first argument will be replaced with
# the IP address of the FDB container started above before the cluster
# file is written to disk.
docker run --network my_net docker.io/janderland/fql 'docker:docker@{fdb}:4500' -log '/my/dir()=42'

Here is the syntax definition for the query language. Currently,
FQL is focused on reading & writing key-values created using the directory and
tuple layers. Reading or writing keys of arbitrary byte strings is not
supported.

FQL queries are a textual representation of a specific key-value or a schema
describing the structure of many key-values. These queries have the ability to
write a key-value, read one or more key-values, and list directories.

This section will explain the components and structure of an FQL query. The
semantic meaning of these queries will be explained below in the Kinds of
Queries
section.

FQL utilizes textual representations of the element types supported by the
tuple layer. These types are known as primitives. Besides as tuple elements,
primitives can also be used as the value portion of a key-value.

TypeExample
nilnil
int-14
uint7
booltrue
float33.4
string"string"
bytes0xa2bff2438312aac032
uuid5a5ebefd-2193-47e2-8def-f464fc698e31

When primitives are used as tuple elements, they are encoded using the tuple
layer. When they are used as the value portion of a key-value, they are
encoded by FQL as outlined below.

TypeEncoding
nilnil
int64-bit, endianness configurable
uint64-bit, endianness configurable
boolsingle bit, 0 means false
floatIEEE 754, endianness configurable
stringASCII byte string
bytesAs provided
uuid16-byte string

Ideally, the encoding of these primitives would align with common community
practices to maximize usefulness. Let me know if you believe it doesn’t.

Even though a big int encoding is supported by the tuple layer, FQL does
not currently support using big ints.

A directory is specified as a sequence of strings, each prefixed by a forward
slash:

The strings of the directory do not need quotes if they only contain
alphanumericals, underscores, dashes, or periods. To use other symbols, the
strings must be quoted:

The quote character may be backslash escaped:

A tuple is specified as a sequence of elements, separated by commas, wrapped in
a pair of curly braces. The elements may be a tuple or any of the primitive
types.

("one", 2, 0x03, ( "subtuple" ), 5825d3f8-de5b-40c6-ac32-47ea8b98f7b4)

The last element of a tuple may be the ... token.

Any combination of spaces, tabs, and newlines is allowed after the opening
brace and commas.

A key-value is specified as a directory, tuple, equal symbol, and value appended
together:

/my/dir("this", 0)=0xabcf03

The value following the equal symbol may be any of the primitives or a tuple:

/my/dir(22.3, -8)=("another", "tuple")

The value can also be the clear token.

/some/where("home", "town", 88.3)=clear

A variable may be used in place of a directory element, tuple element, or value.

/my/dir/("first", , "third")=

If the variable is a tuple element or value, it may contain a list of primitive
types separated by pipes, except for the nil type. The variable may also
contain the any type which is equivalent to specifying every type. Specifying
no types is also equivalent to specifying the any type.

This section showcases the various kinds of FQL queries, their semantic
meaning, and the equivalent FDB API calls implemented in Go.

Set queries write a single key-value. The query must not contain the clear
or ... tokens, nor a variable.

/my/dir("hello", "world")=42
db.Transact(func(tr fdb.Transaction) (interface{}, error) {
  dir, err := directory.CreateOrOpen(tr, []string{"my", "dir"}, nil)
  if err != nil {
    return nil, err
  }

  val := make([]byte, 8)
  binary.LittleEndian.PutUint64(val, 42)
  tr.Set(dir.Pack(tuple.Tuple{"hello", "world"}), val)
  return nil, nil
})

Clear queries delete a single key-value. The query must contain the clear
token as it’s value and must not contain the ... token or variables.

/my/dir("hello", "world")=clear
db.Transact(func(tr fdb.Transaction) (interface{}, error) {
  dir, err := directory.Open(tr, []string{"my", "dir"}, nil)
  if err != nil {
    if errors.Is(err, directory.ErrDirNotExists) {
      return nil, nil
    }
    return nil, err
  }

  tr.Clear(dir.Pack(tuple.Tuple{"hello", "world"}))
  return nil, nil
})

Read-single queries read a single key-value. These queries must not have the
... token or a variable in their key. The value must be a variable.
Deserialization of the value is attempted for each type in the order specified
by the variable. The first successful deserialization is used as the output. If
the value cannot be deserialized as any of the types specified then the
key-value is not returned or an error is returned, depending on configuration.

/my/dir(99.8, 7dfb10d1-2493-4fb5-928e-889fdc6a7136)=
db.Transact(func(tr fdb.Transaction) (interface{}, error) {
  dir, err := directory.Open(tr, []string{"my", "dir"}, nil)
  if err != nil {
    if errors.Is(err, directory.ErrDirNotExists) {
      return nil, nil
    }
    return nil, err
  }

  val := tr.MustGet(dir.Pack(tuple.Tuple{99.8,
    tuple.UUID{0x7d, 0xfb, 0x10, 0xd1, 0x24, 0x93, 0x4f, 0xb5, 0x92, 0x8e, 0x88, 0x9f, 0xdc, 0x6a, 0x71, 0x36}))
  
     
  if len(val) == 8 {
      return binary.LittleEndian.Uint64(val), nil
  }
  return string(val), nil
})

As a shorthand, these query may be specified without the = token or value.
This implies an empty variable as the value. In the code block below, the
three queries are equivalent.

/my/dir(99.8, 7dfb10d1-2493-4fb5-928e-889fdc6a7136)
/my/dir(99.8, 7dfb10d1-2493-4fb5-928e-889fdc6a7136)=
/my/dir(99.8, 7dfb10d1-2493-4fb5-928e-889fdc6a7136)=

Read-many queries read a range of values based on a key prefix. These
queries have a ... token or a variable in their key. If a key-value is
encountered which does not match the schema defined by the query then the
key-value is not returned or an error is returned, depending on configuration.
These queries are implemented using FDB’s range-read mechanism with
additional filtering performed on the client. Care must be taken with these
queries as they may result in large amounts of data being sent to the
client and most of the data being filtered out.

/people(3392, , )=(, ...)
db.ReadTransact(func(tr fdb.ReadTransaction) (interface{}, error) {
  dir, err := directory.Open(tr, []string{"people"}, nil)
  if err != nil {
    if errors.Is(err, directory.ErrDirNotExists) {
      return nil, nil
    }
    return nil, err
  }

  rng, err := fdb.PrefixRange(dir.Pack(tuple.Tuple{3392}))
  if err != nil {
    return nil, err
  }

  var results []fdb.KeyValue
  iter := tr.GetRange(rng, fdb.RangeOptions{}).Iterator()
  for iter.Advance() {
    kv := iter.MustGet()

    tup, err := dir.Unpack(kv.Key)
    if err != nil {
      return nil, err
    }

    if len(tup) != 3 {
      return nil, fmt.Errorf("invalid kv: %v", kv)
    }

    switch tup[0].(type) {
    default:
      return nil, fmt.Errorf("invalid kv: %v", kv)
    case string | int64:
    }

    val, err := tuple.Unpack(kv.Value)
    if err != nil {
      return nil, fmt.Errorf("invalid kv: %v", kv)
    }
    if len(val) == 0 {
      return nil, fmt.Errorf("invalid kv: %v", kv)
    }
    if _, isInt := val[0].(uint64); !isInt {
      return nil, fmt.Errorf("invalid kv: %v", kv)
    }

    results = append(results, kv)
  }
  return results, nil
})

If only a directory is provided as a query, then the directory layer is queried.
Empty variables may be included as placeholders for any directory name.

db.ReadTransact(func(tr fdb.ReadTransaction) (interface{}, error) {
  root, err := directory.Open(tr, []string{"root"}, nil)
  if err != nil {
    if errors.Is(err, directory.ErrDirNotExists) {
      return nil, nil
    }
    return nil, err
  }

  oneDeep, err := root.List(tr, nil)
  if err != nil {
    return nil, err
  }

  var results [][]string
  for _, dir1 := range oneDeep {
    twoDeep, err := root.List(tr, []string{dir1, "items"})
    if err != nil {
      return nil, err
    }

    for _, dir2 := range twoDeep {
      results = append(results, []string{"root", dir1, dir2})
    }
  }
  return results, nil
})


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!


Source Link

Support Techcratic

If you find value in Techcratic’s insights and articles, consider supporting us with Bitcoin. Your support helps me, as a solo operator, continue delivering high-quality content while managing all the technical aspects, from server maintenance to blog writing, future updates, and improvements. Support Innovation! Thank you.

Bitcoin Address:

bc1qlszw7elx2qahjwvaryh0tkgg8y68enw30gpvge

Please verify this address before sending funds.

Bitcoin QR Code

Simply scan the QR code below to support Techcratic.

Bitcoin QR code for donations

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
Share162Share28ShareShare4ShareTweet101
Previous Post

Is The 2025 Subaru 360 Van Real?

Next Post

Custom Fit for Door Side Storage Box Compatible with 2024 2025 Tesla Cybertruck Storage…

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

HDD Clicker – Serdashop
Hacker News

HDD Clicker – Serdashop

July 11, 2025
1.3k
SANDISK 2TB PORTABLE SSD
Hacker News

I’m more proud of these 128 kilobytes than anything I’ve built since | by Mike Hall | Jul, 2025

July 11, 2025
1.3k
AI Agent Benchmarks are Broken
Hacker News

AI Agent Benchmarks are Broken

July 11, 2025
1.3k
The Day Someone Created 184 Billion Bitcoin
Hacker News

The Day Someone Created 184 Billion Bitcoin

July 11, 2025
1.3k
fosrl/pangolin: Tunneled Reverse Proxy Server with Identity and Access Control and Dashboard UI
Hacker News

fosrl/pangolin: Tunneled Reverse Proxy Server with Identity and Access Control and Dashboard UI

July 10, 2025
1.3k
AI Coding Tools Can Actually Reduce Productivity
Hacker News

AI Coding Tools Can Actually Reduce Productivity

July 10, 2025
1.3k
crypto theft • The Register
Hacker News

crypto theft • The Register

July 10, 2025
1.3k
Millions of Cars Exposed to Remote Hacking via PerfektBlue Attack
Hacker News

Millions of Cars Exposed to Remote Hacking via PerfektBlue Attack

July 10, 2025
1.3k
Load More
Next Post
Custom Fit for Door Side Storage Box Compatible with 2024 2025 Tesla Cybertruck Storage…

Custom Fit for Door Side Storage Box Compatible with 2024 2025 Tesla Cybertruck Storage...

Your Tech Resources

  • 30 Second Tech ™
  • AI
  • App Zone ™
  • Apple
  • Ars Technica
  • CNET
  • ComputerWorld
  • Crypto News
  • Cybersecurity
  • Endgadget
  • 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

ADORABLE FUNNY Foster Kittens: 5 Week Facts! Kittens Learning from Mama Cat!

Your Mercedes or VW could get hacked via Bluetooth

How Artificial Intelligence is slowly becoming less art-ificial | Amir Baradaran | TEDxBocaRaton

HDD Clicker – Serdashop

What’s The Difference Between Ultra-Wide And Super-Widescreen Monitors?

New Fabrics Enable Efficient AI Acceleration

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