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 →

211. asdf: The Best Version Manager (jaketrent.com)

What's the best version manager today? asdf.What is a Version ManagerManage what? Runtimes. So, I guess it's a runtime version manager.What's a runtime? A platform you build and/or run your code on, like Node.js, Ruby or Java.For a version manager, you'd usually be talking about something like "Node...

212. Keep an Image in Aspect Ratio (jaketrent.com)

What could be more satisfying that this: The image size changes, but the image is kept in the correct aspect ratio so that its shape doesn't get distortedFlexible ImagesIn the era of a bajillion + 1 viewport sizes, many images on your site will grow or shrink with the space available to them.Aspect ...

213. Convert FormData to JSON (jaketrent.com)

You guessed it! This is how you convert FormData to json. Yippee!Make a form Capture the SubmitNow intercept that submit event:function handleSubmit(evt) { evt.preventDefault() const json = formatForm(evt.target) // ...ajax submit, or whatever } document.getElementById('yowza') .addEventListener("su...

214. Bubble Events in React (jaketrent.com)

This article explains how to bubble events up the DOM to a single event listener in React.Event BubblingIn DOM, an event is sourced on a particular element. That is the event target. If you click a button, that is the source. If you submit a form, that is the source.An event that originates on a chi...

215. See Progress of dd Process (jaketrent.com)

Here's how to see progress of a terminal process like dd.Needs some visibilitydd is a great program for copying files to disks, as in for creating bootable media. But it gives no output by default. These can be long processes, and it can lead you to wonder if it's still working, where you're at or w...

216. Install Docker Desktop on Ubuntu (jaketrent.com)

Here's how to install Docker Desktop on Ubuntu.Download the .deb fileGo to doc.docker.com and download the latest .deb package.There are some instructions there on what to do:sudo apt update sudo apt install ./docker-desktop-4.22.1-amd64.debBroken packages problem on installFor me, I had a problem w...

217. Seed Sqlite with Data (jaketrent.com)

Here's how to seed sqlite with data.What to Git CommitSqlite is a self-contained database. There's a file that you can put right in your repo.But should you commit your .sqlite database? It'd probably be better not to.Instead of committing tables, sequences or constraints, it'd be better to commit ....

218. CSS-only Fading Slideshow (jaketrent.com)

Here's how to make a slideshow with just css.The MarkupCreate a container and the images that you want in your slideshow as direct children: The StylesThe styles are dependent upon the number of slide in the slideshow. This example shows 5 slides. The animation timings are also dependent on the leng...

219. Remap Keys in i3 (jaketrent.com)

Here's how to remap a keyboard key in i3.Controlled by XX Window System is a window system for Unix. Aka Xorg. Aka X. Aka X11, because v11 is its latest stable release. This is the default display server for Ubuntu/derivatives.Keyboard mapping is controlled by X, not i3 per se. i3 is the window mana...

220. Adjust Keyboard Repeat Rate in i3 (jaketrent.com)

Here's how to adjust your key repeat rate within i3.Controlled by XorgX Window System is a window system for Unix. Aka Xorg. Aka X. Aka X11, because v11 is its latest stable release. This is the default display server for Ubuntu/derivatives.Keyboard repeat is controlled by Xorg, not i3 per se. i3 is...

221. Set Screen Brightness in i3 (jaketrent.com)

Here's how to set screen brightness in Linux terminal.Install CLIYou need a little tool:sudo apt install brightnessctlCurrent and Max BrightnessYou can see what the current brightness level is and what the max possible level is by typing:brightnessctlAnd getting feedback like:Device 'intel_backlight...

222. Compile JSX in @swc/jest Tests (jaketrent.com)

Here's how to compile JSX in jest tests that use SWC, or Speedy Web Compiler.InstallWellll, this is an article about a toolchain that's getting a little long. Of course, not as bad as it could be. We have only one babel plugin here, after all.npm install jest @swc/core @swc/jest @babel/core @babel/p...

223. Start Server in Jest (jaketrent.com)

Here's how to start a server in Jest.Test ScenarioJest is a test environment. It'll run all sorts of tests. Most commonly, you might set up a unit test. You'll import some src from your test, exercise it and make assertions on output.But sometimes you might want to test something larger than a unit....

224. Creation is the Point (jaketrent.com)

Creating is one of our deep human purposes. We would be wrong to remove ourselves for those acts or to avoid them.The PointCreating is the point. This is what makes life satisfying. Creation > consumption. It feels different. It speaks to us. It's in our nature. It's a part of our destiny.It require...

225. Maybe Don't Write a Test (jaketrent.com)

Whether you prefer white-box or black-box testing, sometimes testing feels like a box. Well, let's think outside of it. What might we get for not writing tests?You Mean, Never Test?No, sometimes I really like to test and find it valuable.ObviouslyIf we don't write a test, what might we get?Maybe bug...

226. Change Directory in Python Subprocess (jaketrent.com)

Here's how to change directory when shelling out to a process in python.I'll show two methods. I want to run each process in the run_path, set to some valid path. This example is a process called pydeps, but it could be anything, os.getcwd(), what have you.First: cwd import subprocess process = subp...

227. Photo Slideshow in Ubuntu (jaketrent.com)

Here are a couple tools to start a photo slideshow in Linux.fehMy favorite is this lightweight cli, called feh.Install:sudo apt install fehPoint the command at a directory with photos:feh -F ~/my/photos-F is for fullscreen, containing larger photos in the viewport.Use arrow keys to navigate through ...

228. Best Practice Overload (jaketrent.com)

There are so many ways of doing something. The important things is that you do it. And get along with the team you're doing it with.Practice vs. Delivered ValueI think there's a difference between a practice (a process for creating) and delivered value (the problem solved with the thing delivered). ...

229. Timezone-specific Date Accessors in JavaScript (jaketrent.com)

Here's how to access a date's fields for a specific timezone.What You Have in DateJavaScript Date has accessors for date fields. It only has two options, here seen for the hours field:Get the field in local time (eg, new Date().getHours())Get the field in UTC time (eg, new Date().getUTCHours())As fa...

230. Form Submission in Next.js 13 (jaketrent.com)

Here's how to submit a form to the server in Next.js 13.The 'ol Server RenderWhat is old is new again. "We just released this progressive, inventive and amazing new release: Next 13! Now even React can do a server rendered HTML page."Feels like React's Lost Decade. In 2014, Rails devs were saying th...

231. Query Hubspot with GraphQL (jaketrent.com)

Here's how to query Hubspot with GraphQL.What is GraphQLGraphQL is a query language for fetching and writing data. For web applications, there's usually a single endpoint available over HTTP where available data can be queried. As a query language, it has a syntax kind of like json, showing just the...

232. Trends in the Social Network (jaketrent.com)

Here's where are the trends in social networks seem to be leading us.The Need to ConnectConnection with our fellow humans is one of the most important and satisfying experiences in life. Recent technological development has allowed worldwide social networks over the Internet. The potential is there ...

233. Simplify vs Manage Complexity (jaketrent.com)

Here's the difference between simplifying and merely managing complexity.The Better OptionEssential complexity is inherent in a domain. It won't go away. If you're going to solve the problem, you must face it and deal with it. Or change the paradigms of the domain itself so that the essential proble...

234. Global Access to Container Queries (jaketrent.com)

Containers are queryable globally. Here's how.Container Queries are GreatIt's amazing that @container queries are here and widely available.Different from @media queries, which interrogate the viewport width, @container queries interrogate DOM element widths.Containers Globally AvailableWhen you def...

235. Tmux Dev Env Setup Speedup (jaketrent.com)

Tmux can help you set up your development environment more quickly.Many Tool OptionsThere are many tools used to make development environments work better or faster. For example, containerization with docker and docker-compose. I don't love these tools because of the cost of the abstraction: getting...

236. Ubiquitous Language Tips (jaketrent.com)

Here are some tips on using a ubiquitous language on your cross-functional team.Martin Fowler really knows more about Ubiquitous Language and its importance. Here are a few of my tips.Mean the Same ThingOn a cross-functional team we would likely have developers, product managers, designers, user rep...

237. Setup ClojureScript with Shadow CLJS (jaketrent.com)

Here's how to set up a simple ClojureScript project with shadow-cljs.shadow-cljsShadow CLJS is so many things, I don't think I can currently enumerate them. In this case, it's going to configure the building of ClojureScript into JavaScript. It'll give us a nice development server too.DependenciesOn...

238. Expand a 2-Column Grid to 3 Columns (jaketrent.com)

Here's how to expand a CSS grids into 1, 2, then 3 columns.The Markup widget one widget two widget three Kinda interesting, eh. What's up with col2?1-Column StateIn 1 column, all widgets are stacked:+--------------------------------+ | | | +----------------------------+ | | | | | | | 1 | | | | | | |...

239. Config Multiple Monitors in i3 (jaketrent.com)

Here's how to conveniently set your screen configuration in X11/RandR for multiple monitors. It'll work for i3 or other windowing environments.The PiecesX Window System - is a window system for Unix. Aka X. Aka X11, because v11 is its latest stable release.RandR - is an extension to X. Sets monitor ...

240. Should I Comment This Code? (jaketrent.com)

Here are some guidelines for when I might comment code.Just RightCode commenting is a Goldilocks effort.I don't want too many. It makes the code harder to read (the opposite of what comments should accomplish). Huge blocks of text. More confusing than the code. More likely to get out of date. More l...
Type to search HN and engineering blog articles
Press Escape to close  |  to navigate  |  Enter to open