Recent submissions

Comment · 4 years ago
Can you give some examples of why the nodejs community is not nice?
Comment · 4 years ago
Comment · 4 years ago
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.
Comment · 4 years ago
Comment · 5 years ago
Comment · 5 years ago
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.
Comment · 5 years ago
Comment · 5 years ago
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...
Comment · 5 years ago
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.

Comment · 5 years ago
Some of these are multi-liners that can be converted to one-liners. For example I believe "npx" can be used for all the node examples for example "npx http-server -p 6007 ./root"

[edit] ahh i see this is called out in the gist comments

Comment · 5 years ago
There's also some wacky code in the HTML. Check out the body tag:

  <body class="post-template-default single single-post postid-4483 single-format-standard bridge-core-1.0.6  qode-title-hidden qode_grid_1200 footer_responsive_adv qode-content-sidebar-responsive transparent_content qode-child-theme-ver-1.0.0 qode-theme-ver-18.2 qode-theme-beatportal disabled_footer_bottom qode_header_in_grid wpb-js-composer js-comp-ver-6.0.5 vc_responsive &quot;&gt;&lt;noscript&gt;&lt;iframe src=&quot;https://www.googletagmanager.com/ns.html?id=GTM-WVTMQP&amp;user%5BisLoggedIn%5D=0&amp;&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;display:none;visibility:hidden&quot;&gt;&lt;/iframe&gt;&lt;/noscript&gt;&lt;br style=&quot;display:none;"  >
If it's not clear, all that code is within the class attribute!
Comment · 5 years ago
It's "an hour a day(+/- 10 minutes)" which I read as "an hour a day give or take 10 minutes"
Comment · 5 years ago
(deleted)
Comment · 5 years ago
I was expecting something more like Gorce (https://gource.io/) that shows contributions via commits but this is rather cool nonetheless.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton