Viewing profile — pksadiq
pksadiq
HN member- Joined
- Tue, Oct 27, 2015, 1:43 PM UTC
- HN karma
- 509
- Public activity
- 252 items
- HN profile
- View on Hacker News ↗
About pksadiq
Recent public activity
- story
- story
- story
-
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…
- story
- comment
- story
- story
-
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…
- comment
-
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 …
-
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
-
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…
- comment
-
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 …
-
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…
-
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…
- story
- story
-
comment
Comment #25407368
And it's much better when used with gdb-many-windows and speedbar
- story
-
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...
- story
-
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…
-
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 …