Live data from Hacker News

Viewing profile — abaines

abaines

HN member
Joined
Mon, Dec 24, 2012, 7:02 PM UTC
HN karma
41
Public activity
15 items

About abaines

alex @ .me.uk

Recent public activity

  1. comment
    Comment #38447963

    Aren't the two examples I mentioned new features?

  2. comment
    Comment #38447844

    According to [0] there have been several releases in the last 10 years. Including one in 2021 that added variable refresh rate and touchpad gesture support. [0]: https://en.wikiped…

  3. comment
    Comment #30222570

    With most installations of X11 / Xlib, there is also an extension library: libXFixes. With this, it is possible to receive an event whenever the clipboard (or any other selection) …

  4. comment
    Comment #29959325

    I feel as though they should change the name of the paper, because this must be one of the most complex takes on 'defer' that I have seen. They make a classic mistake of trying to …

  5. comment
    Comment #28850913

    I had a go at this myself a few years ago [0]. But I wanted a dynamically linked ELF instead of a static one so that I could load SDL, OpenGL, etc. That requires extras like a DYNA…

  6. comment
    Comment #25892186

    I've always used cdrdao read-cd --read-raw to backup CD/DVDs, along with toc2cue and bchunk to convert to .iso. I have no idea if the resulting iso is "more accurate" than using dd…

  7. comment
    Comment #24051489

    How come y is z.cross(x) and not up ? Edit: I think it has been answered by others - up is in world-space, and the camera is not necessarily aligned horizontally.

  8. comment
    Comment #23957108

    The article doesn't mention SECCOMP_RET_TRAP which was an existing way to inspect syscall pointer arguments during interception (when combined with a SIGSYS signal handler). I'm cu…

  9. comment
    Comment #23740090

    These are my results on an (admittedly old) Intel i3-2120 CPU @ 3.30GHz. Compiling both programs with -O3: ojc_parse_str 1000000 entries in 3607.615 msecs. ( 277 iterations/msec) s…

  10. comment
    Comment #22891281

    You may want to add -z noexecstack or linking the object will give your program an executable stack. e.g: ld -r -b binary -z noexecstack input.bin -o output.o

  11. comment
    Comment #21901475

    I was initially surprised that all the lexers treat "[01]" as four tokens, but it makes sense from the state diagram. In the past I've encountered JSON lexing that only considers t…

  12. comment
    Comment #17507035

    The table in [1] has 0 in the carry flag for the SRA instructions, is that correct? I thought they shifted the lowest bit into the carry same as SRL.

  13. comment
    Comment #11867963

    I believe Linux since 2.5 has 'proper' asynchronous system calls, io_getevents(2) and co. Further information: https://www.fsl.cs.sunysb.edu/~vass/linux-aio.txt

  14. comment
    Comment #10125570

    C++11 introduced the alignof operator [0] along with the alignas specifier [1], which can be useful when doing placement-new style allocation like this. [0]: http://en.cppreference…

  15. comment
    Comment #9659311

    You can subscribe via email without any google account by sending a message to +subscribe @ googlegroups.com, then it acts just like any other mailing list.