HNHacker News
TopNewBestAskShowJobs

hmsync

78 karma · joined March 26, 2016

submissionscomments
hmsync··on China launches core module of new space station to orbit
3D VR: http://www.cmse.gov.cn/vr/vr/index.html?scene_id=55299440
hmsync··on ARM MacBook vs. Intel MacBook
Just run the author's benchmark program on my i5-9600k:

    |          | i5-9600k     | i7-7700HQ | Apple M1  |  
    |strtod    | 217.97 MB/s  | 80 MB/s   | 115 MB/s  |  
    |abseil    | 613.48 MB/s  | 460 MB/s  | 580 MB/s  |  
    |fastfloat | 1400.15 MB/s | 1000 MB/s | 1800 MB/s |
hmsync··on Show HN: Cascadia Code, a Font for Windows Terminal and VSCode
It's font ligatures, it can be enabled by setting CSS `font-variant-ligatures` property with some fonts, such as "Fira Code" font.
hmsync··on GFWaaS – Make Your Website Work in China
Only TCP port 80 and 443 requires ICP.
hmsync··on GFWaaS – Make Your Website Work in China
My experience is that if there is a VPS located in the U.S., which only has a static page/file, and there is no CDN, whether it is access from Japan, Hong Kong, Singapore, or from mainland China, the speed is similar. Access from mainland China will not be significantly slower. I did this test over and over again.

The reason your site 'slows down' may be that your site is blocked, or the embedded Javascript (such as Google Analytics, Adsense, DISQUS) or CSS/Web Font (such as Google fonts) has listed on GFW's blacklist. I feel sorry that my last reply may be not made it clear, I mean that the point of this project is not all the truth (why your site is slow), or even a little misleading. Since running website for several years, I must be honest point out that if the mainland China market make sense to you and you want to keep your website always smooth, the only way is to place the server in mainland China or Japan, all other testing, optimization is a waste of time and money.

hmsync··on GFWaaS – Make Your Website Work in China
It is also very interesting to have such a service provided by a Chinese developer (the author)
hmsync··on GFWaaS – Make Your Website Work in China
Yes, this project is misleading, in fact, in mainland China to visit foreign websites is not slow, there are only two cases, blocked or not blocked, the former simply can not open, the latter fast enough. There are many surfers in mainland China who buy VPN servers located in such as the US and then have quick access to the blocked websites, indicating that the lines are fast enough. If your site is embedded with a JavaScript code come from the blocked website (a limited number, such as Facebook, Google), it will also cause your page can not to load, just remove the js code and nothing else is wrong. It is not recommended to be misled by this site.
hmsync··on Ask HN: What open source project, in your opinion, has the highest code quality?
Spring Framework

1. Elegant structure 2. Strict code style 3. Project size is not too large 4. Have detailed documentation

hmsync··on Visual Studio Code 1.5
In fact Netbeans is very good at JavaScript and web page edit, it has the most intelligent autocomplete and refactoring I ever seen, it is also free and open source.
hmsync··on You probably don't need a JavaScript framework
In some special environment, such as Electron (Atom shell), that can ignore the cross-browser problem, writing application using native Web API and DOM API and ES6 is elegant and effective.