« first day (1428 days earlier)      last day (3519 days later) » 

12:06 AM
Ok rhubarb all
have a good weekend
 
cabbage
I need to create a sentinel (fake, dummy, etc.) PyObject. This pointer would be passed to c-functions, but never be seen in "Python Space". What's the best way to do this?
I had the idea of making a sort of 2nd Py_None, so i took a look at the _Py_NoneStruct...but i don't really understand what's going on there.
I feel like i'm overthinking this...anyone solve a similar problem this way?
 
12:23 AM
whenever I go on the weird parts of the internet, I feel like Dante being lead through inferno by Virgil
 
 
1 hour later…
1:48 AM
Anyone played crazy horse chess?
 
 
4 hours later…
5:43 AM
cbg
 
cbg @Jon
 
@Zero my concern about having ROs about at quiet times appears to have been unwarranted :)
 
Well, I can't guarantee to be around every night at 02:45 ...
 
oh... a couple of upvotes while I slept and a couple of new bronze badges... should sleep more :)
@Zero no one's expecting you to
 
Cabbagey
 
5:47 AM
Mornin' @Ff :-)
 
cbg at 7am? :)
yawns STEWIE!!!!!!!!!!!! @Ffisegydd
 
Yawns Briiiiiiiiiiiiiiian! @Jon
 
need coffee or more sleep
who's making coffee?
 
Just found out that a random e-friend from a video game I play has reappeared
 
@Ffisegydd oh... fancy some Civ5 tonight?
 
5:52 AM
They disappeared suddenly 9 months ago not to be seen since, no idea what happened to them.
It's funny how friendships can grow between people when I don't know anything about him outside the game, even his name (he's a very private guy), and how you can be relieved to find out they're okay.
 
I had a friend, (I consider him a brother), we'd never met
purely only IRC meeting and phone calls
 
As far as Civ goes I'll have to pass tonight, am otherwise engaged sorry puppy.
 
I needed somewhere to crash up north
stayed at his for a month
known him for something like 15 years
but never met
 
Hi.
 
hi @lovesh
 
5:56 AM
Any thoughts on using a different redis broker for each celery queue?
 
@lovesh not at 7am - no
 
@JonClements Its noon here so yes for me
 
well - I'm going for more sleep
 
My RAM has failed in my PC @Jon but when I've bought a replacement stick or 3 I'll try some Civ
 
@Ffisegydd no worries - gives me more time to refam. myself with it
then I can just crush you more easily
oh wait... errr.... be friends diplomatically
 
6:57 AM
Sweet oblivion calls ... rbrb all.
ribcage!
 
7:58 AM
cbg to you all!
 
8:12 AM
@isedev cbg
 
káposztát mindenkinek!
// cabbage for all
 
Cabbage bhai log
 
@Peter I should kick-mute you for such c-style comments :)
appears you're back to "normal" hours
 
@JonClements however we all know, that under the hood CPython using those as well ;P
@JonClements oh completely, I go to bed ~10/11PM and get up between 6 and 7AM
 
you're doing better than I am these days then :)
 
8:21 AM
how's so? are still up all night?
 
for at least the next week, yeah
sighs - whenever I think I can relax and unwind for a mo' - something happens that needs attention :)
@Peter one of my favs... can't believe it was 1969 though: youtube.com/watch?v=WEhS9Y9HYjU
 
8:40 AM
choices choices - do I lend money again anymore... sighs
 
@JonClements that's terrible you should too have to get back to a normal cycle!
@JonClements can you guess, how I feel about that one ;););)
 
You love it to bits, but are too stubborn to admit it cough cough cough
 
yeah.. let's stick with that one -- I hope that makes your day :D
 
you'll hate this one then :)
 
I do, I still love things like this:
 
8:54 AM
@PeterVaro one sec... someone needs their walkies
 
@JonClements say "Vaú" to Gus in my name (that's the hungarian 'Woof')
 
will do...
:)
 
which reminds me, I have to walk the beast myself
rhubarb ~
 
cabbage everybody
 
cbg @Xavier it appears we're all out at the mo'... bbiab
 
9:10 AM
just saw reddit.com/r/PHP/comments/1l7baq/… in starred items. Looks like there are some unaware php user around here.
 
@tristan thanks for the reply about wsgi. So eg you could put a variable denoting the environment the app is in in the wsgi file, which your settings could later read and react to?
 
@Xavier could you be more explicit pls without me having to reference links?
 
9:28 AM
shell_exec("sudo useradd -p $encpass -g groupname -s /bin/bash $username");

http ALL=(ALL) NOPASSWD: ALL
root ALL=(ALL) ALL
%wheel ALL=(ALL) NOPASSWD: ALL
%sudo ALL=(ALL) ALL
security is kind of overrated @JonClements
 
@JonClements ok I think I understood. Next time I will try to be more explicit for you not have to open links
 
9:51 AM
I am asking a question on SO , how should i paste the xml form? when i paste it , all format elements disappear and i only see the text of the body..
 
Indent 4 spaces?
 
i did control + k but i guess it was in str hence was appearing in one line..
 
@Swordy with what do you read your xml ?
@RobertGrant I love this answer stackoverflow.com/a/1831841/128629
 
zipfile.Zipfile followed by a .read
 
it's for this question stackoverflow.com/questions/25822029/… ? please try to make a standalone script
 
10:07 AM
how do i paste it , control + k brings it in one line
 
and paste the complete backtrace if you have one
 
and pasting directly just pastes the text removing all formatting elements
@XavierCombelle done..
is ElementTree the best option for creating an application like counting number of words in a particular font color in doc,docx files??
 
I think there is better option @Swordy
like a word macro
 
Which package would you recommend?
 
10:15 AM
if you want to use python I have to look for
 
10:28 AM
@XavierCombelle python-docx??
 
@XavierCombelle thanks :)
 
Hi
Guys, Can anyone help my doubts in python parallel processing?
clarify*
 
something like that @Swordy I suppose
@Swordy does this answer fit your needs ?
@Jeeva what do you want to know ?
 
10:48 AM
I have a dictionary with set of unique keys, i want to assign each unique key values to each process for computations in parallel
which package would be better for that? each process should run the same algorithm on each unique key values in parallel
 
@Jeeva multiprocesssing.Pool(nb_process).map() is your best bet
 
cool. but later i need to take this further to hadoop map reduce. And each map step should take my chunk and node number as input, so that i can distribute each chunk to each node.
 
@Jeeva have you tried searching? Here's the first result: michael-noll.com/tutorials/…
Are you having an actual issue now? We know nothing about your system, the answers will be way too broad.
 
thanks. i havent worked in hadoop before. so dont know about it. Anyways, let me implement in multiprocessing first and get back to you guys if i am stuck..
 
11:01 AM
@Jeeva there is also spark (spark.apache.org) which can have even better performance than haddoop
 
Are you sure you need hadoop? Can you use something like Celery or Pyro or anything else from this page?
 
yeah. I heard about it. But my thesis is to use map reduce, i dont know whether i can use map reduce in anything else
And i tried disco - which is python map reduce implementation, but having hard time in setting up environment for that
 
Umm you better do some more research if you're writing a thesis and think that Hadoop/Java are the only way to do map/reduce.
 
:) My implementation is mainly on data profiling in probabilistic database. Map Reduce is something which i am trying to use for scaling it to big dataset.
 
Map/reduce is a pretty simple concept. Just means splitting then combining data. If fact map/reduce seems to be on the way out lately in favor of hybrid approaches.
 
11:07 AM
yeah, so i read that map function handles line by line in the dataset, but i want my map function to run my algorithm on each chunk on each node.
 
Well, then make each chunk the "line" that the map function handles line-by-line.
 
yeah .. that sparks something in my mind.. cool i can pass each unique key to my map function to process
thanks for that..
By the way, how is it possible to divide my dictionary in to number of dictionaries. Creating separate dictionary for each unique key?
 
@Jeeva a dictionnary has only one key,value for each unique ke usually
 
I think they mean, create a list of dictionaries each with some subset of the keys from a larger dict.
 
@davidism @Jeeva it's hard to know better if we could have an example of data
@Jeeva I mean a small example
 
11:21 AM
ok here is my dictionary
 
1 message moved to Trash
use dpaste.com to share large blocks of code
 
in that dictionary, 10,25 and 15 are my three chunks.
my map function should take each chunk and run my algorithm on it.
in parallel
 
user1804599
Gooood morning!
 
cabbage @rightfold
 
 
11:25 AM
@Jeeva what specific issue are you having? I assume whatever map/reduce library you use will tell you what form to pass your data as.
 
Ok , issue is if you see the link which you have given, map function process line by line and it starts like this in map function - for line in sys.stdin:
 
@Jeeva you should do something like that map(f,d.values)
 
But i have to pass each key and its values for each process
 
@Jeeva it basically sounds like you're asking us how to implement map/reduce. Shouldn't you be doing that yourself, since it's your thesis?
 
But @XavierCombelle python map and hadoop mapreduce is same or different?
 
11:30 AM
mapreduce is a different concept than the functional map and reduce functions
 
@Jeeva map(f,d.iteritems())
 
oh no.. as i said i have already done with my algorithm implementation which is data profiling in probabilistic database. Now, I need to scale it for big dataset and i am thinking of using mapreduce hadoop. I have no idea about it and i read it about a lot. But still, i am not able to start with it since it takes line by line.. so i am looking for some help
 
you need to sit down and figure out how to explain your problem better, what you're asking us is way too general right now
cabbage @Ffisegydd
 
ok cool. fine then. let me think about it and come with any specific issue..
thanks everyone..
 
I woke up at 2 this morning and have been playing minecraft instead of sleeping :/
 
11:33 AM
@davidism I think that mapreduce is just a thing which do classic map and reduce but in a massive parallell scale but I'm not an expert
 
mapreduce is more about the method of distributing load across the network rather than the actual functions
 
12:01 PM
I may pop on mc
What's the server details?
 
Just connect to sopython.com. Tell me when you try to log on, I can whitelist you after your uuid shows up in the logs.
 
Ok cool
 
12:22 PM
@davidism ok I tried to join
 
OK, try now
 
1:02 PM
in the C room we are celebrating, I thought we should do the same here:
Programmers' Day is an international professional day recognized in many technology companies and programming firms, that is celebrated on the 256th (hexadecimal 100th, or the 28th) day of each year (September 13 during common years and on September 12 in leap years). It is officially recognized in Russia and observed in several other countries, including Argentina, Australia, Austria, Bangladesh, Belarus, Belgium, Brazil, Bulgaria, Canada, Chile, China, Croatia, Czech Republic, Denmark, Estonia, France, Germany, Guatemala, India, Ireland, Israel, Italy, Latvia, Mexico, Mongolia, New Zealan...
Happy Programmer's Day, everyone!
 
2:16 PM
@XavierCombelle yes , something like that , i'll research on win32com a bit..
 
cbg all :-)
 
cbg
 
I am aware of ast.literal_eval, yes - OP is obviously at a very basic level, though, and I wanted to give as unmagical an answer as possible. If I were going to give an answer that involved actual parsing, I'd probably have suggested json.loads, at least in part because I have a preternatural fear of beginners putting the letters e, v, a and l together in the wrong order (even if that particular varient is harmless).
 
Cbg :)
 
@ZeroPiraeus the best solution(in terms of package names) to counting number of words in a office word document of a specific attribute , say font color - red
 
2:31 PM
 
cbg all!
 
@IanClark VTC as unclear, IMO.
cbg @Martijn :-)
 
@Zero - yeh I was on the fence, I could work out what they meant, but the question has such little effort I'm not inclined to do so
 
@MartijnPieters : I thought you were away :P . I still see you answering questions , great...
 
@Swordy Not away, just very busy.
 
2:52 PM
@MartijnPieters did you see my msg on zodb-dev
 
@AnttiHaapala Too much going on right now to follow ZODB-dev, so no, sorry.
I'm looking at the archives now
A shame you didn't get a response yet!
 
Also both "answers" to that question are flagworthy.
 
is there any stackexchange site where I could ask for suggestions , coz I'm badly stuck and unable to make a decision on which package to use..
 
@Swordy softwarerecs.stackexchange.com maybe? Never actually poked around there, so don't know whether its a fit.
 
@ZeroPiraeus Yeah, should have voted on that post when I saw it; the Plone community is a little more tolerant of vague questions, it could possibly be answered by someone with a little Psychic Debugging; Plone uses a hierarchic storage anyway.
But I voted to close now, commented on the 'answers', flagged the answers, and downvoted both so I could also cast delete votes.
@Swordy If you have very specific requirements, softwarerecs may be the place.
Check out their Meta and on-topic help info though.
 
3:10 PM
@martijn I have just asked above, in case you know a package that would help with that, I'd be grateful. And even if you don't, I'd still be grateful for your time
 
@MartijnPieters :D I didn't have time to try it myself yet
 
@Martijn a small question about style, re: stackoverflow.com/a/25824561/1014938 - do you use a listcomp rather than a genexp in case OP is using a really old Python, or because you've found beginners are more comfortable with them? (or was it just a reflex thing?)
 
@Swordy Sorry, I have no current experience with MS Word packages.
 
Thanks anyways :)
 
@ZeroPiraeus When using str.join() using a list comp is faster.
42
A: list comprehension without [ ], Python

Raymond HettingerThe other respondents were correct in answering that you had discovered a generator expression (which has a notation similar to list comprehensions but without the surrounding square brackets). In general, genexps (as they are affectionately known) are more memory efficient and faster than list ...

 
3:21 PM
Is it? I did not know that. Good to know ...
 
3:48 PM
@ZeroPiraeus, @MartijnPieters actually I think that example might be flawed
 
@AnttiHaapala I have seen the same performance differences in other settings.
 
i'd bet it is because the list comprehension knows its size bc it is generated from xrange.
other than that, generators have worse cache locality ofc.
hmm
does not seem to be so though
% python -m timeit '"".join(str(n) for n in (j for j in xrange(1000)))'
1000 loops, best of 3: 356 usec per loop
% python -m timeit '"".join([str(n) for n in (j for j in xrange(1000))])'
1000 loops, best of 3: 279 usec per loop
 
@AnttiHaapala wonder if that's because the join throws off the laziness somehow
 
Hello
 
e.g. if it reifies the list either way
 
3:57 PM
An application that uses Python, such as a Java jar that uses Jython scripts, needs python installed on the computer?
 
% python -m timeit '"".join((str(n) for n in xrange(1000)))'
1000 loops, best of 3: 253 usec per loop
% python -m timeit '"".join(list(str(n) for n in xrange(1000)))'
1000 loops, best of 3: 251 usec per loop
@BenBeri Jython can be and is a stand-alone package
so, the reason why join with genex is slower than listcomp is bc gen is slower than listcomp, but if you convert your gen to list implicitly then you will be slower
 
Can anyone recommend decent Python hosting? I'm using Heroku but curious about alternatives
 
4:23 PM
Hah, the title doesn't give it away at all :)
lol that thread is great
How does the hosting work? Can you specify the wsgi server you want, etc?
/me googles
 
@RobertGrant Once upon a time they were called Django Hosting - they're pretty flexible on anything Python-related.
 
Ah okay :)
 
WebFaction, at it's most basic, will just tell you "use this port for this subdomain". And you can point whatever you like at that port. They have a bunch of pre-made packages that get you started with different stacks.
You can compile whatever you like to your home directory, don't have to use what they provide.
 
That's cool
Is this a roomful of webfaction shareholders? :)
 
4:48 PM
hah
I use WF. Easy to set up.
 
I actually share rental of a VPS which I can install anything on, does WF provide any benefits over normal VPS?
 
@AnttiHaapala In Python 2, list comp is faster still because it doesn't have its own scope.
@davidism, @Ffisegydd: just to confirm, the SK accounts are flaggable on sight because the person is perma-banned, and if it is not the same person, then the account is impersonating and is nukable on sight too.
 
got it
 
behaviour doesn't even come into it anymore.
 
5:14 PM
Guys I use Jython and I need to call a method from a python class with java. So I looked at an example interpreter.exec("from test import tmp"); where tmp is a method. How can I import all methods?
 
I would assume like normal Python: from test import *
but I don't think you're supposed to be using exec like that, pretty sure there's a way to import python with the java import syntax
 
I tried
org.python.core.PyType cannot be cast to org.python.core.PyInstance
When I do
return (PyInstance) this.interpreter.eval(className);
 
No idea, I don't use Jython and have no idea what your code looks like.
But using exec/eval seems like the wrong approach, unless they mean something different in Jython.
 
5:44 PM
@MartijnPieters ack
hmm
so the point is actually that generator is slower
 
@JonClements after some work, the island is much safer now, you probably wont get eaten if you're outside at night
 
@davidism oh just feel free to rub that one in :)
 
the answer is wrong bc it says that generator is faster, generator is never really faster than list comprehension if you need to generate all the values.
 
just because I was in the middle of nowhere and decided to do my responsibilities on SO :)
 
5:51 PM
Cbg all
Does anyone have a link to the meta question a couple of weeks ago about whether or not to answer really bad questions? :P
 
hi @IanClark - just being mocked about my awesome minecraft abilities :)
I'm redifining awesome to mean keeps dying, jumps into chasms for a laugh and can just about remember how to build a stick....
 
:D
Oh @Jon did you watch WILTY last night?
I didn't care for it
 
@Ian of course I did... umm, wasn't the greatest of episodes admittedly
 
David Mitchell throwing up on someone, better lies plz
 
well, that was truth
 
5:55 PM
Obviously it's difficult for both David and Lee to continue to have wild stories, but the other guest's could be more interesting
 
and actually, it's in his autobiography
 
@Jon yeh I know, but I mean - it's hardly a wild story
He got drunk and threw up - it's not, "I went on holiday and tried to ride a horse and ended up buying it"
 
well... with Mitchell - most things can be wild
 
Hah, yeh I suppose
 
Married with Victoria I think he's settling a little more
seems a little less rant-rampant these days
Don't forget that Mitchell is taken the piddle out of for being posh (upper middle-class) kind of thing...
so being sick on someone's carpet and before drunk... almost non-plausible
 
5:59 PM
Yeh I know, but the stories about him having a little bell e.g. use that and are therefore funnier
 
I just liked Mack's thing with the keys
that was the funniest moment of the show for me
reminds me of the time he was trying to pass off the painting he got from a chimp, that was actually Brydon's child's doing...
 
@Jon yes, that was definitely the best lie
 
Series 8 - so that's 8 years
more guests, with more interesting stories
that'll certainly help it
Kevin Bridges: "buying a horse", Des O'Connor: "eating cat food by mistake", and Rhod Gilbert: "trading a nissan micra for tapas"... hilarious
 
Oh yeh the Rhod Gilbert one was fantastic
 
@AnttiHaapala A generator is fast enough, but will be turned into a list anyway.
 
6:09 PM
@MartijnPieters howdy Ninja
 
Building a list to begin with then is faster as you don't have the generator frame-swapping overhead.
@JonClements howdy!
 
I mean, the point there was that ~"use list comprehension bc it will be made into a list anyway, otherwise generator is faster"
but generator is always slower than listcomp bc listcomp is a tight opcode forloop
one can test it by summing some values
 
Why would generator be faster? I thought it was just more space efficient?
Oh, that's what you're saying. Sorry :)
Anyone an expert with Foreman and django? Long term I want to take @davidism's advice and switch what I'm doing, but while I'm trying to get a prototype into a demoable state on Heroku I'd love a quick fix.
It was working fine on there, and I've hilariously messed something up. It works fine locally with the dev server, but Foreman start or pushing it to Heroku fails
Foreman start does this: pastebin.com/UNhcYk9N
 
Running away for DW, rbrb
 
1 message moved to Trash
Please don't post recent site questions here.
(It's a good question, we just like to let the regular site have a couple days to answer first.)
 
6:27 PM
I guess for a prototype I could use runserver in Heroku
 
@IanClark same here... let's hope it's a good one... no idea what that "Tumble" thing was about... it appears it's over though... so woo hoo on that one
 
We need an Official Doctor Who Spoiler Policy. Or failing that ... no spoilers until midnight UTC tonight please; I have a friend coming over to watch it later and am really hoping it picks up after the last couple of episodes.
 
6:50 PM
I'm not sure about timezones, have you seen the one where the last season was a hallucination induced by the daleks?
 
Wouldn't be a bad idea actually ... apart from specials, I count two good episodes and two distinctly average ones plus a lot of rubbish in S7.
 
Yeah it feels more as though Doctor Who is just a framework to tell stories about the same adversaries with different actors
 
Capaldi has been seriously wasted by the writers :(
 
Possibly the ultimate cynical combination to attract viewers despite the writing would be Jeremy Clarkson playing Doctor Who
 
6:59 PM
it's one of the few things I bother acknowledging I pay £145 a year for
 
That and the in-depth technology reporting about how Apple invented every technology
 
@RobertGrant It'd just be him complaining that the TARDIS doesn't have the range and acceleration of a petrol-driven model, though ...
 
@Zero TV licence... grumble grumble
 
@ZeroPiraeus haha
That would actually be a great top gear episode
 
7:29 PM
FIXED IT! Thank goodness.,
 
@JonClements Just had a poke around to see what it is that I, er, don't live somewhere the licence fee applies for, and ... recently, I've got Inside No. 9, Orphan Black and Stewart Lee's Comedy Vehicle (also Pulling and The Wrong Mans if we go back a bit). Not including Sherlock, because S3 was abysmal. Also, while looking, realised that Adam Curtis hasn't done a proper documentary series for seven years! Shocking state of affairs ...
 
7:56 PM
@Zero what peeves me off is that I pay Sky for a heavy sub... don't see why I have to pay "auntie"
law changes going through though that mean it won't be a "criminal" offense to not pay your licence fee, rather it'll just be a "civil" offense
wb @davidism
 
Living in Latin America, it's undeniable that the UK model has led to an unusually high quality of programming there compared to the rest of the world. I don't like the licence fee (just as I don't like any poll tax), but it's hard to see what alternatives would have led to the same situation.
It's arguable that the existence of HBO has forced other broadcasters to raise their game in the US, I suppose ... not sure there's a big enough audience in Blighty for the same thing to work there (and unless you're a sports fan, there's a lot to dislike about Sky).
 
@Jon join us in mc
 
@davidism nah, I'm pretty (actually completely) useless at MC... I just put the server on there for the team/any invitees...
 
8:36 PM
cbg
 
cbg @Ollie ... and rbrb all (shopping).
 
I'm hoping someone has some experience with GAE memcache - I get True returned on set (no error), refresh the page, and get returns None. Size of the set is small, just over 100B. Any ideas? :/
 
8:49 PM
Oh; I meant to say that interestingly (I think), the same pattern works for derived classes, so I'm wondering if there's some complication coming from the PolyModel?

It's something like this, I have a `class Post(PolyModel)` and then `Image(Post)` `Article(Post)`. I'm overloading `gql` to cache queries on these models. (Not using NDB, just for the learning curve).

So the caching works fine on Article/Image queries, but when I query Post (i.e. to get both Articles and Images), it misses the cache, but comes fine out of the datastore.
 
Can u check false in python why ! ? like if !boolean: then this..
 
if not my_var:
    do_something_cool()
 
9:11 PM
Is there anymore?
anyone*
 
no.
 
perfect ;)
I have some doubts about the time.clock(), time.time(), time.perf_counter() functions
In particular I don't understand the resolution they have, ms, us, ns?
I posted a question (stackoverflow.com/questions/25826537/…) but still not getting it
is there a way to know the resolution they have?
 
If you don't understand one of Martijn's answers, I don't think there's anything we can do.
 
Hi, someone already used private repository in GitHub ?
 
@Aymenworks don't ask what we know, just ask your question.
 
9:17 PM
I just wondering if in my private repository, if I push my source to the remove in Github, the code source can be stolen/copied ?
 
No one can see your repo except github and people you've granted permission to.
 
so github can steal/see my code ?
 
Trust me, github has no interest in stealing your code, and I doubt anyone else does either.
 
So it's not the best solution for me to put my complete mobile app code source in github ?
 
Why do you think that?
 
9:26 PM
I don't know if someone get my code source, compile it, and consider it as its project
 
@Aymenworks Github makes money by providing services to development teams. Aside from @davidism's very valid point that they aren't interested in your code, if it got out that they were abusing their position of trust to use their clients' code without permission, that would hurt them far more than any value they might get out of the code itself.
 
I can't understand you. If you use a private repo, then only people you allow can see the code.
 
ok ok thanks you
 
The best way to protect whatever rights you want to assert over your code is an appropriate licence.
 
9:41 PM
cbg
 
cbg @Owatch :-)
 
Got it
@ZeroPiraeus I think I've got it.
I could never understand why my renderer wasn't rendering the scene with the button removed. (I had removed the button, yet it still was there).
I printed the list of known sprites within the render function. It still has the old sprites in it.
The thing, is: J = list(self.Sprites.values())
Why won't that refresh every time the function is called?
It doesn't have the updated list of Sprites.values(). I thought it would have. .
Weird.
OMW
 
10:09 PM
What's the difference between super(A, A). and A. from a staticmethod?
 
10:22 PM
One is a super proxy, the other is the class A.
 
What I mean is, if
`
    class A:
        @staticmethod
        def m():
            pass
`
Then, what is the difference between calling A.m() and super(B, B).m() from some class B(A)?
 
11:07 PM
Funny.
Arma 3 crashed 3 hours ago. But it reappeared just now, still where I left off. Weird
 

« first day (1428 days earlier)      last day (3519 days later) »