skysight-inc/HackerNews huggingface dataset:
Cooperative multitasking is typically done with a high level loop pumping a state machine. Duff's device is often quite useful in that implementation.
UK media is awash with it.
Astronomers have discovered the largest black hole ever observed
I often read from sites like Reddit and HN people espousing the idea that people seem to be either non-religious or religious extremists.

It's helpful to be reminded there is a quiet demographic in the world of religious peoples who don't have any of these problems at all because they have peace in their faith.
Lizardman constant. https://slatestarcodex.com/2013/04/12/noisy-poll-results-and...
> Taking a picture, of you, or just an `identical` is not why people travel.

As some who just had the dubious pleasure of sharing a vacation with his 19yo cousin, I can tell you that for her it was exactly like that.
In fact, in Canada you only have to give out your SIN when it is required by law, and you should never give it out otherwise: https://www.canada.ca/en/employment-social-development/servi...

Unfortunately, one of those lawful uses is to give one's SIN to banks who provide accounts that pay interest. That said, I don't think it's enough to impersonate someone.
XBLIG shoutout! Congrats and best of luck on your new venture.
The Search for Amelia Earhart’s Airplane
A compiled Lisp function is a first-class Lisp object.
Kolmogorov complexity is only meaningful for a specific architecture.

Without access to the architecture of the machine the universe runs on you can’t tell if the initial random string would be one bit or nigh infinite bits.
You're right of course, but I wonder if the status quo were to suddenly change so that banks are liable, would credit suddenly restrict and cause a recession or worse?
By choosing the ethical investment you are in a sense becoming an active investor betting against none ethical investments.

Trying to reason about whether the stock market is a good battleground. If you know I wouldn't want to buy your investment, surely that lowers how much you'd value it, as does the potential for having to pay a premium on bonds. As a CEO your share based compensation starts to look less attractive as does the whole idea of presiding over a company potentially on the wrong did of history. So I wouldn't say its a pointless battle.

Lets take Uber, on one level its worth billions, but it makes no money, if everyone avoided the stock and debt it would run into problems pretty quickly. It is worth billions only because sufficient people believe it is/ will be worth that much, if enough people avoid it, it isn't going to be worth that.
The first problem is a valid problem in Python: it essentially don't have a "char" type, instead it only have strings with size 1.

This actually ruined type annotation in Python: you can't properly annotate a function to accept anything iterable except string.

https://github.com/python/mypy/issues/4334 is a FR to at least check it with mypy.
> So you basically you'd have to rely on each of the function signatures, probably with some text editor/IDE by hovering over them, to figure out which one in the pipe list is Async? Or jump to each of them with ctags.

No, the point is you don't _need_ async. At least not as a language primitive. Instead, one expresses directly where the data dependencies lie. If an operation in a pipeline blocks, the runtime is at liberty to switch to another task. That already happens today, whether in language runtimes (e.g. Node) or the underlying OS. I don't need to tell the runtime "this operation might block". It already knows.

Instead, we've explicitly defined intent: when `RunWasher()` finishes, `LoadDryer()`. It doesn't matter if the washer takes one micro second or one hour; I can't load the dryer until it's done.

>Then wrap it in a try/catch or pattern match the result to handle the various errors different errors...

True, error handling is missing. But then it's not in the parent example either. The requirements aren't fundamentally different in either case.
I would argue there are no places forced arbitration is useful. It's only even slightly legitimate function seems to be reducing the load on the legal system, which, why? We have a legal system to enforce justice. If it's overloaded, increase the damn budget. This is akin to saying "we will only have firemen on call from 8am to 10pm, for budget constraints." If my house is on fire at midnight, fucking firemen better show up. Pay what's needed and raise taxes if required.
But should the costs be higher?

So much of these costs are protectionist measures implemented by government to protect the interests of established businesses.

To borrow a turn of phrase from the gun rights camp, business licenses, if they exist at all, should be low-cost and shall-issue.
Seems crazy, because 8chan has been down since Aug 2... no?
A SERMON ON ETHICS AND LOVE has always stuck with me:

"I am filled with fear and tormented with terrible visions of pain.
Everywhere people are hurting one another, the planet is rampant with
injustices, whole societies plunder groups of their own people, mothers
imprison sons, children perish while brothers war. O, woe."

WHAT IS THE MATTER WITH THAT, IF IT IS WHAT YOU WANT TO DO?

"But nobody wants it! Everybody hates it."

OH. WELL, THEN STOP.
iPhone market share in Europe drops 17%
> Children who see strangers walking down the street at night are not going to have the same attitude towards school and behavior in general as children who see neighbors walking dogs in the morning.

I'm fascinated by this view, and it's the first time I've ever heard it. Can you elaborate as to what you think the connection between seeing strangers outside and educational drive is?
That's a rant about callbacks in old style node.js and is completely unapplicable to Rust. More: https://news.ycombinator.com/item?id=20676641
NYC ubers have always been licensed by the NYC taxi regulators, not as taxis, but they are regulated quite aggressively.
There may also be risk in future liability. Tobacco took a hit because they knew of risks but they continued to sell their products without warning customers. I have heard there is similar evidence for oil companies that knew of global warming long ago but have yet to warn their customers.
I see this often and it is a bad pattern that people do.

Typically type checked languages wouldn't even allow you to do. If you would use mypy for type checking it wouldn't like it because you're redefining the type of a variable. Best practices would suggest you use a different variable for the conversion if you must, but ideally you should just make the function accept list as an argument. If you're really worried about passing something else than a list, you should use type annotations to tell type checker what it is. If you want to add extra runtime check then do:

assert isinstance(group_keys, list)

You can complain that Python allowed you to something dangerous, but you have tools to help you avoid it and this flexibility is what makes tools like SQLAlchemy so powerful.
What’s really the difference between that and the action/response of an individual person to social pressure?
> People in the US seem hostile to switching to a Canadian or Australian style immigration because each worker will only be able to bring their spouse and kids, not their entire extended family (including grandparents, cousins, etc) for every immigration granted like it currently is in the US.

WTF are you talking about? Workers can only bring their spouse and unmarried children under 21[1]. Even citizens and permanent residents can only sponsor their parents, children and siblings for immigration[2], not grandparents and cousins.

[1] https://www.immihelp.com/h4-dependent-visa/

[2] https://www.nolo.com/legal-encyclopedia/sponsoring-family-me...
I don't think what you're saying is true. I already said I think it would have been better if Python and Ruby had explicit variable declarations. But, if this is your biggest issue with a language and it's ecosystem, then IMO that language is doing pretty well. I would rather, for instance, have to deal with implicit variable declarations in Python that the gigantic mess of Java frameworks that have been invented to "reduce boilerplate", such as Spring/Guice, AspectJ, Hibernate, etc.
When does carbon offsetting make sense?
Unlike JS, most languages, including Rust, are not async by default, so this would not make sense.
These security vulnerabilities are there to educate the next generation. So they could experience the incredulity of finding out how fragile are the computer systems. Don't rob the next generation of experiences :)
I'm a little confused. Are theses landmines to keep people on the trail or are they left over from the war in the 80's? And if the latter, why the hell haven't they removed them yet? If it's the former, I'm impressed with their dedication to keeping the tourists on the marked path.
IBM, Tata take partial ownership of Hedera Hashgraph
Congratulations, your life is about to change in all sorts of ways. One of them is that you are now responsible for others, not just yourself. Accept this, don't freak out and think Cooley and rationally what needs to be done.
Games that dont have loot boxes outnumbers the ones that do. And there are definetely very good aaa examples in such games. Those games/companies survives just fine.

And it is not like all games that have loot boxes games are f2p game. Quite a bit of them are full price games + lootboxes
My first thoughts exactly. You've provided them with written and photo evidence of doing work for another company (your new venture) while being paid by them. IANAL, but I would be worried about IP claims for anything you built. Next time CYA
Trump Administration Weakens Protections for Endangered Species
that's something I miss in chrome/opera
Making Personalized Cancer Vaccines Takes an Army of Robots (2018)
Why has examine.com disappeared from search results?
Yeah I updated my post to make it clearer. Even a small sailboat can take you across oceans.
mypy was able to detect these kinds of issues for me
Even if you could generate Earth air on Mars, how would you get Mars to hold on to it?
Or fewer AAA games.

And once your art budget is in the tens of millions, 'less detailed' is often a pretty small difference.
Tips on choosing the right salesforce consulting partner
Serious question and asking as not a current Rust user - is this something Rust would have prevented?

(Let's assume the any technical limitations of compiling firmware for the camera in Rust are overcome - just focusing on the memory corruption part)
All the languages you mentioned are statically typed though so they already have a large advantage compared to Python. To be honest if I can choose to inherit a 1M LoC code base I would even choose COBOL over Python.
We can get methane and oxygen from the martian atmosphere.

https://en.wikipedia.org/wiki/Sabatier_reaction#Manufacturin...

This can be elaborated to produce plastic feedstocks. However, for making an earthlike atmosphere, we'd need to import nitrogen.

For more, check out The Case for Mars by Robert Zubrin.
Obtaining money by deception is already regulated: it's fraud. People publishing deliberately inaccurate lootbox odds should be prosecuted and given, at the very least, a criminal record and large fine.
The issue is not really hormones (they are the political reason, but not the technical one). The true issue is the antibotic abuse: this is a bio threat, especially for farmers and rural guys. Let's say you're walking your dog in the countryside. You fall somewhere, it gets infected, so you get some antibiotics. Those antibiotics do not work after 3 days because they were used in the next door farm, and bacteria is used to them.

Now you have two solutions:

* you are educated (or at least knowledgeable) and you know that if the antibiotics do not show any effect after 3 days, this is caused by resistance, so you go to the doctor again and he gives you type2 antibiotics.

* You are not knowledgable and you let the infection get worse. You have two new solutions:

* * You're young and in good enough shape: depending on the bacteria type, you will suffer for some time, probably have troubles walking and lasting scars.

* * Are you old and/or in a bad shape? Tough luck. Depending on the bacteria type, you might die.
This is great for websites that are heavy by nature, mostly media driven pages like Instagram, Facebook, YouTube, and Amazon, and WebApps.

For most other projects and blogs, a static page behind a CDN with async JavaScript tags, a moderate number of DOM elements, and inlined CSS would score a 99/100 at page-speed tests [0][1].

[0] https://developers.google.com/speed/pagespeed/insights/?url=...

[1] https://developers.google.com/speed/pagespeed/insights/?url=...
I can only speak of Salzburg but at least there the issue that the city faces is the opposite, namely that a huge % of visitors are just in town for a couple of hours congesting the city while not consuming anything.
I agree. I raised the topic recently on HN here [1], but didn't get much of a response.

One of the problems with async is that it's viral. Make a function async and your entire call graph has to be made async, unless they handle the future manually without await. Async introduces a new "colour" to the language.

I absolutely agree that asynchronicity should be the provenance of the caller. If you look at typical code in languages with async/await such as JavaScript and C#, awaiting is the common case. So if async causes your code to be littered with awaits anyway, it makes more sense to make awaiting the default (just like it's the default for the rest of the language) and "deferring" the exception. Call it "defer" or something.

(As an aside, I was always disappointed that Go's "go" doesn't return a future, or that indeed there's no "future" support in the standard library. Instead you have to muck about with WaitGroup and ErrGroup and channels, which introduces sequencing even in places that don't need it. Sometimes you just want to spawn N goroutines and then collect all their results in whatever order, and short-circuit then if one of them fails. The inability to forcibly terminate goroutines is another wart here, requiring Context cancellation and careful context management to get right.)

[1] https://news.ycombinator.com/item?id=20405124
Definitely from the war; and landmines can be difficult to find.
Attorney here! (This is not legal advice - consult a licensed attorney in your jurisdiction.)

This sounds like a garden-variety term of a settlement agreement. The parties disagree as to whether money is owed, and to settle their dispute, the contractor is offering the customer some money (or at least to drop their demand for some amount of payment) in exchange for not publicizing their grievance.

In this case, the homeowner decided not to accept the offer, and so they are exercising their right to complain about the contractor.

The fact that this made the news is probably the most newsworthy thing of all.

What's weird about this is that the CBC is portraying this as though the money involved is not in dispute. But that can't be the case: if you already have a contract, you can't add terms to the contract without changing the consideration in some way. For example, if I agree to lawn for $20, and then I mow your lawn, you can't demand that you sign a non-disparagement agreement for me to get my $20. But if I mow only half your lawn and then demand it, then you can. The consideration for the non-disparagement agreement is your foregoing legal action against me.
Definitely agree. I don't have a chance in hell of making it to Everest, not because I wouldn't want to, but I can't afford it. But if I could afford it, as much as I hear the place is already pretty much ruined (reports of garbage, dead bodies everywhere)- if everyday people like me started heading there, it would be obliterated. Now I'm not saying all travel should be reserved for the wealthy, but it makes sense that we have different levels of cost for different places. I've had two people on my team visit Reykjavik recently. And I'm just thinking - how on earth did people find out about these places. (short answer the internet ruiner of all places nice)
> What's your benchmark for a tourist only country

Mostly as % of workforce working in tourism - but may also be % GDP. And yeah there are outliers, but still : Iceland 300K people - Malta 400K people.

http://banjaraman.com/sustainable-tourism-need-of-the-hour/
That expensive insurance covers the fact that it's getting substantially more mileage (and thus risk) than a personal-use vehicle, and that ~20 people could be injured or killed in an accident.

There's a reason it's required.
Indeed -- Exxon has known about climate change since at least 1977.

https://www.scientificamerican.com/article/exxon-knew-about-...
Particularly with Erlang with beam VM which can be heavy duty for smaller stuff. Which is totally fine for the use-cases and comes with tons of benefits. Ie. everything can be a async and decoupled with actor-style processes since it's such a low investment both CPU/memory wise and cognitively for the developer... with plenty of abstractions and well-documented best-practices to help you manage them (documentation and top-level support from the language creators itself is always valuable).

While also making your software more resilient to failure because error handling is easier as you can contain the code into small processes, communicate through messaging, let processes fail, and handle/restart them from the supervisor. Using the OTP supervisor model encourages you to think through those things, like error handling and the lifecycle of your code, so it doesn't impact other parts of your running app. A lot of exception handling in other languages is often bolted-on after-the-fact and isn't part of the typical design, at least for more inexperienced developers.

It's best to commit fully to either a full-featured VM or Rust/c low level OS style IMO.

The latter group can still support a more complex actor model with libraries and frameworks (ie, https://actix.rs/) which is more flexible but nothing beats having it be the 'standard' philosophy of the language and fully baked into the runtime.
Stocks and companies don't pose climate risks.

The risk comes from the meddling governments assisted by corrupt business interests, redistributionist politicians and useful idiots that threaten all private property - it's only a matter of degree
That would make a lot of sense, but wouldn't be very practical to add in to an existing code base.
The International Fixed Calendar
As an American who has lived in Hong Kong for many years, I can comfortably say that if every Hong Kong citizen were armed with an AR-15 and 1,000 rounds of ammo they still wouldn't be able to hold off the PLA for any meaningful length of time.

An armed populace is not now nor will it ever again be the answer to this or any other geopolitical debate involving an advanced, militarily powerful national adversary.
Could someone please describe how this relates to opentracing?

And if it's an apple to apple comparison, what the tradeoffs are? (especially from real world experience if somebody has any)
How to Define Your Product's Vision
You can find code for several different implementations of ddate here:

https://rosettacode.org/wiki/Discordian_date
> but city planners in the US generally do not do any of that

N=1 here, but that's nonsense where I live. Both the city and county have 10 year plans which describe how the area looks, feels, how people live, etc. Any significant changes (such as re-zoning residential to industrial, whatever) requires changes to both the city and county plans to be approved. These things simply do not happen willy-nilly or just because it brings in money.

Keep in mind that this is not a particularly liberal / progressive area. Maybe there are some places like you describe, but in my experience that's been very much the exception, not the rule.
During the 1984 Olympics, in the US, McDonald's ran a promo where you got a peel off for an event if you bought a large fry, coke or the six piece nuggets. If a US athlete got a medal you won a food prize, potentially multiple prizes if the US placed multiple athletes.

This was the year the soviet bloc withdrew as it was in the US. The US won some absurd number of medals.

The other thing is the prize was always free food, which also had the peel offs. So you could buy a large fry and have a really good chance of completing your meal.

Now you'll see the free food consolation prizes are always for something that doesn't result in another ticket.
Sabatier reaction?

CO2 + H20 (mined) -> CH4 (rocket fuel, and a good greenhouse gas if vented) + O2 (rocket fuel, and a breathing gas if you vent the CH4)

But one nuclear reactor isn't going to have much effect. And the bigger problem with mars atmosphere is quantity (there is nearly none) not quality.

Greenhouse gasses are good because they will warm up the planet, which will release more gasses, which increases the quantity of atmosphere (not to mention bringing mars closer to a temperature we can survive in).
Has this actually been tried? I know there's no way to do a proper controlled test, at least in humans ("OK,you take this pill, and you take this placebo. Now, here, breathe this."), but is there any naturally-occurring data that might imply that this actually works? Say, distributing pills in a place with a natural radioactive iodine source, or counting up thyroid cancers after Chernobyl and comparing people-who-took-pills to people who didn't?

I assume there is at least a rat study.
I believe that this is how Scala does it, too. The caller provides an execution context that defines how the task will be run.
I'm working on the OpenTelemetry JS project and i previously worked a bit on OpenCensus NodeJS.

The aim with both projects (OpenCensus/OpenTelemetry) is the same: having a open source implementation where you can change the exporter (to GCP,AWS,Zipkin,Jeager or anything you want) whenever you like. So Microsoft (or someone else having the API to report data to Azure) could totally implement an exporter for ApplicationInsights.
Both projects have a specs [0][1] that are implemented in multiples languages.

Note: OpenTelemetry is just the project that resulted from the merging of OpenTracing and OpenCensus.

[0] https://github.com/census-instrumentation/opencensus-specs
[1] https://github.com/open-telemetry/opentelemetry-specificatio...
So much of them are necessary measures to protect people, though. The trouble is distinguishing the two.

For example, medallions are obviously and pretty explicitly a protectionist measure. On the other hand requirements to display fares clearly and use an approved meter are there to help customers from being ripped off.
Kindness, Wickedness and Safety
The model of having large vehicles that pick up a bunch of people, but drop each person off exactly at their doorstep, is something that has been repeatedly proposed for self-driving vehicles in the future (by Tesla and others). I wonder if these dollar vans provide clues about what such a system could look like at an even larger scale.
Adding dependencies takes a (little) bit of time, because of the lockfile. But deployment (ie installing dependencies) is as fast as any dependency manager (pip, pipenv, ...).
I'm not a train expert - I'll guess it depends on the train?

Reading through the list, it appears nearly everyone on top of the trains accidentally touched something live - I'm guessing they didn't realize it was live or what would happen if they touched it.
> Why was touchscreen ever even a consideration for controls you're not looking at?

Touchscreens are the future™
J.D. Salinger's books are finally going digital
And in the same way that folks are adding typing to JavaScript, it has been added to Python.

Python typing is quite similar to Flow, a JavaScript type checker.
I can't stress this any more seriously:

This is not a can of worms you want to open.