Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
halfcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
271.
▲
by
halfcat
2y ago
> If it's not in a PEP Yes exactly https://xkcd.com/927/
272.
▲
by
halfcat
2y ago
I don’t know if this is how pipreqs works, but I’d be concerned about a typo in an import that inadvertently installs a library. I’ve found pip-tools [1] to be a nice middle ground between `pip freeze` and something heavier like poetry. It’
273.
▲
by
halfcat
2y ago
Would this be different from using HTMX to load an HTML partial on page load? Something like: <div hx-trigger="load" hx-get="/header.html"></div>
274.
▲
by
halfcat
2y ago
Does it export to Excel?
275.
▲
by
halfcat
2y ago
> ”Remote Browser Isolation provides Chromium browsers that run on Cloudflare, in containers, rather than on the end user’s own computer. Only the rendered output is sent to the end user.” It turns out we don’t need React Server Compon
276.
▲
by
halfcat
2y ago
> They've already removed themselves from society Larry Ellison in particular literally owns 98% of one of the Hawaiian islands.
277.
▲
by
halfcat
2y ago
How can the net amount of entropy of the universe be massively decreased?
278.
▲
by
halfcat
2y ago
How does valkey compare with garnet? https://github.com/microsoft/garnet
279.
▲
by
halfcat
2y ago
Yes. Battle future unknowns by remaining simple and flexible, not by trying to predict the future.
280.
▲
by
halfcat
2y ago
I always wonder where these spreadsheet/database apps will land. Usually it falls flat for one of a few reasons I’ve observed: - Fundamental gap in skillset, in that if you want to have ultimate flexibility to slice and dice the data a
281.
▲
by
halfcat
2y ago
Your time is worth more than the $0.34/day saved.
282.
▲
by
halfcat
2y ago
> what are the benefits of this over just processing incomplete records straight out of my database? i.e. using MySQL as a queue Mainly throughput and latency. I haven’t used MySQL recently so some of this may apply more to Postgres.
283.
▲
by
halfcat
2y ago
> there has never been an uptick in arrests If it was effective, would there have been a down tick in arrests at some point? Or if the arrest rate stayed the same, would that suggest it never “worked” to begin with? It’s like the movie
284.
▲
by
halfcat
2y ago
All the advice is very similar to the leadership advice that comes out of military special forces, like decentralized command, prioritize and execute, cover and move, and so on. With the point being, if all of your team members are elite, t
285.
▲
by
halfcat
2y ago
Bottlenecks most often stem from lack of clarity. The business doesn’t have clarity on what they are trying to achieve. Or they don’t have clarity on what’s important, and constantly change priority (and both of these can cause the most tal
286.
▲
by
halfcat
2y ago
> some finance goons' ponzi scheme If you mean banks, there’s the problem that “let it die” often translates to “shift the obligation” , which typically gets shifted to the tax payers, either in plain sight after a bailout, or
287.
▲
by
halfcat
2y ago
Django apps can be the modular part of a modular monolith, but it requires some discipline. Django apps do not have strong boundaries within a Django project. Often there will be foreign keys crossing app boundaries which makes one wonder w
288.
▲
by
halfcat
2y ago
I’ve learned more about CSS from using Tailwind than I ever did using CSS
289.
▲
by
halfcat
2y ago
Is this because graphlib.TopologicalSorter is “backwards” in the sense that it takes a dependency graph instead of an adjacency list? Or what didn’t you like about it?
290.
▲
by
halfcat
2y ago
> lambda apps Yes, SST [1] uses lambdas heavily but makes it more seamless and less visible, just the place your code runs. I’ve also found Azure Container Apps to hit the right balance. It’s kubernetes under the hood, which you don’t ha
291.
▲
by
halfcat
2y ago
Have you tried htpy [1] with FastAPI? It strikes me as that “cool HTML generator” as a standalone library. [1] http://htpy.dev/
292.
▲
by
halfcat
2y ago
> The tradeoff for productivity is worth it Yes, and most often we don’t fully understand the problem without partially solving it, which is perfect for these monolithic, batteries included frameworks. I find building apps in Django, wit
293.
▲
by
halfcat
2y ago
What’s recommended here? Self-hosted Discourse?
294.
▲
by
halfcat
2y ago
When I build a page that uses HTMX, I go one of two ways. Traditionally I first build it as a fully server-side rendered page. Once that’s working I setup my views to return HTML partials for different parts of the page. So I might still ha
295.
▲
by
halfcat
2y ago
> It strikes me as an ideology of hatred towards humans to argue against something so incredibly beneficial for the individual It’s not an ideology of hatred to consider unintended consequences. This is the plot of like 20% of science
296.
▲
by
halfcat
2y ago
It’s not really a valid comparison. Inertia isn’t a full stack solution like SvelteKit. You pair Inertia with a backend. The whole point of it is it bridges the backend you know (Laravel, Rails, Django) with frontends (React, etc), without
297.
▲
by
halfcat
2y ago
How difficult is it to troubleshoot Inertia when something breaks? That was my only fear when I toyed with Inertia, Django, and Svelte for an afternoon. When I’d get an error it seemed obscure or not indicative of the underlying cause. What
298.
▲
by
halfcat
2y ago
> After that, let them do their job and move on Yes, for the most part. But also: trust but verify Figure out how much time you can spend on re-verifying, and do it in a random sampling basis. This will look different depending on th
299.
▲
by
halfcat
2y ago
> Go ahead and type that search query into google and see what happens. What are you expecting it to show? That site removes all content after a matter of days.
300.
▲
by
halfcat
2y ago
That’s been my experience. The difference being in a corporate environment they can push policies to all employee endpoints that make this happen with no scary warning (trust the internal CA, etc).
More ›