On Wed, Jun 13, 2018 at 4:08 AM, Ganesh Pal wrote:
> Hi Team,
>
> I wanted to parse a file and extract few feilds that are present after "="
> in a text file .
>
>
> Example , form the below line I need to extract the values present after
> --struct =, --loc=, --size= and --log_file=
>
> Sample
t;xst
thread-name"})
how can I get the text in tag em and tag a under tag span?
thank you for your support!
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
e:
Python 3.5.2 (default, Sep 14 2017, 22:51:06)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 1
>>> b = 2
>>> id(a)
10911168
>>> id(b)
10911200
>>> c = 1
Absolutely, Stefan! I like yours a lot better. I am an old perl hack that
is still learning the ins and outs of Python, and this is just the sort of
thing that I like to see.
Thanks!
On Tue, Oct 17, 2017 at 4:19 PM, Stefan Ram wrote:
> Nathan Hilterbrand writes:
> >I may have misu
Hit wrong button before.
-- Forwarded message --
From: Nathan Hilterbrand
Date: Tue, Oct 17, 2017 at 2:22 PM
Subject: Re: Is there a function of ipaddress to get the subnet only from
input like 192.168.1.129/25
To: Rob Gaddi
I may have misunderstood what you were looking for
dict= {10: ['a',1,'c'], 20: ['d',2,'f']}
p = sum([dict[i][1] for i in dict])
Something like that?
On Sat, Oct 7, 2017 at 11:07 PM, Andrew Z wrote:
> Hello,
> i wonder how can i accomplish the following as a one liner:
>
> dict= {10: ['a',1,'c'], 20: ['d',2,'f']}
> p = 0
> for i in dict:
>
"))
2
>>> floor(2)
2
Remember that Python is strongly typed; you do not get automatic type
conversions from strings to numeric types such as in Perl.
Regards,
Nathan
On Thu, Aug 24, 2017 at 2:24 PM, Stefan Ram wrote:
> This is a transcript:
>
> >>> from math im
Check your user folder. For me, on my PC, python is installed
at C:\Users\nernst\AppData\Local\Programs\Python
Regards,
Nate
On Fri, Jul 21, 2017 at 9:24 AM, Brian Case wrote:
> I am running windows 10 version 1703 as administrator on a Dell Inspiron
> 15 laptop.
>
> I downloaded and installed
gt;>> n = 4000; m = 4000; n is m
True
>>> n = 4000
>>> m = 4000
>>> n is m
False
>>>
On Fri, Jul 7, 2017 at 2:29 AM, Dan Wissme wrote:
> Le 06/07/2017 à 20:56, Nathan Ernst a écrit :
>
>> In Python, "==" is not a reference equal
n.org/3/library/functions.html#isinstance for details.
Regards,
Nathan
On Fri, Jul 7, 2017 at 2:04 AM, Peter Otten <__pete...@web.de> wrote:
> Sayth Renshaw wrote:
>
> > I was trying to solve a problem and cannot determine how to filter 0's
> but
> > not false.
In Python, "==" is not a reference equality operator (and I hate Java for
their misuse of the operator), so I absolutely disagree with using the Java
description to describe Python's "==" operator, primarily because, well,
it's wrong. Simple example:
With Python 3.5.2 (should hold for any version
Not sure if this is the cause of your error, but the value for the variable
"user" is misspelled according to the preceding comment. "admim" vs "admin"
(not the M instead of an N at the end).
Regards,
Nathan
On Wed, Jun 28, 2017 at 3:08 PM, Ken R. Lewis
wrote
MS used to, I'm not sure if they still do, provide a separate C++ SDK that
included the compiler, but not the full IDE. It was still quite a large
download at ~128MB. But, it included only the command-line compiler, linker
& std lib.
Starting with VS2017, the ABI is supposedly stable going foward
There is another way to do it, but it's not pretty, and I don't recommend
it:
>>> class Foo:
... pass
...
>>> from functools import partial
>>> f = Foo()
>>> def hello(self, arg):
... print("hello", arg)
...
>>> f.hello = partial(hello, f)
>>> f.hello("world")
hello world
This basically re
bones, single-user one).
Regards,
Nathan
On Mon, May 15, 2017 at 4:01 PM, Deborah Swanson
wrote:
> Chris Angelico wrote, on Monday, May 15, 2017 11:22 AM
> >
> > On Tue, May 16, 2017 at 4:12 AM, Deborah Swanson
> > wrote:
> > > It continues to amaze me that Anaconda
I've used bbfreeze on linux, but that's been ~8 years ago. Don't know about
the current state of the project.
Regards,
Nate
On Tue, May 9, 2017 at 9:42 PM, MrJean1 wrote:
>
> > Is there any way to pack my .py with all required libraries and create a
> self running package? Something like buildi
As previously asked: what board are you using? There might be a simple
response to your issue, but you've yet to state the board you're using. You
will not get any useful responses until you answer this very, very simple
question.
If you can't "pip install", you'll probably have to build from sour
I've likewise mostly been ignoring this thread as it has gotten out of
control.
At a few jobs ago, I was nearly daily involved with interviewing
candidates. Initially, I was point on "culture fit". i.e. how would the
potential employee react to having a phone thrown at them (it happened - I
worked
Off topic, but I find it a little annoying that the default Windows
installer links to the 32-bit installer (and there's no adjacent 64-bit
installer link) - you have to dive into various links to get the 64-bit
installer. Seeing as 64-bit Windows is now the norm, it should be the
default. (It is p
Thank you for that Alan Kay quote. Brightened up my day. Since you also
mentioned COBOL, and this is a thread about "goto", reminded me of the
single most abhorrent thing I ever saw in COBOL (I had to convert a single
COBOL batch process to ASP.Net as an intern back in 2003-4). "MOVE NEXT
SENTENCE"
I think that's fair (and I had intended to mention it). Although, I'm
curious how threading with IO compares to using async/awai (I've not
experience with async/await in Python, just in C#).
Regards,
Nate
On Tue, Apr 11, 2017 at 8:04 PM, MRAB wrote:
> On 2017-04-12 01:28,
goto is a misunderstood and much misaligned creature. It is a very useful
feature, but like nearly any programming construct can be abused.
Constructs like 'break', 'continue' or 'next' in languages like Python or
C/C++ are goto's with implied labels.
As Mikhail said, goto's can be great to break
I used to write Python modules in C++. Well, more accurately, wrapped
already-written C++ APIs to expose to Python using Boost Python. This
wasn't due to performance issues, but to avoid reimplementing APIs.
That said, I believe Python gets a bad wrap in regards to performance for a
variety of re
ke a web request, parse JSON or
XML, handle datetimes).
Remember: Python comes with batteries included.
-Nate
On Mon, Apr 3, 2017 at 5:09 PM, Deborah Swanson
wrote:
> Nathan Ernst wrote, on April 03, 2017 1:59 PM
> >
> > I was a bit surprised when I looked at the language refer
Hi Pauline,
I was able to infer you're on Windows, but not which version. Try
right-clicking on the start menu to start a command prompt as an
administrator (I'm not sure that was available in Windows 7, and I don't
have access to a Win7 box currently to verify). Failing that, you should be
able t
If you've installed into Program Files, then you're on Windows, and you've
installed for all users. Start a command prompt by right-clicking on the
start icon, then selecting "Command Prompt (Admin)". This should work on
Windows 8.x and Windows 10. Windows 7, you may need to navigate through
Progra
Hi Pauline,
It depends largely on whether you want to (and have sufficient permissions)
to install for all users or just yourself.
If, on *nix, you're installing site-wide (for all users), typically you'd
do: "sudo pip install " (for python 2) or "sudo pip3 install
" (for python 3). If you're in
I was a bit surprised when I looked at the language reference for 3.6.x. I
expected there'd be a direct link to comprehensions, but there's not.
You have to know what you're looking for:
6.2.5: List Displays
6.2.6: Set Displays
6.2.7: Dictionary Displays
And, then, click on the appropriate eleme
I would also add a link to the dependency's project page, in case building
from source is necessary.
You don't always have root, and you're not always building with the system
supplied compiler.
There are a lot of situations that may require building from source. Far
too many to even bother to en
I want a tab to be inserted, by default. If I
want something else, I'll change the configuration.
On Sat, Mar 18, 2017 at 6:38 PM, Marko Rauhamaa wrote:
> Nathan Ernst :
>
> > Tabs rectify this issue as you can configure them to appear how you
> > like to see your code wi
On Sat, Mar 18, 2017 at 4:44 PM, ROGER GRAYDON CHRISTMAN
wrote:
> Just a couple minor notes from my experience:
>
> 1)
> Some of the course management software I use doesn't like me typing tab
> characters.
> When I want to post sample code into a course page using this software,
> tabs
> are eit
I don't generally align stuff, either, but if you're going to, use spaces.
On Sat, Mar 18, 2017 at 4:55 PM, Chris Angelico wrote:
> On Sun, Mar 19, 2017 at 8:50 AM, Nathan Ernst
> wrote:
> > My rule of thumb: tabs for indentation, spaces for alignment (i.e. trying
> &g
ng after a non-whitespace character on a single line).
Regards,
Nathan
On Sat, Mar 18, 2017 at 4:24 PM, Mikhail V wrote:
> On 18 March 2017 at 16:54, Lutz Horn wrote:
> > Am 18.03.17 um 16:18 schrieb Mikhail V:
> >> On 18 March 2017 at 05:02, Ben Finney
> >> wrote:
>
One other thing besides the issues noted with filename - newline is set to
a space. It should be set to an empty string.
See: https://docs.python.org/3/library/csv.html#id3
Regards,
Nate
On Wed, Feb 22, 2017 at 3:52 PM, wrote:
> On Wednesday, February 22, 2017 at 5:55:47 PM UTC, Braxton Alfred
I mostly agree with this
On Mon, Jan 30, 2017 at 7:18 PM, Joseph L. Casale wrote:
> > C# hardly seems any better than Java to me as far as a language goes.
>
> Which sounds pretty good to me, they are both high performance, mature
> and rich languages.
>
> > Being forced into working with classe
I used to manually reformat unfamiliar C++ by hand, if for no other reason
in that it forced me to read the code and somewhat comprehend what was
going on. Now, I've lost my patience and use clang-format, a great & highly
configurable tool. I also use vim for Python & C++ coding, so I also rely
upo
Have you looked into Visual Studio Code (https://code.visualstudio.com/)?
I've not used it extensively, and only on Windows, but it's an open source
IDE originated by MS that purportedly works on Windows, Linux & OS X.
It does have pretty decent Python support (haven't tried debugging, but
syntax
With a case-sensitive file system, how do you search only for 'harry', not
knowing what combinations of upper and lower case have been used? (It's a
good thing Google search isn't case sensitive!)
On Linux, I'd do "find . -iname harry". A lot, but not all, of the tools
usually have options to igno
One other consideration in regards to globbing in the argument list:
there's a static limit to the byte length of argv. On windows, it's 8191
bytes (I'm assuming a null-terminator brings that to 8192, which is a weird
2**13). For Linux, as of kernal 2.6.25, apparently, the limit is 131072
bytes, an
OT, but I'm curious, do they explain *why* it's wrong and give an
alternative, or just outright deride it as "the wrong way". I ask because
I've read similar complaints about the community around systemd, but as it
rarely affects me personally, I've never bothered to care.
On Mon, Dec 5, 2016 at 8
Ifyou're running on Windows 10, at least, you can soon purge that memory.
command.com doesn't exist (may never have existed on Win2k, XP, Vista, 7,
8, 8.1 or 10). If I try and run either "command" or "command.com" from
Win10, both say command cannot be found.
IIRC, command.com was a relic of Win9x
,
you'd have to take that up with Microsoft (and I'll doubt you'll make a
convincing enough argument for them to change it).
What is allowed on linux may be defined by linux itself, and it may be
restricted by the filesystem type itself (I don't know).
Regards,
Nathan
On Mon, De
To be fair, in other languages, such as C# or C++ with similar mechanisms,
if you don't ask for the result from an async or future task, there's no
guarantee the async task will be executed at all unless (or until) you ask
for the result. C++'s futures even give an explicit flag indicating you
want
You're right. Didn't look closely enough at it in my phone. Still don't
think i'd recommend this in a general solution, though. You effectively
have to white-list code snippets. Not very useful.
On Nov 26, 2016 7:51 PM, "Michael Torrie" wrote:
> On 11/26/
Sure, what if the input used a double quote instead of single, cursory
glance looks like it might vulnerable.
(Not trying to be argumentative here)
On Nov 26, 2016 7:21 PM, "Steve D'Aprano"
wrote:
> On Sun, 27 Nov 2016 11:25 am, Chris Angelico wrote:
>
> > On Sun, Nov 27, 2016 at 11:13 AM, Stev
You're attempting to print out control characters most of which have no
visible representation. For "\7", at least if you're running from bash, and
not in an IDE, you should get an audible bell. All decimal ordinals below
32 are control
You can find a list of the symbols here:
http://en.cppreferen
I don't see anything in that output resembling an error, just a few
warnings that some features may no be available.
Have you tried importing pygame after you did that? That's what'll prove
one way or another that it worked.
Regards,
Nate
On Wed, Nov 23, 2016 at 10:48 PM, Cai Gengyang
wrote:
>
Thanks, ChrisA
On Tue, Nov 22, 2016 at 9:24 PM, Chris Angelico wrote:
> On Wed, Nov 23, 2016 at 2:14 PM, Nathan Ernst
> wrote:
> > I was not aware of that PEP.
> >
> > The logic in my function is exactly as desired, so to squelch the
> warning,
> > I mere
(i))
yield r - l
l = r
except StopIteration:
return
On Tue, Nov 22, 2016 at 9:02 PM, MRAB wrote:
> On 2016-11-23 02:50, Nathan Ernst wrote:
>
>> I'm using Python 3.5.2, and the following code (when invoked) causes a
>> PendingDeprecationWarning w
I'm using Python 3.5.2, and the following code (when invoked) causes a
PendingDeprecationWarning when used in a unit test:
def identity(x):
return x
def adjacent_difference(seq, selector=identity):
i = iter(seq)
l = selector(next(i))
while True:
r = selector(next(i))
yield r - l
I would also toss in there: never name a script test.py. Causes nothing but
trouble, at least in python2.
On Nov 17, 2016 8:01 PM, wrote:
> Steven D'Aprano at 2016/11/17 4:04:04PM wrote:
> > The most important thing you should learn from this thread is:
> >
> > - avoid using "from module import
In regards to performance of Lua vs Python, I don't have enough (near zero
experience) with Lua to comment there.
But in regards to embedding in a game, the only experience I have w/ Python
being embedded is while working on modding Civilization IV. What I saw
there just made me nauseous.
The rea
No, because you've not provided anything resembling a question or a
problem. Please provide a minimal example set of code that exposes the
problem you are encountering, and describe the problem you are having. And
note that we will not write code for you if it ends up looking like a
homework proble
Mohan Mohta wrote:
> > > On Monday, September 26, 2016 at 6:56:20 PM UTC-5, Nathan Ernst wrote:
> > >> On Mon, Sep 26, 2016 at 6:00 PM, MRAB
> wrote:
> > >>
> > >> > On 2016-09-26 23:03, M2 wrote:
> > >> >
> > >> >&g
On Mon, Sep 26, 2016 at 6:00 PM, MRAB wrote:
> On 2016-09-26 23:03, M2 wrote:
>
>> Hello
>> The program is designed to collect different statistics from servers
>> across the network and populate in excel sheet.
>> Library : xlsxwriter.0.9.3
>>
>> Below is the Snip of code being used
>> #! /usr/b
The grammar and what it represents is defined at
https://docs.python.org/3/reference/expressions.html#expression-lists
Regards
On Sep 16, 2016 9:59 PM, "Peng Yu" wrote:
> OK. But it is documented somewhere in python doc?
>
> On Fri, Sep 16, 2016 at 9:48 PM, Lawrence D’Oliveiro
> wrote:
> > On
Note that this issue is mentioned in the pymssql FAQ:
http://pymssql.org/en/stable/faq.html#pymssql-does-not-unserialize-date-and-time-columns-to-datetime-date-and-datetime-time-instances
Regards,
Nathan
On Mon, Sep 12, 2016 at 8:29 PM, Dennis Lee Bieber
wrote:
> On Tue, 13 Sep 2016 00:52
good, clean,
and definitely did fall a bit short with pylint.
I have worked for asshat managers before. It is something to be avoided.
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
tell me if the problem is with Rstudio, Python version or the
syntax.
>
> TIA
> -Shaunak
> --
> https://mail.python.org/mailman/listinfo/python-list
Looks like you are missing a colon after 'as e'... as e: might do
the trick
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
it cannot be avoided.
I am not 100% sure exactly what you want to do, but you might take a
look at using 'pythonw.exe' instead of 'python.exe'
YMMV
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
> On 1/28/2016 7:01 PM, Fillmore wrote:
>
>>
>> I learned myself Perl as a scripting language over two decades ago. All
>>
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>
Yes, python3 is available for cygwin. My cygwin (fairly current) has
python 3.4.3 installed
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
ratch. Comparisons will make it much more
difficult, in several ways.
Best of luck to you, and I hope that you find Python to be too your liking.
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
and $str != $tail) {
$str ~= s/^(head-pattern)//;
if ($1) {
do_something($1);
} else {
last;
}
}
Otherwise there is too much risk of an infinite loop if the string is
(1) empty, or (2) never ends up being equal to "tail"
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
.nl
Software Engineer Radio Observatory
ASTRON | Phone: +31 521 595 100 (797 direct)
P.O. Box 2 | GSM: +31 6 24 25 17 28
NL-7990 AA Dwingeloo | FAX: +31 521 595 101
The Netherlands| Web: http://www.astron.nl/~renting/
Without having the files handy to test with, I would suggest that you
try replacing "-I '^[[:space:]]*$'" with r"-I '^[[:space:]]*$'" as a
starting point.
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
row index.
To get rid of the '\n' (lineend) characters:
with open(file1) as fh:
ParametersRaw = [line.strip() for line in fh.readlines()]
or, more succinctly..
with open(file1) as fh:
ParametersRaw = [line.strip() for line in fh]
Comprehensions are your friend.
Nathan
--
https://mail.python.org/mailman/listinfo/python-list
t("After ticks: {}".format(x))
x = Clock(hours=2, minutes=20, seconds=5)
print("\nConstructor with hours=2, minutes=20, seconds=5: {}".format(x))
print("Test of display() method: ",end=' ')
x.display()
This is my first post he
On Thursday, July 9, 2015 at 8:10:16 PM UTC-4, Matt Sundquist wrote:
> Hi all,
>
> I'm part of Plotly, and we've just finished a few releases I thought I'd pass
> along.
>
> These tools make it easy to craft interactive graphs and dashboards with
> D3.js using Python. We're especially drawn to
On Friday, September 12, 2014 1:14:41 AM UTC-7, Marco Prosperi wrote:
>
>
> I'm trying to pass my application from wxpython2.9.4 to 3.0.1 but there
> seems to be still some of the problems that made me skip wxpy2.9.5: when I
> close the main window of my application (windows7-64bit, python 2.7)
Hi I was wondering how much your oxycontins are for what mg and quantity.
Also do you guys sell dilaudid?
Thank you
--
https://mail.python.org/mailman/listinfo/python-list
-- Forwarded message --
From: Nathan Spicer
Date: Tue, Sep 18, 2012 at 8:32 PM
Subject: Programming Issues
To: webmas...@python.org
Hello,
My name is Nathan Spicer. I'm taking a computer programming class using
python. I have a project that's due in a week and I
Re-trolling.
On Wed, Apr 4, 2012 at 1:49 AM, Steven D'Aprano
wrote:
>> As part of my troll-outreach effort, I will indulge here. I was
>> specifically thinking about some earlier claims that programming
>> languages as they currently exist are somehow inherently superior to a
>> formalized natur
> The "building cabinets" problem is interesting:
>
> 1. To actually build a cabinet, there's a lot of domain knowledge
> that's probably implicit in most circumstances. A carpenter might
> tell another carpenter which hinge to use, but they won't have to talk
> about why doors need hinges or how
> Long personal note ahead.
> tl;dr version: Computers are such a large shift for human civilization
> that generally we dont get what that shift is about or towards.
Another option: since *computers* are such a general device, there
isn't just one notion.
> In the long run I expect computing sci
On Wed, Apr 4, 2012 at 1:49 AM, Steven D'Aprano
wrote:
> On Tue, 03 Apr 2012 13:17:18 -0400, Nathan Rice wrote:
>
>> I have never met a programmer that was not completely into computers.
>> That leaves a lot unspecified though.
>
> You haven't looked hard enough.
On Tue, Apr 3, 2012 at 4:20 PM, Terry Reedy wrote:
> On 4/3/2012 8:39 AM, Nathan Rice wrote:
>
>> Ultimately, the answers to your questions exist in the world for you
>> to see. How does a surgeon describe a surgical procedure? How does a
>> chef describe a recip
pes are a tool that astronomers use to view the stars.
On Tue, Apr 3, 2012 at 1:25 PM, rusi wrote:
> All this futuristic grandiloquence:
>
> On Apr 3, 10:17 pm, Nathan Rice
> wrote:
>> The crux of my view is that programming languages exist in part
>> because computers in
On Tue, Apr 3, 2012 at 11:01 AM, Ian Kelly wrote:
> On Tue, Apr 3, 2012 at 6:39 AM, Nathan Rice
> wrote:
>> Did you miss the part where I said that most people who learn to
>> program are fascinated by computers and highly motivated to do so?
>> I've never met a BRO
On Tue, Apr 3, 2012 at 9:51 AM, rusi wrote:
> On Apr 3, 5:39 pm, Nathan Rice
> wrote:
>>
>> Don't think "underlying", instead think "canonical".
>>
>> Ultimately, the answers to your questions exist in the world for you
>> to see.
On Tue, Apr 3, 2012 at 1:40 AM, alex23 wrote:
> On Apr 3, 2:55 pm, Nathan Rice
> wrote:
>> I don't care what people do related to legacy systems.
>
> And that's what earns you the label 'architecture astronaut'. Legacy
> systems are _part_ of the pro
On Sun, Apr 1, 2012 at 11:18 PM, alex23 wrote:
> On Mar 30, 3:37 pm, Nathan Rice
> wrote:
>> We live in a world where the tools that are used are based on
>> tradition (read that as backwards compatibility if it makes you feel
>> better) and as a mechanism for deriving
On Sat, Mar 31, 2012 at 2:15 AM, Lie Ryan wrote:
> On 03/21/2012 03:55 AM, Nathan Rice wrote:
>>
>>
>
> I think you've just described that greedy algorithm can't always find the
> globally optimal solution.
Right. Using gradient descent on an algebraic su
On Fri, Mar 30, 2012 at 5:45 PM, Chris Angelico wrote:
> On Sat, Mar 31, 2012 at 7:58 AM, Nathan Rice
> wrote:
>> Programming
>> language designers purposefully try to make their language C-like,
>> because not being C-like disqualifies a language from consideration
On Fri, Mar 30, 2012 at 4:20 PM, Chris Angelico wrote:
> On Sat, Mar 31, 2012 at 6:55 AM, Nathan Rice
> wrote:
>> I think you'd find that these "non coders" would do very well if given
>> the ability to provide instructions in a natural, interactive way.
&
> This is more a matter of being unable to express themselves
> appropriately. If I allowed them to write an exact process of steps to
> do what's required, those steps would either be grossly insufficient
> for the task, or would BE pseudo-code. There are plenty of people who
> cannot write those
On Fri, Mar 30, 2012 at 12:20 PM, Chris Angelico wrote:
> On Sat, Mar 31, 2012 at 12:46 AM, Nathan Rice
> wrote:
>> I believe in the idea of "things should be as simple as possible, but
>> not simpler". Programming as it currently exists is absolutely
>> c
>> Mathematics is all about abstraction. There are theories and structures
>> in mathematics that have probably gone over a hundred years before being
>> applied. As an analogy, just because a spear isn't useful while farming
>> doesn't mean it won't save your life when you venture into the woods
ou can follow me here, and further I
>> hope you can see that this is a completely valid description of what is
>> actually going on (from a different perspective).
> [...]
>> What does pushing the abstraction point that far up provide?
>
> I see why you are so hostile towar
>>> He did no such thing. I challenge you to find me one place where Joel
>>> has *ever* claimed that "the very notion of abstraction" is meaningless
>>> or without use.
> [snip quote]
>> To me, this directly indicates he views higher order abstractions
>> skeptically,
>
> Yes he does, and so we al
> He did no such thing. I challenge you to find me one place where Joel has
> *ever* claimed that "the very notion of abstraction" is meaningless or
> without use.
"When great thinkers think about problems, they start to see patterns.
They look at the problem of people sending each other word-proc
On Thu, Mar 29, 2012 at 7:37 PM, Devin Jeanpierre
wrote:
> On Thu, Mar 29, 2012 at 3:50 PM, Nathan Rice
> wrote:
>> Well, a lisp-like language. I would also argue that if you are using
>> macros to do anything, the thing you are trying to do should classify
>>
On Thu, Mar 29, 2012 at 9:44 AM, Albert van der Horst
wrote:
> In article ,
> Nathan Rice wrote:
>>>
>>> http://www.joelonsoftware.com/articles/fog18.html
>>
>>I read that article a long time ago, it was bullshit then, it is
>>bullshit now.
On Thu, Mar 29, 2012 at 2:53 PM, Devin Jeanpierre
wrote:
> Agreed with your entire first chunk 100%. Woohoo! High five. :)
Damn, then I'm not trolling hard enough ಠ_ಠ
> On Thu, Mar 29, 2012 at 1:48 PM, Nathan Rice
> wrote:
>> transformations on lists of data are natura
On Thu, Mar 29, 2012 at 10:03 AM, Chris Angelico wrote:
> On Fri, Mar 30, 2012 at 12:44 AM, Nathan Rice
> wrote:
>> We would be better off if all the time that was spent on learning
>> syntax, memorizing library organization and becoming proficient with
>> new tool
On Wed, Mar 28, 2012 at 9:33 PM, Chris Angelico wrote:
> On Thu, Mar 29, 2012 at 11:59 AM, Rodrick Brown
> wrote:
>> The best skill any developer can have is the ability to pickup languages
>> very quickly and know what tools work well for which task.
>
> Definitely. Not just languages but all
>> I understand what
>> you're trying to communicate, so I think you need to be a little more
>> strict and explicit in your definitions.
>
>
> No, I don't think you understand what I meant.
I don't agree. Sorry.
> Yes. I thought that streams as an alternative to functional programming were
> wi
>>> I will use "<=>" to mean "is equivalent to". That's not part of the DSL.
>>> A flow has one or more streams:
>>> 1 stream:
>>> [1,2,3]
>>> 2 streams:
>>> [1,3,5] | [2,4,6]
>>> Two flows can be concatenated:
>>> [1,2,3] + [4,5,6]<=> [1,2,3,4,5,6]
>>> [0] + ([1,2] | [3,4]) + [
stops when a function is applied to an empty
> sequence.
> Flows can be saved (push) and restored (pop) :
> [1,2,3,4] - push - by(2) - 'double' - pop | val('double')
> <=> [1,2,3,4] | [2,4,6,8]
> There are easier ways to achieve the same result, of course:
> [1,2,3,4] - [id, by(2)]
You are grasping at an algebra here, a sort of calculus of temporal
observations. You need to step back and make it rigorous before you
worry about issues such as a readable syntax.
Nathan
--
http://mail.python.org/mailman/listinfo/python-list
Logo. It's turtles all the way down.
--
http://mail.python.org/mailman/listinfo/python-list
>> Do you think we'll always have a huge number of incompatible
>> programming languages? I agree with you that it's a fact of life in
>> 2012, but will it be a fact of life in 2062?
>
> It will be a fact of life wherever Godels theorem is; which put
> simplistically is: consistency and completene
>> For example, your ability to reason about the behavior of the system
>> you posited as a whole is limited. Are there parts of the different
>> modules that can execute concurrently? Is the output of module1
>> guaranteed to be acceptable as the input for module2? Is part of
>> module3 redunda
1 - 100 of 287 matches
Mail list logo