Binary is a base-2 numbering system that represents values using two symbols: 0 and 1.
2
votes
2answers
31 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
2answers
61 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
40 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
181 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
44 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
91 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
2answers
787 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 ...
-1
votes
1answer
79 views
Does Source Based Linux Distro's Have Lower Download Size for Packages Rather Than Binary?
I looked all over the internet and couldn't find the answer to my question. If you use a source based distro, does that lower download sizes, compared to binary? If so, how significant is it? (Provide ...
0
votes
1answer
51 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 ...
0
votes
1answer
105 views
Running projects from NTFS partition on Ubuntu
I'm dual booting Windows 7/Ubuntu 12.04. I want to run C++/Java projects from a NTFS partition, where I keep generally all my files and projects. I fiddled with the fstab. One time I removed 'noexec', ...
2
votes
1answer
43 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 ...
8
votes
5answers
1k 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
0answers
41 views
XBinary or binfmt_misc support for Mac OS X Lion or above?
Is there any third-party tools people know of to support binaries from other systems like binfmt_misc does for Linux?
Thanks.
0
votes
1answer
69 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
68 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
94 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
625 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
234 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 ...
7
votes
2answers
1k 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 ...
7
votes
2answers
838 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
198 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
602 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
666 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 found in foo.app/Contents/MacOS/foo...
Whenever I try editing it with TextMate, it saves fine. But then I try opening the app, it ...
0
votes
0answers
209 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 - ...
36
votes
4answers
3k 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
5answers
495 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
1k 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 ...
8
votes
2answers
982 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
230 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
520 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
491 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
2k 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 ...
1
vote
1answer
244 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:
...
2
votes
0answers
344 views
Binary Visual Diff Tool for MacOS X
This might already be answered, but I did not find an answer that really matched my needs. I'm looking for a visual diff tool that can diff binary files. It was also OK if it was integrated into a ...
0
votes
2answers
120 views
What is a good strategy to maintain a set of binaries for Gentoo?
There is the world favourites file in which you can record your favourite packages, then there is the where you can record packages and compile whenever. Also there is http://paludis.pioto.org/.
...
-1
votes
2answers
143 views
fixed point representation vs floating point [closed]
(I don't know if this is the right place to post this, if not sorry and can it be moved to the right site please)
Under what circumstances would fixed point representation be used rather than ...
1
vote
0answers
107 views
How to upload a file to windows through a netcat session
I have a netcat session and I want to upload a binary to the target windows machine. How can I do so? Is there a native "wget" in windows?
6
votes
2answers
2k views
Binary diff/patch for large files on linux?
I've got two partition images (A and B) and want to use them to create a patch that I can apply on A on another computer in order to get the new B image without flooding the network. I have the ...
1
vote
2answers
905 views
Looking for precompiled binaries of the latest Hunspell for windows
I want to install Hunspell on windows, but on the sourceforge page I find only the sources. There are some binaries too, but they are for only very old versions.
Is there a place where I can find ...
2
votes
0answers
91 views
Tools to check whether an executable has SIMD instructions in it?
Theoretically we can analysis a binary executable/library to see whether it contains any SSE and/or AVX opcode. However, it may be a bit tedious and error-prone. Are there any tools I can use to get a ...
0
votes
1answer
635 views
Cannot execute binary in Linux?
I'm trying to download / execute the Centos 5 64bit auto installer:
http://www.parallels.com/download/sitebuilder4/#CENTOS5X86_64
...
2
votes
1answer
669 views
I have a binary or hex file cached in firefox. How can I make it a working file?
I can't download the file anymore, but it's still sitting in my firefox cache. Using about:cache, I can see the file as an xhtml page showing the encoding, filetype, etc... and then three columns of ...
2
votes
1answer
246 views
Firefox 4 giving a “couldn't calculate the application directory” error
I'm installing Firefox 4 on my work's managed linux system, so I can't access the package manager.
I downloaded the Firefox 4 tar from their website and unpacked it into my home directory as per the ...
1
vote
3answers
320 views
Overriding Linux libraries for historical binary-only tools
I have a 64 bit Ubuntu Linux box. Recently I was given an old compiled binary that used to run on an old, retired server, which I THINK was a 2007-era Redhat distribution.
As you might expect, the ...
1
vote
1answer
511 views
convert text to binary/executable file (for e-mail attachments)
My e-mail service provider blocks lots of attachments, but sends me a text attachment that has information such as the following:
Content-Type: application/octet-stream;
name="filename.dll"
...
1
vote
2answers
51 views
How much disk space would take to list every possible UEI-48 or MAC address?
Is it (2^48) possible addresses X 48 bits = 1536 terabytes ??
1
vote
2answers
818 views
Unable to find php binary
PHP is running fine with apache on my server. I want to use it from command line but I am unable to find the binary:
root@....:~# whereis php
php:
root@....:~# whereis php5
php5: /etc/php5 ...
1
vote
2answers
1k views
How to prepend 8 bytes of data to a binary file in Linux?
I would like to add 8 bytes of data to the beginning of a binary file.
Is there a Linux command for this?
0
votes
1answer
1k views
Unconvert Text File from Binary Format
I've got a rather large CSV file (~700MB) which I know to consist of lines of 27-character alpha-numeric hashes; no commas or anything fancy. Somehow, during its migration from Windows to Linux (via ...
2
votes
1answer
167 views
How do I do the Mac equivalent of adding something to the Windows path environment variable? [duplicate]
Possible Duplicate:
Where does $PATH get set in OS X 10.6 Snow Leopard?
I need to get a command line program working on my Mac, I have downloaded the executable binaries... not even quite ...
