Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
halfcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
211.
▲
by
halfcat
2y ago
> It's a ratio of inputs to outputs.. even in the example the inputs and outputs are measurable. But reality is never that clear cut. How’s the ratio look when: - Peter goes to the park and the breakthrough doesn’t come? - Or it c
212.
▲
by
halfcat
2y ago
I always thought Hamilton [1] does a good job of giving enough visual hooks that draw you in. I also noticed this pattern where library authors sometimes do a bit extra in terms of discussing and even promoting their competitors, and it mak
213.
▲
by
halfcat
2y ago
This seems like a bad idea all around. BITI, like many “ETF that tracks ___” , tracks daily changes, which means as price chops around you’re continually losing value, i.e. BTC can break even over a year and BITI will lose value. Then ther
214.
▲
by
halfcat
2y ago
Same. Tried to write a boot loader in HTMX. Wish I’d used React instead.
215.
▲
by
halfcat
2y ago
You team knows Python/Ruby/PHP/Elixir/C# and uses Django/Rails/Laravel/Phoenix/ASP and doesn’t have a need to hire dedicated frontend people. You can leverage your existing talent to drive the fronten
216.
▲
by
halfcat
2y ago
This kind of use case is where you’d use Alpine instead of HTMX (if you’re going for the no-build approach). It has everything you’d need for this, client-side store, etc. Alpine is basically light weight, no-build Vue. HTMX is really only
217.
▲
by
halfcat
2y ago
Passkeys address the phishing angle, but as always it’s a trade off. With passkeys if someone gets remote control of your computer they have access to everything you setup a passkey for. Typically people say “well full remote control is far
218.
▲
by
halfcat
2y ago
> * What exactly is the problem with tight coupling?* As Joel Spolsky put it: ”the cost of software is the cost of its coupling” . More specifically the cost of making changes when “if I change this thing I have to change that thing”. B
219.
▲
by
halfcat
2y ago
Usually I’d tell the UDP joke at this point, but you might not get it
220.
▲
by
halfcat
2y ago
Does JSON Schema help here? https://json-schema.org/
221.
▲
by
halfcat
2y ago
This is very cool. How does this compare to tools like Celery and Dagster? Like we might use Celery when we need to run specific tasks on specific workers (e.g. accessing some database that sits inside a corporate network, not accessible fr
222.
▲
by
halfcat
2y ago
That’s my intuition as well, but it does raise a question in my mind. We have storage solutions that are far more robust than the individual hard drives that they’re built upon. One example that comes to mind is Microsoft Exchange databases
223.
▲
by
halfcat
2y ago
I haven’t used it, but .net developers I know seem to like Hangfire https://www.hangfire.io/
224.
▲
by
halfcat
2y ago
Accurate. There’s this seemingly never ending stream of moments of desperation, where there are no good answers. But also if you asked me, “what led to most of the goodness in your life?” , I’d answer: Moments of desperation
225.
▲
by
halfcat
2y ago
This is cool. How do you intend this to be different from general chat-based AI tools out there? Meaning, I can already do something like this with ChatGPT or similar. Is the idea that your site works with sites that are blocking ChatGPT, o
226.
▲
by
halfcat
2y ago
USD has value because it’s backed by a sufficiently large group with guns. BTC has value because it’s backed by a sufficiently large group with encryption. Mechanisms which are difficult to bypass have value. You can’t eat an RSA private ke
227.
▲
by
halfcat
2y ago
> are we sure node graphs are the best metaphor? Modifier stacks (like 3DS Max) give you 80% Worth noting that, generally speaking, a linear sequence of modifier steps is what we get as the output of a topological sort on a DAG. Mean
228.
▲
by
halfcat
2y ago
Say more. Are you wanting “Node-RED but for Python”? Or the non-UI parts that are accessible programmatically? I’ve had similar interests and realized I essentially needed two things: 1. Something like “FastAPI without the HTTP parts”. Basi
229.
▲
by
halfcat
2y ago
> impossible to use those models as a source of truth for anything unless you used Python Django models are just a SQL database under the hood. Is there a reason you couldn’t just connect to the database from C++?
230.
▲
by
halfcat
2y ago
You're framing the problem in terms of mathematical expected value (probability and penalty/reward), but the business environment in which software operates is fundamentally complex (see below). There is a spectrum of complexity:
231.
▲
by
halfcat
2y ago
> how often do you ask an engineer to do something they've already done? The beauty of software, is that you don't solve the same problem over and over, because if you did, you'd automate it I heard someone summarize thi
232.
▲
by
halfcat
2y ago
David Parnas wrote in A Rational Design Process (1985) [1] that accurate estimates are essentially unattainable, but we should try anyway. The point is, I think, that the ceremony of a structured process facilitates communication better t
233.
▲
by
halfcat
2y ago
And also, when possible, try to use a key manager over environment variables. Using a library like keyring [1] is a significant step up from a .env file sitting in your dev environment. In other words: - Store secrets in settings.py (bad) -
234.
▲
by
halfcat
2y ago
Yes, I experience this exactly. In solitude I can sit and work on a challenging task for 12 hours or more, falling asleep with my laptop and picking up where I left off upon waking. I’m so into it I forget to eat and shower. I remember hear
235.
▲
by
halfcat
2y ago
Can I ask what you do for version control of SQL? I ask this sincerely, as I’ve seen many scenarios over the years where a tool like Django is used to manage a Postgres database, solely that the schema migrations are captured in version con
236.
▲
by
halfcat
2y ago
Is it just the generic, non-descriptive naming, or what do you think is the root of your distaste for pandas? Like if we have a dataclass: obj.thing == value Or SQL: SELECT * FROM table WHERE thing = ‘value’ We don’t know
237.
▲
by
halfcat
2y ago
I recall enjoying Masters of Deception: The Gang That Ruled Cyberspace
238.
▲
by
halfcat
2y ago
> ”that can be eliminated or at least mitigated with at least one verifiably trusted piece of equipment” What’s an example of how this would work? Are there people building their own network cards, motherboards, RAM, and CPUs from scra
239.
▲
by
halfcat
2y ago
Do dbt or SQLMesh do this, or if not can you say more about what you’re envisioning?
240.
▲
by
halfcat
2y ago
I really like the dataframe approach. I think it’s because I like REPL-driven-development where I can drop into the REPL and work through how to transform the data interactively. To be fair, it can nearly always be done in SQL also (unless
More ›