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
812 articles Visit blog →

241. Convert Icon Font to SVG (jaketrent.com)

This is one way to convert an icon font to svg.Make it a TTFIf you downloaded the icon font from the web, you may need to convert it to a format that is installable on your computer. These days, the web format is usually .woff2. You want something like .ttf. Use this converter at everythingfonts.com...

242. Typescript Cannot Find CSS Module (jaketrent.com)

Here's a way to help Typescript find CSS module type declarations.The ImportYou have an import of a CSS module in your Typescript, something like:import css from "./positioner.module.css";Type Declaration ErrorWhen it compiles, you get a doozy of an error:src/common/positioner.tsx:3:17 - error TS230...

243. I Don't Like Tailwind (jaketrent.com)

Who cares if I like or don't like something, right? I have had some questions as to reasons, so here are the basics.What is TailwindTailwind CSS is a CSS library that leans heavily on utility classes. You compose them in the HTML class attribute. You can see some examples of resulting CSS and HTML o...

244. Run Jest on Native ES Modules (jaketrent.com)

Here's how to run your tests on ES modules without compiling.Mark Project as an ES ModuleTo be a real ES module, you really have to want it. More than Pinnochio. Don't get distracted by Pleasure Island. Get to work. Save your father.And on your way, edit your package.json to show that you are a real...

245. Set CORS Headers in Next 13 Response (jaketrent.com)

Here's how to set CORS headers in a Next.js 13 ResponseNative ResponseNext 13 changes a lot of things. One thing is that it now uses the native Response object for return values.Because it's native, you don't need to import it in Node.js.Liberal Headers for JSONThe example below is shows very libera...

246. Debugging with Git Bisect (jaketrent.com)

Debugging can be hard. Git bisect can help. It'll help you narrow down where to look for the problem.The ScenarioThe impossible has happened. You have written a bug. Your program is broken, but your soul is not. You can seem the symptoms of your bug when you run your code.How did this happen? Some d...

247. Why and When Do I Test? (jaketrent.com)

This is my motivation to test software and when I do it.When Do I write tests?Writing tests means writing automated tests: more code to run and test your code.I write tests when I think it'll help more than hurt. Tests are not free. There are tradeoffs. Writing tests doesn't always make sense."Test ...

248. Set Favicon in Next 13 (jaketrent.com)

This is how to set the favicon in Next 13 (the current beta) (the one with an app/ directory) (the one without the pages/ directory) (you know, the one).Normal HTMLNext.js can't do things the reliable way. It's gotta be fancier. Probably for that asset fingerprinting. Sweet, sweet fingerprinting.In ...

249. Set Timezone by Name in JavaScript Date (jaketrent.com)

Here's how to set a timezone by name on a JavaScript Date object. It can be tricky.The goalWhat we're trying to do is to create the Date in a named IANA timezone (eg, 'America/New_York') other than that of the runtime environment.Setting the TimezoneThe tl;dr on successfully setting the timezone is:...

250. Store UTC Dates in Postgres with JavaScript (jaketrent.com)

Here, we'll look at a way to store UTC dates in Postgres with JavaScript.UTCIt's all about the UTCs, baby. It's still not great. You might still get it wrong. But you're making things easier on yourself.Column TypeYou need a place to store the date. Postgres uses tables with columns. Usually, there'...

251. JavaScript Dates and UTC (jaketrent.com)

These are pivotal, tactical facts to remember when working with dates in JavaScript, which should often be in UTC.UTCUTC stands for Coordinated Universal Time. ... See, we can trust these people to give us easy, intuitive systems for date and time, right?It used to be called GMT, or Greenwich Mean T...

252. Set Non-secret Vars in AWS Serverless (SAM) (jaketrent.com)

Here's how to set non-secret variables in sam config for local dev.Serverless Application ModelAWS has a tool called Serverless Application Model, or SAM, that allows you to run commands for your application. For instance, I can invoke my Lambda or run it behind a local API Gateway.Invoke a Function...

253. Securely Wipe Hard Drive (jaketrent.com)

Wipe a hard drive securely with a util called shred.See all your hard drivesGet those out in the open. Let's see what's available by running:fdisk -lThis will return a lot of stuff: devices, virtual devices, partitions. You're looking for some lines that start with "Disk", and you'll see some "Disk ...

254. Adjust Volume in Linux with Alsamixer (jaketrent.com)

Set volume on the commandline in Linux. Dreams fulfilled.Is this your tool?First, do you have Alsamixer? It depends on your audio drivers. See those drivers with:pactl listYou'll see lots of stuff like:Name: alsa_output.pci-0000_00_1f.3.analog-stereo Description: Built-in Audio Analog StereoOr just ...

255. Twilio Flex direction:outbound Attribute (jaketrent.com)

What is the direction:outbound task attribute and why is it significant?Twilio FlexTwilio Flex is callcenter software. It takes incoming communications and supports outgoing communications. It takes these communications and creates tasks and assigns them to callcenter workers.Twilio gives you APIs a...

256. Avoid Digital Envelope Routine Error in Node.js (jaketrent.com)

Got a weird "digital envelope routine::unsupported" error? Who doesn't? Let's get rid of it.The ErrorOne day I started my node app, and it failed with a nasty-gram:Error: error:0308010C:digital envelope routines::unsupportedThe CauseSince node 17, OpenSSL 3.0 is supported, which moves algorithmss li...

257. Submit a Form with a Button Outside the Form (jaketrent.com)

How to submit a form with a submit button outside the formYou know, sometimes it's the little things that make you happy -- the super powers that you didn't know you had, when #usetheplatform comes through for you.Submit Button Inside the FormMost of the time, it's that familiar tale: the submit but...

258. Davinci Resolve Shortcuts (jaketrent.com)

These are some of my favorite or easily-forgotten Davinci Resolve shortcuts and operations.And can I just say that Davinci Resolve is awesome video editing software! Thank you Black Magic!Select All on Timeline"All" as in all clips on all tracks in relation to the timeline cursor.y - select all in f...

259. The Best RSS Reader: Newsboat (jaketrent.com)

My favorite RSS reader is Newsboat. Get it and use it.Long Live RSSI don't want a news feed, an endless scroll of suggestions or an email newsletter. Or ads and the marketing tech that goes with it.What I'd rather: Track what content I'm interested in online, decide I want to see it sometime, ask wh...

260. Make Cypress Intercept Responses Dynamic (jaketrent.com)

Here's how to make cypress intercepts return dynamic responses.Mock Network ResponsesCypress allows you to do functional testing in a browser. You can intercept network requests that you want to mock. Any request matching such a pattern will return the mocked response. But there may be times that yo...

261. Set Django Logout Redirect URL (jaketrent.com)

Here's how to set up a URL to redirect to after logout in Django.Make a URL PathIn one of your app's urls.py files, create the urlpattern:from django.contrib.auth import views as auth_views from django.urls import path from myproj import settings urlpatterns = [ path('logout/', auth_views.LogoutView...

262. Backing up Dotfiles (jaketrent.com)

Here's a walkthrough for backing up your dotfiles on git.What are dotfiles"Dotfiles" are those files that sit in some root directory, are hidden by their . prefix and configure stuff.A common example is the configuration file for your code editor.In nvim, this is the file at ~/.config/nvim/init.lua....

263. Difference Between Promise.all and Promise.allSettled (jaketrent.com)

Promise.all and Promise.allSettled act differently. Let's explore this beautiful variety:Test HarnessLet's set up a little test to see what the differences are. This test has some Promises that fail (and reject) and some Promises that win (and resolve).Where it's set up now to Promise.all, in later ...

264. Dynamic Icons for Call Channel in Twilio Flex (jaketrent.com)

Here's how to make Call task channel icons dynamic in Twilio Flex 2.Most New ChannelsThis method usually works for new channels. We make a new task channel. We define which tasks belong to it. We can define the icons that show up for that channel. Here it is:const channel = flex.DefaultTaskChannels....

265. Share Code Between Twilio Functions (jaketrent.com)

Here's how to share code in Twilio Functions.Normal importsSharing code in a Twilio Function isn't as straightforward as one might hope.Normally in Nodejs, I could:import { getMessage } from './lib/message.js'But no...ServerlessServerless tech like AWS Lambda or Twilio Functions (probably built on A...

266. Documentation Isn't Enough (jaketrent.com)

Documentation isn't enough to learn a new codebase.I just read a very thought-provoking article by Baldur Bjarnason, called Theory-building and why employee churn is lethal to software companies. It is thought-provoking at this point because I sense that the essential point is true, and it's uncomfo...

267. Set Node.js Version for Neovim and Language Servers (jaketrent.com)

Here's a method for pegging a stable node.js version for nvim and language servers.What's a language serverNeovim has language server protocol (LSP) support built in. But it doesn't have the language servers themselves. And language servers are installed in all sorts of sundry ways.Some language ser...

268. Nits in Merge Request Feedback (jaketrent.com)

Should I give nit comments in merge requests?What is a "nit"?In the context of a merge request, a "nit" is a type of comment. It is always a small thing. It probably doesn't matter. It's often stylistic.Often it's given with a good attitude of helpfulness. Occasionaly it's given because someone has ...

269. Deploy Astro to Gitlab Pages (jaketrent.com)

Here are some instructions on how to deploy an astro.build site to Gitlab pages.Gitlab pages deployment is controlleed via your .gitlab-ci.yml file. Everything is in there. The file contents might look like this:image: node:19.1.0 pages: script: - npm ci - npm run build - rm -rf public - mv dist pub...

270. Favorite Vim Tricks (jaketrent.com)

These are some of my favorite or most easily forgotten vim tricksOf course, there is a fantastic educational newsletter, VimTricks. You should subscribe and get all the tricks they have. These are some I've learned from them and elsewhere that I want to remember and highlight for myself.Get filetype...
Type to search HN and engineering blog articles
Press Escape to close  |  to navigate  |  Enter to open