Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CUViper
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
CUViper
12y ago
One tip for the module configuration: kbuild has "make localyesconfig" which looks at your currently-loaded modules and converts them to CONFIG_FOO=Y builtins. See also "make help" for more available targets.
152.
▲
by
CUViper
12y ago
It could be less specific as a raw string literal, like python r"".
153.
▲
by
CUViper
12y ago
AFAIK the main reason we still build the 32-bit stuff is to ship multilib packages for their 64-bit siblings.
154.
▲
by
CUViper
12y ago
If you're on systemd, all stdout/err is sent to the journal.
155.
▲
by
CUViper
13y ago
It's not exactly what you're asking for, but gcc with -fdump-rtl, -fdump-tree, and -fopt-info can show you quite a lot of what's going on.
156.
▲
by
CUViper
13y ago
> "gcc -ansi -Wall -Wextra -pedantic". NOT ONE ERROR OR WARNING! $ rpm -q gcc gcc-4.8.2-7.fc20.x86_64 $ gcc -ansi -Wall -Wextra -pedantic test.c test.c: In function ‘main’: test.c:7:36: warning: the comparison will
157.
▲
by
CUViper
13y ago
Coverity has ASSERT_SIDE_EFFECT for exactly this sort of case.
158.
▲
by
CUViper
13y ago
I think what's interesting is that this code is open source, in code if not development model, but it failed the law that "given enough eyeballs, all bugs are shallow." Until there was an inkling of trouble, at least, and
159.
▲
by
CUViper
13y ago
'#' is commonly called either "hash" or "pound", and "tag" as a suffix just describes this tagging use in context. For an apples-to-apples comparison you'd be saying "poundtag", but go
160.
▲
by
CUViper
13y ago
Right - at least with glibc, ld.so unsets most LD_* variables and more for both setuid and setgid programs. Grep for UNSECURE_ENVVARS in glibc source to get the whole list and see how it's used. I'd be very surprised if any othe
161.
▲
by
CUViper
13y ago
Yes, as long as dlopen and dlsym aren't also hooked. You could also use asm to directly invoke sys_ptrace, since this rootkit doesn't have any kernel components.
162.
▲
by
CUViper
13y ago
You can change the section search order with the SECTION directive in /etc/man_db.conf, or you can override that global setting with the MANSECT environment variable. I just learned this from "man man". :) I'm per
163.
▲
by
CUViper
13y ago
His blog is here: http://crtags.blogspot.com/2013/12/ptrace-now-available.html
164.
▲
by
CUViper
13y ago
If you leave broken commits in the history, you'll make it very hard to use tools like "git bisect". You can "skip" broken commits, but that should be an occasional exception. It doesn't matter if that was on
165.
▲
by
CUViper
13y ago
Cute! However, if you really want complete equivalence between locals and struct* parameters, you might prefer something like "struct { int n; } _z, * const z = &_z;". There's a slight difference of types when using you
166.
▲
by
CUViper
13y ago
In this scenario, B didn't get the papers to let them know about the restraining order until after the "clicky clicky".
167.
▲
by
CUViper
13y ago
Concrete paths inherit from pure paths - this would be quite strange using antonyms. This isn't like an "abstract" base class. It's a full class on its own, which is extended by another. Anyway, I think it's meant
168.
▲
by
CUViper
13y ago
When in doubt, "git push -n" (aka "--dry-run") will let you test what would happen.
169.
▲
by
CUViper
13y ago
I suspect they also really wanted the rot8 -> "rotate" joke. AFAICS, it's actually using decimal 8000, not 2^16/2 = 0x8000, so I don't really understand how this is reversible at all unless they're just subt
170.
▲
by
CUViper
13y ago
I think what you want in a pull is really just "git fetch", which will update all remote branches. In case you haven't realized this separation, try "git branch -av" to see that your local branch names are distinct
171.
▲
by
CUViper
13y ago
Ah, indeed, I didn't read closely enough to see that mention.
172.
▲
by
CUViper
13y ago
Why not? If you're being so paranoid about the origin of a binary, you have to at least acknowledge the fact that you're trusting the compiler in making this comparison. So let me throw out an idea that might help justify this tr
173.
▲
by
CUViper
13y ago
> TrueCrypt is not backdoored in a way that is not visible from the sources ... as long as you also trust the compiler not to introduce any backdoor... (cf. Reflections on Trusting Trust)
174.
▲
by
CUViper
13y ago
In OpenWrt there is a "Distance Optimization" field, described, "Distance to farthest network member in meters." I would guess this allows some assumptions about the raw timing of transmission through the air, which no
175.
▲
by
CUViper
13y ago
It's picked up by -Wsign-compare, which is included in -Wall for C++, or -Wextra for C. I'm curious whether CL does warn on this by default, or if MSVC's default just includes similar warning flags.
176.
▲
by
CUViper
14y ago
I don't know for the Moon, but for the Earth try this: https://en.wikipedia.org/wiki/Eratosthenes#Eratosthenes.27_m...
177.
▲
by
CUViper
14y ago
Of course they need income to keep running; the question is what they'll monetize besides the software itself. It could be an open base platform with closed premium bits, or fully open with contracts for support, for just two examples.
178.
▲
by
CUViper
14y ago
Whenever a plugin is blocked, you should see a Lego-looking icon in the address bar which will let you activate everything on the page.
179.
▲
by
CUViper
14y ago
It uses a custom delta compression algorithm, based on libXDiff. You can see that output using "git diff --binary". I believe these are the relevant parts of the source code: https://git.kernel.org/?p=git/git.git;a=blob;f=diff-delta.c;..
180.
▲
by
CUViper
14y ago
That's a shallow clone: git clone --depth N ...
More ›