Yes our armed forces are still comprised in part of riflemen, that is not the main part on how wars are conducted now, still we have trained men with guns because we have the resources to put them in great numbers where we need them and this today is more to police and to reach those enemies that run and hide, than the historic and incredible BRAVE storming of a beach against enemy fire.
You know at one time wars where fought by men racing at each other with rocks and sticks, then with swords, lances, etc. while arrows flew in both directions, then black powder rifles and cannons came along so they would stand in formation and shoot at each other, technology influences in great strides the battlefield.
All that said "I saw the light" and changed my position of a need of an armed militia, still I do not see our military getting in bed with a tyrannic entity or an enemy invasion taking place but as the future is unwritten, better be ready than sorry.
Today it would take a lot more than the planets aligning for a need of an actual armed militia, ponder about this from a realistic place, our military are our brothers and sons, cavemen did not have nuclear submarines, there are a lot of levels and fronts in today's wars.
Now, there are rare cases of pure genius loose out there, out of 6 billion folks in the planet only "five-seven" knows how an enemy could put us today in this position and he is not talking, let's be grateful for this.