HN user

theogravity

1,642 karma

https://suteki.nu https://loglayer.dev

Posts79
Comments518
View on HN
ismy.blue 2mo ago

Is my blue your blue? (2024)

theogravity
694pts469
www.youtube.com 6mo ago

After 20 Years, This Scientist Proved Birds Can Talk and Use Grammar [video]

theogravity
3pts0
loglayer.dev 8mo ago

Show HN: LogLayer v7 now with StatsD support

theogravity
1pts0
old.reddit.com 1y ago

My Office Chair Broke My PC for a Year

theogravity
3pts0
crypto.news 1y ago

Polymarket faces manipulation allegations on $58M Zelenskyy suit bet

theogravity
2pts0
old.reddit.com 1y ago

Google Play still says I am impersonating myself and banned my app

theogravity
7pts3
news.ycombinator.com 1y ago

Ask HN: Is there a format for sharing prompts used in OSS

theogravity
1pts1
www.youtube.com 1y ago

Nvidia, You're Late. First 128GB LLM Mini Is Here [video]

theogravity
6pts0
en.wikipedia.org 1y ago

Behavioral Sink

theogravity
9pts0
travisbumgarner.dev 1y ago

Show HN: Somehash – A Blurhash-inspired exploration

theogravity
18pts1
en.wikipedia.org 1y ago

Naming Taboo

theogravity
2pts0
www.seanbaby.com 1y ago

Seanbaby.com

theogravity
1pts0
travisbumgarner.dev 1y ago

Somehash: A Blurhash-inspired exploration

theogravity
1pts0
travisbumgarner.dev 1y ago

Escaping surprise bills and over-engineered messes: Why I left AWS

theogravity
129pts155
loglayer.dev 1y ago

Show HN: LogLayer – Unified logger that routes logs to various logging libraries

theogravity
56pts26
www.youtube.com 1y ago

I Ran PS3 Games on PS5 Silicon to Prove Sony Wrong [video]

theogravity
15pts3
finance.yahoo.com 1y ago

CEO fired 90% of staff for missing a morning meeting. He stands by the choice

theogravity
18pts25
www.timeextension.com 1y ago

The Making of Wizardry, the RPG That Inspired Dragon Quest and Final Fantasy

theogravity
4pts0
en.wikipedia.org 1y ago

Lycos

theogravity
3pts0
openjsf.org 1y ago

Fastify v5 is Now Officially Released

theogravity
7pts2
en.wikipedia.org 1y ago

Floral formula

theogravity
142pts19
finance.yahoo.com 1y ago

Allstate receives approval for 34% increase in homeowners insurance rates in CA

theogravity
2pts0
www.extremetech.com 1y ago

Flagship AMD Zen 5 Ryzen 9 9950X CPU Reviews Are a Mixed Bag

theogravity
4pts0
www.youtube.com 2y ago

Buying a Telescope in Japan: What you need to know before you go

theogravity
1pts0
en.wikipedia.org 2y ago

Death of Gloria Ramirez, the "Toxic Lady"

theogravity
5pts0
www.yahoo.com 2y ago

Thailand to roll out a $13.8B handout plan in digital money to citizens

theogravity
13pts2
www.youtube.com 2y ago

The Decline of GoPro and What Happened [video]

theogravity
2pts0
www.cnbc.com 2y ago

$109M in deposits for Yotta's customers vanished in Synapse collapse

theogravity
1pts0
steady.substack.com 2y ago

If You See Crazy, Report Crazy

theogravity
2pts2
www.youtube.com 2y ago

Light sucking (black) flames look like magic [video]

theogravity
1pts0

The site visually feels "compressed" due to the font used? It's a bit jarring. The tutorial link in the header nav doesn't go anywhere.

Adding new transports and documentation to my Typescript logging library (MIT licensed), LogLayer (https://loglayer.dev). Just added documentation for Bun and Deno support added some new logging library transports (LogTape), and finishing up Logflare and Betterstack transports so you can send logs to their logging APIs.

It's already happening. There are visual novel groups that take pateron sponsorship to run the script through machine translation. It's now done in giant batches. They're released for free and I am not able to speak of the quality as I've never tried them, but when I see reviews on steam for a VN that has been machine translated, it never results in a good review.

My first thought would be consistency in localization / typesetting. Groups have their own ways of localizing and typesetting content and most likely would not want to share their style guide when they lost out on something they recently translated to a lower bidder.

This surprisingly made this easy to remember for me.

Unfortunately, the merge sort instructions doesn't make sense to me, specifically step 3.

This is really cool considering how expensive DataDog can get. I'm the author of LogLayer (https://loglayer.dev), which is a structured logger for TypeScript that allows you to use multiple loggers together. I've written transports that allows shipping to other loggers like pino and cloud providers such as DataDog.

I spent some time writing an integration for HyperDX after seeing this post and hope you can help me roll it out! Would love to add a new "integrations" section to my page that links to the docs on how to use HyperDX with LogLayer.

https://github.com/hyperdxio/hyperdx-js/pull/184

I think FusionAuth does something similar. They have a global user, and uses the notion of tenants / application registrations (which I think is comparable to a Tesseral Organization) to segment the same user.

Then you can define applications (which are mapped 1:1 to tenants) where a user has a registration entry against that application, where a user can be referenced by their global user id, or application-specific user id.

Applications are OAuth2 applications (meaning a dedicated client id / secret), so we only create a single application and tenant, and maintain organization segmentation on our own application / db side instead.

(We're paying customers of FusionAuth. Anyone from FusionAuth, feel free to correct me.)

No hooks on the FE side. We use a global lock via a promise. Our API clients are not tied to react in any way.

For all API calls, if the lock is not set, it checks if the JWT is still valid. If it is not, then the lock is set by assigning a new promise to it and saving the resolve call as an external variable to be called after the refresh is done (which resolves the held promise on the other calls, allowing the latest token to be used).

All calls await the lock; it either waits for the refresh to complete or just moves on and performs validation with the currently set token.

Looks like this:

- await on lock; if the lock has been resolved, will just continue on

- Check for JWT validity via exp check (the API server itself would be responsible for checking signature and other validity factors); if not valid, update lock with a new promise and hold the resolver. Perform refresh. Release lock by resolving the promise.

- Use current / refreshed JWT for API call