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

Thanks for your great work! I like the drawing and music very much!


An explaining post on Scientific American: https://www.scientificamerican.com/article/why-almost-everyo...


Please indulge us and say more! :D


It would be cool if there's a blog post on it.


The author has another book: http://craftinginterpreters.com/ , which is fantastic too.

I built an interpreter in WASM and Go when reading the book: https://lox.nanmu.me/en/


Out of topic but I can't help to notice the og:image of the web page is 57 MiB. https://www.datocms-assets.com/2885/1702507860-mitchell-hc19...


I believe the idiomatic term would be “off topic” :)


DatoCMS uses imgix and resizes based on the URLs params. If they haven't implemented that in the frontend layout then .


Their backend originates from Baidu ERNIE: http://research.baidu.com/Blog/index-view?id=160


Recent version of Nomad has introduced many QoL features like secrets and service discovery, though logging collection remains unsupported.


> though logging collection remains unsupported.

Do you happen to have a link to the issue (I guess or docs, if it's their official stance)? I'd enjoy reading how they ended up in that circumstance


Logcollection doesn't come out of the box, and you're kinda on your own to set it up, this article (although a bit dated) shows you what you must go through:

https://atodorov.me/2021/07/09/logging-on-nomad-and-log-aggr...

It also doesn't help that Nomad handles everything from Docker containers to managing regular applications.


Also worth noting that nomad’s closest competitor (Kubernetes) does not do this either. It’s a huge oversight in both ecosystems.


We may be talking about different things, but GP's comment said "unsupported" whereas in kubernetes it's just not part of the control plane offered by kubernetes itself, in exactly the same way that cloud load balancer or even cloud auto-scaling isn't provided by kubernetes itself

Having read the sibling's comment, I think I better understand the situation since Nomad isn't a container orchestrator and thus there isn't one homogeneous place from which _to_ collect the logs, but in any sane k8s setup that's not true since both dockerd and containerd have mechanisms to influence that behavior and k8s is perfectly able, and supports, scheduling per-Node utility plumbing stuff like that without drama


Yes k8s does not provide a out-of-box logging collection solution but since everything is in containers, we can piggyback on Docker or Containerd via deamonset to get all the logs.

Nomad on the other hand support various payload(native exec, exec via chroot, containers, even Firecracker VM by community support), so doing logging collection by end users is trickier. It worth noting that Nomad UI(a official web admin panel) has log tailing utility built-in so maybe partial work has already been done. The developers may have other concerns.

The related issue is https://github.com/hashicorp/nomad/issues/10220


All of the work has been done; not partial work.


Nomad has equivalent mechanisms for collecting logs to Kubernetes. None are built in, in either platform.


Would you like to provide a link? It would help me a lot. Thanks.


https://developer.hashicorp.com/nomad/docs/job-specification... covers much of it from the collection side


I like Nomad a lot. It is even more lightweight than k3s and has served my low-budget projects very well. A little sad to see things are going this way.


Thanks for sharing.

I have heard there is much effort to use BGP data to build GeoIP database.


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

Search: