Filter by source
All sources GoCardless 6188 PubNub: 2462 Vercel 1539 Ariya Hidayat 849 Serverless 848 Jake Trent 812 Drew DeVault 783 Nic Raboy 733 Neon 479 Supabase 424 Soundcloud 409 SitePoint 406 Johannes Brodwall 378 Databricks 366 Jeremy Kun 323 PostHog 286 Real Python 286 Graham King 257 Carlos Becker 251 MapTiler 250 Scott Johnson 250 Lea Verou 242 Laravel 232 Matt Aimonetti 231 Andrew Bancroft 214 Stanko Tadić 186 Twilio 181 Atomic Object 176 Cloudflare 170 Nvidia 168 Trivago 158 Freek Van der Herten 155 Stack Overflow 145 The Daily WTF 136 Discord 134 WyeWorks 134 Dan Luu 133 Raymond Chen 133 Una Kravets 132 Swizec Teller 129 GitHub Old 128 Reginald Braithwaite 121 Radek Pazdera 118 Warp 114 Antirez 110 Codrops 110 Jane Street 105 Android 104 Cerner 103 AdRoll 102 Auth0 102 Jake Wharton 101 Changelog 100 Nelson Elhage 98 OCTO Technology 96 Ilija Eftimov 94 Marek Majkowski 94 Thoughtbot 89 AWS 88 dbt Labs 88 Finn.no 86 Nick Desaulniers 86 Hostinger 84 Hayden James 81 Luciano Mammino 79 Martin Fowler 78 Wingify 78 Marcelo Rinesi 77 Monica Dinculescu 77 Matt Warren 76 Docker 75 Drivy 75 Jan Lelis 75 Jessie Frazelle 75 Paweł Chudzik 73 Toptal 73 .NET 69 Nordic APIs 69 Lerner Consulting 68 Mykhailo Kozik 68 T.J. Maher 67 Timescale 66 Axel Rauschmayer 64 Mozilla Release 64 Ebay 62 Kotlin 62 Tania Rascia 60 0xADADA 59 Khan Academy 59 Jake Yesbeck 58 Confluent 57 Evil Martians 54 jOOQ 53 Tailscale 51 Sam Saffron 50 Sentry 49 Monstermuffin 48 RoseHosting 48 Huon Wilson 45 HackerEarth 44 Philip Walton 44 Dennis Felsing 43 SurveyMonkey 43 Fly.io 42 Robin Ward 41 Philipp Oppermann 40 Gleb Bahmutov 39 Facebook AI Research 38 The Pragmatic Engineer 38 Dean Hume 37 Rust 36 Josh Sherman 35 Alex Russell 34 Stripe 33 Joe Nelson 32 Tumblr 32 8th Light 31 Addy Osmani 31 Grab 31 Armin Ronacher 30 Domenico Luciani 30 Lazarus Lazaridis 30 Palantir 30 Pamela Fox 30 Airbnb 29 Brandwatch 29 Evan Miller 29 IPFS 29 Ruslan Spivak 28 Vanilla Java 28 Bartlomiej Filipek 27 Daniel Doubrovkine (dB.) 27 Jonathan Snook 27 Petr Mitrichev 27 Pinterest 27 Red 27 Mozilla Hacks 26 Bad Concurrency 25 CSC - IT Center For Science - Cloud Team 25 Dereuromark 25 Evan Hahn 25 GameChanger 25 Guido van Rossum 25 Jay Fields 25 Jeff Preshing 25 Julia Evans 25 Life Plus Linux 25 Mark Seaborn 25 Okta 25 Oona Räisänen 25 Srinivas Tamada 25 Stephen Colebourne 25 Steve Yegge 25 PagerDuty 24 Squarespace 24 Kogan.com 23 Criteo 22 GitHub 22 Babbel 21 Elegant Code 21 Crystal 20 Dave Cheney 20 David Walsh 20 Eli Bendersky 20 Guardian 20 HomeAway 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 Yahoo 20 Dropbox 19 Gusto 19 Netflix 19 Instacart 18 Nikola Brežnjak 18 The Coded Self 18 Aaron Patterson 17 Jeff Atwood 17 Thumbtack 17 Erlang Solutions 16 Stack Abuse 16 Wealthfront 16 Arkency 15 Bigcommerce 15 Edward Faulkner 15 Filippo Valsorda 15 High Scalability 15 Hypriot 15 Jacopo Tarantino 15 Jerry Gamblin 15 John Wittenauer 15 Lambda the Ultimate 15 Localytics 15 Matthew Green 15 Medium 15 Microsoft Python 15 Postmark 15 RocksDB 15 Slack 15 Spotify 15 Yegor Bugayenko 15 Advanced Web Machinery 14 Helpshift 14 Housing.com 14 HubSpot 14 OLX 14 REA Group 14 Robin Wilson 14 Zach Holman 14 Amit Merchant 13 Blender 13 Chris Wellons 13 Grofers 13 Indeed 13 Nextdoor 13 Rob Allen 13 Scott Hanselman 13 Henrik Warne 12 Jon Skeet 12 Mary Rose Cook 12 Nicolas Liochon 12 Novoda 12 Steve Bellovin 12 Abu Ashraf Masnun 11 Badoo 11 Bazaarvoice 11 Blundell's Android Tutorials 11 Canva 11 Feedzai 11 Haptik 11 Hashrocket 11 JobTeaser 11 Kevin Burke 11 Lyft 11 Marco Pivetta 11 Michael Crump 11 Paypal 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 Bootstrap.com 10 Brendan Eich 10 Brendan Gregg 10 Brujo Benavides 10 Clever 10 Curalate 10 Daily JS 10 Daily Tech Video 10 Daniel Schmidt 10 Deliveroo 10 Dot Dev (.dev) 10 Dragan Djuric 10 Eddie Smith 10 Eric Elliot 10 Eric Lippert 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 New York Times 10 Nick Craver 10 Ofer Zelig 10 OpenDNS 10 Panorama Education 10 Pat Shaughnessy 10 Piotr Pasich 10 Pony Foo 10 Postman 10 Ramon Fried 10 ReactJS News 10 Regular Geek 10 Remind 10 RetailMeNot 10 Riot Games 10 Schakko 10 Skyscanner 10 Stitch Fix 10 Strava 10 Teamwork 10 Tikhon Jelvis 10 Tinder 10 Transferwise 10 TrueCar 10 Undocumented Matlab 10 Universe 10 UpGrad 10 VTS 10 Vlad Mihalcea 10 Wilfred Hughes 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 Grafana 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 Shopify 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 →

181. Replace Magic Strings with Enumerations in Swift (www.andrewcbancroft.com)

“What can I do to avoid these ‘magic strings’ in my code?” – This was the question I asked myself recently as I found myself in prepareForSegue comparing segue.segueIdentifier to in-line hard-coded Strings.  This kind of in-line hard-coding of a String for comparison purposes is what I mean by “magi...

182. Pick a Delegate… Any Delegate… On Clean View Controllers in Swift (www.andrewcbancroft.com)

The delegation pattern is ubiquitous in iOS development – the pattern is a “core competency” for developing in Cocoa, and if you program with the iOS SDK for any length of time and you’ll end up writing some code that resembles someInstance.delegate = someDelegate. One of the toughest things that I’...

183. Send Email In-App – Using MFMailComposeViewController with Swift (www.andrewcbancroft.com)

Updated on October 11, 2016 – Swift 3.0 In this writing, I want explore how to use MFMailComposeViewController with Swift to send e-mails within your app as a walkthrough. My focus here is “quick and dirty” pragmatism, so that we can easily see what the inter-working components of MFMailComposeViewC...

184. Expanded Thoughts on Swift’s Type Inference (www.andrewcbancroft.com)

In my recent op-ed on clean coding in Swift focused on Type Inference, I began by saying, Quick!  Tell me!  What is the Type of the birdDetails constant in this code example: let birdDetails = birdDetailsFromStorage() With no additional context to glean information from, the correct answer to the qu...

185. Sort It Out – Sorting an Array in Swift (www.andrewcbancroft.com)

I had a question come to me today regarding sorting an array of integers that are actually encoded as strings in the array.  Data comes to is in a variety of encodings/types, so it’s quite common to need to adjust things to the right state for working with.  Let’s take a look at how to solve this on...

186. Clean Coding in Swift – Type Inference (www.andrewcbancroft.com)

Quick!  Tell me!  What is the Type of the birdDetailsconstant in this code example: 1let birdDetails = birdDetailsFromStorage() With no additional context to glean information from, the correct answer to the question is, “I have absolutely no clue…”  Or is it? “Not fair!”, you say.  “In the real wor...

187. Clean Coding in Swift – Functions (www.andrewcbancroft.com)

I’ve been thinking a lot about how the principles of clean coding (Bob Martin’s “Clean Code”) apply in Swift. How do I express clean code in this language? Conversely, how do I avoid writing cryptic code in Swift? What language features help me write clear and self-explanatory code and what language...

188. Fade In / Out Animations as Class Extensions in Swift (www.andrewcbancroft.com)

Updated on December 6, 2016 – Xcode 8 & Swift 3.0 The question has been asked (and solved) on StackOverflow in Objective-C, but my aim in this post is to take the Objective-C implementation and leverage Swift extensions to make this job even easier to achieve and reuse. Fade animations basically inv...

189. Swift Optionals? Don’t Forget to Unwrap! (www.andrewcbancroft.com)

There is a compiler error that throws me off every time I see it.  It takes the form, ‘ClassName?’ does not have a member named ‘memberName' This can happen when you’ve declared a variable as an optional, but forget to unwrap that optional when you attempt to call a method on it. For example, given ...

190. Swift Access Control – Implications for Unit Testing (www.andrewcbancroft.com)

If you find yourself with broken unit tests, failing to build with the error, “Use of unresolved identifier…”, you’re not alone! Unit Tests and Swift Access Control When Swift access control came into the picture, we suddenly had a little more to consider. From the Apple docs: Swift access control h...

191. Implement NSManagedObject Subclass in Swift (www.andrewcbancroft.com)

Updated on July 8, 2016 – Xcode 7 My goal with this blog entry is to help get you set up to create NSManagedObject subclasses in Swift for the Entities in your Core Data model. Example Let’s look at a fabricated example: Say that you’ve got a Core Data project and you’re creating Entities.  For my s...

192. How to Create Mocks and Stubs in Swift (www.andrewcbancroft.com)

Without 100% support for a mocking framework like OCMock, I found myself needing to get creative when building mock objects and method stubs in Swift unit tests.  The great thing about testing is that you’re…well… testing things out to see if they’ll work, and I found a solution that I’m pretty happ...

193. NuGet app.config / web.config Transformation Trouble (www.andrewcbancroft.com)

I recently hit a road bump when developing a NuGet package. Mid-way through making the package, I decided I wanted to include couple of transforms to add some default connection strings to an app.config or a web.config file.  Try as I may, I couldn’t get NuGet to apply the transforms to my project’s...

194. iOS KeychainItemWrapper – Obstacles Overcome, Inconsistencies Resolved (www.andrewcbancroft.com)

I had a major case of “struggleface” when trying to work with the KeychainItemWrapper  for iOS.  I wanted it to be simple – just take a username and password and put it in the iOS Keychain for secure retrieval later.  Turns out that I had to spend an entire work day and do a lot of Googling to get i...

195. DotNetZip – Solving Mac Decompression Issues (www.andrewcbancroft.com)

As part of a ASP.Net Web API service that I’m co-developing, I have gotten familiar with the DotNetZip Library.  It’s fantastic.  We’re using it to gather up a set of requested files from network storage, package them in a zip archive, and stream them back to a client via a web application. During t...

196. “Unexpected System Error” in DataStage Sequence Job (www.andrewcbancroft.com)

Today I was running into a mysterious error in DataStage as I was running a sequence job.  Things seemed to be going well until one of my Fact jobs at the end of the sequence reported “Aborted” in DataStage Director.  Looking into the log for this job revealed a rather vague error message: [StageNam...

197. How Old is Silas Allen? (www.andrewcbancroft.com)

“Ooooohh, now… how old is he??”  I love this question.  Really!  I do!  Every time I’m asked I get to talk about my kid, and that’s always fun.  But today, things just got even more fun.  Now, instead of just telling people his approximate age, I can show them his precise age down to the second! As ...

198. DataStage Range Lookup Failure – What Gives? (www.andrewcbancroft.com)

I just spent the majority of my morning trying to figure out why in the world my range lookup kept failing.  Hopefully this will save you some time in troubleshooting your range lookup failures.  To cut right to the chase, my resolution involved sorting my reference source prior to doing the lookup....

199. Journey in iOS Development Series – In the Beginning… (www.andrewcbancroft.com)

Today I’m starting a series related to my journey in learning to develop iOS apps. As lightbulbs come on for me, I plan to write up what I’m learning, if nothing else for my own reference. But I do hope my readers enjoy the discoveries I make along the way. These first few blogs will be somewhat aut...

200. Report Studio Bullet Chart – Missing Target (www.andrewcbancroft.com)

Today I was working on a bullet chart in Cognos Report Studio.  The chart was rendering, but the target bar would never appear.  Here’s the scenario I was in and how I resolved my issue: My Goal: My goal was to show the average time to process an application against a target processing time for the ...

201. Removing Chart Gridlines and Plot Area Background in Report Studio (www.andrewcbancroft.com)

The steps from IBM’s official documentation, while they attempt to lead you in the direction of changing these properties of a chart, did not register with my brain for about an hour or so of clicking around, frustrated that I could not find the properties they were describing in the articl.  Just i...

203. SSRS: Which server sent my e-mail subscription? (www.andrewcbancroft.com)

I was recently troubleshooting a seemingly bizarre issue I was having with one of our report subscriptions – the production version was running normally, but our customer suddenly began receiving a very old version of the same report subscription.  After disabling the subscription from all non-produ...

206. Pointer Pointer #2 (www.andrewcbancroft.com)

Pointer Pointer #1 can be found here – it deals with how the “*” symbol is used in different places when dealing with pointers. A second pointer I have on pointers that helped me is this: A pointer stores an address of where some piece of data “lives” (begins its bit pattern) in memory.  What recent...

207. Create Sound Clips from iTunes (www.andrewcbancroft.com)

Open iTunes. (optional) Import any songs you’d like to make clips for. Select (click) the song that you’d like a sound clip for so that it’s the only one selected. Right-click that song and select “Get Info”. A window will appear – Click “Options” to access the screen to set your start and stop time...

208. Pointer Pointer #1 (www.andrewcbancroft.com)

Part of my confusion with the C family of languages has been how the * symbol worked in the various places it’s used in relation to pointers. A key insight helped de-mystify a lot for me: The * symbol is used as both a type declaration and as an operator (the de-reference operator). Example: // * us...

209. From SQL Queries to Data Modeling (www.andrewcbancroft.com)

This past week I had the opportunity to attend Microsoft TechEd 2012. Lots and lots of great material presented – I’m pretty stoked about some of the amazing features of SQL Server 2012’s BI stack. During the course of the week I discovered something that has been emerging in my thought process for ...

210. Contributing My Share of Bytes (www.andrewcbancroft.com)

There is a lot to know. A lot. I happen to be one of those individuals who gets geeked out very, very often over very, very nerdy things. As of late I’ve been really wanting an outlet to share what I’ve learned / am learn_ing._ The world doesn’t need another blog detailing the same things that are a...
Type to search HN and engineering blog articles
Press Escape to close  |  to navigate  |  Enter to open