skysight-inc/HackerNews huggingface dataset:
> Kahan’s summation algorithm

Radford Neal (2015) has an approach to computing sums exactly (to the correct rounded floating point number) in less than twice the time to do it naively. In some situations it can do work in parallel and saturate memory bandwidth, so takes roughly the same time: http://www.cs.toronto.edu/~radford/xsum.abstract.html

"Kahan’s (1965) method for reducing summation error (but without producing the exact result) was also tested on all systems. On modern 64-bit processors, computing the exact sum with the large superaccumulator method was faster than Kahan’s method for summations of more than about 1000 terms. Kahan’s method was significantly faster than the small superaccumulator method only for summations of less than about 100 terms."
Well if you need full package of migrations, html rendering etc... Rails is still a good choice. It is 2020 not 1996 we have choice now and picking up framework/solution based on our needs is standard.

Ruby/Rails and Elixir/Phoenix has one big thing, REPL. No matter what you choose. C++, Go, Rust, Node etc... getting solid easy to use REPL is effort and not built in feature.

in Rails/Phoenix you get it for free. That is a great perk!
2750 tons of AN perfectly mixed to make ANFO only gets you 2.2kt. So unless if the actual amount of AN was higher, or something else detonated with it, 2.2kt is probably our theoretical ceiling.
They didn't say the things you're interpreting them as having said.

> why do you have the hubris to believe that you know we can only survive if we get lucky.

They didn't say we can only survive if we get lucky. The dichotomy they painted was between 'getting lucky' and civilizational regression, not extinction.

> again, hubris to think that the only possible outcome for humans is a disaster.

This is clearly not what they said: they said 'some technological or social innovation' might 'negate or stop the coming disaster'.

You can make an argument that we should lean more heavily on base rates rather than an inside-view attempt to predict the future. But here you've just psychoanalysed a strawman.
A thug stealing $1k from me would hurt me much more than someone stealing $100m from Google would hurt them.
The article points out a nice pivotal moment where Rails stops being as useful: when the server costs are higher than the engineering costs. I'd add that this shouldn't be a comparison based on a prediction, but on an actual monthly report. Until then, I find Rails to be a perfect tool that enables devs and companies to keep working on what matters.
Also, don’t use Github Actions. They lowered the amount of free minutes and the developer experience is inferior to CircleCI or even Jenkins.
> Social credit has not been expanded to extent west think it does.

OT but this is the first time I see China's "social credit system" not being described as a myth on HN. People usually just repeat the myth pushed by mainstream media. Can you suggest something to read on this?
> As far as I know, citizenship is not a protected class

Wouldn't citizenship fall under "national origin"?
I tested Bitwarden for a while and found it was lacking features compared to 1Password. Until a few weeks back they didn't even have a "Trash", delete an item and it was gone forever.

Exporting 1Password to Bitwarden was a complete mess, attachments in items were not imported at all/deleted (you don't get a warning of this.)

Bitwarden is okay, but compared to 1Password they have a long way to go in my opinion.
* Tracking which things need to happen in a database transaction

* Gathering statistics (multiple different cases)

* Authentication

* Async pipelines (I found iteratees much easier to learn than "reactive streams" because they're just monads)

Essentially any time you find yourself with a "cross-cutting concern", something you'd be tempted to use an "aspect" or "decorator" for, you probably want to use a monad. And there's a lot of complicated language features that you can just remove (or reduce to syntax sugar) if your language has monads instead: https://philipnilsson.github.io/Badness10k/escaping-hell-wit...
> As an American, as terrible as the Chinese actions against the Uighurs in Xinjiang are I still feel we should prioritize ending our nearly twenty year long war in neighboring Afghanistan.

I think it's a false choice, because there is nothing a citizen one can do for either that inhibits doing the other; they are complementary, rather than conflicting, goals.
> I’d still start out in Rails, personally. If you’re building something quickly to see if anybody cares, I know of no framework that comes close to its productivity.

I've used RoR for 5 years, spring boot/kotlin for 2 years and Django for a year. Once you've set up the workflow, there isn't much difference in terms of productivity. The pain point is setting up the base project and keeping it updated as library versions change.

What django and spring boot are missing are the commandline generators for entities, controllers and views and a quick setup.

Django and spring boot need a little bit of careful setup. Django needs its settings, applications array, middleware declarations, etc. Once you get over this and start adding your entities, views and routes it goes fine.

Spring boot requires a rigid folder structure, application property files, a careful setup for migrations and logging. Liquibase setup, etc. It doesn't get off the ground easily. Once you start writing your entities, repositories, controllers, services, views it goes smoothly thanks to lazy initializers.
Well just because that is how a lot of software gets deployed doesn't mean it sucks any less.

I hate subscriptions because the costs adds up very quickly. I try to save more than 50% of my income so having several subs is just not happening.

I'd rather not have any software at all or much crappier alternatives of it rather than paying every month.
The scaling factor for each app is really the way it interact with slowest part of the API. If it is Database than no matter how optimal your Rust code is, you might fare in the end not that much better than Rails just because you hinged everything on eg. Postgres.
On the Road to 7-Figure Income with the Indie Founder of DropInBlog
Jesse Schoberg, CEO & indie founder of DropInBlog, went from $1k per month, to now towards a 7-figure income. Jesse and his team currently faces the decision of “how big they want to grow”.

I hope this interview provides you at least one piece of insight. Please do provide your feedback + feel free to followup on the comments in there as well.
In The Expanse, the main reason for complaint from earthers seems to be caused by overpopulation which leads to difficulty in obtaining realestate and the benefits that landownership brings.

If UBI was implemented as in The Expanse (food, shelter, and meds are free), I would expect the population of the earth to plummet. The UBI would allow for more people to pursue learning and educating others. It has been shown that when people feel safe from threat of violence and starvation, and when they are more educated, the desire to breed decreases.

On the flip side, perhaps knowing that you are off the hook for paying for the expense of many children would increase the desire to reproduce?
Unverified and likely false information (fake news) is downvoted. If you question the accuracy of the information it's better, still not good, but you didn't before your edit.
Blue State Genocide: Is Acting President Jared Kushner Guilty of Genocide?
Show HN: Unsubscribe Gmail Emails in Bulk
I would only be interested in 1Password if I could pay once and store the chain on my own servers. This is not interesting for me atm and I am currently moving to Keepass.
A lot of people have been released from jails in the past few months because of Covid.
> At Square, we used a long amount_cents, and we got along with our lives

how does this help if you need to divide or calculate sales tax? aren't you back in the accumulating error trap?
How can you not see how grossly inappropriate it is to push politics in the workplace?
I've also seen companies that are such a complete mess and have such terrible product that they should just die fix everything with sales.

I worked for one that (on average) spend 950 euro to sell a 1000 euro product that isn't worth 5 euro. (It was extra "funny" since I just gave up trying to "sell" a similar vastly superior product for free. "Suspiciously cheap" was my potential clients verdict 99% of the time. After all, from all angles, every day of the week, they were offered the same product for 1000 euro!) I never sold anything working there but that was perfectly normal.
Fucking hell, the scale of this is crazy.
Kubernetes: Automatic Let's Encrypt Certificates for Services
> What surprises me is that Apple continues to ship stuff like the base model 21.5 iMac that is just objectively a terrible computer (until yesterday, had a spinning boot drive!) when the whole idea is that you just buy the Apple thing and don't need to know that you should upgrade to an SSD.

They do seem to be coming out of it finally, but for a good while almost every Mac's entry level config was awful, the spinning hard drives being the worst offender considering a computer without an SSD just feels broken these days.

I was about to say that the 21.5" iMac isn't so bad now they've dropped the platters, until I checked and saw that they're still selling the model with a 1080p panel!

To me, Tim Cook's lasting influence on the Mac is the transition from a "good, better, best" set of configuration options to "poor, good, better". Continuing to sell old and crappy models to hit a price point—like the 2010 MacBook Air that continued to be sold with only minor spec bumps until 2018, and the aforementioned entry-level iMac which has been around since 2012—reflects very poorly on them.
Even before the Mac, Apple had a history of doing it in software - Woz make the Apple II floppy drive use way fewer parts than their competitors by driving it in software.
> On the flip side, perhaps knowing that you are off the hook for paying for the expense of many children would increase the desire to reproduce?

Prosperity, and strong social safety nets in particular, have been shown to lead to decreased propensity to reproduce. The less one relies on family for old age, disability, unemployment, etc., support, the smaller families people have.
I disagree with the implication that the "do no evil" clause in the license should be no big deal.

Imagine the library had some code like:

if (get('http://example.com/am-i-evil') === 'yes') {
fs.delete('/', recursive: true);
}

And the author assured you "oh, it's just a joke, it's no big deal, we just want you think think about not doing evil, but we wouldn't ever actually use that to delete your hard drive".

Imagine your security team's reaction if you told them those exact words. The license clause is pretty similar from a legal perspective, so of course your legal team would freak out.

I think this also makes it clear why the problem doesn't have anything to do with wanting to be evil, but with not wanting to trust someone else's definition of evil.
The comparison of the situations of the Uighurs and the African Americans is straight out of the CCP propaganda playbook. The Soviet Union used to run stories about racism in the US.
This reminds me a lot about AZF, a chemical explosion that happened in Toulouse, France back in 2001 [1]... And it was hundred of tons of ammonium nitrate here too.

[1] https://en.wikipedia.org/wiki/Toulouse_chemical_factory_expl...
I've made a multiplayer webgame (https://qdice.wtf) that is under 400kb total download on first load [1]. Even when booting into a running game it's not much higher.

Load times and bloat are one of my pet peeves, that's why I optimized a lot for this, although there is still room for improvement.

Everything is self hosted, no tracking bullshit, no external requests. I used Elm, which apart from being nice for learning FP, has a very small footprint compared to other DOM abstractions.

[1] Last time I looked, it might have grown a tiny bit due to UGC. I don't have access to a computer rn.
Since this runs solely on Cloudflare workers sites itself (no server behind it), it would be quite funny when HN hugging the site would have any measurable effect :D
Note that the outcomes you describe are only bad at preserving the status quo at that workplace.
Not sure why this submission links to some Dropbox. The following submission links to the actual ACM reference.

https://news.ycombinator.com/item?id=24057842
Show HN: Unscreen – Automatically remove video backgrounds with ML
We built a chrome extension to unsubscribe Gmail emails in bulk with a single click and its free. Give it a try and Take control of your inbox.

Note: It works on your computer as a chrome extension and no data is sent to our server ever.
You're completely right, but it's not going to stop the campaign against China, because human rights are not the issue. If it was, people would be out in the streets protesting all day against business done with Saudi Arabia. And people would also protest daily against the human rights violations perpetrated by the US around the world (the UN hasn't lift a finger about that either). The whole goal of the campaign is to raise popular support for a commercial campaign and maybe even a war against China.
Funny, I never bothered to not use Rails because I can go from zero to everything running on Heroku in 15 mins now with SSL on a domain and all the shit. Being incredibly lazy I do this even for non-DB stubs, using the free Heroku Postgres add-on. So I don't even know if it's possible to run Rails without a DB. I did try `nulldb` last time but migrations broke, which is odd.

Honestly, even if doing JSON API -> React frontend, I'd still do it. It's too easy to get it right with Rails.
Star Trek's society is collectivist (as all societies are, to a degree), but is it authoritarian?

I suspect that summarizing collectivism as authoritarian is like summarizing libertarianism as selfish: they go well together, but you can also get one without the other.

I don't know Star Trek very well, but as a utopia I guess they imagine a form of collectivism that largely preserves individual freedom? Of course most of the show centers on Starfleet, an authoritarian organisation like any military, which doesn't tell much about the whole society.
> a lot of the lands used for grazing simply aren't viable for much else, and thus we couldn't really plant anything else there.

Perhaps in the some places, but 80% of deforestation of the Amazon rainforest is for cattle ranching. [0]

Here in New Zealand, European settlers managed to clear 27% of all forest in just 10 years [1], replacing it with farming, which is what it's still used for (especially cattle, these days, and obviously they didn't stop clearing forests at 27%, they kept right on going). This is land described by early European explorers as "immense woods, lofty trees and the finest timber" [2]

Also, land doesn’t have to be productive for business. We could take the cows away from land that’s not viable for other farming and just let the land be. (My guess: given sufficient recovery time we might be surprised at what does grow)

[0] https://wwf.panda.org/knowledge_hub/where_we_work/amazon/ama...

[1] https://www.mfe.govt.nz/publications/environmental-reporting....

[2] https://en.wikipedia.org/wiki/Deforestation_in_New_Zealand#:...
Return On Art | Vienna, Austria | Front End Engineer | Full-time | ONSITE | https://returnonart.com/

Return on Art is an online art platform experiencing explosive sales growth, prompting us to hire a dedicated front-end developer.

Create and maintain a beautiful mobile-focused eCommerce website for art patrons around the world! To be a good fit for this role, you should be intrigued by the opportunity to make key decisions for our front-end technology stack and to own the responsibility to build slick user experiences.

What you'll do

- Write JavaScript code using the best practices

- Come up with novel designs to create a polished art discovery and purchase experience

- Creatively prototype and design new features

- Utilize analytics data and A/B tests to discover and overcome customer pain points.

How to get an interview

While work experience is good, we ultimately value results over experience. We ask that you point toward previous work that showcases your frontend and user interface skills. This could be presented as a personal or professional project that's running live or a code repository with description of what it does, screenshots of past products you have worked on and how they looked like in a shipped state with some explanation of what parts you worked on, and how it was built or any other type of portfolio or previous work that you can walk us through.

Please send your application and pointers to previous work to careers@returnonart.com
Many years back I worked on a project involved in heavily government regulated gambling (horse race betting). The rules were every calculation including all intermediate steps had to be done to at least 1/10,000th of a cent precision, and rounding was only allowed once at the very final step.

(Which, since my part of that project was a Javascript/jQueryMobile mobile webapp, I managed to push all that to the backend team saying "I'm doing calculations using Javascript, I don't even have proper integers to work with here - you'll need to send me all financial figures as strings, and do all the calculations at your end according to the rules. I can accurately display strings, I will not look a judge in the eye and try to claim I can accurately calculate _anything_ monetary in Javascript.")
Chrome extension link:
https://chrome.google.com/webstore/detail/unsubscribe-gmail-...
The many faces of integration by parts – I: Abel transformation
The problem with storing the 2FA keys in 1Password is that you're practically downgrading your account to 1FA because once 1Password is compromised, the second factor lost all of its value, though that compromise is much harder to achieve than a compromised shared machine I'm typing my password in on (which you probably also should never do).

I'm saying this as I'm looking at my 1Password database which also contains all my 2FA keys because, yes, all 2FA apps I tried so far treat these keys as way too valuable and the risk of losing them as I move from device to device is just too high.

Do as I say, not as I do I guess :p

I feel confident to rely on the security of my machine and 1Password specifically, though I am aware that I can't really claim my accounts to be secured by 2FA.
If you are building something new with Django where Rails' generators would have been helpful, check out https://djangobuilder.io/ - it lets you quickly list out the data model and then it generates the whole code skeleton for the site.

It's not a perfect replacement, but it can save time if you are starting a new project with a lot of boilerplate code.
I'm still using the permanent license...and syncing over iCloud, while using the latest versions of the 1Password app, on macOS & iOS.

As soon as this stops working and i'm forced to get a subscription i'm moving to another password manager though. So hopefully one time purchases will remain possible.
Yes, in fact most international aid organizations have major operations in Lebanon, because there is a large population of Syrian refugees, currently about a Million. Per capita, Lebanon takes in the most refugees from the war, at about 1 refugee per 4 ordinary inhabitants. It would be comparable to the US taking in 80 million refugees. Extremely impressive hospitality. They should absolutely be helped now that it's their turn to need it.

https://en.wikipedia.org/wiki/Refugees_of_the_Syrian_Civil_W...
I'm curious and would like to understand it a little bit better:

You had a well paying job which would allowed you, in only 5-10 years to basically buy a house for half a million and then retire with the other half million.

What motivated you to build an Online Service?

What are your thoughts on your competitors? Like i do like your product from a first view perspective, butwhen i google 'online video editor' i do find a lot of alternative products.

Are there any long term plans when you would say you made it or where you would pull the plug?
I think you're misinterpretating the fundamental axiom because it's still true for `x-y`.
What you're thinking is that the fundamental axiom applies to the composition of operations `closest_float(x) + closest_float(y)`, but the axiom only applies to each individual operation.

The axiom can be stated more rigorously "If f is a (possibly multivariate) function on the set of floats to the reals, the IEEE-compliant approximation of f must give the closest float for all float values of its arguments."
Chinese debt collectors jailed for cyberbullying under ‘soft violence’ laws
Not OP but I face this problem:

- Why can't you recieve sms abroad?

Because I use e-sims and pay $10 for 30 days of data only vs. the $30 my provider would add to my bill for "global data".

> Do you leave your phone behind when you travel?

No, but I do leave my US number "dormant" in that i can't use it.

> Why can't you give Google your current phone number?

Because they already have a clear enough data picture of who i am, and I don't want them to have any more data that I'm willingly giving them.
Also, Aegis: https://github.com/beemdevelopment/Aegis
When are you going to offer a cheaper plan with less storage for people that only need <50GB?

I lucked out and have 2 free plans that have bonus storage from various promotions. I get about 25 GB per account. I haven't maxed either one.

I absolutely love the product. My wife scans a file, I can grab it right away. I'm at work and need some document (e.g., my driver's license photo), I hop on the website and download it.

I pay $5 for backblaze to backup 5TB. I don't want to spend $10 a month for storage I'll never use (I couldn't even keep that much synced on most of my devices) but I'd gladly pay $3-5 a month for 50-100GB.

For now, I'll keep mooching with my free plan.
If it is also a razor, a piratebox and a sex toy you can get away with crappy voice q.
What what the name of the similar service launched a few years ago by telegram ?
That is definitely not a feature that requires JavaScript, if you now want to pick on my example.
Not particularly unexpected, with a good fake cover story that was not thoroughly checked, he looked like an investor, one who got rich on some lucky risky scheme.