Posts
 
Reputation
Joined
Last Seen
Ranked #119
Strength to Increase Rep
+10
Strength to Decrease Rep
-2
89% Quality Score
Upvotes Received
108
Posts with Upvotes
75
Upvoting Members
70
Downvotes Received
11
Posts with Downvotes
10
Downvoting Members
11
56 Commented Posts
~228.42K People Reached
Favorite Tags
Member Avatar for Duki
Member Avatar for vegaseat

Insanity: doing the same thing over and over again and expecting different results. -- Albert Einstein

Member Avatar for Reverend Jim
15
13K
Member Avatar for Drycola

It is impossible to develop a Operating System by using Visual Basic 5. Anyway, welcome to Daniweb!

Member Avatar for Reverend Jim
0
418
Member Avatar for moparman426

[QUOTE=moparman426;1663230]alright here is my issue i dont know how to even start this problem iam still new to vb so i need lil guidance and help in the right direction. here is the problem : Use a one-dimensional array to solve the following problem: Read in 20 numbers, each of …

Member Avatar for 180180
0
484
Member Avatar for Begginnerdev

.NET provide a flexible way to organize your data and print by using [URL="http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.aspx"]PrintDocument[/URL]. The following is the "Hello World" example of using PrintDocument. [CODE] Dim WithEvents pd As New System.Drawing.Printing.PrintDocument Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load pd.Print() End Sub Private Sub pd_PrintPage(ByVal sender …

Member Avatar for Ivan_14
0
6K
Member Avatar for happygeek

Would it be clearer to use this SQL instead? UPDATE members INNER JOIN articles_read ON members.member_id = articles_read.member_id AND members.last_visit_timestamp < articles_read.timestamp SET members.last_visit_timestamp = articles_read.timestamp; UPDATE members INNER JOIN forums_read ON members.member_id = forums_read.member_id AND members.last_visit_timestamp < forums_read.timestamp SET members.last_visit_timestamp = forums_read.timestamp;

Member Avatar for Dani
0
389
Member Avatar for Aeonix

I think you might interest in [SPFJS](https://github.com/youtube/spfjs), that's used by Youtube. It is still using Javascript.

Member Avatar for invisal
0
272
Member Avatar for Esmerelda

[I][INDENT]An [B]n-digit[/B] number that is the sum of the [B]nth powers[/B] of its [B]digits[/B] is called an n-narcissistic number. It is also sometimes known as an Armstrong number, perfect digital invariant [B][URL="http://mathworld.wolfram.com/NarcissisticNumber.html"](Wolfram MathWorld)[/URL][/B][/INDENT][/I] To me, the reason that you fail to produce those numbers is because you have defined the …

Member Avatar for Tushar_4
0
2K
Member Avatar for Tomas_3

What a scary project you are aimming? Anyway, if you want to build a toy OS, you can try [Cosmos](https://github.com/CosmosOS/Cosmos). Cosmos is like a OS lego.

Member Avatar for Raul Perez
0
309
Member Avatar for Centorpe

I have to agree with rubberman, this is ugly code. Besides, you need to use `==` instead of `=` here. `=` is assignment and `==` is used for comparison. When work with float-point, we don't usually use `==` as well because float-point cannot represent certain number. Usually, when compare float …

Member Avatar for Centorpe
0
218
Member Avatar for Jamie_10

You don't even need condition or mod operator. `odd += number & 1;` even less CO2 emissions. The world is greener.

Member Avatar for Sean Francis
0
302
Member Avatar for JamesCherrill

Your probability doesn't seem to be correct. Let rework it a bit. We want to random from 0 to n. Let `a` be the value between 0 to n. The probability of `P(a) = 2 * (a + 1) / (n + 1)(n + 2)`. This way, the sum of …

Member Avatar for invisal
1
664
Member Avatar for hadisur_rahman
Member Avatar for whaleflipper

> Suppose a loan has a face value of $1000, the interest rate is 15%, and the duration is 18 months. The interest is computed by multiplying the face value of $1000 by 0.15 yielding $150.0. That figure is then multiplied by the loan period of 1.5 years to yield …

Member Avatar for invisal
0
709
Member Avatar for JOSheaIV

How large is your prime number? The fastest way (if not the fastest) to determine if *N* is a prime number is to have a pre-calculated of all prime number below *sqrt(N)*. Then, it takes only O(*sqrt(N)/ln(sqrt(N))*) to determine the prime by mod with all prime below *sqrt(N)*. For example, …

Member Avatar for rubberman
0
435
Member Avatar for Stuugie

To make you feel better. You should read [Why Can't Programmers.. Program?](http://blog.codinghorror.com/why-cant-programmers-program/). It shows that a lot of people is worser than you. The most important skill is self-learning. Since, you are here helping and learning, you are better than most people already. In short, you are not under qualified. …

Member Avatar for jkon
0
282
Member Avatar for kombi-tamiri

I work on both Windows server and Ubuntu server. First of all, both of them are secure and reliable. I ran a website with more than 15 million pageview per month on a single Windows server using IIS 7 and PHP via FastCGI. It is fast and stable. No downtime. …

Member Avatar for Arch Stanton
-4
213
Member Avatar for Piers Rollins

You can use [Cloudflare](https://www.cloudflare.com/). It is free and easy to deploy. Just let it manage your DNS and it will act as a wall between your website server and visitors. Visitors will access to Cloudflare nearest server and Cloudflare will fetch the content of your website and cache (static content).

Member Avatar for Sri_3
0
286
Member Avatar for Stefce

> what programming language they are using You can use any programming language. AI is no different from other program. > when learning it self on something new for him and for humans too AI is trying to replicate how human learn. Human learn based on obversation. Here is how …

Member Avatar for rproffitt
0
389
Member Avatar for pavankumar77

Not a good way :( but it works fine. [code=cplusplus] int sum(int num1, int num2) { int total, temp, temptotal; total = num1 ^ num2; for(temp = num1 & num2; temp != 0; temp = temptotal & temp) { temptotal = total; total = total ^ (temp = temp << …

Member Avatar for pritaeas
0
633
Member Avatar for Dani

In my company, we are developing our own lightweight framework. Far lightweight than CodeIgniter but more modern than CodeIgniter (our framework size in total is around 20kb). The framework learning curve is at most 2 hours to 3 hours which is great because the less feature the framework, the less …

Member Avatar for invisal
0
607
Member Avatar for JOSheaIV

Okay, let me share some of a suggestions: - Remove the tiny Javascript that block the content when your mouse hover on the ads. It is unneccessary. - Combine Shoutout, Inbox, Finder, and "username" into one menu. Make it a tiny icon at the right side of the menu. Why? …

Member Avatar for Popc0rn
1
2K
Member Avatar for kayleigh0411

Not entirely suprirsed that you got this result. You skip the loop as soon as found a collision if(birthdays.contains(randomBirthday)) { collisionCount++; break; // break from the test as soon as you found the collision } and to be honest, your logic is a mess. Even after you fix this bug, …

Member Avatar for JamesCherrill
0
2K
Member Avatar for Ivan_9

I don't get this question. Do you want to do a QuickSort on Linked List or Stack? Because based on your example, it is a linked list. Although you can use linked list to implement stack, but you must obey the stack properly. In Stack, you can either do pop() …

Member Avatar for David W
0
2K
Member Avatar for bryann

You can use dictionary to simplify your code a bit dict = { "t": 1, "f": 1, "c": 1, "b": 2, "h": 2, "y": 2, "q": 3, "w": 3, "z": 3 } value = 0 word1 = input("Please enter a word:") for letter in word1: value += dict.get(letter, 0) print(value) …

Member Avatar for snippsat
0
263
Member Avatar for vikasmca2k11

It is not easy to kill a language with such a big community and large code base such as PHP. Because with large code base, there is large demand for PHP programmer and with large demand, there come the large supply. PHP is not a bad language. It is easy …

Member Avatar for invisal
0
183
Member Avatar for Minimalist
Member Avatar for Dani
1
201
Member Avatar for studyemail

Or you can use a single 1d array for TicTacToe. int rows[] = { 0, 0, 0, 0, 0, 0, 0, 0, 0 } 0 means empty. 1 means player 1, and 2 means player 2. For example, if a player 2 want to make move on row number 2 …

Member Avatar for invisal
0
1K
Member Avatar for James_43

Why don't you do something like this? for($i = 0; $i < count($response); $i++) { $ph[$response[$i]] = array('quantity' => $iteminfo[$i][1]); }

Member Avatar for James_43
0
325
Member Avatar for Aeonix

It is better to understand how the HTTP Cookie works. When your browser open a website, you send a HTTP request to the server. The HTTP request looks like this. GET /index.php HTTP/1.1 Host: www.example.org The request message tell server that you are requesting www.example.org (in case, a single server …

Member Avatar for Aeonix
0
495