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 503 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 →

31. Using SwiftUI in a Playground (www.andrewcbancroft.com)

If you’re looking for a quicker way to iterate while you’re building SwiftUI views, and you don’t have macOS Catalina installed, you might enjoy the Playground experience more than you enjoy pressing command + R every time you make a change and want to see it in the user interface. How do you do it?...

32. Getting Started With NSPersistentCloudKitContainer (www.andrewcbancroft.com)

First Things First In order to use NSPersistentCloudKitContainer in your app, you need to be targeting iOS 13+. The CloudKit syncing portion only works on physical devices (not in the simulator). That being the case, you’ll need two or more devices running the app and using the same iCloud account t...

33. Accessing the Root View Controller at Launch on iOS 13 with SceneDelegate (www.andrewcbancroft.com)

A new SceneDelegate was introduced for Storyboard-based apps in iOS 13, and with it came some changes in how you’re able to access your app’s root view controller at app launch. The Old Way AppDelegate Swift file used to be where code landed for accessing your app’s rootViewController: 1 func applic...

34. New Delights With Xcode 11 (www.andrewcbancroft.com)

Capabilities Search In your project settings, you can search for capabilities you want to add (instead of scrolling down the list and turning things “on” or “off”). Editor Quick Actions Holding the command key down while mousing over and clicking on various levels of your code presents a quick actio...

35. Resolving Failed to Load Model Named... with Core Data (www.andrewcbancroft.com)

You’ve done the work to get your Core Data model ready, but right when you hit run, wham. Your debug output log shows: Failed to load model named ModelName You you may experience one of these when you attempt to access your persistent container: Fatal error: Unexpectedly found nil while implicitly u...

36. First Impressions of NSPersistentCloudKitContainer (www.andrewcbancroft.com)

Resources Using Core Data With CloudKit - WWDC 2019 Session 202 Sample Project from Apple How NSPersistentCloudKitContainer Helps I suppose the first question everyone should ask is, “What’s the big deal? How does NSPersistentCloudKitContainer even help me?” I noted at least three huge wins from the...

37. SwiftUI is Declarative. What Does That Mean? (www.andrewcbancroft.com)

“Declarative” is one of Swift UI’s four core principles. Aside from taking for granted that declarative is just “better” than whatever else, how about a visual to understand the declarative way of thinking? Imagine yourself in a restaurant (sit-down or fast food, whichever). When you want a burger, ...

38. Taking First Steps With SwiftUI (www.andrewcbancroft.com)

Resources Tutorial Reference Enabling SwiftUI Opting in to using SwiftUI is as easy as creating a new project with Xcode 11 and clicking the “Use SwiftUI” checkbox. Starting Point Xcode will give you two structs to start with: One that describes the View’s content and layout One that declares a prev...

39. Displaying and Updating Currency in a UILabel (www.andrewcbancroft.com)

Resources Right-click -> Save as... Swift Playground Setup 1import UIKit 2import PlaygroundSupport 3 4class MyViewController : UIViewController { 5 6 var currencyLabel = UILabel() 7 override func loadView() { 8 let view = UIView() 9 view.backgroundColor = .white 10 11 currencyLabel.frame = CGRect(x:...

40. Load a CSV File With R (www.andrewcbancroft.com)

Prerequisites No additional R packages are necessary for this notebook to run Cells in this notebook expect the Car Sales.csv file to be in certain locations; specifics are in the cell itself Resources to help you practice are available at the end Load Data From a CSV File File is in the same direct...

41. Showing the Live View in a Swift Playground (www.andrewcbancroft.com)

Where’s the Live View? So you’ve created a new Single View playground from the template picker… You run the playground right out of the gate to see what you’ve got… But… Where’s the Live View? Showing the Live View To get the live view to show up, you need to open the Assitant Editor. You can do thi...

43. Load an Excel File With Python and Pandas (www.andrewcbancroft.com)

Resources Right-click -> Save as... Car Sales.xlsx load-excel-file-with-python-pandas.ipynb Prerequisites Install the Pandas library for your Python environment Cells in this notebook expect the Car Sales.xlsx file to be in certain locations; specifics are in the cell itself Resources to help you pr...

44. Load a CSV File With Python and Pandas (www.andrewcbancroft.com)

Resources Right-click -> Save as... Car Sales.csv load-csv-file-with-python-pandas.ipynb Prerequisites Install the Pandas library for your Python environment Cells in this notebook expect the Car Sales.csv file to be in certain locations; specifics are in the cell itself Resources to help you practi...

45. Cheat Sheet - Jupyter Notebook Keyboard Shortcuts (www.andrewcbancroft.com)

Command Mode (Blue) Shortcut What Happens h Shows a pop-up window listing out all keyboard shortcuts cmd + shift + p (Mac) ctrl + shift + p (Win) Shows the Command Palette enter Goes into Edit Mode (green) for the currently selected cell ctrl + enter Runs the selected cell shift + enter Runs the sel...

46. Create a SQL Server Credential for Accessing Azure Blob Storage (www.andrewcbancroft.com)

Prerequisites: The SqlServer PowerShell module must be installed. Run Install-Module -Name SqlServer if you need to install it… create-credential.ps1 1import-module SqlServer 2 3$storageAccount = "<StorageAccountName>" #replace this with your Azure storage account name 4$storageKey = "<StorageAccoun...

47. A Mnemonic for Remembering Type I vs Type II Errors (www.andrewcbancroft.com)

Step away from inferential statistics for a while and the interpretation of Type I and Type II errors in hypothesis testing could slip away. How about a mnemonic to help solidify the concepts? To frame the mnemonic, consider the following scenario: A man has been charged with murder and you’re on th...

48. iOS Data Persistence: The Big Picture (www.andrewcbancroft.com)

We’ve all been there. Do a search on the topic of “saving data in iOS” and you’ll get dozens of search results mentioning at least six different frameworks and platforms, and a month’s worth of reading. Wouldn’t it be nice to distill the possibilities down into just what you need in order to start d...

49. What is the tilde (~) symbol in R? (www.andrewcbancroft.com)

What is the tilde (~) “symbol” in R? If you were to put words to what it is, how would you explain it or interpret it? What does it mean (and therefore, what does it do)? Here, I document a few of the unpackings that I’ve run across when it comes to ~ in R. From the Docs: “y on x” In the R-project.o...

50. Resolving No Events Found When Sampling Data with Azure Stream Analytics (www.andrewcbancroft.com)

Data is making it to the Event Hub…at least you’re 99% sure it is, because successful requests are being made by your app/device and received by the Hub. The trouble is, when you attempt to sample data with Azure Stream Analytics, you come up empty with a message like No events found for HubName. or...

51. Deciphering U-SQL's Error Messages (www.andrewcbancroft.com)

It’s inevitable - you’re going to encounter job failures when working with Azure Data Lake Analytics U-SQL jobs. Error Sources There are at least three root causes for a U-SQL job failure: A problem with your script A problem with the data A problem with your extractor’s “shematizing” of your data D...

52. U-SQL Pickiness - Resolving Common Syntax Errors (www.andrewcbancroft.com)

Newbies to U-SQL from T-SQL will soon run face-first into the wall that I ran into. Where T-SQL isn’t picky about stuff like capitalization and terminating semicolons, U-SQL definitely is. If you happen to fail at capitalizing one of the U-SQL keywords like SELECT or FROM, or if you miss a ; somewhe...

53. CloudKit Fundamentals (www.andrewcbancroft.com)

At the core of developing a seamless and collaborative data sharing experience for Apple’s platforms is a thorough knowledge of CloudKit. In this course, you’ll learn to leverage Apple’s flagship framework to achieve your app’s remote data storage and data sharing requirements. First, you’ll learn h...

54. Do Core Data Entities Need Primary Keys? (www.andrewcbancroft.com)

In this video I pop the hood on Core Data’s SQLite persistent store to discover the details about whether or not you need to add a property representing a “primary key” for your Core Data Entities. Take a look and be sure to subscribe for to stay connected to future screen casts! Transcript I had a ...

55. The Case for CloudKit (www.andrewcbancroft.com)

When it comes to remote backend services for mobile apps, you’ve got options. What’s the case for CloudKit? Where does Apple’s remote data storage and sharing solution fit into the Apple Developer’s toolbox? I recently put out a survey on Twitter, just to get a feel for what folks are using. #iosdev...

56. Create an HDInsight Cluster in Azure with PowerShell (www.andrewcbancroft.com)

Being able to programmatically create an HDInsight cluster, use it, and subsequently tear it down so that you don’t incur cost is one use-case for maximizing efficient use of Azure’s cloud platform. Here, I want to break the use-case down into chunks: Log in to Azure (PowerShell) The first step is t...

57. Swift Cheat Sheet for iPhone Location Services Access and Usage (www.andrewcbancroft.com)

This is a cheat sheet of the code and workflow for iPhone location access and usage, from requesting permission to using the location of the user’s device. Framework Import import CoreLocation Set Location Usage Description in Info.plist This is a required first step If you don’t set this, your app ...

58. Swift Cheat Sheet for iPhone Camera Access and Usage (www.andrewcbancroft.com)

This is a cheat sheet of the code and workflow for iPhone camera access and usage, from requesting permission to using the photo taken with a user’s device. Framework Import import AVFoundation Set Camera Usage Description in Info.plist When you request permission to use the device’s camera, a short...

59. Winning with Dimensional Models in the Age of Big Data (www.andrewcbancroft.com)

It’s a fair question: Is dimensional modeling still relevant in the age of big data? Read enough about “big data”, and you may start to get the impression that modeling techniques are old-fashioned or irrelevant. Data professionals in IT departments are used to wrangling data - it’s understood that ...

60. Predictive Analytics vs Machine Learning - What's the Difference? (www.andrewcbancroft.com)

There’s a strong temptation to equate “predictive analytics” and “machine learning”. It’s not uncommon to throw the terms around interchangeably, which signals that the two are strongly related. BUT. Is there a difference that sometimes gets lost when we substitute one term for the other? If there i...
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open