72 karma · joined Oct 9, 2008 (18y ago) · 21 submissions
comment 8y ago · link · parent
Interesting idea with geo restrictions. Does this allow more granularity than country-level filtering? Most of our audience is based in the US, so country-level setting does not give us enough flexibility.
There is also value in knowing the percentage of users receiving the new version. It’s just more predictable and easier to analyze the data if the ratio of new-to-old is known beforehand.
comment 8y ago · link · parent
Good question. We just tested with ab (ApacheBench) and consistently observed the difference between Lambda enabled and disabled. We wanted to be sure this system does not incur any significant overhead and that’s why we made sure to only run the Lambda when it is needed.
We hope to see Amazon improving this, as there can be use cases for Lambda@Edge where you can’t restrict URLs so easily.
5.
Building a BitTorrent client from scratch in Haskell (2015)(blog.chaps.io ↗)
3 points · by jdudek · 10y ago · discuss
comment 10y ago · link · parent
7.
Implementing baseline rhythm in CSS(pilot.co ↗)
4 points · by jdudek · 10y ago · discuss
comment 10y ago · link · parent
comment 10y ago · link · parent
I don’t think the last part is true. Browsers don’t repaint (nor they reflow) the page until it’s really needed. So if you have a loop that modifies the DOM multiple times, but does not read from the DOM, there performance hit described by the author should not occur.
comment 10y ago · link · parent
It was my university project. It’s not really useful, but it was extremely fun to work on.
comment 11y ago · link · parent
Be prepared to see a lot of poverty, though. Especially if you’ve never been to a formerly soviet country.
I’m from Poland and I have visited Georgia in 2011.
comment 11y ago · link · parent
This article made my think that maybe we can do better and provide more assistance to those we do not hire after Bootcamp.
More details about our Bootcamps are available at http://pilot.co/bootcamp.
comment 11y ago · link · parent
comment 12y ago · link · parent
It's worth noting that the last example with margin:auto can be used for centering within any div that has position: relative (there's nothing special about the whole page). It also works for intrinsic dimensions, so you can center an image without knowing its size, see http://jsfiddle.net/jdudek/hfbnS/1/.
There are a few more useful techniques not covered by this article, for example:
* line-height + vertical-align: middle + display: inline-block (which allows you to center vertically an element with dynamic height)
* display: table-cell (mentioned by others in this thread, although without stating its disadvantages).
While I appreciate the effort, calling the article "complete guide to centering a div" is an overstatement.