Hacker Newsnew | past | comments | ask | show | jobs | submit | rmadriz's commentslogin

Others have already mentioned Syncthing[^1]. Here's what I'm doing on a budget since I don't have a homeserver/NAS or anything like that.

First you need to choose a central device where you're going to send all of the important stuff from other devices like smartphones, laptops, etc. Then you need to setup Syncthing, which works on linux, macos, windows and others. For android there's Syncthing-fork[^2] but for iOS idk.

Setup the folders you want to backup on each device, for android, the folders I recommend to backup are DCIM, documents, downloads. For the most part, everything you care about will be there. But I setup a few others like Android/media/WhatsApp/Media to save all photos shared on chats.

Then on this central device that's receiving everything from others, that's where you do the "real" backups. I my case, I'm doing backups to a external HDD, and also to a cloud provider with restic[^3].

I highly recommend restic, genuinely great software for backups. It is incremental (like BTRFS snapshots), has backends for a bunch of providers, including any S3 compatible storage and if combined with rclone, you have access to virtually any provider. It is encrypted, and because of how it was built, can you still search/navigate your remote snapshots without having to download the entire snapshot (borg[^4] also does this), the most important aspect of this is that you can restore individual folders/files. And this crucial because most providers for cloud storage will charge you more depending on how much bandwidth you have used. I have already needed to restore files and folders from my remote backups in multiple occasions and it works beautifully.

[^1]: https://github.com/syncthing/syncthing [^2]: https://github.com/Catfriend1/syncthing-android [^3]: https://github.com/restic/restic [^4]: https://github.com/borgbackup/borg


> I wonder whom will Apple be begging for more content for their Vision - perhaps Valve?

If you're talking gaming content for Vision, I think they would go with Sony. They have what seems to be a good partnership. There's official support for the dualsense on apple devices and apple brought AppleMusic to the playstation store. Steve Jobs himself was a fan of Sony[1]

[1]: https://www.kitguru.net/lifestyle/mobile/apple/anton-shilov/...


Sony competes with Vision, since they sell PS VR. I suspect that they wouldn't want to cannibalize sales of their own hardware/platform in order to forge a partnership with Apple.


Except that PS VR is VR, not AR.

My bet is that vision will launch with very few VR or even 3D apps. You probably won’t even be able to view 3D photos in the browser. It’ll be existing native 2D apps projected into a 3D cylinder.


If you're on Arch, you could install `shellcheck-bin` from the AUR.


can you elaborate on those key missing language features ? You have commented multiple times about that, but haven't seen you giving any concrete example. I'm Genuinely curious.


Where to begin? Operator overloading. Programmed move semantics. Generics argument concepts. Look at the whole list of features C++ got since C++11, and subtract out the few of those Rust had or got.


I've done a toy matrix library with operator overloading in Rust a while ago. Could you be confusing it with Java?

  #[derive(Debug, PartialEq, Eq)]
  pub struct ColumnVector<F, const DIM: usize>([F; DIM]);

  impl<F: Field, const DIM: usize> Add<Self> for ColumnVector<F, DIM> {
      type Output = ColumnVector<F, DIM>;
      fn add(self, rhs: Self) -> Self::Output {
          Self::new(self.0.zip(rhs.0).map(|(a,b)| a + b))
      }
  }
Usage:

  let v = ColumnVector::new([1.0,
                             3.0,
                             4.0]);
  let w = ColumnVector::new([1.0,
                             0.0,
                             4.0]);
  assert_eq!(v + w, ColumnVector::new([2.0,
                                       3.0,
                                       8.0]));


> Where to begin?

I propose you start with genuinely concerning problems. Operator overloading is a first-world problem and I've made a good career never depending on it (outside of my active C/C++ years at the start of it).

"Generics argument concepts" says exactly nothing, to me at least. Elaborate?

"Programmed move semantics" is, if I understand you correctly, a flavor / taste thing but I can agree it can be made better and more explicit -- say by not using the `=` operator for it. That I could stand behind. Still, it's only catching you off-guard while you're learning. 50/50 though. It's a concern but IMO not a major one.

And your final sentence betrays bias to C++. Well fine, use that, nobody is forcing you to work with Rust, right?

But if you're willing to bash Rust, please do so with concrete arguments. If you know something negative about it that I don't, I believe I and many others will benefit from informed objective criticism.

Do you have that? Already asked you in another comment and I'm still willing to listen to it.


> It reads as the integers zero and one are not equal, which is true

That's not what 0!=1 means in math, the ! means factorial, which is to multiply by decreasing positive integers. Here's the definition:

n! = n x (n -1) x (n - 2) x . . . x 2 x 1

So, for people starting to learn calculus/math, being told that 0!=1 makes no sense


And that's why we need spacing. 0 != 1 is very different from 0! = 1


Right I forgot my audience


Ah. ! for factorial was not an obvious parse. I suspect it has alternative meanings in mathematics as well.


Well in theory everything that works in vim will work in neovim (there's a few exceptions[^1]). So you really don't loose anything by installing neovim and using your same .vimrc for it.

You can start experimenting with Lua and the new plugins whenever you're able to.

[1]: https://github.com/neovim/neovim/issues/1716


Thanks for all the replies, didn't know it was meant to be a drop-in replacement, will give it a try :)


Interesting, I've never seen that panel.

Is it possible that they pushed that updated only to certain regions ?


You likely have more than 10 chats, in which case the panel does not appear. This is mentioned in the thread I linked above.


your argument that a text editor is not going to be popular because you need to install a dozen plugins to match what would be considered "modern" doesn't add up. I can see a thousand reasons why emacs is not popular but having to install plugins is not one of them. VSCode itself needs a bunch of plugins for certain languages, and even if you used it for the out the box languages (e.g. JavaScript) there's a couple of things missing that and IDE would have out the box (I agree that emacs would need much more plugins compared to VSCode).

Also, look at vim/neovim. They are still one of the most popular text editors (much more popular than emacs for example), look at the stackoverflow developer survey, in the last one neovim was ranked the most loved text editor and vim is ALWAYS ranked between on of the most used editors. You need a dozen plugins if you want anything close to a modern IDE, yet they are still very popular and used.


Agreed about plugins. The main nice thing about VSCode is that it installs and reasonably-configures needed plugins as needed (though Spacemacs does this, too).


uffff

who knows when that is coming and when are we going to be able to buy regular laptops from e.g. Lenovo, HP, Acer, etc with that.

By the time that happens, Apple may already be on their third, fourth? generation on M1. Which is going to much much much faster than M1.


>Which is going to much much much faster than M1.

Will it really?

It isn't a given. They might bring amazing progress, or not.

Ultimately, it doesn't matter all that much if it isn't available to third parties. It's not as if everybody else is sitting on their ass.

SiFive's not a fat company, their research budget is tiny, relative to the likes of Apple. And yet, they're coming up with competitive cores.

Things are so much easier when not restricted by a shitty ISA (x86). I have taken a look, and I really like RISC-V; I find it better than ARM.


> Before they start selling chips I would rather they open iMessage to other platforms to eliminate the bubble color discrimination.

Outside of the countries where iOS is on par with Android (I think US, Canada and UK are the only ones, maybe also Australia) in terms of popularity, I don't know or have seen a single person using iMessage, of course there's a lot people using iphone outside of the mentioned countries, but absolutely nobody uses iMessage.

The whole discrimination of the color bubble seems to only happen in those countries were iOS is the same or more popular than android and people is actually using iMessage.


It's worse than that in the US. While iOS is a bit over 50%, it's closing in on 90% for teens[0], where such discrimination is most likely to occur. These numbers also bode well for Apple's future market share as these teens grow into adults.

0: https://finance.yahoo.com/news/apple-i-phone-ownership-among...


It's getting similar in Europe for teens. I rarely see them on public transport with anything other than an iPhone.


Go to southern countries or eastern Europe, plenty of teens with Android.


In Russia, people stopped sending each other SMS before smartphones even became mainstream. At the time they were becoming mainstream, ICQ was the instant messaging service to use, and of course there was an unofficial ICQ client for just about anything that had a screen, a keyboard, and a network interface. Also VKontakte, but that was easily accessible via Opera Mini.

Right now 99.9% of those Russians who use the internet can be reached via either VKontakte or Telegram. WhatsApp is also popular, but thankfully not around me so I was able to delete my account and never look back.


> but absolutely nobody uses iMessage

Uhm, iMessage works transparently. I just use Messages app, if my recipient uses iPhone it get an iMessage, if they use something else, they get SMS.


Their point is that most people don’t use the Messages app to communicate with others. In the UK for example WhatsApp is massively dominant.


Ditto. I'm the leper who prefers to not use whatsapp and only get away with it since my partner takes up the slack, so to speak.. Last weekend she and i where bemused by the inability of our 100% APPLE hosts to: 1. Use airprint (worked from my linux phone!!!) 2. Share a file with linux or android (mp3 for a ringtone) 3. Install a ringtone. Breathtaking. I still have my classic. And si. I have more proprietary apple software on diskettes than most geeks I know. But apple tanked long ago. And hardware is cheap. And foss is fun.


I see people using iMessage in a country where iPhone has a whopping 7% market share. And yes,


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: