« first day (3365 days earlier)      last day (1597 days later) » 

12:00 AM
Dec 19 '19 at 17:31, by Andras Deak
@Vader if you literally mean np.vectorize then that's also just a loop
 
6 mins ago, by roganjosh
I've skimmed this but it looks on the right track of what we actually mean
It's written by Wes, the creator of pandas, so it definitely is
 
@Vader so what runtime do you have and what improvement would you expect?
Are we talking about turning 250 ms into 100 ms?
and I'm pretty sure your function could work element-wise via .str accessors on columns
but "return a dict for each row" is not something that will be fast
In other words, you'd probably have to rethink some of your design, and I'm not convinced you actually have to do that if it's "reasonably fast" as it is
but anyway it's getting late and my network is crapping out again, so that's all from me
 
12:32 AM
@AndrasDeak I am waiting 15s now
I am essentially for-looping the df and running the function on every row
> numpy-likes already implement addition efficiently
What do you mean by that ^?
is np.add(x, y) better than x + y same with np.less(x, y) better than x < y
 
No, not at all
 
How come they exist then?
 
Because they work on arrays, not lists. They're not meant for scalar operations
 
well if I call a function like this a few million times won't I see some benefit?
def get_wind_dir_diff(dir_1: int, dir_2: int) -> int:
    diff = dir_2 - dir_1
    if diff > 180:
        diff -= 360
    elif diff < -180:
        diff += 360
    return diff
 
My laptop will crap out for a good 5 mins if I try to load my editor now, but see array programming in addition to the link I gave you before from Wes on vectorization
We've already had a discussion about that fnc in the past. I don't wanna go in circles. I've given you several things to read
 
12:41 AM
Fair enough, you have helped me a lot, and more than you needed to for sure. Just FYI, last time we talked about this function was not in the context of using numpy for speed though, so no circles here. Thank again @roganjosh
 
@Vader on the contrary assuming your objecrs come from numpy or pandaa
 
@Vader You're welcome :) I think it would be useful for you to take time to digest some of the info in those links and do some reading and testing around them before we re-visit this
 
So many things to read
but I will read them all
 
@Vader that's how it goes
 
Sucks I don't learn this stuff at school
I think I even own that book
but those books are hard to read, I think they aren't meant to be read but referenced (not sure though)
 
12:45 AM
Most technical books are hard to read
 
Even more so cover to cover
Now way anyone can retain all that information
But I can read ch4 now
 
@Vader nobody does. You just learn to know where to look for technical details, and you only know where to look by having at least researched around the topic once (at best)
 
@AndrasDeak sneaky, but I think I mentioned that that I don't need it run on ever row.
 
Was does "sneaky" refer to here? I already recognised it when I said "I'm getting deja vu". It's really up to you to you to move forward a few paces now
 
12:58 AM
sneaky as in he dropped that into the conversation and left, but I mean it in a friendly sense. I don't resent him for it. I know I posted the function from a while ago again today, but that was just one example. I just used it because it was one of the simplest functions
I think we have exhausted this conversation.
 
 
1 hour later…
2:10 AM
Hi guys anyone generous enough to answer this question?
0
Q: OCR: How can I extract particular names out of document images?

DeanI am trying to extract names out of documents. I can easily get the text with pytesseract. My problem is how to get certain names out of that text. Here is a list of my troubles- Document images could be ANY number of pages. The names that I need could be in ANY of those pages. Only pattern th...

 
2:25 AM
A) We don't generally look at posted questions before they have been up for a couple of days, and there is a room rule to discourage asking about them before then. B) This is an incredibly broad question, and is very likely to be close-voted. It sounds like you are asking for a Magic Bullet for what you already acknowledge to be a difficult problem. Yes, as you surmise you will probably need some mix of ML, search, name recognition etc. Good luck.
 
 
1 hour later…
3:40 AM
@Dean Please show us some examples; also some negative examples, otherwise this isn't MCVE. (e.g. "extract Wile E. Coyote but not Road Runner"?) Like PaulMcG said, that's an incredibly broad question, also has no MCVE, likely to be closed, especially if you don't show any code attempt of your own. It reads like the spec to some API. In the past I tackled that sort of thing with a regex preprocessor to narrow down candidates based on capitalization like Firstname (MiddleInitial )?Lastname
@Vader Not really, not in my experience; dask involves a painful rewrite down to a limited sbset of syntax. As roganjosh says, pyspark is the ultimate answer, and you can run it on Gb.
@Vader That question you cite is not a great example, because they don't show any code for relatedness (cust1, cust2): """do some calculations to measure the relation between the customers""" Presumably it just boils down to some similarity metric on vectors of integers, e.g. vectors of (a,b,t,o...) to represent counts of Apple, Banana, Tomato, Orange. Also, we don't ever need to see the string names, each customer record can be directly read into an ndarray of length f fruits.
...So if we have 1000 records x f fruits, the data can be stored in an ndarray with 1000 rows x f integer columns, and you can preallocate its size before reading. Then computing relatedness should come down to one numeric function, and can be vectorized. Shouldn't need the GIL. Can you provide your own MCVE with sample data?
Btw, which course/book is that, that users here keep posting code examples trying to compute similarity on customers with shopping-baskets of Apple, Banana, Tomato?
 
RSM
4:02 AM
Hello Everyone, I am trying to learn a new python library "python-pptx". The documentation and all the data seems to be in place for this but i am not able to understand how we are supposed to read this. I have previously learned about pandas and it was understandable. Can someone guide me how do i start learning/understanding this library? python-pptx.readthedocs.io/en/latest/user/text.html
 
4:21 AM
vaguely interesting, but definitely too broad or just off-topic for SO stackoverflow.com/questions/59558178/…
@RSM you are linking to smack dab in the middle of the reference documentation; did you start from the start? python-pptx.readthedocs.io/en/latest
by quick glance it has an introduction, and a section with examples
 
@PaulMcG A) Didn't know about the room rule. My bad. B) Wasn't looking for any magic bullet. Just asking for any recommendation on ways to go about solving the problem. I understand it's a bit open ended question. For reasons that are legally binding, I can't provide an example that looks similar to the original docs. But I'll try to reproduce a couple of examples that might be close. C) Thank you
 
RSM
5:00 AM
Yes yes, i started from the beginning. I am able to do basic stuff from this tutorial but there are many parameters in this which i want to learn. For example:"Applying text frame-level formatting¶"
The code provided for this is not working as it is when i incorporated it in my existing code. Not sure what i am missing.
 
@RSM I suggest that you create a minimal, complete example. Show what the result is and describe what you expect it to do differently.
 
RSM
@Code-Apprentice Yes, i have it ready, should i share it here?
There are many things i want to do. For starters, i am trying to change the font on the ppt for texts. I want to understand how we are supposed to translate from the code given in the webpage to the actual usable code, what changes are we supposed to make so that i can try the rest of the things on my own.
 
5:24 AM
@RSM if the examples in the documentation are not working, maybe the maintainer would appreciate a bug report
but it's very different from project to project, some maintainers don't seem to offer much support via GitHub issues
looking at some recent issues they seem pretty responsive
beyond that, I don't think you should expect to find anyone who is familiar with that specific library here (but I could be wrong)
 
 
3 hours later…
8:41 AM
cbg
https://www.facebook.com/fossbytes/videos/1727135350750081/

Quite interesting to see that python is on the top
 
9:00 AM
can we find a better duplicate for this one? stackoverflow.com/posts/59559118/timeline
 
9:17 AM
cbg guys o/
Any idea why I am not able access this property data of Binary?
from bson.binary import Binary
bin_d = Binary(b"Ww0KICAgIHsNCiAgICAgICAgIlJldmlld2VyIjogIkRpbmVzaCBLY10=")
print(type(bin_d.data))
The sample code of what I am trying here ^
In fact, property "data" is not showing up in suggestion list on IDE.
Ah silly me! It's Parameters not property... What the yam!
.. note::
      In python 3 instances of Binary with subtype 0 will be decoded
      directly to :class:`bytes`.
Nice.. So I just needed to call bin_d.decode()
Guess I can answer one old question with above info.
 
10:32 AM
@tripleee I don't really understand the question. The OP already knows their code only works with copies, and their algorithm works by emptying their (non-)copied container.
 
mmm yeah, maybe it should simply be closed as unclear
 
 
2 hours later…
12:07 PM
@AnttiHaapala What's EOL ?
 
End of Life if I remember :)
 
uhm? And we are partying for that? I am not able to follow.
Ah I see
RIP, Python2
 
Pyth/off
 
@anky_91 Check this out: meta.stackexchange.com/a/341288/206319
Read the caption for each hat
 
12:18 PM
okay :)
 
12:57 PM
@AndrasDeak IIRC there is a 2.7 maintenance release scheduled for Q1 this year
 
@MisterMiyagi it's the thought that counts
 
pythoff getting released into the scary world of unmaintained software with one last patch for the road
 
Finally the day of the Uruk-hai tauthon will dawn
 
I couldn't help myself and used a facepalm emoji to demonstrate why a 'use ast.literal_eval() to decode JSON' answer is wrong:
For example, you can't parse r'{"foo": null, "bar": true, "baz": "\ud83e\udd26"}' using ast.literal_eval(), because it contains nulls, a boolean value, and a single non-BMP codepoint. JSON represents those values differently from how Python literals would represent those. json.loads() on the other hand, has no issues with that input and correctly decodes that to {'foo': None, 'bar': True, 'baz': '🤦'}.‎ — Martijn Pieters ♦ 6 mins ago
 
1:08 PM
hi there :l
:v
 
json module still does not support concatenation with load
and the interface for raw_decode is stupid (it doesn't take the starting index)
 
1:28 PM
@AndrasDeak Not sure whether to be impressed or appalled by Tauthon.
For the time being, I hope my bosses don't figure out such a thing exists. ^^
 
Can someone clarify this for me: I closed a question as duplicate. But when I check it now, my name has been removed as the person who closed and it another persons name is shown there. The person who had answered the question and removed his answer. I'm just wondering, so I know how this exactly works. Thanks

https://stackoverflow.com/questions/59563787/converting-datetime-format-in-pandas-for-timeseries-analysis
 
I was looking for the history of changes, how can I access that?
 
jezrael answered a dupe as always, and unhammered as often, but for some reason decided he was wrong and hammered it back again
@Erfan if there haven't been any edits then there's no direct link. You can edit the URL and look at /posts/<ID>/revisions and /posts/<ID>/timeline
 
Thanks @AndrasDeak

This looks kinda odd to me, what jezrael did..
 
1:33 PM
well he does odd things a lot, don't worry about it
if you see him abusing his hammer just flag for a mod explaining the situation
in this case it's fine because the dupe is closed and the answer is deleted
 
Yes I've been noticing. I see, I will let it be, but I keep the flagging in mind next time
I'm going back to work, have a nice day.
 
you too
 
2:02 PM
@MartijnPieters There's frequent confusion about what is and isn't JSON vs a 'stringified' Python representation . I was not aware that one was not legal JSON. Are there ever cases we care about where neither pd.read_jsonnor ast.literal_eval() can be used?
@AnttiHaapala What's the bottom line with Tauthon, does it work correctly, how is its performance both on 2.x and 3.x, and it seems very few users are adopting it? If we dislike the idea of it for the sake of language stewardship, it could be useful to show performance cases where it doesn't do as well as 3.x (other than the dict change). Discussion from 9/2019 here
 
Cabbage all - back to the mines... thanks everyone for testing out my "safe" arithmetic parser/evaluator demo (updated version has more fancy buttons, but that is just for the demo, not the underlying evaluator).
In addition to Kevin's test of 9-zillion factorial, I searched SO for other requests for parsers and found that some constraints are also needed for the '**' operator. I also limit the input string to 100 or 200 characters. The only other hacks I had to deal with were more to do with HTML and Javascript in the browser page demo, not in the evaluator itself.
 
2:18 PM
@PaulMcG The one mentioned here? I missed all that discussion.
 
Yes, that one
 
@PaulMcG No, SO is not the top link for Python queries IME for a couple of years now, neither is docs.python.org, the other doc sites seem to be doing heavy SEO manipulation, this is a bad trend: chat.stackoverflow.com/transcript/6?m=48226202#48226202 . Do you see similar Google hits for python isinstance?
 
I guess my googling for Python bits has been sufficiently targeted to bypass the basic tutorial chaff. I don't google for how to use isinstance or how do I create a list comprehension, so I haven't seen this phenomenon so much personally. I just did a few googles for "how do I...?" type queries, and I see what you are describing.
 
the python docs SEO situation it's really bad, honestly. I did this year's AOC together with someone who wanted to learn python and I always had to give hints on how to alter their "naive" queries in order to get non-trash results. If I hadn't been there, they might have just given up
I had to listen to stuff like "this is much worse than in [the language I'm used to]", and that just hurt my soul
 
2:37 PM
@PaulMcG I mean I wondered if they're buying SEO traffic in many countries. I live in California but am currently in the NL. I think you're in Austin TX. I wonder what the 'purest' region to set a proxy to to get non-SEO hits on programming queries...
 
SEO is going to go where the traffic is. Python's growth in popularity means there are more eyeballs out there looking for basic Python info, so more sites will pop up, regardless of quality. If google and SEO were as mature during Java's heyday, I bet the problem would have been similar.
 
... .mars ?
 
Now that you mention it, I do routinely add "-site:codeday.me" type flags to my google queries. Might have been a way to pre-filter out some of the lower-quality sites your mentee was hitting. Or just "site:python.org" to specifically target the docs (or go to the docs site and use the embedded search).
 
@PaulMcG Ah ok. Would be good to see everyone's "-site:codeschoolz.xyz" exclude-flags.
 
-site:codeday.me -site:qiita.com are the two that immediately come to mind
 
2:43 PM
I usually only want hits for either stackoverflow or docs.python, so I go with those as whitelist
 
Also, when I search for new references to "pyparsing" (I like to keep my finger on the pulse), I am seeing a ton of trash sites that look like they have been hacked onto unsuspecting legitimate sites, that end up being PHP and/or Flash scripts to malware. So I also add "-php".
Neither of these sites have anything to do with Python, so I'm guessing someone has injected a Trojan horse-like page onto an otherwise legit site.
 
Since the issue of bad paid sites giving out bad/misleading advice to new (Python) programmers seems to come up increasingly frequently, I wonder if we should add those to the Python room rules "For documentation sites, we recommend you read SO and doc.python.org, and not low-quality paid-SEO sites which now dominate Google search hits. Use -site:badsite.net to exclude low-quality sites". Thoughts?
 
No.
 
(We could move this to the Meta room, but I think it has been inactive for too long...)
Doesn't sound really like a rule, more of a guideline
 
More like a helpful hint
 
2:51 PM
@AndrasDeak But many of us including you and I often complain about it... and Google is becoming unuseable for new programmers' queries...
 
Not our responsibility and not the right medium.
 
Google could implement a way to flag bogus search results, but it would probably end up getting weaponized to attack sites that a malicious flagger didn't like for some reason (political, religious, LGBTQ, climate change, etc.). Wikipedia struggles with this already.
 
user10984358
Is there a way I can sort two lists with the condition that the second list should just be a index swap when the first list is sorted? I think this has something to with the key argument in a sort but I cant figure it out
 
And really, the room rules aren't prominent enough for new chat folk anyway. How often do we have to point to them when someone links to a 10-minute-old question?
 
Indeed.
 
user10984358
2:56 PM
meaning whenever list_one is sorted just do the corresponding swap in list_two, these lists need not have same elements but they are of the same length
 
And invariably they respond "I didn't know that was a rule" (sometimes sheepishly, which makes me feel bad; sometimes petulantly, which I also sympathize with but don't feel so bad about)
 
@TheNamesAlc sort zip(lst1, lst2) with key=operator.itemgetter(0)
Or if you're using numpy: argsort the first list and use that as an index into both arrays
 
user10984358
that zip and then sort is nice even though I have to zip them again with the splat. thanks! I was looking for a non-numpy solution
 
Oh yeah, you have to unzip too, forgot to mention that, sorry
 
user10984358
what you said was more than enough lol, I was trying something by creating a dict and using dict.get but none was working
 
3:05 PM
@PaulMcG Noone suggested asking Google to change their revenue model, there will always be gray/black-hat SEO for paid low-quality sites. I merely suggested we collect our own set of flags -site:w3schools.com -site:python-reference.readthedocs.io -site:programiz.com ... is good, it puts docs.python.org #1 and SO #2 for me...
@PaulMcG Ok. I said 'guideline'. IMO we could use room guidelines as well as room rules. I'd just respond "No problem, please skim the room rules and guidelines..."
 
does this qualify for a typo?
 
@anky_91 No I don't see a typo, looks like a real catch, OP is doing data = df.head() where they don't need to be.
 
so I should post it as answer ? looked quite trivial hence asked :)
 
@anky_91 Yes I just commented to that effect "Also useful to show a snippet of the two outputs and how they differ... ". Speaking as someone who banged my head off lots of scraping and geospatial libraries recently, issues aren't trivial if they break you getting stuff working, even if it's just one wrong line or function call or arg...
 
3:23 PM
understood. thanks
 
3:39 PM
@smci if you have neither valid JSON nor valid Python literals, you can't use either.
@smci: sometimes JSON gets corrupted, or was generated with broken code that made assumptions about how one can generate JSON (like string formatting, return f'{"spam": "{foo}"}' is not a good way of generating JSON output).
 
4:32 PM
@MartijnPieters Sure. But I meant specifically what sort of thing that people might expect was valid JSON actually isn't? Like I wasn't aware of your example with a single non-BMP codepoint
 
@smci then you'd have broken JSON. Python doesn't have standard tools to deal with broken JSON.
From that point forward, everything you do to repair or work around that fact is a hack.
The non-BMP codepoint example stems from the fact that while JSON strings may look like Python string literals with " double quotes as the markers, there are material differences in what escapes the two syntaxes support.
 
People often mistake a dict repr for JSON. But values like None, True, and False are not valid JSON (should be null, true, and false).
 
@MartijnPieters I'm not disputing that it's invalid JSON. I'm merely saying not every used is aware it's invalid JSON, and asking for other such examples that might trip up users.
 
So Python has a very broad range of escape sequences, JSON has a much more limited set, where the \uHHHH syntax has a different, conflicting definition.
 
@MartijnPieters Yes, things like that
 
4:47 PM
Right, so my null, true and non-BMP escape sequence covers them all, basically.
For the you can't treat JSON as Python argument, that is.
You can't treat JSON as Python, because JSON defines null instead of None, its booleans are lower-cased, and in strings, the \uHHHH escape sequence encodes UTF-16 codepoints, not BMP Unicode codepoints.
 
@RSM You should post a question on the main site. You will get more timely responses there.
and morning cabbage to all of you
 
(I'll ignore the fact that \/ is valid in JSON but a deprecation warning in Python 3.8, most code runs without deprecation warnings being visible so that issue isn't as 'visible').
 
 
1 hour later…
5:56 PM
:/ It's nice of conda to just close Solving environment: failed with current_repodata.json as solved when it clearly isn't. I finally got a new laptop today but it's been an hour just trying to get conda to actually do anything. Conda users might want to be wary about upgrading
 
wim
6:23 PM
>>> dict({'k':'v1'}, k='v2')['k']
'v2'
^ is this reliable / guaranteed?
 
> If keyword arguments are given, the keyword arguments and their values are added to the dictionary created from the positional argument. If a key being added is already present, the value from the keyword argument replaces the value from the positional argument.
 
what is this syntax?
getattr(socket, n): n
for n in dir(socket)
if n.startswith(prefix)
it is inside a return statement inside a function called get_constants(prefix)
 
Lots of errors?
 
I specially don't know what's the colon after getattr
 
I'm missing some colons and indentation there, and a lot of context
Is that python?
 
6:33 PM
yes, it's from a python reference book. Here's the full function definition:
 
please indent it this time
See the pinned message about our code formatting guide and the sandbox
 
def get_constants(prefix):
  return {
    getattr(socket, n): n
    for n in dir(socket)
    if n.startswith(prefix)
}
 
that's a dict comprehension
albeit the indentation is killing me
{getattr(socket, n): n for n in dir(socket) if n.startswith(prefix)}
 
Oh...
Thanks!
 
It's going to return a dict of all the attributes on socket if the attribute name starts with prefix.
 
6:35 PM
res = {}
for n in dir(socket):
    if n.startswith(prefix):
        res[getattr(socket, n)] = n
 
I'd never seen comprehension written like that
 
me neither, it looks like C code
the final brace matching the indentation of the def is the icing on the cake
What kind of reference book is this?
 
Out of curiosity, which Python reference book is this?
 
what he said
 
Andras is a genius
and a faster typer
 
6:38 PM
:D
 
well sorry guys I did the indentation manually because I couldn't paste it correctly. final brace ended up like that /cringe
 
Still, which book?
 
I would indent the closing brace one level. Other than that it looks fine to me
but then I've been using this non-standard indentation in my own code for some time.
 
I'm guessing the leading brace is on the same line as the return to avoid backslashing.
 
The Python 3 Standard Library by Example
 
6:39 PM
yeah, it's implied continuation
 
Reading it more closely, it is actually a reverse-map, using the attribute value as the key, and the attribute name as the value. WTyam?
 
perhaps it's a contrived example
 
wim
the socket module has a bunch of enums as constants living in module level
 
or just missing context
 
wim
what's avail depends on what's in _socket
 
6:44 PM
"The Python 3 Standard Library by Example" book by Doug Hellmann - I generally like Doug's work, like the PyMOTW series
 
@PaulMcG WTyam?
 
@aderchox what the yam
 
@AndrasDeak Banana
 
wim
wtf
 
6:47 PM
Hello fellow Python user's does anyone have any know what the conventional wisdom is with Pyspark & Multiple Flat Files? I have a list of 2k or so JSON files that I need to move around in the cloud, but I'm having issues with Pyspark when dealing with this, in that it's incredibly slow for something that would take seconds on my local machine
 
/me had to look up "banana"
 
I'm sure the issue is my understanding of spark dataframes ...
but the docs leave me the none the wiser unfortunately
 
@PaulMcG ah, there it is
 
Moving files in the cloud will always be slower than on your local machine
 
@PaulMcG yes his blog articles are put in his book (wiki.python.org/moin/ReferenceBooks)
 
6:49 PM
I understand that, but I just moved around 10gig in a few minutes but struggling with a file that won't be more than 10mb
main diff is that the small file is made up of thousands of json's (with the same schema)
 
Are these files in a bucket, using a '/a/b/c/d/...' directory structure?
 
yes I'm not familiar with your nomenclature but they are in a raw/data/year/day/file.json structure
 
Directories in a bucket in the cloud are just a naming convention, not a real file system. So "moving" file /a/b/c/foo.txt to /a/x/y/foo.txt is actually just doing a rename of a file, that happens to have the full path prepended to it
 
I see, my actual use case is moving from blob (bucket?) to a datalake
 
Some apps will make it look like these are directories, but the app is just parsing the leading path parts and indenting the "sub-directories". Metadata updates to cloud files is really (surprisingly) slow.
 
6:53 PM
Hello all. SuperV here, I am just joining for the first time
 
Welcome
 
i see, thanks Paul that helps in understanding the issue
 
wim
are we closer to 1990 or to 2050 ?
 
sounds like one of those decade trick questions, I'l pass
 
2050 by a few days i think
 
7:07 PM
Thanks Andras. Is the chatroom for Django also as I can't find a chat room for that. Thanks
 
@superv There are some users who know django here, and django is python, so yeah. Just read the local rules to know how to ask :)
 
Melon :)
 
Cabbage
how is it going everyone?
 
Green bean here, I have basics of python and I am learning Django by building an application. How thorough should I be in Python to really get to be proficient with Django. Thanks
 
Cbg
@superv Hard to answer, it kind of depends what you mean by "basics". Precedence of operators? List vs. tuple vs. set vs. dict? Classes? List comprehensions? O-O concepts?
 
7:17 PM
@superv As long as you have your basics down like modules, variables, collections, functions, and control statements you should be fine. Django is more about the model, view, template architecture.
Yeah OOP concepts could also be important.
 
cbg
I had a dream last night that pandas 1.0 had finally released. Woke up to check and was severely disappointed. Oh well
 
7:37 PM
Thanks @PaulMcG and @ex080. I have done the basics up to OOP. Do you think data structure and algorithm will be needed?
 
@superv I think a far better way to approach this would be to start building your app and find the missing pieces as you go along. There is an in-depth official Django tutorial
Very quickly I think you'll find that OOP will be important for models; I followed quite a few tutorials and didn't really understand what was going on there having only really worked with functions and not classes
 
Great advice at @roganjosh I am just having this feeling that I am fraud for not learni g pythin thoroughly and just jumping to Django
 
@cs95 Wes mentioned Pandas 1.0 coming soon, so hopefully it's this month
@roganjosh in the same place re : classes. on my bucket list to conquer them this year.
 
@wim 8 leap days between now and 2050, only 7 since 1990 - but today is Jan 2nd, so...
 
@superv I think most people feel somewhat like this all the time; if you're not constantly pushing yourself into confusing areas then you won't progress much. If you end-goal is to have an app running, I think you'll find it much easier to fill in the gaps as you go, since you'll always be working towards a tangible project. Nobody can tolerate just doing exercises all the time
 
7:46 PM
@superv @roganjosh is right. It's much easier to start and learn along the way than to learn everything then start. Don't let impostor syndrome get to you. You can do it!
 
>>> datetime(2050,1,1) - datetime(2020,1,2)
datetime.timedelta(10957)
>>> datetime(2020,1,2) - datetime(1990,12,31)
datetime.timedelta(10594)
 
You guys rocks. Thanks so much for that encouragement. @ex080 and @roganjosh
 
@Datanovice are you starting from a point of never-written-my-own-class-before or do you have a basic understanding?
 
8:06 PM
@roganjosh from a point of never written my own class wbu?
@roganjosh I have a few courses on talk python to do so will start them soon
 
@Datanovice I misspoke when I wrote earlier; I meant to say "when I first started programming". I'm reasonably comfortable now. I found the official django tutorial... unforgiving... if you don't already have some OOP knowledge. I'm trying to remember some of the resources I used; the only one I've found so far is this
If I come across others that I remember as I go, I can ping you with them if you're interested. Different people learn in different ways, but there were a few that got me up-and-running quickly enough that I could then understand the rest of what I was reading. I don't wanna just be pinging you randomly though so it's up to you
 
I will appreciate the resource too @roganjosh
 
Sure. Obviously it depends on whether I rediscover them through questions on the main feed :)
 
8:22 PM
@roganjosh me too! Thanks mate
 
9:08 PM
no MCVE, see comments stackoverflow.com/questions/58329644/… (bounty blocked earlier)
 
 
3 hours later…
11:48 PM
Both closed
 

« first day (3365 days earlier)      last day (1597 days later) »