Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zbentley
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
691.
▲
by
zbentley
1y ago
Why would attitudes change? The impact is diffused across a wide enough populace (precisely because ecosystems with weak community norms around dependency security are extremely popular) that the rate of “shaping up in response to a painful
692.
▲
by
zbentley
1y ago
> a native stack [is] just a form of memory allocator There is a lot riding on that “just”. Hardware stacks are very, very unlike heap memory allocators in pretty much every possible way other than “both systems provide access to mem
693.
▲
by
zbentley
1y ago
I’ve seen government datacenters. We should be thankful they’re using the cloud. That’s not “cloud > onprem always”, that’s “even given cloud providers’ many faults governments are so terrible at managing and securing infrastructure toda
694.
▲
by
zbentley
1y ago
No, uv installs pythons available from https://github.com/astral-sh/python-build-standalone by default, which are quite good and have a wide variety of versions available, even on unusual platforms. If those don’t suit
695.
▲
by
zbentley
1y ago
> I get triggered whenever someone tells me "you can just" do this thing that is actually longer and worse than the original. Apologies for triggering you in advance, but in case you or others find it useful, here’s how to do t
696.
▲
by
zbentley
1y ago
At no point did I make an absolutist claim. If I meant “fossil fuel use should be eliminated”, I would have used those words. Do you agree that it should be avoided and/or curtailed? If not, there is little point in continuing to discu
697.
▲
by
zbentley
1y ago
Man, we have got to bring the “chief engineer” title back into more companies. CTO-titled people who self admittedly aren’t interested in leading groups of people set a terrible example for smaller outfits, and a confusing and tempting exam
698.
▲
by
zbentley
1y ago
I hope we can agree that fossil fuel consumption is something to be avoided. Subsidies are an effective means of incentivizing people to avoid fossil fuels. If you believe the externalities of solar are a problem, what do you propose to do
699.
▲
by
zbentley
1y ago
There is now work from Apple in that direction: https://github.com/apple/container No idea what the future of that project, or its potential integration with other container management systems might be, but it is certa
700.
▲
by
zbentley
1y ago
> not everything requires improvement or tinkering. Some things are just done. For sure, but how do you know? If it's only via: > The experimental part is done until a new machine might provide some benefit (Often this is done by
701.
▲
by
zbentley
1y ago
I'm not getting it, sorry. We had to have multiple apps per server before, and now we have containers which offer a convenient way to have multiple apps per server? That seems like the same thing. Could you explain more re: what you me
702.
▲
by
zbentley
1y ago
You sure? Which hardware? Put another way: stuff like Electron makes a pretty good case for the "cheap hardware leads to shitty software quality/distribution mechanisms" claim. But does Docker? Containers aren't generall
703.
▲
by
zbentley
1y ago
I didn’t downvote you, but the “this tool is bad and if you take the time to argue with me you’re a Rust cultist” line is a bit tiresome. Damned if you do, damned if you don’t. It’s a bit like if anyone who said you should switch to desktop
704.
▲
by
zbentley
1y ago
> I have a feeling this is some kind of Rust fan thing and that’s where the push comes from, to try and insinuate it into more people’s workflows. When I first started using uv, I did not know what language it was written in; it was a go
705.
▲
by
zbentley
1y ago
Not sure what I think about the theory of cryptocurrency being promoted as a tax dodge (for the wealthy) pending massive income tax hikes (on everyone else) to finance national AI spending. I'm not sure that passes the "why isn&#x
706.
▲
by
zbentley
1y ago
What would baseband usage look like in a deregulated world? I’m skeptical, but the question is honest. Without the (quite corrupt) allotment of frequencies and broadcast radio tech by the FCC and government, I’m having trouble envisioning a
707.
▲
by
zbentley
1y ago
I’m with you, but I see that pattern in enough code I read that it might be easier to fix (optimize) the language than the programmers here.
708.
▲
by
zbentley
1y ago
Nothing in my post is about performance (of Python, Rust, or anything else). While e.g. numpy might support your claim that Python being slow is reason to abandon it, I don’t think uv does. My understanding is that the poor performance of p
709.
▲
by
zbentley
1y ago
This is possible, and ubiquitous. Your terminal runs on an emulator of an emulator of a teletype.
710.
▲
by
zbentley
1y ago
> If you don’t own your servers, your keys, and your contracts, you don’t own your data, no matter how “open” the stack is. Quite true, but the choice is nearly never between an agency letting someone else own the data and owning it them
711.
▲
by
zbentley
1y ago
It works well. I didn’t know what language it was written in, nor did I care, until months after starting to use uv. I still don’t care. Sure, it’s a bit silly (I don’t think I’d go as far as “pathetic”, just silly) that the implementation
712.
▲
by
zbentley
1y ago
In many ways, the fact that Digital Service intervention was useful/necessary there, and the fact that you thought that other than liaising with other feds they "didn't do anything" is indicative of a major--perhaps the
713.
▲
by
zbentley
1y ago
My point was not that it is a solvable problem. My point is that the fact that it is not solved makes the use of AI tools a careless choice in situations which benefit from non-AI systems which can distinguish instructions from data, beha
714.
▲
by
zbentley
1y ago
Oh totally agreed; for complex transformations, being able to compose and tap the intermediate states is really nice (though I quite like generator/yielding functions with captured stack state as a happy medium). But that’s not the cla
715.
▲
by
zbentley
1y ago
I have never, ever seen this. And I’ve worked next to some very FP-forward types and academic CS/abstract math background types who have vastly deeper knowledge of their fields than I ever will of mine. Plenty of them don’t like impe
716.
▲
by
zbentley
1y ago
One of the main reasons that map() and filter() don’t get optimizations in Python is because they’re lazy . It’s a lot easier to optimize comprehensions because you can make a lot more guarantees about what doesn’t happen between iterati
717.
▲
by
zbentley
1y ago
Another example of extremely far towards the "accurate and trustworthy" end of the spectrum: asking a running webservice for the e.g. Swagger/OpenAPI schema that it is currently using to serve requests. If you can trust that
718.
▲
by
zbentley
1y ago
How do you select the “somewhere else”? For boutique things, luxury goods, or things I am very familiar with brand reputation of, I do what you do. But for ordinary low-cost consumer goods (e.g. computer peripherals, drugstore stuff, guest
719.
▲
by
zbentley
1y ago
In Oracle many years ago, we did the same thing by prepending a SQL comment to the query string. You’d think that the plan cacher normalizes queries first, but I guess not. That might work in your case as well, without requiring modificatio
720.
▲
by
zbentley
1y ago
The linked article’s optimization applies to compound index queries, not “OR” condition optimization. Unrelated or not, skip-scan will be useful in some cases. However, the cases where it adds noticeable benefit are the cases where a separa
More ›