Hacker News new | past | comments | ask | show | jobs | submit login

i managed to run diablo2 (release 2000) on wine in a docker container. with ffmepg streaming it as a video. Was a real eye opener moment to realize what can fit in these things.



Could you elaborate on how you got ffmpeg to stream the output? Was it rendering to a virtual display?


Why would you need docker for wine?


i was curious if i could run diablo2 on my kubernetes clusters.


That sounds lovely! Was it playable? I'd love to take a look at the manifests, if you could make them available somewhere.


It's kind of playable using XQuartz on mac. But i'm only using that for debugging the setup really. This is intended as a test bed for keras bot experiments, so controls are not important to me.

Main components are wine, ffmpeg, nginx+nginx-ts-module and xvfb. It runs diablo2 and livestreams the screen capture.

I'd love to push this to git or docker, but it's currently littered with blizzards game files. I'm most likely not allowed to share the current state.

I put some files together to get a rough look. I'll try to make it a bit more usefull when i'm done with actual work and not exhausted.

https://github.com/tuco86/docker-diablo2


I literally snorted. This is fantastic and is the reason for HN to exist!


Blog post time!


Always wanted a blog. I have no blog.


Blog post author here.

It's easy to get a blog going with either GitHub or GitLab plus their "Pages" hosting environment, or Netlify.

Here's how you can do this with just GitHub Pages or GitLab Pages:

* https://pages.github.com/

* https://docs.gitlab.com/ce/user/project/pages/

Here's how I originally hosted my blog with Gitlab Pages using Hugo (a static site generator):

https://misha.brukman.net/blog/2019/05/building-a-site-with-...

and then ended up migrating to Netlify when I upgraded Hugo to a new version to support a different theme (Netlify has additional benefits, like automatic live previews):

https://misha.brukman.net/blog/2019/05/switching-hugo-theme/

And here's someone else's 1-hour walk-through of the same workflow:

https://brainfood.xyz/post/20190518-host-your-own-blog-in-1-...

It's pretty straight-forward process regardless of which approach you take. I hope this helps you get started with your own blog!


I will periodically be reminded about this comment, with the intention that one day, when I check, you will have replied with a URL to your blog.

No pressure, I’m just looking forward to it.


this is peak HN




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: