« first day (3579 days earlier)      last day (1352 days later) » 

12:59 AM
@roganjosh OP's reply is classic
 
 
6 hours later…
6:43 AM
Back to work cbg
 
 
2 hours later…
8:21 AM
 
@VisheshMangla As a rule of thumb: Using super() to refer to a method other than the current one is almost always a sign that the class is broken. It means the referred to method is not substitutable across subclasses, which breaks LSP.
@AndrasDeak FWIW, a good chunk of the time me doing something fishy on purpose is a mistake. :P
PSA: If you package your software for easy installation, make sure it actually works. refuels chainsaw
 
8:47 AM
true, my code is far away from the SOLID principles yet @MisterMiyagi
 
You may want to get it closer to SOLID principles, then. At least LSP as a hard rule is good to follow.
 
yeah, I actually wanted to block using the init method directly.
I ll refactor it soon
 
9:12 AM
Oh. My. SO. It's Monday again, isn't it?
Didn't-read-the-tutorial-OP asks how to get an element at a specific tuple position. Classical-SO-answerer suggests to read the value of that element, then use tuple.index to get the index of that element, then use that index to get the value of that element. Mind blown.
 
@MisterMiyagi checking the time from empty wrist Yes
 
Oh nice, there's a 153 upvote dupe target...
 
Ha, I know those kinds of questions. They're usually depressing, but when you describe it like that it's actually pretty funny
 
True that. It would actually be pretty entertaining and motivating if the rep ROI wouldn't be so insanely above well-research Q&A.
 
9:35 AM
1 downvote = 1 upvote
 
 
2 hours later…
11:12 AM
hi, im trying to read a file but am getting a utf-8 error
outfile = read_file.read().encode('utf-8').strip()
with error: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 8: invalid start byte
 
that error doesn't match your code
you're encoding, not decoding
...unless the error happens in the read(), I suppose
 
yes that is my hunch too
not sure how to fix
 
@ThelurkerLurker change encode to decode
 
@ThelurkerLurker How did you open the file?
 
AttributeError: 'str' object has no attribute 'decode'
```    with open("/content/bigfile.txt", "w", encoding='utf8') as f:
        for tempfile in file_list:
            with open(tempfile, "r", encoding='utf-8' ) as read_file:
                #print(read_file.readline())
                outfile = read_file.read().decode('utf-8').strip()
                #f.write(str(outfile.encode('utf-8').strip()))
                #f.write(str(read_file.read().encode('utf-8').strip()))```
 
11:20 AM
You're opening the files in text mode, not binary mode. What you have from .read is already a string, not bytes
python does the decoding/encoding for you
 
if i just have f.write(read_file.read()) i still get UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 8: invalid start byte
 
then your input file is not utf8-encoded
 
i see
what do you recommend?
 
you can double-check by just doing read_file.read() in the with block, it should raise similarly
 
maybe read line by line and try except and lines that dont work?
 
11:23 AM
What I imagine people think they are doing when doing foo.encode("utf-8") is. I got this file just make it be utf-8. Idc how :D Atleast that's how I felt :P
 
@ThelurkerLurker find out the real encoding. There can't be too many options, but guessing is always risky
if I couldn't beat the person who gave me the file until they confessed the encoding, I'd open the offending file in binary mode, .read it into a bytestring, and play interactively with .decode(...) to find a reasonable-looking encoding. UTF8 and latin1 (maybe latin2) or something with Chinese characters are the main suspects.
 
@ThelurkerLurker check out chardet, it's not bad: stackoverflow.com/questions/269060/…
 
there are libraries that try to guess for you (e.g. chardet), but that's also just guesswork
 
@AndrasDeak I like the first method :)
 
There can be files where multiple encodings work, and then later on you find a file where there's a difference and you guessed wrong. Figure out the source of the file, that's the only sure way.
 
11:26 AM
@AndrasDeak Neo, you need to find the source it's the only way. - Morpheus xD
 
@ThelurkerLurker this looks like you are trying to read utf-8, only then to encode it to bytes. Why not read bytes directly?
 
or even using python to do cat infiles >outfile ;)
 
im using google colab for this - and i saw if you do file xxx it should tell you the encoding. so i tried this - the file xxxx doesnt work but now im not getting that error anymore
strange
```    with open("/content/bigfile.txt", "w", encoding='utf8') as f:
        for tempfile in file_list:
            with open(tempfile, "r", encoding='utf-8' ) as read_file:
                !file $tempfile
                #print(read_file.readline())
                #outfile = read_file.read().decode('utf-8').strip()
                #f.write(str(outfile.encode('utf-8').strip()))
                f.write(read_file.read())```
 
@MisterMiyagi this reminds me of the word clip trying to help :D
 
Yeah, but now I realise they indeed want to concat. :/
just open the files in binary mode, then.
"wb" and "rb"
 
12:13 PM
I have a git repo A, which is a collection from X,Y,Z using git submodule. Now I created a branch in A feature foo. It exists on all individual sup repos aswell.
Now a coworker is working on the individual repos X,Y,Z. Now he has a branch on all repos called bar. Now I want to merge his bar into my foo. But since bar only exists in the individual repos I have to manually merge each repo, instead of being able to just merge bar into foo for repo A, which holds all the others. Is there a way to "import" the bar branch from X,Y,Z into my A repo, so that I can only merge once?
 
you lost me at "git submodule"
 
Is it not a good tool?
 
I've read mixed things, but in any case I don't know how they work
there was also something about submodules vs subtrees but again I don't know this part of git at all
 
12:47 PM
@AndrasDeak Probably something about mapping submanifolds of Hilbert space.
@Hakaishin Submodules should be strictly separate from each other, i.e. A/foo cannot contain any files in X/bar. That means there isn't any point mergine X/bar into A/foo. Am I missing something here?
 
@MisterMiyagi I've been meaning to ask: is the chainsaw for the code or the author?
 
@AndrasDeak The code is miserable enough already. Poor thing doesn't need any more mutilating.
 
A is only a collection of XYZ. Now you can create a branch in A foo. This creates a branch in XYZ aswell. If you switch that branch, it switches it for XYZ aswell. But if you create a branch in XYZ manually. You can't switch just once in A to switch for XYZ. I was wondering if there is a way to subsume manually added branches on XYZ to A. So that I can just do checkout A/bar or merge A/foo into A/bar. Which would then merge branches foo of XYZ into branches bar of XYZ
 
As for the authors, well, I'm allergic to people wasting my time by neglecting to invest their own.
 
but you need to get close if you use a chainsaw... that has to be bad for your allergy
 
@AndrasDeak Since the software is an undocumented, incomprehensible blob that is mission-critical, I'm afraid that's for the best. :/
 
xkcd reference
 
Hello boys and girls
 
@khajvah hey again :)
how's JS land? :P
 
1:11 PM
meh :D
still surviving
I am doing cool stuff though, microservices and crap
 
@khajvah please edit that last word :P
 
:D
 
(things have been more on the family-friendly side for many years)
thanks
Surviving is... OK I guess :D
 
I miss Python though
 
:(
And we miss you too! Well, the few who remain from those times anyway
you're missing out on fun hours of debugging badly formed questions
 
1:14 PM
:D, actually tried pushing in some small python internal projects at my company
but since I am alone, not much luck iwth that
 
Too bad. Being the only python dev on a python project sounds like job security ;)
 
I am kind of responsible now for stuff like that. Actually promoting NodeJS for everything :(
 
I've heard... things about nodeJS ;)
 
this is so cool
 
@AndrasDeak It's honestly not as bad as people say
 
1:16 PM
@Hakaishin yup
@khajvah I have no way to gauge either way :) There is that one figure about the mass of huge objects :D
 
with all its unintuitive things, still gets the job done. With async stuff, it performs well
of course it would be cool to have a type system
 
I take it typescript and nodeJS are incompatible?
 
yeah, typescript is cool. we have a few projects with it
they are compatible but mixing the two(JS, TS) in the same project is kind a pain.
 
I see. I guess that's expected.
 
Lately discovered the field of software architecture. Really interesting
 
1:24 PM
As in "software architect"?
 
kind of, amazon.com/…
I used to think, the architect is just for annoying the engineers but it's actually an interesting field
 
I always wondered what that covered
 
They told me to find an interesting conference to attend, so I(somebody who thought conferences were useless) looked for one in Berlin, as I like Berlin. It was software architecture conferece. Kind of opened my eyes
 
great motivation :D
 
Concept: Yelp, but for conferences. Ratings are provided in categories such as "free food", "bathroom sanitation", and "places to nap"
Unclear how to get ratings for conferences that aren't yearly. We'll figure that out after our IPO.
 
1:35 PM
food was horrible tho
 
@Kevin Like there will be any business left after ipo :)
 
Remember to vote "👎" and leave a comment
 
there was free wine sometimes which is 5 star
 
Wine and not beer? Odd for a German conference.
Specifically poster sessions should have beer and pretzels
 
beer too, I forgot :D
 
2:09 PM
Hmm, I was mostly ambivalent about the retirement of Flash at the end of the year, but now that it's looking like it will be my job to replace the Flash applets on my work project, I suddenly have a personal interest in extending its lifespan for a couple more years
 
2:26 PM
"even though free and open source alternatives [to Flash] such as Shumway and Gnash have been built, they are no longer under active development." Open source community, I am disappointed. How many of you killed time on Newgrounds while your code was compiling, and now nobody can lend a hand in their hour of greatest need? Tsk tsk
 
hi
hey would any of you know if we reduce parallelism in Google Cloud Composer, would it increase the speed of a DAG task? Because expectation is that the entire composer would be available for its processing.. Assume there is a single task and single DAG in the entire cloud composer...

Corresponding Question Link:
https://stackoverflow.com/questions/63140039/google-cloud-composer-relation-of-coreparallelism-executor-open-slots-and-tas
 
I don't know what any of that means, but I wish you luck on your journey
 
@Kevin 1+ xD
 
I usually like questions about Directed Acyclic Graphs but I don't think I can solve this particular DAG problem
 
2:46 PM
I'm somewhat sure these kind of question would be generally answerable if they weren't using MEGACORPX-speak, but regular-people-speak. Future generations will marvel at the COUNT(MEGACORPX)+1 civilisations co-existing in our time.
 
Hmm, I wonder if Flash will continue to work on older versions of browsers if you refuse to install updates. Or maybe they snuck in remote kill switches already.
It's not inconceivable that I could just slap "this page is best viewed in IE 6" in the footer and call it a day
 
The only problem I see with that solution is with convincing management
"Hey Kevin, can you please fix the bug that doesn't let me view this in Chrome. It would be great to have it in a week, thanks"
 
Thanks to a quirk of our user base's demographic, Chrome compatibility is way way way down on our list of priorities
 
I just realized, you can farm reputation in node.js tag, but I am not sure if I can live with that guilt in my heart
 
3:05 PM
Methodically gaining reputation is not inherently bad, if doing so improves the quality of the site
 
I have:
def foo_expected(bar):
	print(bar)

def foo(bar, config):
	print(bar, config)

foo_partial = partial(foo, config)

Zmq(callback=foo_partial)
and I get the error bar should be bytes like not config. Am I using partial wrong?
I'm pretty sure before the holidays this worked :P
 
@Hakaishin yes, partial fills the first positional arg first (I think)
Does partial(foo, config=config) work by any chance?
 
Ah yes thanks. I must have removed the "unnecesarry" code and not it works again. Thanks :P Mondays after holidays are the hardest
 
Andras' crystal ball game is on point today.
Mine is still booting up. There's a 2 GB update queued and it's going to take a while to make it through my 1 baud ouija board.
 
@Kevin it's a bit selective. I just searched for a bug for 10 minutes only to realize that I made a sign typo in the definition of a rotation matrix... Not where I was expecting it, working with 3d arrays being stitched together and using them in discrete Fourier transforms...
 
3:15 PM
Is this one in your opinions? A question where the OP didn't try to code the change, just posted a spec of what they wanted stackoverflow.com/questions/63228403/… . If it is CV material, which of the current menu of reasons do we give? (Community-specific?)
 
@AndrasDeak I know some of those words
 
@smci strictly speaking it might be no MCVE because I can't copy-paste it, and it seems to ask for ready-made code even though they showed some other code. But this is the tag where people seem to be a lot less picky...
if it were numpy I'd consider closing it as too broad
 
but finding self-induced bugs is much harder
 
@khajvah all my bugs are self-induced ;)
 
@AndrasDeak Honestly though, I think we have to enforce the bar on LQ/spec-only in pandas... it's a daily tide getting worse. Ok I'm requesting it , I already VtC'ed
 
3:19 PM
@smci FYI if you're OK with the link text being different, [mcve] expands to a magic link in comments on the main site
 
@AndrasDeak Thanks, useful to know. We almost need specific tags [mcve-numpy] and [mcve-pandas], for reasons frequently discussed here
 
hi! Anyone for a GAE question? I'm getting a timeout error when I try to upload a blob
I'm using Firebase Storage
 
@DanielGarcíaBaena if it's about your new question on the main site, please don't ask for help here for 2 days as per our rules
 
ok, I will then
 
thanks :)
 
3:24 PM
I'll keep searching on Google
this thing it's driving me nuts
 
3:38 PM
@AndrasDeak some do peer programming but I still am not convinced it is a good idea
 
Love me some "error: something went wrong" message boxes
 
except: print('Something went wrong')
 
Mmm that's the stuff
 
Actually surprised there are only 30 matches. I expected hundreds
 
3:52 PM
"Needs debugging details." OP posts a wall of code and blames "Global optimization" and numpy libraries, when it's simply calling log on a negative number. I doubt the OP wrote this code. stackoverflow.com/questions/63182486/…
 
4:16 PM
Just made a comment essentially saying "you should not want to do this thing that you want to do", I expect to be screenshotted on reddit/r/SO-jerks within the hour
 
Oh, that's a thing? I'm sure I'm a regular there
 
I don't know whether it's a thing, but I may have just wished it into existence retroactively
 
you broke my heart, Kevin
 
Hmm, no obvious hits when I search for it. I'm glad I didn't waste a charge on my monkey's paw for that.
I guess it doesn't bother to cruelly twist the intention of my wish, if I'm already assuming there's going to be a bad outcome
 
lawful evil monkey
 
4:37 PM
@Kevin Is reddit/r/SO-jerks reasonable comment, IYO? (I've never looked at it) EDIT: oh you made it up. But you might enjoy this: reddit.com/r/cscareerquestions/comments/a1i10u
I mean, Q: Write a program to print the 17th prime number A: print("the 17th prime number"). Now in Python 3
 
5:26 PM
I've graduated from a 'something went wrong' error to an 'invalid value' error. Progress.
 
@smci python2 compatible!
because parenthesis don't make a tuple
 
Hi folks :-)
Here I have a strange situation where I expect a syntax error but I don't get it:
myset = set(['A''B'])
myset will just be:
{'AB'}
Am I wrong to expect a syntax error?
 
@zabop You need the comma between elements: myset = set(['A','B'])
 
yeah I am aware of that
I had a more complicated program in which I forgot the coma
 
@zabop Aor are you trying to get string concatenation between 'A''B' ?
 
5:35 PM
so it gave my strage results
nope, I am wondering why I am not getting a syntax error if I don't use a comma
 
@zabop Because it's illegal Python syntax, AFAIK. Are you expecting string concatenation like in C/C++?
 
But if it illegal why I am not getting syntax error?
I'd like to get a syntax error for that
I am expecting a syntax error
 
Little known fact: "A" "B" is legal syntax. It simply combines the string literals.
>>> "A" "B"
'AB'
 
alright
if that is legal, than everything is good here :)
 
I don't believe there's any way to tell Python that you don't want it to be legal syntax. But maybe there's a third party linter out there somewhere that would flag this as suspicious
 
5:38 PM
yeah
I'll pay more attention for this kind of stuff then
(I didn't check carefully, I took lack of syntax error as indicator that it is what I want it to be - clearly that was wrong)
 
flake8-implicit-str-concat is a flake8 plugin that will catch unnecessary use of it. Useful in combination with Black, which will rewrap long lines of text if they're not already wrapped.
 
@zabop Python has implicit concatenation
but only for string literals
So you can write something like...
 
Ah, if only compilers could verify that the program does what we want, not what we say... Maybe some day.
 
text = ('this'
' is some text'
' that I want as one bit of text'
' but on several lines hooray!'
)
that's just one single line of text
 
docs.python.org/3/reference/… agrees with Wayne that the principal use case for literal concatenation is for multiline strings
 
5:42 PM
@roganjosh I also recently learned that the GPDR only applies to selling-data-type-cookies
 
thanks both :) those are helpful!
 
if you're just using cookies for logins, you don't need to actually GPDR
 
I can't think of any practical reason to concat strings without a newline in between, but I guess the language devs consider it more trouble than it's worth to forbid it
 
of course, IANAL, etc, etc.
@Kevin Yeah, foolish (in)consistency and all that
 
Contrived example: when you want to construct a string that contains both quote marks and apostrophes, and can't be bothered to use any of the more sensible approaches
 
5:43 PM
That's what I was just going to suggest
 
>>> s = "Ed's famous catchphrase is, " '"Brush your teeth, fool"'
>>> print(s)
Ed's famous catchphrase is, "Brush your teeth, fool"
So elegant and not confusing at all B-)
 
Thanks, I hate it
 
👍
 
r- and f-strings work too. It looks silly in short examples, but it's super useful in the Pallets projects for writing long error messages and warnings.
 
Oh yeah - so you can mix plain, raw, and f-strings & still get concats?
 
5:48 PM
yep
 
nice!
 
The flake8 plugin catches concatenations on the same line, so only multiline strings are allowed to use it, which makes it easy to see what part of a message is getting formatted. Each line ends up having one prefix/quote style.
 
It's nice that when I say "I bet there's a Python thing that does this already", it usually turns out that there is.
It really rustles my jimmies when the seemingly simple thing I want has never been done by anyone else ever, not even DenverCoder9. So it's nice to have a software ecosystem where that doesn't happen to me all that often
 
True story
 
Hmm this API has a function with a parameter is_widget_reticulated and AFAICT the legal values for it are null and 0. ಠ_ಠ
 
5:56 PM
The worst though is when I can't find a thing because I'm looking for a slightly different thing and I end out trying to do it myself, only to run into an issue and then discover that I just wasted the last umpteen hours because it turns out there is in fact already the thing
 
@WayneWerner Got a citation for that please? I don't know that that's correct for EU-wide GDP interpretation, and in any case who defines and monitors what a "selling-data-type-cookie" is? I don't think that's clearly defined/ agreed. And I think it excludes where data exchange happens as part of a 'partnership' arrangement, rather than explicit sale for cash, so it excludes the pay-for-play behavior on many social networks ("you buy $X advertising, we allow you access to the user-data firehose")
 
I, too, often reinvent the wheel. But it's a fun pastime so I don't mind much when I reach the umpteenth hour and replace all of it with a single third party import and function call.
It's an ephemeral performance piece, like ice sculptures or sand mandalas.
 
I don't remember where I was reading it.

But also that's part of the point? Like... cookies really have one legitimate purpose :P
 
@WayneWerner I'm trying to say that that claim was almost surely wrong or meaningless, for at least three definite reasons that I pointed out, and if it was only a secondhand or thirdhand comment or opinion from someone posted on the internet, and we don't even have the attribution. I'd genuinely likle to know the citation or general source (EU laweyer? regular? company? US lawyer? regulator? comoany? journalist?), because it touches on a talk I'm currently preparing.
 
Theory: nobody in the world knows how GDPR works, so everybody just puts up that "we're using cookies, please click 'i agree' to make this banner go away" message and prays it indemnifies them
 
6:14 PM
@Kevin No, but seriously. There are factually right and wrong answers to "What is the current interpretaton of the GDPR as of date X wrt cookie Y for citizens resident in country Z?" Unatttributed speculation doesn't help, it only muddies the waters. The GDPR works however the DPOs of the (28-1) member-states and their courts interpret it works. At minimum, provide citations when making claims.
 
Ha, gdpr.eu/eu-gdpr-personal-data has a cookie banner that basically says, in a nice way, "we're assuming you're opting in unless you leave right now"
"If you continue to use this site we will assume that you are happy with it" is even more of a catch-all than scrolling-as-active-consent
 
@WayneWerner "Like... cookies really have one legitimate purpose :P" You're joking or trolling, right? Cookies and the datastream derived from them (esp. when combined with other online and offline datastreams) are the biggest 21st-century commodity (why else do related companies have trillion-dollar valuations?). This is a huge topic and getting more complicated every month. (Look at news.ycombinator.com , to get daily for-instances)
In particular, third-party cookies.
 
If "selling-data-type-cookie" means "cookies representing data that somebody might be interested in buying because it gives them information about you", then that's somewhere in the ballpark of GDPR Article 4's definition of "personal data"
I'm coming up blank on what sort of cookies don't give information about you, even indirectly. even just "The user with id cookie 0xdeadbeef prefers the dark mode layout" is arguably personal data
 
@Kevin "selling" and "buying" are archaic words which lawyers can workaround. Many companies say "we do not sell your data", but that's a near-meaningless claim, I mention above why.
 
Yeah, this ballpark I've constructed has particularly fuzzy boundaries
 
6:25 PM
@Kevin The issue hinges on when something is "Personally Identifiable Information" and when it isn't. Is a datastream linked to a cellphone IMEI "PII"? Is a datastream linked to a SIFT Score "PII"? Is a datastream linked to an IP address "PII"? Does it depend on whether that IP address was dynamic or static, cellphone/ computer/ other, residential, work, university or other? (Does it depends on whether your location stream can be used to uniquely trace and identify you, as commonly done)
 
I'm recently seeing a lot of "I did X, got Y, but expected Ψ. Why?" without explaining the expectation. Are these looking too broad just to me?
 
Kevin: don't assume "Personally Identifiable Information" means "how a user would interpret that phrase, based on their cultural expectstions and subjective reading of the User Agreement and privacy laws", but "how regulators, courts and legislators in country Z would interpret it". To prove the point, the exact same data can be treated as PII in some countries but not others.
 
I'm just going off of what gdpr.eu/eu-gdpr-personal-data says ¯\_(ツ)_/¯
 
@smci The issue is usually not "what is it" but "what can you reasonably do with it". The grey area being that legislation isn't too sure/knowledgeable what one can "reasonably do with it".
 
I've had a fair share of corporate training about the difference between PII and several other three letter acronyms with similar meanings. My main takeaway was "call our legal team if the information type is not blatantly obvious"
 
6:31 PM
@Kevin Ok then: Is a datastream linked to a cellphone IMEI "PII"? Is a datastream linked to a SIFT Score "PII"? Is a datastream linked to an IP address "PII"? Does it depend on [the many different types of] the IP address [and whether that data can be mapped back to a person or set of people]? Well what are the answers? And clearly GDPR (and transfers of data) affects both companies and users physically outside the EU, and is a constant source of regulator disagreements between the EU and US.
 
I don't know, and I'm worried that the answer to some of those is "there's not enough case law to tell yet. Try and see if you get sued :^)"
"Is X action legal in country Z?" may have a factual answer, but it may only become apparent after the first person to violate it gets fined or jailed
 
@Kevin Is your legal team actually up to speed? Our last visit by the legal team ended in quite an awkward silence after the poor lady got roasted on the finer details of how email actually works. "What do you mean, it's on your computer and the server?"
 
I've never communicated with them but based on anecdotal evidence I suspect they're reasonably deft
 
@Kevin But we're talking about companies not people, and the US has almost zero criminal penalties for data misuse (excluding stuff like hacking, and HIPAA). (When do you predict the first extradition [of a person] from the US for a criminal violation of another country's data-privacy laws might happen? Does it depend on how much that company pays its lobbyists? Do you think TikTok should/should not be shut down?)
 
This is all great, but do you think Lunchables pizzas were supposed to be eaten cold or warmed up? twitter.com/Razzly_/status/1289940770322092033
Putting silly arguments to video from Ace Attorney is gold.
 
6:40 PM
@MisterMiyagi That's a case-by-case thing for me. If I think the OP is asking "how does X produce output Y?", I can probably just ignore their wacky Ψ. If I think they're asking "how do I rewrite my code so it produces output Ψ?", then I probably need an explanation of their expectation.
@davidism I'm with edgeworth on this one. All my schools were microwave-free, not counting ones in teacher's lounges
 
I think I had Lunchables like max twice as a kid, and never in a school setting. But I'm also with Edgeworth on this one, I'd never even considered that they could be warmed.
 
If they have microwave instructions on the packaging, I concede that they may be eaten that way, but I doubt this is the "intended" way.
Precedent: Pop Tarts have microwave instructions, consisting of "cook on high for five seconds". But this is clearly not the intended way because microwaving a Pop Tart for five seconds does absolutely nothing.
 
My childhood and entire life for that matter has been devoid of lunchables (Europe problems)
 
I didn't eat many lunchables in practice because I'm squicked out by meat that's been sitting in a room temperature backpack for four hours
 
You toast pop tarts, but it's acceptable to eat them cold if a toaster is unavailable.
 
6:50 PM
I'd either bring in PB&J or buy the onsite hot lunch
 
What is even up with PB&J? Those don't match at all :S
 
My preferred PB:J ratio is just enough PB to prevent the J from soaking into the lower bread slice. It's more of a structural integrity ingredient than a taste ingredient.
 
you need spray PB to surface treat the bread
 
My PB levels have dropped since soaking is less of a concern now that I can eat the sandwich immediately rather than leaving it in a backpack for four hours
 
How can we encourage people in the tag to vote to close? Feels like a losing battle to even care about closing questions.
 
6:55 PM
Delegate that problem to encouraging people in general to close vote
 
I'm willing to do that
So far I'm using the option "Other - Add a comment" so everyone sees why
Very little results
 
Those are very rarely needed. The vast majority of questions roughly fall into the canned reasons.
 
When I say legitimate, I don't mean that they're not useful for *somebody*. Or even that they're illegal.

I'm saying that using cookies for anything besides tracking that you're logged in is at the very least apathetic towards the user, if not overly hostile to their interests (i.e. selling their personal data, not so that the user benefits, but the compan(ies) tracking the data)
@davidism I can't stand Pop Tarts that aren't freshly toasted. With the garbage edges nibbled off
Warmed lunchables sound terrible :P
 
But people won't see it in the comments
I'm doing it so my vote to close is visible
 
7:10 PM
@NicolasGervais your vote to close is visible under the question next to the "close" link and in the close vote queue
 
7:37 PM
@WayneWerner yeah. You'll see that my very next comment was that I found out that this "loophole" was later closed :P I have a general understanding of what you're saying but it's the stuff like those loopholes (that could potentially be more restrictive, not less) that spook me
 
7:55 PM
@WayneWerner Perhaps you or I think that, but so what? Major internet companies and data brokers simply don't care about our personal expectations, and you and I are probably in the top 0.1-1% of informed and tech-literate users. Again, the US doesn't have criminal laws against misusing general (non-federal-government, non-medical, non-identity-theft) data, and the (state-level) civil penalties are non-existent or a joke (CCPA).
 
@smci Right (:
 
...and even CCPA allows blatant abusers 30 days to remedy, which is like allowing bank robbers 30 days to return the loot and avoid being charged with anything.
 
Man. That would be nice. Go steal a couple of mil, invest, keep the interest, and return the main amount.
 
@WayneWerner Hey! Pick a different bank vault! We found this one first!
 
Oh wait, I just described equity firms. Except they don't return the main amount :P
 
8:02 PM
just a quick question, I'm parsing an RSS feed and their pubdate is written like this: Mon, 03 Ago 2020 20:08:44 +0200
 
Are you using feedparser?
 
how can it be possible? Mon is in English but Ago in Spanish
I asume it localizes to your local configuration and it should be either in one or another language, not both at the same time
isn't it? I'm just curious
@WayneWerner of course
btw, it fails if you try datetime.strptime(entry.published, "%a, %d %b %Y %H:%M:%S %z").replace(tzinfo = pytz.UTC) on it
 
If the RSS file contains that value, it's a problem with the source that generated the file, not with your code.
 
but how are they able to do that? It's pretty weird
 
Ask them, they're the ones that generated it.
sounds like their locale is misconfigured/non-standard
 
8:11 PM
that's what I think
anyway, it's the first time that I've seen something like that
 
Yeah, I just went through the locales on my machine
there's nothing that matches that combination
so whatever they used to generate their feed is borked
if you care that hard, you can rewrite the feed when you find something like that
but... yeah, they're broken for sure.
 
I will use local time in that case
bilingual datetimes, a new kind of madness
 
8:53 PM
Lies programmers believe about datetimes
 
10:03 PM
Hello, Who is in?
 
@MrVang hello, you can see a list of users in the top right from desktop. In mobile chat there's a button for the list of users.
 
@AndrasDeak Thanks
 

« first day (3579 days earlier)      last day (1352 days later) »