|
Yes, that is what I was hinting at. Now it looks fine, except I'm unsure about the KeepAlive thing; I have similar code working, but that doesn't set KeepAlive false.
BTW:
1) don't reply to yourself, nobody gets notified when you do.
2) don't say "doesn't work", always give an accurate description (behavior, symptoms, error messages, ...)
|
|
|
|
|
Check the content of the response. Chances are you are failing to correctly fill out the form (i.e. you missed out a parameter or made a typo in a parameter name) and it's been returned to you with validation error messages.
It's possible that you need to fake the Referer header as well, but make doubly sure you're submitting the right things before resorting to that.
|
|
|
|
|
Hello people I wanna know how you could calculate how hard your central processor could really work at using C#. I thought I could use a timer called "calc_reset" with an interval of 1000 and another one called "incr" with an interval of 1 then allow it to increase uncontrollably by allowing it to calculate random adding, subtracting, multiplying and division equations and allow the timer "calc_reset" to take the value (of completed equations, maybe correct ones aswell...) from timer "incr" and reset it after that. Any suggestions would be greatly appreciated .
Regards,
Brandon T. H.
|
|
|
|
|
The result you'd get would be pretty meaningless..
What is the actual metric you want to know?
|
|
|
|
|
As Harold says, the result would be pretty meaningless, for a huge number of reasons, some of which are below:
How many processors have you got? How many cores?
How are you caches organised? Is your code in a cache? Your data? Which one? L1, L2? It makes a big difference. If your data is cached, is it write through, or write back?
What other processes are going on?
Do you have any idea of the resolution of a Timer? A interval of one means that it will occur the next time the hardware tick for that particular timer occurs - which will be in somewhere between immediately and almost a whole timer resolution interval away. (If this doesn't make sense, think of a timer with a resolution of one hour: the next "Tick" will be nearly immediate if the time is 08:59:59, and nearly an hour away if the time is 09:00:01)
And there are still loads of other reasons!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Do you know any tool out there that could tell you hw many clauclations per second?
|
|
|
|
|
No, because it is a meaningless number!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Maybe to me, cause you know, when your overclocking you could use that number to make sure you actually have a powerful computer, but I'll look online to see if there's such a tool, or I'll continue on my project.
|
|
|
|
|
Even if you are overclocking any measure will only help if it is accurate, and repeatable. The measures you are talking about are neither!
If you want to measure performance then look at something like Windows Experience Index or one of the many performance measurement tools out there. Please, don't try to write your own (particularly based on .NET) until you understand fully what they are doing, and how, and why!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
"Calculations per second" isn't a valid metric. Operations per second is because a calculation requires 1-to-N operations (dependant on the calculation in question and the CPU architecture on which the calculation is performed).
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Hey can nyone help me how to write code for creating an online employee's attendance marking system? plz help..
|
|
|
|
|
1. "hi ppl!!" doesn't make a good title. Choose a title that explains your problem. People choose to read a post or ignore it based on the title.
2. Do not expect others to write code for you. Try something on your own (and of course, google is there to help you.) and when you face issues with whatever you are doing, come back and ask specific questions and we'll be glad to help you.
|
|
|
|
|
Go here [^]
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
again? please add some random variation to the page, it is getting quite boring you know.
|
|
|
|
|
I suppose I could try to internationalize it, but most of the time, it would be displayed in Hindi.
EDIT ==============
I just had a flash of an idea. Just keep clicking on the link and eventually, you'll see what I have in mind.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
I think I'll write a little app for that...
|
|
|
|
|
I'm going to add my azure chuck norris fact finder to the page so that the viewer can further procrastinate on his homework by repeatedly calling up randomly selected chuck norris facts.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Great. Looking forward.
|
|
|
|
|
What part are you stuck on?
Have you tried anything yourself yet?
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
that is not the answer. It is just some more questions, maybe rhetorical ones, but questions they are.
|
|
|
|
|
They are indeed - it was the default icon, and I forgot to change it...
Relevant questions though!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
What do you mean?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
U2?
|
|
|
|
|
Can I get some clarification?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997
|
|
|
|
|
Are you still adding questions to the thread? Don't you think the OP would like to get some answers instead?
|
|
|
|