News for hackers. Stuff that matters.

traib

Re:Terms and Conditions Game on Tuesday May 18, 2021 @12:23PM (#27196970)
Memorize all starting ticked positions (there's only 4). Then simply tap those (and only those) positions one by one, you'll have everything unticked after you tap the last one.

Caveat:

Works if the number of starting ticks is even.

Proof:

Tapping does not change the state of the tapped checkbox, but flips all others.

There are only two states (ticked / unticked) => If a checkbox is flipped an even number of times, its final state is the same as its initial state. And if a checkbox is flipped an odd number of times, it's final state is the opposite of its initial state.

There are an even number of starting ticks (n = 4). So by tapping all starting ticked positions, we are flipping the rest an even number of times (n), and the starting ticked positions an odd number of times (n - 1).

I was mainly referring to how every browser app on iOS is forced have Safari underneath. The wiki page on Firefox for iOS [1] mentions this in some detail - it cannot use Gecko like it does on desktop and Android, it must use WebKit instead.

[1] https://en.wikipedia.org/wiki/Firefox_for_iOS

> All of those platforms are less secure than iOS.

Do you have a source for this statement, specifically in relation to browsers?

Let's consider Android. I wouldn't automatically assume that using Safari on iOS is more (or less) secure than using Chrome or Firefox on Android - they are all provided by well known tech companies with years of expertise building browsers and a focus on security.

> WebKit on iOS has special sandbox privileges not available to other user frameworks.

Okay so WebKit cannot be used as is, but then why forbid other alternatives [1]? Seems like a Catch-22.

> It seems like an engineering challenge to expose these features to arbitrary 3rd party frameworks in a way that doesn’t allow these features to be abused.

How does literally every single other platform manage this? AFAIK none of Android, Windows, the many Unix-like OSs, even Apple's MacOs have such restrictions on browser apps.

And I think it'd be unfair to characterize the users of those other platforms as being "abused" by their browser apps. E.g. Firefox seems pretty trustworthy.

[1] https://developer.apple.com/app-store/review/guidelines/ - "2.5.6 Apps that browse the web must use the appropriate WebKit framework and WebKit Javascript."

Re:In India, smartphones and cheap data are giving women a voice on Wednesday January 06, 2021 @11:15AM (#25659015)
First, PPP has its own issues [1] and is probably not the best way to compare the price of data.

Second, even after taking PPP into account data is still much cheaper in India - 30 USD per month for the thread parent after PPP conversion.

Math below:

PPP in [2] is National currency units/US dollar, i.e. INR/USD. It says that ~21.3 INR is going to buy you the same basket of goods in India that 1 USD buys you in USA.

9 USD = 9 * 70.394 = ~633.5 INR [3]

633.5 INR = 633.5 / 21.3 = ~30 USD PPP.

[1] https://en.wikipedia.org/wiki/Purchasing_power_parity#Issues

[2] https://data.oecd.org/conversion/purchasing-power-parities-p...

[3] https://www.irs.gov/individuals/international-taxpayers/year...

"Best" for whom? Any action has the potential to be either good or bad, depending on who you ask. But if it has a positive impact on society as a whole - that's probably good enough. And striving to do the right thing, upholding important beliefs like fair access to justice and freedom of speech, these certainly fall in that category.

If a smaller company, or even one of us on HN had sued Apple would that suddenly make it okay? Apple's actions haven't changed, why should the identity of the plaintiff matter?

Regarding your specific example - if Amazon is doing something wrong, then an antitrust case should be brought against them too. But that doesn't (and shouldn't) give anyone the right to continue doing something unethical and illegal.

Let me quote a few things from Octal's App Store page [1] (emphasis mine):

> Octal is a modern, full-featured Hacker News (news.ycombinator.com) client ...

> • Read and share Hacker News stories ... > • Upvote stories and comments you like ... > • Submit new posts to Hacker News ... > • Log in to Hacker News ... etc.

> About Hacker News: > Hacker News is a social news website focusing on computer science and entrepreneurship. It is run by Paul Graham's investment fund and startup incubator, Y Combinator. In general, its content can be submitted is defined as "anything that gratifies one's intellectual curiosity".

On the one hand Apple is selling the dream of a privacy and security focused utopia, where all apps are well-curated and malware does not exist. And demanding a 30% cut of revenue from many apps in the process.

Then on the other hand presumably two of their reviewers could not be bothered to read the app description or do a few minutes of independent research to figure out what Octal and Hacker News really is.

It's hard to see what value Apple is providing in this case.

[1] https://apps.apple.com/us/app/octal-hacker-news/id1308885491

Re:Apple Accidentally Approved Malware to Run on macOS on Tuesday September 01, 2020 @12:00PM (#24343221)
> But in either case the donator has to be in a position to afford it, which typically means significant income from other means.

Even if someone has the time and resources to contribute to OSS, it does not automatically follow that they should be willing to spend said time and resources on notarization (of all things).

Put another way, not every purchase is worthwhile just because you have a million dollars in the bank.