Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
koito17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
koito17
1y ago
Started using Zed about a year ago and, besides Magit, it has managed to completely replace Emacs for me. I was missing a good debugger for a long time, but that also went GA a month ago or so. One thing that goes underappreciated is the in
92.
▲
by
koito17
1y ago
The original motivation of CSS was the cascading aspect of it. During its development, the web was largely seen as a web of documents. Style sheets tried mimicking how traditional publishers style their documents, books, etc. There is als
93.
▲
by
koito17
1y ago
> Full Browser window size cancas ... and draw everything yourself This was already tried to some extent with Flash. Many sites were a single Flash module (or multiple). Implementing accessibility then required maintaining an invisible D
94.
▲
by
koito17
1y ago
I am not very experienced in async Rust, but it seems there are some pieces of async Rust that rely too much on tokio internals, so using an alternative runtime (like pollster) results in broken code. Searching for comments mentioning "
95.
▲
by
koito17
1y ago
> Having an extensible format and electing never to extend it seems pointless. This proves OP analogy regarding USB-C. Having PNG as some generic container for lossless bitmap compression means fragmentation in libraries, hardware suppor
96.
▲
by
koito17
1y ago
Nothing has been able to replace Magit for me, yet. Having a Zed UI for Git like Magit is my dream feature request. With that said, Zed has effectively replaced all of Emacs for me, besides Magit. Additionally, typing in other editors feels
97.
▲
by
koito17
1y ago
By switching to e.g. musl, you can go down to a single megabyte ;) But in all seriousness, my example is quite cherrypicked, since nobody will actually statically link glibc. And even if they did, one can make use of link-time optimization
98.
▲
by
koito17
1y ago
> Most shells take less space than that! Most shells dynamically link to a runtime your OS provides "for free". The 4.3 MiB binary in question is bundling the Rust runtime and its dependencies. For reference, a statically-compi
99.
▲
by
koito17
1y ago
Automatic toolchain switching does not trigger compilation of later Go toolchains; it only attempts fetching a blob (if available) and using that to perform builds[1]. If a system supports Go 1.21 but not 1.23.1 (e.g. Windows 7, mentioned i
100.
▲
by
koito17
1y ago
The README is likely AI-generated. The actual go.mod file lists 1.23.1 as the Go version[1], which implies a requirement of Go 1.23.1 or higher[2]. [1] https://github.com/piyushgupta53/go-torrent-client/blob/6
101.
▲
by
koito17
1y ago
Initially attributed the unresponsiveness of `npm install` to npm (the CLI tool) in general. Tried using bun to install dependencies, saw the same result -- but with actual logs instead of a vague spinner -- and decided to check Hacker News
102.
▲
by
koito17
1y ago
> What I would also love to see is a simple, single binary S3 server alternative to Minio Garage[1] lacks a web UI but I believe it meets your requirements. It's an S3 implementation that compiles to a single static binary, and it&#
103.
▲
by
koito17
1y ago
Linux is exceptional in that it has stable syscall numbers and guarantees stability. This is largely why statically linked binaries (and containers) "just work" on Linux, meanwhile Windows and Mac OS inevitably break things with a
104.
▲
by
koito17
1y ago
> I think modern Japanese is LTR Depends on the medium. EPUB 2.0 (and later revisions) specifically supports vertical RTL text for use-cases like Japanese novels. Additionally, many novel reading websites support toggling between vertica
105.
▲
by
koito17
1y ago
Go also randomizes the iteration of map keys, to emphasize that maps are unordered and code should not rely on insertion order. For demonstration: package main import "fmt" func main() { m := map[string]int{"
106.
▲
by
koito17
1y ago
Reading the documentation, it seems that `require` at the top-level should be possible under one of three scenarios: (1) the file extension is "cjs", (2) there is a package.json file with "type" set to "commonjs&quo
107.
▲
by
koito17
1y ago
The server code example has something amusing to it. const fs = require('fs'); const content = fs.readFileSync('./data.txt', 'utf8'); This code will in fact NOT run on Deno, unless one explicitly
108.
▲
by
koito17
1y ago
> one successful attempt at addressing this problem is Japanese late night anime schedules Depending on the channel, the "new date cut-off" (more accurately: 日付変更) sometimes varies. Some channels start the day at 5am, others at
109.
▲
by
koito17
1y ago
In Java, there are two kinds of Throwable instances[1]: Error and Exception. As the name suggests, OutOfMemoryError is a subclass of Error. In contrast to Exception, an Error "indicates serious problems that a reasonable application sh
110.
▲
by
koito17
1y ago
> S3 on the surface has the simplest api and it’s just not impressive [...] Reminded of the following comment from not too long ago. https://news.ycombinator.com/item?id=43363055
111.
▲
by
koito17
1y ago
> Without any back-pressure, the program kept stuffing memory with pending results. The key phrase in the whole article. This is the reason I am not fully confident in the "pervasive async" mindset overtaking web development.
112.
▲
by
koito17
1y ago
Noticed the site flickers when loading. Out of curiosity, I disabled JavaScript and reloaded the site. Unfortunately, the site doesn't work at all without JavaScript, whereas the official Hacker News frontend handles this use-case well
113.
▲
by
koito17
1y ago
I made a prototype of a music player for iOS, since the VLC app cannot reliably parse metadata of FLACs stored on my file server. I cannot store my whole music collection on my device, due to storage limitations. My app is a prototype in th
114.
▲
by
koito17
1y ago
Before getting a new MacBook, I was using MacPorts since Homebrew had several problems, including what the GP mentioned. For over a year now, I have used home-manager with Nix. Nixpkgs has the "important" subset of GUI programs th
115.
▲
by
koito17
1y ago
I agree with this. The error messages in TypeScript can be difficult to understand. I often scroll to the very bottom of the error message then read upward line-by-line until I find the exact type mismatch. Even with super complex types, th
116.
▲
by
koito17
1y ago
Minor nitpick: decorators are still in "stage 3". Not formally part of ECMAScript standard yet.[1] Anyway, that has not stopped large parts of the JavaScript ecosystem -- notably Angular -- from using an experimental variant of de
117.
▲
by
koito17
1y ago
Line count is not very useful to compare without the context of standard library size, third-party dependencies, etc. The code in TFA depends[1] on a JSON library[2] that is about a thousand lines of code (excluding tests) wrapping a Java l
118.
▲
by
koito17
1y ago
> I actually like the editable format of the chat interface because it allows fixing small stuff on the fly Fully agreed. This was the killer feature of Zed (and locally-hosted LLMs). Delete all tokens after the first mistake spotted in
119.
▲
by
koito17
1y ago
HTTPS is not necessary to encrypt DNS traffic. DNS-over-TLS exists, but it has much less traction compared to DNS-over-HTTPS. I am guessing the reason is that HTTPS traffic all goes through port 443, so "censorship" of DNS becomes
120.
▲
by
koito17
1y ago
The companies suing Amazon Japan requested damages of approximately 280M JPY, or approximately 2M USD. Of course, this is not a lot of money given Amazon's scale, but the companies tried to recuperate lost profits. With that said, the
More ›