Lurker News
Coded using Gemini Pro 2.5 (free version) in about 2-3 hours.

Single file including all html/js/css, Vanilla JS, no backend, scores persisted with localStorage.
Deployed using ubuntu/apache2/python/flask on a £5 Digital Ocean server (but could have been hosted on a static hosting provider as it's just a single page with no backend).
Images / metadata stored in an AWS S3 bucket.

Comments (259) 82 threads

Earlier comments
rfrey1 reply#
Perfect use of AI assisted coding - a domain expert creating a focused, relatively straightforward (from a programming perspective) app.

@sungam, if your research agenda includes creating AI models for skin cancer, feel free to reach out (email in profile), I make a tool intended to help pure clinical researchers incorporate AI into their research programmes.

sungam#
Thanks, I am not currently doing research in this area - my lab-based research is mainly focused on the role of fibroblasts in skin cancer development
jonahx1 reply#
Cool project, and helpful for learning.

One concern:
I don't believe the rates that you see "concerning" vs "not-concerning" in the app match the population rates. That is, a random "mole-like spot or thingy" on a random person will have have a much lower base rate of being cancerous than the app would suggest.
Of course, this is necessary to make the learning efficient. But unless you pair it with base rate education it will create a bias for over-concern.

sungam1 reply#
Yes you are right - the representation is biased due to the image dataset that I have used.

I don't think it would be useful to match the population distribution since the fraction of skin cancers would be tiny (less than 1:1000 of the images) so users would not learn what a skin cancer looks like, however in the next version I will make it closer to 50:50 and highlight the difference from the population distribution.

jonahx1 reply#
Yes. As I said matching the population base rate wouldn't be practical, so you'd need to educate on that separately from the identification learning.

Let's say I achieve a 95% on the app though. Most people would have a massively over-inflated sense of their correctness in the wild. If the actual fraction is only 1/1000 and I see a friend with a lesion I identify as concerning, then my actual success rate would be:

    1*0.95 / (0.05*999 + 1*0.95)
So ~1.8%, not 95%. Few people understand Bayesian updating.
sungam#
Thanks for this - I need to look at this more carefully
lazarus0111 replies#
What you created is a version of “am I hot or not” for skin cancer. The idea is constrained to the limitations of your programming capability. Showing a photo and creating 3 buttons with a static response is not very helpful. These are the limits of vibe coding.

I was thinking to train a convnet to accurately classify pictures of moles as normal vs abnormal. The user can take a photo and upload it to a diagnostic website and get a diagnosis.
It doesn’t seem like an overly complex model to develop and there is plenty of data referring to photos that show normal vs abnormal moles.
I wonder why a product hasn’t been developed, where we are using image detection on our phones to actively screen for skin cancer. Seems like a no brainer.
My thinking is there are not enough deaths to motivate the work. Dying from melanoma is nasty.

rogerrogerr#
We need liability reform - any app in the US would either tell you ~everything is skin cancer, or it would show one false negative and get sued into oblivion.
nlawalker#
I disagree, I found this very helpful. In a very short amount of time I was granted the insight, in a very clear way, that I am not very good at determining whether moles need treatment based on how they look.
hedgehog#
Developing a model like that, and evaluating it with practicing doctors, is a good learning project.
g-mork1 reply#
You're talking down to a technically unskilled dermatologist for successfully producing a useful app without the help of an engineer? Curious behaviour! This is far from the first story like this, in combination they're a potent bellwether for the future of our little corner of the universe, engaging in denials really doesn't help anyone
lazarus012 replies#
I wouldn’t call it “successful” or “useful”. It was a low effort attempt to make something interesting and it wasn’t. It’s a response to the hype of vibe coding. Lowers the bar for what good software really is.

Perhaps you may want to question your bias and ability to process criticism.
Anyone who shares their ideas publicly will receive criticism. Not only is it ok, it’s helpful to expand the discussion beyond your bias.

petralithic#
> It was a low effort attempt to make something interesting and it wasn’t.

Maybe to you, but others in this thread found it interesting.
> Lowers the bar for what good software really is.
Software is a means to some end, not the end in itself. I can make the best coded software that does nothing [0], there is no point to that other than to practice one's skills, but again, those skills are to achieve something in the end.
[0] https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpris...

jgilias#
The issue is that your criticism is misguided and not very helpful. In your parent comment you totally miss the forest for the trees. Or, the reason why this app has been made in the first place.

Further, your suggestions are inactionable, and again, miss the point. It’s a low effort - “Lol, why don’t you just…”. No, the point is not to find skin cancer. The point is to show a bunch of pictures to people who are interested, and let them see if they can identify worrying skin lesions.

raincole1 reply#
I really don't think you can publish the app you described in any developed country without an army of lawyers. And this army had better be prepared to lose many battles.
thimkerbell#
Could it be built from an island off Costa Rica?
sungam1 reply#
The goal of my app is to educate patients so that they recognise that they need to take further action.

Regarding AI-assisted skin cancer diagnosis: This is a huge area that started with the publication of Esteva et al (https://www.nature.com/articles/nature21056) and there have been hundreds of publications since. There are large publicly available datasets that anyone can work with (https://challenge.isic-archive.com/).
My lab has previously trained / evaluated convnets for diagnosis of skin cancer e.g. see this publication: https://pubmed.ncbi.nlm.nih.gov/32931808/
I have no doubt that it will be possible to train an AI model to perform at the same level as a dermatologist and AI models will become increasingly relevant. The main challenge at the moment is navigating uncertainty / liability since a very small proportion of moles / skin lesions that appear entirely harmless both the naked eye and with the dermatoscope (skin microscope) are cancerous.

lazarus01#
Thanks for including those information resources. This is something I’m interested in digging deeper into.
hombre_fatal#
Every dermatologist (and developer with a dermatologist relative) in the world has had that app idea since most of your daily checkups are moles that you categorize in seconds.

The app already exists btw. Did nobody in this thread google it before saying it couldn't work?

i000#
What an utterly disappointing comment. FWIW I spent 15min on the app, and found it very helpful to see examples of the various kinds of skin lesion - it will likely motivate me to see a doctor when I see a similar malignant skin lesion. Educating people is very helpful.
cjbgkagh#
“am I hot or not” is a great paradigm for many things, is it porn or not etc. 3 buttons are perfectly sufficient for getting this information from the users for rating systems in general. This is not a rating system as samples are labeled from actual test results.

AFAIK Netflix got rid of their 5 star rating as the signal over 2 stars wasn’t worth the mental overhead from users having to decide between a 4 and a 5. Also star rating are culturally dependent so you have to normalize for that effect. In general it’s a total hassle.

Teknomadix#
This vibe coded app totally is helpful.

Improved my score from an abysmal 40% in under 15 units to above 95% accuracy. Also realize that I have skin lesion that warrant an immediate dermatologist visit.
Your characterizations are unnecessarily salty.

s3v#
I found this app to be very helpful and educational. You, on the other hand, are being a jerk.
andreasgl1 reply#
I like the project! Congrats on the launch.

As I understand it, size is one of the key indicators of melanoma. But in some of these images, it’s difficult to tell whether the mole is 1 mm or 10 mm. I assume your image set doesn’t include size information. If you can find sources with rulers or some kind of scale, that would be very helpful.

sungam1 reply#
I will have a look at this and include the size if it is possible
danlamanna1 reply#
Many of the images do include a size, see https://api.isic-archive.com/images/?query=clin_size_long_di....

FWIW @sungam - I'm one of the maintainers of the ISIC Archive, so feel free to let me know if finding/downloading data could be made easier. It's always interesting to see people using our data in the wild :)

sungam1 reply#
Thanks for this - and thanks for maintaining this incredibly useful resource. What would be the best way to contact you?

Continue this thread — 1 reply

Load more comments