kpremote's comments

kpremote | 6 years ago | on: U.S. DoD bought phony military gear made in China

Sorry, I see you replied before I edited that out. Apologize. They may not want to reveal details, but even not to the various Congressional committees for more funding (among many reasons) to fight back the enermy? The U.S. Congress could publicly condemn these kind of bad doings by China without publishing details. Plus, in the U.S. information has lots of ways to leak out, from Snowden to some pesky jounalists.

kpremote | 6 years ago | on: U.S. DoD bought phony military gear made in China

For the past 30 years (a very long period of time), the U.S. has bought mountains upon moutains of crap from China, in both military and civilian sectors. But there is not even a single high-profile hardware backdoor incident publicised, except maybe the Bloomberg big hack fiasco. This tells you something.

kpremote | 6 years ago | on: Switch from Chrome to Firefox

Regarding shortcuts, this is where using Vim emulator extensions help a lot. I just install such an extension on any new browser, then the shorcuts are more or less the same (vim keybingdings).

kpremote | 6 years ago | on: Switch from Chrome to Firefox

In case Firefox developers read this,

Can you please make the popped up bookmark dialog box much much bigger? Please!

When clicking the star icon at the end of the address bar, the bookmark dialog box pops up. But it is too small! It only shows very few folders and choices. In order to locate a desired bookmark folder, people have to click and scroll many times. The whole dialog box is $^%&*& too small! Please make it bigger to show much more folders! Like three times bigger! Chrome has the same problem. Firefox can do better!

Also, please make the last used bookmark folder as the default folder at the next time when the bookmark dislog box opens, because people often bookmark many related/similar pages consecutively in one short period of time. Thank you. I love Firefox.

kpremote | 6 years ago | on: Huawei reviewing FedEx relationship, says packages 'diverted'

The consequences might be like this (in addition to many other possible forms):

Previously, my little factory spent 100% of the budget for component x and component y on buying from American suppliers (quality and price are both very good).

But going forward, we plan to spend 70% to buy from Americans, 20% from other countries, and 10% to fund demestic research, and we will reduce the 70% part as soon as we can manage.

You can imagine if multiplying our small adjustment by the actions of hundreds of thousands of similar businesses around the world who are watching closely what's going on recently, then the interests of American businesses will probably be severely affected.

kpremote | 6 years ago | on: Handy Keymaps in Vim

I've noticed that there are not as many Vim/Emacs related posts on HN during the past two years than before. And the discussions and upvotes have been less enthusiastic.

If it's indeed the case (I might well be off the mark), I can think of a few possible reasons, Maybe because VS Code has won. It is much easier for beginners than Vim/Emacs (duh) but still powerful, so less questions and issues are raised. Its default setup is very good so customization is minimum, its plugins system are both vast and easy to use, etc.

Or, Vim itself has become easier to operate since version 8, tutorials are better than before, plugins are better,

Or on HN people these days have much more interests in talking about other topics. What do you think?

kpremote | 6 years ago | on: A history of tea, the second most-consumed beverage in the world (2017)

thanks, the information on the process to make the tea is super helpful. I was just going to ask about it, now things become much clear to me. 1:2 water:milk? man, that's a lot of milk. But I love milk, so that will be great. Also, I guess unlike what the Chinese normally do, there is no refilling hot water into the pot/mug to drink more, right?

kpremote | 6 years ago | on: The Huawei Disaster Reveals Google’s Iron Grip on Android

China's economy is very export dependent. If Chinese businesses cannot use internet to access a lot of U.S. allies, it would suffer badly.

For example if, say, all U.K's companies are not allowed to use email or skype to talk to the Chinese, or all U.S., Canada and Australia, etc. web sites are not accessible from China because of some executive orders or laws by the U.S. (similar to google complying with the order currently), then I guess China's economy would be severely affected.

kpremote | 6 years ago | on: The Huawei Disaster Reveals Google’s Iron Grip on Android

Curious to know, are there ways that a country (in fact mainly the U.S.) can 'flip the switch' (weaponize, if you will) on fundamental internet tech, such as DNS, TCP/IP, HTTP and many many others, to severely affect a foreign adversary's business (either a company or a country)?

Sure those are merely standards/protocols, still, is it possible these tech and their current world-wide setup be effectively used in conflicts by issuing government executive orders or enacting new laws?

Edit: just found this on reddit. Not exactly what I was asking (fundamental internet standards/protocols), but still somewhat related.

From a reddit post -- "Huawei is no longer able or allowed to work on standards for Wi-Fi, USB and SD cards. "Temporarily restricted" by Wi-Fi Alliance, voluntarily withdrew from JEDEC (USB etc) and no longer a member of SD Associaton (which technically means no more SD slots)"

kpremote | 6 years ago | on: The F# development home on GitHub is now dotnet/fsharp

I'll just throw a random comment here:

F#, to me, has the most beautiful syntax. Reading F# code is such an eye pleasing experience!

I actually don't know much about the language, but always dream about being an expert in it and using it every day.

Edit: to give some context, the others I find especially beautiful syntax-wise are Ruby, Lisp, Haskell, Ocaml(very similar to F#). Still I think F# is the best.

kpremote | 6 years ago | on: Firefox 67.0 Released

__Edit: I installed the lastest Firefox v67, the problem is gone. It works great.__

Thanks. no it's not in a private browsing window.

I also asked other people to visit the site(mydomainname.com) from their computers and phones, all worked fine.

The hour long struggle left me with painful memories. :) I never had issue like this previously in Firefox or other browsers. On that day, Chrome and IE worked without problem on my computer (Win 7 32bit), so the computer should not be the culprit.

That leaves Firefox v66 standing. I don't know why.

kpremote | 6 years ago | on: Firefox 67.0 Released

Apologize if this is not the right place to ask for help.

Two days ago when I began to develop a web site backend, a strange thing happened. Visiting "mydomainname.com" in Firefox v66 gave me back error message saying site not found, but visiting "mydomainname.com/index.html" (or index.php) would be fine, the content of that page was returned.

After one hour struggle, I used another browser (and my phone) to open "mydomainname.com", and it worked fine! It returned the index.html page. So it's not the issue of the default file setup.

Did I miss something obvious? I felt stupid. I am now using Chrome but I would like to come back to Firefox. Thanks for any help.

page 1