Viewing profile — andreyv
andreyv
HN member- Joined
- Sat, Jun 11, 2016, 8:25 AM UTC
- HN karma
- 248
- Public activity
- 60 items
- HN profile
- View on Hacker News ↗
About andreyv
No profile information was provided.
Recent public activity
-
comment
Comment #46165085
Follow this forum: https://forum.sailfishos.org/c/announcements/17 .
-
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…
-
comment
Comment #43446882
Here is a non-zero null pointer: https://gcc.godbolt.org/z/Po5r5Pa36
- comment
-
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…
- story
-
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.
-
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.
-
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.
-
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…
-
comment
Comment #38149269
The Soviet Union briefly tried 5 and 6 day weeks in the 1930s: https://en.wikipedia.org/wiki/Soviet_calendar
-
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
-
comment
Comment #37670978
Instead of "/usr/bin/time" you can also write "command time".
-
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.
-
comment
Comment #32529782
See: https://en.wikipedia.org/wiki/Lagrange_polynomial
-
comment
Comment #30612922
Right — ferror() does not set errno, and so perror() is not appropriate here. fprintf(stderr, ...) would be better.
-
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 |…
-
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…
-
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…
- story
-
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…
-
comment
Comment #26737372
Autoconf can use a cache file to speed up tests: https://www.gnu.org/software/autoconf/manual/autoconf-2.60/h...
-
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?
-
comment
Comment #20461247
C now has a memset_s() function to do this.
-
comment
Comment #20306960
Windows unredirects full-screen games, bypassing the compositing delay. This is also what sensible compositing X11 window managers do on Linux.