Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xapata
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
271.
▲
by
xapata
4y ago
You've misquoted. It's "There should be one-- and preferably only one --obvious way to do it." Preferably only one obvious way, not one right way.
272.
▲
by
xapata
4y ago
Wouldn't you make a wheel?
273.
▲
by
xapata
4y ago
> will be long and redundant They made a highly redundant traceback display much more pleasant a couple years ago, writing "the same thing 1,998 more times ..." or something like that.
274.
▲
by
xapata
4y ago
In those cases, you may wish to use a dynamic programming technique. A bit of caching might be a greater optimization than tail call elimination. The `@functools.lru_cache` tool is very easy to experiment with.
275.
▲
by
xapata
4y ago
When I read the phrase yesterday (or the day before?), my first thought was of historically significant atrocities. The Holocaust is an easy example. My second thought was of the various contemporary disasters. I suppose it's reason
276.
▲
by
xapata
4y ago
> Nothing has ever angered me more than ... I understand that hyperbolic expressions have some rhetorical value, but I seem to be encountering them more frequently over time, and I don't think the value has changed over time.
277.
▲
by
xapata
4y ago
You can take the AST produced by Hy and produce Python with `ast.unparse`. https://docs.python.org/3/library/ast.html#ast.unparse
278.
▲
by
xapata
4y ago
No, Python does not have tail recursion optimization, because Guido decided that he wanted to preserve stack frames for better tracebacks. The language team may revisit that decision someday. I assume you're referring to an optimizati
279.
▲
by
xapata
4y ago
"Literally" means figuratively, now. In much popular usage, at least. "Figurative brain washing," is quite clear.
280.
▲
by
xapata
4y ago
Shareholders own shares of the company, and the company owns assets. For example, Uber owns some data center equipment. If the company were liquidated, that equipment would be sold and the proceeds distributed to creditors, bond-holders,
281.
▲
by
xapata
4y ago
Shareholders own assets. If I buy a brick of gold, the gold doesn't pay dividends either.
282.
▲
by
xapata
4y ago
I enjoyed reading the diversion. I don't think it derailed anything, except perhaps for your reply.
283.
▲
by
xapata
4y ago
> prove There are different levels of proof. For example, civil court only requires a preponderance of evidence.
284.
▲
by
xapata
4y ago
Hotels aren't as good at this as airlines are. The airlines have more legal support enforcing that tickets are tied to an identity. Hotels can't check the IDs of everyone who goes into the room. And there are fewer airlines, so
285.
▲
by
xapata
4y ago
> I imagine the last man is dying 500 years from now and thinking Women inherit the earth.
286.
▲
by
xapata
4y ago
I think the implication in the comparison is the rate of contagion. The meaning of "contagious" changes with context.
287.
▲
by
xapata
4y ago
You seem to use a very strict definition of "caused".
288.
▲
by
xapata
4y ago
The magnitude is interesting as well, tis true. However, I wouldn't say it's a statistical "trick" because that implies the ratio is not useful information.
289.
▲
by
xapata
4y ago
That seems to be not as effective as desired.
290.
▲
by
xapata
4y ago
Not if the electric heaters aren't producing the same amount of heat. The comment suggested they've reduced heat consumption.
291.
▲
by
xapata
4y ago
I'd have thought George P. Burdell would have more Hacker News karma. We should do something about that.
292.
▲
by
xapata
4y ago
> live in a city > never going back to dense population We have different interpretations of "living in a city".
293.
▲
by
xapata
4y ago
You are stuck in a car-dependency well. As the parent of a young child, I wish very much for more car-free space around my house. Otherwise I need to pack her in the car to get some running-around space.
294.
▲
by
xapata
4y ago
Why can't Python be 1 tier? It's a general-purpose, extensible language. It can do anything that PostgreSQL can do.
295.
▲
by
xapata
4y ago
> I often find I missed the one crucial piece of information needed to make using the logs possible during an investigation. This may be a bit of confirmation bias, or ... I'm not sure what the right term is. The times you didn
296.
▲
by
xapata
4y ago
Why do you think you're the first? Did you perform a systematic survey?
297.
▲
by
xapata
4y ago
Has it? I remember hearing that unemployment is still going down.
298.
▲
by
xapata
4y ago
> A Song of Ice and Fire is based upon simple observations about politics Also based on flawed observations about politics and society, as discussed on the ACOUP blog.
299.
▲
by
xapata
4y ago
> But isn't inflation measured by some kind of average price index? CPI (Consumer Price Index) is often used to measure inflation, but is an imperfect measure. First, it only measures the prices of household consumption, not wages,
300.
▲
by
xapata
4y ago
> code words I'm not sure that's a great measure of bias. It's easy to write in an unbiased tone, yet still be biased.
More ›