惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

S
Schneier on Security
The Register - Security
The Register - Security
月光博客
月光博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The GitHub Blog
The GitHub Blog
博客园 - 司徒正美
罗磊的独立博客
U
Unit 42
S
SegmentFault 最新的问题
Y
Y Combinator Blog
博客园_首页
Hugging Face - Blog
Hugging Face - Blog
J
Java Code Geeks
Schneier on Security
Schneier on Security
Know Your Adversary
Know Your Adversary
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Simon Willison's Weblog
Simon Willison's Weblog
V
Vulnerabilities – Threatpost
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
阮一峰的网络日志
阮一峰的网络日志
The Hacker News
The Hacker News
博客园 - 叶小钗
C
Cybersecurity and Infrastructure Security Agency CISA
Spread Privacy
Spread Privacy
L
LINUX DO - 热门话题
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Latest news
Latest news
L
Lohrmann on Cybersecurity
A
About on SuperTechFans
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
S
Securelist
A
Arctic Wolf
D
Darknet – Hacking Tools, Hacker News & Cyber Security
T
Threatpost
Scott Helme
Scott Helme
博客园 - 聂微东
博客园 - 【当耐特】
T
Tenable Blog
I
Intezer
D
DataBreaches.Net
B
Blog RSS Feed
Security Latest
Security Latest
C
Cisco Blogs
T
Tor Project blog
N
Netflix TechBlog - Medium

endtimes.dev

Happy new year | endtimes.dev why lowercase letters save data Practical betterments | endtimes.dev Short posts and some site updates Input Output | endtimes.dev Actually, dark mode can save the planet Why your website should be under 14kB in size HTML and CSS only multiple color scheme picker Why your website should work without Javascript. An HTML and CSS only dark-mode toggle button. you can use css to remove the double-tap zoom feature on iOs Can Dark Mode Save Battery Life and Human Civilzation? Your DNS has a significant impact on site speed. Add spaces to the dock on MacOS You can leave out <html>, <head>, and <body> tags. Listen for changes between dark and light mode with javascript Use a keyboard shortcut to quickly toggle light and dark mode on MacOs. Why Your Website Should Use Dithered Images You can restore the startup chimes on MacOS Emoji Clipboard | endtimes.dev You can use Emojis as Favicons .dev and HSTS preload | endtimes.dev Prod — Block Distractions. Achieve your goals. Pattern generator | endtimes.dev Green Quarantine | endtimes.dev Qwitter Bot | endtimes.dev
Missing Dice | endtimes.dev
2021-02-22 · via endtimes.dev

View the project: missingdice.com

The last few months I've struggled greatly with my depression. In my depressed state I find work very difficult. I cannot concentrate, my creativity disappears, and — most importantly — the whole idea of work feels pointless.

So, while recovering from this episode, I chose to start a new project — somthing simple with low stakes.

I decided on making a website with tools for board game players — like online dice and countdown timers.

So, say someone wants to play backgammon, but they're missing dice, they'd go to this website and use virtual dice instead. Hardly an original idea, but I thought I could make it with some novel features.

I decided to start with a simple dice rolling tool, but it had to be better than the competition.

The competition #

Rather than list all the competition and why they're good or bad. I'll just write some issues they share, and things I wanted to do better.

Look and Feel #

The tools that come up when you google "roll dice" are mostly pretty ugly. So I could make something prettier.

Accessibility #

This is a given. Unsurprisingly many of the other websites are not broadly accessible.

Page Speed / File Size #

The first results that come up were made in the 90s and so have a pretty small file size. Between ~30kb and ~100kb.

So I chose the lower end as my budget. My tool needed to be less that 30kb. I'd also reduce the number of http requests, and some other speed optimizations. It had to be lighting fast.

No Javascript #

Some of the results work without javascript. Not many people use the web without javascript, but for the few that do these websites have the edge.

In order to give the best experience to as many people as possible my site would need a fallback for people with javascript disabled.

Mobile #

Amazingly some of these websites are not responsive on mobile. So mine would be.

Dark Mode #

None of the competition websites support dark mode. So my site would be responsive to color scheme preferences. (as well as having some other interesting themes).

Trackers and Privacy #

Like most of the web, the competition sites have tracking, and ads, and all that junk. I'd simply not do that. I've set up some basic server-side analytics and that's it.

The site #

To see the result check out missingdice.com. It's still a work in progress.

Over the next few weeks I'll be writing more about things I learned making it. Including some novel features it has and how they work.

Including...

  • a css and html only color scheme toggle button.
  • a no javascript fallback built with netlify functions.
  • svg background patterns with color inheritance.
  • how to stop unwanted double-click zoom on iOs devices.
  • how the button with the stripey shadow works.
  • how to make a nice number input with a noscript fallback.
  • a bunch of small data saving things I did to stay under the 30kb budget.

Let me know what you think of the project, what can be improved, and what tools you'd like to see on the site. Thanks for reading.

published
22 Feb 2021
modified
22 Feb 2021
author
Nathaniel
tags
posts project missing dice