Posts
 
Reputation
Joined
Last Seen
Ranked #786
Strength to Increase Rep
+7
Strength to Decrease Rep
-1
96% Quality Score
Upvotes Received
60
Posts with Upvotes
56
Upvoting Members
38
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
11 Commented Posts
3 Endorsements
Ranked #486
Ranked #351
~188.05K People Reached
About Me

?

PC Specs
Asus G73JH Desktop Replacementi7-740QM8GB 1333MHz2x500TB HDBD WriterMicrosoft Windows 7 Home Premium

202 Posted Topics

Member Avatar for ndeniche

[quote=EnderX;412166]We've been running through the more well-known type, let's try a slightly harder riddle. This one went unanswered in the original riddle game thread...happy solving. [I]I bear meaning within meaning within meaning.[/I] [I]Some use me for amusement. For others, to[/I] [I]learn more of me may be the difference[/I] [I]between life …

Member Avatar for Reverend Jim
1
482
Member Avatar for samaru
Member Avatar for rani_4

Each image has a file name, and a parent directory (path). What does the images_path field in your database hold? File name, path, or both? `$src=$file_path.'/'.$row["images_path"];` Your code already concatenates the path regardless of your images_path value. If that field also contains the path, then you will of course have …

Member Avatar for rani_4
0
566
Member Avatar for Yahia Farghaly

Never assign raw data directly to an uninitialised pointer. If done so, where would the pointer point to? Where will the raw data be stored? Maybe it will compile, maybe it won't. Maybe it could lead to disastrous effects. You have to make sure a pointer points to something (safe) …

Member Avatar for Yahia Farghaly
0
340
Member Avatar for Entalist

That is because prime number i does not correspond to the index of the vector. Everytime you push a value into a vector, it takes the (n+1)th address. So, if your input is 10, i values 1, 2, 3, 5, and 7 are located at indices 0, 1, 2, 3 …

Member Avatar for Entalist
0
2K
Member Avatar for davy_yg

Line 164 uses $student_id but $student_id may not have been declared. This occurs when line 138 condition is false.

Member Avatar for scudzilla
0
251
Member Avatar for mpike

This might make you better understand: #include <iostream> using namespace std; struct sct { int t1[2]; }; struct str { sct t2[2]; }; int main(void) { str t3[2] = { {0, 2, 4, 6}, {1, 3, 5, 7} }; cout << t3[1].t2[0].t1[1] << t3[0].t2[1].t1[0]; return 0; } And the crude …

Member Avatar for mpike
0
265
Member Avatar for Acurapassion

My $0.02 Second life calls your script with three possibilities: a) open a connection; b) insert a row and; c) close the connection a doesn't have problems, although it does nothing meaningful. It just opens a connection to the database. b, however, calls an instance of the script different from …

Member Avatar for Acurapassion
0
781
Member Avatar for iAssistant
Member Avatar for Stuugie
0
4K
Member Avatar for Reverend Jim

That happens to me half of the time. The other half, the tab actually closes.

Member Avatar for Dani
0
264
Member Avatar for 21222357
Member Avatar for mayaestat
-2
333
Member Avatar for SkyCross

For field names with spaces, encapsulate them in square brackets. If you still encounter syntax errors in your queries, try displaying them into message boxes before executing them, and post the queries here.

Member Avatar for SkyCross
0
366
Member Avatar for debasisdas

"The closer you get to the light, the greater your shadow becomes." -Kingdom Hearts

Member Avatar for James_28
8
17K
Member Avatar for bnn678

Basically, you decide the path by going through the higher of the two numbers starting with row 2, and consequently ending up with a binary choice for every row, while disregarding further choices in the other paths. You should check the result of each path and find the maximum sum …

Member Avatar for scudzilla
0
204
Member Avatar for bnn678
Member Avatar for Dani

Often times, the site takes too long to load. Occasionally, I get a "waiting for available socket" when that happens (chrome status).

Member Avatar for diafol
0
234
Member Avatar for hodnee

checkfee is a local variable in main. Local variables have to be initialized with a value, because they have no default value. Human logic dictates that the conditions in lines 27 to 34 satisfy the entire domain of possible values of checks, meaning one of the if or else if …

Member Avatar for scudzilla
0
253
Member Avatar for Andrew_10

Isn't it because you're trying to access the object's methods directly using with? Try deleting `objWord` in lines 3, 9, 11 and 15.

Member Avatar for Andrew_10
0
229
Member Avatar for Violet_82

You get the GridBagLayout and Inset errors, because you have yet to import them. import java.awt.GridBagConstraints; //you replaced this with the static one import java.awt.Insets; Furthermore, check your new GridBagConstraints initialisations: you have two arguments missing after the Insets.

Member Avatar for Violet_82
0
722
Member Avatar for dsimonovski1

Have you tried SerialPort.Write method? You want to send that as a string or as a numeric value? Also, please post your code if possible so we can understand the problem better.

Member Avatar for scudzilla
0
325
Member Avatar for johnef_sh

Which marker are you trying to set the center to? If it's one of the markers you get from the XML, which one of them (since there can be more than one)?

Member Avatar for johnef_sh
0
9K
Member Avatar for Noralyn_1

The contents of listview start at index 0. If there are 25 items in it, their indices range from 0 to 24. Putting 25 there would of course be invalid for index.

Member Avatar for Noralyn_1
0
400
Member Avatar for patk570

After an INSERT query, use `$id = $mysqli->insert_id`. It gives $id either the last auto_increment id inserted if there is one, 0 if there's no auto_increment id field, or false if the connection failed.

Member Avatar for patk570
1
2K
Member Avatar for aka619ASH

First of all, your output is reversed. a<b<c check should be y, while pythagorean check should be x. Anyway, if the output is supposed to be 0 or 1 only, then your code is still lacking. **Assuming input of positive and nonequal three integers**, using e=a%b, if a is greater …

Member Avatar for scudzilla
0
228
Member Avatar for narlapavan

User defined types will pass their pointers, not their contents, when appended to vectors. The memory address of `a` is stored at the first slot of the vector. Because the `A` in the vector points to the same memory location as `a`, the contents of the one in the vector …

Member Avatar for scudzilla
0
284
Member Avatar for lauren.vitiello.12
Member Avatar for custurd12

Incorrect. nums.length() gives the number of characters inputted namely: 0 3 4 5 3xcomma; 7 characters in all. You might wanna use the string's [Split](http://docs.oracle.com/javase/7/docs/api/java/lang/String.html#split(java.lang.String)) method to get rid of the commas. Additionally, when you're adding a char to a number type, you're essentially adding the character's ascii value. Look …

Member Avatar for scudzilla
0
123
Member Avatar for jacob21

Something like this? Selece c1.user_id, c1.company_id, c1.id from complaint3 c1, complaint3 c2 where c1.user_id = c2.user_id and c1.companyid = c2.companyid and c1.id <> c2.id group by c1.id

Member Avatar for scudzilla
0
173
Member Avatar for Emrys

Try the onboard VGA (if yours has one). If it has output, you can check the bios and/or device manager if the graphics card is indeed not recognized.

Member Avatar for Emrys
0
124
Member Avatar for jingda

I currently have three dogs, a lot of fish in the fish pond (swordtails, mollies, guppies, angels, hammerheads, janitors, a pig nosed turtle, and an alligator snapping turtle. I also have a pair of bettas in a small aquarium, and two baby bichirs and three black ghost knife fish in …

Member Avatar for <M/>
0
430
Member Avatar for Elvis_1

Might be nasties. Read [this](http://www.daniweb.com/hardware-and-software/microsoft-windows/viruses-spyware-and-other-nasties/threads/134865/read-me-before-posting-a-request-for-assistance) and see if it's fixed. Upload logs if it isn't.

Member Avatar for kevinedwards
0
403
Member Avatar for Tcll

Note: this is pseudocode, as I'm not familiar with python Assuming deg = degree, r = radius def square(deg,r) newdeg = ((deg+45)%90-45)/180*Math.PI # calculates the angle between the original angle and the closest axis newr = r/Math.cos(newdeg) return newr # this is the radius for the given deg, in polar …

Member Avatar for Tcll
0
155
Member Avatar for Dani

Dani, when I use the API to enter a message into chat, the browser chat interface doesn't seem to automatically refresh.

Member Avatar for Reverend Jim
3
1K
Member Avatar for sushilsth

In line 28, why use SelectedRows property? Perhaps after a time, there is no selectedrow, therefore giving no value to the regno parameter?

Member Avatar for sushilsth
0
206
Member Avatar for aVar++
Member Avatar for imBaCodes

Naruto, Baby Steps, Horimiya, Ichigo, Nisekoi, Nagasarete Airantou and a few others.

Member Avatar for Bloodseeker
0
96
Member Avatar for murali2489

s1 == s2 checks whether s1 and s2 are references to the same object. s1.equals(s2) checks whether the value of s1 is equal to the value of s2. Use .equals

Member Avatar for murali2489
0
289
Member Avatar for GeekPlease

I don't think there's any application that can be exclusively coded in either one. Personally, I use VB.NET because I'm much more used to the Basic syntax (I coded in Basic to run microprocessors).

Member Avatar for JorgeM
0
587
Member Avatar for Learner010

That's because your code is trying to cast every type of control present in the form into a label. Try this: For Each ctrl As control in Form1.controls If TypeOf ctrl is Label then code End If Next

Member Avatar for Learner010
0
3K
Member Avatar for avinash.jay.7

The question is: Do you know what numbers can be stored in your matrix? If yes, you can, as David said, use an array to store the frequency (or two arrays, one each for negative and nonnegative integers). Simply use the integer stored in the matrix as the index in …

Member Avatar for David W
0
2K
Member Avatar for Ancient Dragon
Member Avatar for procsmags2013

*Submission Notes ... If you were referred, the referral prize ($500) will be paid to the referring user from the total prize pool of $5,000. ...* Probably?

Member Avatar for scudzilla
-3
182
Member Avatar for christine.dunne.963

You're setting the layout on your frame, which includes a single object, which is a panel. It's the panel you need to set the layout of, because it's the one that contains your label and button.

Member Avatar for scudzilla
0
127
Member Avatar for weblord

I used to use IE. Then came the crashes in IE 6 or 7 (forgot). Tried firefox for a while. When chrome was released, I said to myself 'Move away from the mainstream'. I loved how fast it was compared to others and then I've been using it since. I …

Member Avatar for stultuske
0
204
Member Avatar for Ancient Dragon

Your chrome bookmarks, passwords and other data are synced with your google account. That way, you can still access your data in another computer, provided you log in your account. I think they are planning on integrating android browser data into that sync as well (or they already have, and …

Member Avatar for scudzilla
0
229
Member Avatar for phorce

In essence, isn't your query trying to get rows within the week starting from today, and not the week prior? E: nevermind, it works for me >.< BTW in your first post it said May, and your most recent one is June. Which is it?

Member Avatar for phorce
0
187
Member Avatar for VikashS_
Member Avatar for VikashS_
0
136
Member Avatar for Violet_82

Use categories.get(#) to get individual elements of the arraylist. Use a for each loop to get all elements of the arraylist. Use one or the other, not both (usually, that is). JamesCherrill was just showing you both at the same time just to compare. Anyway, inside your for loop, lines …

Member Avatar for Violet_82
0
6K
Member Avatar for cocopium
Member Avatar for cocopium
0
503
Member Avatar for adamhmiles

Security regarding what? Loss of data or access to it or illegal access? For the former, redundancy. Backup of the backup of the backup........ For the latter, personal encryption in addition to cloud service encryption.

Member Avatar for adamhmiles
0
305

The End.