I have 50 suppliers in the list..i have to show first 10 suppliers as normal and after that i have to put drill down option for remaining 40 suppliers..
Any answers please
Google doesn't want to help!
I'm able to calculate z-scores, and we are trying to produce a function that given a z-score gives us a percent of the population in a normal distribution that would be under that z-score. All I can find are references to z-score to percentage tables.
Any pointers?
I built a little installer, which installs to program files. I run the installer and all is good, run the installed .exe and it just disappears. I guess at giving the EXE admin launch rights in Vista and it runs. But why is this needed? This can't be normal can it?
Actually I am working on bmi calculator. Where I would like to calculate bmi for height in inches and weight in lbs and also in need of correct formula for height in cm and weight in kgs.
I have tried but couldn't calculate actual value coming withing the range as below. It exceeds the range.
BMI Categories:
* Underweight = <18.5
* Normal weight = 18.5-24.9
* Overweight = 25-29.9
* Obesity = BMI of 30 or greater
I've been programming for about 6 months, but i still feel like i haven't learned anything. Or maybe i'm overwhelmed by the things i still don't know. Am i doing something wrong here or is this normal?
I want to be able to work as a freelancer in a year or two, but i'm not sure if that goal is achievable.
So when did you feel comfortable using your programming language of choice and how did you learn it?
Hi I was just wondering if its possible to do an ajax post a file in asp.net mvc,
basically i have a form with two buttons, one of the buttons extracts images for the selected document and displays them for the user to choose thumbnails for the document he is about to upload. The usee then fills out the rest of the form and then saves the document.
With the image extraction, I was owndering if it was possible to do that as an ajax post. The other submit button can work as a normal http post
Thanks
J2EE has ServletRequest.getParameterValues().
On non-EE platforms, URL.getQuery() simply returns a string.
What's the normal way to properly parse the query string in a URL when not on J2EE?
my laptop is starting up and produces the normal screen due to abrupt power failure and when i click to start normally or in safe mode, the blue screen splashes and then disappears and then it tries to reboot again and the same problem takes place. it was running on xp service pack 2. could anyone help
I'm using Oracle JDeveloper 11g Release 2.
I created two tables A and B using SQL developer.
Table A has a FK to table B. Using the Entities from Tables function, I created two JPA files from it.
A has @ManyToOne annotation on FK.
And also B has @OneToMany annotation to A. I don't want this.
Can I remove this @OneToMany annotation automatically?
public class A implements Serializable {
...
@ManyToOne
@JoinColumn(name = "FIELD_B")
private B b;
...
}
public class B implements Serializable {
...
@OneToMany(mappedBy = "B")
private List<A> assetList;
...
}
I don't need @OneToMany mapping.
while editing the template of my blog i saw that header size is set to 660px by the css property
width:660px
.Now i want to make my header spread across the whole lenth of the browser and also i don't want to specify some specific length in pixels ,so that the blog don't look odd in widescreen vs normal monitors .how do i do that ?
I've looked at amazon S3 and still don't understand what's worth. Storing through webservice compared to simple ftp ?
Also the price is huge compared to normal hosting provider. So why would I want to use Amazon S3 ?
I am having what seems to be a mipmapping problem when rendering textures on to a flat quad. At some camera positions the object looks fine, but then at others it gets very fuzzy. Unfortunately I don't really have any good leads on this problem but I thought if I posted some pictures other who have experiences other issue might be able to give me some insight.
Normal:
Zoomed Out:
Rotated:
Could anyone give me any clues about what could be going on here?
hello
I'm try to store String (that contain html ) to mysql database by using Longtext data type.
but its always says "You have an error in your SQL syntax".
(note : i tried to store normal text , and its work)
I'm using another computer than normal to do iPhone dev.
Now I'm trying to get my apps onto my iPhone, but fail with the certificates, keys and stuff.
Refer to this thread: http://stackoverflow.com/questions/613719/iphone-provisioning-problem-public-private-key
Actually I'm able to download my cert no problem from Apple's site, but how would I get at the keys needed? (private, public), I see no way of getting them...
Hello,
I want to start a process (calling another program), currently the external program takes time (it is normal)!
but it freezes my GUI
I saw allot of examples and I'm learning, it is hard to figure it out,
trying to read and learn threading, but it is not that easy (at least for me)
and good simple tutorial or code sample?
cheers
I have two tables with the many-to-many association.
— DB fragment:
loads
Id
Name
sessions
Id
Date
sessionsloads
LoadId
SessionId
— Hibernate mapping fragments:
/* loads.hbm.xml */
<set name="sessions" table="sessionsloads" inverse="true">
<key column="LoadId" />
<many-to-many column="SessionId" class="Session" />
</set>
…
/* sessions.hbm.xml */
<set name="loads" table="sessionsloads">
<key column="SessionId" />
<many-to-many column="LoadId" class="Load" />
</set>
In order to remove one entry from the association table sessionsloads, I execute this code:
Session session = sessionDao.getObject(sessionId);
Load load = loadDao.getObject(loadId);
load.getSessions().remove(session);
loadDao.saveObject(load);
But, after launching, this code change nothing.
What's the right way to remove an association?
Hi
The following code is not causing Page_Load of PhotoList to be called. I want the control to be initialized as if it is in normal Page live cycle, what I should do.
Page pageHolder = new Page();
UserControl viewControl = (UserControl)pageHolder.LoadControl("Common/PhotoList.ascx");
pageHolder.Controls.Add(viewControl);
Normally all validation methods is connected to a field, radiobuttons, dropdowns etc. In my case I would like to do a general custom validation that depends on many fields in my form.
I dont want one field of them to become highlighted like a normal "required", i would rather just show a message in the errorcontainer.
Is there a simple way to do this I have overlooked?
http://stackoverflow.com/questions/840213/how-do-i-load-a-mov-file-into-flash-9
I checked this post out and it looks like the normal way for adding a flv, but it tried it on some sample .movs from apple and doesnt seem to work.
Do movs have to be encoded specially for playback in flash?
Is it possible for python to accept input like this:
Folder name: Download
But instead of the user typing Download it is already there as a initial value. If the user wants to edit it as Downloads all he has to do is add a 's' and press enter.
Using normal input command:
folder=input('Folder name: ')
all I can get is a blank prompt:
Folder name:
Is there a simple way to do this that I'm missing?
The setting:
I got a silverlight application and a webservice both want to use the same code.
Here my problem:
If make an normal dll the silverlight
Application say's it can not
reference it.
If I make an Silverlight dll the
Webservice can not reference it.
I don't like duplicate code how can I share code between my Silverlight app and my webservice?
I'm not sure exactly why this happened, but I'm assuming it was an dump and import. The db is full of characters like — for commas and such. I've tried various solutions on the web, but nothing seems to work. I've verified that the html header specifies utf8.
Any ideas on how I can get the entire db back to normal characters?
Hello,
I'm trying to get the dojo tree widget working. It works with a small json object, but when i try it with a large json object it goes wrong. There is no error, just the root node. Is this a normal behavior? Is there a maximum of objects you can load? My json object contains around 800 entries.
Thanks,
Ewout
Hi,
In the constructor of an object i need to create a WPF mediaElement object:
m_videoMedia = new MediaElement();
but the class can also be instantiated from a other thread so i need to use
Dispatcher.Invoke(DispatcherPriority.Normal,
(Action)(() => { m_videoMedia = new MediaElement(); }));
But how can I get the right dispatcher instance in that constructor :s
I have added some UIButton objects into .xib file, and some UIButton objects with the code.
But now I am facing one problem. While Zooming the UIImageView the UIButtons that are added through code are shown on the UIImageView and those that are added with .xib file are below the UIImageView.
Code for UIButtons added with code:
btnBrightness = UIButton.FromType (UIButtonType.RoundedRect);
btnBrightness.Frame = new RectangleF (540, 20, 95, 37);
btnBrightness.SetTitle ("Brightness", UIControlState.Normal);
More details:
monotouch