Skip to main content
0 votes
0 answers
10 views

Is it possible to calculate abilities per participant per stimulus in BradleyTerry2 R package?

I have a task in which participants engage in a pairwise comparison task of 12 stimuli. All participants see all comparisons and the order is fully randomised. For subsequent analyses, I need to ...
bojana_v's user avatar
1 vote
1 answer
175 views

Is it possible to dump a Java byte array to a file from the IntelliJ debugger?

I am debugging some code that involves transferring files over a network. I have received the binary data and want to confirm that the file is correct by downloading it an opening it in a viewer ...
Anomaly's user avatar
  • 1,091
1 vote
0 answers
40 views

Using cURL in PHP to post multi-part data held in variable rather than on disk [duplicate]

I am finding it surprisingly difficult to post an image that I have manipulated using GD image to an API without first saving it to disk. It seems like there must be some way to post the GD image ...
user6631314's user avatar
  • 1,984
0 votes
0 answers
34 views

Can't use BinaryFormat functions modified using BinaryFormat.ByteOrder to feed a field length to other BinaryFormat functions

Context Writing a Power Query function to read binary data from a binary stream where some fields are preceded by their length as a 32-bit Little Endian Integer. A systematic error occurs when using ...
Djé's user avatar
  • 51
1 vote
0 answers
24 views

Ideal method to do image similarity comparison between two binary images - Tactile Maps

I have a task for image similarity comparisons between two binary images of tactile maps (maps for the visually impaired to map out an area). The goal is to have an output score of how similar the two ...
Michael Liang's user avatar
0 votes
0 answers
21 views

Converting binary data to unsigned ints

I'm getting an error pulling out binary data from a database using GORM. Here's my situation: Database field (Aurora MySQL, if it's relevant): tag_to_change binary(4) null, Structure: type ...
cajund's user avatar
  • 141
0 votes
0 answers
40 views

4 byte binary integer resets above 128 (or its multiples)

I read binary data from an instrument but the output is quite weird. I have a python program that relies on pyvisa that I describe below. The weird thing is that everytime 128, or a multiple of 128, ...
Aldehyde's user avatar
  • 113
0 votes
0 answers
136 views

Reading binary data from serial port instrument

Intro I would like to retrieve binary data from an instrument (SR620) using RS-232. The data is an histogram made of 250 bins. The python program I did works well when no data is acquired (I get 250 ...
Aldehyde's user avatar
  • 113
0 votes
0 answers
104 views

How to Get image bytes directly out of clipboard

I am writing a script to automatically calculate totals for each category from a report that is exported to an excel spreadsheet. The system that generates the report uses images (for some reason) in ...
Nastacio Tafoya's user avatar
1 vote
2 answers
40 views

How to replace ^B in log or text files with sed?

I have a log/text file which is full of highlighted ^B lines when opened with less. Usually I see ^A and I have the following sed command to replace ^A with |. I found it a while ago and do not know ...
MichaelE's user avatar
  • 837
0 votes
0 answers
86 views

Django max_length validation for BinaryField causes KeyError in translation __init__.py

I have a simple model, something like class Notenbild(models.Model): bild_data = models.BinaryField(max_length=500000, editable=True) In admin.py class BinaryFieldWithUpload(forms.FileField): ...
Alexander Pacha's user avatar
0 votes
1 answer
165 views

What binary format is the binary mesh export and how can it be converted to ASCII with Python?

I have generated some large meshes using Gmsh via the Python API. The ASCII files can be Gigabytes. Since binary files are smaller and faster to read, I set Gmsh to save the mesh files in binary ...
jared's user avatar
  • 9,223
3 votes
2 answers
119 views

In C, extract mantissa of a double as a long long in portable way

Function frexp(3) returns the normalized mantissa xm of a double x, with a value in [0.5,1.0), unless x=0. So I can convert it to a long long as follows: int ie; // will be set in next line ...
Joachim W's user avatar
  • 8,217
0 votes
1 answer
99 views

Log viewer for binary logs

I have a clustered real time system that produces a very large amount of binary logs. I get a bunch of binary logs from each node in the system and I want to view the logs in a convinent way. Mostly, ...
shaharhoch's user avatar
0 votes
0 answers
146 views

Detecting symbols in arbitrary binary files

Given a program such as Ghidra, Binary Ninja, etc., is there a way to auto-identify a set of data and assign values a symbol based on the pattern of the data? For example, from this screenshot in ...
Blazing Ardor's user avatar

15 30 50 per page
1
2 3 4 5
108