What's in your clipboard? (Ctrl+v)

For completed/abandoned Mish Mash Games.
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10759
Joined: April 28, 2011
Pronoun: he/they
Happy Scumday!

Post Post #3900 (ISO) » Wed Aug 12, 2015 9:32 am

Post by Psyche »

honestly "whom" should just disappear from the english language
User avatar
Mitillos
Mitillos
He
Mafia Scum
User avatar
User avatar
Mitillos
He
Mafia Scum
Mafia Scum
Posts: 2300
Joined: August 23, 2012
Pronoun: He

Post Post #3901 (ISO) » Wed Aug 12, 2015 8:20 pm

Post by Mitillos »

Should "him" and "them" also disappear?
You don't have ambiguity; you have
options
.
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10759
Joined: April 28, 2011
Pronoun: he/they
Happy Scumday!

Post Post #3902 (ISO) » Fri Aug 14, 2015 5:33 pm

Post by Psyche »

no
User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3903 (ISO) » Fri Aug 14, 2015 9:14 pm

Post by AniX »

Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN
User avatar
Jopalopa
Jopalopa
Townie
User avatar
User avatar
Jopalopa
Townie
Townie
Posts: 13
Joined: May 28, 2014

Post Post #3904 (ISO) » Sat Aug 15, 2015 1:49 pm

Post by Jopalopa »

User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3905 (ISO) » Sat Aug 15, 2015 2:51 pm

Post by AniX »

Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN
User avatar
Nobody Special
Nobody Special
Survivor
User avatar
User avatar
Nobody Special
Survivor
Survivor
Posts: 14479
Joined: January 6, 2010
Location: Not here

Post Post #3906 (ISO) » Mon Aug 17, 2015 6:17 pm

Post by Nobody Special »

....what?



Blitz: Picking Simplicity taking pre-ins; PM for info. (0/13)
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10759
Joined: April 28, 2011
Pronoun: he/they
Happy Scumday!

Post Post #3907 (ISO) » Tue Aug 18, 2015 8:51 am

Post by Psyche »

#!/usr/bin/env python

# What this program is supposed to do:
# 1. Collects subject name and id.
# 2. Loads parameters defining matrix size, step size, and randomness type.
# 3. Generates switch(x) matrix for a random value x.
# 4. Permits subject to increment or decrease x and alter matrix's appearance.
# 5. Enables the subject to finish and save various data

import random, Tkinter, tkFont, os, time
from PIL import Image, ImageTk, ImageDraw

window = Tkinter.Tk() # start up window
screen_midpoint = window.winfo_screenwidth()


# update canvas to reflect new switch(x) sequence
def update(canvas):
s = switch(p) # generate a switch sequence with which to define matrix
matrix = Image.new('RGBA', (n, n)) # create image to draw matrix on
draw = ImageDraw.Draw(matrix)

# color tile colorA or colorB depending on switch(x) sequence
# and lay tiles horizontally/vertically depending on prior random choice
isHorizontal = random.choice([True, False])
for i in range(n):
for j in range(n):
if s[i * n + j] is True:
if isHorizontal: draw.point((i, j), colorA)
else: draw.point((j, i), colorA)
else:
if isHorizontal: draw.point((i, j), colorB)
else: draw.point((j, i), colorB)

# size up and place matrix in window
matrix = ImageTk.PhotoImage(matrix.resize((size, size), Image.NEAREST))
canvas.create_image(size/2, size/2, image = matrix)
canvas.matrix = matrix

# define a switch(x) sequence of length n^2
def switch(x):
s = [] # define a bit string s:
s.append(random.choice([True, False])) # set its first bit randomly,
for i in range(1, n * n): # but for every subsequent bit i,
prior = s[i-1] # find its prior bit i-1,
shouldSwitch = x > random.random() # and with probability 1-x,
if shouldSwitch: s.append(not prior) # set i to opposite of its prior;
else: s.append(prior) # otherwise, have i = its prior.
return s

# provide interface for determining parameters by either filename or input
def getParameters():
global window, parameters # global variables to be modified

center = screen_midpoint/2 - 200 # establish center for interface
window.geometry('+' + str(center) + '+0') # place near center of screen
# define the parameters I'm looking to clarify
# last value in list decides whether config file or input decides parameters
parameters = ['Configuration filename: ', 'Subject Name: ',
'Step size [.0001, 1]: ', 'Tiles per row/column: ',
'Matrix size (in pixels): ', 'First color (keep it simple): ',
'Second color: ', Tkinter.IntVar()]

# prepare window for the GUI
for w in window.children.values(): w.destroy() # clears window for GUI
window.wm_title("Dynamic Switch(x) Matrix, 12/31/2014") # titles window

# start with instructions for the user at the top of the interface
newframe = Tkinter.Frame(window)
newframe.pack(side = Tkinter.TOP)
instruct = ("\nInput a subject name AND specify a configuration."
"\nYou can use a filename or specify the information here.\n"
"\nThe file must be in a folder named 'config' within the same"
"directory as this program.\n")
Tkinter.Message(newframe, text = instruct,
justify = Tkinter.CENTER, width = 400,
font = tkFont.Font(family = 'Helvetica', size = 11)).pack()

# set up labeled entry boxes for every parameter but the last
for i in range(len(parameters)-1):
newframe = Tkinter.Frame(window)
newframe.pack(side = Tkinter.TOP)
Tkinter.Label(newframe, justify = Tkinter.RIGHT, width = 35,
text = parameters
).pack(side = Tkinter.LEFT)
parameters
= Tkinter.StringVar()
Tkinter.Entry(newframe, textvariable = parameters
).pack(side = Tkinter.LEFT)

# allow last parameter to be decided using a checkbox
# last value in list decides whether config file or input decides parameters
newframe = Tkinter.Frame(window)
newframe.pack(side = Tkinter.TOP)
Tkinter.Checkbutton(newframe, variable = parameters[-1], text =
"Check here if loading parameters from configuration file").pack()

# Finally, a Run button to set the parameters and then tile the matrix
newframe = Tkinter.Frame(window)
newframe.pack(side = Tkinter.TOP)
Tkinter.Button(window, bg = 'yellow', text = 'Run',
command = setParameters,
font = tkFont.Font(family = 'Helvetica', size = 11)).pack()
window.mainloop()

# establish global parameters according to user input
def setParameters():
global p, n, step, subject, colorA, colorB, numPChanges, starttime, pStart, size

# set parameters by user input or by loading a configuration file
if parameters[-1].get() == 0: # examine content of input if no filename
step = float(parameters[2].get())
n = int(parameters[3].get())
size = int(parameters[4].get())
colorA = parameters[5].get()
colorB = parameters[6].get()
else: # otherwise grab most info from some file
if parameters[0].get().endswith('.txt'): name = parameters[0].get()
else: name = parameters[0].get() + '.txt'
filename = open(os.getcwd() + '\\config\\' + name, 'r')
config = filename.read().split('\n')
filename.close()
step = float(config[1])
n = int(config[3])
size = int(config[5])
colorA = config[7]
colorB = config[9]
subject = parameters[1].get() # must be input manually no matter what
p = random.random() # decided randomly every time
pStart = p # must keep track of starting p
numPChanges = 0 # must start at 0 for every trial
starttime = time.time() # start timing how long trial takes
tileMatrix() # tile matrix according to set parameters


# central method that generates matrix and interface for controlling it
def tileMatrix():
global window, canvas # the basis of the matrix
for w in window.children.values(): w.destroy() # clears window for matrix

center = screen_midpoint/2 - size/2 # establish center for interface
window.geometry('+' + str(center) + '+0') # place near center of screen

# generate an appropriately sized and titled backdrop for the GUI
window.wm_title("Please adjust in order to make the input random")
newframe = Tkinter.Frame(window)
newframe.pack(side = Tkinter.TOP)
canvas = Tkinter.Canvas(newframe, bg = 'grey',
height = size, width = size)
canvas.pack() # this has Tkinter decide the place of the canvas for me
update(canvas)

# establish the four buttons constituting the GUI:
# the buttons incrementing/decrementing p by the value of step
newframe = Tkinter.Frame(window)
newframe.pack(side = Tkinter.TOP)
stepfont = tkFont.Font(family = 'Helvetica', weight = 'bold', size = 12)
Tkinter.Button(newframe, height = 2, width = 21, bg = 'blue', fg = 'white',
text = 'Less repeating', font = stepfont,
command = lessRepeat).pack(side = Tkinter.LEFT, padx = 30, pady = 10)
Tkinter.Button(newframe, height = 2, width = 21, bg = 'blue', fg = 'white',
text = 'More repeating', font = stepfont,
command = moreRepeat).pack(side = Tkinter.LEFT, padx = 30, pady = 10)

# ...and the buttons quitting and either saving or not saving collected data
newframe = Tkinter.Frame(window)
newframe.pack(side = Tkinter.TOP)
quitfont = tkFont.Font(family = 'Helvetica', size = 11)
Tkinter.Button(newframe, height = 1, width = 21, bg = 'yellow',
text = 'Quit and lose all data', font = quitfont,
command = getParameters).pack(side = Tkinter.LEFT, padx = 30, pady = 15)
Tkinter.Button(newframe, height = 1, width = 21, bg = 'pink',
text = 'Record choice and quit', font = quitfont,
command = quitSave).pack(side = Tkinter.LEFT, padx = 30, pady = 15)
window.mainloop() # start the window

# increment p and thus also the probability of alternation; record change
def lessRepeat():
global p, numPChanges, canvas # global variables to be modified
numPChanges = numPChanges + 1 # to be incremented
if p + step <= 1: p = p + step # increment p by step
else: p = 1 # but if p would fall below 0, make it equal 0 instead
update(canvas) # update matrix

# decrease p and thus also the probability of alternation; record change
def moreRepeat():
global p, numPChanges # global variables to be modified
numPChanges = numPChanges + 1 # to be incremented
if p - step >= 0: p = p - step # decrement p by step
else: p = 0 # but if p would fall below 0, make it 0 instead
update(canvas) # update matrix

# quit and record all data, returning to the parameter-setting window
def quitSave():
date = time.strftime("20%y_%m_%d")
elapse = time.time() - starttime
filename = open(os.getcwd() + '\\output\\output.txt', 'a')
filename.write(subject + ' ' + date + ' ' + str(step) + ' ' + str(n) + ' '
+ colorA + ' ' + colorB + ' ' + str(numPChanges) + ' '
+ str(elapse) + ' ' + str(pStart) + " " + str(p) + '\n')
filename.close()
getParameters()

getParameters()
User avatar
Nobody Special
Nobody Special
Survivor
User avatar
User avatar
Nobody Special
Survivor
Survivor
Posts: 14479
Joined: January 6, 2010
Location: Not here

Post Post #3908 (ISO) » Tue Aug 18, 2015 10:34 am

Post by Nobody Special »

....what?



Blitz: Picking Simplicity taking pre-ins; PM for info. (0/13)
User avatar
TheDominator37
TheDominator37
Mafia Scum
User avatar
User avatar
TheDominator37
Mafia Scum
Mafia Scum
Posts: 1476
Joined: May 18, 2015
Location: Dowisetrepla

Post Post #3909 (ISO) » Fri Aug 28, 2015 3:56 pm

Post by TheDominator37 »

Danger100ish, post: 4019103, member: 272597 wrote:On mobile. Well, it's kind of hard, there aren't many details.
For starters, every townie here, me included, is an idiot. We heard a scream RIGHT now. The killer shouldn't be far away Since there's no blood, it means he was taken by surprise in a fist fight. It couldn't have been a blow to the head or a strangling, since he screamed. Considering that you implied that Aero had a high-pitched voice, it should have been easy to beat him down. Since Town ran to the source of the scream, it had to have been outdoors to fit all those people. Aero's scream lets us know his attacker got him from behind. To sneak up on Aero, our killer must have been of a stronger build than him, but limber enough to surprise him.
User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3910 (ISO) » Fri Aug 28, 2015 7:40 pm

Post by AniX »

Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN
User avatar
JDGA
JDGA
Goon
User avatar
User avatar
JDGA
Goon
Goon
Posts: 250
Joined: October 12, 2007
Location: Tasmania

Post Post #3911 (ISO) » Fri Aug 28, 2015 9:00 pm

Post by JDGA »

Total Kills: 66,666
Fickle, cold and harsh or caring and warm
Strongly opinionated or barely invested, but a constant
You know the wind will always come back.
User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3912 (ISO) » Sat Aug 29, 2015 2:57 pm

Post by AniX »

i like my skirts
Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN
User avatar
Jackel98
Jackel98
Goon
User avatar
User avatar
Jackel98
Goon
Goon
Posts: 841
Joined: December 27, 2013
Location: The grave of an innocent townie.

Post Post #3913 (ISO) » Sun Aug 30, 2015 1:11 pm

Post by Jackel98 »

“Never put off till tomorrow what you can do the day after tomorrow.”
User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3914 (ISO) » Tue Sep 01, 2015 1:23 am

Post by AniX »

repulsive wilderness
Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10759
Joined: April 28, 2011
Pronoun: he/they
Happy Scumday!

Post Post #3915 (ISO) » Tue Sep 01, 2015 4:28 pm

Post by Psyche »

User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3916 (ISO) » Thu Sep 03, 2015 7:26 am

Post by AniX »

I went so hard with the elf wizard that I was voted off the island after two sessions.
Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10759
Joined: April 28, 2011
Pronoun: he/they
Happy Scumday!

Post Post #3917 (ISO) » Thu Sep 03, 2015 7:31 am

Post by Psyche »

User avatar
Nobody Special
Nobody Special
Survivor
User avatar
User avatar
Nobody Special
Survivor
Survivor
Posts: 14479
Joined: January 6, 2010
Location: Not here

Post Post #3918 (ISO) » Mon Sep 07, 2015 8:41 am

Post by Nobody Special »

sjdhfkjsdhkfjshdkj
....what?



Blitz: Picking Simplicity taking pre-ins; PM for info. (0/13)
Tazaro
Tazaro
Selfie
Tazaro
Selfie
Selfie
Posts: 3997
Joined: July 4, 2010
Location: I can go now without writing more

Post Post #3919 (ISO) » Wed Sep 09, 2015 11:59 am

Post by Tazaro »

jargon word of the day
Last edited by Tazaro on Thu Jun 02, 2016 3:39 am, edited 3 times in total.
Show
Maybe Subservience to Protocol isn't tantamount to Solution to Problem ...
"A little bit of yourself goes a long way"
Blue paint strokes of sadness that leave a trace of meaningfulness
Tell me, O Karen,
Do you feel better
After getting your pound of flesh?
User avatar
Psyche
Psyche
he/they
Survivor
User avatar
User avatar
Psyche
he/they
Survivor
Survivor
Posts: 10759
Joined: April 28, 2011
Pronoun: he/they
Happy Scumday!

Post Post #3920 (ISO) » Wed Sep 09, 2015 6:10 pm

Post by Psyche »

cls

@ECHO OFF

title Folder Locker

if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK

if NOT EXIST Locker goto MDLOCKER

:CONFIRM

echo Are you sure u want to Lock the folder(Y/N)

set/p "cho=>"

if %cho%==Y goto LOCK

if %cho%==y goto LOCK

if %cho%==n goto END

if %cho%==N goto END

echo Invalid choice.

goto CONFIRM

:LOCK

ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

echo Folder locked

goto End

:UNLOCK

echo Enter password to Unlock folder

set/p "pass=>"

if NOT %pass%==Your-Password-Here goto FAIL

attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"

ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker

echo Folder Unlocked successfully

goto End

:FAIL

echo Invalid password

goto end

:MDLOCKER

md Locker

echo Locker created successfully

goto End

:End

- See more at: http://www.laptopmag.com/articles/passw ... 69npU.dpuf
User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3921 (ISO) » Wed Sep 09, 2015 7:13 pm

Post by AniX »

The Fixer
Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN
User avatar
Klazam
Klazam
He/Him
Jack of All Trades
User avatar
User avatar
Klazam
He/Him
Jack of All Trades
Jack of All Trades
Posts: 5641
Joined: June 28, 2010
Pronoun: He/Him

Post Post #3922 (ISO) » Wed Sep 09, 2015 7:54 pm

Post by Klazam »

User avatar
Jopalopa
Jopalopa
Townie
User avatar
User avatar
Jopalopa
Townie
Townie
Posts: 13
Joined: May 28, 2014

Post Post #3923 (ISO) » Sun Sep 13, 2015 7:47 am

Post by Jopalopa »

User avatar
AniX
AniX
None
UCalled
User avatar
User avatar
AniX
None
UCalled
UCalled
Posts: 3241
Joined: September 14, 2003
Pronoun: None

Post Post #3924 (ISO) » Sun Sep 13, 2015 2:08 pm

Post by AniX »

Official Gimmick List:
INVENTOR OF UPICK!
LORD OF THE 11TH HOUR!
ASEXUAL!
KING SCAR APOLOGIST!
DREAMER OF THE NE0N DREAM (SUPP 2021 LAST PLACE WINNER)!


I have donned the
RED CROWN

Return to “Sens-O-Tape Archive”