Are You a Reader or a Listener at Work?
Reading and listening are two fundamentally different modes of learning. Reading is a standalone activity, but it tends to create stronger memories because your brain needs to fill in many gaps that listening pre-populates. What does the setting look like? What do the voices sound like? Reading uses back-tracking eye movements to maximize retention. Turning pages is a built-in break, giving you time to process what you’ve read. Reading also provides structural cues from punctuation, and physical books give you a spatial sense of where you are in the story at all times, both of which help improve your memory.
Listening, on the other hand, is a more social experience. You can glean information from one’s intonation, volume, and speed. Because you can’t rewind a conversation, you tend to focus on extracting the most important points. Listeners thrive on interaction and spontaneity. They love hearing multiple angles until one clicks, and that’s when the words magically roll off their tongue in response.
The biggest difference between the two is that listening still works when you do it passively — you can let the information run over you like a waterfall, and your subconscious will save the most relevant bits as they pass by — while reading requires constant attention. It is entirely active, like a treasure hunt.
10 CSS Tricks You Need to Know About (Part 2) | by Before Semicolon | Jan, 2021 | Medium
2 — Text tooltips
https://codepen.io/beforesemicolon/pen/BaKLeRL
6 — Extend the clickable area
The following example simply extends the type circle dot button click area by 2(two) by positioning a pseudo-element on top and centered.
8 — Frosted glass effect
.container {
background-color: rgba(255, 255, 255, .15);
backdrop-filter: blur(5px);
}
9 — Image grid with random height (Mansory Layout)
This is the famous Pinterest layout that you can use the old column property to accomplish quite easily.
10 — Math with Calc
Nothing in this world requires no math and the CSS calc function is magical.
Mailchimp Is Dead (It Just Doesn’t Know It Yet) | Better Marketing
Mailchimp may have been the 800-pound gorilla in the newsletter ecosystem, but there’s a new silverback that’s about to chop down the whole rainforest.
https://aws.amazon.com/ses/details/
The setup process is absurd. You have to get your web gal to set up an EC2 instance (whatever that is) and find or build a third-party application that lets you self-host it on your website. I literally couldn’t use it without my web team.
https://adamtheautomator.com/send-emails-using-amazon-ses/
If you’re an email marketer, play around with Sendy and MuxMail and get a feel for SES.
And if you’re a coder or programmer, what are you waiting for?!
Core Workouts | At-Home Abs Exercise
Build strength with this challenging series of moves.
- Walking Squat to Walking Plank
- Cat-Cow to Bear Plank Shoulder Tap
- Side Plank With Cross-Body Crunch
- Reverse Crunch to Straight-Leg Raise
- Hollow Hold to V-Sit
Turn Jekyll up to Eleventy ◆ 24 ways
Paul Lloyd assembles a heavenly host of cherubs to sing the virtues of the Eleventy static site generator. By looking at how it compares to the familiar Ruby-based Jekyll (which we have espoused the virtues of here before), he may have you humming its tune for this season’s holiday projects. But will it put you on cloud eleven?
A Bayesian analysis of human decision-making on bandit problems.
Steyvers, M., Lee, M. D., & Wagenmakers, E.-J. (2009).
A Bayesian analysis of human decision-making on bandit problems.
Journal of Mathematical Psychology, 53, 168-179.
Unix Toolbox
This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.
Why Tailwind Isn't for Me - DEV Community
I think the folks building Tailwind are talented and nice people. But at a pure technical level, I simply don't like Tailwind. Whoever it was built for, it was not built for me.
- Reason 1: Tailwind promotes ugly-ass HTML.
- Reason 2: @apply is fundamentally incompatible and non-standard (and largely unnecessary).
- Reason 3: Tailwind's focus on design systems and tokens could mostly be replaced by CSS Custom Properties (aka variables)—which IS a standard.
- Reason 4: Tailwind forgets that web components exist.
- Reason 5: Finally, Tailwind encourages div/span-tag soup.
...using <div> and <span> tags everywhere in your markup is an anti-pattern. We live in a world where custom elements (aka <whatever-you-can-dream-of>) are fully supported and enabled by modern browsers.
The pencil-lead mines of Asiatic Siberia : a historical sketch, ... - Full View | HathiTrust Digital Library | HathiTrust Digital Library
The pencil-lead mines of Asiatic Siberia : a historical sketch, 1761-1861 / I.P. Alibert, A.W. Faber.
Jean Pierre Alibert
Riverside Press
How I Reduced Docker Image Size from 1.43 GB to 22.4 MB | by Mohammad Faisal | JavaScript In Plain English | Medium
Step 4. Multistage Build
In our previous configurations, we were copying all of our source codes into the working directory.
But it’s unnecessary as we only need the build folder to serve our website. So now we will use the concept of multi-stage build to cut down the unnecessary code and dependencies from our final image.
The configuration will look something like this.
# STAGE 1
FROM node:12-alpine AS build
WORKDIR /app
COPY package.json ./
RUN yarn install
COPY . /app
RUN yarn build
# STAGE 2
FROM node:12-alpine
WORKDIR /app
RUN npm install -g webserver.local
COPY --from=build /app/build ./build
EXPOSE 3000
CMD webserver.local -d ./buildThe Ultimate Guide to Bulletproof Buttons in Email Design - Litmus
Padding + Border-Based Buttons
The padding and border-based buttons combine elements of the previous two approaches.
Essentially, this approach uses the same structure of styling the link with both padding and at least a solid 1px border. Then, a background color is applied to the
<a> in this instance because Outlook does not recognize horizontal padding on the <a> tag (since it does not support such styling for non block-level HTML elements).
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" style="border-radius: 3px;" bgcolor="#e9703e"><a href="https://litmus.com" target="_blank" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 3px; padding: 12px 18px; border: 1px solid #e9703e; display: inline-block;">I am a button →</a></td>
</tr>
</table>
</td>
</tr>
</table>
Horizontal Padding Hack for Outlook
A quick hack that can be used to increase the horizontal “padding” for Outlook is to conditionally add inline non-breaking space(s) on each side of the link.
<!--[if mso]> <![endif]-->
Minimal CSS Frameworks — dailydevlinks
Looking for a lighter framework for your next project? Here's a list of some of the best minimal CSS frameworks out there.
https://hakanalpay.com/bahunya/
Dark mode based on tacit
https://github.com/yegor256/tacit
https://purecss.io/
Pure builds on Normalize.css and provides layout and styling for native HTML elements, plus the most common UI components. It’s what you need, without the cruft.
🔗 https://picturepan2.github.io/spectre/index.html
Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development.
https://andybrewer.github.io/mvp/
MVP styles your root HTML elements, so you don’t need to learn a new CSS framework or naming conventions.
It’s like an amped up CSS reset that you can toss into any project to get decent styling.
https://newcss.net/
new.css is a classless CSS framework to write modern websites using only HTML.
https://github.com/oxalorg/sakura
Wonderful for people not really good or interested with design as sakura is nothing but a set of reasonable defaults
https://watercss.kognise.dev/
Now you can write your simple static site with nice semantic html, and Water.css will manage the styling for you.
https://jenil.github.io/chota/
Magical 12 column grid
Comes with a handful of components & utilities
http://getskeleton.com/
You should use Skeleton if you're embarking on a smaller project or just don't feel like you need all the utility of larger frameworks. Skeleton only styles a handful of standard HTML elements and includes a grid, but that's often more than enough to get started. In fact, this site is built on Skeleton and has ~200 lines of custom CSS (half of which is the docking navigation).
How to Favicon in 2023: Six files that fit most needs — Martian Chronicles, Evil Martians’ team blog
Instead of serving dozens of icons, all you need is just five icons and one JSON file.
In your HTML, for the browser:
<link rel="icon" href="/favicon.ico"><!-- 32×32 -->
<link rel="icon" href="/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple.png"><!-- 180×180 -->
<link rel="manifest" href="/manifest.webmanifest">
And in your web app manifest:
// manifest.webmanifest
{
"icons": [
{ "src": "/192.png", "type": "image/png", "sizes": "192x192" },
{ "src": "/512.png", "type": "image/png", "sizes": "512x512" }
]
}Flexible, Full-Width, “Justified” Text Blocks
Justify text blocks even with fonts of different sizes.
Laying Out Basic Stair Stringers - Fine Homebuilding
1. Clamp a guide to the square.
To make it easy to align the framing square on the stringer consistently, clamp a straight wood strip to the square. On the outer edges of the square, align the strip with the run dimension on one leg and the rise dimension on the other.
2. Find the crown.
Sight down the edge of the stringer stock to determine if it crowns. If it does, lay out the stringer so that the crown on the completed stair will face upward.
3. Lay out the first tread and the second riser.
Hold the square so that the leg with the tread dimension is closest to the end of the stringer stock but far enough from the end to allow for a riser below. Try to lay out the notches so that cutting them gets rid of knots and defects.
https://www.finehomebuilding.com/2013/10/15/lay-out-accurate-stair-stringers-with-this-custom-tool
By Andy Engel Issue 248 - Dec/Jan 2015
Optimizing Image Depth | CSS-Tricks
By default, lots of image editing tools save PNGs with 2^24 color depth, just in case.
So in Acorn, my image editor of choice, I’ve been taking special care to crank down the bit depth on PNGs in the export dialog. In many cases, I’ve cut image weight 80% or more by indexing colors to a palette of 256 or fewer values, with no loss of visual fidelity.
That PNG at full-color depth is about 379KB. Restricted to a palette of 32 colors, it’s 61KB. And that’s just at the export time: once I run them through ImageOptim, the optimized sizes are 359KB and 48KB.
Making Sense of Minisplits - Fine Homebuilding
For well-insulated houses, minisplits are beginning to dominate the market. They are especially suited for lower heating and cooling loads and providing quiet comfort with surprisingly low amounts of energy—energy that can be produced on-site or pulled from renewable sources on the grid.
Minisplits have a few disadvantages and downsides, and they are interrelated, combining to make or break the minisplit decision. The big three are the price of electricity, the severity of the winter, and the quality of the building envelope.
From Fine Homebuilding #296
The Retirement Planning Radio Show | Retirement Planning Group, LLC
The Retirement Planning Show, hosted by David Kopyc, can be heard every Saturday morning from 8:00 A.M. – 9:00 A.M. and Sunday Evenings 8:00 PM - 9:00 PM on News Talk Radio AM 810 and 103.1 FM.
Perl Advent Calendar 2020 - There is No Try
eval Stinks!
Even if not a huge increase in the code needed for the operation, it's a bunch of magic to remember every time. If you don't do this sort of thing, though, you've got a big opening for horrible error-handling problems.
use Try::Tiny;
my $start = Time::HiRes::time;
return try {
$self->computation_helper->compute_stuff;
} catch {
my $error = $_ eq '' ? 'unknown error' : "$_";
$self->set_last_error( "couldn't get stuff computed: $error" );
return undef;
} finally {
my $failed = @_;
my $end = Time::HiRes::time;
warn sprintf "took %f seconds to %s",
$end - $start,
$failed ? 'fail' : 'succeed';
};