Posts

flash - AS2: Are functions declared in a class stored as separate instances taking up more memory on each object instantiated? -

flash - AS2: Are functions declared in a class stored as separate instances taking up more memory on each object instantiated? - my question memory utilize , objects in actionscript 2. if have class definition: class test1{ public function one(){trace("hello");} public function two(){trace("world");} } and sec class definition: class test2{ static public function one(){trace("hello");} static public function two(){trace("world");} } and following: var object1a = new test1(); var object1b = new test1(); var object2a = new test2(); var object2b = new test2(); is size of object1a + object1b greater size of object2a + object2b because of functions not beingness static (and perchance beingness copied each object instantiation)? not have actionscript 3 observe memory use, maybe can check how behaves in 3 if hard determine in 2. i'm wondering if non-static fellow member functions references single ...

Expression Sketchflow : Is it possible to run full screen? (and without window border?) -

Expression Sketchflow : Is it possible to run full screen? (and without window border?) - i did sketchflow prototypes client. the client need application "touchable" on 19" display, seek launch prototypes in total screen on display (as final application be). i searched through net , found "solution" : transform sketchflow project in blend project, , tell blend project run in total screen mode. this solution doesn't work time tutorials say, , doesn't work me apparently :-( do know other solution? thanks help, antoine that best solution, part of didn't work? if want send me solution can help convert run without sketchflow player. first.last@microsoft.com using name. expression-blend sketchflow

Symfony2 PHP Limit one user sessions 20 -

Symfony2 PHP Limit one user sessions 20 - i'm looking way user can come in 10 times simultaneous, if user logs more (user 11) assess whether nonexistent simultaneous sessions no users more 30 minutes connected, if happens, disconnected oldest, allowing new user (user 11) enter. if 10 users less 30 minutes, display error message, not allowing admission. it remains create table session saved, consult whenever 1 enters delete value. adionalmente, must create script poll worker each n seconds , close session if exceeded 20. this resolved php symfony2 session limit

mozart - How to bind an unbound value in a List in Oz -

mozart - How to bind an unbound value in a List in Oz - let's have next code: local l in l = {list.make 10 $} % bind nth element here end how 1 set of these unbound values? oz list documentation didn't shed lite on this. related question found was: how alter element in list in oz? reply didn't compile me, nor did find how compile. i able utilize oz list documentation work! declare temp index value l in l = {list.make 10 $} index = %index bound value = %value bound temp = {list.mapind l fun {$ b} if == index b = value else b end end $} oz mozart

python dictionary remove duplicate key values pairs -

python dictionary remove duplicate key values pairs - i have file need remove duplicated pairs (marked in bold). the input file: at1g01010 = 0005634 **at1g01010 = 0006355** at1g01010 = 0003677 at1g01010 = 0007275 **at1g01010 = 0006355 at1g01010 = 0006355** at1g01010 = 0006888 **at1g01020 = 0016125** at1g01020 = 0016020 **at1g01020 = 0005739** **at1g01020 = 0016125** at1g01020 = 0003674 at1g01020 = 0005783 **at1g01020 = 0005739** **at1g01020 = 0006665 at1g01020 = 0006665** expected output: at1g01010 = 0005634 at1g01010 = 0006355 at1g01010 = 0003677 at1g01010 = 0007275 at1g01010 = 0006888 at1g01020 = 0016125 at1g01020 = 0016020 at1g01020 = 0005739 at1g01020 = 0003674 at1g01020 = 0005783 at1g01020 = 0006665 so remove duplicates first made dictionary. after creating dictionary tried coding: import sys ara_go_file = open (sys.argv[1]).readlines() ara_id_list = [] ara_go_list = [] lines in ara_go_file: split_lines = lines.split(' ') ara_id = sp...

c# - How to set textbox width depending of text length in ActiveReports -

c# - How to set textbox width depending of text length in ActiveReports - is there property set width of textbox grow/shrink in order it´s text length? don´t want calculate length/width ratio constant.. thanks, walter if helps may want check shrinktofit property reduces size of text fits within bounds of control. c# textbox activereports componentone grapecity

with azure webjobs how do i pass parameter for a scheduled task -

with azure webjobs how do i pass parameter for a scheduled task - i creating dot net console app run azure webjob. scheduled run 1 time hour. i wondering how pass parameter job when invoked? scheduled webjobs 2 separate resources: triggered webjob azure scheduler job to pass parameters webjob need go scheduled job (in management portal) , update url used invoke triggered webjob. the rest api described here: https://github.com/projectkudu/kudu/wiki/webjobs-api#invoke-a-triggered-job basically need add together ?arguments={your arguments} end of url. these arguments passed command line arguments executable. azure azure-webjobs azure-webjobssdk