833 karma · joined Feb 20, 2020 (6y ago) · 552 submissions
comment 1mo ago · link · parent
https://www.cs.cmu.edu/~bam/uicourse/05440inter2019/Bill-Atk...
comment 1mo ago · link · parent
53K _long.css
38K _short.css
11K _long.css.br
8.9K _short.css.br
Both, dev and prod, have hashes because that's part of what CSS Modules uses to avoid collisions.Besides download size, smaller names improve parsing speed too.
comment 1mo ago · link · parent
If you use Vite:
css: {
modules: {
generateScopedName: mode === 'production'
? '[hash:base64:8]'
: '[name]__[local]___[hash:base64:5]',
}
}comment 2mo ago · link · parent
One project is a proportional coding font, Camelana, which has left-padded uppercase letters when they are part of a camel case identifier.
Also, it has custom ligatures. e.g. the keywords ‘return and ‘throw look like a sticker with a solid background, so it is easy to spot exit points.
https://github.com/ericfortis/camelana
Another project is TabularEye, which renders some code blocks in columns without editing the whitespace.
https://github.com/ericfortis/tabular-eye
And other little projects like that
comment 2mo ago · link · parent
If you are curious about the use case: https://github.com/ericfortis/aot-fetch-demo/blob/main/optio...
comment 2mo ago · link · parent
True, but not always, I've heard PMs saying: "this was a user-submitted bug", meaning you better fix this ASAP.
But yes, for the most part they don't like it. I recall reporting a bug and then they obfuscated their SPA bundle.
Funny enough, today I spent like an hour thinking: should I report this, should I ever report bugs at all. It was a P0 but I didn't report it, and I noted it as my first time considering giving up on my career.
Last week I reported a list of medium-bugs and I ended with: "I'm not sure if you'll ever read this, so I'm not adding more details that could help you debug, but feel free to reach out…" They responded: "We will share this feedback with the appropriate team. No further action is required on your end. Your ticket 124443 is solved. Please rate us!"
comment 2mo ago · link · parent
That's one of the things I don't like about security scanners, they just check for fetch and friends, and without context, they downgrade your security score.
For example, I have a fully local client-server package that makes no external requests but it gets flagged with "Supply Chain Risk" because it uses `fetch`.
comment 3mo ago · link · parent
A more complex improvement could be analyzing the movement and/or focal point so cuts flow better. For example, if in ClipN the focal point ends at 30%-top,30%-left try to get the starting focus point of ClipN+1 around that area too.
comment 3mo ago · link · parent
- Camelana. A proportional coding font with custom ligatures for `return` and `throw` keywords
- Tabular Eye. IDE plugin for tabularizing mono and non-monospace fonts without adding whitespace
comment 3mo ago · link · parent
WebDAV is a protocol for managing files. So I basically have plain json files I read and overwrite.
GET /mydata.json
PUT /mydata.json
For auth, Basic auth, which is built-in in the module and in browsers. so it’s just a text file with a username and a hashed pwd.On the phone, I “Add to Home Screen” from Safari
For backups, in my home router I have a cron that rsyncs the json files.
The VPS costs $12/mo