Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
darekkay
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
211.
▲
by
darekkay
5y ago
> have a subdirectory contain the web-accessible files You can also separate your git repository from the working directory. I have my git repositories at ~/repositories, with a post-receive hook that checks out the working director
212.
▲
by
darekkay
6y ago
The extra markup is usually worth it. AVIF support is already at 63%, with Firefox coming soon. So ~40% of people will get a few more HTML bytes, but 60% of people might profit from a bigger saving on images.
213.
▲
by
darekkay
6y ago
I've made the same experience: AVIF images sometimes look strange in Firefox (AVIF support behind a feature flag), but they look good in Chrome. I think Firefox might use the OS AVIF decoder, because the images also look strange when I
214.
▲
by
darekkay
6y ago
Yes, AVIF encoding is quite slow. Are you caching/storing the images? Converting 200 images will take a few minutes, but it should be a one-time process, from which other people will benefit.
215.
▲
Web developer's guide to AVIF images
(darekkay.com)
82 points
by
darekkay
6y ago
|
75 comments
216.
▲
by
darekkay
6y ago
I have some of my interesting debugging stories piled up on my blog drafts. One of them was the issue "script not triggered when opened in a new tab". And indeed, there was a 3rd party script on our page that was triggered on ever
217.
▲
by
darekkay
6y ago
It's a trade-off. GitHub comments are free and rather easy to set up and maintain. If I had a highly developer-centric blog or even a blog supporting an open-source project, using GitHub as comments is a perfectly fine solution. But su
218.
▲
by
darekkay
6y ago
Honest question: What separates your tool from the rather established Disqus premium alternatives? Remarkbox, JustComments, CommentBox, HyperComments, GraphComments, FastComments, Hyvor Talk and ReplyBox? Some of those have been around for
219.
▲
by
darekkay
6y ago
Just to clarify what "a long time" means for Glosa: It's been available for around 1 year now.
220.
▲
by
darekkay
6y ago
I'm maintaining a list of commenting systems [1]. It's great to see more alternatives coming up every few months. I've just updated the list with 3 new projects from this thread. [1] https://darekkay.com/blog&
221.
▲
by
darekkay
6y ago
Yes, unfortunately there are many accessibility issues with Hacker News, insufficient contrast ratio being the biggest problem: https://darekkay.com/evaluatory/demo/4.html
222.
▲
by
darekkay
6y ago
Too bad AVIF images are still not supported (only behind a feature flag). Hopefully they will be able to solve the last bugs [1] that prevent this feature from being shipped. [1] https://bugzilla.mozilla.org/show_bug.cgi?id=
223.
▲
by
darekkay
6y ago
I've once learned a method to fold my headphones cable that I cannot find anywhere online. You fold the cable in half, twist the cable lengthwise (imagine turning in one direction on a swing), fold the cable in half again and then twis
224.
▲
by
darekkay
6y ago
There are also tools that check your HTTP headers. While securityheaders checks for Permission-Policy being used, I can imagine it will be improved to check for the "interest-cohort" value in the future. - https://secur
225.
▲
by
darekkay
6y ago
Inoreader lets you follow websites that don't provide an RSS feed. But it's a premium feature.
226.
▲
by
darekkay
6y ago
There's a similar project: https://tiny-helpers.dev/ You can subscribe via RSS to learn about new tools.
227.
▲
by
darekkay
6y ago
> There is no point in getting the M1 Macbook since they will either announce a M1X or even a M2 Macbook this year I've been hearing something similar when I got a PS4 in summer 2019. PS5 is still barely available, and I've had
228.
▲
by
darekkay
6y ago
Not OP, but I've been keeping a "journal" repo for the last 4 months. There's a single dev.md file in there, where I separate each entry with "---". Whenever I encounter an issue or learn something new, I docum
229.
▲
by
darekkay
6y ago
I'm using Static Marks, a tool I wrote. I consider the slightly increased effort of adding new bookmarks a feature, so there's a low noise ratio. https://darekkay.com/static-marks/
230.
▲
by
darekkay
6y ago
> It meants RSS was dead. This has been claimed for years, but it's simply not true: > Still, the sites that matter (to me) do still have RSS feeds :)
231.
▲
by
darekkay
6y ago
The style reminds me a little bit of the Awesomenauts soundtrack
232.
▲
by
darekkay
6y ago
There are quite a lot of options out there: https://darekkay.com/blog/static-site-comments/
233.
▲
by
darekkay
6y ago
Yes, it does: https://muspy.com/
234.
▲
by
darekkay
6y ago
That's great idea. Sounds like a great addition to my own (open-source) Dashboard project: https://dashboard.darekkay.com/
235.
▲
by
darekkay
6y ago
> They say the issue is with syncing multiple offline edits. It's not trivial, but I thought that Notion is now big enough to invest the time here. I've been using OneNote for a long time, and its offline support is great, incl
236.
▲
by
darekkay
6y ago
Using git submodules might work, but it's not very convinient in my experience. I'm now thinking about having a GitHub Action in my private repo that pushes all public posts into a separate public repository automatically
237.
▲
by
darekkay
6y ago
I'm using my own tool, Static Marks: https://darekkay.com/static-marks/
238.
▲
by
darekkay
6y ago
It's free, easy to integrate, many people already have an account. Those were the reasons for me. But in the end, the drawbacks were enough for me to remove Disqus.
239.
▲
by
darekkay
6y ago
My list should give you some ideas: https://darekkay.com/blog/static-site-comments/#self-hosted
240.
▲
by
darekkay
6y ago
I've started collecting different ways to include blog comments a few years ago [1]. After using Disqus for several years, I've removed the comments on my blog and link to social networks instead (mostly Twitter and Mastodon). [1]
More ›