Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flakes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
flakes
10mo ago
I had no idea there was a hotkey for that. Thank you!
32.
▲
by
flakes
1y ago
Another great post from Arse Technica
33.
▲
by
flakes
1y ago
What does “4x the peak GPU compute performance” mean here? No latency difference, but higher throughput? The footnote was not at all helpful > Performance tests are conducted using specific computer systems and reflect the approximate pe
34.
▲
by
flakes
1y ago
> I absolutely loathe the amount of brute-force memorization that is required to operate a command-line efficiently. It took YEARS to memorize simple linux shit Not to invalidate your experience, but you shouldn’t need to memorize too mu
35.
▲
by
flakes
1y ago
> In theory, a PC builder could try exchanging heat to a toilet tank, allowing for highly efficient cooling with each flush. The future is here.
36.
▲
by
flakes
1y ago
Curious, what were you using for doing syscall logging? LD_PRELOAD tricks, or ebpf filtering?
37.
▲
by
flakes
1y ago
Perhaps it makes more sense to say that exported function interfaces be explicit. That forces you to document the api and more carefully consider changes.
38.
▲
by
flakes
1y ago
Im a firm believer that there will never be a perfect general purpose job scheduler. The priority for how jobs are scheduled is always deeply coupled to your business needs. General purpose schedulers always end up as a jack of all trades b
39.
▲
by
flakes
1y ago
It’s a tradeoff. Ease of modeling the pipelines vs ease of managing the infrastructure. Im not really a fan of either syntax for defining DAGs, but they're the best options out there imo.
40.
▲
by
flakes
1y ago
After using Argo Workflows, I don't think I will ever return to Airflow. Kubernetes is not an easy system to manage, but managing an Airflow setup is somehow worse. The story around disaster recovery and scheduler redundancy was an abs
41.
▲
by
flakes
1y ago
Jenkins is a place where you can be safe for a long time, however, it starts to break down at scale. I see it time after time for these batch workflow jobs. At the start, jobs run in seconds and everyone is happy. Over time, jobs start taki
42.
▲
by
flakes
1y ago
Seems prone to deadlocking- I would avoid making the thread-pool globally scoped, and instead provide it as arguments to the helper methods.
43.
▲
by
flakes
1y ago
You could argue the same thing (forcing kwargs) for all Python functions/methods, although, that would make using your APIs very annoying. The `__init__` method for dataclasses are just another method like any other. As a general rule
44.
▲
by
flakes
1y ago
Ah very nice! Did not realize this was a part of the standard library!
45.
▲
by
flakes
1y ago
Probably because a large amount of AIs are churning out Python code, and they need type-checkers to sanitize/validate that output quickly. Dynamic languages are hard enough for people to make sense of half the time, and I bet AI agents
46.
▲
by
flakes
1y ago
Really loving those markdown style tests. I think it's a really fantastic idea that allows the tests to easily act as documentation too. Can you explain how you came up with this solution? Rust docs code-examples inspired?
47.
▲
by
flakes
1y ago
It has it's niche uses, such as compiling Go for lesser used architectures. It's a bit awkward to not have full language capabilities, but it still feels nicer than writing C/C++.
48.
▲
by
flakes
2y ago
On one of my internships there was a small handheld radio floating around the office. I changed it to some local AM jazz station, set it to the lowest possible volume (such that it was barely audible), and hid the radio inside another inter
49.
▲
by
flakes
2y ago
That still has the same issues depending on the usage. The default construct here is `NotificationWrapper{nil}`. If you want to actually guard it, you also need to make the Value field private as that nil becomes part of your public api oth
50.
▲
by
flakes
2y ago
The problem I have here, is that by being an interface you’ve suddenly made the type nilable. This leads to nasty bugs and segfaults, especially where nil is the default construct for all interfaces. Ideally sum types would be concrete/
51.
▲
by
flakes
2y ago
That link I sent is an example of standard notation I used when playing set. For accents, something like bigger or smaller circles could work fine. Purdie shuffle would look like: 1 2 3 4 hh |x-xx-xx-xx-x| S |-o--o-Oo--o
52.
▲
by
flakes
2y ago
Some other ideas: - 2 bar patterns would also be great. Many patterns repeat over 8 quarters. - Allowing accents (dynamics). A lot of drum patterns involve just a few drums, where accents are what bring the pattern to life. With accents and
53.
▲
by
flakes
2y ago
Please allow triplets! You're missing out big without a basic shuffle! I also second the other comments about ordering. Cymbals on top, snare and toms in middle, bass and other pedals on the bottom. e.g. hh |x-x-x-x-x-x-x-x-| S
54.
▲
by
flakes
2y ago
HL1 is a very different experience compared to HL2. If you haven't played through HL2 I would still give that a shot. I love both games, but the second one was a lot more polished.
55.
▲
by
flakes
2y ago
> Python has been losing users to Rust. I don't entirely understand that, other than everyone saying how Rust's tooling is so much better. Not to rust, but to Go and C++ for myself. The biggest motivating factor is deployment e
56.
▲
by
flakes
2y ago
> converts programs that will run out of stack eventually regardless of the amount of available memory (and raise exceptions an the process, for example, which a program might rely on https://xkcd.com/1172/
57.
▲
by
flakes
2y ago
Main issue with symlink is needing to choose the source of truth— one needs to be the real file, and the other point to it. You also need to make sure they have the same lifetimes to prevent dangling links. Hardlink is somewhat better becau
58.
▲
by
flakes
2y ago
> it’s limited to browsers, practically That massively ignores node.js and all of the many popular backend frameworks built on it today. JS might not be everyone's cup of tea, but it is certainly not limited to browsers, practically
59.
▲
by
flakes
2y ago
I wonder if you could wrap this process in something like qemu for a cross-architecture build setup?
60.
▲
by
flakes
2y ago
> As an example, with a goroutine you have to be careful to handle all errors, because a panic would take down the whole service. Unless you're the default `net/http` library and simply recover from the panic: https:/
More ›