Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xroche
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
151.
▲
by
xroche
12y ago
Github search is fine, do not get me wrong. But this is like telling someone lamenting on the hypothetical end of Google search: "Just use the search function in Facebook, you don't need more"
152.
▲
by
xroche
12y ago
RIP Google Code Search, aka the best code search ever. No credible competitor has yet emerged, and this is a real loss for all programmers: no more easy searching for sample code in obscure WIN32 Api, easy searching for arch-specific POSIX
153.
▲
by
xroche
12y ago
For those interested, here's a very nice presentation on kGraft by Jiri Slaby (Suse): https://kernel-recipes.org/fr/2014/patcher-le-noyau-en-temps... Note: the page is in French, but both the presentation a
154.
▲
by
xroche
12y ago
Poor vocabulary, most probably, not being a native speaker. But I wanted to emphasize the fact that it was not just a stupid decision, but a well-documented stupid decision. It takes few minutes on google to learn that it is detrimental to
155.
▲
by
xroche
12y ago
Ah, political correctness...
156.
▲
by
xroche
12y ago
> school systems are buying millions of tablets and laptops for classroom use Taking notes on a laptop has been found to be ineffective compared to writing: http://www.scientificamerican.com/article/a-learning-secret
157.
▲
by
xroche
12y ago
This is what is supposed to be true in Europe: software "as such" can not be patented. The issue we have is that corrupted patent organizations such as the EPO twisted the "as such" so much that they managed to reverse t
158.
▲
by
xroche
12y ago
"Crappy" in the sense that every piece of network has its own file format, which is parsed by different tools. But the worst part is probably init scripts. $ wc -l /etc/init.d/smartd 653 /etc/init.d/s
159.
▲
by
xroche
12y ago
A "fork", without any visible activity for months.
160.
▲
by
xroche
12y ago
So quickly ? This non-issue has been pending for months now, mainly because of non-technical, ridiculous (ie. religious war with sysv) reasons, and we will at last go forward with it. Yes, it is far from being perfect (I personally never re
161.
▲
by
xroche
12y ago
And sometimes the crapware is bundled with legit free/open-source softwares :( (I ranted about that some time ago: http://blog.httrack.com/blog/2013/11/24/i-do-not-want-your-s... )
162.
▲
by
xroche
12y ago
No more integrated lastfm suggestions ? This sucks :(
163.
▲
by
xroche
12y ago
No, it can not, at least on non-obsolete GLIBC. http://fossies.org/linux/glibc/nptl/pthread_mutex_init.c#l_4...
164.
▲
by
xroche
12y ago
On linux, pthread_mutex_init always returns 0. But yes, according to POSIX, the function might fail (the common response is generally to assert() in this case)
165.
▲
by
xroche
12y ago
You need to understand one thing: you are wrong. Linus Torvalds is not a bully. He's in charge of one of the biggest and most successful project out there. And this project is open-source, and anyone can contribute to it. Anyone. Even
166.
▲
by
xroche
12y ago
Why would you want to zero a buffer ? Because it may contain sensitive information, I presume. If you don't have additional properties w.r.t allocated memory, what prevent a system with high load to temporarily put the given memory blo
167.
▲
by
xroche
12y ago
Note: for those interested, MCS locks and qspinlocks are discussed in this fine article: http://lwn.net/Articles/590243/
168.
▲
by
xroche
12y ago
The STL is not optimized at all in this case, this is precisely the point. And like it or not, but Facebook has talented engineers to do that.
169.
▲
by
xroche
12y ago
I'm skeptical with the ability to have movable objects with just a dedicated allocator. How do you handle that with only allocate() and deallocate() ? Edit² @bnegreve: but how do you handle moved blocks then ? And this would involve co
170.
▲
by
xroche
12y ago
No. Modern realloc are efficient, when moving large memory blocks, because they rely on the kernel ability to quickly relocate memory regions without involving memcpy() (through mremap() on Linux). Edit: shamelessly citing my blog entry on
171.
▲
by
xroche
12y ago
How realloc is insecure ? The only lacking construct is a "moved" operator, which would re-assign pointer members, for example, when moving this to another location.
172.
▲
by
xroche
12y ago
Yep, this is my biggest issue with C++: you now have lambdas functions and an insane template spec, but you just can not "realloc" a new[] array. Guys, seriously ?
173.
▲
by
xroche
12y ago
What about DANE ( http://en.wikipedia.org/wiki/DNS-based_Authentication_of_Nam... ) ?
174.
▲
by
xroche
12y ago
Can confirm - "Free Wifi" (from ISP Free) is pretty useful, because you can find hostspots almost everywhere. (Too bad EAP-SIM isn't working on Android without rooting the device, sheesh :p)
175.
▲
by
xroche
12y ago
Exactly. They have incentive in accepting any possible ridiculous patent (money) and they do not take any legal risks accepting these bogus patents (can you sue them if you can prove the patent was bogus ? short answer: NO). Why on earth
176.
▲
by
xroche
12y ago
I'm still puzzled that people are still using companies like Godaddy, Network Solutions etc.. which collect more horror stories than any other ones. Are customers really that stupid ?
177.
▲
by
xroche
13y ago
Conspiracy theorists do not need evidences, only feelings.
178.
▲
by
xroche
13y ago
Seconded, too. All my domains (httrack.com) have been registered since 2000 with us, and they are totally trustworthy. There are cheapest places, but probably not as safe...
179.
▲
by
xroche
13y ago
Yes and no. The real error here would be to realloc without any geometric progression IMHO - ie. reallocating one more byte each time, which would behave well on Linux (except the libc call cost of course) but not on other implementations (
180.
▲
by
xroche
13y ago
I fixed the double free. I must admit that the code was typed as I wrote the blog entry, and is horribly wrong :)
More ›