Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
darekkay
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
darekkay
6y ago
I wish this would be the case. The button will not be focusable, so we need to add tabindex="0". A disabled div with role="button" is not handled as disabled, so we need to take care of that. Keyboard space/enter wi
242.
▲
by
darekkay
6y ago
As a side note: you can use Nitter, an alternative Twitter client, which provides RSS support out of the box: https://nitter.net/search/rss?f=tweets&q=from%3Adarek_kay&e-...
243.
▲
by
darekkay
6y ago
Some constructive tips on making the design more accessible/inclusive: - "gray-3" on white has a really low contrast ratio (confirmed by others in this thread) - remove "maximum-scale=1" from your viewport meta tag
244.
▲
by
darekkay
6y ago
My solution is to use browser bookmarks as my inbox and my own yaml-based tool for archiving links only. For me, only a few links are actually worth keeping long-term.
245.
▲
by
darekkay
6y ago
I've gathered some more alternatives for static site comments on my blog [1] (ironically, I didn't include comments on my own blog) [1] https://darekkay.com/blog/static-site-comments/
246.
▲
by
darekkay
6y ago
I wrote a userscript until a Dark Mode is supported natively: https://github.com/darekkay/config-files/blob/20b5858ff7a464...
247.
▲
by
darekkay
6y ago
Following blogs was the initial reason, but now I use it also to 1. follow top HN threads (hnbest) 2. follow GitHub releases (native support) 3. follow Twitter users (via Nitter) 4. follow YouTube users (native support) 5. follow new Reddit
248.
▲
by
darekkay
6y ago
It's totally possible to create accessible SVGs [1], you "just" need to provide a text alternative. The challenge is that there is not the _best_ implementation out there and it might be problematic for large contents wrapped
249.
▲
by
darekkay
6y ago
I don't think something like this will happen, because GitHub Actions and GitLab CI work quite differently. But maybe there will be a migration tool from one to the other.
250.
▲
by
darekkay
6y ago
I have written my own tool, StaticMarks[0]. I maintain my bookmarks in plain YAML files and generate a static web app on every change. [0] https://darekkay.com/static-marks/
251.
▲
by
darekkay
6y ago
In 2014, I have written a just for fun plugin in about 2 hours (check out my write-up [1]). I've followed the "How to make an IntelliJ IDEA plugin in less than 30 minutes" [2] guide back then. Unfortunately, this guide seems
252.
▲
by
darekkay
6y ago
Not sure about Vue, but in React the simplest thing you could do is to use ReactDOMServer.renderToStaticMarkup(). You can develop your whole "app" in React and then create a JS-less HTML output. There's also Charge [1], a Rea
253.
▲
by
darekkay
6y ago
> If you extract components then you require JS Only for interactive components. You can use PHP or a static site generator and create components with no runtime JS at all.
254.
▲
by
darekkay
6y ago
The answer to your question is the actual confusion regarding "separation of concerns" in HTML and CSS. You can do what you've described with Tailwind: check out @apply. But now you still have the issue of coming up with CSS
255.
▲
by
darekkay
6y ago
Start with going through the settings [1]. You will learn some new things along the way. There's also a great WebStorm Guide [2], with many tips applicable to other languages as well. [1] https://darekkay.com/blog/
256.
▲
by
darekkay
6y ago
> I'm not an idiot, but I don't fully understand git. I am coding for a living, and I use git every day. I probably could sit down for a couple of days and fully understand how git works, but I've never needed it, I unders
257.
▲
by
darekkay
6y ago
I can relate, and I don't think there's a way around learning Git properly. Here's a quote from a post of mine: > Version control is an underrated skill. Most software engineers use it daily, and yet, many are not willing
258.
▲
by
darekkay
6y ago
> I want my personal history to be the truth, not some convenient fiction. I am mostly using the Git history when going through past changes. Why does this line do X? I just git blame this line and see exactly what happened. This is the
259.
▲
by
darekkay
6y ago
It's a good and concise summary. Here's also a more in-depth article: https://www.a11yproject.com/posts/2020-08-20-an-indepth-guid...
260.
▲
by
darekkay
6y ago
> Where are you in terms of your development? From the GitHub repository (I should copy this information to the actual documentation as well): > The project is under active development. While it is live already, I consider the status
261.
▲
by
darekkay
6y ago
I'm building such a tool myself [0] and I've been gathering similar tools for some time now - you might find those two especially useful for your use case: - https://dev.to/craigcarlyle/show-dev-i-built-a-dash
262.
▲
by
darekkay
6y ago
Official response: > This copy does not reflect our policy - thank you for bringing this to our attention, and we’re currently fixing the mistake. Any private presentations created during your trial or paid subscription will remain priva
263.
▲
by
darekkay
6y ago
This is from a Travis CI mail I got today: > You have 1,000 credits left - these will begin counting down automatically as soon as you run your first build. > You can use your credits to build on both private and open-source repositor
264.
▲
by
darekkay
6y ago
I've been using GitLab CI and Travis CI interchangeably. But the recent cut to 400 pipeline minutes on GitLab CI might make it less attractive than Travis CI, even after the current change. EDIT: Travis seems to take 10 credits per min
265.
▲
by
darekkay
6y ago
Nice catch - I didn't expect the examples to somehow contradict the general statement from the same section. TIL.
266.
▲
by
darekkay
6y ago
> Unless they (...) operate in China Exactly. If you're operating in the EU, you are bound by the EU laws. But "operating" doesn't mean you have to sell something: > The GDPR applies to US businesses, regardless of
267.
▲
by
darekkay
6y ago
This is already the case. Yes, you have to comply with CCP laws for _China residents_ if you want to have your website available in China. It doesn't say you have to apply the laws to all people around the world. But GDPR vs. China isn
268.
▲
by
darekkay
6y ago
GDPR doesn't depend on whether you're selling something. Just visiting the website from the EU is enough to require the business to comply with the privacy laws.
269.
▲
by
darekkay
6y ago
It's probably a "do what I tell, not what I do". But it hurts their credibility nonetheless.
270.
▲
Create React App 4.0
(github.com)
62 points
by
darekkay
6y ago
|
19 comments
More ›