• 0 Posts
  • 10 Comments
Joined 10 months ago
cake
Cake day: September 7th, 2023

help-circle




  • First thing is to not mount it at all. Any writes to the overwritten partition will corrupt your data.

    Second thing: install system rescue cd to a live usb and boot it. Look into testdisk and photorec. It’s been a while since I’ve had to use these tools, but I believe testdisk can restore the partition and photorec can find files in a file system that has been deleted. I would try running photorec first to save the recovered files to an external hard disk, and then testdisk to try restoring them. But disclaimer: it’s been a while since I’ve had to do this, so my memory is foggy here.

    Good luck!


  • both view themselves as the one rightful Chinese government

    This is a bit of an outdated view in my opinion. If you’re a KMT voter (ie. 60+), then sure, this is a common view. Younger generations (DPP voters) however don’t really view themselves as Chinese. I think this view will die out eventually.

    Of course, for the most part, this is all off the official record because of the implications. Chinese nationalists will argue that this is wrong because it’s still written in the Taiwanese constitution or whatever, but the truth is that regular people in Taiwan couldn’t give less of a shit about China. De facto, most Taiwanese consider themselves their own country with no legitimate claims to China.


  • I’m not sure I would agree with that. ISO-8601 is ambiguous, and very difficult to parse. For example, here are a couple valid ISO-8601 strings. Could you let me know what they mean?

    P1DT1H
    R10/2021-208/P1Y
    T22.3+0800
    22,3
    2021-W30-2
    2021-W30-2T22+08
    P1Y
    20
    

    Taken from here. My favorite is the last one (20). If someone just wrote 20 and told you to parse it using ISO-8601, what would you get? Hour? It could even be century (ie. 2023%100)!!

    So I would argue that ISO-8601 is just a wee bit too flexible. Personally, I like RFC 3339 just a bit more…

    Edit: that said, I would definitely agree that something along the lines of 2021-07-27T14:20:32Z is better than any regularly accepted alternative, and I pretty much format my dates that way all the time.



  • Not the person you responded to, but sure. Breaking muscle memory is extremely grating.

    Also, it’s pretty easy to type long commands with little typing. If you use ctrl+r to search backward in your history, you can easily recall long commands - and also, you can use ctrl+x,ctrl+e to edit the current command line in $EDITOR so you can edit long commands. These two tricks make it very easy to type long commands quickly with very little typing.


  • A few years ago we were able to upgrade everything (OS and Apps) using a single command. I remember this was something we boasted about when talking to Windows and Mac fans. It was such an amazing feature. Something that users of proprietary systems hadn’t even heard about. We had this on desktops before things like Apple’s App Store and Play Store were a thing.

    If this actually were Linux’s killer feature, then Linux would have had a much higher market share by now.

    Make no mistake, this is my favourite feature of Linux as well, and I have never used a snap/flatpack/appimage in my entire life. But it doesn’t have the kind of broader public appeal that you seem to be suggesting.