Recent content by cronxeh

  1. cronxeh

    How can we feed 20 billion people

    This thread is not about science or engineering problems, those solutions have been found a long time ago. This is about human stupidity and error propagation.
  2. cronxeh

    What's wrong with my if-else statements in Python 3?

    One of his requirements was to "still have my code work properly." With his current approach it would not scale as more services are added to the dictionary, or if it is refactored to pull from a database. [Moderator's note: Off topic content deleted.]
  3. cronxeh

    What's wrong with my if-else statements in Python 3?

    def jaccard(a, b): union = list(set(a+b)) intersection = list(set(a) - (set(a) - set(b))) return float(len(intersection))/len(union) # dictionary assigns the cost for each service services = {'Oil change': 35, 'Tire rotation': 19, 'Car wash': 7...
  4. cronxeh

    What's wrong with my if-else statements in Python 3?

    [Moderator's note: off topic content deleted.] The right approach is to use a jaccard index to match input similarity to the list of keywords you have in your services, and return the highest matching value.
  5. cronxeh

    How can we feed 20 billion people

    The solution is not to feed 10 Billion people, its to have less than 7 Billion by 2050.
  6. cronxeh

    Can you fire Elon Musk as CEO?

    Digging tunnels under urban landscape has been proven to be an expensive, complex proposition. Space is easy - its empty. And while we are on the subject of space, both NASA and SpaceX are still using chemical rockets to go places, so we are back to amateur hour. Just because Musk is applying...
  7. cronxeh

    Can you fire Elon Musk as CEO?

    um http://lmgtfy.com/?q=7+Billion+-+(99.99999%+of+7+Billion) And correct interpretation is "I would rather hang out with Elon Musk of 700 other people I would rather hang out with than all other humans in the world"
  8. cronxeh

    Can you fire Elon Musk as CEO?

    You guys need to stop calling Musk an engineer or a scientist. He is neither. He is the introverted, slightly autistic version of Bill Nye, with ability to sell the idea to the right people at the right time. Some of the engineering ideas he has like digging tunnels are absolutely ridiculous. I...
  9. cronxeh

    Can you fire Elon Musk as CEO?

    When you have that many people on your board, reaching a consensus is a non-trivial matter, which makes it an ineffective board. An optimal number, just like an optimal number of direct reports to have for a manager, is 5-7. Currently there are 9 members, adding 2 more would make it a very...
  10. cronxeh

    When is ordering not optional in index creation?

    The indexes are per specific table. The “[unique]” in textbook means it’s optional and just adds more constraints. Whenever you see brackets that means it’s an optional specifier. You can create index without unique constraints and have duplicate entries like second example below in that book...
  11. cronxeh

    Can you fire Elon Musk as CEO?

    Tesla board already has 3 too many directors, adding 2 more would make it the most useless, divergent board in history of corporations.
  12. cronxeh

    When is ordering not optional in index creation?

    If you have data in your table (relations) that has duplicate entries and you try to create a unique index using that key, you should not be able to. For example you can have people with same names, dates of birth, address, department id, title, etc. Example where it will fail...
  13. cronxeh

    Can you fire Elon Musk as CEO?

    Aww this administration is adorable!
  14. cronxeh

    Engineering Mech Eng vs Physics (Material Science)

    To OP: You are not at a disadvantage, but you should start with the end in mind. Do you want to be an engineer your whole life? Consider a 20 year horizon, if you get a BS in ME by 30, then an MBA by 35, you should be fine for next 20+ years, financially speaking. Obviously friends don't let...
  15. cronxeh

    Comparison of high-level computer programming languages

    yes, but are they both equally imaginary?
Back
Top