How to Find out browser's settings (eg proxy) using Java
Hi,
I wish to detect the proxy server and port that user has defined in his Browser.
Is there any java API avaulable to detect it? Or if anybody has tried it then please help.
Thanks in advance
Nope. There's no way to do what you want.
And pinging all possible IP addresses is going to make you EXTREMELY popular with the network admins. They're all going to be standing around your desk with battle axes and baseball bats argueing about who's to strike the first blow.
Similar Messages
-
How to find out which sequence a certain column used?
you konw column C in table T is created by a sequence.
How to find out which sequence column C is using?In the meantime I think it ought to becompulsory to
only assign sequence values in triggers.
Why? I can see no good reason for this. I think it's a good idea to have stuff like this
coded in only one placeI don't like your argument for compulsory using triggers for sequences for exactly the same reason as you, ie that I like to keep my code in one place. If I'm reading some pl/sql code which uses a sequence I like to see the fact that the sequence is used in the pl/sql code, rather than to check to see if theres a trigger on the table and then see which sequence that uses.
"naming conventions can work, provided they're enforced. Alas, like other standards, they can only be enforced by active policing".
Thats what code reviews are.
" there is also the special case of one sequence populating more than one table...."
This is My Pet hate. I don't think there's ever a case where this is absolutely necessary. Again code reviews
Unfortunately I have to live with a system which does this.
and I appreciate we can't all have code reviews, etc. -
How to find out the script for the table using SQL
Hi,
Could any one tell me that how to find out the script for the table using SQL.
Thanks,
kamalKamal,
You can find the SQL query in Advanced tab of Answers
Thanks,
Balaa... -
HT3986 how to find out serial no. of imac while using windows 7
how to find out serial no. of imac while using windows 7
In Windows open up the Command Prompt and type the following:
c:> wmic bios get serialnumber -
How to find out the Sequence settings of a created sequence?
I have had a problem come up a few times where I am switching back and forth from one format to another, I frequently work on multiple edits, and my sound goes out of sync. This is usually because the sequence is set wrong (from when I switch and forget to change it back) and when exported it compresses the audio wrong. How do you find out what the settings are for a sequence you are working on when it's open in the FCP timeline? I'm looking for a quick way to rule out the sequence as part of the audio sync problem.
Thanks,
-BluecastOr Command-0. What about Easy Setups? I use them routinely so that I don't have to think about setups. Once the setup is saved and properly used, all the settings for sequences and hardware are easily made for you.
-
How to find out the best settings for BDT
Hi there.
I am trying to predict a movie rating. I downloaded datasets from IMDb, prepared them. A tried all of the regression algorithms, but the best result is giving Boosted Decision Tree. Now I am dealing with the best settings in this algorithm.
With default, running time was 69 seconds and the mean absolute error was 0.4844, which is quite much I think. So I tried to improve it by changing parameters of the BDT module. I tried to set Leaves per tree to 150 and than experimentaly find
remaining parameters. I've come to Samples per leaf=12, Learning rate=0.04 and
Number of trees=700. Running time was 78 seconds and mean absolute error was 0.4596.
Input of the algorithm is joined matrix with 14 columns (11 features) and 67672 rows splitted into 70:30 (training:testing).
Is there any way how to find out the best setting of Boosted Decision Tree?Yordan's suggestion is correct, though the documentation is a bit outdated.
You can use the single parameter + sweeper mode or define your own custom ranges in the BDT module with the Parameter Range setting
Regards,
aK -
How to find out FICO user exits that are used by User
How to find out the FICO user exits that are used by user.
Go to tcode CMOD. In the project field drop down your list there. Put a Z* there and run the list. These should be all the exits that are activated. Search for the ones that pertain to FI. You can also search by development class. You need a little ABAP knowledge to search easily. You get this by going to the tcode then to status then to the program then to the attributes. There you find the development class. Ie FBAS.
pls assign points if helpful as a way to say thanks. -
How to find out which C library I am using?
On my Solaris 9 UltraSparc system,
% echo $LD_LIBRARY_PATH
/opt/gcc/3.4.4/lib:/opt/glib/2.12.1/lib:/opt/gnome/lib:/opt/openssl/0.9.7g/lib
% /usr/lib/libc.so
usage: ld.so.1 [-e option,...] dynamic-object [object args,...]
On my Solaris 10 x86 system,
% echo $LD_LIBRARY_PATH
/pkg/gcc/4.2.1/lib:/opt/gcc/current/lib:/opt/glib/2.10.1/lib:/usr/sfw/lib:/usr/lib/mps:/opt/openldap/lib:/opt/openssl/current/lib
% /usr/lib/libc.so
usage: ld.so.1 [-e option,...] dynamic-object [object args,...]
On my Linux/x86 system,
% echo $LD_LIBRARY_PATH
/opt/openssl/0.9.7g/lib:/opt/gcc/3.4.4/lib:/opt/binutils2.13/lib:/opt/glib/2.12.1/lib:/opt/java/j2sdk1.4.1_01/lib
% /lib/libc.so.6
GNU C Library stable release version 2.6.1, by Roland McGrath et al.
From the above, can one tell what C library I am linking to on the Solaris systems? If not, how can one tell? How do I know the exact location of the C library I am using?
On the Linux/x86 system, I can use gnu_get_libc_version() to find out the version of glibc I am supposedly using. But it does not work when I compiled the identical C program using gcc on the Solaris 9/UltraSparc and Solaris 10/x86 systems. If I can use gnu_get_libc_version() , does that mean for sure that my C program links to glibc? On the other hand, if the linker reports that gnu_get_libc_version() is not found, does that mean for sure that my C program is not linked to glibc?
Is there a function on the Sun libc similiar to gnu_get_libc_version()?
http://docs.sun.com/source/819-3690/Using.Libs.html says "The Solaris operating system comes with several libraries installed in /usr/lib. Most of these libraries have a C interface. Of these, the libc and libm, libraries are linked by the CC driver by default." If one wants to link to the glibc library, how to override the default? How to find out the default? Is it in some environ variable? If one changes the CC driver to gcc, does the default remain the Sun libc? And if one compiles explictly using gcc, i.e. "gcc myprog.c", is the default C library the Sun Library, or glibc?
gnu.org has a (web page for the) glibc manual but I am not able to find a Sun C Library Manual. Is there one?
Edited by: hzmonte on Jun 28, 2008 1:43 AMI'll discuss only the Sun C compiler here. For questions about gcc, look in the gcc manual, or try a gcc forum.
Run the command "ldd" on an executable file or shared library, and it will report the shared libraries that it will link to, based on any runpath in the file, and on LD_LIBRARY_PATH. Example: % echo $LD_LIBRARY_PATH
LD_LIBRARY_PATH: Undefined variable
% cc hello.c
% ldd a.out
libc.so.1 => /lib/libc.so.1
libm.so.2 => /lib/libm.so.2
/platform/SUNW,A70/lib/libc_psr.so.1 BTW, except possibly for testing, there is usually no need to set LD_LIBRARY_PATH, and setting it is usually a bad idea. For more on this topic see Rod Evans' blog:
[http://blogs.sun.com/rie/entry/tt_ld_library_path_tt]
Prefer to set a runpath in the executable so that no client needs to set LD_LIBRARY_PATH.
If you want to know what libraries the C compiler will link, based on a given command line, you can add the -v (verbose) option, which will display each subcommand. Or you can use the -### option, which shows what commands would be run. Example: % cc -### hello.c
### Note: NLSPATH = \
/opt/SUNWspro/prod/bin/../lib/locale/%L/LC_MESSAGES/%N.cat:/opt/SUNWspro/prod/bin/../../lib/locale/%L/LC_MESSAGES/%N.cat
### command line files and options (expanded):
### hello.c
/opt/SUNWspro/prod/bin/acomp -xldscope=global -i hello.c -y-fbe -y/opt/SUNWspro/prod/bin/fbe -y-xarch=generic \
-y-xmemalign=8i -y-o -yhello.o -y-verbose -y-xthreadvar=no%dynamic -y-comdat -xdbggen=no%stabs+dwarf2+usedonly \
-xdbggen=incl -y-s -m32 -fparam_ir -Qy -D__SunOS_5_10 -D__SUNPRO_C=0x590 -D__SVR4 -D__sun -D__SunOS -D__unix \
-D__sparc -D__BUILTIN_VA_ARG_INCR -D__C99FEATURES__ -Xa -D__PRAGMA_REDEFINE_EXTNAME -Dunix -Dsun \
-Dsparc -D__RESTRICT -xc99=%all,no%lib -D__FLT_EVAL_METHOD__=0 -I/opt/SUNWspro/prod/include/cc \
"-g/opt/SUNWspro/prod/bin/cc -c " -fsimple=0 -D__SUN_PREFETCH -destination_ir=yabe
### Note: LD_LIBRARY_PATH = <null>
### Note: LD_RUN_PATH = <null>
/usr/ccs/bin/ld /opt/SUNWspro/prod/lib/crti.o /opt/SUNWspro/prod/lib/crt1.o /opt/SUNWspro/prod/lib/misalign.o \
/opt/SUNWspro/prod/lib/values-xa.o hello.o -Y "P,/opt/SUNWspro/prod/lib/sparc:/opt/SUNWspro/prod/lib:/usr/ccs/lib:/lib:/usr/lib" \
-Qy -lc /opt/SUNWspro/prod/lib/crtn.oThe basic runtime support library is /lib/libc.so.1, on any version of Solaris, used by every compiler version. You can check the patch version of the library by running
showrev -p | grep <patch>
where <patch> is the patch number for the library. The patch number depends on the Solaris version. You can get more information at [http://sunsolve.sun.com].
There is no manual specifically for the C library. There is a Solaris man page for each function in the library, and you can check the C Users Guide and the Solaris Linker and Libraries Guide for additional information. -
How to find out what text encoding has been used in mp3 tag
Hello
I have some foreign songs that I am importing into itunes. When a song called "04.公路 塵埃 北合起." gets imported, it comes up in itunes as "04.§Ω∏Ù π–ÆJ •¶X∞"
Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags that are encoded on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but both the commone Chinese ecodings, viz Big5 GBK etc.
Is there a way to cut a world from (eg a chinese glyph) and somehow find out what text encouding has been used?Sorry, that question wasn't very well phrased. I'll try it again.
I have some foreign songs that I am importing into itunes. When a song called "公路 塵埃 北合起" gets imported, it comes up in itunes as "§Ω∏Ù π–ÆJ •¶X∞"
Now I don't know a lot about different text encodings, but from what I've read on the forums is that the problem is that the tags on the srcfiles are not unicode. I have tried the java application "UnicodeRewriter" recommended elsewhere in the forums, but whatever I sent the source encoding to, eg Big5, GBK, or one of about 9 others, I just get different types of garbage coming through.
Is there a way I could take the original glyph in the file name (which shows up correctly on my desktop) and paste it into some sort of table. That table will then show me how that glyph will look in all different encodings without the correct conversion. So if I can match my "公" to my "§" I'll be able to see what the src encoding is.
I know this is a longshot, but any help appreciated.
Sorry for the rather rubbish explanation earlier. -
How to find out where a variable has been used?
How can I find out where a variable has been used within a package/interface/procedure?
Should I check it using repository's internal tables?
ThanksHi,
you have to make some queries to find variable used in which ODI object.
like, it fetch the variable with scenario name and scenarion can serve your need.
select v.i_var,v.var_name,s.scen_name from
ODEV91119_ODI_WORK.snp_var v,ODEV91119_ODI_WORK.snp_scen s
where
s.i_var=v.i_var
and s.scen_NAME='V_BTCH_NAME'
and agree with SH answer
Thanks -
How to find out locations whether it is in use or not in use
Hi All,
I want to delete all unused locations from my FDM application. Can you please help me, how to find the locations that are not in use?
Regards,
PBYou can view the tdataseg(x) table that the location is associated with and sort by period key as needed.
Select PartitionKey,Part Name,Partsegmentkey
from tpovpartiton
This will return the location, location id and segment key. The segment key is the data segment that the location is associated with.
You can then query this table and sorty by period key to see what periods the location has data imported for.
This should give you an idea and you can then delete your locations from within the Metadata > Locations Menu in FDM.
Keep in mind that once the location is deleted, and data associated with the location will also be deleted (Historical Data)
Hope that answers your question. -
How to find out the list of users who used Discoverer
Dear All,
We have Oracle E-Business Suite 11.5.10.2 with Disco. 4i.
We need to know how we can find out the Employee ID, Responsibility, Org... who used discoverer during a specific period in the past ? For example the last year.
Any help plz.
Regards,
Mohammad MuhtadiI'm not sure You can get the responsibilities or the org that was used in that specific run but as for getting when it was run and by whom...
Try that SQL:
select distinct
qs.qs_doc_name workbook,
--qs.qs_doc_details worksheet,
case when instr(qs.qs_doc_owner,'#')=1 then substr(qs.qs_doc_owner,2,10) else qs.qs_doc_owner end workbook_owner,
qs.qs_created_date run_date,
case when instr(qs.qs_created_by,'#')=1 then substr(qs.qs_created_by,2,10) else qs.qs_created_by end apps_user_id,
fu.user_name apps_user_name,
ppf.FULL_NAME user_full_name,
ppf.EMPLOYEE_NUMBER user_employee_number
from
eul_us.eul4_qpp_stats qs,
fnd_user fu,
per_people_f ppf
where to_number(substr(qs.qs_created_by,2,10))=fu.user_id(+)
and fu.employee_id=ppf.PERSON_ID
and sysdate between ppf.EFFECTIVE_START_DATE and ppf.EFFECTIVE_END_DATE
change the "eul_us" to the discoverer schema.
Basically the primary data you are looking for lies in the qpp_stats table... -
How to find out which site and list is using InfoPath form
Hi,
We have a site collection with 100+ sites. We are doing analysis of these sites for SP-2013 upgrade, I would like to know which site lists are using a InfoPath form, how do I find out this without manually going through all the
sites & lists.
Thanks,
PatHi
You can Use sharepoint Manager to do so.or use below link
http://blogs.msdn.com/b/david/archive/2011/08/25/powershell-script-to-locate-content-type-useage.aspx
http://aarebrot.net/blog/2011/02/using-powershell-to-retrieve-content-types-and-associated-fields/
As info path form deploy as content type you can find usage of content type
Regards, Rajendra Singh
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful http://sharepointundefind.wordpress.com/ -
How to find out the number of threads created under java vm at runtime
our application seems to have hit the max number of threads that can be created under vm and the vm will just hang after that. that behavior seems to be consistent from an article that I read earlier.
I wonder any way that java app can find out the number of threads currently created under vm?
thanks in advance!If you are not starting an extra thread group you can use the Thread.activeCount method. But this willnot return all the threads, as there are some jvm threads, i.e. garbage collector. Also if you are running on a Unix type operating system then you can send a signal to the jvm to give you a thread dump, i think the signal is sighup.
If the application is hanging i would of thought that you have a deadlock situation rather then the JVM not being able to create new threads, roughly how many threads should be running ?? -
How to find out where a variant is being used?
Hi,
I have a variant name and would like to know in which program it is being used. How do I find that out?
Thanks in advance.
MickHi,
checkout these tables:
VARIT Variant texts
VARID Variant directory
I think u can enter the variant name and go on for the <b>where-used list</b> for same and can get program name for that variant.
Hope it works out.
Pls reward points iof useful.
Regards,
Ameet
Maybe you are looking for
-
Tax Perecent (Tax Rate) Displaying as Zero
Dear Experts, I have created a new Tax Code which came into effect from 1-Apr-2011. I have created this new Tax code as I have created earlier, i.e. creating a new line item in Tax Attributes Setup window followed by Tax Codes Setup However when I ch
-
Dear experts, we have a hr server for total enterprise structure. But as per business requirement we have a new server for 1 of our business. In this server we want to transfer entire data for corresponding employees only. We have tried to transfer d
-
Data Retrieval from SSRS 2008 R2 to SQL Server 2012 standard
Hello, We have a virtual machine running SSRS 2008 R2 and a physical server running SQL server 2012 standard. We are having an issue with a report that is taking almost 10 minutes for the data to be retrieved from the sql 2012 database. We used the
-
Can i Use a time stamp vale in where condition with date field?
HI, In a where condition the table field vale is of type timestamp and select options value is of type date. How do i select data?
-
I have disabled my iphone, how do i begin to reset?
i have disabled my iphone, how do i begin to reset?