99 posts tagged ‘Programming’
Xcode 15 Logs nil As an Empty String
Jeff Johnson: [The] functions os_log and NSLog now log nil as an empty string. The previous behavior, going back forever as far as I remember, was to log nil as (null).[…]I don’t know whether this is a bug or intended behavior, but it makes debugging our apps markedly worse, because now there’s no easy way […]
Cursorless Is Alien Magic From the Future
Xe Iaso (via Hacker News): Cursorless is a plugin that integrates with voice control software to let you do AST level code editing with your voice. This is crazy alien magic from the future. […] The most magic parts about this are the ideas of destinations and targets when it comes to cursorless inputs. Targets […]
On-Crash Backtraces in Swift
Alastair Houghton: Prior to Swift 5.9, all you would get when your program fails is a message from the parent process (often the shell) telling you that the child process crashed[…] […] Now, instead of the opaque message above, the result looks something like this[…] […] This new feature greatly improves the on-crash debugging experience […]
Bike Outline Paths
Jesse Grosjean: Use outline paths to query your Bike outlines. Today they are used through AppleScript and Shortcuts actions. In the future they will be used to build new features such as stylesheets and outline filtering. There’s a video demonstrating them and documentation for the syntax. Previously: Bike 1.12
Swift Proposal: Pack Iteration
SE-0408: Currently, it is possible to express list operations on value packs using pack expansion expressions. This approach requires putting code involving statements into a function or closure. For example, limiting repetition patterns to expressions does not allow for short-circuiting with break or continue statements, so the pattern expression will always be evaluated once for […]
Mastering DOM Manipulation With Vanilla JavaScript
Phuoc Nguyen (via Hacker News): Web development moves at lightning speed. I still remember when I first started using libraries like jQuery, Prototype, script.aculo.us, Zepto, and many more. Even with modern tools like Angular, VueJS, React, Solid and Svelte, we still have to deal with the Document Object Model (DOM). While these frameworks encapsulate and […]
Google Vertex AI Search
Brett Terpstra: So it turns out Google now offers an API (once again). It’s limited to 100 searches per day for the free version, so I don’t want to put my API key into the public distribution of SearchLink, but if you want to tap into Google’s power for your searches, you can now add […]
FTX Trial
Molly White (via Nick Heer): We got our first glance at the FTX codebase on Friday. The prosecution brought out Github screenshots as they questioned cooperating witness Gary Wang, the former CTO of FTX who at various times was responsible for the codebases powering both FTX and Alameda Research. Wang has pleaded guilty to four […]