Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pphysch
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
541.
▲
by
pphysch
2y ago
I have a technical question about "fractal" viz like this. How is object scale represented? Is it just a float, i.e. the fractal is not really infinite?
542.
▲
by
pphysch
2y ago
I'm not saying you design a language with an optional GC, I'm saying the user can implement their own allocators i.e. large object pools nested in the GC-managed memory system. And then they get to avoid most of the allocation and
543.
▲
by
pphysch
2y ago
Some nice UI decisions (dragging hyperlinks to spawn new nodes), but overall it seems like an art project (i.e. how it started) with unclear practical advantage over a more straightforward "second brain" like Obsidian, or establis
544.
▲
by
pphysch
2y ago
> Either you sacrifice memory safety or you accept a more restrictive paradigm than GC'd languages give you. This is true but there is a middle ground. You use a reasonably fast (i.e. compiled) GC lang, and write your own allocator(
545.
▲
by
pphysch
2y ago
I certainly don't miss needing to install additional system libraries in addition to my pip install.
546.
▲
by
pphysch
2y ago
I'm not talking about Red vs. Blue. US national policy doesn't actually swing that much when Red switches to Blue and so on. Yes, Trump abandoned this or that agreement, but Biden generally didn't reverse. I believe Lee Kuan
547.
▲
by
pphysch
2y ago
Did America stop being a democracy under FDR? Conflating specific term limits with autocracy/democracy is a bit dramatic. There isn't anything physically stopping America from doing what China is doing. We literally did it first (
548.
▲
by
pphysch
2y ago
Hence the "defensive" qualifier. Defensive bureaucrats hide behind the "just doing my job / following orders" excuse. This is problematic when it is at odds with ethics, especially in civil service organizations. Fo
549.
▲
by
pphysch
2y ago
You might clarify "domestic peace". America has been one of the most secure nations in history from large-scale domestic invasion (it's essentially never happened: Pearl Harbor, isolated terrorist attacks, and "open bord
550.
▲
by
pphysch
2y ago
I agree. Does anyone know much heavy lifting is done by pg_query in wrapping the Postgres code vs. Postgres in expressing that code in a manner that makes pg_query possible?
551.
▲
by
pphysch
2y ago
> Unlike template strings, it was done in the language. This is a disingenuous way to compare a LISP with a language that values syntactic convention and strives to be readable and maintainable by more than one person. > I predict tha
552.
▲
by
pphysch
2y ago
You don't have to add HTML validation to your processing func, but you brought up invalid syntax up as an issue with string templating. > The whole thing is wrongheaded; exactly the kind of stove-pipe people end up inventing when
553.
▲
by
pphysch
2y ago
By what definition of "ideal"? You just hid all the complexity in those undefined `convert` and `format` methods.
554.
▲
by
pphysch
2y ago
lot_of_html isn't a string literal with dangerous elements smooshed into the trusted scaffolding like an f-string would do. It's a template instance that still needs to be safely processed into a renderable string, e.g. by escapin
555.
▲
by
pphysch
2y ago
That Ruby code is clever and concise, and terrible to read and extend
556.
▲
by
pphysch
2y ago
Jinja et al. are fine. But they still forces me to choose Python OR HTML. I have to jump between files and LSPs. t-strings pave the way for true Python+HTML seamless DX.
557.
▲
by
pphysch
2y ago
This could be a game-changer for applications that involve lots of HTML, SQL, or other languages that tend to be embedded within Python programs. Frankly, HTML templating is the worst part of Python webdev DX for me. Excited to see what lib
558.
▲
by
pphysch
2y ago
Happy to help.
559.
▲
by
pphysch
2y ago
You will implement terrible lag masking and clientside prediction if you aren't looking at it from the UX perspective, because that is literally the only reason these features exist, to trick players into thinking the game signals are
560.
▲
by
pphysch
2y ago
Sounds like a great business model
561.
▲
by
pphysch
2y ago
Seems too biased and harsh. The best lag masking and clientside prediction systems I've experienced as a player are those that are closely integrated with the idiosyncratic gameplay mechanics. I would never expect SpacetimeDB to have a
562.
▲
by
pphysch
2y ago
> stopped by a court because this counted as unfair competition with private entities I came across this recently as well. This is one of the most insane aspects of our current zeitgeist. In a world where VC unicorns and megacorps common
563.
▲
by
pphysch
2y ago
I'm skeptical that 1. Clearly define requirements 2. Clearly sketch architecture 3. Setup code tool suite 4. Let AI agent write the remaining code Is better price-performance than going lighter on 1-3 and instead of 4, spending that ti
564.
▲
by
pphysch
2y ago
> A reader might fairly ask what my tribe is. I'm not sure. Oh brother. Self-awareness about your political conditioning and biases should be step 1. Being unaware of your (intellectual) tribe implies a lack of good-faith understand
565.
▲
by
pphysch
2y ago
I think the flexibility and agility in domain modeling is the magic sauce of ORMs like Django. The Model definition directly drives migrations and form generation (incl Admin GUI). If you know exactly the product you are making and don'
566.
▲
by
pphysch
2y ago
FastAPI isn't an ORM. You use Django for the ORM.
567.
▲
by
pphysch
2y ago
If it had a serious QA process behind it, sure, I don't care how the code is generated. But I wouldn't trust an AI to design the QA process.
568.
▲
by
pphysch
2y ago
- a much more Pythonic control flow than Django: there's no big settings.py file that does a bunch of magic. "Management commands" are just regular python scripts that get executed within your apps context. Can run in Jupyte
569.
▲
by
pphysch
2y ago
Python 3.14 will likely add PEP-750 t-strings which will make LSP integrations like this much more tangible. https://discuss.python.org/t/pep750-template-strings-new-upd...
570.
▲
by
pphysch
2y ago
I use Django at $DAYJOB for multiple projects and love it but definitely see its age. I would never migrate to something "slightly different" like this. I have a different approach to "modernizing Django", which is to wr
More ›