« first day (3840 days earlier)      last day (1102 days later) » 

5:05 PM
Now entering hour 8 of brainstorming ways to automate this data entry task that takes 15 minutes to do manually. Do not link xkcd.com/1205 at me, it is already burned into my mind and I am electing to ignore it.
 
@CupOfJava right - but a server doesn't care about a fragment...
 
It's actually a bit hard to use that chart in this case, because the frequency of the task can vary anywhere between "once and never again" and "every five minutes forever"
 
(unless it's thinking it's a path name somehow I guess)
 
I guess I've already done it twice, so that rules out "once and never again" specifically
 
You're in good company. I haven't made progress on my project for about a week because I've been thinking about how to implement a particular feature, and I strongly suspect I'd find my answer if I just went ahead and wrote some code
 
5:07 PM
Highly relatable
 
@CoolCloud Where @Kevin is concerned, never put down to coincidence what can be explained by devilish ingenuity.
@CoolCloud I'm a Fellow of the British Computer Society (the UK's professional IT body). If you submit a decent Python answer and it fails I'd support an appeal if you wanted to make one. Just because it could be fun.
 
@JonClements If I do xpath('/body//a/@href') it treats everything as a path even href="tel:555-555-5555" now I could probably just exclude these types of href values an easier way with regex
 
5:30 PM
@CupOfJava Is there a "tel:" protocol? That might, if so, be a valid destination in some domains: absence of a + labels it as domain-local. Clicking it might reasonably be expected to connect the user to that phone number. But it should be easy to eliminate unwanted links by rejecting hrefs for which startswith('https:\\') is false.
 
@holdenweb there is a tel - if you're on a mobile and tap the link, it brings up the dialer interface for your phone with the number prefilled... or if you've got skype/something installed on the computer and it's registered, it'll load that for you etc...
 
Hey ethical question just as I am new at the new work and don't want to do anything bad... If I write code I think is a great idea to keep as reference is it wrong to keep this code in personal private repo to refer back to
 
@CupOfJava on a side note... it doesn't address your issue, but I prefer css selectors if possible (with scrapy's extensions on how they work), so I'd write that as .select(body a::attr(href))...
 
@holdenweb that could be a solution but then you run the risk of missing href with the value of "./path" or "/path". Some people use the "+" in tel:, some don't, it works either way
there's also an email href I think it's mailto but I could be wrong
@JonClements from my understanding doesn't scrapy just convert css selectors into xpath?
 
yup... but they're just easier to maintain and easier to read
off the top of my head - something like
from urllib.parse import urlparse

def some_parse_func(self, response):
    hrefs = response.css('body a::attr(href)').getall()
    for href in hrefs:
        if '#' not in href and urlparse(href).scheme.startswith('http'):
            yield response.follow(href)
 
5:40 PM
@Kwsswart If you're writing it for a personal project or for school, it's almost certainly fine. If you have a tech job, your employment contract probably has stipulations about who owns your work-related output.
Ranging anywhere between "we own everything you make as long as you're employed with us, whether you're on the clock or not" to "if you wrote it on our time, don't try to profit off of it elsewhere" to "do what you want"
 
> we own everything you make as long as you're employed with us, whether you're on the clock or not
Is that a thing? That sounds grossly illegal
 
It is a thing that employers try to do, sometimes. I don't know how well it holds up in court.
Better to nip that situation in the bud by reading your contract before signing it, and clearly communicating what parts you don't agree with, preferably in multiple recorded mediums
 
@Kevin almost always (in the US)
 
Ok i see what you mean so best read contract and if in doubt avoid trying to save anything done at work
 
> Assignment Provision

This requires the employee to assign any intellectual property rights over inventions made during the course of employment to the employer. It's the most important (and the only necessary) clause for establishing the employer’s total ownership of the potential patent.

Read this provision carefully. It might cover only employee inventions made during the work day and in the office, or it might cover virtually anything you "create," including outside of traditional work hours.
 
5:46 PM
crazy
 
Oh, charming, some contracts also say "we own everything you make while you're employed with us, and everything you make for X days after the end of your employment"
 
It doesn't hold water in the UK... unless you're using some of your employers stuff to do a project that would be their copyright/IP etc... but yeah, during your working hours, the stuff you do for the employer is theirs unless written otherwise... quite a lot of employers now (the big ones mostly) do a day/two a month of hacking away at OSS software on their time and make no claims to that
 
@CupOfJava Yes, all of this applies only to my personal experience (i.e. in the US), I am not a lawyer, I am not your lawyer, etc
 
This timeline is doomed. Can someone hit the restart button?
 
@Aran-Fey I have heard of that in employment contracts, yes.
 
5:51 PM
I mean why would you hire an inventor if they could just invent something using your resources and then go profit off of it?
 
most employers couldn't care what you do in your own time though (unless they're really ones you shouldn't really be working for anyway)... I think the rule of the thumb is, if you're not taking their tech, stealing their clients and taking it somewhere else... etc...
 
on the other hand, I do contract work pretty frequently and it's usually referred to as the golden handcuffs clause
 
Ok. <boop>
<the universe restarts and 13.8 billion years pass, exactly identical to the first time, up until one second ago.>
Ok. Boo... Hmm, the button says only one use per customer. But I haven't used it yet???
 
@holdenweb lol
@holdenweb thays cool, ill keep that in mind :p but this local level competition might not require such :P
 
“There is a theory which states that if ever anyone discovers exactly what the Universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarre and inexplicable.

There is another theory which states that this has already happened.”
 
5:53 PM
@Kevin if youve already used it, how would the now you know that the old you had used it already? it was all reset
 
There's a little counter on the button. It's very high tech.
 
@Kevin Strange. Maybe it's broken. It is 13.8 billion years old, after all
 
is there any difference in performance between clearing a dictionary using pop until its empty, or using clear() method to clear it all at once?
 
@erotavlas I'd have thought so - have you tried it?
 
you can probably set up experiments to measure it, but intuitively i'd say it should be different
 
5:55 PM
Calling any function at all incurs just a little bit of overhead, so even if N pops and one clear do the same thing in the underlying C environment, clear would be a bit faster.
 
and I bet clear() has more chance to use memory better
 
Yeah
 
unless the memory is kept either way
 
Also yeah
 
5:56 PM
and if using .pop() with a default... you'd possibly go into an infinite loop anyway :p
 
Have you tried just turning it off and on again?
 
@erotavlas curious as to why you'd ask that anyway?
 
the other option is assigning dictionary to empty dictionary, probably same as clear since its done in one fell swoop
 
@erotavlas so you didn't really read or understand what I linked you, did you?
 
the earlier page about names?
 
5:59 PM
d.clear() and d = {} are staggeringly different things
@erotavlas that's the one
 
no I didn't have time, was connected to client debugging an issue
 
I see. Good luck then.
make sure to ask 5 more things intertwined with the same fundamental confusion, now that you have the time ;)
 
I will later though its one of the better pages I've come across
 
@erotavlas May I suggest that you stop asking here until you find the time to read it. Thanks.
 
ok seriously it was very long and started with something that seemed unrelated
so i apologize
 
6:01 PM
Here is the CPython implementation of .pop(), and here is clear. I don't understand 80% of what I'm seeing, but I get the gist that clear is faster.
 
@JonClements bwhahaha
 
@Kevin huh, empty dict keys object is cached
not too surprising I guess
 
I'm curious if deallocating a dict (e.g. by deleting its one and only name/reference) is faster than calling clear()... I doubt very much that the difference is worth writing home about, but nevertheless
 
Is deallocation also subject to the GIL?
 
My poorly informed guess is "yes"
 
6:05 PM
more of a subject to the FIN
 
@erotavlas err... no... if you have two references to the same dictionary and assign one to an empty one... that's not the same as .clear()
 
:P get it, gil and fin - fish
 
Hmm, I do get it
 
it's also "fin" for the dict being deallocated
 
a = {'a': 'something'}
b = a
a = None
print(b)
# {'a': 'something'}
a = {'a': 'something'}
b = a
a.clear()
print(a, b)
# {} {}
 
6:09 PM
Fun fact: the world-famous family-friendly comic The Moomins often ends its storylines with the word "slut" in the final panel, because that is Swedish for, roughly, "the end"
There is also a surprising amount of implied knife violence in the comic so I suspect the standards of family friendliness are a little different in Sweden
 
wow... the moomins... I remember that... wasn't there a remake or something recently?
 
I think it gets an animated film every once in a while? I haven't got my finger on the MoominPulse at the moment.
Let's see... MoominValley, released 2019... 3D CGI... Very expensive... Popular in Finland.
 
got me thinking back to growing up stuff I use to enjoy.... The Raccoons - one of the best theme tunes
 
Hooray for adaptations and remakes that aren't cruddy!
 
you tube has really increased the amount of ads its crazy
i think ads should be toned down for educational content, its so disruptive
 
6:17 PM
<I think about recommending adblock, but realize that the more popular it becomes, the more likely Youtube will try to crush it, so instead I say nothing>
Nice weather today.
 
snow?
 
I don't have any, but I support your right to have it
 
we had it
 
I wondered what that trending twitter tag was about.
 
yes, Kevin supported it after all
 
6:18 PM
@Kevin if you now go on to say - "Does anyone fancy a cuppa" - I'm going to worry you're becoming British or something :p
 
<I am quietly offended but get imperceptibly huffy rather than bring it up>
My upper lip is stiff like iron, I will not break
 
I heard cup
 
Only good things in cups here
 
@Kevin your sarcastic wit is progressing but not yet British masterclass level yet... I think you're safe for now :p
 
Phew
 
6:21 PM
^Paritosh I'll change my name to CupOfPythons
 
@CupOfJava because that's everyone's favourite beverage? Well... a quite surprising beverage at least...
 
s'pose it might be okay with some milk and 2 sugars? :p
 
It has a little bit of a bite to it
 
6:26 PM
@CupOfJava indeed... probably best to treat it like an Earl Grey and just a bit of lemon to it
 
@CupOfJava It is...acceptable.
 
that definitely looks like some lemon on it :P
 
the internet was a mistake
that took me 3 seconds to find. That's too fast for something like that.
 
6:41 PM
@CupOfJava Snakes brewed or snake's brood?
 
the snake stirred, not shaken
 
laurel
 
Shaken, no. Snakin', always
 
7:01 PM
don't shake a snake it might raddle it
 
That's a multilayer pun given that raddle means to interweave (which I just learned) while rattle means to make sharp successive noises
 
at least all these snake puns aren't constricting...
 
I did not expect these puns to scale up like this
 
they're slithering away though...
 
the problem is that snake puns just don't have legs
 
7:12 PM
oh gawd... what's gone wrong in my life that I'm actually sitting here and trying to think of something to better that :p
 
I've never thought much of teeth - I'm no dentist - but when it comes to snake jokes, I'm a big fang
 
okay now we've jumped the shark
 
7:32 PM
I accidentally added a "g" to "python" and image search results did not disappoint
 
Wow, I can't believe I left and missed all of these hissssterical jokes
 
I can believe it.
 
i googled gpython just to be deliberately obtuse, and turned out it's apparently actually a thing
 
hello
I have a question
I want to make a project but I don't have any original ideas of what I should make.
Any suggestions?
 
make an idea generator
 
7:38 PM
.... breh
 
@12944qwerty check this resource
 
def idea_generator(): while True: yield 42... oh wait... isn't that a random number generator? :p
 
sorry, sorry
make an original idea generator
 
make it return 4
 
7:40 PM
have two text boxes that spit out a random word from a dataset until you have a idea
 
@ParitoshSingh the elusive d50 die
 
exactly!
 
@CupOfJava I want to do something that will test the extent of my programming ability
@ParitoshSingh blocked on my computer (school's computer)
 
Write me a roguelike
 
A word generator can do that. It just depends on how complicated you want to make it
 
7:43 PM
@12944qwerty whelp... i know how that feels.
 
my school blocks way too many websites so....
@Kevin what's that?
 
An old school role playing game, traditionally rendered using ASCII characters on the command line.
 
oh
i know those things...
 
AI-powered idea generator......
 
I still need to learn AI and machine learning
planning to learn over the summer
 
7:45 PM
@12944qwerty Whatever you end up programming, make sure to revisit the project 6 months after you finish/abandon it. Looking at your old code will help you realize how important it is to write good code.
 
True....
 
The nice thing about a roguelike is that you basically don't need any third party libraries, or even many standard libraries. Besides the key stroke detection methods in msvcrt or curses, you can basically do the whole thing with zero imports.
 
@12944qwerty I don't know your level of expertise but something tells me you have a lot of time to learn those still. Learn the fundamentals first.
 
"10 percent inspiration, 90 percent perspiration." Ideas are easy.
 
7:47 PM
Ugh, Randall had no idea about PEP 8, did he?
 
@AndrasDeak for?
 
Let's see, Python was #353, this one is #534. That's 60 weeks of comics.
 
at least he's using a dark theme though
 
@12944qwerty come again?
 
what did you mean in your statement?
the one where you tagged me.....
 
7:49 PM
Which part of my message requires clarification?
My message was a direct reply to your earlier message, see the little arrow at the start of my message. Does that help with context?
 
If you're asking "which specific discipline (e.g. AI, data science, web development, etc) should I learn the fundamentals for?", I think Andras is suggesting you learn the fundamentals that all of them have in common. Like, functions and loops and stuff.
 
oh
I've been learning python for almost 2-3 years now... i have those down
 
while loops help you function well, classes continue to decorate your experience. So be sure to return fresh from your break to yield maximal results
(feel free to hate me now. I hate me, too)
 
lol
 
And then numerical libraries like numpy or pandas. I've never dabbled with ML but I have a very strong suspicion that jumping to that high level after native python would also be suboptimal.
 
7:57 PM
try to answer these riddles. You'll learn way more than you thought. Something there will spark some ideas.
actually, I think numpy is a good next step. Perhaps not pandas just yet
 
yeah, i still need to learn numpy and pandas...
I have no idea why I haven't even tried using it
 
I suppose "fundamentals" is a bit of a subjective category. One person might think that they know the fundamentals after learning just functions and loops. Another person might think you also need to know lambda functions and list comprehensions and decorators and metaclasses and the walrus operator and __matmul__ and coroutines and the descriptor protocol and state machines and doubly linked lists and A* search and...
Y'know, the basics
 
Write a full stack web app. You'll test your skills across a number of languages. You'll learn about databases, user interface design, web deployment, security, server maintenance, template rendering, server/client relationships...
 
i've never heard of __matmul__ :O
 
Plus that will fill in many knowledge gaps you have about the way things we use everyday actually work. At least it did for me.
 
8:00 PM
What! I thought you had the fundamentals down!
Just kidding. matmul is a real language feature but it's not essential to know.
 
lol
idk anything after that except coroutines and linked list
lol
What is matmul then?
 
or just go for walking before you run... I've seen a lot of people that "know" Python because they use "Django" for instance
 
I suck at django
I use flask more often
Much more self-explanatory
What is matmul then?
 
sure... but why are you asking what __matmul__ is? Do you not have the same resources we all have these days to look that up?
 
__matmul__ is the function you need to define in your classes if you want to be able to use the "at" binary operator, for example a = b @ c. It was introduced mostly for the benefit of mathy users who wanted a nice way to express matrix multiplication. Your operator doesn't have to have anything to do with that, however.
 
8:02 PM
@JonClements I'll always be walking, comparatively speaking. So having fun, expanding my understanding, and being productive are most important to me.
 
@JonClements Easier to learn person to person
OH
Matrix Multiplication?
 
The fact that the data model documentation does not say what matmul is for is an indication that you can use it for basically whatever you want
 
Probably not going to be using that though....
 
Yeah, me too. Good to know about though.
 
Obviously the proper use case is to create email addresses with it
 
8:04 PM
if pathlib is allowed to use the / operator for silly purposes, then my email module can use @ :-P
 
What was is used for before email?
 
@12944qwerty indeed... but why use people's time when a quick look at the documentation would have told you that?
 
like abbreviating "at" is not really that usefull
 
@JonClements Why not? If you don't answer you don't... I just feel it's a lot easier to learn from people live instead.
Anyway
still gotta figure out what to make lol
 
easier? Sure... wouldn't it be more satisfying instead of using other people's time, that you do a few minutes research and grok it yourself and maybe if something you didn't understand - ask about that?
 
8:07 PM
Wikipedia tells me that the at sign has been present on typewriters for 120ish years. The article doesn't mention any particular non-contemporary use for it in English besides abbreviating "at", so I guess that's what it was mostly for.
 
@12944qwerty whatever you want? I'm not sure what advice can be offered on that - what kind of stuff interests you - go for that?
 
I want to go for something that I won't quit in the middle.... again
I tried making 2D golf... got stuck at the physics and quit since I wasn't able to find anything
 
Physics is indeed hard
 
I still have yet to learn physics in school soooo
next year :/
 
Physics is hard even after you have learned physics ;-)
 
8:10 PM
@12944qwerty sounds like basically everyone in this room. the half-finished projects part, I mean.
 
I know
 
Not all of them. Biophysics is pretty soft.
 
by "soft" I assume you mean "squishy"
 
Oh yeah, I never finish anything. I just make sure to put all the important learning experiences and stuff in the first half so I still get most of it
 
Most programmers that I've heard have that habit i think
wow, I just got 110 WPM no mistakes....
first time ever (accuracy i mean) WOOHOO
 
8:14 PM
No idea what you guys are talking about. I've finished every last one of my projects. *casually leans on a goal post that wasn't here before*
 
@JonClements maybe not advice... just suggestions
 
Isn't the hardest part about physics that you need an entirely different set of rules at different scales? Like the laws that I'm bound by, my sub-atomic particles are not?
 
.... that just got unnecessarily thoughtful Lol
 
@Dodge no
 
@12944qwerty forgive me for saying, but that sounds like a you issue you need to work out - and suggestions just won't work... it's you that needs to work out what you want
 
8:15 PM
it's all Standard Model plus gravity
 
In real life, as far as we know, there's only one set of rules. In computer simulations, you probably want to approximate those rules with a simplified system, and which system you use will depend on your scale and what kind of values you need to handle.
 
but if you put a lot of that together you end up with hit-head-with-club physics as an emergent property
 
@AndrasDeak I knew a guy that bailed on a academic career in physics becuase of theoretical disconnects
 
y'all too smart for me rn
 
@Dodge there are many reasonable reasons to quit academia but that doesn't strike me as one
 
8:16 PM
For objects the scale of a human, moving at speeds significantly smaller than C, you can probably get away with Newtonian physics, even though it's been proven inaccurate for decades.
 
@JonClements I've tried... I always come out blank. I'm not one to have ideas that I can make....
 
If you want to model atoms, you need to account for nuclear forces. Planets, relativity.
 
@AndrasDeak ooo, isn't there a small potential the "standard model" might be slightly altered from recent findings or something?
 
@JonClements no
 
@12944qwerty and how do you expect strangers on the net to help you with that?
 
8:17 PM
Something something muons something something unexpected measurement independently verified
 
There was hope for about a week, then there was a new theoretical prediction that shifted the traditional theoretical result and it now overlaps with the new experimental result
usual disclaimer: I'm not even remotely an expert in this field, I just see the news
 
"we nudged this existing theory a quarter inch to the left and now the model works again" still counts as a success in my book
 
and the new theoretical result is "controversial"
@Kevin it's the wrong kind of success
we want clear evidence that the standard model is wrong
 
Right, I understand that overturning all conventional wisdom will get you some fat research grants, but if you don't bring in a cake for quarter inch improvements, you'll never have cake
 
@JonClements idk, but it's better than having no idea/help at all
 
8:21 PM
@12944qwerty the help has been given - you need to decide on that
 
@12944qwerty If it makes you feel any better, I think coming up with ideas for fun projects is a skill that you can practice and improve at
 
And some people have more ideas for fun projects than he knows what to do with. Not going to name him to protecc.
 
protecc?
@Kevin possibly :/
 
wow, time flies
 
♩ ♪ You're so vain, you probably think that comment was about you ♫ ♬
 
8:23 PM
/me taps paws... low orbit tea cannon... :p
 
... according to urban, protecc is a drug... assuming urban's wrong again lol
 
Why yes, my ideas are amazing and numerous, thank you Andras
 
thought so lol
@AndrasDeak ok, now i'm confused what you meant by that
 
2017! What is this, a meme for boomers? Wait, "boomer" is also an outdated meme... [I vanish in a puff of paradoxical smoke]
It seems that Andras is protecting this supposed Idea Man's identity, so people looking for cool ideas don't pester him
 
8:27 PM
yes
 
ohhh
 
@Kevin great - good job mate... now I'm listening to Carly Simon
 
Personally my idea queue works in first-in-first-out order, so I cannot suggest another idea until I am given a fully functional roguelike
 
wait, you said roguelike was like a text on console storymode?
 
full-fledged 3d graphics is also allowed
 
8:30 PM
It doesn't necessarily have to have a story. I don't think the original Rogue had anything more than "go to the bottom of this dungeon and get the cool amulet"
 
"storymode" may have been Youngish for "read text on the screen and type commands"
 
@Kevin ughs... roguelike... I'm supposed to be playing an MTGA game Friday... been trying to brew some strixhaven...
 
If you're thinking of something strongly narrative-driven, you may be imagining a text adventure, like Zork. In a rare two for one deal, I will also accept a zorklike.
Screenshots may help illustrate the difference. Rogue. Zork.
 
@Kevin I'm sorry - original Rogue?
Idk what rogue is....
 
8:35 PM
@12944qwerty so many things to learn on google!
 
@JonClements Hmm! The release snuck up on me, I've fallen behind on spoilers
 
Oh, yes. I'm thinking of Zork
 
I think Reckless Amplimancer was designed based on secret camera footage of my kitchen table games
 
@Kevin yeah... it's a little odd... in standard, it's umm... not sure... temur adventures with a few of these cards are going to be strong...
 
If you're not turning N units of resource A into 2^N units of resource B, are you even trying to play combo
 
8:39 PM
the key mechanic for strixhaven is "learn" and "magecraft"
 
Learn is neat (if parasitic), magecraft is a bit vanilla for my tastes
 
Um, SO question. What does the ?rq=1 mean?
I just accidentally came across it
 
Looks like a url parameter.
 
yes
but what's it for
 
Depends on the webpage.
 
8:42 PM
what does it do
I found it here
oh
SO webpage.
 
I would say "check the page's source code" but SO has a lot of intentionally obfuscated javascript.
 
Idk javascript
so I wouldn't know how the parameters are handled in js
 
maybe it's the vote count
 
rq does not seem to relate to vote count
 
or the amount of replies on the question
 
8:44 PM
ohhh
related question
i got it from the related sidebar
 
It wouldn't be a parameter if it had something to do with a quantity belonging to the question or answer.
SO doesn't want you to be able to set your question's score to 100 by putting rq=100 at the end
 
that depends
 
@CupOfJava I did rq=0... nothing happened
 
is it a parameter used for display
 
@12944qwerty Useful information. In that case, rq=1 may indicate that you got to the page by clicking on a "related question" link.
 
8:46 PM
It's probably a boolean
 
like in a signup form you use url parameter
 
but I doubt its either
 
It could change the way the page is rendered -- maybe it shows a "return to related questions?" link somewhere. Or maybe it's used for analytics -- the server keeps track of how many people came from a related questions link, to determine how useful that feature is.
 
it's a data tracker
data-tracker="rq=1"
 
8:48 PM
If you don't track your data how do you know it's real?
 
So we agree, it's a doing data tracking i.e. analytics
 
it's used for the side bar
 
so it's probably for analytics?
 
no it is data for the side bar
view page source
ctrl+F "rq"
 
I hope this doesn't have anything to do with cookies
 
8:49 PM
umm.. is this SO related @CupOfJava?
 
what do you mean....
 
@JonClements yes
I was wondering what the rq web parameter was from this question i came across in the related sidebar
 
@AndrasDeak oh good cookies. that would go great with my Cup Of Python.
 
same as "redirect=1" sometimes for closed questions for a non-registered user
 
..
@JonClements ?
 
8:54 PM
Are you telling me that we're being tracked? On the internet? When did this happen?
 
Most Quandrix students fundamentally disagree with the concept of "enough"... How do I enroll in this off-brand Hogwarts, please?
 
@CupOfJava ever since we all started using it?
 
@JonClements dupes mostly, I think. Otherwise those would forward you to the target.
 
Wow, crazy
 
If you're that interested though... use a GDPR request - stackoverflow.com/legal/gdpr/request - takes a little bit but you'll get everything SO has about you
 
8:57 PM
I was just being sarcastic
@JonClements You have a pretty cool profile image. Where is it from?
 
I can't see pfps because of my school
:(
 
Tim Berners-Lee looking at the earliest world wide web traffic at CERN in 1991, back when there were two websites, thinking, "hmm, Bob spends a lot more time on website #1 than #2. Maybe I can sell this personal data to a multinational conglomerate"
 
puppy snooze time... servers are less angry now... not sure if in 5 hours they'll be quite as less angry... but it's SEP for a bit :p
 
9:13 PM
I thiink im gonna try understanding webhooks
bye
lol
 
9:55 PM
I was unable to get this to work, test module is unable to locate the antigravity module

https://stackoverflow.com/a/24266885/1462656
 
I'm not sure it's a good idea to have a name conflict with a standard library module in the example.
 
Is there any easy way to jump to a date from here?
Rather than scrolling, I mean.
 
@CoolCloud beg your pardon?
What is a data?
 
Ugh I hate myself :p
 
an android in Star Trek, c'mon
 
10:01 PM
@FélixGagnon-Grenier :p
 
Transcript has date-based endpoints chat.stackoverflow.com/transcript/6/2021/4/20
 
@erotavlas what exactly are you trying to do?
 
I was trying to organize my code according to that example, I have a class in one folder and a unit test file in another
so I wanted to import the class in the unit test file to run tests on it. When I run the test file in VS Code it cannot find the import
i have it exactly as structured in the example I linked (well with my own file names)
 
chat.stackoverflow.com/transcript/message/51993630#51993630 ~ If anyone comes up with the same issue or have been intrigued(I don't think anyone would make such mistake). For some odd reason my site-packages were completely wiped, not even the pip folders were there. So I assume python used the universal pip available, not the environment one.
@AndrasDeak Got it, thanks
 
you could've also searched for your own messages chat.stackoverflow.com/search?user=13382000&q=virtualenv
 
10:11 PM
I coukd, but I just didn't know what words I've used there, but I did remember the previous messages, so I just searched for those, found the date, and then searched the day.
 
OK
you could've also clicked through to any of the "previous messages" to get to the transcript there (unless I'm misunderstanding)
 
@AndrasDeak I couldnt find any option from there to click forward or backwards. Though I could have taken the link of that and move forward.
 
@Code-Apprentice maybe I'm missing something inside the init file, they are blank right now
 
10:36 PM
VSCode is hard to use with python
 
its not too bad
How do I distinguish between my modules and those in the python environment like pytest?
this is so confusing, if I run it with 'python -m' in command line it works but not in the IDE
 
At times, I get a huge result set from my DB. For debugging purposes, I am logging this result set. If the resultset is > 1000 characters, is there a way, I can restrict to write only the first 500 characters + "....." + the last 500 characters in logger.debug(). I am using file handler with my own formatter. I tried to addFilter to check for the resultset size but it does not print the line if > 1000 characters.
 
@Shanthi this might be a dumb question, but can't you just write a function that handles this logic and builds the string depending on its size, and call that every time for logging?
 

« first day (3840 days earlier)      last day (1102 days later) »