skysight-inc/HackerNews huggingface dataset:
Sure, it's not something you do when the problem arises - it's something (training) you do now and which pays off later.

This is not the first Ebola outbreak, and knowing of the culture of foreign distrust is not a new surprise, so I think training and preparation should have been going on for years.

Ultimately, wealthy countries need to provide education and support to help developing countries fulfill their own needs in the future. It's a never ending struggle to try to swoop in and solve a problem, then leave when the immediate need has been met.
Yikes—this makes me cringe having written CUDA and OpenMP code.
KansasFest 2019 Day 1: Penguin Software Keynote
We also suffer from there being hundreds of formats for geodata and with that hundreds of ways Metadata is stored. And they don't always line up perfectly to allow seamless conversions.
The unix philosophy of simplicity was on a per tool basis, not function or line of code. The walrus operator is Python version of what we can do now in C or in JS, doing plain assignment in an expression while evaluating it for truthiness. And more often than not, the point of that single-purposeness in Unix is so you can chain a bunch of piped commands that result in a perl-like spaghetti command that's three terminal widths long.
It's also used in Algol, Pascal, Modula and other perfectly respectable languages.
Sounds like a cool profession, what are you up to nowadays?
What if video games could help fight climate change? No, really
Yes, we've spoken to many (i.e. UC Berkeley's Cool Climate, Nori, and Pachama) who have deepened our understanding of the space and inspired us to keep building. As it turns out, the best solution to climate change is divesting from fossil fuels entirely, but we will need a whole host of solutions that includes carbon sequestration and carbon removal — projects and technologies that individuals can fund. If you have anyone you think we should talk to, please send them our way!
Sweet service. When will they start charging a subscription to cancel your other subscriptions?
Absolutely.

Developing countries tend to have extremely low cost of public transport. Yet cost of living, such as quality free cost heathcare for terminal or chronic medical needs, such as heart disease or cancer or diabetes are non-existant or minimal to the point there's an ideal but no implementation of the policy. And private medical insurance capped at a $CURRENCY limit, should that be exceeded then lights out on insurance, no 'promise to care' in those private insurance contracts.

I certainly notice the correlation.
Yes! `textwrap.dedent` is great. On further reflection `wrap` is actually more useful for this kludge (see below). But my point is that that's a whole import for a kludge. Compare the f-string ideal (by my standards):

raise ValueError("File exists, not uploading: "
f"{filename} -> {bucket}, {key}")

...which is short enough that it's readable, and it's clear where exactly each variable is going. It's the single obvious solution, so much so that I don't spend a second thinking about it (very Pythonic!). Compare it to using `str.format` with the same continued indentation:

raise ValueError(("File exists, not uploading: {filename} -> "
"{bucket}, {key}").format(filename=filename,
bucket=bucket,
key=key))

Even this minimal example looks terrible! Remember that a lot of exceptions are raised within multiply-nested blocks, and then format pushes things farther to the right (while also ruining your automated string-literal concatenation, hence the extra parentheses), leaving very little room for the format arguments. You can use a more self-consistent and readable indentation strategy:

raise ValueError(
(
"File exists, not uploading: {filename} -> "
"{bucket}, {key}"
).format(filename, bucket, key)
)

This is unquestionably more pleasant to read than the former, but it's 3 times longer than the simple f-string solution, and I would argue it is not any more readable than the f-string for this simple example. My point with having a `str.wrap` builtin is that at least you could use the docstring convention of terminating multi-line strings on a newline, which would get rid of the string concatenation issues while leaving you a consistent (albeit diminished by the "wrap" call) amount of rightward room for the `format` args:

raise ValueError("""File exists, not uploading: {filename} ->
{bucket}, {key}
""".dedent().format(filename=filename,
bucket=bucket, key=key))

Maybe a little bit better than the first one, especially if you're writing a longer docstring and don't want to think about string concatenation. But still a kludge. You can use positional formatting to shorten things up, but the fundamental weakness of `str.format` remains.
Unfortunately that new Light Rail Line, being a suburban mini-metro with virtually all new stations along highways, will not create more walkable, human-scale neighborhoods with great transit connections to downtown. That's because you won't have those neighborhoods where they'll build the stations.

And that's often the problem with public transit that is built nowadays in North America (if any is built at all..) -- it's often built to outer low-density suburbs, along or on highways, with giant park'n'rides instead of neighborhoods at stations.

And that's why walkable neighborhoods with good transit connections are so rare and thus so expensive.
Sorry I didn't see your responses until now. Indeed, there are many ways to slice the specific problem. I was specifically responding to the parent's statement:

> It would be a game changer if someone were to come up with a novel method of decomposing audio into discrete components

It's something that has been generally addressed and ~works. It will obviously depend on the specifics of the application, and yes if you can constrain the problem space further you ought to do better!
All discussion I've ever seen was about the need for the feature, not its spelling. I didn't even know "as" was proposed, but in fact it is an "alternate spelling" they considered[1] in the PEP.

[1] https://www.python.org/dev/peps/pep-0572/#alternative-spelli...
I can’t believe that nobody has ever applied a full colour decal to a pcb before, but this is still pretty awesome.
That works if “if” statements were the only place the assignment expression operator could be used.

It works less well if they can be used everywhere an expression can occur, including the right side of assignments—especially since Python has both multiple (x = y, z) and chained (x = y = z) assignment, which can be used together.

What does this mean if = is used for both assignment statements and assignment expressions:

x = y, z = 10, 20

When they are distinct, these have different meaning:

x = y, z = 10, 20 # x: (10, 20), y: 10, z: 20
x = y, z := 10, 20 # x: (<existing value of y>, (10, 20)), y: <unchanged>, z: (10, 20)
> So what makes this particularly bad?

humidity. (at least in the midwest).
Only true where there is a normal distribution, the vast majority of people are less wealthy than the global mean of individual wealth for instance.

The vast majority of people have more than the mean number of legs per person.
At least in the US I think it’s an economy-of-scale thing. People get used to products at specific prices, because they’re used to shopping at the big box stores. Then when an independent or mom-and-pop store opens, their prices are a bit higher because they can’t survive on such small margins. Then there’s sticker shock by the customer, the independent store gets bought out or closes due to lack of money, and the cycle repeats or another big box retailer moves in.
That's fair I suppose, the difference being that there's a lot more ways to screw up instruction backdoors and make them extremely visible than RDRAND, where the output is claimed to be unpredictable.

In the end it's a defense in depth approach - I simply think the original and default Linux kernel policy of demanding sufficient entropy from other means is preferable from a security perspective.

Theodore Tso has some good posts on this on the kernel mailing lists. Due to the way these sources get mixed, it would only improve security to turn this option off.
You're right, updated now.
Oracle committed one of the largest frauds ever, $150m to not deliver what they said they would deliver, while deliberately misleading Oregon govt with statements like "it's 70% done, just give us money!"
They've been lame every since implementing article limits. It's the freaking news. Who wants to pay to read the news, especially when the articles are shared all over the web?
I do think that there's a correlation, but I don't think it's done out of malice. I believe it's not due to walking/public transportation directly, but because housing and office density doesn't go up enough to counteract people moving in to take advantage of the public transportation.
Thank you for the insights! One last question if you don't mind..

Have you ever paid for buying links? I know it is against Google's policy but SEO companies I talked to before I decided to learn it myself told me that 18 out of 100 links are paid links (with maybe 2 free links as every SEO guy is doing broken lb, etc so free links are mostly taken). They said they can even get me links from some pretty big sites if I had the budget for it.

Is that true? Would love to hear your thoughts.
Heat index is by far more useful than temperature when discussing this. At 90f at 90% humidity is more dangerous and feels hotter than 102 at 50% humidity. 100f at 65% humidity feels like 136f and higher humidity quickly turns deadly.

Or as the article puts it, extreme heat killed 108 people last year.
I use Pass on both the desktop and Android and have done for a few years now. It works really, really well. I couldn't imagine using anything else at this point.

The only "issue" I've had is formatting my phone, but forgetting to first back up the GPG key I used. The solution is just to create a new key and (from my desktop) reencrypt all the passes. It's not hard, but it does take about 10 minutes.
https://www.youtube.com/watch?v=lyS37xjVvC8 is it similar to that, using inkjet printing + coating (which the UV light would be used to cure)?

Edit: https://en.wikipedia.org/wiki/Flatbed_digital_printer has some info on UV printers, seems you can get inks which are themselves curable under UV.
It works in C, and have caused countless bugs in C (and C++).

So much so that many have adopted the rule that the variable goes on the right, "if 42 = b", to make sure the compiler barfs when you intended to write "if b == 42".

With := it's less likely that mistake is made. I also find it visually more distinct, so easier to parse, but that might be very subjective.
Agreed, but the anarchy of JS was a result of a dead standards process between the major vendors that resulted in de facto freeze. The anarchy is direct result of a stewardship body not evolving the language to meet evolving needs.
“infrastructure isn't as well in place to deal with things like this“ and people don’t know how to either. It’s similar to blizzards in Georgia. Minnesota is fine with 6” snow. In Georgia it’s lots more risk because of the lack of experience.

It’s bad because people (usually already frail) get heatstroke/overheated and die.
By that logic we shouldn't recommend cars with high safety ratings, because we can always train users to drive motorized unicycles at 200 MPH. Clearly there's no fault with the unicycle regardless of how many people crash, it behaved as specified.

Except the specification is trash.
First, I really like how these turned out. I'm sure the market for this is niche conpared to the overall market for PCBs, but a great option for those who want it.

Second, I hadn't heard of the CC public patent license before, but it seems like a good way to go to keep an idea "free", rather than not pursue a patent.
Depends on what's meant by 'average'.

True for median, (by definition) but false for mean and mode.
I had never been in an accident in 22 years of driving a vehicle until several months ago when I was rear-ended while sitting at a red light, in bright, mid-day, dry conditions. My car was the only one at the light even. This extremely poorly driving (or distracted?) human is presumably still out there on the roads somewhere.
‎The Portal: Peter Thiel (Eric Weinstein Podcast)
payday loans do not cause poverty but they make things worse by trapping people into a vicious cycle of high interest loans they will never pay off.

by no means do they mitigate poverty
Signal won't validate the session key via that mechanism, each pair of communicating users have to do that themselves
Throttling an engine down to zero would not happen during propulsive landing until the craft is on the ground. Reducing thrust to zero would result in violent rotation of the craft, and the available thrust would be well below the weight of the craft at minimum throttle. At this point in time the helium lines would be fully pressurised so there’s no way to repeat the anomaly.

After landing there would be a process to make the craft safe by releasing all pressurised gasses, and either sealing or burning off remaining propellants. With no pressuring remaining there is no way to repeat this anomaly.

There will of course still be issues with the residual hypergolics since they are highly toxic and the propellant tanks will need to be decanted: whether than happens before or after crew recovery is another discussion.
I do this all the time:

x = function_that_might_return_none()

if x:
do_stuff
I probably should be noted that my mbp was the 13” i5 version as well, so not exactly one of the high performers.
Most of the people who are taking your fonts are also making a product. We understand the need to make a living and the difficulty of making a product. I hope you get paid for what you do but you don't get to decide the market size for your product when it is a digital good. The market does.

There is a market for paid specialty fonts used on a website. People should pay for that. However, there is not much of a market for paid fonts used in Sketch when developers and designers are testing out different concepts they MIGHT use in production. You complaining that you are failing to monetizing off that non-existent market is completely bonkers for me.

The ground I stand on is reality. You're living in a fantasy land where musicians still get paid big dollars for records and where journalism is a lucrative career.
How many healthy (no disabilities or diseases), mentally well adjusted (smart, capable, making good choices in life) people actually want to perforate their skull and route wires into their cerebral tissue?

For free, probably a conference room full of people, from an array of countries.

Now, how many are there, interested in paying thousands of dollars for it? I'd guess maybe less than five a year.

From what I'm observing, there's much more hesitation with this bold move, than other shifts in technology, because there's no "collector's item" materialism built into this one. It's body modification, closer to boob jobs, piercing and tattoos, hot iron branding, sex organ removal and botox. It's not like flame throwers, fast cars and rocket ships. It's not clothes, shoes and handbags.
Makes sense, but if there’s any OS integration (e.g. file type registration, desktop links, etc) then the app isn’t truly sandboxed by these means alone.
Buses could probably work in urban areas if there were less cars. Today cars come from far and wide "bunch up" in cities. Much of the reasons why trains are better in urban areas today is because of the dedicated space and being electric. But train don't get to really use their speed, easier environment or carrying capacity much in urban areas.

With less cars in cities buses could be competitive with trains since they are street level and can go in different directions, but the would probably still have to be electric and automated for that to be true. (Of course you would still need subways and commuter trains anyway, but you wouldn't be as dependent on them). Trams could probably also be an option, but I am not entirely sure on the future of self-driving trams.
In the age of e-banking, i would be surprised if physical retail bank offices matter that much. Personally, i visit it once a several years.

With regards to ISPs, i often see that richer neighborhoods have wore coverage than poorer neighborhoods, as it is much cheaper to cover big block of flats with fiber than villa neighborhoods (so these are often limited to wireless ISPs).
The Zen of Python states:

> There should be one-- and preferably only one --obvious way to do it.

There are plenty of ways to do assignments. Walrus assignments are only the obvious way in certain cases, and in general there aren't other obvious ways. For testing and assigning the result of re.match, for instance, walrus assignments are clearly better than a temporary.

I can think of lots of nonobvious ways to do assignments, like setattr(__module__...)
The humidity amplifies the effects of the heat. I remember the first time I travelled to Arizona and was expecting to suffer when I saw the forecast temperatures were 100+, but the dry heat was - I hesitate to say comfortable - but very different from a 90 degree day on the East Coast with high humidity. An extended period of extreme heat + humidity can be brutal on the body, particularly those already vulnerable or without adequate air conditioning.
Pickle is only guaranteed to work within python versions and shouldn't be used as a long-term data storage strategy. It's really intended for quick-n-dirty serialization, or for multiprocessing communication, where the objects are ephemeral.
> I have asked many, many people the same question and the answer is always the same: convenience.

You have not asked me. I have a grocery store, and a TON of other stores of all sorts in walking distance, but I drive to the dollar store because it's cheaper.

For example the dollar store popcorn kernels are about half the price of the grocery store ones. Simple glass dishes are 1/3 to 1/4 the price of anywhere else. You can get a pregnancy test for $1, vs $6 to $30 anywhere else.
> One of the primary flaws of capitalism is that there is little incentive to enter a lower margin business when their is still potential profit to be made in a higher margin business

That's quite easily disproven throughout the modern history of market economies. For one relevant large example, low and high margin retail rapidly expanded and evolved simultaneously throughout the US market during the 19th and 20th centuries. Dollar - nickel & dime - stores didn't wait until all the high margin business potential was gone.

Sam Walton didn't decide to go high margin just because there was still some obvious growth left in Macy's business in the 1960s. He saw an opportunity elsewhere.

There is tremendous value in getting there before someone else does, rather than wading into extreme competition just because a segment is higher margin (which does you no good if you die in the fierce competition). Low margin can be a spectacular business thanks to volume. Just ask Walmart, as a low margin retailer they've generated more net income over time than any other retailer that has existed.

Another counter to your premise, is that if you build a successful, high volume, low margin business, it is extraordinarily difficult to compete with. And you can easily end up earning as much as a high margin retailer with lower volume. Walmart and Amazon understand this very well, as do dollar stores.

The myth of profit maximization is perhaps the greatest myth having to do with Capitalism. I'd argue that in fact few businesses pursue max profit, much less profit at all costs. It's a caricature of S&P 500 type companies. It goes along with the commonly espoused myth that there is a legal responsibility to shareholders to maximize profit. Most businesses that stay in business understand there are dangerous, very negative consequences to pursuing max profit, as it pertains to customers, employees, reinvestment, etc.

Your premise is strict on theory, weak on actually being how business founders & operators think and how / why they start a business in the first place. The typical business founder doesn't run a massive analysis of the US market city to city, for years on end at great cost, and decide there's a bit of profit left in high margin, therefore they won't enter low margin. That isn't how a business founder thinks at all. The actual chaos involved is breathtaking, it's high on impulse, gut feelings, 'instinct,' intuition, a sense of opportunity, and low on following some kind of rigid theory and massive market analysis.
Claiming the progressive agenda is to suppress/devalue the birth of white babies is literally a white supremacist talking point.
Personally, I have three issues when thinking about contributing to charities like Wren:

1) Will my money go where they say it'll go? How can I know that?
2) How do I know that I'm actually helping the environment? How do I know the money doesn't end up in some corrupt individual's pocket at the target country? I know first-hand how some people end up profiting handsomely from subsidies with various tricks.
3) Am I actually offsetting X tons of carbon? How does preservation even offset any carbon, since it's preventing more carbon from being released, instead of offsetting what I did release.

Thanks for the effort, it seems like a very worthwhile cause!
I love string interpolation! But this seems to take it to a bizarre level place just to save a few keystrokes. Seriously, how is f"{now=!s}" substantially better than f"now={str(now)}"?

Ergonomically, I see little benefit for the added complexity.
Can Marriage Be Equal If You Don't Share Money?