Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cuchoi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
cuchoi
7y ago
Aren't these examples of unit tests?
122.
▲
by
cuchoi
7y ago
I think there is an economic argument to be made. If a company bankrupts it is difficult to start it up again and reorganize it again. It takes time. So if companies die due to lack of financing is can create a big slowdown in the economy t
123.
▲
by
cuchoi
7y ago
This looks great! How do you define a "task"?
124.
▲
by
cuchoi
7y ago
The main real advantage for me are linked records, which allows you to keep your data normalized. Let's say you have a data model with 10 tables that have foreign keys among each other. For users it will be easier and less error-prone
125.
▲
by
cuchoi
7y ago
Can you expand on how is Zapier helping? I am using Airtable + Python because I felt too constrained by Zapier.
126.
▲
by
cuchoi
7y ago
Hi Peter, thanks for doing this! What are the implications of working remotely and outside of the US with a H1B1 (similar to H1B)?
127.
▲
by
cuchoi
7y ago
A big part of most jobs is communication. Any tool that improves that is a win. For me Slack has replaced email in a good way (can set up reminders, bots, have sub-threads, among others). This doesn't mean that it will work for everybo
128.
▲
by
cuchoi
7y ago
I don't miss it a lot in Python except for some cases such as: area(Circle circle): ... area(Square square): ... You could say "Ah! But that could be something that you define in each class, like squa
129.
▲
by
cuchoi
7y ago
https://copilot.money/
130.
▲
by
cuchoi
7y ago
This essay makes me uneasy. I feel PG builds a straw man. He takes, in his own words, the most naive take on inequality and ends up concluding that "Eliminating great variations in wealth would mean eliminating startups". A simple
131.
▲
by
cuchoi
7y ago
In mice... https://twitter.com/justsaysinmice
132.
▲
by
cuchoi
7y ago
Physical goods are easier to track than services, since the former have to go through a port. The UN has made great efforts to standardize goods data, but AFAIK they don't have services data. This is the data that this website is usi
133.
▲
by
cuchoi
7y ago
If you change slightly the economic assumption and go from a completely competitive labor market (where workers get paid the marginal revenue productivity) to a monopsony labor market (there is only one employer), then the minimum wage can
134.
▲
pandas v1.0.0rc0
(github.com)
3 points
by
cuchoi
7y ago
|
0 comments
135.
▲
by
cuchoi
7y ago
China: 6.4 metric tons of CO2 per capita United States: 16.5 metric tons of CO2 per capita -- Other developed countries: Germany: 8.9 metric tons of CO2 per capita France: 4.6 metric tons of CO2 per capita UK: 6.5 metric tons of CO2 per cap
136.
▲
by
cuchoi
7y ago
I like glob for getting the list of files: import glob list_of_files = glob.glob("*.csv") You can also use Pathlib: from pathlib import Path dir = Path(".").glob('*.csv')
137.
▲
by
cuchoi
7y ago
That's how Vimium works; f + letter clicks the link.
138.
▲
by
cuchoi
7y ago
I love the idea of bivariate color scales, but is it just me or they are hard to read?
139.
▲
by
cuchoi
7y ago
Chilean here, AMA.
140.
▲
by
cuchoi
7y ago
Isn't this the same as an outer join that filters the ones that do not match? In pandas: outer_join = df1.merge(df2, left_on='id_col1', right_on='id_col2', indicator=True, how='outer') outer_join[out
141.
▲
by
cuchoi
7y ago
The biggest advantage of venv for me is that it comes with python>=3.3. The advantage of virtualenv are the extra features, but I haven't needed them so far.
142.
▲
by
cuchoi
7y ago
I also use VSCode for some projects. I am not completely sold, but it is better than the alternatives IMO.
143.
▲
by
cuchoi
7y ago
This is has worked for me: - brew python for my global environment. - Create a virtual enviroment for each project (python -m venv). - Use pip install after activating it (source venv/bin/activate) If you need to work with differe
144.
▲
by
cuchoi
7y ago
What do you think was the cause of the underperformance of your Stan model?
145.
▲
by
cuchoi
7y ago
It is not a function of only the number of samples. It is also a function of how costly are false positives (type I error) and false negatives (type II error). That is (from my understanding) the paper's main point. But then you have t
146.
▲
by
cuchoi
7y ago
And that's not how to interpret the 95 and 99 thresholds. Depending on what proportion of "Version B" ideas are truly effective, your false positive rate (what the author is concerned about) will be very far away from 5% or 1
147.
▲
In an environment with stable inflation, the yield curve should be inverted
(johnhcochrane.blogspot.com)
3 points
by
cuchoi
7y ago
|
1 comments
148.
▲
by
cuchoi
7y ago
But then if you are using Stablecoin as your currency, what's the benefit over the dollar?
149.
▲
by
cuchoi
7y ago
Crypto is a lot more volatile than the USD (or a basket of currencies). That's why Coinbase created Stablecoin.
150.
▲
by
cuchoi
7y ago
What would be the benefit?
More ›