Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CraigJPerry
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
CraigJPerry
11mo ago
The best dark mode impl i ever saw: https://web.archive.org/web/20240101060519/https://tonsky.me...
92.
▲
by
CraigJPerry
11mo ago
$0.002/min i think https://docs.github.com/en/billing/reference/actions-runner-...
93.
▲
by
CraigJPerry
11mo ago
>> You can see my instructions in the coding session logs such a rare (but valued!) occurrence in these posts. Thanks for sharing
94.
▲
by
CraigJPerry
11mo ago
At 650tb it's not a memory bound problem: working memory requirements 1. Assume date is 8 bytes 2. Assume 64bit counters So for each date in the dataset we need 16 bytes to accumulate the result. That's ~180 years wor
95.
▲
by
CraigJPerry
11mo ago
Yeah that's the one and the Grafana one is Tanka
96.
▲
by
CraigJPerry
11mo ago
Imagine 1,000s of helm charts. Your only abstraction tools are an umbrella chart or a library chart. There isn't much more in helm. I liked KRO's model a lot but stringly typed text templating at the scale of thousands of services
97.
▲
by
CraigJPerry
11mo ago
>> optimizing python performance while keeping idiomatic? That's impossible[1]. I think it is impossible because when i identify a slow function using cProfile then use dis.dis() on it to view the instructions executed, most of t
98.
▲
by
CraigJPerry
11mo ago
I don't know but given that you can't define happiness for someone else, it's a very personal thing, surely it's more insightful to flip the question on its head and figure out how to minimise suffering instead? Don'
99.
▲
by
CraigJPerry
11mo ago
Larger attack surface - you just need one of those N dependencies to fall for a spear phishing attack and you're cooked. Larger N is necessarily worse. It depends on the software being written, but if it's a product your business
100.
▲
by
CraigJPerry
11mo ago
Mojo is aiming at that. I've decided it's this years advent of code language for me and kinda looking forward to learning more about it.
101.
▲
by
CraigJPerry
11mo ago
That's a fine approach for "plumbing" type work, you know "join this thing to that thing then call that thing" - and that is most of the code in the world today but it falls apart in math heavy code. You really just
102.
▲
by
CraigJPerry
11mo ago
Ignoring the content of the post for a second (which IMO was excellent), the quality of the writing here is remarkable. This is a dry technical topic at heart and yet i enjoyed reading that entire report. It was as informative as i could ho
103.
▲
by
CraigJPerry
1y ago
At least i could follow through this one... thanks!
104.
▲
by
CraigJPerry
1y ago
Haven't watched the episode but the comment about price seems incorrect - CATL announced its pricing at $40 per kwh and said $19 is their target in future, which compares with $65 per kwh today for their li-ion
105.
▲
by
CraigJPerry
1y ago
Wrong acronym, SRF, standing repo facility.
106.
▲
by
CraigJPerry
1y ago
I was late to the hypermedia party, started with datastore but now use HTMX when i want something in this space. The datastar api is a bit nicer but htmx 2.0 supports the same approach, the key thing is what htmx calls OOB updates, with tha
107.
▲
by
CraigJPerry
1y ago
>> Yes, it comes in at the 'fair market bids' part No, you’re confused. The legally obligated “fair market bids” - a tongue in cheek term - isn’t conducted in dollars. I believe you’re thinking of the secondary market activi
108.
▲
by
CraigJPerry
1y ago
Exactly as sibling comment says, e.g. let's pretend the popular httpx cli was my project to deploy and run on the server. With only uv installed, i can: uv tool run "httpx[cli] @ git+https://github.com/encode&
109.
▲
by
CraigJPerry
1y ago
You can and probably should go thinner than this, with uv we effectively have a workflow comparable to deploying static binaries in other language stacks. You don't need the complexity of docker for this book's goal. Was hoping th
110.
▲
by
CraigJPerry
1y ago
There's so much to unpack here. I think the first thing to agree is that we don't need a model when we can just look directly at the law. This goes in the bin: >> recommend learning traditional macro It obscures what is lega
111.
▲
by
CraigJPerry
1y ago
>> completely unsustainable in what way? as a sovereign currency issuer, the US can't ever be made to default or can it? What definition of unsustainable fits? What event could cause public debt growth to reach some kind of insur
112.
▲
by
CraigJPerry
1y ago
>> sovereign debt burden So all the entities that want to hold the debt (social security administration, mutual funds, pension funds etc) where should they go instead? Riskier assets is what you're saying right? Is that a great i
113.
▲
by
CraigJPerry
1y ago
that's quite the deal. i casually clicked through expecting not much... i was wrong!
114.
▲
by
CraigJPerry
1y ago
It does need some additional SEO work but this is a great name for what this product is IMO. I'm thinking the SEO work is not insurmountable because if you were to draw a Venn diagram of std lib meanings: - libc? - libstdc++?
115.
▲
by
CraigJPerry
1y ago
money is a weird topic - i don't know of another topic where people will say "i don't know much about that" and at the same time have an inviolable attachment to ideas like barter came first (it didn't, debt came fi
116.
▲
by
CraigJPerry
1y ago
There's a product called Context7 which among other things provides succinct examples of how to use an API in practice (example of what it does: https://context7.com/tailwindlabs/tailwindcss.com ) It's suppos
117.
▲
by
CraigJPerry
1y ago
Pair programming > PR reviews. I've heard people scoff at the $$ cost of "mob programming". I think that view is totally myopic, for appropriate problems there's just no faster nor higher bandwidth way to transfer cod
118.
▲
by
CraigJPerry
1y ago
if it's just for detection would audio not be cheaper to process? I'm imagining a cluster of directional microphones, and then i don't know if it's better to perform some sort of band pass filtering first since it's
119.
▲
by
CraigJPerry
1y ago
Same phone 89% on 535 cycle count, manufactured july 2023, first used september 2023. Almost exclusively wirelessly charged every time.
120.
▲
by
CraigJPerry
1y ago
Silverblue is very under-rated currently. I see it as a slightly more pragmatic immutable os. NixOS i keep wanting to throw in the bin randomly but i have to admit that when it all works, it's kinda beautiful to own - you can harness a
More ›