91 comments

[ 3.4 ms ] story [ 132 ms ] thread
I love tools like this. Thanks for sharing it. It's nice to go through a process like that and feel extra-good about your decision. :-)

It reminds me of a tool I used some time ago, the "Oracle" script at SimilarMinds.com. One difference is that the Oracle script used forced-choice based on baked-in global factors, even including how much a decision would affect your social standing, for example.

Thanks for sharing! I'm glad it's useful :) I originally made it because I wasn't feeling confident in a direction I was about to take in life. I wrote it all down in a spreadsheet and actually changed my mind after doing a similar process!
That's super cool. A friend was just asking me "how do you use numbers to weigh decisions again" and we laughed at the synchronicity when I sent her your link and she read the title. Thanks again.
I don't know why, but I was expecting this to just take a list of choices and decide on one randomly, with the idea that sometimes making a choice is more important than what choice is made. I know there are times where I've gotten stuck on something because I couldn't make my mind up on retrospectively, relatively unimportant decisions.

Thanks for sharing.

Tip: if you input something and press "enter", it will reset the form. You should attach the event listener to the form's onSubmit, and not to the button's onClick.
Ah, I thought it was broken.
fixed :) thanks for the feedback!
It'd also be nice if after submitting for one and selecting enter that it autofocuses on the input for the next question so you can start typing without clicking on it.
No problem! You also have a label repeated, which makes the first item to select the second radio-button:

    <input type="radio" id="factor-weight-4" name="score" value="4">
    <label for="factor-weight-3">super important</label>
    <br>
    <input type="radio" id="factor-weight-3" name="score" value="3">
    <label for="factor-weight-3">pretty important</label>
Is there some book of best web dev practices where stuff like this is written down?
Not that granular yet, but I’ve been capturing user story/ acceptance criteria level best practices. Currently at ~800 B2B focused modular “specs” that find the middle ground between devs and non technical team members.

My email in profile if you’d like to check it out.

Not that I know of. I learned through years of practice and reading hundreds of varied blog posts. If you find a book or resource like that please ping me.
You might notice by just using the web, or you might notice it when testing the form on one of your first assignments, that you can submit a form by pressing enter in an input box.

So then you might look up the documentation for the submit event on forms: https://html.spec.whatwg.org/multipage/form-control-infrastr...

And then realize that adding the onclick handler on the submit button handles one use case (clicking the button), but a more general solution would be to add the onclick handlers on the form itself.

Then maybe you start thinking, huh, what happens when someone tabs to a button and presses enter, does the onclick handler work there? And so on and so on...

So the answer for where it's written down, it's in the documentation. But most people these days can't be bothered with things like reading documentation and textbooks and reference manuals, so, uh, I guess you just need to have a little bit of experience combined with an attention to detail?

Not that I know of. Just something you learn from experience or your users will tell you quickly during validation.
best way to learn is to build.
or better yet, don't even use <form> for things that don't submit a traditional old-style POST/GET to a server. if you're handling all your logic in javascript on the client side, OR doing everything with AJAJ [0], <form> is unnecessary and you can handle things with button.onClick -- you get to program it just like any other GUI.

[0] most people use JSON not XML so i prefer to call it AJAJ not AJAX

There are some downsides to that approach. The <form> element has semantic meaning which is lost if it's missing. Screen readers for blind people, browser features such as form auto-fill etc. might not work as expected without this semantic information.

Most web applications I have seen opt to use the form element. The default form browser behaviour can be suppressed easily.

That's pretty cool and a really intuitive way of decision making. I think I like that style of reasoning slightly better than a good old fashioned pro and cons list, forcing you to rank is really helpful. Cool stuff!
This is pretty awesome. I just used this to help consider what to get my mom for mother's day. I think the most value comes from actually enumerating your options and considering what's important. It's interesting to get the algorithm's perspective, but I think I settled on a different choice after working through it.
Nice tool!

It would be nice to be able to go back and fix mistakes. For instance, on the first pass after entering something to consider I pressed Enter. I didn't even notice the "important" radio button, so the first choice got "somewhat important". It was actually super important and there was seemingly no way to fix it.

Thanks for this feedback! This seems like a great ability to have
My need for the back button was that I clicked "that's enough to consider" when I was done entering things, and immediately realized you wanted me to click "submit", then "that's enough to consider". So the last choice I entered didn't get considered.
My Palo Alto firewall reports:

Web Page Blocked

Access to the web page you were trying to visit has been blocked in accordance with company policy. Please contact your system administrator if you believe this is in error.

URL: helpmedecideplease.com/

Category: gambling

Here’s my output for trying to figure out what I am going to do for dinner:

    1. pizza: 54
    2. beer: 54
    3. italian: 45
    4. home cooked food: 44
    5. thai: 42
    6. mexican: 34
It’s fair to say the quality of the decisions this tool will enable is bounded by the ability of the user to make good decisions :-)
I'd be curious to see your criteria. That seems like the biggest determinant of a quality decision, along with the ability to honestly evaluate them.
Why is food made by strangers even an option in this pandemic?

It's a serious question. Unless the "staying alive" criterion has no value to you.

So far there is no evidence of transmission via food delivery.
I absolutely thought I could enter a question and have the site's users decide for me like a strawpoll.

I can't even decide what to put in the choices list. Man.

Perhaps it's an object lesson in existential philosophy?
Legit was what I was thinking. I want to make this.
I was thinking about making something like this, but I never actually started to seriously evaluate the idea. I guess it would be cool to collaborate with other people on this project though.
> I can't even decide what to put in the choices list. Man.

"what question should I ask? and what should the answers be?"

I know of someone who built something kind of similar [0]. (I’m not affiliated in any way).

[0] - http://www.hichapp.com/

Awkward name, and it would be nice to have a web-interface, but cool!
I also had the same assumption. Realizing it's single player, I find the administration part not worth it, it can be done in head or paper.
That was easy, I've put "a, b, and c". As for importance options I've got away with "x, y and z".
Anyone remember letsimondecide.com? Early 2010's, it did this and was aiming to be acquired like hunch.com was apparently (I hadn't heard of hunch.com). I think it never happened and it eventually went inactive.
I use an IRC bot - you just say ".choose A B C" and it prints out a random choice.
I thought it would be a site where you ask a question and then before you submit you have to answer someone else's. Crowd choice.
This is cool. It looks like this is a program for creating and evaluating a decision matrix: https://en.wikipedia.org/wiki/Decision_matrix. This got me thinking about an idea for a similar tool, but catered to a specific domain, one that can be populated with data to help make the decision -- e.g., where to live, where to go to dinner, what kind of car to buy, etc. A decision where the options have known important criteria and quantifiable values, e.g. a decision about where to live has criteria like cost of living, crime rate, walk score, etc. Essentially, it would be like criteria filters you commonly see on shopping websites except it would let you rank those filtering criteria as well.
I just stumbled upon a product that helps solve decision making problems while looking for info on the "Rete algorithm" [1].

On that note, it is pretty cool that you made a V1 and just released it. If it was me I would get lost in a bread first search of algorithms and prior art and whatnot :-p

1: https://www.sparklinglogic.com/smarts-decision-manager/

Rete algorithm - famous in business rules engines, forward chaining, backward chaining, inference engines - all fun topics in the field of expert systems. Much of it, however, left behind in the pursuit of more complex machine learning and AI approaches, as of late.

I did a lot of work/research in this area while working for a fraud detection company.

You might be interested in an old public domain tool called CLIPS that NASA released many years ago [1]. It is a lot of fun and amazingly powerful, albeit, I don’t hear much about it anymore. Still works though!

[1] http://www.clipsrules.net/

Cool prototype !

I've been pondering the idea if software can help us to make decisions in the way you have shown here for a while. If you (or anyone else) would like to have an exchange about it, my email is in my profile.

Whoa this is fantastic.

Another idea: it might be too touchy of a subject but a little tool that helps resolve conflict between two parties is something I’ve always wanted to see.

Just a simple tool to help move forward on a decision. Objectivity-as-a-service for consensus building (though whether consensus building is always the right tool is a separate debate.)

In fact after typing all this I feel like Help Me Decide Please could just as easily be used by two people, as an effective tool. Help us decide! I’ll try and see how it works!

Reminds me of /r/amitheasshole - can someone in an emotionally convoluted/charged situation figure out if they are objectively (by judgment of strangers) being an ass. Obviously there is a ton of bias based on how the OP presents a situation, but the idea of getting an outside opinion has already proved popular.
(comment deleted)
This would've been great a few days ago when I was making officer decisions for a student club of mine. I had it narrowed down to approximately 10 candidates but the process after that was painful due to the balancing of factors like technical expertise, leadership experience, free time, etc.
Seems pretty cool. I originally thought from the name that this would post the questions and then let users vote on them, but this is well-made.

As a note, your label for the highest level of importance should be for="factor-weight-4", currently two labels point at for="factor-weight-3". This means the wrong radio button is selected if you click that label. But props to you for actually using labels and inputs properly so you don't have to try to click on a tiny radio button.

I'm sorry to say this, but, this is not so very good. Having worked with other decision methods such as TOPSIS, AHP, and ANP, and note that those are the simplest and most commented on (and not about its features, but about its shortcomings), in your analysis/software, it is impossible to compare choices among them, which is a huge hindrance to the method.
(comment deleted)
Is there a good introduction to decision methods on general like the ones you describe? I'm very interested in this.
Yes. I like this paper (https://www.worldscientific.com/doi/abs/10.1142/S02196220185...) because it explains in general terms what AHP (Analytic Hierarchy Process) is and related tools. In Google Scholar there are pointers to other researchers, for AHP the most cited one is Thomas Saaty - https://scholar.google.com.br/scholar?hl=en&as_sdt=0%2C5&q=s...

Remember once again, AHP/ANP are not the most 'useful' ones, having advantages and drawbacks, but they are a good starting point on Multicriteria Decision Methods (MCDM).

You may want to check MAUT/MAVT, PROMETHEE, VIKOR, Best Worst Method, and TOPSIS (this one is quite simple to understand and use).

I would add one more step at the very end.. a feedback/rating question - either simply “Did this help you decide?” Yes or no, and “was it a good/right decision?” Yes or no. “Which one did you ultimately decide”? Or you could add likert scale rating... but I like that you kept the tool simple.

I could see this being mined/modeled later using machine learning, natural language, market basket analysis, a whole bunch of things, to try to help people make decisions. You must have thought about those possibilities.

It’s a cool tool/idea!

Since there is nothing in the "about" page, I looked at your HN profile. But it only carries a link to LinkedIn which only shows me a login page.

A link to a personal website or Twitter profile would be nice.

Explain to me how something like this ends up so highly upvoted.
People need help making decisions \(•◡•)/
Have you read Thinking, Fast and Slow by Daniel Kahneman? They gave him a Nobel for tackling decision problems. I guess that's one important problem to humanity in general.
I put in “where should I run?” just to get past that first stage to see what would happen next and ended up going through the whole process. Really simple, kinda fun, thanks!
I built a popular tool in the same niche [1]. I think your over complicating it. I got decision fatigue just trying to test it.

[1] https://easydecisionmaker.com/

I'd rather use your tool to decide where to go to lunch. I'd rather use OP's tool to decide which city to move to.
It's just random right?

Funny I did basically the same app as everyone for the ever common problem of deciding where to go to lunch at work.

https://ploufplouf.funkybits.fr

It was a long time ago to try AngularJS (the new hotness of 2012), Less, and eventually Redis.