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 633 Neon 504 Supabase 435 Shopify 432 Soundcloud 409 Databricks 396 Real Python 394 Johannes Brodwall 378 Jeremy Kun 327 Laravel 296 PostHog 294 Twilio 260 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 212 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 Hostinger 119 Jane Street 119 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 IPFS 30 Lazarus Lazaridis 30 Pamela Fox 30 Evan Miller 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
816 articles Visit blog →

361. Configure TypeORM by Injecting NestJS Config (jaketrent.com)

NestJS comes with nice integration with TypeORM and with a nice @nestjs/config package. But getting them to work well together using dependency injection was a bit of a trick.The docs make it look easy, and in the end it does look easy. For some reason, the docs seem incomplete and the solution not ...

362. Record Vim Macros (jaketrent.com)

Macros are sequences of commands in Vim that can be recorded to build up more complex tasks and then run them again.Record a vim macroThis will put you in a mode where you'll be recording your commands as they run until later, when you say to stop recording.q - start the recording.a-z - store the ma...

363. Lerna Publish to NPM Without a Git Commit (jaketrent.com)

If you need to publish a Lerna-managed packaged to npm without commit and pushing to Github, here's a way.Lerna VersionsWeird things seem to happen infrequently enough with Lerna that they always leave me wondering what happened and at a loss as to the resolution. Most of the time, Lerna does a grea...

364. 100vw Horizontal Scrollbar (jaketrent.com)

You'd think that 100vw would fill the viewport and no more, but that's not always true. Sometimes it overflows horizontally.The mysteryWeb dev has its share of mysteries to solve. Some days it's amazing anything works at all. Today we had one of those. There were users reporting a horizontal scrollb...

365. What Hack Day Brings (jaketrent.com)

Hack day at our companies seems to have major benefits.What is Hack DayHack Day is a practice of encouraging our employees at our companies to be relieved of the things that they are required to do for a temporary amount of time so that they can do what they want to do.Why would a company do this?Th...

366. Find Circular Dependencies in JavaScript (jaketrent.com)

Finding circular dependencies can help you avoid troublesome errors. Find them with this helpful tool, Madge.Definition of a circular dependencyA circular dependency is a clothes dryer that spins and never stops.An ES module might import another module that imports right back to itself.If you have a...

367. Create a Bezier Curve Clipping Path (jaketrent.com)

Maybe use just a CSS clip-pathIf you have a simple shape -- like a rectangle or circle -- you can use a simple CSS clip-path attribute. It's fast and easy.But what if you want to create something more complicated like a custom shape, with a bezier curve? clip-path by itself does not handle curves, j...

368. Make an Impression With Just a Little More (jaketrent.com)

When marketing ourselves, making a good impression will hinge on doing just a little more.Outrunning a BearIt is said (by obviously sharp people) that to avoid getting mauled by a bear, we don't have to outrun it; we just have to be faster than the other slowest person. It is also said that in order...

369. What We Could Do Without Internet Explorer (jaketrent.com)

I think the cost of supporting Internet Explorer matters. Here are some things we could do if we didn't have IE to support.Why still support itI work for a company and on a product that is fantastic by many standards. But this is not one of its shining points: we still support IE. I write code to ma...

370. Fallback Ref in React (jaketrent.com)

Sometimes you want a React component that can receive a ref from React.forwardRef and also is guaranteed to have a ref if it's not forwarded.Forward a RefIn terms of React 16.x APIs, the only way for a custom component to receive a ref from the outside is via the React.forwardRef API. This can be us...

371. Copy ISO to Bootable USB Stick (jaketrent.com)

An .iso file is an image of a bootable disk. If we can can put it on a USB stick, we can boot our computer to that USB stick contents. Here's a way to do that in MacOS.We find ourselves a fresh USB and clear it out. This can be done with the Disk Util.app, built into MacOS. Erase it and format it.Un...

372. Monitor JavaScript Bundle Size (jaketrent.com)

At some point, you may realize that all those packages you're conveniently npm installing are actually causing quite the bloat in your library or your application. Here are some tools that will help you monitor that and find where the size is coming from.I recently discovered this tool called Size L...

373. Find and Kill Locks on Postgres Tables (jaketrent.com)

Let's say that you do something silly like run a query that hangs and never returns -- or open a transaction but never commit it. Stuff like this could cause a database table lock in Postgres. You need to be able to find those locks, the processes that caused them, and shut them down.Detecting a loc...

374. Isolate Jest Integration Tests in a Shared Database (jaketrent.com)

When writing integration tests that use a persistent data store, it's important to isolate the tests as much as possible to provide stability in test results.Unit tests are easy to isolate: the test boundary is a function, we call it with arguments and assert the output. Integration tests are more c...

375. Conversations Without a Computer (jaketrent.com)

Talking to people is not like talking to machines.Not Only ProgrammersPeople who talk to machines often sometimes need a reminder like this. And when we consider the number of people with a cell phone in their pocket (if we'd leave it in our pocket for 10 seconds) that's pretty much all of us.Here a...

376. Setup Cloudflare DNS to Point to Netlify Host (jaketrent.com)

Deploying a static site to Netlify is slick and easy. But if you don't want to transfer your DNS there too, you can keep it on Cloudflare, which does DNS and a whole bunch more.Choose Netlify Site NameOnce you deploy to Netlify, you'll want to edit your Site Name to be something short, memorable, an...

377. Costs of Inter-team Tech Consolidation (jaketrent.com)

Sometimes consolidation of tech stacks between teams is pushed for. The reasons vary. Here are a few that you hear often but that might not have super-clear payoffs.Easier to Switch Teams?Some would say that consolidating techs makes it easier to switch teams.But when someone switches teams, it's al...

378. Environment Variables in Next.js (jaketrent.com)

Here's a way to get environment variable values into your Next.js app.Why in the Environment?Why might you want to put variables into the environment? These might be values that are sensitive that you don't want to commit to source control. They might be things that change per environment (staging v...

379. Manage Vim Plugins Without a Plugin Manager (jaketrent.com)

Vim has a lot of great text editing features built in. But if you want to do anything else to customize it -- and you probably do -- you'll want some Vim plugins, of which there are many. What you may not want is a plugin manager. Neither do I. Here's how to take care of your plugins without a plugi...

380. Why Whitelist Props on Shared React Components (jaketrent.com)

Some reasons around why we whitelist props on our shared React components.Whitelist What?In a project I'm on, we're building reusable, shareable React components as a part of a design system.Obviously, each of these components has a public API, accessible via props. Most of these props are purpose-m...

381. Preprocess Svelte Components with Postcss (jaketrent.com)

Here's a way to setup webpack to run Svelte component css through postcss.Svelte CSS PreprocessingSvelte is a magical disappearing framework for authoring ui components for the browser. And it took a bit of magic to get preproocessing working right.Svelte takes the approach of web components and pol...

382. Lock in Learning (jaketrent.com)

To lock in and remember what we learn, we need to use it.Kinetic LearningSome people learn by doing. From what I can tell, this is largely true for me.For some reason, things seem vague without an application. The information will come into my realm of attention. But there is no mental hook. There i...

383. The Words 'Thank You' (jaketrent.com)

The words "thank you" are about the best you can say and hear.A Few Choice WordsAbout the most endearing thing that a small child can say is "thank you". This is especially true for a child that has learned so little else verbally. Of course, they're sweet already as little kids. And they say things...

384. Record Screen as Gif on Mac (jaketrent.com)

Gifox is a great tool for recording your screen as a gif on a Mac.Power of an AnimationA picture is worth a thousand words. Put some extra frames in, and multiply the worth. Sometimes an animated gif is awesome to have because it shows an interaction or a progression and not just a static state.When...

385. Learning to Tune Out (jaketrent.com)

Learning to tune things out is important to your joy and progress.Self Aware and PoliteIt seems that we are less self aware these days than ever before. I remember my parents, especially my dad, trying to help me see how we shouldn't impose upon or get in the way of other people. For example, we sho...

386. Change Parent Upon Child Focus in React (jaketrent.com)

Here's how to change a parent element's style when a child element is focused.Parent SelectorIt would be awesome if we could do this in CSS. Alas, there is no parent selector in CSS today. Maybe someday.In CSS, we can style the element itself when it's focused:.element:focus { color: 'thatfocusedcol...

387. CSS Animation Timing Function Per Keyframe Segment (jaketrent.com)

Here's how to adjust the easing function per individual segment of a keyframe animation.Easing into KeyframesIn a keyframe animation, the animation is defined by specifying some key points or frames. The in-between states are calculated automatically. For example, you can define two keyframes, where...

388. Stay with Problems (jaketrent.com)

Build your mental stamina to finally solve problems.Amount of EffortHardly anyone will care how much effort it took to solve a problem. They only want it to be solved. In a way, we must be similar in what we care about.We must be able to see the outcome of a solution as the reasont to stick with our...

389. Start the Job You Want (jaketrent.com)

Start in the job position you want -- it'll be harder to get there later.First Get HereWhen you hiring negotiations, I've heard the invitation a few times -- to myself and to others -- "first get here, then we'll figure that out". If you're starting a job, instead get the position you want when you ...

390. Expose Enum Props in React (jaketrent.com)

Define and expose your enum props to make it better for developers.React Component Public APIsWhen you write a component these days, it's usually in a file that acts as a module boundary. You usually end up exporting one thing: the component itself.This might look like:import React from 'react' cons...
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open