HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mradmin

no profile record

comments

mradmin
·4 yıl önce·discuss
Can you give some examples of why the nodejs community is not nice?
mradmin
·4 yıl önce·discuss
Let's not forget about http://prototypejs.org/ & http://script.aculo.us/ for modern Web 2.O
mradmin
·5 yıl önce·discuss
Sure, could be. I guess i'd expect Microsoft to have company-wide processes and practises when working with OSS though. Could be wishful thinking.
mradmin
·5 yıl önce·discuss
Seems like a mistake to me. Microsoft recently adopted one of my Open Source projects and part of the agreement was they would keep the original license. This was a request on their part, I had no choice in the matter. They know what they're doing, I don't think they would do this deliberately. (Licence here: https://github.com/microsoft/vscode-gradle/blob/main/LICENSE...)
mradmin
·5 yıl önce·discuss
Here's an example using GitHub Actions: https://github.com/badsyntax/docker-box/tree/master/examples...
mradmin
·5 yıl önce·discuss
Agree the traefik config is a little complex but otherwise it works great for me. About using portainer, it's useful for showing a holistic view of your containers and stacks, but I also use it for remote deployment of services (Eg as part of CI/CD). I'll push a new docker image version then I'll use the portainer webhooks to redeploy the service, then docker swarm takes over.
mradmin
·5 yıl önce·discuss
My anti-kubernetes setup for small single servers is docker swarm, portainer & traefik. It's a setup that works well on low powered machines, gives you TLS (letsencrypt) and traefik takes care of the complicated network routing.

I created a shell script to easily set this up: https://github.com/badsyntax/docker-box
mradmin
·5 yıl önce·discuss
Can you run microk8s or k3s on a single server/device? Even if you can, seems like the wrong tool for the job with unnecessary complexity...
mradmin
·5 yıl önce·discuss
This is the approach I use, but I've always found some sort of issue in every generator I use. A valid openapi spec does not imply a generator will be able to handle it. You'd think have a specification would mean the generators are "bug free" but it's not the case, and bug reports are lost in a sea of issues: https://github.com/OpenAPITools/openapi-generator/issues so i don't see things improving anytime soon.

I've also wondered if the "logic-less" template approach is the right approach for these generators. You can't fix bugs or add workarounds just by providing a custom template, you need to change the underlying Java code to provide the correct data models to the logic-less templates.
mradmin
·5 yıl önce·discuss
Staticman is awesome for static websites! (next.js, jekyll etc). It provides user content via pull requests. That's all it does! This means you have complete control over the UI. No loading of 3rd party scripts etc.

I wrote a blog post about integrating it into Next.js: https://richardwillis.info/blog/self-hosted-staticman-dokku-...