Being wary of how people use it and how it interacts with other types. The post What’s the highest legal FILETIME? Is it safe to use? appeared first on The Old New Thing.
Do you try again or give up? The post Comparing exception behavior of magic statics, std::call_once, and std::async appeared first on The Old New Thing.
Imagining how to report a memory allocation failure for a sparse page. The post Why don’t we allow stacks to be sparse, instead of forcing them to be contiguous? appeared first on The Old New Thing.
You're changing the value for future windows. The post What happens if you change a window class’s GCL_CBWNDEXTRA? appeared first on The Old New Thing.
Are you talking to the right guy? The post The case of the progress callback that never got called when progress happened appeared first on The Old New Thing.
Every so often, a software development project lands on your desk with the shape already decided. The old system is the villain. It’s written in something nobody wants to touch, it breaks in ways no one can explain, and everyone agrees the answer is to rewrite it on a modern stack, run the project the […] The post Your Legacy Code Isn’t the Problem appeared first on Atomic Spin.
Explicitly denying that you implement the method. The post On forcing all derived classes to implement a specific non-virtual method, part 2 appeared first on The Old New Thing.
Don't implement a stub. Just don't implement it at all. The post On forcing all derived classes to implement a specific non-virtual method, part 1 appeared first on The Old New Thing.
Applying our principles. The post Reducing C++ template bloat by factoring out the type-dependent portions of the function, practical exam appeared first on The Old New Thing.
Looking for consolidation points. The post Reducing C++ template bloat by factoring out the type-dependent portions of the function appeared first on The Old New Thing.
Just use the callable directly. The post On wrapping a callable in a lambda that just calls it with the same parameters appeared first on The Old New Thing.
How We Made a 15X15 Game Surface Feel at Home on AndriodIllustration by Lehel KovácsBy Shafik QuoraisheeWhat Is Crossplay?The New York Times Games team has been building daily puzzles for quite a while: Wordle, Spelling Bee, Connections, The Mini. These are solo games. The player opens them, solves them, and then closes them. This leads to a simple, satisfying experience which delights millions of players a day.Crossplay is an altogether different endeavor. It’s the first multiplayer game from NYT Games, and it brings a friend (or a stranger) into the experience with them. So two players, one…
Most browsers have the ability to launch different browser profiles. Each profile can come with a different theme and a different set of website logins (cookies, application state, etc). This can be helpful if you want to segregate browsing behavior. For example, I have different browser profiles set up for my personal email, my "consulting" […]
How we developed a dashboard tool created to help ease the workflow of managing puzzles for our Connections editor.Illustration by Su Yun SongBy Shafik Quoraishee and Wyna LiuIn the game Connections, every puzzle is a meticulously crafted challenge designed to captivate our audience and spark intellectual curiosity. Developing these puzzles can sometimes be a time consuming and intricate task. Each puzzle requires planning, beginning with conceptualizing fresh categories and plausible misleads, followed by testing the combinations for balance and solvability, and concluding with refinement…
One of the first ever Redis libraries for Go was hosted at github.com/garyburd/redigo. It has been deprecated for some time and has now been finally removed altogether from Github. If you still have a dependency on this project, this means that will be broken now. github.com/gomodule/redigo should be a drop-in replacement for github.com/garyburd/redigo. If you […]
Optional Google Analytics helps us understand visits. Microsoft Clarity records masked interactions to improve the site. Optional tools stay off unless you choose them. Privacy details.