Better HN
topnewbestaskshowjobs
Log inSign up

patabyte

303 karma · joined Dec 17, 2013 (12y ago) · 91 submissions

builder of things; thinker of thoughts
Submissions

comment 2mo ago · link · parent

This is a wonderful idea - didnt know I was looking for this until I started browsing. I found it helpful with surfacing that which I didnt-know-I-didnt-know.

Thank you for putting this together!

comment 3mo ago · link · parent

I'm so glad the new uuid package landed - it's overdue but a very welcome addition! I've already replaced github.com/google/uuid with `uuid` in several projects

comment 4mo ago · link · parent

My trust in claude code is slowly being eroded and I'm close to running it exclusively in vms on device..

comment 4mo ago · link · parent

More or less, but most harnesses will rely on tools such as grep to only read portions of files. For even a small sized repo, only a small portion would be tokenized and uploaded

comment 4mo ago · link · parent

> With Codex technology built-in, ChatGPT can now move beyond answering questions to getting real work done across web, mobile, and desktop.

This looks like OpenAI catching up to Anthropic's Cowork.

comment 5mo ago · link · parent

This seems roughly similar to Google's Cloud Run gen2 instance types. My understanding is with the second generation, they are running microvms which are bootstrapped from a container image.

comment 7mo ago · link · parent

Interesting, for me `shift+enter` hasnt worked, but `option+enter` does give me new lines in Claude Code's promptbox inside tmux on MacOS.

comment 8mo ago · link · parent

I'm really interested to learn more about the work on the official Rust frontend - do you have any links to share by chance?

9.

Show HN: SRD, a simple DNS-driven HTTP redirect service(github.com ↗)

3 points · by patabyte · 8mo ago · discuss

comment 8mo ago · link · parent

Interesting - I run a nearly identical set, with many TLDs configured in `/etc/resolver/X` and dnsmasq handling the resolve and I have not had a single issue.

the resolver confs all contain this content:

    # /etc/resolver/example-private
    nameserver: 127.0.0.1
    domain example-private
I noticed in the author's bug report they do not include `domain`, which is documented in `man 5 resolver` as:

    # The domain directive is only necessary, if your local
    # router advertises something like localdomain and you have
    # set up your hostnames via an external domain.
In the real world though, I've found the `domain` setting to be required nearly every time. I wonder if adding it will resolve the issue?

comment 8mo ago · link · parent

SOPS with Age is simple, and simple is good. I strongly recommend this approach.

comment 10mo ago · link · parent

I've been having great success with LLMs generating Mermaid diagrams and flowcharts from a repo. Claude Code and Cursor both do consistently great jobs. For example: `generate a mermaid swimlanes diagram of the XX logic flow`.

comment 1y ago · link · parent

> which every old-school Linuxer should be able to do in their sleep.

Oof, this hit home, hah.

14.

Ultra-lightweight in browser Postman replacement(app.echoapi.com ↗)

1 points · by pmccarren · 2y ago · discuss

comment 2y ago · link · parent

s/lazy/efficient/g :)

comment 2y ago · link · parent

> CertManager is on strike and certificate has expired

Had a good chuckle here, hah.

comment 2y ago · link · parent

I too have been using sops for years, and agree -- dotenvx encryption seems very similar to sops.

I'd prefer an integration between dotevnx and sops where dotevnx handles the UX of public env and injection, while leveraging sops for secret management and retrieval. Additionally, being able to have multiple keys for different actors is important.

Having a single `.env.keys` file feels risky and error prone. dotenvx encourages adding your various env files, such as `.env.production`, to vcs, and you're one simple mistake away from committing your keyfile and having a bad day.

If sops is not to be integrated, dotenvx could take some inspiration where the main key is encrypted in the secrets file itself, and you can define multiple age key recipients, each of which can then decrypt the main key.

comment 3y ago · link · parent

> Brig. Gen. Pat Ryder, Pentagon press secretary, told reporters Friday that an F-22 fighter aircraft based at Joint Base Elmendorf-Richardson shot down the object using the same type of missile used to take down the balloon nearly a week ago.[0]

[0] https://apnews.com/article/pentagon-shoots-down-unknown-flyi...

comment 4y ago · link · parent

Shameless plug - I've been building the startup Wedge[0]. In addition to helping prevent application fraud, I deeply believe applicants are _people_ and have more to share beyond a resume.

We enable companies to asynchronously collect a short series of video responses from an applicant either at application time or later in the process.

[0]https://www.wedgehr.com/product

comment 5y ago · link · parent

Yep, rather straight-forward. Little bit of iptables forwarding and you're all set:

  echo 1 > /proc/sys/net/ipv4/ip_forward
  iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT
  iptables -A FORWARD -i wlan0 -o eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
  iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
I'd recommend wireguard[0] in preference to openvpn.

refs: [0]https://www.wireguard.com/

comment 5y ago · link · parent

That is very intriguing.

The location of injection site was spot on. However, I'm unsure if there are other factors at work beyond specifically location

comment 5y ago · link · parent

Pure, unadulterated speculation:

It felt like the mRNA took hold in both my arm, _and_ my heart. Which given the proximity and paths between, is not entirely surprising.

It felt like the vaccine entered my bloodstream and was taken up, in part, by the heart. Which then started making spike protein and soliciting an immune response.

I'd really love to learn more about this, but haven't been able to find any good resources. If anyone can point me in the right direction, I'm all ears!

comment 5y ago · link · parent

Anecdote: I too experienced this reaction, albeit after the first dose.

Noticeable but not significant heart pain beginning approximately 4 hours after getting the first vaccine.

Speaking with medical professionals, they said symptoms should improve with time, and they have nearly completely across the 1.5 months since.

Unsure if worth noting, but I had very strong immune responses to both the first and second doses.

comment 5y ago · link · parent

for fans of tmux, I'm partial towards tmate[0], instant tmux session sharing over ssh, optionally through a relay

refs: [0]https://tmate.io

comment 5y ago · link · parent

> Google has made a deal for access to patient records from HCA, which which operates 181 hospitals and more than 2,000 healthcare sites in 21 states, _so the tech company can develop healthcare algorithms_.

comment 5y ago · link · parent

I'm a huge fan of croc! Even just for the sake of a single binary, but there's so much more to love about it.

comment 5y ago · link · parent

I'm a huge fan of croc[0]. Very similar to Magic Wormhole, but a bit more flexible and written in go.

Straight from the README:

> croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following:

- allows any two computers to transfer data (using a relay)

- provides end-to-end encryption (using PAKE)

- enables easy cross-platform transfers (Windows, Linux, Mac)

- allows multiple file transfers

- allows resuming transfers that are interrupted

- local server or port-forwarding not needed

- ipv6-first with ipv4 fallback

- can use proxy, like tor

refs:

[0]https://github.com/schollz/croc

comment 5y ago · link · parent

From my experience, most _independently_ owned cell phone retail stores (Verizon, Sprint, AT&T, etc) have several Cellebrite devices no site which are used daily to aid in device migration from old to new.

As I understand it, Cellebrite devices are not exactly hard to acquire.

1234