HNHacker News
TopNewBestAskShowJobs

jabirali

159 karma · joined April 14, 2020

submissionscomments
jabirali··on Degoogle: Cutting Google out of your life
There appears to be a Wikipedia page dedicated to this topic:

https://en.m.wikipedia.org/wiki/Criticism_of_Dropbox

jabirali··on Degoogle: Cutting Google out of your life
While I like Syncthing and used it for a couple of years, my experience is that Resilio is way faster for syncing large numbers of files (e.g. Git repos or large photo collections). Resilio also appears to be more easily reachable behind routers and corporate firewalls that for some reason block Syncthing. For those with an iPhone, that platform is also supported by Resilio but not Syncthing.
jabirali··on macOS Security and Privacy Guide
I think most of that guide would require roughly the same amount of work on Linux though (e.g. setting up firewalls, DNS, VPN, and FDE).
jabirali··on macOS Security and Privacy Guide
Thanks for your thorough discussion of this; as someone currently migrating to macOS, I found it very helpful :).
jabirali··on macOS Security and Privacy Guide
Thank you for sharing your experience on this :).

> I can see how setting up everything in one place could be useful, but I haven't run into a situation where it has been useful in my macOS usage quite yet.

What appeals to me personally is having a list of apps (the “Brewfile”), that I can sync between my work and personal computer via my dotfiles, and let the system mirror what apps are installed on both devices (“brew bundle” installs or uninstalls apps based on that app list). And that if I need to replace my machine, I can just sync my dotfiles to new machine and let Homebrew autorestore apps, including third-party apps and things from App Store.

I’ve tried some “declarative package managers“ before and enjoyed that, so when articles like this [1] said Homebrew can apparently do the same across open-source software, Mac App Store apps, and third-party apps, via a single synced Brewfile, that seemed interesting. The same Brewfile also appears to be usable on Linux for open-source apps (via Linuxbrew).

But I don’t yet have any experience with it, so I have no idea how well it works or whether it’s worth it. If we disregard third-party apps, do you know if MacPorts has an equivalent to Brewfile?

[1]: https://openfolder.sh/macos-migrations-with-brewfile

jabirali··on macOS Security and Privacy Guide
> Are we expecting for Apple to always be 5 years ahead of Google on privacy features? Or did Google shift priorities with Android 10?

Good question! My personal impression is that Google, being primarily a tracking company, reluctantly added just enough privacy features for people not to flock to Apple. (I think people have grown more privacy-conscious over the past few years, and Apple has marketed their privacy features heavily.) Links like this [1], listing the iOS 14 privacy features that will arrive in late 2020, appear to still be ahead of what Google has done yet – and e.g. Facebook’s reaction to the cross-app tracking block appear to indicate that this isn’t something they’ve encountered from Google.

But being an iPhone user now, I of course notice more easily what’s happening in the Apple world than Google world. If you have an overview of new privacy features in Android, which aren’t in iOS, I’d be very happy to be proven wrong. I’d love to see a full arms race between Google and Apple on privacy, with both parties introducing novel features.

[1]: https://www.macrumors.com/guide/ios-14-privacy/

> Does Apple still have special permissions for their own apps which allows them to run unobstructed, but other apps need to jump hoops with callbacks and other workarounds?

Unfortunately, yes. There is e.g. no way to get as reliable background sync with things like Nextcloud and Resilio as you do with iCloud, since there’s no “run in the background” permission. Not sure about this, but I don’t think any other app can take over the lock screen in the same way as Apple Maps. You can’t set a default browser than Safari, but I believe this is changing in iOS 14.

While I respect Apple for their stance on privacy and therefore use an iPhone, I do disagree with some of these missing permissions, and hope that a new round of anti-trust investigations may force them to open up on this.

jabirali··on macOS Security and Privacy Guide
> MacPorts has most of the same common packages and doesn't mess up filesystem permissions like Homebrew does.

This is more a convenience than security question. I understand that Homebrew can install not only open source command-line tools, but also third-party binaries (via `cask`) and Mac App Store apps (via `mas`), and that all three types of software can be installed, updated, or removed via the same `brew` command or synced `Brewfile`.

Does MacPorts offer something similar? In that case, how is its coverage compared to the systems above?

(Context: I’m a long-time Linux user in the process of migrating to macOS.)

jabirali··on macOS Security and Privacy Guide
It’s good to hear that Android supports this as well now, but I think you understate the difference in when these features arrived. From a quick search, the location example was fixed in iOS 8 in 2014 [1], and in Android 10 in 2019 [2], putting Apple 5 years ahead of Google on privacy features. Based on the list of privacy features being introduced in iOS 14, my impression is that this is still the case?

[1]: https://9to5mac.com/2014/06/04/apple-improves-location-servi...

[2]: https://en.m.wikipedia.org/wiki/Android_10

jabirali··on macOS Security and Privacy Guide
> You can pretty much do anything with Android, the same cannot be said about Apple's dictatorship.

The problem is that app developers can also do anything with Android, often against the users‘ will.

Before I switched to iPhone, my choices for location access on Android apps were basically “access location 24/7”, or “no location support at all”; and even that was an improvement upon the earlier “the app will get these permissions, don’t install it if you disagree” model. iPhone, in contrast, had a sensible “only access location when the app is open” option. Similarly, uploading a single photo to Facebook on Android required the app to get full access to your whole SD card; on iPhone, I can send a photo without the app getting access to my storage at all (that single photo is copied into the Facebook sandbox by the OS). Perhaps Android has improved since, but so has iOS (see e.g. the feature list for iOS 14).

For some of us, controlling our data without turning the phone into a full-time hobby is more important than having full system access.

> I am not even sure about stock installs given Apple's poor security record.

Do you have a link supporting that Apple’s security record is worse than other systems, relative to market share?

As far as I know, the macOS permission system provides better sandboxing than either Windows or Linux by default. (Though if you work for it, you can harden Linux more.)

And although there is a lot of malware for macOS, last I checked nearly all of it was in the form of Trojans and similar vectors, where a user has to download and execute untrusted code. That is an issue on any platform; a user running a malicious bash-script with sudo shouldn’t count the same as remote exploits in my opinion.

jabirali··on Linux from Scratch
I also did this once in early high school, but I personally didn't feel it was worth the time. I had already used Gentoo for a year when I did LFS though, so that probably affected the learning potential. (I do believe that most of what I know about Linux, I know from the year I used Gentoo.)
jabirali··on Matrix – An open network for secure, decentralized communication
> And Linux, as well--including the Librem 5 phone[0].

I think the point is more that in e.g. the US, nearly half the population has an iPhone [1], so a chat service that is only available on Android and Linux can't spread as much.

[1]: https://www.counterpointresearch.com/us-market-smartphone-sh...

jabirali··on ReMarkable MicroSD (2019)
This is a bit concerning. I have a Max2 myself, and have been satisfied so far. But it cost a lot, and I don't use it that often, so I was hoping to get 5-6 years of use out of it for the device to be worth the investment... Did you get any free reparation or replacement?
jabirali··on ReMarkable MicroSD (2019)
If you don't count Android, I'm not sure there are any? Most eink tablets have a user interface that is more similar to smartphones than computers. Thus, most people won't need to run GNU coreutils, Gnome, or other parts of an average Linux desktop. If you do count Android, there are several; my Onyx Boox for instance runs Android, and can thus use regular smartphone apps for e.g. file syncing.
jabirali··on Why Did Mozilla Remove XUL Add-Ons?
> It's sad to see people supporting monopoly this way...

The realistic way to avoid monopolies and retain free-ish markets is to actively enforce anti-trust legislation. (And in the case of social media companies: force all players of a certain size to provide federation APIs, so people can leave the service and still talk to their friends and family.)

There will always be some people that try to avoid monopolies for ideological reasons; but 90% of the population won't care, they just want things to work and move on with their lives, and capturing that segment still makes you a monopoly.

jabirali··on Why Did Mozilla Remove XUL Add-Ons?
> The decline of Firefox is because of one thing only - the enormous marketing and engineering clout of Google and their utterly ruthless, relentless, anti-competitive pushing of Chrome across Android and all their web properties and even through ads all over the world.

That probably had an effect, but I don't agree that its the single biggest factor. Before Chrome arrived, my experience in general was that Firefox had gotten slow and buggy, and when one tab crashed the whole browser went down with it. It was a once great product that had stagnated.

Compared to that, Chrome was a breath of fresh air, so me and many people I know migrated and then recommended it to friends and family. That had nothing to do with the Android version; at the time I didn't even have a smartphone, and many other tech people that migrated had iPhones. The desktop browser was simply a better product; and since at the time Google wasn't considered evil, and its Chromium base was open-source software, there was no reason not to use it.

I eventually migrated back to Firefox myself, and am currently very happy with its performance, stability, and exploration of privacy features like Container Tabs. However, it wasn't before e10s I felt I could really recommend Firefox over Chromium to anyone else.

jabirali··on Ask HN: What is a science fact that blew your mind when you learned it?
To me that sounds mostly like a philosophical distinction. In most physics calculations, “infinite” just means “finite but so large that we can neglect edge effects”.
jabirali··on Ask HN: What is a science fact that blew your mind when you learned it?
I love the “bouncing droplet” experiments. There are some cool videos of it on YouTube for those that want an intuitive macroscopic analogy to how quantum mechanics work.
jabirali··on Ask HN: What is a science fact that blew your mind when you learned it?
You’re assuming the Newtonian theory of gravity, the parent poster uses Einstein’s general relativity. These theories disagree on quite a lot; e.g. general relativity predicts that light is affected by gravity, while Newton’s theory would not since photons are massless particles. Einstein was proven right here too.

Note however that the quoted effect – difference in weight between a compressed and uncompressed spring – will realistically be so small that I doubt you could measure that in a lab. To get a sense of how small that effect is, try comparing the E=mc^2 mass-energy of a spring to its E=kx^2 compression energy...

jabirali··on Using Obsidian to manage goals, tasks, notes, and software dev knowledge base
I suppose “self hosted” and “easily backed up” works fine since Obsidian is supposed to work on local MarkDown files which you can store and backup in any way you want.

Not sure why you’d need a WebGUI since the app appears to be cross-platform; personally, I tend to view web interfaces more as a last resort when there is no native app available. I’m not sure a WebGUI makes sense either if you’re storing your data in a local folder.

As far as I know, they don’t have a companion mobile app though, and that’s a deal-breaker for me too.

jabirali··on Using Obsidian to manage goals, tasks, notes, and software dev knowledge base
Zim’s main drawback in these days is that it doesn’t have its own mobile app, and since it’s not based on MarkDown, you can’t use any existing MarkDown mobile apps with it.
jabirali··on Using Obsidian to manage goals, tasks, notes, and software dev knowledge base
I used Org for about 8 months last year, while I was testing out Spacemacs and Doom Emacs.

My experience was that the Org-mode in Emacs was great. Especially how you could capture notes with backlinks from any Emacs context, and the Agenda view it generates. I went all-in on the ecosystem and wrote my mail in mu4e, for instance, which can integrate with Org-mode for writing HTML mail. Being able to add inline LaTeX equations and syntax-highlighted code snippets to such emails was gold. Having easily executable script snippets embedded in sysadmin notes was useful as well.

As for other implementations of it — including vim-orgmode and every mobile app I tried — too many features were lacking or broken for it to be useful to me. In the end, I ended up going back to MarkDown when I left Emacs. The transition was quite painful; Pandoc helped a lot, but many things in my notes just broke during conversion, so I ended up just trashing most of my notes and spending an evening manually fixing the important ones.

While Org is free and open source software, and it’s often repeated that “it’s just plain text”... I’d like to caution others that if you really use the features it has to offer, you’ll be locked into it just like with most proprietary formats. If you’re not completely sure you’ll use Emacs for the rest of your days, MarkDown is a safer option for a knowledge base you wish to keep over time.

jabirali··on Having an alter ego can reduce anxiety, benefit confidence: research
Well, if the ones who sell email addresses to spammers filter out the `+`, there’s a larger chance they can continue to do so without getting caught or exposed?
jabirali··on Lost Advanced Civilizations
I think the point is that if a large number of galaxies had Type III civilizations, we would notice, because the definition is that they use most of the available energy in their galaxy making the galaxy radiate more infrared than visible light. But that doesn’t mean life isn’t common, it may just mean that a Type III civilization is either physically impossible or very unlikely.
jabirali··on Lost Advanced Civilizations
My point is that I think convergent evolution would be likely to produce “water blobs with heads, legs, and feet” on other Earth-like planets, i.e. planets with lots of liquid water and lots of solid land.

If you’re thinking of planets that are not similar to Earth, of course all bets are off.

jabirali··on Having an alter ego can reduce anxiety, benefit confidence: research
I'm curious, does this still work? Since GMail is likely the largest email provider in the world, I would have expected spammers to simply filter out the `+.*` by now.
jabirali··on Lost Advanced Civilizations
Due to convergent evolution [1], I'm not sure life that originated on an Earth-like planet would look completely different from Earth life, at least on a macroscopic level.

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

jabirali··on Graphical Linear Algebra
> I can easily see a bright, curious person wasting a lot of time before realizing that the content is merely linguistic, not mathematical.

While I rarely find graphical methods useful for performing calculations, I do appreciate visual interpretations of how mathematical concepts work. I personally find that whenever I have to learn a new topic in math, good visualizations help me form an intuition regarding how things fit together, and can often be useful when reasoning about how to attack a problem (back-of-the-envelope sketch before a more rigorous calculation). For actually solving the problem, on paper or in code, I agree that a symbolic approach is superior.

I also think that purely linguistic improvements in math can have a positive effect: a mathematical notation that is easy to learn, understand, and use, will clearly make the math it represents more impactful. I can't find the exact quote at the moment, but I think it was Dirac who said something along the lines that "a good mathematical notation should make correct statements obvious and wrong statements impossible".

jabirali··on Not everyone needs 8 hours of sleep: new research
I also have a positive experience with Redshift, and use it on both computers and phones at night. Since I live in the north, I also have good experience with "rubber curtains" that block out all sunlight at night in the summer, and a "wake-up light" that simulates sunrises in the winter.
jabirali··on Arm co-founder: Sale to Nvidia would be a disaster
So basically an ARMsrace against Nvidia?
jabirali··on "Rust does not have a stable ABI"
I’m not a lawyer, but I recall seeing a comment that one reason companies currently prefer dynamically linked apps in bundles like Snap and Flatpak over static linking, is that dynamic linking permits more open-source libraries to be used without legal issues. I think it had to do with what legal precedents had been set for linking GPL/LGPL libraries with non-GPL binaries?
← PreviousPage 2 of 4Next →