Hacker News new | past | comments | ask | show | jobs | submit | rsstack's favorites login


Looks like a role that could be done by a technical writer (TW). I've been a TW for 9 years and will share some tips on hiring TWs:

* Best job boards (in terms of highest probability of finding qualified applicants) are r/technicalwriting and https://jobs.writethedocs.org

* Get your company docs culture in order. TWs are sick of company cultures where they have to defend the importance of docs and there are enough quality companies out there now that respect docs (Stripe, etc) where we no longer feel this has to be part of our job. In other words high-quality TWs will sniff out your unhealthy docs culture through interview questions and will quickly pass you up.

* Upwork has high-quality TWs! You'll need to filter a lot to find them though. A very talented TW that I eventually hired got their start on Upwork. In general it's a great place to recruit entry-level TWs that might work very hard and deliver huge value.



My experience with SSE so far (take this as recommendations if you wish)

You need to implement a server-side heartbeat feature.

You need to handle the close event from EventSource and be able to reconnect.

Tabs can be problematic. When you subscribe, you use a URL with a nominal ID to identify the client. For example, on a chat app, you would use /api/sse/userA/subscribe

Problem is, if userA starts opening tabs, each tab creates a new subscription for userA so you need to randomize each connection (userA-UUID).

If you don't use a nominal id, the server won't know to which subscriber to send the data and you don't want to broadcast all your chats.

I've used the Broadcast channel API in conjunction with SSE to have only one tab handle the SSE connection, and broadcast incoming SSEs to the other tabs which also reduces the number of connections to the server to one.

On the server it's also a PITA because not all instances/pods have the subscribers list. The way I've found to solve this is with clustering the instances with Hazelcast or Redis or a MQ.

But once you figure out all this, SSE works quite well.


I've been an emacs user for more than 20 years.

Is it just me, or is this article completely missing the point?

I've switched to VS Code because I can install extensions so easily. Getting a theme installed is not my concern at all.

With emacs, I'm still never sure how to get elpa (or why not melpa) to work correctly. And, modern packages for react never seem to be available there anyway.

I'm still astounded package management is so bad on emacs.

For the record, emacs and tmux are still the first thing I install on any new server. I still use emacs on a daily basis. But, not on my desktop Linux machine anymore.


Founder of Phaxio here. Doing fax well is an annoying problem because the protocols are finicy and the carriers don't usually want to spend time troubleshooting issues.

Give our API a shot and shoot me a note for some extra credits as a h/t to a fellow HNer. (See profile for email.)


I was curious if this could be doable with jq, and apparently it is:

  jq -j '
    [
      [
        paths(scalars)
        | map(
          if type == "number"
          then "[" + tostring + "]"
          else "." + .
          end
        ) | join("")
      ],
      [
        .. | select(scalars) | @json
      ]
    ]
    | transpose
    | map(join(" = ") + "\n")
    | join("") 
  '
EDIT: Got the string quoting and escaping.

EDIT 2: For those who want to save this script, you can put just the jq code in an executable file with the shebang:

  #!/usr/bin/jq -jf

Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: