Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mihai_ionic
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Greg Kroah-Hartman AMA on r/Linux is going on right now
(reddit.com)
2 points
by
mihai_ionic
12y ago
|
0 comments
2.
▲
by
mihai_ionic
12y ago
Is there any reason why something like the following should not work? while (condition) { a(); if (!condition) break; b(); }
3.
▲
by
mihai_ionic
12y ago
Yes, for example this bug affects 'file': https://sourceware.org/bugzilla/show_bug.cgi?id=16825 The code in 'file' tries to parse the given file with every built-in format loader, so there are likel
4.
▲
by
mihai_ionic
12y ago
The binutils maintainers aren't exactly responsive when it comes to following up on security-impacting bug reports: https://sourceware.org/bugzilla/show_bug.cgi?id=16825
5.
▲
by
mihai_ionic
12y ago
Here's what the final example from the blog would look like, if you were to directly translate it into C++: http://coliru.stacked-crooked.com/a/265c6ec6fb6751a9 Now, of course, no one would program that way, but I
6.
▲
by
mihai_ionic
12y ago
One use case where Postgres FTS fails spectacularly is when your search has to return results ordered by some field (e.g., timestamp). This is critical for applications that have to return close-to-realtime results due to the queried conten
7.
▲
Ragnarok MMO open-source HTML5 client
(github.com)
176 points
by
mihai_ionic
12y ago
|
52 comments
8.
▲
by
mihai_ionic
12y ago
Or, as I prefer to think of it, the state of a distant object is undetermined with respect to your state (in a superposition of all reachable states since your last interaction) until you actually interact with it, at which point both get r
9.
▲
by
mihai_ionic
12y ago
Likewise, I've witnessed a reversible variant of SHA-1. They must have somehow messed up the break condition because it essentially only did one round.
10.
▲
by
mihai_ionic
12y ago
This decision is very disturbing indeed.
11.
▲
by
mihai_ionic
12y ago
According to the C++11 standard, the compiler may assume that any loop terminates, so unless you mark ring_bell as [[noreturn]], the code will be assumed reachable. Furthermore, when undefined behaviour is invoked anywhere within a program,
12.
▲
by
mihai_ionic
12y ago
> Q: Can I use a pizza box for the cardboard? A: Yes. Make sure you order an extra large. I'm not sure I'd want to stick my phone into a soaked pizza box though.
13.
▲
by
mihai_ionic
12y ago
Boost has a neat library that does this and more: http://www.boost.org/doc/libs/release/libs/units/
14.
▲
by
mihai_ionic
12y ago
I have come to really dislike people who think it's a good idea to define macros such as min, max, major and minor in system headers. * http://msdn.microsoft.com/en-us/library/windows/desktop/dd75...
15.
▲
by
mihai_ionic
12y ago
Meanwhile, in C++14: auto min = [] (auto a, auto b) { return a < b ? a : b; };
16.
▲
by
mihai_ionic
12y ago
Y U break my back button? Seriously hate sites that do that.
17.
▲
by
mihai_ionic
12y ago
I find DirectWrite to be a step down from GDI in terms of crispness and readability, and I don't think I'm alone. Infinality on Linux can look great on the other hand, if configured properly.
18.
▲
by
mihai_ionic
12y ago
So no one can do a MITM attack and change the SHA1 checksum, OpenPGP Key ID, file lengths and code signing certificate fingerprints as you download package-integrity.html?
19.
▲
NBC News Edward Snowden Interview
(youtube.com)
8 points
by
mihai_ionic
12y ago
|
0 comments
20.
▲
by
mihai_ionic
12y ago
I just made a PayPal account just the other day. Now I'm really glad that I used `makepasswd --chars 20`, even though I had to paste the password into the input element's value with Inspect Element.
21.
▲
by
mihai_ionic
12y ago
I've dropped her a message (kcushing at google dot com) and I suggest you do the same.
22.
▲
by
mihai_ionic
12y ago
It also doesn't fit their app store policy at all, particularly in light of the recent takedowns aimed at guides or utilities for PC games in absence of any copyright claims.
23.
▲
by
mihai_ionic
12y ago
Their customer support may be bad, but their developer support is far worse. If your application is ever suspended from Google Play, you will be greeted with a message directing you to an appeal form which lets you enter a maximum of 1000 c
24.
▲
OpenSSL.org is affected by the OpenSSL Heartbleed bug
(filippo.io)
5 points
by
mihai_ionic
12y ago
|
1 comments
25.
▲
by
mihai_ionic
13y ago
There's no such thing as "registering a copyright."
26.
▲
by
mihai_ionic
13y ago
I would't really count time passing as an operation, since other programs are able to run during that time.
27.
▲
by
mihai_ionic
13y ago
And it even has the best time bound you can get for a comparison based sort. Most OS schedulers would use a heap/priority queue internally for timers, which makes sleep sort O(n log n).
28.
▲
by
mihai_ionic
13y ago
Thanks. The ranking algorithm seems to be acting in strange ways. The top submission only shows up on the third page, which explains how I missed it.
29.
▲
Federal judge rules NSA phone surveillance legal
(boston.com)
3 points
by
mihai_ionic
13y ago
|
3 comments
30.
▲
by
mihai_ionic
13y ago
Right. And even then, if you open a resource intensive page in Chrome, it will often kill processes that have ongoing notifications.
More ›