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 629 Neon 503 Supabase 435 Shopify 432 Soundcloud 409 Databricks 396 Real Python 394 Johannes Brodwall 378 Jeremy Kun 327 Laravel 296 PostHog 294 Twilio 259 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 210 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 Jane Street 119 Hostinger 118 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 Lazarus Lazaridis 30 Pamela Fox 30 Evan Miller 29 IPFS 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 →

1. Abort a Fetch Request in React on Unmount (jaketrent.com)

Here's a nice pattern to abort a fetch request in React when the component unmounts.To see the basics of how to deal with the the API, see this article on fetch API's abort controller.The thing we're trying to do here is show a good pattern for the React case. I'll show it from the standpoint of a h...

2. Losing Our Grip with AI (jaketrent.com)

In the age of AI, we're all losing our grip.Ok, ok, let's scope this a little bit. This isn't out there, on the existential level of things -- of humanity, civilization and politics. I'm just talking about lil old product teams. Just a SaaS company making a thing for the Internet. It's there we're l...

3. Git Config User Per Repo (jaketrent.com)

Here's how to config git to have a specific username and email at the repo level.LevelsGit can take config at 3 levels, start with the most general to the most specific:System (multiple users) - in /etc/gitconfig, flagged with --systemUser (user home dir) - in ~/.gitconfig, flagged with --globalRepo...

4. Rebuild a Static Site on Netlify on a Schedule (jaketrent.com)

Here's how to rebuild a static site on Netlify on a schedule.ScenarioI love static sites. The runtime is so simple. Once it's out there, it almost can't break. It has so few moving parts. It can scale to the moon.It has a downside, which is also its upside: it's static. So, if you want to display dy...

5. Local-only OCR (jaketrent.com)

Here's how to run a fast OCR process on your own computer.ConceptOCR stands for opitcal character recognition. It's the ability for a computer to read something that's not in text but contains text, like an image or a pdf, and turn it into text, like an ascii text file.There are hosted services that...

6. Local-only Voice Dictation (jaketrent.com)

Use voxtype to set up an on-device-only voice-to-text.voxtypevoxtype is a local-only voice to text program that works on Linux, under Wayland or X11.It downloads models, like OpenAI's whisper model, to your box and processes audio there. No voice recordings are sent to any server.InstallI'm on Pop!_...

7. Set Desktop Color Scheme with Pywal (jaketrent.com)

Wouldn't it be cool to have your wallpaper and all app and desktop colors match in a unified color scheme!Concepteylles/pywal16 is a tool that extracts dominant and accent colors from an image and creates a 16-color scheme from it.Once this program has extracted a color scheme, it outputs that color...

8. Make Nvidia GPU Available to Docker Container (jaketrent.com)

Here's how to make Nvidia GPU available to a Docker container.ScenarioI was trying to run OpenRAG. It starts docker containers. These containers want access to the GPU so that it can be used to turn documents into matrices that describe meaning as well as content. In the docker-compose.yml file, Ope...

9. Git Write Author (jaketrent.com)

How to write the git author.I use a single set of dotfiles over multiple machines and multiple git authors. The problem is that sometimes I forget to change the author based on the machine or repo I'm in.In the first place, it's best to keep your git config set how you like:git config user.name "jak...

10. Printing via CUPS in the Terminal (jaketrent.com)

Here's how to print in the terminal on Linux.CUPSCUPS is a printing system that has come standard on Linux for a long time. It should detect printers on the same network and allow you to address themAvailable printersTo see available printers, run:lpstat -p | awk '{print $2}'This will return a list ...

11. Developer Public Relations (jaketrent.com)

We must expose reality and recognize the power of perception.PerceptionAs a young programmer, I had a seasoned coworker tell me that perception equals reality. True enough.He had seen things. He had been through perception working against him. He knew its power. His warning was now passed on to this...

12. Put Localhost on HTTPS with Nginx (jaketrent.com)

How to put a local app server on https.WhyWhy would you want https on a local app server? Well, it's cool, put it on your resume. It looks cool, impress your friends. There are also browser capabilities that require https, such as hardware access for camera.Local IP MappingTo set this up, the first ...

13. Humans, Keep the Initiative (jaketrent.com)

Keeping the initiative helps me to see the usefulness of AI and not be repulsed by it.Sometimes DisturbedI will look back on these entries during these years of transition in AI usage, and I will see myself attempting to navigate things. I hope I will think well of myself and my decisions.Anyway, I ...

14. Set Battery Charge Threshold in Linux (jaketrent.com)

Here's how to set the battery charge threshold on a Linux system.WhyBy default, your battery will charge to 100%. But there is something about battery chemistry that makes that hard on batteries. To increase long-term battery health, limit battery charge to a maximum of 80%.Check batteryTo check bat...

15. Command Check in Bash (jaketrent.com)

Here's a way to check if a command is executable before running it.I have a command that I want to ensure exists on my computer before running it. The command is dwmblocks. I use the same config file on some hosts that have it as some hosts which don't have it.To check if the command exists, then ru...

16. A Week of AI Maxxing (jaketrent.com)

This is an experience report on a week of AI maxxing.Earlier, I had tried to do the autonomous swarm orchestration at the end of last week. I'm not ready for that. So I maxed on what I could handle: One or two agents at a time with my feeding and intervention at key moments.The gistI have spent 4 da...

17. SSH Into a Machine on Your Local Network (jaketrent.com)

Here's a way to ssh into a machine on your local network.A Tale of Two MachinesSSH is a protocol that allows us to connect from one machine to another. We can connect via ssh in the shell, and it'll be as if we're in the shell of another machine.Our players: You have two machines. They are on the sa...

18. Get Video Dimensions in the Terminal (jaketrent.com)

Here's how to find the dimensions of r avideo in the terminal.Pretty straightforward. Use ffprobe. This comes with ffmpeg:ffprobe -v error -select_streams v:0 -show_entries stream=width,height -of default=noprint_wrappers=1 myvideo.webm width=1920 height=1080-v error shows just error output; no info...

19. AI Horizons (jaketrent.com)

A cool thing about AI is that it can show you something you hadn't seen before.This is like what a friend would often do. You'd be asked to review a PR. Or you're perusing a code repo. You'd see things you didn't know how to do or which hadn't occured to you. It would be intriguing and potentially u...

20. Take My Info (jaketrent.com)

It's too deceptively easy to give an AI your personal info.Competing PrioritiesWe want personal privacy. It's our business, not someone else's. I am the arbiter of my own self and information about myself.Simultaneously, others want our data. It's worth a lot of money. It's the potential for influen...

21. Centralized Knowledge (jaketrent.com)

What are some of the dangers of information centralization? Here are a few.Centralization, FinallyCentralization, at its apotheosis, contracts to a single point. AI currently trends toward data centralization. Many reconfigure habits to look to companies who create LLMs for answers to questions or r...

22. Enable Figma MCP on Opencode (jaketrent.com)

Here's the current best way to enable Figma MCP on Opencode.ConfigAs shown in the opencode config docs, add Figma MCP to your ~/.config/opencode/opencode.json config like this:{ "$schema": "https://opencode.ai/config.json", "mcp": { "figma": { "type": "remote", "url": "https://mcp.figma.com/mcp", "e...

23. Run an LLM Model Locally (jaketrent.com)

Here's how to run an AI model locally.It's easy to get started with ollama. It's free. It's local.Get ollamaDownload ollama:curl -fsSL https://ollama.com/install.sh | shNow you have an ollama command. This command will be used to install models, chat with it, or launch other clients.Choose a modelFi...

24. Ignore an NPM Audit CVE (jaketrent.com)

This sounds like a good idea, doesn't it? Hehe.The situationI run npm audit in CI. This helps discover security issues, published as CVEs, in the 3rd-party dependencies on the project.Recently, a CVE came up for ajv, a validation library that was found to be subject to a regex DOS attack. It was fix...

25. X Startup Scripts (jaketrent.com)

What is the difference between the X startup scripts?X is a display server. Depending on how you start your X session, different X-related startup scripts may be important to you.AllThese are usually places to export your environment variables, including PATH. You can set different X-related attribu...

26. How to Apply a Software Patch (jaketrent.com)

Here's how to apply a software patch.What is a patchA patch is a file that describes changes to one or more files. The changes are line-oriented. This means that the patch file will specify that certain lines in your source file are to be added or deleted.Surrounding lines are also shown in order to...

27. Some Layers of the Linux Desktop (jaketrent.com)

This is a helpful (to me) listing of some layers of components in the Linux Desktop stack.We'll go approximately from the foundation up through the things that build on it.KernelThe Linux kernel is the core code that enables it and other software to run on the hardware. It is the low-level interface...

28. Map Hotkeys in X11 (jaketrent.com)

Here's a way to map hotkeys in X11.Of course there are a bajillion ways. It's Linux. But this way relies on an stable, battle-worn library that has a simple config.ScenarioLet's say that you want to map a keyboard shortcut for your screenshot utility. You'll need to map a key combo to launch it.Inst...

29. Poll with Promises (jaketrent.com)

Here's an implementation for polling using an async function.GoalWe want to call checkTheThingAgain until we get TheThing back. We're poll, meaning check this thing repeatedly, on a regular schedule until it succeeds or we run out of patience and time it out.The implementationcheckTheThing returns a...

30. The Art is You (jaketrent.com)

I watched an inspiring and hopeful talk from Brandon Sanderson about our art in the time of AI.Brandon Sanderson is a fantasy fiction writer. He is doesn't like AI art.Read his essay, The Hidden Cost of AI Art. Or watch it:{{}}He acknowledges that there are many concerns about AI. But if you were to...
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open