« first day (2679 days earlier)      last day (2283 days later) » 
00:00 - 18:0018:00 - 00:00

12:00 AM
Added a caveat comment to the question. Thanks again.
 
I hope it's obvious that I'm not even close to sure
 
It is (my caveat is very neutral), but that in itself suggests that something is wrong in the library
 
I have no idea what PDU is; is it posssible that those not-exceptions are in terms of the protocol?
 
Those not-exceptions somehow do become exceptions
 
12:05 AM
I only started working with these things late last week
 
The non-exceptions are PDU-specific stuff and I don't think they're raised. Python exceptions are in exceptions.py and raised manually, methinks
 
I think you're on to a winner
 
so search raise ConnectionException in the repo
 
Now that does make sense
Ok, so it's the unit that sends an error response and the library translates it to an exception, just not very clearly
 
I'm not sure there's a direct non-exception <-> path
You should look at what can raise that exception in the code base rather than guessing
 
12:09 AM
It was only today that I started to see real issues
The unit has a data register. I can connect to the unit just fine, and I can see all the data in the first 40 indices of that register. So on I go with development.
 
There's no connection-related PDU-exception and it would make sense that ConnectionException comes from outside the protocol, from not being able to connect or not getting a response or something
 
Then suddenly I try to see, say, 50 values, and I get a connection error (I can't remember specifically the name, but it's an error based on connection)
Yet I have another piece of propitiatory software that can see those 50 registers fine
if I drop back down to 40 (again, I don't know the threshold exactly), it works again and no connection-based error
It's only through seeing the question this evening that I started trying to dive in, but no test-case to back it up :(
 
It might easily be a bug but it might be unrelated to the non-exceptions
 
@AndrasDeak but your investigative work has set me on the right path when I get back to work tomorrow to try untangle it further. I'm very grateful!
 
No worries
You can look at those raises in the meantime
 
12:16 AM
@AndrasDeak it's gone midnight, I might also wanna wind my brain down a bit now :P
 
Whatever rocks your boat :P
 
The Odyssey:
Once upon a {this morning} I installed a fresh anaconda on a remote server. I spun up a notebook server, created a notebook, ran stuff.

Then I decided to setup a password. Restarted server, opened my notebook, ran stuff. Logged out, logged in. Opened notebook, ran stuff.

Then I tried to set it up for remote access. Restarted server, opened notebook, ran stuff. Tried to access remotely.... fail!. Messed with firewall... fail! Started flailing about and surely broke something. NUKE!!!!! Uninstalled
Then I restarted process and trying to recreate step one. I cannot spin up notebook server without a request for a token. And when I put the token in, it just kindly ignores my attempt and asks again.
At this point, I need a nap before I think about how I can backtrack in order to produce an MCVE
 
I need some advice. I want to learn a new module but not really sure what I can go for. Pandas looks very cool but then it's a large undertaking (learning NumPy with it) and I'm not sure how much it's going to be of use in the future. Or I could take a stab at Selenium. Can anyone suggest some good modules that might be useful, I'm a bit lost in a downpour of different tools!
 
12:45 AM
I googled "MIT license explained" and I found tldrlegal.com. Of course Kevin(')s relevant
I like that the WTFPL entry is verified by top-notch legal experts
 
I see trouble ahead with that one...
 
 
4 hours later…
4:51 AM
any sqlalchemy folks here ?
 
 
1 hour later…
6:15 AM
cbg
 
7:07 AM
Argh, getting bitten by PEPs 560 and 563. Was messing with annotations in a non type hinting manner.
 
8:01 AM
cbg
 
8:12 AM
cbg
 
cbg
 
8:34 AM
cbg
 
8:50 AM
@Simon what's the purpose? fun / educational / something else?
 
9:00 AM
@AshishNitinPatil rep farming should be among the most probable purposes
 
I learned numpy first but never really became any good at it until I had to learn pandas. They go hand in hand.
 
 
1 hour later…
@cᴏʟᴅsᴘᴇᴇᴅ I wouldn't say that. Pandas needs numpy but you can be pretty good at numpy without knowing pandas.
 
+1 to that Andras
 
@AndrasDeak I'm saying that to become good with pandas, you also need to be good with numpy. I didn't say you need to learn pandas to become good with numpy though. I just said that's how I did it
 
ah, "they go hand in hand" sounded like a bijection
 
No need to be defensive mate, there was an ambiguity in your statement
 
10:29 AM
I can clarify the ambiguity in my statement without sounding defensive
 
if you can, you've yet to show that :P ;D
 
@AndrasDeak Sorry, I only meant that, to know pandas, you must know numpy just as well :)
 
yeah, I can believe that
pandas2 wants to decouple from numpy but I suspect the pressure to vectorize will still give a strong coupling between the two
 
jjj
"sound of bijection" sounds like a bad mathrock group album
btw whats pandas 2? Current versioning scheme suggests that there is still a long way to pandas 1.0
 
jjj
10:39 AM
thanks
 
10:53 AM
I can only imagine the performance should skyrocket if they implement their own vectorised routines. Currently, pandas is slower in many cases than the same raw numpy code producing the same effect because of all the fluff and layers the code has to pass through
 
11:10 AM
Cabbage
 
cbg
 
11:35 AM
brief cbg
 
*belly rubs for Jon*
how are you?
 
/me is wondering if belly rub == good boy... and good boy == scooby snacks...
Anyway - same old, same old. How's yourself?
 
fine, fine, thanks :)
@idjaw is responsible for the snacks as far as I know
 
Um... I'll have a look to see what he's got in his cupboards then... :p
 
show-off :P
 
lol
But thanks anyway, @Jon
 
Well - I figured that was what was supposed to end up happening...
Wow guys... there's a big orange ball in the sky again... I haven't seen it in ages... I wonder if it wants to play fetch...
 
@AshishNitinPatil Fun mainly although I'm after learning as much as possible.
@Arne That sounds like complete desperation. Even if I was I would not be asking for suggestions. I can easily find out what gets highly upvoted without needing to ask : /
@cᴏʟᴅsᴘᴇᴇᴅ I heard Mathplotlib is welcome as well.
 
12:07 PM
@Simon where'd that "h" come from? :)
 
Good question. Not sure :)
 
I seem to have had a successful last few hours in terms of answering questions :) must have something to do with valentine's day, the net happiness in the world is a bit higher tonight
 
@Simon numpy, matplotlib, pandas, tkinter, pygame, flask, selenium, collections(?), etc.
 
collections is stdlib
@JonClements MATLAB comes from MATrix LABoratory, and people keep calling it MathLab which reminds me of meth labs
 
@AshishNitinPatil Add BeautifulSoup to this...
 
12:17 PM
Ahh.. the Breaking Bad branch of maths :)
 
@AndrasDeak yeah, but it's fun to learn, and isn't exactly talked about in tutorials much
@cᴏʟᴅsᴘᴇᴇᴅ more like requests + beautifulsoup
 
or lxml.html which is quite nice if you're familiar with xpath to make queries of documents...
 
recbg
@Simon Pyramid :D
 
@AshishNitinPatil Thanks ` numpy, matplotlib, pandas` possibility, ` tkinter` I know it fairly well, pygame uninterested in games, flask is my dream but I don't know how to deploy it so I didn't learn it, selenium of mild interest. Just let me check out collections.
 
and SQLAlchemy
selenium is useless piece of tshi
 
12:31 PM
Let me check Pyramid out. Sqltite3?
 
Your choice. Web frameworks are a different ball game altogether.
 
lol… a coworker just had a question I didn’t know the answer to… so I googled something and found a SO question … answered by myself.
 
@AndrasDeak yes.....I am the keeper of snacks.....but the pup keeps stealing themx
Security is not great these days
 
@AshishNitinPatil I run a local network server a web framework might be useful.
 
@poke yeah, past me is somewhat better than present me. Present me needs to leave more footprint.
 
12:34 PM
hey guys how can I set pip proxy in ubuntu? I tried
pip install --proxy http://username:password@proxyserver:port

it says "You must give at least one requirement to install"

(Earlier, in windows, I successfully created pip.ini with proxy and set its path to environment variable PIP_CONFIG_FILE)
 
Err... so did you give it something to install as it says?
 
@AnttiHaapala OK Selenium looks like it is out then. Can I use SQLAlchemy (or some other Python database) with a web framework?
 
@JonClements
I didnt get you. I ran the following command in terminal:

pip install --proxy http://username:password@proxyserver:port
 
You'd want SQLAlchemy
 
12:37 PM
@Mahesha999 and you should give it a library/libraries to install... eg: requests, django or whatever it is you're trying to install...
 
@AnttiHaapala Looks like it will be a web framework and some Python database, can I assume you recommend SQLAlchemy for Python databases?
 
@JonClements ohhh so it will install proxy for just current terminal session?
Now I am trying to create pip.conf and set its path in .bashrc, will it work?
 
As I said I would go for a web framework but I am not able to deploy it.
 
@Mahesha999 it sets the proxy for the current install command - you're asking it to install a library and then not giving it any libraries to install - that's what it's complaining about...
 
1:00 PM
182
A: Using pip behind a proxy

Sameer VaidyaWith Ubuntu I could not get the proxy option to work as advertised – so following command did not work: sudo pip --proxy http://web-proxy.mydomain.com install somepackage But exporting the https_proxy environment variable (note its https_proxy not http_proxy) did the trick: export https_proxy...

Literally first hit from Google (although 2nd answer from top)
 
@Simon SQLAlchemy will be the last python database framework you need :P
(excepting some things built on SQLAlchemy)
@Simon you can run stuff locally :D
then deploy to digitalocean, say :P
or amazon lightsail
or deploy locally
 
or heroku or redhat openshift
 
negative
@Simon learn docker and make a docker out of your app :P then deploy anywhere
there's even an example in the docker docs using Flask
 
yeah, that's much better
 
@Simon containertutorials.com/docker-compose/flask-simple-app.html
the heroku knowledge is mostly useless unless you use heroku
but docker can work pretty much anywhere
 
1:19 PM
English ambiguity number one million: "X is the last Y you need" can mean both "X is so good and reliable that you will never need another Y for as long as you live" and "X is the worst possible Y and you should choose literally any other Y before you choose X"
 
I mostly hear the latter
the former might exclusively be used by tv promos ;)
 
Ok granted the idiomatic phrasing for the first one is "the last Y you'll ever need" which modifies the connotation somewhat
 
hi all
I'm trying to fit a line to a set of points using scipy.optimize.curve_fit. This works, however, I can only accept solutions for which the slope meets some criteria (i.e. a specific angle). How can I fit the line, so that the angle-constraint is weighted over the residuals?
 
OK database needs some research but I need a web framework before worrying about that. I'll consider Docker, at the moment I run the server locally myself. @AnttiHaapala
 
yes
I was going to write that back in the days, dialup internet was expensive, so I had a home network of 2 computers connected with an ethernet patch cable :P
the other running a linux server :P
 
1:26 PM
Well, it works for me. Problem is I use Windows
 
that's the main problem :-p Switch to linux.
 
@AnttiHaapala Back in the day when a tutorial popped up automatically telling you how to use a web browser.
 
@samwise you can set bounds for your parameters but I suspect that's not enough for you
 
@AshishNitinPatil I will as soon as possible. Here is another clue: Computers are expensive :p
 
@Simon web browsers - who needs 'em... nothing wrong with gopher...
 
1:30 PM
what if I told you that you can install a linux OS on a computer that has windows installed right now?
 
you can dualboot. And most linux distros are free
 
Tell me more.
I'm using Virtual Box at the moment.
And it's sooooo ssssslllooowwwww
 
@samwise so assuming that the answer is "no", what do you mean by "angle-constrained [to be] weighted over the residuals"?
 
@AndrasDeak I fear not. Somehow, I have to penalize if lower residuals are weighted over the angle. In other words: I want the line in a specified angle and at this angle, the residuals shall be as small as possible. But the angle must not be changed in favor of lower residuals.
 
@Simon That works too, if you don't want the hassle (beginner's) of installing linux. I use Ubuntu, so you may refer to help.ubuntu.com/community/WindowsDualBoot
 
1:34 PM
I don't think I fully understand, that doesn't sound very simple. curve_fit is a high-level method so I wouldn't be surprised if you had to go deeper. If you go down a level, you could try looking at minimize or leastsq and incorporating the angle penalty into your cost function
 
Assume the following: I've a vertical line and at the right side of this line, are several points in about a horizontal line. Let's say, a perfectly fitted line would have an angle of 10° in comparision to the x-axis. However, the line shall be exactle orthogonal to the y-axis, even though that will result in higher residuals.
I think you're right and fit_curve is not enough.
 
@AshishNitinPatil That looks like a dangerous business.
 
@samwise but is that hard angle constraint known a priori? Because then you can just use a model function that contains a flat line. So what kind of constraints do you have for the angle?
 
I think I'll probably wait for another PC but I will have to do some research.
 
It is, but it's worth it if you take the right precautions (backup necessary things, see few good tutorials, don't recklessly ignore instructions)
 
1:36 PM
@AndrasDeak The angle is known right from the beginning, yes. But the angle can be ANY angle, not only horizontal or vertical.
 
@AshishNitinPatil I think I will keep away for that option but thanks for telling me.
 
@Simon You can always buy a mini PC. Raspberry Pis are fun
 
so then use curve_fit, but don't optimize the angle
 
@AndrasDeak I brute force solution would be "align a line at the constraint-angle and move it along the x/y axis until the lowest residuals are found"
but that's not very elegant
 
You're basically trying to optimize for b for f(x;b) = a*x+b, correct? So why not do just that?
 
1:39 PM
Because then the line will fit the points at any angle, not only at the angle I wish.
 
no, because you're only optimizing the constant shift, not the slope
def line(x,b,a=what_you_want):
    return a*x + b
 
Ah, now I get it!
 
and you optimize with a single initial parameter (b0,)
 
Okay, that makes totally sense. I'll try it out!
Thanks!
 
for more fancy functions you could define the proper full function and use functools.partial or a lambda when optimizing
no problem :)
 
1:42 PM
OptimizeWarning: Covariance of the parameters could not be estimated
 
@AshishNitinPatil Oh yeah a Raspberry Pi what a super idea.
Rhubarb all
 
I'm guessing but that either has to do with your 1-parameter fit, or perhaps your fit is a bad one
 
I set the slope to 0, that should result in a horizontal line and the only changing parameter is b
 
yup
you should make sure to plot the result with your data to see if anything's weird
 
Then I assume I've to use something linke "minimize"
 
1:44 PM
no, I don't think that would work any better
setting bounds and methods and uncertainties is equally possible with curve_fit
 
Ah, I forgot to look at the plot. Interestingly, the line is not totally horizontal, it has still a slope of about 20°
 
So you're doing something wrong :) Either the plotting or the fitting
 
you can plot line(xplot,*popt) with my above definition
 
plt.plot(xdata,y_fit1, color='g', label='curve_fit')
 
1:47 PM
OK, but what is y_fit1? :D
 
y_fit1 = fit_line_constrained(xdata, *popt)
xdata = np.array([2, 3, 4, 5, 6, 7])
ydata = np.array([2, 7, 10, 11, 12, 13])
 
OK, that's fine then
so what's popt defined as?
 
popt, pcov = curve_fit(line, xdata, ydata)
def line(x, m, b):
a = 0
return a*x + b
 
So you have line vs fit_line_constrained. Why?
 
ahhhhhh
 
1:49 PM
also, you need to pass a length-1 initial parameter set to curve_fit to tell it that you're fitting a single parameter
Otherwise it might introspect your function and try to fit both parameters. Print your popt to see
since you want to fit a single b you want to have a single value in popt
 
okay, the plotting was wrong
I totally messed it up. Total mess in the code ^^
Scientists call that "prototyping" 8-)
 
no we don't :P
 
:P
Maybe some fresh air would do good. I'm even making simple mistakes. At least I understand now how to fit the line at any angle :-)
 
it often does, especially when you're in a state that you look back 5 minutes and have no idea how you wrote that
 
Right. That's why I don't even dare to ask the difficult question now :-D
 
1:54 PM
okay? :D
 
cbg
 
A single site of a paper I read contains all I need to solve my challenge (not calling it "problem" 8-)). However, there's math included that's none of my business. Like gauss-helmert with stuff like non-linear functions that have to be linearized using tailor series and then derived etc.
 
I could help with the latter but not the former
 
Shouldnt this question have the python flag? I added it and the OP removed it... stackoverflow.com/posts/48741451/revisions
 
1:58 PM
screwed up my vote for the exact opposite dupe
 
@ZackTarr yes, python tag, I'll leave a comment for the asker
 
There is even a picture which symbolizes the procedure and if a look at the picture I think "ah yeah, that's EXACTLY what I need to do", back at the text "what are you even talking about?"
 
@AndrasDeak Not sure where flag came from.... Its still before my coffee :p
But thanks, should I edit it back? Or wait?
 
I have solved this issue. Thanks for watching this problem — Sahadev 2 days ago
XD
 
But curve_fit may suffice, and if not, maybe I just have to make it look like
That's how scientists do it, right? :-P
 
2:00 PM
@ZackTarr No. Don't do anything. Editing again after a rollback is just grounds for an edit war. Start discussing. I just did that, so wait and see
@samwise sure, just wave your hands vigorously
 
Sounds good. I read what you wrote and you are correct. It is harmful... I lost two rep point haha.
 
@ZackTarr you didn't fix everything else in the question so you didn't deserve that +2 to begin with
 
Thank's again for your help @AndrasDeak, I'll have to leave now. Nice day to you!
 
no problem, see you
 
Fair enough haha
 
2:11 PM
\ocbg
@DSM 6-3 4-1 looking to be GREAT thrusday :D
 
cbg
 
5-1*
 
Today's highly specific pet peeve: when someone on the Card Games SE asks "how do I beat my opponent's life gain deck?" and every answer is like "try playing with Everlasting Torment, which says 'players can't gain life'" and no answers are like "try a deck archetype that doesn't care very much about your opponent's life total, such as combo or infect". You're not going to win the Friday night tournament by maindecking narrow hate cards for each of your friend's strategies.
 
@Kevin is "throw over the table and shout at 'em" an answer? :p
oh wait - I think I'm confusing it with Monopoly...
 
2:26 PM
Ah, the old upheaval strategy. Banned since '95, unfortunately.
 
But I have a card that says it's a special ability!
 
Hmm, actually, something like that came up in a tournament once. A player did something unsportsmanlike and the judge gave him a Game Loss penalty. The player attempted to argue that since he controlled a Platinum Angel, which reads "You can't lose the game", then he was immune to game loss penalties. This did not end well for the player.
 
I strangely admire that he tried though
 
Rules lawyering is a fun pastime in its own right.
 
Are you a judge ? also how do you beat mana ramping Green based EDH decks?
 
2:41 PM
I reached the highest rank that's possible to reach without talking to another human or going to a testing location: Rules Advisor. It's pretty much entirely a ceremonial title. Play stax so your green opponent doesn't get to do anything with his lands. Winter Orb + Derevi is a highly effective way to pee in their Cheerios.
You'll never lose a game of Magic again, because you'll take 'em by surprise in the first game, and then nobody will ever agree to play with you afterwards.
 
Great I need that deck then. I have a group of friends who are HEAVILY invested in Magic, and they always want to play with their legacy/EDH decks, but I only play Angels which you would know, doesn't get any love these days.
 
2:58 PM
Is it bad style to put backend error messages into the detail field of a 500?
e.g.: "status": 500, "title": "Internal Server Error", "detail": "ValueError: time data 19 does not match format '%Y%m%d'"
 
That just begs the question though why you decided to download 3.2.0 instead of 3.2.6 which is the current patch release. — poke 7 hours ago
 
generally you want your site to handle errors you raised, 500 errors to me just means an unhanded error on the back end. but that's just my opinion
 
@poke this question remains unanswered ;D — MLGranny 12 mins ago
Oh well *shrugh*
 
DSM would tell you that that is not what "begs the question" should mean
 
I don't know how I feel about answering (accepted + 1 upvote) this question - stackoverflow.com/questions/48809766/…
 
3:02 PM
@MooingRawr so should a 500 not be raised for something like a format error in the first place?
 
AD how about you point it out in place of DSM ?
 
After I had answered I realized I probably would have cv-ed it as simple error.
 
@MooingRawr I'd never do such a thing
 
@Arne Maybe an example would clear it up. If I knew that my function could error out and not return value that my site is expect, I would raise that error, and have the site handle that error (display format input error or something along those lines if this error is returned by the function). If the site expects that error to be possible, I don't expect it to throw a 500 error.
@AndrasDeak booo :\ oh well :D
 
The application is very brittle in that regard. I guess your answer is then to try to reduce the amount of 500s instead of improving their messages?
 
3:06 PM
yes
if you must customize 500 errors instead, then I have no opinions on this matter, as I would have caught it up stream rather than dealing it down stream
btw what are you trying to do ? is there a case or are you just thinking in general ?
speaking of 500 not sure why someone else's work is throwing it now... :\
 
@MooingRawr getting close to 3000 man
 
cabbage
 
@AndyK I was at 2.7k for a while now. :D but thanks
cbg Toon
 
@toonarmycaptain o\
 
This week seems less exciting without a rocket launch. I'd support sending a AA van up to put some solar panels on Starman's ride so we can get the live feed back.
 
3:19 PM
@MooingRawr In general. There is also a specific bug here that says "if dates aren't well defined, we get a nondescript 500", so obviously i thought "Time to describe 500s!"
 
@Arne ahh I see, I'm just not a fan of customizing 500 errors (the more I think about it) because what if you do hit a 500 error and it's not about dates, unless you are just hooking onto 500 errors with customs errors you know, which is basically dealing with custom error message anyways.
 
@MooingRawr I wish we could swap our reps for our MMRs :-p
 
HA :D keep playing but stop playing Techies you filthy (/jk)
 
@MooingRawr that makes a lot of sense. Thanks =)
 
@MooingRawr Techies is da bomb ! <3
 
3:22 PM
You play techies?
fighting the good fight!
my fondest memories from dota are from pudge + techies combos. There is nothing quite like it :'-)
 
tiny also works well these days
 
I stop playing techies without my stack, since I always get reported after every game. #delayingGame
I want to argue Techies are still really strong since Force staff came out, being a good techies is hard to play.
 
Techies is hard, having teammates who can play well beside him is harder.
 
3:37 PM
Does a tag lose a question count when a question using said tag is "deleted"
 
almost certainly
 
cbg
 
what is happening today?
 
3:44 PM
Set up a meeting with the client so he could show me the bug he's been seeing. When I show up, he can't even navigate to the page where the bug occurs because another bug is hiding the link -_-
 
personally, still waiting for people to finish their work so I can complete mine with a dead line of end of the day :\ not personally my hockey wins, really not personally we hit 900k questions on Python (see star board)
 
@Kevin Have you tried the "well, if you can't reproduce the bug you called me about - I'm afraid I can't help you..." :p
 
@Kevin cv-pls no mcve =D
 
That's one of my favourite thing to do at work. When a client tells me they have a bug but can't reproduce it, I generally just give the ticket back to them and tell em to come back when you can reproduce :D
 
The bug doesn't occur on my machine but watching him I suspect the problem is that when he fills out the form on the main page, he selects options from the drop down and then really quickly presses the "submit" button, not noticing that actually the page is reloading because it makes a trip to the server every time a value on the form changes, because other elements on the page need to render or not render depending on what values those dropdowns have
So maybe the session state is getting put in an unrecoverable state because it half-evaluates a single page load, and then I guess notices the client is requesting a new page, and discards the half-loaded page???
Incessant postbacks aren't a problem in Dev and QA because it loads instantaneously but in Prod it's a 30 second wait, so yeah.
I could probably rip up the entire page and make it do all its rendering magic clientside but that's considerably more hours than were originally allocated
 
4:01 PM
@Kevin bestow upon him the knowledge that "patience is a virtue" and all that?
 
Hey random question, does anyone know of a good library or place I can read on how streaming works? Basically like the code behind the streaming aspect of twitch. To capture a window's output and send it to a online video player?
 
I left my Bat of +1 Clue Bestowal at home today
But seriously, I can't reasonably expect my clients to wait 2+ minutes in order to fill in four fields.
 
so add a <marquee> telling them that their page is being rendered, stand by ;)
 
@ZackTarr, the internet
 
4:19 PM
Seems like a creditable source haha :) But yeah I think I found the piece to the puzzle I was missing.
 
4:48 PM
@Kevin this is why at our company we throw all the combinations UI needs to display based on what u select, the downside, massive data movement at first load :\
and a mess UI
 
This one is like eight combinations so it's still a legitimate approach
 
Can't you disable the submit button while the page is loading?
 
Maybe if I stick a js on-select trigger on all the dropdowns.
 
too broad stackoverflow.com/questions/48811610/… no tag, can't edit because of another silly existing edit that I rejected
 
with what Javascript? seems kinda unprofessional to say "hey I know you want to proceed, but we aren't done doing what we want to do for you to continue"
 
4:53 PM
@AshishNitinPatil you could've reject-and-edited that tag
 
yeah, I screwed up
 
It's better than allowing fast-clickers to destroy their own session state, but it's worse than just implementing it in a fast and intuitive way
 
it's a fine balance between how things need to work, and how the user experience should be
at our company we put the user experience first, hence we pre load and create more work for our UI devs to deal with but eh....
 
edited by davidism :D (I rejected the previous silly edit because if someone is going to get that sweet 2 rep from an accepted edit, they better make it worth that much, at least don't let blatant title typos go unnoticed)
spooky @vaultah (cbg)
There's a subtle difference in the "blackness" of the 2 though
 
Darkness and Advanced Darkness
 
5:01 PM
@AshishNitinPatil On that note and we discussed it yesterday. I think I have a link to show all questions with a python* tag minus
Just a place to look for things that may need edited.
 
I know it's been said but this can't be stressed enough: nobody should go out of their way mass-editing tags into questions
 
Well, if you just observe [python*], you can still see it. Plus, I don't make it a diligent task as such (since it bumps questions back into the queue, which might not be needed)
It's better if you do it only for very fresh questions.
 
Yep and yep to both. I havent been. Just wanted to share the link. We talked about it yesterday with the push to 900,000. Then I couldnt get the search to work with the not logic. So I decided to play while on lunch
 
and ones that aren't newly closed
 
"Need edited" - west pennsylvania dialect detected
 
5:05 PM
yeah, editing can help a tumbleweed question
 
And I mean you could use that to look at the Newest sort option.
 
especially if it's worthy
@ZackTarr that's the point. You shouldn't be doing it.
Only if you come across it (new questions queue) or stumble randomly (without direct intent of editing)
 
I understand. But I find it odd that we care a lot about how we find the question that needs editing rather. Finding one from 8 hours ago that needs the tag and other mistakes I feel should be edited even if you find it through a search or not
But I will not edit any. Sorry about that.
 
8 hours ago is still fine IMO
But only if you don't go hunting for it
example, if you are looking at a rare tag, which gets like 1 or 2 questions a day, then it makes perfect sense to edit it and add the missing tag (if appropriate)
But only if you are observing the rare tag
 
Unpopular opinion: I have no problem editing tags on old questions even if it pushes them up the recently updated queue, because I never look at the recently updated queue
 
5:11 PM
which is perfectly fine and goes with my point too (since you aren't directly hunting for questions that needs those edits)
 
If I could press a button that updated every old untagged question over the course of 24 hours at the expense of making the recent question queue an unreadable mess for 24 hours, I would without hesitation
 
ahhaha, that's definitely an unpopular opinion then :-p
We're glad chaotic Kevin is restricted to just talking about chaotic things (or is he?!)
 
Well @Kevin you can check out my link above and start with those questions ;D
 
You can rest easy that I will not execute any of my grand plans because executing grand plans is a lot of work
 
Laziness is one of the greatest defenders of peace
Also, at times I wouldn't really add a python tag to something like this stackoverflow.com/questions/48806340/… Even though it has a tag.
 
5:18 PM
Yep there are always going to be cases like that. You couldnt blindly add them, would at least need to read them first. But yeah thats a good example of one
 
already cv-ed (18 secs ago) :D
 
I knew it would be a fast one when I saw it haha
 
Has the logic for interning strings changed since 2.7? I wonder if conditional, bizzare way to check python version is as simple as if "foobar" is "foobar":, for whatever string literal would have differing behavior across versions
 
if a == (or is) b: ??? Wonder what they were going for there.
 
i think the OP is saying == or is
 
5:25 PM
Does that work?
 
i think it's choose one if a == b OR if a is b since OP doesn't seem to remember what they saw
 
That was my interpretation.
 
yeah, looks like pseudocode
 
Ahh I see I see. Well thank makes sense then
 
5:26 PM
> Can't remember the details now
Anyway, doesn't look like there can be a good (re)usable answer for that question.
 
I'm betting they're confused by a 3-tuple of ints being < or > comparable
If you don't know the details of tuples, (3, 6, 0, 'final', 0) >= (3,) has to look weird
 
Yep that looks weird to me haha
 
5:50 PM
I thought maybe it had something to do with the int-long split in 2.7, e.g. if 1L is 1, but that's a syntax error in 3.X
 
stackoverflow.com/questions/48813429/… They want us to write them the code it looks like.
 
3 minutes
you should really pay more attention to the posting times, especially since you're a hobbyist (considering your rep)
 
@Kevin Best guess is u'' == b'' but that'd break in Python 3.0
brief recbg
 
@AndrasDeak Is that question worth waiting on though? Yes Ive posted some that were too fast in the past, I can remember one at least. But this one I would think is fine.
 
It's missing a question and OP's attempt. If they're told that they need to include those, it's not out of the realm of possibility that they'll turn their question into something less crappy
 
5:59 PM
So I took @AndrasDeak's advice and researched how exactly the vulnerabilities in pickle can be abused. It seems like pickle allows arbitrary functions to be used as factories during deserialization. So now I'm wondering: Why the yam didn't they simply make a list of secure functions, and only allow those functions to be used as factories? That's an easy fix, isn't it?
 
> There are exceptions to Rule 4. These are instances where there is not really anything the OP can do to improve their post. Exceptions to Rule 4 are:

Typos
Duplicates
Resource/tool/library requests
Spam
Offensive posts
cv-pls rule page ^ @Zack
@Aran-Fey there's no "secure function"
 
00:00 - 18:0018:00 - 00:00

« first day (2679 days earlier)      last day (2283 days later) »