Better HN
topnewbestaskshowjobs
Log inSign up

johannkokos

53 karma · joined Sep 25, 2018 (8y ago) · 25 submissions

Submissions

comment 6y ago · link · parent

What about binutils? Is it removed too?

comment 6y ago · link · parent

Any one know if there is a text version of Intel's instruction set reference? Intel does provide a pdf, but I wish I can open a text file in vim and quick search through it.

comment 6y ago · link · parent

Given that Chromium is a open source project, and lost of people here are strongly against Google's proposal to limit the ability of ad block extensions, with much stronger words compared to this incident. What's your opinion on that?

comment 7y ago · link · parent

The RHEL version linked is 7.5, not 8.1. They might just forget to update the doc.

comment 7y ago · link · parent

Linux users's first encounter with `ps` command usually leads to stackoverflow's question on RSS.

comment 7y ago · link · parent

> This system will apply to foreign owned companies in China on the same basis as to all Chinese persons, entities or individuals. No information contained on any server located within China will be exempted from this full coverage program. No communication from or to China will be exempted. There will be no secrets.

Can the author provide a source for this? I couldn't find any reference to it from the articles linked by this blog.

comment 7y ago · link · parent

"Response to 'Fibers under the magnifying glass'" from the authors of boost.fiber, at

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p086....

And Response to response to "Fibers under the magnifying glass", at

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p152...

comment 7y ago · link · parent

Somehow I feel StackOverflow is preparing itself to be bought. Part of contract is for SO to deal with these hard problems before the it is made public.

comment 7y ago · link · parent

gitlab publishes its about.gitlab.org source code. This pdf can be found in the repo link https://gitlab.com/gitlab-com/www-gitlab-com/blob/master/sou...

comment 7y ago · link · parent

Does it support multiple tabs? It doesn't seem to from the screenshot.

comment 7y ago · link · parent

You can see why Nouveau devs are having difficulties with Nvidia in a Xorg developer confereence talk[1].

1. Relations with NvidiaNVIDIA changes prevent us from releasing a driver

  * Signed firmwares accessible publicly but not redistributable

  * Reverse engineering of vbios impossible
2. Communication mostly down

  * Main contact/dev left NVIDIA (Alexandre Courbot)

  * Most important requests left unanswered...

  * ... until more complete code than wanted lands publicly innvgpuweeks later
[1] https://www.x.org/wiki/Events/XDC2017/herbst_peres_nouveau.p...

comment 7y ago · link · parent

How many tabs do you consider to be too many tabs? Most of the time I open up to 10 tabs, and Firefox is performing fine. But I have also seen people opening 40 tabs.

comment 7y ago · link · parent

English translation by bing translator.

https://www.translatetheweb.com/?from=&to=en&refd=www.bing.c...

comment 7y ago · link · parent

> If we change foo2 to a declaration (such as would be the case if it was defined in an external translation unit, and its declaration included via header), then Clang can no longer observe whether foo2 definition differs or not from the declaration.

I tried enabling link time optimization on clang-8, it does see through and eliminate redundant xor instruction in foo2(). gcc fails to do that, however. I inspect the result by calling objdump on generated object code.

comment 7y ago · link · parent

I learned a new one recently. zt redraw so that current line is at top, zb redraw so that current line is at bottom, zz redraw so that current line is at the center.

If you are on twitter, you might want to follow MasteringVim. You'll learn one trick every day.

comment 7y ago · link · parent

This is the original blog post by the author who filed the cve. https://www.trustwave.com/en-us/resources/blogs/spiderlabs-b...

comment 7y ago · link · parent

Just like C++, your filter can be simplified like,

filter(|string| {set.insert(string)}

as insert return a bool.

comment 7y ago · link · parent

> it just happens that C++ ships with a much bigger standard library than Go.

I thought go had much bigger standard library. Go has archive, compression, crypto, database, encoding, hash, html, and net etc.

comment 7y ago · link · parent

if (seen.find(lower) == std::end(seen)) { seen.insert(lower); return false; }

You can just return

seen.insert(lower).second

as insert function return a pair<iterator, bool>

comment 7y ago · link · parent

You're not wrong. Dtrace is gpl only in 2017.

comment 7y ago · link · parent

I am confused by this article. It says, "Schellenberg was arrested in 2014 and received his original sentence in 2016 in a case that went unnoticed."

But according to the Chinese court[link 1], he was first sentenced for 15 years in jail on 2018-11-20. Robert appealed to high court. On 2018-12-29, the high court decided the original sentence was too light and asked the intermediate court for a new trial.

link 1: http://court.dl.gov.cn/info/122_138614.vm

comment 7y ago · link · parent

And Chair of Direction Group in 2018. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p093...

comment 8y ago · link · parent

No one talks about the story from financial perspective? How much will Huawei lose, who is the competitor against Huawei? IMO it's the extension of trade war between US and China.

comment 8y ago · link · parent

I cannot get the first simple example working.

  int main()
  {
      while (1) {
          if (fork())
              _exit(0);
      }   
      return 0;
  }
If I run `htop` immediately after typing `./a.out`, it shows a error,

  Could not create child process - exiting
  fork: Resource temporarily unavailable
However, if I wait a second or more, I cannot find `a.out` in the process list.