Hacker Newsnew | past | comments | ask | show | jobs | submit | kitchen_sink's commentslogin

It’s still a WIP but skops (https://skops.readthedocs.io/en/stable/) may be of interest (for secure sklearn serialization)


When I was just starting out I made a similar app (https://github.com/rmdocherty/buck3t) using classic computer vision operations like k-means and Canny edge detection rather than (I assume) ML. It also lets you fill in the returned coloring page in the browser.

It’s simple and works relatively well but is prone to fail on high frequency objects like foliage, where the ML approach appears to a) succeed and b) stylise (seems to cause problems).

The free trial on the cloud function expired so the web app doesn’t work and the source JS code is awful but someone (maybe me) could pretty easily rewrite the cloud function into a flask server to allow local hosting.


Same here - I had a web-based system that let you do coloring pages, paint-by-number, cross-stitch patterns, etc... and it all worked in the web session. While adding an AI element does give improvements over my results. I'm not sure those improvements are worth being prompted for my email, waiting even longer for results, the results not being 100% true to the original content, and not having those results just show on-screen.


Pixel wise lose (MSE/PSNR) is one option, though most also use Structural Similarity Index (SSIM) as it’s more robust.

[1] https://en.m.wikipedia.org/wiki/Peak_signal-to-noise_ratio

[2] https://en.m.wikipedia.org/wiki/Structural_similarity


To be fair, the way legal system works means if a lawyer isn’t trying to ‘win’ your case, they’re not being a good lawyer - the assumption your client is innocent and you need to defend them is kinda fundamental.

How morality informs the law and the ways lawyers should behave (i.e, should they phone it in/decline the case in if they disagree ethically) is interesting but more difficult as a topic


I think this is mostly correct. Not only are lawyers who aren't trying to "win" not good lawyers, they are possibly breaching their oath. The lawyer has an obligation to try and win, but only after they have done a preliminary investigation before filing the case. There are also some guardrails; your lawyer can't lie about facts they've found out during that investigation, for example. If they do, they can be sanctioned for it. So they can't just try and win at all costs.

With all that said, I think the original point still stands: in most people's minds, an 'ideal' system is one where all the lawyers are trying to seek justice. We just create a less-than-ideal adversarial system as a weak proxy for that given that human nature tends to make the ideal an unreliable expectation. I don't think that's fundamentally different from the PD transparency issue.


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

Search: