Posts by Sheng Jiang

Sphinx project always rebuild after installing the ablog extension

After checking the source code of the PyData theme, it is apparent that the theme’s __init__.py force the setting to be on. If not on, then it sets the config and forces a full rebuild.

Read more ...


Merge wordpress.com site with GitHub Pages

As I am a tech person familiar with HTML/CSS/Javascript, the WordPress.Com free plan’s limitations has been an obstacle to my creatively (e.g. add sortable tables). I have a Github Pages web site running for a few years now and I think now is the time to migrate to github pages.

Read more ...


Misleading Error Message from ablog.post

Today I am getting some strange error when I am trying to convert my blogs to the ablog extension of Sphinx. The error log has the following lines

Read more ...


Misleading Error Message WARNING: All children of a ‘grid-row’ should be ‘grid-item’ [design.grid]

Today I am hit by a message “WARNING: All children of a ‘grid-row’ should be ‘grid-item’ [design.grid] “ from the sphinx-design extension when building a Sphinx documentation. The error line points to a grid that works perfect fine in another file.

Read more ...


Misleading Error Message WARNING: All children of a ‘grid-row’ should be ‘grid-item’ [design.grid]

Today I am hit by a message “WARNING: All children of a ‘grid-row’ should be ‘grid-item’” from the sphinx-design extension when building a Sphinx documentation. The error line points to a grid whose only members are grid items.

Read more ...


Troubleshooting SGEN : error : An attempt was made to load an assembly with an incorrect format

I have a POCO entity project that must generate XML Serializers due to a memory leak bug. Xml serializer generated dynamic assemblies are not ever collected.

Read more ...


Extend a webbrowser control using ICustomQueryInterface

This article is written with the help of ChatGPT. I want to see how far ChatGPT can go solve this and if any correction needs to be made. ChatGPT went pretty far but still made some mistakes.

Read more ...


Bypassing Factory Reset Protection Microsoft Lumia 640

The problem:

Read more ...


New web server hijacker HttpResetModule.dll

Today a friend’s server was hacked. The web site displays normally if visited directly. The content is highjacked when visit from a Baidu Search result, similar to what user 41nbow experienced at https://www.freebuf.com/articles/web/222060.html.

Read more ...


Converting generic OopFactory.X12 structures to typed counterparts

OopFactory.X12 can parse EDI messages into segments and loops. However despite typed segments and loops exist, the parser does not generate them in the object model. The unit test only use them when generating EDI messages.

Read more ...


微软拼音卡顿的问题

微软拼音最近每次激活的时候都要卡上个几分钟。而且不是一个程序只卡一次,中英文切换之后还会继续卡。

Read more ...


Getting around “Strong name signature not valid for assembly” for a ClickOnce application

When building a ClickOnce application, I need to redistribute a third party dll. But it failed the strong name validation under sn-vf thus ClickOnce launcher failed with the same error.

Read more ...


Howto: Ignoring web browser certificate errors in a webbrowser host

Many applications host webbrowser controls to display web pages inside. Before production the web page is often in an internal server that do not have a valid certificate. This article let you skip the certificate error and continue testing your application

Read more ...


How to restart Windows Explorer programmatically using Restart manager

You can download source code of this post at jiangsheng/Samples

Read more ...


Windows Update KB2538242 or KB2538243 offered repeatedly

Recently (this post was originally published in 2011) there is an outburst of posts related to the KB2538242 update being offered repeatedly on MSDN’s Visual C++ forums, TechNet’s various Windows security forums and the Windows Update forum on Microsoft Answers forums. Questions about KB2538243 appear as well, but to a less degree.

Read more ...


Breaking change in ADO update KB983246 (included in Windows 7 Service Pack 1)

Update2: Microsoft fixed the issue in Windows 8 in a way that old programs would work without change. Those who recompiled with the KB983246 version either need to roll out KB983246 to customer computers or switch back to the old type libraries. New programs are encouraged to use the KB983246 version of type library when they no longer need to support computers without KB983246.

Read more ...


AutoComplete with DataSource

Download Sample code: jiangsheng/Samples

Read more ...


Handle NewWindow3 and ShowModalDialog in CHtmlView

CHTMLView does not support NewWindow3 as of MFC 9.0. It is relatively easy to add this support, given the event sink code in atlmfcsrcviewhtml.cpp

Read more ...


Self-Efficacy

Introduction

Read more ...


First Children and Education (version 2)

Introduction

Read more ...


Public Education Notes

Public Edu philosophy and funding

Read more ...


First Children and Education

The first children of families were used to success their families, as a result, they usually have been educated more carefully, and then they are more educated than their younger sisters or brothers. But things are changing. Succession is not exclusive, and children have equal right to be educated. Have they equally opportunities to get higher degrees now? No, younger children are more successful to get higher education; not only because the parents are more experienced after the first children, but also because younger children can benefit from their older brother or sister.

Read more ...


Scholarship Application

Financial Aid Office,

Read more ...


Expectation differences between male and female in Chinese culture (Revised)

There are many sexism cultures; and Chinese culture is not an exception. Although legends told that humans are created by a female god, Chinese women are not only considered less important in their family, but also deactivated in the education, business and political areas until modern decades.

Read more ...


How to fail in a class

It is not good topic to talk with, but do some investigations on it will help you aware of its risk and you can device to do something to prevent you from failing.

Read more ...


Expectation differences between male and female in Chinese culture

There are many differences between male and female in Chinese culture.

Read more ...


Sentence Combining

Exercise 5. Sentence Combining

Read more ...


Self Introduction

This is JIANG, Sheng writing. You can call me Jason also. I am a Chinese, normal height and weight. I am staying in Austin, Texas now.

Read more ...


A Successful Moment

I am so proud that I was awarded Microsoft MVP (Most Valuable Professional) last year. I was so excited I was sleepless for days. I got an invitation of Global MVP Summit, where I recognized several MVPs and experts in Microsoft and have myself recognized by them. It was the highest horner I had ever been awarded.

Read more ...