HackerTrans
TopNewTrendsCommentsPastAskShowJobs

charlesrocket

no profile record

Submissions

[untitled]

5 points·by charlesrocket·il y a 2 ans·0 comments

Show HN: 2D Matrix Rain in Zig

github.com
1 points·by charlesrocket·il y a 2 ans·0 comments

[untitled]

1 points·by charlesrocket·il y a 2 ans·0 comments

Converting to a Progressive Web App

failsafe.monster
6 points·by charlesrocket·il y a 2 ans·0 comments

Show HN: Halve-Z – a retro theme for Zola

failsafe.monster
2 points·by charlesrocket·il y a 2 ans·6 comments

comments

charlesrocket
·l’année dernière·discuss
Sounds like a good way to separate oneself from a disgusting, greed-driven, and fake environment. Not to mention that for-profit education institutions have zero interest in your skill set—it's your money they want, not your success. I would probably enjoy studying CS in Norway, though.
charlesrocket
·il y a 2 ans·discuss
Anything here now seems like a waste of time, to be honest. And its not like I really care about these internet points (too oldschool maybe).
charlesrocket
·il y a 2 ans·discuss
I could not care less how it “looks”. I never promoted any of my work, regardless of its field, quality or scale—my OCD tells me that good work needs no promotion. But some people started to tell me that this approach might not be very healthy, especially in modern days with the amount of trash being generated every millisecond. So I started to _share_ it with other humans.
charlesrocket
·il y a 2 ans·discuss
Zola is great! Easy to configure, simple workflow, and great docs.
charlesrocket
·il y a 2 ans·discuss
> I found that if you scan your site for CSP headers, none of them shows up

Some scanners ignore them in the meta tag, looking only at HTTP headers (just like some browsers). I thought Netlify would merge meta CSP into an HTTP header, but it seems like this is not the case.
charlesrocket
·il y a 2 ans·discuss
Not sure where Zola can fit dynamic CSP mechanics, but there might be a solution one day: https://www.netlify.com/blog/general-availability-content-se.... I might have figured out how to deploy Cactus with a strict CSP. It can't find the room tho, even when I deploy following the official guide, so this looks like something on their end (waiting for confirmation). It's on the `comments` branch if you want to test my approach https://github.com/charlesrocket/halve-z.

> if your posts are in folders and not an md file

Mandatory sections are probably for the asset colocation https://www.getzola.org/documentation/content/overview/#asse.... It's actually pretty handy; it makes the directory structure cleaner, and asset access is more direct within post pages.
charlesrocket
·il y a 2 ans·discuss
Thank you! Cactus system looks neat, and there should be no issues with strict CSP. I will try to implement it as well.

There is also another interesting approach via emails https://spenc.es/writing/email-as-a-commenting-system/#how-r....