Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 130
  1. TIL: Typed do in Swift

    TL;DR: Swift has do throws(MyError).

  2. I ran into an interesting problem with SQL the other day: how do you update multiple rows while maintaining an uniqueness constraint?

  3. 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.

  4. New Swift Package: provision-info

    I released a new Swift library!

  5. DotEnvy

    I released a new Swift library, DotEnvy.

  6. Git history search with fzf

    fzf is one of my favorite shell tools.

  7. Splitting a Xcode project with SPM

    I was talking on Mastodon about splitting an Xcode project into smaller pieces.

  8. A fast timestamp parser in Swift

    I wrote a timestamp parser in Swift.

  9. Git worktrees helper

    I recently became an avid user of Git worktrees.

  10. 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…

  11. I'm no good at drawing.

  12. Date component ranges in Swift

    Ever needed to iterate over a list of days or months in Swift?

  13. Async Swift and ArgumentParser

    Swift 5.5 brought us async functions.

  14. The macOS SDK ships with at least two graphics path types: NSBezierPath and CGPath.

  15. When you need to access resources over HTTP in Swift, in most cases the answer is URLSession from Foundation.

  16. Database connections in Vapor 4

    Version 4 of the Swift web framework Vapor was released a while ago.

  17. Looks like this is a jq blog now, so here's another one.

  18. 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.

  19. Copy value with jq

    I use jq heavily in my day to day work.

  20. Ever needed to interpret mathematical expressions with variables, like a.field1 + (a.field2 - b.field1) * 2, in Swift?

  21. Ever needed to interpret mathematical expressions with variables, like a.field1 + (a.field2 - b.field1) * 2, in Swift?

  22. Ever needed to interpret mathematical expressions with variables, like a.field1 + (a.field2 - b.field1) * 2, in Swift?

  23. Looser dependencies with Swift

    What kind of types do you use to manage dependencies between objects in Swift?

  24. GraphQL with 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…

  25. annotate-git-commit

    I got into the feature branch workflow back when I was using Mercurial.

  26. TODO.swift

    I saw this Swift trick a few years ago on Twitter.

  27. 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.

  28. Netstrings for Swift

    I published another small Swift library: swift-netstring implements reader and writer for D.

  29. Flue is a Swift (3.0, as of this writing) library for extracting, validating and converting values from user input.

  30. Talking to servers: WebSockets

    This is a sort of follow-up post to ZeroMQ, iOS and Python from a year ago.

  31. NSStringinfying enums from AppCode

    I added a --text option to nsstringfromenumgen so it can be used with JetBrains' excellent Objective-C IDE, AppCode.

  32. NSStringinfying enums

    Making sense of enum values in C is too difficult.

  33. ZeroMQ, iOS and Python

    I wrote some example code for you.

  34. Announcing RCRunner, a GUI test runner for MacRuby and Cocoa.

  35. If you want to go Flashless on Mac and Safari, it's possible to use Firefox as a fallback, too, not just Chrome.

  36. When putting together user interfaces with Interface Builder, you connect things together with bindings, actions and outlets and it's good.

  37. hg-status-sections

    I usually use Murky, dvc or some other shell for Mercurial.

  38. A better @synthesize

    The biggest problem with Objective-C's @synthesize directive for properties is how difficult it's to augment the synthesized code.

  39. Block indentation in Emacs

    There are several small things Emacs could be doing to make it nicer to write code.

  40. I recently transferred all my photos to iPhoto.

  41. Announcing Chipmunk Backup

    I put up on Launchpad a backup utility I wrote called Chipmunk Backup.

  42. Emacs tip #0: Always search EmacsWiki when you think you might need something.

  43. I have a somewhat difficult relationship with Django's admin site.

  44. iPhone shuffle

    These days I use an iPhone as my mobile music device.

  45. Crashes with NSURLConnection

    Speaking of Cocoa (and iPhone) programming, for a change.

  46. Various Python related things

    Python Magazine published my article "Using Dependency Injection in Python" in their August issue.

  47. Flow 08: Saturday and Sunday

    On Saturday, it was raining cats and dogs.

  48. Flow08, Day 1

    Flow08 started off a whole lot better than last year.

  49. 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.

  50. A moment of C++ hate

    Apologies, I'm going to indulge myself for a moment.