« first day (2893 days earlier)      last day (2071 days later) » 
02:00 - 19:0019:00 - 22:00

2:31 AM
cbg
 
cbg
 
 
1 hour later…
3:52 AM
Cabbage
Thanks @AnttiHaapala - (re rst to pdf qn) :)
 
recbg
@Aran-Fey @AndrasDeak bleh wasn't repcapped yesterday, 175 only :F
@ReblochonMasque yw
 
in fact, pycharm is now rendering md and rst files, which is rather cool; I was hoping to print them from there, but it doesn't seem to have this capability.
 
btw tangentially related, but I looked into the ckeditor 5 and boy it looks awesome.
 
4:22 AM
too broad (after comment clarification) & answered in comments. stackoverflow.com/questions/52360537/…
 
 
2 hours later…
6:06 AM
@Code-Apprentice Really scary.
 
6:36 AM
@thefourtheye yah, I can't believe that people are standing there just taking video of it. Of course, it's difficult to find a safe place to go if you don't know anyone outside of the city and don't have any money to travel.
 
6:46 AM
hey buddies
 
6:59 AM
cabbage
 
7:37 AM
Linus taking a step back on his rants... - lkml.org/lkml/2018/9/16/167
> The above is basically a long-winded way to get to the somewhat painful personal admission that hey, I need to change some of my behavior, and I want to apologize to the people that my personal behavior hurt and possibly drove away from kernel development entirely.
 
8:13 AM
I have a lightning talk about SO yesterday: youtu.be/7w_qgGZM4ao?t=50m51s
7
(PyConUK 2018)
 
8:48 AM
@MartijnPieters I don't have headphones, how long are you talking ? So that I can convince my collegues to let me listen to this. :p
 
@IMCoins 5 mins I think, not more
counted, just under 5, 4.5 or something
"lightning" talk after all :)
 
Yeah, I have quickly watched with the sound off, but it was too late to edit. Thanks anyway :)
"Counted", meaning you were there ? :p
 
9:05 AM
@IMCoins it's a lightning talk, so you have to keep it under 5 minutes.
 
@IMCoins Youtube has timestamps :-p
 
any django expert here?

how can I create groups and give the group permissions while applying migrations? I dont' want to manually create group and apply permission everytime I install the script on a new server.
 
@ShubhamNishad See docs.djangoproject.com/en/2.1/topics/migrations/… for creating custom migrations where you can put any arbitrary code / data changes.
 
@shad0w_wa1k3r thanks. gotta study them now.
 
9:22 AM
argh forgot pycon uk,
not that I'd have had time to go there now :F
 
@davidism I’m also keen to help Wekzeug support ASGi but concerned it may be a hard problem to combine the synchronous with async.
 
@smci Regarding your recommendation to split my super question into a bunch of smaller ones: I don't really see the point in doing that. If people have problems figuring out how to do specific things with super, they'll post questions about that anyway. I wanted to created a complete guide to using super because I'm pretty sure lots of people don't even know how many different factors play a role in the correct usage of super.
I don't see how I could narrow the scope of the question without defeating the point of the question
 
10:10 AM
@MartijnPieters @davidism pycon eu had lots of stuff about quart, they said that basically most flask extensions should work as-is there...
and almost all programs with just added awaits
...
the bigger problem is that going to async could require drastic changes to sqlalchemy...
 
 
1 hour later…
11:31 AM
@Aran-Fey But given several people object it's too broad/ vote-to-close. Someone (presumably Martijn) now has a delete vote on it. Even on a pragmatic basis, you don't think when the answer gets to three screens long, it's severely sacrificing clarity and legibility? I appreciate you put all the effort into this, it seems a shame for that not to be utilized.
 
It's a super question in more than one sense
 
super() mega-question-and-answer
 
@smci if it were Martijn the question would be gone :P
 
@Aran-Fey "If people have problems figuring out how to do specific things with super, they'll post questions about that anyway." But now we could immediately close as dupe, as long as we have good canonicals. The confusion has tapered off now almost everyone is on 3.x. By now we should be simply picking which target to close into
 
Only if we had something for documentation on SE... :-p
 
11:40 AM
@smci There are many very good examples that contradict your theory there. Long and well-written answers tend to me way more useful than those that just scratch some part and ignore the rest for the purpose of being “concise”. It’s all about structure and how well an answer is written.
 
@MartijnPieters they called you Martin :(
 
I wish I had my names --> IPA characters app together right now
 
@Aran-Fey Yes both the question's pretty unclear, and suffers further from not having an MCVE (so it's unclear which answers are wrong). But I don't think the OP wants to intersect nested dictionaries; only the keys of the (non-nested) dictionaries index[term1], index[term2] Anyway you can edit an MCVE in, already.
@poke How will the close/delete-war on this one resolve itself? Isn't it kind of nuclear that someone voted to delete it?
@AndrasDeak No I didn't. I took care to spell his name.
 
I wasn’t here when your discussion started, so I don’t know what question you are actually referring to. I’m just saying that long answers aren’t a bad thing at all.
 
@smci who said anything about you?
 
11:46 AM
@AndrasDeak Who is "they"
 
@smci not everything is about you you know :P
 
@AndrasDeak Noone suggested that. But you sure seem to be making a wrong comment. Who is "they"? Noone here has since you mentioned the spelling on May 16
 
@smci nobody in chat, yes.
 
@poke We're very specifically discussing Aran-Fey's mega-question-and-self-answer on using super() which got closed and may get deleted. See its history.
 
That link doesn’t seem to be correct.
 
11:54 AM
another wrong comment
 
@smci People in here talk to each other very often about questions without adding extra context that would help others to understand. This is very common when you know you both are looking at the same question right now (for example because you saw them engaging in a comment)
 
12:11 PM
Hi. I've got a {string:number} dictionary. I want to turn it into a array sorted by the number-value. I found out, in Python 3 there is no comparator (cmp) argument sor sorted(), so how do I go about this?
 
@Phil when you say array do you really mean a list?
 
yes
 
then say list ;) there are arrays in python but lists are not arrays
there's no cmp but there's a key
 
sorry, usually I code with Java ans JS
yes I read you can sort by key. but my number values are not unique
 
do you only need the values?
 
12:13 PM
they cant be used as keys
 
@Phil then your sort is not well-defined
 
sorted(my_dict.items(), key=lambda x: x[1])
 
if the number alone doesn't give you the full order you need to dress your items before sorting
@poke or key=operator.itemgetter(1)
 
@Andras I honestly hate having to import operator just for that ^^"
 
just noting :P
 
12:14 PM
is there a lib to take care of this? this sounds like a lot of pain for a standard functionality
 
@Phil I think you have an XY problem
which part is painful?
 
as far as I understand I need to convert my number to string and then "1234_(2)" etc
 
>>> my_dict = { 'foo': 12, 'bar': 14, 'baz': 12, 'qux': 13 }
>>> sorted(my_dict.items(), key=lambda x: x[1])
[('foo', 12), ('baz', 12), ('qux', 13), ('bar', 14)]
 
@Phil Why would you have to do that?
 
ah ok
I got that wrong then
 
12:16 PM
as I said you need more info; that doesn't imply you need to hack something up. You could try giving us more information so we can help you.
 
thank you
 
@Phil The vast majority of the time you don't need cmp-like functionality, but for the remaining 1% of the time, you can use cmp_to_key
 
poke's example is just what I need it's enough :)
 
you can also make alphabetical order be your secondary key to break ties
>>> sorted(my_dict.items(), key=lambda x: (x[1],x[0]))
[('baz', 12), ('foo', 12), ('qux', 13), ('bar', 14)]
or itemgetter(1,0)
 
cool :)
 
12:18 PM
@Andras Sorry for hijacking your attempt to turn this into a proper problem statement with a wild guess that ended up being right ^^"
 
hehe, I'll put it on your tab
 
oh noes, not my tab
 
when you reach 10 strokes we'll have a talk
 
You don't usually talk while stroking...
 
hmm, that's not the right word
 
12:20 PM
I approve of solving problems by skipping the intermediary deductive steps, as long as you pay your crystal ball license fee every year
 
> 6. A line drawn with a pen or other writing implement, particularly:

(chiefly Britain) (Britain, typography) The slash, /.
(Unicode, typography) The formal name of the individual horizontal strikethroughs (as in A̶ and A̵).
(linguistics) A line of a Chinese, Japanese or Korean character.
phew!
 
@Kevin Couldn’t possibly live without my crystal ball subscription…
 
"strikes" is conventionally used in the context of "things which incur a penalty once you accumulate a predetermined number of them" but that number is usually 3 rather than 10
 
That’s just counting
 
12:22 PM
:|
one more on your tab
 
*sigh*
 
I guess tab is also the wrong word :D Criminal record!
 
I understood the meaning, although it's not natively idiomatic around here
 
these words are way outside my usual domain of using English
 
I'm not sure if there's a local word for the counting style where every fifth tickmark goes diagonally through the preceding four
 
12:26 PM
I don't insist on that counting system specifically, just a tally where marks are represented by lines drawn with a pen or pencil or equivalent
 
Tally marks, also called hash marks, are a unary numeral system. They are a form of numeral used for counting. They are most useful in counting or tallying ongoing results, such as the score in a game or sport, as no intermediate results need to be erased or discarded. However, because of the length of large numbers, tallies are not commonly used for static text. Notched sticks, known as tally sticks, were also historically used for this purpose. == Early history == Counting aids other than body parts appear in the Upper Paleolithic. The oldest tally sticks date to between 35,000 and 25,000 years...
Important question though: In what direction do you make the 5th stroke?
 
"/", so as not to accidentally escape the character following your tally
 
Because my way of writing it doesn’t match the images on Wikipedia. I am going from the top right to the bottom left.
 
Maybe it's related to your dominant hand. I'd expect "/" to be popular among the right-handed, and "\" for the left-handed.
 
Hmm, I wonder about that.. What is nice about starting in the top right is that it’s the same position where you would always draw the next line
 
12:31 PM
@AD your choice of words was perfectly fine, I was trying to injecdt humour.
 
I go from bottom left to top right
@Chillie that's fine, I reached that conclusion on my own
 
Interesting.
 
Ending in the top right is nice because it lines you up for drawing another tally group to the right of the one you just finished
 
@poke but I'm weird. I draw zeros clockwise starting from the bottom
 
wow
 
12:34 PM
I never realized that was weird until someone saw me write a zero
 
Do you call them "toppers" and refuse to shake their hands?
 
It's hard for me to have conversations about this kind of personal style, because the instant anyone describes their own process, I forget what mine is
 
@Chillie you lost me :P
 
@Andras Do you draw fives with two strokes?
 
The old "I can't do it if you're watching" phenomena, except I can't do it even if I'm watching
 
12:36 PM
@poke yup
 
@AndrasDeak I would assume a lot of people draw 0 from the top. Hence "toppers".
 
Gotta kind of nonchalantly draw a zero while I pretend not to care
 
@Kevin at least you're not breathing consciously
 
Instructions unclear, I am now aware of my tongue
 
@Chillie ah!
 
12:37 PM
But we all know what happens when one assumes.
 
@Kevin distract yourself by writing 6368507506
 
Ok, I just tried... The zeroes were clockwise from the bottom. Not sure if this means I share your zero style, or if the bias-reducing effect didn't reduce the bias enough.
 
Hehe
 
Well, mine are from the top and counter-clockwise.
 
That's how I write o...
 
12:42 PM
cbg
 
cbg, plastic man
 
There was a talk at the last PyCon in Cleveland and I can't remember the speakers name, but it was about writing your every day bash shenanigans in Python instead
funny I was at that talk too haha. I just can't remember the name
 
I vaguely remember that I think
 
I didn't find "clockwise from the bottom" strange, but writing your zeroes and Os in opposite directions... hmm
 
12:46 PM
just found it and linked it on work slack
thank you 😀
slo0o0oppy
 
^ Andras would go mad writing that
 
Heh
O is not 0 for lyfe
 
good to know.
I'm keeping track of things that make Andras go mad
adds it to list
 
The good and right way to distinguish zeros from Os is to use a diagonal line. Now let's argue about what direction that diagonal should be.
 
The first 10 items are all "its – it's"
 
12:49 PM
@Kevin ϴ?
 
nice
 
No, he means theta will be a problem.
 
Ø is also dangerous
 
nobody uses that anyway *runs away*
I think Sebastian Nielsen is the only one here that I know of
 
I think slashed zero is sufficiently different from theta and Ø and ∅, although it's troublesome that it doesn't have a unicode representation
 
12:55 PM
wait horizontal line through the 0 cannot be zero
Fights will start
I will be in that fight
 
I agree, I want diagonal lines only
 
nods
All those in favour of diagonal lines, please come to this side of the room
 
There are an infinite number of diagonal lines passing through the center of a unit circle, but only two non-diagonal. There's a clear winner here
 
Are we already tralking about OCR ramifications?
 
If we allow zero to be slashed from any direction, then we have to argue about which selection process is correct
 
1:05 PM
It's a question whether there is a choice we can make. Axiom of choice anyone?
 
Every time I read the wikipedia article for the Axiom of Choice, I come away with no understanding of why it even has an article, because of course you can select one item each from a collection of non-empty sets, that's as obvious as two following one
But every time I get a little farther into the article before I give up, so maybe I will reach enlightenment on the day I reach the "see also" section
 
@Kevin I see what you did there
 
If there's a meta joke in there, it's not intentional
This time I got up to the Examples section. "then, because X is infinite, our choice procedure will never come to an end" Sounds a lot like the argument people put forth for "1 != 0.999...".
"See, because there's an infinite number of nines, you can never stop writing it, therefore it's an incoherent concept"
 
two following one isn't entirely obvious, see rational numbers ;)
 
"obvious" is a slippery term in mathematics because children learn how to count on like day 1 of preschool, but it takes the Principa Mathematica 500 pages to define integers
 
1:22 PM
\o cbg
 
cbg, Moo
 
DSM
Monday morning cabbage for all.
 
howdy DSM
\o/
 
cbg to DSM as well
Canuck time is here
 
eh :D how goes it fellow 6ers, hope the weekend was nice.
 
1:30 PM
itchy
we went to the countryside for the weekend and I have at least a dozen mosquito bites
 
oh... price to pay for nature's beauty?
 
Canada has taken over
 
DSM
I read an article recently arguing that some people really are more attractive to mosquitoes. Does this always happen to you or was it just bad luck?
 
Oh that's definitely a thing. My wife is a mosquito magnet. Mosquitoes used to love me, but only until we got together. Now any mosquito in a 500-meter radius will find her. But there was a new generation(/species?) of freshly hatched mosquitoes where we went, and they were so aggressive they even found me.
 
It's true, there Is a blood type they love and it's not mine! time.com/3311624/why-mosquitoes-bite
 
1:33 PM
for what it's worth I was doing some gardening so I was going out of my way to arouse their attention
 
you basically went to them and served yourself in their hiding / resting place...
 
^ I second AD, mosquito LOVES me, idk if it's the ratio of fat to blood type content or what not, but if I walk out with family and friends, I tend to be the first casualty.
 
DSM
Hungarian food, delivered right to your home!
 
@shad0w_wa1k3r Partly, yes :) But they also came at me when I was resting under a tree in a comfy deckchair
 
Hmm. Is there any well-known set that is provably non-empty, but no elements of that set are known? If such a thing existed, then I might concede that the axiom of choice is useful
 
1:35 PM
@Kevin "the set that contains where that other half pair of socks of yours is"
 
the set that contains full pi?
 
@MooingRawr I'm somewhat skeptical towards broad categories such as blood type being relevant. Mosquitoes find prey based on visual, heat and olfactory cues depending on their distance to the target. We just probably smell more delicious.
 
"The set of digits contained in pi" is known, though: it's zero through nine.
"The set containing pi and no other elements" is also known: it's {pi}
 
boo Kevin, I meant {3.14......} but fair point I guess...
@AndrasDeak If you find a way (other than marrying someone who is more tempting for mosquitoes) to repel these buggers do let me know.
 
I don't discount the possibility that irrationals might be useful here, but there's no low-hanging fruit immediately available
 
1:40 PM
@Kevin hmm. The rational in between, say, 3/4 and 3/7 in the usual enumeration of rationals?
 
This is a very interesting read.
Linus acknowledging his "approach".
 
en.wikipedia.org/wiki/Irrational_number#Irrational_powers comes close: "The set of all irrational number pairs (a,b) such that a^b is rational" was proven to be non-empty, but the proof was non-constructive, so no element was known to be in the set. Too bad that there's also a constructive proof later on.
 
DSM
@Kevin: the smallest prime number between x=10^(10^10) and 2*x. This set is provably non-empty (there's always a prime between x and 2x), but no one knows it. While that technically satisfies your request I don't think it's the kind of thing you wanted.
Even many constructivists allow for countable-length decision procedures.
 
Agreed. I also considered things like "primes whose decimal representation contains one hundred consecutive nines", but this somehow seems unsatisfying
(actually I don't know whether you can prove that there is such a prime, but let's assume you can)
 
I want to say there are infintely many primes so sure, but it actually isn't that simple I guess
there can be as-of-yet-unknown number theoretical theorems that forbid such runs in the decimal representation of primes
 
1:50 PM
Mm hmm, for much the same reason that not all irrationals are normal, despite containing an infinite number of unique nonrepeating digit sequences
 
DSM
There is definitely a prime such that its representation contains 100 consecutive nines.
For large enough n there's a prime between n^3 and (n+1)^3. Working with 10 nines for compactness:
In [199]: n = int('9'*(10+1)+'0')

In [200]: n
Out[200]: 999999999990

In [201]: n**3
Out[201]: 999999999970000000000299999999999000

In [202]: (n+1)**3
Out[202]: 999999999973000000000242999999999271
Add enough 0s to satisfy the 'sufficiently large' criterion I'm too lazy to look up the explicit details for, and we can guarantee there's a prime in there.
 
Does this imply that if N has 100 nines, then N**3 also has 100 nines? Interesting
 
@DSM ah, nice
 
DSM
@Kevin: not in general, we need to construct N in such a way we can make sure that the cubing process keeps enough nines there.
 
Ok, so some numbers with 100 nines can be cubed into another number with 100 nines. And it sounds like there are an infinite number of such numbers. But not all numbers with 100 nines have this property.
 
DSM
2:01 PM
Correct.
 
math.stackexchange.com/a/1119062/46020 suggests "the set of digits that appear infinitely many times in pi", which is more satisfying than "some huge prime with such-and-such quality" since you can't trivially write a program that eventually outputs a member of the set and then halts
I would have liked a set that contains an infinite number of elements, but "no more than ten" is fine too I guess
 
DSM
Okay, I looked up the details. :-) It's known to be true for n > exp(exp(15)), ~1.6e1419716. So for n=int('9'*(100+1) + '0'*1500000), there's definitely a prime with 100 consecutive 9s between n^3 and (n+1)^3.
 
That's a big number.
 
it's so big it's already data
 
So any proof that requires you to select an element out of a set would seemingly fall apart, because there are sets which you can't select elements from, because you don't know what elements are in the set. But the axiom of choice implies that selection is always possible, even if you're not sure how to do it.
 
2:14 PM
the good thing about axioms is that you can just ignore them
 
I went digging to find out what about AC, found an xkcd link instead :\ not really a heavy AC reference but eh... edit: oh this one too :\
 
DSM
Okay, time to go earn my keep. At least I know I accomplished one thing today!
 
This is useful because now you can prove things about collections of sets that would otherwise first require you to prove things about the digit distribution of pi, which is super hard.
 
DSM
Rhubarb for all!
 
rbrb
 
2:16 PM
\o tc DSM
 
rbrb
 
And even if you do find all the infinite digits of pi, then you still have an infinite number of other super hard problems to solve. Furthermore, some of those super hard problems are undecideable, so you're doomed from the beginning.
 
if I had to wager I'd bet on "all of them are infinite"
 
7 gets killed off in the fifth season finale, a very controversial move by pi's writing team
 
Do you think they'll jump the shark after 10↑↑↑↑↑↑10 digits?
 
2:26 PM
The author of the original novels has only produced 10↑↑↑↑↑↑9 books, so things will definitely go off the rails before then
 
Is it on Netflix yet?
 
You can stream it for free, with no internet access even, if you have a sufficiently powerful computer
 
I wonder if I could use that as a loophole to watch other stuff on Netflix for free without internet access
 
If pi is normal, it contains every show on Netflix, and also every show not on Netflix
Problem: it also contains all possible commercial interruptions.
 
sweet, I love those unmade shows
but it also contains all the fun commercials of the future Superbowls
 
2:34 PM
my favorite unmade show is the series finale of LOST that explains everything in a satisfying way.
 
Oh nice, I haven’t seen that yet. I have only seen that first episode where the plane does not crash land.
 
In the* second episode, the plane lands safely at its intended destination: Fantasy Island. Then the show focuses on the protagonist's fantasy, "what if the plane had crashed?". And then everything else is the same
(*or rather, one second episode from among the infinite set of potential second episodes)
 
Fantasy Island? Is that the same Island the dinosaurs put the humans for entertainment reasons after they took over control in Jurassic Park?
 
Yes, it's all part of the extended Spelling-Goldberg-Spielberg-verse
 
cbg-noon
 
2:54 PM
If I wrote a canonical post for "when is an appropriate time to use variable variables?", do you think people would use it as a dupe target for "how do I implement variable variables?" questions?
Or would people say "well, asking 'how do I do X?' and 'should I do X?' aren't really the same"
Maybe I'm overthinking it. Empirically, my standards for dupe targets are higher than average. My most successful canonical post mostly gets used as a target for questions that I don't consider to be exact duplicates. "why isn't my input loop working?" is not, strictly speaking, a duplicate of "here's a couple ways to write a functional input loop".
 
will the answer contain anything other than "never"?
 
That would be in the TLDR at the top of the post, but for actual substance I want a practical breakdown of the alternatives, e.g. lists/dicts/etc
 
than it would be the answer to the wrong question :P
 
3:19 PM
Maybe I should just write an answer for How do I create a variable number of variables?, since no existing answer covers the security aspect.
exec(f"{input()} = 23", globals()) is obviously insecure. But what about globals()[input("Enter a name.")] = 23? can that give arbitrary code execution to the user?
You can overshadow whichever builtin you want, but I don't see how that does anything worse than causing TypeError: 'int' object is not callable further down the line
 
morning cabbage?
 
yes it is still morning. your cabbage is valid
thanks for asking first.
 
always
 
7:32pm here
 
it's OK to be in the wrong timezone
no judgement
 
3:34 PM
:)
 
How am I supposed to slam variable variables as being insecure if it's not actually insecure ;_;
These FACTS are making it hard for me to write an effective ANGRY RANT
 
@MartijnPieters I'd have to do some more research, but I think there's already been progress in ASGI servers and frameworks to handle async and sync routes in the same app.
I think the tricky part is writing the internal code with async def while still supporting traditional WSGI servers that don't know what to do with that.
There's apparently some experimental branch of urllib3 that's writing all the code with async def then translating it with a tool like 2to3.
I'm not sure what we'll be doing yet, exploring that is part of the whole process.
 
3:56 PM
Anyone who, like me, is a fan of "game dev post-mortems outlining fancy algorithms with lots of illustrative pictures" may enjoy Anatomy of a Falcon.
 
Is there another source? Tumblr is blocked on my work network.
 
Not that I'm aware of. That's the official development blog, linked from Falcon Age's web page, and there's no obvious indication of there being a mirror anywhere else
 
4:17 PM
rb folks
 
4:48 PM
I think we're in the middle of an era of game design, characterized by an attitude of "why doesn't this new triple-A game have [feature]? [groundbreaking game from ten years ago] had it ten years ago". Where [feature] is "mirrors that show realistic reflections" or "really good enemy AI" or "dynamic falcon claw positioning on a VR-controlled hand". The bottleneck for amazing features becomes increasingly more about developer ingenuity than computational resources.
The answer to "why no [feature]?" boils down to "because in the time frame allocated to us, we couldn't reverse-engineer how they did it ten years ago"
 
Dectupling the number of polygons that can be rendered per frame doesn't make your programming team any more likely to come up with an improvement to A* pathfinding.
 
@wim you're the third to post that chat.stackoverflow.com/search?room=6&q=lkml :P I'm half inclined to pin one of these by now...
 
Or has this always been the case, and I just don't know enough about older generations to see the pattern? Were people saying "How come Super Mario World doesn't have [feature], when Mario Bros 3 did?"?
 
5:30 PM
just throw more whatever is the current fade, which I believe is Battle Royals :P
get a burst of sales, don't worry about the long game, and just support it for a few years let the game die out and rinse and repeat :D
 
I never really understood why people get upset when a game stops getting updates. There used to be a time when you bought a game and that's all you'd ever get. Nobody's mad that Ocarina of Time never got DLC.
Unless by "support" you mean "keep the multiplayer servers running". If a game becomes unplayable, that's a problem. Ideally the server software would be public. e.g. Minecraft.
 
Few reasons: We are in the era of internet and easy access to patch things and that includes easy to update so the current generation expects updates. 2/ Local games I understand no updates but most games are not local, and or requires an internet access (why? maybe to collect data or what not either way if you are forcing an Internet connection to play a single player game, I feel it's no longer "singleplayer", at least at heart. 3/It's easier to add to a game with DLC new maps and charge 75%
of the full game, similar to what Battlefield, CoD and Cities Skyline.
I think in our modern era, the gaming industry has adapted to new lower cost higher income compare to back then. Similar to how now most if not all free games have a loot box system.
And with that the players would expect the "standard" even if it may or may not be consumer friendly.
 
Closed-source centralized multiplayer servers is a problem. Call-home DRM is a problem. Releasing only half of a game is a problem. Requiring microtransactions for a playable experience is a problem. Purchasing a complete game at launch and expecting regular content patches indefinitely is entitlement.
 
I agree. I'm not a fan of the current status of the gaming industry.
If Pokemon was developed today, it would only be just one game with each "new" version being DLC expansion :\
 
Pokemon is being developed today ;-)
(yes, I know what you mean)
 
wim
5:45 PM
@AndrasDeak whoops
 
Also, which ever company wants to get rich, just needs to play with the nostalgic feeling of the gamers that are entering the adulthood which now has disposable income, rather than bugging their parents for a game. Ie, split screen Halo or something idk.
 
Pokemon is an interesting example of "what happened to [feature]?", in particular "your pokemon follows you around in the overworld", which was present in HG/SS and vanished by the next* game
(*or the one after the next game? I forget)
 
When I was a kid, my biggest problem was what do I need to do to convince my parents to buy me what I want, now it's do I want the Pikachu vs Eevee or Smash Ultimate version of the Switch :\
 
The usual excuse of "we can't replicate what the programmers of old did" doesn't work, because presumably they're the same programmers at the same company, with access to the old source code
 
cbg
 
5:47 PM
I think Pokemon is special because it's Nintendo, they are known to try new things and brings things back.
cbg Rogan
 
Has anyone has success compiling Cython code with Anaconda?
 
No clue I don't use Anaconda :\ sorry maybe this will help : docs.anaconda.com/anaconda/faq/#how-is-cpython-compiled
 
I've spent several hours trawling every fix I can find but the PATH just seems to be wonky for GCC compiler because Anaconda itself is loading its own config file
I'm assuming I'm missing a trick but I'll be damned if I can find what it is
 
but I think Nintendo is more of, we know this works but we want to know what else works, so let's remove that feature for now and bring it back when the next thing we try fails. And if the next thing succeeds let's rinse and repeat the process.
 
6:07 PM
I'm thinking of using scipy to do some voronoi diagrams. The documentation says it requires qhull. Do I need to install that separately? I don't want to bother if I have to install it separately. I would ordinarily run the function and see if it works, but it might take me upwards of twenty minutes to get the arguments right.
Oh, there's some sample code right here in the docs. Let's see... Runs on my machine.
 
@MooingRawr No, it's a custom close vote written by a user
"Other (add a comment explaining what is wrong)". That explanation then becomes its own close reason that others can select.
 
wim
Often used to comedic effect.
 
@roganjosh Oh first time I've seen it thanks.
 
6:33 PM
Hmm, this voronoi function doesn't make it easy to identify the direction of the rays that comprise the borders of the infinite-volume regions of the graph
All it gives is the two vertices that all the points on the ray are equidistant to
Combine that with the starting vertex, and you narrow it down to two possible rays having 180-degree rotational symmetry with one another
Just as well since I think I ultimately want to plot on the surface of a torus, which can't possibly have infinite-volume regions
 
6:48 PM
Uni has well and truly started....
 
Hello
Are python questions welcomed here?
Anyway. I'm executing a function on CSV rows in parallel using ProcessPoolExecutor from concurrent.futures
 
Yeah
 
I'd like to write the result to these as they are completed, not wait for all of the rows to be process then write them
It's seems that executor.map() waits for all of the results to come in instead of yielding them as they are completed.
How do I process the futures as they are returned from the process pool instead of waiting?
 
I don't know much about futures, but if executor.map is anything like ordinary map, then the output will be in the same order as the input was. This means you can't access the second result until the first result is ready. If you don't care about preserving order, then perhaps map isn't the appropriate tool.
I wonder if as_completed would be useful here? If I read this correctly, this iterator will return results as they are completed, which sounds like what you want.
 
02:00 - 19:0019:00 - 22:00

« first day (2893 days earlier)      last day (2071 days later) »