• 0 Posts
  • 3 Comments
Joined 8 months ago
cake
Cake day: February 6th, 2026

help-circle

  • I’ve also just started learning Android dev, avoiding Android Studio. So far I’ve followed this blog and have a Java “Hello World” app building out of a makefile (without even Gradle!), but using the Google SDK and build tools.

    I believe the build tools are FOSS, but I didn’t know that about the SDK; just searching now Replicant has some links to FOSS SDK-related things but that page hasn’t been updated in 2 years and nothing seems very easy. Would be interested to hear if you manage to get a FOSS version working.


  • Holy overengineering, Batman. IP addresses of all things are trivially parseable into fixed-length byte sequences. Just do that and use a search tree. Or, IDK; this is an extremely solved problem, there are probably even better solutions out there – but I promise you text regex is involved in none of the good ones.

    Even for actual string matching, any decent regex engine will compile and optimise an alternation a|b|c|... better than this text wrangling will. Unless you have actual benchmarks showing this gives you an advantage with the engine you’re using, you’re just introducing complexity for no gain.