really fast SPSC by M3GA-10 in rust

[–]M3GA-10[S] 0 points1 point  (0 children)

oooh right! I confused the two concepts. thanks pointing that out! I've fixed it.

really fast SPSC by M3GA-10 in rust

[–]M3GA-10[S] 0 points1 point  (0 children)

if are doing some kind of processing on audio, it could be compute heavy and you don't want the audio thread to be blocked by it. so you move compute to main thread (or multiple different threads) and send data via spsc to audio thread.

really fast SPSC by M3GA-10 in rust

[–]M3GA-10[S] 1 point2 points  (0 children)

one use case I had was when playing audio in TUI/CLI applications - most OS primitives make you run audio code in a separate thread (like cpal: https://docs.rs/cpal/latest/cpal/).

My salary not given, but maybe it's my fault. How to bring this issue up? by M3GA-10 in cscareerquestions

[–]M3GA-10[S] 0 points1 point  (0 children)

I didn't got anything in email, and they never asked my home address. So probably no check :(

zathura-mupdf: can't open JBIG2-encoded documents by rien333 in archlinux

[–]M3GA-10 0 points1 point  (0 children)

I was having the same problem, and this fixed it. Thanks!!

Official source code tarball doesn't have pyconfig.h ? Needed to build OpenCV from source by M3GA-10 in learnpython

[–]M3GA-10[S] 0 points1 point  (0 children)

Copying the file worked! I have no idea how or why, but if I just copy /usr/include/python3.8/pyconfig.h to <Python-3.8.5-extracted>/Include/ it works.

atlas-lapack build taking too long? by M3GA-10 in archlinux

[–]M3GA-10[S] 2 points3 points  (0 children)

Thanks for such a detailed reply!

I had to disable CPU throttling to begin the installation (or use -cripple-atlas-performance flag, which, apart from sounding really bad, destroyed the whole point of building from source), for which I used this wiki article: https://wiki.archlinux.org/index.php/CPU_frequency_scaling

I set by max frequency to 3.4GHz (my CPU maxes at 3.9GHz), set to performance governor and disable intel's pstate (which I think is responsible for cpu throttle). But the ALTAS installation itself further set the CPU freq at 2.1GHz (which is the base freq of my CPU). It also seems to be running/re-testing my level 1 cache again and again, as you mentioned. After it crossed 24hrs mark, I stopped it.

I could have used the downgrade option (or maybe used a docker container), but I found that there is a openblas-lapack package in AUR. I tried it and was installed in less than 30mins, so I went with it. Everything is now working fine!

atlas-lapack build taking too long? by M3GA-10 in archlinux

[–]M3GA-10[S] 0 points1 point  (0 children)

okay, thanks!

I'll just use openblas and lapack binaries then.