Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CUViper
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
CUViper
10y ago
Isn't that what `.eh_frame` is for?
92.
▲
by
CUViper
10y ago
The presentation makes a distinction between mid-stack and leaf inlining, and apparently it was only done on leaf calls before because this is less confusing in backtraces.
93.
▲
by
CUViper
10y ago
It's clear that some people will always feel this way. It's also clear that some like it, or it wouldn't have achieved its current position.
94.
▲
by
CUViper
10y ago
The context is what makes this interesting, that the number showed up in an unexpected place.
95.
▲
by
CUViper
10y ago
See the SELinux boolean "deny_ptrace", and/or the sysctl "kernel.yama.ptrace_scope", and have at it. It's not just for debugging, but for any tool that needs some measure of process control. Probably the nex
96.
▲
by
CUViper
10y ago
> git commend quietly tacks any staged files onto the last commit you created, re-using your existing commit message. So as long as you haven’t pushed yet, no-one will be the wiser. Well, they might notice that the author and committer d
97.
▲
by
CUViper
10y ago
The documentation really should mention the resifting, and why this is useful. It only mentions that the heap may be inconsistent if the `PeekMut` isn't properly dropped, without explaining why. It's basically replacing the forme
98.
▲
by
CUViper
10y ago
Committer and author are tracked separately, and by default you only see the author. Try: git log --pretty=fuller
99.
▲
by
CUViper
10y ago
It used to be just "gcc -mno-cygwin" would suffice. Now the cross gcc is available separately, choose one of i686-pc-mingw32-gcc, i686-w64-mingw32-gcc, or x86_64-w64-mingw32-gcc.
100.
▲
by
CUViper
10y ago
OK, another option is to make it an explicit infinite "loop{...}" which only exits by returning. The "0.." is effectively infinite anyway, because it will overflow freely in release mode. (But surely you'll hit an i
101.
▲
by
CUViper
10y ago
Rust does have unreachable!() which panics.
102.
▲
by
CUViper
10y ago
Redox may be exactly what you're looking for: http://www.redox-os.org/ And there are others: http://wiki.osdev.org/Rust
103.
▲
by
CUViper
10y ago
midipix is trying to use it, and advertises copy-on-write fork as an advantage over Cygwin, but I don't know how well it works yet. http://midipix.org/#sec-midipix http://midipix.org/git/cgit.cgi&#
104.
▲
by
CUViper
10y ago
The frustration was that support kept greeting with the random name despite being asked not to. I'm sure that's just a "Hello $NAME" template, but it's still lazy.
105.
▲
by
CUViper
11y ago
Now investigating: https://twitter.com/githubstatus/status/692505376554618883
106.
▲
by
CUViper
11y ago
https://en.wikipedia.org/wiki/Prime_number_theorem#Approxima... So with the kth prime ~= k log k, the ratio of primes is 1 / log k. Yes that drops to zero, but very slowly. You can use the upper bound of the kth
107.
▲
by
CUViper
11y ago
There's a project page to make a stable win64 release: https://wiki.mozilla.org/Firefox/win64 The goal says before the end of 2015... tick tock
108.
▲
by
CUViper
11y ago
If the employer is worried about how you represent their public image, and you've disassociated this activity well enough that the employer doesn't know about it, then their concern is mostly satisfied. Anyway, let the mutual filt
109.
▲
by
CUViper
11y ago
Liking something childish and acting unprofessionally are very different aspects of immaturity. I wouldn't care about the former, but the latter may reflect poorly on the company, especially in open source where developers are like am
110.
▲
by
CUViper
11y ago
I don't know about C# compilers, but gcc gives me two errors, "stray ‘\315’ in program" and "stray ‘\276’ in program", which I suppose are the two utf-8 bytes. Rust says, "unknown start of token: \u{37e}"
111.
▲
by
CUViper
11y ago
vim-characterize has a nice enhancement of "ga", adding Unicode info, digraphs, emojis, and HTML entities. https://github.com/tpope/vim-characterize
112.
▲
by
CUViper
11y ago
The native way, which still works on Windows 10, is to call SystemParametersInfo() with SPI_SETACTIVEWINDOWTRACKING, SPI_SETACTIVEWNDTRKZORDER, and SPI_SETACTIVEWNDTRKTIMEOUT, followed by a broadcast WM_SETTINGCHANGE message. See my MouseW
113.
▲
by
CUViper
11y ago
I once wrote a small tray icon to dynamically toggle this stuff, including settings for auto-raise and delay. I haven't wanted it in ages, but I just tried on Win10 and it still appears to work! https://github.com/cuvi
114.
▲
by
CUViper
11y ago
The docs say you'll get EPERM for trying to increase permissions, so I'd guess there's no way to restore it.
115.
▲
by
CUViper
11y ago
Aha, the y-axis is "times faster than scalar", I totally missed that.
116.
▲
by
CUViper
11y ago
On the last paragraph, for runtime selection of SIMD implementations, would that use something like STT_GNU_IFUNC? Perhaps exactly that on Linux, since it's compiling to ELF, after all. I would have liked to see benchmarks compared to
117.
▲
by
CUViper
11y ago
Rust debated this for a while, and eventually did decide to make overflows panic -- but they are checked only in debug builds. https://github.com/rust-lang/rfcs/blob/master/text/0560-inte...
118.
▲
by
CUViper
11y ago
You seem to be asking for quite some magic in that __no_overflow idea. It might be possible with a trivial expression like this, but what if there are function calls in that expression, or even library calls? There are lots of places over
119.
▲
by
CUViper
11y ago
*Daala - but yes, I was wondering the same thing...
120.
▲
by
CUViper
11y ago
Yeah, that's Denver in the Nexus 9: https://en.wikipedia.org/wiki/Project_Denver
More ›