Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
TL;DR: Swift has do throws(MyError).
-
I ran into an interesting problem with SQL the other day: how do you update multiple rows while maintaining an uniqueness constraint?
-
Speaking of new Swift libraries, I released another one: tui-fuzzy-finder is a terminal UI library for Swift that provides an incremental search and selection UI that imitates the core functionality of fzf very closely.
-
I released a new Swift library!
-
I released a new Swift library, DotEnvy.
-
fzf is one of my favorite shell tools.
-
I was talking on Mastodon about splitting an Xcode project into smaller pieces.
-
I wrote a timestamp parser in Swift.
-
I recently became an avid user of Git worktrees.
-
When you run git diff — or look at diffs in at least Fork — on a modified Swift project you see things like this: @@ -251,7 +251,7 @@ extension AppUITests { let container = app.scrollViews["scroll"] XCTAssertTrue(container.waitForExisten…
-
I'm no good at drawing.
-
Ever needed to iterate over a list of days or months in Swift?
-
Swift 5.5 brought us async functions.
-
The macOS SDK ships with at least two graphics path types: NSBezierPath and CGPath.
-
When you need to access resources over HTTP in Swift, in most cases the answer is URLSession from Foundation.
-
Version 4 of the Swift web framework Vapor was released a while ago.
-
Looks like this is a jq blog now, so here's another one.
-
Another interesting command line JSON exercise: you have two JSON files, you want to diff a modified version of one to the other, and your shell is fish.
-
I use jq heavily in my day to day work.
-
Ever needed to interpret mathematical expressions with variables, like a.field1 + (a.field2 - b.field1) * 2, in Swift?
-
Ever needed to interpret mathematical expressions with variables, like a.field1 + (a.field2 - b.field1) * 2, in Swift?
-
Ever needed to interpret mathematical expressions with variables, like a.field1 + (a.field2 - b.field1) * 2, in Swift?
-
What kind of types do you use to manage dependencies between objects in Swift?
-
Know that thing where you start writing a tool for something, discover it needs (for some values of “need”) something slightly complicated, you decide to write a library for said complicated thing, then discover you don’t need the tool you were working on…
-
I got into the feature branch workflow back when I was using Mercurial.
-
I saw this Swift trick a few years ago on Twitter.
-
I tend to run into UNIX dates — large numbers representing points in time as seconds since the first second of 1970, something like 1500000000 for 2017-07-14 05:40:00 — all the time in my work, dealing with servers, web APIs, etc.
-
I published another small Swift library: swift-netstring implements reader and writer for D.
-
Flue is a Swift (3.0, as of this writing) library for extracting, validating and converting values from user input.
-
This is a sort of follow-up post to ZeroMQ, iOS and Python from a year ago.
-
I added a --text option to nsstringfromenumgen so it can be used with JetBrains' excellent Objective-C IDE, AppCode.
-
Making sense of enum values in C is too difficult.
-
I wrote some example code for you.
-
Announcing RCRunner, a GUI test runner for MacRuby and Cocoa.
-
If you want to go Flashless on Mac and Safari, it's possible to use Firefox as a fallback, too, not just Chrome.
-
When putting together user interfaces with Interface Builder, you connect things together with bindings, actions and outlets and it's good.
-
I usually use Murky, dvc or some other shell for Mercurial.
-
The biggest problem with Objective-C's @synthesize directive for properties is how difficult it's to augment the synthesized code.
-
There are several small things Emacs could be doing to make it nicer to write code.
-
I recently transferred all my photos to iPhoto.
-
I put up on Launchpad a backup utility I wrote called Chipmunk Backup.
-
Emacs tip #0: Always search EmacsWiki when you think you might need something.
-
I have a somewhat difficult relationship with Django's admin site.
-
These days I use an iPhone as my mobile music device.
-
Speaking of Cocoa (and iPhone) programming, for a change.
-
Python Magazine published my article "Using Dependency Injection in Python" in their August issue.
-
On Saturday, it was raining cats and dogs.
-
Flow08 started off a whole lot better than last year.
-
The following isn't magic but it was unclear to me and required reading both documentation and source code and some additional Googling to get right.
-
Apologies, I'm going to indulge myself for a moment.