Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CUViper
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
CUViper
11y ago
Brendan answered with advantages, but for how: it's still just a software breakpoint, int3/0xCC on x86 as you say. But the round trip of dealing with that breakpoint is much tighter, because the handler function is called directl
122.
▲
by
CUViper
11y ago
> mov instructions from register to register make up for more than 60% of the time spent in the critical section of the code, while we would expect most of the time to be spent xoring and anding. I have not investigated why this is the c
123.
▲
by
CUViper
11y ago
Many people wouldn't even notice "he" used for a person of unknown gender. In the spirit of equality, some use "she" instead to subvert this male-default. In fact, the article uses male pronouns for the user -- did
124.
▲
by
CUViper
11y ago
That's what Good Samaritan laws are for, but unfortunately they're not universal...
125.
▲
Emergency Security Band-Aids with Systemtap
(securityblog.redhat.com)
10 points
by
CUViper
11y ago
|
0 comments
126.
▲
by
CUViper
11y ago
We don't even have 4 billion characters possible now. The Unicode range is only 0-10FFFF, and UTF-16 can't represent any more than that. So UTF-32 is restricted to that range too, despite what 32 bits would allow, never mind 64.
127.
▲
by
CUViper
11y ago
Thanks. From there I also found a list of packages: http://www.mcst.ru/opo The libelpthread caught my eye -- a "version of libpthread, optimized for operation in hard real time" (according to bing translator). A
128.
▲
by
CUViper
11y ago
Is that "Elbrus-compatible Linux distro" native? Or just x86 with some tweaks to make it compatible? (perhaps addressing emulation shortcomings or optimizations) If they made kernel changes, and choose to respect GPL, I'd b
129.
▲
by
CUViper
11y ago
It looks like profile_node.stp is just probing timer.profile, but in theory this could be any event that systemtap is capable of. A function in glibc, a syscall, a kernel function, a perf event on say branch misses, ... there are many many
130.
▲
by
CUViper
12y ago
Here's Rust: let total = (1..).map(|x| x*x).take(10).fold(0, |acc, x| acc+x); You could replace the fold with ".sum()" if you use the unstable std::iter::AdditiveIterator. Or you could incorporate the squaring map i
131.
▲
by
CUViper
12y ago
This is where Amdahl's Law meets real life.
132.
▲
by
CUViper
12y ago
Depends on your shell, but you can try this yourself -- for instance: $ ssh localhost -o ProxyCommand="ssh localhost 'pstree -a \$PPID >&2 ; nc %h %p'" sshd `-bash -c pstree -a $PPID >&2 ;
133.
▲
by
CUViper
12y ago
It doesn't survive to the beginning of the second connection, but do be aware that nc/echo/sed are all run on bastion . You'd have to rearrange the quoting a bit to get sed locally. If you're being paranoid, you c
134.
▲
by
CUViper
12y ago
On debugging, traditional vimmers might want to try Conque GDB: http://vim.sourceforge.net/scripts/script.php?script_id=4582 But honestly, even though I've kept this installed, it still feels foreign enough that I
135.
▲
by
CUViper
12y ago
Total tangent, but could someone start a .lang tld? We have so many that are naming themselves this way, could be avail.lang, go.lang, rust.lang, nim.lang, ...
136.
▲
GCC 5 in Fedora
(developerblog.redhat.com)
59 points
by
CUViper
12y ago
|
16 comments
137.
▲
by
CUViper
12y ago
"The if let construct is based on the precedent set by Swift," https://github.com/rust-lang/rfcs/blob/master/text/0160-if-l...
138.
▲
Querying DWARF for Fun and Profit
(developerblog.redhat.com)
8 points
by
CUViper
12y ago
|
0 comments
139.
▲
by
CUViper
12y ago
The video demonstrates filling in name and email, although it doesn't say anything about it.
140.
▲
by
CUViper
12y ago
I think the point is that some people assert that they want the ultrasonics, as if they could tell the difference, so you wouldn't filter it. Then the presence of those ultrasonic tones creates the modulation in a range that you can
141.
▲
by
CUViper
12y ago
Do note that syscall numbers vary by architecture -- these are for 32-bit x86. Up to 190 is rather short too -- it's now I think 357, latest being sys_bpf. I like the "ausyscall" command for querying syscall numbers in gener
142.
▲
by
CUViper
12y ago
I take that statement to imply "on purpose", or as part of an attack. You can't know whether there's a coincidental collision anywhere in github unless you bother to look. But I do understand that it's still extre
143.
▲
by
CUViper
12y ago
Given that the only way to reuse it is to duplicate the tree and commit metadata exactly, or find an sha1 collision, I think it's pretty safe. :) I wonder if there are any git sha1 collisions out there in aggregate, say across all of g
144.
▲
by
CUViper
12y ago
Sure, and Windows is much the same wrt bundling. The tradeoff is that now you've multiplied the responsibility of library updates across everyone that bundled it. You probably won't care if simple library version updates are mis
145.
▲
by
CUViper
12y ago
The whole point of 1.0 is that they won't experiment like this anymore. They're using the freedom to break things now with the promise to lock it down later. I'm sure there will still be some experimentation, but the core
146.
▲
by
CUViper
12y ago
If you're able to set arbitrary environment variables, then you could also emulate the prefix and suffix. e.g. this works even on patched F20: $ env 'BASH_FUNC_ls()=() { echo myls; }' bash -c ls myls But as othe
147.
▲
by
CUViper
12y ago
7169 is the notice that 6271 was incomplete.
148.
▲
by
CUViper
12y ago
I suppose that's sysprogs.com/VisualKernel/ ? I'm amazed that this exists, but more power to them! :)
149.
▲
by
CUViper
12y ago
You can also "git cherry-pick -n" to only apply it to the working directory, with no commit, and then "git checkout -f" is an easy cleanup.
150.
▲
by
CUViper
12y ago
kgdb, kdb, systemtap, ktap, perf, ftrace, ...
More ›