537 karma · joined January 11, 2013
Have you considered manually splitting the regular expression into multiple lines in the source document, using something like the `VERBOSE` mode from Python re module [1]?
[1]: https://docs.python.org/3/howto/regex.html#using-re-verbose
As such I am genuinely curious about what rewards you get from using an engineering calculator in your work. That's an honest question: I would really like to have an excuse to get my hands on a 48G again!
I use this in Clyde [1]: on Windows, when clyde needs to upgrade itself (which means uninstalling vN and installing vN+1) it renames itself from `clyde.exe` to `_clyde.exe`. I leave the old `_clyde.exe` around, but a nicer implementation could remove on the next start.
Not to mention no need to stand in an overcrowded metal box.
And of course, thanks for this wonderful tool!
I recently came up with this alias to make ripgrep do what I want: do not skip hidden files, except for the .git directory:
alias rg="rg --hidden --glob '!.git/'"
(Note: if you try entering this alias interactively, you may have to escape the '!'...)
Regarding the conflicts issue, this is where tools like Changie can help: instead of modifying one single file, every merge adds its own separated entry. They are then assembled together at release time with `changie batch $VERSION` to produce a single file for $VERSION, then merged into the global changelog/release notes file with `changie merge`.
I thought I would answer to some of the comments here.
> It's their place, their rules
Definitely true. And I am not going to try to go against those rules. But I believe I am allowed to voice my opinion about them.
> Use in-app purchases instead
This is definitely a valid option, but that requires diving into Google Pay, which from what I understand is not the easiest API to work with. It also means I have to maintain additional code for Google Play. More not-so-fun work to do for a side project.
> Make it a paid game
Another valid option, but given how everybody is used to free games on Android, I doubt it would get much success. It also does not help that Google Play disallows switching a published app from free to paid and vice-versa: it's a one-way decision.
I might end up going that way though, because it has the advantage of not having to write store-specific code. Pixel Wheels is not Android only: it also works on Linux, Windows and macOS, so not having to deal with store-specific requirements gives me more time to work on the game itself. The game would still be available for free on F-Droid and for pay-what-you-want on itch.io.
I also happen to run other open-source projects, and my goal with donations is to get people to support this open-source work, not just my work on this particular project. I don't expect to ever live from this: in my wildest dreams donations would let me spend a work-day per week or every two weeks to work on open-source projects.