Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nhumrich
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
nhumrich
1y ago
Phase-2 being what? demo day?
62.
▲
by
nhumrich
1y ago
Except that all acceptance via YC is actually done remotely. They don't meet you in person until after they have already wired the money.
63.
▲
by
nhumrich
1y ago
I have heard this from a lot of people, yet here I am, using a terminal that supports this, and have yet to ever do it. Can you help me understand what workflows you depend on Ctrl+f for? I wonder if I am missing something big.
64.
▲
by
nhumrich
1y ago
> there is nowhere to go with phones than thinner Umm, smaller? We don't need thinner, we need smaller.
65.
▲
by
nhumrich
1y ago
I have a raspi sitting idle and would love to use it to run this! What are common solutions for backups? I would hate to lose all my photos. Is buying a Synology the only option?
66.
▲
by
nhumrich
1y ago
So, typer than
67.
▲
by
nhumrich
1y ago
Let me try: "outdated and groundless"
68.
▲
by
nhumrich
1y ago
Joplin
69.
▲
by
nhumrich
1y ago
CPython core devs. Specifically talking about the CPython code base. Hence, the namespace comment, which doesn't really make sense in a purely python context.
70.
▲
by
nhumrich
1y ago
GPU/c-bindings. Python packaging for for Python only modules has never been a problem. When people say they hate python packaging they are usually talking about being able to successfully install dependencies without much thinking. Bu
71.
▲
by
nhumrich
1y ago
People misunderstand the target audience and code base for the zen of python
72.
▲
by
nhumrich
1y ago
You can setup notify to run as a trigger on an events table. The job that listens shouldn't need a pool, it's a long lived connection anyway. Now you can keep using pgbouncer everywhere else.
73.
▲
by
nhumrich
1y ago
Since this is touching Linux, and Linux is copy left, they _have_ to do this.
74.
▲
by
nhumrich
1y ago
> code is not an asset—it's a liability Yes, this. 100% this. The goal is for a program to serve a goal/purpose with the least a amount of code possible. AI does the exact opposite. Now that code generation is easy, there is no
75.
▲
by
nhumrich
1y ago
WSL is so incredible. But support for it from 3rd party dev tools is so terrible.
76.
▲
by
nhumrich
1y ago
This model already has a name: pre-rendered.
77.
▲
by
nhumrich
1y ago
Try out Junie
78.
▲
by
nhumrich
1y ago
This looks like a performance nightmare, and would likely never have IDE integration. So I guess I was wrong. It could be a library. But will be much better supported officially.
79.
▲
by
nhumrich
1y ago
You should check out PEP 787
80.
▲
by
nhumrich
1y ago
We're at a point where the current generation of programmers weren't even _alive_ when that happened.
81.
▲
by
nhumrich
1y ago
Yep. Probably worth it. You could also do this with a monkeypatch method to "opt in" to this change.
82.
▲
by
nhumrich
1y ago
It's for SQL, HTML, and shell. But idk how solving injection, a top on the OWASP list forever is considered "overkill".
83.
▲
by
nhumrich
1y ago
No. F-strings should still be the default. T-strings aren't usable directly, and don't have a `str` like API, so they aren't even compatible, intentionally.
84.
▲
by
nhumrich
1y ago
I for one think python has never been better.
85.
▲
by
nhumrich
1y ago
I suggest you read the PEP, there is a section on i18n. Short version is it's not designed for this use case. As for variables and arbitrary code/lambdas, yes: t-strings can do that, just like f-strings
86.
▲
by
nhumrich
1y ago
This feature actually can't be a library. It needs to be able to preserve the string before the variables are passed in, which a library would be unable to do because f-strings immediately replace all the values. The whole premise of t
87.
▲
by
nhumrich
1y ago
For me, this is the best feature to land in python for 6 years. JS has had this and it allows my code to be completely safe from SQL injection, which is an absolutely incredible feature, given SQL injection has been the #1 vulnerability for
88.
▲
by
nhumrich
1y ago
This was the original proposed idea in the PEP (750), but it changed overtime. There is a section in the PEP to explain why it changed to t-strings if you are interested.
89.
▲
by
nhumrich
1y ago
The PEP was initially proposed this way. But due to various reasons, making it an open namespace was considered to overcomplicate the language (read: understanding coffee when reading it). Alternatively, there doesn't really seem to be
90.
▲
by
nhumrich
2y ago
I think OP might be hinting at cursor.
More ›