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

learn more… | top users | synonyms

-3
votes
2answers
36 views

How to open a file in binary format.(1's & 0's)

I want to open files in binary format. I want to see binary code.(Not hex) And want to edit in binary format and ability to save changes. What is the best application to do this or is there any easy ...
0
votes
0answers
15 views

Running a binary in 32bit on mavericks

I was just wondering if anyone knows how to run a Mach-O binary file on Mac OS X Mavericks as a 32 bit, or ppc. X11 is no longer supported.
0
votes
3answers
76 views

How did the first Microprocessors knew the meaning of binary codes?

I've been asking myself this question for more than one year and I just decided to ask the question on here. I don't know if it's the right place or not. As far as I know Microprocessors are a ...
0
votes
1answer
19 views

how can I view file as paint image?

this guy is writing code in ms paint http://www.themarysue.com/writing-code-ms-paint/ similarly I would like to display, just for fun, various files (text or binary) as image. is there any utility?
0
votes
1answer
41 views

How can I know whether a binary file is an executable or a library?

I have a binary file, but how can know the file type, lib or exe. By opening it with notepad++, it shows ELF and a lot of random symbols.
0
votes
1answer
46 views

Why doesn't the binary package get reinstalled by apt-get or building from source?

I'm trying to install Asterisk on my Debian wheezy server. For this I first did the simple sudo apt-get install asterisk This worked flawlessly. Afterwards asterisk was running and I could enter ...
1
vote
1answer
65 views

How to apply binary diff produced by fc to a file?

How can one apply diff file produced by fc /b command on Windows to update some file in a simplest way possible; i.e. without buying anything or downloading some large/questionable software? The diff ...
6
votes
2answers
2k views

Figuring out how many megabytes go into gigabytes? [duplicate]

I needed to figure out how many requests could be made with 1000 GB of traffic if each request took 1MB on average. I quickly did the math on paper, and then as a second thought plugged it into ...
1
vote
0answers
31 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
33 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 ...
-5
votes
2answers
134 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
228 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
250 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
82 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
70 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
112 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 ...
3
votes
1answer
2k 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
677 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 ...
0
votes
2answers
59 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
101 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
476 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)?
7
votes
5answers
1k 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
316 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
65 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
321 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
144 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
2answers
2k 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
86 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
588 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
4answers
7k views

Convert hex dump of file to binary(program) 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
202 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 ...
9
votes
5answers
7k 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
101 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
306 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
282 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
2k 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 ...
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
2k 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 ...
3
votes
1answer
330 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 - ...
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
4k 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
4k 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
403 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
1k 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 ...
1
vote
4answers
979 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
1answer
444 views

List of binary compatible Linux derivates

I'm looking for an overview of binary compatible linux derivates to enterprise Linux versions. A usable definition of this compatibility is given on Wikipedia. I already know candidates for this: ...