Not every programmer needs to know DNS. We tend to take it for granted. It’s there. It’s working. As we are moving to the cloud and Devops, it’s inevitable that we need to deal with network configuration. It’s important to understand some basics of DNS. This is the place to add a custom domain to […]
Warnings are not errors. Why do we bother to spend time fixing them? It feels so fast to get it compiled and run before looking into the warnings. It’s because warnings may reveal that the code is not what you mean. It should be your habit to fix build warnings. Errors or Warnings Build errors […]
Move web service to docker container.
The configuration file is only applied either to application level or machine level. We can use AppDomain.AssemblyResolve to redirect bind at the assembly level.
Use ‘az bot update’ to update an Azure bot in command line.
A public const or enum is part of an interface. Changing their values can break others who use the const or enum.
Some lessons about investments: passively managed fund, diversification and re-balance, etc.
Some tips to make your website accessible
The technology has prevailed our daily life. We enjoy the convenience by the technology. But a large portion of population with varied forms of disabilities may not feel the same way because the applications are not accessible. Accessibility matters because it helps more people to use the application and bring convenience to all of us.
We can create a component that’s shared by a few other components. In Ionic 3, we have to declare the component in @NgModule. Ionic 3 also supports lazy loading and each page is itself a module. We cannot declare a component in two modules. I’ll show you how to wrap the component in its own module and share that in different modules.