doczilla

u/doczilla



r/learnpython•

Hello,

Cannot for the life of me figure out why Django is pushing different session cookies to my browser. The application is configured to use sessions via file session engine "django.contrib.sessions.backends.file" per the docs.

That's all good and well, but when I go to load up the webpage I'm getting some odd behavior. If I load the webpage without making any request.session based calls in the view, then I get a session cookie in my browser. However, if I do make some sort of request.session call in my view, then I get a sessionid cookie in browser.

This is entirely too vague to google and I'm falling short on finding anything in the documentation so any insight into why Django

13


r/findaleague•

Trying to fill spots in a free sleeper league - currently set at 10 slots but open to doing up to 12. Drafting either Tuesday or Wednesday @ 9PM EST. PM if interested and I'll invite to the league. Roster is as follows:

(1) QB

(2) RB

(3) WR

(1) TE

(1) Superflex

(1) DS/T

(1) Kicker

11

r/civvoxpopuli•

I've logged a bunch of hours recently on multiplayer vox populi, and unfortunately the stability on the later versions seems really shaky (even with barbs off) in terms of desync frequency. The 4/30 version with barbs off seems to work wonders, but it would be nice to play the later versions with comparable stability. Are there any settings/tweaks I can make to make the newer versions more stable?

123

Just wanted to give a shout-out to my professor today (teaching a 500 level CS course) who took the first few minutes out of lecture to talk about FIRE. Someone had asked her a tuition related question right before class was supposed to start and she kind of rolled it into a 5-7 minute lesson about the basics of FIRE.

I thought it was super cool of them to share that since A) they certainly had no obligation to give up class time to talk about it and B) a lot of young folks in there are about to graduate and could really benefit in the long run if they start to apply FIRE related principles straight out of college.

Edit: thought this sub would find this experience to be an interesting rea

969100

r/Minecraft•

Already tried googling so I figured I would post up here and see if anyone has any helpful insight. I'm trying to use end gateway portals in a vanilla (no mods / plugins / anything) 18w45a server and it is not working out to say the least. When I shoot an end pearl into the void core of the gateway I just get teleported back to where I originally spawned in the end instead of some new magical place I was promised. Thought I might have just gotten a bad RNG roll on the portal or something so I beat the dragon again and the new portal does the exact same thing. Any insight anyone can provide for this issue would be greatly appreciated!

12

r/Yugioh101•

Hi,

I'm playing a trickstar deck on the YGOPro2 client and can't figure out for the life of me how to get this supposedly game winning combo of droll & lock bird / trickstar reincarnation to work. For some reason even though I set reincarnation as the first chain and droll as the second chain my opponent still draws the cards as if droll didn't resolve quick enough.

To my understanding it goes like this:

  • Have reincarnation set and droll in hand
  • Wait for an opportunity in which you would usually use droll's effect
  • Instead of using droll's effect, do reincarnation as chain 1 and droll as chain 2
  • Win the game because droll's effect activates first in the chain and the second par
28

r/NoMansSkyTheGame•

My friend and I have been getting into NMS lately, and I was able to meet up with her via portal. We made bases on the same planet a couple minutes away from each other, but base sharing doesn't seem to be working. When we go to each other's bases, we just see the single circular building that all bases start off with despite both of us having built on much more to our individual bases.

I've done a metric ton of googling on this and I can't find a clear answer. Some people said that bases by other players are viewable by default, others said there is a setting you have to turn on to enable base sharing, and some said that base sharing is only doable in the "preview mode" through steam work

24

r/learnpython•

So I'm a little curious as to other's opinions on what I have loosely called a "class identifier" such as self in the following examples:

class Object:
    def __init__(self, parameter):
        self.parameter = parameter
        return

I ask because I know that the standard is considered to be self, but after taking a java course in university this semester I have found myself using 'this' as my class identifier in my python classes rather than 'self'. I just find that it's a better keyword to reference the current object you're working on. Would love to stir up some discussion and hear what the r/learnpython community consensus is regarding the topic.

Edit: originally p

26

r/pcmasterrace•

Hey there Reddit! Hope everyone is having a great holiday season. Today I’ll be doing a giveaway to get the word out about my new project, Santa's Magic Tree Gel. More on that in a minute – but first, the giveaway!

Giveaway items: (10) $20 Steam cards, (2) $50 Steam cards, (1) $100 Steam card, and my old Asus R9 280X (I recently upgraded to the R9 Fury and no longer need the 280X). Verification photo

How to enter the giveaway: just leave a top level comment on this thread. I could use a good laugh, so the funnier the better, although that won’t increase your chance of winning. If you would like to exclude yourself from the d

268845