« first day (2106 days earlier)      last day (2845 days later) » 

12:03 AM
If it is the three dimensional axes one, that looks interesting
 
that one
I think the only thing I can contribute to docs, after having given it a bit of thought
I mostly wrote it for the rendering bug/caveat, which isn't in the official docs, but is often encountered when trying to plot things
 
well, I'm currently using this excellent answer of yours as I try and deal with some Rdf stuff for a SVM experiment I'm working on
 
Oh, very glad to hear that:)
thanks
 
trying out scipy.interpolate.Rbf over griddata
 
there are also some extremely valuable insights in the comments, which I haven't incorporated into the answer yet
one of the scipy devs commented too, pretty amazing
 
12:11 AM
yeah, I'm using the whole answer; its very helpful (sometimes reminds me how much I still have to learn but that's part of the fun)
 
Well half the stuff in there I found out only for the answer:D But it is indeed fun
I'm really glad you find it helpful:)
 
well, if your one of us crazy people who get all excited about research result its fun
Told my wife I'm was taking today off just to have some fun and now she is just shaking her head going "I thought today you were taking a break from research"
 
:D
my most positive coding experience from the past two weeks was when I had to improve a post-processing script of mine with a new feature, and realized I could massively (ab)use numpy.einsum for it
it made my day:D
Jijkk = np.einsum('ba,dbc,ca->ad',kxkykzmat,Jhyp,kxkykzmat)
 
yeah, learning about einsum for dot products/summation was a cool day in my numpy education :)
also, it lets me impress people who are not CS or math -> cause I use something with Einstein in the name ;)
 
12:28 AM
heh:)
 
Jijkk....Hopfield? I know I remember that variable from higher order neural nets
but that's about the limit of my knowledge level at this time
 
nah, just a Fourier-transform-ish quantity derived from a spin model (with interaction parameters Jij)
 
neat
 
I don't know a thing about machine learning, let alone neural networks
 
I'd like to get back into ANN and deep learning research but currently my research has leaned more in the regression, decision trees, and random forests
eh, can only do what the data fits
of course, I only know enough physics to get me in trouble :)
 
12:49 AM
all those data gardening sounds like fun
 
@JGreenwell what are "decision trees" in this context?
(If you have a sec :))
 
"She loves me, she loves me not. She loves me..."
 
I really hate encodings, why aren't they using utf8 for all..
 
1:15 AM
@RobertGrant I mostly use linear SVM and Multinomial Naive bayes but do use some decision trees to check impurity
Though even then it is mostly random forest for Gini
 
Uh oh I have no idea what that is, but at least now i can google it :) thanks
 
and some regressive decision trees
my research is mostly text classification (SVM and Naive) and dealing with quantitative time series data (standard mathematical operations, kNN, and bunch of regression)
 
My robotic minion Terry won't enter any chat rooms* no matter how many GETs I send to http://chat.stackoverflow.com/rooms/<number> on his behalf.
(*not counting the sandbox, which I joined manually while logged in as him in Firefox eight hours ago. But I ain't got time to park him places. I need a strong independent bot.)
 
Does Terry's last name start with P?
 
1:28 AM
I looked at ChatExchange a while back, and curiously their "join room" method merely posts to http://chat.stackoverflow.com/chats/<number>/events which seemingly does nothing other than fetch the last hundred messages for that room. at least, that's what it does when I try it.
 
well Smokey definitely joins rooms, one way or another
 
so why are you GETting and not POSTing?
oh nevermind you were talking about a different URL
 
@JGreenwell Robots earn last names through good deeds. Once Terry automates a hundred hours' worth of grunt administrative work for us, he can choose for himself.
Although actually his original namesake is Terry Kiser, for elaborate reasons.
 
@Kevin I made a room for Terry and me
Can you see what I'm writing?
 
1:37 AM
I can see that Terry got an invitation websocket message in Sandbox, but that's all
 
Ah okay
Good, then he and I have some privacy
 
Conspiring, eh? I better crank up willingness_to_betray_creator from -999 to -999999
 
wouldn't that be cranking it down
 
That's one way of looking at it.
 
Perhaps "stamping it out"
That's what Terry says, anyway
Well, now he just says that Kevin is Lord Of All Stars and He Who Is To Be Obeyed, but that's new
 
1:42 AM
@Kevin are you using that fkey thingy or whatnot?
 
I better make a willingness_to_circumvent_willingness_to_betray_creator_parameter as well
@AndrasDeak Yeah, I'm passing along the fkey and cookies that I get from logging in.
 
cool, cool
 
I'm pretty sure they're valid because I can use those same credentials to send messages in the Sandbox
 
then I resign from my rubber duck position
rhubarb:)
 
I guess up and down depend on one's relative position in space....or if one is floating in space.....wonder how that would work with cyberspace
 
1:55 AM
cbg
 
Really can't say I expected that to work
Apparently POSTing to https://chat.stackoverflow.com/chats/{}/messages/new works regardless of whether you're actually in the room or not...?
 
yeah apparently
 
@Kevin I guess there's no actual concept of joining a room
It's just that the room keeps track of who's downloaded messages from it recently
(Perhaps)
 
If that's all it took, I'd expect Terry's avatar to have appeared in the list on the sidebar an hour ago
As far as I can tell it only showed up once he said hello
I've seen plenty of humans enter the room and say nothing but still their presence is noted, so I'm confused at the inconsistency here
 
Perhaps SO is freaked out by his Frank the Rabbit avatar
 
2:05 AM
:-P
What happens if I...
Despite being kicked, his picture's still there.
 
recbg
 
It is a freaky picture
 
@Kevin it's gone for the rest of us
 
Nope, still here for me.
 
Ah dude :)
 
2:17 AM
Oh, I'm sorry, didn't realise.
 
Only kidding, I'm pretty sure he didn't actually think Frank was haunting him :)
 
hey is there a way to do a search in python that finds some three letter code and then three numbers
 
Yes, use regex
 
like lets say i had a text document and i am looking for all things that say AAA###. i know the AAA sequence, but I don't know the numbers
 
2:33 AM
thanks. is there a code for only capital letters
 
seems to have a lot of "gimme code" questions
 
nvm just found it thanks for all the help @RobertGrant and @ZeroPiraeus
 
Sure
 
and people keep answering them...*sigh*
...how does this question have 7 upvotes? It is just give me code
@tristan okay, I've been going through nlp and nltk tags - and now I get what you mean by most people are just processing text with regex and word counts (and calling it NLP)...its bad
 
2:59 AM
Hey guys, I'm on Windows and installing Python 3.6, is there a good reason not to add it to PATH/set env. vars? I notice the checkbox is not ticked by default
 
user559633
@JGreenwell yep. i've seen a lot of regular my_string.split(" ") + regex
 
user559633
i mean, nltk uses a lot of regex, but it's not as naive
 
isn't 3.6 the development version?
 
@JGreenwell Make it 3.5
 
except the ones that use regex with recursion and Naive Bayes ;)
okay, if it was 3.6 I would assume that as a development version it would not default to add to path (so as not to overwrite existing/stable versions)
 
3:04 AM
Seems like it's always disabled by default
 
I would assume stable versions are disabled due to virtual environments so there should be no problem if your not using one of those
yeah, according to the 3.3 docs it has been disabled for a while but all it does (when enabled) is add it automatically (instead of you having to manually install it)
sorry, wrong link should be this
 
ok this is driving me insane. I have a random string I made:
classes = "fdafasfas CHI110 dadfsafs CHI120 kj"
and I search this string with the linesearchObj = re.search(r'CHI[0-9]{3}\b', classes, re.M|re.I)

if searchObj:
the string is fdafasfas CHI110 dadfsafs CHI120 kj
and i set up an object for search with linesearchObj = re.search(r'CHI[0-9]{3}\b', classes, re.M|re.I)
but for some reason searchObj.group(0) only returns CHI110 instead of the expected output of CHI110 CHI120 when I try searchObj.group(1) I am informed that this group doesn't exist. Am I making an obvious mistake or what?
 
3:25 AM
Is anyone here good with arch linux?
 
user559633
@qaispak i this a python question?
 
@xxmbabanexx change re.search() to re.findall()
 
@tristan No. It's an arch linux question.
 
user559633
@qaispak Then it's not an appropriate question for the room. Try another room, serverfault, or IRC
 
@JGreenwell thanks man :)
 
3:26 AM
Okay, sorry. Some people here are interested in it which is why I asked but no worries.
 
user559633
Best of luck, I typically like IRC for linux discussions
 
I usually go to Unix and Linux.SE for those questions :)
 
3:43 AM
hey, another question. I want to be able to get all continuous capital letters between the triple letter/triple #. For instance, if I had a string like, "CHI110:THIS COURSE IS ABOUT CHINESE blah blah blah" I would want it to return "THIS COURSE IS ABOUT CHINESE" how would I go about doing that
 
3:53 AM
was there a meta on rejecting vs. adding comments on proposed documentation?
 
ok so i've figured out that i can use re.findall(r'[A-Z]{3}[0-9]{3}:+([A-Z]*)',classes, re.X) on that string, but for some reason it only returns the string "THIS" instead of the desired "THIS COURSE IS ABOUT CHINESE" how can I get it to do the capital letters search while ignoring whitespace?
 
4:35 AM
cbg'
 
4:50 AM
@xxmbabanexx if you only want a single match or want grouping use match or search (findall for a list of matches): such as linesearchObj = re.search(r'[A-Z]{3}[0-9]{3}:+([A-Z].*?)\s[a-z].*',classes)
 
5:19 AM
Hello guys, I am running a bot on bitfinex.com and creating ticker's Database(file_name.db) I am using sqlalchemy API and sqlite Database engine. now I want to import that file that is going to update at every second(file_name.db) in another program/another file but not able to find any DB-File-import/connect function in SQLAlchemy, Is there any other way I can work around?
 
5:56 AM
163
score
26
26 examples
50 contributors
more fixes
this documentation sucks
everything is written wrong...
ppl write "range returns an iterator in python 3"
if you go to the python documentation,
"Rather than being a function, range is actually an immutable sequence type, as documented in Ranges and Sequence Types — list, tuple, range."
 
6:27 AM
Request for Off-Site Resource Sublime text Python debugging - Havsula - 2016-07-22 06:22:32Z
 
cabbage
@arshpreet what file is that? database dump?
if it's a text file in some format you gotta have an intermediate python code that reads and updates the database
 
@khajvah it's complete Database, I am able to sole it, Thanks
 
7:05 AM
0
Q: Same topic name allowed in multiple topics

Antti HaapalaIn python there are three topics named Exceptions. I consider this as a bug that many topics can have the exact same name. Also, there are even more topics: Exception handling and Catching and raising exceptions and so on. We need some kind of quick merge/close as a duplicate since there is not ...

why unvote? he didn't mention the version. — salitio 49 secs ago
The original code not working in your python is a clear sign though — Antti Haapala 17 secs ago
^approve pls
 
7:25 AM
cbg
 
oh great
seems that aaron hall wanted to create another room solely for Python documentation
 
hey there any one who know http request very well
?
 
o/ @ChaoticTwist
 
@HardikGajjar might be:D
 
7:27 AM
@AndyK \o/
 
@HardikGajjar however, room rules say: ~"please ask your question, no need to ask who knows"
 
0
Q: How to parse request.body data to json dict?

Hardik Gajjar if request.method == "PUT": qd = QueryDict(request.body) print request.body myDict = dict(qd.iterlists()) print str(myDict) i have writen this code in my middleware and getting below out put Content-Disposition: form-data; name="id_list" 3,4,5 ------WebKi...

 
can we get the value of unix time stamp upto 7 decimal places using python?
presently I am doing like this:
import time
m = time.time()
print m
 
@arshpreet it really depends...
 
on what?
 
7:29 AM
the timestamp is a double, and the operating system can give a precision that is not to 7 places
@HardikGajjar your question has 2 close votes asking for "minimal, complete and verifiable example"
 
ok
 
Actually i am new to it
 
so what can I do?
 
basically i am doing put request in middleware of django and get this kind of typical data
 
@HardikGajjar you're using Django, you use the .POST like with all other requests?
 
7:32 AM
@arshpreet please format your code when posting here
 
I am fetching timestamp from one website so on the basis of timestamp comparison I have to make decisions
@AndyK OK
 
@AnttiHaapala actually this is live API for application icant delete put request from current version and i have to log request with all param
there some put request is also in old vesrion
so is it possible to do ?
 
I am not a django expert
 
import time
print("%.7f" % time.time())
@arshpreet you can do that with Python 2
import time
mytime = time.time())
print("%.7f" % mytime)
 
Ok Thank You @AnttiHaapala
 
7:44 AM
@AndyK thanks! yes I am able to do that except one small change in second line ;)
 
actually there is a cleaner way to do the formatting
 
OK
well I am not able to get that how it worked, can you give small description?
or link where I can read ?
 
@arshpreet note that this is just representation, there is no telling about what is the actual precision.
 
print('{:7f}'.format(mytime))
have a look here
 
@AnttiHaapala ok, so that means I can't rely on that for comparison
 
7:48 AM
as @AnttiHaapala said it is formatting/representation (correct me if I'm wrong)
 
@AndyK yes but he is saying I am not getting actual precision of time
 
@HardikGajjar Incidentally, please read sopython.com/chatroom and do not link your newly asked questions in chat.
 
I think time.time() will be sufficient in term of precision for what you are trying to do @arshpreet stackoverflow.com/questions/85451/…
(or at least hopefully)
 
Cabbage!
 
o/ @poke
 
7:55 AM
yes time.time() was my first choice as well, I think I need to write function that will find closet value in the array because actual precision seems to be difficult to achieve @AndyK
 
@arshpreet good luck
 
So many things proposed in Docs that are useless.
 
I’m really frustrated with how docs is going.
 
@Ffisegydd and caught j4ck plagiarizing Beazley
 
And I’m annoyed at the rep people get from it. There are literally people who farm docs for rep.
 
7:57 AM
"We need an scikit-learn topic in Python!" No. You don't. Go make a separate thing entirely for it, it's not part of the Python stdlib.
 
there are so much incorrect edits by n00bs
they should put a rep limit: no one under 2k could even contribute a new example.
@Ffisegydd same for sqlalchemy. Need 500 questions, sqlalchemy has thousands
 
why don't we put something into meta stack about what we're seeing in the docs and what should be amended/improved (if not already done)?
 
Yeah, and require a bronze badge to contribute or something
 
Eh, just the initial hype.
rep farmers will calm down in a while.
 
Yeah, and because they got their edits early into simple topics, they will continue to get rep for eternity.
Because the edit system is so good.
 
8:00 AM
Anyone else found the docs UI messy?
 
Everyone™
 
Yep.
 
exactly.
also, aaron hall started another Python documentation room
 
So he is still around, huh
 
which is now the "official place to discuss documentation"
 
There's no place for a description.
It's just Topic - > examples.

I'd rather prefer a line to actually get a gist of what the thing is doing!
 
I really don't understand how everyone at SE can think these Docs are amazing. Do they have some leverage on their staff or something? Is it blackmail? Or maybe brainwashing?
 
@Ffisegydd #rotfl
guys, need to take a coffee break. see you sometimes today or tomo. Have a good day everyone.
 
g'day
 
@ChaoticTwist there is
it is a different section
 
8:06 AM
Couldn't find it
are you talking about remarks?
 
the problem with closed beta was that they got all those 200 rep n00bs there
and they didn't see any problems.
they should have paid us :D
 
@AnttiHaapala I just saw that the remarks section is serving as a description section currently. But I don't see the logic there. I mean why would you put it after examples?
 
Crap UX.
 
Yep, we're monitoring all the thresholds. Right now, due to the overall influx of people, I hesitate to up the review thresholds. Having proposed changes languish in review due to a lack of reviewers isn't a great alternative. — Adam Lear ♦ 12 hours ago
“We have to many people working on it because we decided to promote this beta everywhere. And now, since everything is going down under, we don’t want to keep completely inexperienced people from it until we have a clear baseline set up by experienced users.”
 
ah there was an explaantion for that
David Beazley's book says:
"Answering a question by citing this book and quoting example code does not require permission"
 
8:10 AM
Someone created SQLAlchemy within Python.
 
however guy is copying the documentation without attribution, to CC-BY-SA, wherein all ppl must acknowledge that J4ck is the original source
@Ffisegydd killit
 
We need to flag it/remove it and get it its own docs.
 
@Ffisegydd I saw sqlalchemy as a different tag as well
 
"Request Topic Improvement" NO! G FTGONHOKFADNKGBODAFGOPERN
It was created by a 64 rep user. Fantastic.
What the actual fuck?
 
8:11 AM
ok just downvote
yes
 
cbg @JonClements
 
If I "dismiss" a suggestion, does that count towards a deletion vote?
Or does it just dismiss it for me?
 
@Ffisegydd there can be a topic on Python for "how to acccess database" and with "use sqlalchemy, now go to /sqlalchemy"
idk
prehaps
@Ffisegydd i'd not dismiss the scientific computing with numpy
it can be a primer
 
Ah well I already have :P
 
ppl come to Python tag, if they search they cannot find that numpy tag exists
 
8:14 AM
Yes true.
It should be more general then.
 
blocking a ton of users out of being able to contribute effectively to build up our knowledge base is only going to […] lead to a poor experience” – So flooding the site with users who didn’t use Q/A to prove that they are actually experienced in a topic to build a knowledge base is completely intentional? From what I am seeing, almost every “veteran user” who has been trying to make this site great is annoyed at the poor experienced and low quality of content that is being produced on docs. You cannot really compare this to a normal site launch where a new community is forming. — poke 20 secs ago
 
It should be "Scientific Computing in Python"
Because whilst numpy is really, really important, it's not the only method.
 
@Ffisegydd yes agree.
also upvote this
2
A: Addressing Documentation #RepGateApocalypse

Antti HaapalaI see that there people posting examples in Python tag being blatantly plagiarized from different sources (books and blogs) and posted without proper attribution. Even with proper attribution I am not sure whether this is an effort that should be highly rewarded. Now that only so many review appr...

 
The worst thing about this docs situation is that I personally am losing the motivation to participate on SO as a whole.
 
I already had zero motivation to participate outside of chat, now I have negative motivation.
1

Python Kiwi versus Cordova versus Electron (topic request)

Kiwi is a rising Python module, Electron is a popularity rising Node package, and Cordova is a popular and sophisticated application built for developing multi-platform applications and software. It's a good idea to take a good look at all of them for use now and in the future for anyone looking to develop applications.
requested by ytpillai 1k
dfgjklerwAMFLESMGKRND
 
8:20 AM
@Ffisegydd that's not a documentation topic.
I dismissed it.
 
@Martijn you may know, does dismissing do anything? Does a certain number of people have to dismiss it?
 
I created a property topic, and moved some existing examples from the classes topic to it:
0
score
3
3 examples
1 contributors
 
I presume that mods can insta-dismiss, but what about mortals?
 
@Ffisegydd I don't know, it is gone now. Perhaps there were more dismissals there, perhaps I insta-dismissed it.
 
Ah ok.
 
8:21 AM
I cringed at KIWI
 
@MartijnPieters watch out for j4ck, plagiarizing beazley without attr.
 
@MartijnPieters yet another cool thing I've never even heard of!
 
@AnttiHaapala thanks, I will.
 
“Contributions to Documentation are as important and require as much, if not more, effort as contributions to Q&A.” – As someone who has spent a lot of time and effort on Q&A, trying to make this site a great resource, I’m honestly demotivated by this statement seeing how docs is currently developing and how the early state is being used by people who are literally farming rep from the system. — poke 2 mins ago
5
 
8:31 AM
I will start a python2/3 polyglot topic
it is different from python 2 vs python 3
ah there is
 
Docs is FGITW taken to the extreme.
 
I was wondering if a PyInstaller topic is required?
 
sadksdölfkdsaölkf
this is SHIT
6
score
8
8 examples
8 contributors
all this is shit advice
 
Lulz.
 
Downvote it :)
 
8:34 AM
@Antti I like how you’re still trying
 
I just went to write a doc list on matplotlib and gave up mid way through.
I gave up when I had "...as seen in the pyplot API [here](link to REAL docs)"
 
Oh, wait. What?
@DanielNugent No rep penalties from downvotes (either casting or receiving) at the moment. — Adam Lear ♦ 10 hours ago
Is that the problem?
 
> "Documentation is also a viable way to contribute for someone who may not (yet) be comfortable asking or answering questions."
Fantastic.
 
@RobertGrant One problem
 
You can't write a question, but you can edit the documentation for an entire project!
 
8:37 AM
Let's all stay friends after SO, guys
 
I'm surprised there's not an "OMGWTFBBQ" meta meltdown post yet
 
What exactly was the point of the "Private" Beta ?
 
To prepare those beginner users who got in, so they know how to farm the system
 
I'm guessing the Documentation beta is a big hit?
 
Best hit ever
The body count is super high, if you count people who are super annoyed
 
8:44 AM
@Ffisegydd wat?
 
I like how everybody keeps finding new wats
 
@AnttiHaapala yes the weasel-wordy HR drones have taken over
 
lol
 

« first day (2106 days earlier)      last day (2845 days later) »