1,756 questions
-1
votes
0
answers
31
views
Java SNMP Simulator is running fine but SNMPGet/SNMPWalk giving timeout error [closed]
Following is the Java Code for SNMP Simulator:
package org.example;
import org.snmp4j.*;
import org.snmp4j.agent.*;
import org.snmp4j.agent.mo.*;
import org.snmp4j.agent.mo.snmp.*;
import org.snmp4j....
0
votes
0
answers
60
views
.NET 10 MAUI Hot Reload fails: “No method by the name ‘GetProjectFullPathAsync’ is found”
After updating my Mac to macOS Tahoe 26.0.1 and Xcode 26, the XAML Hot Reload in my .NET 10 MAUI projects stopped working.
When I make any XAML change, the app stays unchanged and the output shows:
...
0
votes
0
answers
89
views
Problem on resolution in simulator iOS 26 [duplicate]
My screen is not rendering completely in the simulator, and apparently this only happens with iOS 26. I have tested it with other iPhone versions in the simulator and the same problem occurs.
My app ...
2
votes
0
answers
117
views
SwiftUI Preview Not Working: Simulator Shutdown Unexpectedly (but app runs fine)
Xcode preview is not working but running the simulator works totally fine...
When I try to render a preview of a simple view, the preview canvas fails with a SimulatorShutdownUnexpectedlyError.
== ...
0
votes
0
answers
49
views
Flutter iOS Simulator app closes immediately after launch with RequestDenied and “Unable to lookup in current state: Shutdown” errors
I have a Flutter project that I’m trying to run on the iOS Simulator, but the app closes immediately after launching.
What I did:
Created a new Flutter project and it runs fine on the iOS Simulator.
...
1
vote
0
answers
99
views
How can I efficiently share high-frequency tick data between two local C++ processes using shared memory?
I'm building a high-performance tick simulator in C++ that generates market-like ticks (up to 65,536 per second). Now, I want to send these ticks to another local process on the same Linux machine in ...
0
votes
0
answers
26
views
VScode cannot find Nox
I am really new to flutter and simulators. Does anyone know why my vscode cannot find nox?
There exists similar topics.
Flutter VSCode and Nox Emulator wont Connect
how i can connect nox with vscode ...
6
votes
1
answer
252
views
Accurate 2D collision simulation in Rust
I have created a 2D physics simulation in rust that works for the most part. It involves creating balls which collide with each other and their container. I have looked at a lot of resources and found ...
-1
votes
1
answer
41
views
Arduino Pro micro Flight Peripheral (I have very limited programing knowledge)
Hey I need help with "my" code. I generated it with chat GPT based on the data for the arduino pro micro I have and data on the sensors/switches i use. I want my simulator peripheral to ...
0
votes
0
answers
33
views
How the temporal model file in Castalia simulator works?
I am trying to understand the way Castalia uses the temporal model file. I know that depending on the previous value of the signal and the time passed since then it chooses a value from the ...
0
votes
0
answers
40
views
Couldn't parse 'cont_choice "Ruby protocol"' on Gem5
I need Ruby cache on my gem5 simulation. I have followed the ruby-intro-chapter documentation. On section
Compiling a protocol with SCons
/ In the newer gem5 version (gem5 >= 23.1),
when I run,
...
0
votes
1
answer
182
views
How to profile iOS widgets in Instruments?
In order to stay under the 30 MB memory limit for widgets I'd like to profile the widget in the Simulator in Instruments. However, Instruments doesn’t start the profiling session with the error ...
0
votes
0
answers
64
views
Flutter app fails to run on iOS simulator in VSCode (works in Android Studio) - Code-signing error
I’m trying to run a Flutter app on the iOS simulator using VSCode, but I encounter the following error:
Launching lib/main.dart on iPhone 16 in debug mode...
Xcode build done.
Failed to build iOS app
...
0
votes
0
answers
29
views
EDCA on ns3 simulator
I am looking for some example code to simulate EDCA on ns-3. How do we use EdcaParameterSet edcaParams and "load" it to STAs on MAC layer? ns-3 documents has :: in functions which are ...
1
vote
0
answers
60
views
GPSIM external stimulus issue
I have a simple circuit (with PIC16F628) which repeatedly measures the frequency of a signal connected to Timer1. I use Timer2 as a timing gate. To simulate the 'system', I used GPSIM, but I'm having ...
0
votes
1
answer
49
views
Simulating T0 external clock for Timer0 on Microchip Studio with ATmega328p
I've setup Timer0 to work with an external clock on pin T0:
TCCR0A=0x02 // CTC Mode
TCCR0B=0x07 // Start timer on external T0 clock (rising edge)
OCR0A=90 // Compare after 90 clock ticks
TIMSK0=0x03 //...
0
votes
2
answers
479
views
Android Studio Ladybug Flutter iOS Xcode build Error
Not able to figure out what can be done, as everything is update to date and the app via Xcode but not through Android Studio
MacOS 15.0.1
Flutter: 3.24.3
Android Studio Ladybug
Xcode 16
iOS 18 ...
0
votes
0
answers
88
views
Is there a way to implement unit tests on ChampSim?
I'm using ChampSim - an open-source trace based simulator and I have created my own implementations of lfu and fifo.
ChampSim: https://github.com/ChampSim/ChampSim
However, I was wondering if I could ...
0
votes
0
answers
96
views
Webots controller crashes when changing a value in a vector
Im having troubles with the Webots simulator. Whenever I run the code, it always freezes at exactly 0.750 secs, and reports that the main bot controller crashed (there's a second controller for ...
1
vote
0
answers
51
views
Why no location settings showing up in my simulator app settings?
//pubspec.yaml
permission_handler: ^11.3.1
import 'package:flutter/material.dart';
import 'package:permission_handler/permission_handler.dart';
void main() => runApp(MaterialApp(home: MyHome()));
...
1
vote
1
answer
1k
views
Turing Machine - Finding k-th element and move it to the front of the tape
I am trying to solve the following Turing machine challenge:
The number choice function
The number choice function is defined as follows.
INPUT: a sequence 𝑘, 𝑥1, 𝑥2,..., 𝑥𝑛 where
𝑘 is a ...
0
votes
0
answers
110
views
Ios Simulator Issue in Flutter
I'm not able to launch ios simulator for flutter apps.
Note the error faced below.
Failed to build iOS app
Error output from Xcode build:
↳
--- xcodebuild: WARNING: Using the first of multiple ...
1
vote
1
answer
62
views
Flutter Denied Permission Errors
i have a problem with flutter i could not solve it i tried to clean flutter and restart computer everything but still i have this error.
(https://i.sstatic.net/6Hg3g2EB.png)
Future\<String\> ...
1
vote
1
answer
80
views
How to use iOS UIPasteboard to copy a data file from iOS Simulator to Mac Finder?
Need easy way for users to export a data file from iOS Simulator to use on their Mac file system.
Drag and drop from Mac Finder to iOS Simulator Files app works but there isn't a files app drag and ...
-1
votes
1
answer
42
views
Automaton rendering/state issue
I'm working on sort of automaton where there is one red with "state = 2" square which checks neighboring squares in order up, left, down, right and if one of them is has "state = 0"...
1
vote
0
answers
205
views
How to debug iPhone 16 camera control button feature on simulator
As said in the topic, I can not find any entry to trigger the camera control button in the iPhone 16-iOS 18.0 simulator. Is it only available in real machines?
11
votes
0
answers
1k
views
iOS 18 beta simulator doesn't work with FaceID: CoreAuthUl quit unexpectedly
With iOS 18 beta the FaceID authentication is not working for us in simulator context.
It's crashing the Simulator, see:
However with a real device on iOS 18 beta the biometry prompt appears and ...
1
vote
1
answer
354
views
SendProcessControlEvent:toPid: encountered an error: Error Code 8
I'm trying to install a WidgetKit app on the iOS Simulator, but I'm encountering an error that I can't resolve. The app fails to launch, and the widget doesn't appear in the simulator. The error ...
1
vote
0
answers
110
views
My DJI drone simulator can't switch into 'GUIDED' mode
I am running a simulator for my DJI drone so I can learn to use the drone before flying it in person. However, whenever I initialize the code the drone fails to enter GUIDED mode. This is my code:
...
-1
votes
1
answer
415
views
Errors when adding an L3 cache in gem5 config script
I was just starting to learn gem5 and i was trying to add an L3 cache on top of the two-level cache in the official tutorial.
These are the L2 cache and L3 cache i wrote according to the tutorial:
...
0
votes
2
answers
251
views
What's the issue with my lottery simulator?
I want to simulate how often you'd have to play the lottery for a win:
import random
lotterylist = [random.randint(1, 49) for x in range(6)]
winning_numbers = [6, 26, 31, 32, 33, 49]
counter = 0
...
-1
votes
1
answer
61
views
Gravity calculation using pygame [duplicate]
import pygame
from pygame import *
import math
class orb:
def __init__(self, mass=1, s0=[0,0], v0=[0,0], a=[0,0], r=10, color=(255, 255, 255), fix = False, F=0, Fx=0, Fy=0):
self....
0
votes
1
answer
310
views
Flutter url_launcher - token not working on iOS and Android simulator
When using url_launcher with following code, the token is not taken into account in iOS and Android simulators. It opens the url starting with login page, while with the 'Authorization' header and ...
0
votes
1
answer
366
views
Where is the file downloaded by the `xcodebuild -downloadPlatform iOS`?
I executed xcodebuild -downloadPlatform iOS for download ios17.2 simulator.
The download is complete, but the installation process failed due to lack of space and nearly 7 gigs of hard drive space was ...
1
vote
0
answers
92
views
autoconf error in trying to build TPM2.0 simulator on M1 Mac
I'm trying to build a TPM2.0 simulator on macOS Sonoma (14.2.1) using Official TPM 2.0 Reference Implementation (by Microsoft) and it seems to be failing at generating a make file for executing. This ...
0
votes
1
answer
174
views
LWN-Simulator Installation From docker
I'm new and I have a problem installing Lora simulator from docker. I have followed all the steps in the installation.
https://github.com/UniCT-ARSLab/LWN-Simulator
In the second step, run the built ...
2
votes
0
answers
220
views
Scheme is not testable as iOS 17.4 Not Installed but I did install it [duplicate]
I could not run the app build on Xcode. It keeps saying that I need to install iOS 17.4 but even when I installed it, it still doesn't work. Please screenshot below.
I tried reset and clean build and ...
-1
votes
1
answer
396
views
unity project with simulator sdk checked can not run in xcode,reported "a build only xxx" error.unity 22.3.17 and xcode 15.2
I'm a fresh user for xcode,and this my first time to try to public my unity game to ios.
I make a empty unity project, set the simulator sdk option true in unity, export the project to xcode,but I can'...
2
votes
0
answers
390
views
running SPEC in gem5 using the SimPoint methodology
I'm currently doing a project using gem5 to simulate some different system configurations to test the difference in their performance. I would like to run SPEC2017/2006 for benchmarking the ...
3
votes
1
answer
74
views
Can multiprocessing in Python be used to simulate a graph evolving through time?
I have had success using multithreading in Julia for simulating a graph with evolving values and would like to implement a similar scheme in Python.
Because the value at a node at time t may depend on ...
1
vote
0
answers
34
views
How To Have Source Code On Mac PC But Run It On A Simulator On Windows PC?
I have a Mac Book Pro and another Windows laptop and I have Android Studio installed and configured on both of them. What I need is to run my Android project on Mac but connect it to the simulator on ...
0
votes
1
answer
599
views
How to resolve Segmentation Fault in RISC-V Program
// factorial.c
#include <stdio.h>
// Function to calculate factorial
unsigned long long factorial(unsigned int n) {
if (n == 0)
return 1;
else
return n * factorial(n - ...
0
votes
0
answers
149
views
How to run same application multiple times in a pc with different credential at same time
Suppose , i have a apps called "GEM",
to make it run in Operation system in personal computer i need userid and password to log in.Now whenever i login to "GEM" with a user id ...
1
vote
1
answer
2k
views
Simulator with iOS 16.4 not appearing on Xcode versions 15.2
So I have updated to the latest Xcode version, and for the first 2 weeks, everything was working as expected. But today the simulators that I was using with iOS 16.4 disappeared.
I have also the Xcode ...
-1
votes
1
answer
50
views
How does benchmark run on the simulator?
I'm making 32-bit MIPS simulator with cpp just for studying.
But I can't understand how benchmark programs are run on simulator.
Also, I don't know how code of benchmark programs are structured.
Can ...
1
vote
0
answers
156
views
Always allow is gone, how to get it back?
Always allow is gone
When I try to build to a physical device, it suddenly asks for permissions, which is fine, but not that I should repeat myself 14 times, each time building for a device. ...
1
vote
1
answer
1k
views
The version of CocoaPods used to generate the lockfile (1.14.3) is higher than the version of the current executable (1.11.3)
When I try to run a Flutter app in an ios simulator, It shows this error.
[!] The version of CocoaPods used to generate the lockfile (1.14.3) is higher than the version of the current executable (1.11....
2
votes
0
answers
1k
views
How do I run expo 50.0.5 iOS simulator on Xcode 13.4?
I have react-native v0.73.2, expo v50.0.5, and Xcode v13.4 installed on my computer.
When I try running it using npm run ios or npx expo start --ios it will ask me to update my code.
Xcode (13.4.0) ...
0
votes
0
answers
80
views
Unable to build project in simulator flutter
I am trying to build new project but Podfile always unable to created, so I do pod init to create it and when I run in simulator always getting
Target debug_unpack_ios failed: Exception: Binary /mine/...
1
vote
0
answers
118
views
Opening coppeliaSim with flag not working
I am trying to open a TCP port on coppeliaSim to connect to, but when doing the command
/Applications/coppeliaSim.app/Contents/MacOS/coppeliaSim -gREMOTEAPISERVERSERVICE_19999_FALSE_TRUE
it opens ...