Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-06 Thread mbg1708
On Tuesday, 4 November 2014 16:49:36 UTC, françai s wrote: > I intend to write in lowest level of computer programming as a hobby. > > It is true that is impossible write in binary code, the lowest level > of programming that you can write is in hex code? > > What is t

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-06 Thread William Ray Wing
> On Nov 5, 2014, at 6:14 PM, Clayton Kirkwood wrote: > > Yeah, the 11 was mesmerizing. You didn't need no stinkin' program to see how > busy the system was, you just checked the lights. You could really tell when > somebody was compiling or link/loading. As I've done many times since those > da

RE: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-06 Thread Clayton Kirkwood
:python-list- >bounces+crk=godblessthe...@python.org] On Behalf Of Cameron Simpson >Sent: Wednesday, November 05, 2014 2:28 PM >To: python-list@python.org >Subject: Re: [OFF-TOPIC] It is true that is impossible write in binary >code, the lowest level of programming that you can wr

Re:[OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread Dave Angel
françai s Wrote in message: > I intend to write in lowest level of computer programming as a hobby. > > It is true that is impossible write in binary code, the lowest level > of programming that you can write is in hex code? > > What is the lowest level of programming comp

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread Cameron Simpson
On 05Nov2014 18:09, Chris Angelico wrote: On Wed, Nov 5, 2014 at 5:39 PM, Cameron Simpson wrote: Bah! He asked if there were lower levels than binary. Ergo: chip design! (And microcode, the intermediate layer. Or one of the layers, depending where you draw the line.) Should we stop before we r

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread Dan Stromberg
On Tue, Nov 4, 2014 at 10:39 PM, Cameron Simpson wrote: > Bah! He asked if there were lower levels than binary. Ergo: chip design! > (And microcode, the intermediate layer. Or one of the layers, depending > where you draw the line.) Should we stop before we reach the quantum foam of > spacetime?

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread Cameron Simpson
On 05Nov2014 15:38, Denis McMahon wrote: On Tue, 04 Nov 2014 21:30:06 -0500, Dennis Lee Bieber wrote: If you have an old system with front-panel toggle switches, you set the switches for binary values, and then push the "enter" switch. You've booted a PDP-8 then ;) Not me, but I hav

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread MRAB
On 2014-11-05 02:30, Dennis Lee Bieber wrote: On Tue, 4 Nov 2014 13:45:32 -0300, françai s declaimed the following: I intend to write in lowest level of computer programming as a hobby. It is true that is impossible write in binary code, the lowest level of programming that you can write is

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread Denis McMahon
On Tue, 04 Nov 2014 21:30:06 -0500, Dennis Lee Bieber wrote: > If you have an old system with front-panel toggle switches, you set the > switches for binary values, and then push the "enter" switch. You've booted a PDP-8 then ;) -- Denis McMahon, denismfmcma...@gmail.com -- https://mail

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread Chris Angelico
On Thu, Nov 6, 2014 at 2:05 AM, Grant Edwards wrote: > On 2014-11-05, Dennis Lee Bieber wrote: > >> "machine code" typically implies an instruction set specific >> to that machine... ALL computers operate in BINARY logic (a bit only >> holds 0 or 1). How you get those bits into the computer is >

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-05 Thread Grant Edwards
On 2014-11-05, Dennis Lee Bieber wrote: > "machine code" typically implies an instruction set specific > to that machine... ALL computers operate in BINARY logic (a bit only > holds 0 or 1). How you get those bits into the computer is > irrelevant. Just to muddy the water... _Most_ parts of mo

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Chris Angelico
On Wed, Nov 5, 2014 at 5:39 PM, Cameron Simpson wrote: > Bah! He asked if there were lower levels than binary. Ergo: chip design! > (And microcode, the intermediate layer. Or one of the layers, depending > where you draw the line.) Should we stop before we reach the quantum foam of > spacetime? C

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Cameron Simpson
On 04Nov2014 11:24, sohcahto...@gmail.com wrote: On Tuesday, November 4, 2014 10:51:53 AM UTC-8, ast wrote: a écrit dans le message de news:e5c95792-f81f-42b4-9996-5545f5607...@googlegroups.com... On Tuesday, November 4, 2014 8:49:36 AM UTC-8, françai s wrote: >I can't think of any reason why

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Chris Angelico
On Wed, Nov 5, 2014 at 1:30 PM, Dennis Lee Bieber wrote: > "machine code" typically implies an instruction set specific to that > machine... ALL computers operate in BINARY logic (a bit only holds 0 or 1). > How you get those bits into the computer is irrelevant. Bah, those zeroes and one

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Theo van Werkhoven
You could go to <http://incolor.inetnebr.com/bill_r/computer_simulators.htm> and get the Altair 8800 or IMSAI 8080 emulator. Run the program and toggle in binary code for these easy to use 8 bit processors. There's a short manual for the IMSAI on the same page and the manual plus

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Grant Edwards
On 2014-11-04, ast wrote: > > a écrit dans le message de > news:e5c95792-f81f-42b4-9996-5545f5607...@googlegroups.com... > On Tuesday, November 4, 2014 8:49:36 AM UTC-8, françai s wrote: > > >>I can't think of any reason why someone would WANT >>to program in binary/hex machine code. > > It happe

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Tobiah
On 11/04/2014 08:45 AM, françai s wrote: I intend to write in lowest level of computer programming as a hobby. It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code? What is the lowest level of programming computers that you can

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread sohcahtoa82
On Tuesday, November 4, 2014 10:51:53 AM UTC-8, ast wrote: > a écrit dans le message de > news:e5c95792-f81f-42b4-9996-5545f5607...@googlegroups.com... > On Tuesday, November 4, 2014 8:49:36 AM UTC-8, françai s wrote: > > > >I can't think of any reason why someone would WANT > >to program in bi

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread ast
a écrit dans le message de news:e5c95792-f81f-42b4-9996-5545f5607...@googlegroups.com... On Tuesday, November 4, 2014 8:49:36 AM UTC-8, françai s wrote: I can't think of any reason why someone would WANT to program in binary/hex machine code. It happens if you design yourself a specialize

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread sohcahtoa82
On Tuesday, November 4, 2014 8:49:36 AM UTC-8, françai s wrote: > I intend to write in lowest level of computer programming as a hobby. > > It is true that is impossible write in binary code, the lowest level > of programming that you can write is in hex code? > > What is t

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread sjmsoft
Grant's statements are correct and his advice is sound. I would not waste my time writing machine code, even as a hobby (and not even if your other hobbies include juggling chain saws). It's too time-consuming, tedious, bug-prone, and eyeglass-prescription-enhancing. Programming in assembly la

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Rustom Mody
On Tuesday, November 4, 2014 10:19:36 PM UTC+5:30, françai s wrote: > I intend to write in lowest level of computer programming as a hobby. > > It is true that is impossible write in binary code, the lowest level > of programming that you can write is in hex code? > > What is t

Re: [OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread Grant Edwards
On 2014-11-04, françai s wrote: > I intend to write in lowest level of computer programming as a hobby. > > It is true that is impossible write in binary code, No. You can write in binary if you want. If I were going to do something like that I'd pick a CPU like a PDP11 with

[OFF-TOPIC] It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code?

2014-11-04 Thread françai s
I intend to write in lowest level of computer programming as a hobby. It is true that is impossible write in binary code, the lowest level of programming that you can write is in hex code? What is the lowest level of programming computers that you can write ? Is binary code? Is hex code? Is

Re: Binary code

2007-06-18 Thread Grant Edwards
On 2007-06-18, getgroup <[EMAIL PROTECTED]> wrote: > Can python maky a binary code for exemple .hex for microcontrolor. Are you asking if a Python program can be compiled into a binary executable which is to run on a microcontroller? The answer to that is no. Are you asking if a Pytho

Binary code

2007-06-18 Thread getgroup
Can python maky a binary code for exemple .hex for microcontrolor. tks -- http://mail.python.org/mailman/listinfo/python-list

Re: Execute binary code

2007-01-11 Thread Jorgen Grahn
On Wed, 10 Jan 2007 10:31:50 -0600, Chris Mellon <[EMAIL PROTECTED]> wrote: > On 10 Jan 2007 08:12:41 -0800, sturlamolden <[EMAIL PROTECTED]> wrote: >> >> Chris Mellon wrote: >> >> > This works fine if the binary data is "pure" asm, but the impresssion >> > the OP gave is that it's a compiled binar

Re: Execute binary code

2007-01-11 Thread Jorgen Grahn
On 9 Jan 2007 07:04:11 -0800, sturlamolden <[EMAIL PROTECTED]> wrote: > > Jorgen Grahn wrote: > >> For what it's worth[1], under Unix it /is/ impossible. The only way to bring >> in >> new code (short of dynamic libraries) is to call exec(2) or its variations, >> and all need a file system object

Re: Execute binary code

2007-01-10 Thread Chris Mellon
On 10 Jan 2007 08:12:41 -0800, sturlamolden <[EMAIL PROTECTED]> wrote: > > Chris Mellon wrote: > > > This works fine if the binary data is "pure" asm, but the impresssion > > the OP gave is that it's a compiled binary, which you can't just "jump > > into" this way. > > You may have to offset the fu

Re: Execute binary code

2007-01-10 Thread sturlamolden
Chris Mellon wrote: > This works fine if the binary data is "pure" asm, but the impresssion > the OP gave is that it's a compiled binary, which you can't just "jump > into" this way. You may have to offset the function pointer so the entry point becomes correct. -- http://mail.python.org/mailm

Re: Execute binary code

2007-01-09 Thread Chris Mellon
On 9 Jan 2007 07:04:11 -0800, sturlamolden <[EMAIL PROTECTED]> wrote: > > Jorgen Grahn wrote: > > > For what it's worth[1], under Unix it /is/ impossible. The only way to > > bring in > > new code (short of dynamic libraries) is to call exec(2) or its variations, > > and all need a file system obj

Re: Execute binary code

2007-01-09 Thread sturlamolden
Jorgen Grahn wrote: > For what it's worth[1], under Unix it /is/ impossible. The only way to bring > in > new code (short of dynamic libraries) is to call exec(2) or its variations, > and all need a file system object to load the code from. The x86 processor cannot tell the difference between c

Re: Execute binary code

2007-01-09 Thread [EMAIL PROTECTED]
Jorgen Grahn wrote: > On 8 Jan 2007 12:29:36 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > For what it's worth[1], under Unix it /is/ impossible. The only way to bring > in > new code (short of dynamic libraries) is to call exec(2) or its variations, > and all need a file system object t

Re: Execute binary code

2007-01-09 Thread Jorgen Grahn
On 8 Jan 2007 12:29:36 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] wrote: >> Is it possible to execute a binary string stored within a python script >> as executable code ? >> >> The script is run under Windows, and the binary

Re: Execute binary code

2007-01-09 Thread Hendrik van Rooyen
"Chris Mellon" <[EMAIL PROTECTED]> wrote: > Repost. Is there any chance at all that ML could set the > reply-to to the list instead of the sender? +1 - I regularly hit "reply all", delete the OP, and then I get : "Message has a suspicious header" - Hendrik -- http://mail.python.org/mai

Re: Fwd: Execute binary code

2007-01-08 Thread Chris Mellon
On 1/8/07, Gabriel Genellina <[EMAIL PROTECTED]> wrote: > At Monday 8/1/2007 18:01, [EMAIL PROTECTED] wrote: > > >Chris Mellon wrote: > > > Writing to a temp file will be at least 3 times as easy and twice as > > > reliable as any other method you come up with. > > > >I'm not disputing that, but I

Re: Fwd: Execute binary code

2007-01-08 Thread Gabriel Genellina
At Monday 8/1/2007 18:01, [EMAIL PROTECTED] wrote: Chris Mellon wrote: > Writing to a temp file will be at least 3 times as easy and twice as > reliable as any other method you come up with. I'm not disputing that, but I want to keep a piece of code (a parser for Oracle binary dumps, that I did

Re: Execute binary code

2007-01-08 Thread Bjoern Schliessmann
[EMAIL PROTECTED] wrote: > The code I try to execute is Windows specific and it is binary, > not python. Furthermore, it is stored in a variable within the > parent python script, not stored on harddisk as a file. Sure, I just wanted to show that your special application is not specific for troja

Re: Execute binary code

2007-01-08 Thread citronelu
Bjoern Schliessmann wrote: > But you could technically achieve this with standard python too > (just write python source and spawn a python process executing it). The code I try to execute is Windows specific and it is binary, not python. Furthermore, it is stored in a variable within the parent

Re: Execute binary code

2007-01-08 Thread Bjoern Schliessmann
Larry Bates wrote: > What you are asking is a virus/trojan "like" program. Why? For being a trojan horse it must fake something. For being a virus it must replicate itself. Writing an executable doesn't imply the will to replicate itself. But you could technically achieve this with standard pyt

Re: Fwd: Execute binary code

2007-01-08 Thread citronelu
Chris Mellon wrote: > Writing to a temp file will be at least 3 times as easy and twice as > reliable as any other method you come up with. I'm not disputing that, but I want to keep a piece of code (a parser for Oracle binary dumps, that I didn't wrote) out of foreign hands, as much as possible.

Fwd: Execute binary code

2007-01-08 Thread Chris Mellon
On 8 Jan 2007 12:45:45 -0800, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Larry Bates wrote: > > > What you are asking is a virus/trojan "like" program. There's no reason > > you shouldn't be able to write the code to TEMP directory and execute it. > > > > -Larry > > > No, it is not about a tro

Re: Execute binary code

2007-01-08 Thread citronelu
Larry Bates wrote: > What you are asking is a virus/trojan "like" program. There's no reason > you shouldn't be able to write the code to TEMP directory and execute it. > > -Larry No, it is not about a trojan, but I guess it's pointless to try to convince you otherwise. It's not about being ab

Re: Execute binary code

2007-01-08 Thread olsongt
[EMAIL PROTECTED] wrote: > Is it possible to execute a binary string stored within a python script > as executable code ? > > The script is run under Windows, and the binary code (a full executable > file) is stored in a variable in the script. > > I know I can use os.syst

Re: Execute binary code

2007-01-08 Thread Larry Bates
[EMAIL PROTECTED] wrote: > Is it possible to execute a binary string stored within a python script > as executable code ? > > The script is run under Windows, and the binary code (a full executable > file) is stored in a variable in the script. > > I know I can use os.syst

Execute binary code

2007-01-08 Thread citronelu
Is it possible to execute a binary string stored within a python script as executable code ? The script is run under Windows, and the binary code (a full executable file) is stored in a variable in the script. I know I can use os.system() or os.popen() to run an external file, but these