今日精选
HOT最新资讯
共 39447 篇Mobileye is entering the US robotaxi market with standalone service
The service will leverage its Moovit platform to launch in an a US city in 2027.
Wario Synth
Transform songs into retro Gameboy-style game console music Discussion | Link
I built a storage engine in Go (from scratch without any AI), here's the entire process documented.
I spent the last 2 months building a storage engine from scratch understand how storage engines actually work. To respect the rules of this subreddit, we will not discuss the features ør benchmarks, for that you should read the repo yourself. To understand how I came up with the bits and pieces to put together this project, follow along. So here's my entire journey. Two things: - I built this project because of a recent interest in low-level and systems programming, that combined with my general affinity towards stateful systems made this project an obvious choice. - I see a lot of cool projects (on various social platforms) and when I attempt to read their code, it's obvious that it's written by AI. I intend to share my thought process here because I want to spread awareness that it's very much possible to build something like a storage engine using your first principles intuition. ---------------- Let's begin: 1 . Given all the knowledge I had and using first principles thinking, I setup an in-memory KV store but then it's obvious I had to make it persistent. I added persistence by writing a single line to the file every time someone made a PUT request. The file now had a bunch of {key: "hello", value: "world"}\n. So during startup, I would read all these lines and recover everything into in-memory. 2 . For me, at this point that's all the upfront knowledge I had. So I asked some very basic questions: > How would I recover the entire file into memory on startup? At some point it just wouldn't be possible because the file is growing unbounded. This means that I must not load everything in-memory and instead access the file directly > But then if I read every line top to bottom on every GET then my latency would be literally obliterated? This means I must somehow efficiently query the file. I came up with a solution, I created files based on alphabets, all keys with prefix A will end up in file A, all keys with prefix B will end up in file B and so on. By first prin
Insta360 Luna Ultra review: Let the gimbal camera wars begin
Insta360's first gimbal camera is a high-powered Osmo Pocket rival that you can actually buy.
Florida sues TikTok for allegedly violating its social media ban for kids
The state of Florida is suing TikTok over claims the company isn't complying with the state's child safety law, which bans kids under 14 from creating social media accounts, as reported earlier by Reuters. The lawsuit, filed on Monday, alleges that TikTok still allows 13-year-olds in Florida to use the platform and is "actively deceiving" […]
Amazon’s capable sound system is over $100 off ahead of Prime Day
Built-in television speakers are almost always underwhelming, so getting a soundbar is the best way to elevate any and all content. If you want to get the most for your money, Amazon’s Fire TV Soundbar Plus with a subwoofer and satellite speakers provide a bigger sound than a standalone soundbar like a Sonos Beam. Ahead […]
My Father Wants to Age in Place. AI Will Be Watching
Devices that monitor seniors for safety are appealing to worried loved ones and underresourced home care agencies.
What Do We Need From Our Homes Right Now?
The global editorial directors of WIRED and Architectural Digest on teaming up to help you understand how we live today, and what comes next.
Need a New Lamp? Here Are 7 Bright Ideas
These clever lights—each one an exemplar of innovation in materials, design, and function—will beautify your home.
Designing the Dream House of an 87-Year-Old Tech Visionary
An icon of Silicon Valley’s counterculture, Stewart Brand is confronting his final years in a home that embodies the self-sufficient, DIY ethos of his famous Whole Earth Catalog.
Traditional Home Insurance Is Collapsing. Here’s What Could Fill the Gap
A new, AI-assisted model of insurance is quietly exploding in disaster-prone areas—and may be coming for FEMA too. Is it the answer to climate change, or a trap?
What Do Americans Spend on Housing?
WIRED surveyed readers on their housing costs. The answers paint a stark portrait of unaffordability, climate adaptation, and the death of the homeowner dream.