Binary is a base-2 numbering system that represents values using two symbols: 0 and 1.

learn more… | top users | synonyms

0
votes
0answers
34 views

Incremental Backups of ntfsclone Images

I am attempting to make compressed incremental backups of a Windows partition using ntfsclone on Linux. Currently, I am making full ntfsclone images using something like the following command: sudo ...
0
votes
0answers
16 views

“Operation not permitted” on program start

I am trying to run the YGOPro game on my Mac. However, whenever I try to run it, I get: server:Ygopro Ingwie$ ./ygopro.app/Contents/MacOS/ygopro -bash: ./ygopro.app/Contents/MacOS/ygopro: Operation ...
1
vote
1answer
55 views

Is Windows Calculator binary representation little or big endian? [closed]

In native calculator application on Windows, in the programmer's view, is the binary representation of a number in big or little endian?
1
vote
1answer
24 views

Recover files from corrupt archive

I have a tar file of 40Gb but when I open it with the archive manager on Ubuntu I get only 512MB. The major part of my files are messing. Even when I do : tar -tf myfile.tar.gz I don't get the list ...
2
votes
1answer
31 views

Why is it believed that only Blu-rays can store HD content? [closed]

HD content can be stored anywhere. Why does the Wiki say that Blu-ray supersedes DVD because it can store HD video? You can store an HD video on a CD-ROM. An HD video is just bits representing data to ...
-5
votes
2answers
82 views

Is it possible to run an x64 binary on an ARM processor? [duplicate]

Suppose you have an ARM embedded device and a x64 based laptop. Both systems are running GNU/Linux. If you decide to copy the "ls" binary from the laptop to the embedded device and run it on the ...
1
vote
1answer
71 views

Convert black and white jpeg to binary string [closed]

Given a jpeg image with all black and white pixels, I want to convert all black pixels to 1's and all white pixels to 0's, and have these 1's and 0's output to a text file. Is there any program that ...
1
vote
1answer
70 views

Why do I get HEX2BIN() error for long (but valid) strings?

In Excel 2010, the formula =hex2bin("111",10) gives the right answer of 0100010001. According to the function help, the arguments should be at most 40 bits (10 hex digits). However, the following ...
1
vote
1answer
66 views

What is the difference between IPv4 and IPv6 in terms of binary?

I know this question is for entry level users. That I am. New to this world and finding it very interesting. I have done some research on IPv4 and how to convert IP addresses to binary and vice versa. ...
0
votes
0answers
50 views

Three way binary comparison for savegame hacking

Basically, I'm trying to compare a bunch of savegames to find where some values are stored. First of all, it's a rogue-like interpreted in WinGlulxe. I'm dealing with almost 100% binary save files ...
3
votes
2answers
95 views

Do emulators parse binary code within files?

I have seen some emulators that claim they execute, and even though they do, their source code shows they don't directly parse every 1 and 0 to determine an instruction. My question is, if the ...
0
votes
1answer
715 views

How can I diff binary files in git?

I assume I need to set up a difftool. What difftools work? How do you put the parameters in?
2
votes
3answers
399 views

Windows backup with support for incremental binary backup

Currently, I'm using the Windows 8.1 file history backup, but it has a major weakness. Large files are copied in their entirety each time they change. For instance, I have some virtual machines files ...
32
votes
8answers
3k views

Why does an exe file not appear as ones and zeros in a text editor such as Notepad? [duplicate]

Having learnt that machine code is expressed in binary (0's and 1's) and that Windows' .exe file format is an executable which according to Wikipedia: causes a computer "to perform indicated tasks ...
0
votes
2answers
51 views

Can any compiled-language code be traced, line-by-line, to individual bits of each CPU-instruction in binary? [closed]

I realize we can dump equivalent assembly from C++ code using many debuggers and such. But what about binary code? The formatting of bits in each byte(s) that make up the actual machine instructions, ...
2
votes
1answer
73 views

Can you pull every bit of data & instruction out of an executable file via a hex editor?

Someone told me that viewing a binary file of a program, or similar, in a hex editor exposes the entire sum of data/instructions a program has. For example, like in game hackers/modders of old retro ...
0
votes
1answer
261 views

How can I display an MP3 file as binary?

I have an MP3 file and I would like to see the file's binary. How can I do this (preferably on a Mac)?
0
votes
0answers
51 views

rsync with diff between unrelated files

I need a Linux program similar to an rsync -a foodir targethost:foodir2 copy, but for each file in foodir it should find similar files in foodir2, and transfer only the difference. rsync can't do ...
5
votes
5answers
597 views

Does recompiling a program produce a bit-for-bit identical binary?

If I were to compile a program into a single binary, make a checksum, and then recompile it on the same machine with the same compiler and compiler settings and checksum the recompiled program, would ...
-1
votes
2answers
201 views

Hex to base64 on *nix [duplicate]

Note: I have marked this question as a duplicate of another question. But I am keeping it nonetheless as it has an example and a clearly explained answer, so hopefully it should help others. ...
0
votes
3answers
1k views

How to convert hex to binary?

I would like to get some help with my assignment. I have to convert hex to binary by using hlookup or conditional formatting in Excel. How should I approach this?
3
votes
2answers
55 views

How can I find the other copy of an image file?

I have an image file, and I know there's another copy of it somewhere in a directory or one of its ancestors, but it has a different, unknown file name, and there are thousands of images in this ...
1
vote
3answers
224 views

How to compile a shell script in FreeBSD?

How can I compile binary shell script for FreeBSD? I tried the Linux binary emulator but it doesn't work.
0
votes
1answer
93 views

Are there any tools for doing a text search within binary data?

This question is somewhat related to this so post: Searching text in binary data I am not looking for a programming solution that involves having to make a program to this. I was wondering if there ...
1
vote
0answers
1k views

Route summarization: How to get the route summary patently. (VLSM, CIDR)

i'm looking for a smart and short way to calculate summary routes. (CIDR, route summarization) I'm common with the subject matter of summarization, supernets, VLSM, CIDR etc. but I don't always ...
0
votes
1answer
71 views

How does binary data get generated? [closed]

How does hardware generate binary codes? For instance, keyboard generates scancode "1E" when i press "A" But how? P.S.: I assume software only interpretes and processes binary data (not generates ...
2
votes
1answer
387 views

Viewing Binary Files

When I open up a binary file in Vim, it displays a bunch of gibberish. One would expect it to display a bunch of 1s and 0s. Why is this?
1
vote
3answers
5k views

Convert hex file to binary file on Windows?

I have a hex file that I am attempting to convert to binary. I have performed this on Linux before using the command: xxd -r -p mykey.hex > mykey.bin But I cannot figure out how to do this same ...
0
votes
1answer
158 views

When using PHP math and Binary Numbers [closed]

I am learning a little more about PHP instead of the basic formatting, etc. One of the questions I have is that with the math part of PHP I can do some rather interesting things with math. I am ...
2
votes
1answer
56 views

how does a computer know the extension of a file

Just a curious question, how does a computer work out what file tyue a certain file is. E.G. How does a computer work out that this pages is a type of html? of each file, s there header information ...
9
votes
5answers
4k views

What is the binary representation of “256”? [closed]

I have just learned how to convert decimal to binary and binary to decimal. But now I'm confused. How would you represent the number "256"? 255 = 11111111 And 1 byte cannot have more than 8 ...
0
votes
1answer
92 views

How BroadcomVoice16 use 2-bits per sample to produce voice?

BroadVoice16 (BV16) is a speech codec that operates at an input sampling rate of 8 kHz and an encoding bit rate of 16 kb/s, or 2 bits per sample. That's an excerpt from BroadVoice 16 Speech Codec ...
0
votes
2answers
76 views

How could I represent 1.625 by 0 or a 1 (binary digit)?

This is an excerpt from wikipedia about 'full rate' speech coding standard. Full Rate or FR or GSM-FR or GSM 06.10 was the first digital speech coding standard used in the GSM digital mobile ...
0
votes
1answer
225 views

Install compiled binary in non-standard environment

I am attempting to install GraphicsMagick in a hosting account... I used this info to get it to work in most cases: How do you specify the location of libraries to a binary? (linux) However, it ...
4
votes
3answers
1k views

Is there a program which can count occurrence of a certain string in a binary file?

I have a binary file and I need to count occurrences of certain string in this file or even list then with offsets. In windows or Linux (for this task I use Fedora 12 and w2k).
5
votes
2answers
274 views

modify 128 bytes

I have to replace on a linux webserver, the first 128 bytes of some binary files. The files have a size of ~ 5Gb and I just have to rewrite the header bytes. What would be the best aproach to do this ...
10
votes
2answers
3k views

Why is base64 needed (aka why can't I just email a binary file)?

I was reading up on Base64 encoding, and found this on Wikipedia: Base64 encoding schemes are commonly used when there is a need to encode binary data that needs be stored and transferred over ...
9
votes
3answers
1k views

Why can't we understand the content of a binary file after compiled?

As far I know, every program consists of a pack of processor instructions with some specific data variables(float, int, char...) to work on the processor registers. So, the first thing that I ...
1
vote
3answers
277 views

Computer Hardware Theory: Why binary bits?

Since this isn't a research-level question (seeing as I am not in a graduate program) I decided to plop on over here from the other CS Q&A site. Why do we use binary to encode information in ...
0
votes
2answers
2k views

Native .iso generation in Windows CMD?

Is there some way to natively create a .iso file from a partition or directory via Windows CMD? From what I gather the answer is no, but coming from Linux, where dd accomplishes this so easily, it ...
0
votes
1answer
1k views

When trying to edit OS X app (Unix Executable File)

I want to know how to edit the binary file in a Mac app. The file I am attempting to edit is found in foo.app/Contents/MacOS/foo... Whenever I try editing it with TextMate, it saves fine. But then I ...
2
votes
1answer
292 views

Binary diff tool which would work the same way as diff(1) tool

Do you know Unix/Linux diff(1) tool works? It shows which lines were added and removed between 2 text files, and shows it in the human-readable form. I need the same kind of tool for binary files - ...
38
votes
5answers
4k views

Why don't you see binary code when you open a binary file with text editor?

Why don't you see binary code when you open a binary file with text editor? For example, when I open an image with text editor, I see some weird characters and also some human readable characters; but ...
1
vote
6answers
1k views

Why does everything in computing work with a base number of 2 to the power of x?

Flash-drive sizes (increase by powers of 2) RAM size (increase by powers of 2) 32bit, 64bit, 128bit (increase by powers of 2) etc... Can someone explain this, I think it might have something to do ...
-1
votes
1answer
3k views

Changing binary file to readable text file

I have a program that creates a file that stores text like this: application/octet-stream; charset=binary now i need to convert this file to this: text/plain; charset=us-ascii i know this is ...
9
votes
2answers
3k views

Is there a binary-safe “triple less than” <<< operator in bash?

This is a rather hypothetical question, so please don't ask me why I'd want to do this. Assuming that I have a variable GIF that contains binary data, and assuming that I cannot use the pipe | ...
0
votes
2answers
348 views

Why does Mercurial think my source files are binary?

I've been working on a programming project in Notepad, so far. Today, I opened my source files in an IDE to debug one thing, and the IDE converted saved my files as binary (or so Mercurial reports, ...
3
votes
2answers
930 views

What is the use of binary output on stdout?

Some programs print their binary output directly on stdout. Here are some examples: tar -c file.png dd if=file.png Well, I see that the output can be redirected to a file. But these programs ...
0
votes
4answers
817 views

Does a compiled software contain binary 0 and 1?

I know that after compiling a software or application, its code is converted into the machine language. Does a compiled software contain a binary 0 and 1? What happens after compiling a software? Is ...
1
vote
2answers
5k views

What exactly is a binary file? Is a JPEG file (.jpeg) a binary file?

Sorry if this question seems simplistic or overly broad. I would like to clarify what a binary file is. I know that a binary file is a binary encoded file -- is a file format like JPEG classified as ...