Filter by source
All sources GoCardless 6194 PubNub: 2474 Vercel 1664 Ariya Hidayat 849 Serverless 849 Jake Trent 816 Drew DeVault 784 Nic Raboy 734 SitePoint 629 Neon 504 Supabase 435 Shopify 432 Soundcloud 409 Databricks 396 Real Python 394 Johannes Brodwall 378 Jeremy Kun 327 Laravel 296 PostHog 294 Twilio 259 Graham King 257 MapTiler 257 Carlos Becker 252 Scott Johnson 250 Cloudflare 244 Lea Verou 244 Matt Aimonetti 231 Atomic Object 218 Andrew Bancroft 214 Nvidia 210 Stanko Tadić 189 Lerner Consulting 188 Stack Overflow 183 Freek Van der Herten 182 The Daily WTF 168 Raymond Chen 165 Trivago 159 GitHub Old 155 Discord 140 Dan Luu 137 WyeWorks 134 Swizec Teller 133 Una Kravets 132 Auth0 129 Codrops 126 OCTO Technology 123 Reginald Braithwaite 121 Android 119 Jane Street 119 Hostinger 118 Radek Pazdera 118 Warp 114 AWS 110 Antirez 110 Thoughtbot 105 Cerner 103 AdRoll 102 Changelog 101 Jake Wharton 101 Nelson Elhage 98 Martin Fowler 96 dbt Labs 95 Ilija Eftimov 94 Marek Majkowski 94 Docker 87 .NET 86 Finn.no 86 Nick Desaulniers 86 Hayden James 84 Marcelo Rinesi 84 Nordic APIs 82 Timescale 82 Toptal 82 Luciano Mammino 80 Sentry 79 Wingify 78 Jessie Frazelle 77 Monica Dinculescu 77 Matt Warren 76 Drivy 75 Jan Lelis 75 T.J. Maher 74 Paweł Chudzik 73 Kotlin 69 Ebay 68 Mykhailo Kozik 68 Axel Rauschmayer 64 Mozilla Release 64 Evil Martians 63 Confluent 62 Tania Rascia 60 0xADADA 59 Jake Yesbeck 59 Khan Academy 59 Tailscale 59 Dean Hume 57 RoseHosting 56 SurveyMonkey 53 jOOQ 53 Sam Saffron 51 Facebook AI Research 48 Monstermuffin 48 Huon Wilson 45 Philip Walton 45 Dennis Felsing 44 HackerEarth 44 Rust 44 The Pragmatic Engineer 44 Fly.io 43 Josh Sherman 42 Stripe 42 Gleb Bahmutov 41 Robin Ward 41 Philipp Oppermann 40 Armin Ronacher 36 Daniel Doubrovkine (dB.) 36 Alex Russell 35 Grab 35 Addy Osmani 34 Airbnb 34 Pinterest 34 Tumblr 33 8th Light 32 Joe Nelson 32 Brandwatch 31 Palantir 31 Bartlomiej Filipek 30 Domenico Luciani 30 Lazarus Lazaridis 30 Pamela Fox 30 Evan Miller 29 IPFS 29 Vanilla Java 29 Evan Hahn 28 Jonathan Snook 28 PagerDuty 28 Ruslan Spivak 28 Dereuromark 27 Okta 27 Petr Mitrichev 27 Red 27 GitHub 26 Julia Evans 26 Mozilla Hacks 26 Bad Concurrency 25 CSC - IT Center For Science - Cloud Team 25 GameChanger 25 Guido van Rossum 25 Jay Fields 25 Jeff Preshing 25 Life Plus Linux 25 Mark Seaborn 25 Oona Räisänen 25 Srinivas Tamada 25 Stephen Colebourne 25 Steve Yegge 25 Criteo 24 Eli Bendersky 24 Kogan.com 24 Squarespace 24 Dropbox 23 Crystal 22 Elegant Code 22 Babbel 21 Blundell's Android Tutorials 21 Gusto 21 HomeAway 21 Netflix 21 Dave Cheney 20 David Walsh 20 Erlang Solutions 20 Guardian 20 Justin Weiss 20 Michael Herman 20 Miguel Quinones 20 Mike Ash 20 Ole Begemann 20 Paul Irish 20 Robert C. Martin 20 Stefan Parker 20 Target 20 Wilfred Hughes 20 Yahoo 20 Instacart 19 Jeff Atwood 19 Spotify 19 Thumbtack 19 Aaron Patterson 18 Arkency 18 Nikola Brežnjak 18 The Coded Self 18 Chris Wellons 17 Jerry Gamblin 17 Matthew Green 17 Wealthfront 17 Filippo Valsorda 16 Medium 16 Postmark 16 RocksDB 16 Stack Abuse 16 Yegor Bugayenko 16 Zach Holman 16 Amit Merchant 15 Bigcommerce 15 Blender 15 Edward Faulkner 15 High Scalability 15 Housing.com 15 Hypriot 15 Jacopo Tarantino 15 John Wittenauer 15 Lambda the Ultimate 15 Localytics 15 Microsoft Python 15 Robin Wilson 15 Slack 15 Advanced Web Machinery 14 Grofers 14 Helpshift 14 HubSpot 14 OLX 14 REA Group 14 Rob Allen 14 Vlad Mihalcea 14 Bootstrap.com 13 Feedzai 13 Grafana 13 Indeed 13 Lyft 13 Michael Crump 13 Nextdoor 13 Scott Hanselman 13 Strava 13 Bazaarvoice 12 Canva 12 Henrik Warne 12 Jon Skeet 12 Mary Rose Cook 12 Nicolas Liochon 12 Novoda 12 Steve Bellovin 12 Abu Ashraf Masnun 11 Badoo 11 Deliveroo 11 Eric Lippert 11 Haptik 11 Hashrocket 11 JobTeaser 11 Kevin Burke 11 Marco Pivetta 11 New York Times 11 OpenDNS 11 Paypal 11 Ramon Fried 11 RisingStack 11 Small Improvements 11 VNGRS 11 Vinted 11 Zendesk 11 Alan Storm 10 Appnexus 10 Artsy 10 BBC 10 Benchling 10 Bill the Lizard 10 Bohops 10 Brendan Eich 10 Brendan Gregg 10 Brujo Benavides 10 Clever 10 Curalate 10 Daily JS 10 Daily Tech Video 10 Daniel Schmidt 10 Dot Dev (.dev) 10 Dragan Djuric 10 Eddie Smith 10 Eric Elliot 10 Erik Runyon 10 Evan Jones 10 Federico Cargnelutti 10 Findmypast 10 Flickr 10 Freeletics 10 GoSquared 10 Groupon 10 Harry's 10 Henrik Lau Eriksson 10 High Scalability 10 Hootsuite 10 Idontgetoutmuch's Weblog 10 Itamar Turner-Trauring 10 Jamis Buck 10 Jesal Gadhia 10 Joel Spolsky 10 Juan Treminio 10 Junior Grossi 10 Kirill Shevchenko 10 Larry Land 10 Matt Cutts 10 Matt Might 10 Mesosphere 10 Miro Cupak 10 Miro 10 NSHipster 10 Nick Craver 10 Ofer Zelig 10 Panorama Education 10 Pat Shaughnessy 10 Piotr Pasich 10 Pony Foo 10 Postman 10 ReactJS News 10 Regular Geek 10 Remind 10 RetailMeNot 10 Riot Games 10 Schakko 10 Skyscanner 10 Stitch Fix 10 Teamwork 10 Tikhon Jelvis 10 Tinder 10 Transferwise 10 TrueCar 10 Undocumented Matlab 10 Universe 10 UpGrad 10 VTS 10 Wojtek Gawroński 10 XING 10 Yammer 10 Yifan Lu 10 Zolmeister 10 eFounders 10 Josh Haberman 9 Nate Berkopec 9 Wemake.services 9 Mike Fogus 8 Ian Hummel 7 Ilya Grigorik 6 K. Harrison 6 Sensible 6 James Long 5 Thomas Young 5 Edgar Aroutiounian 4 Avenue Code 3 Bandcamp 3 James Hague 3 Raymond Hettinger 3 Algolia Anders Aarvik Ariejan de Vroom Asana Atlassian Bjørn Johansen Blake Erickson Bryan Cantrill Capgemini Chen Hui Jing Chien Tran Cloudera Cloudsmith CockroachDB Code with style! CodeName One Codelitt Codeship Commercetools Credit Karma Crowdfire Deezer DoorDash Dragan Gaic Engine Yard Entelo Envato Envoy Eventbrite Federico Tomassetti Figma GIPHY Galois Go GoDaddy Guilherme Rodrigues Hashnode Heroku Honeybadger Honeycomb IMVU Ievgen Kuzminov Instagram Jobandtalent John Resig Jonathan Dekhtiar Just Eat Kinvolk Kolosek Kyle Kingsbury LINE Linear LiveRamp Liveblocks Made Tech Marc Plano-Lesay Microsoft Edge Moove-it Mozilla Automation Team NPR Apps Nicolai Parlog (CodeFX) Oursky Oxide Computer Paul Lewis Peter Norvig Peter Steinberger Peteris Krumins PicCollage PlanetScale Prezi PullReview Rachel Kroll Radim Řehůřek Ray Wenderlich React Native Render Retool Schibsted Tech Polska Sharethis Sketch Sky Betting & Gaming Soshace Speedledger Sqreen Square Stackshare Swift Swiggy Takipi Temporal Turso Vena Solutions VersionEye Wayfair William Kennedy Zed Zendesk(old) theScore
214 articles Visit blog →

91. Entity Framework Tip – Specifying Decimal Precision (www.andrewcbancroft.com)

By default, Entity Framework takes the .Net decimal Type and maps it to SQL Server’s decimal(18,2) data type. If you’ve got a property on an Entity that is of Type decimal, but down in your database, you’re allowing for greater precision than 2 decimal places (scale is actually the proper term for t...

92. Core Data: Solving Ambiguous Type / Redeclaration of Type (www.andrewcbancroft.com)

I just finished roasting some coffee from Peru. I’ve never had it before, but it got me thinking about my Roaster On the Go “app” as I thought about the context that I could use to show you the solution to the compiler error described in the title. I used this to demonstrate Working with Unwind Segu...

94. Disabling Xcode’s OS-Level Debug Logging (www.andrewcbancroft.com)

Full credit to Russell Ivanovic for his tweet for figuring out how to disable Xcode 8’s extremely chatty debug console logging. I just wanted this here for my own reference, but perhaps it’s helpful to you as well. If you’re tired of sifting through operating system-level logging to the debug consol...

95. Using a Core Data Model in Swift Playgrounds (www.andrewcbancroft.com)

Did you know that you can tinker with Core Data inside of Swift playgrounds in Xcode? You can! Jeremiah Jessel, author at http://www.learncoredata.com, wrote up an article in 2015 detailing how you can use the Core Data framework inside a playground. He shows how you can do everything from setting u...

96. TypeScript Build Errors When Publishing ASP.Net Web Project (www.andrewcbancroft.com)

I had TypeScript files building and running perfectly when I’d debug locally, but when I changed over to publish the project, I got build errors galore: Cannot find module ___ TS6053 – File ___ not found I had forgotten that I set up my TypeScript Build configuration for Debug, but I hadn’t changed ...

97. Force Unwrapping Swift Optionals: Code Smell! (www.andrewcbancroft.com)

Do you find your Swift code riddled with !‘s? I’m becoming more and more uncomfortable with seeing ! throughout my Swift code. It’s just a matter of time before it’s going to bite me. Often, I do it because it’s the “easy thing” to do at the time. But it’s dangerous. Swift optionals are trying to he...

98. Is Protocol Oriented Swift Better than Object Oriented Swift? (www.andrewcbancroft.com)

A question was asked on Reddit and showed up in my feed as I was browsing this weekend: What does protocol oriented programming mean, and why is it better than OOP? I really like a few things that were said in one of the top “Explain Like I’m 5” comments that was posted in response to the question b...

99. Extracting a PKCS7 Container for Receipt Validation with Swift (www.andrewcbancroft.com)

So you’ve prepared to test receipt validation by setting up your app in iTunes Connect. You’ve brought in a cryptography library like OpenSSL to be able to work with the PKCS #7 container that acts as the “envelope” for the receipt. Perhaps you’ve even done it the “easy way” with CocoaPods. You’ve l...

100. Creating Calendar Events with Event Kit and Swift (www.andrewcbancroft.com)

Folks have asked more about working with Event Kit and Swift, so the series continues with this guide on how to create calendar events with Event Kit and Swift! Previous guides in the series include the following: Previous Guides Beginner’s Guide to Event Kit in Swift – Requesting Permission Creatin...

101. Swift Cheat Sheet for Dates, Formatters, and Date Components (www.andrewcbancroft.com)

Working with NSDate, NSDateFormatter, and NSDateComponents can be a little convoluted, so I’ve created myself a cheat sheet that will be updated as I discover new tips and tricks in this realm. The new cheat sheet can be found over at GitHub in the form of an Xcode Playground: Resources Swift Dates ...

102. Parse PFCloud – “JSON text did not start with array or object” (www.andrewcbancroft.com)

It’s always the little things that lead to flatter foreheads (or at least it is for me). Banging my head against the desk this evening working on a Parse migration, I finally figured out what was causing an error condition in a PFCloud function call. The request to the server succeeded, but the resp...

103. Working with Swift: Adopt a Protocol or Pass a Function? (www.andrewcbancroft.com)

Without fail, any time Rob Napier (@cocoaphony) speaks or writes, I gain insight into new and deeper ways to solve problems with Swift. In January 2016, he gave a talk at dotSwift, and I wanted to record my thoughts on something he said that made a lot of sense when it comes to the topic of, “Should...

104. Listing Calendar Events with Event Kit and Swift (www.andrewcbancroft.com)

This is the continuation of a series of articles I’ve writing for Swift developers working with Event Kit. Supposing that after asking the user for permission to use their calendars, and even allowing users to create new calendars from within your iOS app, one possible next step could be to list out...

105. Deploying Parse Dashboard (www.andrewcbancroft.com)

Below are steps that I’ve taken, myself, to deploy the [Parse Dashboard][1] to a cloud host, such as Azure, or Heroku. Before you worry with a cloud host, you need a copy of the parse-dashboard to prepare for deployment… 1 – Clone parse-dashboard git repository First, you’ll want to clone (or fork, ...

106. Adding Buttons to the Navigation Bar with Storyboards (www.andrewcbancroft.com)

Updated on March 20, 2017 – Xcode 8 & Swift 3 If you’re having trouble figuring out how to add buttons to the navigation bar in your Storyboard-based iOS app, my goal in this article is to help you through the process. Knowing what to click and where to drag to get things wired up isn’t entirely int...

107. FIX – Query in Parse Cloud Code Returns Unauthorized Error (www.andrewcbancroft.com)

The Parse migration process has begun – I’ve got a couple of small apps that used this backend as a service because the backend was simple and Parse was free. The migration has gone fairly smooth so far, but I hit a wall and have been struggling to figure out the solution for about 3 hours. 3 hours ...

108. Swift Functions as Types (www.andrewcbancroft.com)

For the well-versed functional programmer, the fact that [functions in Swift are Types][1] is no surprise. But I’m relatively new to the game on that front, so when I first encountered the idea of thinking of a function as a Type back when Swift was announced in 2014, it was a real eye-opener for me...

109. Fade Views In/Out with Fadeable – A Swift Protocol Extension (www.andrewcbancroft.com)

During the production of my Pluralsight course on Managing Xcode Project Dependencies with CocoaPods, I wanted to provide viewers of the course the opportunity to see how to create and deploy a simple library out to the CocoaPods Trunk. Inspiration A simple idea came to mind: Create something that a...

110. Fundamentals of Callbacks for Swift Developers (www.andrewcbancroft.com)

Updated on October 12, 2016 – Swift 3.0 Callbacks: What are they? How do they work? What are they used for in practice? My goal in this article is to provide answers to these questions so that you have a foundational understanding of this common programming pattern in iOS development. What are callb...

111. Managing Xcode Project Dependencies with CocoaPods (www.andrewcbancroft.com)

Course Outline I try to get as practical as possible in the course. As you’re watching you’ll be “embedded” into a team of iOS developers, and you’ll explore the problems that CocoaPods can solve for you by watching the team struggle through not having a dependency manager, and then sharing in their...

112. 401 Unauthorized Browsing Site From Local IIS Instance (www.andrewcbancroft.com)

I spent waaaaay way way way too long fighting this one, so I’m saving everything I found on the issue so that I never lose it. Setup Running Internet Information Services (IIS) 8.5 on my laptop. Set up a site with an ASP.Net MVC web application Windows Authentication. Problem Browsing the site local...

113. Swift Framework Woes – Unresolved Identifier? No Member? (www.andrewcbancroft.com)

It’s the simple things that get us, isn’t it? I was working on a simple little framework the other day, and I’d gotten things just how I wanted… or so I thought. I was ready to test things out and import the framework into my real app. import MyShinyNewFramework Sweet! No build errors! // attempt to...

114. Working with Unwind Segues Programmatically in Swift (www.andrewcbancroft.com)

Updated on September 20, 2016 – Xcode 8 & Swift 3.0 Navigating between screens is a critical component to building iOS applications. The mechanism for navigation in Storyboard-based applications is the segue. Using segues, we can travel ahead to the next screen, which is extremely common. We can als...

115. Using PowerShell to Install a DLL into the GAC (www.andrewcbancroft.com)

A couple of ways exist to install a DLL into the Global Assembly Cache (GAC). Using gacutil.exe is one, but this comes as part of a Visual Studio installation, and in a server environment, you may not have the luxury of installing Visual Studio, just to get the utility installed. An alternative, how...

116. Get Social With Swift – Posting to Facebook and Twitter (www.andrewcbancroft.com)

Building social media features into our apps has never been easier! In this guide, I will walk you through how to get started with accessing the Social framework for iOS so that you can take advantage of Apple’s built-in support for two major social media platforms: Facebook, and Twitter. For your c...

117. Creating Trust-able Unit Tests in Swift (www.andrewcbancroft.com)

It may come as a surprise to you, but a green-lit passing unit test is not always a sign that all is well with our software. Our apps and their corresponding unit test suites always start off clean and basic and simple. But they don’t stay that way for long. Cycles of code changes and additions and ...

118. Considerations for Choosing 3rd Party Swift Libraries (www.andrewcbancroft.com)

While relying on 3rd party dependencies can provide you the benefit of not having to spend time implementing a portion of your app, realize that you’re essentially giving away little pieces of your app when you bring in a dependency. You’re delegating away a certain level of control off to someone e...

119. Loading a Receipt for Validation with Swift (www.andrewcbancroft.com)

I’m working through a progression of entries on the process of validating receipts with OpenSSL for iOS in Swift. Just want the code? Here you go! Resources Swifty Local Receipt Validator To-date, I’ve explained how to get OpenSSL into your project (the easy way), and I’ve walked through how to prep...

120. Preparing to Test Receipt Validation for iOS (www.andrewcbancroft.com)

After having to piece together each step along the path of preparing to test receipt validation for iOS apps, I’ve decided to combine everything into the following guide. Whether you’re working to implement receipt validation for a new iOS app, or for an existing one, this walk-through should provid...
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open