Better HN
topnewbestaskshowjobs
Log inSign up

mematic

4 karma · joined Apr 19, 2022 (4y ago) · 5 submissions

Submissions

comment 4y ago · link · parent

Tailwind is not an abstraction, it's a collection of one-rule utilities.

Tailwind is not for beginners, it's a dependency reversal for professionals.

Tailwind is not replacing CSS, it's embracing the realities of component libraries.

Tailwind is a paradigm shift...

comment 4y ago · link · parent

I use a similar approach with linear mapping to gain known boundaries.

  body {
  
    --scrollbar-width: 0px;
  
    --320-to-1440: ( 100vw - ( 320px + var( --scrollbar-width ) ) ) / 1120;
  
  }
  
  h1 {
  
    font-size: clamp( 20px, calc( 20px + var( --320-to-1440 ) * 10 ), 30px );
  
  }
While accounting for the scrollbar width via JavaScript.

  document.body.style.setProperty(
  
    '--scrollbar-width',
  
    `${ window.innerWidth - document.documentElement.clientWidth }px`
  
  );
This will be easier when user-defined functions arrive.

comment 4y ago · link · parent

Similar struggles lead me to roll my own AMI of Arch Linux using Conrad Hoffmann's guide.

https://gitlab.com/anemos-io/archlinux-ec2

I have since created my own Gist for future use, as well.

https://gist.github.com/msimpson/b65f11bc4122d60d11c9c87470b...

comment 4y ago · link · parent

Netflix was already willing to alienate users by stooping to conditional joint acquisitions.

Better Call Saul is proudly labeled a "Netflix Original".

But you couldn't watch season five on Netflix until April, even though it originally aired two years ago.

Had to let AMC reair it first, right?

Think season six will air on schedule with AMC in August?

Meanwhile, HBO Max, and Hulu by extension, released The Batman nearly on time with theatres.

It's clear that Netflix simply lacks the content creation supply chain of its competitors.

And no amount of price hikes, ads, excuses, or desperate back-door deals will solve that.

Their greatest hope was to capitalize on successful originals, like Love Death and Robots.

But in three years they've managed to deliver only two season of that show.

Which, even with the pandemic, should have occurred much faster given it's an animated anthology.

I wouldn't be surprised if I woke up one morning to find news of a Sony and/or Paramount buy out.

comment 4y ago · link · parent

I run Arch Linux in Hyper-V on 11 Pro.

Services (NGINX, MariaDB, PHP/PHP-FPM, etc.) are within Arch.

Project files are in Windows, mounted as an NFS share within Arch.

Editing and committing files mostly from Windows, Atom and git configured for LF.

Executing tasks, Bash scripts and such, from Arch via SSH.

I tend to duplicate tasks in Batch or Powershell for cross-compatibility.

And use the same structure for Electron builds on the Windows side with WIX.

Only complaint is VM performance.

I'll probably swap to a bare-metal Linux machine, using the same approach, soon.