« first day (2125 days earlier)      last day (2822 days later) » 

wim
6:00 PM
pet peeve : people using assert when they should have used raise
 
^^ yes
 
user559633
Pet peeve: touching their bellies when they're trying to sleep
 
wim
otherwise, excellent code though ...
 
@tristan my dog loves that
periodic touching in a petting manner
 
now you can't (but applets do not exist anymore as far as I know & am concerned) - but yeah with work you could back in the day (gotta think I'm referring to stuff I did this was 12-15 years ago or more and JS wasn't as powerful neither were browsers or computers in general)
 
6:03 PM
@AndrasDeak Wow...I totally didn't get that joke at all until your comment...
self-five
 
\o/
 
@wim I know you can disable assertions in Python (at least I think I recall reading that somewhere), is there any other reasons you shouldn't?
I know I've seen some articles that encourage the use of assertions for asserting that things are in a given state (e.g. the code you linked)
 
assert is for stuff that should never happen, so if the assertion does happen the code needs fixing.
 
I'm not sure what to raise in that case though - ValueError? Python doesn't have an ArgumentError, unless my memory is lying to me...
 
wim
It should raise some subclass of RestFrameworkError or whatever the packages base exception is called
assert is for checking programmer's own logic, not for validating user input
 
6:07 PM
There's nothing stopping you from making your own ArgumentError. And I've occasionally wondered why the standard lib doen't provide it.
 
wim
it just makes a library harder to work with if they are [ab]using asserts like that
 
In my world I use assert only in my unit tests.
 
Just ran an install command on a project... who's naming these libraries?
Using cocaine 0.5.8
 
I suppose ArgumentErrors violate the "be permissive in what you accept" principle. If you write your function assuming the first paramter is an integer, but it turns out it works just as well for floats, your user is going to be peeved when f(2.5) crashes despite being a perfectly sensible request
 
wim
6:10 PM
I use asserts in code too
 
@corvid That's the library you use if you wanna hang out
 
wim
but if a user is ever able to make an assert fire, then I fucked up, I have a bug to fix, I expect an email from sentry , etc
 
OTOH your user might be peeved if you don't raise a sensible ArgumentError and instead let an exception bubble up from four stacks deep and he has to figure out what TypeError on line for x in range(y): has to do with his problem five contexts away
 
wim
a user should never be able to make an assert fire because they fucked up..
 
Well - with DRF do you consider the user the programmer or the end user?
cause I would think that the assert is something that only a developer could trigger
 
6:13 PM
In my examples the "user" is the guy writing code using your library. The code-illiterate person executing your program is going to be peeved about a crash regardless of what the stack trace says.
 
youtu.be/pJyQpAiMXkg?t=20s (too late to edit :P )
 
... Unless it's a supremely simple actionable message like "expected destination_directory value in config.ini, none found" that they can fix with just Notepad.
 
And if a developer using your library gets an assert in your library to fire he can be confident that it's your library that's broken, no matter how crazy his own code is.
 
wim
In this context, I consider the 'user' is the programmer who has a dependency on drf
that's right
 
But if people going around using assert when they should be using raise then you don't get that nice clean separation.
 
wim
6:17 PM
although in python he could have some real crazy code which reached into the stack frame and mucked around, or reparsed the ast and mucked around or .... :)
 
Fair point. :)
 
wim
we can do some real batshit crazy stuff with python
 
@wim Every time I hear about mucking with the ast: github.com/ajalt/fuckitpy
 
wim
rewrite ast has valid use case
 
6:19 PM
But if you're doing that sort of crazy shit, you're expected that you know what you're doing (or don't care), and all bets for sane behaviour are off. :)
 
New kitten!
 
wim
thats actually how py.test can give you a nice contextual diff for e.g. a line like

assert dict1 == dict2
 
@wim Yeah, I know there are many more valid use cases ;)
 
@MorganThrapp Congrats on the new addition! :)
 
Yay kittehs!
 
wim
6:20 PM
much nicer than unittests self.assertDictEqual or whatever bullshit they use
 
Thanks! We've had her for all of 20 minutes now and I'm already a jungle gym.
@tristan @Ffisegydd new kitten pic above.
 
wim
was the rug that messy before you got the cat ?
 
Yeah. :P
 
wim
oh well now you have an excuse
 
People not using asserts when they should is how we get ATM kiosks with "error: this should never happen [OK]" dialog boxes
 
6:22 PM
It's the gf's from college. We need to replace it anyway.
 
@MorganThrapp WHERE'S THE OLD PIC???
show me your new overlord
Can I tag Morgan's purple toenails in the picture?
 
That's the only one.
Hahaha, not mine.
 
@MorganThrapp oh, OK, great, thanks:)
I misread your message then
I read it as new (kitten pic) above
whereas it was probably (new kitten) pic above
She's adorable! Can't wait until she eats your face while you sleep:)
 
Yeah, second one. :P Thanks! I'll let you know if I wake up without a face.
 
FWIW your avatar shouldn't change much afterwards;)
and now I looked at it closely, and it is in fact not a video game monster
 
6:32 PM
Nah, it's from a haunted house near me.
 
I had to hack it to have 256x256 pixels, but then I could read the sign:)
 
I just think of Morgan as a mottled orangey-brown square. An honorary member of the abstract shape avatar club.
 
Works for me. I can't have anyone finding my true shape.
 
wim
I think the worst thing about Stack Overflow "Documentation" is all the new badges that I couldn't be bothered to go and get.
 
user559633
6:42 PM
@MorganThrapp Haha cool. Kitty is happy and feeling safe already
 
I have all but 4 just from deleting plagiarism (and reading tour)
 
Hello! Just a general opinion question for you kind folks. I am planning on embarking on a web project which will pretty much entail making a registration based community site from the ground up. I have a little ( not much ) experience with PHP but have been more active with Python as of late. Is Python a viable route to go for web development or should that be left to the 'real web languages' ?
 
I looked at Documentation once, couldn't find the "give me easy rep" button, and backed out to the main site without touching anything.
 
user559633
@ToddLewden Python is fine for that.
 
@tristan Yeah, she adjusted crazy fast.
 
6:47 PM
cute cat Morgan
 
A fine catte
 
anyone to propose a good movie?
 
@tristan , If you don't mind elaborating... Are there any brickwalls I should be prepared to run into? Limitations or "hack-a-rounds" for things I would normally be able to do in something such as PHP or will I find that Python pretty much covers everything I need? I am not looking for finite lists or anything, I just want to know if I need to invest in a toupee or not from pulling my hair out :P
 
@MarkoMackic Apparently the cool trendy movie of the week is The Lobster
 
@MarkoMackic , What general genres do you enjoy and what movie supplying platforms do you use? :P Don't want to suggest something you don't have access to.
 
6:48 PM
@ToddLewden that can be easily done with Python, and easily done with PHP, it's up to your level of expertise :)
sf, comedy, crime, action, fantasy, documentary, ...
@Kevin great movie :P
 
@MarkoMackic , I believe you and @tristan to be accurate. Think at this point I am procrastinating... lol
 
user559633
@ToddLewden just get started.
 
@tristan , reference what I just said to Marko hahah, thank you :)
 
user559633
Ha!
 
user559633
@ToddLewden Django is a popular option for when you just want to get started with a base number of features quickly. Flask is another very popular option that leaves a bit more to you, but is easier to customize and/or replace later.
 
6:51 PM
@MarkoMackic, The Grand Budapest Hotel... That would be my suggestion for a little flick. It's a narrative comedy that has some good touching moments.
 
@MarkoMackic well...thanks for the spoiler
removes it off list
 
@idjaw imagine it never exsited
 
user559633
seriously.
 
I liked The Grand Budapest Hotel. I like the director's aesthetic where everything looks like a shoebox diorama.
 
@tristan , I think I'll hop right into Django just to get off the ground. I appreciate the suggestion!
 
user559633
6:52 PM
No worries. Good luck @ToddLewden
 
@Kevin I really like Wes Anderson movies
 
Thank ya :3
 
@MarkoMackic I was actually looking forward to watching it. :)
it's gotten surprisingly great reviews
 
user559633
Violent movie suggestions: I recommend Dredd for when you're feeling too sober/tired for a movie asking you to care about pretend people, Turbo Kid if you can deal with some quirky, and Super if you can hang in there for 30 minutes and want to see something different.
 
Don't remove it, there is so much more to it than I said
It's actually quiet of a movie
 
6:55 PM
@tristan Add The Raid to that list too
 
user559633
 
user559633
what if i told you that it was already there?
 
Well you are all enjoyable to talk with but very distracting! :P I must run along and try to get this thing running , maybe I will make a login page before the end of the week haha.. Thank you again for your time and I look forward to talking again soon. Cheers!
 
I like Dredd when I'm in a violent mood
 
I recently watched Requiem for a Dream. It was much better than I had expected, it's an easy recommend.
 
6:58 PM
just enough plot to keep story going while really just being about the action sequences
 
@QuestionC I watched that movie once, and I will never watch it again. Not because it was bad, because it was so good at depressing me that I never want it to put me in that mood again.
 
user559633
I've only seen the first half of Requiem for a Dream. I sure how things stay as light-hearted and fun for our main characters!
 
@ToddLewden even though you implement it, make sure you buy a https cert, or use openly generated by letsencrypt
 
user559633
Worry about https when it's in front of customers.
 
well that's what I meant to say, don't deploy on http
 
7:01 PM
what do you guys think the best way to organize a csv file would be? writing a python script with the parameters that need change or some other method?
 
I was really interested if there is any secure way of passing encrypted data over http but to avoid man in the middle attack.
 
There is a short animated film called The Mysterious Geographic Explorations of Jasper Morello. It's artsy and lovecrafty.
 
user559633
@MarkoMackic Shared secret, but you need to have at least one message happen out of band.
 
that's what's known to me, but that one message is a problem, maybe solvable by using third proxy server <- this is only what I read somewhere , and I don't know where for sure
 
user559633
You could HTTPS via that third proxy server. If you're talking pure HTTP, it's conceivable that someone could break it.
 
7:05 PM
well then I don't need third server if I use https
?
see you later guys, I'm on a movie
 
user559633
Assumed trust in pre-shared info when using HTTPS
 
Hello, (I haven’t asked that one). Short question : is it possible to issue direct systems calls in python2.7 without a custom C module and without ctypes and dl ?
on linux
 
user559633
and without cython?
 
@tristan When I wrotewithout a custom c moduleI’m implying without cython.
 
does it sometimes come off like saying "please" is more rude than not saying it?
 
user559633
7:12 PM
i think i have you confused with someone else.
 
please
 
I'm leaning towards "no it's not possible" but I've never even attempted what you're asking even with the things you say you don't want to use, so
@corvid In highly specific contexts, maybe
 
user559633
@user2284570 Cython isn't really custom C... Can you elaborate on what you can/can't use and why?
 
@Kevin : the complete list of what is available gae-pydoc.appspot.com
 
user559633
e.g. can you subprocess to something that makes the call for you?
 
7:14 PM
@tristan : what do you mean ?
 
user559633
@user2284570 Oh, are you looking for some obscure way to run a C lib to get out of a sandbox?
 
user559633
Oh, wait, I remember now. You were asking about this last week.
 
In case you're not aware, tristan's "subprocess" suggestion is most likely in reference to the module of the same name. You can use it to execute things as if you were on a command line.
 
@tristan : no. I’m no longer trying to that.
 
So, if you have a command-line command to issue system calls, job's done.
 
7:17 PM
@Kevin : thank you.
 
user559633
Assuming that this (gae-pydoc.appspot.com/subprocess) means they don't want you to do this.
 
@user2284570 You've won this round
 
@corvid online or in person? cause tone can exist in person that makes it (saying please) seem sarcastic or apathy or etc
 
Both, I dunno I always perceive it as being negative
 
@Morgan jesus you never heard of a vacuum cleaner?
 
7:22 PM
well, I call women ma'am if they seem over the age of 18 (southern tradition in US) but get yelled at all the time cause it is rude to call them old (northern interpretation) so I assume anything can be perceived as rude
 
@tristan : No, they only care about Remote attacking specific sandboxed app. Being the 4259782 user id won’t allow this.
@corvid : I really thought I forgot it. It wasn’t sarcastic.
 
@Ffisegydd Oh we have. That thing is just stained to hell.
 
I will note that I've seen people comment "thank you" online and assumed it to be sarcasm - i.e. Thanks for not giving me the answer and making me think - so there is also that
 
But yeah, cute cat, when are you bringing the little fluff to visit?
 
hmm...trying to build theme trees and nltk is flipping out on me
 
7:26 PM
As soon as she stops attacking my arm.
 
.....or I missed a reference with a recursive method - whoops
 
user559633
What's the cat's name?
 
I think in the particular case of "please" on its own line with no capitalization / punctuation there's a cognitive dissonance between the content, which goes the extra distance in politeness; and the structure, which falls short formatting-wise. The reader might rationalize this as dis-ingenuousness on the writer's part. Although it's not necessarily so.
 
user559633
 
A theoretically maximally polite writer would ensure the exacting correctness of his sentences, but this doesn't mean a less-than-maximally-polite writer is being insincere
 
7:32 PM
@tristan "Mao" is the chinese word for cat, but the tone/kanji that he used was, ironically, the word for "hair"
 
This concludes my five hundred word analysis of a one word message.
 
Meowington Meowsalot
 
user559633
Catty McCatFace.
 
user559633
CATerine the Prrrreat
 
Colonel Meowsworth
 
7:35 PM
Queen Butthole. Or are we doing only puns?
 
user559633
Jesus, Andras.
 
user559633
No, that's my suggestion: Andras Jesus
 
He will deliver us from bugs and technical debt
 
good lord
colonel meow is apparently this cat
 
no promises on redemption though
 
7:40 PM
Is the internal representation of a named function != the internal representation of a lambda bound to a name? I can't recall if I asked this a long time ago or not... (apologies if I did ask prior at some point)
 
can't you dis both to see what happens?
 
It appears to be identical, but I'm not sure if it is only so for short functions.
 
The dis isn't identical for me
 
user559633
>>> def x(y):
...   return y+1
...
>>> z = lambda y: y + 1
>>> type(x) is type(z)
True
>>>
 
7:43 PM
I sense a contradiction ^ :P
 
Cat pun names?
 
user559633
At what level are you asking if they're different?
 
Meowgrat Thatcher.
 
lambdas bound to names have their _name_ set to <lambda>, also.
 
user559633
Tailor Swift
 
7:45 PM
I see, so other than that attribute, they are identical at the bytecode level.
 
def one():
    print(1)

two = lambda: print(2)
import dis
dis.dis(one)
  2           0 LOAD_GLOBAL              0 (print)
              3 LOAD_CONST               1 (1)
              6 CALL_FUNCTION            1 (1 positional, 0 keyword pair)
              9 POP_TOP
             10 LOAD_CONST               0 (None)
             13 RETURN_VALUE

dis.dis(two)
  1           0 LOAD_GLOBAL              0 (print)
              3 LOAD_CONST               1 (2)
              6 CALL_FUNCTION            1 (1 positional, 0 keyword pair)
 
user559633
it was fine
 
I started reading your code sample and then it vanished..
 
user559633
map(TWSS, previous_lines)
 
lol sorry, i was moving it to a gist
but there
 
7:47 PM
Thanks, is that py2 or py3?
 
user559633
9,10,13 makes sense
 
user559633
Try it and find out!
 
;)
 
In this room, assume 3 unless said or print-statemented otherwise
3
 
@AndrasDeak My cats certainly prefer pointing theirs at us
 
7:48 PM
Got it
 
Now, uh, I actually have no idea how python's VM works so don't ask me what those mean. They do seem mostly self-explanatory though
 
@tristan bellatriz
@tristan bellatrix
Bah, mobile is dumb
 
user559633
meowssolini
 
user559633
Bonito Flakes Meowssolini
 
I'm a firm believer that cats should be given human names.
 
7:51 PM
I'm assuming that the lambda produces less bytecode because <assumption : expressions usually parse more optimally than a collection of statements>.
 
So I'm gonna go with "Bill"
 
user559633
Chill Bill
 
heh...made my kids fish sticks so they're running around going "Fish fingers and custard!"
 
user559633
Kevin, from NorthEast Regional Feline Services
 
@Morgan boy or girl cat?
 
user559633
7:53 PM
Or KNERFS for short
 
had a cat named Meowthew, sister couldn't pronounce that (she was 4 at the time) so he became Math-ew
 
@Ffisegydd Girl.
 
Not that you need my permission, but it doesn't bother me if anyone names their pet Kevin.
 
@MorganThrapp spayed yet?
 
@WayneWerner Not yet, we're getting it done on the 2nd.
 
7:55 PM
FizzyGirl says Gwynevere for a name
 
I knew a family that named their cat perro and their dog gato. They were trollin', of course
 
If anything, it will make The Annual Global Conference Of All Kevins more interesting.
 
user559633
@Ffisegydd Where's the pun?
 
user559633
Catmeat.
 
@tristan It's subtle
 
user559633
7:57 PM
Well, Fizzygrrl is much more clever than I am! :|
 
Hah. That's kind of hilarious. My English-Russian dictionary just had кошка as one of the words for cat
 
user559633
Koshka, yeah.
 
it didn't say that it meant girl cat
because I totally named by boy cat кошка
 
If I could pet some doggos in between the 1:30 Kevin Spacey meet-n-greet and the 3:00 Kevin Smith roundtable, that would really smooth over the hole in my schedule.
 
user559633
7:58 PM
@WayneWerner It's the diminutive form of 'kot'. It's fine for male or female
 
Wikihow says that's a lie wikihow.com/Say-Cat-in-Russian
 
my brothers and mine cats were named: Rock, Proto, and Willy
 
then again, it is wikihow ¯\_(ツ)_/¯
 
we were really into this one game when we where younger ;)
 
user559633
@WayneWerner no, that could be the case. i'll ask the GF when she gets home (edit: texted her)
 
8:00 PM
Re-cbg
 
user559633
I was wrong and wikihow is right: kot for male, koshka for female
 
Koshka sounds nicer anyways :P
 
user559633
I speak a mostly nonsense form of Russian sometimes at home (because I don't have time to really commit to learning), so I call one of my cats Molokoshka
 
I guess Kaloshkakov might be a bit stereotyping
 
user559633
Haha that rules.
 
user559633
8:05 PM
A-k is a cool nickname for a cat
 
:-D
We should all meet up and do dev and play games
 
user559633
Pesky geographical issues.
 
And li'l AK will jump on keyboards and the sun will shine
 
Avtomat Kaliskoshka?
 
user559633
Naming my next cat Kalashnikoshka
 
8:09 PM
+1
My new kitten's name is Maleficent :)
 
wim
requests + gevent == DOS for dummies .. github.com/kennethreitz/grequests :)
 
Oh that's nice
 
@WayneWerner I believe that's rule number 1 (and 2) of the Domestic Cat Rulebook
@tristan :D
 
@AndrasDeak It's like their butts are magnetically aligned to faces
 
user559633
i know someone, but it shouldn't be too hard to find
 
Shame they had it pulled, sounds cool
 
user559633
yeah, watched some of it last night and it looks like a super metroid. the classy move from nintendo would be to claim ownership of it, as they're obligated to protect their copyright (as to not lose it), then release it for free
 
:D
 
user559633
completely unrelated sha-256 of some zip file c9558deccded57a81ae8964b0418cff1e9cde1cd006ffc5f7f2ce22417949e08
 
8:40 PM
nice. Tristan's vacation pics are up. Thanks man.
 
Going to hear Kenneth Reitz talk tonight XD
 
@tristan yeah probably right
They could even buy it, that would be cool
 
user559633
not enough plastic peripherals for nintendo
 
I guess the marketing could clash with Metroid Pwiime (feat. Tweety Samus)
 
user559633
since we're doing games chat, what should i stream this sunday?
 
8:50 PM
Outlast
we can all collectively poop our pants together
 
oh, horror game
 
special midnight stream for extra ambiance
 
Never seen any of those (for multiple reasons:P)
 
Horror might be good
Turn it up extra loud so we see you jump :)
 
user559633
Interesting. What's an hour that everyone is free that's also nighttime for us all?
 
user559633
8:52 PM
I was thinking of doing biweekly streaming of EDT Wednesday night (e.g. 7PM EDT) and Sunday afternoon (the normal 1PM EDT)
 
I can't do this wednesday night. But probably next wed night. This Sunday I have to go to a baby shower.
a different kind of horror
I'll see what the consensus is on everyone's availability and see if I can make it work
 
user559633
I picked 1PM EDT/1700 UTC because it's not-crazy hours for western time zones, but if that's a flawed assumption, I can change that.
 
This summer has proven to be jam packed with events that I never know what my availability is ever until I have a conversation with my wife and look at my calendar for a good 5 minutes
 
user559633
Oh neat, outlast is in some humble bundles, as low as $4. I'll keep an eye on it
 
@idjaw I always skip the calendar part and ask the missus for my schedule
 
user559633
8:58 PM
lol, same. i'll just forget something i committed to anyway
 
She started getting upset at me because I kept asking her things and finding out the thing I thought was in a few days was the night of
 
since she's the only one bugging me if I mix up events, it works like a charm:D
@idjaw well you need to set some notifications a few days before...
"honey, don't forget idjaw Jr's foobar baz!"
 
I'll have to open a feature request to see if my wife will add that feature in her event-creation
otherwise that requires me to edit her events
 
you just need to find the appropriate amount of chocolate and plant genitals
 
she hates chocolate. She loves peanut butter though
 
9:00 PM
Creep.
 
butterscotch?
 
that works too
 
I make cookies with butterscotch and caramel (with whisky in the batter) which is my "get out of jail free card" when I really, really mess up with the wife
 
Well. Gotta run. My friend is hosting her own "diner en blanc" tonight. I had to purchase a white outfit, because I don't own anything white. White head to toe. Very strange.
 
Surely just white paint would be cheaper?
 
9:10 PM
I would have totally been in to just jumping in to a tub of paint and showing up to dinner
 
show up in pink and claim your color-blind?
 
@idjaw bah
that's why you don't mix with hipsters
(yes, everybody who has sufficiently weird social habits is a hipster to me)
 
<- has two pink shirts for just that reason btw
but I pull it off so kept 'um
 
:D
For the reason of showing up to white parties in them?;)
 
nah, just random parties and interviews - once got told it was so brave of me to "come out like that" at a job interview and had to look at them and go "huh?"
 
9:20 PM
warcraft is a nice movie
 
@JGreenwell wow:D
did you pause a bit, then say "awkward"?
 
nope, cause I had no idea what the schmuck was talking about
 
 
1 hour later…
10:35 PM
I feel like an idiot .... I am struggling so much to make sphinx work how i want it too (I want it to list the class members in the sidebar)
 
I know the struggle. I definitely don't think that Sphinx falls under the category of "docs for humans" lol
 
lol
its documentation is terrible ... you would think for a tool thats all about documentation it would have more readable documentation
maybe i just give up and use pydoc ... thats easy at least
 
at least your trying to document your code - currently working with a large dataset with about 1/2 page of docs (double-spaced)
doesn't even define all the column names which I swear were generated using random
 
lol
I got dinged on code review for using data=dict(zip("f1 f2 f3".split(),arr_vals)) today (rightly so it would be hard for a python beginner or even intermediate to know whats going on ...)
 
words all developers eventually hear and always dread: "well, its legacy so we never fixed it cause...."
 
10:43 PM
agile puts far too much emphasis on "get it done now" ... and almost no emphasis on "ok now that it works go back and make it right"
 
@JoranBeasley I learned "technical debt" a few hours ago
 
:P I know technical debt well ...
 
I'm working on technical debt right now :P
You forget to add: "and when it breaks - Agile is all about the band-aid and we'll get back to it - then see point 1"
 
@JGreenwell you mean building it up?:D
 
Agile recursion
see line 2 Andras :) (no I already did band-aid, trying to actually fix now cause it bugs me)
 
10:47 PM
those bandaids build up into quite the frakenstien monster
I love 250 line functions that have 65 if else branches
 
stop looking at my code Joran :P ;)
 
to be fair in c/c++ (maybe java who knows with that ugly stepchild) a 250 line function doesnt sound that unreasonable ... but my general rule of thumb is no more than 25-30 lines in a function in python ...
(and really most are less than 10 lines)
but then i end up with lines like some_data=dict(zip("field1 field2".split(),arr_vals))
 
@JoranBeasley Well, Uncle Bob prefers something like 4-5 lines per function, so there's that.
I don't know if I've seen any good function that's more than 10 lines (of code, of course)
maybe something math-y
 
first thing I do when refactoring anymore is change if chains to dicts or classes
 
laboratory is really good for major refactors
 
10:56 PM
most of the math-y ones I write are around 5 lines
oh, second thing is substitute custom math-y functions with numpy/scipy/scikit or just math
 
Yeah. I mean... I guess the one place that I would say that you should have a long function instead of a function composed of a lot of smaller function calls... is if you're dealing with performance critical code
and that function gets called a lot
 
my math usually consists apply=lambda x,coefs=default_coefs:sum(c*x for c in coefs[::-1])
 
because function calls are really expensive.
 
:rolleyes:
if its super critical deadlines python probably isnt the right choice to begin with
 
the only performance critical thing I've seen is written in C
 
10:59 PM
Which, of course, would be my first recommendation ;)
rbrb
 
which is good news to me cause I do not want to be messing with that
I just pretend it was written by the most brilliant programmer every and push down all my dark thoughts about it
 
lol ... i justdo the same and assume the person who wrote it is smarter than me and treat it as a magic black box
 
11:34 PM
 

« first day (2125 days earlier)      last day (2822 days later) »