Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
iknownothow
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
iknownothow
4y ago
Love it, I agree 100% that snake case is easy to read and I will definitely be trying out Cobra_case for my personal projects in Python because my class names are the least readable.
92.
▲
by
iknownothow
4y ago
That's a very interesting way to look at gift giving! I just bought gifts for my own partner and kid. I'm confident that for every $10 I have spent, they'll only see/perceive/gain $6 of value from it unless they&#x
93.
▲
by
iknownothow
4y ago
Anyone have opinions on what Google's next steps could be? I think I've heard enough of how ChatGPT is better than Google Search. I'm interested in hearing from people in the know of how Google could use its very sizable and
94.
▲
by
iknownothow
4y ago
I thought the head of lettuce they were talking about was Boris Johnson. Turns out it was an actual head of lettuce.
95.
▲
by
iknownothow
4y ago
Airflow but use KubernetesPodOperator so you can run your ETLs in docker containers or pods within k8s (any language you want). You may need to write a few lines of dumb python code to build a DAG of KubernetesPodOperators but the actual wo
96.
▲
by
iknownothow
4y ago
On a slight tangent just to add another speculative datapoint to the language and embodiment discussion. It's quite possible the right hemisphere of the brain is subservient to the left hemisphere because the language center of the bra
97.
▲
by
iknownothow
4y ago
This advice comes from tunnel vision and makes perfect sense if you know that you have exactly two pods running at any given time. But if you have exactly two pods, then why bother use k8s? IIRC one of the major selling points of K8s was on
98.
▲
by
iknownothow
4y ago
To clarify, when I meant speak, I meant speak in a language that I have just started to learn.
99.
▲
by
iknownothow
4y ago
Seconded, I want to speak openly without fear of judgement first with the AI so when I do speak to real people I'm much more confident. I know people who are confident/shameless (a positive trait in this case) who don't mind
100.
▲
by
iknownothow
4y ago
I would recommend Postgres and the best reason I can give is its very good "extension" ecosystem [1][2]. But I wouldn't go so far as migrating existing projects from MySQL to Postgres. Use Postgres on your new projects and le
101.
▲
by
iknownothow
4y ago
I agree with the author that applying systems dynamics to software teams and organizations might be too rigid and inevitably fails when you treat humans as static and unchangeable. I personally despise single metric optimization. However th
102.
▲
by
iknownothow
4y ago
I believe this highlights a culture gap. I think it's hard for one to identify as an introvert according to the western manifestation of introversion. In India it might be practically impossible to ever find alone time and most introve
103.
▲
by
iknownothow
4y ago
A lot of recent tooling around SQLite has opened up some new possibilities. The biggest one I can think of is Litestream which has allowed SQLite to have distributed reads. This makes SQLite a strong contender for serverless and extremely c
104.
▲
by
iknownothow
4y ago
I am an Nginx user and I really do not want to go away from here. It's too performant and too mature. It has a terrible UI problem. I don't want to learn a new tool. All I ask is a Caddy style JSON configuration format for Nginx.
105.
▲
by
iknownothow
4y ago
Wouldn't you be doing JSON processing instead of text processing? I myself never had to do text processing but instead JSON processing and that was convenient to do in Postgres directly, and I assume it's convenient to do in SQLit
106.
▲
by
iknownothow
4y ago
I just checked Google trends for the phrase "hair loss" localized to South Carolina. The graph doesn't point to any trend that starts in 2018 as far as I can tell. I could be wrong. UPDATE: I checked for "hair loss"
107.
▲
by
iknownothow
4y ago
Could you elaborate on the TOAST issues you're having? We're pretty liberal with our use of large JSONB objects and might hit a billion objects in a year or so.
108.
▲
by
iknownothow
4y ago
Pro tip: If you want to download an image or pdf, Drive will still let you print, so you can print it to file as a PDF.
109.
▲
by
iknownothow
4y ago
At this point it's a reflex and that's what I hate about it. I've had to catch myself mid way through the reflex, when I turn to look at the phone and then turn it on and then realizing what I've done and then turn it of
110.
▲
by
iknownothow
4y ago
I think you made a great observation about the 5-10 breaks but I disagree with your assessment that we're just replacing one random behavior with another. The fact that I am "compelled" to look at my phone instead of staying
111.
▲
by
iknownothow
4y ago
It's okay to stick with Docker if it works for us right? There's nothing fundamentally wrong with it right? At the moment Podman is just more work for us because I and other devs don't have years of of experience and intuiti
112.
▲
by
iknownothow
4y ago
From what I've seen, most developers either aren't systems thinkers or are too busy to take a step back and spot and eliminate redundancy. The best way I can explain this is that many software processes and pipelines within compan
113.
▲
by
iknownothow
4y ago
If you go back to the original comment from the user praptak, you will notice in his example the assignments "obj.a += (2,)" and "obj.b += [2,]". These assignments work exactly as expected no matter which school of tho
114.
▲
by
iknownothow
4y ago
Gotcha, I see where we differ. I've exclusively programmed in Python and since int, str and tuple are immutable in Python, I've always assumed "+=" operators create copies and don't update the object.
115.
▲
by
iknownothow
4y ago
Maybe we are looking at it differently. To me, the behavior of "obj.a += (2, )" is the obvious and expected one i.e. I expect a tuple "(1, 2)" to be created and stored in "obj.a" and the class attribute "
116.
▲
by
iknownothow
4y ago
Oh, that's a wtf for sure. More to be scared of and more paranoid I'm going to appear to junior devs while reviewing merge requests. If I'm not mistaken there's a chapter in Effective Python about this, where they recomm
117.
▲
by
iknownothow
4y ago
What do you think about the current state of Flask and Flask extensions? Are they being maintained and up to date? Or would it better to go with FastAPI and use its non-async features to have the same Flask like experience?
118.
▲
by
iknownothow
4y ago
Neon now opens the door (at least in my mind) for Postgres to be used for analytics or a data warehouse for almost an order of magnitude more data before having to consider Snowflake. Basically if someone is already using Postgres as a ware
119.
▲
by
iknownothow
4y ago
We already use DBT and the data is less than 10TB, something Postgres can handle well. And most of the data is concentrated in a few tables. With a serverless approach I'd be happy to allocate 10x resources for just a query or two and
120.
▲
by
iknownothow
4y ago
Valid points but want to address some specific points: 2) Not entirely true. On average you may be right, but some specific items that I care about, like some good brands of milk, are actually cheaper on the app than at the store (my refere
More ›