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 Lerner Consulting 70 .NET 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 →

631. Ember Dynamic Classes (jaketrent.com)

In Ember, your state is separated from the UI inside models. But, often you want the state of your models to be represented visually in the UI via dynamic class names. Make it happen with Ember.Views.Use an Ember.ViewA view will function as the translation layer between the state of your models and ...

632. Style File Input (jaketrent.com)

File input fields are notoriously painful to style. Here are a few quick tips to that will save you some dead ends.The Problem with File InputsFile inputs are inconsistent to start with. They differ even in their native form across all browsers. They also have internal elements that are not individu...

633. So Good They Can't Ignore You (jaketrent.com)

"So Good They Can't Ignore You" is written by Cal Newport. He rejects the idea of following your passion in order to find the work you love. Instead, he suggests the accumulation of career capital.What follows are the main sections or rules of the book with a few of my takeaways each. The man is obv...

634. Namespacing Angular Controller Attributes (jaketrent.com)

Usually attributes of your Angular controllers are not namespaced. But you can namespace them. But you might not want to.Angular Controllers Usually Attach Attributes to ScopeUsually attributes in an Angular controller, such as functions and variables, are attached to the $scope object. That looks l...

635. Access Model in Ember View (jaketrent.com)

Ember Views are used for event handling and creating reusable web components. To make them useful and interesting, model data needs to make it into and out of the view. Here is an example of how this works.Define Your ViewIn our example, I'm making a simple dice rolling game. I want to use a view to...

636. Behavior of CoffeeScript Fat Arrow (jaketrent.com)

In CoffeeScript there are two different types of arrows for defining functions: arrow (->) and fat arrow or hash rocket (=>). Usually, you'll use the regular arrow. But sometimes you'll want the special behavior of the fat arrow.Function BindingIn JavaScript, the keyword this within a function refer...

637. When to Use Curlies in Angular Directives (jaketrent.com)

Angularjs has some sweet built-in directives. Sometimes it can be confusing when to use the curly braces around expressions in directive attributes and when not to. Here are a couple rules.CurliesBy "curlies", I mean curly braces. The difference of when to use or not use them looks like the followin...

638. Remove Mobile Safari Click Delay (jaketrent.com)

Did you know that Mobile Safari and other mobile browsers are delaying your click events? If you've been testing your mobile site, and it feels sluggish in Mobile Safari, this could be one of the reasons. Disable the click delay and rejoice at a bit more snappy response.Sandbagging?Why would a brows...

639. ngStyle Background (jaketrent.com)

ngStyle is the directive used to set inline style attributes with AngularJs. Most of the time, it's straightforward to use. background css attributes can be just slightly trickier.ngStyle ObjectsThe ngStyle directive requires an object for input. The object key is the css attribute name. The resulta...

640. Mongoose Population (jaketrent.com)

Mongoose is an object modeler for MongoDb. It has a particularly great feature, called population. Population allows you to include other objects in a specified object. It makes the process a lot easier and more automatic.Document DesignDocument databases provide a lot of flexibility in how data is ...

641. Learn to Procrastinate (jaketrent.com)

When making software, sometimes we want everything we can imagine at once. We want the software to be perfect -- then we'll ship it. Learn to procrastintate. You might ship more, and you might like the the eventual outcome better.Worthless SoftwareSoftware that sits inside of your git repo, unreleas...

642. CSS Vertical Height of Text (jaketrent.com)

Setting text elements on a page to be a specific height is usually straight forward. Here are the specs for a couple textual situations you'll encounter.Note: Experiments were done in Chrome 27, but this should be pretty consistent over browsersText in a DivText is likely most common just plastered ...

643. Ember Parent Templates (jaketrent.com)

Ember's convention of template hierarchy is very specific. Learn it once, and you'll know it every time.Note: Code examples use Emblem templates and CoffeeScript. Vanilla Handlebars and JavaScript would work just as well.OutletsEmber templates make use of a special helper called outlet. You can have...

644. Match Ember and Handlebars Versions (jaketrent.com)

Ember is very specific about what version of Handlebars it requires. This is probably good, but it's also a pain to work with as different versions of the two libraries are released independently. There are a few good tools to help us out.Released IndependentlyIn a prime example, recently there was ...

645. Precompile Ember Templates (jaketrent.com)

Ember makes use of the wonderful Handlebars templates. These templates, in order to be performant, must be precompiled. Based on the Ember docs, it's not abundantly clear how this is to happen. Here's a solution that works well.Ember Docs for PrecompilationEvery official Ember doc will put templates...

646. Test setTimeout with Jasmine (jaketrent.com)

Code that utilizes setTimeout or setInterval becomes asynchronous. Jasmine has some nice helpers to make your test synchronous again.Code Using setTimeoutAny Javascript code that wants to delay certain actions or give intervals between actions will use setTimeout or setInterval respectively. There a...

647. Deploy Yeoman App on Heroku (jaketrent.com)

Yeoman is great developer tool that will help you generate a project format that is easy to get up and running quickly. Out of the box, Yeoman only generates static sites. But, with a few small tweaks, you can get it running on an app server, Nodejs, and up on Heroku.New Project With YeomanTo instal...

648. LiveReload for NodeJs (jaketrent.com)

LiveReload is a wonderful tool/strategy for being able to develop websites more quickly. You can make a change and see it immediately shown in the browser without requiring you to manually refresh. To do this in NodeJs with Express, you'll need just a few packages.LiveReload ExpressIf you're doing a...

649. Access NodeJs App on Xip.io (jaketrent.com)

Xip.io is a DNS wildcard domain that was initially created for use on Ruby projects. But its application is desirable across platforms. Recently, I wanted to use Xip.io on a NodeJs project. It was easy to make happen.Update: "Proxying"After having a handful of problems with these home-grown proxies,...

650. Make Jsonp Requests with AngularJs (jaketrent.com)

There are a couple ways to make cross domain requests from a client browser. One method is called Jsonp or Json with padding. The AngularJs library makes this really simple.Web Server SupportFirst of all, your Jsonp request will be worth nothing if the server you're requesting data from does not sup...

651. Have More Fun (jaketrent.com)

You enjoy your work more when you're having fun, right? I wouuld think that much would be obvious to us all. And yet, we need reminded now and again what really makes us tick. Whether our endeavor is serious or purely for entertainment; Whether the cause means a lot to us or we are just trying to pa...

652. Https Redirect for Node on Heroku (jaketrent.com)

When your app requires users to be using the https protocol to make requests and get responses, it's helpful to have an automatic redirect so the user is always in the right place. Here's how to do that for a Node Express app on Heroku.Secure Express RequestsThe Express request object has a bunch of...

653. Serve Json from Sinatra (jaketrent.com)

By default, Sinatra knows how to serve up a rendered html page. With a slight tweak, we can make it spit out Json too!Data Format of the WebJson is my favorite data format for web applications. Really, who wouldn't want their webservice to expose Json? It's mucho useful.First, add a line to the Gemf...

654. Pass Values From the Page to AngularJs (jaketrent.com)

There are simple mechanisms for passing data from your web page to AngularJs. One directive is called ngInit. You may well need it.The Use CasesThe use cases don't make a ton of sense without a concrete example. There are several ways to implement even the most simple example. If the solution doesn'...

655. AngularJs Find Element in Context (jaketrent.com)

Finding an element in context means that I can select a node from the dom within a certain range -- specifically either a node or any of its children nodes. Is there an "Angular way" to do this?Angular's Element() APIAngular provides jqLite for doing basic CSS selections. As far as I can tell, it do...

656. Serve CoffeeScript from Sinatra (jaketrent.com)

Sinatra is nice because it's super lightweight. This will allow you to make it do exactly what you want, nothing more. This is the opposite of Ruby on Rail's convention. Likewise, it takes just a bit more configuration to make Sinatra serve CoffeeScript as compared to Rails.Sinatra and CoffeeScriptS...

657. Jumpstart Lab Ruby Training Review (jaketrent.com)

Jumpstart Lab offers a Ruby training. I recently attended. I had a great experience and learned a lot in my first real introduction to Ruby and Ruby on Rails. I would highly recommend the course. Here are a few more details on my experience.FormatLengthJumpstart sent a great instructor, Franklin Web...

658. Setup Slim on Sinatra (jaketrent.com)

Sintra is a light web server that's easy to start writing Ruby on. Coming from Node/Express, I feel quite at home there. Slim also feels like another JavaScript-world templating language, Jade, that I've had good experiences with. Slim makes for quick templating and feels quite nice compared to ERB ...

659. Multiple Yields in an ERB Template (jaketrent.com)

When you setup a new Rails project, you'll have a single layout file which has a single default yield block. This will soon be inadequate, and you'll want another. Here's how to setup multiple yield blocks per ERB template.Layout FileBy default, Rails will create a file at:app/views/layouts/applicat...

660. Rename Files in Rails Asset Pipeline (jaketrent.com)

Rails provides a powerful mechanism for preparing your site's static assets for the web. It's called the asset pipeline. True to Rails, it has sensible defaults. Also true to form, it's not immediately clear what's required to change from the defaults.Multiple CompilersThe asset pipeline has the abi...
Type to search HN and engineering blog articles
Press Escape to close  |  to navigate  |  Enter to open