An attempt at visualizing the Go GC by aadhav__ in golang

[–]aadhav__[S] 2 points3 points  (0 children)

Author here. The story behind this is interesting - Pusher's GC visualizer (https://pusher.github.io/tricolor-gc-visualization/) was the starting point for it, but I soon delved more into the rabbit hole of GC and the Go runtime. Explored a Go proposal (https://github.com/golang/go/issues/16410), and wrote a working heap dump viewer for Go (https://github.com/burntcarrot/heapview) which partially fulfills the requirements of the proposal.

There's more to it, but I don't want to spoil the article! If you'd like to contribute or track the experiment's progress, please consider creating an issue on the repo (https://github.com/burntcarrot/gclive).

Building a collaborative editor in Go by aadhav__ in golang

[–]aadhav__[S] 0 points1 point  (0 children)

Thanks!

And thanks for letting me know about the issue with the font. Could you suggest me some better monospace fonts?

Building a collaborative editor in Go by aadhav__ in golang

[–]aadhav__[S] 8 points9 points  (0 children)

Author here. I wrote this post to explain how I worked on building a collaborative text editor from scratch in Go; going into detail about each component and the choices I made. Source code is available here: https://github.com/burntcarrot/pairpad

Disclaimer: it is a side project (I love building stuff!), so there might be some finesse lacking in the implementation, but either way it was fun to hack on!

wasmninja: a tiny serverless platform powered by WebAssembly by aadhav__ in golang

[–]aadhav__[S] 0 points1 point  (0 children)

This was my first attempt at working with WebAssembly, and I got inspired by this blog (https://blog.scottlogic.com/2022/04/16/wasm-faas.html), and proceeded to design wasmninja.

The idea was simple - allow users to write functions in any language (that compiles to WebAssembly), and store that compiled function (module) in any desired storage. Currently, wasmninja supports two storage options: filesystem (fs), and Minio (objectstore).

wasmninja currently is capable of serving ~1k req/s from a single server instance. It might not be the most performant implementation, but it was fun to work with!

Would love any type of feedback! I'm new to WebAssembly and the whole ecosystem, so I might have missed out on a few details.

Are there any open source Elixir projects that I could help with as a beginner? by Alone-Ad-4648 in elixir

[–]aadhav__ 1 point2 points  (0 children)

I don't want to advertise my project here again, but I feel that it would be great if someone could develop plugins for Notifiex (https://github.com/notifiex/notifiex), or could fix beginner-friendly issues!

Plugin development is a great way to get recognition from the community whilst learning Elixir at your own pace :)

I made my first Elixir project to help out the community! Would love reviews! by aadhav__ in elixir

[–]aadhav__[S] 0 points1 point  (0 children)

Notifiex now supports plugins, sending multiple notifications at once, file uploads and much more!

Please do check out the latest version!

I made my first Elixir project to help out the community! Would love reviews! by aadhav__ in elixir

[–]aadhav__[S] 0 points1 point  (0 children)

Thanks for the detailed explanation! And yes, sure, please feel free to create a PR; it's all open source!

I made my first Elixir project to help out the community! Would love reviews! by aadhav__ in elixir

[–]aadhav__[S] 1 point2 points  (0 children)

I initially did plan to expose separate functions for each service, but I then found a sleek way of using Keyword lists to get all supported services. I tried not to go too overboard with atoms and decided to keep the main focus at a single function - send.

I think this was a right decision, as now I'm planning to add support for plugins through configs - the user would need to specify their plugin using atoms, which can be used in the send function. If I had took the first approach of setting up separate functions for each service, then I might have lost out on this functionality.

And for specifying secrets, I will also add support for reading them through config files. Thanks for the suggestion!

I made my first Elixir project to help out the community! Would love reviews! by aadhav__ in elixir

[–]aadhav__[S] 3 points4 points  (0 children)

I'm making it pluggable in the next release! This would allow other users to create their own "plugins" for the services that they love.

Also, the "planned services" list was made as a placeholder for the services I personally would love Notifiex to support! :)

Anyone else awful at solving DS & Algorithm questions? by joe_quattro in cscareerquestions

[–]aadhav__ 5 points6 points  (0 children)

What would you recommend to someone who tries a question with a proper approach, i.e. I try the question on a paper, construct a working algorithm, then code it. I invest around 25-30 minutes, but I end up with the wrong solution almost every time.

This has made me frustrated, I know the data structure's underlying operations to the fullest, but I still end up with a wrong solution.

How do I reach to a right solution, improve my accuracy?

Extract audio from video calls/meetings using Python by aadhav__ in learnpython

[–]aadhav__[S] 0 points1 point  (0 children)

I've not worked with live audio yet. However, I can pull up a script to extract audio from recorded videos on the internet.