Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
saila
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
saila
5y ago
I think about this a lot, and it seems to me that the amount effort it would take to get an effective government in place is roughly equal to the amount of effort it would take for people to make individual changes to their habits and consu
182.
▲
by
saila
5y ago
On top of that, the associated pollution kills far more people, contributes to climate change, and causes tons of respiratory illness.
183.
▲
by
saila
5y ago
> After that, convert it to a static language I don't think you can have a hard and fast rule like this. It will depend on the situation. In many instances, a "prototype" built in Python or similar is perfectly fine. In ad
184.
▲
by
saila
5y ago
Is the premise unreasonable? Of course, it depends on what you're doing--there are certainly use cases where you know Python or a similar language wouldn't be appropriate (for performance or other reasons)--but it seems to me th
185.
▲
by
saila
5y ago
Circular imports often indicate an architectural issue. In any case, there are easy solutions in the rare cases where it's absolutely necessary, like putting one of the imports at the bottom of one of the modules or in a function. Rega
186.
▲
by
saila
5y ago
You can use DI in Python too--it's an architectural pattern that can be used in any project regardless of language. I've never seen or used autoloading in Python. What would the use case for that be? I guess it could be "conv
187.
▲
by
saila
5y ago
I had some issues with Docker when I first got my M1, but then I realized I was using an amd64 image. Images built for arm work fine for me.
188.
▲
by
saila
5y ago
Have you tried oat milk? The Oatly full fat version is very rich, almost too rich for my taste, but it works well as a creamer substitute.
189.
▲
by
saila
5y ago
I did some research into this recently and it seems there is no definite link in humans. Also, a lot of common foods have phytoestrogen ( https://en.wikipedia.org/wiki/Phytoestrogen#Food_sources ).
190.
▲
by
saila
5y ago
I'm curious what you mean. I tried "css guidelines" on Google and DuckDuckGo, and cssguidelin.es was the first result on both.
191.
▲
by
saila
5y ago
https://mynoise.net/ is my goto for noise. I usually go for basic pink or brown noise, but they have a bunch of other fun and interesting sounds too. I have pink noise playing pretty much all the time at home. Not only does
192.
▲
by
saila
5y ago
Correction: in paragraph 2, "arm64" should be "amd64" Update: I switched to an official postgres image and it works great. I just had to create a derived image that installs PostGIS like so: FROM postgres:13-bullse
193.
▲
by
saila
5y ago
There must be a perception-over-time element to this. Fresh from the container, there's probably not much difference, but the size of the container, whether it's re-closable, how well it conducts heat, how fast the individual drin
194.
▲
by
saila
5y ago
Cola in a plastic bottle seems to go flat faster, but maybe that's because it's often a larger size (20oz vs 16 or 12oz)? Or maybe with a can you feel compelled to drink it more quickly because you can't re-close it? The test
195.
▲
by
saila
5y ago
The postgres image (postgis/postgis:12-3.1-alpine) is linux/amd64. I see now that the official postgres images have other arch options compared to the postgis images, which are arm64 only. I wonder if that could make a difference.
196.
▲
by
saila
5y ago
I used to run Docker on an older Intel Mini and it was fine--a little slow but usable. I've also used it on other Intel Macs without major issues, including running giant Java apps and SQL Server. On my M1 Mini, I found it unstable and
197.
▲
by
saila
5y ago
That's the current situation, but what about the past several decades? The article claims that very few attractive neighborhoods were built in the US post WWII.
198.
▲
by
saila
5y ago
All the videos I see on TikTok regarding COVID are all pro-mask/pro-vax/pro-science. I can see how others will be led down a different path though. Not sure it's intentional so much as showing people what they want to see, an
199.
▲
by
saila
5y ago
What if you have, say, a 7 story building and someone on each floor presses the call button at around the same time? Do you send the elevator to each floor based on the time the button was pressed, or do you maybe go to the top floor and pi
200.
▲
by
saila
5y ago
I don't understand this take. Were Boomers, for example, adamant defenders of free speech (on the whole)? Gen X might be an exception, but it seems to me that all prior generations attempted to squelch speech and other rights more so t
201.
▲
by
saila
5y ago
Overall, I think the new version looks better. The only thing I don't get is why they made the tabs into floating buttons with empty vertical space on both sides. On the one hand, I think it looks nicer than the current tab bar, but
202.
▲
by
saila
5y ago
You don't need any special "brain food." You just need to take breaks and eat regularly. Edit: And of course you should try to eat a balanced, "healthy" diet, but the issue being described in the Twitter thread is p
203.
▲
by
saila
6y ago
> No on minds someone that is weird and quiet In my experience, this has definitely not been true. People will assume you're being standoffish even though you're just minding your own business, just aren't a very talkative
204.
▲
by
saila
6y ago
This is the style I've settled on lately, where all the major keywords are left-aligned and the clauses are consistently indented. It uses a bit more vertical space, but I find it easier to read than any other formatting style I'v
205.
▲
by
saila
6y ago
I think for the vast majority of at least pure-Python projects you could just use poetry and upload your packages to PyPI or a private index. You can go from an empty directory to publishing a package within minutes with poetry (although, o
206.
▲
by
saila
6y ago
Everyone I know (personally or otherwise) who is an actual leftist is very vocally unhappy with the bombing of Syria, the lack of stimulus checks, ICE's policies, and Biden generally. He's most certainly not a leftist hero/id
207.
▲
by
saila
6y ago
Your average Republican is going to be more authoritarian-leaning and hawkish than the not-actually-left FAANG caricature you're describing. Republicans are pretty unlikely to support such leftist notions as democratizing the means of
208.
▲
by
saila
6y ago
Just because Gab and Parler claim to support free speech absolutism--and use that for marketing purposes--doesn't make it true. I signed up on Gab recently to see what people were talking about on there, and the discussion is far les
209.
▲
by
saila
6y ago
Interesting. I usually find it easier to generate URLs on the server and more convenient to consume APIs that include links to related resources. The other option is munging URLs on the client side, which can be tedious. I'm genuinely
210.
▲
by
saila
6y ago
The basic HTTP methods work in the vast majority of cases. The key is to create the appropriate resources--facades that compose the data model and business logic as needed.
More ›