3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions
comment 11y ago · link · parent
http://www.the-scientist.com/?articles.view/articleNo/42273/...
334.
Study shows humans are evolving faster than previously thought(theguardian.com ↗)
3 points · by voidlogic · 11y ago · discuss
comment 11y ago · link · parent
I would have never believed this, but after I started on a ketogenic diet I realized my stress/anxiety was greatly reduced. (Beware: antidote, n=1, etc).
>>Exercise
I find the days I feel "too busy" (aka really just stressed) for a walk are the days I need it most. I seldom find a 45 min walk to be a waste of time in retrospect.
comment 11y ago · link · parent
Edit: As I mentioned on another follow up, you may need to vary on your checksum header to play nice with proxy caches, etc. Or mark your responses as uncachable.
comment 11y ago · link · parent
GETs can have bodies--- its just that some people who write software forget this.
A simple solution is to put a hash or maybe even just a body content length in the query string or a header so the server can make sure the body made it to it. If the the body doesn't make it, then it can inform the client retry with another less ideal HTTP method.
comment 11y ago · link · parent
comment 11y ago · link · parent
There is actually an OS I have used with a similar meaning name however: XINU ("Xinu Is Not Unix"): http://en.wikipedia.org/wiki/Xinu
comment 11y ago · link · parent
All true, but the discussion here is around the effectiveness of the U.S. military and you are referring to the political failure to build a strong enough post-US occupation Iraq.
> Afghanistan is also sectarian. Neither are anything we'd recognize as free and stable democracies.
I don't think the expectation of western-style democracies coming into existence is reasonable in that part of the world. We can all wish for it... But that doesn't mean the U.S. military (pre-whithdrawl) wasn't effective in effecting regime change and maintaining control.
>Our wars there were brutal, protracted, expensive, and ultimately didn't work.
brutal, protracted, expensive- yes, yes, yes ultimately didn't work- sure, but I would argue that was not a military failure and this discussion is about the military performance.
A better article would have been "The US sucks at post-WWII nation building"...
comment 11y ago · link · parent
But I think the premise: "the World’s Biggest Military Keeps Losing Wars", is wrong.
1. Conventional forces have trouble wining asymmetrical conflicts unless they are allowed to wage total war (which is usually precluded by modern political/moral concerns). Nothing new here- the Romans had experience with this.
1.A Note the single "win" on the list of post-Korea conflicts was the first Gulf War, a conventional conflict.
1.B It is arguable that the U.S. is actually better than most other conventional militaries at asymmetrical warfare: http://www.warriorlodge.com/blogs/news/16298760-a-french-sol..., however that may just be a product of being better at conventional warfare improving overall fitness.
2. "Winning" define this? Winning means very different things in total war vs. occupation/garrison/nation building actions. While its fair to say the U.S. lost Vietnam, I think its fair to say the U.S. won in Iraq and Afghanistan as they are now governed by friendly democracies... Military action is just a way of attempting to physically impose political will- If a nation's military helps the leaders reach their goals, it won.
comment 11y ago · link · parent
https://go.googlesource.com/go/+/b3be360f16c44d21b2594d06e8d...
comment 11y ago · link · parent
Garbage never generated is garbage never collected. Large enterprise Java apps often still have GC issues despite very advanced GCs to choose from. Also Go's GC is maturing slower than its escape analysis and its object pool (sync.Pool). Go is younger so its GC is weak compared to Java- but it does a good job using the stack and offers a state of the art object pool with thread local caching.
>It's very expensive to do EA well (O(n^3) or O(n^6) where n is the depth of the call graph). You can do it cheaper in a JIT that has on-stack-replacement
Isn't this apples to oranges since one of these is a compile time expense and the other is a run time expense?
comment 11y ago · link · parent
They do claim this:
a large portion of the uploaded code is copyrighted by the University of Illinois. Therefore, the repositories identified below constitute a violation of U.S. Copyright laws, in particular section(s) 1201(a)(2) and/or 1201(b)(1) of Title 17 of the United States Code, commonly referred to as the Digital Millennium Copyright Act, or "DMCA".
What do you think about that?
comment 11y ago · link · parent
Barring major implementation mistakes this should be self-evident, but you could easily write some benchmarks to verify. Its worth noting that if the Java GC was good enough people would not bother to write object pools in Java- but they do. And Go has a very advanced GC/mutliprocessor aware object pool implementation built in its stdlib.
In an typical object pool only allocation up to the peak concurrent demand for the given object type will ever be allocated and the kicker is that allocation will only happen once. Adding thread-local caching means that that will scale well on multiprocessor systems.
TL;DR: A system that does not generate garbage is going to be faster than a system that does. My argument is that effective use of a good object pool implementation in Go is faster than even a more advanced garbage collector would be.
comment 11y ago · link · parent
Its also worth mentioning using a custom allocator + mmap is possible in Go if you really needed it.
Go is also better than Java about using stack allocation for objects.
comment 11y ago · link · parent
Privately held corporations can be very large too. Since there are fewer captains and stakeholders I would argue that at the same given size privately held corporations are more stable.
comment 11y ago · link · parent
True- BUT many of those things mentioned to be thought to improve Testosterone above are also known to reduce risks that are associated with Testosterone itself (heart disease, etc). So there may be some net balancing at play here?
>Don't succumb to the naturalistic fallacy. The body doesn't care where it gets its chemicals from.
This is true in the immediate, but consuming things your body synthesizes (ex. testosterone, cholesterol) will often reduce the rate at which your body synthesizes it... Your body is a complex system with many feedback loops.