News for hackers. Stuff that matters.
Re:Ask HN: What simple web apps do you wish existed? Seeking... by edmundsauto on Sunday March 05, 2023 @02:50PM (#35033228)
An interface to preferentially compare and choose between 2 objects, using a Tinder like interface (swipe left/right mechanics). Every year I do a stack ranking of baseball players for my fantasy league. If I had this interface, I could easily setup an ELO comparison function to create my complete list out of a series of easier comparisons.

I have at times also wished I had this for just about any sort of data tagging. Give it an array of json objects, it displays the data and then lets you swipe super quickly through all the objects in the array, semi-randomly choosing which objects to compare. Would need to write the data out as well - that's the product.

This is probably worth a couple hundred bucks to me if anyone wants to build it and open source under a commercial-reuse allowed license. Every year I spend dozens of hours doing this and don't feel like I have done a great job of making the correct comparisons.

Re:Ask HN: What simple web apps do you wish existed? Seeking... by dieselgate on Sunday March 05, 2023 @02:55PM (#35033278)
When you mention “objects” do you mean a literal Noun type object? Or purely data objext
Re:Ask HN: What simple web apps do you wish existed? Seeking... by victorbjorklund on Sunday March 05, 2023 @03:05PM (#35033401)
That is a pretty cool idea.
Re:Ask HN: What simple web apps do you wish existed? Seeking... by zainhoda on Sunday March 05, 2023 @04:07PM (#35033935)
This is a great idea! -- I'm going to take a stab at implementing this tonight
Re:Ask HN: What simple web apps do you wish existed? Seeking... by enos_feedler on Sunday March 05, 2023 @11:24PM (#35037498)
I need this too for sorting through all my credit card transactions! Swipe left for business and right for personal
Re:Ask HN: What simple web apps do you wish existed? Seeking... by sussmannbaka on Monday March 06, 2023 @06:36AM (#35039837)
Check out https://github.com/antialiasis/favorite-picker The favorite Pokémon picker is based on this and I have used it (and similar ones, based on Tōhōsort) to do similar sorting.
Re:Ask HN: What simple web apps do you wish existed? Seeking... by ashishsingal on Monday March 06, 2023 @07:14AM (#35040116)
any luck on implementing this one? would be cool to see if pycob can do it.
Re:Ask HN: What simple web apps do you wish existed? Seeking... by zainhoda on Monday March 06, 2023 @01:21PM (#35045191)
How's this?

The home page is a setup where you setup your dataframe. If you already have some csv or something, you can read that rather than getting user input.

The app will randomly select 2 rows of the dataframe and display them as side-by-side VS cards. You then pick the winner from the two. Then the app will repeat random selection/winner as many times as you want.

There's a results page that shows the ELO ranking of all the "players" as well as the history of all the "games" between the players.

I implemented not with a "swipe" interface but just with side-by-side cards and you click on one. It wasn't clear to me how swiping would work when you're choosing a winner between 2 objects rather than making a yes/no decision. If you have an idea for how swipe would be useful, I'm all ears.

Live App: https://compare-and-rank.pycob.app/

Source Code: https://github.com/pycob/sample-apps/blob/main/compare-and-r...

Re:Ask HN: What simple web apps do you wish existed? Seeking... by edmundsauto on Friday March 10, 2023 @11:17PM (#35105272)
This looks pretty awesome! I am seeing an error when I try to rank things - is something temporarily broken?
Re:Ask HN: What simple web apps do you wish existed? Seeking... by zainhoda on Sunday March 12, 2023 @04:04PM (#35125487)
I don’t believe you should be getting an error. Could you share what you’re seeing? Feel free to submit a GitHub issue or email me at my username at gmail