« first day (3570 days earlier)      last day (1378 days later) » 

12:19 AM
my reading turned on the end line: *that this won't come back to bite you.* combined with comments being deleted -> it makes it seem like you (mods) would have been coming after me for just having a secondary account (again I already deleted it & wouldn't want a merge). But I hadn't reloaded and seen the edits when I made that statement -
still unclear to me because the tone seems to be "we're going to get you" instead of "here are the good, the bad, and the ugly about secondary accounts"
@PM2Ring was it an ASR33 telex? cause I fondly remember learning to program on those
 
12:53 AM
@roganjosh Ads same as with Google give money. More important (from what I remember) was the ability to use partnerships. Meaning if they had a partnership with some university but not another and you searched for universities in FL - the ranking (and ads shown) would be affected by this which gives companies more incentive for signing the expensive licensing and partnership agreements MS has.
The more people they can show using Bing over Google (or switching to Bing) the more they can promote that above advantage
you can read more in the MS Partnership page or just search for Bing Ads (old name) or Bing Partners (the add-on program basically) - though these just scratch the surface
 
 
3 hours later…
4:13 AM
how do i vote to delete?
 
 
3 hours later…
6:53 AM
@NicolasGervais users with >=20K reputation have trusted user privileges
 
7:49 AM
@LinkBerest aha, that makes sense. I guess I couldn't really delineate the browser from ads because I generally run chrome and use Google and I was thinking more about Goole getting all the monies from the search engine, not the browser itself
 
8:16 AM
@LinkBerest if this discussion keeps dragging on I'll suggest moving it to the (real) meta room chat.stackoverflow.com/rooms/info/197438/the-meta-room
 
What to do with this question? I feel like closing as a typo but maybe there's a dupe that covers the str(my_set) foot gun?
 
9:07 AM
@roganjosh voted typo (can't find a dupe)
 
Sounds fair, I've followed :)
 
9:40 AM
I've answered the question, since it appears to represent misunderstanding about how to test for set membership. Why close if no duplicate?
Happy to delete the answer if you really think it needs closing.
 
I think I'm just so ground down by the current feed of people just not doing their homework. I'm not going to quibble about you answering it; perhaps that is the best course of action
The one quibble I do have is the naming of file_list_for_delta when it's a set. I think it's worth pointing out the misnomer to the OP :)
 
9:56 AM
@holdenweb because it's "not even wrong". It only works by mistake. The same would fail for anything non-string.
I don't insist on not answering it, OP needs a one-hour lecture on python basics and maybe programming too. But the title ("what is fastest?") and body ("why is my wrong code slow?") of the question are very different and the latter doesn't need to stick around on the site.
 
I retitled it "Slow Python set membership tests."
 
 
1 hour later…
11:19 AM
stackoverflow.com/q/63087476/4799172 opinion-based/needs more focus
 
@AndrasDeak if it keeps going on I was going to open a separate room but that would work too (I'm done though so shouldn't be needed)
@roganjosh Yeah, you can set your search engine to Google in Edge but most people don't change those settings. Also, it suggests Bing if you do and there new tab has a lot of ads in it by default
 
11:40 AM
@LinkBerest that works too. My concern was not doing it here :P
thanks
 
I think it's time for me to let go of plotly.js before I lose my mind. I hope the python version works better or that's a lot of sunk money. Alternatively, the problem is between the keyboard and the chair but I'm beyond exploring that possibility with so many sunk hours :/
 
Does it have useful documentation?
 
The docs aren't too bad, but they don't really translate well to the implementation. I mean, I've just been trying this and the responsive: true parameter immediately destroys a responsive layout that otherwise was less broken
Mostly, google searches default to the python implementation so you kinda have to force it to get plotly.js. It seems like some malnourished sibling that they're running alongside the python project
 
that's funny because the python version should be a (formerly?) poorly documented wrapper around the js one
 
11:56 AM
It's always been a question of mine re: what problem the python arm of the venture solved vs. matplotlib. Now I question what the library is even for at all
 
Does this work in a way that you merely embed the result but the plotting code is hosted on plotly's server, or can you have all the code in your own backend?
 
The code is entirely embedded in my own site. <script src="{{ url_for('static', filename='js/plotly.min.js') }}"> and boom, you're away.
 
@roganjosh matplotlib doesn't normally do webapps. All the JS trickery makes a lot of fancy and interactive stuff possible.
@roganjosh OK, that's nice
 
@AndrasDeak Sure, but when you look at their site they're going on about funding in Python and R
 
@roganjosh how does that relate to "what problem the python arm of the ventured solved vs matplotlib"?
 
12:00 PM
So the niche area is the bit between matplotlib and your own site? That's what they're targeting?
I think the reality is that I'm expecting too much. The "I need this to work on mobile, tablets and PCs, and be nice and responsive as you change orientation or resize the browser" approach might not be in their remit
or it just doesn't work well with Bootstrap. This is what happens when you set responsive: true. The graph immediately escapes the card on the RHS. Without setting it to responsive, it otherwise obeys the card borders nicely
 
12:52 PM
@roganjosh no idea
I only tried looking at it once for a question on SO and failed. But it always looked like very fancy and bells and whistles. I prefer exactness and straightforward documentation instead :P
 
1:17 PM
Boo. It's all about the animations. Make your data "pop" :P
 
@AndrasDeak can you vote to re-open and then hammer? I mean you in particular. We have a critical mass with me, you and MM to re-open, but then you might not be able to hammer
 
Yeah, everyone has one open and one close vote in a 2-week window.
I'm not sure it's worth reopening though, it is mostly a typo, and OP has more than one answer.
 
1:58 PM
I expect the OP not to get the dupe either, what with the sys.path trickery and such. I admit my priority was to prevent the influx of bad answers.
 
 
1 hour later…
3:11 PM
Strange. There is a '13 Q, likely self-inflicted problem, a single dated "turn it off and on again" answer – yet it's protected as highly active and bumped repeatedly since Dec '17. Am I missing some earth-shattering revelation?
 
@MisterMiyagi the bump part happens a lot, means nothing. Why eyllanesc protected it is beyond me.
I guess it can prevent "me too" non-answers... of which there were 0 posted in the 4 years before protecting
 
"I understand that it is broken." to my comments --> "Still does not reconize the begin variable" comment on the other person's answer. And that's probably enough of the main feed for me today
 
wow
 
3:47 PM
s5=[0.1,0.2,0.2,0.3,0.44] # Given Sequence
# Expected Output : [1,2,2,3,4]
How do have this expected output for a given sequence , basically we are identifying a trend for given sequence of number
 
What's that got to do with trends?
 
Basically we are creating a pattern from a sequence of number
 
Multiply by 10 and then convert to an int
 
@NabiShaikh use machine learning. No specifications just arbitrary input and output means you can't go wrong!
 
@roganjosh the can be any [25,33,48,47,47,48,29]
 
3:52 PM
Just incase you are using pandas, and looking to factorize the array pd.factorize(s5)[0]+1 , @NabiShaikh
 
multiply by 10 wount work here
 
@NabiShaikh That explains precisely nothing to me
If you want to forecast, then maybe you can use ARIMA or some other method. But just giving a list of a few numbers, with no clear goal, is not going to get you help. I have no idea what you're trying to achieve
 
probably stonks
 
@roganjosh I dont want to forecast i just want , for better understanding i have 4 days stock data in a row [23 , 25 , 27 , 24] and i have target variable which is 1 i.e stock is gonna rise on the day . so i want to do a feature engineering [1,2,3,2] which will help model to learn that if we find 1232 pattern then 5 day the stock would surely rise .. this is the context behind that .hope i am able to explain
 
Of course that's forecasting
 
4:03 PM
@NabiShaikh you can use the following mapping: y(x) = - 35.0140056*x**3 + 21.00840336*x**2 + 6.14845938*x + 0.21008403
 
I also failed hopelessly at it on the FOREX. There are plenty of indicators like Bollinger Bands. I wish you luck with that
 
@roganjosh i do agree , i am trying how can we make a decision to stock to invest out of 1800 stock i want to drill down to few , further make a strategy on it ..i know its difficult just trying out random patterns and trying to create data for model training ...
 
I know your intentions. I suspect it's the folly of anyone who has some tech knowledge and comes into contact with the news about stocks. They also call it "dumb money" in the circles that can make it work. It takes 1 news report to sink you, and they are unpredictable at best, currently
 
if it were predictable then the industry that is built on top of trying to predict it would have pulled it all down already
 
The "I so should have shorted on GBP" still haunts me :P
 
4:11 PM
A simple approach is to group the stocks into their respective sectors and calculate a z-score for price. Target the stocks with significantly low z-scores. Then do research on the companies themselves and determine which of the significantly cheap stocks in each sector have any real potential to increase in value. If that seems like too much work, I would just go with a diversified index fund and accept the fact that "stonks" are hard.
 
you can still short the EUR before your country shows the EU for good
 
@roganjosh 100% i agree with you ....
 
4:37 PM
@Dodge Interesting ....would like incorporate this concept ...if you have any example as such would be a help .
@Dodge the stocks with low zscore , what we can infer from that , how to identify the low value stock with high potential for investment and gain of 2% to 5% at a shorter interval time ...
 
I don't have any examples. A stock with a low z score as it relates to its respective sector means that the price is a number of standard deviations away from the mean. There is an adage "buy low, sell high". The z score allows one to objectively asses which prices are "low". Then, research to determine if any economic moat exists or not widely known aspects of the company can be identified to determined if said cheap stock is undervalued.
 
4:56 PM
@MisterMiyagi Don't think so. Closed as a dup.
 
Close enough for me ...
 
thank ye
had to retag from pandas to python, didn't think it's prevent me from hammering myself
 
5:45 PM
it do
 
6:12 PM
Another one I haven't seen yet: NameError: free variable 'ipair' referenced before assignment in enclosing scope
 
 
2 hours later…
8:04 PM
@roganjosh this made me laugh really hard because it's the headache that made me finally learn js enough to roll my own :) ;)
Plotly works with bootstrap just requires a lot of classes as I recall
Always fun to have a flashback to your own reaction to something afterwatching someone else have a similar one
 
"I'll just try this"... KABOOM
It's reassuring that I'm not the only one, though :D
 
8:30 PM
Hello i have a question i don't know if this is the right place. If not then maybe someone can say to me where i can ask about this question.
I want to know what are tools professional people use to develope professional code. The thing is i just coded python and run the script and used git for version control. But i want to know how professional software developement works and what tools they use. So i am taking about stuff like continous integration, bug tracking software, specifications, user stories etc.
Preferable i would like a list of different tools and some background information on them where can i find such information?
 
 
3 hours later…
11:54 PM
@user3680510 I've used everything from full IDEs (with git integration) to vim (or other text editors) and only the command prompt (after remoting in). I've used full code formatters (style checkers) with a bunch of Atlassian products tied in for itegration, project management, and other things but also used actual whiteboards with post-it notes for this: it varies by focus, type of company, and all kinds of other factors.
Look at the job descriptions of careers you want to do (not just your level but the ones above it) and see what they use (its not a perfect guide - there's a lot of fluff and HR added things but its at least a guide). Also, FWIW, I've started many jobs where I've never used the tools they used but done well because i knew the language or just how to program (take a problem, break it down, build the steps needed to solve it) and learning the tools just came with working
 

« first day (3570 days earlier)      last day (1378 days later) »