Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marmight
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
marmight
11mo ago
Even a compositor is unnecessary to fix screen tearing these days: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests...
2.
▲
by
marmight
2y ago
It depends which features you need, but interestingly Google has another , lighter weight gallery app called Google Gallery that does not have any cloud features built in.
3.
▲
by
marmight
2y ago
I would have liked to have seen if there was any difference in the effects over time. I think it is easy to find something that helps with anxiety in the short term, but over enough time habituation, tolerance, and dependence can develop to
4.
▲
by
marmight
2y ago
I don't know if it is sufficient to prevent the race, but the article does mention that they check for DestroyNotify events after the grab.
5.
▲
by
marmight
2y ago
> I wonder if there's some nuance missed here. The natural follow-up question in my head is: can the scientific method ever support a supernatural explanation? What could such an explanation look like? How could it have predictive p
6.
▲
by
marmight
3y ago
> The corrected standard C source code might look like this (still disregarding error handling and short writes): > > void > write_string (int fd, const char \*s) > { > write (1, s, strlen (s)); >
7.
▲
by
marmight
3y ago
Gentoo has an amazingly awesome feature where you can maintain your own patches against packages in the Gentoo package system [1]. This feature can be useful when the corresponding upstream project is on life support, obstinate, you have e
8.
▲
by
marmight
3y ago
It is labeled correctly on his map, but he is recorded as saying something incorrect in the article: > Also Baffin Island in Greenland. So few people have been to that part of the world. Baffin Island is in Canada. Since this would be s
9.
▲
by
marmight
3y ago
The tearing situation has also recently improved [1,2,3] in X.org, including your cited use case of multiple, rotated monitors, and even if you are not using a compositor, although these improvements are only present in the latest master br
10.
▲
by
marmight
3y ago
Tearing has more-or-less been fixed [1,2,3] in the latest version of X.org, although these changes are only present in the latest master branch and aren't in any official release and thus not shipped by most Linux distributions. I
11.
▲
by
marmight
5y ago
In general, an idempotent method is a method such that calling it one time is the same as calling it n times in a row for any n > 1. However, idempotency doesn't require that calling the method one time is the same as calling it z
12.
▲
by
marmight
5y ago
Some of the words Apple filters in China include 人权 (human rights), 正法 (dharma), 達賴 (Dalai [Lama]), 新聞自由 (Freedom of the press), and 艾未未 (Ai Weiwei [an artist and political dissident]). [1] There is no equivalent to these kinds of words in
13.
▲
by
marmight
6y ago
For folks interested in threads in C, I also recommend reading "Threads Cannot be Implemented as a Library" [1]. The summary is that Pthreads mostly works correctly as a library (1) because its functions execute memory fence inst
14.
▲
by
marmight
9y ago
The authors are overstating their case when they assume that why the 50 cent party posters are not engaging in discussion must be a result of an intentional Chinese government strategy. The moniker "50 cent party" comes from the
15.
▲
by
marmight
10y ago
Some previous discussion here: https://news.ycombinator.com/item?id=11001796
16.
▲
by
marmight
10y ago
You're right insofar as you can't use the chroot command to escape a "chroot jail" because it automatically calls chdir() for you, but any root user can escape one by invoking the following linux system calls: chdir(
17.
▲
by
marmight
10y ago
Are you sure it's not even more trivially vulnerable than that? From man 2 chroot: This call does not change the current working directory, so that after the call '.' can be outside the tree rooted at '/'. I