HackerTrans
TopNewTrendsCommentsPastAskShowJobs

theowenyoung

no profile record

Submissions

AI Twitter's favourite lie: everyone wants to be a developer

joanwestenberg.com
12 points·by theowenyoung·5 mesi fa·0 comments

Show HN: Artab – Get Inspired by the Greatest Artworks in Every New Tab

artab.owenyoung.com
3 points·by theowenyoung·2 anni fa·0 comments

The Original Sin of Free Software (2019)

lipu.dgold.eu
3 points·by theowenyoung·2 anni fa·0 comments

Show HN: I made myself a HN site in English and Chinese, so I can read more HN

hnnew.buzzing.cc
3 points·by theowenyoung·4 anni fa·0 comments

Show HN: Track Awesome List – Get Awesome List Updates Daily

github.com
3 points·by theowenyoung·4 anni fa·0 comments

Ask HN: Our personal domain name will expire when we die, how should we do?

4 points·by theowenyoung·4 anni fa·7 comments

Rash – YAML configuration as bash written by rust

github.com
5 points·by theowenyoung·4 anni fa·0 comments

Toml-bombadil – A dotfile manager with templating, multiple profile

github.com
1 points·by theowenyoung·4 anni fa·0 comments

FetchApply – Bash Ansible Alternative, Transparent Server Configuration

github.com
2 points·by theowenyoung·4 anni fa·0 comments

comments

theowenyoung
·2 mesi fa·discuss
[dead]
theowenyoung
·2 mesi fa·discuss
I'm working on something related — Jant [0], an open-source blog system I'm building.

One of the features is that every edit auto-syncs to a GitHub repo as Markdown, and the repo itself is a full Hugo site you can build independently. So the backup is always there without thinking about it.

Not released yet but almost done. Repo is public if you want to take a look.

[0]: https://github.com/jant-me/jant/
theowenyoung
·3 anni fa·discuss
I use https://hn.buzzing.cc/ to browser Hacker News in both Chinese and English.
theowenyoung
·3 anni fa·discuss
JSONBin: https://github.com/theowenyoung/blog/tree/main/scripts/jsonb...

CronBin: https://github.com/theowenyoung/blog/tree/main/scripts/cronb...

Both scripts are deployed as single file js in the free tier of Cloudflare's Workers, and my personal workflow relies on these two simple services for all persistent data storage and scheduled tasks.
theowenyoung
·4 anni fa·discuss
I like it. This basically meets all the features I want, can you share the reasons for not using sqlite for the database but sed?
theowenyoung
·4 anni fa·discuss
I have the same problem, so I use my personal domain [0] to redirect to repos page, it works great. here is the javascript code:

    async function handleRequest(request) {
      const requestUrl = new URL(request.url);
      let target = "https://github.com/theowenyoung?tab=repositories"
      if(requestUrl.pathname!=="/"){
        target = "https://github.com/theowenyoung"+requestUrl.pathname
      }
      return Response.redirect(target, 302);
    }
    addEventListener('fetch', async event => {
      event.respondWith(handleRequest(event.request));
    });
[0]: https://git.owenyoung.com
theowenyoung
·4 anni fa·discuss
Very great presentation! I made a little toy some time ago [1] with YAML files compiled into Javascript code, in Lisp style, basically along the same lines as the article, and I use this project to manage my dotfiles. The basic syntax probably looks like this:

  - use: def
    id: obj
    args:
      list:
        - Hello
        - true
      foo:
        cat: 10
  - use: console.log
    args:
      - ${obj.list[0]} World
      - ${obj.foo.cat}
      - ${JSON.stringify(obj.foo)}
[1]: https://github.com/yamlscript/yamlscript
theowenyoung
·4 anni fa·discuss
Good idea, it seems that I can start a 301 redirecting before I die, If all goes well, search engines have a 10-year window to navigate to the new free hosting site.
theowenyoung
·4 anni fa·discuss
I don't think my personal website is worth such a huge cost to maintain after my death, I just don't think it's a good thing to let the links on my personal website become invalid after my death.
theowenyoung
·4 anni fa·discuss
https://hn.algolia.com also down now.
theowenyoung
·4 anni fa·discuss
All sites of mine are down now.
theowenyoung
·4 anni fa·discuss
Can I host multiple sites in it? Like I have a VPS, but I have 4 sites in it, can I just pack it to 1 binary file?
theowenyoung
·4 anni fa·discuss
https://www.owenyoung.com/en/

https://www.owenyoung.com/

I've used Zola to build both Chinese and English versions of my personal website, and one of my favorite parts is that I show the word count of the articles I've written so far in the header.

No Javascript, with a simple CSS file.