Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
koito17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
koito17
11mo ago
If I recall correctly, many of those are "Carbon-related" errors and mostly represent legacy baggage of Mac OS. Not defending the design, but this website is sometimes useful for disambiguating OSStatus error codes: https:/&
62.
▲
by
koito17
11mo ago
Bun disables post-install scripts by default and one can explicitly opt-in to trusting dependencies in the package.json file. One can also delay installing updated dependencies through keys like `minimumReleaseAge`. Bun is a drop-in replace
63.
▲
by
koito17
11mo ago
> I don't think I've ever seen a crate or production codebase that documents infallibility of every single slice access. The smoltcp crate typically uses runtime checks to ensure slice accesses made by the library do not cause
64.
▲
by
koito17
11mo ago
In the case of Japanese, there is 午前・午後 for 12-hour time. e.g. 午後9時に着く (arrive at 9 P.M.). If it's obvious from context, then only the hour is said. e.g. in「明日3時にね」, the flow of the conversation disambiguates the hour (it's also u
65.
▲
by
koito17
11mo ago
I was hoping the site itself would be an XML document. Thankfully, it is an XML document. % curl https://xslt.rip/ <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="
66.
▲
by
koito17
11mo ago
One of my expectations for the future is the development of testing tools whose output is "optimized" in some way for LLM consumption. This is already occurring with Bun's test runner, for instance.[0] They are implementing a
67.
▲
by
koito17
11mo ago
> You are doing embedded development or anything else not as mainstream as web dev? LLMs are still useful but no longer mind blowing and often produce hallucinations. I experienced this with Claude 4 Sonnet and, to some extent, gpt-5-min
68.
▲
by
koito17
11mo ago
Additionally, the "r" and "l" may lead one to incorrectly guess that rvalues and lvalues are related to their position in an expression. But alas, they aren't; there are lvalues that cannot appear in the left-hand s
69.
▲
by
koito17
11mo ago
12 TB fits entirely into the RAM of a 2U server (cf. Dell PowerEdge R840). However, I think there's an implicit point in TFA; namely, that your personal and side projects are not scaling to a 12 TB database. With that said, I do manage
70.
▲
by
koito17
11mo ago
On this site, I've seen these kind of takes repeatedly over the past years, so I went ahead and built a little forum that consists of a single Rust binary and SQLite. The binary runs on a Mac Mini in my bedroom with Cloudflare tunnels.
71.
▲
by
koito17
11mo ago
Unrelated to the article, but the scope ID in IPv6 addresses is super useful for the networking software I write. The socket API for IPv4 requires a strange ceremony of calling if_nametoindex to map an interface name to an index then sett
72.
▲
by
koito17
1y ago
https://gist.github.com/akar1ngo/7d4ea6e9dfc369526beb75092cb...
73.
▲
by
koito17
1y ago
I've been using katex-rs, a Rust rewrite, to implement LaTeX rendering for a Rust web app. It was easy enough to hook into pulldown_cmark, so that $ and $$ and render a decent subset of LaTeX. Since pulldown_cmark is a proper Markdown
74.
▲
by
koito17
1y ago
Although its such a minor thing, the stabilization of Ipv4Addr::from_octets and Ipv6Addr::from_segments arrived just in time for one of my no_std Rust networking projects. These methods were introduced some time last year but were marked un
75.
▲
by
koito17
1y ago
I did a very similar thing, but without secure boot, and only for PXE booting Linux kernels that are EFI stubs. If you are lucky and have PXE BC available, then you can actually "re-use" the IP address assigned to your machine if
76.
▲
by
koito17
1y ago
Pretty cool project. Given that someone else in this thread mentioned it serves as an alternative to TianoCore, does this (theoretically) mean that one may interface with this firmware through uefi-rs in the future? --- Unrelated: I've
77.
▲
by
koito17
1y ago
The take-home assignments I've recently done, thankfully, were open-ended, and you were also evaluated based on how you architect the software, repository, etc. However, take-home assignments requiring one to download an existing proje
78.
▲
by
koito17
1y ago
In 2015, a single server with 40 cores and 128 GB of RAM was able to handle 2 million WebSocket connections running an Elixir program[0]. One of my hot takes is that a gaming PC has fast enough hardware to serve thousands of clients with a
79.
▲
by
koito17
1y ago
The README gets straight to the point and I really like that. Additionally, the .env file parser is quite clean. https://github.com/ashtonjamesd/lavandula/blob/main/src/dote... However, it doesn
80.
▲
by
koito17
1y ago
Since this library leverages Symbol.toPrimitive, you may also use operators besides bitwise-OR. Additionally, the library does not seem to dispatch on the `hint` parameter[0]. Now I want to open a JS REPL, try placing this library's pi
81.
▲
by
koito17
1y ago
Before adopting Rust, I also found it silly for high-level tasks where e.g. Clojure or Java would suffice. However, the results of using Rust changed my mind. I used to write web backends in Clojure, and justified it with the fact that th
82.
▲
by
koito17
1y ago
> I don't understand why some academic flavor of markdown isn't the standard I would argue that is exactly what LaTeX is... I studied mathematics in university, and from what I recall, every major publisher provided a LaTeX tem
83.
▲
by
koito17
1y ago
> Most Rust or Java programmers would make the same mistake. Detecting these mistakes in Rust is not too difficult. In debug builds, integer overflow triggers a panic[1]. Additionally, clippy (the official linter of Rust), has a rule[2]
84.
▲
by
koito17
1y ago
Minor nitpick println can only print things that implement the traits Display or Debug. As a result, Paths cannot be printed directly. Not all OSes store paths compatible with UTF-8. In Rust, all strings are UTF-8 encoded. Thus print
85.
▲
by
koito17
1y ago
I already pay for Zed Pro, but my fear (and likely GP's as well) is that this doesn't provide enough revenue for the team. Since switching from Emacs last year, I have absolutely loved how this editor has evolved, and I am looking
86.
▲
by
koito17
1y ago
TypeScript 5.8 added a configuration option[1], where the compiler emits errors when using language features that result in code generation (e.g. enums). It's expected that people wanting to run TypeScript through "erase-only"
87.
▲
by
koito17
1y ago
Most Chinese sites do not use HTTPS. In fact, TLS 1.3 traffic seems to be completely blocked within China's internet.[1] The decision to use plain HTTP is only strange from a Western viewpoint. Note: I am not defending this behavior. I
88.
▲
by
koito17
1y ago
Many Japanese studying abroad use VPNs in order to circumvent services blocking overseas traffic. Most businesses do not care, because it's harder to counter bots when allowing overseas traffic. Moreover, the number of Japanese who lea
89.
▲
by
koito17
1y ago
Since Japan has exactly one timezone and most services are intended for use within Japan, many Japanese programmers are unaware of timezone-related logic. I've frequently encountered Japanese sites store dates as OffsetDateTime instanc
90.
▲
by
koito17
1y ago
sqlc's approach has its limitations. Its SQLite query parser is generated from an ANTLR grammar, and I've encountered situations where valid SQLite syntax was rejected by sqlc due to their parser failing. Type inference was okay,
More ›