Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
u801e
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
89 ms
·
901.
▲
by
u801e
6y ago
> I mean, you can say it doesn't work all you like, but the reality is that it does Not really. This document describes the crashes involving cyclists in a bidirectional separated bike path[1] which for a couple of years was having
902.
▲
by
u801e
6y ago
> Are these multi lane roads? If you're referring to multiple lanes for same direction traffic, then some of them are. Others only had a single lane for same direction traffic divided by a center line. In both cases, traffic would
903.
▲
by
u801e
6y ago
>> But you can't expect every road to have a dedicated bike lane, right? > Of course you can. The road has to be wide enough to accommodate a bike lane. The absolute minimum width for a bike lane is 4 feet (not including the
904.
▲
by
u801e
6y ago
> easily solved by installing separated bike lanes. In environment where there frequent intersections, these actually lead to more problems for cyclists at those intersections due to risks of collisions from: 1. right-hooks where traffic
905.
▲
by
u801e
6y ago
> In an ideal world yes, more commonly - no. When I refer to riding in the center of the lane, I mean riding between the center and left tire track (or between the center and right tire track when traffic keeps to the left). Almost inva
906.
▲
by
u801e
6y ago
> Unfortunately, where I live bicycles keeping to the side of the lane is required by law. In the US, most vehicle law is based on the UVC (uniform vehicle code) template. While that does contain a clause that cyclists must keep as far
907.
▲
by
u801e
6y ago
> You need to be quite confident to do this as it can often result in car drivers honking, shouting or overtaking recklessly and nearly clipping you. Actually, the opposite is true. When you ride in the center of the lane, motorists wil
908.
▲
by
u801e
6y ago
The real problem is that cyclists typically ride near the edge of the lane or road rather than in the center of the lane. This puts the cyclist outside of the foveal field of view for the motorist, which means that they're less likely
909.
▲
by
u801e
6y ago
No problem :) One thing I forgot to mention about squash! commits was to use the --allow-empty flag when running git commit, so that we can make a commit without having to actually change any files. Then, when doing the interactive rebase
910.
▲
by
u801e
6y ago
On my team, we will open a PR with a logical set of commits. As reviews are posted, we will address those comments by using fixup! or squash! commits (using the title of the commit we want to amend). fixup commits are used for code change
911.
▲
by
u801e
6y ago
It's trivially easy to do if you run something like: git rebase --exec "test_command" where test_command is one or more commands that you run to test the code for that commit. I typically do this for unit tests and in
912.
▲
by
u801e
6y ago
> Commit messages are redundant by definition (everything said in the message is supposedly already there in the diff) Commit messages are far easier to parse and understand compared to a moderate size diff. By reading the commit messag
913.
▲
by
u801e
6y ago
> No one ever looks at the commit messages when trying to figure out what the code does as it convolves history and state of the repository Do people not use git blame to check what they're changing before they change it? That'
914.
▲
by
u801e
6y ago
> Never once did I have any indication that someone took their time to read descriptions or commit messages. Just because others don't use a tool for documenting code doesn't mean the tool shouldn't be used. I make sure t
915.
▲
by
u801e
6y ago
I've actually started middle clicking on links to open them in another tab to avoid problems like these.
916.
▲
by
u801e
6y ago
This is another good reference: http://who-t.blogspot.com/2009/12/on-commit-messages.html
917.
▲
by
u801e
6y ago
> And, at least with JIRA, if you name your branch such that it starts with the ticket id, it automatically picks up any pushed commits for that ticket. It's very useful. I've been working at my current place of employment long
918.
▲
by
u801e
6y ago
If you squash commits in a PR down to a single commit, then doesn't that result in a commit that makes a lot of changes that makes it harder to pinpoint a bug or revert without conficts? A lot of features take more than a single logica
919.
▲
by
u801e
6y ago
A commit message will always be associated with a line of code until that line changes. A code comment may or may not be updated when the code changes.
920.
▲
by
u801e
6y ago
> Yeah, but 99% of projects aren't anywhere close to long lived. Most products fail to launch. Most products that launch shutter within a few years. Having a code base survive long enough in close enough to its original state for a
921.
▲
by
u801e
6y ago
The term gay has changed in meaning over the last 50 years. The Flintstones opening sequence uses the phrase "we'll have a gay old time" which obviously doesn't fit the modern definition. Do people still commonly consi
922.
▲
by
u801e
6y ago
Are you using ' to denote feet? Most general travel lanes are 10 to 14 feet wide. The 2012 AASHTO Guide for the Development of Bicycle Facilities states that the minimum operating width for a cyclist is 4 feet with a preferred operat
923.
▲
by
u801e
6y ago
> What was awful was the lack of infrastructure On lower speed roads with frequent intersections, that infrastructure causes more problems than it's worth because it makes intersection navigation far more hazardous than just using t
924.
▲
by
u801e
6y ago
I cycle in 90 °F pretty frequently without issue. As long as you keep yourself hydrated and don't overexert yourself, you should be fine. On the other hand, you need to be careful not to burn yourself when getting into a car in that
925.
▲
by
u801e
6y ago
For distances of 10 miles or less, a bicycle would work as a vehicle.
926.
▲
by
u801e
6y ago
There are bots out there that scrape sensitive information from Github repositories. If you inadvertently push up a commit with a secret in it, then consider it compromised. Email is no different in that regard.
927.
▲
by
u801e
6y ago
There must have been a large increase in game size between 1990 and 1995. I remember games like Lemmings 2 the tribes and sim city 3000 requiring multiple floppy disks.
928.
▲
by
u801e
6y ago
Yes, like typing a message in Slack takes longer to render on screen (at least a half second delay in some cases) than typing the same message on a Commodore 64.
929.
▲
by
u801e
6y ago
> If there were a better way to learn guitar, everyone would jump on it. This type of assertion is made in a lot of contexts, but I don't believe it holds true. I believe that there are a subset of people who are willing to learn a
930.
▲
by
u801e
6y ago
> I think most of these advantages are overblown. One thing that wasn't mentioned as an advantage of a mailing list is the index a mail client provides for discussion. This allows one to easily see which messages have been read, wh
More ›