Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mnarayan01
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
mnarayan01
4y ago
For anyone else confused by this, the control logic described in the comment happens in https://github.com/ifduyue/musl/blob/master/src/math/cos.c
2.
▲
by
mnarayan01
5y ago
Git has all sorts of options for using proxies, but running socat would be the quick and dirty way to do this, something like: socat TCP-LISTEN:8080,fork,reuseaddr OPENSSL:github.com:443 would let you use an HTTP connection to your l
3.
▲
by
mnarayan01
6y ago
Unfortunately e.g. the RHEL 7 world doesn't have mitigations=off yet (in addition to many other kernel command line sugars).
4.
▲
by
mnarayan01
6y ago
0/0 = NaN
5.
▲
by
mnarayan01
6y ago
> Code Blocks probably aren't necessary When you're reading raw markdown they're extremely useful for short snippets since they save you two wasted lines per block.
6.
▲
by
mnarayan01
7y ago
The other requests are still taking the latency hit.
7.
▲
by
mnarayan01
7y ago
That's a block returning a Hash; see bhuga's sibling comment where he notes that they're using blocks to lazy load the constants in the type definition, which may seem silly for e.g. Integer, but consider e.g. some high-depen
8.
▲
by
mnarayan01
7y ago
Then you'd need an extra set of delimiters, e.g.: sig {{name: String, returns: Integer}}
9.
▲
by
mnarayan01
7y ago
The parser thinks that's a block not a hash.
10.
▲
by
mnarayan01
8y ago
> mouse(!) selection of arbitrary text that can be piped to commands and so on E.g.: xclip -out | ... or do you mean something different?
11.
▲
by
mnarayan01
8y ago
You can specify multiple digests for an asset, so a non-versioned one can be updated sans downtime: 1. Provider informs clients that a new version with digest X will be deployed. 2. Clients add the new digest in addition to the current di
12.
▲
by
mnarayan01
8y ago
> 3rd parties should version their JavaScript resources with a version number in the URL I mean yes this is true, but it seems almost totally orthogonal to SRI (which is aimed at security AIUI), particularly given you can give more tha
13.
▲
by
mnarayan01
8y ago
https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-s...
14.
▲
by
mnarayan01
8y ago
The #ifndef rigamarole is https://en.wikipedia.org/wiki/Include_guard and at least used to be fairly common. I also used to see the __FOO_BAR_H__ naming convention for these defines all over the place. I'm not sur
15.
▲
by
mnarayan01
8y ago
If you include it (possibly indirectly) in a file which you compile, then no, you do not need to compile it separately.
16.
▲
by
mnarayan01
8y ago
> Signing each commit is totally stupid. It just means that you automate it, and you make the signature worth less.
17.
▲
by
mnarayan01
8y ago
Linus (from 2009) on problems with signing every commit: http://git.661346.n2.nabble.com/GPG-signing-for-git-commit-t...
18.
▲
by
mnarayan01
8y ago
if a = foo() versus: if (a = foo()) Sometimes idiomatic patterns vary based on things which are not amiable to mechanical correction.
19.
▲
by
mnarayan01
8y ago
The article looks like it's just a generic sports' journalist reporting on a novel statistical technique, with cross language translation added into the mix for extra confusion. I wouldn't take it too literally. I'd gues
20.
▲
by
mnarayan01
8y ago
From your source machine: < /path/to/source ncat remote-host 8001 On your destination machine: ncat -l 8001 > /path/to/dest Though in most situations with files of reasonable size, you'
21.
▲
by
mnarayan01
8y ago
Or just skip the shell entirely: tar -C /dest/dir -xf -
22.
▲
by
mnarayan01
8y ago
> There has to be an ABI in order for loadable kernel modules to exist Given a particular install, yes, but it will change independent of kernel version based on e.g. build flags and even conceivably compiler chosen, etc. > it's
23.
▲
by
mnarayan01
8y ago
Nit: AIUI, the kernel has no stable API. It has no ABI period.
24.
▲
by
mnarayan01
8y ago
Mix "other quite similar videos are explicit" with "other videos from the uploader are inappropriate for children" and pour it into an overly-aggressive automated algorithm.
25.
▲
by
mnarayan01
9y ago
> The majority of the lanes on the road are already dedicated to private motor vehicles IME, having any lanes dedicated to private motor vehicles is extraordinarily rare. I'm not sure I've ever even seen it, though I do have
26.
▲
by
mnarayan01
9y ago
Wow. I do this all the time, and the additional step of piping to sed never ceased to annoy me. You've made my day.
27.
▲
by
mnarayan01
9y ago
Well it could be rewritten to use 0x1f (i.e. unit separator) to separate items. I mean it already has significant tabs. Though invariably people would be like "How is it acceptable for make to not support filenames which contain unit s
28.
▲
by
mnarayan01
9y ago
> though it’s probably a bug that whitespace in target names must be escaped, since it’s just one token that ends in a colon It's perfectly fine for a rule to have multiple targets, e.g. output.txt error.txt: source build so
29.
▲
by
mnarayan01
9y ago
There's this program called make...
30.
▲
by
mnarayan01
9y ago
> A C#-style cancellation token API, orthogonal to promises, is simple, easy to build, and easy to understand. The problem is that promises were added to the language without any of that being hashed out. Now you may say "Having lan
More ›