Newest Questions
24,230,429 questions
0
votes
0
answers
8
views
Making a C++ struct that has the memory layout of an array
I have a set of structs that looks something like
struct A
{
int x;
int y;
};
struct B
{
int x;
int y;
int z;
};
struct Top
{
A a;
B b;
int* getPtr() { return &a.x; }
}...
0
votes
0
answers
10
views
Avoir le code html css qui permet d'avoir cet affichage : [closed]
Bonjour,
Il me faudrait le code html css qui permet d'avoir cet affichage :
un prix par mois
impossible d'avoir le bon look
j'ai essayé
<!DOCTYPE html>
<html lang="fr">
<head&...
0
votes
0
answers
10
views
Why is tcpdump on my Mininet router not capturing packets sent to the router’s own IPs?
I’m working on a Mininet topology where I have one router (r1) connected to four hosts (h1, h2, h3, and h4) in two subnets:
•h1 and h3 are in the 10.0.0.0/24 subnet.
•h2 and h4 are in the 192.168.0.0/...
0
votes
0
answers
20
views
What's the fastest way to write a hard coded series of bytes to an array?
I'm writing a serialization system which uses Roslyn Source Generators to create the serialization code for each type.
When serializing an object, the system needs to write some information about its ...
0
votes
0
answers
7
views
Mismatch Between Frequency Response and Eigenvalue-Based Natural Frequency in MATLAB for a 5-DOF System with Frequency-Dependent Stiffness
I am working with a mechanical system that has five degrees of freedom (a composite plate), and I am trying to compute its frequency response, time-domain response, and natural frequencies.
I have ...
1
vote
1
answer
9
views
Getting a full screen background image
I'm trying to crete this website of this indie game studio I'm a part of and right now I'm having trouble getting this image to cover the whole page and make it the background. enter image description ...
0
votes
0
answers
10
views
Invalid option: --timing
I tried to change the mesh row and mesh column in gemmini Config.scala from 16 to 32 but after that when I am using
cd chipyard/sims/verilator
make CONFIG=GemminiRocketConfig
I am getting error: %...
0
votes
0
answers
18
views
2D plots in plotly cannot show small variations
I have to plot some kind of graphs to represent the data below:
[[ 0. , 234. , 568.33333333, 881.66666667],
[ 0. , 234.66888889, 569.44555556, 865.03806017],
[ 0. , 235....
1
vote
1
answer
25
views
An API that will give you the word count of any given(or most) book's? [closed]
I'm working on a new website right now and need to be able to get the word count from a large range of popular/classic titles to compare the users input.
I've tried google books, penguin publishing, ...
0
votes
0
answers
11
views
What is the proper way to fill a batch in training an LM all the way to the end eg how to correct my tokenize_and_group_texts_via_blocks?
I’m preparing a text dataset for next-token language-model pre-training.
Using HF datasets with batched=True, I wrote a helper that
1. prepends a BOS token (if the tokenizer has one),
2. appends an ...
0
votes
0
answers
13
views
FFMPEG send RTP audio at 8k bytes/sec
I'm trying to use FFMPEG to mimick a device that transmits G711U audio over UDP/RTP at 8k bytes per second.
The device im mimicking sends rtp packets every 20ms with 160byte payload.
I've had limited ...
0
votes
2
answers
25
views
RestTemplate.postForObject() is throwing RestClientException because the request JSONObject is null
I am trying to call a PostMapping endpoint from a GetMapping endpoint using the RestTemplate.postForObject() api call. But always getting a RestClientException saying that the request JSONObject is &...
0
votes
0
answers
14
views
i have an undefined error on my Fabric web
enter image description here
i was following tutorial
https://www.youtube.com/watch?v=sR2YswEDjJU&t=1s
i was following there instructions but when i run the web there's an undefined error
in opera ...
0
votes
0
answers
15
views
update PHP 8.3.6 to 8.3.21
I hope you are well, how can I make apache recognize a php version?
I did the make install and when I run php -v the version appears but apache still shows version 8.3.6, I need help please.
Currently ...
0
votes
0
answers
7
views
APS Viewer loading ACC models got AUTH-001 403 errors randomly
Starting recently, our application, built with the Viewer SDK and integrated with Autodesk Construction Cloud (ACC) using 2-legged OAuth, is intermittently encountering "No access" errors ...