![]() ![]() Especially when math is involved (for example, the core match method of a distributed recommendation engine). ![]() Weve created a set of VS Code themes that closely resemble the. When the performance of the obvious solution is terrible and the efficient solution is complex. Colors are associated with semantic tokens as well as TextMate scopes. I assume that someone is in a massive hurry when they are reading code and massive wtfs should be explained without further investigation.Ä¢. The reason you do this in the code rather than just in the commit message is that it protects the message from getting watered down as people change the code. Can't force users to upgrade iPad apps, especially on older ones who are fearful of the app breaking or getting worse, so you end up with these massive comments fully explaining the problem, the hack that solves it, the conditions that need to be met in order for the hack to be solved (for example, "check google analytics to see if the number of people using version X of the iPad app or lower is less than 1%, if it is, replace the bellow hack with the following solution"), and possibly other hacks investigated and the reasons that they were declined. ![]() Someone fucked up big and shipped an iPad app or something that relies on an error in the API or something. If you want to strip colors only, replace a-zA-Z with 'm'. Note that this strips all ANSI escape codes/sequences. When I feel like someone might need a comment I rewrite the code until I feel like they don't need a comment.Ä¡. Save as strip-escape-codes.sh, make executable and then run .![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |