Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
raldi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
52 ms
·
871.
▲
by
raldi
5y ago
Einstein's fame kinda ruined the word "genius" — people tend to think the word is just a synonym for smart. But to me (and I think the gen- root at the beginning supports this), the key thing about a genius is that they revol
872.
▲
by
raldi
5y ago
This also reads like social commentary :)
873.
▲
by
raldi
5y ago
Agricultural use of water is heavily subsidized. The amount of water you would have to pay $2000 for, Big Ag gets for around $40. Source: https://blogs.berkeley.edu/2018/01/26/the-cost-of-irrigation...
874.
▲
by
raldi
5y ago
Indeed, they're not especially thirsty; California just grows an incredible volume of them because we subsidize their production with vastly underpriced water far cheaper than the rate per volume that residential users have to pay. It
875.
▲
by
raldi
5y ago
"Today nearly 80% of California almond orchards are using microirrigation and, as older orchards are replaced, we expect that number to grow." "Previous studies have shown that a reasonable estimate of the runoff volume is 15
876.
▲
by
raldi
5y ago
Google is aware that it's a dead end: https://www.google.com/maps/dir/37.7855646,-122.4743446/37.7... The application of Occam's Razor that feels to me like the simplest explanation here is that Goo
877.
▲
by
raldi
5y ago
Or we could just stop exporting almonds to other countries. https://www.motherjones.com/wp-content/uploads/LA-vs-Exports...
878.
▲
by
raldi
5y ago
Indeed, and I'd also recommend reading The High Price of Free Parking for all the ways we stupidly subsidize car culture. As a transportation activist, I'm used to drivers attempting to claim the progressive mantle by saying tha
879.
▲
by
raldi
5y ago
Manhattan does not have congestion pricing. They’re studying it, and according to their announced schedule will continue to be studying it until at least late 2023. NJ residents are furious and the governor has vowed to fight this "dis
880.
▲
by
raldi
5y ago
Imagine what would happen to Leonia property values if residents were banned from driving on Manhattan streets. Society is about cooperation. Leonia benefits immensely from its proximity to Manhattan, and in return, people coming into and o
881.
▲
by
raldi
5y ago
Do you have this level of indignance against car manufacturers, who also use the existence of public streets to benefit their shareholders? > What does Google give back to the public in return? Free, searchable maps and outstanding dir
882.
▲
by
raldi
5y ago
It does appear to be an unusual sort of dead end: https://www.google.com/maps/place/Lake+St+%26+15th+Ave,+San+... There’s a sign in the middle of the street instead of off on the side. Wouldn't be surprised a
883.
▲
by
raldi
5y ago
What's the right analogy for this, graspable by the techo-illiterate? Maybe like, the state mails letters out, and a reporter realizes that if you slit the envelope open, you can see that sensitive information was accidentally printed
884.
▲
by
raldi
5y ago
The X-Men one is really cool, but I don’t get “The message is disguised via a secondary lettering set which shared the same white color as the main text.” The screenshots seem to show the opposite: identical lettering, different color.
885.
▲
by
raldi
5y ago
It’s apropos that this was posted at the optimal time to rise up the front page, and that identifying such time is more of an art than a science.
886.
▲
by
raldi
5y ago
3 measures = 1 cup Now divide both sides of the equation by 2.
887.
▲
by
raldi
5y ago
Imagine Circle B is reduced to infinitesimal size, like rolling a quarter around a needle. It still makes one full revolution, even though the ratio of the circumferences is effectively infinite.
888.
▲
by
raldi
5y ago
Have you never needed to debug an issue that was only happening on production?
889.
▲
by
raldi
5y ago
I don't get what thought that picture is supposed to provoke.
890.
▲
by
raldi
5y ago
How does making these DEBUG logs into INFO logs make the volume manageable? Or, to flip that around, if you take a program that produces a manageable amount of INFO logs, and change some of those INFOs to DEBUGs, how does that suddenly beco
891.
▲
by
raldi
5y ago
Addressed here: https://news.ycombinator.com/item?id=28764834
892.
▲
by
raldi
5y ago
Performance degradation is noticeable with excessive logging; the level is irrelevant.
893.
▲
by
raldi
5y ago
We're discussing a NullPointerException situation; how is that not debugging?
894.
▲
by
raldi
5y ago
Of course you always keep it on — the point of the different levels is that you can filter them out at read time (e.g. to eyeball logs, or to alert when the rate of >= WARN is too high)
895.
▲
by
raldi
5y ago
The author later explains that in such situations, you log before at DEBUG level, and after at INFO.
896.
▲
by
raldi
5y ago
The author does log before, just at DEBUG level. In the scenario you describe, the information you desire would be available.
897.
▲
by
raldi
5y ago
That's why the author wrote: > I make exceptions for DEBUG.
898.
▲
by
raldi
5y ago
That's what the DEBUG level is for, as explained at the end of the section you're referring. So it would be like: D: Connecting to DB D: Reading config file D: Connecting to API server D: Sending updated record
899.
▲
by
raldi
5y ago
Similarly, if it’s “3rd & GOAL”, how much farther is there to go? Nine and a half yards? Three inches?
900.
▲
by
raldi
5y ago
How would you have told the story of Bridgerton without sex scenes?
More ›