This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[11:20pm] jarshwah joined the chat room. | |
[11:23pm] timograham: PirosB3: I see it a bit differently I guess. For each class, give me the list of student IDs. Since one class doesn't have any students, we have the None value that corresponds to it. I can't find if the behavior is explicitly tested, but changing it would be backwards incompatible. | |
[11:24pm] PirosB3: thanks for explaining timograham | |
[11:24pm] PirosB3: in this particular example, the list is flattened | |
[11:25pm] PirosB3: if a class doesn't have any students, shouldn't it return an empty list? | |
[11:26pm] timograham: I suppose you could argue that | |
[11:27pm] PirosB3: with a None being possible with values_list, it makes developer's lives more difficult, as they need to check when iterating over the list. But I perfectly understand the backwards compatibility issues | |
[11:29pm] timograham: Yes I see, would be helpful if you could add that to the ticket. We can see what others say (Anssi is likely to have some insight) and whether or not changing it will |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from bisect import bisect | |
from django.utils import six | |
from django.db.models import signals | |
from django.db import models | |
from django.db.models.manager import * | |
from django.db.models.fields import FieldDoesNotExist | |
from django.apps import apps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[9:38pm] deens joined the chat room. | |
[9:39pm] You left the chat by being disconnected from the server. | |
[9:39pm] You reconnected to the server. | |
[9:39pm] You rejoined the room. | |
[9:40pm] ArcTanSusan left the chat room. (Quit: ArcTanSusan) | |
[9:42pm] deens left the chat room. (Ping timeout: 252 seconds) | |
[9:49pm] stephenmcd left the chat room. (Quit: Leaving.) | |
[9:51pm] ArcTanSusan joined the chat room. | |
[9:56pm] claudep left the chat room. | |
[10:02pm] deens joined the chat room. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[11:55pm] freakboy3742: (rules of the game) | |
[11:56pm] freakboy3742: Yeah - I can't easily check format - I'm a mentor, so I've been locked out of the "create proposal' buttons | |
[11:56pm] freakboy3742: IIRC, it's an in-browser WYSIWYG widget | |
[11:56pm] apollo13: well plaintext should be safe :þ | |
[11:56pm] freakboy3742: there might be some markup options | |
[11:56pm] freakboy3742: Plaintext is always safe | |
[11:56pm] freakboy3742: Anyway - Docs will do for now | |
[11:56pm] FunkyBob: freakboy3742: when you've got a sec | |
[11:57pm] freakboy3742: Just going to have to wrestle with Google's authentication stuff... | |
[11:57pm] freakboy3742: FunkyBob: You need me for a big thing or a little thing? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[10:57pm] PirosB3: I updated the doc | |
[10:58pm] freakboy3742: I take it this is your daily "how's my proposal" conversation? | |
[10:58pm] freakboy3742: | |
[10:58pm] • FunkyBob makes a note that freakboy3742 is 3 hours behind | |
[10:58pm] freakboy3742: FunkyBob: I am now. No DST in Perth. | |
[10:58pm] FunkyBob: you lucky sods | |
[10:58pm] PirosB3: freakboy3742: I admit having used the work component once | |
[10:58pm] freakboy3742: Yup. Keep putting it to referendum, and it keeps losing. | |
[10:58pm] PirosB3: I am guilty, but I think I'm using it the write way | |
[10:59pm] freakboy3742: PirosB3: Heh… |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[10:30pm] PirosB3: hello | |
[10:36pm] claudep left the chat room. | |
[10:37pm] jasonamyers joined the chat room. | |
[10:37pm] jasonamyers left the chat room. | |
[10:45pm] timograham joined the chat room. | |
[10:45pm] MarkusH: freakboy3742: may I bug you about swappable models again? | |
[10:47pm] PirosB3: ahah | |
[10:47pm] PirosB3: everybody want's freakboy3742 's attention | |
[10:47pm] PirosB3: | |
[10:49pm] freakboy3742: PirosB3: Oh, I'm just Mr Popular… |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def many_to_many(self): | |
def get_m2m_with_model(self): | |
def get_field(self, name, many_to_many=True): | |
def get_field_by_name(self, name): | |
def get_all_field_names(self): | |
def get_all_related_objects(self, local_only=False, include_hidden=False, | |
def get_all_related_objects_with_model(self, local_only=False, ..) | |
def get_all_related_many_to_many_objects(self, local_only=False): | |
def get_all_related_m2m_objects_with_model(self): | |
def concrete_fields(self): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[1:58pm] verne.freenode.net: [freenode-info] channel trolls and no channel staff around to help? please check with freenode support: http://freenode.net/faq.shtml#gettinghelp | |
[1:59pm] vovanbo left the chat room. (Remote host closed the connection) | |
[2:01pm] jMyles left the chat room. (Ping timeout: 255 seconds) | |
[2:07pm] dlogs left the chat room. (Remote host closed the connection) | |
[2:07pm] dlogs joined the chat room. | |
[2:10pm] echos left the chat room. (Ping timeout: 265 seconds) | |
[2:11pm] echos joined the chat room. | |
[2:15pm] jMyles joined the chat room. | |
[2:18pm] vovanbo joined the chat room. | |
[2:20pm] jMyles left the chat room. (Ping timeout: 240 seconds) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class testClass(object): | |
numero = 5 | |
def __init__(self, string): | |
self.stringa = string | |
def printClass(self): | |
print "Numero = %d" % self.number | |
print "Stringa = %s" % self.stringa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"math" | |
) | |
type Kernel [9]float64 | |
type MaskFunc func(x float64, y float64) float64 |