Better HN
topnewbestaskshowjobs
Log inSign up

bndw

697 karma · joined Jul 12, 2013 (13y ago) · 159 submissions

reverse("ot.wdb//:sptth")
Submissions

comment 3y ago · link · parent

There is, it's called the Bitcoin Lightning Network.

comment 4y ago · link · parent

dang, my bad. I did a pretty quick (and large) refactor this morning and must have broke it.

EDIT: it fetches historical games when the session is established. The bug is that after you complete the game, the call to renderStats is still using the old games list; it needs to refresh the list so it includes the game you just completed. I'll fix this over the weekend. Cheers!

comment 4y ago · link · parent

Author here. I had this idea a couple of weeks ago and wanted to test it out. The code is written in Go and open source:

https://github.com/bndw/wordle

4.

Show HN: ssh wordle.bdw.to

9 points · by bndw · 4y ago · 5 comments

comment 4y ago · link · parent

I use a NAS, raspberry pi, and s3 with the following workflow:

Photos are imported from SD card using a script. This script creates a new directory, captures some metadata, copies the photos in and creates thumbnails. This directory is rsynced to the NAS then encrypted, compressed and sent to s3. Nightly, from another location a raspberry pi with a large encrypted disk rsyncs the entire NAS.

All viewing and editing of photos is done against the NAS, and any changes are picked up nightly by the pis. The s3 copy acts as an immutable original.

comment 4y ago · link · parent

Awesome work, glad you guys are still at it.

comment 5y ago · link · parent

Does Codespaces support offline development? Is an Internet connection now required 100% of the time to write code?

comment 5y ago · link · parent

Is the server component running at api.ots.sniptt.com open source? I looked through the org's repositories and wasn't able to find it.

comment 5y ago · link · parent

Thanks for the correction, updated.

comment 5y ago · link · parent

If anyone is curious like I was, here's a quick review of what the linked code does:

- Reads plaintext input from stdin

- Symmetrically encrypts the plaintext using a 32-byte [cryptographically] random generated key (AES-256 GCM)

- POSTs the ciphertext and expiry (default 24h) to https://api.ots.sniptt.com/secrets

- The server responds with a URL to view the secret via a response header

- Query string "?ref=cli&v=<version>" are appended to the secret URL

- The decryption key is base64 encoded and appended to the secret URL as a Fragment, "#<key>"

- The secret URL is printed to stdout

comment 5y ago · link · parent

  a QR generator which will magically connect me to the WiFi with my password embedded in the QR somehow.
This is indeed what it does, but it also includes the plaintext password in case you want to connect a device that doesn't have a camera, like a PC. There's an open issue for adding a "hide password" option. You could also just cut off or scribble out the password on the print out.

comment 5y ago · link · parent

Thank you for the kind words!

comment 5y ago · link · parent

Answering as the author who also understands the fundamentals of all of the technologies involved and questions much of what goes on in the minds of today's web developers and designers--

I use Make as the standard way to interact with every repo I own. This allows me to type `make build` instead of `$some-language-specific-command-I-forget-in-2-weeks`.

I use Docker for distributing every app I build. If the app is a website I also use the nginx base image. Docker images make packaging and distribution a breeze IMO.

Regarding yarn, npx, react, and jest: I'm similarly disillusioned by the churn but I also like to remain knowledgeable as the industry evolves. React was something I hadn't touched before, so I decided to pick a simple project to give it whirl ;)

comment 5y ago · link · parent

Thanks for the tip, added in https://github.com/bndw/wifi-card/commit/1924298335692eebc79...

15.

Show HN: Print a WiFi Login Card(wificard.io ↗)

769 points · by bndw · 5y ago · 326 comments

comment 5y ago · link · parent

Thank you!!! I use plotly to generate one-off graphs regularly and love the idea of offline-first + SQL.

comment 5y ago · link · parent

In my experience, I've found the lack of polymorphism to be the larger challenge in building complex business systems in Go.

Managing a bunch of polymorphic entities in Go often requires implementing a bunch of interfaces in various types. You then have to write a bunch of mapping logic for every type, driven by type assertions. Apply this in a large codebase that encapsulates transport, data access, and so on and you end up with a ton of complexity.

comment 5y ago · link · parent

Cool project. I really enjoyed the screencast- you sold me on giving it a whirl.

comment 5y ago · link · parent

No surprise - in my experience the U87 is the go-to choice for a large diaphragm condenser in professional recording environments.

comment 5y ago · link · parent

Joe Rogan talks about the idea in an old clip:

  I think human beings are just a very complicated form of bacteria.
https://www.youtube.com/watch?v=Zyc12-neTjM

comment 5y ago · link · parent

Smartphone integration isn't necessary for everyone (myself included), but I appreciate most people want it.

comment 5y ago · link · parent

IMO you can get 90% of the utility here (owning your data) with just the NAS and rsync.

1. Don't feed the FAANG

2. Store your SoR media, notes, documents on your own NAS

3. Automate a backup of the NAS, preferably both on and off site (I use rsync from a pi + large disk + cloud blob storage)

comment 5y ago · link · parent

  later on they switched to requiring a social media
This is outrageous. Contact is in my profile. If enough people complain to our reps maybe we can impact this in a positive way.

comment 5y ago · link · parent

I also live in Kitsap, am privacy-conscious and personally curious

25.

This website does not track you(thiswebsitedoesnottrackyou.com ↗)

4 points · by bndw · 5y ago · 5 comments

comment 5y ago · link · parent

I'm interested in this sort of data. Anyone know of any public APIs or indexes containing the executive teams of public companies?

comment 5y ago · link · parent

Will this work with Terraform? I'd love to find a way to generate an IAM policy based on Terraform manifests.
123456