« first day (3457 days earlier)      last day (1492 days later) » 
00:00 - 18:0018:00 - 00:00

6:02 PM
@YoelZajac check room rules where stating the following >> If your code is longer than about 12 lines, use an external paste tool such as dpaste.com.
 
OK, thanks, I'll read it.
 
Mar 26 at 9:49, by TheLittleNaruto
@YoelZajac For too long code, make a gist and share link here.
 
@AndrasDeak i wonder how you quickly react ? are that done manually or since you are RO , you do have more options.
 
all manual
 
Ok, but how you find the mention itself or even you know that the user been advised for that thing before
 
6:06 PM
I just have a few additional buttons: kick, move, timeout
@αԋɱҽԃαмєяιcαη I remember/suspect earlier such messages, and I search the transcript
 
i believe that you daily take a quick view on the record of chat on the time you aren't here? indeed
 
I usually do, unless it's too long/too irrelevant and harmless-looking
 
Hmm, that's why the word of Moderation been :P
 
Hmm?
 
i mean you deserve to be a RO, because you actually do it in the correct way. at least you aware and have background of all.
 
6:12 PM
ah
 
@AndrasDeak here is my gist:
https://gist.github.com/yoelpiccolo/c94fe3a0eb8d9e7387d3f95451dbc179
 
Does setattr() actually shadow an instance variable? Calling delattr() after setattr() resets the var to default value. But calling delattr() once more gives AttributeError. Hm.
 
@YoelZajac you might have to draw each star separately stackoverflow.com/questions/19694151/…. I've never used pygame, so I can't be sure
 
@Code-Apprentice use types.SimpleNamespace
 
6:27 PM
Oh yeah, I use that. I got so distracted by my object() dumbnesss that I forgot to add...
 
Thanks for the link and all the explanations about the gist :)
In the book however the author creates the line of stars with a for loop and the add() function.
 
And did you try that?
 
My mind also defaults to "just use object()" and I have no idea why. I suspect a plot by the global national capitalistic coalition for communism.
@YoelZajac I don't see star_number defined anywhere.
Also to answer your initial question, you only need the width of the star because you are distributing stars across the width of the screen.
 
not yet honestly... All I wanted to ask is how can you convert only one dimension of the star (width), while the other dimension of the star remains as is (the original).
 
You would need the height of the star if you were to distribute the stars across the height.
You don't convert any dimensions.
 
6:33 PM
@αԋɱҽԃαмєяιcαη Please don't write complete answers in the comments. That's against general Stack Exchange policy. If the question deserves a proper answer, write a proper answer. The only exception is for typos, and some SO old-timers don't even approve of that, they think we should just close typo questions without explaining the error.
 
You only take the width of the rectangle which contains the star.
 
@YoelZajac where do you think the for loop comes into play?
 
The comment # converting the (width) of the star into rectangle is bogus.
 
@MisterMiyagi inside the function that is in charge of creating the line of stars (haven't written it yet).
 
I know where it is.
It doesn't describe what the line below it does.
star.rect is the bounding box of the star image. star.rect.width is the width of the bounding box of the star image. star_width = star.rect.width just reads this width and stores it in a new variable, star_width.
 
6:40 PM
Do you mean this one?

# Start each new alien near the top left of the screen.
self.rect.x = self.rect.width
self.rect.y = self.rect.height
 
Oh it's my comment... trying to understand and write it in my words.... what comment has to be written instead?
maybe didn't understand well that line....
 
@YoelZajac it's been 1.5 hours since we started and we're not a single step closer to what you're asking. I'm starting to think this is not very helpful.
 
I wrote it.
 
Then how did you write it when you don't know what it does?
 
6:54 PM
I thought that I understood the explanations written in the book, but I was mistaken.
 
Do you know what a bounding box is?
 
never mind.... I can continue bye myself... Just tried to understand a small thing that got much bigger than I thought.
I'll read about it.
Thank you so much @MisterMiyagi for all the patience :)
 
 
4 hours later…
11:14 PM
does anyone know the name of an extension i can use for the django templating language to autocomplete {% %} tags in visual studio code?
e.g. i start typing "{%" and it completes to {% %}
 
wim
11:27 PM
^ can OP see these comments once the post is deleted?
 
I think so
 
00:00 - 18:0018:00 - 00:00

« first day (3457 days earlier)      last day (1492 days later) »