Live data from Hacker News

Viewing profile — evozer

evozer

HN member
Joined
Mon, Aug 13, 2018, 2:29 PM UTC
HN karma
20
Public activity
12 items

About evozer

No profile information was provided.

Recent public activity

  1. comment
  2. comment
    Comment #23334811

    There is, it's called static. Just hide it in a .cpp file and expose the real function in a header file.

  3. comment
    Comment #22495750

    I don't understand your example, why would (1 + 2.060) - 2.060 == 0 while 1 + (2.060 - 2.060) == 1? Am I just misunderstanding what you wrote?

  4. comment
    Comment #22202552

    shouldn't it be e^tau*i = 1 if tau is 2pi?

  5. comment
    Comment #19806331

    Did you consider emulating mmap yourselves? "Memory mapped files work by mapping the full file into a virtual address space and then using page faults to determine which chunks to …

  6. comment
    Comment #18977238

    I had to go to the last page and click "repeat the search with the omitted results included" to make it show up at all. After doing that it was the third result.

  7. comment
    Comment #18201512

    I looked at the implementation of the openStream() function: AudioStream *AudioStreamBuilder::build() { AudioStream *stream = nullptr; if (mAudioApi == AudioApi::AAudio && isAAudio…

  8. comment
    Comment #17934609

    OP said $5 for 84 days though, not a month.

  9. comment
    Comment #17933051

    Here is the implementation: https://github.com/chromium/chromium/blob/master/components/...

  10. comment
  11. comment
    Comment #17808577

    But it would be fun to see NP bodyblock the entire enemy team with one set of treants.

  12. comment
    Comment #17782841

    If you want to be more efficient, you can also use a union for this. typedef union { int i; float f; double d; long l; char c; void *p; ... } var; Now you might also get some nice …