Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
alecthomas
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
alecthomas
4y ago
Works fine for me, what doesn't work? $ curl -fsSL 'https://ap-playerservices.streamtheworld.com/api/livestream?station=NOVA_919&version=1.9' | xq -x //transport http hls hl
62.
▲
by
alecthomas
4y ago
I love the approach of Lunatic. It really fulfils the promise of WASM I think, as a universal general purpose runtime.
63.
▲
by
alecthomas
4y ago
Yeah I assume so too, but I'm not sure.
64.
▲
by
alecthomas
4y ago
No, it uses native Nix directly on your machine - Linux, Mac, or Windows. Its integration with Docker is that it can _build_ Docker images from the Nix packages in your "devbox".
65.
▲
by
alecthomas
4y ago
> Right, the startling thing about Python's previous dict was that it was so terrible that the ordered dict was actually significantly faster. I've never heard that before and it would be really surprising, given that Python&#x
66.
▲
by
alecthomas
4y ago
A lot of these little irritations were due to a lack of user-accessible generics. Now that generics are available, they're available in the exp/slices package: https://pkg.go.dev/golang.org/x/exp@v0.0.0-2
67.
▲
by
alecthomas
4y ago
I like the UX, but the results are full of content farms and weird ranking for the query "golang parser" ( https://you.com/search?q=golang+parser ). OTOH it is much faster than kagi. First result is good: pkg.go.dev
68.
▲
by
alecthomas
4y ago
I agree. The old version was super slow but still great, but the new major release a year or so ago is fantastic. Super fast, super intuitive. Well worth the $$
69.
▲
by
alecthomas
5y ago
Zig does this too I believe: https://kristoff.it/blog/what-is-zig-comptime/
70.
▲
by
alecthomas
5y ago
I'd be interested in reading more about that. Do you have a reference?
71.
▲
by
alecthomas
5y ago
FWIW for SQL, sqlc[1] is probably the nicest SQL layer I've used in any language. [1] https://github.com/kyleconroy/sqlc
72.
▲
by
alecthomas
5y ago
> Making it easier and making it a common habit. Companies need to realize, that paying maintainers/contributors pays off for them. Definitely agreed. > Looking at https://flossbank.com/ , this seems like just wha
73.
▲
by
alecthomas
5y ago
You should set up GitHub Sponsors if you haven't already.
74.
▲
by
alecthomas
5y ago
I maintain a lot of open source projects, but IMO this is not the right approach. I think the [anecdote from @jbk]( https://news.ycombinator.com/item?id=29524103 ) about ffmpeg illustrates that. I also don't think the pr
75.
▲
by
alecthomas
5y ago
It's more nuanced than this. You can watch her full testimony here if you're actually interested: https://www.youtube.com/watch?v=GOnpVQnv5Cw
76.
▲
Facebook Whistleblower Frances Haugen Testifies Before Senate Commerce Committee
(youtube.com)
1 points
by
alecthomas
5y ago
|
0 comments
77.
▲
by
alecthomas
5y ago
I'm surprised some enterprising lawyer hasn't initiated a class action lawsuit against the telco's on behalf of those who have been scammed as a result of their inaction.
78.
▲
by
alecthomas
5y ago
Assuming the parent is being genuine in asking for help, I don't think is a very constructive response.
79.
▲
by
alecthomas
5y ago
Others have recommended Advanced Testing With Go [1]. I haven't personally watched it, but Mitchell Hashimoto writes clean code. But if you'd like I'd be happy to take a look at some of the problems you're encountering.
80.
▲
by
alecthomas
5y ago
It does. It sounds like the parent has had an unfortunate interaction with a bad codebase, because that is not accurate at all.
81.
▲
by
alecthomas
5y ago
I just did a quick search for "Virus Scanner" and this was in the first 10 results: https://apps.apple.com/au/app/phone-protection/id1282949977 Pretty clearly fake reviews, what it provides seems li
82.
▲
by
alecthomas
5y ago
One extra tip when wrapping error return values is to use the wrapcheck ( https://golangci-lint.run/usage/linters/#wrapcheck ) linter. This will tell you when you're returning an error without wrapping it.
83.
▲
by
alecthomas
5y ago
I guess the key word that lets them get away with it here is "Capability".
84.
▲
by
alecthomas
5y ago
Oh huh, interesting, I've never seen that done before. I'm struggling to understand what the rationale _for_ doing it is though. Maybe it's to avoid an import cycle?
85.
▲
by
alecthomas
5y ago
I haven't looked in more detail, but one blocker is that `ProtoMethods() *methods` returns a private type, making it effectively unimplementable outside this package.
86.
▲
by
alecthomas
5y ago
As the sibling comment mentions, if you're running Intel JDK on M1 it will be slow. You can find M1 native JDK builds here: https://www.azul.com/downloads/?version=java-11-lts&os=macos...
87.
▲
by
alecthomas
6y ago
Seems to have been removed. Archive link: https://web.archive.org/web/20210102041634/https://ex-apple-...
88.
▲
by
alecthomas
6y ago
My previous Apple TV (pre 4K) bricked itself twice. I got a refund after the second time.
89.
▲
by
alecthomas
6y ago
Same here, and my wife. That was one of my most infuriating phone experiences. The 6S was working perfectly fine then after some update it was basically useless. This was around the time of the underclocking debacle.
90.
▲
by
alecthomas
6y ago
This one? https://jvctv.com.au/product/58-4k-uhd-led-tv/ No mention of "Android" or "Smart", but it does do DVR of some sort, so it's not 100% clear.
More ›