Live data from Hacker News

Show HN: Offline sketch to image geneartor in a whiteboard

drawing.pics

21–25 of 25 posts

Re: Show HN: Offline sketch to image geneartor in a whiteboard

#21
post #19

> The easiest way is to run a Python HTTP server, but the memory usage is too high. We need a more lightweight solution, so I used xmlrpc for memory efficiency Doesn't XML-RPC operate over HTTP?

It does, but I used Flask previously for comparison, so I came to that conclusion.

It seems like you've already proved your conclusion false though if you ended up using an HTTP server anyway. The conclusion seems to be that Flask wasn't suitable for the task.

Re: Show HN: Offline sketch to image geneartor in a whiteboard

#22
post #19

Earlier quoted context omitted.

It does, but I used Flask previously for comparison, so I came to that conclusion.

It seems like you've already proved your conclusion false though if you ended up using an HTTP server anyway. The conclusion seems to be that Flask wasn't suitable for the task.

You are right, the conclusion should be revised to: "I ended up using an HTTP server anyway, but I choosed the more efficient one", because Flask's http server is for testing only. Sorry for the unclear. I think using a Unix Socket could be more efficient but I don't want to be over-engineering :)

Re: Show HN: Offline sketch to image geneartor in a whiteboard

#25
post #20
post #18

Earlier quoted context omitted.

To setup the Krita SD plugin, literally all you have to do is download it and import it into Krita. It installs the backend all by itself.

Hi, I found the Krita SD plugin docs here: https://www.interstice.cloud/plugin It seems it needs Docker to be installed? It might consume more power than running in a local Python environment. By the way, the plugin is great.

that's "dockers" as in a "panel in the Krita interface" (which is somewhat modular), not Docker as in "Docker the container environment"
Post reply on HN