Better HN
topnewbestaskshowjobs
Log inSign up

voidlogic

3,297 karma · joined Nov 15, 2012 (14y ago) · 1,171 submissions

Submissions

comment 10y ago · link · parent

>Go doesn't have the guts to replace Java, because of the hostile mindset of its community when it comes to writing reusable, general purpose libraries. the famous "you don't need that with Go" is something pushed by go maintainers themselves.

Go has a pretty comprehensive stdlib. And a huge and growing community of 3rd party libraries. I left .NET and Java for Go around 0.9 and since then I have seen Go flower into an ecosystem I am far more productive than. The Go devs have a bias against complexity, they hate Abstract Factory Factory Singletons :P, but that does have much impact on community developed libraries. The Go community does have a strong bias towards libraries and against frameworks, but IMHO, that is generally healthy. The only concrete example of what you are talking about is the current lack of generics support.

comment 10y ago · link · parent

Fair enough, I was comparing the application + runtime interaction, basically I, app behavior.

>Java creates a lot more garbage.

Very true, Go is great about keeping things on the stack.

Also sync.Pool helps a lot when used as needed.

comment 10y ago · link · parent

The Go 1.7 GC is already on par with most Java GCs and arguably better. Our Go projects with large heaps now have better pause times than the similar Java programs, all having tried many of the Java GCs...

comment 10y ago · link · parent

I hope this is true :)

Can you point me at a reference for this info?

comment 10y ago · link · parent

If you look at the studies she cites many (most that I spot checked) of them are using the formulation of ketogenic diet used to treat epileptics, and not the form that many people advocate as a life-style. Theis is esp. true of the ones that show negative health effects. These diets are low-carb, low-fiber, moderate fat and high protein.

The ketogenic diets that are proposed for use by normal people are low-carb, high-fiber, high-fat and moderate protein. So they have a fundamentally different macro-nutrient ratio and include a high volume of low-carb veggies. This formulations also minimize Omega-6 polyunsaturted fat, and many studies listed use that a primary calorie source (there is a depreciated view that this was a healthy fat source).

You can find many studies listed here: https://www.reddit.com/r/ketoscience

comment 10y ago · link · parent

That is so much bullshit.

1. Cite real studies, not paleomom

2. Cite studies that are based on the high-fat, moderate protein people who live a keto lifestyle eat, not the high protein diet used for epileptics

#1 is key because if you cite real studies we can talk specifics, all your sources are is paleomom's version of broscience. #2 is important because almost all the low-carb studies that show negative biomarkers are not the LCHF diets recommended by places like /r/keto and other mainstream keto sources.

comment 10y ago · link · parent

Agreed, humans and mice are very metabolicly different. For example, Ketosis* is a normal state of operation for humans, but a sign of sickness for mice.

*Ketosis: Creating ketone bodies from dietary fat, or if unavailable, body fat. In this mode the bodies energy needs are met by FFA (free fatty acids), ketones, and glucose (generated via gluconeogenesis non glucose substrates, including lactate, pyruvate, glycerol, and some amino acids). Human's ability to function well in this mode is why humans have zero essential (dietary) carbohydrate requirement; this would kill a mouse.

comment 10y ago · link · parent

>Most likely, Ethereum itself (the "engine") will be effectively error-free - probably as good as the Linux kernel - once it reaches 1.0.

"will be effectively error-free" != "probably as good as the Linux kernel", not even close :D

comment 10y ago · link · parent

>3. Go is not a good candidate for this universal runtime in 2016 due its lack of a mature optimization pipeline. Maybe in a few years, but in the meantime you'd be better off using HotSpot or .NET for this purpose.

Go 1.7 on amd64 is looking to be pretty competitive (ranging to better than) with HotSpot or .NET in micro-benchmarks. Most of this is due to the new SSA compiler back-end. "Years" might be a pessimistic appraisal.

comment 10y ago · link · parent

>And as an aside: in no way did I end up with the brain damage Dijkstra would have predicted

FWIW QBASIC is pretty advanced compared the the BASIC Dijkstra's comment was referring too.

comment 10y ago · link · parent

>I thought the Core2 chips were actually multiple single-core processors on a single slab, which would make that true of all Core2 machines (not just Xeons)

Correct.

comment 10y ago · link · parent

> A few generations back there were a couple of multi-socket-single-memory-domain designs.

Core2Quad/Duo based Xeons, P4s, Athlon MP, etc

comment 10y ago · link · parent

> it's just saying that our understanding is factually incorrect.

There are many different views on animals currently, I personally think we don't have anything they don't just more of it- more complexity and nuance. This gap exists between any two species being compared (human vs clam, human vs dog, dog vs clam).

I'd like to believe that most atheists with some background knowledge in evolutionary biology would agree with me. I also think that different animals have very different levels of spatial reasoning, emotional, social intelligence, etc. Its multidimensional.

In short I don't think its fair to assume all people have a one dimensional, human vs animal POV. Plenty of people consider humans to just be other animals.

For example say my border collie can reason about as well as a 2 year old, perhaps he has the emotional intelligence of a 6 year old.

comment 10y ago · link · parent

Does Bremermann's limit account for quantum computers?

comment 10y ago · link · parent

This is just classic karma mongering by running Google for other people and posting the result. So no prob. not necessary.

But it can be helpful for topics with ambiguous acronyms or tech. names (Apple) Swift vs. (OpenStack) Swift, for example.

comment 10y ago · link · parent

https://en.wikipedia.org/wiki/Duck_typing#In_Go

comment 10y ago · link · parent

FWIW, duck-typing happens at runtime, what Go has is structural typing.

comment 10y ago · link · parent

>If that were true, the optimal solution is PRs with individual commits that all pass testing. I find it much easier to review a series of small changes for logical correctness than mashing them together into a single PR.

This is too myopic and explains how you can end up with good code, but bad architecture. A good review ensures both.

I like my PRs to be about high level goals, and I want them made of lots of commits I can review. The commits themselves can be the result of re-basing (which is fine within feature branches) and maybe not truly chronological.

comment 10y ago · link · parent

For everyday software this is fair, but is software made FOR DEVELOPERS. All things being equal between two solutions, I am going to take the one implemented technology I know and can hack on easier.

Also, many of the most popular solutions in this space are written in what some people would call "low performance languages", since the author here is using a "high performance language", its just good marketing too.

comment 10y ago · link · parent

>The analysis is broken by the focus on the top 1%. They should be looking at the top 0.1%, or smaller.

I think sometimes a picture really does say 1,000 words. This short info-graphic video makes is pretty clear how dramatically top heavy wealth distribution in the U.S. is:

https://youtu.be/QPKKQnijnsM

It also does a nice job of comparing the "ideal", to the "perception" to the actual.

comment 10y ago · link · parent

They are using it to create a pretty impressive system that provides oncology treatment recommendations. I saw a live demo.

comment 10y ago · link · parent

Right, I was speculating about public restrooms specifically.

comment 10y ago · link · parent

Men cycle through a bathroom much faster than women when urinating (ever been to a sports event?).

I imagine someone must have urination vs defecation stats. I'd like it be like 30:1 or something.

comment 10y ago · link · parent

Hammers make poor screw drivers. Mutexes, atomic integer operations, and channels (buffered and unbuffered) all have their place. You will think any of these is "badly implemented" if you choose the wrong tool for the job.

comment 10y ago · link · parent

Non-memory resources that exist within your application.

Example: Perhaps once no instances of an object are in use, you want to remove that object from persistent storage such as a DB.

comment 10y ago · link · parent

(4) Use LiteIDE, simple IDE written for Go.

comment 10y ago · link · parent

>so is debugging

Have you used delve? https://github.com/derekparker/delve

comment 10y ago · link · parent

True. To nitpick, technically Bernie isn't independent anymore.
1
678
40