Better HN
topnewbestaskshowjobs
Log inSign up

webmobdev

4,366 karma · joined Jan 7, 2019 (7y ago) · 2,437 submissions

Submissions

comment 4y ago · link · parent

> This will have an extremely high cost to Apple if it’s implemented.

Come on, do you really expect us to be sympathetic to a trillion dollar company if its profit margin reduces? (Which any way may not happen - realistically, they'll just pass on the cost to us consumers).

comment 4y ago · link · parent

I am guessing if you can "install any software" (as the DMA says), then the device manufacturer can't prevent you from installing another app store.

comment 4y ago · link · parent

I am not sure about this - does install any software also mean system software or is it only meant to allow installation from sources other than their own app store? To allow system software installations, Apple (and other mobile device manufacturers) will have to allow unlocking the bootloader. (But that alone is limited as without the hardware information of the individual parts, developing an alternate OS for such devices is painful work as you have to essentially reverse engineer everything to create the device drivers - as evident with the snail's pace that Asahi Linux are progressing at to port Linux to Apple M1 and M2 ARM processors. Unless ofcourse, the DMA also forces them to publish the hardware literature so that other system developers can use it, which would be a real game changer ... ).

comment 4y ago · link · parent

I kinda get your point that Apple will have to devote some more resources, but it will only be slightly more: All the API are already there and being used by Apple apps privately and they just have to make it open to everyone. That's not really a huge overhead for someone of Apple's size - they'll just need to publish / update documentation and increase their developer support teams and that doesn't cost 10's of millions of dollars (which is again peanuts for Apple).

comment 4y ago · link · parent

And for privacy conscious users and other business competitors:

> But they can no longer reuse private data collected during a service for the purposes of another service.

I hope this is applied retrospectively (for even data gathered before the DMA was legislated and came into effect).

comment 4y ago · link · parent

> why not take a look at electroconvulsive therapy ... Yet we have no idea how it works ...

Or you can stick with something that has been already been scientifically studied and proven to be as effective as anti-depressants in curing depression - Cognitive Therapy. In fact, it even prevents relapses more than anti-depressants:

> Depression is one of the most prevalent and debilitating of the psychiatric disorders. Studies have shown that cognitive therapy is as efficacious as antidepressant medications at treating depression, and it seems to reduce the risk of relapse even after its discontinuation. - https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2748674/

For those considering going to a CT therapist you can search for certified CT therapist from here: https://cares.beckinstitute.org/get-treatment/clinician-dire... (the Beck Institute was started by the founder of CT and is now run by his daughter who is also a professional in this field. Nowadays most therapist learn about CT during the education but only have the base knowledge of it and thus don't apply CT techniques properly during therapy, and remain ignorant of the advances in this field. Those who actually train and specialise in it are more effective.)

comment 4y ago · link · parent

More info - Vitamin B6 Toxicity - https://www.ncbi.nlm.nih.gov/books/NBK554500/

comment 4y ago · link · parent

Dams also cause huge ecological damage - there's no easy solution. Nuclear is good if (and this is a big if) the nuclear wastes are managed properly. Even then, right now sometimes it feels like nuclear waste is currently treated as the "next generations" problems.

comment 4y ago · link · parent

Or another way to look at it is that American cultural value of "Individuality" has been corrupted to lean towards more and more selfishness because of consumerism ... so much that some Americans now think it is normal to have a selfish attitude and are wired (by constant consumerist marketing) to place their needs above all, without bothering to think about how their decisions and actions impact others. What you see as indecisiveness or lack of action may actually be genuine contemplation ...

comment 4y ago · link · parent

Perhaps OP came across this recent article - Reviewers agree: The M2 MacBook Air has a heat problem - https://www.digitaltrends.com/computing/m2-macbook-air-revie... .

comment 4y ago · link · parent

Kindly clarify what was the "wrong information" and what device criteria restricts porting GrapheneOS to other phones.

comment 4y ago · link · parent

> Ultimately the custom ROM support for Sony phones is pretty lacking

Jolla has both free and paid Sailfish OS license for some Sony open devices phones - https://shop.jolla.com/ ...

comment 4y ago · link · parent

Yeah, "public space for women" is such bs! Especially when the women were forced there and not allowed to leave:

> Police reports from the Muzaffarī period (1896–1907) show that the most common punishment for women caught selling sex was a practice known as nafie-balad. This was a form of forceful banishment or eviction from the city targeted at sinful, criminal and undesirable subjects and those who defy social and moral conventions of the society ... One day, all the women suspected of selling sex were gathered and moved by military trucks to a nearby caravanserai outside of Tehran’s wall: "the wayward women were all thrown in there like sheep… later, houses were built and a neighbourhood took shape which was named Shahrinaw" ... Eventually, in 1953 the municipality bowed to public pressure and ordered the erection of a two-and-a-half-metre tall brick wall around Shahrinaw ... While the gate was open to men seeking illicit pleasure, women were allowed neither in nor out.

----

Perhaps I am being puritanical here, but I've never understood this obsession of some trying to associate women's right with prostitution. Everywhere in the world, even in countries where prostitution is legalised / regulated, it is only the desperate and economically weak women who are pushed into this trade and it invariably gives rise to a parallel and illegal industry of sex trafficking and forced prostitution. Worse, where it is legalised, the administration and police largely ignore such illegal sex trafficking as prostitution is now an "economic activity" (until of course there is a public outcry and / or international outrage - Denmark made child pornography illegal only in 1980's!).

Even where religious sanctions for prostitution are available, the prostitutes are both admired and looked down upon by some and face repeated sexual violence (God’s Wife, Every Man’s Woman: The Lives of 'Joginis' in South India - https://thewire.in/rights/photos-sexual-slavery-ban-telangan... ). I do know that there have been periods in the Islamic empire and in Asia, where courtesans, who also sometimes prostituted themselves (often not out of choice), had some semblance of respect and rights largely because they were also highly talented artists (singers, dancers, musicians etc) but mainly because they had the patronage of the rich and the powerful. But once that patronage was lost, they were often vilified by society despite their talents. (All said, I am really unsure on whether glorification of prostitution in the media is good or bad though).

comment 4y ago · link · parent

Kind of true. But the Shah was no champion of anybody's right:

> ... Police reports from the Muzaffarī period (1896–1907) show that the most common punishment for women caught selling sex was a practice known as nafie-balad. This was a form of forceful banishment or eviction from the city targeted at sinful, criminal and undesirable subjects and those who defy social and moral conventions of the society ... Public discontent came to a head at the end of the 1910s with the first series of petitions in 1919 calling for sex workers to be banished from Tehran.

> The political figure and writer Hassan Ezam-Qodsi notes that sex workers from Qajariyah alley in Tehran were moved to this new neighbourhood in order to avoid sexual assaults on "respectable" women in the city ... One day, all the women suspected of selling sex were gathered and moved by military trucks to a nearby caravanserai outside of Tehran’s wall: “the wayward women were all thrown in there like sheep... later, houses were built and a neighbourhood took shape which was named Shahrinaw”.

> The district offered its services as usual until the 1940s when public dissatisfaction surged again ... In this period, the practice of nafie-balad was again deployed as a tool to address the public concern over the rapid spread of sexually transmitted diseases ... the result of an STD test undertaken by Pasteur Institute of Tehran in 1929 showed that 43 per cent of the 3,498 participants were tested positive ... Eventually, in 1953 the municipality bowed to public pressure and ordered the erection of a two-and-a-half-metre tall brick wall around Shahrinaw, restricting entry to a rusty metal gate on the southern edge of the neighbourhood. While the gate was open to men seeking illicit pleasure, women were allowed neither in nor out.

comment 4y ago · link · parent

From the article:

> Eventually, in 1997, the space was finally put to use again when the Tehran Municipality inaugurated the Razi park and cultural complex, which includes a variety of public services such as a library, movie theatre, artificial lake and an amusement park. It’s a far cry from the area’s previous functions. Nonetheless, some traces of the demolished neighbourhood remain visible on the street edges...

comment 4y ago · link · parent

Can't understand their warped logic in providing a mobile OS stripped of Google services, while officially supporting the mobile OS only on a mobile phone offered by Google! How is that supposed to inspire any confidence? (For those wondering what other good alternative hardware is available for such a project, Sony "Open Devices" offers a set of mobile devices with "open" bootloaders along with AOSP device configurations and build guides - https://developer.sony.com/develop/open-devices/get-started/... ... it's also a bonus that Sony makes good quality phones).

comment 4y ago · link · parent

How do engineers plan for thermal expansion when laying traintracks in deserts where the daytime and nighttime temperatures are vastly different? - https://old.reddit.com/r/askscience/comments/8yxd21/how_do_e...

comment 4y ago · link · parent

> You can back up this header.

Is this particular to any one FS or applicable for all production FS (NTFS, APFS, HFS+, ZFS etc.).

comment 4y ago · link · parent

They could also have considered porting Minix 3 OS - https://en.wikipedia.org/wiki/Minix_3 - to the mobile platform. It is freely available with far less restrictive license than Linux. The only "production" ready and usable Linux based mobile OS currently is Sailfish OS - https://sailfishos.org/ . There is also Tizen OS https://www.tizen.org/ and LG's webOS - https://en.wikipedia.org/wiki/WebOS , though I don't know how how much Linux support is open to use in these two.

comment 4y ago · link · parent

Like you rightly pointed, the disadvantage of using encryption on full-disk or file system seems quite high. But I don't get it - if a file system is not robust enough to handle data corruption and aid recovery when encryption is enabled, the file system would earn a bad rep. So I am assuming that that they would factor that and make the encryption system equally robust?

> ... makes recovery impossible (as opposed to harder), at least for the affected files...

This is my main doubt in an encrypted file-system - is encryption done on the individuals files on it or is the whole file-system encrypted (implying the whole partition is one giant encrypted blob)? The latter would imply corruption in any part of the file system would make it next to impossible to recover any file in it. If each individual files are encrypted separately (on the fly), then any corruption would only affect some files, and the rest of the files would still be recoverable.

comment 4y ago · link · parent

Why would you want to appreciate any ads? More targeted ads based on your personal data means you can be better exploited. Whether you want to accept it or not, advertising works and does influence our shopping behaviour. Otherwise corporates wouldn't be spending billions of dollars on it. Targeted ads means corporates have to spend even less money to better manipulate us. In what world is that good for us consumers?

712.

Ask HN: Is data on an encrypted file-system harder to recover when corrupted?

5 points · by webmobdev · 4y ago · 6 comments

comment 4y ago · link · parent

It does make sense for extra add-ons / parts sometimes, for things you use occasionally, provided they are already not charging you for the part / add-on (which in this case BMW isn't - they allow you to pay for the heated seats monthly or yearly or purchase it outright). But remember that when you subscribe, you don't own the part / add-on. And if you only plan to use them for 3 months a year, it will not be profitable for them and they will realistically not allow it. Unless it is profitable for them, why would they turn something unnecessarily into a subscription service?

comment 4y ago · link · parent

Just 1 nitpick - huge and big things are actually easier and cheaper to transport by ships.

comment 4y ago · link · parent

That sounds healthy except perhaps for the canned ham, if it is processed; diary products like cheese can cause bloating, pain, flatulence etc. if you are lactose intolerance (according to this article - https://www.everydayhealth.com/digestive-health/foods-that-c... - Broccoli and carrot can also gas, but not a real cause for concern with healthy foods like these). Apart from that you still face the common issue of hygiene and when the food was prepared. When eating out, we don't know what goes in the kitchen where the food is prepared and can only make a best guess that the food is handled hygienically in a clean environment. So that's out of our hand. But in grocery stores, we can certainly keep an eye out for the date / time the food was prepared and try to buy it "fresh". Foods that are kept out for long or not stored properly in the right temperature do undergo change (fermentation for e.g.) and that can also affect our tummy.

comment 4y ago · link · parent

I said they are unhealthy when eaten regularly in the quantity that restaurants use. That, and the fact that restaurants (even the good ones) sometimes serve leftovers often cause these issues. (And a healthy person won't remain healthy for long if they eat regularly eat unhealthy food from restaurants).

comment 4y ago · link · parent

Came across a thread yesterday on Reddit on how ads on Reddit can now be no longer downvoted. That's an indication of where they are headed and who they prioritise ...

comment 4y ago · link · parent

TikTok is BigTech too. Chinese BigTech rather than US BigTech. That's a problem for some. As someone who is neither Chinese or American, and with no local alternative to any of the BigTech's service, I am screwed either way. With lax privacy laws and regulations in my country, both American and Chinese BigTech freely abuse our naivety and trust to harvest our personal data.

comment 4y ago · link · parent

> In my experience, this is a kind of carb withdrawal.

I generally avoid high GI foods, and consume carbs with high fibre content only so that the sugar is released more slowly into the body ( https://www.health.harvard.edu/healthbeat/a-good-guide-to-go... ). I am loathe to completely avoid all kinds of carbs as it is essential for our health.

comment 4y ago · link · parent

Whenever I skip a meal, I always feel "Hangry" without fail. So I am sceptical about this. How long do you have to do any kind of intermittent fasting to actually start feeling the benefit? (What are the actual benefits?).

From what I have read, our body is healthier with "regular" cycles / habits - sleeping and waking up at the same time, eating regularly at the same time, exercising at the same time etc. so that all the "body clocks" (apparently we have many, like for sleep, releasing hormones etc.) get in sync. So things like intermittent fasting kind of goes against that logic because it creates stress in the body. (Though I have read that intermittent fasting can be helpful to reset some of the body clocks, but I am still not sure how to best use it in our daily life. Islam, for example, prescribes monthly (full day) fasting every year, but because of the lunar calendar that is followed, this happens at different period every year. That's one established / tried and tested way of doing it "intermittently". Some sects of Christianity and Hinduism prescribe some particular days every year for fasting. That's another way old way of doing it. But is there a scientifically studied way or regimen in our modern times to do this safely and effectively?)

1
232425
82