Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mxey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
mxey
10mo ago
How do you track changes to the patches themselves?
32.
▲
by
mxey
10mo ago
> For everyone else, keeping checked-in auto-generated code is a continuous toil and maintenance burden. The Google go developers don't see it that way of course, because they are biased due to their google3 experience. The golang&#
33.
▲
by
mxey
10mo ago
> On the other hand, these auto generation tools in Go are only somewhat standardized, you don't have a central tool that takes care of things (or at least I'm not aware of it). https://pkg.go.dev/cmd/go#hd
34.
▲
by
mxey
10mo ago
What do you mean that there is no standard decoder? For what, UTF-8? I agree on the composability. Accepting Unicode code points is more generic. I guess it depends on your environment. If every caller will combine it with a UTF-8 decoder,
35.
▲
by
mxey
10mo ago
> Unfortunately, in software, manufacturing costs are too cheap to meter, so we're fine with using bench-top prototypes in production, because we're not the ones paying the costs for the waste anyway, our users are. I’m not sur
36.
▲
by
mxey
10mo ago
If this makes the library harder to use because most people will have UTF-8 strings, I’m not sure that’s a win.
37.
▲
by
mxey
10mo ago
There is an overhead per container launched so it would probably not be worth it.
38.
▲
by
mxey
10mo ago
I recently wrote some Go code for running containers and chose to use the docker CLI instead of an API client. The CLI is more well known and better documented, and this is what replacements like Podman support. When there’s a problem, it’s
39.
▲
by
mxey
10mo ago
JFTR, of course it has a library for it https://pkg.go.dev/os/exec
40.
▲
by
mxey
10mo ago
> You can also argue that sd_journal (the C API) exists for this exact reason, rather than shelling out to journalctl. Quoting from https://systemd.io/JOURNAL_FILE_FORMAT/ > If you need access to the raw journal
41.
▲
by
mxey
10mo ago
Dagger uses BuildKit. all your “imperative” code does it assemble a graph that’s gonna be executed by BuildKit in dependency order.
42.
▲
by
mxey
10mo ago
Linus didn’t name Linux, someone else named it after him.
43.
▲
by
mxey
10mo ago
> For users that require new features or reliable resolution of reported bugs, we recommend using pgx which is under active development.
44.
▲
by
mxey
10mo ago
> especially if readers don't read to the bottom. That note at the bottom was only added after the article was posted.
45.
▲
by
mxey
10mo ago
> We’ve discussed doing brownouts where we fail everything for an hour with clear error messages as to what is happening. That sounds like the best option. People are used to the idea that a service might be down, so if that happens, the
46.
▲
by
mxey
10mo ago
The article has a new note at the bottom: > In case the sarcasm isn’t clear, it’s better to leave the warts.
47.
▲
by
mxey
10mo ago
So existing binaries will keep working?
48.
▲
by
mxey
10mo ago
glibc, which has had ABI compatibility for decades?
49.
▲
by
mxey
10mo ago
Go does deprecate stuff. It just never removes it.
50.
▲
by
mxey
10mo ago
> If you develop a useful library and give it away for free then all power to you if you want to rearrange the furniture every 6 months. That would make it no longer a useful library
51.
▲
by
mxey
10mo ago
Actually this is the reason why Win32 is the stable ABI for Linux. https://blog.hiler.eu/win32-the-only-stable-abi/
52.
▲
by
mxey
10mo ago
> Not that it is always trivial to avoid breaking backwards compatibility, but there are so many times that it would be. In this case it was 2 functions with 1 line of code each. https://github.com/urllib3/urllib3&#x
53.
▲
by
mxey
10mo ago
It is wild to realize that this is the same author as https://entropicthoughts.com/you-want-technology-with-warts
54.
▲
by
mxey
10mo ago
It’s like 5 lines of code https://github.com/urllib3/urllib3/pull/3732/files
55.
▲
by
mxey
10mo ago
Haven’t seen this mentioned yet, but this means you can do media queries in inline styles, right?
56.
▲
by
mxey
10mo ago
I’ve run Kubernetes since 2018 and I can count on one hand the times there were major issues with an upgrade. Have sensible change management and read the release notes for breaking changes. The amount of breaking changes has also gone way
57.
▲
by
mxey
10mo ago
> Misplacement Detection: A test is misplaced if it primarily calls functions from a different source file There is no need for a 1:1 relationship between code files and test files in Go.
58.
▲
by
mxey
10mo ago
Terrible article. The whole style is annoying but let me just quote two things. > The funniest thing is when Cuck Licensers complain that people are abiding by their licenses. They will complain that people took their code and made money
59.
▲
by
mxey
10mo ago
On disk, it’s encrypted. The running service, at least on macOS, only hands the item out to specific apps, based on their code signing identity.
60.
▲
by
mxey
10mo ago
> And worst thing, afaik there is no way do do it correctly in MacOS for example. I'd like to be corrected though. https://developer.apple.com/documentation/security/keychain-... And similar services exist
More ›