Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
eis
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
541.
▲
by
eis
15y ago
If you're looking for a cutting-edge non-cryptographic hash function, then I'd suggest using MurmurHash 3 created by Austin Appleby. Excellent performance with great collision properties. http://code.google.com/p/smhasher/ or more specifi
542.
▲
by
eis
15y ago
You are right, it's not fragmentation but resource reclamation. I've added a note to the initial post. I'm not sure though that the VM system can reclaim memory in the heap allocated with sbrk(). At least I've never seen that before. Or do
543.
▲
by
eis
15y ago
Actually also with a 64 bit address space, you can easily get the same address if the allocator returns a cached block. The problem with sbrk() is that if you allocate a few megabytes of memory + a tiny chunk, even after freeing everything
544.
▲
by
eis
15y ago
Without having looked at OpenBSD's implementation, just unmapping free pages does not mean you catch all writes to free()d memory. If a block is smaller than the pagesize, which many times is the case, a page will likely still hold other ob
545.
▲
by
eis
15y ago
I couldn't really follow your example. I can't see how this solves race conditions where multiple threads can intermingle those instructions at will. That's the basic problem with lock-free algorithms. Did you maybe suggest to add one more
546.
▲
by
eis
15y ago
You can still not read or write to more than 2 pointers atomically on x86_64 so my question remains.
547.
▲
by
eis
15y ago
How can you make sure there are no writes to the memory you are reading from?
548.
▲
by
eis
15y ago
Since you can't do all reads in one atomic instruction and you also need to make it atomic with the write (CAS), wouldn't that still require a lock for the whole operation?
549.
▲
by
eis
15y ago
I don't think so. Does Cassandra provide guarantees regarding the ordering of queries? Cause I couldn't see that. Another problem I can see is when you write to 3 nodes, have W=2 and a write succeeds only one one node. Then later on through
550.
▲
by
eis
15y ago
You are right, very good points. So maybe I was wrong but I dealt with open source earlier than the OSI came up with the definition. What they call "Open Source" is more "Free (as in freedom, libre) Software" to me. I guess my definition is
551.
▲
by
eis
15y ago
If something is open source you can't complain if someone sells it. Obviously if the software is open source, everyone who buys a copy is allowed to sell the software themselves and they don't have to give the original author any money
552.
▲
by
eis
15y ago
No, as far as I understand the situation, the password that got leaked was for the whole cables archive and not for the insurance file. The insurance file was not released because Wikileaks is saying they are being blackmailed by a big bank
553.
▲
by
eis
15y ago
I hope they rename it for the spanish market: http://www.wordmagicsoft.com/dictionary/es-en/lumia.php
554.
▲
by
eis
15y ago
I am convinced the economic climate plays at least some part into it. How big of a part, I am not sure. But looking at the history of all kinds of countries, you can see that when there are issues like high unemployment rate, then the senti
555.
▲
by
eis
15y ago
I agree it was worded a bit harshly but on the other hand, that dream I had honestly is gone. So it's not hyperbolic, just maybe not worded perfectly I admit. Some people may understand my initial comment as bashing against the USA. I want
556.
▲
by
eis
15y ago
As a kid I always wanted to go to the USA, maybe even live there. So many things to see, the business opportunities and the propagated freedom were very attractive. During the last decade though, the USA have done a fantastic job of eradica
557.
▲
by
eis
15y ago
Memory leaks are not good, ever. The author just has a wrong definition of memory leak. A memory leak is any memory that is allocated, but never freed This is not a memory leak in most people's books. A real memory leak is memory tha
558.
▲
by
eis
15y ago
Yea. So they got it from people who believe it might be the federal trojan. No proof. I'm not saying it unlikely to be the federal trojan but if they had real proof, that would be so much bigger and could really damage the surveillance
559.
▲
by
eis
15y ago
I can't follow your logic. I know about the discussion and the statistic reports but how does that proof that this every-day-trojan actually is controlled by the government?
560.
▲
by
eis
15y ago
I wonder how they were able to make sure that it's the german government behind this. I've read the whole analysis but nothing really hinted at it. Binaries not signed + no knowledge of how the infection is done + server in the USA which th
561.
▲
by
eis
15y ago
The real reason will be that V8 does not support co-routines.
562.
▲
by
eis
15y ago
Absolutely. You can't avoid people making mistakes - it's human. But software that does not do propper logging exactly leads to spending time on debugging that could have been avoided. It's saving time by not adding logging that causes wast
563.
▲
by
eis
15y ago
DTrace is a powerfull tool, no question. And the easy to use web interface makes SmartOS pretty compelling to try out. However all this debugging could have been avoided if the webserver logged in its error log that the socket limit has bee
564.
▲
by
eis
15y ago
Ah, I've been missing the functionality to auto-complete symbols from other files in the project (or libs). Mind sharing your work?
565.
▲
by
eis
15y ago
Same here, my CPU went to 75°C and my fan ran crazy just by going to that page on my laptop. I will burst out in joy the day flash is finally abandoned. Unfortunately this prevented me from checking the content as it's just too annoying.
566.
▲
by
eis
15y ago
I doubt non-blocking anything has guaranteed delivery on localhost if you don't account for full buffers. As long as there is a buffer, sure, why would UDP lose packets on localhost? In order to not block your program, you'll have to do it
567.
▲
Cracking OSX Lion passwords
(defenceindepth.net)
281 points
by
eis
15y ago
|
79 comments
568.
▲
by
eis
15y ago
You can always redirect stdout/stderr to a file, e.g. nohup someapp > someapp.log
569.
▲
by
eis
15y ago
Corporations operating in the EU are subject to EU data protection laws. It does not matter if the PATRIOT Act forces them to hand this data over. They are breaking the law in the EU. Google had two choices: 1. Don't hand over the data
570.
▲
by
eis
15y ago
Pretty? Sorry but it looks more like one of those tag clouds. A big mess in my opinion.
More ›