473,378 Members | 1,411 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

morning in Python

I want to talk to the newsgroup. As I have found that its readers
will be non-trivially attentive, I esteem it a worthwhile production,
for finely divided values of worth & while. (Disclaimer: Don't call
me millionaire; life & money...). It is not clear that I will be
posting code first thing, for a range of values of I. (Yes I have
tackled decentralization and contribution in identity before.)

It's possible that I just like to write, in which case, fol. the
foregoing, I might just like to write messages, plainly ignorant of
who replies. My name still works as castironpi, since I just don't
have e-mail. For the plot, though, I do not know who's reading by
name. If that makes me a villian, that's ok, mysteries are good.

I've evaluated *my* character, ladies & gentlemen, before. I just
know the trick, which may originate in the older stories of night and
day.

First things first, I try to represent story lines, which involves
some non-trivial automation of computer-modeled intelligence. It
involves live people too. You might be reading. I'm not.

From what plans I come with, it takes a second to infer that I'm on
the newsgroup, which generates some purified roles. This has some
consequences for my character upon entrance. It also complicates the
matter of getting to Python, connecting me with a larger fraction of
the community. I am on a computer and have made games. I've tried
Pygame.

I have a proposition to ask you all: Python emphasizes state. Is it
true?

Jun 27 '08 #1
12 1236
I'm not an expert in this but what does it mean to emphasize state? It
seems the opposite of that would be a) functional programming, and b)
passing parameters instead of using global or relatively local variables.
And maybe c) coroutines (generators as implemented in Python), although
perhaps coroutines could be said to emphasize state inasmuch as they go out
of their way to capture, objectify and reuse it (Stackless' microthreads,
even moreso). And Python seems to be well-noted for implementing some
functional programming methodology, and as for passing parameters it's just
as object-oriented as the rest of them.

But as I said, I'm not an expert, so let me know if I've gone astray..

I have a proposition to ask you all: Python emphasizes state. Is it
true?

Jun 27 '08 #2
On May 16, 11:58*am, "inhahe" <inh...@gmail.comwrote:
I'm not an expert in this but what does it mean to emphasize state? *It
seems the opposite of that would be a) functional programming, and b)
passing parameters instead of using global or relatively local variables.
And maybe c) coroutines (generators as implemented in Python), although
perhaps coroutines could be said to emphasize state inasmuch as they go out
of their way to capture, objectify and reuse it (Stackless' microthreads,
even moreso). *And Python seems to be well-noted for implementing some
functional programming methodology, and as for passing parameters it's just
as object-oriented as the rest of them.

But as I said, I'm not an expert, so let me know if I've gone astray..
I have a proposition to ask you all: Python emphasizes state. *Is it
true?
Please don't feed the bots.

Jun 27 '08 #3

"George Sakkis" <ge***********@gmail.comwrote in message
news:19**********************************@m3g2000h sc.googlegroups.com...
On May 16, 11:58 am, "inhahe" <inh...@gmail.comwrote:
I'm not an expert in this but what does it mean to emphasize state? It
seems the opposite of that would be a) functional programming, and b)
passing parameters instead of using global or relatively local variables.
And maybe c) coroutines (generators as implemented in Python), although
perhaps coroutines could be said to emphasize state inasmuch as they go
out
of their way to capture, objectify and reuse it (Stackless' microthreads,
even moreso). And Python seems to be well-noted for implementing some
functional programming methodology, and as for passing parameters it's
just
as object-oriented as the rest of them.

But as I said, I'm not an expert, so let me know if I've gone astray..
I have a proposition to ask you all: Python emphasizes state. Is it
true?
Please don't feed the bots.

--
I figured the question was interesting enough to warrant discussion whether
it was a bot or not. But i'm not an avid forum user, so maybe I'm wrong.

Also, if it's a bot I'm floored and the man who wrote it could probably
solve cancer and world hunger with five lines of asm.

Jun 27 '08 #4
On Fri, May 16, 2008 at 2:12 PM, inhahe <in****@gmail.comwrote:
>
"George Sakkis" <ge***********@gmail.comwrote in message
news:19**********************************@m3g2000h sc.googlegroups.com...
On May 16, 11:58 am, "inhahe" <inh...@gmail.comwrote:
>I'm not an expert in this but what does it mean to emphasize state? It
seems the opposite of that would be a) functional programming, and b)
passing parameters instead of using global or relatively local variables.
And maybe c) coroutines (generators as implemented in Python), although
perhaps coroutines could be said to emphasize state inasmuch as they go
out
of their way to capture, objectify and reuse it (Stackless' microthreads,
even moreso). And Python seems to be well-noted for implementing some
functional programming methodology, and as for passing parameters it's
just
as object-oriented as the rest of them.

But as I said, I'm not an expert, so let me know if I've gone astray..
I have a proposition to ask you all: Python emphasizes state. Is it
true?

Please don't feed the bots.

--
I figured the question was interesting enough to warrant discussion whether
it was a bot or not. But i'm not an avid forum user, so maybe I'm wrong.

Also, if it's a bot I'm floored and the man who wrote it could probably
solve cancer and world hunger with five lines of asm.
Yeah... when he/she/it first appeared the replies were at least mostly
lucid, if not necessarily helpful, and spawned a few interesting
discussions. Recently it's gone downhill... Could be some sort of bot
that was trying to learn 'speech' patterns and it overloaded its
database. (I've seen that happen on at least one chatbot...)
Jun 27 '08 #5
Full day later, I think it, to emphasize state, would prioritize
context. The reason for the huge ramble was, believe it or not,
namespace conflict... as though any other states around here might
nose in. And thanks to 'inhahe' for coming back with the
question. ...Which would explain next move to 'prioritize context'.
Context is a high priority for people.

I'm proposing to start on one on a computer. The first things a
computer 'knows' are the boot, keyboard, & mouse. Yet on another
scale, the first things it knows are BIOS, file system, and OS. On
still another, the only thing it knows are interruptions. Knowledge
is important to context. (The scales are ram on disk on, ram on disk
off, and ram off, which may tell of the currency they and their power
are bought with. Thence, we should be getting different values for
lengths of time.)

(Furthermore, we're all on different longitudes -and- latitudes.)

Context comes from motion, perception, and composite perception
(reperception e.a.o. memory). There is some reason to believe that
motion and sight are different senses, perhaps so with stationary
sound (gatcha) and mobile sound too. Do you go deaf of a tone after
prolonged duration? That makes computers valuable commodities*: they
have a symbolic interface, which no other unlive objects have. They
have both mouse and keyboard.

*I'm sure there is a precision to wants: what magnitude of what types
of action a person wants from a day and for a time-- what energy
states they go to and from (note phone on come to and come from.)

Therefore, context should originate in mouse and keyboard.

Humans have symbolic know-how: knowledge of how to convey intent
digitally, though it may be there is no interpolation of 'intent per
mouse-or-key', even though people are prone to empathize with faces.
However, if you start with a 'me' and a 'no', you can get pretty
logical.

Intent per mouse-and-key isn't necessarily scalar, three-dimensional,
or rationally dimensional (?), though they do have magnitudes per mass
and volume. The contingent of 'rationally dimensional' is having or
beknowing/benouncing an orthonormal basis. Incidentally,
'''orthography of a language specifies the correct way of using a
specific writing system to write the language. .. Orthography is
derived from Greek ὀρθός orthós ("correct")and γράφειν gráphein ("to
write").''' - wikipedia.

Further incidentally, context and state may have more important in
common than priority and price: privacy and safety are involved ex
hypothesi. Incidentally = ...

It is not clear that the first (cheapest best) human-computer language
is a computer language, though if two were orthonormal in comparison
to life, Python's fine. Not my first.

In privacy concerns, it is not clear that duals aren't primitives to
humans. What's a brain primitive? Lol: what is a primitive brain?


On May 16, 10:58*am, "inhahe" <inh...@gmail.comwrote:
I'm not an expert in this but what does it mean to emphasize state? *It
seems the opposite of that would be a) functional programming, and b)
passing parameters instead of using global or relatively local variables.
And maybe c) coroutines (generators as implemented in Python), although
perhaps coroutines could be said to emphasize state inasmuch as they go out
of their way to capture, objectify and reuse it (Stackless' microthreads,
even moreso). *And Python seems to be well-noted for implementing some
functional programming methodology, and as for passing parameters it's just
as object-oriented as the rest of them.

But as I said, I'm not an expert, so let me know if I've gone astray..
I have a proposition to ask you all: Python emphasizes state. *Is it
true?- Hide quoted text -

- Show quoted text -
Jun 27 '08 #6
By the way, "state" as a meronym of "city" and "state" as it applies to
programming (i.e. stasis) are two unrelated things.
>I'd start to discuss state property in appertanance to city >property.
What are some properties of the state?

Jun 27 '08 #7
En Sun, 18 May 2008 04:42:58 -0300, inhahe <in****@gmail.comescribi:
To those who don't want me to feed the bot, I'm sorry. It's not a bot, and
I don't know the policy on having philosophical conversations.
If you manage to stay on topic...

--
Gabriel Genellina

Jun 27 '08 #8
Full day later, I think it, to emphasize state, would prioritize
context. The reason for the huge ramble was, believe it or not,
namespace conflict... as though any other states around here might
nose in.
I think the namespace conflict is rather in cities than in states.
For example, there are several cities called "Berlin", but only
one state (that I know of) is called "Mecklenburg-Vorpommern".
In some cases, prefixing helps, e.g. you don't call it "York"
when that already exists, but "New York".

There is also the issue of aliases. Some call it Moscow, some Moskau,
when it is really called Москва. Of course, the same issue exists
for states: some call it Kalifornien, others California.
And thanks to 'inhahe' for coming back with the
question. ...Which would explain next move to 'prioritize context'.
Context is a high priority for people.
I'd rather say that priority is a high context.

Regards,
Martin
Jun 27 '08 #9
On Sun, 18 May 2008 11:15:06 +0200, Martin v. Löwis wrote:
>Full day later, I think it, to emphasize state, would prioritize
context. The reason for the huge ramble was, believe it or not,
namespace conflict... as though any other states around here might
nose in.

I think the namespace conflict is rather in cities than in states.
For example, there are several cities called "Berlin", but only
one state (that I know of) is called "Mecklenburg-Vorpommern".
In some cases, prefixing helps, e.g. you don't call it "York"
when that already exists, but "New York".
The state or the city "New York"!? And wasn't the city object bound to
the name "New Amsterdam" once? :-)

Ciao,
Marc 'BlackJack' Rintsch
Jun 27 '08 #10
On Sun, 18 May 2008 11:15:06 +0200, Martin v. Löwis wrote:
There is also the issue of aliases. Some call it Moscow, some Moskau,
when it is really called Москва. Of course, the same issue exists for
states: some call it Kalifornien, others California.
I don't see any issues here. Everybody call it "Moscow" when they speak
English and "Москва" when they speak Russian. Calling it "Москва" or
"Moskva" in English would be simply not correct and confusing.

-- Ivan

Jun 27 '08 #11
>It is not clear that the first (cheapest best) human->computer language
is a computer language, though if two were orthonormal >in comparison
to life, Python's fine. Not my first.
The utterly dry, closed, logical, definitive, hierarchical, consistent,
determinate nature of a computer language is the only thing that will
facilitate anything useful on something as utterly stupid (and not to
mention logical, definite and determined) as a computer.

I mean it, computers are /really/ stupid. They're literally
stupider than a bug. We just like things we can control.

The requisites I have for a computer language are:

Efficiency (speed)
Elegance of syntax
Powerful (conceptual-wise) abstractions

Python has delicious abstractions that make doing a lot of things really
easy and fun to think about.
Stackless Python adds even more to that with continuations.
Also Python's dynamic (another aspect of being powerful conceptual-wise)
But most of all, I love its syntax. Guido is the awesome.
(BTW, I won't even use any language that uses := for assignment. I just
refuse. I don't care what the language has.)

The speed/efficiency issue depends on the task at hand. For most things I
use Python. But assembly isn't out of the question, and it's fun to code
in. I also find C/C++ an elegant language. Most things just don't need
that speed. And Python is 50 times easier to code in than C/C++ and 1000
times easier to debug in.

I also like C#.

My ideal language would be a natively compiling cross between C++ and
Python. Objects declared with a type would be statically typed, objects not
declared with a type would be dynamically typed. There would also be
keywords to declare that class names won't be reassigned and class
attributes won't be deleted. Those attributes would be referred to by
offset, not hast table keys. f

Jun 27 '08 #12
My ideal language would be a natively compiling cross between C++ and
Python. Objects declared with a type would be statically typed, objects
not declared with a type would be dynamically typed. There would also be
keywords to declare that class names won't be reassigned and class
attributes won't be deleted. Those attributes would be referred to by
offset, not hash table keys.

But those attributes would also exist in the hash table because the referer
can also use a dynamically created name.
Jun 27 '08 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: The New Celibacy | last post by:
I go to bed at night, leaving XP running, and my Internet connection is dropped when I wake up. I go to bed at night, leaving Suse Linux running. I wake up in the morning, and it's still...
0
by: Mark12345 | last post by:
Hi guys, thanks for looking. I have a deadline for the morning My database takes down order details. Each customer has there own priceid in the price table. the errors that I get say enter...
1
by: Matt | last post by:
I have table that has the following fields: JobNumber WeekEndingDate ReportRequired_01 ReportRequired_02 every Friday morning the weekending date changes. I need to automatically generate...
0
by: fringo | last post by:
Someone sent that to me and I laughed the entire morning....I couldn't stop it....It's so funny.... http://www.teenwag.com/playvideo/4190 Will Ferrell Arguing with Pearl the Landlord...
9
by: indefatigable | last post by:
Hi, I'm sure this has been done before, but I can't seem to find this one on the net.... I have a datefield but instead of it just displaying: 07/12/18 08:30 I would like to display it...
0
by: indefatigable | last post by:
This is what I have: Function Value If Not IsNull(DeadLine) Then If TimeValue(DeadLine) = 0 Then Value = Format(DeadLine, "dd/mm/yyyy") Else If...
0
by: handord | last post by:
GOOD MORNING Friends : Today Message : A man can succeed in any endeavour for which he has unlimited enthusiasm. A man who cannot tolerate small ills can never accomplish great things.
0
by: inhahe | last post by:
"inhahe" <inhahe@gmail.comwrote in message news:... hast = hash
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.