Hi,
My question is simple,
if i delete a file in a trunk of an svn repository, could i get the file if i ask for a previous version or the file was deleted forever?
Thanks.
Best Regards.
Jose
If I see an email returned due to a hard bounce, after how many days is it acceptable to resend to that email address. It is possible for emails to be reactivated or for temporary outages, so it doesn't make sense to keep an email in my hard bounce email list forever. I've already seen cases where I receive emails from addresses that were put in my hard bounce email list months ago.
Any recommendations? Are there specific recommendations from ISPs?
Are there any good libraries for cool text animation effects for use in Actionscript (for use in an intro screen or banner).
I've given up tryin to use Flash itself because that takes forever, and I dont know which of the many flash text animation tools to choose from.
I'd like to be able to dynamically product cool text effects with different messages.
Shout loud what simple things you still dont know but must know.
In every field of programming / computing, there are some leftovers which we keep on planning forever, but couldnt really start.
Share yours !
I'm looking for a complete example of using select for update in SQLAlchemy, but haven't found one googling. I need to lock a single row and update a column, the following code doesn't work (blocks forever):
s = table.select(table.c.user=="test",for_update=True)
u = table.update().where(table.c.user=="test")
u.execute(email="foo")
Do I need a commit? How do I do that? As far as I know you need to:
begin transaction
select ... for update
update
commit
This line works fine:
$ws = New-WebServiceProxy "http://host/Service?wsdl" -UseDefaultCredential
but this line blocks forever
start-job { New-WebServiceProxy "same url" -UseDefaultCredential } `
| wait-job | Receive-Job
Why? How do get it to work?
Hi,
I'm building a download manager in python for fun, and sometimes the connection to the server is still on but the server doesn't send me data, so read method (of HTTPResponse) block me forever. This happens, for example, when I download from a server, which located outside of my country, that limit the bandwidth to other countries.
How can I set a timeout for the read method (2 minutes for example)?
Thanks, Nir.
I am trying add x11vnc as SMF service but cannot get service to start. I tried googling but couldn't find anything that could help me.
Here is the startup script
#!/sbin/sh
#
# Copyright (c) 1995, 1997-1999 by Sun Microsystems, Inc.
# All rights reserved.
#
#ident "@(#)x11vnc 1.14 06/11/17 SMI"
case "$1" in
'start')
#/usr/local/bin/x11vnc -geometry 1280x1024 -noshm -display :0 -ncache 10 -noshm -shared -forever -o /tmp/vnc_remote.log -bg
/usr/local/bin/x11vnc -unixpw -ncache 10 -display :0 -noshm -shared -forever -o /tmp/vnc_remote.log
;;
'stop')
/usr/bin/pkill -x -u 0 x11vnc
;;
*)
echo "Usage: $0 { start | stop }"
;;
esac
exit 0
and here is the manifest file
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='vnc'>
<service name='application/x11vnc' type='service' version='0'>
<create_default_instance enabled='true'/>
<single_instance/>
<dependency name='docusp' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/milestone/multi-user-server:default'/>
</dependency>
<exec_method name='start' type='method' exec='/lib/svc/method/x11vnc' timeout_seconds='0'>
<method_context/>
</exec_method>
<exec_method name='stop' type='method' exec=':true' timeout_seconds='10'>
<method_context/>
</exec_method>
<stability value='Evolving' />
<property_group name='startd' type='framework'>
<propval name='ignore_error' type='astring' value='core,signal'/>
</property_group>
</service>
</service_bundle>
and the log file
Usage: /lib/svc/method/x11vnc { start | stop }
[ Nov 16 19:35:52 Method "start" exited with status 0 ]
[ Nov 16 19:35:52 Stopping because all processes in service exited. ]
[ Nov 16 19:35:52 Executing stop method (:kill) ]
[ Nov 16 19:35:52 Executing start method ("/lib/svc/method/x11vnc") ]
Usage: /lib/svc/method/x11vnc { start | stop }
[ Nov 16 19:35:52 Method "start" exited with status 0 ]
[ Nov 16 19:35:52 Stopping because all processes in service exited. ]
[ Nov 16 19:35:52 Executing stop method (:kill) ]
[ Nov 16 19:35:52 Executing start method ("/lib/svc/method/x11vnc") ]
Usage: /lib/svc/method/x11vnc { start | stop }
[ Nov 16 19:35:52 Method "start" exited with status 0 ]
[ Nov 16 19:35:52 Stopping because all processes in service exited. ]
[ Nov 16 19:35:52 Executing stop method (:kill) ]
[ Nov 16 19:35:52 Restarting too quickly, changing state to maintenance ]
Any Ideas?
Hi all,
Please could someone help me, i will be forever appreciative.
I'm trying to create a regular expression which will extract 797 from "Your job 797 ("job_name") has been submitted"
or "Your Job 9212 ("another_job_name") has been submitted" etc.
Any ideas? Thanks guys!
I have a thread I use to periodically update the data in my Activity. I create the thread and start a looper for using a handler with postDelay(). In onDestroy() for my activity, I call removeCallbacks() on my handler.
Should I then call handler.getLooper().quit()? Or not worry about it and let the OS deal with it? Or would it just run forever then, consuming CPU cycles?
When working with NHibernate and Sql Compact in a Windows Form application I am wondering what is the best practice for managing connections. With SQL CE I have read that you should keep your connection open vs closing it as one would typically do with standard SQL. If that is the case and your using a IoC, would you make your repositories lifetime be singletons so they exist forever or dispose of them after you perform a "Unit of Work".
Also is there a way to determine the number of connections open to Sql CE?
I am calling a third party API which creates a socket, does a connect and then calls select API by passing the socket to block forever.
I don't have access to the socket. Is there some way in which I can make the select call come out from my application without having access to the socket?
My platform is Windows.
Hi,
I am using a forever frame (COMET streaming technique) and in IE6 whenever a user clicks on a link (to even just basic JavaScript method) the connection is immediately dropped and has to be manually refreshed.
Has anyone come across a similar issue and / or know how to address it?
I have a TCPclient written on Ruby. I want to use it in background. Currently it has a loop:
loop do
end
So i can run a client, and it works forever.
Is there a way to run in as a service, and write a pid to file, then i'll able to kill that process by pid?
Is there a way to , when doing
git commit
to not display the untracked files in my $EDITOR?
I know how to do so in the shell, using git status -u no, but I'd like do it in $EDITOR as well
EDIT: I should have stated, I do not want to ignore these files forever, just not see them on certain occasions...
I have a massive MySQL database (around 10 GB), and I need to copy it to a different server (slicehost). I don't want to do a DB dump and reimport b/c I think that would take forever. Is it possible to just move the raw SQL files from one machine to the next, setup an identical mysql server, and flip the switch?
want to ask user to input something but not want to wait forever. There is a solution for Linux, http://stackoverflow.com/questions/1335507/keyboard-input-with-timeout-in-python, but I am in windows environment. anybody can help me?
Hello,
is there a way to explicitly close a GPRS connection? I'm setting up a connection with ConnectionManager and I've set the cache time to 10 seconds. Anyway after releasing it, the connection is still on, forever, alas I cannot use the registry key "gprs_by_if_device_off". I'm not using C# but plain C++.
My idea is to simulate the activity of the windows button "disconnect data connection", but I really cannot understand what it does under the curtain.
Thanx.
c program that has a parent and n children that acts as follows:
parent process:
1- reads a value n from the user
2-forks n children
3-waits to receive exit codes from the 1st child and prints it
4-loops forever
Hey guys,
I'm going to be developing a small dedicated server in C/C++ that will require uptime of forever. I've been looking into some time functions as millisecond timing is required for calculations. I have 2 problems that I'm facing:
Using a 32bit integer to store the number of milliseconds since the operation began will wrap around at about the 49 days mark resetting to zero.
There doesn't seem to be any standard system calls for getting elapsed milliseconds that are platform independant
What should I do to resolve both these issues?
I have the following that I retreive the title of each url from an array that contains a list of urls.
require 'rubygems'
require 'nokogiri'
require 'open-uri'
@urls = ["http://google.com", "http://yahoo.com", "http://rubyonrails.org"]
@found_titles = Array.new
@found_titles[0] = Nokogiri::HTML(open("#{@urls[0]}")).search("title").inner_html
#this can go on forever...but
#@found_titles[1] = Nokogiri::HTML(open("#{@urls[1]}")).search("title").inner_html
#@found_titles[2] = Nokogiri::HTML(open("#{@urls[2]}")).search("title").inner_html
puts "#{@found_titles[0]}"
How should i form a loop method for this so i can get the title even when the list in @url array gets longer.
I am using PHP script for some backend tasks(not web) and I found sometime curl_exec will terminate the executing of script without outputing any errors. I want my script to run in a loop forever and any idea about this?
Convention has it that table names should be the singular of the entity that they store attributes of.
I dislike any T-SQL that requires square brackets around names, but I have renamed a Users table to the singular, forever sentencing those using the table to sometimes have to use brackets.
My gut feel is that it is more correct to stay with the singular, but my gut feel is also that brackets indicate undesirables like column names with spaces in them etc.
Should I stay, or should I go?
I've read two books, tons of examples. They still make next to no sense to me. I could probably write some code that uses delegates, but I have no idea why. Am I the only one with this problem, or am I just an idiot? If anyone can actually explain to me when, where, and why I would actually use a delegate, I'll love you forever.
When you ask for a new HierarchyID between two others, the result gets progressively longer. For example, between 2/5.6 and 2/5.7 there's only 2/5.6.1 and other 4 component paths. The HierarchyID data type is limited to 800 some bytes, so you can't repeat this forever. Then again, integer types are also limited, but it isn't a problem in practice. Should I periodically defragment my table so that height doesn't grow unbounded?