Making Tables Responsive With Minimal CSS

Here’s a fabulous CSS trick from Bradley Taunt in which he shows how to make tables work on mobile with just a little bit of extra code. He styles each table row into a card that looks something like this: See the Pen Responsive Tables #2.5: Flexbox by Bradley Taunt (@bradleytaunt) on CodePen. (Make sure to grab the Pen and make it a bit smaller to see how the design works responsively.) Bradley’s example markup looks like this – clean, accessible, regular ol’ HTML: <table> <thead> <tr> <th>Type of Food</th>…

Read More

Minimal character-based LSTM implementation

Following up on the earlier post deciphering a minimal vanilla RNN implementation, here I’d like to extend the example to a simple LSTM model. Once again, the idea is to combine a well-commented code sample (available here) with some high-level diagrams and math to enable someone to fully understand the code. The LSTM architecture presented herein is the standard one originating from Hochreiter’s and Schmidthuber’s 1997 paper. It’s described pretty much everywhere; Chris Olah’s post has particularly nice diagrams and is worth reading. LSTM cell structure From 30,000 feet, LSTMs…

Read More

How to Create a Good MCVE (Minimal Complete Verifiable Example)

Reporting a bug takes time, and trust me, every vendor appreciates your reporting of a bug! Your voice counts as many voices, for all the other customers of a product who do not want to or cannot take the time to report the same bug are numerous. So, first off, thanks for taking that time and reaching out to us vendors. We really appreciate your help! Having said so, reporting a bug can be a tedious exercise. For both parties, the one reporting the bug and the one receiving it.…

Read More