Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bakkoting
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
bakkoting
2y ago
Here's a good essay about that: So You Want To Abolish Time Zones [1] [1] https://qntm.org/abolish
62.
▲
by
bakkoting
2y ago
> instead of exclusively focusing on making them easier to use or more performant, they are constantly adding features I appreciate that this is mostly just a generic rant, but it's not really suitable here, because this is a featur
63.
▲
by
bakkoting
2y ago
If you already have node and npm installed, and are happy running random binaries from the internet, you can `npx magic-wormhole` to run this without any further setup. It just wraps wormhole-william, which is the go implementation of magic
64.
▲
by
bakkoting
2y ago
"Proposed" is the final state of many stable RFCs; see a list at [1], and compare it to the (much shorter) list of finished standards above it. The name is kind of misleading these days. Some discussion at [2]. Just to give an ex
65.
▲
by
bakkoting
2y ago
API keys are unrelated to the $20/month product, and the keys are pay-as-you-go. The newest model is $15 per million tokens of output, which is to say, you would be extremely hard-pressed to spend $20/month on the API.
66.
▲
by
bakkoting
2y ago
I wrote one of those! https://github.com/bakkot/MenuBarVolume I still cannot imagine why Apple decided that you shouldn't have a visible volume indicator in the menu bar when you have headphones connected. I mean,
67.
▲
by
bakkoting
3y ago
From the patch [1]: > This reverts commit e0abdadcc6e1. [...] Its not clear to me why this commit was made. Anyone dug up the history here? [1] https://lore.kernel.org/all/20240120215012.129529-1-fw@strle...
68.
▲
by
bakkoting
3y ago
Physician, heal thyself! https://www.phind.com/agent?cache=clsxs6doj000wl008yk8wb4k8 It pointed out the lack of alt-text as well as a couple other issues. Some of the suggestions aren't applicable, but it's not ba
69.
▲
by
bakkoting
3y ago
If we're being pedantic, you also forgot document.all. Which is in fact an infinite collection of values, because document.all is a different object in every frame.
70.
▲
by
bakkoting
3y ago
It's not common at all. It can happen, but it's very rare. And it's basically never intentional. In my experience the most common cause of breaking changes is accidentally breaking on older versions of the runtime, because th
71.
▲
by
bakkoting
3y ago
A lot of shipped code is effectively unmaintained even on pages which are otherwise being modified, in many cases by relatively non-technical people (a small business owner contracts a webdev to build a page and show them how to update the
72.
▲
by
bakkoting
3y ago
Browsers are much, much better at addressing security issues than Flash or Java applets ever were. There's no comparison. And even if you think that they ought not to have been removed, surely it's clear that the concerns about se
73.
▲
by
bakkoting
3y ago
There's a big difference between breaking things because they're relying on impossible-to-secure plugins and breaking things because JavaScript developers want to invoke an API in a slightly different way. Regarding versioning, se
74.
▲
by
bakkoting
3y ago
Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers But a method named `groupBy` on iterators traditionally means a different thing: https://github.com/tc39/proposal-a
75.
▲
by
bakkoting
3y ago
Not gonna happen: https://github.com/tc39/faq?tab=readme-ov-file#why-dont-we-j... Browsers aren't going to break old pages.
76.
▲
by
bakkoting
3y ago
No current plans for `keyBy`, and I don't know that it's really that well-motivated. (I am on TC39.)
77.
▲
by
bakkoting
3y ago
We originally tried to put it on Array.prototype, under multiple different names, and that broke various pages in various ways. So we gave up and had to put it somewhere else. And it's conceptually similar to `fromEntries` - they'
78.
▲
by
bakkoting
3y ago
eslint and typescript are the de-facto static analysis tools for JavaScript. TypeScript isn't extensible. So if you want to do any custom static analysis, you're doing it as a custom eslint plugin. It might be better to have some
79.
▲
by
bakkoting
3y ago
It's a property of the model itself. > Input audio is split into 30-second chunks, converted into a log-Mel spectrogram, and then passed into an encoder. https://openai.com/research/whisper
80.
▲
Science Demos
(writing.bakkot.com)
2 points
by
bakkoting
3y ago
|
0 comments
81.
▲
by
bakkoting
3y ago
I have a PR fixing that specific issue: https://github.com/prettier/prettier/pull/15209 Just needs another maintainer's stamp.
82.
▲
by
bakkoting
3y ago
Curly braces are reflected in the AST, parens are not.
83.
▲
by
bakkoting
3y ago
I have a PR fixing that: https://github.com/prettier/prettier/pull/15209 Just needs another maintainer's stamp.
84.
▲
by
bakkoting
3y ago
The endpoint was just confusingly named: > The Whisper v2-large model is currently available through our API with the whisper-1 model name. https://platform.openai.com/docs/models/whisper
85.
▲
by
bakkoting
3y ago
A number of these are using older, awkward APIs, when there's nicer native versions now. For example, "replace an element" is ele.parentNode.replaceChild(newEle, ele); but unless you're targeting Chrome < 54,
86.
▲
by
bakkoting
3y ago
Yeah, in your case I think most of the complexity is actually on the ReadableStream side, not the base64 side. The thing that I'd actually want for your case is either a TransformStream for byte stream <-> base64 stream (which I
87.
▲
by
bakkoting
3y ago
This specific proposal will only really help with the last part - it will let you write return `data:application/octet-stream;base64,${(value as Uint8Array).toBase64()}`; but you'll still have to do the work of reading th
88.
▲
by
bakkoting
3y ago
Nit: "fixed-length" is no longer true as of very recently [1]. [1] https://github.com/tc39/proposal-resizablearraybuffer
89.
▲
by
bakkoting
3y ago
The proposal for native base64 support for Uint8Arrays is mine. I'm glad to see people are interested in using it. (So am I!) For a status update, for the last year or two the main blocker has been a conflict between a desire to have s
90.
▲
by
bakkoting
3y ago
There's some additional interesting details, and a surprising amount of variation in those details, once you start really digging into things. If the length of your input data isn't exactly a multiple of 3 bytes, then encoding it
More ›