Profile cover photo
Profile photo
Josh Brown
1,796 followers -
Android developer / Lindy Hopper
Android developer / Lindy Hopper

1,796 followers
About
Posts

Post has attachment
I'm just gonna leave this here...
Add a comment...

Post has shared content
Well, this seems like a perfectly reasonable way to react to Charlottesville. /s
Edit: article from before recent events. Still prescient though.
Reuters reports that the trump administration is removing white supremacists from the list of domestic terrorists who are targeted.

The program, "Countering Violent Extremism," or CVE, would be changed to "Countering Islamic Extremism", and will no longer target groups such as white supremacists, who have carried out bombings and shootings in the United States.

President Lying Swindler supports nazis.

Add a comment...

Post has attachment
Playing Breath of the Wild be all like...
Photo
Add a comment...

Post has shared content
"I think we are attracted to confidence, but I think eventually that confidence has to be connected to actual performance."

Ouch!
Add a comment...

Post has attachment
Memorizing a number is so much easier when it's set to music. I'm just bummed they quit before the end
Add a comment...

Post has shared content
I can't tell if I'm laughing or crying anymore
Add a comment...

Post has shared content
Add a comment...

Post has shared content
But what's the point without that Sceshwan dipping sauce?
Add a comment...

#LazyPlus
I'm looking for a way to randomly but reproducibly (with a seed) shuffle rows in a SQLite DB. I was using "ORDER BY RANDOM()", but there's no way to get the same results if it needs to be requeried.

What I'm doing now:
-initialize a randomSeed field to 0
-when I need to use it, while(randomSeed == 0){ randomSeed = new Random().nextDouble();}
-"ORDER BY ((_id * " + randomSeed + ") % 1)"
-Squirrel randomSeed away for when it needs to be reused.

This seems to work well for my current data set, but I haven't rigorously checked for uniformity or scalability. Does anyone know anything better?
Add a comment...

Post has shared content
Interesting, so the UK's hat could join the US's hat
Add a comment...
Wait while more posts are being loaded