Questions tagged [bin]

"Bin" is short for binary. It generally refers to the built applications (also know as binaries) that do something for a specific system. In SO "bin" can refer to a standard directory name where one put all the binary files for a program. This would be the executable itself and any dll's that the program uses.

is short for binary. It generally refers to the built applications (also know as binaries) that do something for a specific system. In SO can refer to a standard directory name where one put all the binary files for a program. This would be the executable itself and any 's that the program uses.

The name goes back to the early days of the UNIX OS where /bin, /usr/bin or /usr/local/bin were directories where executable binaries were stored. In Java, this name is used to designate where executable files are stored within the Java home directory.

773 questions
14
votes
5 answers

How to generate bin frequency table in R?

How can i bin data of size 0.1 for the following example. x<-c(0.01,0.34,0.45,0.67,0.89,0.12,0.34,0.45,0.23,0.45,0.34,0.32,0.45,0.21,0.55,0.66,0.99,0.23,.012,0.34) range frequency 0.1-0.2 a 0.2-0.3 b 0.3-0.4 …
Manish
  • 3,341
  • 15
  • 52
  • 87
12
votes
1 answer

how can i detect 1-time e-credit cards?

I need to detect credit cards that are 1-time credit cards (they become obsolete after the first payment). I know there are some bin ranges database out there. Can you share your experience on this point ? Thank you for your help Jerome Wagner
Jerome WAGNER
  • 21,986
  • 8
  • 62
  • 77
11
votes
4 answers

Android APK file and DEX files not created, with no warning or error

I've developed Android for a while now, using WIN7 64bit and Eclipse. Since I've tried to install the new ADT (1.5), I get a very weird phenomena. My build doesn't complete, and doesn't generate the APK file, nor the dex files. the class files are…
asaf
  • 123
  • 1
  • 2
  • 8
11
votes
2 answers

Using Python's Pandas to find average values by bins

I just started using pandas to analyze groundwater well data over time. My data in a text file looks like (site_no, date, well_level): 485438103132901 19800417 -7.1 485438103132901 19800506 -6.8 483622101085001 19790910 …
user3830166
  • 113
  • 1
  • 1
  • 4
11
votes
2 answers

How I can execute a Batch Command in C# directly?

I want to execute a batch command and save the output in a string, but I can only execute the file and am not able to save the content in a string. Batch file: @echo off "C:\lmxendutil.exe" -licstatxml -host serv005 -port …
Tarasov
  • 3,625
  • 19
  • 68
  • 128
11
votes
1 answer

How do I reinstall a directory in /usr/bin/python

I have researched this for hours to no avail. I think I deleted my directory at /usr/bin/python when I installed python 3 because I get this error: -bash: /usr/bin/python: No such file or directory. I've tried sudo ln -s /usr/bin/python2.7…
Alex Klinghoffer
  • 349
  • 4
  • 7
  • 15
10
votes
4 answers

Mathematica fast 2D binning algorithm

I am having some trouble developing a suitably fast binning algorithm in Mathematica. I have a large (~100k elements) data set of the form T={{x1,y1,z1},{x2,y2,z2},....} and I want to bin it into a 2D array of around 100x100 bins, with the bin…
Ben Farmer
  • 2,387
  • 1
  • 25
  • 44
10
votes
6 answers

Reading a binary file bit by bit

I know the function below: size_t fread(void *ptr, size_t size_of_elements, size_t number_of_elements, FILE *a_file); It only reads byte by byte, my goal is to be able to read 12 bits at a time and then take them into an array. Any help or pointers…
Ryan
  • 269
  • 4
  • 5
  • 12
9
votes
2 answers

Objcopy elf to bin file

I have STM32F404 board and I am trying to flash it. I am following this tutorial. In the project Makefile $(PROJ_NAME).elf: $(SRCS) $(CC) $(CFLAGS) $^ -o $@ $(OBJCOPY) -O ihex $(PROJ_NAME).elf $(PROJ_NAME).hex $(OBJCOPY) -O binary…
Mouin
  • 1,025
  • 4
  • 19
  • 33
9
votes
1 answer

Why choose bin vs src for Cygwin packages?

Why might one choose bin instead of src for Cygwin packages? And vice versa?
makansij
  • 9,303
  • 37
  • 105
  • 183
9
votes
3 answers

Numpy: use bins with infinite range

In my Python script I have floats that I want to bin. Right now I'm doing: min_val = 0.0 max_val = 1.0 num_bins = 20 my_bins = numpy.linspace(min_val, max_val, num_bins) hist,my_bins = numpy.histogram(myValues, bins=my_bins) But now I want to add…
Ricky Robinson
  • 21,798
  • 42
  • 129
  • 185
8
votes
2 answers

histogram without vertical lines

When I create a histogram, it looks a lot like this: set.seed(1) x <- 1:100 y <- x + rnorm(50) y=round(y) hist(y) Is there a way to make a histogram look a bit like this? I can only get a histogram with bins, which I don't need for my plot. I…
Sir Ksilem
  • 1,195
  • 2
  • 12
  • 27
8
votes
2 answers

What is <.got> section in ELF?

As far as I know, PLT and GOT are the section for handling dynamic linked function. If code calls printf which is libc's function, 1. Firstly it calls PLT to get printf's address. 2. And write this address into GOT section. 3. From second…
Jiwon
  • 1,074
  • 1
  • 11
  • 27
7
votes
2 answers

Arctan Binning, from Plot to Histogram, the tricks

Based on Sjoerd, great solution and extension on From Cartesian Plot to Polar Histogram using Mathematica, please consider the Following : list = {{21, 16}, {16, 14}, {11, 11}, {11, 12}, {13, 15}, {18, 17}, {19, 11}, {17, 16}, {16,…
500
  • 6,509
  • 8
  • 46
  • 80
7
votes
2 answers

Convert integer to binary and then do a left bit shift in python

I have an integer input from a text file which I need to convert to binary and do a left bit shift by 12 places. So, if my number is 6. It is 110 in binary. My final output should be 110000000000000, bit shifted by 12 places. I tried: i = 6 h =…
Invariance
  • 313
  • 6
  • 16
1
2
3
51 52