Live data from Hacker News

Software I’m thankful for (2021)

crawshaw.io

391–400 of 530 posts

Re: Software I’m thankful for (2021)

#392

Earlier quoted context omitted.

If it happens to me, an active computer user for 25 years, think of how often this has happened to others. How much work has frustratingly been lost because Windows knows better about when to update. Worse is technologically speaking this shouldn't even happen. Windows should be able to take a running application, save its state, do its update, reboot, then restore the application, without loosing a single byte of ap…

The vast majority of computer users, Windows users and otherwise, have experienced some form or another of data loss. I'm just being fair to Windows (and you!). To go back to your example, you lost your work after Windows decided to silently update and reboot overnight. Now the million dollar question: Why didn't you save your work before you left? A blackout or a drive crash or any number of failure cases could have…

> A blackout or a drive crash or any number of failure cases could have happened instead and you would have still lost that unsaved data, too.

GP said he was using a laptop that was unplugged. A blackout wouldn't have made a difference. And in the case of a drive crash, saving (locally) wouldn't have helped.

I think automatic updates really deserve a fair share of the blame here.

Re: Software I’m thankful for (2021)

#393
post #325

Earlier quoted context omitted.

Curious to learn, what are the differentiators of ZFS? File system seems like an invisible layer to me personally which makes me ask this question.

Snapshots and device pools are my favorites. See https://en.wikipedia.org/wiki/ZFS#Features I use snapshots for personal backups, but on BTFS, and it's amazingly simple. 2 LOC: Rsync home to drive and make snapshot.

is BTFS production ready? as in, is it stable these days?

Re: Software I’m thankful for (2021)

#394

Earlier quoted context omitted.

Actually you can use fish-like autocomplete feature in zsh with this plugin [1]. It works well for years in my machine. [1] https://github.com/marlonrichert/zsh-autocomplete

I didn't know that, thanks! I wonder why i haven't seen this for BASH considering its probably the most common shell other than Command Prompt.

I don’t think people who use bash actually want to use it. even macos switched to zsh a few years ago.

Re: Software I’m thankful for (2021)

#395

Earlier quoted context omitted.

Software development is a much better experience on Linux compared to Windows (unless you stay within Visual Studio). If you do tasks that are well supported by your OS, your experience will be mostly good. Don't run servers on MacOS, don't develop on Windows and don't game on Linux. Or do it anyway and deal with the unpolished aspects of it.

I've done lots of dev on both linux and Windows. Neither is "better" IMHO. I started on Linux, but today my main work and personal systems are both Win10. I also have a persoanl Linux laptop I use sometimes (currently Pop_OS, because I felt like trying that). There's certain things easier on one or the other, usually caused by silly hardcoding of paths (or other OS-specific assumptions). I've run into this with pytho…

No post body was provided.

Re: Software I’m thankful for (2021)

#399

Stuff I'm thankful for, in no particular order. None of these are particularly unique to me, nor are they obscure and hipster, they're just stuff I have found myself really thankful for. powerlevel10k because it makes adding custom sections to my shell prompt really straightforward. https://github.com/romkatv/powerlevel10k terraform because I have a job wrangling it lol asdf because it manages versions of software fo…

Breaks past one month, unfortunately.

I think, you want to take the difference and divide by 86400 to get the number of days. Then take the difference modulo 86400 to get seconds in a day, and convert that to hours (minutes:seconds) via strftime string.

Proof of concept:

  1> (let ((tdiff (- (time) (read (command-get-string "git log -1 --format=%ct")))))
       (match (@days @secs) (trunc-rem tdiff 86400)
         `(@{days}d @(time-string-utc secs `%H`)h ago)`))
  "(627d 12h ago)"

Re: Software I’m thankful for (2021)

#400

Earlier quoted context omitted.

As a lifelong windows dev, what exactly makes linux worth moving to? I understand that coming from a linux world, doing what you like doing in linux isn't always possible on windows. But I've never really found a use for any of that console magic linux devs seem to love. Pipe this into that and through seven pieces of software that sound like glibgcd, add 8 arcane flags and in the end you have some kind of textfile t…

I agree with you on that Windows -> Linux doesn't have much appeal. I tried it 2-3 times and gave up because Linux was not user friendly enough. However, I will say that Windows -> Mac is pretty awesome. IMO, the main benefits were the commmand line experience. Installing Homebrew on Mac was so much nicer than pointing and clicking everywhere in Windows to do things. I see that Windows is getting better with their Te…

Chocolatey is a pretty good Windows package manager for both developing software and simply consuming full apps. The packages are written to handle all the manual GUI Windows-installer quirks for you (automating it) and makes it work just like Homebrew.
Post reply on HN