• Shaarli
  • Tag cloud
  • Picture wall
  • Daily
  • RSS
  • Login
4289 shaares
59 / 215
Filters

Are You a Reader or a Listener at Work?

QRCode

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.

https://forge.medium.com/are-you-a-reader-or-a-listener-c6b2ecedf967
January 28, 2021 at 10:13:38 AM EST *
lifehacks learning
FILLER

10 CSS Tricks You Need to Know About (Part 2) | by Before Semicolon | Jan, 2021 | Medium

QRCode

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.

https://beforesemicolon.medium.com/10-css-tricks-you-need-to-know-about-part-2-df52ee0b2937
January 26, 2021 at 8:34:35 AM EST *
css webdesign
FILLER

Mailchimp Is Dead (It Just Doesn’t Know It Yet) | Better Marketing

QRCode

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?!

https://medium.com/better-marketing/mailchimp-is-dead-it-just-doesnt-know-it-yet-6e404c3e4b7b
January 22, 2021 at 10:12:23 AM EST *
email
FILLER

Core Workouts | At-Home Abs Exercise

QRCode

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
https://www.bicycling.com/training/a34763557/core-workouts/
January 21, 2021 at 3:20:55 PM EST *
workout abs fitness
FILLER

Turn Jekyll up to Eleventy ◆ 24 ways

QRCode

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?

https://24ways.org/2018/turn-jekyll-up-to-eleventy/
January 21, 2021 at 3:12:11 PM EST *
eleventy jekyll blog
FILLER

A Bayesian analysis of human decision-making on bandit problems.

QRCode

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.

http://www.ejwagenmakers.com/2009/SteyversEtAl2009JMP.pdf
January 21, 2021 at 2:46:06 PM EST *
probability games
FILLER

Unix Toolbox

QRCode

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.

http://cb.vu/unixtoolbox.xhtml
January 21, 2021 at 2:43:08 PM EST *
unix linux cheatsheet
FILLER

Why Tailwind Isn't for Me - DEV Community

QRCode

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.

https://dev.to/jaredcwhite/why-tailwind-isn-t-for-me-5c90
January 21, 2021 at 2:30:32 PM EST *
tailwind css webdesign
FILLER

The pencil-lead mines of Asiatic Siberia : a historical sketch, ... - Full View | HathiTrust Digital Library | HathiTrust Digital Library

QRCode

The pencil-lead mines of Asiatic Siberia : a historical sketch, 1761-1861 / I.P. Alibert, A.W. Faber.

Jean Pierre Alibert

Riverside Press

http://www.minbook.com/site_files/25-1_EN_p44-55.pdf

https://babel.hathitrust.org/cgi/pt?id=nyp.33433089970887&view=1up&seq=12
January 21, 2021 at 2:25:05 PM EST *
pencils
FILLER

How I Reduced Docker Image Size from 1.43 GB to 22.4 MB | by Mohammad Faisal | JavaScript In Plain English | Medium

QRCode

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 ./build
https://medium.com/javascript-in-plain-english/how-i-reduced-docker-image-size-from-1-43-gb-to-22-4-mb-84058d70574b
January 13, 2021 at 3:18:16 PM EST *
docker
FILLER

The Ultimate Guide to Bulletproof Buttons in Email Design - Litmus

QRCode

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 to fill the entire background of the link. The background color needs to be applied to the instead of 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]-->
https://www.litmus.com/blog/a-guide-to-bulletproof-buttons-in-email-design/
January 8, 2021 at 9:46:08 AM EST *
email buttons
FILLER

Minimal CSS Frameworks — dailydevlinks

QRCode

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).

https://dailydevlinks.com/minimal-css-frameworks/
January 8, 2021 at 7:53:00 AM EST *
css frameworks
FILLER

Type Scale - A Visual Calculator

QRCode
https://type-scale.com/
January 7, 2021 at 2:43:34 PM EST *
typography webdesign
FILLER

How to Favicon in 2023: Six files that fit most needs — Martian Chronicles, Evil Martians’ team blog

QRCode

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" }
  ]
}
https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
January 7, 2021 at 1:51:41 PM EST *
favicon webdesign
FILLER

Flexible, Full-Width, “Justified” Text Blocks

QRCode

Justify text blocks even with fonts of different sizes.

https://codepen.io/reubenlillie/pen/xemGmd
January 7, 2021 at 8:40:41 AM EST *
codepen typography
FILLER

Laying Out Basic Stair Stringers - Fine Homebuilding

QRCode

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

https://www.finehomebuilding.com/project-guides/framing/laying-out-basic-stair-stringers
January 7, 2021 at 8:36:26 AM EST *
home stairs fhb
FILLER

Optimizing Image Depth | CSS-Tricks

QRCode

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.

https://css-tricks.com/optimizing-image-depth/
January 7, 2021 at 8:32:59 AM EST *
graphics webdesign png
FILLER

Making Sense of Minisplits - Fine Homebuilding

QRCode

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

https://www.finehomebuilding.com/2020/11/06/making-sense-of-minisplits
January 7, 2021 at 8:30:16 AM EST *
home hvac fhb
FILLER

The Retirement Planning Radio Show | Retirement Planning Group, LLC

QRCode

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.

https://www.rpgretire.com/the-retirement-planning-radio-show
January 6, 2021 at 2:58:07 PM EST *
finance retirement
FILLER

Perl Advent Calendar 2020 - There is No Try

QRCode

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';
};
http://perladvent.org/2020/2020-12-03.html
January 6, 2021 at 2:55:14 PM EST *
perl
FILLER
59 / 215
Shaarli · The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community · Documentation
Fold Fold all Expand Expand all Are you sure you want to delete this link? Are you sure you want to delete this tag? The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community