This file contains 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
int width = 200; | |
int height = 200; | |
int numsquares = width / 20; | |
Square[][] squares = new Square[numsquares][numsquares]; | |
void setup() { |
This file contains 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 find(id) | |
@source.find(id) | |
end | |
def find_all(ids) | |
@source.find_all(ids) | |
end | |
------------------ |
This file contains 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
I was having trouble responding to that in a few tweets, so I decided to flesh my thoughts out a bit here. | |
Things about me & internet drama: | |
- I enjoy it. I don't get upset or depressed by it, and I am pretty good at walking away when the possibility for productive | |
discussion seems to have evaporated. This is probably because I am a non-poor, college-educated mostly-cis straight-passing | |
white dude, and don't have a history of verbal abuse or self-esteem issues. | |
- I believe that I can use the advantages conferred by the above privileges to do some good by participating in discussions | |
respectfully, calmly, and with the kind of personal passion that is inspired by witnessing harm that has been done to close |
This file contains 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
me: anyway, i think the artifact and the creature get each other's abilities if they have an artifact creature bridge | |
the rules don't seem super explicit about it, but I take | |
613.4. The application of continuous effects as described by the layer system is continually and automatically performed by the game. All resulting changes to an object's characteristics are instantaneous. | |
to mean that we're not done applying a continuous effect until the property it describes is true of all the objects it affects. | |
psly4mne: i'm pretty sure that's not how the layer system works | |
me: it's not about layers | |
its the application of one ability within layer 6 | |
psly4mne: oh, that is the disagreement | |
i'm pretty sure the ability only applies once | |
it looks at the abilities of everything before it applies and copies them as specified |
This file contains 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
System.out.println(sessionFactory.getCurrentSession().doReturningWork( | |
new ReturningWork<String>() { | |
@Override | |
public String execute(Connection connection) throws SQLException { | |
DatabaseMetaData metaData = connection.getMetaData(); | |
return metaData.getURL(); } | |
})); |
This file contains 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains 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
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
This file contains 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
# python2.7 | |
def foo(): | |
#exec "" # uncomment to make this work, see https://stackoverflow.com/a/8028785/314922 | |
defaults = { | |
'what': None, | |
} | |
locals().update(defaults) | |
print what | |
OlderNewer