HNHacker News
TopNewBestAskShowJobs

vaastav

127 karma · joined May 14, 2015

submissionscomments
vaastav··on Music Theory for Programmers
"You may have heard a little click at the end of that. That is not a bug in the browser, it is physics being unforgiving."

lolwut

vaastav··on Kernel: Introduce Multikernel Architecture Support
How is this different from/similar to Barrelfish?
vaastav··on Auditory illusions with examples from Daft Punk
Is it tho? It's only understandable to me if I also read the subtitles. Otherwise it just sounds as random noise.
vaastav··on Coroutines for Go
Its in the last paragraph of the article...Very easy to miss given the code uses goroutines and channels.
vaastav··on Coroutines for Go
The runtime switch was buried in the last paragraph of the article. All of the code was using goroutines and channels....
vaastav··on Coroutines for Go
Grows unbounded. I wasn't recommending that one should set GOGC=off. Just making a remark that one could should they choose to do so.

EDIT: Sorry, I misunderstood part of your question. The memory grows unbounded unless you call runtime.GC() which triggers garbage collection. But this is a blocking call and essentially block your whole program.

vaastav··on Coroutines for Go
Sure but that's what the implementation of the coro in this post uses under the hood. Not sure how this is any better wrt overheads.
vaastav··on Coroutines for Go
Garbage collector in Go is optional. You can switch off garbage collection by setting the environment variable GOGC=off.

More info about GOGC: https://dave.cheney.net/tag/gogc

vaastav··on Coroutines for Go
Not sure if this really is required. Most cases in Go are served well by GoRoutines and for yield/resume semantics, 2 blocking channel are enough. This seems to add complexity for the sake of it and not sure it actually adds any new power to Go that already didn't exist.
vaastav··on We ran a phone check at a Y Combinator event in SF
So basically a normal phone from the mid-00s
vaastav··on Microsoft's paper on OpenAI's GPT-4 had hidden information
Always remember to clean up the .tex files before submitting to arxiv
vaastav··on Traceo is now open source
You can export Jaeger traces via OTel as well. I am assuming the question here is why is there a different SDK rather than just re-using the standardized OTel APIs + libs for tracing and then providing a simple exporter for Traceo.
vaastav··on JupyterLab LaTeX – live-editing of LaTeX documents in JupyterLab
As a potential user, I am quite unsure as to why I would use this over something like TexStudio or even VSCode enabled with some LaTeX plugins. Could you tell me/us some pro/cons of this?
vaastav··on PsiQuantum to Build the World’s First Full-Scale Quantum Computer
And observing their technology might switch it from working to non-working
vaastav··on Google have declared Droidscript is malware
What about false positives? How did you account for that?
vaastav··on After September 18th, you’ll no longer be able to send messages on YouTube
TIL you could send messages on YouTube
vaastav··on GitHub blocked my account and they think I’m developing nuclear weapons
Misleading title. A more accurate title would be "Github block accounts of Iranain nationals to comply with US trade embargo"

Aside from that, HOLY SHIT.

vaastav··on Ask HN: I want to get a Bachelor's in CS online. What are some good programs?
UBC has a 2 year BCS (Bachelor in CS) programme for people who already have a prior Bachelor's degree. It's not online but pretty much equivalent to a normal CS degree.
vaastav··on Generative.fm – Endlessly unique ambient music
This is an amazing project! Kudos
vaastav··on GoVector – Vector Clock Logging Library in Go
GoVector is a vector clock logging library written in Go. The vector clock algorithm (https://en.wikipedia.org/wiki/Vector_clock) is used to order events in distributed systems in the absence of a centralized clock. GoVector implements the vector clock algorithm and provides feature-rich logging and encoding infrastructure.

GoVector is one of the libraries provided as part of the Distributed Clocks project (https://distributedclocks.github.io/) which also provides vector clock logging libraries written in C++, C, and Java.

The logs produced by GoVector are compatible with log analysis tools like ShiViz (https://bestchai.bitbucket.io/shiviz/) and TSViz (https://bestchai.bitbucket.io/tsviz/) which visualize the aggregated logs of the entire system as a time-space diagram.