i am working on some modules,actually change them.
but i don't know how i should document changes in a way that be clear and usefull for future changes.
would someone help me on this issue?
thanks.
Hi,
Is there a way to know if a remote object implements an interface (I cannot change/add methods to the remote object).
Indeed I cannot use a IsAssignableFrom nor the "as" to test since it's a remote object. Then I have an exception when I try to call a non implemented methods.
Thx
Hello.
I'm developing a Flash game in ActionScript 2, and the issue if that this game has to count the time securely.
It can't count the time from the Date class because the Flash Player takes the time from the local computer, and the user can change the local time so the time reported would be fake.
I haven't considerend to take the time from the server because there's a 3WH (3 way handshake) time and it would not be practical.
What do you sugest me??
Hello,
I have Erlang installed on my WinXP machine. Becouse so, I use it by a "werl.exe". The problem is, that I would like to change a default folder that werl starts in. I cannot find option that would let me do that, although I know there must be something like that.
Could anybody help ?
i have included the plugin and written code like
if(page) { $.post(page,{},function(data){callBackFunction(data)}); }
function callBackFunction(data)
{
$('.page_change').html(data);
$('.page_change').effect("bounce", { times:3 }, 300);
$('#submit_show').show();
}
The data change is happening but the bouce effect i am not getting..how do i solve this issue..
In the below thisIsAlwaysTrue should always be true.
DateTime d = DateTime.Now;
bool thisIsAlwaysTrue = d == d;
But does DateTime.Now work in such a way that isThisAlwaysTrue is guaranteed to be true? Or can the clock change between references to the Now property?
bool isThisAlwaysTrue = DateTime.Now == DateTime.Now;
I am having a gridview with an object datasource binded in the markup(aspx page).
When page loads it directly works fine with all sorting and paging properties.
However, i need to filter display on gridview so i have to change the datasource of the gridview on the code behind.
It works fine.. i mean the filtering and displaying is good but paging and sorting doesnt work. Did you have a problem something like this?
I have some xml files that contain text,
how can I can extract this text from the xml documents?(libraries etc?)
how can I use this text to create a pdf document?
I am working in a PHP environment, however if this is not the suitable language, I could change.
I am looking at some code that has a lot of sort calls using comparison functions, and it seems like it should be using key functions.
If you were to change seq.sort(lambda x,y: cmp(x.xxx, y.xxx)), which is preferable:
seq.sort(key=operator.attrgetter('xxx'))
or:
seq.sort(key=lambda a:a.xxx)
I would also be interested in comments on the merits of making changes to existing code that works.
We have two installations of DB2.
When defining a foreign key with a long name, it works fine on one instance, but not on the other (we get a SQL0107N Name too long - max length is 18).
What is causing this different behaviour? Is there a parameter we can change or is it version dependant?
hi,
I've some troubles to specify the height of my lightbox, since the content is dynamically loaded I dunno how tall the container should be.
The content is a part of a html page (some divs).
What do you suggest me to do ? Should I change the lightbox height with javascript only after the content is loaded ?
thanks
Hi
How do I change my code so that it lists the elements in alphabetical order from a to z. Right now it's ordering from z to a. I can't figure it out and am stuck :-/
String sName1 = ((Address)o).getSurname().toLowerCase();
String sName2 = (this.surname).toLowerCase();
int result = (sName1).compareTo(sName2);
return result;
Thanks :)
Scenario
I have a C# application compiled as a DLL.
I have a build from last week and a build from this week.
There has been a significant change in performance so I want to compare the the two builds to see what has changed.
ANY IDEAS?........SUGGESTIONS?
Cheers
Hi, :)
I set the "height = 100px","width=50px" of a div,but when the content of the div is changing dynamically,i want to let the height adapt to the change,what should i do?Thanks!
I want to replace new lines in text with coma or space but do not change the last new line.
I know of this question: How to replace new lines with tab characters - but it does produce an tab on end instead of new line.
So far I have come with:
awk 'NR>1{printf","} {printf $1} END{printf"\n"}'
Is there an easier way to do this? This is not an assignment, I am just curious want to level up my scripting.
Hello there,
I'd like to change the minimum for the id of created objects from 1 to 1000.
So when I create in rails my first model object it gets the ID 1000 and not 1.
Is there a way to set this in the schema/migration files?
Hi,
I'm developing an applciation using SQL Compact database in Visual Studio 2008. When I start the application and run the process, the data is being loaded into database for few hours worth of few tens of megabytes. However, when I quite debugging, change something in code (not in DB structure), run the project again, the database is erased.
Does anyone know how to prevent this behavior? I need the data to stay in DB to test on it.
I have an app I am offering for free for now. At some point, I want to be able to change it to a pay app.
The market doesn't allow a free app to become for-pay and doesn't allow for-pay apps to be priced at 0$.
So is it possible to just delete the original app and then reupload it as a for-pay app ?
It's okay in my case if users aren't notified of updates.
I had a regex that replaced all URLs from a given string:
my_string = "www.example.com test www.mysite.com"
my_string.gsub!(/[a-zA-Z0-9\-\.]+\.(com|net|de|org|uk|biz|info|co.uk|es|de)(\/\S*)?/i,'(site hidden)')
As a result of the above I get: "(site hidden) test (site hidden)"
How could I change the regex to not replace www.mysite.com ???
It means that the replace should output "(site hidden) test www.mysite.com"
Thanks !
The page can be viewed at
http://cistrome.org/cps/seqconfig?did=2693
When load in Firebugs, it gives me this error:
TypeError: $(".open_gene").on is not a function
[Break On This Error]
$(".open_gene").on('change', function(event) {
However, if I type in this expression in Firebug's console, it can be evaluated as a function without any problems:
>>> $(".open_gene").on
function()
I was wondering what might be the reason to cause this issue.
Does anyone have ideas about this? Thanks!
hi,
i have a proj where on change of select box i am loading data from server. how do i make sure that until the data is loaded user cant do anything else on the page ..
I'm using Topsy plugin for wordpress, but i wnnat to customize with more option like change background.
how can i replace the topsy css file?
the css file is loaded after my css and use many !important and replace my customization.
tks!
This is theoretical question: is it possible to change FalseClass behavior to act like TrueClass?
It is possible to override to_s, xor, &, | behavior but that is not enough.
If you like Test Driven Development, follow my colleague's suggestion:
puts "false is new true!" if false
puts "never happens" if true
Asserts won't work, would it?
Is it possible to pass the test successfully?
I checked this posting, so it was impossible to do it.
But it's old posting, and somebody are saying me there is an app which can change wallpaper(lock screen). Is this allowed now?