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 Lerner Consulting 69 Nordic APIs 69 T.J. Maher 69 Mykhailo Kozik 68 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
812 articles Visit blog →

421. JavaScript Arrow Function Return Rules (jaketrent.com)

Arrow functions treat return values in a couple ways.Normally Returns are RequiredThere has traditionally been no implicit return in JavaScript functions. If you write a function using the function keyword, this remains true:function needsReturn() { 'awesome' } needsReturn() // returns undefinedFunc...

422. Limits Create Choices (jaketrent.com)

With limited time and focus, you get to choose where to spend them.These limits apply to many facets of life. How do they apply to meetings in particular?Meeting MultitaskingWe get choices to attend meetings every day. We can be there for a long time. The classic modern meeting hedge move is to brin...

423. Host a Web App For Free (jaketrent.com)

Heroku is an great option to host a web app for free.Heroku's Sweet SpotHeroku is a platform as a service that is great for developers. You need a few skills to get started. Know how to use git. Well, I guess we're all disqualified already.Heroku doesn't really host websites. It hosts web apps. So, ...

424. Stub a Json Api (jaketrent.com)

Here's a quick, easy setup for a JSON Rest API.Quick and EasySometimes you want a rest endpoint that you can use for some short-term purpose. You're doing a demo. You're trying to get a candidate to write a client that interacts with an API. You want a fake API for testing.Whatever the purpose, if i...

425. Global Styles in Storybook (jaketrent.com)

How to set global styles in Storybook environment.Via AddonsThere are some addons that allow you to set global styles. One that I use is addon-backgrounds. It allows you to set background colors to have your components appear upon.To use it (or other style-affecting addons), install:npm install @sto...

426. Enforce a Git Commit Message Format (jaketrent.com)

Enforce a git commit message format for your project.Updated: 28 Aug 2017 to use commitmsg hook. Thanks to marionebl.Power of a ConventionYou could choose any format. One git commit message format that I like is conventional commits. With a convention, you can generate a changelog or use tools like ...

427. Remove an Array Element Without Mutation (jaketrent.com)

Here's a way to remove an array element without mutating the array.Default MutationsBy default, the array methods in JavaScript will mutate your array. Mutation means that the original array is changed in place. A common way to do this is with splice.With splice, you tell the array at which index to...

428. Generate Snapshot Tests from Storybook (jaketrent.com)

How to generate snapshot tests for Jest from Storybook.Snapshot TestingSnapshot tests are a type of test that takes your UI in a certain state and serializes it to a string. If this string changes, it means that your UI, for that state, has changed output. Because it's a simple string serialization,...

429. Deploy Next.js to Github Pages (jaketrent.com)

How to deploy a Next.js static site to Github Pages.Github Pages is a great place to deploy static Next.js sites.Setup Next.jsAs of next@3, a static export of your Next.js site is possible.This is accomplished with:next build && next exportWhen you export, you can specify the output directory with -...

430. Render CodeMirror on the Server (jaketrent.com)

CodeMirror is a great in-browser editor that needs some help when rendered server-side.In-browser Code EditorCodeMirror is a library that provides code and a UI for creating a coding environment inside your browser. There's an editable text area where you can type code, and as you write it, it's syn...

431. The Power of Team Combinations (jaketrent.com)

The most powerful teams come from the special combinations of members.Product of TeamsA great team is one that has a great time making a great product.To have a great time, we must enjoy working with the others on the team. We have a productive relationship. We inspire and help one another. We commu...

432. Deeper Focus (jaketrent.com)

Your knowledge of a field is deeper when you're focused on it.Your SurroundingsStop wherever you are and consider your surroundings. Look around, making note of things you see. Do this for 30 seconds. Then close your eyes and list all the red items that you saw.Actors sometimes use this exercise to ...

433. Progressive and Conservative Tech Adoption (jaketrent.com)

In adopting tech, some are more conservative, some are more progressive, and we can help each other.People and New TechThe world of technology grows every day. There are new things to explore and try out.For some, that endless feed of new contains promises of new potential. They see new capabilities...

434. Change Page Title in React (jaketrent.com)

Change the page title when the user routes to a new page.A Great ToolThere are many ways to get the page title to change and some great tools to assist you. There is a particularly great tool that will do that and a bit more. It's called react-helmet.It can set anything that occurs in the head of th...

435. What is CSSNext? (jaketrent.com)

The ecosystem that CSSNext lives within can be confusing to name and navigate. Here's how I see the pieces fitting together.PostCSSBefore we get to CSSNext, let's visit PostCSS. PostCSS provides transform functions for CSS. These functions are written in JavaScript. PostCSS can assemble one or more ...

436. Why the Interview Lunch? (jaketrent.com)

Why we go to lunch as a part of the interview process.We Need to EatWe're going to need to take time during the day to eat. Why not eat with someone else? Keith Ferrazzi wrote a great book, enticing us to never eat alone.When you're at lunch, eat. Use good manners, but eat like you always would. It'...

437. Flowtype process.env (jaketrent.com)

Add typing to your process.env access in Node.js.process.env Accessprocess.env is a globally-available object on which environment variables are accessible to your Node.js program.When you ask for an environment variable, such as process.env.MY_VAR, it may or may not be set. If it's set, it'll be re...

438. Setup Flowtype for a Node.js Backend (jaketrent.com)

Here's a way to setup for types on a Node.js backend app.Flowtype Requires TranspilationFlowtype will provide types for JavaScript, which originally has so little type information that it has essentially none.You'll need to transpile from flowtyped-javascript into vanilla javascript that Node can ru...

439. Hello, styled-components/primitives (jaketrent.com)

Styled components create components that take their styles with them. Primitives style cross-platform components.An Imagined WorldIn his talk, React as a Platform, Leland Richardson imagines what React would be like if it went from "learn once, write anywhere" to "write once, run anywhere".He reason...

440. Upsert in Knex.js (jaketrent.com)

How to upsert in Knex.js.Postgres UpsertUpsert is a fantastic feature in SQL that works kind of like "insert a new row, and if it already exists, update it".In Postgres, the syntax is handled as:INSERT INTO table_name (column_name) VALUES (expression) ON CONFLICT (conflict_target) DO UPDATE SET colu...

441. Override CSS Modules with react-styleable (jaketrent.com)

An easy, consistent way to override CSS modules in React components.CSS ModulesCSS modules are fantastic because they scope your CSS. No longer does everything have to live in the global namespace.A natural boundary to scope CSS to is within a web component. A React component can have a correspondin...

442. Spacemacs Flowtype Integration (jaketrent.com)

This is a way to integrate flow with Spacemacs.Install FlowFirst, put flow somewhere in your PATH so that Spacemacs can find and use the binary no matter what project you're editing. The best option I've found so far is flow-bin, installed globally:npm install -g flow-binSpacemacs File WatcherPreins...

443. Handling Touch and Mouse Clicks in the Browser (jaketrent.com)

Here's a way to support both mouse clicks on a desktop and touches on a mobile device for event handling.Mouse EventsMouse events are most familiar, used on websites much earlier than touch. Familiarly, you can detect them and run your own even handlers with:const el = document.querySelector('button...

444. Setbacks are Temporary (jaketrent.com)

When you run into a problem, do you see it as permanent or temporary?Permanent Means NatureIf we believe our setbacks are permanent, we believe that's just the way things are. That is the nature of ourselves, our problems, or our world. It's hard to change nature.This is a rough place to be because ...

445. Never Miss a One-on-one (jaketrent.com)

Never miss a one-on-one. It can send the wrong message.The Business of PeopleOne-on-ones are personal interviews with people you lead. It is a chance to communicate things that you each want the other to know. It's an opportunity to connect with each other as people. One-on-ones are about the busine...

446. Rest is Good (jaketrent.com)

Rest is good for the body and the mind.Humans Need RestRest is an opportunity to disconnect and have downtime. We as humans need it. We are not machines. We have a rhythm to our existence. We respond at different times to the changing circumstances within and without us.We don't operate at a constan...

447. TDD a ReasonML Function (jaketrent.com)

Let's test-drive some ReasonML code together.The GoalOur goal will be to recreate a simple List.map from the stdlib. Ours will be called Listy.map. To get started, download the exercise on github:git clone [email protected]:jaketrent/reason-kata-map.gitAnd setup the project for development:cd reason-ka...

448. Change Webpack Config in create-react-app Without Ejecting (jaketrent.com)

With some magic, change webpack without ejecting from create-react-app.No Customizations Supportedcreate-react-app was never built to be cracked open. It has so many secrets to hide. It was born in an era of frustration, where JavaScripters wanted to get on the React train but didn't want to go thro...

449. Unit Testing in ReasonML (jaketrent.com)

Here's a way to create and run automated unit tests within the ReasonML ecosystem.Young EcosystemReason is a language based on OCaml, which is not young. Reason compiles to JavaScript via Bucklescript. That's not confusing. :) The Reason/JS/Bucklescript thing is particularly young, which seems obvio...

450. Gratitude Changes Our Attitude (jaketrent.com)

When things aren't perfect, gratitude can help us see things in a better light.Life is PainAnyone who says differently is selling something.That's overstating it, but it is, nevertheless, universally true that life contains hardships for everyone. Life is meant to be hard -- not just for its own sak...
Type to search HN and engineering blog articles
Press Escape to close  |  to navigate  |  Enter to open