Hacker News new | past | comments | ask | show | jobs | submit login
GoodGuesser (twitter.com/lisperati)
114 points by tosh on April 6, 2022 | hide | past | favorite | 27 comments



As far as I understand (please correct me:)

Sometimes (quite often actually) there are functions that aren't trivial to implement but at the same time it is almost trivial to come up with concrete input/output pairs for them.

GoodGuesser lets you derive a function based on the examples you provide.

Related twitter thread from february: https://twitter.com/lisperati/status/1492165176451387401


Yes that's exactly right. My library isn't doing anything super smart (just statistics 101) but if you have to do some awkward heuristic in your code (to "eyeball" some approximate parameters) it's better to just supply some input/output examples as part of your code (which GoodGuesser autogenerates) then just have a computer approximate the ideal parameters using multiple linear regressions. That will be a lot easier to maintain than some sort of hacky heuristic.

Plus, once you've refactored your logic as input/output pairs, It'll be easier in the future to do fancier stuff with your code if you want (deep neural nets, etc)


Related (via submissions without comments):

https://github.com/drcode/good-guesser

https://www.youtube.com/watch?v=2SFNbiurWhc

Bat signal to drcode!


the video is great


Author here, AMA


Is there a way for me to actually pay you some quantity of money in exchange for anything shipped to my doorstep? Because I will absolutely pay you some nontrivial quantity of money.

$19.95 + shipping and handling is a bargain. Charge more!

(The programming world has been waiting a long time for a Billy Mays of devs. You're a natural.)


I like this project and will play with it, many thanks.

The video was fun, catchy and engaging. You explanation was clear and concise.

The music was fine at the start but as it continued all the way through it made it hard for me to concentrate and I found it easier to mute and use subtitles.


I have a guy on Fiverr that does my editing, and we have an agreement: He makes my garbage raw videos look pretty awesome in short order, and I don't nag him about details or ask for revisions.


What's that tablet looking device your using in the video and why is it not the lisperati? :) Also, are you done with Common Lisp and more into Clojure now?


Lisperati is still happening

Definitely all in on clojure now (well, I also like zig)


Are those t-shirts from last month gone for good? I didn't hear about it at the time and I would have snapped one up in a second.


Sorry it's too late :(

Since I wanted them printed using real screen printing, we only had one shot to put in an order that was big enough.

But tell you what, give me a contact email and I'll send you a spare that I have (if "large" works)


I appreciate that, but a large probably wouldn't fit me. I'll just have to keep an eye out for your subsequent projects so I don't miss out on more cool stuff.


How much can I pay you to port this to PHP, JS, or just pseudocode so that I can use it or convert it to a language I know?


Sorry, I'm not motivated much by money these days... if you can get 1000 people to sign a petition I'd happily port it though, since I'd know it would be useful to more people :)


I love your Land of Lisp song :-)


thanks!


Does it work for discrete values, or only continuous ones?


Only continuous ones. You would have to reformulate it as a continuous problem, such as using separate GoodGuesser examples for each discrete category, with human labels that are 1 or 0 for a category, then have GoodGuesser guess the a likelihood between 0 and 1 for each category.


I have a 34" screen. On the first page, I couldn't see what this was about.

Why make me guess? (pun intended)


I agree things are a bit confusing on this project, was hoping people would just watch my video, which is pretty clear. Lesson learned for the future to improve how I present things!


I found your presentation very engaging and clear. Quirky, but in a good way.


I wish every library had an intro/demo video somewhat like this.


People are/were downvoting you but I actually gave up trying to figure out what this is about after 3 mins of the video.


I agree this is an issue, it's in part because s*t's just complicated, but also because I sacrificed some clarity for the April 1st infomercial joke


What I would really like is to give input/output examples, and then have a tool figure out the cheapest way to calculate the output from the input. Sort of like a super-optimizer I guess!


By the title, I thought it was an AI extension to help you on GeoGuessr.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: