Skip to main content

All Questions

Tagged with
1 vote
0 answers
65 views

How to find timestamp in binary file?

I am searching for the specific timestamp of 7:12:53am Monday April 22, 2024 within a binary file (Sunday, April 21, 2024 9:12:53 in UTC). I am using a hex editor and have been searching for the epoch ...
Gary A's user avatar
  • 11
0 votes
1 answer
73 views

Read binary data file [duplicate]

I have a file that looks live a .XML (it even has a <?xml version="1.0" encoding="utf-8"?> header). But before the header, when I open the file in Notepad++, there is random ...
Júlio César E. Jr's user avatar
1 vote
1 answer
177 views

Decode suspected timestamps

I'm writing a tool to decode data I retrieve via mini-USB cable from the Beurer BF-105 scale. The part I'm really struggling with are the 4 bytes that I think should encode the timestamp of the ...
xogoxec344's user avatar
0 votes
0 answers
31 views

Correctly read binary data encoded in variable-lengths

I'm trying to read a binary data file containing time-series data in Matlab. Sample data: [23,-10,47,19,-417,-434,-1,29,11,22,23,6,18,13,-383] Command: fopen(filename,'r','ieee-le'); When I read the ...
Haoer Shi's user avatar
1 vote
2 answers
136 views

C bit counting causes unexpected behaviour

I was writing a Hamming weight function in C. I wanted to know if I did it correctly, so my plan was to test on the number 5. I didn't want to google the binary for 5 and wrote some code to do it ...
synnøve's user avatar
  • 129
0 votes
1 answer
455 views

Why is BSON parsing faster than JSON?

I am trying to understand BSON in-depth. I read a few informative questions such as: Why is JSON faster than BSON in node.js?, Which one is lighter, JSON or BSON?. But I still do not understand what ...
Vishal's user avatar
  • 175
0 votes
0 answers
51 views

Transferring binary data from mobile app (in Swift) to server

A third-party company is dealing with a mobile app that is getting a stream of binary data (protobuf) from physiological sensors on our device and is expected to send the binary data to a server, so ...
Bertrand Delvaux's user avatar
-1 votes
1 answer
130 views

Linear programming problem, searching for a group that has the most in common

I have 6 matrixes of numbers with binary variables like this: matrix 1:[0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 1] matrix 2:[0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 0,...
Hrruuska's user avatar
-1 votes
1 answer
72 views

How to create function that translates an array of 0 and 1s into a float? [closed]

I am trying to create a function that takes an array as argument, the array represents number but in Binary, I want this function to return a number. I can translate any number into Binary, however I ...
mitas1c's user avatar
  • 335
0 votes
1 answer
35 views

How to merge rows of binary matrix based on substring rowname matches?

If the rownames of the binary matrix match before the 4th . delimiter, merge the two rows, where if either row as 1, the column value will be 1. Also, remove everything after the 4th . delimiter in ...
melolilili's user avatar
0 votes
0 answers
64 views

Type of expression is ambiguous without more context when fetching core data

In my swift code the goal is to fetch an attribute and display it on an image view. I am having trouble fetching the attribute pic which is a binary data. if let imageData = Pictucre[imageNo].pic ...
John Zalubski's user avatar
0 votes
0 answers
71 views

Storing Binary Combinations in an elegant way

For my problem I have 16 inputs, which can be switched on and off individually and an output that depends on the input combinations. I now want to store the output for each input combination in an one-...
Rune's user avatar
  • 1
3 votes
1 answer
195 views

Restore pack value from hex string

If I have a hex value produced with e.g. my $hex = sprintf "%v02X", $packed_output and the $packed_output is the result of pack over a series of numbers i.e. my $packed_output = pack "...
Jim's user avatar
  • 4,445
-2 votes
1 answer
783 views

How do I find the regular expression for- All binary numbers greater than 110011

I am trying to solve a problem set to practice for an exam. How can I approach questions like these ? Is there a way to verify solutions or is it just trial and error ?
Ash Rivers's user avatar
1 vote
1 answer
2k views

How to Post Binary file (attachment) as a request body in JMeter

As in Postman, where the binary file itself could be attached as a request body to perform a Post operation, I am trying to attach a binary file in JMeter via File upload option. But it is not working....
MJD02's user avatar
  • 11

15 30 50 per page
1
2 3 4 5
9