Readit News logoReadit News
curlftpfs commented on Kill-sticky, a bookmarklet to remove sticky elements and restore scrolling   github.com/t-mart/kill-st... · Posted by u/ivank
curlftpfs · 3 years ago
> Set the style of the html node for overflow: auto

I have a custom style to do this for ALL sites, warning:

1. it can break websites in unexpected ways

2. There's often a class on the <body> hiding overflow that needs to be overwritten instead/as well

curlftpfs commented on 58 bytes of CSS to look great nearly everywhere   gist.github.com/JoeyBurzy... · Posted by u/thunderbong
mwcampbell · 3 years ago
Do you still have to explicitly add CSS to do something appropriate for the user's dark mode setting? I'd rather not specify any colors at all and just let the browser use system defaults, but last time I checked, that used black-on-white even in dark mode.
curlftpfs · 3 years ago
You do, via `color-scheme` or media query
curlftpfs commented on 58 bytes of CSS to look great nearly everywhere   gist.github.com/JoeyBurzy... · Posted by u/thunderbong
swyx · 3 years ago
I wrote my version here last year: https://www.swyx.io/css-100-bytes

    html {
      max-width: 70ch;
      padding: 3em 1em;
      margin: auto;
      line-height: 1.75;
      font-size: 1.25em;
    }
if you have 100 more to spare:

    h1,h2,h3,h4,h5,h6 {
      margin: 3em 0 1em;
    }

    p,ul,ol {
      margin-bottom: 2em;
      color: #1d1d1d;
      font-family: sans-serif;
    }
explanation in the blogpost

curlftpfs · 3 years ago
Element-based selectors, setting the root font-size, mixed units, text color with no background color...I guess the assumption is that you won't add ANY other styling? Big headaches down the road if you do.
curlftpfs commented on 58 bytes of CSS to look great nearly everywhere   gist.github.com/JoeyBurzy... · Posted by u/thunderbong
RobbieGM · 3 years ago
Isn't it more readable not to have really long lines?
curlftpfs · 3 years ago
We can have both! Wide containers with narrow line lengths.

We call them "columns" and they're part of CSS now.

curlftpfs commented on iPhones and action discoverability   alexanderell.is/posts/iph... · Posted by u/otras
dagmx · 3 years ago
Did you perhaps skip the on-boarding process? A lot of what you mention has been part of the Getting to know your iPhone on-boarding since they were introduced on the iPhone X. Specifically where to pull down from and pull up from.

I’m not sure what you mean by the flashlight not being actionable. Notification shade/Lock Screen buttons are long press actions to prevent accidental activation.

On iOS 16 there’s now a button on the launcher to invoke search in case people want to avoid swiping

You say they design their products to be used by tech savvy people but gestural design is designed to become intuitive after the first tutorial. Indeed the only people I know who struggle with it are tech savvy people who skip the on-boarding. In much the same way that people who think they’re handy disregard ikea instructions etc

Here’s a talk on the thought process behind a lot of their “fluid” design https://developer.apple.com/wwdc18/803

curlftpfs · 3 years ago
"Good design is often invisible, if you skip the on-boarding process" -- Dieter Rams
curlftpfs commented on Monorepo Support   render.com/docs/monorepo-... · Posted by u/bauerpl
NomDePlum · 3 years ago
Doing exactly this at a new organisation I recently joined.

We are treating it as an experiment. Got 2 teams with 5/6 Devs in each sharing the same monorepo. We are using nx.dev as the build tool and it's going pretty well so far.

Different tech stacks too but using nx.dev thats been abstracted away. Allows us to share practices and we've built out the CI/CD and supporting infrastructure on AWS together which has certainly saved duplication of effort. Possibly one more team coming on board too.

If in the future it's not paying off we can always split. Doesn't need to be a forever decision, is how we are viewing it.

curlftpfs · 3 years ago
What do/don't you like about Nx?

You describe my scenario (with fewer teams), difficult deciding between options. (Using Webpack + git to do "component management" and bundle to single-file ES6 modules.)

curlftpfs commented on A subpolar-focused stratospheric aerosol injection deployment scenario   iopscience.iop.org/articl... · Posted by u/rntn
avidphantasm · 3 years ago
I might have missed it, but they don’t seem to talk about the fate and transport of the sulphuric acid that forms when the sulfur dioxide oxidizes. This is important to know.
curlftpfs · 3 years ago
We can guess by looking at the SO₂ deposited by volcanic eruptions

> [The 1991 eruption of Mount Pinatubo released] 17 megatons of sulfur dioxide into the atmosphere, causing global cooling by 0.5 °C (0.9 °F) between 1991–1993

> [It] oxidized in the atmosphere to produce a haze of sulfuric acid droplets, which gradually spread throughout the stratosphere over the year following the eruption

https://en.wikipedia.org/wiki/1991_eruption_of_Mount_Pinatub...

curlftpfs commented on A subpolar-focused stratospheric aerosol injection deployment scenario   iopscience.iop.org/articl... · Posted by u/rntn
mabbo · 3 years ago
What's interesting to me is that there's nothing stopping one country from deciding to do it. Canada, USA, Russia, even Denmark (via Greenland), Finland, Norway, Sweden or any nation near the south pole.

It's a logistics problem, not a technology problem.

Just as there's no legal framework to force countries to not make the climate warmer, the same goes for cooling the climate.

curlftpfs · 3 years ago
This idea is explored in Neal Stephenson's Termination Shock. There was no stopping one crazy billionaire, let alone an entire nation.

https://en.wikipedia.org/wiki/Termination_Shock_(novel)

curlftpfs commented on Blocking web fonts for speed and privacy (2016)   collinmbarrett.com/block-... · Posted by u/behnamoh
qart · 3 years ago
I have been doing this since years but many sites become unusable with FontAwesome blocked. For the time being, I manually unblock fonts on absolutely necessary websites. Any hints on how I can unblock only fonts from FontAwesome, preferably from ublock origin?
curlftpfs · 3 years ago
By domain or filename. Another reason to not use icon fonts.

https://github.blog/2016-02-22-delivering-octicons-with-svg/

curlftpfs commented on The Ethereum merge is done   coindesk.com/tech/2022/09... · Posted by u/mfiguiere
thfuran · 3 years ago
The point of blockchain is to allow people to not use blockchain? I believe I have just now conceived of a more elegant way to achieve that.
curlftpfs · 3 years ago
It's a point of a blockchain; it's opt-in. Much like your credit card's contract.

u/curlftpfs

KarmaCake day67June 22, 2022View Original