Better HN
topnewbestaskshowjobs
Log inSign up

hmsync

78 karma · joined Mar 26, 2016 (10y ago) · 14 submissions

Submissions

comment 5y ago · link · parent

3D VR: http://www.cmse.gov.cn/vr/vr/index.html?scene_id=55299440

2.

China launches core module of new space station to orbit(space.com ↗)

1 points · by hmsync · 5y ago · 1 comment

comment 5y ago · link · parent

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 |

comment 7y ago · link · parent

It's font ligatures, it can be enabled by setting CSS `font-variant-ligatures` property with some fonts, such as "Fira Code" font.

5.

Show HN: Cascadia Code, a Font for Windows Terminal and VSCode(github.com ↗)

164 points · by hmsync · 7y ago · 94 comments

6.

Huawei Open Source Platform and the HarmonyOS OpenArkCompiler Project(code.opensource.huaweicloud.com ↗)

12 points · by hmsync · 7y ago · 2 comments

7.

How I Made My Own Android Phone(youtube.com ↗)

2 points · by hmsync · 7y ago · 1 comment

comment 7y ago · link · parent

Only TCP port 80 and 443 requires ICP.

comment 7y ago · link · parent

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.

comment 7y ago · link · parent

It is also very interesting to have such a service provided by a Chinese developer (the author)

comment 7y ago · link · parent

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.

comment 8y ago · link · parent

Spring Framework

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

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

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.