Better HN
topnewbestaskshowjobs
Log inSign up

Hexcles

133 karma · joined Dec 24, 2013 (12y ago) · 32 submissions

Live in the shell.

https://github.com/Hexcles https://blog.robotshell.org

my public key: https://keybase.io/hexcles; my proof: https://keybase.io/hexcles/sigs/WIvZGFwCsM9by6ZBu_AoP4tgEA8Pn6pQbRxouscg7uo

Submissions

comment 3mo ago · link · parent

Now that OpenAI basically abondoned Atlas, which had a truly novel architecture, let's see if this more obvious technical route (not saying this to diminish the achievement!) would gain traction.

comment 3mo ago · link · parent

It's nice to see wpt.fyi was used to help with the verification of this new browser! Also BiDi can't come fast enough.

comment 5mo ago · link · parent

89% chance the thing you want is among the 10 items returned by the system

comment 1y ago · link · parent

Sounds like you need to use IO optimized storage billing mode.

5.

A Shared Test Suite Fixed the Web's Biggest Problems(thenewstack.io ↗)

3 points · by Hexcles · 1y ago · discuss

comment 1y ago · link · parent

No test added/changed in this commit? Is there any test for this area?

comment 1y ago · link · parent

Could you give some examples of "bad" pre-clearance offices?

comment 2y ago · link · parent

Which part of this is a fact? That there are many Asians in California? And that they make up a disproportionately big part of Tesla drivers?

comment 3y ago · link · parent

We use https://github.com/1debit/alternat in our EKS cluster to save the AWS tax (surcharge for NAT on top of the egress fee)

comment 3y ago · link · parent

Discovered this when :PluginUpdate failed in my vim. It's still in Google index so must have happened very recently. Can't find any post discussing/announcing what happened.

P.S. Hopefully the username is not available for someone malicious to squat...

11.

VundleVim Disappeared from GitHub(github.com ↗)

3 points · by Hexcles · 3y ago · 3 comments

comment 4y ago · link · parent

You're over generalizing. Not all enthusiasts value the same point. For some including myself, it's not about acceleration or speed. Automatic (DCT and the new ZF8) has long surpassed manual transmission in almost all aspects of performance. It's similar to how some people like manual espresso machines, film cameras, etc. It's a hobby and you enjoy the process. See how the newest Koenigsegg goes great length to make this weird automatic manual.

comment 5y ago · link · parent

As someone living in Canada, the name stood out to me as insensitive. https://www.uaf.edu/anlc/resources/inuit_or_eskimo.php

comment 5y ago · link · parent

I think that's Jerry Yang.

comment 6y ago · link · parent

Isn't that worse, a big brother in the middle watching everything and even doing TLS termination? Unless it's running on a Tor-like distributed system?

comment 9y ago · link · parent

Well, I'm not saying your entire post is nonsense, but rather your choice of examples and citations. And here again, the example that you used to refuse believe Mao contributed to the famine or cultural revolution has nothing to do with this discussion. And in your original post, those random success "secrets" you cited really don't help your argument.

comment 9y ago · link · parent

Wow! I knew the Ke Jie vs AlphaGo would come one day, and probably the human team vs AlphaGo, but didn't expect the "Pair Go" (human + AlphaGo vs another human + AlphaGo). Interesting to see.

comment 9y ago · link · parent

Animal welfare aside, I find people in North America really in favour of chicken breast, much more than other parts, say chicken thigh. Yet I myself think chicken thigh tastes much better, especially with the skin (yet again it is usually skinless in supermarkets here, unfortunately). Is it because of nutrition (percentage of fat/protein etc.)? On top of that, chicken feet are considered unacceptable by many...

comment 9y ago · link · parent

As a fellow Chinese who's been living in the West for a few years, I feel obligated to speak out against this:

Although I hold strong dissent against Chinese government in many aspects (in particular censorship, e.g. GFW), although I agree the traditional norm of Chinese culture and society does not commend rebellions, your argument is a slippery slope at its best. Essentially, you are exaggerating from both ends: a. going from political suppression and a humble (or even submissive, if you wish) culture to suppression on technical innovation; b. reading too much from the so-called SV culture and success stories, so much so to draw a strong equivalence between innovation and (social) disruption.

For (a), as many peer comments have already stated, there are many counterexamples. Japan has a much more submissive culture and Russia has similarly, if not more, suppressive political atmosphere. Innovations still happen in both places. And I also suggest you to read more history to see how many innovations were achieved in unwelcoming environment. Yes, these are obstacles and might affect the scale and success of innovations, but obstacles exist everywhere (if there were no opposition, rebellions even wouldn't be called "rebellions" in SV), and small (in the sense of domain, e.g. purely technical) innovations are still innovations, which leads to the second point--

For (b), "disruption" is really a buzz word loved by VC, and there is a trend of extending such buzz word to contexts we would not use this word originally, for example an invention in a particular domain is now a "disruption" in that domain, which makes a ripple sound like a tide. Fundamental, social disruptions can be significantly harder in China, but that does not prevent other innovations, or if you prefer, "disruptions", from happening.

In a nutshell, you are stretching these two ends to force them to meet: the negative effect of political/cultural suppression --> impossible to innovate <-- the "disruptions" of innovations

And finally, pardon my language, your examples and references are utter nonsense. I know where you are trying to go from them, but they do not prove your point by any means.

20.

Gitment – A comment system based on GitHub Issues(github.com ↗)

2 points · by Hexcles · 9y ago · discuss

comment 9y ago · link · parent

Unfortunately this is not the fact. While some ISPs are experimenting with IPv6, the vast majority are not on that train. Indeed, IPv4 address space has practically run out in China already, but many ISPs are taking the nasty NAT-like approaches, Carrier-grade NAT [1] for example. And it is particularly common in mobile. So far, IPv6 is only (relatively) well accepted among universities (CERNET [2]).

[1] https://en.wikipedia.org/wiki/Carrier-grade_NAT [2] https://en.wikipedia.org/wiki/CERNET

comment 9y ago · link · parent

TIL. Never expected bash would do an expansion on PS1 by default. Thanks a bunch.

bash-powerline is affected. I've sent out a PR: https://github.com/riobard/bash-powerline/pull/12/

My own fork (with some additional features) is already patched: https://github.com/Hexcles/bash-powerline

comment 9y ago · link · parent

> competing on platform, not price

I believe it'd be more appropriate for Linode to say that, which has long had good reputation in terms of the variety of regions, the quality of network, etc., and which used to be on the more expensive end. DO, on the other hand, actually debuted with the low prices, if anyone remembers.

comment 11y ago · link · parent

My largest concern about using Python as the first teaching language for serious programmers (or you can say those who intend to pursue a CS degree) is that it's too "magical". The dynamic type system, the flexible Pythonic tricks, "hidden" (at least not explicit and obvious) details about the memory model, etc.

As a programmer, I like many of these characteristics. However, when I was helping the lower-year students with programming, I found many starting with Python faced tremendous difficulties in understanding pointers, references, and types later on. Some of them even resisted learning these concepts and further resisted using C/C++/Java, claiming that it's world of Node.js/Python/Ruby.

I'm not sure if it's just that I'm getting old (not really...).

comment 11y ago · link · parent

In China, Pascal is a very popular language for high school beginners of Olympiad in Informatics (see http://www.ioinformatics.org/ for the international competition). And it's probably the most used language in the provincial level competition, National Olympiad in Informatics in Province. Yet those who reach the national level will likely switch to C++ for many reasons (STL, performance, etc.).

I myself started programming in this way. And even now I'm glad that Pascal was my first language. It's an excellent educational language, which was its original purpose. It doesn't have "absurd" syntax; keywords are long but straightforward; and its type system is static and strong, which I believe is something that a serious programmer has to master.

By the way, although probably not as powerful as Delphi (especially in terms of widgets), Lazarus will give you a taste of the Rapid Application Development, which Delphi was famous for.

comment 11y ago · link · parent

FYI, the referer (or referrer, whatever) method might not work well.

The hijacked code does reside on only a few Baidu domains, but it is used (included by <script> tag) by TONS OF Chinese websites. The code is running in these numerous pages which use Baidu products, not just in Baidu pages. Thus, the referer actually varies a lot.

It is really a cleverer solution to notice the subtle difference of the trailing slash.

27.

Revoking Trust in One CNNIC Intermediate Certificate(blog.mozilla.org ↗)

4 points · by Hexcles · 11y ago · 1 comment

comment 11y ago · link · parent

Yes they do. Support free reissue and CRL: https://www.wosign.com/english/DV_KuaiSSL.htm

And there is a revoke & reissue button in the control panel, though I haven't tried myself.

comment 11y ago · link · parent

Facebook did go down before, but not like this time. I tried to ping many IPs of Facebook, all even failed to reach. Can be a sign of DDoS.

Anyway, if that is true, people have to take it really seriously this time.

comment 11y ago · link · parent

lol. Might simply because people see white whales too often and that's not a surprise.
12