skysight-inc/HackerNews huggingface dataset:
The GR CSV export worked for me just now. Possibly an overload problem. Regardless, the writing is now on the wall for GR - get out while you still can.
I always found it surprising that Java implemented method overloading, but not operator overloading for arithmetic/logical operators. It's such a useful feature for a lot of types and really cleans up code, and the only real reason it's hard to do is because it relies on method overloading. But once you have that, why not just sugar "a + b" into "a.__add(b)" (or whatever).

You don't have to go all C++ insane with it and allow overloading of everything, but just being able to do arithmetic with non-primitive types would be very nice.
Hello! I work on Open Library; sorry for the bug! We recently deployed a big Python 3 migration that stirred the pot a little. The import issue should now be fixed: https://github.com/internetarchive/openlibrary/pull/4259
Amazon owns Goodreads. Goodreads is nothing but a sales funnel, and Amazon doesn't like public APIs to their data.
A lot of the articles I’ve read (including this one) say that Pfizer had to invest $2B to develop this vaccine.

However this article says they bought seven $200M machines to manufacture lipid nanoparticles. This implies to me that $1.4B of $2B Pfizer is supposed to have spent on development was actually just updating their supply chain for mRNA based vaccines.

While I’m happy that they made such a dramatic investment in the interests of bringing a product to market as fast as possible I think it’s also fair to imply it’s R&D that can’t be applied to other products later.
The will of the people is besides the point. The policy preferences of the bottom 90% of the US population are not reflected _at all_ in actual policy making (a Princeton study from some years back).

Edit: maybe this was it: https://www.cambridge.org/core/journals/perspectives-on-poli...
>> Indeed, if you think of an actual situation where someone would say "do you want to eat pizza or pasta?", I think you'd find that it does, in fact, imply that the two are exclusive in that context

It was actually this specific question that made it clear to me that this is not the case.

In order to narrow down our takeout options, the girlfriend and I regularly ask questions like, "Do you want pizza or pasta?" meaning "Are any or all of these meal options acceptable to you?" (at which point the conversation continues with maybe us listing a few restaurants which offering one or both options.) This is the same exact phrase, but from context it is inclusive or.

>> - say if you're at a restaurant where they only expect you to order one main course.

Indeed, if the question was something like "Would you like soup or salad?" where, from context, the choice is binary and exclusive.
Why does everyone seem to think the economy would be fine without lockdowns? You think that the entire population would've continued just headed to restaurants while hospitals declared "not accepting patients anymore" and refrigerator trucks stacked up outside nursing homes?

What actually happened in stupid countries is that they reacted too late, too lightly, and everyone's been complaining that "oh the cost was too high". It takes a lockdown of ONE month, enforced strictly, to clear out COVID from the population and resume effectively normal activity (you still need to limit international passenger travel but that's proportionally far simpler).
Table 2 Fallacy
look back in the thread and you will see this part is about an autoimmune question. other than that yes you have the concept.
Agreed. Its fantastic we have any such place. However, having had conversations with friends and family outside of Germany, they usually hear the costs and then imagine the system in the USA or their home country just with much lower costs. And this is just not the case. Our German system is a very different system from the USA at all levels which complicates direct comparisons.

Regardless, I think initiatives like this one which in general provide more opportunites to more people to better their lives is something I would like to see more of, not just in Germany but all over the world.
It's also faster to just add the modal. When you are asked to do xyz ASAP because it has been sold to a customer and should have been deployed a week ago, you don't feel the need to do a UX review.
> To assemble its mRNA production network, Pfizer used its own money and didn’t take any from the federal government. Executives said they didn’t want to give agencies outside the FDA more leverage over the design of the trials.

> Rival Moderna, which took funding from a division of the U.S. Department of Health and Human Services, suffered a three-week delay in completing its own mRNA trial after federal officials there asked the company to slow down enrollment to boost the racial and ethnic diversity of study subjects.
>Conservatives wish to conserve the “traditional way” of thinking, living, and organizing society while liberals want to “liberate” humans from the those “traditional” ways.

Your statement is true but Democrats, who call themselves liberals, are not that. They are the most conservative party. They're much more conservative than Republicans on most issues. For example, ideas about "science" or "nature" for example.
I have been in similar situation of handling huge spike in traffic due to festive sale season.
After building huge amount of cheap datacenter capacity and optimizing our hardware/software stack, only reasonable thing we could do was to build lots of 'feature degradation flags' into our stack – things we could turn off to reduce stress on the system when under heavy traffic. For example, we could reduce the number of product cards shown per page, reduce the number of recommendation widgets per page etc. These could be turned on/off instantly by flipping a dynamic config flag (no deployments or restarts necessary).
Our organic search traffic used to generate huge amount of load on our backend services like pricing/promotions and logistics-promise services. We would isolate capacity of these backend services for serving such expensive upstream services and also put rate-limiting circuit breakers to avoid them from killing those critical backend services. Obviously, we had similar feature reduction/degradation mechanisms built into our data platforms. Capacity was reallocated for critical data pipelines and all experimental/training pipelines were stopped. Drill-downs or adhoc query interfaces were locked down. And, it goes without saying that during these few sale days, the proactive monitoring/alerting and oncall rigor was on high-alert to detect and react quickly in case systems didn't behave as expected.
No, this parent poster is talking about a new thing.

I think the one you're talking about is the previous system, whereas PayPal would be the transaction processor anyway. You'd still get email (receipt?) and other bits from PayPal after the transaction was done.

Now though, the CC processing on Ebay seems to be a non-PayPal version. At least, that's what it looked like today when getting stuff. No mention of PayPal anywhere, which I was pleased with having had a very bad experience with them (PayPal) a week ago.
I'm surprised Pfizer or pharmaceutical industry in general, didn't get Time Person of the Year - development of COVID vaccines in record time is BY FAR the most consequential action in this crazy year, perhaps this century.
This is just Social Security packaged in a different way... Social security is supposedly an investment fund managed by the government that young people pay into and the elderly can pull from. Unfortunately, politicians buy elderly votes by giving them Social Security and robbing the fund of money from future generations so the fund will be bankrupt before most readers here can use it.
What Is Healthcare 4.0? A Short Review of Where It Is and Where It’s Going
> I think the real root issue of all of this is that the majority of people have no idea or experience in how broken to system is.

You think that the root issue is the majority of people who (according to you) have no idea how the system works, and thus are not at all involved in the system itself? How on earth does that make sense?
> You're being pedantic. You can melt down that coin and sell the silver or use it for a myriad of industrial purposes.

Assuming the culture you are in has the means to reach those temperatures. A silver coin may be no more than a shiny trinket to those cultures that do not have that (level of) technology.

(I am reminded of the Coca-Cola bottle in the movie The Gods Must Be Crazy.)

> The dollar is worthless without the American government and American economy backing it.

Experience with past currencies suggests the use of coinage can outlive the original creator, and even for completely different purposes (in the case of physical objects):

* https://journals.openedition.org/histoiremesure/886
NY AG Says Bitfinex, Tether Could Complete Loan Document Handover in ‘Weeks’
I wish all the args always just came as one structured object with some convenient syntax for accessing destructured parts. That object can have named parts as well as unions, optional, collections, and combinations of them.
> Anyone interested in following the course together during the holidays? To keep each other motivated etc.

Hey, don't forget my little "advent of code" too:

https://github.com/pfalcon/python-ast-hacking-challenges/iss...

"Convert Python source code to SSA form"
Method Chaining Is Awesome
Doesn’t it tell something that every government on earth “chickened out” and did some kind of lockdowns when the numbers got bad enough? Sounds extremely naïve to think the economy would’ve been fine with unmitigated spread and hospitals becoming unusable. You’d be off by several orders of magnitude on the chaos that would cause in society
> Put your money where your mouth is and short it then.

This is exactly what I’m talking about. The original spirit/purpose of Bitcoin has been completely taken over by financial engineering and speculation. And it’s such a shame.
I’m surprised I’ve never heard of this. Thanks for sharing.
Show HN: Get start with a fleet of container-based-Golang-lambda
Count yourself lucky, I'm reading through a 100kpbs geostationary satelitte link. Size matters, still.
I remember when some OU tutorials were broadcast on the television (BBC) in the UK. Anyone could watch and as a teenager I remembered being entralled by some of the maths courses [1] - it probably influenced my career choices in the end.

In a way it was a precursor to similar material on YouTube and MOOCs - technical material freely open for all.

[1] https://www.youtube.com/watch?v=FVn27MHl1sA
Cool, I wondered why roast beef sometimes had a rainbow glitter on the surface. Good to know it is not slime.

Also the physics of the microdroplets above the hot tea is super interesting.

If you like this, check out antibubbles[0]. I discovered them for myself as a kid, playing around with soap water & pipettes. If you make a glass of water with half salt-water at the bottom, and inject a solution with intermediate density, the antibubbles will settle at the interface between the layers. They can last for several minutes.

[0]https://youtu.be/cosjx9fGuPY?t=176
Don't take these photos as representative of Swedish prison cells. The photos are obviously pre-use, most cells in actual use look as grubby by nicotine stains and heavy wear as you'ld expect after a few years.
I used to think arranged marriages were obscene and ridiculous cultural artifacts that were very harmful to people. As I get older though, I find them more and more attractive as a great model for a lifelong commitment.

Why?

When you are a teenager or a person in your twenties, you are seeking romance, excitement, adventure, and sexiness in a partner.

For the rest of your life though, you want a reliable, trustworthy, intelligent, and kind partner.

Many of the traits you look for in the first quarter of your life are diametrically opposed to what traits you will want in a partner later in life.

That hot girl who you can’t wait to see next weekend and who flirts with you (and everyone else) and parties like a rockstar is a complete nightmare once you have kids together. I know many older men who are married to crazy women with lots of plastic surgery who go out and cheat on them and finally they go through a hellish divorce. I know many older ladies who are married to lazy idiots who drink themselves cross-eyed every night, and end up alone late in life.

When you are young, you find reliable and trustworthy people of the opposite sex boring. This is why arranged marriages are so smart. Your parents or grandparents who have your best interests at heart and who have the knowledge of all the trials and tribulations that go with having kids together, holding down a job, and building a life are far better positioned to find you someone to marry.

Not all parents or grandparents have their children’s best interests at heart, and some of them are idiots themselves. I don’t think people should be forced into an arranged marriage, but I think people should very strongly consider the opinions of those that they trust most.

Perhaps there should be a dating app like tinder where instead of just you matching based on appearance, your friends and family can fill in a profile about you and that can help match you up with a partner who will be the best fit for you?
The balance between ease-of-use and functionality is a difficult beam. In my naive opinion, if you can create a platform where a no-code techie could create something but also let someone look under the hood, you will have built the perfect API creator. Right now the only analogue I've used is Strapi. However, this still takes deployment experience and at least a basic understanding of constructing dbs.

It's also worth looking at https://supabase.io/. Imo their route generation and automatic documentation is great and could be an inspiration.
Show HN: C++/Qt music player for big local collections (Linux/Windows)
> PayPal is to introduce a £9 “inactivity” fee for anyone whose account has been dormant for at least a year, but still has some money left in it.

PayPal come on, first you keep, people's money hostage and now you even going to charge £9 fee? I can't get my money out because you have frozen it and I can't talk to a human being. Even you ignored my letters from my lawyer.
You've been on HN for 13 years, and this is your first post in 7.

Welcome back!

Can you provide any context regarding why this article made the cut, when nothing did for 7 years?

Sorry if it's a bit off topic; it's just an interesting circumstance, and I'm curious.
>I just had two nurses tell me that they will NOT be taking the vaccine, they are too scared of it.

That is their right, but then they should be given a leave of absence or fired.
Ask HN: Why there are so many cyberattacks?
Hello Friends,
I am trying to learn about the Cyber Security Market. As I dig in I see a lot of vendors covering almost every aspect/attack vector. But the losses from cyber attacks keep mounting. Where is the disconnect? Do business/individuals care about security at all ? or is it that the vendors offerings falling short. Could the knowledgeable friends offer some insights.

Thanks in advance.
Shyam
> I wish there were a way for the db to filter out or not surface rows that violated a constraint but that then loaded the data that did meet the constraints.

You can definitely have PG ignore rows that would violate constraints by specifying "ON CONFLICT DO NOTHING"[1] as part of your INSERT statement.

If you wanted to capture those rows on the fly, one way would be to perform the load via a PL/PgSQL program and include an exception handler specific to the particular constraint violation(s) you expect to hit. But I guess then you'd have to load them one row at a time...and that's not too different from just doing that in your high-level language of choice. Also the PL/PgSQL docs specifically recommend against this idea.[2]

[1]: https://www.postgresql.org/docs/11/sql-insert.html#SQL-ON-CO...

[2]: https://www.postgresql.org/docs/11/plpgsql-control-structure...

EDIT: formatting and clarity
The key feature is UX with 3 columns: directory view, playlists and tracks from a selected playlist.

This is very simple and yet powerful UX, but besides foobar2000 not a single player (for Linux) nailed it. I had to fix it because running foobar2000 in wine for like 15 years is enough.

The player has not a lot of features, but if you like - you like it no matter what.
I don't know of one - that's kind of why I'm asking. I don't think it's at all unfeasible (I think ZFS might do it, never tried it out) and I think it would be an amazing development. I think the unix model of one-purpose programs helps collaboration, maintenance, and produces higher quality programs. I just also think that because they're working in an environment that allows pretty simplistic interop (streams of bytes) and generally provides no history of changes, they tend to be fragile when used in concert, and brutally unforgiving when used alone.

If you could undo stuff easily, suddenly the 'brutal, unforgiving' part goes away, and it would enable a much more relaxing, explorative atmosphere, while also meaning people don't have to do stuff like 'alias rm=mv -t ~/.Trash' or whatever.
I am so happy you made this. I was just contemplating trying to explain this to someone and having them make them for me...and here they are. You are amazing. Now, please make the middle and back-end cards and I will be delirious with joy. When you don't know how to code and cannot visualize the steps that a potential customer might take these will be so freaking useful as I try to create my first SaaS. I guess I could have went to a site and stopped every few seconds to write out my whole journey....but what a waste of a day. The only thing missing is some kind of overview about which types of sites benefit from specific workflow examples with APIs that are currently available. I am probably not explaining it very well. But Clement Vouillon of Point ( Capital wrote this incredible post called "How APIs are eating the Product Stack" and the one thing missing was the hierarchy. In other words, a visual representation of when things went where.... Now, with these flow cards, I can map out the stack and see how it is supposed to work. For those of us on the "No-Code/Minimal Code" side of things, this seems like a huge game changer.

Thank You.

Postscript: I joined HN just to leave this comment. I've been lurking for years.
It's an interesting idea, but like it or not, companies DO set the standards for corporate software development, and they unfortunately don't understand the value of wasted time. A company would rather tell their devs to use free tools like GCC than pay $x,xxx per head to give them something world-class like Visual Studio.
I sorted stuff by ages and, very roughly, by content ages ago. So it's not horrible. By biggest issue is that when I first started using Lightroom I didn't really have a good orderly ingestion workflow so there's a duplication of raw scans, PSDs, JPGs, different versions of edits, etc. It's hard to automate and what to save and what to toss from the catalog is somewhat a matter of judgement.

>I ran all my family photos through a script that renamed them based on the year, month, and date.

I actually don't care about the filename, although maybe once things are cleaned up I'll do an export of everything. It's all in a Lightroom catalog now. It's "just" a matter of adding more primarily location-based metadata and making sure everything I especially care about is in appropriate Collections.
Cannabis testing: evio and digipath
Just to point out... mobile phone's aren't 100% universal, though a lot of places pretend they are.

Up until about 18 months ago I used to live in a part of the UK without any mobile phone coverage. So, any mobile number I had (with Vodafone) always expired after 3 months.

That does not make for any kind of fondness of places trying to blindly force SMS based 2FA on everyone. ;)
Ok, you are not accounting that war against drugs started in 2007 specifically under Felipe Calderón so that report is outdated. The activities that I mentioned specifically oil robberies started after it and that generates way more than marihuana. There is an ongoing case from Pemex against few companies in Houston buying stolen oil. You should look it up
Nah, you should be using another value if you care about that. For example in C# a nullable bool would be a fine choice (three values: true, false, null), or alternatively Option types.
Yeah it's surprisingly nuanced and took me time to grok it as well. Part of the challenge was there wasn't really an organized collection of info so people were left to speculate and make assumptions.

Happy to answer any questions you may have afterward, though if you post them here I may miss them but my email is in my profile.
>One of the issues is that young people also end up on the IC.

The rate is important. If the rate is miniscule, then it may still be an issue, but not an overly important one.

>If you were to just 'let young people' out and about, hospitals would still be overwhelmed.

Are we sure about that? Any numbers you can share?
Failure in this reasoning is that if these people in nursing homes get covid, they are still sent to a hospital and they will occupy an ICU bed - denying it to them just because they already "lived their lives" would be an abject failure of a human civilisation and unacceptable to any normal person.

And thus, they will add to the lack of capacity of hospitals and reduce the success rate of treatment of other patients, Covid and not.

There are few people in nursing homes, vaccine can get to them very quickly, it will not delay vaccination of other groups including frontline workers by so much, but it will approach epidemic from the opposite side: 1% of people - the most elderly, sick and frail - have 50% of covid deaths among them so by vaccinating 1% of people we are cutting these in half, which at the current R number of about 1.1, saves 7 weeks of time, while requiring at most 2 weeks of time. Lives are saved by doing so.
...for he rails at Communism, when the land is almost lost in Capitalism; and would cry Fire! Fire! in Noah's flood.
How much debt can we accumulate before entities stop buying our bonds and treasuries?
For more geeky insights into the time, I can recommend the book The ZX Spectrum ULA http://www.zxdesign.info/book/ The business side of things is incidental to the rich details of the hardware design and production.
Vocabulary acquisition is not easy. Human remember things through story. Initial phase of the vocabulary acquisition is very difficult since you need to remember one word at the time and it is very easy to forget. Once you have enough vocabulary to read sentence and progress to understand story then you have better chance to retain vocabulary at faster pace and less likely to forget the word.

Listening is also a skill that people overlook. You need to train the ear to pick up how people pronounce a specific language otherwise it will just sound like noise. Let me give you an example: I have a 4 years old son. He likes cartoon. English speaking cartoon sounds like garbled noise to him. I know because he try to recreate the conversation and it came out like garbled noise. I prompt him with some word with Chinese translation before he watch video then gradually he can recognize the word in the video and gave me correct translation after I asked him.