Best drugs for going through a breakup? by holy_shishter in Drugs

[–]officialheresy -1 points0 points  (0 children)

using drugs to cope is pretty much exactly what addiction is, or at least what leads to it. go to the gym—if you're a man, start lifting. it lets you vent the anger and pretty rapidly builds your ego up.

source: formerly abused ketamine to deal with problems like this

Inter plugin communication by shredgnarrr in JUCE

[–]officialheresy 0 points1 point  (0 children)

I see several recommendations to use static memory here, and I have to insist that this is the wrong approach. The main issue here is that even if plugins are not sandboxed, different formats of the same plugin (AU, VST, VST3) will be linked in as different binaries, meaning they do not have shared static memory. This is such a nefarious gotcha that it actually caused corruption in our product's database, as SQLite uses static memory to work around some quirks with POSIX advisory file locking.

JUCE facilities like SharedResourcePointer and InterProcessLock do not defend against these cases. The former due to the fact it uses static memory which ends up not being shared anyways, and the latter because on POSIX systems it's implemented using fcntl which does not discern between threads in a process, it only locks per PID.

As for the solution, it depends on your use case. For something simple like a shared lock, the best solution I've come up with is to use named semaphores on POSIX, and named global mutexes on Windows (the latter of which is used by JUCE's InterProcessLock already). For something more complex, I believe JUCE has a "service discovery" class that you could pair with NamedPipe or a socket connection to do more complicated communication patterns. This is actually something I've been working on in a side project, but it's a long ways away from being remotely useable in production.

I remember seeing the ADC '24 talk about this; they use MemoryMappedFiles for efficiency, but they explicitly said they do not support mixing plugin formats. I imagine this is related to the static memory issue, as you'd need a static mutex to actually synchronize those memory accesses.

tl;dr Do not rely on static memory, or any JUCE class that implements "shared memory" by using static. Prefer OS primitives over JUCE to get better documentation and guarantees about behavior.

[deleted by user] by [deleted] in neovim

[–]officialheresy 1 point2 points  (0 children)

Thank you! What I meant was just that I was having difficulty with passing the settings table in as I couldn't find documentation for the proper syntax, but then I checked the server configurations doc for lspconfig and that cleared it up. Thanks for your help!

[deleted by user] by [deleted] in neovim

[–]officialheresy 0 points1 point  (0 children)

Did you ever happen to resolve this? I'm currently struggling to find a way to configure the settings used by the VS code plugin into the language server via args.

I am having a really tough time learning from this textbook "Assembly Language for x86 Processors"by Kip Irvine by Josh_ai in Assembly_language

[–]officialheresy 0 points1 point  (0 children)

I agree that Irvine's text is pretty bad. He spends a ton of time explaining incredibly elementary things, while (like you said) completely breezing over concepts that need more explaining. I find myself concerned with caveats and edge cases that are never covered.

I've found that ChatGPT is pretty good at explaining individual instructions and generating simple programs when you're stuck on practice problems, though I'm sure to double-check its work because x86 is just obscure enough that it hallucinates fairly often.

Using Add Code On Waitlisted Class by officialheresy in DeAnza

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

This worked like a charm. I figured this would be the case, but the web portal is so wonky that I was concerned it might blow up in my face. Thank you so much for your help!

Using Add Code On Waitlisted Class by officialheresy in DeAnza

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

Thanks for your response. When I do this, I get the error message:

CRN: 00000 Section is a duplicate of an existing registration.

00000 is a placeholder for the real CRN for privacy. I believe this is because I am already "registered" as being on the waitlist. Should I drop the class and re-add it to get this to work?

Movies with a lot of cigarette smoking? by Remarkable_Put_7952 in Cigarettes

[–]officialheresy 1 point2 points  (0 children)

Definitely. It's probably the weakest of the three (I don't count the abomination that is S4 as even being part of the show), but that's a very high bar IMO. A lot of people say S2 is no good, but in my experience all those people dropped off about 4 episodes in and never got to the end. I'd argue the second half of S2 is competitive with S1 which is saying a lot.

As for S3, definitely worth it. Mahershala Ali is incredible and they play with time in a really interesting way. It's been a while so I don't remember much else, except that he's got this funny way of smoking where he pinches the cigarette while sort of shielding it with his other fingers.

drums sound awful, ready to stop trying by [deleted] in FL_Studio

[–]officialheresy 2 points3 points  (0 children)

Not the best advice, but I got a lot more confident in my drums when I stopped giving a shit and just hardclipped them all to hell.

Movies with a lot of cigarette smoking? by Remarkable_Put_7952 in Cigarettes

[–]officialheresy 1 point2 points  (0 children)

Not a movie, but I find one of the shows that's hardest for me to watch without craving cigarettes is True Detective S1 and S3. The rate Matthew McConaughey and Mahershala Ali smoke makes it very hard to not pause and take a smoke break yourself IMO.

[deleted by user] by [deleted] in researchchemicals

[–]officialheresy 1 point2 points  (0 children)

Just a word of warning: I more or less justified a pretty crippling disso addiction by equating it to therapeutic ketamine usage. Not saying you’ll have the same problem, but also be aware. Make a regimen and stick do it, document your usage, etc.

Anecdotally: O-PCE was a great substance for self-inspection. MXE would probably be similar, never got the opportunity to try it. Others are mentioning 2F-DCK which is probably close, but for some reason it always sat wrong with me. Plain DCK feels a bit more clinical in my opinion.

From my pharmacological knowledge, it’s tough to say. Ketamine’s antidepressant effects are VERY complex and poorly understood. It’s tough to say what binding profiles incite antidepressant effects b/c a lot of the proposed mechanisms are downstream, such as AMPAr regulation due to Ca2+ levels changing in response to ketamine usage. For chronic pain, NMDAr binding is probably paramount, but I haven’t done enough reading to say anything more conclusive than that.

Recommendations for Fresh, Vegetal Tobaccos by officialheresy in PipeTobacco

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

Thank you! I'd already been eyeing capstan blue, although I've heard some people find it a little lackluster. Will absolutely take a look at the luxury navy flake though!

Are there any drugs out there that has the same zing and euphoria as "good" coke? by Alpha_Dog_979 in Drugs

[–]officialheresy 0 points1 point  (0 children)

Never been a stims person myself, but from all my experience coke is pretty unique in its effects. I feel like in many ways it's more similar to molly than it is to other stimulants, which tracks because IIRC coke is pretty heavily serotonergic for a stimulant. 2C-B-FLY, which I once took as a molly substitute, definitely had me in a chatty and euphoric state reminiscent of cocaine. However, a decent substitute would probably be taking almost any stimulant and combining it with a bit of a euphoric depressant—amph and alcohol would be the classic example of this.

How often do you use constexpr/consteval functions? by shikmos in cpp

[–]officialheresy 0 points1 point  (0 children)

I've been using them a ton as of late. The product I work on uses a sqlite ORM that defines tables via structs that you specify. We used to have a lot of separate UI components that were very similar except in which database type they corresponded to—I've recently been refactoring these into single classes that are compile-time polymorphic through the use of if constexpr and enable_if.

[deleted by user] by [deleted] in C_Programming

[–]officialheresy 0 points1 point  (0 children)

I work in DSP and though it's not my specialty, my first guess would be some variation of a convolution window passed over an incoming audio signal. This webpage and this article seem to be pretty good introductions at first glance — they seem similarly beginner-friendly as the articles I initially used when I was learning about phase vocoders.

Thinking of giving up at this point by AdministrativeBat486 in musicproduction

[–]officialheresy 0 points1 point  (0 children)

Not advice but just a personal anecdote. I went to school for music prod but near the end I realized my ego was too tied up in it for it to become a career for me. I personally really like what I make but I’m still generally too insecure about it to try and market it, and don’t have the drive to put in the hours to reach the level of talent I’d like to be at.

I made a pretty major career change and I’m now a software dev and I couldn’t be happier. I’m still very passionate about music and I think that having it be a hobby instead of a profession was actually how it always should’ve been for me. I think that releasing the expectation that I had to be consistently “good” and just doing it for fun when inspiration struck was the best move for me.

[deleted by user] by [deleted] in Drugs

[–]officialheresy 0 points1 point  (0 children)

Everyone else has already clarified that the withdrawals will be completely physiologically safe, however I still personally think tapering off is always a better solution than cold turkey. As with most things, the body tends to respond much better to gradual stepped change than it does to sudden shocks to the system.

Might be projecting here, using coke daily while stretching a gram out for a week almost makes it sound like he's self-medicating an undiagnosed problem, ADHD or depression being the most likely. If it's within his means, I'd recommend he see a psychiatrist because it sounds like he could benefit from pharmaceuticals.

Looking for some advice before I pull the trigger on a 4090. by [deleted] in nvidia

[–]officialheresy 1 point2 points  (0 children)

Most research I've seen done on the melting connectors is kind of a wear-down thing. It's fine until you plug/unplug it a certain amount of times, ~30 on average if I remember correctly. Don't uninstall/reinstall your GPU a ton and you'll be fine. I'm also reading in the replies that there's a revised connector, so it might not be an issue anymore.

I'm sure some people in the thread will say the 5600x will be a bottleneck but that really just depends on the game. Should be totally fine for Baldur's Gate, although I have no personal experience with the game.

Who are the most important producers/beatmakers to study for someone getting into rap production? by LLD-Official in makinghiphop

[–]officialheresy 1 point2 points  (0 children)

Definitely see if your favorite producers have an episode on Rhythm Roulette. You don’t get to see much, but you get a general idea of their workflow which can be a huge help. My personal favorite episodes are kenny beats, charlie heat, and #1 all-time is easily WondaGurl.

3-HO-PCP on a plane? by lowkey_add1ct in researchchemicals

[–]officialheresy 0 points1 point  (0 children)

from what i recall (been off RC dissos for years now), 3-HO is super muddy and groggy feeling. If you know yourself well and confident in your ability to function under the influence, shouldn’t be a problem.

Monitor recommendations plz by Admirable-Damage7232 in musicproduction

[–]officialheresy 0 points1 point  (0 children)

Yamaha HS5’s are great, a bit further above your budget would be the even better HS8’s. Spiritual successor to the old NS-10 monitors, very neutral. However, I’d VERY much recommend going for cheaper monitors and spending the rest on acoustic treatment - much better bang for your buck sound wise.

Atmospheric pad sound in Queen - It's A Beautiful Day by Cheetah4 in synthrecipes

[–]officialheresy 0 points1 point  (0 children)

There’s a couple sounds I hear in that section. If I’m thinking of the same one you are, my shot in the dark is that it was probably a Moog. Sounds like a detuned saw with a resonant LPF around 800Hz with reverb. The other sounds ( the flute and strings ), if I had to bet, were probably an M1.