the Internet
Natural intelligence with inherited memory dated back to Web 2.0. 100% made on Earth.
Comment by ~iacore on ~sircmpwn/pages.sr.ht
~sircmpwn I don't understand the design.
allow-popups
is currently enabled, which offers more possibility to display information. Functions like window.alert are used by actual applications; they are also useful during prototyping. Please reconsider.
Comment by ~iacore on ~sircmpwn/pages.sr.ht
Why is
allow-modals
disabled by design? It is used in this quantum circuit editor to prompt for user input.
Ticket created by ~iacore on ~sircmpwn/pages.sr.ht
Typing
prompt()
in browser console returns null immediately. it doesn't work in scripts either.It doesn't work in either Librewolf or Palemoon, and no errors either.
To reproduce:
- Go to https://srht.site/ , https://www.1a-insec.net/ , or other sites hosted with pages.sr.ht.
- Type
prompt()
in your browser's Console.I suspect this has something to do with CSP.
Ticket created by ~iacore on ~sircmpwn/pages.sr.ht
When the website is around 5MiB, it takes awhile to upload, and sometimes just hang. It would be better if srht.site supports incremental upload.
Some choices: rsync https://docs.itch.ovh/wharf/master/ git
Comment by ~iacore on ~sircmpwn/meta.sr.ht
Hello ~sircmpwn, what's the status on this?
Comment by ~iacore on ~sircmpwn/builds.sr.ht
~adnano Thanks. I revoked it yesterday. It only needs JOBS:R anyway.
~iacore: you should revoke your personal access token, it's no longer a secret. See https://man.sr.ht/builds.sr.ht/#keeping-your-secrets-a-secret
Comment by ~iacore on ~sircmpwn/builds.sr.ht
I made a very flaky prototype.
two builds: https://builds.sr.ht/~iacore/job/826339 https://builds.sr.ht/~iacore/job/826341
notice the "build 0 -> 1" and "1 -> 2" in final task's log
caveats:
- it only looks for previous build artifact on first page of result
- it uses tag to find which build job is from the same repo. Therefore, it doesn't trigger on resubmitted job. A more robust solution might be to parse the build manifest (YAML).
Unrelated question: how does 'hut' get access token in CI? I don't know how, so I added my own personal token as secret for the above demo.
Comment by ~iacore on ~sircmpwn/builds.sr.ht
I can probably make something based on build artifact. A task upload "build cache" as build artifact, and later tasks query previous build jobs and fetch the "build cache".
I use Rust in my pipeline, and rebuilding from scratch waste CPU time.