skysight-inc/HackerNews huggingface dataset:
> You mean return the land to some imagined pristine prior state

I'm not sure if "you" there was supposed to mean me or GP, but I had already explicitly challenged the concept of "natural" before you showed up (https://news.ycombinator.com/item?id=20668387). Be careful of putting words in others' mouths, and especially of flinging terms like "bullshit" at others. Some might conclude that your own jeremiad better deserves that label.

> The only thing you can do is facilitate a ecological equilibrium in which Kudzu is now a part.

In the specific case of kudzu, perhaps. More generally, it's much more complex than that. "Only minor changes from how it is now" is as broken as "like it was 100 years ago" and for much the same reason. Other outcomes have proven possible, many times. Invasive species have been eliminated, once-native species reintroduced (locally of course). We might not know exactly what does and does not constitute a "natural" state after hundreds (or thousands) of years of human influence, but there's no reason to assume that the state resulting from passive neglect would be optimal in any sense. By many measures, such as species diversity or health/longevity, it's often objectively worse than alternatives.

> I also think you are overemphasizing the harm.

Interesting, since I didn't actually predict any harm. I predicted outcomes which you yourself categorize as harmful, even as you advocate for (in)action which makes them inevitable.
Imagine all you have is a password, and I come along to register, attempting to set my password to "hunter2". Turns out someone else has already used this. Do you allow me to continue or tell me the password is already in use? If its in use - great, I'll just log in using that other guys account!

Of course, you could let the site specify the password, which would work if they're long and random. But social security numbers are neither of those.
It's not just about the combinators vs specialized syntax. I've had to write a library with 0.1 futures and you have to implement a lot of Futures manually. i.e. you need to implement the Future trait for your types pretty often. In those cases you cant use the combinators, you need to directly drive the state machine of your future with poll() and try_ready macro etc. With async/await I don't have to implement any futures manually anymore, the diff of my library updating to async/await is basically deleting 75% of my code.
> One of the hallmarks of a collapsing society is that "everything becomes a political statement"

What is this based on?

Athenian democracy and Roman republicanism each thrived in hyper-political cultures. The early America was heavily political.

Politicisation of culture doesn’t mean rise or decline. It means there big decisions need to be made. Big decisions need big buy-in.
Are you claiming that Europeans don't take 1 week vacations? Do you have any data to back up that almost absurd claim?
The countryside in Italy doesn't necessarily mean you're away from tourists, see the Dutch on Lago di Garda or the Germans in South Tyrol.
That's an amazingly weird response.

Did I say I was against electric cars? I even prefaced that I want this to be real. The problem is, I smell a scam in what they're offering.

You, however, have placed your identity with electric cars to give yourself value. Because you lack personal value. A type of identity politics, if you will. How about gtfo your soapbox and realize that you just told someone who is interested in an electric car future as anti ev.
You could probably just say 'the monster' since presumably there's only one relevant monster. I don't think it's a big deal.
Shorthand writing should also work very fast on modern phone screens.
My harshest rebuttal is to say that if you cannot afford to experience a culture organically, you're just consuming the junk food version of that culture and are better served reading a wikipedia page or watching a video.

More mollified, I'd suggest that one can go to 'secondary cities'. Go to Alsace instead of Paris. Go to Sichuan instead of Beijing. Eat what the laborers eat for breakfast. Sleep in someone's home (isn't this what the supposed wonder of AirBnB is for?). Go to places that force you to experience culture just by facts of not having any easy tourist places to go or do.
I assume that what the OP meant by Duff's Device is "switch in C is syntactically a goto" rather than the specific loop-unrolling paradigm of Duff's Device itself. An example usage I've come across is the bzip2 decompressor:
https://github.com/enthought/bzip2-1.0.6/blob/288acf97a15d55...

(note that the case statements are hidden in all of the GET_* macro calls).
Revolution is not a silver bullet, it is simply change, good or bad that's how history has progressed. Out with the old, in with the new.

I think the aversion to violence has made us complacent and resistant to change, expecting progress to always be positive without any struggle or hardship may mean we not only not get the change we need, but also violence will inevitably boil over or will be prolonged over a longer period of time, the cost of which will not be realized until after the fact.

How long will the Israel/Palestinian conflict go on for? How long will crony capitalism vs crony communism go on for? How long will we continue to be present in the middle-east militarily?

Conservative dogma is what causes revolution when no change is allowed within the current societal structure.
I recommend reading http://aima.cs.berkeley.edu/ . Has great intro and goes into the details.
It is pretty hilarious. Map is such a common place concept, people are familiar with map and filter over arrays, but OP makes the exact same mistake 90% of people explaining this stuff do. He used Haskell / Idris syntax.

If someone already can intuitively/naturally read Haskell syntax, they've likely already looked at a bunch of these tutorials and read about functor/map.

For those that you're targeting that don't read haskell syntax naturally, explaining something to someone in a language they don't speak is if zero use to them.

The above comment managed to make something people already know confusing.

Monoids are nothing but a design pattern generalizing string append and the empty string.

Functors are simply a design pattern generalizing "map()" over arrays.

Monads are simply a design pattern generalizing "SelectMany()" over arrays.

It turns out that these patterns are significantly more powerful than most programmers realize, and by learning the underlying design pattern you'll be able to recognize novel situations where you can apply them and write much better/simpler code and APIs.
From self-describing as self-help to the 'guru' leader having a veritable harem, the whole thing was very typical of modern cults, which NVIXM has been widely considered as for years before the arrests.
Could you actually get electrocuted by merely standing on/touching a train carriage, but not directly touching any live wires/rails?
People these days have very little regard for anything outside their headspace. People don't care about others anymore. I kinda feel like schools need to literally start teaching the golden rule - because they're not getting it from mommy and daddy.
> There are signs everywhere telling people to stay on the trail. I have never seen so many people disregard them in my life.

When I went to the Falkland Islands the trails have clearly marked signs telling tourists not to leave the path under any circumstances because the area is covered in land mines. The signs had skull & crossbones on them and everything. It was very clear that leaving the path would risk life and limb.

And in the hour or so I was on the trail I saw several people leave the path to take a closer picture of the penguins. The things people will do for the perfect Instagram photo are unbelievable.
So, the closest we have to the Holy grail of input systems is the Steam Controller?
It is all about if people will be willing to have less detailed games or pay 90-100 dollars for the same games, or increased subscriptions.
Well, this should have been caught as an unused assignment in static analysis. A whole ton of languages allow this situation, so I'm not gonna ding Python too hard for that one.

However, here's a related but different python gotcha:

if foo(a):
v = list(bar(a))
for i in v:
print i

In this example, v is only defined inside the if. Due to python's limited scopes, v is also valid outside the if, but only has an assignment when foo(a) is True. When foo(a) is false, the for loop throws an NameError. And yes, a coworker wrote code that accidentally implemented this antipattern, albeit much more spread out in the code base.

This is clearly a bug in the code, yet no static analysis tools I've tried have successfully discovered it. There's a bug in pylint that's been marked WONTFIX because it requires a wildly different implementation. At a language level, it feels weird that if blocks aren't a scope level for new variables. If you want to reference v outside the if loop, declare / assign it outside the loop first.
That may work fine for where you live, but that doesn't apply in my case. It's over $400/month alone for both parking in my apartment building, and getting a space to park near my work (both downtown Chicago). And 90% of the places I go to outside of work, don't have free easy parking, so I'd be paying a ton for parking since there isn't convenient free parking lots like suburbs have. So parking costs alone makes it unrealistic for me and not as cheap as in your case.
I loved Deep Learning with Python by François Chollet -- the creator of Keras

https://www.manning.com/books/deep-learning-with-python

An excellent, coherent overview with working code to train a variety of neural networks.
From my perspective the main objection I have with respect to packrat parsing is that it's just not necessary for most common parsing problems. Parser combinators is a completely different issue - parser combinators work just fine on tiny systems.

But PEGs for most languages translate trivially into recursive descent parsers with limited lookahead. In most languages where there's a risk of significant backtracking there tends to be relatively simple ways of minimizing it by relatively simple restructuring of the grammer without any reason to resort to packrat parsing. I'm sure there are cases where it's tricky enough that a packrat parser simplifies it substantially, but I just haven't come across any where it's particularly compelling.
That would not catch the bug if the input is not under is control.

You could as well say "Just check if the object is a string" in the method, which would work but the point was rather that it is difficult to notice if you did not think about it. Compared to other languages that would crash or not compile instead.
Python is a dynamic language, that's what dynamic languages do, you don't have a type checker but have greater flexibility, but you don't have to settle on that, you can actually use mypy and annotate types and get best out of both worlds.

> And another one, I typoed a variable name as groups_keys instead of group_keys (or vice-versa, I don't remember). Instead of just throwing an error, Python happily went along with it, used an uninitialized value, and then all the logic broke.

This isn't what Python would do, if the variable was undefined Python will throw an error, so you must have defined it with this name or you're misremembering what have happened.
Wow! This is such an awesome comment! I know some non hacker news people in the gender/feminism community who asked me to copy/send your comment to them via email.
On that note, this is an excellent class based on the book:

http://ai.berkeley.edu/home.html
Better yet, punch cards.
It's true that travel should not be reserved for the wealthy. At the same time however travel is no different to most other non-essential commodities and should be similarly allocated via the price mechanism. Given that the supply of desirable destinations is fixed and demand is rising it stands to reason these destinations cannot be accessible to everyone.

As the article touches upon, each additional tourist presents an increase in the external costs they impose on everyone else. These costs may manifest in price increases (more expensive accommodation) or in other ways (longer queues, disruptions to locals, etc). Taxes are very much needed so that tourists bare the true cost of their presence. This will achieve the desired outcome of reducing tourist numbers by pricing some people out and making alternative destinations more appealing relative to their price.

Tourism is a luxury and there is no serious case to be made that cities should have to effectively subsidise the demand of travellers so that everyone can see the world.
I use Hacker News mostly to avoid vapid responses like yours.

However, I should say that the right to repair a device like a tractor is something I very much support. But that's a $100k+ piece of equipment that someone's livelihood depends on and should last in excess of 10yrs.

Apple devices and phone toys... please...

The issue with apple devices is that they're intended to be discarded and replaced, not that they're "unable to be repaired". Have you seen how poorly most people treat their phones and computers? There's a reason Apple doesn't engineer products to last that long - because a majority of their customers will manage to break them anyway and inevitably will buy a new one because they want to be "cool" like all their other friends (an societal and consumerist trend I honestly take more of an issue with).

I understand your point, but I hope this has helped you understand my point of view a bit better :)
This came up on a different hn thread recently:

> This reminds me of a great Mitchell and Webb sketch. https://youtu.be/CS9ptA3Ya9E
such predictable answers...
The same schema repeat over and over.
Let me be clear, what you say is mostly not wrong, but misleading.
Your comment understate the importance, the necessity of quantification.

"never needed refueling"
Wouldn't that be fascinating?

"cars get destroyed in all imaginable ways all the time"
Right.
"so the nuclear pollution would need to be expected to be released often"
Yes BUT can we have a little bit of intellectual riguor and admit that we must quantify how much dangerous that would be.
Let's keep in mind that a nuclear car having an accident != a new chernobyl.
Being at most a kilowatt reactor make it order of magnitude less radioactive.
I Guess (wishful thinking maybe) that the radiations would be far less dangerous and more local than is explosion and fire from current car crashs.
But I want a nuclear expert to show me a calculus that would show if the dangerosity is negligible or higher (how much) than current crashs.
The thing is, such experts will not read this thread and even if there were a scientific consensus on whether it's probably safer, democracy would be order of magnitudes too dumb / ignorant to vote for it.
BTW the numbers of death due to C02 emissions should be taken into account too.

"we don't have a solution for the contaminated waste that millions of nuclear powered cars would produce."
How do you know that?
There's 0 funding to experiment solutions in the first place.
But I expect it to be trivial.
Current wastes are trivially contained in safe places. They do not need maintenance.
Do you know how much a nuclear reactor produce waste per year?
I did, I don't remember the exact number, but it was like a few kilos at most.
So for a micro reactor in a car it should be a few grams at most.
Which should be recuperated at the end of life of the car (if not negligible).

I've not even talked about nuclear advances such as reusing the wastes or provably safe reactors which necessarily auto shutdown by design. This already exists, but democratize very slowly due to lack of funding because of irrational politics driven by hysterical people fear (did you know that nuclear was both cleaner than solar AND safer (yes solar killed more people statistically).

"We can satisfy our power needs from renewable sources with existing technology to competitive prices."
Wishfull thinking?
Firstly solar does not scales well, is not autosuffisant, it fascinatingly less efficient than nuclear (did you remark that solar is indirectly catching the output of a nuclear (fusion) energy AKA the sun?)
But the fact is, electric cars are a lie. They will drive no pun intended a penury in Lithium which is necessary for efficient batteries which will be dramatic.
Nuclear cars would not need batteries or only small batteries.

Thanks for reading.
Google Free Services, Explained
What it's like to get 'devastating' health news from 23andMe
Looks like it. No idea if that's new http://www.chinafirewalltest.com/?siteurl=news.ycombinator.c...
How touristy is Marseille?
Discordianism has nothing on the Church of the Subgenius. I've read the pamplet and the Wikipedia page several times each, and still have no half coherent idea of what the church is about—except the chaos, of course.
Have you read up on Alan Turing? He was a member of a minority like you that faced similar prejudice of his time.
Path of Exile doesn't have just cosmetic loot boxes, you can actually buy game upgrades! You can unlock inventory tabs and get better sorting.

And that's what I mean. Those features are a few dollars, you almost always know exactly what you're getting, and they're generally only useful after you've put a few hours into the game. For a free to play game, that's a totally valid use in my book.

> but just not buying them isn't really a solution for people with a gambling problem

Someone having a pre-existing gambling problem isn't the fault of the developers, nor is that what the researcher in the original article is claiming. The researcher claims that allowing kids to engage in buying loot boxes fosters a gambling addiction later in life.
According to the World Tourism and Travel council's report, Iceland is #21 on the list of countries most reliant on tourism. The highest is Maldives with 25%.
Sorry to burst your bubble, but there aren't any countries where 100% of GDP comes from tourism.

https://www.wttc.org/-/media/files/reports/2018/power-and-pe...
According to the comments here [1], only a part of the trail is closed.

[1] https://www.alltrails.com/trail/us/pennsylvania/glen-onoko-f...
This stack sees a lot of changes. I can see opentelemetry mentioned as next step. Is the overaching goal to produce a spec and reference implementation that could replace ApplicationInsights from Microsoft? Can someone with more knowledge about one or the other chime in with their insights?
To me it seems as simplistic as speaking about female hysteria (which was the case in the medical profession for centuries, ever since the Greeks).

Thinking in terms of “female traits” that are taken to an extreme. That kind of thinking itself says women should be afraid to give in too much into “their nature”, because it’s just a societal construct where they are encouraged to be, say, irrational, catty, moody, whatever. (They have to question who they act and “be more logical like men” — a social conservative like Jesse Peterson would still advocate that today.)

(And frankly I believe that ADD is the new Hysteria, but for kids.)

Does that sound like a productive way to conduct public discourse and discuss issues among adults?

Some companies have experimented with it in a big way. Here is the Result: https://onenewsnow.com/business/2019/08/02/gillette-cut-by-8...
You're seriously living in an urban bubble if you think either an Apple store or a certified repair center will be readily available and convienent for everybody. Let me remind you, the alternative is Apple sends me a new battery in the mail and I insert it into my phone myself. Zero downtime or travel.

The last time I got a battery replacement for an Apple product was a few months ago, when I was living in Seattle a mere 30 minutes away from the University Village Apple store. From the time of my first phonecall to schedule the appointment to me walking out of the store with a new battery, three and a half weeks elapsed. I had to go to the store three times, the first time they merely "confirmed" what I had already told them on the phone and said they'd need to order the battery and it would take a week. What a fucking disaster, why didn't they order it when I called? Why did they give me an appointment when they knew they couldn't help me that day? Imagine if I was living an hour or two out of town, that would have been three afternoons of my short live wasted. Unacceptable.

It's shit. Unmitigated shit. With my old thinkpad I had new batteries mailed to me and it took mere seconds for me to swap them. I am never buying another computer from these shitheads. People who continue to support Apple have either gotten lucky, or they're nuts.
It isn't the credit card that is in your possession that's the problem, it's the fraudulent loans, credit cards, etc. that the scammer receives directly from various banks, etc.
You're referring to invention, not innovation.

From Webster:

> Innovation, for its part, can refer to something new or to a change made to an existing product, idea, or field. One might say that the first telephone was an invention, the first cellular telephone either an invention or an innovation, and the first smartphone an innovation.

The iPhone wasn't even the first touchscreen smartphone or the best smartphone of its time. But it was the first Apple smartphone. I remember people showing off "how cool" it was.

Brand and product design are way, way more important to success than innovation is.
Chrome's new native lazy loading feature at BBC Design and Eng
This is not how planners work in most of the US. You sound like you are angry at a specific city.
They could just charge more for the games. Video games used to be a lot more expensive in the 1990s and people still bought them.
> How do you deal with a situations when you have non-async/await code, and then you need to call just one function, which happened to be "async"

This depends on what do you want to happen. Do you want to block on the one async function, or do you want to turn your current function into async and propagate the asyncness to your caller?

Both options are available to you in Rust.
It depends if the people are betting that climate change is real and these companies will start to be treated differently are correct. Could be another 4 years before changes happen...
Sorry, I meant lack of static typing, not the lack of any typing.
There's really no evidence that the USG doesn't already have everything it needs to oppress $GROUP if it wants to.

No federal IDs did absolutely nothing to inhibit Japanese internment. The federal government has vast powers already.
Reminds me of Uber right now, who is trying to sell something for less than it's worth.

Hopefully they get enough market share that they can actually switch around and make enough money to pay their drivers well.
you can gradually type (probably don't use --strict in that case). It might not be a ton of benefit if you aren't actually writing new code though.

There's a good document on this:

https://mypy.readthedocs.io/en/latest/existing_code.html