mormegil

joined 2 years ago
[–] mormegil@programming.dev 5 points 3 days ago

If you are asking whether you can use Garmin Connect without Garmin, I don't think so. But you can use a different non-Garmin app with your watch, see https://gadgetbridge.org/ Obviously, it does not have the full functionality of Garmin, and even more obviously, you would lose the Garmin social functions without Garmin Connect (but there are open-source projects for that as well). (Also, with Garmin, maybe you will lose some of the functions anyway to the Garmin Connect+ subscription, right? :-) )

[–] mormegil@programming.dev 11 points 4 days ago (2 children)

While googling around to gather clues for reverse-engineering the protocol for a Garmin smart watch, I stumbled upon an e-mail on a listserv, discussing pieces of Garmin BT communication. Only after a while I noticed it had been written by Linus, who apparently worked on diving software.

[–] mormegil@programming.dev 5 points 2 weeks ago (2 children)

This might work when the test really describes&tests the business rule, not when the test simply contains a mirror of the implementation with everything replaced by mocks and just checks that the implementation is what it is, conditioning all people changing the code in the future to always have to change the test as well.

[–] mormegil@programming.dev 2 points 2 weeks ago

On the contrary! I found out that a rewrite from scratch leads to much better code and abstractions, as you understand the problem space better. (On the other hand, beware of http://catb.org/jargon/html/S/second-system-effect.html)

[–] mormegil@programming.dev 1 points 2 weeks ago

I wanted to publish a tiny utility I created to GitHub (you know, it might be useful to someone else...). Before that, I wanted to some cleanup, rebasing/squashing a bit, etc. In the middle of that:

$ git checkout featurebranch
The following untracked working tree files would be overwritten by checkout:
.gitignore
.idea/…
etc...

Oh, sure, no problem…

$ rm -rf * .*
$ git checkout featurebranch
fatal: not a git repository (or any of the parent directories): .git

D’oh! (Never mind, it probably wouldn't have been useful to anyone else, anyway.)

[–] mormegil@programming.dev 1 points 3 weeks ago

Its written vibe.

[–] mormegil@programming.dev 1 points 3 months ago

That's an aladeen idea!