41 karma · joined Feb 27, 2014 (12y ago) · 8 submissions
comment 8mo ago · link · parent
The arrows probably tell you whether your first turn will be a left or a right immediately after leaving the interstate. Many exits have two lanes, one for left turns and one for right turns onto the connected surface street. You have to know which exit lane you want to be in.
On a road trip, gas stations and fast food to the "right" of your travel direction on the interstate are slightly preferable because you don't have to wait for any left-turn signals. The US allows you to turn right at a red traffic light as well, saving even more time.
comment 9mo ago · link · parent
~/agent-shims/mvn:
#!/bin/bash
echo "Usage of 'mvn' is forbidden. Use build.sh or run-tests.sh"
That way it is prevented from using the wrong tools, and can self-correct when it tries.comment 1y ago · link · parent
It feels so transparent that their concern isn't actually user safety here.
comment 1y ago · link · parent
if random.randint(1, 100) == 1:
db.increment(row)
Then, looking at the database, you can know that the actual count is approximately 100x the number of times the row was incremented.There's an even more aggressive version that I've seen called a 'Morris Counter' which uses just a few bits to build an order-of-magnitude estimate of the number of events: https://en.wikipedia.org/wiki/Approximate_counting_algorithm
comment 6y ago · link · parent
Didn't make much sense to me either but whatever pays the bills I guess.
comment 7y ago · link · parent
comment 12y ago · link · parent
RESTFUL services bring back the focus on URLs and HTTP methods. For a while there was a craze of embedding content in awful Flash and Java applets, but that died out because of convenience, better browsers, and SEO. I wonder if the future of the web is going to look a lot more like its history than we thought.