Live data from Hacker News

Viewing profile — pksadiq

pksadiq

HN member
Joined
Tue, Oct 27, 2015, 1:43 PM UTC
HN karma
509
Public activity
252 items

About pksadiq

https://www.sadiqpk.org

Recent public activity

  1. story
  2. story
  3. story
  4. comment
    Comment #42498916

    I wrote a similar tool[0] a few days back because I wanted a bit more accuracy with timestamp (to measure CPU/idle time) and `ts` occasionally had a deviation of several 10ms. If I…

  5. story
  6. comment
  7. story
  8. story
  9. comment
    Comment #36572055

    This specific change shall excite many as CC BY-SA 4.0 is one way GPLv3 compatible, but CC BY-SA 3.0 is not. Which means that free software developers can now embedded many Wikimed…

  10. comment
  11. comment
    Comment #33896288

    > since the decimal average is -0.5 The C standard says: When integers are divided, the result of the / operator is the algebraic quotient with any fractional part discarded (This …

  12. comment
    Comment #33895396

    > x/2 + y/2 + (x & y & 0x01) This returns -1 for x = INT_MIN and y = INT_MAX were the answer should be 0 (for an example). so not a correct solution

  13. comment
    Comment #33894901

    int mid(int x, int y) { return (x/2 + y/2) + (1 & x & y); } would be a more readable solution edit: Actually, this fails on mid(INT_MIN, INT_MAX) and possibly other mixed sign valu…

  14. comment
  15. story
    Tell HN: How to close your LinkedIn account

    In the past, I have tried deleting my LinkedIn account several times. Every single time, in the last step, the final deletion button was inactive, and no reason given for why it's …

  16. comment
    Comment #33230023

    > Programming from the Ground Up > https://download-mirror.savannah.gnu.org/releases/pgubook/Pr... There is an updated version of the book from the author: "Programming Under the H…

  17. comment
    Comment #26851711

    > Why is this even a thing? Maybe I should just go back to buying everything with cash, it's impossible to keep up with all the crap we need to disable or hack around And some agen…

  18. story
  19. story
  20. comment
    Comment #25407368

    And it's much better when used with gdb-many-windows and speedbar

  21. story
  22. comment
    Comment #22813625

    Note: GTK+ has been renamed to GTK about a year back[0]. The title may better be updated. [0] https://mail.gnome.org/archives/gtk-devel-list/2019-February...

  23. story
  24. comment
    Comment #21905029

    There is a Merge Request to support QR code for hotspot created in GNOME control center: https://gitlab.gnome.org/GNOME/gnome-control-center/merge_re... Hopefully, shall be availab…

  25. comment
    Comment #21795880

    > What is the probability of something like this appearing in a normal program written by somebody who is unaware of trigraphs? A good compiler (eg: gcc) will warn if any token is …