skysight-inc/HackerNews huggingface dataset:
I've been on teams at multiple companies that have used type annotations for Python. Developers have generally loved adopting type annotations because it (1) makes the code easier to understand (2) makes the code easier to refactor (3) improves integration with IDEs and (4) catches real bugs.

I disagree that type errors "aren't practically a problem". NoneType errors and AttributeErrors turn up all the time in Python.
will it run windows or what is their aim?
Gary's Hood
Or, perhaps, someday in the 31st century, they'll be amazed at our startling lack of progress in the 21st century before the cascade of incredible breakthroughs in the years following. Who knows, really, what the "low hanging fruit" on the grand scale of things are.
We developed an internal 3DS attempt strategy to try to remedy this [0], but it is not ideal.

Basically, try 3DS (with no authentication), then try regular charge (NON 3DS), then if all else fails try a full 3DS charge. You'd be surprised by the disparity, especially internationally, and we do recoup some charges at the expense of triggering some unintended blockage.

When asking our provider (Stripe in our case) about the best strategy for this, it always comes down to , "Let SCA (Strong Customer Auth) rules and logic handle everything", but this simply doesn't work well.

I really wish the likes of Adyen, Stripe, etc...would help out with better decline ratio strategies.

I think we are all plagued by "do_not_honor" and "transaction_not_allowed" codes that do little to move us in any direction...

[0] https://medium.com/@globile/using-stripe-to-sell-internation...

EDIT: Fixed the order of actions...
It wasn't really lack of jump training that killed the men in Operation Squatter, it was one of the planes getting shot down with 15 men in it, and then fighting the enemy.
There's something about logging that conjures all sort of strange situations.

A very well established and expensive product apparently thought the way to write json logs is something akin to:

printf("{date: \"%s\", msg: \"%s\"}\n", date, msg);

That turned out real good when msg contained quotes.

Json isn't a magic bullet here. Most log pipelines end up with custom logic for all sorts of reasons that mostly shouldn't be an issue.
In Poland we have something called "Blik" (https://en.wikipedia.org/wiki/Blik) state of the art internet payment system. https://blik.com/en Sadly it has to be supported by bank (to be specific their mobile app) so not usable by all EU customers. But since it is also operated by banks (they share cost of IT infrastructure) commission is much lower than Visa/MasterCard and milion times easier to use.

In 2020 Blik had 7 million users and processed 424 million transactions. In 2019, the number of Blik transactions exceeded the number of transactions made on the Polish Internet with payment cards.

In PSD2/3DS world paying with card is real pain in the ass, only advantage is transaction insurance and chargeback.
I really wanted to migrate an analytics project I was working on from Elasticsearch to Postgres: however, when we sat down and ran production-scale proofs of concepts for the change, ClickHouse handily outclassed all the Postgres-based solutions we tried. (A Real DBA might have been able to solve this for us: I did some tuning, but I’m not an expert). ClickHouse, however, worked near-optimally out of the box.
On the other hand PSD2 improved the quality of 2FA flows tremendously. I can now use face id to approve creditcard transactions where previously I had to go through an awkward text based flow.
Goals are very important to acknowledge. If you're only interested in income and are writing fiction, the numbers are against you. In general, as the author shows, writing isn't a great source of direct income.

If, however, you've accumulated a lot of research on a personal topic and want to gather the threads together and reach some personal conclusions, long-form non-fiction is probably the only tool that's going to work, whether you publish or not.

There are many more indirect benefits for various niche genres. If you reduce it all to money, you're not going to be happy. Everybody can publish now and as a result of that, most books are not that great. One wag said that the great majority of books published today shouldn't be published at all. I tend to agree, at least in terms of publishing for a wide audience. It's just that book publishing doesn't have to be like that.

I'm starting on another book this year. Each of my previous books has had less than 1,000 readers and I'm happy as a clam. In fact, I really don't want to start publishing to a mass audience. In my opinion, looking at writing only in terms of a mass audience is the best way to start writing a lot of highly-targeted trash. Everybody is already trying to write the next version of serialized pulp fiction. That's why, in my opinion, no matter how well you write for any sized audience at all it's only going to end up being mediocre (by comparison). If, however, you write reasonably well on a laser-focused extremely small niche that you have great passion for? You win even if you get only seven readers.

Beat the game by not playing by the rules they give you.
Calling someone who got a PhD in Mathematical Physics from Princeton an "engineer" is a bit rich. Yes, his undergrad degree was in engineering, but we don't call Ed Witten a "historian" because his undergrad degree was in history, most people would focus on the PhD and years spent as a tenured professor in Physics at various universities and research institutes.
If you couldn’t figure out how to check your email or read documentation, it sounds like you were looking for reasons to fail. Pairing doesn’t mean you’re literally joined at the hip. You’re allowed to exercise judgment.
Maybe over ONE round of 18, but winning the world's most prestigious prize, twice, for your work never coming up in 30 years? Frankly, that's quite amazing.
My immediate thought was of rhetorical training in the ancient world. On the one hand, training in rhetoric will help you persuade, and on the other, will also help you become aware when someone else is using those techniques.

One of the five parts of rhetoric was called "ethos", which is concerned with how to establish yourself with your audience as trustworthy and sympathetic. In advertising, lots of elements beyond mere words are employed to establish ethos, visual style, sound, editing.

But I suppose I never explicitly considered the visual display of an application as an exercise in rhetoric, though upon reflection, it certainly can be. Perhaps we all need visual-rhetorical training.
It looks like they borrowed the code from Intel. It's the code from Volume 3 9.10 "INITIALIZATION AND MODE SWITCHING EXAMPLE":

https://github.com/cirosantilli/x86-bare-metal-examples/blob...
EU did not "introduce" PSD2 this year, it was/should have been in effect since Sept 2019!

However, the member states (and therefore the EU) have cut the banks an inordinate amount of slack to get their shit together, even though they have been heavily involved in the writing of PSD2 and had since 2015 (!) to implement everything. Here in Germany, in September 2019, which should have been the hard end of a one year grace period, practically no bank actually had a working PSD2 API or had implemented 2 factor authorization properly.

So all the whining about PSD2 six years after it passed is ridiculous. Everybody had plenty of warning and time to get their site prepared and checkout processes optimized. And quite frankly, unless the author of the article is running some kind of one-click order scam, I find the drop of up to 50% in conversion highly unlikely. From my experience with dozens of e-commerce site, the drop is negligible. And considering the rampant credit card fraud, 2FA was long overdue.
The practical outcome looks more like:

→ Customers who have had their card on file will fail the next subscription payment. Many are going to discover they have been paying for months/years for something they didn't really need, and walk away.

→ Incorrect 3D-Secure integration will cause payments from EU to fail straight away. Even some payment gateways didn't understand how it worked back when the enforcement loomed for the first time, and this is literally their job. The solution is to read the documentation carefully and fix your stuff.

It's a misconception that people are going to get confused by PSD2. We in Europe, depending on the bank, have had it for two years now. We got used to it and if we really want to pay, we will.
I submitted this because of https://news.ycombinator.com/item?id=27109932

The user ( https://news.ycombinator.com/user?id=gjs278 ) seems to have been banned for mentioning he is running this site on DragonFlyBSD.

That comment is unjustified dead IMHO, and now looking through his comment history, it is the only normal comment he has ever made.
All: large threads get paginated so to see all the comments you need to click More at the bottom, or on links like this:

https://news.ycombinator.com/item?id=27106055&p=2

It's a good thread; I recommend it.

(Comments like this will go away once pagination does—it's just a performance workaround. Sorry for the annoyance.)
You entirely misunderstood what I was saying. Take a moment be read stuff carefully before you start arguing.
> my biggest complaint about Way of Kings is that the characters often make such frustrating decisions

I find the decisions are often not predictable, which I think for some can be a turnoff because things don't go the way you expect/want them to. I find this a strength.
And what dies the drone do then?? Threaten to explode unless they stop the ship?? Take over the controls??
I’ve personally always found 3DS a bit worrying from a security POV. I’m sure much smarter minds than mine designed it, and had reasons for doing so, but I’ve seen it implemented in iframes on websites I use before. It really doesn’t seem to encourage good security practices in normal users where they’re being encouraged to enter their bank password when the URL they see doesn’t match. Plus the URL itself often refers to Arcot, the company who make 3DS, rather than the bank whose branding is all over the page. Very weird.
Show HN: Anyplace – Accommodations with gigabit internet and an office setup
Here in Sweden, some major banks already refused to let you do card transactions without SCA/3DS, before PSD2 was even passed. As a result, PSD2 finally being implemented is a welcome relief for me, because those annoying services that would always cause a card decline are now being forced to show a 3DS prompt instead. That prompt is also pretty convenient here because of the wide deployment of Mobile BankID.

(The experience before was: pray this merchant supports 3DS, discover that it doesn't, fish out your phone and open mobile banking, authenticate with mobile banking, find and use the toggle that temporarily allows non-3DS transactions. Now I just bring up the authentication app when prompted.)
PSD2 is an EU directive that changed how online payments can take place within the EU. The key points are basically these:

Strong customer identification is required. In Denmark we handle this with our national identity system NemID (soon to be mitID). Which is a national two-factor system, that we previously mainly used for stuff like online banking or interacting with the public sector but is now also required when you buy something online.

Releasing the ownership of your financial data from the banks. Meaning that you can give third party companies access to your banking data. In Denmark this has revolutionised budgeting because the area was disrupted by companies that saw a gap in the age old online banking systems. As an example, my “overview” in my netbank was basically just a table of the data they used to physically mail me, today it offers all sorts of BI like tools to show me how I spent my money because an app named Spir or Spiir or something like it completely revolutionised the area. As you may be able to tell, I’m still doing my budgeting in my own spreadsheet, but the spiir app is one of the most popular apps in Denmark.

Over all it has been pretty well recover in Denmark. Having to utilise two-factor identification when you buy stupid shit online is annoying, and it’s likely costing some sales as people have a few more seconds to think while they pick up their phone, but over all people are happy with the increased protection it also offers them.
You need a "pizza sized" implementation team to deploy a useful servicenow instance into a moderately large organization (+1000 FTE).

If your org is not that large or if it can't allocate a semi dedicated team, other products will probably have better defaults.
Consumer protection legislation protecting consumers. I don't see the issue.

> Since many consumers are not familiar with the 3DS process, there is a higher chance of abandonment during the authentication process. Users may also choose to abandon a transaction simply because there are additional steps to complete, giving them more time to contemplate their purchase.

The data here is not really provided so we have no way of verifying they are stating e.g. simply that conversion in Germany went from 80%+ to 40%+ just due to PSD2 requirements to verify identify. 50% of consumers stop their purchase because they have to verify their CC? That seems absurd.

If the reason as cited above is unfamiliarity this means it is a purely temporary impact. If its birthing issues of implementation that too should be temporary. If consumers stop their biy due to reflection or realising that they don't trust the shop that too is a good thing.
Offer it as an optional add-on, and those who really needs it at least have the option. And maybe some solar panels would be cheaper now?
I would have to dig more into specifics of your use case but my gut reaction is yes, it would be better.

I do not have specific experience with TimescaleDB, but I have some experience scaling PostgreSQL directly and with Citus (which is similar, but not the same). But depending on the nuances of your use case, I can envision a number of scaling strategies in vanilla Postgres to handle your use case. A lot of what Timescale and Citus does is abstract some of those strategies and extend them. Which is just a vague way of me saying: I think I could probably come up with a scheme in vanilla Postgres to support your use case, and since Timescale/Citus makes those strategies even easier/better I am fairly confident they would also handle that use case.

As an example I currently have a table in my current Citus schema that is sharded by column hash (e.g. "type" enumerator) and further partitioned by time. The first part (hash based sharding) seems possibly sufficient for your use case.

Beyond the most simple applications in that domain though, there are more exotic options available to both Timescale and Citus that could come into play. For example, I know Citus recently incorporated some of their work on the cstore_fdw into Citus "natively" to allow columnar storage tables directly:

https://www.citusdata.com/blog/2021/03/05/citus-10-release-o...
what's missing is that those things are correlated. kawhi wouldn't have the 3-point percentages he has without the midrange threat to loosen defenses. and the best players are the only ones trusted with midrange shots (even on lesser teams--derozen & jimmy butler for example). role players are expected to only take 3's or layups. that's the aesthetics today.
Before 3DS I had my credit card details memorized, so I could shop online conveniently. Now I have to keep my phone around and type in SMS passwords everywhere.
I mean that would be nice, but it’s also unrealistic because of the imbalance in educating someone who wants to be ignorant.

The problem I’ve seen is that people want others to disprove their crazy theories. Disproving anything takes substantially more time and work than just saying any old nonsense in the first place.

This is made worse by the hordes of crazy/stupid people on the internet who demand (in bad faith) that everyone who disagrees with their obvious falsehoods takes the time required to provide evidence (that they’ll never accept anyway) is the biggest part of the problem.

tldr; extraordinary claims require extraordinary evidence. Unfortunately most of the people spreading this kind of thing online don’t understand what actual evidence is.

Try debating a flat-earther, and then explaining that we knew the Earth was round for thousands of years prior to NASA. It will not compute.
And I was thinking "Hacker News Classics" would refer to well-known posts/comments on HN, like the comment of the guy completely dismissing Dropbox.
Yes. They are not perfect. Congratulations on pointing that out. Now evaluate all the alternatives under your perfect lens.
Even where coal is competitive, it’s still more expensive than nat gas in pretty much every environment. And of course when talking about coal you should probably price in health and environmental externalities of the combustion alone.

A long term problem is that in remote areas of the high latitudes — Alaska, Nunavut, Siberia — fossil fuels are the only reasonable energy where geothermal isn’t available. It’s a good thing fusion is only 20 years away.
what do you mean? DNS works not only for web. all internet-related things rely on DNS in one way or another. email, chats, FTP etc.
MDMA Reaches Next Step Toward Approval for Treatment
If your project has less than a few million rows, chances are PostgreSQL will run any analytical query you like in just a few seconds. So you can keep things simpler by avoiding adding any extra tools.
That is an excellent idea. The number of times I've fired up an SSH shell on my phone to do a quick fix for a client...
is that per calendar year or in total?
Whichever option you take, stick it into pre-commit. A good pre-commit-config.yaml is quality-of-life changing.
It seems to be available online [0] (found a link in the linked wiki page).

[0]: https://web.archive.org/web/20210414195621/http://www.ausair...
I feel like it would take superhuman restraint to not work it in once during 30 years though. If it were me I'd never shut about it.
Reaching the top 1% of their profession still means 1k-10k copies sold, nothing you can make a living on.

As the article states, just 0.01 percent of books sell more than 100k copies, it's not enough to be a great author (not average, but better than 99% of them) you'd need to be somewhat exceptional (better than 99.99%) in order to earn a salary from books.

IMHO there's just too much competition, there so many more "top 1%+" authors in any genre than anyone can read, and given the economics described in this article, many of them don't even bother with publishing and offer their amazing writing for free.
Unfortunately I use Firefox with privacy.resistFingerprinting set to true. This disables leaking time zone information, so when javascript tries to query the time of day it gets a time 7 hours ahead of my actual time zone.

In other words, this function would break websites for me, the demo thinks it's night even though I haven't even had dinner yet.
Yeah, I hear you. I've always put considerable effort into my self assessments, trying to pick just the right words to make sure it's concise yet potent. However I had already made up my mind to leave my previous employer by the time perf review cycle had come around, so I decided to understate everything as much as I possibly could, basically eliminating all superlatives and just stating as flatly as I possibly could all of the things that happened.

My project was "late" -- as in, later than an arbitrary deadline everyone around me was trying to hoist on the project versus what I said all along the timeline was actually going to be. Eschewing metrics, I focused on "soft" issues like supporting members of my team who were struggling with the sudden work-from-home transition. I deliberately kept any mention of ARR, growth, or anything like that out.

I still ended up with an "exceeds expectations" rating. My management must have made up their minds ahead of time about that, because what I wrote for my self assessment didn't support it.
There are smaller similar sites to wattpad that are easier to get viewers for new novels. I like tapas, but probably several more worth exploring (unsure if woopread is only translations or supports self publishing). I'd likely submit chapters to several sites at once as a new author just to increase chance of building an initial following.
If I won a Nobel, let alone two I wouldn't make it through more than a month of knowing someone without mentioning it. That's...probably among the many things that separate me from Nobel candidates. Only the mediocre feel they have something to prove.
Amplified Cactus
Interestingly, this has spread to second-tier virtual worlds. Decentraland, Sominium Space, and Facebook Horizon all have that look. It's the opposite of the realistic, gritty world of AAA game titles.

It's safe and banal. Facebook is very concerned about "safety".[1] By which they mean "no sex", not "no scams". Their solution to this in Horizon is that their characters have no body below the waist.

[1] https://youtu.be/Uf_9J_EdzZw
Those are pretty big transactions as the law will only apply to small ones later. It's really hard to believe people are leaving multiple 1000s of Euro transactions just because they didn't bother to learn how to check an app.

I think it's much more likely that some payment methods became completely unusable, so people are abandoning their transactions to redo them elsewhere. And also, some of those must have been fraudulent, but probably very few.
Seriously, if having to stand up and get whatever 2FA token thing your bank needs is too much effort for a purchase on your site, then I have strong doubts about how much your service is really worth.

Another explanation would be that customers run into trouble because they don't know how to use secure online payments. In my opinion, those customers probably shouldn't be doing any online banking on their own with the massive fraud risk that comes with stuff like this.

This line says it all, in my opinion:

> Users may also choose to abandon a transaction simply because there are additional steps to complete, giving them more time to contemplate their purchase.

PSD2 saved a lot of people from making bad financial decisions by the sound of it.
The main issue to SMS tokens going away are all those people, specially elderly ones, that now are forced to buy a phone they cannot understand how to deal with.

Just like the clever idea some cities have had to initially only offer covid vaccination appointments over their website.
100% agree, this is self-interested drivel with nonsense data and no actual evidence. Intention is to sell their product.
> which is used as the second factor (you get a push notification, you have to unlock and accept the transaction).

This breaks more often than you'd think. I'm still locked out of Facebook on one device because I can't seem to receive the unlock notification and I'm terrified to reinstall Facebook on my phone and then be actually locked out. I'm not a fan of Facebook, but it's the only way to contact some of my friends/family these days via video.

I've also had similar issues with actual banks where the notification appeared and I accidentally tapped "decline" or even dismissed the notification by accident. I've also never received them (mostly with ~Transfer~Wise). Edit to add: I've also been too lazy to walk to the phone charger to press "accept" and just given up.

I think it's a pretty well known phenomenon in ecommerce that the more "clicks" you add to checkout, the less % of people that will make it to the end. I don't see this decreasing cart abandonment at all.
Probably chromeos