68 karma · joined January 7, 2013
16, 32, 48, 64, 80, 96, 128, 160, 192, 256, 320, 384, …
It looks like, from 64 and up, each power-of-2 range is divided into two quarter ranges and one half range.
That being said, the example code in the book is sometimes terse at the expense of readability (and security). I would try to pick up a more modern, and defensive, coding style from the web.
I started using Mercurial because the basic interface and operations appeared more natural to me. Also, at least at the time, the Windows support was better in Mercurial.
After working with some repos using Git, I fell in love with the staging area, and the ability to selectively stage parts of files. I am sure Mercurial has something similar, but it was built into Git.
The only thing that bugs me is that the Windows port appears to be stuck at 1.9.5 (yes, I know it's open-source so I should go fix it instead of complaining).
I would have considered the micro plan if it weren't for the 5 repo limit -- I am (sadly) not rich enough to pay them just for being nice if I can get the number of private repos I need for free elsewhere.
1_zopflipng.png 8.466
2_zopflipng.png 18.739
3_zopflipng.png 8.012
4_zopflipng.png 91.879
5_zopflipng.png 1.117Otherwise, I imagine system memory protection would have found this much sooner.
Creating portable software and then distributing it with a Posix only build system seems wasteful.
I think it is more likely it looks the way it does because it was made by copy-pasting and editing the loop a few lines further down that copies a token:
while (categoryvalue[0] != '\0' && categoryvalue[0] != ':')
*cp++ = *categoryvalue++;
As for the shifting, I would assume glibc is free to expect whatever holds true on the platforms it currently supports. But fair enough warning about it in a analysis tool.I recently revisited some example code I wrote many years ago [1], and found some new issues, and there are most likely still some I haven't noticed.
That being said, when you use a title like this article's, it is a good idea to check your example code thoroughly.
If that one byte does not match, the entire match has no chance of being longer than the current best (in this simple case).
When people download an exe installer on Windows, they generally expect it to install something that works out of the box.
Please note that I am not saying it should be expected that there is a one-click (or double- as it were) solution for Windows at this point, I am just saying that people might ge t that impression from the download link on the front page, and the fact that it is an exe installer.
Perhaps if you put it in a zip -- I am sure the people who can find and follow the notes for installing the rest of what is required can handle zip.
That doesn't mean they are more inclined to buy Steam games of course, but it does seem to indicate they do not mind spending money on games.
On the wiki there was only one other theme available for the latest 6.3 release, so I tried an older Solarized theme, but TA crashes when I try to load it.
I feel having to press a keyboard shortcut to bring up the auto-complete menu is a step back in productivity compared to ST, but the built-in API help is a nice idea.