skysight-inc/HackerNews huggingface dataset:
I mean, it was a pretty massive upgrade, and 2to3 exists for those who can't appreciate the value of a a function actually being composable instead of a wrongly-handled statement in the first place.

I've worked in and around Python for more than a decade, and I've yet to meet a single developer who didn't initially dig their heels in over `print` being changed, and then later realize that they were flat wrong to have dug their heels in because the new way is measurably better.

I mean, I guess I hadn't until today.
Documentation for Pan-European Privacy-Preserving Proximity Tracing (PEPP-PT)
Ask HN: Do you use a Video CDN?
I'm looking into integrating short-video upload/streaming to a project built on top of Google Cloud.

I was wondering if anyone went through this path, and when did you start seeing benefits form using a CDN compared to serving files from GCS ?

If you used a CDN, I'm curious which one did you pick and what made you choose it ?
Did you click it?
You've dashed all my hopes for a quick buck, but thank you for the enlightening information!
If the point is that cases are underreported, there isn't much of a difference between 20x, 30x, and 80x. The post was likely emphasizing that other studies have found even crazier numbers so 20-30x isn't unreasonable.
I think your reply is overly pedantic, but I guess I asked for it, didn't I.
Red Hat has committed to keeping Python 2 on life support until 2024 as part of Red Hat Enterprise Linux 8 [1] so you can get security fixes for Python 2 until then if you use CentOS 8.

Canonical will not provide long term support for Python 2 as part of Ubuntu 20.04 LTS. In Ubuntu 20.04, Python 2 is a "universe" package [2] that does not receive updates by Canonical. This means that the you will only get Python 2 security update guarantees with Ubuntu is on 18.04 LTS until April 2023.

Debian is making an active effort [3] to remove Python 2 and packages that depend on it for its next release. It'll likely support Python 2 as part of Debian Buster until 2024.

Note that if you're reading this to delay your move to Python 3 by another few years, you're doing it wrong. This list shows even all slow enterprise-y distros have a deadline for Python 2, not that you can stretch your stuff for a couple of more years :)

[1]: https://access.redhat.com/solutions/4455511

[2]: https://packages.ubuntu.com/focal/python2

[3]: https://wiki.debian.org/Python/2Removal
When I got started with my first rental property, a friend gave me some advice. He said, figure out what the market rate is, then charge $50/month less. There will be high demand for your property. You'll never go a month without a renter and you will have the pick of the litter. Your renters will all be high quality because you can afford to be picky. And it will only "cost you" $50 month. It will save you $1000s because your tenants will value the great situation they have. They won't abuse your property. You won't have to advertise for new tenants. You won't have to litigate an eviction.

There are people who can do what I can do who get paid $250,000/year. There are people who can do what I can do who can't find a job because they are holding out for $250,000/year. I'm ok making $50/month less and getting the pick of the litter.

This is called capitalism. I'm a big fan.
Joint Statement on Contact Tracing: Date 19th April 2020
You're probably talking about MessageEase.

I've been using it for about 7 months now and it's been great. I especially like being able to type complex passwords without looking at my phone's keyboard. (like when joining a new wifi network, for example)
I have wondered about the selection bias issue, and I was hopeful that this writeup would give a good look at this and other potential issues with the study.

But when I read it, I was a bit turned off by the author's attitude — which seems to be that he or some of his colleagues should have been consulted by the study authors because they are "statistics experts".

He refers to this apparent omission multiple times, and he also seems to think he's dunking on the authors when he references Theranos (and the fact that its advisors came from government/law/military). But this study is completely unrelated to Theranos (though they both involve blood and Stanford). Off-topic comments like these left me wondering if his analysis is a fair critique, or if he has an axe to grind.
Yes, but when I checked the label, I was surprised how little fish there is.

Only 65% fish

Apparently that is the minimal amount of fish they can use and still call it Fischstäbchen
I’m not sure where that belief came from because it absolutely does.

Software compositing, so you’re limited to what is practical but that’s very useful for a lot of things.
Project author here! Please let me know any feedback you have about this project. I wanted to make a free open source math program that was better than any other product on the market.

How did I do?
They already know how to store lots of oil. They can and do rent supertankers for example.
The OP most likely isn't up to date on latest NN architectures which can learn from the ordering of words. Statistical methods <> ML, not anymore in NLP.
You are aware that Snowden fled the US precisely because he feared being tortured right?
The main lesson to be learned is you need to have a good PR department.
The article (which wasn't referenced initially) says the budget was cut by 12% - hardly a catastrophic cut. The parent makes it sound as though the budget was cut completely. Also the article says that under Trump, Congress allocated more funds to the stockpile that was requested, supporting Trump's assertion that "Obama depleted the stockpile".

Quote: "During the Trump administration, Congress started giving the stockpile more than the White House requested."

ProPublica is a highly biased leftist publication as well: https://mediabiasfactcheck.com/propublica/, it's also quite literally funded by George Soros.

So if you want to provide "helpful" commentary, please post a less biased source.
Stable projects only need bugfixes...
Looks very stable to me
Who the heck is going to ride shared bikes and scooters after this?
Looks very cool, and I bet it works great, but that is a lot of technology stack to learn, adopt, and trust to solve all my problems without being too complicated.

I feel like user adoption will be hard earned because it is such an integrated and new solution.
Note to Google: Please hire the author. It's a little harsh, but I feel his pain too.
Should probably check the edit history on that page. Tienamen is a front in the information war.
... at the time of the test. Or there was a follow up?
The 100M+ number published by the Victims of Communism Memorial Foundation (funded by the USG) includes Nazi war dead.
And, at least for the early version for Proton, out-of-the-box controller support. You simply do not want to mess around with this manually on wine.
Whatever hippy commune, theocracy, or warlord will arise to replace it, they will still keep pumping every drop of oil that they can out of the ground.

In that sense, it doesn't matter one bit what the House of Saud does, the machine they built will keep going long after its gone.
Looks like first delivery isn't until may 1 according to that page.
Let me say I made a mistake mentioning it, and I don't care about points. I really only wanted to challenge people to reply in the case they disagreed. I respect their choice not to reply, also.
https://www.ibm.com/blockchain/solutions/food-trust
The number of humans that would have difficulty parsing "shirt without stripes" is very very low.
In case you look back at this comment, the author has posted in the root of the thread. BLUF: A proof of concept that python3 minus unicode strings could have been done in python2 with relative ease.
Isn't that just the opposite of `future`[1]

It's been more than a decade now. I'm almost tempted to think that anyone who hasn't started porting their code simply isn't going to.

[1] - https://pypi.org/project/future/
Funny you should ask - bare-metal is probably one of the better options - https://github.com/alexellis/awesome-baremetal
Biochemical Pathways Wall Charts
Fixing Covid-19 Underreporting
> That still doesn't answer: why wasn't it anticipated and reflected in earlier pricing

Because despite the people that like saying all future events are reflected in current prices, the fact is humans, both individually and aggregated into markets, are imperfectly prescient, thus future events are basically never perfectly priced in to to current market prices.
Sounds like a great place to put massive solar farms ...
One recurring issue was the customer's network latency. A corporate vpn that bounces traffic around adds enough latency to make a really good solution feel comparable to using vnc. Reorganizing the network adds to the cost of the solutions.

I'm currently experiencing this. I live near my office and have sufficiently fast home internet. But connecting to the company network and attempting to work on a machine remotely is very painful. Working locally and commiting or accessing mail is still painful, but managable.
As a postdoc in computational linguistics, my go-to example for talks is asking Siri not to show me the weather.
From afar, Python 3.x releases seem more like major updates than point releases. There’s entirely blocks of functionality/syntax between 3.x releases.
> There's a big prisoner's dilemma thing going on. If you're charitable, and the people you're discussing with are too, you can have better discussions.

Privately, I'd very much agree.

However Cardinal Richelieu's quote comes to mind when posting to the internet at large (yes, im counting HN in this):

"If you give me six lines written by the hand of the most honest of men, I will find something in them which will hang him."

And that is evermore so, with concern trolls and those in mind with being 'wronged' in some way. Because, no matter how charitable you are, there is someone who isn't and will assume the worst. And then you become the brunt of a social media campaign gone awry.
meanwhile exceptions just sob in a corner, forgotten.

the main benefit is actually sane exceptions. unicode is nice and all (i'm a native speaker of a non-english language) but it's a storm in a teacup IME.
How is describing our brains as "consciousness computers" inaccurate? Our brains have so many analogous components to computers. Both have working memory, long term memory, both have processors proficient in either linear or parallel processing, and the way our neurons interact formed the basis for neutral networks in software.

You also seem to think that I believe it's a good thing that psychedelics are illegal, when I have explicitly said otherwise. I think people should be able to do with their body as they wish, and research into the effects could produce some utility. But what you're talking about here, having psychedelics help "treat a variety of psychological afflictions," isn't what I would consider to be pushing frontiers forwards further and faster than space exploration, although that's ultimately a matter of preference.
You're supposed to pay attention to DeprecationWarnings.
Show HN: My lockdown coding project, Legend of the Pink Dragon (IRC game)
Not a big fan of the new trends in PC cases. The tend to lack extensiblity. Downsizing is part of it.

One think I like about homebuilt desktop PCs is not just raw power, but also the large amount of options regarding ports, drives and extension cards. In laptops there is potability to consider, not so much with desktops.

For example, my tower has 3 5.25" front facing bays used. One for DVD, one HDD rack, and a multi-card reader with USB3 ports. Plus front panel jack connectors for headphone and microphones, and extra USB. Inside is a 3.5" mechanical hard drive in addition to the SSD, and an extra USB3 controller (for the Oculus Rift, which is quite finicky). It doesn't fit in a downsized case, and even finding a case with more than 2 front-facing 5.25" drives is hard enough these days.

Do I use them all every day? Obviously not, I'm not sure I even opened the optical drive this year, and it is not a feature I want on my laptop. But if I need to read or burn a CD or DVD, I know I have a computer that is ready to do that.

For me, small form factor PC still have a place in the living room. To watch movies, surf the web, play games, etc... Kind of like a modern game console, but more open. But for my desktop, I like to have everything at hand, even if it costs a bit in terms of clean look and makes cable management tricky.
> Does your organization manage their own internal go documentation server (similar to godoc.org)?
> No (85%)

I would be very open to setting this up at my org - is there a canonical way to do this?

> What is the biggest challenge you personally face using Go today?
> Working with modules / vendoring / pkg mgmt 12%

Go has come a long way since the solutions in the early days and is now supremely better than it every was. However, vendoring is still confusing, and it's unclear when one should commit vendor files (we did that at one of the places I used to work) and when one shouldn't. We kept getting afraid that one day some guy would just delete that repo off GitHub, or somebody would end up hacking it, then we can't get an important fix out into prod. I'm not sure if the Go team has any advice regarding this.

> What is the biggest challenge you personally face using Go today?
> Issues with tooling 12%

I think Go in general has become very mature. From a tooling standpoint it's almost feature complete. The only thing I would like to see there is better autocomplete and tooling around calling C from Go but I know that's kind of hard to achieve. I frequently work with C libraries that I have to call from Go because Go is simply easier to write than C, but I don't think that Cgo has good integration with gopls at the moment (and I don't think it did in any other tooling that I've used).
Manhattan 69,467 per square mile (Wikipedia).
you can look to calgary and alberta for a prediction of what's in store for Houston in that case!
Oldie but a goodie: FORTRAN
It has evolved a lot over the years.
Also: The Kegg pathways for Homo Sapiens as found at https://www.genome.jp/kegg-bin/show_pathway?hsa01100
Huh, never realized that was a thing. Do the shortcuts in the menu show the QWERTY key or the Dvorak one? I'm curious how you learn the shortcuts if it still shows the QWERTY keys.
Just...wow...
Let's hope it's a signed int, then.
The market of "Germany" is actually the entire EU, which is bigger than the US.
Ask HN: Best stack for rapid prototyping based on a Java lib
Hi everyone,

we developed a Java library for optimisation under uncertainty. It offers the user quick access to modelling of the decision problem, stochastic processes and solving of stochastic programs. Modelling typically involves various ML techniques (time series, clustering, all kinds of regression). So far, we used Py as a wrapper language to allow for quick prototyping in Jupyter. However, shipping solutions based on Py proved unreliable.

We would like to switch to a different stack to achieve 2 things: 1) Rapid prototyping with our Java library in the background and 2) Ability to offer a web-based solution (a la NodeJS / React). We were thinking Scala / Groovy / Koitlin + NodeJS + React.

Our main issue is that none of the options offer nice data wrangling capabilities similar to Pandas in Py + dynamic typing + well-maintained Jupyter kernel. Does anyone have any other ideas?

Thanks!
First, my choice to use the word gift is exactly that - a personal choice. If I believe that psilocybin is a gift, what authority do you have to say I am wrong? You may feel differently, and I would respect that, without pretending I know better than you on how to interpret such things.

Second, you say, "It's a poison, not a medicine" while following with several points supporting the clear medicinal values of the chemical. There is no concrete evidence suggesting psilocybin is a defense mechanism. That's one of the fascinating things about mycology - we know very little. Many mycologists believe that psilocybin may actually be used to attract animals, not repel them. There are several studies about the connection between mycelium and plants as well as theories that the mushroom's fruits bring animals into an ecosystem to disturb/fertilize the surrounding flora, as well as possibly assist with the germination of trees/plants that the fungi depend on.

Humans do not have a monopoly on ingesting these mushrooms - goats have been known to seek out psilocybe cubensis and many different animals seek plants/chemicals that bring on altered states of consciousness. Check out "Stealing Fire" if your interested in learning more about this.

It seems you may know very little on mirco-dosing. Many mirco-dosers take a pill every 3-4 days. One of the basic principles is that you do not have any perception of the chemical so no negative side effects. It should not inhibit job performance in any way, if done properly. And much of the research suggest micro-dosing has lasting benefits when a user ends their micro-doing after ~8 weeks. Since you'd "sign up in a heart beat" and know how easy it is to find mushrooms, my question is why do you choose to continue supporting big pharma with daily SSIs? I think it could be argued that the cost/known negative side effects of SSIs outweigh the potential (not confirmed) negatives of a properly regimented 6-8 week micro-dosing experiment. Just my thoughts. I also look forward to the day when growing kits are easily available.
>but till this day we don't have a clear understanding who our customer are or how large the market we target is. When I point out one of these open points(there are many more)

The startup is about to die and you guys are pointing out the cause of death, googling shit, and already divvying up blame inheritance? Get out there. List your assumptions, meet people, try to get paid, get told your product sucks, get proven right or wrong, repeat.

>I would like to leave, but I don't want to be the one getting blamed, when the company finally goes bust. How can I handle the situation?

Which situation? Leaving or making saving your startup? If you'd like to leave, just leave. Just ask yourself if you've given it a real shot.
Though I'm from the US I currently live in Alberta, Canada, and can confirm.

I recall seeing CBC news articles about all of the cars and trucks left abandoned in the parking lots of the Edmonton and Calgary airports. All of the out-of-province workers just split once the pickings became poor. Cheap Tacoma trucks for a year or two, I regret not picking one up off of Kijiji (aka Canadian Craigslist) while I had the chance...
Yeah, that's the thing with silly examples (like my Mandelbrot program). For real code, I frequently need to write low level loops which aren't easily expressed as parallel operations. If numpy doesn't have it, or if you can't figure out how to parallelize it, you're screwed.

Moreover, for some very common things in signal processing, like working with evens/odds or left/right parts of an array, the parallel numpy operation will create lots of temporary arrays and copies.

And for what it's worth, your version of mandel should work with PyPy. So you can have your cake and eat it too.

EDIT: I should add the reason my code is "strange" is because I wrote it so I could do a one-to-one comparison with other languages which don't have builtin complex numbers. Maybe I should've cleaned that up before posting.
wait a darn tootin' minute there, are you telling me that paying for a Windows licence has become a cosmetic microtransaction?
Whoever told you that is mistaken.

Even in “incineration-friendly” countries, less than a quarter of all trash is incinerated.

https://ec.europa.eu/eurostat/statistics-explained/index.php...
Our product took about a year to port, from getting the go-ahead to the eventual production switch. Running modernize / futurize was like 0.01% of the work.

You're right though, we're fighting our way out of technical debt and switching to python 3 was absolutely necessary. It's forced us to sort out a lot of sketchy string / bytes handling. We do, mercifully, have ~90% test coverage.
Didn't OS/2 support DOS and Windows applications?
Not everyone has time to articulate their disagreement and since that is often more work than was put into the original statement, not really fair to expect.

I would interpret it as a more general "nah". The author could then reflect and likely see reasons why someone would disagree.
Toxie. Here are the relevant episodes:

https://www.npr.org/sections/money/2011/06/01/131077279/toxi...
If Go ends up getting generics it will be a serious competitor to Java in the enterprise small-medium size application space, and perhaps make it viable for larger applications.

So I think it will be a huge step up for Go. This is of course if they do it in such a way that does not increase language complexity by an order of magnitude (e.g C++ style templates). I think Java style generics is not as complex and something along those lines would be a huge win IMO.
Really? Care to share your experience/details?
You're right, my mental math was off. I'll call it a margin of error in case something's special about New York.
If you want to hire someone then don't waste your time just search and send job invitation instantly.
It's probably because you're calling Denmark a tax haven without providing any documentation? Denmark is not recognised as a tax haven by any country (that I'm aware of). I'm willing to learn something new, but you are not providing any support for your statements.
the danger is some of these countries will see no reason to not start something with their neighbors or others
I totally agree with that, but I'm not sure I agree it's playing devils advocate. By which I mean, I don't think we're disagreeing here. They're both real things that happen:

1. People rushing out crap code and not taking responsibility for cleaning their mess.

2. People trying to clean up code, but doing a poor job for various reasons. (Incompetence, lacking sufficient domain-knowledge at the start, bogged down by organizational problems, etc.)

The problem in each case is people either lacking the capability or desire to do excellent work. "Ship fast or write decent quality code" is a false dichotomy.
IIRC they attempted the same approach in China. They tried to take the US strategy and demand a particular legal structure for Chinese startups that was neither normal for domestic startups nor common for international startups beneath the size of a multinational with deep pockets and switched on lawyers. This was probably a significant contributor to the lack of traction in China, and almost certainly removed by the follow-on program.
>is extraordinary given the track record this President and their administration have had since 2016

Do you know how many "Trump admin seizes masks" and related corruption stories have been quietly retracted in the last month?

I'm not saying the administration is innocent but it's nearly impossible to accurately evaluate what's going on because almost every media source puts spin on what should be primary source reporting. Even the daily covid briefings receive real time antagonistic headlines from outlets like CNN.

Even in your own example

>FEMA bought 500 ventilators out from under state, governor said last week

So they were outbid at the last second. But all over the thread the sentiment is that they were "seized". Not the first time people's eagerness has opened them to false conclusions influenced by media.
Show HN: A spoken language inspired by Tom Bombadil
And what were the false positive rates?
I exclusively play single-player games (mostly AAA) and I still have more
games than time to play. But I remember having your feelings when I
only had a PC. Get additionally PlayStation+Switch!
Obligatory link to "My First BillG Review" by Joel Spolsky: https://www.joelonsoftware.com/2006/06/16/my-first-billg-rev...