I have some useful wpf buttons to test some functionality. It would be good not to show them in release but in debug indeed.
Doing it from code is easy. But I'd prefer a declarative solution.
I used the mapping solution from this question to have a joined component. But it make hibernate trigger join query to obtain the component event i use fetch="select" in <join>
Please tell me how can i make the joined component lazy init.
Thank you
I am on OSX Snow Leopard (10.6.2) I can install anything I need to. I would preferably like a Python or Java solution. I have searched on Google and found lots of information on writing my own program to do this, but this is a just a quick and dirty experiment so I don't want to invest a lot of time on writing a bunch of code to do this, I am sure someone else has done this already.
I just build a website that works good on any browser even ipad but in Oper ai noticed a weird thing:
the website is built with a div layer on top zindez:999, body is overflow:hidden, and you cant scroll, but underneath the div there is a long text that goes way underneath the viewport...
the strage thing is that even if any browser i wasable to keep this effect in Oepra if I use the mousewheel you can kepp scrolling...!
...argh..
do you any hack/solution for this?
Hello,
I have a Makefile.am file right now that looks like this:
lib_LIBRARIES = foo.a
foo_a_SOURCES = bar.F90 baz.F90
When compiled, bar.F90 gives bar.o. However, bar.F90 depends on several other Fortran files (cat.F90, dog.F90, pig.F90). I want to set up Automake to rebuild bar.o if the source of one of these dependencies change.
I've been reading the GNU manuals for automake/autoconf and was unable to find a solution to this. Thanks for reading.
Hi,
I need a solution for quite complex problem. Exactly, I need to calculate the number of rectangles that can be placed inside letter/character with given size, considering that all rectangles are the same size, but it(the size) and the letter/character(of some regular specific font) itself can be changed by user(this will be used as webside calculator of signboard price).
If describe this graphically, it looks like this.
Any ideas or useful links will be much appreciated. Thanks in advance
Hi, i need to check the type of a variable in javascript, i know 3 ways to do it:
instanceof operator: if(a instanceof Function)
typeof operator: if(typeof a=="function"
toString method (jQuery uses this): Object.prototype.toString.call(a) == "[object Function]"
Which is the most accurate way to do type checking beetween these solutions? and why? Please don't tell me that the last solution is better only because jQuery uses that.
Is there a ready made solution to allow users to add comments to an image posted in SharePoint picture library or basically any item in a document library?
What I need is allow user who are viewing an image from a picture library for example to add comment, view comments others have left and provide some sort of voting. Similar to what you get with Facebook or Youtube.
What is the easiest way to do that? preferably something free
Hi Everyone:
I am wondering if there is some way to change a css attribute for the last li in a list using CSS. I have looked into using :last-child, but this seems really buggy and I can't get it to work for me. I will use Javascript to do this if necessary, but I want to know if anyone can think up a solution in CSS.
Thanks for any help!
Hello,
I am trying to run an application outside Joomla (not as a plugin) and I would like to access the logged in user's information (userid). I am wondering how should I go about doing that? Is there a file which I can include? I tried using $_SESSION but it shows empty.
Is there a simple solution to my problem? Thank you for your time.
Hi,
I'm looking for a tool to enumerate all methods and properties on an activeX binary.
Right now, my solution consists in adding the activeX as a reference in a VB6 project, then use the object explorer (F2).
Is there anything quicker than that?
Ms ActiveX Control Pad isn't an option, as it's far less usable than the VB IDE.
Thanks
Hi All,
I have ear deployed in jboss 5.0.1, on windows 2008 which is 64 bit machine and we are using 64jvm, with this combination our VFS temp size increases a lot eventually all our physical hard drive space is used by replicating files.
but if we change our JVm from 64 to 32 every thing looks ok.
does any one one what is reason ?and possible solution as we want ot use 64bit jvm.
Thanks
Can't kick my topic back to the frontpage, but I still didn't find out the solution:
http://stackoverflow.com/questions/2699802/argument-exception-after-trying-to-use-trygetobjectbykey
I don't know why it gives the exception. Lazy loading is set to true
Lets say I have a integer result and an array of integers, lets say [a,b,c] (not a fixed length). I need to detect if result=a*i +b*j + c*k, with i,j,k=0.
I prefer a solution in C/C# if it is possible.
PS The problem is from a reservation system, a trip can be sold if its durations is a combination of given durations.
Thanks!
I am trying to reach methods and properties of ObjectFrame through vb.net.
But when I declared this as
Dim objOLEObject As ObjectFrame
and then trying to instantiate it as
ObjOLEObject = New ObjectFrame
it shows error like:
"429: Retriveing the COM class factory for component with CLSID {3806e95d-e47c-11-cd-8701-00aa003f0f7} failed due to the following error: 80040154"
To resolve this we re-installed both MS-Office 2003 and VS-2005, but could not get the solution.
Could anyone suggest me how to declare and use this in vb.net?
Thanks.
I need some classes to befriend other classes in my system. Lack of this feature made me publicize some methods which shouldn't be public. The consequences of that are that members of my team implement code in a bad and ugly way which causes a mess.
Is there a way to define a friendship in php 5.3?
(I am aware of http://bugs.php.net/bug.php?id=34044 You might want to vote there if there is no simple solution).
Hi guys,
In my application I use SoftReference to cache images, it is working fine with active internet connection. And now I need to cache images, so I could use it in offline mode.
What is the best way to implement it?
Use complex solution with SoftReference and database? or maybe SoftReference and local storage (sdcard)?
I would appreciate your advices. Thanks.
How do guys suggest to share a constants file between PHP and JavaScript, in order not to repeat code? XML file? I am assuming mixing up javascipt inside PHP would not be the right solution!? Thanks
Hi,
Print Range (From Page: x To Page: y) doesn't work, the printer always print all pages!
Any workaround or solution will be appreciated.
Thanks in advance.
Is there anyway to find the month difference in php? I have the input of from date 2003-10-17 and todate 2004-03-24. I need the results how many month is there within these two days. Say if 6 months, i need the output in months only. Thanks for guide me for day difference.
I find the solution through mysql but i need in php. Anyone help me, Thanks in advance.
Good day.
I have Eclipse PHP Galileo for Mac OSX, 32bit Cocoa version.
The problem is the rename function doesn't work properly.
While editing PHP file I choose Refactor-Rename menu or a rename hotkey and Eclipse doesn't offer me to rename a variable, instead a rename file dialog appears.
Tried to configure hotkeys but no luck.
If you do know the solution – please tell. Thank you.
I need to script the conversion of some WMV files to a DVD-Video ISO file suitable for burning and viewing on a Windows system - does anyone have a simple solution that doesn't involve chaining together calls to ffmpeg and pegging my system CPU?
Is there any good practice related to dynamic_cast error handling (except not using it when you don't have to)? I'm wondering how should I go about NULL and bad_cast it can throw.
Should I check for both? And if I catch bad_cast or detect NULL I probably can't recover anyway...
For now, I'm using assert to check if dynamic_cast returned not NULL value. Would you accept this solution on a code review?
hi all,
i'm trying to embed a .wmv video into my website but doesnt work :(
i've googled and tried <embed> and <video>
the video i'm using was created by super converter and i've used WMV7 as video codec.
is there a crossbrowser solution for it - or should i better use flash video?
thx in advance