logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git

Status-update-February-2021.html (2374B)


  1. ---
  2. title: Status update, February 2021
  3. date: 2021-02-15
  4. outputs: [html, gemtext]
  5. ---
  6. <p>
  7. Salutations! It's officially a year of pandemic life. I hear the vaccine
  8. distribution is going well, so hopefully there won't be another year of this. In
  9. the meanwhile, I've been working hard on free software, what with having little
  10. else to do. However, I'm afraid I cannot tell you about most of it!
  11. <p>
  12. I've been working on todo.sr.ht's GraphQL API, and it's going quite well. I hope
  13. to ship a working read-only version later this month. There have been a number
  14. of bug fixes and rote maintenance work on sr.ht as well, but nothing
  15. particularly exciting. We did upgrade everything for Alpine 3.13, which went off
  16. without a hitch. Anyway, I'll go over the minor details in the sr.ht "what's
  17. cooking" post later today.
  18. <p>
  19. The rest of the progress was made in secret. Secret! You will have to live in
  20. ignorance for now. Sorry!
  21. <details>
  22. <summary>(unless you click this)</summary>
  23. <p>Here's a peek at our progress:</p>
  24. <pre>
  25. use fmt;
  26. use io;
  27. use os;
  28. export fn main() void = {
  29. if (len(os::args) == 1) match (io::copy(os::stdout, os::stdin)) {
  30. err: io::error =&gt; fmt::fatal("Error copying &lt;stdin&gt;: {}",
  31. io::errstr(err)),
  32. size =&gt; return,
  33. };
  34. for (let i = 1z; i &lt; len(os::args); i += 1) {
  35. let f = match (os::open(os::args[i], io::mode::RDONLY)) {
  36. s: *io::stream =&gt; s,
  37. err: io::error =&gt; fmt::fatal("Error opening {}: {}",
  38. os::args[i], io::errstr(err)),
  39. };
  40. defer io::close(f);
  41. match (io::copy(os::stdout, f)) {
  42. err: io::error =&gt; fmt::fatal("Error copying {}: {}",
  43. os::args[i], io::errstr(err)),
  44. size =&gt; void,
  45. };
  46. };
  47. };
  48. </pre>
  49. <p>
  50. I'm looking for a few volunteers to get involved and help flesh out the standard
  51. library. If you are interested, please email
  52. <a href="mailto:sir@cmpwn.com">sir@cmpwn.com</a> to express your interest,
  53. along with your sr.ht username and a few words about your systems programming
  54. experience &mdash; languages you're comfortable with, projects you've worked
  55. on, platforms you grok, etc.
  56. </p>
  57. </details>