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 395 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 219 Andrew Bancroft 214 Nvidia 212 Stanko Tadić 189 Lerner Consulting 188 Stack Overflow 183 Freek Van der Herten 182 The Daily WTF 169 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 70 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 Blender 16 Filippo Valsorda 16 Medium 16 Postmark 16 RocksDB 16 Stack Abuse 16 Yegor Bugayenko 16 Zach Holman 16 Amit Merchant 15 Bigcommerce 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 →

481. Serve Markdown with a Next.js Server (jaketrent.com)

Let's setup Next.js to be able to serve markdown content, such as blog posts.Next.js Custom ServerNext.js has a nice feature set out of the box. If you have a site that's more on the site end of the spectrum (rather than the app end), you'll likely be able to use the next server as-is.If, however, y...

482. How to Make a Postcss Plugin (jaketrent.com)

PostCSS offers JavaScript-based CSS processing. It's easy to make a plugin for this system. Let's do it!What is PostCSS?PostCSS is a system that uses Javascript to parse and process CSS. This means that if your JS can adjust your CSS, you can use the new, zany, or made-up features of CSS. PostCSS ca...

483. How I Organize a JavaScript Module (jaketrent.com)

Everyone has a different flavor for this. Here's how I order the inside of a JavaScript module.I believe that order is an important element of consistency. Consistency allows your codebase to feel organized and more easily navigated. Things are where you expect them to be. A coherent ordering strate...

484. Import Parts of Node Packages with Slash (jaketrent.com)

There are a couple ways to split up and import parts of Node packages. Using a slash (/) in the import statement is one of them.Main Entry PointIn the package.json for a Node package, the entry point of the package is defined in the main attribute:{ "name": "some-package", "main": "index.js" }This d...

485. Spacing Between Multi-line Flexbox Child Elements (jaketrent.com)

Single-line spacing is easy. Let's space out flexbox elements over multiple lines. (Also not bad.)Single-lineIn a single-line design, getting space between your flexbox elements is easy. It's similar to how you probably space siblings in a non-flexbox world. If the .parent is display: flex and the c...

486. Package.json "style" Attribute (jaketrent.com)

The "style" attribute in package.json is useful for importing CSS packages. Here's a way to utilize it.CSS on NPMNPM is a great channel for distributing assets for JavaScript projects. Traditionally, JavaScript code has been the most common thing to be stored in NPM, and that's what the repository w...

487. Use Node APIs with Promises (jaketrent.com)

Most native Node APIs use callbacks. If you want to use Promises to work with these APIs instead, it's easy.Native Node APIsIn Node, most of the async APIs in the core APIs use callbacks to notify of task completion and resume a code path. This works just fine. The pattern is solid. If you like call...

488. Setup Email Address With a Custom Domain for Free (jaketrent.com)

Zoho Mail is a great mail host that supports free custom domains. Here are the steps to get it all put together.Olden DaysGmail is a great email web app. They have great spam filtering, and the UI is snappy. In the olden days, they offered free custom domains if you used the Google Apps for Business...

489. The Speed of Small Solutions (jaketrent.com)

The pace of technology change requires nimble solution change. Small solutions help.All-in-one is ExpensiveHow many times do you setup a project? Once. But how many times does tech change over the lifetime of your project? Many, many times.There is an allure to all-in-one solutions: everything has b...

490. The Grace of Gratitude (jaketrent.com)

Gratitude is a beautiful virtue that is always welcome.Making the World BetterAhhhh... Gratitude just makes the world better. When you hear or say the words "thank you", your heart is happier. Your perspective is broadened and clarified. The world feels and sounds better.We can go from noticing ever...

491. What is Next.js? (jaketrent.com)

Next.js is a framework that most notably allows you to write server-rendered React apps easily -- amongst other cool things.It's a FrameworkNext.js is opinionated and provides structure for how you build your app. Like Rails, the file-system is often the API. You name your file something special and...

492. The Joy of Simplicity (jaketrent.com)

Waiting, building up to do some great thing can sometimes not feel as joyful as just doing something simple.Big EnoughOur eyes are on the horizon. Someday we'll have something big enough. Someday we'll be good enough. Someday it'll make a big enough splash. But often this day never comes. Time, ener...

493. Load Both CSS and CSS Modules With Webpack (jaketrent.com)

CSS Modules are das bombe, but you're still stuck in a land where the traditional CSS stylesheet exists, you may have to load both. Here's a pattern that could potentially work for you.Importing CSSWebpack is a tool for loading many different kinds of assets as modules into JavaScript. This means, f...

494. Close Your Laptop (jaketrent.com)

When you're in a meeting with other people, be with them, not with your laptop.Respect for OthersIf you care about the person who's speaking in a meeting, you'll look at them. You'll be with them. You'll engage.If you have your laptop open in a meeting, you're communicating that something else is mo...

495. CSS Module Selectors Pile Up with postcss-import (jaketrent.com)

Use of postcss-import in your CSS module processing can lead to more selectors than you realized. Here are some ways to deal with it.postcss-import is a useful postcss plugin. It allows loading CSS from npm modules by looking up module entry via package.json's "style" attribute. But if you don't rea...

496. Does Leaving a Slack Channel Make You Sad? (jaketrent.com)

It shouldn't. Edit your life. Edit your Slack channels.Someone LeftWhen someone leaves your beloved Slack channel, do you jump all over them? I've even been immediately invited back into a Slack channel (mostly jokingly) with comments about how I will never be able to leave.We should make it ok for ...

497. Routing in React in a Static Site and Browser (jaketrent.com)

If you use React to render your static site and browser app, you'll need routing to work in both places. With a little setup, you're golden.Generate a Static Site from ReactReact is most commonly used to render in-browser single page apps. But the React component abstraction so pleasant to work in t...

498. Decrease Line Spacing in Keynote (jaketrent.com)

The default line spacing in Keynote is wickedly high. Find the spacing submenu and make it line spacing better.So much for Apple products that are so simple and usable that you're delighted by their ease every time you use them. For some reason, this Keynote feature has troubled me for years: why is...

499. The Need to Do It All (jaketrent.com)

As developers, we sometimes feel the need to do it all. Is this feeling realistic or even needful?An Entreprenuerial NeedIf you're starting a gig all by yourself or if your company is small, growing, and you're just figuring things out, you may indeed need to "do it all". You wear many hats. You mak...

500. Paths in Node (jaketrent.com)

There is a great path API in Node. Still, you can get mixed up in how to specify the correct path. Let's break down a few options.OS-agnostic PathsAll OSes have a file structure, where directories are nested within directories, with files existing in each. But between OSes there is a difference in t...

501. Ways to Compose React Components (jaketrent.com)

React favors composition over inheritance. There are several useful ways to compose components in React.Composition is a way to get polymorphic behavior in a way that's often more flexible and easy to work with than is inheritance. If we want a component to behave differently but want to reuse some ...

502. Define Limits for Greater Productivity (jaketrent.com)

As we define limits in our life and work, we gain the freedom to be more productive.Happy BoundariesSome may view boundaries as constraining. An alternate view would see boundaries as guide rails for life and work that lead us to where we want it to be. If a body of water sits at the top of a mounta...

503. Accessibility: Potential tabindex Values (jaketrent.com)

There are only a few tabindex attribute values you can use. Learn the few differences, and be empowered forever -- and beyond!Tab OrderIn a web browser, when a user presses the tab key on your webpage, the browser will advance focus to the next element available in the tab order. The tab order is de...

504. Code Snippets in Spacemacs (jaketrent.com)

Snippets are prebaked bits of code that can make your coding experience faster. Creating them and accessing them in spacemacs is easy.yasnippetIn spacemacs the default snippet manager is yasnippet. Its snippet format is inspired by Textmate. We're going to look at the very basics of creating and usi...

505. React componentDidMount Not Called in Server Render (jaketrent.com)

You have access to some great component lifecycle hooks in React. componentDidMount is one of the most useful, but it's not going to be available when rendering on the server.You may have been stumped when you wrote a React component and were trying to get some code to run in the componentDidMount. ...

506. How to Write a Webpack Loader (jaketrent.com)

There are many useful webpack loaders. But sometimes you need something special, and it's easy to write your own.What is a LoaderWebpack is all modules all the time. It utilizes plugin-like code, called loaders, to gain additional functionality. Webpack will take a file at a file path and load the c...

507. Simplify Your Babel Setup with babel-preset-env (jaketrent.com)

Simplify your babel setup by not manually tracking plugins. Use a target browser strategy instead.Most Plugins Target FeaturesBabel helps you transpile your source JavaScript, written with the latest language doodads, into the usually-older JavaScript that your browser will actually understand. Ofte...

508. Accessibility: Skip to Main Content (jaketrent.com)

Give keyboard users a way to get to the main content of your site quickly.Keyboard NavigationUsers of your site might use a keyboard for a number of reasons. They might suffer from a visual impairment and be using a screen reader which is controlled by the keyboard. They might prefer the keyboard fo...

509. Debug Node with Built-in Tools (jaketrent.com)

Node has a built-in debugger. It requires no extra tooling or purchased IDE. Try it out. It's easy.Commandline DebuggingNode's debug module is available in the terminal. Normally you would start your app up with node app.js. If you adjust it slightly, you'll be ready to debug:node inspect app.jsOnce...

510. The Meaning of "Mount" in React (jaketrent.com)

In React, "mount" means the moment when your Component is inserted into the DOM. Well, what does that mean?...The Circle of ComponentsIn React the main abstraction are Components. A component represents an element in the UI. Components exist in memory -- they're virtual. React maintains a virtual DO...
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open