HNHacker News
TopNewBestAskShowJobs

tkone

413 karma · joined February 3, 2010

submissionscomments
tkone··on Go is portable, until it isn't
Ironically this is EXACTLY what the journald receiver for OpenTelemetry does, which, as they noted, is written in go.

Specifically because you're only supposed to use that OR the c bindings by design because they want the ability to change in the internal format when it's necessary.

tkone··on Show HN: GoatDB – A lightweight, offline-first, realtime NoDB for Deno and React
so can couch/pouch? (pouch is a façade over leveldb on the backend and client-side storage in your browser)

have you done benchmarks to compare the two?

i know from personal experience leveldb is quite performant (it's what chrome uses internally), and the node bindings are very top notch.

tkone··on Show HN: GoatDB – A lightweight, offline-first, realtime NoDB for Deno and React
you can fit a lot of goats into a pouch, depending on the size of the pouch
tkone··on Show HN: GoatDB – A lightweight, offline-first, realtime NoDB for Deno and React
Why not just use pouchdb? It's pretty battle-tested, syncs with couchdb if you want a path to a more robust backend?

edit: https://pouchdb.com/

tkone··on Cooking with black plastic is particularly crucial to avoid
the scratch non-stick pans, which also are horrible for your health.

cast iron, stainless steel.

tkone··on End of the road for Google Drive in Transmit
Transmit is a file transfer client (like FTP). It needs access to your entire drive because you might want to copy something to/from anywhere in your drive.
tkone··on Faster CRDTs (2021)
Google docs was originally ot based as well. I'm not sure about the current state of it.
tkone··on Preview of Explore Logs, a new way to browse your logs without writing LogQL
If you’re debugging something simple or non-distributed, this product isn’t for you.

If you’re working on anything distributed, log aggregation becomes a must. But, also, if you’re working on anything distributed and you’re looking at logs, you’re desperate. Distributed traces are so much higher quality.

tkone··on Fonts are still a Helvetica of a Problem
Arg this article is wrong.

TrueType was FREELY licensed. You could use TrueType fonts in Windows 3.1. (I know, I was there.)

What Apple didn't license was their Advanced Type Tech (Quickdraw GX?) which allowed for further refinements to glyph positioning.

tkone··on You don't need a CRDT to build a collaborative experience
yes. that is not true. you can build a rich text editor with simple ot. no tree necessary.
tkone··on You don't need a CRDT to build a collaborative experience
nah, that’s not true at all. have a look at ‘rich-text’[1] which allows for transforms on metadata in a separate stream from the main content. it’s the same basic algo used for OT on plain text.

(i was the cto at a startup which used this to create a multi-user text editor with rich text support in 2015ish)

1: https://github.com/ottypes/rich-text

tkone··on GitHub staff are required to use Teams by Sep 1, 2023
this already happened to some extent. the “blessed” way to develop github is in vscode (from ms), using codespaces (from ms), running on azure (from ms). vim/emacs users can use the terminal (although the codespace and port forwarding, at first, had to be done via vscode exclusively) but your entire toolstack needs to be installed each time you launch a new one.

collaborating with anyone at ms already meant you were using teams to some extent.

(former github developer)

tkone··on Whatever happened to SHA-256 support in Git
Simple answer: github was doing most of this work as SHA1 is a non-allowed hash type for FIPS compliance, which mattered since Microsoft had landed the US DoD JEDI contract.

The JEDI contract was cancelled a in 2021 so the work never continued on that workstream.

source: former github developer

tkone··on Moves to shut down on July 31st
Lol from their own FAQ[1]:

` What does Moves joining Facebook mean?

Moves will continue to operate as a standalone app, and there are no plans to change that or commingle data with Facebook.`

1: https://movesapp.zendesk.com/hc/en-us/articles/202443288-Wha...

tkone··on Better-sqlite3: A faster Sqlite library for Node.js
You don't just get the threadpool by default when you write a native add-on. The native add-on needs to opt into the behavior. I can't find a single place in this source code where they're using the threadpool to schedule synchronous code to run in a separate thread.
tkone··on Node Docker image broken
well i mean it's broken if you use yarn. which isn't a standard part of node, so like, not really?
tkone··on JavaScript and Node performance coding tips to make applications faster
the latest versions of v8 (and others) have optimized the paths for calling these array functions and likely break down into for/while loops when they're jitted.
tkone··on JavaScript and Node performance coding tips to make applications faster
v8 used to not be able to optimize blocks containing try/catch, which is why if you needed it, you relegated it to a function containing just the try/catch block.

but since async/await relies on the use of try/catch, last november's (october?) v8 release can optimize try/catch.

plus, it was only ever a v8 issue, not an issue in javascriptcore nor tracemonkey.

tkone··on The Mystery of the Slow Downloads
I live in Seattle and use Centurylink and experience none of this. My children watch youtube all evening with no degradation of quality, even while my wife and I watch netflix. I have never experienced slowness with centurylink -- I wonder if there is some bad hop that the vpn is avoiding?
tkone··on Launch HN: Substack (YC W18): Paid email newsletters made simple
The creator of browserify is gonna hate your name
tkone··on Mozilla Is Hiring a Developer to Work on Thunderbird Full-Time
The Mozilla foundation is also a registered 501(c)(3). Is Mailpile? I don't see anything about that on your page?
tkone··on The Brutal Lifecycle of JavaScript Frameworks
They said they only did this for US based IP addresses. (Not that it makes it OK...)
tkone··on How the Scripto App Became a Fixture of Late-Night Comedy News
Thankfully that was just our marketing site! Our team has fixed it (and re-issued any api key that could have been potentially compromised).

Our product isn't a monorepo (and has a much more rigorous release process than this site), so even if the main repo that does the build is ever exposed, the secrets aren't in there :)

tkone··on How the Scripto App Became a Fixture of Late-Night Comedy News
The new version we are working on (and briefly mentioned) is based on choo[0] with the editor provided code-mirror[1] and ot-delta[2] from quill with some custom (and soon to be open sourced) glue code to make them work together.

1. https://github.com/choojs 2. http://codemirror.net 3. https://quilljs.com

tkone··on How the Scripto App Became a Fixture of Late-Night Comedy News
Have you checked out https://glitch.com? It has multi-user features in it.
tkone··on How the Scripto App Became a Fixture of Late-Night Comedy News
Hi! CTO here!

Scripto, itself, is based on etherpad-lite, with a ton of other code added to support various other features necessary to support the shows and was written by some contract employees.

tkone··on Mitigations landing for new class of timing attack
The window.postMessage and related MessageChannel APIs. You have to set up a listener and then post a message across the "boundary" (like an iframe or webworker).
tkone··on WeWork has bought Flatiron School
Because for every argument against regulation you can provide I bet someone can provide an argument to show you why regulation is not only necessary, but provides a greater good than the lack of it.
tkone··on WeWork has bought Flatiron School
Which says nothing about operating without a license -- which is a large part of the AG's claim. AS far as the false advertising, that is way less of a case than the use of non-licensed teachers and lack of operating license.
tkone··on ProseMirror 1.0
We actually use codemirror at work as the basis of a fully-operational operation-transform based collaborative editor. We are working on open-sourcing our implementation, but thank you for all your hard work!

It's interesting about not being able to easily bolt on collaboration; it was not a trivial endeavor at all, but codemirror's APIs made that part exceedingly easy :)

Page 1 of 2Next →