Hello guys,
I often find these three variants:
SELECT COUNT(*) FROM Foo;
SELECT COUNT(1) FROM Foo;
SELECT COUNT(PrimaryKey) FROM Foo;
As far as I can see, they all do the same thing, and I find myself using the three in my codebase. However, I don't like to do the same thing different ways. To which one should I stick? Is any one of them better than the two others?
Hello,
Is there any Spring 3 feature to execute some methods when the application starts for the first time? I know that I can do the trick of setting a method with @Scheduled annotation and it executes just after the startup, but then it will execute periodically.
Thanks.
Hello everyone,
Please help me with this insanity:
http://imageoneads.com/zenliver/
My menu bar worked fine & I accidently deleted or moved one of class or ID. Now it disappeared. All browsers Wont display the menu, except Firefox for Mac. This drives me nut....Cant believe I have to start over if I can't figure it out....Please help....Thanks ahead
tran006
Hello All...
I have gone through with the tutorial documents for blackberry development.
At every place they have showed the features with eclipse plugins.
So, I would like to know that which are the tools I need to download If I want to start development using NetBeans 6.8 (or 6.5) ? And what is the procedure to do so ?
Thanks in advance...
Hello Evryone.
I am new to this type of programming..i just want some help...regarding what to do when u need to extract the data from the serial port..and how to check that tha data is available in the serial port..so that no data loss is there....
Hello, I want to follow ZK javascript code to obtain XML results. In the website when a country selected, another selectbox for states is populated by using ZK and i tried to find the actual address such as http://cc.com/getState?countryID=46 but I've lost within the ZK. Is there a way to reach the actual URL? Thanks.
Hello,
I am just studying the code of Sacha Barbers MVVM framework Chinch and I saw this in the xxxViewModel.cs file:
DataService.FetchAllOrders(CurrentCustomer.CustomerId.DataValue);
DataService is a Static class. Being a junior dev I am only used to Interfaces with Data services. Why is that class static?
Or do you think he made it just for the example?
So is that a good approach?
Hello,
I need to create an NSImage from a url and then set it to an image view in my application. I tried some code I found online but it didn't work. If anyone knows how to do this any help would be great.
Thanks
Hello everybody,
I try to find out, how to access the Effect-Class and it's decendants of GDI+ in C#.
Especially, I'm interested in these:
* Blur
* Sharpen
* Tint
* RedEyeCorrection
* ColorMatrixEffect
* ColorLUT
* BrightnessContrast
* HueSaturationLightness
* ColorBalance
* Levels
* ColorCurve
Can anybody give me a hint, how to access them in C#? I even can't find them in the .net documentation. Do I have to access the gdilus.dll directory?
Ciao!
Christian
Hello to all tired and frustrated programmers,
There is a problem I can't solve:
In my array list there are Object arrays with the length of three and always on the last cell of the array there is a double.
I need a loop which goes through the array list and sums up all doubles. (I need also some other thing from the arrays so a general idea how to loop through an array list would be perfect :-))
Any ideas? Thanks for your help,
Greetings Demian
Hello
I want to run a java program on linux server in profiling mode means I want to profile a java program on linux server.Is there any java profiling software that can profile java program on linux server.
please suggest me what can I do for profiling.
Thanks in advance.
hello,
I have created a custom page which sits at site.com/user/me/soe
now im trying to theme this page and have created a subsequent template file.
however if i copy in any basic html into my template file, all it does is produce a white page with my text and abandons the sites structure i originally had.
i was hoping somebody could help me understand preprocessing as i feel that is the way to solve this.
Hello.
I'm currently making a game in XNA4 for Windows phone 7, and I'd like to know if it were possible to get the event of the return button, or even the windows button that are basically present on the phone's interface.
If so, how can i do that?
thanks,
KiTe
Hello!
Is there any fast way to convert given byte (like, by number - 65) to it's text hex representation?
Basically, I want to convert array of bytes into (I am hardcoding resources) their code-representation like
BYTE data[] = {0x00, 0x0A, 0x00, 0x01, ... }
How do I automate this Given byte -> "0x0A" string conversion?
Hello everyone,
I'm in the design phase for a desktop-based application. Because of the nature of this particular application, I believe it would benefit greatly from a web-based approach (i.e., allowing a user to interface with the application through a browser running in kiosk mode) in order to leverage the simplicity of HTML/CSS/JS and the availability of many great JS interface plugins. Does taking this approach (rather than coding in a native or cross-platform graphics library) come with any gotchas?
Hello !
Is it possible to get all weekdays names with some PHP's date function without timestamp ?
For example just giving as a param number of a weekday ?
Hello
A have price data stored like this: 10.25
And percentage data like this 1.1100 (1.00%)
I need a function that accurately multiplies the price by the percentage. (in php)
Thanks
Hello,
I would like to dynamically generate xmlns attributes.
I want to generate this in XSL :
<Common:MainPageBase xmlns:Common="clr-namespace:ThisPartIsDynamic;assembly=ThisPartIsDynamic"
</Common:MainPageBase
How can I do that in XSL?
Thanks,
Alex
Hello! can anybody help me with a simple script wrote in php to upload an image to imageshack or similar? i found some scipts aroud but they dont work, so if you wrote one o found one please send it to me with a working html form. Thanks!!!!
Hello Colleagues,
I want to output single quote around $ID variable in the below xsl:value-of xsl statment.
<xsl:value-of select="concat('process[@Ref=',$ID,']')"></xsl:value-of>
currently it prints
process@Ref=87799989
Please let me know how can i achieve this.
Thanks in advance,
Keshav
Hello,
I am writing a program using rmi to connect server and clients together and got the following issue:
My rmi server support both ethernet and wifi mode
rmi clients can connect to the server either vi ethernet or wifi depending. That because s*ome clients can only run via ethernet* and some can only run via wifi.
My question is: how can I make my rmi server connect to all clients in such situation?
Thanks.
Hello, is it possible to apply 2 font filters that are of the same type but with different parameters in SIFR?
I want to get an outline effect around my fonts and tried to apply 2 glow filters with different settings to get the desirable look, but it looks like only 1 filter (last in the list of filters) is applied. Does anyone know if this is possible? Or if not how can I create a font outline in SIFR?
Thank you
Hello,
I'm running into a scenario where at random times I am getting "Access Denied" when executing javascript. It is not repeatable and occurs in random places of my application. There is not indication of what is causing it in the logs and I'm really at a loss on this. It seems to be UI problem only. However, there is no reason it should appear as I do not have any such permission checking to could be getting triggered.
Thanks in advance
Hello Experts,
could someone please explain to me, how in netty "Downstream Exceptions" are handeled? According to the javadoc there are no Downstream exceptions:
http://docs.jboss.org/netty/3.1/api/org/jboss/netty/channel/ExceptionEvent.html
Given the case that in one of my downstream handlers an exception occures OR in the I/0 Thread itself, where can these errors be catched and handeled?
thank you very much
tom