HackerTrans
TopNewTrendsCommentsPastAskShowJobs

sushidev

38 karmajoined 15 years ago

Submissions

Why AI Makes Us So Angry

medium.com
4 points·by sushidev·last month·2 comments

Ask HN: WireGuard Traffic Under Load

1 points·by sushidev·last year·5 comments

comments

sushidev
·6 days ago·discuss
Can I use this to release my own games, and does this release includes everything needed to build games like EVE online?
sushidev
·last month·discuss
A short opinion piece. I hope it would help others as much as it helped me on the way to uncovering these aspects and realizing the actual balance of these here.
sushidev
·2 months ago·discuss
Ha. Exactly. Check out some already existing works on this subject go deeper on the psychology and social effects: https://medium.com/@livestock.dev/we-were-promised-liberatio...
sushidev
·5 months ago·discuss
I would say you shouldn't apologize, that's what ai tools are for, to help us humans. Instead of rewriting manually, try a specialized for writing tool such as bookswriter.xyz or sudowrite
sushidev
·7 months ago·discuss
Are you serious?
sushidev
·11 months ago·discuss
One more data point: One can run the app with an agent, and then run actions in that app to execute the relevant code paths. This will generate the reflection json file automatically.
sushidev
·last year·discuss
I built an internal monitoring tool that tracks new blockchain software releases and made it publicly available as a website. It's particularly useful for people who run and maintain blockchain nodes: http://chainrelease.info
sushidev
·last year·discuss
I've prepared a quick one using reverse port forwarding and a local temp registry. In case anyone finds it useful:

  #!/bin/bash
  set -euo pipefail
  
  IMAGE_NAME="my-app"
  IMAGE_TAG="latest"
  
  # A temporary Docker registry that runs on your local machine during deployment.
  LOCAL_REGISTRY="localhost:5000"
  REMOTE_IMAGE_NAME="${LOCAL_REGISTRY}/${IMAGE_NAME}:${IMAGE_TAG}"
  REGISTRY_CONTAINER_NAME="temp-deploy-registry"
  
  # SSH connection details.
  # The jump host is an intermediary server. Remove `-J "${JUMP_HOST}"` if not needed.
  JUMP_HOST="[email protected]"
  PROD_HOST="[email protected]"
  PROD_PORT="22" # Standard SSH port
  
  # --- Script Logic ---
  
  # Cleanup function to remove the temporary registry container on exit.
  cleanup() {
      echo "Cleaning up temporary Docker registry container..."
      docker stop "${REGISTRY_CONTAINER_NAME}" >/dev/null 2>&1 || true
      docker rm "${REGISTRY_CONTAINER_NAME}" >/dev/null 2>&1 || true
      echo "Cleanup complete."
  }
  
  # Run cleanup on any script exit.
  trap cleanup EXIT
  
  # Start the temporary Docker registry.
  echo "Starting temporary Docker registry..."
  docker run -d -p 5000:5000 --name "${REGISTRY_CONTAINER_NAME}" registry:2
  sleep 3 # Give the registry a moment to start.
  
  # Step 1: Tag and push the image to the local registry.
  echo "Tagging and pushing image to local registry..."
  docker tag "${IMAGE_NAME}:${IMAGE_TAG}" "${REMOTE_IMAGE_NAME}"
  docker push "${REMOTE_IMAGE_NAME}"
  
  # Step 2: Connect to the production server and deploy.
  # The `-R` flag creates a reverse SSH tunnel, allowing the remote host
  # to connect back to `localhost:5000` on your machine.
  echo "Executing deployment command on production server..."
  ssh -J "${JUMP_HOST}" "${PROD_HOST}" -p "${PROD_PORT}" -R 5000:localhost:5000 \
    "docker pull ${REMOTE_IMAGE_NAME} && \
     docker tag ${REMOTE_IMAGE_NAME} ${IMAGE_NAME}:${IMAGE_TAG} && \
     systemctl restart ${IMAGE_NAME} && \
     docker system prune --force"
  
  echo "Deployment finished successfully."
sushidev
·last year·discuss
Cloudflare blocked my access from Safari ios
sushidev
·last year·discuss
I would have liked to see more code examples in the article.
sushidev
·last year·discuss
So I could use this to index i.e. a fiction book in a vector db, right? And the semantic chunking will possibly provide better results at query time for rag, did I understand that correctly?
sushidev
·last year·discuss
Looks like not much interest in this here. I wonder why?

Also I would love to see agent frameworks in java and other languages as well.
sushidev
·last year·discuss
I’m using kasm/webtop containers to work remotely via the browser. Is there something similar using rdp/ironrdp?
sushidev
·last year·discuss
I think mine is broke as well. Where to join the class action lawsuit?
sushidev
·last year·discuss
I tried to use desqview but it was too slow on my 386 33mhz machine… not sure how much RAM it had back then but I recall it was the bottleneck and swapping to disk caused everything to lag.
sushidev
·last year·discuss
Who is the publisher? Isn’t it steam or the author itself?
sushidev
·last year·discuss
Ten times slower than other types of traffic such as tcp
sushidev
·last year·discuss
Yeah. But I observed udp wg traffic 10 times slower. So I would like to know if it’s a known phenomenon to have udp traffic put on serious throttle?
sushidev
·last year·discuss
Seems interesting but also dead for 10 years?
sushidev
·last year·discuss
Please give me an unbiased summary of the facts