Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 210 211 [212] 213 214 ... 796

Author Topic: if self.isCoder(): post() #Programming Thread  (Read 903540 times)

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3165 on: October 22, 2012, 04:01:16 pm »

Have you tried... the Python page?

http://www.python.org/getit/

Seriously it is right there. win32, java, .NET, any of those implementations should work fine for you.
Logged

Mego

  • Bay Watcher
  • [PREFSTRING:MADNESS]
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3166 on: October 22, 2012, 04:02:27 pm »

well, I was gonna get python, but they don't have a 32 bit version for windows.

or at least, I can't find one :/

Just use Cygwin. It's a complete set of tools that creates a Linux-like environment in Windows. It makes python, gcc, and various other programming tools really easy to install and use.

Nadaka

  • Bay Watcher
    • View Profile
    • http://www.nadaka.us
Re: if self.isCoder(): post() #Programming Thread
« Reply #3167 on: October 22, 2012, 04:05:45 pm »

I'll try to explain what I know about prototyping after I get off of work, if I get off of work. :(
Logged
Take me out to the black, tell them I ain't comin' back...
I don't care cause I'm still free, you can't take the sky from me...

I turned myself into a monster, to fight against the monsters of the world.

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3168 on: October 22, 2012, 04:08:17 pm »

nope. I genuinely can't. I tried, I even tried the search function, but nothing is appearing. 86 bit, 64 bit... but 32 bit? nope.

Quote from: The Site
For the MD5 checksums and OpenPGP signatures, look at the detailed Python 2.7.3 page:
Python 2.7.3 Windows Installer (Windows binary -- does not include source)

[...]

Also look at the detailed Python 3.3.0 page:
Python 3.3.0 Windows x86 MSI Installer (Windows binary -- does not include source)

Pick your poison version.
Logged

Twiggie

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3169 on: October 22, 2012, 04:12:48 pm »

i was going to comment on your '86 bit'

but i guess you already noticed that
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3170 on: October 22, 2012, 04:18:19 pm »

...

x86 is just the intel architecture, and the default for that right now is 32-bit. (It started as 16-bit)

64 bit is described as x86-64.

Quote from: The Site
Python 2.7.3 Windows X86-64 Installer (Windows AMD64 / Intel 64 / X86-64 binary [1] -- does not include source)
[...]
Python 3.3.0 Windows X86-64 MSI Installer (Windows AMD64 / Intel 64 / X86-64 binary [1] -- does not include source)
Logged

MorleyDev

  • Bay Watcher
  • "It is not enough for it to just work."
    • View Profile
    • MorleyDev
Re: if self.isCoder(): post() #Programming Thread
« Reply #3171 on: October 22, 2012, 04:19:21 pm »

It's...complicated.

http://en.wikipedia.org/wiki/X86
Quote
As the term became common after the introduction of the 80386, it usually implies binary compatibility with the 32-bit instruction set of the 80386. This may sometimes be emphasized as x86-32 or x32 to distinguish it either from the original 16-bit "x86-16" or from the 64-bit x86-64. Although most x86 processors used in new personal computers and servers have 64-bit capabilities, to avoid compatibility problems with older computers or systems, the term x86-64 (or x64) is often used to denote 64-bit software, with the term x86 implying only 32-bit.
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3172 on: October 22, 2012, 04:20:51 pm »

Quote from: wikipedia
As the term became common after the introduction of the 80386, it usually implies binary compatibility with the 32-bit instruction set of the 80386. This may sometimes be emphasized as x86-32[5] or x32 to distinguish it either from the original 16-bit "x86-16" or from the 64-bit x86-64.[6] Although most x86 processors used in new personal computers and servers have 64-bit capabilities, to avoid compatibility problems with older computers or systems, the term x86-64 (or x64) is often used to denote 64-bit software, with the term x86 implying only 32-bit.[7][8]
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3173 on: October 22, 2012, 04:23:00 pm »

x86 is just a shortening for the 8086 chip architecture.

It has literally nothing to do with the bits. (Well, technically the bits are PART of the architecture, but not the part it describes nowadays)
Logged

GlyphGryph

  • Bay Watcher
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3174 on: October 22, 2012, 04:25:21 pm »

It's actually, from what I understand, a pretty terrible architecture, x86, but it's so widely used that no one can afford to switch to a better one really.
Logged

dreadmullet

  • Bay Watcher
  • Inadequate Comedian
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3175 on: October 22, 2012, 04:30:21 pm »


I solved it! All I had to do was define BOOST_SYSTEM_NO_DEPRECATED and it magically worked. Yay for being desperate and trying everything.
Logged

Vicomt

  • Bay Watcher
  • Just call me Vic.
    • View Profile
    • Steam Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3176 on: October 22, 2012, 04:42:33 pm »

6502 architecture best architecture.

* Vicomt starts the flamewar and runs.

Skyrunner

  • Bay Watcher
  • ?!?!
    • View Profile
    • Portfolio
Re: if self.isCoder(): post() #Programming Thread
« Reply #3177 on: October 22, 2012, 04:53:37 pm »

Skyrunner doesn't understand.
Flamewar failed in at least me. :P
Logged

bay12 lower boards IRC:irc.darkmyst.org @ #bay12lb
"Oh, they never lie. They dissemble, evade, prevaricate, confoud, confuse, distract, obscure, subtly misrepresent and willfully misunderstand with what often appears to be a positively gleeful relish ... but they never lie" -- Look To Windward

Dutchling

  • Bay Watcher
  • Ridin' with Biden
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3178 on: October 22, 2012, 04:56:43 pm »

Erm, for some reason I fail to understand string.split().

Code: [Select]
s = 'aa>bb>cc'

def GC_Content(s):
    s.split('>')
    return s

print(GC_Contents(s))

This just returns 'aa>bb>cc' instead of ['aa','bb','cc']. Where did I fail?
Logged

Siquo

  • Bay Watcher
  • Procedurally generated
    • View Profile
Re: if self.isCoder(): post() #Programming Thread
« Reply #3179 on: October 22, 2012, 04:58:35 pm »

s = s.split(">"), perhaps?

Edit: maybe even better: return s.split('>')

Disclaimer: I know exactly zero Python :)
Logged

This one thread is mine. MIIIIINE!!! And it will remain a happy, friendly, encouraging place, whether you lot like it or not. 
will rena,eme sique to sique sxds-- siquo if sucessufil
(cant spel siqou a. every speling looks wroing (hate this))
Pages: 1 ... 210 211 [212] 213 214 ... 796