binary-data Questions

1

Solved

I'm developing a Postgres-backed system, in which many binary files will be stored. I have at least 2 choices: Store them in Postgres. Store them as files. What criteria do I need to consider ...
Edenedens asked 6/2, 2016 at 10:13

3

I'm writing in C++11 and for some reason, I haven't been able to get gcc to compile it, so I've been using Xcode. However, I'm writing programs that take arguments from the command line, so I need ...
Laliberte asked 20/1, 2013 at 20:11

1

Solved

As explained in this article, it matters for calculating the F-1 score (that is, for calculating recall and precision) whether those calculations are based on the positive or negative class. For ex...
Microbiology asked 15/12, 2015 at 1:12

2

Solved

I have to send data-binary parameter through cURL in php. This is the command: curl -D - -u user:password -X PUT -H "Content-Type: text/plain" --data-binary "data-id=2010-10-01_15-15-53" https://so...
Wattenberg asked 27/6, 2013 at 13:55

3

I want to read an image from a url and convert it into binary data. Please help me.. byte[] data = null; ByteArrayOutputStream bas = null; try { URL u = new URL( "http://www.eso.org/public/ar...
Buller asked 14/2, 2011 at 7:1

1

Solved

I was going to use a long string to manipulate a large number of bit flags, keeping the result string in Redis. However, stumbled upon a php bug (?). A byte that contains bits 00001101 read using s...
Hygrostat asked 6/8, 2015 at 8:39

3

Solved

I have some tables in MySQL 5.6 that contain large binary data in some fields. I want to know if I can trust dumps created by mysqldump and be sure that those binary fields will not be corrupted ea...
Sycophancy asked 15/5, 2013 at 7:22

1

Solved

There is a nonlinear dynamic system x_n = f(x_n,eta) whose functional form is x[n+1] = 2*x[n] mod 1. This is a chaotic dynamical system called as the Sawtooth map or the Bernoulli Map. I am facing ...
Silvester asked 1/6, 2015 at 20:58

10

given an array of 0s and 1s, find maximum subarray such that number of zeros and 1s are equal. This needs to be done in O(n) time and O(1) space. I have an algo which does it in O(n) time and O(n)...
Several asked 11/9, 2011 at 20:33

5

Solved

I need to be able to store some data in a custom binary file format. I've never designed my own file format before. It needs to be a friendly format for traveling between the C#, Java and Ruby/Perl...
Bleach asked 27/4, 2009 at 19:40

3

Solved

So, I created a binary file with fortran, using something similar to this: open (3,file=filename,form="unformatted",access="sequential") write(3) matrix(i,:) The way I understand it, fortran pad...
Ari asked 5/1, 2012 at 23:0

1

Solved

I need to save a large set of client-side generated data (binary) to the client system. I looked at creating a Data URI, but the datasize is large (an app-generated image PDF files of 100+ pages). ...
Lynn asked 20/2, 2015 at 21:55

2

Solved

I'm trying to write a small Haskell program that talks a binary network protocol, and I'm having a surprising amount of difficulty. It seems clear that the binary data should be stored as ByteStri...
Auxiliary asked 9/2, 2015 at 21:9

2

Solved

I want to design and write a 3d image viewing web application in JavaScript. I've already written it in java and flash and basically want to port it. I want the 3d image export files to be in a bin...
Adeline asked 11/7, 2011 at 10:26

12

Solved

I have two applications written in Java that communicate with each other using XML messages over the network. I'm using a SAX parser at the receiving end to get the data back out of the messages. O...
Pule asked 21/8, 2008 at 13:35

1

Solved

I've been beating my head against the desk for about an hour now just trying to find some way of getting say... an array of bytes off the clipboard. Instead, all I can seem to find is information o...
Refill asked 19/7, 2014 at 21:7

1

Solved

I am reverse engineering an AC remote control. When I send the temperature values (from 17C to 30C) I get the following stream. Temperature - Binary - Hex - Decimal 17C - 00000000 - 0x00 - 0 18...
Audi asked 28/7, 2014 at 18:29

8

Solved

My problem is, that I want to parse binary files of different types with a generic parser which is implemented in JAVA. Maybe describing the file format with a configuration file which is read by t...
Subternatural asked 13/3, 2009 at 21:45

1

Solved

I was looking at the Parse Android docs and saw that to save photos and videos, you have to initialize a new ParseFile with a name and a byte[] of data and save it. What's the easiest way to conve...
Irritability asked 6/6, 2014 at 1:31

6

Solved

In my program, the user can load a file with links (it's a webcrawler), but I need to verify if the file that the user chooses is plain text or something else (only plain text will be allowed). Is...
Several asked 2/7, 2011 at 19:28

2

Solved

.... finalize(char *hdrs, sendip_data *headers[], int index, sendip_data *data, sendip_data *pack) { ........ For debugging purposes I want a hex dump of the data and pack structures, which...
Retardant asked 15/10, 2011 at 5:30

11

Solved

This is a question which has been asked before (large-text-and-images-in-sql) but mainly for data which will be changed. In my case the data will be stored and never changed. Just seems sensi...
Hendrika asked 19/3, 2009 at 14:47

9

Solved

How do I store binary data in MySQL?
Vinegarette asked 1/8, 2008 at 5:9

4

Solved

In R, I want to generate a random sample of a discrete random variable: X, where: P(X=a)=P(X=-a)=1/2. I have been searching for a function online, but there seems no direct function doing this.
Baloney asked 4/4, 2014 at 15:41

1

Solved

My setup is a Flask-based server. A bird-view of the project would be: the Flask-based server fetches binary data from AWS S3 based on some algorithmic calculations (like figuring out the filenames...
Shift asked 19/3, 2014 at 19:58

© 2022 - 2024 — McMap. All rights reserved.