Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact
    • Binary




      Java (J2EE & J2SE) : Convert Decimal Numbers to Binary
      Author: manuSubject: Convert Decimal Numbers to BinaryPosted: 18 Jul 08 at 4:03pmThis is a method to convert Decimal Numbers to Binary.Its not a perfect one and doesn't handle negative numbers. But can beused for normal integers. The code is in java and can be easilyconverted to VB, VB.net or anything.Call the method like DecToBin(25);This returns a string value that can be used for displaying.&nb

      Written by: ITGalary Forum


      Hedging of my forex positions using binary options
      By: Brendan Lee Non-farm payroll (NFP) number is being released today at the exact same time that ECB President Trichet begins his press conference, which means that we could see unusual volatility at the morning of US hours. The ECB press conference and the Non-farm payroll report will either neutralize each other or be a toxic [...]

      Written by: TheFinance.sg


      Comparing Linux/UNIX Binary Package Formats
      "This is a comparison of the deb, rpm, tgz, slp, and pkg package formats, as used in the Debian, Red Hat, Slackware, and Stampede linux distributions respectively (pkg is the SVr4 package format, used in Solaris)." Kitenet.net

      Written by: Linux Cortex


      Avoid .0, .EXE, .TAR, .TGZ and other binary file extenion in URLs for better Google Indexing
      SEOMoz has a post, reporting that ending your URLs with a .0 will prevent your pages from being crawled in the Google index. They had a url that ended with “/web2.0” . It looks like previously they had a url looked like “/web2.0/” (note the trailing slash), which we were happy to crawl/index/rank. But when their linkage [...]

      Written by: D' Technology Weblog


      Coma Stereo - Binary Endings (Recommended)
      You might have heard this album already, if not, then you might have heard the 1 track I put on SirensSound Compilation Vol III Well basically thats the idea though, or at least one of the idea of gathering compilations. Help deciding as to whether or not you want to get a specific download or may be respecteviely in an orderly manner for a certain set of downloads. Anyway back to Coma Stereo. Not

      Written by: SirensSound


      PIC Binary Counter
      This sample project uses a PIC16F628 and 8 LED’s to count in binary. Four switches are used to change the direction and speed of the counter. The program was created using JAL.Link Related PostsSolid State OscilloscopeLM75 Temperature Sensor with 7 segment display outputA 16×16 LED MatrixSharp IR on Arduino, color feedbackPIC16F84A Blinker

      Written by: Cool Electronic projects blog


      Binary Search Tree 2
      {Searches a binary search tree in O(logn) }type tree = ^ node; node = record left, right : tree; info : char end;function subtree( item : char ) : tree;{creates a subtree}var t : tree;begin new( t ); t^.info := item; t^.left := nil; t^.right := nil; subtree := tend;procedure infix( t : tree);begin if t nil then begin infix( t^.left ); write( t^.info )

      Written by: Pascal Programming


      Binary Search
      {Performs a binary search}TYPE tree =^node; node = record info : char; left, right : tree end;VAR root: tree; Number: integer;{$I Tree }{Activates: Binary_Tree, Infix, subTree, Height}procedure search( t : tree; var found : boolean; x : char);{pre: t points to a tree post : each node is visited and there n is incremented}begin if (t nil) and not found the

      Written by: Pascal Programming


      Binary Search Tree
      (**************************************************************)(******* BINARY SEARCH TREE ADT ********)(**************************************************************)TYPE KeyType = Integer; (* the type of key in Info part *) TreeElementType = RECORD (* the type of the user's data *) Key : KeyType; (* other fields as needed. *) END; (* TreeElementT

      Written by: Pascal Programming


      Binary synthesis: Goethe's aesthetic intuition in literature and science
      AbstractArgument This essay seeks to identify the cultural significance of Goethe's scientific writings. He reformulates, in the light of his own concrete experience, “crucial turning-points” (Hauptmomente) in the history of science – key ideas, the historical understanding of which is vital to present understanding – thus situating his own scientific work at the bi-polar center of the Wes

      Written by: Great Literary Works


      Traversals of a Binary Tree
      Write C code to implement the preorder(), inorder() and postorder() traversals. Whats their time complexities?#includestruct binarysearchtree{ int data; struct binarysearchtree* left; struct binarysearchtree* right;};typedef struct binarysearchtree* tree;void inorder_print(tree T){ if (T!=NULL) { printf("%d\n",T->data); inorder_print(T->left); inorder_print(

      Written by: Technical Interview Questions


      3-bit binary counter DIGITAL INTEGRATED CIRCUITS
      PARTS AND MATERIALS 555 timer IC (Radio Shack catalog # 276-1723)One 1N914 "switching" diode (Radio Shack catalog # 276-1122)Two 10 kΩ resistorsOne 100 µF capacitor (Radio Shack catalog # 272-1028)4027 dual J-K flip-flop (Radio Shack catalog # 900-4394)Ten-segment bargraph LED (Radio Shack catalog # 276-081)Three 470 Ω resistorsOne 6 volt battery Caution! The 4027 IC is CMOS, and therefore sensitive to static electricity! CROSS-REFERENCES Lessons In Electric Circuits, Volume 4, chapter 10: "Multivibrators" Lessons In Electric Circuits, Volume 4, chapter 11: "Counters" LEARNING OBJECTIVES Using the 555 timer as a square-wave oscillatorHow to make an asynchronous counter using J-K flip-flops SCHEMATIC DIAGRAM ILLUSTRATION INSTRUCTIONS In a s

      Written by: Electronics Circuits And VLSI Engineering


      Traversals of a Binary Tree
      Write C code to implement the preorder(), inorder() and postorder() traversals. Whats their time complexities?#includestruct binarysearchtree{ int data; struct binarysearchtree* left; struct binarysearchtree* right;};typedef struct binarysearchtree* tree;void inorder_print(tree T){ if (T!=NULL) { printf("%d\n",T->data); inorder_print(T->left); inorder_print(T->right); }}void postorder_print(tree T){if (T==NULL){return;}postorder_print(T->left);postorder_print(T->right);printf("%d\n",T->data);}void preorder_print(tree T){if (T==NULL){return;}printf("%d\n",T->data);preorder_print(T->left);preorder_print(T->right);}Each of them traverse all the nodes.So the complexity is O(N).

      Written by: Technical Interview Questions


      C-program to check whether a binary tree is a Binary search tree
      Write a C program to check if a given binary tree is a binary search tree or not?Solution:If the given binary tree is a Binary search tree,then the inorder traversal should output the elements in increasing order.We make use of this property of inorder traversal to check whether the given binary tree is a BST or not.We make note of the latest element that could have been printed and compare it with the current element.Given below is a C function to check it.bool flag=true;void inorder(tree T,int *lastprinted){if(T==NULL){printf("the tree is empty .Hence, it is a BST\n");}else{if(T->left!=NULL){ inorder(T->left,lastprinted);}if(T->data > *lastprinted){ *lastprinted=T->data;}else{ printf("the given binary tree is not a BST\n"); flag=false; exit(0);}inorder(T->right,lastprinted);}}

      Written by: Technical Interview Questions


      Search On a Binary Search Tree
      Write a C program to search for a value in a binary search tree (BST).Solution:#include#includestruct binarysearchtree{ int data; struct binarysearchtree* left; struct binarysearchtree* right;};typedef struct binarysearchtree* tree;tree search_node(tree T,int num){ if(T==NULL) { return NULL; } else { if(T->data>num) search_node(T->left,num); else if(T->data search_node(T->right,num);return T; }}

      Written by: Technical Interview Questions


      Binary Fortress Software DisplayFusion Pro v2.1.1 WinAll Incl Keygen-CRD
      In these modern days, more and more people are having multi-monitor setups at home, and now thanks CRD you can use this software to simplify and enhance your multi-desktop pleasure. Weighing in at only just over 600kb including keyegn, this is worth a try even if you think you won’t like it. DisplayFusion is a fantastic [...]

      Written by: JunkNova


      Search On a Binary Search Tree
      11. Write a C program to search for a value in a binary search tree (BST).Solution:#include#includestruct binarysearchtree{ int data; struct binarysearchtree* left; struct binarysearchtree* right;};typedef struct binarysearchtree* tree;tree search_node(tree T,int num){ if(T==NULL) { return NULL; } else { if(T->data>num) search_node(T->left,num); else if(T->data search_node(T->right,num);return T; }}C++ Interview Questions and Answers

      Written by: Technical Interview Questions


      C-program to check whether a binary tree is a Binary search tree
      Write a C program to check if a given binary tree is a binary search tree or not?Solution:If the given binary tree is a Binary search tree,then the inorder traversal should output the elements in increasing order.We make use of this property of inorder traversal to check whether the given binary tree is a BST or not.We make note of the latest element that could have been printed and compare it with the current element.Given below is a C function to check it.bool flag=true;void inorder(tree T,int *lastprinted){if(T==NULL){printf("the tree is empty .Hence, it is a BST\n");}else{if(T->left!=NULL){ inorder(T->left,lastprinted);}if(T->data > *lastprinted){ *lastprinted=T->data;}else{ printf("the given binary tree is not a BST\n"); flag=false; exit(0);}inorder(T->right,lastprinted);}}Now

      Written by: Technical Interview Questions


      Minimum Value of a Binary Search Tree
      Question:Write a C program to find the minimum value in a binary search tree.Solution:#includestruct binarysearchtree{ int data; struct binarysearchtree* left; struct binarysearchtree* right;};typedef struct binarysearchtree* tree;tree min(tree T){if (T==NULL) return NULL;else{ if(T->left==NULL) return T; else return min(T->left);}}

      Written by: Technical Interview Questions


      Linux on POWER: Distribution migration and binary compatibility considerations
      "Examine the two Linux on POWER distributions supported by IBM®, Red Hat Enterprise Linux (RHEL) and SUSE LINUX Enterprise Server (SLES), with regard to the binary compatibility between their respective releases." IBM

      Written by: Linux Cortex


      Binary search
      Binary Search1. Given an array which is sorted but the sequence of sorted elements not necessarily starting from the first position which means you were given an array which is of the form [Ak+1 Ak+2,......An,A1,A2,............Ak]where A[1] Solution: The only difference between a normal binary search and this problem is that the sorted array might start somewhere in the middle of the array.We solve this problem in 2 steps.step1:find the position P from which the array startsExplanation:int findstart(A,int left,int right){ int middle=(left+right)/2; if(A[left] < left="P,right=" left="0,right=" style="font-weight: bold;">2.Given an array A[1,...,N] such that A[1] < .......... Sol: This just uses a flavor of binarysearch. Initial search space of i is [1,2,.....,N] Here goes the algorithm.

      Written by: Technical Interview Questions


      The Binary Number system
      Since so much about computers involves binary numbers, we thought we'd take a minute and explain exactly how binary numbers work. First of all, and contrary to popular opinion, computers are dumber... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: Computers Information


      Office Binary Formats on the Web
      I just wanted to make you aware that we put the Office Binary Formats on the web. We did this for interoperability reasons but often this can be very useful for forensics as well: Microsoft Office Binary (doc, xls, ppt) File Formats Roger

      Written by: Roger\'s Security Blog


      IC 4520 Binary Counter
      This is a Binary Counter based on 555 timer and 4520 CMOS integrated circuit.The circuit looks simple and easy to build ,but with a simple modification you can turn your circuit into device that works like high tech dice.Rather then throwing dice to create a number you can use your 4520 to create random [...]

      Written by: YourITronics


      SizeFixer XL Universal Binary and trial released
      FixerLabs Ltd. (www.fixerlabs.com) has announced the availability of SizeFixer XL 1.3 for Apple's OS X as a Universal Binary. SizeFixer XL now upsizes digital photographs with impeccable quality and is 500% faster on Intelbased Macs compared with the previous PowerPC version."The universal binary of SizeFixer XL delivers stunning results at speeds that have wowed photographers in our beta test program," said Tim Atherton, FixerLabs' Technical Director. "Best of all, SizeFixer XL is now available as a free 30-day trial so that users can see the results for themselves.""The new SizeFixer XL is much (and I mean much, much, much) faster than the old version (on my MacBook Pro)," said award-winning Australian photographer Brian Cassey. "The big shock was how much better the new SizeFixer XL is

      Written by: DSLR CAMERAS ONLINE


      VB source code: Binary Converter
      This is source code for binary converter software, this utility purpose is to convert any binary file into an array in the programming language of your choice. Currently supported are VB, C/C++, and PHP. Download Binary converter Visit website

      Written by: Free VB Resources - Free VB Download tools and source code


      Binary Search Using Java
      This is the Java version of the Binary Search program I had previously programmed using C++ (here). I’m absolutely new to java and made this with the help of All-in-one Desk Reference for Dummies (Required it especially for the input method) and my previous knowledge of functions (from C++). (If you want a properly indented, [...]

      Written by: Jazzed Up!


      Binary Search using C++
      My friend wanted an idea for a C++ project which had to be short and simple. I searched and searched and finally ended up on some “array searching using binary search” algorithms. I tried out many of these, but most of them were either too complicated or not working. In the quest to make it [...]

      Written by: Jazzed Up!


      Linux Tip of the Day - cat a binary file, oops!
      If you have accidentally output binay info to your terminal   For ex.   # cat BinFile   You dont have to kill the terminal and start a new one.   Just type at the prompt:   #... [[ This is a content summary only. Visit my website for full links, other content, and more! ]]

      Written by: dralnux - beyond the box


      Decimal Number to Binary Conversion Program
      Please read Operation on Bits and Bitwise Operators and Right/Left Bit Shift Operators if you haven’t already. This post is based on those articles. We’ll be using the following operators and the respective properties for decimal to binary conversion: AND (&) Operator from the article Operation on Bits and Bitwise Operators: Its property to be able to check whether a particular bit is ON (1) or OFF (0). Left Bit Shift Operator (<<) from the article Right/Left Bit Shift Operators: Its property to shift bits (of byte(s)) to desired number of places to the left. After making you guys familiar with the two things above, the program will be easier to understand. // Example Program to convert decimal num

      Written by: Learning Computer Programming


      XML-binary Optimized Packaging
      This specification defines the XML-binary Optimized Packaging (XOP) convention, a means of more efficiently serializing XML Infosets (see [XMLInfoSet]) that have certain types of content.A XOP package is created by placing a serialization of the XML Infoset inside of an extensible packaging format (such a MIME Multipart/Related, see [RFC 2387]). Then, selected portions of its content that are base64-encoded binary data are extracted and re-encoded (i.e., the data is decoded from base64) and placed into the package. The locations of those selected portions are marked in the XML with a special element that links to the packaged data using URIs.In a number of important XOP applications, binary data need never be encoded in base64 form. If the data to be included is already available as a bina

      Written by: future of coding


      IC Binary Clock
      The author writes: As this was my first refresher in electronics in over a decade, I decided to do it the old-school way with ICs. The resulting circuit is larger and less flexible than if I had used a Micro-controller but it’s what I know so was a good exercise. IC Binary Clock: [Via] Related posts Simple Led Christmass [...]

      Written by: YourITronics


      Binary Browser 5.4
      This program is intended for software companies, programmers and web developers. In addition to hexadecimal editing, many tools which are necessary for almost any user are included. It contains all what you need for comparison of folder trees, folders or files. Thus you can keep track of changes in 2 intances of data (e.g. between current data and different backups, project folders, web sites . etc.) With this program you can compare two sections of the same document even compare parts of documents skipping others. Differents modes of file comparison are available (text/binary, line/word oriented skipping white spaces .etc.) and it supports enhanced regular expressions which can be generated and edited by REX Wizard. Another Features: The Struct Wizard, who helps the user define and view

      Written by:


      Wipro Systems reasoning . Question on Binary tree Papers
      21.Best sorting is same as worst sorting (Ans: HEAPSORT)22.Last 8 bits are used for subnet masking for whichclasses Ans:CLASS A,B,C23.What is the tool which connects user and computer -ANS: INTERPRETER24.Question on access time and recovery time25. Question on call by value,call by reference, callby lvalue and rvalue26. Question on Binary tree27) Which of the following languages needs compilera. """This option i don't remember:) :)"""b. LISPc. COBOLd. ORACLEAns. ORACLE28) which of the following has the direct connectionwith theoperating system?Ans. Process Scheduler29) Which of the following connects LANS with sameprotocol?Ans. BRIDGES30) Octal equivalent of (176) base 10 isAns. 26031) Dialouges Sharing is done in which layer of OSI?Ans. Session layer32) Arithmatic and Logic calculations

      Written by: born4interviews


      Binary man
      Stamattina ho preso il treno per ritornare a Bologna, dopo un paio di giorni trascorsi a casa a studiare ed oziare. Salito sul treno ho subito cercato un posto che fosse libero del tutto, perchè, lo ammetto, mi piace aspettare di vedere chi sceglie di sedersi di fianco o davanti a me. Certo, non sempre [...]

      Written by: Kamaleontic-ART: Osserva con l'infinito degli occhi


      Office Binary Document Formats: Specification
      Last Friday we announced the availability of the Office Binary Format Specification (doc, xls, ppt) under the Open Specification Promise (OSP). From my point of view this is an additional step in our promise to support interoperability. Roger

      Written by: Roger\'s Security Blog


      RatioMaster 2 Binary Release 2
      Ratioblaster/RatioMaster 2 is a new spoofing program based heavily on ratiomaster with a whole bunch of new features: * can fake on a lots of torrents with one instance of the app running. * consume less memory(because this does not use tabs) * utorrent like UI * skinnable * automatic memory reader function * have all most all the RM’s features (like .client [...]

      Written by: ..::: Leecher-World News Blog :::..


      A binary adder
      Suppose we wanted to build a device that could add two binary bits together. Such a device is known as a half-adder, and its gate circuit looks like this: The Σ symbol represents the "sum" output of the half-adder, the sum's least significant bit (LSB). Cout represents the "carry" output of the half-adder, the sum's most significant bit (MSB). If we were to implement this same function in ladder (relay) logic, it would look like this: Either circuit is capable of adding two binary digits together. The mathematical "rules" of how to add bits together are intrinsic to the hard-wired logic of the circuits. If we wanted to perform a different arithmetic operation with binary bits, such as multiplication, we would have to construct another circuit. The above circuit designs

      Written by: born4electronics1


      iPhone Binary Compiler Toolchain for Windows Now Available
      If you're brave enough to program an iPhone application under Windows, Christmas just came early. Over at the iPhoneGameOver wiki page, programmer David Supuran has posted a link to the Windows Cygwin Binary Toolchain as well as full installation instructions and a binary installer. read more

      Written by: iPhone nano - Apple iPhone card news


      Great Office Gadgets – Jumbo LCD Desk Top Binary Clock
      For those of you who like to display your geek status for the world to see (or, rather, in this case, just your entire office) you really couldn’t ask for an office clock with greater geek credentials than this Jumbo LCD Binary Clock which is capable for displaying the time in either BCD or ‘true’ binary fashion. (more…) (...)Read the rest of Great Office Gadgets – Jumbo LCD Desk Top Binary Clock (98 words) © Andrew Tingle for Thoughts from the Sidelines - Technology, Gadgets & Curiosities, 2007. | Permalink | No comment Add to del.icio.us Search blogs linking this post with Technorati Want more on these topics ? Browse the archive of posts filed under Clocks/Time, Office Gadgets, Ultimate Geek Accessories.

      Written by: Thoughts from the Sidelines


      Sun Java Standard Edition 6u10 Binary JRE Build b07 November 14, 2007
      Java SE 6 Update N new feature overviewSummary of changes in Java SE 6u10 build b07 Windows Offline Installation, JRE file: jre-6u10-ea-bin-b07-windows-i586-p-09_nov_2007.exe, 13.88 MBWindows AMD64 self-extracting JDK file: jdk-6u10-ea-bin-b07-windows-amd64-09_nov_2007.exe, 38.86 MBOther OS: http://download.java.net/jdk6/binaries/

      Written by: Leecher Mods for Emule and BitTorrent


      Sun Java Standard Edition 6u5 Binary JRE Build b06 November 02, 2007
      Java SE 6 Update N new feature overview - Summary of changes in Java SE 6u5 build b06Windows Offline Installation, JRE fileDownload: jre-6u5-ea-bin-b06-windows-i586-p-31_oct_2007.exe, 14.10 MB - Mirror Windows Offline Installation, Multi-language JDK fileDownload:jdk-6u5-ea-bin-b06-windows-i586-p-31_oct_2007.exe, 65.31 MBWindows AMD64 self-extracting JDK fileDownload:jdk-6u5-ea-bin-b06-windows-amd64-31_oct_2007.exe, 38.85 MBOther Platforms: http://download.java.net/jdk6/binaries/

      Written by: Leecher Mods for Emule and BitTorrent


      Tips: Loading binary files from a .res file
      To load any binary resources you put in a .res file, we should do the following: 1. Save the resource as a "CUSTOM" type resource; 2. Load it from the file into a byte array; 3. Save the array in a normal file; 4. Load the file. In this example, we'll cover how to load a JPEG picture. Take a look at the code: Code: Public Sub LoadDataIntoFile (DataName As String, Filename As String) Dim

      Written by: Free VB Resources - Free VB Download tools and source code


      ABAP Programs: Hexadecimal (or binary) data
      REPORT CHAP0406.* Hexadecimal (or binary) data is stored in fields of type x.* A type x field of length n contains 2n digits* and its output length is also equal to 2n.* For example, the bit stream 1111000010001001 can be defined as* follows (remind that 1111 = F, 0000 = 0, 1000 = 8, 1001 = 9):DATA XSTRING(2) TYPE X VALUE 'F089'.---------------------ABAPer, mail: abap.community@gmail.com http://abaplearner.blogspot.com

      Written by: SAP Certification,Ebooks, PDF's and Articles


      Omniyat Properties begins construction work on 'The Binary' freehold commercial tower
      Omniyat Properties, the real estate arm of Omniyat Holdings, has announced the first phase of construction work on 'The Binary'. The main construction work for the freehold commercial project, worth Dh.550 million, has been awarded to Dutco Balfour Beatty Group. The enabling works, which began in March 2007, is almost complete, with 5% of overall development work now being completed.The President and CEO of Omniyat Properties, Mehdi Amjad says "The project is a significant development and working together with the finest names in construction industry is a guarantee to deliver the most technologically advanced and futuristic developments to customers in the region. We wish to develop an office tower that help make its inhabitant more creative, efficient, and more productive."The Binary real estate project comprises of two 21 and 25 storey freehold commercial towers, fused at the center, which is likely to come up on plot number 50 in Business Bay District in Dubai. The towers offer c

      Written by: Dubai Real Estate News


      Binary-Numbered Nails
      Calling all geek chicks!Whaddya think? Reckon you'll go out with binary-numbered nail designs?Initially I thought, woah, very over-the-top, but after a while, I began to appreciate the uniqueness (and complexity) of the design. Hmm ... I might just get this during my next manicure ;)Source: Geeksugar

      Written by: Beautyholics Anonymous


      Habitable zones around binary stars.
      HD 98800 and HD 188753 have made me curious as to how binary star habitablezones work. Could 2 K type stars have a habitable zone similar to a single G2star? Would 2 G2 stars' habitable zone be much less or more than a single G2star? Is there an equation for generalizing this? (ie: star a is mass x, star bis mass y, they are c distance apart, treat as 1 star of mass z to determine hz)Unfortunately I could not find a simple answer to your question. In order to have an habitable zone we need to consider first the possibility of forming a planet there and then the possibility of forming life. It is believed that stars form at the centers of rotating disks in a cloud of interstellar gas and dust. Friction in the disk (and gravity!) makes the dust and gas fall to the center to form the star. Planets are believed to form from the remains of the disk. It is possible that two disks form close enough to form a pair of stars that rotate around each other. This is called a binary star system or

      Written by: future of physics


      Marble driven, wooden, binary adding machine
      This is great - I saw this marble driven, wooden, binary adding machine on my friend Doug Clinton's 'blog and I just had to add it here. As Doug says "This is just awe-inspiring (for any self-respecting geek, that is)" - and I really couldn't agree more. I showed the clip to a few of the guys in our City (London, that is) office today - and they unanimously agreed too. Doug's post permalink "A binary adder made of wood. Incredible video" and YouTube's post link "Marble adding machine" - just to keep it all together.

      Written by: Wayne Horkan's weblog: "eclectic"


      Markzware Q2ID (QuarkXPress to InDesign) now Universal Binary
      XChange International, a source for extended technology worldwide, are pleased to announce the release of the QuarkXPress to Adobe InDesign (Q2ID) plug-in for converting documents from QuarkXPress to InDesign format. Q2ID now includes Universal Binary support as well as CS3 compatibility. (more…)

      Written by: CreativeBLVD.com


      FTP Transfer - Binary vs ASCII
      Any web developer out there has their favorite FTP program as a major part of their web development arsenal. Whether it be FireFTP, CuteFTP, WS_FTP, Filezilla, SmartFTP or any other FTP program, they all have a setting that allows you to set how you wish to transfer your files. What is Transfer Mode Transfer mode is the method in which you wish to send your data to your server. Options are either ASCII, binary or automatic. (Binary in this case does not exactly refer to 1’s and 0’s). I’m sure 99% of users will have their transfer mode set to either binary or Automatic. Myself, I have it set to automatic, but do you actually know what the difference between ASCII and Binary is? I’ll spare you the technical details but here’s the general rule: If you can open the file in Notepad and understand it, then transfer the file using ASCII mode. If it’s a bunch of random unintelligible characters in Notepad, then transfer the file using binary mode. F

      Written by: jon lee dot see eh


      Binary Marble Adding Machine
      Learning binary addition would have been more interesting if it were demonstrated using a Binary Marble Adding Machine. Video after the jump. “The core of the invention is a modification of the divide by two flipflop to retain the marble that falls off the right side, and keep it until the flipflop is flipped to the left by the next marble. See small diagram above right. The retention of this extra marble allows the state of the marble accumulator to be dumped. The adder would just as well add without it, but the number would have to be read off by the angle of the rockers, rather than have the device dump the count out. Really, if such an adder were integrated into a hypothetical marble computer, reading out the result as a series of marbles would be an essential element.” Via: TechEBlog and Make  

      Written by: Hacked Gadgets


      Binary Search: A Method of Searching
      Binary Search method is popular for searching a specific item in an ordered array (sorted). It can perform the search in minimum possible comparisons, but it needs the array to be sorted in any order. Practically, it is used when the data is itself sorted initially or needs to be sorted for other activities also. This is because you don’t want to first sort the data and then use binary search, in that case use of linear search would be practical. Binary Search Algorithm Suppose, The array to be AR[SIZE] having SIZE number of elements. L is the index number of the lower element. We take it to be 0. U is the index number of the upper (last) element. It will be (SIZE-1). ITEM is the data that needs to be searched. beg, last and mid are variables of type int(eger). Here is the algorithm: LET beg = L AND last = U REPEAT STEPS 3 THROUGH 6 TILL beg<=last mid = ( (beg+last)/2) IF AR[mid] = ITEM THEN ITEM IS AT POSITION mid BREAK THE LOOP IF AR[mid] <

      Written by: Learning Computer Programming


      The Tokyo Flash Binary Watch
      These watches are getting more difficult to understand, this one is made by up using binary code, which means that it will be more difficult to understand ever, although this is also color coded, which supposed to make it easier in some way, instructions are below, but basically the green and red are the hours, while the yellow indicates the minutes. This watch does not display the time like a regular binary watch; it uses a unique numeri-color method. For example, if it was 11.35, 1000 + 100 +30 +5 would be displayed. * Multi-color LED’s. Red, green & yellow * English & Japanese Instructions * Date & Time modes * Light up function * Carbon fiber style strap This watch will cost you around $113. Source [Shiny Shiny] binary code, binary watch, color coded, color led, Consumer, Cool, funny, gadgets, numeri, watches

      Written by: Zedomax


      Binary time for your wrist
      This watch displays time in binary format. It uses LED lights to display the time. Need we say more? Okay, we will. The watch face contains 10 red LEDs that are used to indicate the numbers of the binary sequence (1, 2, 4, 8, 16, 32) and the values of the lighted LEDs are added to determine the time. If you are interested in this cool stuff, visit the shop, there is more specification. Just cosider the price $69.99 (it’s not as cheap as wristwatch from K-Mart). Source: thinkgeek.com binary format, cool stuff, led lights, thinkgeek, wristwatchShare This

      Written by: Stacho Gadgets


      Split Up a Big Binary or ASCII File and Email
      We had to email a 75 megabyte binary file to the states. Unfortunately, the email server doesn't allow for attachments over 10MB. We had to split it up and have it reconstituted at the distant end.Here's what we did:#split -b 5m FileToBeSplitThis instance splits FileToBeSplit into 16X 5MB segments named xaa xab xac...xap.Now reconstitute at the distant end:#cat xaa xab xac xad xae xaf xag xah xai xaj xak xal xam xan xao xap > ReconstitutedFileor#cat * > ReconstitutedFile -- ensure xa* are the only files in the directory when using the wildcardFor ASCII files: Split lines -- This example splits a document into 1000 line segments.#split -l 1000 FileToBeSplitAfter this syntax change, the procedures are the same as binary.--For larger files, find a ftp server or make your filesize increments bigger.

      Written by: My SysAd Blog


      Binary Equation Strategy in Forex Trading
      Binary equation trading is actually a kind of trading strategy that employs the use of a certain mathematical procedure to edge out profitability.With a simple to understand mathematical scheme, a trader can be on his way to increased probability of profit acquisition. The binary equation was formulated by an 18th century mathematician Jean le Rond d’Alembert, [...]

      Written by: 2Bull Forex Blog


      Binary Search Tree into Doubly Linked List
      Posted under {Algorithm Questions} by interview_questions .Write a function to convert a Binary Search Tree into a sorted doubly linked list. The algorithm should use recursion and should be done in place.

      Written by: LinkMingle.com


eXTReMe Tracker