Live data from Hacker News

Viewing profile — andreyv

andreyv

HN member
Joined
Sat, Jun 11, 2016, 8:25 AM UTC
HN karma
248
Public activity
60 items

About andreyv

No profile information was provided.

Recent public activity

  1. comment
    Comment #46165085

    Follow this forum: https://forum.sailfishos.org/c/announcements/17 .

  2. comment
    Comment #43801123

    Autoconf can use cache files [1], which can greatly speed up repeated configures. With cache, a test is run at most once. [1] https://www.gnu.org/savannah-checkouts/gnu/autoconf/ma…

  3. comment
    Comment #43446882

    Here is a non-zero null pointer: https://gcc.godbolt.org/z/Po5r5Pa36

  4. comment
  5. comment
    Comment #42658789

    It creates a compound literal [1] of type array of int, and initializes the specified array positions using designated initializers [2] with the results of calls to puts(). Using d…

  6. story
  7. comment
    Comment #40104627

    Even the original version 1507 is still supported on the LTSC channel. Support for UTF-8 manifest was added only in version 1903.

  8. comment
    Comment #40037121

    Old does not mean bad. Even a decade later Wayland struggles to provide basic features that were built in the X protocol.

  9. comment
    Comment #38633664

    The number of registers available to the program is fixed in the instruction set. The program cannot address more registers without recompiling it to an extended instruction set.

  10. comment
    Comment #38321444

    First person shooters. Vertical synchronization causes a noticeable output delay. For example, with a 60 Hz display and vsync, game actions might be shown up to 16 ms later than wi…

  11. comment
    Comment #38149269

    The Soviet Union briefly tried 5 and 6 day weeks in the 1930s: https://en.wikipedia.org/wiki/Soviet_calendar

  12. comment
    Comment #37889584

    You can use systemd-cron [1] to run traditional cron jobs with systemd. No need for a separate daemon anymore. [1] https://github.com/systemd-cron/systemd-cron

  13. comment
    Comment #37670978

    Instead of "/usr/bin/time" you can also write "command time".

  14. comment
    Comment #37658682

    1% is still a lot for power saving. If the system is idle, it should be at 0%. If it is anything above, then it shows poor design.

  15. comment
    Comment #32529782

    See: https://en.wikipedia.org/wiki/Lagrange_polynomial

  16. comment
    Comment #30612922

    Right — ferror() does not set errno, and so perror() is not appropriate here. fprintf(stderr, ...) would be better.

  17. comment
    Comment #30611924

    In C, and many other languages, the file stream error state is saved after each operation, so you can skip error checking on every output line and only do if (fflush(stdout) != 0 |…

  18. comment
    Comment #30335541

    Perhaps this: https://docs.microsoft.com/en-us/windows-hardware/design/dev... > On occasion, the system stays in the active mode (with the screen off) for a longer interval of time…

  19. comment
    Comment #29849369

    > So there is no way to abort a bash script if something like The process ID of the last executed background command in Bash is available as $!. cat gives sort: cannot read: nonexi…

  20. story
  21. comment
    Comment #27603476

    Dell also removed trackpoint and all touchpad buttons, and made up/down arrow keys half height on the new Latitude laptops. These are not the changes one would expect to see in a p…

  22. comment
    Comment #26737372

    Autoconf can use a cache file to speed up tests: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/h...

  23. comment
    Comment #24886849

    In fast-paced games it is essential to disable vertical synchronization as well, trading possible tearing for less input lag. Does Wayland support this?

  24. comment
    Comment #20461247

    C now has a memset_s() function to do this.

  25. comment
    Comment #20306960

    Windows unredirects full-screen games, bypassing the compositing delay. This is also what sensible compositing X11 window managers do on Linux.