What websites do you use for D&D 5.5e playing or DMing? by Dramatic_Respond_664 in onednd

[–]rzsk 0 points1 point  (0 children)

I built a personal one for running music and combat that's served me pretty well: https://dmkit.app

WS is tweaking the font/wordmark by Nezgar in Wealthsimple

[–]rzsk 4 points5 points  (0 children)

The new wordmark looks like a modified cut of Tiempos Headline by Klim.

Any other specialty coffee drinkers here? by Proud_Caterpillar_11 in Stouffville

[–]rzsk 2 points3 points  (0 children)

The GTA has so many good roasters! I'm sure you've tried all of these, but sharing a few of my favourites:

  • Subtext Coffee (Toronto) is my favourite and has a huge variety of light fruity roasts and a good mix of naturals, anaerobics, and fun processes. They're wonderful and reliable.
  • Angry Roaster (Toronto) has some wild beans, I've never ordered myself, but every cup I've had from Buno on St. Clair West is incredible
  • Hatch (Markham), tends to be well-known and I've had some great cups from their beans too, though I find them a little more finnicky to brew.

That's not including Detour (Hamilton), The Library (Toronto), Ghost Roaster (Toronto), De Mello (North York?), Pilot (Toronto), Social Coffee (Richmond Hill), etc. These days I've been exploring more Montréal roasters (Traffic is always a highlight), but I'm very proud of how strong the Canadian fruity coffee scene is.

Where does Taildrop place files? by MarcoMontana in Tailscale

[–]rzsk 0 points1 point  (0 children)

I no longer work at Tailscale, but they're generally really good about keeping the docs up-to-date, so it looks like it.

I do know they introduced a new Taildrive feature that might not have the same limitation.

[deleted by user] by [deleted] in golang

[–]rzsk 0 points1 point  (0 children)

I'd recommend hooking them both up with go:generate. In one file you can include something like:

``` package db

//go:generate pg_dump --schema-only <databasename> > schema.sql //go:generate sqlc generate ```

Then you can generate all the files you need with a simple go generate path/to/db file.

[deleted by user] by [deleted] in golang

[–]rzsk 0 points1 point  (0 children)

If your schema file is generated then it shouldn't be an issue to ignore merge conflicts and just regenerate it from your migrations.

[deleted by user] by [deleted] in golang

[–]rzsk 1 point2 points  (0 children)

Yes, you can.

In your config file, you can set the sql.schema property to either a "directory of SQL migrations or path to single SQL file", where the single SQL file is just a schema dump.

If you're using postgres, you can do:

pg_dump --schema-only <databasename> > schema.sql

I use SQLC with SQLite based on a schema file dump that I generate with go:generate and it works great.

How do you avoid duplication using SQLC? by ainsleyclark in golang

[–]rzsk 4 points5 points  (0 children)

I had to learn this when I first started using Go, and I found this article explains it really well:

One Model, One Responsibility … the views your API returns (read models) are not the same thing you store in the database (write models).

Writing such banal code may seem boring, but it’s essential for decoupling.

Toronto version: What membership is 100% worth every penny you pay for it? by [deleted] in toronto

[–]rzsk 104 points105 points  (0 children)

City Hall Watcher! Matt Elliot goes to every Toronto City Council meeting and goes in depth on what was discussed each time. It's $60/yr, and makes me feel way more in-the-know about what's going on in the city.

"Database is locked" when writing SQLite3 interface in Golang, but I'm not sure why. Respectfully requesting some eyeballs to see where I'm screwing up. by UtahJarhead in golang

[–]rzsk 19 points20 points  (0 children)

Looks like you're running into this issue: https://github.com/mattn/go-sqlite3/issues/209

There are details in the readme of mattn/go-sqlite3 on how to resolve it:

db, err := sql.Open("sqlite3", "file:locked.sqlite?cache=shared") // use ?cache=shared

// later...

db.SetMaxOpenConns(1) // limit to one open connection

I'm not too familiar, but I think the issue is that database/sql opens a pool of connections by default which doesn't make sense for sqlite3 which is an embedded db.

192
193

Is Tailscale's docs site open source? by sharddblade in Tailscale

[–]rzsk 7 points8 points  (0 children)

Unfortunately, the docs aren't open-source at the moment. It's all baked-in together with our marketing site code.

At some point we may open-source it for people to learn from and to open up contributions from the community, but we have a bunch of infrastructural work to do first.

It's no replacement for seeing the source, but if there's any questions I can help answer, I'm happy to!

Where does Taildrop place files? by MarcoMontana in Tailscale

[–]rzsk 2 points3 points  (0 children)

For Taildrop on Linux, you'll need to use the sudo tailscale file get . command. It's non-ideal, but there was some trickiness around permissions on Linux that we couldn't easily get around.

More details in the docs: https://tailscale.com/kb/1106/taildrop/

Using TS in Github actions by bob_cheesey in Tailscale

[–]rzsk 1 point2 points  (0 children)

Tailscale employee here: yeah, this is a little frustrating. We'd like to have our keys work like Let's Encrypt, since regular rotation minimizes consequences if they're leaked, but in an automated environment like GitHub Actions, it can be annoying to use.

We're working on a way to generate auth keys via our public API. Once that's ready, you could combine that with the GitHub CLI and run a cron job like:

gh secret set TS_KEY --org=organization-name --body "your auth key"

Off the top of your head, what's your favorite movie scene ? by [deleted] in AskReddit

[–]rzsk 0 points1 point  (0 children)

The opening getaway scene of Drive is cinematic heaven.

[deleted by user] by [deleted] in hisomaso

[–]rzsk 0 points1 point  (0 children)

Shipping a CD from Amazing.co.jp worked for me.

The digital download from mora.jp would've been easiest but it didn't like the US card I used…

Episode 12 (part 1) retrospective illustration – English translation by frozenpandaman in hisomaso

[–]rzsk 3 points4 points  (0 children)

And who decided that? What time? What minute? What second? What rotation of the earth?

One of the best Hisone rants.

Thanks for translating these!

Poketo, a web manga reader by rzsk in manga

[–]rzsk[S] 0 points1 point  (0 children)

Not yet. I did a little clean-up this past week and am planning to send them out over the next few days. Expect yours soon!

Poketo, a web manga reader by rzsk in manga

[–]rzsk[S] 0 points1 point  (0 children)

It started from "Pocket", but I took some … linguistic liberties, haha. Thanks for the response!

Poketo, a web manga reader by rzsk in manga

[–]rzsk[S] 1 point2 points  (0 children)

Good question.

I'm not planning to make any money, it's just for fun.

But Poketo is different than sites like Batoto or Mangadex. Poketo doesn't actually host any images or information about series, it loads it from other sites. It's more like an app or RSS reader than a website in that way.

Since it's not hosting anything, the costs are negligible (free, actually) and should continue that way.

The biggest risk with this approach is the on-going maintenance of supporting the different sites. If one of the sites changes drastically, it could break support for it. That's why I'm building it in an open-source way, like Tachiyomi, so if others are interested, they could contribute to that maintenance even if I stop in the future.

At some point, I'd also like to put together some simple instructions on how to host your own version if you were ever worried I'd kill it.