Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
derekzhouzhen
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Build Personal Web Applications
(blog.roastidio.us)
4 points
by
derekzhouzhen
4mo ago
|
1 comments
2.
▲
by
derekzhouzhen
4mo ago
A personal web application is one that is written by me, hosted by me, and have a grand total of one user, me.
3.
▲
by
derekzhouzhen
6mo ago
This is exactly Termux's point, to subvert Android into linux cheaply. Same for MinGW or MSYS2. I want to invest as few as possible on Andriod or Windows, while still able to use them in the way that I prefer.
4.
▲
by
derekzhouzhen
1y ago
How is it different from plain old password? 1) User goes to BAD website and enter credentials 2) BAD website use GOOD website to check if credential is valid 3) Pwned It is just MITM attack. The moment you go to BAD and enter credential (p
5.
▲
by
derekzhouzhen
1y ago
My blog is essentially my journal; no one else reads it. However, knowing someone else _might_ read it is making me spend the effort to write in better style, to watch my language, so I would not be embarrassed by myself. That's the va
6.
▲
by
derekzhouzhen
1y ago
I used to use TRAMP but now I just run terminal emacs through mosh. Everything just work and snappy, if you can live without the emacs GUI.
7.
▲
by
derekzhouzhen
1y ago
Yes, you can kiss reactivity good-bye and just render the whole page on any state change. No, generating HTML string and setting innerHTML is unsafe and slower than necessary. It is better to create DOM elements programmatically. HTML is fo
8.
▲
by
derekzhouzhen
1y ago
You can use shadow-dom without using web-component. web-component and shadow-dom are orthogonal to eachother: * web-component is a way to attache javascript to certain elements. There are other ways to do it, but sometime this way feel clea
9.
▲
by
derekzhouzhen
1y ago
Me too, but you and I cannot afford a faster horse, or even the same horse we once had. The horse they use to offer was an illusion, a bait for the new Tiktok thing. Sooner or later, people will forget that horses once exist.
10.
▲
by
derekzhouzhen
1y ago
The frontend world gave you many fancy toys; but they all come with hidden cost. It is your choice: do you want to stay on or get off this treadmill? My need is modest, so I got off. I rewrote my simple SPA from Svelte to SolidJS to no fram
11.
▲
by
derekzhouzhen
2y ago
If you are this picky, then write your own. That's what I did: https://airss.roastidio.us/ You are welcome to use but don't complain the lack of functionality. I wrote it to suit my own need.
12.
▲
by
derekzhouzhen
2y ago
_realized_ utility. Also, the article is about fully managed Wordpress vs self-hosted (or PaaS hosted) SSG. If the choice is between self-hosted Wordpress vs self-hosted SSG, I bet the outcome will be very different. Now, you may wonder why
13.
▲
by
derekzhouzhen
2y ago
There is no paradox at all: simplicity is beautiful but complexity sells. The author thinks that value come from realized utility. However, in most market segments, value came from perception. With complexity (even useless ones), you can bo
14.
▲
by
derekzhouzhen
2y ago
I wish more people publish negative testimony like you do. It shows guts.
15.
▲
by
derekzhouzhen
2y ago
I feel your pain, but I refuse to cave. Say, 10% of the links fail to load, so what? It is their loss, not mine.
16.
▲
by
derekzhouzhen
2y ago
I think "ethical" in the context of social media means not doing surveillance capitalism. ie: don't cash on user data. Moderation is a orthogonal topic.
17.
▲
by
derekzhouzhen
2y ago
I doubt an ethical social media will ever work. It is either irrelevant or a money black hole.
18.
▲
by
derekzhouzhen
2y ago
Name is misleading. It is not about cookies in general, but 3rd party cookies. Google's own tech doc is here: https://developers.google.com/privacy-sandbox/3pcd/chips you can still enable CHIPS in chrome but
19.
▲
by
derekzhouzhen
2y ago
No. but you can try the search here: https://roastidio.us/search
20.
▲
by
derekzhouzhen
2y ago
> If you put your 10 favourite blogs in there, it'll search just those blogs... 10 feeds will not give you much recall. I have 50K+ feeds, 1M+ posts, and it just starts to give somewhat respectable results.
21.
▲
by
derekzhouzhen
3y ago
If I do not want contributor, then I'd just use plain git through SSH on my own VPS.
22.
▲
by
derekzhouzhen
3y ago
If you don't want negative feedback, don't publish anything. You need the negative feedback; what you don't want is toxic feedback not aiming at you, but at other readers, and try to steal eyeballs for themselves.
23.
▲
by
derekzhouzhen
3y ago
Neat. A simple enhancement could be letting the server to cache the content for a short period of time, and push the cached webpage in the static rendering. This way: * non js enabled clients can see the page, think robots, SEO, etc. * js e
24.
▲
by
derekzhouzhen
3y ago
Yes, this is a blatant ad, and an ad for a very unethical service no less. However, they are an enemy of my enemy (Gmail). I don't want to have anything to do with them but I wish them luck.
25.
▲
by
derekzhouzhen
3y ago
My point is: the api of of emacs is fairly stable. And your point is? I have ~80 lines outside the customize variable block added by emacs. Nothing too fancy but there are a few hot keys and functions that I can't live without.
26.
▲
by
derekzhouzhen
3y ago
> maintenance of the .emacs files What maintenance? I have not changed a single line of my .emacs file for 3 years.
27.
▲
by
derekzhouzhen
3y ago
Your 10k items are probably only 2MB. Spending 5s to parse a 2MB text file is very slow, even for Perl. If you are distributing your file to users, that's 5s for each one of them. If you convert it to html and distribute the html file,
28.
▲
by
derekzhouzhen
3y ago
No, Markdown is a format for authoring HTML. It makes a very bad interchange format because the it leaves too much ambiguity in parsing. Also, parsing speed of Markdown is much slower than the parsing speed of a strictly conforming XML file
29.
▲
by
derekzhouzhen
3y ago
I'd even argue all html modals are bad designs; including alerts, forms, and confirmations. HTML modals are poor emulations of native dialog boxes; they try to address rendering performance problems that no longer exist.
30.
▲
by
derekzhouzhen
3y ago
For working on remote machines, I need 3 things: * show multiple terminals on screen. The best solution is to use a tiling window manager. Both MacOS and Windows have limited windows tiling capabilities. * run long term TUI applications (li
More ›