Cython Error with installation of psychopy package on Mac Silicon

I am attempting to use the psychopy package (version 2023.2.3), and it appears to install some psychtoolbox files alongside itself. On running import psychtoolbox as ptb with Mac Silicon, I get: ImportError Traceback (most recent call last) Cell In[57], [line 1](vscode-notebook-cell:?execution_count=57&line=1) —-> [1](vscode-notebook-cell:?execution_count=57&line=1) import psychtoolbox as ptb File [~/miniforge3/envs/goodfeeling/lib/python3.10/site-packages/psychtoolbox/__init__.py:28](https://file+.vscode-resource.vscode-cdn.net/Users/davidcsuka/Documents/nanoGPT/~/miniforge3/envs/myenv/lib/python3.10/site-packages/psychtoolbox/__init__.py:28) [26](file:///Users/davidcsuka/miniforge3/envs/myenv/lib/python3.10/site-packages/psychtoolbox/__init__.py?line=25) from .WaitSecs import WaitSecs [27](file:///Users/davidcsuka/miniforge3/envs/myenv/lib/python3.10/site-packages/psychtoolbox/__init__.py?line=26) … Read more

Composable in NavGraphBuilder is repeating 3 or more times

I have a problem when do a call to my composable in the NavGraph, it is repeating 3 times or sometimes more times. I have looked where I do the call and I don’t see any loop or something. NavGraph fun NavGraphBuilder.addScheduleDetails( navController: NavHostController, userDataViewModel: UserDataViewModel, titulos: MutableState<String>, datosViewModel: DatosViewModel, ){ val animationState = mutableStateOf(true) … Read more

click function in js stacking up

I need some help with my js code… I am currently trying to make some keyboard shortcuts to make my job a little bit faster and I wrote this code that runs using violent monkey everytime I load the site. var reloadButton = document.getElementById(“btnSearchAll”); document.addEventListener(‘keydown’, (event) => { if(event.altKey && event.key == “r”) { reloadButton.click(); … Read more

Nuxt 3 Production in Apache2 with subdirectory

I have a Ubuntu 18.04 server running with Node/NodeJS and P2M installed. I want to deploy Nuxt 3 project into a subdirectory /app/. On my /var/www/html there is a other project (client-side). What I have done, running nuxt build and in my nuxt.config.js the following attributes: … other config server: { port: 8080, }, router: … Read more

Keep the user in the same room even after refreshing the page [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed yesterday. Improve this question So I was looking into building a real time application … Read more

iir filter Direct form 2

global a b M N w_state M = 2; %order of numerator N = 2; %order of denominator %initialize state array of DF2 filter implementation w_state=zeros(1,N+1); %filter coefficients (analyze!) b =[0.968122978730185 -1.936245957460371 0.968122978730185]; a =[1.000000000000000 -1.935229554706695 0.937262360214047]; %read input audio [XpreFiltered,Fs] = audioread(‘Sentences_RoomNoise.wav’); %plot input audio figure(1); plot(XpreFiltered); %to play input audio, uncomment line below … Read more

Line spacing in SwiftUI TextEditor

Am I not supposed to use .lineSpacing with a SwiftUI TextEditor? When I try, the up and down arrow keys get all messed up. Even a simple one like this: struct ContentView: View { @State private var theText = “” var body: some View { TextEditor(text: $theText) .lineSpacing(20.0) .frame(width: 700, height: 500 , alignment: .leading) … Read more

Permission to debug host.exp.Exponent was denied

Thanks for your replys. I was a problem at instruments. I need to trigger background fetch on my iphone device. But when i click to record button, i get this error. How cna i resolve this issue, thank you. I reinstalled command line tools with this command. I tried it with different devices.

Database authentication failed – “MongoServerError: bad auth : authentication failed”

I Could n’t connect with the MongoDB database. I was getting this issue when I was trying to connect MongoDB atlas with my Program. Below source code is used for server.js const express = require(‘express’); const mongoose = require(‘mongoose’); const bodyParser = require(‘body-parser’); const cors = require(‘cors’); const dotenv = require(‘dotenv’); const app = express(); … Read more