« first day (2664 days earlier)      last day (2270 days later) » 
00:00 - 19:0019:00 - 00:00

12:00 AM
good thing I tackled the C API on the weekend, though
 
wim
12:24 AM
well that sucks
they should change the implementation, or at least give a reason why it can't be changed (e.g. "we measured PyArg_ParseTupleAndKeywords and it is too much slower")
 
or just change the signature to itertools.tee(iterable, n=2, /)
that might be a bit unorthodox though...
 
wim
I don't think they can do that, because on some platform itertools is python and on others it's "built-in"
i.e. some compiled .so somewhere
and the python impl probably DOES accept keyword args
 
12:42 AM
:/
 
wim
>>>> import itertools
>>>> itertools.tee([], n=2)
(<itertools._tee object at 0x00007fffe7f8eda0>, <itertools._tee object at 0x00007fffe7f8edc0>)
 
that's exactly the test case I tried (on both 3.6 and 3.7)
 
wim
right, but ideally the docs document Python, not whatever CPython happens to do
 
well if there's no correct way we might as well have this incorrect version
I didn't realize the implementation could vary
 
wim
there is a correct way: CPython fix their implementation
they can't change the docs because it ties the hands of other implementations
issue was closed without anyone apparently bothering to benchmark it or try to fix it
 
12:50 AM
Ah, I see what you mean. Forcing both compiled and native implementations to comply with the docs (and the rest of the module)
 
cbg
 
cbg
 
1:05 AM
I'm trying to test that a server does not exist. This works using pytest.raises
import pytest
from sqlalchemy.exc import DBAPIError
from sqlalchemy import create_engine

with pytest.raises(DBAPIError):
    create_engine('mssql+pyodbc://user:pw@MyServer/MyDB?driver=MyDriver').execute("SELECT 1")
I use a nonsense url and this passes the test
It also fails fast on my home machine
However, at work... it takes forever to pass
or fail. w/e
Does anyone know why it would take longer to fail somewhere else?
Disregard. It does fail fast on my work machine. Something else is slowing it down.
 
wim
unless you're testing sqlalchemy itself, don't test that
i.e. this should be covered in sqlalchemy's tests, it's not your responsibility
(unless this an integration test, and you're actually checking that a real server was torn down)
 
ok fair enough... I need to think about what I'm trying to test. I'm confusing myself about something
It is part of an integration test. But this is a control to make sure I'm not getting false positives
 
wim
I generally like to disable all network access in my test suite
but, opinions differ.
 
My opinion is currently maleable
I'm trying to do this for the first time and I refuse to move on until I've got this bit sorted
testing connections and what to test and not to test
rhubarb.. cleaning dishes to clear my head
 
hmm so i created a django module called rostermaker and a model within that called Team. but when i run migrations it creates my table is rostermaker_team.
why isn't the table named teams?
i created the rostermaker by running manage.py startapp rostermaker is it not an app, but rather a resource?
im used to underscores in table names meaning that there is a relationship
```
For example, if you have an app bookstore (as created by manage.py startapp bookstore), a model defined as class Book will have a database table named bookstore_book.
```
according to the documentation that is how it is supposed to work.
 
 
3 hours later…
4:48 AM
@HashRocketSyntax so you answered your own question
 
DSM
@PM2Ring: it's always in the last place you look..
 
5:11 AM
Is there a vectorized way to do the following?

c = np.empty((a.shape[0], b.shape[1]))
for i in range(c.shape[0]):
c[i] = (a[i][:, None] * b).prod(axis=0)
I can't figure out how to mash the a and b arrays together to make c, without using a for loop.
Nevermind, figured it out: stackoverflow.com/questions/42378936/…
 
 
5 hours later…
10:18 AM
tumbleweed cabbage
 
cbg
 
jjj
cabbage banana peaches and pears
(and others)
 
cbg
[Off-topic] TIL of RAM dumps - You can find a lot of crazy in there! medium.com/@juan_cortes/…
 
jjj
^ verrry interersting indeed, thx
 
10:52 AM
I'm never writing a custom descriptor again. Fixing one unittest breaks 3 others :/
 
cbg all
Can someone guide me how to get response cookie where request cookie is set HTTP only True
 
11:24 AM
I'm going to need therapy after this
 
"You should use the csv module instead of splitting on commas" Getting some groundhog vibes there xD
 
> This question is different from the topics listed by Rawing because here we are working with a different data structure
-_-
 
I'm not even going to argue with that OP
And all the answerers seem to assume that the OP pulled the input string out of thin air -.-'
 
12:06 PM
and cbg
 
cbg
\o/
 
Looks like an acceptable question to me, to be honest. Sure, the "or a library that can do this for me" part of it is off-topic, but there's still the option of implementing it in python. (And yes, it's a gimme-teh-codez-pls question, but that's not a reason to close it, right?)
 
12:55 PM
@Rawing please don't post text as images
@Rawing gimme-teh-codez == too broad very often
 
@AndrasDeak The image is proof that it's not fake :P
*pretends I didn't comment out one failing test case just to get that screenshot*
I mean, it looks like a pretty straightforward combinatorics problem to me. Not really broad, is it?
 
I don't even know what you're talking about, just sharing my endless wisdom
 
The nlp tag is a red herring, as far as I can tell. There's probably a 5-line itertools solution.
 
OK, that's too broad
> Is there any method in Python to produce such pairs with the maximum coverage of the corpus? What is more, can this method be generalized to produce n-tuples of such words?
1. Yes there is, you need to loop over every pair, compute the coverage, and find the max. That's too many too simple steps (especially with no code in the question to begin with), read a tutorial or google some more.
2. it can, good luck
this sounds like "I'll do my <web dev/ML/NLP/computer vision/...> project in python, woo! ...What do you mean 'learn python'?"
 
1:11 PM
I don't think that's how it works. The description of the "too broad" close reason is "Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once."
There's only 1 question, and enough detail to identify an answer
 
left a comment
@Rawing that's how it sometimes works ever since "lacks minimal understanding" and "too localized" were taken away. A full code-request that solves a single OP's single problem without benefitting a broader set of users is just useless
 
It's kind of stupid how we ask OPs to show their efforts, and in the end when the question becomes a popular and helpful resource, we edit that out because it's irrelevant to the question.
 
We don't...?
Plus even if we did (I don't) it would make sense: showing your effort is only for the OP to demonstrate that they're not wasting the time of answerers. But for the long-term benefit of helping future readers, that's needless. I see how this seems...dichotomic? But I also wouldn't lose any sleep over it. Anyway, I don't think those things should get edited out
 
I thought SO really wants to be a "knowledge base" or something similar, then the OP's efforts have no place in a question
So IMO we absolutely should edit those out (at least on popular questions that have already been answered)
So, IMO, asking OPs to put in some effort is a good "first line of defense" against terrible questions, but a lack thereof shouldn't be a close reason. Just leave it unanswered if you can't be bothered to help such an OP
@Rawing Ooops, I really butchered that sentence. That's what happens when I try to rephrase my message at the last second...
 
1:43 PM
@Rawing the problem is that many people (both naive and sleazy ones) will answer whatever effortless crap they see, which degrades the quality of questions posted here in the long run. We can only leave requirement dumps unanswered if we close them.
 
I need to code in python again
 
@AndrasDeak That's true. And most people who answer such questions won't bother editing the question into shape, so in the end it still won't be a useful resource even though it has an answer. Guess I have to admit defeat on this one!
 
I'm not saying it's an ideal system, it's not :) And many people disagree with closing effortless crap as "too broad", and I don't blame them. I don't categorically close everything as such, but these question are usually low-quality to begin with. I know I've answered quite a few questions which had little to no programming effort but were interesting enough, and OP had clearly spent time on asking for help
 
recbg
 
cbg
 
1:55 PM
@Rawing @AndrasDeak this one did have some cv's for "Too broad" at some point: stackoverflow.com/questions/28384234/…
 
I have zero domain knowledge to judge that, but I wouldn't be surprised if part of that was "tl;dr"
 
the too broad close reason says: "Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question."
 
I know, the previous post has just been closed as such
 
You'll forgive me if I don't read that wall of text question :P
 
but the meta consensus also says "if the answer to your question would sound more like a book chapter than an answer, it's too broad"
 
1:57 PM
it doesn't say that a specific problem that has a long answer is "too broad" :D
 
so you can have a single specific problem of "What is the meaning of life?"
 
that is not a specific problem though in that it doesn't identify what might be an adequate answer
 
"degrades the quality of questions posted here in the long run" implies that the average 1 rep user spends any amount of time inspecting the site culture and determining if their query meets the expected level of standards before posting
 
> Most too broad questions describe a specific problem, however it's likely one you can find a book on.
 
so, the "what happens when I search google"
 
2:00 PM
@Kevin I've seen several instances where someone was complaining about downvotes/closure on their low-quality question since "I've seen similar questions on the site with no problems"
so yes, I do work with that assumption
 
that's primarily the reason why I always cv and cvpls old carp when I come across it...
so that the precedent will be gone
 
yup
 
@Kevin Not necessarily. Think of all the potential askers that have been scared off by the "SO is super elitist" rumors
 
Through my cynic-colored lenses, I forsee that they'd say "I've seen similar questions" regardless of whether they've actually seen similar questions
 
implementation detail :P
 
2:21 PM
"Gee, Kevin, don't you think it's an underhanded rhetorical tool to base your viewpoint on speculation about the state of an alternate universe where the property you're arguing in favor of just happens to be constant? How is anybody supposed to refute imaginary evidence?"
Shoulder angel, have you been sneaking off to Debate Club again? You know I don't like that.
 
2:34 PM
>>> tup = tuple(['foo', [1,2], True])
>>> tup
('foo', [1, 2], True)
>>> tup[1]+=[2]

Traceback (most recent call last):
File "<pyshell#11>", line 1, in <module>
tup[1]+=[2]
TypeError: 'tuple' object does not support item assignment
>>> tup
('foo', [1, 2, 2], True)
>>>
Seems like an interesting question. https://stackoverflow.com/questions/48544597/mutating-a-list-inside-a-tuple-in-python
 
cbg \o
 
this may be the longest duplicate chain I've seen to date
@ZackTarr ^ that's a dupe for your question
 
dups for days. Thanks for answering that one. Wasnt my question just saw it posted and thought it was interesting.
 
I hammered it as the one that someone suggested in the comments.
Looks like there's a huge chain that needs fixing.
 
Interesting that Python doesn't do a little bit of LBYL in order to throw a TypeError before the mutation happens. I guess it's not worth it in the common case.
 
2:39 PM
Oh, I just need to point the others in the chain to the one I hammered with.
 
Interestingly, the original question is the least upvoted one
 
They should get all of the up votes for the other questions since the other OPs did not look for the duplicates.
 
Boy that would make it look real scummy every time I hammer a post and point it at a post I made. Well, scummier.
 
ok fixed
 
Oh for sure. I could only imagine how quickly higher rep folks would grow
 
2:46 PM
200 rep/day
 
But I was thinking of something similar: show both the score of the post, and the total score of all the posts that got hammered. Gives readers an idea of the utility of the post without setting up potentially perverse incentives
 
Would be nice to then take some of the better answers (if there are any) from the new duplicate questions. Then link them to the original so that it has the cream of the crop on answers.
 
Sometimes moderators do that, IIRC
 
DSM
Midweek cabbage.
 
@Kevin It would make sense to do so. Helps make the site more of a knowledge base with the older questions having better information
 
2:51 PM
@MartijnPieters was the rep reversal supposed to happen yet? Not sure what the timeline is for those things.
 
cbg for DSM
 
Hello guys
 
hello
 
can anyone explain... why does float.__floordiv__(x, y) return a float?
it's not logical, the sense of that value is to be integer
 
but but your doing it in a float class
 
DSM
2:59 PM
"sense of that value" is not a technical term. :-)
 
why would a float class's attribute return an int... that would not be logical imo.
 
5 // 2 returns int, ant 5.//2 a float
 
I would assume it's for consistency with other operators, which return a float if a float is involved.
 
hm, well so you all are not suprised apparently :)
 
The docs say "when a binary arithmetic operator has operands of different numeric types, the operand with the “narrower” type is widened to that of the other, where integer is narrower than floating point, which is narrower than complex."
 
3:02 PM
"floor" means "decimal has been rounded towards zero", not "an integer".
 
then I have a wrong feeling of unlogical
 
DSM
IIRC there was even a lot of controversy about what math.floor should return (used to be a float, is now an int, and I think it should have been left a float, personally.)
 
I think this is a matter of both options being illogical if you view them from the right angle.
 
yes :)
 
Do you violate intuitive expectations, or do you violate a rule that applies to the other 99% of operators? Rock, meet hard place.
 
3:04 PM
what I find more weird is dis.dis('5.0//2') returning
      0 DELETE_SLICE+3
      1 <46>
      2 <48>
      3 <47>
      4 <47>
      5 DELETE_SLICE+0
 
@davidism (no, not towards zero, below zero down, right? just a sidenote)
 
what slice is it talking about... or am i dis.dis-ing wrong ?
 
I still don't like that 4/2 evaluates to a float, incidentally
 
why should 4/2 be integer if 4/3 is float?
or should I read the transcript?
 
@AndrasDeak because equality is cool and should be unique /jk
 
DSM
3:06 PM
@MooingRawr: are you using an old version of Python? That's what used to happen when you passed a string and not a function, I think.
It's interpreting your string as bytecode.
 
Oh I thought dis.dis you are suppose to pass a string not a function, whoops
 
DSM
You can these days, hence the question.
 
@MooingRawr sorry, I dont understand the point about equality
 
gdi... I was on Py2 because I Was answering a question on the main site. didn't noticed
 
after some thinking still
 
3:07 PM
@AndrasDeak Because four divided by two is two, and two is an integer.
If you're saying "division should always return a float for consistency purposes", I don't think that kind of consistency is useful.
 
so if Decimal were to raise on passing a float, Decimal(4/2) would work and Decimal(4/3) would not?
 
@Ilja I was making a joke referring to that you can give 2 twos 2 equal parts of 4 .... hence everything is equal.... :\
 
DSM
@Kevin: ehh, disagree. There are too many methods which only makes sense on one type, you'd have to insert ugly branches all over your code. Or I would in mine, anyway.
 
or just coerce to float yourself
@Kevin and yes, that was what I was saying I guess
I'd expect op(arg1,arg2)->arg3 to produce an output type based on solely the types of the inputs
 
I think I'm less irritated by the behavior, and more irritated that the behavior is undocumented*
 
3:10 PM
hm, I would agree that 4/2 should return float, but not 5.0//2 ... different feeling^
 
/ vs // is a different matter
 
(* as far as I can tell. docs.python.org/3.2/library/… doesn't seem to say anything about operator behavior when both arguments are the same)
 
@Kevin 3.2?
 
I don't know how I ended up on that old page, but the more recent docs.python.org/3/library/… is the same
 
@AndrasDeak this cannot be true in this generality
the point about op(arg1,arg2)->arg3
 
3:12 PM
@Ilja I have arithmetic operators in mind
 
int(4/2) zorkmids to the first person to find a citation in the standard library or language reference documentation that says that 4/2 gives a float
 
it can sometimes return a tuple
 
@Ilja what do you mean?
 
In a better world: TypeError: unsupported operand type(s) for /: 'int'. Did you mean //?
 
DSM
Type stability makes reasoning about programs much simpler, and I'm reluctant to give it up in a value-dependent way unless necessary.
 
3:13 PM
@ArneRecknagel incorrect
 
@ArneRecknagel bah please don't
what about 2/3?
 
I wouldn't call that a better world :/
 
let's not go there again.
 
like 5.__divmod__(2) gives both parts of the // and % return values
 
it was discussed ad nauseam 15 years ago
 
3:14 PM
(double)numerator/(double)denominator
@Ilja and when does divmod not give you a tuple with int inputs?
 
@AshishNitinPatil At least it would be explicit about what operators go with which types
 
How are we still talking about this?
 
i mean the outputt cannot be independent of the operator for given input values; sure, divmod has no short form like + or **, but it gives
another type than other operators
sorry my english ^^
 
All bets are off, more or less, if you're not working with binary arithmetic operators
 
3:18 PM
I didn't say it's independent from the operator. All I'm saying is that for a given operator if you put in two ints, you should get a single type as a result. If you want it formalized: output_type(op,type(arg1),type(arg2))
 
@davidism How is that question still up? I would think it would have gotten yee old hammer by now.
 
yes, but this does not conflict with // always returning int ;-)
 
@ZackTarr you can only hammer duplicates?
 
@Ilja No, it does not. All this time I've been talking about / returning floats or ints based on the result (or it not returning that, to be more precise)
 
aaah
 
3:20 PM
@davidism I thought you could close for off topic. Or is that only done by downvoting?
 
yes, this would be strange, I agree
 
I guess I just happen to write a lot of programs where I'm operating only on integers and would prefer to not have an int() call around all of my divisions.
 
from __past__ import division
why not use // then?
 
@AndrasDeak Thanks and will do!
 
3:22 PM
Why, does that return an integer? I haven't checked.
 
yup
 
4.0//2 returns a float so I'd expect 4//2 to return a float also.
 
if the inputs are integer ... that was my initial point :)
no
 
>>> 4//2
2
>>> 4.//2.
2.0
plus I don't think your subsequent code should discern between 2 and 2.0
 
if at least one is float
the result is also
 
3:23 PM
You know what would be great? If all of this behavior was documented.
 
do you know a language which is better documented than python?
 
I don't, but I don't know that many languages
 
DSM
I've heard good things about C# documentation, but can't speak to that myself.
 
I know how horrible the java documentation is. To make it worse, every java module I've worked with has mimicked that horribleness
 
yes, probably more basic languages like C have less undocumented features
 
3:25 PM
C# documentation is serviceable.
 
AutoHotKey is pretty strong with the wiki and forum.
 
This is documented:
 
@Ilja the best language documentation? Java.
 
with the wiki and forum (and SO :)) python is relly good^^
 
> Also referred to as integer division. The resultant value is a whole integer, though the result’s type is not necessarily int. The result is always rounded towards minus infinity: 1//2 is 0, (-1)//2 is -1, 1//(-2) is -1, and (-1)//(-2) is 0.
 
> To install past, use:
> $ pip install future
lol
 
@AnttiHaapala this is irony? (according to Rawing's comment)
 
garlic
 
oh, i see, i should read the documentation for this chatroom
^^
 
3:29 PM
@Ilja you're kinda tarnishing the name of Iljas here... after all the hard work by @IljaEverilä ...
 
@davidism Yes. What I would like to see following that bold sentence is "refer to table 4.4.2 to determine what the result's type will be"
 
> Python fully supports mixed arithmetic: when a binary arithmetic operator has operands of different numeric types, the operand with the “narrower” type is widened to that of the other, where integer is narrower than floating point, which is narrower than complex.
 
Another piece of the puzzle, yet we don't know what happens when a binary arithmetic operator has operands of the same numeric type
 
:-|
 
has anyone worked with tkinter?
 
3:32 PM
A bit.
 
no one has ever worked with it, it's a mystery why it exists
Kevin'd
 
Our messages are consistent because a bit can be either 1 or 0 ;-)
 
I'm working on an application and require to build a gui interface. My first thought was to make use of tkinter. Any other suggestion?
 
PyQt is the other popular gui library.
 
I can't tell you which one's best, but I can tell you that they're all better than tkinter
 
3:35 PM
Depending on how much GUI you need that might be a good way to start. For small apps, it’s probably okay. For larger applications, you should probably look elsewhere
 
QT, GTK, kivy, wxpython, toga
On August 20th this year, Python 3 will be older than Python 2 was when Python 2.7 - the final Python 2 version - was released.
 
I use the PyQT4 designer for most of my apps that need a gui. Its drag and drop which is nice and then will translate the .ui file to .py with the included .exe.
 
I use tkinter because at this point I know where most of the land mines are buried
 
I usually use the .exe I found here to install rather than trying to follow the main page instructions. sourceforge.net/projects/pyqt/files/PyQt4/PyQt-4.10
 
Thanks for the suggestions. I want to be able to communicate with some other devices through USB. I already know that tkinter supports that. Not sure which other guis support USB communication.
 
3:41 PM
Hmm, is sourceforge the site that would inject ads into software and ignore emails from the software creators telling them to stop, or am I thinking of someone else?
 
I could see that being a thing with them.
 
@8535241 I wouldn't expect any GUI framework to have anything to do with USB devices at all. GUI frameworks don't directly interface with hardware, except I guess the monitor.
... And keyboards and mouses. But not USB drives.
 
Would be interested in seeing where you found that tkinter supports it.
 
Anything you can do with a regular console-based Python project, you can also do with a GUI framework. QT isn't going to scan your source code and crash on you because it sees you're loading something from a USB stick
 
I think tkinter allows serial communication. There is a command like import serial that will allow that.
 
3:46 PM
Is it trying to be a portable program? Like to install on a usb? I think its notepadd++ has a portable vs non portable option on install.
 
Tkinter does not have a serial class or a serial sub-module or anything like that.
 
In the end I will need to make a .exe program out of it. The program reads data from a microcontroller through UART communication. I should be able to take the data and process them in the program.
This is all what I want to accomplish.
A similar question to mine stackoverflow.com/questions/28166070/…
 
Ok, well, go ahead and use whichever GUI looks best to you. None of them have a monopoly on being good at microcontrollers, or anything
"I want to use Tkinter because I already found code online that does 90% of what I want, which is way better than starting from scratch if I choose QT" is a perfectly valid criteria, btw
 
@Kevin Absolutely. I just like the drag and drop designer :D
 
cbg all
 
3:59 PM
I think I will go with PyQt4. I may not find 90% of the code I want but at least I will learn something for the next projects. Thank you all for your suggestions.
 
@8535241 One thing to note is when you translate the code to python with the included exe you will need to add to the code to get the gui to display. You will need a main function to initialize the form class and then something to call the main function.
You can see that on one of my old questions here. Probably wont work by copy and paste but will give you an idea of what you need. stackoverflow.com/questions/47944013/…
 
4:44 PM
rb
 
Cabbage
 
Tempted to write an answer for Generate all images possible in 1920x1080? even though such a program wouldn't terminate until after every star had winked out
 
Was that a subtle reference to the nine billion names of god?
 
4:56 PM
haha
 
No, but that's a good story.
 
Eventually you'd generate an image that contained the text of the true name of god from that story, so every star would wink out before the program finished (unless it was the last image it generated)
 
Predicted follow-up questions to @Kevin's hypothetical answer:

1. Would it run quicker if we vectorized it?
2. Can we use C instead of Python? Would that make it faster?
 
> I am quoting the API because about 80% of SO questions could be solved if a look into the API had happened before asking here.
User tries to justify "answer" that is 100% quotes from docs with zero guidance, without enough information to reproduce an issue in the first place.
 
If I'm not mistaken, that is a perfect use case for a comment.
 
5:09 PM
Yeah, it is, and I know we had this conversation before, but if it's not plagiarism it's at least really shady to just dump docs and call it "your" answer.
 
The deed is done. My jimmies will go into maximum over-rustle if OP replies saying "I generated the first couple hundred images and they're all mostly black. Can you change it so they're mostly white instead?"
 
Just hedge and generate all gray images.
 
DSM
Wow.
 
I feel like we should give OP benefit of doubt, maybe they have access to computing power and storage we do not. Or we'll read about it in the papers when they try :D
...it's better than triggering false missile warnings, right?
 
Yeah, they're an international hacker whose compute power and storage is a huge botnet.
 
5:13 PM
OP does seem to acknowledge that no conventional computer could store all of these images. I don't mind answering questions that are impossible flights of fancy as long as OP seems sane enough to hand out checkmarks :-)
 
No, seriously, I'm just curious how to fly a plane... I'm well aware that in the real world we need to land the plane... just not ready to learn that yet.
However, you should've have included the necessary keystrokes to terminate as UUDDLRLRBA
 
If OP replies with "I'm using 2.7 and int.to_bytes doesn't exist yet" I'm going to maximum rustle
Getting a little rustled by this new keyboard whose space bar extends to where the alt key used to be on my old one
Which is why I've prematurely submitted two chat messages today... Hang on, why would accidental spaces do that?
 
Fancy keyboard with space/return feature?
 
Pressing tab followed by space highlights the "send" button and activates it, but if I'm trying to alt-tab, then the sequence I'm hitting is space followed by tab, not the other way around
Maybe the space press doesn't register right away because I'm striking the extreme left of the key and the sensor is in the middle of the key and there's some sort of lever physics going on
 
(False-Alt) + Tab => Highlighted Send. Subsequent Space Sends
 
5:26 PM
@Kevin physics lever 9000
 
DSM
test: aha, +1 pir2
 
@toonarmycaptain good response
 
Just sat in an empty phone meeting for half an hour because I didn't see that it got rescheduled :-I Apparently Outlook does absolutely nothing to alert me of time changes.
 
@davidism Thanks.
 
@Kevin there, there, outlook doesn't do a lot of other things it should. like when I try to group my emails by conversation style, it doesn't really like too
 
5:31 PM
@Kevin I'm certain it does. Problem is that you need to filter it out from the bajillion other alerts in order for it to have been useful to you.
 
think of it this wya Kevin, you got 30 mins of time to yourself
 
And this image is super - colored. I don't looked it but i think if i look in this photo, my eyes gonna bleed. I think this is the main reason of why generating all possible photo projects are abandoned. — Yıldırım Gaming TR 1 min ago
Bad news, OP is not sane.
 
All of my laurel is convincing those around me that I'm not sane
 
I guess "super-colored" means "completely black except for the bottom-right corner of four pixels"?
Maybe he didn't even run my code and is just assuming that it will generate a crazy riot of colored images
 
Isn't a good alternate definition for black, super-colored?
 
5:36 PM
I guess I'll consider this karmic payback to balance out the time from yesterday where I got ten upvotes for pasting a quote from the documentation.
 
@davidism Good enough that he deleted his answer? I'm not sure that was productive, but nvm.
 
The configuration they were talking about didn't affect what the op was asking, and they were suggesting using it in the opposite direction of how it really should. They deleted after I explained that.
 
cabbage
 
cbg
 
5:58 PM
cbg @AndrasDeak
 
morning cabbage!
 
wim
mind blank here, what is the name of this kind of O(n) sorting algorithm?
in_ = 'input'
maxord = max([ord(x) for x in in_])
sentinel = object()
out = [sentinel]*(maxord+1)
for x in in_:
    out[ord(x)] = x
out = [x for x in out if x is not sentinel]
print(''.join(out))
 
bucket sort?
 
Or is that radix sort?
 
6:10 PM
@davidism That request hasn't been handled yet, sorry.
 
Martijn!!!
o/
 
@idjaw!!! \o
 
all is good?
 
All good. Loft flooring laid. Garage shelving next. I'm cooking with storage gas.
 
ready for the apocalypse. Good. Good.
 
6:15 PM
o my goodness martijn is here
 
@wim perhaps counting sort?
 
wim
radix sort was the term I was looking for, thanks
 
radish sort?
 
wim
edited in here.
p.s. @Ajax1234 your itertools and functools approach, using reduce and three lambdas on one line, made me throw up in my mouth a little.
 
too bad radix sort is not available in the video guide
 
6:18 PM
radishes are great
 
hey guys i have a user model that related to User django.in my user profile I have subscritions field that has ManyToMany relation to another model.so how can I tell django delete One of related model based on request.user?
 
The vents stopped at work. I think we are being incubated. Feed my radishes.
sort through them carefully
 
stackoverflow.com/questions/48475558/… please guys I need your help.I tried many ways but not worked .I know Im a noobie but i am my own no one helps me.so please just see my question
 
@wim you just made me realize I want a cross between Factorio and Stardew Valley
 
6:28 PM
Hahaha they now have a backtracking video too youtube.com/watch?v=R8bM6pxlrLY :D
 
6:48 PM
Hello. I asked a question a while back, and it's not very good. I would like to delete it, but I am unable to because it has an upvoted answer. However, the answer is even worse- it's straight up wrong, and I'm not sure why it was upvoted at all.
Is there anything I should to do declutter and get rid of the question, or should I just forget about it?
 
High rep users can vote to delete it
 
gone now :)
 
Thank you for your help, have a nice day.
 
you too
 
00:00 - 19:0019:00 - 00:00

« first day (2664 days earlier)      last day (2270 days later) »