...everything needs to be rewritten all the time. As a corollary, web startup engineers believe that there is no problem but scalability, and architecture is its solution. And thus, the...
We’re making changes to how :visited works in Firefox. We’re not sure what release this will be part...
If we want mobile applications to stay around as a sustainable business, we need to be more honest about the...
...marketplace structure. It's like watching a character from Alice in Wonderland attempt to beat Kurt Godel at a game of chess by trying to change the rules faster than...
Though we ended up switching to what I consider to be a technically superior product based on simplicity, we arrived...
Because javascript has something called "Hoisting" which makes your code do things it doesn't look like it should be...
The FUSE project allows you to create filesystems in userspace - which means you can create a filesystem without having to...
Lemonade’s goal as a sprite generator is to be incredible easy to use, so you’ll use ist for...
It turned out this guy was Mark Rein from Epic, although he seemed to assume everyone within earshot knew exactly...
The first thing I need to say, right off the bat: Chinese users will not buy your software. Period. That...
...is something like # WRONG class Page < ActiveRecord::Base %w[main sub].each do |type| belongs_to "#{type}_title" end end # RIGHT class Page < ActiveRecord::Base %w[main sub].each do...
belongs_to :"#{type}_title" end end Always convert to a symbol, otherwise you'll have all kinds of fun. Newer rails / activerecord (at least 5.2) will throw an association...
Flexbox is awesome. Most of it even works in IE11, but flex: 1 won't work reliably in Internet Explorer...
The Rails secret_token must be unique for each application and any instance of it. If not, someone could exploit...
Hint: There's another card with this helper for Cucumber features. Sometimes you feel like you need to stub some...
...however that if your transform only matches a substring (no ^ and $ markers at the beginning and end), you are still expected to return a replacement for the whole string that...
In order to save the original value of a constant, set the new value and restore the old value after...
...Javascript feature detection alone, this approach will be painful when heavily customizing a feature beyond just tweaking the looks. Eventually you will want want the same detection logic to be...
In medium-sized to large Rails applications, asset compilation can take several minutes. In order to speed up deployment, asset...
RSpec let's you chain a matcher with .or. The expectation will then pass if at least one matcher matches...
...a convenience method on Strings (you may need to require 'whatlanguage/string'). >> 'Wir entwickeln und betreiben anspruchsvolle Webanwendungen'.language => :german Depending on your users' input, consider using less languages for better...
If you use the Better Errors gem, you will sometimes notice that it can be very slow. This is because it sometimes renders a huge amount of data that will...
You can significantly improve performance by adding this to config/initializers/better_errors: if defined?(BetterErrors) && Rails.env.development? module BetterErrorsHugeInspectWarning def inspect_value(obj) inspected = obj.inspect if inspected.size > 20_000 inspected = "Object...
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
...updated with newly discovered issues and remove old issues as they're fixed or become obsolete. If you discover a bug that's not listed here, please report it so...
...everyone else can benefit...
Nested exceptions for Ruby: When you rescue an error and then re-raise your own, you don't have to...