HN user

raphael_kimmig

99 karma
Posts2
Comments19
View on HN

If you always start with heads the method works out. The key is that the first and the second toss need to be independent so that HT and TH have the same probability. If you influence the second toss based on the first one it no longer works.

No, this is not about the percentage of harvested material. I’m having trouble believing that you are having this exchange in good faith, so I’m gonna end this here.

And just so we don’t end this discussion with misinformation I’m gonna leave a final quote here:

About 85 percent of the world’s soybeans are processed, or "crushed," annually into soybean meal and oil. Approximately 98 percent of the soybean meal that is crushed is further processed into animal feed with the balance used to make soy flour and proteins.

https://web.archive.org/web/20170112075924/http://www.soyate...

Have a great day!

This isn't true at all. The majority of soy produced all over the world is feed grade soy which isn't destined for human consumption.

Other than that I just can't find any sources that corroborate what you say. Every single source I could find that has actual numbers contradicts your statement.

Take the US for example

Just over 70 percent of the soybeans grown in the United States are used for animal feed, with poultry being the number one livestock sector consuming soybeans, followed by hogs, dairy, beef and aquaculture. The second largest market for U.S. soybeans is for production of foods for human consumption, like salad oil or frying oil, which uses about 15 percent of U.S. soybeans. A distant third market for soybeans is biodiesel, using only about 5 percent of the U.S. soybean crop.

from https://www.usda.gov/sites/default/files/documents/coexisten...

There are definitely some things to be considered here, however I find that most people drastically overestimate the amount of work associated with hosting things.

Also they tend to underestimate the amount of work required when using managed solutions. For example, you'll certainly want to do secondary backups and test restores even for managed options.

It's interesting that the resulting go code has 43k lines of code, while the python client for raven only has 6k lines. I don't know whether they have equivalent feature sets - but I kind of wonder how it would have turned out if the go port would have been based on the python version.

It doesn’t have to be like this. Look up underwriting - by writing from below the text you can write with a relaxed grip without any fear of smudges.

If you haven’t tried them I’d suggest getting a set of panniers for grocery hauls (I’ve got the ortlieb backroller plus). We do most of our grocery shopping by bike and having panniers makes transporting larger quantities much easier.

I think that this is probably just your perception. I've been here on and off for at least a few years now and I don't think that the content has really changed.

When you read the guidelines[0] it is clear that basically anything can be discussed here, given the right angle.

anything that gratifies one's intellectual curiosity

Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon [emphasis mine]

[0] https://news.ycombinator.com/newsguidelines.html

Go error handling 12 years ago

This is really interesting to me because it shows what to think of the claim that explicit error handling makes go code more reliable than languages which use exceptions.

When using go I often get the feeling of doing something wrong. Because I know I'm supposed to "handle errors" but all I really want is the program to blow up and hand me a stack trace. This gives me the worst of both worlds, I have to manually trigger something that approaches the unhandled exception behavior of other languages while retaining the verbosity of explicit errors returns. Now it seems like I'm not the only person struggling with this.

Has anyone come up with a sane approach to that problem?

You can also do

    zip(arr[::3], arr[1::3], arr[2::3])
which is nearly as fast but doesn't work with iterators. If you want to use iterators you could also do
    zip(islice(arr, 0, None, 3), islice(arr, 1, None, 3), islice(arr, 2, None, 3))
which is a tad slower.

> Socialists refuse to admit that national socialism was actually an ideology from left

Sounds great if you don't let facts get in the way of your world view. Communists, socialists and social democrats (read: the left) where fighting the Nazis in the streets before Hitler even came to power, they were the ones who openly resisted in parliament and they were the first to be cast into concentration camps when Hitler came to power. All while the right readily embraced the Führer...

There is a neural net example benchmark in the topaz git repo. Don't know how representative that example is, but at least startup time shouldn't be dominating the results...

  $ ruby -v
  ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]
  $ ruby bench_neural_net.rb
  ruby bench_neural_net.rb  17,74s user 0,02s system 99% cpu 17,771 total

  $ bin/topaz bench_neural_net.rb
  bin/topaz bench_neural_net.rb  3,43s user 0,03s system 99% cpu 3,466 total