« first day (2105 days earlier)      last day (2860 days later) » 

2:01 PM
@MartijnPieters so weird how he hacked my account to edit his message... must change my login credentials... :p
 
@davidism Can I do it?
 
@corvid go for it
 
@JonClements damn, now it happened to me?!
 
@MartijnPieters sheesh... that's at least a 7 day ban, right?
 
woo, so much time to FTL!:D
 
2:04 PM
@JonClements That feels on the lenient side to me.
 
30 days feels too harsh.... 2 weeks then?
 
So I'm getting a json-looking byte stream from this websocket. Most of the time, I can do d = json.loads(payload.decode("utf-8")) and get the data I want. But sometimes, I get UnicodeEncodeError: 'charmap' codec can't encode character '\u266b' in position 172: character maps to <undefined>.
Does this indicate I'm decoding using the wrong, what's the word, encoding? Should I use something other than utf-8?
 
Oh wait... I don't have high enough reputation. I can only comment and review
 
In particular, this message occurs when the payload contains this symbol: ♫
 
Is another encoder in json.loads an option?
that's where the error is coming from, right? You decode the utf8, which later json.loads tries to encode with charmap
> The other arguments have the same meaning as in load(), except encoding which is ignored and deprecated.
poo ^
 
2:13 PM
On second look at my stack trace, I think decode is succeeding. print(d) is failing, possibly because my shell isn't properly configured to display Unicode.
 
Wait:
> If the data being deserialized is not a valid JSON document, a JSONDecodeError will be raised.
so that's not it
@Kevin have you considered using python 3? (asking for a friend)
 
I am using it.
 
@Kevin Yeah sounds like a cmd error.
Try writing to file instead.
I had a similar one a while ago IIRC.
 
I thought one of the points of py3 was to get rid of all the unicode sweat
 
2:15 PM
@AndrasDeak Yes but Windows cmd shells still need to show the unicode :P
 
I'm pretty sure there's a magic command to make cmd display the right characters.
Oh good, Past Kevin did the needful.
Jun 30 '15 at 13:54, by Kevin
Ok, so to use Unicode I merely need to 1) use the magic chcp 65001 command 2) switch to this ugly font 3) only use Python 3 because forget this noise in 2, 4) switch the encoding in Notepad++ if I want to actually have unicode chars in my source 5) use the magic # -*- coding: utf-8 -*- line. So easy.
Oh nice, in Windows 10 I don't need to use the ugly font. Just chcp suffices.
Ok, problem resolved. Back to actual interesting work.
 
now @Kevin refers to previous @Kevin often... do you find that you two get along okay? :p
 
We have our highs and lows.
 
I'm quite surprised I like: youtube.com/watch?v=zAnSr5N3c8E
 
@tristan is this close?:D
oh no wait, it's not like that; they're integrating SO docs
 
user559633
2:20 PM
@AndrasDeak yeah, i figured that was the motivation. "partnered with" means Company X pays StackOverflow, StackOverflow makes a poorly received meta post, then they get free labour
 
user559633
oh cool, i'm getting a ban? i'm going to play the shit out of some DOOM on stream
 
hacking not one, but two mod accounts...that's a felony
 
user559633
todo: open cat training company named feline-y
 
or a dating site for cats, felonely
 
user559633
2:23 PM
oh that's way better than mine. it's mine now. i'm taking it.
 
Dating site for prisoner cats, Andras? FeLonEly?
 
user559633
a dating site for stupid people: okstupid
 
:D
or for programmers: datetime
 
user559633
todo: buy match.com and make it a dating site for arsonists
 
user559633
or for programmers that gave up on dating and just want to go throw some singles at single moms: strptime
 
2:25 PM
Would some people mind hanging out on the Flask docs and approving/rejecting changes? Unfortunately, 2 approves are required and there's only 2 active editors.
 
You do not want us doing this.
 
user559633
i can starting monday
 
Everything will be approved.
 
user559633
also, lol
 
user559633
flask: a lightweight django clone
 
2:26 PM
with less blind kindness
 
Flask: what your dad used to take swigs from between ignoring your mother.
 
user559633
what's a dad
 
to do: make a library called PyDaddy for Tristan.
from pydaddy import love
love(tristan).squeeze()
 
Fun fact: in my original joke I used a different word than "ignoring"
 
You guys are jerks. I have coffee on the floor now
and on my pants...
dammit...
 
2:30 PM
sure, 'coffee'.
 
user559633
Yeah, I mean, me too, but I also referred to your mother
 
Ooh, unrecognized event type alert! I guess "6" means "a thing got starred"
5
Yep, it's replicable.
 
We should test other events for Kevin's websocket code.
Who wants to be kicked for science?
 
user559633
<- this guy
 
me!
 
2:32 PM
And unstarring is also 6...
 
Damn too slow.
 
user559633
ban everyone, repeatedly
 
Okay, going to kick tristan for science, this is in no way the start of a coup.
Listening @Kevin?
 
Pinning is also 6. What an overstuffed event type.
 
user559633
are you putting this code on github?
 
2:34 PM
Apparently that movie "Divergent" is going to release it's last movie straight to TV, guess people are finally sick of shitty teenager dystopian future movies
 
Once I remove all the personally identifying info from it, yeah. right now it's riddled with passwords and cookies and fkeys.
 
@Ffisegydd me!
 
can anyone help me deploying my django app
 
<musn't link to Flask room>
 
Did the kick event fire?
 
isn't there a power rangers movie coming out
 
@Ffisegydd :-|
 
Ok, I've got unrecognized event types 8, 4, 16, and 3 in the last five minutes.
Presumably one of those is kick and one of those is ping.
 
If the literally infinite documentation about how to deploy Django/Python/WSGI apps hasn't helped you, it's too late.
 
2:36 PM
cause right now the cool thing is to reboot every show, comic, and movie possible
 
user559633
i heard the ghostbusters "reboot" is going to just bleed money
 
@Kevin testing ping
 
@Kevin unless you're trying to do this "clean room" style, ChatExchange enumerates most if not all of the events
 
One event might have been a join.
 
@davidism Yeah I'll probably check that out. I'm just playing around for now.
 
2:39 PM
and one event might have been @idjaw pi...coffeeing his pants
 
i spy another great name for a library
pip install pi-coffee-pants
 
Awww man pype has been taken D:
 
@tristan well - they shouldn't have crossed the streams then should they... :p
 
PyWee is free though.
 
Ok, I cheated and got the event codes from ChatExchange. Anyone know what's the difference between #8 "user mentioned" and #16 "user notification"?
 
2:43 PM
What's it called again when you're sorting a list, but two items happen to have the same value, so you have to come up with a second sorting criteria for those special cases? There's a word for it but I can't remember it for the life of me
 
I think the only time I got 16 so far is when fizzy kicked tristan. Maybe a notification is when the box comes down from the top of the screen to tell you a thing.
 
tie break
goddamn
 
I could kick someone else?
 
@AndrasDeak I will openly admit when I have <redacted> myself, sir!
 
@GeckStar Are you thinking of "stable" sorts? IIRC A stable sort guarantees that the order of equal items in the unsorted list will be preserved in the sorted list.
@Ffisegydd I'm good for now, thanks :-)
 
2:46 PM
@Kevin Errr... I also posted a list of the event codes I got from balpha a while back :)
 
;___;
 
@Ffisegydd Do you think you can kick me? Come on! Try and kick me! runs around the room matrix ninja puppy style
 
There is no room.
 
@Kevin I was actually just looking for the statement "tie breaking" so I could google it if there's a keyword or something to use it in Python. Stable sort unfortunately wouldn't help in this case, but thanks for the hint
 
bends SO chat with his mind
 
2:48 PM
I just kicked you from my conscience, thus you do not exist for me anymore.
 
more like
 
Nah - that's my evil twin you got there :)
 
@GeckStar Well, doing multiple passes with a stable sort is one way of handling that situation, and Python's built-in sort function, TimSort, is stable. However, doing multiple passes is slower and less elegant than just using an appropriate key function.
 
Yeah, that’s @thefourtheye
 
2:55 PM
tie breaking is pretty easy in Python if you do something like seq.sort(key=lambda item: (item, f(item)))
Where f returns a number proportional to how you want "item" to compare to objects that compare equal to it
 
@PM2Ring Not sure if that would solve my problem. I have a list of triples of point IDs and want to sort them by their x values. (I have a dict mapping the point IDs to position tuples.) If the x values tie, I want to break the tie by sorting those points by their IDs. Since the triples I get aren't sorted in any way, I don't see how sorting it multiple times with a stable sort would solve it.
 
Try myTriples.sort(key=lambda triple: (triple.x_value, triple.id))
Or whatever the actual attribute names are.
Or, no, I've misread the problem. a list of triples of ids...
 
And doing a two-pass sort, first sorting on triple.id followed by sorting on triple.x_value would yield the same result. But of course, doing that's silly when you can just do it in one pass.
 
@Kevin
oops
@Kevin It's no problem, I got your idea, and I think that would work! Thx
 
@Kevin Oh, ok. I wasn't quite clear on what GeckStar's data looks like, I was just assuming you'd sussed it out. :)
 
3:02 PM
The basic idea is still there, even if I didn't get the structure of the data right
 
Exactly
 
@GeckStar you can edit/delete posts for 2 minutes
 
darn, one minute late :D
 
I guess the only time it'd make sense to do multi-pass sorting in Python is when you have a bunch of non-numeric fields than can't easily be mapped to numbers and you want some of them to sort ascending and some to sort descending. But how often does that happen? :)
 
Yay, now it all works perfectly. Thanks guys. So just for me to get it right: By using seq.sort(key=lambda x: (condition1(x), condition2(x), condition3(x)...) ) the sorting algorithm will first try to sort by condition1, if it ties, it tries condition2 and so on?
 
3:08 PM
Yes
 
amazing
 
It's just the standard way that Python sorts tiuples
In Python 2, you can even compare objects of different types, but the result is generally not what you want, and Python 3 has removed that "feature".
In Python 2, when you compare objects of different types the name strings of the types get compared. So integers are smaller than strings because 'int' < 'str'. :)
 
Oh, ok. That sounds kinda messy.
 
That craziness doesn't happen when comparing int to floats, since the int just gets coerced to float, similar to what happens when you perform arithmetic on a mixture of floats and ints.
 
I see its usefulness. Too bad it got removed. I'd just have slapped a warning on there when string and non-string objects were to be sorted.
 
3:16 PM
@GeckStar The only benefit is that you can always safely sort a list of mixed types without the program crashing. But since the results are stupid anyway, that's of dubious value.
One minor casualty of this change is that in Python 3 the json module encoder (as used in json.dumps and json.dump) will crash if you specify sort_keys=True on a dict that has mixed string and numeric keys. It used to work on Python 2, but of course you get all the numeric keys before you get the string keys, for the reason I mentioned earlier.
brb
 
good to know
 
3:36 PM
bye all
 
in Documentation Public Beta, 1 min ago, by davidism
Please ask in the main python room, where the sopython community actually is. Otherwise we just have to pay attention to more stuff.
 
Derp. Email from Stack Overflow: "We haven’t heard from you in a while, so we changed your status from actively looking to open, but not actively looking. You’ll now receive fewer matches." Right. Even though i've applied for 4 jobs through the site in the last week?
 
ugh, I’m getting spammed with docs requests.
 
slowclap
 
@Withnail There was a post on meta about that
 
3:44 PM
Cool
just found it ta
I had a quick look at first, couldn't see it
 
@Withnail url?
 
49
Q: "We haven't heard from you in a while so we…" actions should require user prompts

cwallenpooleJust saw, out of the corner of my eye and not in my email inbox or in the notification box at the top of the screen, a message on the job board "We haven't heard from you in a while so we updated your status to X". We will disregard the fact that I do go on the board regularly, at least monthly (...

 
Ta :)
 
Hi guys, I'm interested in contributing to the python documentation here on SO but I have a few questions. Is this the right place to ask (specifically about the python documentation)?
 
Go ahead
 
3:47 PM
I couldn't seem to find anywhere on the documentation beta about essentially PEP-8 for the documentation formatting. Is there anywhere that the community can decide on what the proper formatting for examples should be, for example?
For instance, how should one differentiate between input code and console output?
Is it up to the individual who write the documentation?
And up to anyone else to edit in their preference?
 
Why does PEP-8 need SO Docs?
never mind, you're talking about style of other docs
 
I'm talking about the formatting of new python documentation in the Documentation Beta here on SO
 
Speaking as a library maintainer, edits that just pep8 things are really annoying.
Unless the code is egregiously bad, don't bother.
Console input output should look like console input output, not sure what the question is there.
 
I would say it’s up to the author to format it, but you should choose some style that won’t deliberately cause formatting discussion
 
That's essentially why I'm asking if there should be a page detailing suggested formatting for content writers in the Documentation beta, so that there aren't so many needless formatting edits.
 
3:51 PM
So using PEP8 might be a good idea, but you don’t have to take it too seriously.
 
Or use comments after lines to indicate output, if you want it to be copy-pasteable.
 
For example, I've already seen sever instances of
>>> input
output

input
>> output

input
# output
 
Third one.
 
*several
 
Definitely not second one.
 
3:52 PM
Former style when you’re showing an interactive REPL session; latter one if you have a script and you just want to show intermediary output
 
First one if it really makes sense as a shell session.
1
Q: Documentation should use industry-standard solutions for collaboration

Bartek BanachewiczThe documentation project was introduced to us as a way to revolutionize documentation. While the details of how that would work are still rather muddy, I'd like to express my concerns about the underlying mechanics of the platform. First of all, the programming community has been trying to solv...

this is a good suggestion
 
@davidism That's my preference as well for the documentation, but it currently seems like a free-for-all
 
@wflynny unfortunately, docs are a trainwreck right now.
wait until the dust settles then start cleaning up
 
Ok, I just figured there should be pro-active effort to stymie some of the mess by codifying some standard style guidelines
 
(Unrelated - this guy's drawings for this answer are awesome. worldbuilding.stackexchange.com/questions/47834/… )
 
3:55 PM
If you want to invest that time, then sure go ahead. I think it’s a good idea to try to set up some standard.
 
Monkeys on typewriters will eventually write the Python docs, but they still need a proofread afterwards.
 
Personally, I don’t really have the time nor the motivation to work on docs at the moment. It appears to be a huge mess.
 
What is the best place to actually put style guidelines? A new topic under the python documentation?
 
PEP
 
Is PEP really the place since it exists outside of SO?
 
4:00 PM
In my mind, SO documentation is a horrible place to do it (at least atm)
 
The real problem here is that user has never contributed to the C tag, and yet is writing documentation for the C language. That's a really bad combination, he didn't even get the "hello, world" example correct. — user3386109 2 mins ago
Copy/paste users getting 1300 reputation in a day…
 
plus most of the documentation I've seen is just copied from docs or posts at the moment anyway - which seems redundant and I don't think this was what it was meant for
 
@JGreenwell But wflynny's question is "Where on SO Documentation should a Python style guide for SO Documentation contributors go?"
 
That's precisely my question, thank you.
 
The purpose of SO Docs is not to replace official docs. If a topic is already well addressed in a canonical location, don't just copy it.
If you want to mention that we have a style guide, maybe the remarks section of the introduction page?
 
4:05 PM
yeah, and as the current answer would be follow PEP8 it should just be a remark or something - not new documentation
thanks, davidism that's what I was trying to get at
 
@JGreenwell Sure! Replicating PEP-008 on SO Docs would be madness. Just a link, and maybe a very brief summary should do.
 
Especially since PEP8 is in response to writing python code, not writing/explaining python code examples. So while I think PEP8 covers how the example code should be styled, it doesn't cover everything else. And if the Documentation section of SO is for people to learn, I'd think consistent styling would be helpful.
I don't mean to say that we should edit everything to adhere to a particular style
just give a heads up to authors what the preferred style is before they commit something
 
@wflynny Makes sense to me.
 
Am I alone with that I don’t think documentation should be a place to learn?
 
nope
 
4:11 PM
@poke, then what is it?
 
I don’t know, but treating it as the ultimate place to learn how to do things just seems like a terrible idea
 
might be reference page eventually but to learn? I don't see it
 
iirc, the question what purpose docs should have came up a lot but there never was a clear answer
 
I think maybe there isn't an objective definition of "learn" then
 
A collection of examples is no substitute for a properly structured tutorial, no matter how brilliant the examples are.
 
4:14 PM
Anyway, I’m heading home.. rhubarb
 

(topic draft)

edited on jul 21 '16 at 14:44 by Documentation 191
edited 1 example, 1 addition
how do I reject a draft
 
@AnttiHaapala I can’t click on that
madness
I like that user’s objective:
> I wonder how much reputation I can get from documentation typo fixes.
 
From the Documentation Tour, first section:

> When we reviewed traditional documentation, two things were clear:
> It didn't prioritize good examples
> People learn best when they can see things demonstrated in actual code.
> We can do better. You can help.
 
As I said last year:
Nov 30 '15 at 15:22, by PM 2Ring
Tutorials need a structured and orderly presentation. Especially when you're just starting out, linear order is important to create a solid foundation and build on it. That's not practical to do on SO.
Nov 30 '15 at 15:23, by PM 2Ring
And until you have that solid foundation little self-contained snippets only have limited value because you don't know how to build such snippets into a structured picture of the language elements and how to use them. So people who try to learn by accumulating snippets tend to develop into cargo-culters.
 
someone tries to edit python 2 division and say that python 2 has truncated integer division, which is dead wrong
well, not dead wrong, only 50 % right
 
4:18 PM
Docs shouldn’t be a new thing with new content. It should have been a collection of existing canonical answers.
anyway, out for real now.
 
Good examples can certainly help when learning stuff, but only as a supplement to a proper tutorial.
 
So would someone link the doc addressing an issue or the dupe question now?
 
I'd agree with that PM, examples are mostly useful at the "Oh, ok, I see what you mean. How do I do my version of that?" point.
 
On some level though, that's learning.
There's different degrees of mastery, and examples help certain mastery levels more than others
I don't think Documentation is trying to be the end-all-be-all, one-stop-shop to learn a language/topic/idea
And I don't think anyone is arguing for it to be that
 
And examples can help prevent misinterpretation of docs that just give abstract descriptions of what some function does.
@wflynny OTOH, there's an army of cargo-culters out there who'll use it and think they've learned stuff...
 
4:26 PM
Though companies hiring those cargo-culters has help me get hired at my contracting rates to fix their code....guess I shouldn't complain too much ;)
 
@PM2Ring True, whether or not everybody truly learns from some resource isn't really the point. I'm just arguing against the idea that the Documentation section doesn't have a place in the wold
and also arguing for a place to put Documentation Styling guidelines somewhere in there. But it looks like this topic is popping up on meta in various incarnations
 
I think the biggest argument right now (mine at least) is less that Documentation should not exist. More that it does not have a defined scope (or plan for solving the problem of inadequate documentation) so it feels very half-boiled and not ready for the public
If I saw a more concrete plan for how this is suppose to solve that and if issues such as style guides were handled in the private beta - I would certainly be more into using it. After Teams and now this, I'm just tired of it
 
Just took a quick look aound. First thoughts: it's doomed to abject failure. SE has succeeded because of the culture created by expert early adopters; this will be overwhelmed by non-experts hunting unicorn points from the outset.
 
@JGreenwell Yeah, you're right, that's the prevailing argument right now (not just you).
 
Really, it shouldn't be an issue. Those who regularly answer Python questions on SO tend to stick to PEP-8 anyway. The main deviation is in regards to maximum line length. I tend to stick with 79... except when I don't. :) I don't mind longer lines, eg upto 120, but even those look messy on low res screens.
@ZeroPiraeus That wouldn't be so bad if they only won rep on SO Docs; I could just ignore the whole thing. But I'm not pleased with the Docs rep adding to the general SO rep.
 
4:38 PM
@PM2Ring possibly the designers and marketing people who came up with SO docs are in the sort of trade whereby cargo culting is learning
 
Yeah, the potential for this to poison rep as an indicator on Q&A is high. Hadn't even thought of that :-(
 
DSM
Morning Noontime cabbage.
 
good day DSM
 
DSM
Is there an Official Position on where to put tests of a package? In subdirectories? In a separate tests/ directory mirroring the original? Reading this question makes it seem like there's no consensus.
 
@DSM outside the package, you do not want to install the tests
there is no consensus; things like pyramid put it inside the package in the scaffolds, but
recent tools (py.test and so on) work just nice if they're outside
 
4:46 PM
I usually make a tests folder with an init.py ... but anecdotes do not make standards
 
that is you do not want the standard way.
 
@poke Awww... That looks like me when I was 1 (dog) year old :D
 
you want the best practice
 
lol i basically ignore that line length marker in my ide ;P @PM2Ring ... for that matter i probably ignore too much of pep8
 
it is easier to read <70 characters on a line
just open a newspaper, or a book...
 
4:50 PM
@AnttiHaapala I know what you mean, but "d.keys(), d.values() and d.items() of Python 2 should be changed to list(d.keys()), list(d.values()) and list(d.items())" could be a little misleading.
 
room topic changed to Python: The *productive programming cabbage. Room rules: sopython.com/chatroom [documentation] [python] [python-2.x] [python-3.x]*
doing a little experiment
 
DSM
Depends. If you use descriptive (i.e. long) variable names, and you're working in a method, 79 can easily be waaaay too short.
 
there was an art called typesetting that now has been forgotten
 
this_variable_holds_the_square_root = sqrt(25)
lol
 
OK, now Python shows up when searching rooms for "doc".
 
4:51 PM
exactly, read Linus on descriptive variable names
 
DSM
math.sqrt(25), you mean. No *-imports here!
 
@PM2Ring mm :D
so what should I write
 
But not "python doc" :-(
 
Is there an easy/obvious way to exclude a column/columns from using something like 'mean' in pandas? Dropping the column and then adding it back in seems unnecessarily faffy.
 
ah screw, someone else also added a dictionary method article there :D
 
4:53 PM
Invents time travel purely to kill the inventors of Kerberos. Preventing a machine-human war as well? Meh.
 
@AnttiHaapala Maybe: "d.keys() [etc] of Python 2 should be changed to list(d.keys()) [etc] if you need an actual list"
 
stackoverflow.com/q/38505160 obvious error is obvious
 
Somehow, the worst thing is that the first commenter put the OP's name in code format
 
DSM
@Withnail: something like
In [10]: df
Out[10]:
   0  1  2
0  0  1  2
1  3  4  5
2  6  7  8

In [11]: df[df.columns.drop(1)].mean(axis=1)
Out[11]:
0    1.0
1    4.0
2    7.0
dtype: float64
 
someone was there approving incorrect edits already
@PM2Ring incorrect, yes but it is rather hard to know when to do that.
 
4:58 PM
@AnttiHaapala I think rejections only take one vote.
 
so better to be conservative.
 
Approvals take two.
 
ah so it does
 
Yeah, that's what I'm saying, I need the column I'm ignoring, and it seems a long way round to drop it, take the mean (or whatever) and then add back the ones I want. I think given I'm appending it to a larger df anyway, I was going to try df['Thing', 'Thing2'] type approach
 
DSM
If you're only doing it once I don't think it matters much, and if you're doing it at multiple places in your code then I'd use a function. :-) I don't know any other shortcut, which doesn't mean there isn't one, of course.
 
5:03 PM
Yeah, I want to get the progressive means of a bunch of things to compare against the output result for a scikit training set
So, do it and then add the other columns back in in a function, you reckon?
 
@tristan when's the next stream planned?
 
Yeah I'm basically reading lots about FTL at the moment
 
DSM
I wouldn't mutate your dataframe if you can avoid it, just index into it like I did.
 
@PM2Ring I met a bug wherein someone thought that "this doesn't need list(keys)", but the backing dictionary was actually being modified in the function calls.
 
I'm over being precious about my games and being devastated when it all goes wrong suddenly; now I want to learn through dying lots
 
5:05 PM
@PM2Ring additionally, if Python 2 uses .keys(), .items(), .values(), then python 3 isn't going to take much of a performance hit over Python 2 :D
 
@AnttiHaapala Good points. And if a Py 2 program is iterating using .keys() it's probably got other sub-optimal stuff.
 
yeah
better not optimize it if you do not understand :D
 
@DSM How'd you mean?
 
and if you do, then you can remove the list() and ignore my advice
 
5:08 PM
@AnttiHaapala I can't disagree with that philosophy. :)
 
DSM
@Withnail: I mean don't actually be adding and removing columns from the dataframe. I thought that's what you were referring to by "Dropping the column and then adding it back in" and "add the other columns back".
 
Oh - I'm starting with one dataframe, and using to build a slightly modified one, I guess - rather than mutating the original. So I take the mean between two dates for the observations, for each time bucket - it's the effect of the average on the output I want to train scikit on - I couldn't see (newbie to pandas :) ) another way to do that .
I'm slicing the dataframe by date, grabbing the means for the observations, and then appending it to an output frame that I'll use later - repeat for all time buckets.
 
@thefourtheye You were so cute back then <3 :D
 
DSM
@Withnail: okay, that sounds like it makes sense.
 
Phew.
I wonder if the Germans have a good word for the fear when huge rep people ask pointed questions about your code/approach? :D
 
schlampigecodevorprofessionellenangst
 
@Withnail Fragenangst :D
 
DSM
Always take everything with a grain of salt unless you're actually showing code. It's hard to judge problems from descriptions anyway. :-)
 
Heh. Thanks though - just the general reassurance that it's not a massive anti-pattern or I'm missing something super obvious is helpful.
 
5:34 PM
@poke Does that mean, I am not anymore? :-X Don't side with my evil twin @JonClements
 
A different kind of cute!
 
Awww...
 
0
Q: Documentation treats edits as linear, like Q&A, but they are not

davidismDocumentation assumes the same edit model as Q&A, where only one edit can occur at a time, and other editors must wait until an edit is complete to perform another one. However, the actual model in Documentation is parallel edits from the same base. If multiple edits are queued and one is appro...

I have no idea how they didn't notice this.
 
These notifications for topic requests is flooding my message queue. It's going to be easy to miss times where I get pinged
 
You can change the frequency of requests and edits.
Go to the tag's dashboard, there's an eye icon next to different sections.
 
5:43 PM
how come they didn't see these in the private beta :D
 
@idjaw I disabled them now…
@davidism Single developer/tester? :P
 
Yeah...forgot that I had enabled them at one point. thanks
 
According to the docs chat room, most of the dev staff has been working on this, so I doubt that.
 
how about we move the canonical questions/answers to the docs :D
 
But seriously, how do you not notice that you've built a completely different edit system?
 
5:50 PM
 
Hey Python room! Do any of you work on python code using emacs ? What do you use to debug your code? If you use realgud, how do you use it with your tests?
 
So, two major flaws so far. Edits are broken, and voting skews the intended flow of the examples you list
 
ah these crap edits...
they too get rep?!
 
yes, rep is super broken
 
According to the docs room, they're going to rething rep, and when they do there will be a recalc.
 
@davidism merging is hard
 
it should've rejected as a minor edit.
 
so i found the unit testing page, and all of the examples are py.test
 
I've written 2 examples with hundreds of words, got as much rep for both of them as this guy got for that
 
does no one use other testing frameworks anymore?
 
5:54 PM
other testing frameworks are pretty much dead
 
even builtin unittest?
 
py.test is drop-in replacement for almost all
you can use it with py.test
 
Yeah, py.test is really good.
 
i mean i love using py.test but some of their documentation is a bit of a head scratcher
 
I was using nose and nose2 and both of them had problems,
 
5:56 PM
@MattGiltaji SO Docs it is then!
 
I switched to py.test and no problems ever since
 
@AndrasDeak :D
 
guys. Construction workers are always yelling loudly. What do?
 
nosetests and nose2 docs weren't up-to-date at all, and there were bugs that they didn't fix in many years
 
@MattGiltaji unless you have some really good reason not to, use py.test
 
5:57 PM
how could I start running py.test with the pdb command?
 
0
Q: Documentation should actively reject pledge to "versioned" tags

BraiamSomeone is trying to create the java-8 topics, which would essentially duplicate the efforts of the java proper ones. I think documentations should actively reject such attempts with a helpful message like: You are trying to create topic-version, but topic already exist. You may want to join ...

hmhmhm
yeah that is actually bad...
we do not want docs for python 3, we want all python docs be python 3
 
oh great, now there's a python3 tag?
how do we delete it?
 

« first day (2105 days earlier)      last day (2860 days later) »