HNHacker News
TopNewBestAskShowJobs

char101

3 karma · joined July 4, 2013

submissionscomments
char101··on Monaspace
Doesn't appear in gVim on Windows, need to set the panose attribute first:

  from fontTools import ttLib
  from path import Path

  output_dir = Path('mono')
  for file in Path('.').files('*.otf'):
      print(file)
      font = ttLib.TTFont(file)
      font['post'].isFixedPitch = 1
      font['OS/2'].panose.bProportion = 9
      font.save(output_dir / file.name)
      font.close()
char101··on If you’re so smart, how come you’re not happy?
Because life is not a technical problem but a socio-economic problem where we have little control and everything is uncertain.
char101··on Loading Data into Pandas: Tips and Tricks You May or May Not Know
Another tip: use https://github.com/sfu-db/connector-x to load database query result to pandas without memory copy resulting in faster operation.
char101··on Poll: What is your favorite programming font?
M+mn

Sample: http://i.imgur.com/cJaXfe5.png

http://mplus-fonts.sourceforge.jp/