Is it a good idea to create a shared object in go, write C wrapper on top of it and then import that library in existing C++ project? Or should I prefer re-writing everything...
Hello! I’m writing thousands of KV pairs in BadgerDB. I’m using batch writes for this. And I’m maintaining 32 goroutines that write them. At the end I’m calling Batch flus...
Hello 👋 How do I check if a channel has some value? I don’t want to block the channel. I just want to see if some value is coming in. If yes then I’ll receive (block) and...
Hey all How do I handle SIGINT in Go? I’ve tried using os.Interrupt to capture SIGINT signal and sending it via signal.Notify function. It works on *nix based OS like Arch ...
Hi all! What are your thoughts on replacing strings of a binary in runtime? So, imagine you have a compiled binary. This binary contains a pattern that you've designed. Som...
Hi all! So.......this might be a stupid question so please bear with me. Accessing GPU memory? By that I mean, creating a dump/image of whatever is going on in a GPU. I und...
Hey all Is it possible to parse or maybe programmatically mount file systems and read directories/files through disk images in Go? By this I mean are there any in built libr...
GoLang QT bindings vs Go Fyne? Thoughts? What would you guys suggest for cross platform desktop GUI? I’m also open to other solutions like Flutter
Which WindowsAPI can help me accessing USB path/device file descriptor? I’m not even sure if I’m wording the problem correctly. In Linux we could just use /dev/sdX But Win...
Hey all Is it possible to parse file systems and read directories/files through disk images in C#? By this I mean are there any in built libraries for this purpose? For mayb...
Hey all How would I go on about removing “go build id” from my compiled binaries? I am trying to make a release build. I’m using ldflags -w -s to strip symbols but I’m havi...
Hey all! Anyone using Neo4j here? If so then I could use some help with a bit of roadblock. Apparently, I can't seem to make a connection via the bolt driver. Here's my code: ...
Let's forget multi-threading for now. I can read this device file using low-level functions found in unix.read() method but the thing my program doesn't know when to stop .-. ...
Hi everyone, Is there way for me to emulate file system in memory? My use case is to generate a go file in memory and then use os.Exec to run go build on it. But I don't wa...
Go vs Rust for system level programming? By that, I mean Forensic applications like forensic imaging, file carving etc.. What would make my life a little easier in terms of: ...
Hey all. So I found a book on NBitcoin framework explaining the BlockChain & Bitcoin infrastructure. But I couldn't really find how to use the said framework for developing a...
How would you copy files concurrently? I am opening a directory as an io.ReadCloser and am writing all the contents of it to a file using io.Copy but it's kinda slow and sin...
This little bit of data scraping, data preprocessing and graph plotting is heating up my laptop too much .-. I can hear the fans whirring and feel the computer slowing down d...
unix.Seek() is too slow. Either that or I'm not using it incorrectly. I'm trying unix.Seek(file, offset, 0) but it's too slow. I am trying to find a way to tell my functio...
Redis vs Badger? Thoughts? I am leaning towards badger because Go ecosystem but I can't help but think that maybe Redis will be faster/better because more proven/battle tested...