206 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
12
votes
2
answers
881
views
convert string with hidden characters
I have some character strings which I'm getting from an html. Turns out, these strings have some hidden characters or controls (?).
How can I convert this string so that it only contains the visible ...
deschen's user avatar
- 11.6k
0
votes
0
answers
40
views
How to automatically determine source IP for raw UDP packets? [duplicate]
i want to send data via UDP raw sockets with Winsock.
I already implemented that and it is working fine, however, at the moment, i'm using a hard-coded source IP, which is the local IP of my WiFi ...
0
votes
0
answers
113
views
Using raw sockets in .NET using C# [duplicate]
Here is a sample program that is supposed to capture ICMP v6 packets. I have tried this on a stock Windows 11 system with .NET 4.8.1 framework installed.
It just does not work. No packets are ...
1
vote
0
answers
548
views
Typst - Add formatting rules to an already formatted raw block
I'm using Typst for my work and I have some code blocks to show. Inside this code blocks, I want to highlight some parts that are important. In order to do this, I'm using two main functions
One is ...
1
vote
0
answers
192
views
creating a CIRAWFilter directly from bayer pixel data
I've written a small app that plays back 12 bit dng sequences by passing 12 bit dngs to a metal view via CIRAWFilter via the CIRAWFilter(imageUR: url). Everything's working as expected!
Now, instead ...
0
votes
1
answer
156
views
Using a program of type raw_tracepoint to trace sched_wakeup,bpf verifies that task_struct *p is empty
I used the program type tracepoint, tracepoint /sched/sched_wakeup, and the function parameter tracepoint format。But I changed the raw_tracepoint type, it is not useful, error:loading objects: field ...
0
votes
1
answer
863
views
Is it possible to play RAW video encapsulated in YUYV 4:2:2 format using gstreamer?
I have custom USB UVC camera based on Infineon CX3 controller.
I send RAW10 (1 pixel in two bytes, LSB first, RGGB Bayer pattern) data frames incapsulated in YUYV 4:2:2 format.
Is it possible to play ...
1
vote
0
answers
104
views
Sony Spresense Camera Board
I am working with a Sony Spresense camera board with an Arduino camera library. In the example code that is available in the Arduino library, we can take JPG images. Now I want to take some RAW images....
3
votes
0
answers
124
views
get the source and destination address from 802.11 packets o
I have an NIC card, wlan1 which I set to monitor mode which I am capturing layer 2 packets with. I want to get the src and dest address of the packets, HWADDRESS es AKA MAC addresses of them.
In this ...
0
votes
1
answer
213
views
Reading .bson file with Rust
I was very curious about .bson binary file produced by mongodump.
At first, my guessing was BSON Array Bson::Array(array_of_documents)
Then:
#Cargo.toml
[dependecies]
...
bson = "2.1.0"
//...
1
vote
0
answers
120
views
What is the correct way to convert a YCBCR_420_888 image to RAW10 format?
I'm having trouble converting the image correctly. Is that even possible? There is no answer to this question on the Internet. The difference between image formats is catastrophically large. If RAW10 ...
0
votes
3
answers
326
views
How to use WHERE NOT IN in DB:Raw Laravel
How to use WHERE NOT IN in DB:raw Laravel?
Here's my sample code
$query = DB::select(DB::raw("... WHERE ID NOT IN (:ids) ..", array( 'ids' => "1,2,3" )));
I also tried this
$...
1
vote
0
answers
54
views
How get real raw data over tcp nodejs
I want to retrieve data via TCP, but the data obtained becomes the presence of new lines.
However, if you use other tools such as putty, the results look good. Where do you think the problem?. Thank ...
0
votes
0
answers
108
views
How get real raw data over tcp
I want to retrieve data via TCP, but the data obtained becomes the presence of new lines.
However, if you use other tools such as putty, the results look good.
Where do you think the problem lies.
...
0
votes
3
answers
419
views
How to make raw pointer to parent struct in rust
Sorry for my poor English, I'm a new rust programmer coming from c++ and trying to get the job done.
Player has many sub module, and then usually reference each other.
In C++, we like to save a ...