Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
u801e
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
571.
▲
by
u801e
6y ago
> Nothing in nature has such an extreme contrast. What about black text on white pages in an actual hardback book? But since you referred to nature, what about zebras?
572.
▲
by
u801e
6y ago
How does the bicyclist get hurt when the driver changes lanes to pass? Bicyclists actually get more lateral clearance when that happens compared to when they're keeping further right and the motorist tries to squeeze their vehicle bet
573.
▲
by
u801e
6y ago
Cyclists encounter problems at intersections because they're in the wrong position. They should be in the lane that serves their destination so that same direction traffic didn't have to cross their path when making a turn. For ex
574.
▲
by
u801e
6y ago
> Another way to help retrain motorists' expectations is to do better to keep up with traffic. Whether a cyclist can maintain 20 mph or just 10 mph isn't going to make a difference to the motorists. But taking the lane by defa
575.
▲
by
u801e
6y ago
> Roads have such limited throughput that a new bike lane might inconvenience only a few hundred people in cars, while opening up the city to thousands of people on bikes. You can maintain throughput and accommodate even more people on
576.
▲
by
u801e
6y ago
I have one coworker like that. It turns out that we're not able to schedule it until near the end of the day and it's just a simple question that could have been typed by them and answered by me far sooner had they typed the quest
577.
▲
by
u801e
6y ago
I actually have the opposite issue. That is, I find it easier to write my question down and communicate via text. Sometimes, connection issues, background noise (over video or in person) make it difficult to understand what others are sayin
578.
▲
by
u801e
6y ago
While that is true, I did try searching the main git man page for GIT_DIR and found it said the following: > GIT_DIR > If the GIT_DIR environment variable is set then it specifies a path to use instead of the default .git for the bas
579.
▲
by
u801e
6y ago
> 86F/30C is nearly miserable > 32F/0C is shorts weather if you'll be moving around at all That really depends on the wind, humidity and the amount of sunlight. I don't live that far north or south, but I certainl
580.
▲
by
u801e
6y ago
> Many of us just prefer the customary units for many everyday uses for various reasons. The switch wasn't effective because there wasn't a concerted effort to to make people switch by the government. They could have easily ma
581.
▲
by
u801e
6y ago
The way I do it is count by nines from 32 to get to the temperature I want and then multiply by 5. For example, if I want to know what the corresponding temperature for 70 °F in Celsius, I would do the following: 0 -> 32 5 -> 4
582.
▲
by
u801e
6y ago
> Doing most of the work on the client instead of the server can often make scaling much easier. I've also found that it results in a non responsive webpage. For instance, text taking multiple seconds to render in an input box (Sla
583.
▲
by
u801e
6y ago
One quality an expert has is the willingness to admit that they were wrong in the past, but that their assessment was based on information they had available at the time.
584.
▲
by
u801e
6y ago
I haven't used neovim, but it certainly is possible to use vim with its terminal feature as a terminal multiplexer. The way I do it is to use a single instance of vim to handle the multiplexing and just run whatever I need in differen
585.
▲
by
u801e
6y ago
> Or in your working copy has my authorship info been lost? Well, none of the text that you originally wrote in the comment you're referencing wasn't preserved on the working copy. And, unless it's quoted, and one could se
586.
▲
by
u801e
6y ago
> IMHO the biggest issue that blocked Perl's broader adoption was the really obfuscated handling of nested data structures including objects. Anything beyond array of arrays or hash of hashes was a pain. How was it a pain specifical
587.
▲
by
u801e
6y ago
I don't think we're talking past each other because you weren't involved in this subthread until your comment about using git branch -d.
588.
▲
by
u801e
6y ago
Assuming you were the one who amended the commit before pushing it up to the remote, there's no reason that you would not be able to delete the branch because your local working copy has already updated contents of .git/refs/
589.
▲
by
u801e
6y ago
Personally, I've always preferred moderation controlled by the client (i.e., a killfile in a NNTP client) rather than relying on moderators. That way, I can decide what I see. Theoretically, bad actors would end up in everyone else&#x
590.
▲
by
u801e
6y ago
Does the --first-parent flag handle the case where the the line was change as part of a conflict resolution in the merge commit itself?
591.
▲
by
u801e
6y ago
I'm talking about a single commit PR in Github or Gitlab. If it's based on the latest version of the base branch, then amending it to include the PR number would allow Github to generate a link to the PR page associated with that
592.
▲
by
u801e
6y ago
Even if you filter out the merge commits, then you're hiding some of the changes made when you look at the history of the branch. The other problem is that if you run git blame on a file and the line is referenced by one of those mer
593.
▲
by
u801e
6y ago
My experience with Github Enterprise is that I'll make a comment and someone will commit a change, but the reference to the change is far removed from where my comment text is (especially if there are many comments made between my comm
594.
▲
by
u801e
6y ago
In the instance where a file was missed and added in a later commit, then running git blame would show the sha1 referencing a commit that has a title that says something like "Added missing file". That's not going to tell me
595.
▲
by
u801e
6y ago
The only thing changing in the original commit is to include a reference to the PR number in the commit message. There would be no change to the tree referenced by the commit.
596.
▲
by
u801e
6y ago
If you imagine a VCS where merges didn't exist, then what would you do when the code is updated after you started on a change you were making? You probably would get a copy of the most up to date version of the code and try to apply y
597.
▲
by
u801e
6y ago
The merge button merges the feature branch into the base branch. The merge commit provides information regarding what commits are in the branch (commits from the first to second parent). Merging the base branch into the feature branch intro
598.
▲
by
u801e
6y ago
The original commit could be amended to include that information.
599.
▲
by
u801e
6y ago
And those commits rarely provide useful information because they're of the variety where people fix syntax errors, add missing files, remove changes they didn't mean to commit, etc.
600.
▲
by
u801e
6y ago
How does Gerrit handle a group of commits in a branch? That it, if a feature takes several commits to implement and some of them depend on changes made in earlier commits in the branch, how do you ensure that the earlier commit is approved
More ›